blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2 values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986 values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23 values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145 values | src_encoding stringclasses 34 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 2 classes | length_bytes int64 3 10.4M | extension stringclasses 122 values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d679c47d99158c8135a39e052451b79ca30f2df6 | fb0877ea902ad5b8f4367c06c29c41aa4a244bdf | /C++/C++/Locks/main.cpp | b44e2012b79b5a58016b05a7ccd8d52e00418812 | [] | no_license | tmantock/C-Programming | 84749f4fde916f66710ea28cfce069e707d70e0a | 0b45868815411c52ef5fb34d34f75072f5ec1538 | refs/heads/master | 2020-06-13T20:15:10.495470 | 2018-01-01T16:42:11 | 2018-01-01T16:42:11 | 75,557,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | //
// main.cpp
// C++
//
// Created by Tevin Mantock on 1/1/18.
// Copyright © 2018 Tevin Mantock. All rights reserved.
//
#include <thread>
#include "Stack.hpp"
using std::thread;
void worker_thread(Stack*);
int main() {
Stack* stack = new Stack();
thread worker(worker_thread, stack);
cout << "In main thread.\n";
cout << stack->pop() << endl;
worker.join();
return 0;
}
void worker_thread(Stack* s) {
cout << "In worker thread.\n";
s->push(6);
}
| [
"tmantock@gmail.com"
] | tmantock@gmail.com |
0ed91875a7a71628106d014bbc2fb1ad9c8d2692 | 0ce3e61991a8ed344c7ce68d2e8d65803cb53930 | /include/spaic/detail/Message.hpp | cf523bd570c27700c0e37165622a4672700fe0bb | [
"MIT"
] | permissive | devroom-org/spaic | 0f7a03b629ddc128db8479104853630a6b4a8dad | f206105ea1abf0560808073d41f4477876f30923 | refs/heads/master | 2021-01-07T06:25:30.076692 | 2020-03-17T13:46:14 | 2020-03-17T13:46:14 | 241,606,051 | 3 | 1 | MIT | 2020-03-17T13:46:15 | 2020-02-19T11:34:44 | C++ | UTF-8 | C++ | false | false | 379 | hpp | #pragma once
#include <tuple>
#include <spaic/Message.hpp>
namespace spaic::msg
{
template <typename... T>
Message<T...>::operator bool()
{
throw "TODO: Message::operator bool()";
}
template <typename... T>
template <size_t I>
typename std::tuple_element<I, std::tuple<T...>>::type Message<T...>::get()
{
throw "TODO: Message::get<I>()";
}
} // namespace spaic::msg
| [
"public.ranolp@gmail.com"
] | public.ranolp@gmail.com |
0ba2a321445ed9b3f249f0d64e84b6c5bb099bc5 | b7903075d5a2906d922d9a2abc73c41477a708df | /C++ Overview/static.cpp | 1d95018fa62919c0a5060db531beea9721a723ab | [] | no_license | zhanglizeyi/LeetsP | 43f3796f71a2cb08931fa470dd40b9685a89cc49 | 3d7911fb5f4e93b6934c9416f2b15cec5c44b73e | refs/heads/master | 2021-01-10T01:44:56.471489 | 2019-02-19T02:47:32 | 2019-02-19T02:47:32 | 46,373,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 120 | cpp | #include <iostream>
extern int count;
void write_extern(void) {
std::cout << "Count is " << count << std::endl;
}
| [
"zhanglizeyi@gmail.com"
] | zhanglizeyi@gmail.com |
2279afd22ca9c53258ed764cccea0c30d50dc1db | 6baeabbc7383a69e25bcc0f869783d0708d75497 | /source/Windows/DxGraphicsWin.cpp | 675a242428de0c0312e30840ba34ba2a75017cef | [] | no_license | Itsuki-Mekaru/DxLib | 56e8c81da2840417c918acf9aa0c6d51dfe66236 | c70a253bb05380e62ddd851d09a5657dfcec228e | refs/heads/master | 2021-12-11T22:42:06.232245 | 2016-11-27T16:56:06 | 2016-11-27T16:56:06 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 138,469 | cpp | //-----------------------------------------------------------------------------
//
// DXライブラリ WindowsOS用描画処理プログラム
//
// Ver 3.16d
//
//-----------------------------------------------------------------------------
// DXライブラリ作成時用定義
#define __DX_MAKE
#include "DxGraphicsWin.h"
#ifndef DX_NON_GRAPHICS
// インクルード ---------------------------------------------------------------
#include "DxWindow.h"
#include "DxWinAPI.h"
#include "../DxSystem.h"
#include "../DxLog.h"
#include "../DxModel.h"
#include "../DxMath.h"
#include "../DxBaseFunc.h"
#include "../DxGraphics.h"
#include "../DxASyncLoad.h"
#include "../DxMask.h"
#ifndef DX_NON_NAMESPACE
namespace DxLib
{
#endif // DX_NON_NAMESPACE
// マクロ定義 -----------------------------------------------------------------
// 構造体宣言 -----------------------------------------------------------------
// データ定義 -----------------------------------------------------------------
static int UseGDIFlag ; // GDI を使用するかどうか
GRAPHICSMANAGE_WIN GraphicsManage_Win ;
// 関数宣言 -------------------------------------------------------------------
static int UseChangeDisplaySettings( void ) ; // ChangeDisplaySettings を使用して画面モードを変更する
// プログラム -----------------------------------------------------------------
// DirectX のオブジェクトを解放する
extern void Graphics_ReleaseDirectXObject( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
Graphics_D3D11_ReleaseDirectXObject_PF() ;
break ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
Graphics_D3D9_ReleaseDirectXObject_PF() ;
break ;
#endif // DX_NON_DIRECT3D9
default :
break ;
}
}
// メッセージループ時に行うべき処理を実行する
extern void Graphics_Win_MessageLoop_Process( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
break ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
// 管理テクスチャへの転送用のシステムメモリテクスチャの定期処理を行う
Graphics_D3D9_SysMemTextureProcess() ;
// 管理テクスチャへの転送用のシステムメモリサーフェスの定期処理を行う
Graphics_D3D9_SysMemSurfaceProcess() ;
break ;
#endif // DX_NON_DIRECT3D9
default :
break ;
}
}
// WM_ACTIVATE メッセージの処理で、ウインドウモード時にアクティブになった際に呼ばれる関数
extern void Graphics_Win_WM_ACTIVATE_ActiveProcess( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
Graphics_D3D11_WM_ACTIVATE_ActiveProcess_PF() ;
break ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
Graphics_D3D9_WM_ACTIVATE_ActiveProcess_PF() ;
break ;
#endif // DX_NON_DIRECT3D9
default :
break ;
}
}
// 設定関係関数
// ダイアログボックスモードを変更する
extern int Graphics_Win_SetDialogBoxMode( int Flag )
{
#ifndef DX_NON_DIRECT3D9
return Graphics_D3D9_SetDialogBoxMode_PF( Flag ) ;
#else // DX_NON_DIRECT3D9
return 0 ;
#endif // DX_NON_DIRECT3D9
}
// 裏画面の内容を指定のウインドウに転送する
extern int NS_BltBackScreenToWindow( HWND Window, int ClientX, int ClientY )
{
RECT SrcRect, DestRect, WinRect ;
GetClientRect( Window, &WinRect ) ;
SrcRect.left = 0 ;
SrcRect.top = 0 ;
SrcRect.right = GSYS.Screen.MainScreenSizeX ;
SrcRect.bottom = GSYS.Screen.MainScreenSizeY ;
DestRect.left = WinRect.left + ClientX ;
DestRect.top = WinRect.top + ClientY ;
DestRect.right = WinRect.left + ClientX + GSYS.Screen.MainScreenSizeX ;
DestRect.bottom = WinRect.top + ClientY + GSYS.Screen.MainScreenSizeY ;
if( DestRect.left < WinRect.left )
{
SrcRect.left += WinRect.left - DestRect.left ;
DestRect.left = WinRect.left ;
}
if( DestRect.top < WinRect.top )
{
SrcRect.top += WinRect.top - DestRect.top ;
DestRect.top = WinRect.top ;
}
if( DestRect.right > WinRect.right )
{
SrcRect.right -= DestRect.right - WinRect.right ;
DestRect.right = WinRect.right ;
}
if( DestRect.bottom > WinRect.bottom )
{
SrcRect.bottom -= DestRect.bottom - WinRect.bottom ;
DestRect.bottom = WinRect.bottom ;
}
return NS_BltRectBackScreenToWindow( Window, SrcRect, DestRect ) ;
}
// 裏画面の指定の領域をウインドウのクライアント領域の指定の領域に転送する
extern int NS_BltRectBackScreenToWindow( HWND Window, RECT BackScreenRect, RECT WindowClientRect )
{
// 初期化判定
if( DxSysData.DxLib_InitializeFlag == FALSE || DxLib_GetEndRequest() ) return -1 ;
// フルスクリーンモードでは使用できない
if( NS_GetWindowModeFlag() == FALSE ) return -1 ;
// 実行
return Graphics_BltRectBackScreenToWindow_PF( Window, BackScreenRect, WindowClientRect ) ;
}
// ScreenFlip で画像を転送する先のウインドウを設定する( NULL を指定すると設定解除 )
extern int NS_SetScreenFlipTargetWindow( HWND TargetWindow )
{
return Graphics_SetScreenFlipTargetWindow_PF( TargetWindow ) ;
}
// デスクトップ画面から指定領域の画像情報をグラフィックハンドルに転送する
extern int NS_GetDesktopScreenGraph( int x1, int y1, int x2, int y2, int GrHandle, int DestX, int DestY )
{
HWND DesktopHWND ;
RECT DesktopRect ;
int DesktopW, DesktopH ;
int CaptureW, CaptureH ;
HDC hdc ;
BITMAPINFO BitmapInfo ;
void *ImageBuffer = NULL ;
HBITMAP HBitmap ;
HDC HMemDC ;
BASEIMAGE CaptureImage ;
int GraphW, GraphH ;
// グラフィックハンドルのサイズを取得
if( NS_GetGraphSize( GrHandle, &GraphW, &GraphH ) < 0 )
{
return -1 ;
}
// 引数のチェック
if( x1 >= x2 || y1 >= y2 )
{
return -1 ;
}
// デスクトップウインドウハンドルを取得
DesktopHWND = GetDesktopWindow() ;
// デスクトップの矩形を取得
GetWindowRect( DesktopHWND, &DesktopRect ) ;
// デスクトップのサイズを取得
DesktopW = DesktopRect.right - DesktopRect.left ;
DesktopH = DesktopRect.bottom - DesktopRect.top ;
// 指定の矩形の補正
if( x1 < DesktopRect.left )
{
DestX += DesktopRect.left - x1 ;
x1 = DesktopRect.left ;
}
if( y1 < DesktopRect.top )
{
DestY += DesktopRect.top - y1 ;
y1 = DesktopRect.top ;
}
if( x2 > DesktopRect.right )
{
x2 = DesktopRect.right ;
}
if( y2 > DesktopRect.bottom )
{
y2 = DesktopRect.bottom ;
}
// 取り込みサイズの算出
CaptureW = x2 - x1 ;
CaptureH = y2 - y1 ;
// 取り込みサイズチェック
if( CaptureW <= 0 || CaptureH <= 0 )
{
return -1 ;
}
// 取り込みサイズ補正
if( DestX + CaptureW > GraphW )
{
CaptureW = GraphW - DestX ;
x2 = x1 + CaptureW ;
}
if( DestY + CaptureH > GraphH )
{
CaptureH = GraphH - DestY ;
y2 = y1 + CaptureH ;
}
// 再度取り込みサイズチェック
if( CaptureW <= 0 || CaptureH <= 0 )
{
return -1 ;
}
// DIBの情報を設定する
_MEMSET( &BitmapInfo, 0, sizeof( BitmapInfo ) ) ;
BitmapInfo.bmiHeader.biSize = sizeof( BITMAPINFOHEADER ) ;
BitmapInfo.bmiHeader.biWidth = CaptureW ;
BitmapInfo.bmiHeader.biHeight = -CaptureH ;
BitmapInfo.bmiHeader.biPlanes = 1 ;
BitmapInfo.bmiHeader.biBitCount = 32 ;
BitmapInfo.bmiHeader.biCompression = BI_RGB ;
// DIBの作成
hdc = GetDC( GetMainWindowHandle() ) ;
HBitmap = CreateDIBSection( hdc, &BitmapInfo, DIB_RGB_COLORS, ( void ** )&ImageBuffer, NULL, 0 ) ;
HMemDC = CreateCompatibleDC( hdc ) ;
SelectObject( HMemDC, HBitmap ) ;
ReleaseDC( GetMainWindowHandle(), hdc ) ;
// デスクトップイメージををDIBにコピー
hdc = GetDC( DesktopHWND ) ;
BitBlt( HMemDC, 0, 0, CaptureW, CaptureH, hdc, x1, y1, SRCCOPY ) ;
ReleaseDC( DesktopHWND, hdc ) ;
// デスクトップイメージをグラフィックハンドルに転送
{
RECT SrcRect ;
_MEMSET( &CaptureImage, 0, sizeof( CaptureImage ) ) ;
NS_CreateXRGB8ColorData( &CaptureImage.ColorData ) ;
CaptureImage.Width = CaptureW ;
CaptureImage.Height = CaptureH ;
CaptureImage.Pitch = CaptureW * 4 ;
CaptureImage.GraphData = ( void * )ImageBuffer ;
SrcRect.left = 0 ;
SrcRect.top = 0 ;
SrcRect.right = CaptureW ;
SrcRect.bottom = CaptureH ;
NS_BltBmpOrGraphImageToGraph2( NULL, NULL, NULL, FALSE, &CaptureImage, NULL, &SrcRect, DestX, DestY, GrHandle ) ;
}
// DIBの削除
DeleteDC( HMemDC ) ;
DeleteObject( HBitmap ) ;
// 終了
return 0 ;
}
// 使用する DirectDraw デバイスのインデックスを設定する
extern int NS_SetUseDirectDrawDeviceIndex( int Index )
{
return NS_SetUseDisplayIndex( Index ) ;
}
// DirectDraw や Direct3D の協調レベルをマルチスレッド対応にするかどうかをセットする
extern int NS_SetMultiThreadFlag( int Flag )
{
// 初期化前のみ使用可能
if( DxSysData.DxLib_InitializeFlag == TRUE ) return -1 ;
GRAWIN.Setting.UseMultiThread = Flag ;
// 終了
return 0 ;
}
// Vista以降の Windows Aero を無効にするかどうかをセットする、TRUE:無効にする FALSE:有効にする( DxLib_Init の前に呼ぶ必要があります )
extern int NS_SetAeroDisableFlag( int Flag )
{
return Graphics_SetAeroDisableFlag_PF( Flag ) ;
}
// Vista以降の環境で Direct3D9Ex を使用するかどうかを設定する( TRUE:使用する( デフォルト ) FALSE:使用しない )
extern int NS_SetUseDirect3D9Ex( int Flag )
{
#ifndef DX_NON_DIRECT3D9
return Graphics_D3D9_SetUseDirect3D9Ex_PF( Flag ) ;
#else // DX_NON_DIRECT3D9
return 0 ;
#endif // DX_NON_DIRECT3D9
}
// Direct3D11 を使用するかどうかを設定する( TRUE:使用する FALSE:使用しない )
extern int NS_SetUseDirect3D11( int Flag )
{
// 初期化前のみ使用可能
if( DxSysData.DxLib_InitializeFlag == TRUE ) return -1 ;
// フラグを保存
GRAWIN.Setting.NotUseDirect3D11 = Flag ? FALSE : TRUE ;
// 終了
return 0 ;
}
// Direct3D11 で使用する最低機能レベルを指定する関数です、尚、DX_DIRECT3D_11_FEATURE_LEVEL_11_0 より低い機能レベルでの正常な動作は保証しません( デフォルトは DX_DIRECT3D_11_FEATURE_LEVEL_11_0 )
extern int NS_SetUseDirect3D11MinFeatureLevel( int Level /* DX_DIRECT3D_11_FEATURE_LEVEL_10_0 など */ )
{
#ifndef DX_NON_DIRECT3D11
return Graphics_D3D11_SetUseDirect3D11MinFeatureLevel_PF( Level ) ;
#else // DX_NON_DIRECT3D11
return 0 ;
#endif // DX_NON_DIRECT3D11
}
// 使用する Direct3D のバージョンを設定する
extern int NS_SetUseDirect3DVersion( int Version )
{
// 初期化前のみ有効
if( DxSysData.DxLib_InitializeFlag )
{
return -1 ;
}
// バージョンによって処理を変更
switch( Version )
{
case DX_DIRECT3D_NONE :
NS_SetUseDirectDrawFlag( FALSE ) ;
NS_SetUseDirect3D11( FALSE ) ;
break ;
case DX_DIRECT3D_9 :
NS_SetUseDirect3D9Ex( FALSE ) ;
break ;
case DX_DIRECT3D_9EX :
NS_SetUseDirect3D9Ex( TRUE ) ;
break ;
case DX_DIRECT3D_11 :
NS_SetUseDirectDrawFlag( TRUE ) ;
NS_SetUseDirect3D11( TRUE ) ;
break ;
default :
return -1 ;
}
// 終了
return 0 ;
}
// 使用している Direct3D のバージョンを取得する( DX_DIRECT3D_9 など )
extern int NS_GetUseDirect3DVersion( void )
{
#ifndef DX_NON_DIRECT3D9
if( Direct3D9_IsValid() )
{
if( Direct3D9_IsExObject() )
{
return DX_DIRECT3D_9EX ;
}
else
{
return DX_DIRECT3D_9 ;
}
}
#endif // DX_NON_DIRECT3D9
#ifndef DX_NON_DIRECT3D11
if( D3D11Device_IsValid() )
{
return DX_DIRECT3D_11 ;
}
#endif // DX_NON_DIRECT3D11
return DX_DIRECT3D_NONE ;
}
// 使用している Direct3D11 の FeatureLevel ( DX_DIRECT3D_11_FEATURE_LEVEL_9_1 等 )を取得する( 戻り値 -1:エラー -1以外:Feature Level )
extern int NS_GetUseDirect3D11FeatureLevel( void )
{
#ifndef DX_NON_DIRECT3D11
if( D3D11Device_IsValid() == FALSE )
{
return -1 ;
}
return GD3D11.Setting.FeatureLevel ;
#else // DX_NON_DIRECT3D11
return -1 ;
#endif // DX_NON_DIRECT3D11
}
// DirectDrawを使用するかどうかをセットする
extern int NS_SetUseDirectDrawFlag( int Flag )
{
// 初期化前のみ使用可能
if( DxSysData.DxLib_InitializeFlag == TRUE ) return -1 ;
GSYS.Setting.NotUseHardware = !Flag ;
// 終了
return 0 ;
}
// GDI描画を必要とするか、を変更する
extern int NS_SetUseGDIFlag( int Flag )
{
// フラグを保存
UseGDIFlag = Flag ;
// ハードウエアを使用しているかどうかで処理を分岐
if( GSYS.Setting.ValidHardware )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
break ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
// ハードウエアレンダリングモードの場合
if( Direct3DDevice9_IsValid() == 0 ) return 0 ;
// デバイスの設定
if( Flag == FALSE )
{
Direct3DDevice9_SetDialogBoxMode( FALSE ) ;
}
else
{
Direct3DDevice9_SetDialogBoxMode( FALSE ) ;
Direct3DDevice9_SetDialogBoxMode( TRUE ) ;
}
break ;
#endif // DX_NON_DIRECT3D9
default :
break ;
}
}
else
{
// ソフトウエアレンダリングモードでは特にすること無し
}
// 終了
return 0 ;
}
// GDI描画を必要とするかの状態を取得する
extern int NS_GetUseGDIFlag( void )
{
return UseGDIFlag ;
}
// DirectDrawが使用するGUIDを設定する
extern int NS_SetDDrawUseGuid( const GUID FAR *Guid )
{
#ifndef DX_NON_DIRECT3D9
return Graphics_D3D9_SetDDrawUseGuid_PF( Guid ) ;
#else // DX_NON_DIRECT3D9
return 0 ;
#endif // DX_NON_DIRECT3D9
}
/*戻り値を IDirectDraw7 * にキャストして下さい*/ // 現在使用しているDirectDrawオブジェクトのアドレスを取得する
extern const void *NS_GetUseDDrawObj( void )
{
// 終了
return DirectDraw7_GetObject() ;
}
// 有効な DirectDraw デバイスの GUID を取得する
extern const GUID * NS_GetDirectDrawDeviceGUID( int Number )
{
#ifndef DX_NON_DIRECT3D9
return Graphics_D3D9_GetDirectDrawDeviceGUID_PF( Number ) ;
#else // DX_NON_DIRECT3D9
return 0 ;
#endif // DX_NON_DIRECT3D9
}
// 有効な DirectDraw デバイスの名前を得る
extern int NS_GetDirectDrawDeviceDescription( int Number, char *StringBuffer )
{
#ifndef DX_NON_DIRECT3D9
return Graphics_D3D9_GetDirectDrawDeviceDescription_PF( Number, StringBuffer ) ;
#else // DX_NON_DIRECT3D9
return 0 ;
#endif // DX_NON_DIRECT3D9
}
// 有効な DirectDraw デバイスの数を取得する
extern int NS_GetDirectDrawDeviceNum( void )
{
#ifndef DX_NON_DIRECT3D9
return Graphics_D3D9_GetDirectDrawDeviceNum_PF() ;
#else // DX_NON_DIRECT3D9
return 0 ;
#endif // DX_NON_DIRECT3D9
}
// 使用中のDirect3DDevice9オブジェクトを得る
extern const void * NS_GetUseDirect3DDevice9( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return NULL ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_GetUseDirect3DDevice9_PF( ) ;
#endif // DX_NON_DIRECT3D9
default :
return NULL ;
}
}
// 使用中のバックバッファのDirect3DSurface9オブジェクトを取得する
extern const void * NS_GetUseDirect3D9BackBufferSurface( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return NULL ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_GetUseDirect3D9BackBufferSurface_PF( ) ;
#endif // DX_NON_DIRECT3D9
default :
return NULL ;
}
}
// 使用中のID3D11Deviceオブジェクトを取得する( 戻り値を ID3D11Device * にキャストして下さい )
extern const void* NS_GetUseDirect3D11Device( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_GetUseDirect3D11Device_PF( ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return NULL ;
#endif // DX_NON_DIRECT3D9
default :
return NULL ;
}
}
// 使用中のID3D11DeviceContextオブジェクトを取得する( 戻り値を ID3D11DeviceContext * にキャストして下さい )
extern const void* NS_GetUseDirect3D11DeviceContext( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_GetUseDirect3D11DeviceContext_PF( ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return NULL ;
#endif // DX_NON_DIRECT3D9
default :
return NULL ;
}
}
// 使用中のバックバッファのID3D11Texture2Dオブジェクトを取得する( 戻り値を ID3D11Texture2D * にキャストしてください )
extern const void* NS_GetUseDirect3D11BackBufferTexture2D( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_GetUseDirect3D11BackBufferTexture2D_PF( ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return NULL ;
#endif // DX_NON_DIRECT3D9
default :
return NULL ;
}
}
// 使用中の深度ステンシルバッファのID3D11Texture2Dオブジェクトを取得する( 戻り値を ID3D11Texture2D * にキャストしてください )
extern const void* NS_GetUseDirect3D11DepthStencilTexture2D( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_GetUseDirect3D11DepthStencilTexture2D_PF( ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return NULL ;
#endif // DX_NON_DIRECT3D9
default :
return NULL ;
}
}
// DXライブラリのDirect3D設定をしなおす
extern int NS_RefreshDxLibDirect3DSetting( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_RefreshDxLibDirect3DSetting_PF( ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_RefreshDxLibDirect3DSetting_PF( ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 環境依存初期化関係
// ChangeDisplaySettings を使用して画面モードを変更する
static int UseChangeDisplaySettings( void )
{
// HRESULT hr ;
// int DesktopWidth ;
// int DesktopHeight ;
// int DesktopColorBitDepth ;
// int ScreenSizeX ;
// int ScreenSizeY ;
DEVMODE DevMode ;
// 元の画面の大きさを得る
// NS_GetDefaultState( &DesktopWidth, &DesktopHeight, &DesktopColorBitDepth ) ;
DXST_ERRORLOGFMT_ADDUTF16LE(( "\x3b\x75\x62\x97\xe2\x30\xfc\x30\xc9\x30\x6e\x30\x09\x59\xf4\x66\xe6\x51\x06\x74\x92\x30\x8b\x95\xcb\x59\x57\x30\x7e\x30\x59\x30\x20\x00\x25\x00\x75\x00\x20\x00\x78\x00\x20\x00\x25\x00\x75\x00\x20\x00\x20\x00\x25\x00\x75\x00\x20\x00\x62\x00\x69\x00\x74\x00\x20\x00\x00"/*@ L"画面モードの変更処理を開始します %u x %u %u bit " @*/, GSYS.Screen.MainScreenSizeX, GSYS.Screen.MainScreenSizeY, GSYS.Screen.MainScreenColorBitDepth )) ;
DXST_ERRORLOG_TABADD ;
// フルスクリーンモードの情報をセットアップ
Graphics_Screen_SetupFullScreenModeInfo() ;
// 対応しているカラービット深度は 16 と 32 のみ
// if( GSYS.Screen.MainScreenColorBitDepth != 16 &&
// GSYS.Screen.MainScreenColorBitDepth != 32 )
if( GSYS.Screen.FullScreenUseDispModeData.ColorBitDepth != 16 &&
GSYS.Screen.FullScreenUseDispModeData.ColorBitDepth != 32 )
{
return -1 ;
}
// ディスプレイモードの変更
DXST_ERRORLOG_ADDUTF16LE( "\x3b\x75\x62\x97\xe3\x89\xcf\x50\xa6\x5e\x92\x30\x09\x59\xf4\x66\x57\x30\x7e\x30\x59\x30\x2e\x00\x2e\x00\x2e\x00\x20\x00\x00"/*@ L"画面解像度を変更します... " @*/ ) ;
// Win32 API を使って画面モードを変更する
{
// パラメータセット
_MEMSET( &DevMode, 0, sizeof( DevMode ) ) ;
DevMode.dmSize = sizeof( DevMode ) ;
DevMode.dmBitsPerPel = ( DWORD )GSYS.Screen.MainScreenColorBitDepth ;
DevMode.dmFields = DM_BITSPERPEL | DM_PELSWIDTH | DM_PELSHEIGHT ;
if( GSYS.Screen.MainScreenRefreshRate != 0 )
{
DevMode.dmDisplayFrequency = ( DWORD )GSYS.Screen.MainScreenRefreshRate ;
DevMode.dmFields |= DM_DISPLAYFREQUENCY ;
}
DevMode.dmPelsWidth = ( DWORD )GSYS.Screen.FullScreenUseDispModeData.Width ;
DevMode.dmPelsHeight = ( DWORD )GSYS.Screen.FullScreenUseDispModeData.Height ;
// 画面モードチェンジ
if( ChangeDisplaySettings( &DevMode, CDS_FULLSCREEN ) != DISP_CHANGE_SUCCESSFUL )
{
// 失敗したらリフレッシュレート指定無しでもう一度挑戦
GSYS.Screen.MainScreenRefreshRate = 0 ;
DevMode.dmDisplayFrequency = 0 ;
DevMode.dmFields &= ~DM_DISPLAYFREQUENCY ;
if( ChangeDisplaySettings( &DevMode, 0/*CDS_FULLSCREEN*/ ) != DISP_CHANGE_SUCCESSFUL )
{
#if 0
// それでも駄目で、且つ画面モードが 320x240 だった場合は
// 擬似 320x240 モードで試す
if( GSYS.Screen.MainScreenSizeX == 320 && GSYS.Screen.MainScreenSizeY == 240 )
{
Graphics_Screen_SetMainScreenSize( 640, 480 ) ;
NS_SetEmulation320x240( TRUE ) ;
DevMode.dmPelsWidth = GSYS.Screen.MainScreenSizeX ;
DevMode.dmPelsHeight = GSYS.Screen.MainScreenSizeY ;
if( ChangeDisplaySettings( &DevMode, 0/*CDS_FULLSCREEN*/ ) != DISP_CHANGE_SUCCESSFUL )
{
goto ERRORLABEL ;
}
SetWindowStyle() ;
}
else
#endif
{
//ERRORLABEL:
DXST_ERRORLOG_ADDUTF16LE( "\x3b\x75\x62\x97\xe2\x30\xfc\x30\xc9\x30\x6e\x30\x09\x59\xf4\x66\x6b\x30\x31\x59\x57\x65\x57\x30\x7e\x30\x57\x30\x5f\x30\x0a\x00\x00"/*@ L"画面モードの変更に失敗しました\n" @*/ ) ;
DXST_ERRORLOG_TABSUB ;
return -1 ;
}
}
}
}
GRAWIN.UseChangeDisplaySettings = TRUE ;
DXST_ERRORLOG_ADDUTF16LE( "\x10\x62\x9f\x52\x57\x30\x7e\x30\x57\x30\x5f\x30\x0a\x00\x00"/*@ L"成功しました\n" @*/ ) ;
// 10回画面全体を黒で塗りつぶす指定を残す
GRAWIN.FullScreenBlackFillCounter = 10 ;
return 0 ;
}
// 描画処理の環境依存部分の初期化を行う関数( 実行箇所区別0 )
extern int Graphics_Initialize_Timing0_PF( void )
{
int Result ;
if( GSYS.Setting.NotUseHardware )
{
Result = -1 ;
}
else
{
Result = -1 ;
GRAWIN.Setting.UseGraphicsAPI = GRAPHICS_API_NONE ;
#ifndef DX_NON_DIRECT3D11
if( GRAWIN.Setting.NotUseDirect3D11 == FALSE )
{
if( Result < 0 )
{
GRAWIN.Setting.UseGraphicsAPI = GRAPHICS_API_DIRECT3D11_WIN32 ;
Result = Graphics_D3D11_Initialize_Timing0_PF() ;
if( Result < 0 )
{
GRAWIN.Setting.UseGraphicsAPI = GRAPHICS_API_NONE ;
}
}
}
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
if( Result < 0 )
{
GRAWIN.Setting.UseGraphicsAPI = GRAPHICS_API_DIRECT3D9_WIN32 ;
Result = Graphics_D3D9_Initialize_Timing0_PF() ;
if( Result < 0 )
{
GRAWIN.Setting.UseGraphicsAPI = GRAPHICS_API_NONE ;
}
}
#endif // DX_NON_DIRECT3D9
}
// ハードウェア機能が使用できない( しない )場合はソフトウエアレンダリングモードの処理を行う
if( Result < 0 )
{
// DirectDraw7 を作成する
if( DirectDraw7_Create() < 0 )
{
return -1 ;
}
// フルスクリーンモードの場合はここで画面モードを変更する
if( NS_GetWindowModeFlag() == FALSE )
{
if( UseChangeDisplaySettings() < 0 )
{
DirectDraw7_Release() ;
return -1 ;
}
}
// VSYNC待ちの時間を取得する
DirectDraw7_WaitVSyncInitialize() ;
}
// 正常終了
return 0 ;
}
// 描画処理の環境依存部分の初期化を行う関数( 実行箇所区別1 )
extern int Graphics_Initialize_Timing1_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
if( Graphics_D3D11_Initialize_Timing1_PF() < 0 )
{
return -1 ;
}
break ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
if( Graphics_D3D9_Initialize_Timing1_PF() < 0 )
{
return -1 ;
}
#endif // DX_NON_DIRECT3D9
break ;
default :
break ;
}
// 正常終了
return 0 ;
}
// ハードウエアアクセラレータを使用する場合の環境依存の初期化処理を行う
extern int Graphics_Hardware_Initialize_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_Hardware_Initialize_PF() ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_Hardware_Initialize_PF() ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 描画処理の環境依存部分の後始末を行う関数
extern int Graphics_Terminate_PF( void )
{
int Result ;
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
Result = Graphics_D3D11_Terminate_PF() ;
break ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
Result = Graphics_D3D9_Terminate_PF() ;
#endif // DX_NON_DIRECT3D9
default :
Result = 0 ;
break ;
}
// ディスプレイ情報用に確保したメモリの解放
if( GSYS.Screen.DisplayInfo )
{
HeapFree( GetProcessHeap(), 0, GSYS.Screen.DisplayInfo ) ;
GSYS.Screen.DisplayInfo = NULL ;
}
return Result ;
}
// グラフィックスシステムの復帰、又は変更付きの再セットアップを行う
extern int Graphics_RestoreOrChangeSetupGraphSystem_PF(
int Change,
int ScreenSizeX,
int ScreenSizeY,
int ColorBitDepth,
int RefreshRate
)
{
#ifndef DX_NON_ASYNCLOAD
// 非同期読み込みの途中の場合は、非同期読み込みが終了するまで待つ
while( NS_GetASyncLoadNum() > 0 )
{
ProcessASyncLoadRequestMainThread() ;
if( WinData.ProcessorNum <= 1 )
{
Thread_Sleep( 2 ) ;
}
else
{
Thread_Sleep( 0 ) ;
}
}
#endif // DX_NON_ASYNCLOAD
// ハードウエアの機能を使用するかどうかで処理を分岐
if( GSYS.Setting.ValidHardware == TRUE )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_RestoreOrChangeSetupGraphSystem_PF( Change, ScreenSizeX, ScreenSizeY, ColorBitDepth, RefreshRate ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_RestoreOrChangeSetupGraphSystem_PF( Change, ScreenSizeX, ScreenSizeY, ColorBitDepth, RefreshRate ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
else
{
// ソフトウエアレンダリングモード
if( DxSysData.NotDrawFlag == FALSE )
{
// DirectDraw7 の解放
DirectDraw7_Release() ;
}
if( Change == TRUE )
{
// 画面モードのセット
Graphics_Screen_SetMainScreenSize( ScreenSizeX, ScreenSizeY ) ;
GSYS.Screen.MainScreenColorBitDepth = ColorBitDepth ;
GSYS.Screen.MainScreenRefreshRate = RefreshRate ;
// SetMemImgDefaultColorType( ColorBitDepth == 32 ? 1 : 0 ) ;
}
if( DxSysData.NotDrawFlag == FALSE )
{
GSYS.Screen.FullScreenResolutionModeAct = GSYS.Screen.FullScreenResolutionMode ;
// DirectDraw7 を作成する
if( DirectDraw7_Create() < 0 )
{
return -1 ;
}
// フルスクリーンモードの場合はここで画面モードを変更する
if( NS_GetWindowModeFlag() == FALSE )
{
if( UseChangeDisplaySettings() < 0 )
{
DirectDraw7_Release() ;
return -1 ;
}
}
// VSYNC待ちの時間を取得する
DirectDraw7_WaitVSyncInitialize() ;
}
}
// 正常終了
return 0 ;
}
// 描画用デバイスが有効かどうかを取得する
extern int Graphics_Hardware_CheckValid_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_Hardware_CheckValid_PF() ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_Hardware_CheckValid_PF() ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 環境依存描画設定関係
// メインウインドウの背景色を設定する( Red,Green,Blue:それぞれ 0〜255 )
extern int Graphics_Hardware_SetBackgroundColor_PF( int Red, int Green, int Blue )
{
return 0 ;
}
// シェーダー描画での描画先を設定する
extern int Graphics_Hardware_SetRenderTargetToShader_PF( int TargetIndex, int DrawScreen, int SurfaceIndex )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetRenderTargetToShader_PF( TargetIndex, DrawScreen, SurfaceIndex ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetRenderTargetToShader_PF( TargetIndex, DrawScreen, SurfaceIndex ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// SetDrawBright の引数が一つ版
extern int Graphics_Hardware_SetDrawBrightToOneParam_PF( DWORD Bright )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetDrawBrightToOneParam_PF( Bright ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetDrawBrightToOneParam_PF( Bright ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 描画ブレンドモードをセットする
extern int Graphics_Hardware_SetDrawBlendMode_PF( int BlendMode, int BlendParam )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetDrawBlendMode_PF( BlendMode, BlendParam ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetDrawBlendMode_PF( BlendMode, BlendParam ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 描画時のアルファテストの設定を行う( TestMode:DX_CMP_GREATER等( -1:デフォルト動作に戻す ) TestParam:描画アルファ値との比較に使用する値 )
extern int Graphics_Hardware_SetDrawAlphaTest_PF( int TestMode, int TestParam )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetDrawAlphaTest_PF( TestMode, TestParam ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetDrawAlphaTest_PF( TestMode, TestParam ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 描画モードをセットする
extern int Graphics_Hardware_SetDrawMode_PF( int DrawMode )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetDrawMode_PF( DrawMode ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetDrawMode_PF( DrawMode ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 描画輝度をセット
extern int Graphics_Hardware_SetDrawBright_PF( int RedBright, int GreenBright, int BlueBright )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetDrawBright_PF( RedBright, GreenBright, BlueBright ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetDrawBright_PF( RedBright, GreenBright, BlueBright ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// SetBlendGraphParam の可変長引数パラメータ付き
extern int Graphics_Hardware_SetBlendGraphParamBase_PF( IMAGEDATA *BlendImage, int BlendType, int *Param )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetBlendGraphParamBase_PF( BlendImage, BlendType, Param ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetBlendGraphParamBase_PF( BlendImage, BlendType, Param ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 最大異方性の値をセットする
extern int Graphics_Hardware_SetMaxAnisotropy_PF( int MaxAnisotropy )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetMaxAnisotropy_PF( MaxAnisotropy ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetMaxAnisotropy_PF( MaxAnisotropy ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ワールド変換用行列をセットする
extern int Graphics_Hardware_SetTransformToWorld_PF( const MATRIX *Matrix )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetTransformToWorld_PF( Matrix ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetTransformToWorld_PF( Matrix ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ビュー変換用行列をセットする
extern int Graphics_Hardware_SetTransformToView_PF( const MATRIX *Matrix )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetTransformToView_PF( Matrix ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetTransformToView_PF( Matrix ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 投影変換用行列をセットする
extern int Graphics_Hardware_SetTransformToProjection_PF( const MATRIX *Matrix )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetTransformToProjection_PF( Matrix ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetTransformToProjection_PF( Matrix ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ビューポート行列をセットする
extern int Graphics_Hardware_SetTransformToViewport_PF( const MATRIX *Matrix )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetTransformToViewport_PF( Matrix ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetTransformToViewport_PF( Matrix ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// テクスチャアドレスモードを設定する
extern int Graphics_Hardware_SetTextureAddressMode_PF( int Mode /* DX_TEXADDRESS_WRAP 等 */, int Stage )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetTextureAddressMode_PF( Mode /* DX_TEXADDRESS_WRAP 等 */, Stage ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetTextureAddressMode_PF( Mode /* DX_TEXADDRESS_WRAP 等 */, Stage ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// テクスチャアドレスモードを設定する
extern int Graphics_Hardware_SetTextureAddressModeUV_PF( int ModeU, int ModeV, int Stage )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetTextureAddressModeUV_PF( ModeU, ModeV, Stage ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetTextureAddressModeUV_PF( ModeU, ModeV, Stage ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// テクスチャ座標変換行列をセットする
extern int Graphics_Hardware_SetTextureAddressTransformMatrix_PF( int UseFlag, MATRIX *Matrix, int Sampler )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetTextureAddressTransformMatrix_PF( UseFlag, Matrix, Sampler ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetTextureAddressTransformMatrix_PF( UseFlag, Matrix, Sampler ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// フォグを有効にするかどうかを設定する( TRUE:有効 FALSE:無効 )
extern int Graphics_Hardware_SetFogEnable_PF( int Flag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetFogEnable_PF( Flag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetFogEnable_PF( Flag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// フォグモードを設定する
extern int Graphics_Hardware_SetFogMode_PF( int Mode /* DX_FOGMODE_NONE 等 */ )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetFogMode_PF( Mode /* DX_FOGMODE_NONE 等 */ ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetFogMode_PF( Mode /* DX_FOGMODE_NONE 等 */ ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// フォグカラーを変更する
extern int Graphics_Hardware_SetFogColor_PF( DWORD FogColor )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetFogColor_PF( FogColor ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetFogColor_PF( FogColor ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// フォグが始まる距離と終了する距離を設定する( 0.0f 〜 1.0f )
extern int Graphics_Hardware_SetFogStartEnd_PF( float start, float end )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetFogStartEnd_PF( start, end ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetFogStartEnd_PF( start, end ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// フォグの密度を設定する( 0.0f 〜 1.0f )
extern int Graphics_Hardware_SetFogDensity_PF( float density )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetFogDensity_PF( density ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetFogDensity_PF( density ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ワールド変換用行列をセットする
extern int Graphics_Hardware_DeviceDirect_SetWorldMatrix_PF( const MATRIX *Matrix )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DeviceState_SetWorldMatrix( Matrix ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DeviceState_SetWorldMatrix( Matrix ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ビュー変換用行列をセットする
extern int Graphics_Hardware_DeviceDirect_SetViewMatrix_PF( const MATRIX *Matrix )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DeviceState_SetViewMatrix( Matrix ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DeviceState_SetViewMatrix( Matrix ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 投影変換用行列をセットする
extern int Graphics_Hardware_DeviceDirect_SetProjectionMatrix_PF( const MATRIX *Matrix )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DeviceState_SetProjectionMatrix( Matrix ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DeviceState_SetProjectionMatrix( Matrix ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 基本データに設定されているフォグ情報をハードウェアに反映する
extern int Graphics_Hardware_ApplyLigFogToHardware_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ApplyLigFogToHardware_PF( ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ApplyLigFogToHardware_PF( ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 以前の DrawModiGraph 関数のコードを使用するかどうかのフラグをセットする
extern int Graphics_Hardware_SetUseOldDrawModiGraphCodeFlag_PF( int Flag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetUseOldDrawModiGraphCodeFlag_PF( Flag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetUseOldDrawModiGraphCodeFlag_PF( Flag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 描画先に正しいα値を書き込むかどうかのフラグを更新する
extern int Graphics_Hardware_RefreshAlphaChDrawMode_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_RefreshAlphaChDrawMode_PF() ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_RefreshAlphaChDrawMode_PF() ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 環境依存設定関係
// ハードウエアの頂点演算処理機能を使用するかどうかを設定する
extern int Graphics_Hardware_SetUseHardwareVertexProcessing_PF( int Flag )
{
#ifndef DX_NON_DIRECT3D9
return Graphics_Hardware_D3D9_SetUseHardwareVertexProcessing_PF( Flag ) ;
#else // DX_NON_DIRECT3D9
return 0 ;
#endif // DX_NON_DIRECT3D9
}
// ピクセル単位でライティングを行うかどうかを設定する、要 ShaderModel 3.0( TRUE:ピクセル単位のライティングを行う FALSE:頂点単位のライティングを行う( デフォルト ) )
extern int Graphics_Hardware_SetUsePixelLighting_PF( int Flag )
{
#ifndef DX_NON_DIRECT3D11
Graphics_Hardware_D3D11_SetUsePixelLighting_PF( Flag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
Graphics_Hardware_D3D9_SetUsePixelLighting_PF( Flag ) ;
#endif // DX_NON_DIRECT3D9
return 0 ;
}
// グラフィックスデバイスがロストから復帰した際に呼ばれるコールバック関数を設定する
extern int Graphics_Hardware_SetGraphicsDeviceRestoreCallbackFunction_PF( void (* Callback )( void *Data ), void *CallbackData )
{
#ifndef DX_NON_DIRECT3D11
Graphics_Hardware_D3D11_SetGraphicsDeviceRestoreCallbackFunction_PF( Callback, CallbackData ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
Graphics_Hardware_D3D9_SetGraphicsDeviceRestoreCallbackFunction_PF( Callback, CallbackData ) ;
#endif // DX_NON_DIRECT3D9
return 0 ;
}
// グラフィックスデバイスがロストから復帰する前に呼ばれるコールバック関数を設定する
extern int Graphics_Hardware_SetGraphicsDeviceLostCallbackFunction_PF( void (* Callback )( void *Data ), void *CallbackData )
{
#ifndef DX_NON_DIRECT3D11
Graphics_Hardware_D3D11_SetGraphicsDeviceLostCallbackFunction_PF( Callback, CallbackData ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
Graphics_Hardware_D3D9_SetGraphicsDeviceLostCallbackFunction_PF( Callback, CallbackData ) ;
#endif // DX_NON_DIRECT3D9
return 0 ;
}
// 通常描画にプログラマブルシェーダーを使用するかどうかを設定する( TRUE:使用する( デフォルト ) FALSE:使用しない )
extern int Graphics_Hardware_SetUseNormalDrawShader_PF( int Flag )
{
#ifndef DX_NON_DIRECT3D9
return Graphics_Hardware_D3D9_SetUseNormalDrawShader_PF( Flag ) ;
#else // DX_NON_DIRECT3D9
return 0 ;
#endif // DX_NON_DIRECT3D9
}
// ビデオメモリの容量を得る
extern int Graphics_Hardware_GetVideoMemorySize_PF( int *AllSize, int *FreeSize )
{
#ifndef DX_NON_DIRECT3D9
return Graphics_Hardware_D3D9_GetVideoMemorySize_PF( AllSize, FreeSize ) ;
#else // DX_NON_DIRECT3D9
return 0 ;
#endif // DX_NON_DIRECT3D9
}
// Vista以降の Windows Aero を無効にするかどうかをセットする、TRUE:無効にする FALSE:有効にする( DxLib_Init の前に呼ぶ必要があります )
extern int Graphics_SetAeroDisableFlag_PF( int Flag )
{
// 初期化前のみ有効
if( DxSysData.DxLib_InitializeFlag == TRUE ) return -1 ;
if( Flag )
{
GRAWIN.Setting.DisableAeroFlag = 2 ;
}
else
{
GRAWIN.Setting.DisableAeroFlag = 1 ;
}
// 終了
return 0 ;
}
// 環境依存画面関係
// 設定に基づいて使用するZバッファをセットする
extern int Graphics_Hardware_SetupUseZBuffer_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetupUseZBuffer_PF() ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetupUseZBuffer_PF() ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 画面のZバッファの状態を初期化する
extern int Graphics_Hardware_ClearDrawScreenZBuffer_PF( const RECT *ClearRect )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ClearDrawScreenZBuffer_PF( ClearRect ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ClearDrawScreenZBuffer_PF( ClearRect ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 画面の状態を初期化する
extern int Graphics_Hardware_ClearDrawScreen_PF( const RECT *ClearRect )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ClearDrawScreen_PF( ClearRect ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ClearDrawScreen_PF( ClearRect ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 描画先画面のセット
extern int Graphics_Hardware_SetDrawScreen_PF( int DrawScreen, int OldScreenSurface, IMAGEDATA *NewTargetImage, IMAGEDATA *OldTargetImage, SHADOWMAPDATA *NewTargetShadowMap, SHADOWMAPDATA *OldTargetShadowMap )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetDrawScreen_PF( DrawScreen, OldScreenSurface, NewTargetImage, OldTargetImage, NewTargetShadowMap, OldTargetShadowMap ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetDrawScreen_PF( DrawScreen, OldScreenSurface, NewTargetImage, OldTargetImage, NewTargetShadowMap, OldTargetShadowMap ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 定期的に ScreenCopy を行うコールバック関数
#define GRAPHICS_SOFTWARE_SCREENFLIPTIMER_ID (32767)
#if _MSC_VER > 1200 || defined( DX_GCC_COMPILE_4_9_2 )
static VOID CALLBACK Graphics_Software_ScreenFlipTimerProc( HWND /*hwnd*/, UINT /*uMsg*/, UINT_PTR /*idEvent*/, DWORD /*dwTime*/ )
#else
static VOID CALLBACK Graphics_Software_ScreenFlipTimerProc( HWND /*hwnd*/, UINT /*uMsg*/, UINT /*idEvent*/, DWORD /*dwTime*/ )
#endif
{
KillTimer( NS_GetMainWindowHandle(), GRAPHICS_SOFTWARE_SCREENFLIPTIMER_ID ) ;
if( GSYS.DrawSetting.TargetScreen[ 0 ] == DX_SCREEN_FRONT &&
GSYS.DrawSetting.TargetScreenSurface[ 0 ] == 0 &&
WinData.BackBufferTransColorFlag == FALSE &&
WinData.UseUpdateLayerdWindowFlag == FALSE )
{
if( NS_GetActiveFlag() == TRUE )
{
NS_ScreenCopy() ;
}
SetTimer( NS_GetMainWindowHandle(), GRAPHICS_SOFTWARE_SCREENFLIPTIMER_ID, 32, Graphics_Software_ScreenFlipTimerProc ) ;
}
}
// SetDrawScreen の最後で呼ばれる関数
extern int Graphics_Hardware_SetDrawScreen_Post_PF( int DrawScreen )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetDrawScreen_Post_PF( DrawScreen ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetDrawScreen_Post_PF( DrawScreen ) ;
#endif // DX_NON_DIRECT3D9
case GRAPHICS_API_NONE :
if( DrawScreen == DX_SCREEN_FRONT )
{
SetTimer( NS_GetMainWindowHandle(), GRAPHICS_SOFTWARE_SCREENFLIPTIMER_ID, 32, Graphics_Software_ScreenFlipTimerProc ) ;
}
return 0 ;
default :
return 0 ;
}
}
// 描画可能領域のセット
extern int Graphics_Hardware_SetDrawArea_PF( int x1, int y1, int x2, int y2 )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetDrawArea_PF( x1, y1, x2, y2 ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetDrawArea_PF( x1, y1, x2, y2 ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 描画先バッファをロックする
extern int Graphics_Hardware_LockDrawScreenBuffer_PF( RECT *LockRect, BASEIMAGE *BaseImage, int TargetScreen, IMAGEDATA *TargetImage, int TargetScreenSurface, int ReadOnly, int TargetScreenTextureNo )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_LockDrawScreenBuffer_PF( LockRect, BaseImage, TargetScreen, TargetImage, TargetScreenSurface, ReadOnly, TargetScreenTextureNo ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_LockDrawScreenBuffer_PF( LockRect, BaseImage, TargetScreen, TargetImage, TargetScreenSurface, ReadOnly, TargetScreenTextureNo ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 描画先バッファをアンロックする
extern int Graphics_Hardware_UnlockDrawScreenBuffer_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_UnlockDrawScreenBuffer_PF() ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_UnlockDrawScreenBuffer_PF() ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 裏画面の内容を表画面に描画する
extern int Graphics_Hardware_ScreenCopy_PF( int DrawTargetFrontScreenMode_Copy )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ScreenCopy_PF() ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ScreenCopy_PF() ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ディスプレイ列挙用のコールバック関数
BOOL CALLBACK Graphics_MonitorEnumProc(
HMONITOR hMonitor, // ディスプレイモニタのハンドル
HDC hdcMonitor, // モニタに適したデバイスコンテキストのハンドル
LPRECT lprcMonitor, // モニタ上の交差部分を表す長方形領域へのポインタ
LPARAM dwData // EnumDisplayMonitors から渡されたデータ
)
{
MONITORINFOEXW MonitorInfoEx ;
GRAPHICSSYS_DISPLAYINFO *DisplayInfo ;
HDC hdc ;
if( GSYS.Screen.DisplayInfo != NULL )
{
DisplayInfo = &GSYS.Screen.DisplayInfo[ GSYS.Screen.DisplayNum ] ;
_MEMSET( &MonitorInfoEx, 0, sizeof( MonitorInfoEx ) ) ;
MonitorInfoEx.cbSize = sizeof( MonitorInfoEx ) ;
GetMonitorInfoW( hMonitor, &MonitorInfoEx ) ;
DisplayInfo->DesktopRect = MonitorInfoEx.rcMonitor ;
_WCSCPY_S( DisplayInfo->Name, sizeof( DisplayInfo->Name ), MonitorInfoEx.szDevice ) ;
hdc = CreateDCW( DisplayInfo->Name, NULL, NULL, NULL ) ;
DisplayInfo->DesktopSizeX = GetDeviceCaps( hdc, HORZRES ) ;
DisplayInfo->DesktopSizeY = GetDeviceCaps( hdc, VERTRES ) ;
DisplayInfo->DesktopColorBitDepth = GetDeviceCaps( hdc , PLANES ) * GetDeviceCaps( hdc , BITSPIXEL ) ;
DisplayInfo->DesktopRefreshRate = GetDeviceCaps( hdc , VREFRESH ) ;
DeleteDC( hdc ) ;
DXST_ERRORLOGFMT_ADDUTF16LE(( "\x4e\x00\x6f\x00\x2e\x00\x25\x00\x64\x00\x20\x00\x20\x00\xe2\x30\xcb\x30\xbf\x30\xfc\x30\x0d\x54\x1a\xff\x25\x00\x73\x00\x00\x30\x25\x00\x64\x00\x78\x00\x25\x00\x64\x00\x00\x30\x25\x00\x64\x00\x62\x00\x69\x00\x74\x00\x00\x30\x25\x00\x64\x00\x48\x00\x7a\x00\x00"/*@ L"No.%d モニター名:%s %dx%d %dbit %dHz" @*/, GSYS.Screen.DisplayNum, DisplayInfo->Name, DisplayInfo->DesktopSizeX, DisplayInfo->DesktopSizeY, DisplayInfo->DesktopColorBitDepth, DisplayInfo->DesktopRefreshRate )) ;
}
GSYS.Screen.DisplayNum ++ ;
return TRUE ;
}
// ディスプレイの情報をセットアップする
extern int Graphics_SetupDisplayInfo_PF( void )
{
DWORD i ;
DWORD j ;
DISPLAY_DEVICEW DisplayDevice ;
GRAPHICSSYS_DISPLAYINFO *DisplayInfo ;
wchar_t * DeviceName ;
DWORD DisplayDeviceNum ;
OSVERSIONINFO OsVersionInfo ;
DXST_ERRORLOGFMT_ADDUTF16LE(( "\xc7\x30\xa3\x30\xb9\x30\xd7\x30\xec\x30\xa4\x30\xc5\x60\x31\x58\x6e\x30\xbb\x30\xc3\x30\xc8\x30\xa2\x30\xc3\x30\xd7\x30\x8b\x95\xcb\x59\x00"/*@ L"ディスプレイ情報のセットアップ開始" @*/ )) ;
DXST_ERRORLOG_TABADD ;
_MEMSET( &OsVersionInfo, 0, sizeof( OsVersionInfo ) ) ;
OsVersionInfo.dwOSVersionInfoSize = sizeof( OsVersionInfo ) ;
GetVersionEx( &OsVersionInfo ) ;
if( OsVersionInfo.dwPlatformId >= VER_PLATFORM_WIN32_NT &&
OsVersionInfo.dwMajorVersion >= 5 )
{
_MEMSET( &DisplayDevice, 0, sizeof( DisplayDevice ) ) ;
DisplayDevice.cb = sizeof( DisplayDevice ) ;
GSYS.Screen.DisplayNum = 0 ;
EnumDisplayMonitors( NULL, NULL, Graphics_MonitorEnumProc, NULL ) ;
// API を読み込む
if( WinAPIData.Win32Func.EnumDisplayDevicesWFunc == NULL )
{
LoadWinAPI() ;
}
DisplayDeviceNum = 0 ;
while( WinAPIData.Win32Func.EnumDisplayDevicesWFunc( NULL, DisplayDeviceNum, &DisplayDevice, 0 ) != 0 )
{
DisplayDeviceNum ++ ;
}
}
else
{
GSYS.Screen.DisplayNum = 1 ;
DisplayDeviceNum = 1 ;
}
DXST_ERRORLOGFMT_ADDUTF16LE(( "\xe2\x30\xcb\x30\xbf\x30\xfc\x30\x6e\x30\x70\x65\x1a\xff\x25\x00\x64\x00\x20\x00\x20\x00\xc7\x30\xa3\x30\xb9\x30\xd7\x30\xec\x30\xa4\x30\xc7\x30\xd0\x30\xa4\x30\xb9\x30\x6e\x30\x70\x65\x1a\xff\x25\x00\x64\x00\x00"/*@ L"モニターの数:%d ディスプレイデバイスの数:%d" @*/, GSYS.Screen.DisplayNum, DisplayDeviceNum )) ;
GSYS.Screen.DisplayInfo = ( GRAPHICSSYS_DISPLAYINFO * )HeapAlloc( GetProcessHeap(), 0, sizeof( GRAPHICSSYS_DISPLAYINFO ) * GSYS.Screen.DisplayNum ) ;
if( GSYS.Screen.DisplayInfo == NULL )
{
DXST_ERRORLOGFMT_ADDUTF16LE(( "\x5b\x00\xa8\x30\xe9\x30\xfc\x30\x5d\x00\xc7\x30\xa3\x30\xb9\x30\xd7\x30\xec\x30\xa4\x30\xc5\x60\x31\x58\xdd\x4f\x58\x5b\x28\x75\x6e\x30\xe1\x30\xe2\x30\xea\x30\xba\x78\xdd\x4f\x6b\x30\x31\x59\x57\x65\x57\x30\x7e\x30\x57\x30\x5f\x30\x00"/*@ L"[エラー]ディスプレイ情報保存用のメモリ確保に失敗しました" @*/ )) ;
DXST_ERRORLOG_TABSUB ;
return -1 ;
}
_MEMSET( GSYS.Screen.DisplayInfo, 0, sizeof( GRAPHICSSYS_DISPLAYINFO ) * GSYS.Screen.DisplayNum ) ;
if( OsVersionInfo.dwPlatformId >= VER_PLATFORM_WIN32_NT &&
OsVersionInfo.dwMajorVersion >= 5 )
{
GSYS.Screen.DisplayNum = 0 ;
EnumDisplayMonitors( NULL, NULL, Graphics_MonitorEnumProc, NULL ) ;
}
else
{
HDC hdc ;
DisplayInfo = GSYS.Screen.DisplayInfo ;
hdc = GetDC( NULL ) ;
DisplayInfo->DesktopSizeX = GetDeviceCaps( hdc, HORZRES ) ;
DisplayInfo->DesktopSizeY = GetDeviceCaps( hdc, VERTRES ) ;
DisplayInfo->DesktopColorBitDepth = GetDeviceCaps( hdc , PLANES ) * GetDeviceCaps( hdc , BITSPIXEL ) ;
DisplayInfo->DesktopRefreshRate = GetDeviceCaps( hdc , VREFRESH ) ;
ReleaseDC( NULL, hdc ) ;
DisplayInfo->DesktopRect.left = 0 ;
DisplayInfo->DesktopRect.top = 0 ;
DisplayInfo->DesktopRect.right = DisplayInfo->DesktopSizeX ;
DisplayInfo->DesktopRect.bottom = DisplayInfo->DesktopSizeY ;
_WCSCPY( DisplayInfo->Name, L"DISPLAY" ) ;
DXST_ERRORLOGFMT_ADDUTF16LE(( "\x4e\x00\x6f\x00\x2e\x00\x25\x00\x64\x00\x20\x00\x20\x00\xe2\x30\xcb\x30\xbf\x30\xfc\x30\x0d\x54\x1a\xff\x25\x00\x73\x00\x00\x30\x25\x00\x64\x00\x78\x00\x25\x00\x64\x00\x00\x30\x25\x00\x64\x00\x62\x00\x69\x00\x74\x00\x00\x30\x25\x00\x64\x00\x48\x00\x7a\x00\x00"/*@ L"No.%d モニター名:%s %dx%d %dbit %dHz" @*/, 0, DisplayInfo->Name, DisplayInfo->DesktopSizeX, DisplayInfo->DesktopSizeY, DisplayInfo->DesktopColorBitDepth, DisplayInfo->DesktopRefreshRate )) ;
}
for( j = 0 ; j < DisplayDeviceNum ; j ++ )
{
DWORD ModeNum ;
DEVMODEW DevMode ;
DISPLAYMODEDATA *ModeData ;
if( OsVersionInfo.dwPlatformId >= VER_PLATFORM_WIN32_NT &&
OsVersionInfo.dwMajorVersion >= 5 )
{
WinAPIData.Win32Func.EnumDisplayDevicesWFunc( NULL, j, &DisplayDevice, 0 ) ;
DeviceName = DisplayDevice.DeviceName ;
DisplayInfo = GSYS.Screen.DisplayInfo ;
for( i = 0 ; i < ( DWORD )GSYS.Screen.DisplayNum ; i ++, DisplayInfo ++ )
{
if( _WCSCMP( DisplayInfo->Name, DeviceName ) == 0 )
{
break ;
}
}
if( i == ( DWORD )GSYS.Screen.DisplayNum )
{
continue ;
}
}
else
{
DisplayInfo = GSYS.Screen.DisplayInfo ;
DeviceName = NULL ;
}
// DXST_ERRORLOGFMT_ADDUTF16LE(( "\x4e\x00\x6f\x00\x2e\x00\x25\x00\x64\x00\x20\x00\x20\x00\xc7\x30\xa3\x30\xb9\x30\xd7\x30\xec\x30\xa4\x30\xc7\x30\xd0\x30\xa4\x30\xb9\x30\x0d\x54\x1a\xff\x25\x00\x73\x00\x00"/*@ L"No.%d ディスプレイデバイス名:%s" @*/, j, DeviceName == NULL ? L"None" : DeviceName )) ;
// 数を数える
DisplayInfo->ModeNum = 0 ;
ModeNum = 0 ;
for( ModeNum ; ; ModeNum ++ )
{
_MEMSET( &DevMode, 0, sizeof( DevMode ) ) ;
if( EnumDisplaySettingsW( DeviceName, ModeNum, &DevMode ) == 0 )
{
break ;
}
// 16bit 以下のモードは除外する
if( DevMode.dmBitsPerPel >= 16 )
{
DisplayInfo->ModeNum ++ ;
}
}
// 情報を格納するメモリ領域の確保
DisplayInfo->ModeData = ( DISPLAYMODEDATA * )HeapAlloc( GetProcessHeap(), 0, sizeof( DISPLAYMODEDATA ) * DisplayInfo->ModeNum ) ;
if( DisplayInfo->ModeData == NULL )
{
DisplayInfo->ModeNum = 0 ;
return -1 ;
}
// 情報を取得する
ModeData = DisplayInfo->ModeData ;
for( i = 0 ; i < ModeNum ; i ++ )
{
_MEMSET( &DevMode, 0, sizeof( DevMode ) ) ;
EnumDisplaySettingsW( DeviceName, i, &DevMode ) ;
if( DevMode.dmBitsPerPel >= 16 )
{
ModeData->Width = ( int )DevMode.dmPelsWidth ;
ModeData->Height = ( int )DevMode.dmPelsHeight ;
ModeData->ColorBitDepth = ( int )DevMode.dmBitsPerPel ;
ModeData->RefreshRate = ( int )DevMode.dmDisplayFrequency ;
// DXST_ERRORLOGFMT_ADDUTF16LE(( "\x3b\x75\x62\x97\xe2\x30\xfc\x30\xc9\x30\x4e\x00\x6f\x00\x2e\x00\x25\x00\x64\x00\x20\x00\x20\x00\x25\x00\x64\x00\x78\x00\x25\x00\x64\x00\x20\x00\x25\x00\x64\x00\x62\x00\x69\x00\x74\x00\x20\x00\x25\x00\x64\x00\x48\x00\x7a\x00\x00"/*@ L"画面モードNo.%d %dx%d %dbit %dHz" @*/, i, ModeData->Width, ModeData->Height, ModeData->ColorBitDepth, ModeData->RefreshRate )) ;
ModeData ++ ;
}
}
}
DXST_ERRORLOG_TABSUB ;
DXST_ERRORLOGFMT_ADDUTF16LE(( "\xc7\x30\xa3\x30\xb9\x30\xd7\x30\xec\x30\xa4\x30\xc5\x60\x31\x58\x6e\x30\xbb\x30\xc3\x30\xc8\x30\xa2\x30\xc3\x30\xd7\x30\x8c\x5b\x86\x4e\x00"/*@ L"ディスプレイ情報のセットアップ完了" @*/ )) ;
return 0 ;
}
// 垂直同期信号を待つ
extern int Graphics_Hardware_WaitVSync_PF( int SyncNum )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_WaitVSync_PF( SyncNum ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_WaitVSync_PF( SyncNum ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 裏画面と表画面を交換する
extern int Graphics_ScreenFlipBase_PF( void )
{
// ハードウエア機能を使っているかどうかで処理を分岐
if( GSYS.Setting.ValidHardware )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ScreenFlipBase_PF() ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ScreenFlipBase_PF() ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
else
{
// ソフトウエアレンダリングの場合
RECT WindRect ;
char Buffer[ sizeof( BITMAPINFOHEADER ) + sizeof( DWORD ) * 3 + 4 ] ;
BITMAPINFO *pBmpInfo ;
HDC Dc ;
int DrawScreenWidth ;
int DrawScreenHeight ;
// ウインドウモードの場合は転送先ウインドウのデスクトップ上の座標を割り出す
if( NS_GetWindowModeFlag() == TRUE )
{
int ClientHeight ;
double ExRateX ;
double ExRateY ;
WindRect.left = 0 ;
WindRect.top = 0 ;
// 現在のウインドウのクライアント領域のサイズを得る
NS_GetWindowSizeExtendRate( &ExRateX, &ExRateY ) ;
NS_GetDrawScreenSize( &DrawScreenWidth, &DrawScreenHeight ) ;
WindRect.right = _DTOL( DrawScreenWidth * ExRateX ) ;
WindRect.bottom = _DTOL( DrawScreenHeight * ExRateY ) ;
if( WinData.ToolBarUseFlag )
{
ClientHeight = WinData.WindowRect.bottom - WinData.WindowRect.top ;
WindRect.top = ClientHeight - DrawScreenHeight ;
WindRect.bottom = ClientHeight ;
}
}
else
{
WindRect.left = 0 ;
WindRect.top = 0 ;
WindRect.right = GSYS.Screen.MainScreenSizeX ;
WindRect.bottom = GSYS.Screen.MainScreenSizeY ;
}
if( CheckValidMemImg( &GSYS.SoftRender.MainBufferMemImg ) == FALSE ||
CheckValidMemImg( &GSYS.SoftRender.SubBufferMemImg ) == FALSE )
{
return 0 ;
}
// VSYNCを待つ
if( GSYS.Screen.NotWaitVSyncFlag == FALSE )
{
DirectDraw7_LocalWaitVSync() ;
}
// バックバッファの透過色の部分を透過するフラグか、UpdateLayerdWindow を使用するフラグが立っている場合は処理を分岐
if( WinData.BackBufferTransColorFlag && WinData.UseUpdateLayerdWindowFlag )
{
BASEIMAGE BackBufferImage ;
RECT LockRect ;
int OldTargetScreen ;
int OldTargetScreenSurface ;
// VSYNCを待つ
if( GSYS.Screen.NotWaitVSyncFlag == FALSE ) DirectDraw7_LocalWaitVSync() ;
// Graphics_Screen_LockDrawScreen を使う方法
OldTargetScreen = GSYS.DrawSetting.TargetScreen[ 0 ] ;
OldTargetScreenSurface = GSYS.DrawSetting.TargetScreenSurface[ 0 ] ;
GSYS.DrawSetting.TargetScreen[ 0 ] = DX_SCREEN_BACK ;
GSYS.DrawSetting.TargetScreenSurface[ 0 ] = 0 ;
LockRect.left = 0 ;
LockRect.top = 0 ;
LockRect.right = GSYS.Screen.MainScreenSizeX ;
LockRect.bottom = GSYS.Screen.MainScreenSizeY ;
if( Graphics_Screen_LockDrawScreen( &LockRect, &BackBufferImage, -1, -1, TRUE, 0 ) < 0 )
{
return -1 ;
}
UpdateBackBufferTransColorWindow( &BackBufferImage ) ;
Graphics_Screen_UnlockDrawScreen() ;
GSYS.DrawSetting.TargetScreen[ 0 ] = OldTargetScreen ;
GSYS.DrawSetting.TargetScreenSurface[ 0 ] = OldTargetScreenSurface ;
}
else
{
MEMIMG *UseScreenMemImg ;
// 画面に転送する領域を限定する場合は最初にサブバッファに転送する
if( GSYS.Screen.ValidGraphDisplayArea )
{
RECT SrcRect ;
RECT ClipRect ;
MEMIMG BltSrcMemImg ;
// サブバッファに転送する領域を設定する
ClipRect.left = 0 ;
ClipRect.top = 0 ;
ClipRect.right = GSYS.Screen.MainScreenSizeX ;
ClipRect.bottom = GSYS.Screen.MainScreenSizeY ;
SrcRect = GSYS.Screen.GraphDisplayArea ;
RectClipping_Inline( &SrcRect, &ClipRect ) ;
if( SrcRect.right - SrcRect.left <= 0 ||
SrcRect.bottom - SrcRect.top <= 0 )
{
return -1 ;
}
// 抜き出す部分のみの MEMIMG を作成
DerivationMemImg(
&BltSrcMemImg,
&GSYS.SoftRender.MainBufferMemImg,
SrcRect.left,
SrcRect.top,
SrcRect.right - SrcRect.left,
SrcRect.bottom - SrcRect.top
) ;
// サブバッファ全体に転送
DrawEnlargeMemImg(
&GSYS.SoftRender.SubBufferMemImg,
&BltSrcMemImg,
&ClipRect,
FALSE,
NULL
) ;
UseScreenMemImg = &GSYS.SoftRender.SubBufferMemImg ;
}
else
{
UseScreenMemImg = &GSYS.SoftRender.MainBufferMemImg ;
}
// メインウインドウのDCを取得して転送する
pBmpInfo = ( BITMAPINFO * )Buffer ;
_MEMSET( Buffer, 0, sizeof( Buffer ) ) ;
pBmpInfo->bmiHeader.biSize = sizeof( pBmpInfo->bmiHeader ) ;
pBmpInfo->bmiHeader.biWidth = GSYS.Screen.MainScreenSizeX ;
pBmpInfo->bmiHeader.biHeight = -GSYS.Screen.MainScreenSizeY ;
pBmpInfo->bmiHeader.biPlanes = 1 ;
pBmpInfo->bmiHeader.biBitCount = UseScreenMemImg->Base->ColorDataP->ColorBitDepth ;
pBmpInfo->bmiHeader.biCompression = BI_BITFIELDS ;
( ( DWORD * )&pBmpInfo->bmiColors )[ 0 ] = UseScreenMemImg->Base->ColorDataP->RedMask ;
( ( DWORD * )&pBmpInfo->bmiColors )[ 1 ] = UseScreenMemImg->Base->ColorDataP->GreenMask ;
( ( DWORD * )&pBmpInfo->bmiColors )[ 2 ] = UseScreenMemImg->Base->ColorDataP->BlueMask ;
// ピッチが16バイトの倍数なので補正
if( UseScreenMemImg->Base->ColorDataP->ColorBitDepth == 16 )
{
// 16bit
pBmpInfo->bmiHeader.biWidth = ( pBmpInfo->bmiHeader.biWidth + 16 / 2 - 1 ) / ( 16 / 2 ) * ( 16 / 2 ) ;
}
else
{
// 32bit
pBmpInfo->bmiHeader.biWidth = ( pBmpInfo->bmiHeader.biWidth + 16 / 4 - 1 ) / ( 16 / 4 ) * ( 16 / 4 ) ;
}
Dc = GetDC( GRAWIN.Setting.ScreenFlipTargetWindow ? GRAWIN.Setting.ScreenFlipTargetWindow : GetDisplayWindowHandle() ) ;
if( Dc )
{
// ウインドウモードで320×240エミュレーションモードの場合は転送元と転送先のパラメータは固定
if( NS_GetWindowModeFlag() && GSYS.Screen.Emulation320x240Flag )
{
StretchDIBits(
Dc,
0,
0,
640,
480,
0,
0,
320,
240,
UseScreenMemImg->UseImage, pBmpInfo, DIB_RGB_COLORS, SRCCOPY );
}
else
{
if( NS_GetWindowModeFlag() == FALSE )
{
// フルスクリーンモードの場合
// 画面全体を黒く塗りつぶす指定があったら実行する
if( GRAWIN.FullScreenBlackFillCounter > 0 )
{
GRAWIN.FullScreenBlackFillCounter -- ;
// ウインドウの座標を左上端に移動する
NS_SetWindowPosition( 0, 0 ) ;
// 画面全体を黒で塗りつぶす
{
HBRUSH OldBrush;
OldBrush = ( HBRUSH )SelectObject( Dc, GetStockObject( BLACK_BRUSH ) ) ;
Rectangle(
Dc,
0,
0,
GSYS.Screen.FullScreenUseDispModeData.Width,
GSYS.Screen.FullScreenUseDispModeData.Height
) ;
SelectObject( Dc, OldBrush) ;
}
}
switch( GSYS.Screen.FullScreenResolutionModeAct )
{
case DX_FSRESOLUTIONMODE_NATIVE :
SetDIBitsToDevice(
Dc,
0, 0,
( DWORD )GSYS.Screen.MainScreenSizeX, ( DWORD )GSYS.Screen.MainScreenSizeY,
0, 0,
0, ( UINT )GSYS.Screen.MainScreenSizeY,
UseScreenMemImg->UseImage, pBmpInfo, DIB_RGB_COLORS );
break ;
case DX_FSRESOLUTIONMODE_MAXIMUM :
case DX_FSRESOLUTIONMODE_DESKTOP :
// 転送先矩形のセットアップ
Graphics_Screen_SetupFullScreenScalingDestRect() ;
// DXST_ERRORLOGFMT_ADDUTF16LE(( L"GSYS.Screen.FullScreenScalingDestRect %d %d %d %d",
// GSYS.Screen.FullScreenScalingDestRect.left,
// GSYS.Screen.FullScreenScalingDestRect.top,
// GSYS.Screen.FullScreenScalingDestRect.right,
// GSYS.Screen.FullScreenScalingDestRect.bottom
// )) ;
StretchDIBits(
Dc,
GSYS.Screen.FullScreenScalingDestRect.left,
GSYS.Screen.FullScreenScalingDestRect.top,
GSYS.Screen.FullScreenScalingDestRect.right - GSYS.Screen.FullScreenScalingDestRect.left,
GSYS.Screen.FullScreenScalingDestRect.bottom - GSYS.Screen.FullScreenScalingDestRect.top,
0,
0,
GSYS.Screen.MainScreenSizeX,
GSYS.Screen.MainScreenSizeY,
UseScreenMemImg->UseImage, pBmpInfo, DIB_RGB_COLORS, SRCCOPY );
break ;
}
}
else
{
int WindowSizeX ;
int WindowSizeY ;
WindowSizeX = WindRect.right - WindRect.left ;
WindowSizeY = WindRect.bottom - WindRect.top ;
// ウインドウモードの場合
if( GSYS.Screen.MainScreenSizeX == WindowSizeX && GSYS.Screen.MainScreenSizeY == WindowSizeY )
{
SetDIBitsToDevice(
Dc,
0, 0,
( DWORD )WindowSizeX, ( DWORD )WindowSizeY,
0, 0,
0, ( UINT )WindowSizeY,
UseScreenMemImg->UseImage, pBmpInfo, DIB_RGB_COLORS );
}
else
{
StretchDIBits(
Dc,
0, 0,
WindowSizeX, WindowSizeY,
0, 0,
GSYS.Screen.MainScreenSizeX, GSYS.Screen.MainScreenSizeY,
UseScreenMemImg->UseImage, pBmpInfo, DIB_RGB_COLORS, SRCCOPY );
}
}
}
ReleaseDC( GetDisplayWindowHandle(), Dc );
}
}
}
return 0 ;
}
// 裏画面の指定の領域をウインドウのクライアント領域の指定の領域に転送する
extern int Graphics_BltRectBackScreenToWindow_PF( HWND Window, RECT BackScreenRect, RECT WindowClientRect )
{
// 矩形チェック
if( BackScreenRect.left == BackScreenRect.right ||
BackScreenRect.top == BackScreenRect.bottom ||
WindowClientRect.left == WindowClientRect.right ||
WindowClientRect.top == WindowClientRect.bottom )
{
return -1 ;
}
// ハードウエア機能を使っているかどうかで処理を分岐
if( GSYS.Setting.ValidHardware )
{
// 使っている場合
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_BltRectBackScreenToWindow_PF( Window, BackScreenRect, WindowClientRect ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_BltRectBackScreenToWindow_PF( Window, BackScreenRect, WindowClientRect ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
else
{
// ソフトウエアレンダリングの場合
char Buffer[ sizeof( BITMAPINFOHEADER ) + sizeof( DWORD ) * 3 + 4 ];
BITMAPINFO *pBmpInfo;
HDC Dc;
if( CheckValidMemImg( &GSYS.SoftRender.MainBufferMemImg ) == FALSE ) return 0 ;
// VSYNCを待つ
if( GSYS.Screen.NotWaitVSyncFlag == FALSE )
{
DirectDraw7_LocalWaitVSync() ;
}
// ウインドウのDCを取得して転送する
pBmpInfo = (BITMAPINFO *)Buffer ;
_MEMSET( Buffer, 0, sizeof( Buffer ) ) ;
pBmpInfo->bmiHeader.biSize = sizeof( pBmpInfo->bmiHeader ) ;
pBmpInfo->bmiHeader.biWidth = GSYS.Screen.MainScreenSizeX ;
pBmpInfo->bmiHeader.biHeight = -GSYS.Screen.MainScreenSizeY ;
pBmpInfo->bmiHeader.biPlanes = 1;
pBmpInfo->bmiHeader.biBitCount = GSYS.SoftRender.MainBufferMemImg.Base->ColorDataP->ColorBitDepth ;
pBmpInfo->bmiHeader.biCompression = BI_BITFIELDS ;
( ( DWORD * )&pBmpInfo->bmiColors )[ 0 ] = GSYS.SoftRender.MainBufferMemImg.Base->ColorDataP->RedMask ;
( ( DWORD * )&pBmpInfo->bmiColors )[ 1 ] = GSYS.SoftRender.MainBufferMemImg.Base->ColorDataP->GreenMask ;
( ( DWORD * )&pBmpInfo->bmiColors )[ 2 ] = GSYS.SoftRender.MainBufferMemImg.Base->ColorDataP->BlueMask ;
Dc = GetDC( Window );
if( Dc )
{
StretchDIBits(
Dc,
WindowClientRect.left, WindowClientRect.top,
WindowClientRect.right - WindowClientRect.left,
WindowClientRect.bottom - WindowClientRect.top,
BackScreenRect.left, GSYS.Screen.MainScreenSizeY - BackScreenRect.bottom,
BackScreenRect.right - BackScreenRect.left,
BackScreenRect.bottom - BackScreenRect.top,
( BYTE * )GSYS.SoftRender.MainBufferMemImg.UseImage, pBmpInfo, DIB_RGB_COLORS, SRCCOPY );
ReleaseDC( Window, Dc );
}
}
// 終了
return 0 ;
}
// ScreenFlip で画像を転送する先のウインドウを設定する( NULL を指定すると設定解除 )
extern int Graphics_SetScreenFlipTargetWindow_PF( HWND TargetWindow )
{
GRAWIN.Setting.ScreenFlipTargetWindow = TargetWindow ;
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetScreenFlipTargetWindow_PF( TargetWindow ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetScreenFlipTargetWindow_PF( TargetWindow ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// メイン画面のZバッファの設定を変更する
extern int Graphics_Hardware_SetZBufferMode_PF( int ZBufferSizeX, int ZBufferSizeY, int ZBufferBitDepth )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetZBufferMode_PF( ZBufferSizeX, ZBufferSizeY, ZBufferBitDepth ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetZBufferMode_PF( ZBufferSizeX, ZBufferSizeY, ZBufferBitDepth ) ;
#endif // DX_NON_DIRECT3D9
default :
#ifndef DX_NON_DIRECT3D11
Graphics_Hardware_D3D11_SetZBufferMode_PF( ZBufferSizeX, ZBufferSizeY, ZBufferBitDepth ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
Graphics_Hardware_D3D9_SetZBufferMode_PF( ZBufferSizeX, ZBufferSizeY, ZBufferBitDepth ) ;
#endif // DX_NON_DIRECT3D9
return 0 ;
}
}
// 描画先Zバッファのセット
extern int Graphics_Hardware_SetDrawZBuffer_PF( int DrawScreen, IMAGEDATA *Image )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetDrawZBuffer_PF( DrawScreen, Image ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetDrawZBuffer_PF( DrawScreen, Image ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 現在の画面のリフレッシュレートを取得する
extern int Graphics_GetRefreshRate_PF( void )
{
int RefreshRate = -1 ;
// リフレッシュレートの取得
// if( WinData.WindowsVersion >= DX_WINDOWSVERSION_NT31 )
{
HDC hdc ;
hdc = GetDC( NS_GetMainWindowHandle() ) ;
if( hdc )
{
RefreshRate = GetDeviceCaps( hdc, VREFRESH ) ;
ReleaseDC( NS_GetMainWindowHandle(), hdc ) ;
if( RefreshRate < 20 ) RefreshRate = -1 ;
}
}
return RefreshRate ;
}
// 環境依存情報取得関係
// GetColor や GetColor2 で使用するカラーデータを取得する
extern const COLORDATA * Graphics_Hardware_GetMainColorData_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_GetMainColorData_PF( ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_GetMainColorData_PF( ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ディスプレーのカラーデータポインタを得る
extern const COLORDATA * Graphics_Hardware_GetDispColorData_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_GetDispColorData_PF( ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_GetDispColorData_PF( ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 指定座標の色を取得する
extern DWORD Graphics_Hardware_GetPixel_PF( int x, int y )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_GetPixel_PF( x, y ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_GetPixel_PF( x, y ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 環境依存画像関係
// YUVサーフェスを使った Theora 動画の内容をグラフィックスハンドルのテクスチャに転送する
extern int Graphics_Hardware_UpdateGraphMovie_TheoraYUV_PF( MOVIEGRAPH *Movie, IMAGEDATA *Image )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_UpdateGraphMovie_TheoraYUV_PF( Movie, Image ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_UpdateGraphMovie_TheoraYUV_PF( Movie, Image ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// グラフィックメモリ領域のロック
extern int Graphics_Hardware_GraphLock_PF( IMAGEDATA *Image, COLORDATA **ColorDataP, int WriteOnly )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_GraphLock_PF( Image, ColorDataP, WriteOnly ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_GraphLock_PF( Image, ColorDataP, WriteOnly ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// グラフィックメモリ領域のロック解除
extern int Graphics_Hardware_GraphUnlock_PF( IMAGEDATA *Image )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_GraphUnlock_PF( Image ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_GraphUnlock_PF( Image ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// グラフィックのZバッファの状態を別のグラフィックのZバッファにコピーする( DestGrHandle も SrcGrHandle もZバッファを持っている描画可能画像で、且つアンチエイリアス画像ではないことが条件 )
extern int Graphics_Hardware_CopyGraphZBufferImage_PF( IMAGEDATA *DestImage, IMAGEDATA *SrcImage )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_CopyGraphZBufferImage_PF( DestImage, SrcImage ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_CopyGraphZBufferImage_PF( DestImage, SrcImage ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 画像データの初期化
extern int Graphics_Hardware_InitGraph_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_InitGraph_PF( ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_InitGraph_PF( ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// グラフィックを特定の色で塗りつぶす
extern int Graphics_Hardware_FillGraph_PF( IMAGEDATA *Image, int Red, int Green, int Blue, int Alpha, int ASyncThread )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_FillGraph_PF( Image, Red, Green, Blue, Alpha, ASyncThread ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_FillGraph_PF( Image, Red, Green, Blue, Alpha, ASyncThread ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 描画可能画像やバックバッファから指定領域のグラフィックを取得する
extern int Graphics_Hardware_GetDrawScreenGraphBase_PF( IMAGEDATA *Image, IMAGEDATA *TargetImage, int TargetScreen, int TargetScreenSurface, int TargetScreenWidth, int TargetScreenHeight, int x1, int y1, int x2, int y2, int destX, int destY )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_GetDrawScreenGraphBase_PF( Image, TargetImage, TargetScreen, TargetScreenSurface, TargetScreenWidth, TargetScreenHeight, x1, y1, x2, y2, destX, destY ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_GetDrawScreenGraphBase_PF( Image, TargetImage, TargetScreen, TargetScreenSurface, TargetScreenWidth, TargetScreenHeight, x1, y1, x2, y2, destX, destY ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// Graphics_Image_BltBmpOrBaseImageToGraph3 の機種依存部分用関数
extern int Graphics_Hardware_BltBmpOrBaseImageToGraph3_PF(
const RECT *SrcRect,
int DestX,
int DestY,
int GrHandle,
const BASEIMAGE *RgbBaseImage,
const BASEIMAGE *AlphaBaseImage,
int RedIsAlphaFlag,
int UseTransColorConvAlpha,
int TargetOrig,
int ASyncThread
)
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_BltBmpOrBaseImageToGraph3_PF(
SrcRect,
DestX,
DestY,
GrHandle,
RgbBaseImage,
AlphaBaseImage,
RedIsAlphaFlag,
UseTransColorConvAlpha,
TargetOrig,
ASyncThread
);
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_BltBmpOrBaseImageToGraph3_PF(
SrcRect,
DestX,
DestY,
GrHandle,
RgbBaseImage,
AlphaBaseImage,
RedIsAlphaFlag,
UseTransColorConvAlpha,
TargetOrig,
ASyncThread
);
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 基本イメージのフォーマットを DX_BASEIMAGE_FORMAT_NORMAL に変換する必要があるかどうかをチェックする
// ( RequiredRgbBaseImageConvFlag と RequiredAlphaBaseImageConvFlag に入る値 TRUE:変換する必要がある FALSE:変換する必要は無い )
extern int Graphics_CheckRequiredNormalImageConv_BaseImageFormat_PF(
IMAGEDATA_ORIG *Orig,
int RgbBaseImageFormat,
int *RequiredRgbBaseImageConvFlag,
int AlphaBaseImageFormat,
int *RequiredAlphaBaseImageConvFlag
)
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_CheckRequiredNormalImageConv_BaseImageFormat_PF(
Orig,
RgbBaseImageFormat,
RequiredRgbBaseImageConvFlag,
AlphaBaseImageFormat,
RequiredAlphaBaseImageConvFlag
) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_CheckRequiredNormalImageConv_BaseImageFormat_PF(
Orig,
RgbBaseImageFormat,
RequiredRgbBaseImageConvFlag,
AlphaBaseImageFormat,
RequiredAlphaBaseImageConvFlag
) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// オリジナル画像情報中のテクスチャを作成する( 0:成功 -1:失敗 )
extern int Graphics_Hardware_CreateOrigTexture_PF( IMAGEDATA_ORIG *Orig, int ASyncThread )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_CreateOrigTexture_PF( Orig, ASyncThread ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_CreateOrigTexture_PF( Orig, ASyncThread ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// オリジナル画像情報中のテクスチャを解放する
extern int Graphics_Hardware_ReleaseOrigTexture_PF( IMAGEDATA_ORIG *Orig )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ReleaseOrigTexture_PF( Orig ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ReleaseOrigTexture_PF( Orig ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 指定のマルチサンプル数で使用できる最大クオリティ値を取得する
extern int Graphics_Hardware_GetMultiSampleQuality_PF( int Samples )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_GetMultiSampleQuality_PF( Samples ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_GetMultiSampleQuality_PF( Samples ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 作成するグラフィックハンドルで使用する環境依存のテクスチャフォーマットを指定する
extern int Graphics_Hardware_SetUsePlatformTextureFormat_PF( int PlatformTextureFormat )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_SetUsePlatformTextureFormat_PF( PlatformTextureFormat ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_SetUsePlatformTextureFormat_PF( PlatformTextureFormat ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 環境依存頂点バッファ・インデックスバッファ関係
// 頂点バッファハンドルの頂点バッファを作成する
extern int Graphics_Hardware_VertexBuffer_Create_PF( VERTEXBUFFERHANDLEDATA *VertexBuffer )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_VertexBuffer_Create_PF( VertexBuffer ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_VertexBuffer_Create_PF( VertexBuffer ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 頂点バッファハンドルの後始末
extern int Graphics_Hardware_VertexBuffer_Terminate_PF( VERTEXBUFFERHANDLEDATA *VertexBuffer )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_VertexBuffer_Terminate_PF( VertexBuffer ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_VertexBuffer_Terminate_PF( VertexBuffer ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 頂点バッファに頂点データを転送する
extern int Graphics_Hardware_VertexBuffer_SetData_PF( VERTEXBUFFERHANDLEDATA *VertexBuffer, int SetIndex, const void *VertexData, int VertexNum )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_VertexBuffer_SetData_PF( VertexBuffer, SetIndex, VertexData, VertexNum ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_VertexBuffer_SetData_PF( VertexBuffer, SetIndex, VertexData, VertexNum ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// インデックスバッファハンドルのセットアップを行う
extern int Graphics_Hardware_IndexBuffer_Create_PF( INDEXBUFFERHANDLEDATA *IndexBuffer )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_IndexBuffer_Create_PF( IndexBuffer ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_IndexBuffer_Create_PF( IndexBuffer ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// インデックスバッファハンドルの後始末
extern int Graphics_Hardware_IndexBuffer_Terminate_PF( INDEXBUFFERHANDLEDATA *IndexBuffer )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_IndexBuffer_Terminate_PF( IndexBuffer ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_IndexBuffer_Terminate_PF( IndexBuffer ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// インデックスバッファにインデックスデータを転送する
extern int Graphics_Hardware_IndexBuffer_SetData_PF( INDEXBUFFERHANDLEDATA *IndexBuffer, int SetIndex, const void *IndexData, int IndexNum )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_IndexBuffer_SetData_PF( IndexBuffer, SetIndex, IndexData, IndexNum ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_IndexBuffer_SetData_PF( IndexBuffer, SetIndex, IndexData, IndexNum ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 環境依存ライト関係
// ライティングを行うかどうかを設定する
extern int Graphics_Hardware_Light_SetUse_PF( int Flag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Light_SetUse_PF( Flag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Light_SetUse_PF( Flag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// グローバルアンビエントライトカラーを設定する
extern int Graphics_Hardware_Light_GlobalAmbient_PF( COLOR_F *Color )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Light_GlobalAmbient_PF( Color ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Light_GlobalAmbient_PF( Color ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ライトパラメータをセット
extern int Graphics_Hardware_Light_SetState_PF( int LightNumber, LIGHTPARAM *LightParam )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Light_SetState_PF( LightNumber, LightParam ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Light_SetState_PF( LightNumber, LightParam ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ライトの有効、無効を変更
extern int Graphics_Hardware_Light_SetEnable_PF( int LightNumber, int EnableState )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Light_SetEnable_PF( LightNumber, EnableState ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Light_SetEnable_PF( LightNumber, EnableState ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 環境依存シャドウマップ関係
// シャドウマップデータに必要なテクスチャを作成する
extern int Graphics_Hardware_ShadowMap_CreateTexture_PF( SHADOWMAPDATA *ShadowMap, int ASyncThread )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ShadowMap_CreateTexture_PF( ShadowMap, ASyncThread ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ShadowMap_CreateTexture_PF( ShadowMap, ASyncThread ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// シャドウマップデータに必要なテクスチャを解放する
extern int Graphics_Hardware_ShadowMap_ReleaseTexture_PF( SHADOWMAPDATA *ShadowMap )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ShadowMap_ReleaseTexture_PF( ShadowMap ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ShadowMap_ReleaseTexture_PF( ShadowMap ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 頂点シェーダーに設定するシャドウマップの情報を更新する
extern void Graphics_Hardware_ShadowMap_RefreshVSParam_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
Graphics_Hardware_D3D11_ShadowMap_RefreshVSParam_PF( ) ;
break ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
Graphics_Hardware_D3D9_ShadowMap_RefreshVSParam_PF( ) ;
break ;
#endif // DX_NON_DIRECT3D9
default :
break ;
}
}
// ピクセルシェーダーに設定するシャドウマップの情報を更新する
extern void Graphics_Hardware_ShadowMap_RefreshPSParam_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
Graphics_Hardware_D3D11_ShadowMap_RefreshPSParam_PF( ) ;
break ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
Graphics_Hardware_D3D9_ShadowMap_RefreshPSParam_PF( ) ;
break ;
#endif // DX_NON_DIRECT3D9
default :
break ;
}
}
// シャドウマップへの描画の準備を行う
extern int Graphics_Hardware_ShadowMap_DrawSetup_PF( SHADOWMAPDATA *ShadowMap )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ShadowMap_DrawSetup_PF( ShadowMap ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ShadowMap_DrawSetup_PF( ShadowMap ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// シャドウマップへの描画を終了する
extern int Graphics_Hardware_ShadowMap_DrawEnd_PF( SHADOWMAPDATA *ShadowMap )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ShadowMap_DrawEnd_PF( ShadowMap ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ShadowMap_DrawEnd_PF( ShadowMap ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 描画で使用するシャドウマップを指定する( スロットは0か1かを指定可能 )
extern int Graphics_Hardware_ShadowMap_SetUse_PF( int SlotIndex, SHADOWMAPDATA *ShadowMap )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ShadowMap_SetUse_PF( SlotIndex, ShadowMap ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ShadowMap_SetUse_PF( SlotIndex, ShadowMap ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 環境依存シェーダー関係
// シェーダーハンドルを初期化する
extern int Graphics_Hardware_Shader_Create_PF( int ShaderHandle, int IsVertexShader, void *Image, int ImageSize, int ImageAfterFree, int ASyncThread )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Shader_Create_PF( ShaderHandle, IsVertexShader, Image, ImageSize, ImageAfterFree, ASyncThread ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Shader_Create_PF( ShaderHandle, IsVertexShader, Image, ImageSize, ImageAfterFree, ASyncThread ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// シェーダーハンドルの後始末
extern int Graphics_Hardware_Shader_TerminateHandle_PF( SHADERHANDLEDATA *Shader )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Shader_TerminateHandle_PF( Shader ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Shader_TerminateHandle_PF( Shader ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 使用できるシェーダーのバージョンを取得する( 0=使えない 200=シェーダーモデル2.0が使用可能 300=シェーダーモデル3.0が使用可能 )
extern int Graphics_Hardware_Shader_GetValidShaderVersion_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Shader_GetValidShaderVersion_PF() ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Shader_GetValidShaderVersion_PF() ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 指定の名前を持つ定数が使用するシェーダー定数の番号を取得する
extern int Graphics_Hardware_Shader_GetConstIndex_PF( const wchar_t *ConstantName, SHADERHANDLEDATA *Shader )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Shader_GetConstIndex_PF( ConstantName, Shader ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Shader_GetConstIndex_PF( ConstantName, Shader ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 指定の名前を持つ定数が使用するシェーダー定数の数を取得する
extern int Graphics_Hardware_Shader_GetConstCount_PF( const wchar_t *ConstantName, SHADERHANDLEDATA *Shader )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Shader_GetConstCount_PF( ConstantName, Shader ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Shader_GetConstCount_PF( ConstantName, Shader ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 指定の名前を持つ浮動小数点定数のデフォルトパラメータが格納されているメモリアドレスを取得する
extern const FLOAT4 *Graphics_Hardware_Shader_GetConstDefaultParamF_PF( const wchar_t *ConstantName, SHADERHANDLEDATA *Shader )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Shader_GetConstDefaultParamF_PF( ConstantName, Shader ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Shader_GetConstDefaultParamF_PF( ConstantName, Shader ) ;
#endif // DX_NON_DIRECT3D9
default :
return NULL ;
}
}
// シェーダー定数情報を設定する
extern int Graphics_Hardware_Shader_SetConst_PF( int TypeIndex, int SetIndex, int ConstantIndex, const void *Param, int ParamNum, int UpdateUseArea )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Shader_SetConst_PF( TypeIndex, SetIndex, ConstantIndex, Param, ParamNum, UpdateUseArea ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Shader_SetConst_PF( TypeIndex, SetIndex, ConstantIndex, Param, ParamNum, UpdateUseArea ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 指定領域のシェーダー定数情報をリセットする
extern int Graphics_Hardware_Shader_ResetConst_PF( int TypeIndex, int SetIndex, int ConstantIndex, int ParamNum )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Shader_ResetConst_PF( TypeIndex, SetIndex, ConstantIndex, ParamNum ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Shader_ResetConst_PF( TypeIndex, SetIndex, ConstantIndex, ParamNum ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
#ifndef DX_NON_MODEL
// 3Dモデル用のシェーダーコードの初期化を行う
extern int Graphics_Hardware_Shader_ModelCode_Init_PF( void )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Shader_ModelCode_Init_PF() ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Shader_ModelCode_Init_PF() ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
#endif // DX_NON_MODEL
// 環境依存シェーダー用定数バッファ関係
// シェーダー用定数バッファハンドルを初期化する
extern int Graphics_Hardware_ShaderConstantBuffer_Create_PF( int ShaderConstantBufferHandle, int BufferSize, int ASyncThread )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ShaderConstantBuffer_Create_PF( ShaderConstantBufferHandle, BufferSize, ASyncThread ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ShaderConstantBuffer_Create_PF( ShaderConstantBufferHandle, BufferSize, ASyncThread ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// シェーダー用定数バッファハンドルの後始末
extern int Graphics_Hardware_ShaderConstantBuffer_TerminateHandle_PF( SHADERCONSTANTBUFFERHANDLEDATA *ShaderConstantBuffer )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ShaderConstantBuffer_TerminateHandle_PF( ShaderConstantBuffer ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ShaderConstantBuffer_TerminateHandle_PF( ShaderConstantBuffer ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// シェーダー用定数バッファハンドルの定数バッファのアドレスを取得する
extern void *Graphics_Hardware_ShaderConstantBuffer_GetBuffer_PF( SHADERCONSTANTBUFFERHANDLEDATA *ShaderConstantBuffer )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ShaderConstantBuffer_GetBuffer_PF( ShaderConstantBuffer ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ShaderConstantBuffer_GetBuffer_PF( ShaderConstantBuffer ) ;
#endif // DX_NON_DIRECT3D9
default :
return NULL ;
}
}
// シェーダー用定数バッファハンドルの定数バッファへの変更を適用する
extern int Graphics_Hardware_ShaderConstantBuffer_Update_PF( SHADERCONSTANTBUFFERHANDLEDATA *ShaderConstantBuffer )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ShaderConstantBuffer_Update_PF( ShaderConstantBuffer ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ShaderConstantBuffer_Update_PF( ShaderConstantBuffer ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// シェーダー用定数バッファハンドルの定数バッファを指定のシェーダーの指定のスロットにセットする
extern int Graphics_Hardware_ShaderConstantBuffer_Set_PF( SHADERCONSTANTBUFFERHANDLEDATA *ShaderConstantBuffer, int TargetShader /* DX_SHADERTYPE_VERTEX など */, int Slot )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_ShaderConstantBuffer_Set_PF( ShaderConstantBuffer, TargetShader, Slot ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_ShaderConstantBuffer_Set_PF( ShaderConstantBuffer, TargetShader, Slot ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 環境依存描画関係
// 頂点バッファに溜まった頂点データをレンダリングする
extern int Graphics_Hardware_RenderVertex( int ASyncThread )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_RenderVertex( -1, ASyncThread ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_RenderVertex( ASyncThread ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawBillboard3D
extern int Graphics_Hardware_DrawBillboard3D_PF( VECTOR Pos, float cx, float cy, float Size, float Angle, IMAGEDATA *Image, IMAGEDATA *BlendImage, int TransFlag, int TurnFlag, int DrawFlag, RECT *DrawArea )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawBillboard3D( Pos, cx, cy, Size, Angle, Image, BlendImage, TransFlag, TurnFlag, DrawFlag, DrawArea ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawBillboard3D( Pos, cx, cy, Size, Angle, Image, BlendImage, TransFlag, TurnFlag, DrawFlag, DrawArea ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawModiBillboard3D
extern int Graphics_Hardware_DrawModiBillboard3D_PF( VECTOR Pos, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, IMAGEDATA *Image, IMAGEDATA *BlendImage, int TransFlag, int DrawFlag, RECT *DrawArea )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawModiBillboard3D( Pos, x1, y1, x2, y2, x3, y3, x4, y4, Image, BlendImage, TransFlag, DrawFlag, DrawArea ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawModiBillboard3D( Pos, x1, y1, x2, y2, x3, y3, x4, y4, Image, BlendImage, TransFlag, DrawFlag, DrawArea ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawGraph
extern int Graphics_Hardware_DrawGraph_PF( int x, int y, float xf, float yf, IMAGEDATA *Image, IMAGEDATA *BlendImage, int TransFlag, int IntFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawGraph( x, y, xf, yf, Image, BlendImage, TransFlag, IntFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawGraph( x, y, xf, yf, Image, BlendImage, TransFlag, IntFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawExtendGraph
extern int Graphics_Hardware_DrawExtendGraph_PF( int x1, int y1, int x2, int y2, float x1f, float y1f, float x2f, float y2f, IMAGEDATA *Image, IMAGEDATA *BlendImage, int TransFlag, int IntFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawExtendGraph( x1, y1, x2, y2, x1f, y1f, x2f, y2f, Image, BlendImage, TransFlag, IntFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawExtendGraph( x1, y1, x2, y2, x1f, y1f, x2f, y2f, Image, BlendImage, TransFlag, IntFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawRotaGraph
extern int Graphics_Hardware_DrawRotaGraph_PF( int x, int y, float xf, float yf, double ExRate, double Angle, IMAGEDATA *Image, IMAGEDATA *BlendImage, int TransFlag, int TurnFlag, int IntFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawRotaGraph( x, y, xf, yf, ExRate, Angle, Image, BlendImage, TransFlag, TurnFlag, IntFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawRotaGraph( x, y, xf, yf, ExRate, Angle, Image, BlendImage, TransFlag, TurnFlag, IntFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawRotaGraphFast
extern int Graphics_Hardware_DrawRotaGraphFast_PF( int x, int y, float xf, float yf, float ExRate, float Angle, IMAGEDATA *Image, IMAGEDATA *BlendImage, int TransFlag, int TurnFlag, int IntFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawRotaGraphFast( x, y, xf, yf, ExRate, Angle, Image, BlendImage, TransFlag, TurnFlag, IntFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawRotaGraphFast( x, y, xf, yf, ExRate, Angle, Image, BlendImage, TransFlag, TurnFlag, IntFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawModiGraph
extern int Graphics_Hardware_DrawModiGraph_PF( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, IMAGEDATA *Image, IMAGEDATA *BlendImage, int TransFlag, bool SimpleDrawFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawModiGraph( x1, y1, x2, y2, x3, y3, x4, y4, Image, BlendImage, TransFlag, SimpleDrawFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawModiGraph( x1, y1, x2, y2, x3, y3, x4, y4, Image, BlendImage, TransFlag, SimpleDrawFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawModiGraphF
extern int Graphics_Hardware_DrawModiGraphF_PF( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, IMAGEDATA *Image, IMAGEDATA *BlendImage, int TransFlag, bool SimpleDrawFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawModiGraphF( x1, y1, x2, y2, x3, y3, x4, y4, Image, BlendImage, TransFlag, SimpleDrawFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawModiGraphF( x1, y1, x2, y2, x3, y3, x4, y4, Image, BlendImage, TransFlag, SimpleDrawFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawSimpleQuadrangleGraphF
extern int Graphics_Hardware_DrawSimpleQuadrangleGraphF_PF( const GRAPHICS_DRAW_DRAWSIMPLEQUADRANGLEGRAPHF_PARAM *Param, IMAGEDATA *Image, IMAGEDATA *BlendImage )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawSimpleQuadrangleGraphF( Param, Image, BlendImage ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawSimpleQuadrangleGraphF( Param, Image, BlendImage ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawSimpleTriangleGraphF
extern int Graphics_Hardware_DrawSimpleTriangleGraphF_PF( const GRAPHICS_DRAW_DRAWSIMPLETRIANGLEGRAPHF_PARAM *Param, IMAGEDATA *Image, IMAGEDATA *BlendImage )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawSimpleTriangleGraphF( Param, Image, BlendImage ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawSimpleTriangleGraphF( Param, Image, BlendImage ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawFillBox
extern int Graphics_Hardware_DrawFillBox_PF( int x1, int y1, int x2, int y2, unsigned int Color )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawFillBox( x1, y1, x2, y2, Color ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawFillBox( x1, y1, x2, y2, Color ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawLineBox
extern int Graphics_Hardware_DrawLineBox_PF( int x1, int y1, int x2, int y2, unsigned int Color )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawLineBox( x1, y1, x2, y2, Color ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawLineBox( x1, y1, x2, y2, Color ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawLine
extern int Graphics_Hardware_DrawLine_PF( int x1, int y1, int x2, int y2, unsigned int Color )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawLine( x1, y1, x2, y2, Color ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawLine( x1, y1, x2, y2, Color ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawLine3D
extern int Graphics_Hardware_DrawLine3D_PF( VECTOR Pos1, VECTOR Pos2, unsigned int Color, int DrawFlag, RECT *DrawArea )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawLine3D( Pos1, Pos2, Color, DrawFlag, DrawArea ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawLine3D( Pos1, Pos2, Color, DrawFlag, DrawArea ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawCircle( 太さ指定あり )
extern int Graphics_Hardware_DrawCircle_Thickness_PF( int x, int y, int r, unsigned int Color, int Thickness )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawCircle_Thickness( x, y, r, Color, Thickness ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawCircle_Thickness( x, y, r, Color, Thickness ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawOval( 太さ指定あり )
extern int Graphics_Hardware_DrawOval_Thickness_PF( int x, int y, int rx, int ry, unsigned int Color, int Thickness )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawOval_Thickness( x, y, rx, ry, Color, Thickness ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawOval_Thickness( x, y, rx, ry, Color, Thickness ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawCircle
extern int Graphics_Hardware_DrawCircle_PF( int x, int y, int r, unsigned int Color, int FillFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawCircle( x, y, r, Color, FillFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawCircle( x, y, r, Color, FillFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawOval
extern int Graphics_Hardware_DrawOval_PF( int x, int y, int rx, int ry, unsigned int Color, int FillFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawOval( x, y, rx, ry, Color, FillFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawOval( x, y, rx, ry, Color, FillFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawTriangle
extern int Graphics_Hardware_DrawTriangle_PF( int x1, int y1, int x2, int y2, int x3, int y3, unsigned int Color, int FillFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawTriangle( x1, y1, x2, y2, x3, y3, Color, FillFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawTriangle( x1, y1, x2, y2, x3, y3, Color, FillFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawTriangle3D
extern int Graphics_Hardware_DrawTriangle3D_PF( VECTOR Pos1, VECTOR Pos2, VECTOR Pos3, unsigned int Color, int FillFlag, int DrawFlag, RECT *DrawArea )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawTriangle3D( Pos1, Pos2, Pos3, Color, FillFlag, DrawFlag, DrawArea ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawTriangle3D( Pos1, Pos2, Pos3, Color, FillFlag, DrawFlag, DrawArea ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawQuadrangle
extern int Graphics_Hardware_DrawQuadrangle_PF( int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, unsigned int Color, int FillFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawQuadrangle( x1, y1, x2, y2, x3, y3, x4, y4, Color, FillFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawQuadrangle( x1, y1, x2, y2, x3, y3, x4, y4, Color, FillFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawPixel
extern int Graphics_Hardware_DrawPixel_PF( int x, int y, unsigned int Color )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPixel( x, y, Color ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPixel( x, y, Color ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawPixel3D
extern int Graphics_Hardware_DrawPixel3D_PF( VECTOR Pos, unsigned int Color, int DrawFlag, RECT *DrawArea )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPixel3D( Pos, Color, DrawFlag, DrawArea ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPixel3D( Pos, Color, DrawFlag, DrawArea ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawPixelSet
extern int Graphics_Hardware_DrawPixelSet_PF( const POINTDATA *PointData, int Num )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPixelSet( PointData, Num ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPixelSet( PointData, Num ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// ハードウエアアクセラレータ使用版 DrawLineSet
extern int Graphics_Hardware_DrawLineSet_PF( const LINEDATA *LineData, int Num )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawLineSet( LineData, Num ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawLineSet( LineData, Num ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
extern int Graphics_Hardware_DrawPrimitive_PF( const VERTEX_3D *Vertex, int VertexNum, int PrimitiveType, IMAGEDATA *Image, int TransFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPrimitive( Vertex, VertexNum, PrimitiveType, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPrimitive( Vertex, VertexNum, PrimitiveType, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
extern int Graphics_Hardware_DrawIndexedPrimitive_PF( const VERTEX_3D *Vertex, int VertexNum, const WORD *Indices, int IndexNum, int PrimitiveType, IMAGEDATA *Image, int TransFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawIndexedPrimitive( Vertex, VertexNum, Indices, IndexNum, PrimitiveType, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawIndexedPrimitive( Vertex, VertexNum, Indices, IndexNum, PrimitiveType, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
extern int Graphics_Hardware_DrawPrimitiveLight_PF( const VERTEX3D *Vertex, int VertexNum, int PrimitiveType, IMAGEDATA *Image, int TransFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPrimitiveLight( Vertex, VertexNum, PrimitiveType, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPrimitiveLight( Vertex, VertexNum, PrimitiveType, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
extern int Graphics_Hardware_DrawIndexedPrimitiveLight_PF( const VERTEX3D *Vertex, int VertexNum, const WORD *Indices, int IndexNum, int PrimitiveType, IMAGEDATA *Image, int TransFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawIndexedPrimitiveLight( Vertex, VertexNum, Indices, IndexNum, PrimitiveType, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawIndexedPrimitiveLight( Vertex, VertexNum, Indices, IndexNum, PrimitiveType, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
extern int Graphics_Hardware_DrawPrimitiveLight_UseVertexBuffer_PF( VERTEXBUFFERHANDLEDATA *VertexBuffer, int PrimitiveType, int StartVertex, int UseVertexNum, IMAGEDATA *Image, int TransFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPrimitiveLight_UseVertexBuffer( VertexBuffer, PrimitiveType, StartVertex, UseVertexNum, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPrimitiveLight_UseVertexBuffer( VertexBuffer, PrimitiveType, StartVertex, UseVertexNum, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
extern int Graphics_Hardware_DrawIndexedPrimitiveLight_UseVertexBuffer_PF( VERTEXBUFFERHANDLEDATA *VertexBuffer, INDEXBUFFERHANDLEDATA *IndexBuffer, int PrimitiveType, int BaseVertex, int StartVertex, int UseVertexNum, int StartIndex, int UseIndexNum, IMAGEDATA *Image, int TransFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawIndexedPrimitiveLight_UseVertexBuffer( VertexBuffer, IndexBuffer, PrimitiveType, BaseVertex, StartVertex, UseVertexNum, StartIndex, UseIndexNum, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawIndexedPrimitiveLight_UseVertexBuffer( VertexBuffer, IndexBuffer, PrimitiveType, BaseVertex, StartVertex, UseVertexNum, StartIndex, UseIndexNum, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
extern int Graphics_Hardware_DrawPrimitive2D_PF( VERTEX_2D *Vertex, int VertexNum, int PrimitiveType, IMAGEDATA *Image, int TransFlag, int BillboardFlag, int Is3D, int TurnFlag, int TextureNo, int IsShadowMap )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPrimitive2D( Vertex, VertexNum, PrimitiveType, Image, TransFlag, BillboardFlag, Is3D, TurnFlag, TextureNo, IsShadowMap ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPrimitive2D( Vertex, VertexNum, PrimitiveType, Image, TransFlag, BillboardFlag, Is3D, TurnFlag, TextureNo, IsShadowMap ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
extern int Graphics_Hardware_DrawPrimitive2DUser_PF( const VERTEX2D *Vertex, int VertexNum, int PrimitiveType, IMAGEDATA *Image, int TransFlag, int Is3D, int TurnFlag, int TextureNo )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPrimitive2DUser( Vertex, VertexNum, PrimitiveType, Image, TransFlag, Is3D, TurnFlag, TextureNo ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPrimitive2DUser( Vertex, VertexNum, PrimitiveType, Image, TransFlag, Is3D, TurnFlag, TextureNo ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
extern int Graphics_Hardware_DrawIndexedPrimitive2DUser_PF( const VERTEX2D *Vertex, int VertexNum, const WORD *Indices, int IndexNum, int PrimitiveType, IMAGEDATA *Image, int TransFlag )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawIndexedPrimitive2DUser( Vertex, VertexNum, Indices, IndexNum, PrimitiveType, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawIndexedPrimitive2DUser( Vertex, VertexNum, Indices, IndexNum, PrimitiveType, Image, TransFlag ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// シェーダーを使って2Dプリミティブを描画する
extern int Graphics_Hardware_DrawPrimitive2DToShader_PF( const VERTEX2DSHADER *Vertex, int VertexNum, int PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */ )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPrimitive2DToShader( Vertex, VertexNum, PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */ ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPrimitive2DToShader( Vertex, VertexNum, PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */ ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// シェーダーを使って3Dプリミティブを描画する
extern int Graphics_Hardware_DrawPrimitive3DToShader_PF( const VERTEX3DSHADER *Vertex, int VertexNum, int PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */ )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPrimitive3DToShader( Vertex, VertexNum, PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */ ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPrimitive3DToShader( Vertex, VertexNum, PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */ ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// シェーダーを使って2Dプリミティブを描画する( 頂点インデックスを使用する )
extern int Graphics_Hardware_DrawPrimitiveIndexed2DToShader_PF( const VERTEX2DSHADER *Vertex, int VertexNum, const unsigned short *Indices, int IndexNum, int PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */ )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPrimitiveIndexed2DToShader( Vertex, VertexNum, Indices, IndexNum, PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */ ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPrimitiveIndexed2DToShader( Vertex, VertexNum, Indices, IndexNum, PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */ ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// シェーダーを使って3Dプリミティブを描画する( 頂点インデックスを使用する )
extern int Graphics_Hardware_DrawPrimitiveIndexed3DToShader_PF( const VERTEX3DSHADER *Vertex, int VertexNum, const unsigned short *Indices, int IndexNum, int PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */ )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPrimitiveIndexed3DToShader( Vertex, VertexNum, Indices, IndexNum, PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */ ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPrimitiveIndexed3DToShader( Vertex, VertexNum, Indices, IndexNum, PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */ ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// シェーダーを使って3Dプリミティブを描画する( 頂点バッファ使用版 )
extern int Graphics_Hardware_DrawPrimitive3DToShader_UseVertexBuffer2_PF( int VertexBufHandle, int PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */, int StartVertex, int UseVertexNum )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPrimitive3DToShader_UseVertexBuffer2( VertexBufHandle, PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */, StartVertex, UseVertexNum ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPrimitive3DToShader_UseVertexBuffer2( VertexBufHandle, PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */, StartVertex, UseVertexNum ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// シェーダーを使って3Dプリミティブを描画する( 頂点バッファとインデックスバッファ使用版 )
extern int Graphics_Hardware_DrawPrimitiveIndexed3DToShader_UseVertexBuffer2_PF( int VertexBufHandle, int IndexBufHandle, int PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */, int BaseVertex, int StartVertex, int UseVertexNum, int StartIndex, int UseIndexNum )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_D3D11_DrawPrimitiveIndexed3DToShader_UseVertexBuffer2( VertexBufHandle, IndexBufHandle, PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */, BaseVertex, StartVertex, UseVertexNum, StartIndex, UseIndexNum ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_D3D9_DrawPrimitiveIndexed3DToShader_UseVertexBuffer2( VertexBufHandle, IndexBufHandle, PrimitiveType /* DX_PRIMTYPE_TRIANGLELIST 等 */, BaseVertex, StartVertex, UseVertexNum, StartIndex, UseIndexNum ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
// 指定点から境界色があるところまで塗りつぶす
extern int Graphics_Hardware_Paint_PF( int x, int y, unsigned int FillColor, ULONGLONG BoundaryColor )
{
switch( GRAWIN.Setting.UseGraphicsAPI )
{
#ifndef DX_NON_DIRECT3D11
case GRAPHICS_API_DIRECT3D11_WIN32 :
return Graphics_Hardware_D3D11_Paint_PF( x, y, FillColor, BoundaryColor ) ;
#endif // DX_NON_DIRECT3D11
#ifndef DX_NON_DIRECT3D9
case GRAPHICS_API_DIRECT3D9_WIN32 :
return Graphics_Hardware_D3D9_Paint_PF( x, y, FillColor, BoundaryColor ) ;
#endif // DX_NON_DIRECT3D9
default :
return 0 ;
}
}
#ifndef DX_NON_NAMESPACE
}
#endif // DX_NON_NAMESPACE
#endif // DX_NON_GRAPHICS
| [
"yume-wikijp@live.jp"
] | yume-wikijp@live.jp |
c185227a31b69af66330565faa30a78744ae18d7 | c79ac2abb6b3720b4ef71a93e570cde91ef1a152 | /test/unit/test_system.cc | 6a41e69f75e0efb9fb4522ec3b44b5d3c886a41a | [] | no_license | harperic/hoomd-blue | 810590b817875ef6787b87c5d1896a7bc1fb0d29 | bb901438c1249aa2de1e32a293818efeb23e8c86 | refs/heads/master | 2020-04-14T19:46:53.787982 | 2013-08-26T19:34:47 | 2013-08-26T19:34:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,490 | cc | /*
Highly Optimized Object-oriented Many-particle Dynamics -- Blue Edition
(HOOMD-blue) Open Source Software License Copyright 2008-2011 Ames Laboratory
Iowa State University and The Regents of the University of Michigan All rights
reserved.
HOOMD-blue may contain modifications ("Contributions") provided, and to which
copyright is held, by various Contributors who have granted The Regents of the
University of Michigan the right to modify and/or distribute such Contributions.
You may redistribute, use, and create derivate works of HOOMD-blue, in source
and binary forms, provided you abide by the following conditions:
* Redistributions of source code must retain the above copyright notice, this
list of conditions, and the following disclaimer both in the code and
prominently in any materials provided with the distribution.
* 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.
* All publications and presentations based on HOOMD-blue, including any reports
or published results obtained, in whole or in part, with HOOMD-blue, will
acknowledge its use according to the terms posted at the time of submission on:
http://codeblue.umich.edu/hoomd-blue/citations.html
* Any electronic documents citing HOOMD-Blue will link to the HOOMD-Blue website:
http://codeblue.umich.edu/hoomd-blue/
* Apart from the above required attributions, neither the name of the copyright
holder nor the names of HOOMD-blue's contributors may be used to endorse or
promote products derived from this software without specific prior written
permission.
Disclaimer
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND/OR ANY
WARRANTIES THAT THIS SOFTWARE IS FREE OF INFRINGEMENT 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.
*/
#ifdef WIN32
#pragma warning( push )
#pragma warning( disable : 4103 4244 )
#endif
#include <iostream>
//! Name the unit test module
#define BOOST_TEST_MODULE SystemClassTest
#include "boost_utf_configure.h"
#include <math.h>
#include "System.h"
#include <stdexcept>
#include <string>
#include <iostream>
using namespace boost::python;
/*! \file system_test.cc
\brief Unit tests for System
\ingroup unit_tests
*/
using namespace std;
// we are going to need a dummy compute, a dummy analyzer and a dummy updater in order to test the system
//! Dummy analyzer for unit testing System
class DummyAnalyzer : public Analyzer
{
public:
//! Constructs a named analyzer
DummyAnalyzer(boost::shared_ptr<SystemDefinition> sysdef, const string& name)
: Analyzer(sysdef), m_name(name)
{
}
//! Just prints our name and the current time step
void analyze(unsigned int timestep)
{
if (m_prof)
m_prof->push(m_name);
cout << m_name << ": " << timestep << endl;
Sleep(5);
if (m_prof)
m_prof->pop();
}
private:
string m_name; //!< Name of the dummy
};
//! Dummy updater for unit testing System
class DummyUpdater : public Integrator
{
// this derives from Integrator so the unit tests can use them in setIntegrator
public:
//! Constructs a named analyzer
DummyUpdater(boost::shared_ptr<SystemDefinition> sysdef, const string& name)
: Integrator(sysdef, 0.0), m_name(name)
{
}
//! Just prints our name and the current time step
void update(unsigned int timestep)
{
if (m_prof)
m_prof->push(m_name);
cout << m_name << ": " << timestep << endl;
Sleep(8);
if (m_prof)
m_prof->pop();
}
private:
string m_name; //!< Name of the dummy
};
//! Dummy updater for unit testing System
class DummyCompute : public Compute
{
public:
//! Constructs a named analyzer
DummyCompute(boost::shared_ptr<SystemDefinition> sysdef, const string& name)
: Compute(sysdef), m_name(name)
{
}
//! Just prints our name and the current time step
void compute(unsigned int timestep)
{
if (m_prof)
m_prof->push(m_name);
cout << m_name << ": " << timestep << endl;
Sleep(8);
if (m_prof)
m_prof->pop();
}
private:
string m_name; //!< Name of the dummy
};
//! Tests the add, get, and set routines in System
BOOST_AUTO_TEST_CASE( getter_setter_tests )
{
boost::shared_ptr< SystemDefinition > sysdef(new SystemDefinition(10, BoxDim(10)));
cout << "Running getter_setter_tests, expect error messages to be printed to the screen as this tests error checking in System" << endl;
// create two analyzers to test adding
boost::shared_ptr< Analyzer > analyzer1(new DummyAnalyzer(sysdef, "analyzer1"));
boost::shared_ptr< Analyzer > analyzer2(new DummyAnalyzer(sysdef, "analyzer2"));
// add them both to a System
System sys(sysdef, 0);
sys.addAnalyzer(analyzer1, "analyzer1", 10);
sys.addAnalyzer(analyzer2, "analyzer2", 105);
// test adding another of the same name
bool except = false;
try
{
sys.addAnalyzer(analyzer2, "analyzer1", 1);
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
// check the get method
BOOST_CHECK_EQUAL(sys.getAnalyzer("analyzer1"), analyzer1);
BOOST_CHECK_EQUAL(sys.getAnalyzer("analyzer2"), analyzer2);
except = false;
try
{
sys.getAnalyzer("analyzer3");
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
// test the get and set period functions
BOOST_CHECK_EQUAL(sys.getAnalyzerPeriod("analyzer2"), (unsigned int)105);
BOOST_CHECK_EQUAL(sys.getAnalyzerPeriod("analyzer1"), (unsigned int)10);
except = false;
try
{
sys.getAnalyzerPeriod("analyzer3");
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
sys.setAnalyzerPeriod("analyzer1", 15);
sys.setAnalyzerPeriod("analyzer2", 8);
BOOST_CHECK_EQUAL(sys.getAnalyzerPeriod("analyzer2"), (unsigned int)8);
BOOST_CHECK_EQUAL(sys.getAnalyzerPeriod("analyzer1"), (unsigned int)15);
// remove the analyzers 1 by one and make sure they don't exist
sys.removeAnalyzer("analyzer1");
BOOST_CHECK_EQUAL(sys.getAnalyzer("analyzer2"), analyzer2);
except = false;
try
{
sys.getAnalyzer("analyzer1");
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
sys.removeAnalyzer("analyzer2");
except = false;
try
{
sys.getAnalyzer("analyzer2");
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
// ************ Updaters
// create two updaters to test adding
boost::shared_ptr< Updater > updater1(new DummyUpdater(sysdef, "updater1"));
boost::shared_ptr< Updater > updater2(new DummyUpdater(sysdef, "updater2"));
// add them both to a System
sys.addUpdater(updater1, "updater1", 10);
sys.addUpdater(updater2, "updater2", 105);
// test adding another of the same name
except = false;
try
{
sys.addUpdater(updater2, "updater1", 1);
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
// check the get method
BOOST_CHECK_EQUAL(sys.getUpdater("updater1"), updater1);
BOOST_CHECK_EQUAL(sys.getUpdater("updater2"), updater2);
except = false;
try
{
sys.getUpdater("updater3");
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
// test the get and set period functions
BOOST_CHECK_EQUAL(sys.getUpdaterPeriod("updater2"), (unsigned int)105);
BOOST_CHECK_EQUAL(sys.getUpdaterPeriod("updater1"), (unsigned int)10);
except = false;
try
{
sys.getUpdaterPeriod("updater3");
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
sys.setUpdaterPeriod("updater1", 15);
sys.setUpdaterPeriod("updater2", 8);
BOOST_CHECK_EQUAL(sys.getUpdaterPeriod("updater2"), (unsigned int)8);
BOOST_CHECK_EQUAL(sys.getUpdaterPeriod("updater1"), (unsigned int)15);
// remove the updaters 1 by one and make sure they don't exist
sys.removeUpdater("updater1");
BOOST_CHECK_EQUAL(sys.getUpdater("updater2"), updater2);
except = false;
try
{
sys.getUpdater("updater1");
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
sys.removeUpdater("updater2");
except = false;
try
{
sys.getUpdater("updater2");
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
// ********* Computes
// create two updaters to test adding
boost::shared_ptr< Compute > compute1(new DummyCompute(sysdef, "compute1"));
boost::shared_ptr< Compute > compute2(new DummyCompute(sysdef, "compute2"));
// add them both to a System
sys.addCompute(compute1, "compute1");
sys.addCompute(compute2, "compute2");
// test adding another of the same name
except = false;
try
{
sys.addCompute(compute2, "compute1");
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
// check the get method
BOOST_CHECK_EQUAL(sys.getCompute("compute1"), compute1);
BOOST_CHECK_EQUAL(sys.getCompute("compute2"), compute2);
except = false;
try
{
sys.getCompute("compute3");
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
// remove the computes 1 by one and make sure they don't exist
sys.removeCompute("compute1");
BOOST_CHECK_EQUAL(sys.getCompute("compute2"), compute2);
except = false;
try
{
sys.getCompute("compute1");
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
sys.removeCompute("compute2");
except = false;
try
{
sys.getCompute("compute2");
}
catch (runtime_error)
{
except = true;
}
BOOST_CHECK(except);
// ************ Integrator
boost::shared_ptr< Integrator > integrator1(new DummyUpdater(sysdef, "integrator1"));
boost::shared_ptr< Integrator > integrator2(new DummyUpdater(sysdef, "integrator2"));
sys.setIntegrator(integrator1);
BOOST_CHECK_EQUAL(sys.getIntegrator(), integrator1);
sys.setIntegrator(integrator2);
BOOST_CHECK_EQUAL(sys.getIntegrator(), integrator2);
}
// since there is no automatic verification, there is no reason to run this test all the time
// this test can be uncommented only when it needs to be checked by a person
//! Tests System::run(), System::enableProfiler(), and System::setStatsPeriod()
/*! Unfortunately, there is no way to automatically test these. A human will have to
observe the output and verify that it is correct
*/
/*BOOST_AUTO_TEST_CASE( run_tests )
{
Py_Initialize();
#ifdef ENABLE_CUDA
g_gpu_error_checking = true;
#endif
// setup the system to run
boost::shared_ptr< SystemDefinition > sysdef(new SystemDefinition(10, BoxDim(10)));
// create two analyzers to test adding
boost::shared_ptr< Analyzer > analyzer1(new DummyAnalyzer(sysdef, "analyzer1"));
boost::shared_ptr< Analyzer > analyzer2(new DummyAnalyzer(sysdef, "analyzer2"));
boost::shared_ptr< Analyzer > analyzer3(new DummyAnalyzer(pdata, "analyzer3"));
// add them both to a System
System sys(sysdef, 0);
sys.addAnalyzer(analyzer1, "analyzer1", 15);
sys.addAnalyzer(analyzer2, "analyzer2", 20);
sys.addAnalyzer(analyzer3, "analyzer3", 1);
sys.setAnalyzerPeriodVariable("analyzer3", eval("lambda n: n**2"));
// create two updaters to test adding
boost::shared_ptr< Updater > updater1(new DummyUpdater(sysdef, "updater1"));
boost::shared_ptr< Updater > updater2(new DummyUpdater(sysdef, "updater2"));
boost::shared_ptr< Updater > updater3(new DummyUpdater(pdata, "updater3"));
// add them both to a System
sys.addUpdater(updater1, "updater1", 5);
sys.addUpdater(updater2, "updater2", 10);
sys.addUpdater(updater3, "updater3", 20);
sys.setUpdaterPeriodVariable("updater3", eval("lambda n: 0.5 * 10**n"));
// create two updaters to test adding
boost::shared_ptr< Compute > compute1(new DummyCompute(sysdef, "compute1"));
boost::shared_ptr< Compute > compute2(new DummyCompute(sysdef, "compute2"));
// add them both to a System
sys.addCompute(compute1, "compute1");
sys.addCompute(compute2, "compute2");
// create an integrator and add it to the system
boost::shared_ptr< Integrator > integrator(new DummyUpdater(sysdef, "integrator"));
sys.setIntegrator(integrator);
cout << "First run: no profiling, statsPeriod = 10 s" << endl;
sys.run(100);
cout << "Second run: no prilfing, statsPeriod = 1.0 s" << endl;
sys.setStatsPeriod(1);
sys.run(100);
cout << "Third run: profiling enabled" << endl;
sys.enableProfiler(true);
sys.run(100);
Py_Finalize();
}*/
#ifdef WIN32
#pragma warning( pop )
#endif
| [
"joaander@umich.edu"
] | joaander@umich.edu |
fc7fab444e1e32ec180f44b9be11840af95cf4c4 | 5d193c2a6645e1d6bc0fb92d9b6282563a982084 | /Chapter2/Excercises/2_1_4.cpp | 96f79450a83a4c7d3e66f24c043935070d07c12e | [] | no_license | Itachi1999/CLRS_Codes | c38b30dc7351f230bdf5c0381b89752474cbc6b3 | 4f56e393a8d0051d461eece43e2ef671f98f2a67 | refs/heads/master | 2022-12-30T02:12:40.717843 | 2020-10-17T18:25:58 | 2020-10-17T18:25:58 | 299,703,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | cpp | //Taking n = 5 to save time, you can take any number
#include<iostream>
void add(int *A, int *B, int *C, int n)
{
int temp = 0, carry = 0;
for (int i = n - 1; i >= 0; i--)
{
temp = A[i] + B[i] + carry;
if(temp < 2)
{
C[i + 1] = temp;
carry = 0;
}
else
{
C[i + 1] = temp - 2;
carry = 1;
}
C[0] = carry;
}
}
int main()
{
int temp = 0, carry = 0, n = 0;
int A[5] = {0}, B[5] = {0}, C[6] = {0};
std::cout << "The First Binary Number: ";
for (size_t i = 0; i < 5; i++)
std::cin >> A[i];
//std::cout << "no problem here";
std::cout << "The Second Binary Number: ";
for (size_t i = 0; i < 5; i++)
std::cin >> B[i];
//std::cout << "no problem here";
add(A, B, C, 5);
std::cout << "The Added Binary Number: ";
for (size_t i = 0; i < 6; i++)
std::cout << C[i] << " ";
return 0;
} | [
"nasipurisoumya@gmail.com"
] | nasipurisoumya@gmail.com |
69f2745845f0ff6f76d4aa14e6ad1a053c52c958 | 8924b4c034446c05c5d27c45c5af65064b99ff2c | /revolve_old/cpp/revolve/gazebo/sensors/VirtualSensor.cpp | 209816bf90a7e7582024b8af3021b83d6cb52043 | [
"Apache-2.0"
] | permissive | stefelmanns/EC_track_B | ca69fbc1f139e4a5aa1322c405605aef4095a770 | 751301d92486015b0fe27a9854ff8f5c10d5148a | refs/heads/master | 2022-01-07T18:00:27.384479 | 2018-11-27T13:46:05 | 2018-11-27T13:46:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,470 | cpp | /*
* Copyright (C) 2017 Vrije Universiteit Amsterdam
*
* Licensed under the Apache License, Version 2.0 (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.
*
* Description: TODO: <Add brief description about file purpose>
* Author: Elte Hupkes
*
*/
#include <string>
#include <revolve/gazebo/sensors/VirtualSensor.h>
using namespace revolve::gazebo;
/////////////////////////////////////////////////
VirtualSensor::VirtualSensor(
::gazebo::physics::ModelPtr _model,
std::string _partId,
std::string _sensorId,
unsigned int _inputs)
: model_(_model)
, partId_(_partId)
, sensorId_(_sensorId)
, inputs_(_inputs)
{
}
/////////////////////////////////////////////////
VirtualSensor::~VirtualSensor() = default;
/////////////////////////////////////////////////
unsigned int VirtualSensor::Inputs()
{
return this->inputs_;
}
/////////////////////////////////////////////////
std::string VirtualSensor::PartId()
{
return this->partId_;
}
/////////////////////////////////////////////////
std::string VirtualSensor::SensorId()
{
return this->sensorId_;
}
| [
"lukaskiss222@gmail.com"
] | lukaskiss222@gmail.com |
6e6c81bf2b43d3e34761098948aa4564f1ea49f7 | 3bd7a9b663b83b9c1e7f7a3190b17089492b64b1 | /Plugins/AdvancedSessions/AdvancedSteamSessions/Intermediate/Build/Win64/CardinalMenu/Inc/AdvancedSteamSessions/SteamRequestGroupOfficersCallbackProxy.generated.h | cb811b7b1ace24acd12889b1372300507380fb73 | [
"MIT",
"CC-BY-4.0",
"Apache-2.0"
] | permissive | piandpower/CardinalMenu422_STEM | 9500b208c3060d6657073393bc209696f69719dd | f07c179a5929461b6aefc7ffd9e4f2a9f696ed5e | refs/heads/master | 2020-05-30T10:05:10.545960 | 2019-05-31T22:02:28 | 2019-05-31T22:02:28 | 189,663,078 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,453 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
===========================================================================*/
#include "UObject/ObjectMacros.h"
#include "UObject/ScriptMacros.h"
PRAGMA_DISABLE_DEPRECATION_WARNINGS
struct FBPSteamGroupOfficer;
class UObject;
struct FBPUniqueNetId;
class USteamRequestGroupOfficersCallbackProxy;
#ifdef ADVANCEDSTEAMSESSIONS_SteamRequestGroupOfficersCallbackProxy_generated_h
#error "SteamRequestGroupOfficersCallbackProxy.generated.h already included, missing '#pragma once' in SteamRequestGroupOfficersCallbackProxy.h"
#endif
#define ADVANCEDSTEAMSESSIONS_SteamRequestGroupOfficersCallbackProxy_generated_h
#define CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_51_GENERATED_BODY \
friend struct Z_Construct_UScriptStruct_FBPSteamGroupOfficer_Statics; \
ADVANCEDSTEAMSESSIONS_API static class UScriptStruct* StaticStruct();
template<> ADVANCEDSTEAMSESSIONS_API UScriptStruct* StaticStruct<struct FBPSteamGroupOfficer>();
#define CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_63_DELEGATE \
struct _Script_AdvancedSteamSessions_eventBlueprintGroupOfficerDetailsDelegate_Parms \
{ \
TArray<FBPSteamGroupOfficer> OfficerList; \
}; \
static inline void FBlueprintGroupOfficerDetailsDelegate_DelegateWrapper(const FMulticastScriptDelegate& BlueprintGroupOfficerDetailsDelegate, TArray<FBPSteamGroupOfficer> const& OfficerList) \
{ \
_Script_AdvancedSteamSessions_eventBlueprintGroupOfficerDetailsDelegate_Parms Parms; \
Parms.OfficerList=OfficerList; \
BlueprintGroupOfficerDetailsDelegate.ProcessMulticastDelegate<UObject>(&Parms); \
}
#define CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_RPC_WRAPPERS \
\
DECLARE_FUNCTION(execGetSteamGroupOfficerList) \
{ \
P_GET_OBJECT(UObject,Z_Param_WorldContextObject); \
P_GET_STRUCT(FBPUniqueNetId,Z_Param_GroupUniqueNetID); \
P_FINISH; \
P_NATIVE_BEGIN; \
*(USteamRequestGroupOfficersCallbackProxy**)Z_Param__Result=USteamRequestGroupOfficersCallbackProxy::GetSteamGroupOfficerList(Z_Param_WorldContextObject,Z_Param_GroupUniqueNetID); \
P_NATIVE_END; \
}
#define CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_RPC_WRAPPERS_NO_PURE_DECLS \
\
DECLARE_FUNCTION(execGetSteamGroupOfficerList) \
{ \
P_GET_OBJECT(UObject,Z_Param_WorldContextObject); \
P_GET_STRUCT(FBPUniqueNetId,Z_Param_GroupUniqueNetID); \
P_FINISH; \
P_NATIVE_BEGIN; \
*(USteamRequestGroupOfficersCallbackProxy**)Z_Param__Result=USteamRequestGroupOfficersCallbackProxy::GetSteamGroupOfficerList(Z_Param_WorldContextObject,Z_Param_GroupUniqueNetID); \
P_NATIVE_END; \
}
#define CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_INCLASS_NO_PURE_DECLS \
private: \
static void StaticRegisterNativesUSteamRequestGroupOfficersCallbackProxy(); \
friend struct Z_Construct_UClass_USteamRequestGroupOfficersCallbackProxy_Statics; \
public: \
DECLARE_CLASS(USteamRequestGroupOfficersCallbackProxy, UOnlineBlueprintCallProxyBase, COMPILED_IN_FLAGS(0), CASTCLASS_None, TEXT("/Script/AdvancedSteamSessions"), ADVANCEDSTEAMSESSIONS_API) \
DECLARE_SERIALIZER(USteamRequestGroupOfficersCallbackProxy)
#define CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_INCLASS \
private: \
static void StaticRegisterNativesUSteamRequestGroupOfficersCallbackProxy(); \
friend struct Z_Construct_UClass_USteamRequestGroupOfficersCallbackProxy_Statics; \
public: \
DECLARE_CLASS(USteamRequestGroupOfficersCallbackProxy, UOnlineBlueprintCallProxyBase, COMPILED_IN_FLAGS(0), CASTCLASS_None, TEXT("/Script/AdvancedSteamSessions"), ADVANCEDSTEAMSESSIONS_API) \
DECLARE_SERIALIZER(USteamRequestGroupOfficersCallbackProxy)
#define CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_STANDARD_CONSTRUCTORS \
/** Standard constructor, called after all reflected properties have been initialized */ \
ADVANCEDSTEAMSESSIONS_API USteamRequestGroupOfficersCallbackProxy(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get()); \
DEFINE_DEFAULT_OBJECT_INITIALIZER_CONSTRUCTOR_CALL(USteamRequestGroupOfficersCallbackProxy) \
DECLARE_VTABLE_PTR_HELPER_CTOR(ADVANCEDSTEAMSESSIONS_API, USteamRequestGroupOfficersCallbackProxy); \
DEFINE_VTABLE_PTR_HELPER_CTOR_CALLER(USteamRequestGroupOfficersCallbackProxy); \
private: \
/** Private move- and copy-constructors, should never be used */ \
ADVANCEDSTEAMSESSIONS_API USteamRequestGroupOfficersCallbackProxy(USteamRequestGroupOfficersCallbackProxy&&); \
ADVANCEDSTEAMSESSIONS_API USteamRequestGroupOfficersCallbackProxy(const USteamRequestGroupOfficersCallbackProxy&); \
public:
#define CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_ENHANCED_CONSTRUCTORS \
/** Standard constructor, called after all reflected properties have been initialized */ \
ADVANCEDSTEAMSESSIONS_API USteamRequestGroupOfficersCallbackProxy(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get()) : Super(ObjectInitializer) { }; \
private: \
/** Private move- and copy-constructors, should never be used */ \
ADVANCEDSTEAMSESSIONS_API USteamRequestGroupOfficersCallbackProxy(USteamRequestGroupOfficersCallbackProxy&&); \
ADVANCEDSTEAMSESSIONS_API USteamRequestGroupOfficersCallbackProxy(const USteamRequestGroupOfficersCallbackProxy&); \
public: \
DECLARE_VTABLE_PTR_HELPER_CTOR(ADVANCEDSTEAMSESSIONS_API, USteamRequestGroupOfficersCallbackProxy); \
DEFINE_VTABLE_PTR_HELPER_CTOR_CALLER(USteamRequestGroupOfficersCallbackProxy); \
DEFINE_DEFAULT_OBJECT_INITIALIZER_CONSTRUCTOR_CALL(USteamRequestGroupOfficersCallbackProxy)
#define CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_PRIVATE_PROPERTY_OFFSET
#define CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_65_PROLOG
#define CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_GENERATED_BODY_LEGACY \
PRAGMA_DISABLE_DEPRECATION_WARNINGS \
public: \
CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_PRIVATE_PROPERTY_OFFSET \
CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_RPC_WRAPPERS \
CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_INCLASS \
CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_STANDARD_CONSTRUCTORS \
public: \
PRAGMA_ENABLE_DEPRECATION_WARNINGS
#define CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_GENERATED_BODY \
PRAGMA_DISABLE_DEPRECATION_WARNINGS \
public: \
CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_PRIVATE_PROPERTY_OFFSET \
CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_RPC_WRAPPERS_NO_PURE_DECLS \
CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_INCLASS_NO_PURE_DECLS \
CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h_68_ENHANCED_CONSTRUCTORS \
static_assert(false, "Unknown access specifier for GENERATED_BODY() macro in class SteamRequestGroupOfficersCallbackProxy."); \
PRAGMA_ENABLE_DEPRECATION_WARNINGS
template<> ADVANCEDSTEAMSESSIONS_API UClass* StaticClass<class USteamRequestGroupOfficersCallbackProxy>();
#undef CURRENT_FILE_ID
#define CURRENT_FILE_ID CardinalMenu_Project_v181120_421_Plugins_AdvancedSessions_AdvancedSteamSessions_Source_AdvancedSteamSessions_Classes_SteamRequestGroupOfficersCallbackProxy_h
PRAGMA_ENABLE_DEPRECATION_WARNINGS
| [
"i.synapse@gmail.com"
] | i.synapse@gmail.com |
c00fca5b1cd74dfc4fd8ae593472913266bf00e2 | 14e27ce565b76e6211698580cff5a14a56a19b6a | /base_local_planner_test/src/simple_scored_sampling_planner.cpp | 8bd215d8bfc68552b2ee222c92a4776e71817499 | [] | no_license | Forrest-Z/navigation_no_ros | 85fb692a42e7e3a2f6b4a6e1ad9efbbe23792012 | bec879b8eb2e8980e174f1df0f488a8181294171 | refs/heads/master | 2020-03-21T05:19:28.500593 | 2017-09-03T16:45:21 | 2017-09-03T16:45:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,587 | cpp | /*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of Willow Garage, Inc. nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* Author: TKruse
*********************************************************************/
#include <base_local_planner_test/simple_scored_sampling_planner.h>
//#include <ros/console.h>
namespace base_local_planner_test {
SimpleScoredSamplingPlanner::SimpleScoredSamplingPlanner(std::vector<TrajectorySampleGenerator*> gen_list, std::vector<TrajectoryCostFunction*>& critics, int max_samples) {
max_samples_ = max_samples;
gen_list_ = gen_list;
critics_ = critics;
}
double SimpleScoredSamplingPlanner::scoreTrajectory(Trajectory& traj, double best_traj_cost) {
double traj_cost = 0;
int gen_id = 0;
for(std::vector<TrajectoryCostFunction*>::iterator score_function = critics_.begin(); score_function != critics_.end(); ++score_function) {
TrajectoryCostFunction* score_function_p = *score_function;
if (score_function_p->getScale() == 0) {
continue;
}
double cost = score_function_p->scoreTrajectory(traj);
if (cost < 0) {
//ROS_DEBUG("Velocity %.3lf, %.3lf, %.3lf discarded by cost function %d with cost: %f", traj.xv_, traj.yv_, traj.thetav_, gen_id, cost);
traj_cost = cost;
break;
}
if (cost != 0) {
cost *= score_function_p->getScale();
}
traj_cost += cost;
if (best_traj_cost > 0) {
// since we keep adding positives, once we are worse than the best, we will stay worse
if (traj_cost > best_traj_cost) {
break;
}
}
gen_id ++;
}
return traj_cost;
}
bool SimpleScoredSamplingPlanner::findBestTrajectory(Trajectory& traj, std::vector<Trajectory>* all_explored) {
Trajectory loop_traj;
Trajectory best_traj;
double loop_traj_cost, best_traj_cost = -1;
bool gen_success;
int count, count_valid;
for (std::vector<TrajectoryCostFunction*>::iterator loop_critic = critics_.begin(); loop_critic != critics_.end(); ++loop_critic) {
TrajectoryCostFunction* loop_critic_p = *loop_critic;
if (loop_critic_p->prepare() == false) {
// ROS_WARN("A scoring function failed to prepare");
printf("A scoring function failed to prepare\n");
return false;
}
}
for (std::vector<TrajectorySampleGenerator*>::iterator loop_gen = gen_list_.begin(); loop_gen != gen_list_.end(); ++loop_gen) {
count = 0;
count_valid = 0;
TrajectorySampleGenerator* gen_ = *loop_gen;
while (gen_->hasMoreTrajectories()) {
gen_success = gen_->nextTrajectory(loop_traj);
if (gen_success == false) {
// TODO use this for debugging
continue;
}
loop_traj_cost = scoreTrajectory(loop_traj, best_traj_cost);
if (all_explored != NULL) {
loop_traj.cost_ = loop_traj_cost;
all_explored->push_back(loop_traj);
}
if (loop_traj_cost >= 0) {
count_valid++;
if (best_traj_cost < 0 || loop_traj_cost < best_traj_cost) {
best_traj_cost = loop_traj_cost;
best_traj = loop_traj;
}
}
count++;
if (max_samples_ > 0 && count >= max_samples_) {
break;
}
}
if (best_traj_cost >= 0) {
traj.xv_ = best_traj.xv_;
traj.yv_ = best_traj.yv_;
traj.thetav_ = best_traj.thetav_;
traj.cost_ = best_traj_cost;
traj.resetPoints();
double px, py, pth;
for (unsigned int i = 0; i < best_traj.getPointsSize(); i++) {
best_traj.getPoint(i, px, py, pth);
traj.addPoint(px, py, pth);
}
}
//ROS_DEBUG("Evaluated %d trajectories, found %d valid", count, count_valid);
if (best_traj_cost >= 0) {
// do not try fallback generators
break;
}
}
return best_traj_cost >= 0;
}
}// namespace
| [
"ching-heng.wang@alibaba-inc.com"
] | ching-heng.wang@alibaba-inc.com |
b32712f667e116a96ff14e7f1b411a66abebd243 | a7c3e448b01067d08c73ad2a25ac0e61f4b41ff3 | /path-tracer/hittable.h | 7bb1d96de10c1dd08c0e223fe1c80b666ac52764 | [] | no_license | floak/render | df7f9f32e89ba9af00a8fde7c863fa502e388e34 | 8fa84d0b766e00c25a5f0f5972774540745e7442 | refs/heads/main | 2023-05-31T00:14:16.803296 | 2021-05-31T08:47:01 | 2021-05-31T08:47:01 | 372,431,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,088 | h | #ifndef __HITTABLE_H__
#define __HITTABLE_H__
#include "ray.h"
#include "aabb.h"
class material;
struct hit_record {
vec3 p;
vec3 normal;
material* mat_ptr;
double t;
double u;
double v;
int uu;
int vv;
bool front_face;
void set_face_normal(const ray& r, const vec3& outward_normal) {
front_face = dot(r.d(), outward_normal) < 0;
normal = front_face ? outward_normal : -outward_normal;
}
};
class hittable {
public:
virtual bool hit(const ray& r, double t_min, double t_max, hit_record& rec)const = 0;
virtual bool bounding_box(double t0, double t1, aabb& output_box) const = 0;
};
class translate : public hittable {
public:
translate(hittable* p, const vec3& displacement) : ptr(p), offset(displacement) {}
virtual ~translate(){ delete ptr; }
virtual bool hit(const ray& r, double t_min, double t_max, hit_record& rec) const override;
virtual bool bounding_box(double time0, double time1, aabb& output_box) const override;
public:
hittable* ptr;
vec3 offset;
};
bool translate::hit(const ray& r, double t_min, double t_max, hit_record& rec) const {
ray moved_r(r.o() - offset, r.d());
if (!ptr->hit(moved_r, t_min, t_max, rec)) return false;
rec.p += offset;
rec.set_face_normal(moved_r, rec.normal);
return true;
}
bool translate::bounding_box(double time0, double time1, aabb& output_box) const {
if (!ptr->bounding_box(time0, time1, output_box)) return false;
output_box = aabb(output_box.min() + offset, output_box.max() + offset);
return true;
}
class rotate_y : public hittable {
public:
rotate_y(hittable* p, double angle);
virtual ~rotate_y(){ delete ptr; }
virtual bool hit(const ray& r, double t_min, double t_max, hit_record& rec) const override;
virtual bool bounding_box(double time0, double time1, aabb& output_box) const override {
output_box = bbox;
return hasbox;
}
public:
hittable* ptr;
double sin_theta;
double cos_theta;
bool hasbox;
aabb bbox;
};
rotate_y::rotate_y(hittable* p, double angle) : ptr(p) {
auto radians = degrees_to_radians(angle);
sin_theta = sin(radians);
cos_theta = cos(radians);
hasbox = ptr->bounding_box(0, 1, bbox);
vec3 min(infinity, infinity, infinity);
vec3 max(-infinity, -infinity, -infinity);
for (int i = 0; i < 2; i++) {
for (int j = 0; j < 2; j++) {
for (int k = 0; k < 2; k++) {
auto x = i * bbox.max().x() + (1 - i) * bbox.min().x();
auto y = j * bbox.max().y() + (1 - j) * bbox.min().y();
auto z = k * bbox.max().z() + (1 - k) * bbox.min().z();
auto newx = cos_theta * x + sin_theta * z;
auto newz = -sin_theta * x + cos_theta * z;
vec3 tester(newx, y, newz);
for (int c = 0; c < 3; c++) {
min[c] = fmin(min[c], tester[c]);
max[c] = fmax(max[c], tester[c]);
}
}
}
}
bbox = aabb(min, max);
}
bool rotate_y::hit(const ray& r, double t_min, double t_max, hit_record& rec) const {
auto origin = r.o();
auto direction = r.d();
origin[0] = cos_theta * r.o()[0] - sin_theta * r.o()[2];
origin[2] = sin_theta * r.o()[0] + cos_theta * r.o()[2];
direction[0] = cos_theta * r.d()[0] - sin_theta * r.d()[2];
direction[2] = sin_theta * r.d()[0] + cos_theta * r.d()[2];
ray rotated_r(origin, direction);
if (!ptr->hit(rotated_r, t_min, t_max, rec)) return false;
auto p = rec.p;
auto normal = rec.normal;
p[0] = cos_theta * rec.p[0] + sin_theta * rec.p[2];
p[2] = -sin_theta * rec.p[0] + cos_theta * rec.p[2];
normal[0] = cos_theta * rec.normal[0] + sin_theta * rec.normal[2];
normal[2] = -sin_theta * rec.normal[0] + cos_theta * rec.normal[2];
rec.p = p;
rec.set_face_normal(rotated_r, normal);
return true;
}
#endif
| [
"noreply@github.com"
] | floak.noreply@github.com |
18fe84d6ec5be533347c84c89bb429b82a164fb8 | 562e7b3677f12fdf03bd4e7d7e6f5abb5d9f1cfa | /Chapter_8/exe_6.cpp | 54b1d4385deddf13fc34f52de908079509a62282 | [] | no_license | iLoveTangY/CppPrimerAnswers | e238a86bb1cd2035a584e3ca233614e41ac170a0 | 55f75f694806aec7468d9317ae71307e2a18b5c1 | refs/heads/master | 2021-01-20T00:45:23.960193 | 2017-07-29T03:23:23 | 2017-07-29T03:23:23 | 89,180,755 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | #include "../Chapter_7/exe_26.h"
#include <iostream>
#include <fstream>
using namespace std;
int main(int argc, char **argv)
{
if(argc != 2)
{
cerr << "Plz give a file name." << endl;
return -1;
}
ifstream in(argv[1]);
if(!in)
{
cerr << "Can't open file." << endl;
return -1;
}
Sales_data total;
if(read(in, total))
{
Sales_data trans;
while(read(in, trans))
{
if(total.isbn() == trans.isbn())
total.combine(trans);
else
{
print(cout, total) << endl;
total = trans;
}
}
print(cout, total) << endl;
}
else
cerr << "No data." << endl;
return 0;
}
| [
"ytang007@163.com"
] | ytang007@163.com |
81c636d0a6c62c9b324d5f0dbafabc6e14bd3a0c | 4ade8af85dd1bae6c4f1e7b605c3f23ab556f2a6 | /attackTrial/guest.cpp | 1f30f3cf71791c3f51d53d7ab01cb103251a2d5a | [] | no_license | aman0456/Architecture-Project | 3d7207de90e986db0086398a25adde3519c23804 | 947a6fa362108391f099cd527a6b3a71dfd967f0 | refs/heads/master | 2020-04-21T06:54:32.410642 | 2019-08-07T14:05:08 | 2019-08-07T14:05:08 | 169,378,393 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,112 | cpp | #include <bitset>
#include <iostream>
#include <stdio.h>
#include <assert.h>
#include <fcntl.h>
#include <linux/kernel-page-flags.h>
#include <stdint.h>
#include <sys/sysinfo.h>
#include <sys/mman.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>
#include <map>
#include <string>
#include <list>
#include <utility>
#include <fstream>
#include <set>
#include <algorithm>
#include <sys/time.h>
#include <sys/resource.h>
#include <sstream>
#include <iterator>
#include <math.h>
// #define THESET
// long long unsigned int syncTime = 100;
long long unsigned int syncTime = 5e8;
int theSet = 5;
int validIndices [100];
int numValidIndices = 0;
int arraySize = 1024*1024;
int timeInterval = 1;
float fraction_of_physical_memory = 0.2;
int num_reads = 5000;
int MAX_INPUT_LENGTH = 1000;
// int initialTransmit = 0x41f;
int initialTransmit = 0b10000011111;
int lenInitialTransmit = 11;
uint64_t rdtsc() {
uint64_t a, d;
asm volatile ("xor %%rax, %%rax\n" "cpuid"::: "rax", "rbx", "rcx", "rdx");
asm volatile ("rdtscp" : "=a" (a), "=d" (d) : : "rcx");
a = (d << 32) | a;
return a;
}
// ----------------------------------------------
uint64_t rdtsc2() {
uint64_t a, d;
asm volatile ("rdtscp" : "=a" (a), "=d" (d) : : "rcx");
asm volatile ("cpuid"::: "rax", "rbx", "rcx", "rdx");
a = (d << 32) | a;
return a;
}
void flush(void* p) {
asm volatile ("clflush 0(%0)\n"
:
: "c" (p)
: "rax");
}
// #define assert(X) do { if (!(X)) { fprintf(stderr,"assertion '" #X "' failed\n"); exit(-1); } } while (0)
int pagemap = -1;
// Extract the physical page number from a Linux /proc/PID/pagemap entry.
uint64_t frame_number_from_pagemap(uint64_t value) {
return value & ((1ULL << 54) - 1);
}
uint64_t getTiming(void* first) {
size_t min_res = (-1ull);
for (int i = 0; i < 4; i++) {
size_t number_of_reads = num_reads;
volatile size_t *f = (volatile size_t *) first;
// volatile size_t *s = (volatile size_t *) second;
for (int j = 0; j < 10; j++)
sched_yield();
size_t t0 = rdtsc();
while (number_of_reads-- > 0) {
*f;
*(f + number_of_reads);
// *s;
// *(s + number_of_reads);
asm volatile("clflush (%0)" : : "r" (f) : "memory");
// asm volatile("clflush (%0)" : : "r" (s) : "memory");
}
uint64_t res = (rdtsc2() - t0) / (num_reads);
for (int j = 0; j < 10; j++)
sched_yield();
if (res < min_res)
min_res = res;
}
return min_res;
}
uint64_t GetPhysicalMemorySize() {
struct sysinfo info;
sysinfo( &info );
return (size_t)info.totalram * (size_t)info.mem_unit;
}
size_t get_dram_row(void* phys_addr_p) {
uint64_t phys_addr = (uint64_t) phys_addr_p;
return phys_addr >> 18;
}
size_t get_dram_mapping(void* phys_addr_p) {
uint64_t phys_addr = (uint64_t) phys_addr_p;
static const size_t h0[] = { 6,13 };
static const size_t h1[] = { 14,17 };
static const size_t h2[] = { 15,18 };
static const size_t h3[] = { 16,19 };
// static const size_t h4[] = { 7, 8, 9, 12, 13, 18, 19 };
size_t count = sizeof(h0) / sizeof(h0[0]);
size_t hash = 0;
for (size_t i = 0; i < count; i++) {
hash ^= (phys_addr >> h0[i]) & 1;
}
count = sizeof(h1) / sizeof(h1[0]);
size_t hash1 = 0;
for (size_t i = 0; i < count; i++) {
hash1 ^= (phys_addr >> h1[i]) & 1;
}
count = sizeof(h2) / sizeof(h2[0]);
size_t hash2 = 0;
for (size_t i = 0; i < count; i++) {
hash2 ^= (phys_addr >> h2[i]) & 1;
}
count = sizeof(h3) / sizeof(h3[0]);
size_t hash3 = 0;
for (size_t i = 0; i < count; i++) {
hash3 ^= (phys_addr >> h3[i]) & 1;
}
// count = sizeof(h4) / sizeof(h4[0]);
// size_t hash4 = 0;
// for (size_t i = 0; i < count; i++) {
// hash4 ^= (phys_addr >> h4[i]) & 1;
// }
return (hash3 << 3) | (hash2 << 2) | (hash1 << 1) | hash;
}
uint64_t get_physical_addr(uint64_t virtual_addr) {
uint64_t value;
off_t offset = (virtual_addr / 4096) * sizeof(value);
int got = pread(pagemap, &value, sizeof(value), offset);
assert(got == 8);
// Check the "page present" flag.
assert(value & (1ULL << 63));
uint64_t frame_num = frame_number_from_pagemap(value);
return (frame_num * 4096) | (virtual_addr & (4095));
}
int main()
{
size_t mapping_size = static_cast<uint64_t>((static_cast<double>(GetPhysicalMemorySize()) * fraction_of_physical_memory));
void* mapping = mmap(NULL, mapping_size, PROT_READ | PROT_WRITE,
MAP_POPULATE | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0);
assert(mapping != (void*)-1);
// Initialize the mapping so that the pages are non-empty.
for (uint64_t index = 0; index < mapping_size; index += 0x400) {
*(uint64_t*) (((char*)mapping) + index) = index * 37;
}
pagemap = open("/proc/self/pagemap", O_RDONLY);
assert(pagemap >= 0);
////////////////////////finished setting up page mapping///////////////////////////////////
int arr[arraySize];
for (int i = 0 ; i < arraySize ; i ++)
{
arr[i] = i;
}
for (int i = 0; i < arraySize; i += 64/sizeof(int)) {
size_t setx = get_dram_mapping((void*)get_physical_addr((uint64_t)(arr+i)));
size_t rowx = get_dram_row((void*)get_physical_addr((uint64_t)(arr+i)));
// printf("set = %u, addr = %lu, phyaddr = %lu\n", setx, arr+i, get_physical_addr((uint64_t)(arr+i)));
if (numValidIndices < 100 && setx == theSet) {
validIndices[numValidIndices] = i;
numValidIndices++;
}
}
assert(numValidIndices > 0);
int chosenIndex = validIndices[numValidIndices/2];
int totalWaitTime = 0, totalOuterRep = 100;
int numrep = 10;
long long int currentTime = rdtsc()/syncTime;
char toTransmit[MAX_INPUT_LENGTH];
printf("Please enter the string to transfer: ");
scanf("%s", toTransmit);
int toTransmitlen = 0;
// int ind = 0;
while(toTransmit[toTransmitlen] != '\0') toTransmitlen++;
lenInitialTransmit = initialTransmit.length();
printf("Sending %s\n", toTransmit);
// toTransmit = (toTransmit << 4) + 5; // append 101111111111 at the end.
// toTransmit = (toTransmit << 12) + (3071); // append 101111111111 at the end.
currentTime = rdtsc()/syncTime;
while (rdtsc()/syncTime <= currentTime) ;
int i = 0;
currentTime = rdtsc()/syncTime;
for ( ; i < lenInitialTransmit ; i ++) //len of initial Tranmit
{
while(rdtsc()/syncTime == currentTime)
{
if ((initialTransmit >> i) % 2)
{
uint64_t time = getTiming(arr + chosenIndex);
// printf("time = %lu\n", time);
}
}
currentTime ++;
}
printf("sent initial synchronising sequence\n");
for (i=0 ; i < toTransmitlen ; i ++) //len of initial Tranmit
{
int num = toTransmit[i];
// printf("num : %d\n", num);
for (int j = 0; j < 8; j++){
while(rdtsc()/syncTime == currentTime)
{
if ((num >> j) % 2)
{
uint64_t time = getTiming(arr + chosenIndex);
// printf("time = %lu\n", time);
}
}
currentTime ++;
}
printf("sent %c\n", toTransmit[i]);
}
for ( i=0; i < 8 ; i ++) //len of initial Tranmit
{
while(rdtsc()/syncTime == currentTime)
{
// if ((initialTransmit >> i) % 2)
// {
// uint64_t time = getTiming(arr + chosenIndex);
// // printf("time = %lu\n", time);
// }
}
currentTime ++;
}
printf("sent \\0 for synchronising\n");
printf("Transmission Done\n");
return 0;
}
| [
"amanb@sl2-5.cse.iitb.ac.in"
] | amanb@sl2-5.cse.iitb.ac.in |
6cd4786cb0f7729ad83ca4cde296377ee386017e | 4e3c4f30415062da425ad3058a0c1fed167e961e | /interview/08.11.cpp | 45e0f10353b4b3ba0f7d86c8cca3f8308177c217 | [] | no_license | jing-ge/Jing-leetcode | 7f423d94d3983076630f33e7205c0ef6d54c20d8 | ae428bd3da52bb5658f3a25fbbd395b24552a735 | refs/heads/main | 2023-08-22T12:19:12.861091 | 2021-09-29T03:15:24 | 2021-09-29T03:15:24 | 321,316,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,058 | cpp | // 面试题 08.11. Coin LCCIGiven an infinite number of quarters (25 cents), dimes (10 cents), nickels (5 cents), and pennies (1 cent), write code to calculate the number of ways of representing n cents. (The result may be large, so you should return it modulo 1000000007)
// Example1:
// Input: n = 5
// Output: 2
// Explanation: There are two ways:
// 5=5
// 5=1+1+1+1+1
// Example2:
// Input: n = 10
// Output: 4
// Explanation: There are four ways:
// 10=10
// 10=5+5
// 10=5+1+1+1+1+1
// 10=1+1+1+1+1+1+1+1+1+1
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int mod = 1000000007;
int coins[4] = {25,10,5,1};
int waysToChange(int n) {
vector<int> f(n+1);
f[0] = 1;
for(int c=0;c<4;c++){
int coin = coins[c];
for(int i=coin;i<=n;i++){
f[i] = (f[i]+f[i-coin])%mod;
}
}
return f[n];
}
};
int main(){
Solution s = Solution();
int res = s.waysToChange(5);
cout<<res<<endl;
return 0;
} | [
"675324370@qq.com"
] | 675324370@qq.com |
b75ac58294a97b1919bfb21d9367dd2a4a0398ee | d066c77e614e6ef05b44eee0120e84588f8b9741 | /RLogin/AutoRenDlg.cpp | 02f9c96d6a1618e0fa0d81504bb16a341bba43be | [
"MIT"
] | permissive | kmiya-culti/RLogin | 7b01f2591fefbf22430ac9b0cca7b2093b463259 | c4f120ad617857a27f96aedd210e1e8b680024ec | refs/heads/master | 2023-08-25T20:03:45.341336 | 2023-08-03T22:10:00 | 2023-08-03T22:10:00 | 98,845,585 | 436 | 28 | MIT | 2021-03-23T14:55:33 | 2017-07-31T03:44:42 | C++ | SHIFT_JIS | C++ | false | false | 1,526 | cpp | // AutoRenDlg.cpp : 実装ファイル
//
#include "stdafx.h"
#include "RLogin.h"
#include "RLoginDoc.h"
#include "RLoginView.h"
#include "Ssh.h"
#include "SFtp.h"
#include "AutoRenDlg.h"
// CAutoRenDlg ダイアログ
IMPLEMENT_DYNAMIC(CAutoRenDlg, CDialogExt)
CAutoRenDlg::CAutoRenDlg(CWnd* pParent /*=NULL*/)
: CDialogExt(CAutoRenDlg::IDD, pParent)
{
m_Exec = 0;
}
CAutoRenDlg::~CAutoRenDlg()
{
}
void CAutoRenDlg::DoDataExchange(CDataExchange* pDX)
{
CDialogExt::DoDataExchange(pDX);
DDX_Text(pDX, IDC_EDIT1, m_Name[0]);
DDX_Text(pDX, IDC_EDIT2, m_Name[1]);
DDX_Text(pDX, IDC_EDIT3, m_Name[2]);
DDX_Text(pDX, IDC_NAMEOK, m_NameOK);
DDX_Radio(pDX, IDC_RADIO1, m_Exec);
}
BEGIN_MESSAGE_MAP(CAutoRenDlg, CDialogExt)
ON_BN_CLICKED(IDC_BUTTON1, &CAutoRenDlg::OnBnClickedButton1)
ON_BN_CLICKED(IDC_BUTTON2, &CAutoRenDlg::OnBnClickedButton2)
ON_EN_UPDATE(IDC_EDIT3, &CAutoRenDlg::OnEnUpdateEdit3)
END_MESSAGE_MAP()
// CAutoRenDlg メッセージ ハンドラ
void CAutoRenDlg::OnBnClickedButton1()
{
UpdateData(TRUE);
OnOK();
}
void CAutoRenDlg::OnBnClickedButton2()
{
UpdateData(TRUE);
OnOK();
m_Exec |= 0x80;
}
void CAutoRenDlg::OnEnUpdateEdit3()
{
CString tmp;
CFileNode node;
UpdateData(TRUE);
node.AutoRename(m_Name[2], tmp, 1);
m_NameOK = (tmp.Compare(m_Name[2]) == 0 ? _T("○") : _T("×"));
UpdateData(FALSE);
}
BOOL CAutoRenDlg::OnInitDialog()
{
CDialogExt::OnInitDialog();
// not use
return TRUE;
}
| [
"kmiya@gem.or.jp"
] | kmiya@gem.or.jp |
bbec945369e63bb6776aff4e89e1e25d04ebf646 | 76f42efcfa2628c4277a3ff49637c1eb8432801c | /LETscore_source/src/MyRunAction.cc | 0ca60a21fbc2ad6f8bfad68cef08ecc9929af5c8 | [] | no_license | bwhite-1/LETscore_public | 6f8fe245373e332c4c84fa6e4de569f060d7b0d5 | fd042b6c8e7d26201450a645efb18bca78b8878f | refs/heads/main | 2023-06-23T22:54:36.876013 | 2021-07-29T12:22:32 | 2021-07-29T12:22:32 | 390,705,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,201 | cc | //
// MyRunAction.cc
//
//
// Created by everyday on 13/10/2020.
//
#include "MyRunAction.hh"
#include "MyAnalysis.hh"
#include "MyMatrix.hh"
#include "MyStruct.hh"
#include "G4Run.hh"
#include "G4RunManager.hh"
#include "G4UnitsTable.hh"
#include "G4SystemOfUnits.hh"
#include <string>
/*
RunAction defines how data is stored at end of run
Ntuple 1 is filled from the 3D matrix (MyMatrix)
Ntuple 2 was filled on a step-by-step basis in SteppingAction
Ntuple 3 is filled from the histogram (MyHist)
*/
MyRunAction::MyRunAction()
: G4UserRunAction()
{
// create analysis manager
// choice of analysis tool is done in MyAnalysis.hh
auto analysisManager = G4AnalysisManager::Instance();
G4cout << "Using " << analysisManager->GetType() << G4endl;
analysisManager->SetVerboseLevel(1);
}
MyRunAction::~MyRunAction()
{
delete G4AnalysisManager::Instance();
}
void MyRunAction::BeginOfRunAction(const G4Run*)
{
//initialise matrices
for (int i=0; i<MyListLength-1; i++)
{
MyParticleList[i].matrix->Initialize();
}
// intialise hist
sProtonHist.Initialize();
//get analysis manager
auto analysisManager = G4AnalysisManager::Instance();
// open an output file
G4String fileName = "LETscore";
analysisManager->OpenFile(fileName);
// create ntuples - one for the LET data and one for the secondary production data
analysisManager->CreateNtuple("MyNtuple","LET"); //0
analysisManager->CreateNtuple("MyNtuple2","Secondary"); //1
analysisManager->CreateNtuple("MyNtuple3","SecondarySpectrum"); //2
analysisManager->CreateNtupleIColumn(0,"x"); // 0
analysisManager->CreateNtupleIColumn(0,"y"); // 1
analysisManager->CreateNtupleIColumn(0,"z"); // 2
// now create columns for each particle in list
// each particle takes 3 columns
// ((expand window to see diagram))
// ____________________________________________________________________________
// || Pos | Particle X | Particle Y | ... ||
// || x | y | z | nLET | dLET | Edep | nLET | dLET | Edep | nLET | dLET | Edep ||
// ||---|---|---|------|------|------|------|------|------|------|------|------||
// || 0 | 0 | 0 | .. | .. | .. | .. | .. | .. | .. | .. | .. ||
// || 1 | 0 | 0 | .. | .. | .. | .. | .. | .. | .. | .. | .. ||
for (int i=0; i<MyListLength; i++)
{
analysisManager->CreateNtupleDColumn(0,std::to_string(i+1)+MyParticleList[i].name+"_nLETd");
analysisManager->CreateNtupleDColumn(0,std::to_string(i+1)+MyParticleList[i].name+"_dLETd");
analysisManager->CreateNtupleDColumn(0,std::to_string(i+1)+MyParticleList[i].name+"_Edep");
}
analysisManager->CreateNtupleDColumn(1,"lamda");
analysisManager->CreateNtupleDColumn(1,"Secondary Energy");
analysisManager->CreateNtupleIColumn(2,"Depth");
analysisManager->CreateNtupleIColumn(2,"Secondary Energy");
analysisManager->CreateNtupleIColumn(2,"Frequency");
analysisManager->FinishNtuple(0);
analysisManager->FinishNtuple(1);
analysisManager->FinishNtuple(2);
}
void MyRunAction::EndOfRunAction(const G4Run*)
{
auto analysisManager = G4AnalysisManager::Instance();
FillNtuple1(analysisManager);
FillNtuple3(analysisManager);
//write and close output file
analysisManager->Write();
analysisManager->CloseFile();
}
void MyRunAction::FillNtuple1(G4AnalysisManager* analysisManager)
{
G4int nVoxelX = MyParticleList[0].matrix->getNVoxelX();
G4int nVoxelY = MyParticleList[0].matrix->getNVoxelY();
G4int nVoxelZ = MyParticleList[0].matrix->getNVoxelZ();
G4int row = 0;
// loop over voxels
for (int k=0; k<nVoxelZ; k++)
{
for (int j=0; j<nVoxelY; j++)
{
for (int i=0; i<nVoxelX; i++){
//fill the first columns with voxel number
analysisManager->FillNtupleIColumn(0, 0, i);
analysisManager->FillNtupleIColumn(0, 1, j);
analysisManager->FillNtupleIColumn(0, 2, k);
// if there is not LET/Edep in a voxel, don't bother adding it to the Ntuple
G4double emptyVox = 0;
for (int ii = 0; ii<MyListLength; ii++){
emptyVox += MyParticleList[ii].matrix->getnLETd(i,j,k);
emptyVox += MyParticleList[ii].matrix->getEdep(i,j,k);
}
if (emptyVox != 0)
{
// loop over particle type in list
for (int n=0; n<MyListLength; n++)
{
G4double nLETd = MyParticleList[n].matrix->getnLETd(i,j,k);
G4double dLETd = MyParticleList[n].matrix->getdLETd(i,j,k);
G4double Edep = MyParticleList[n].matrix->getEdep(i,j,k);
analysisManager->FillNtupleDColumn(0, 3+3*n, nLETd);
analysisManager->FillNtupleDColumn(0, 3+3*n+1, dLETd);
analysisManager->FillNtupleDColumn(0, 3+3*n+2, Edep);
}
analysisManager->AddNtupleRow(0);
row++;
}
}
}
}
}
void MyRunAction::FillNtuple3(G4AnalysisManager* analysisManager)
{
G4int min = sProtonHistPointer->GetMin();
G4int max = sProtonHistPointer->GetMax();
for (G4int j=0; j<sProtonHistPointer->GetNumberofZ(); j++)
{
for (int i=0; i<sProtonHistPointer->GetNBins(); i++)
{
analysisManager->FillNtupleIColumn(2,0, j);
analysisManager->FillNtupleIColumn(2, 1, i*(max - min)/sProtonHistPointer->GetNBins());
analysisManager->FillNtupleIColumn(2, 2, sProtonHistPointer->GetBinValue(i,j));
analysisManager->AddNtupleRow(2);
}
}
}
| [
"noreply@github.com"
] | bwhite-1.noreply@github.com |
6ac59fd1b608972d5c78ed4cc69f9d7d309486da | c631a931bdf317c5af9e8a53033cf0fa9a9a8899 | /12_Unity_Ads/Unity_Ads/Classes/Native/Mono.Security.cpp | ab84329550c665f3e95d16de470f224ff6b0a9a7 | [] | no_license | HyuneonY/Unity_Project-1 | b4799b583cb8e5688e8112779327f289c3a57545 | 717ad5a62a1fc91866ff94ed1fb2c1b9af2f6553 | refs/heads/master | 2022-09-04T02:35:29.400436 | 2020-05-23T08:53:13 | 2020-05-23T08:53:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,565,261 | 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 "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>
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>
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, 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>
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 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 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 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 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, 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>
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, 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>
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>
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 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 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>
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, 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>
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 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 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 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 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, 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);
}
};
// Mono.Math.BigInteger
struct BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8;
// Mono.Math.BigInteger/ModulusRing
struct ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8;
// Mono.Math.BigInteger[]
struct BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B;
// Mono.Math.Prime.Generator.PrimeGeneratorBase
struct PrimeGeneratorBase_tD86126CFDBC57352F37DE0964FFCF652C04D7059;
// Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase
struct SequentialSearchPrimeGeneratorBase_t051356406D15C0F3CCF38A685AB52DFC08B83360;
// Mono.Math.Prime.PrimalityTest
struct PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9;
// Mono.Security.ASN1
struct ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E;
// Mono.Security.Cryptography.KeyPairPersistence
struct KeyPairPersistence_t5C070E8D158094F7D0CC5D591F30EDFFB39849A2;
// Mono.Security.Cryptography.MD2
struct MD2_tCAAEC1A28A3D0B9E8810B27E4840BEA399619442;
// Mono.Security.Cryptography.MD2Managed
struct MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC;
// Mono.Security.Cryptography.MD4
struct MD4_t932C1DEA44D4B8650873251E88AA4096164BB380;
// Mono.Security.Cryptography.MD4Managed
struct MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1;
// Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo
struct EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D;
// Mono.Security.Cryptography.PKCS8/PrivateKeyInfo
struct PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9;
// Mono.Security.Cryptography.RSAManaged
struct RSAManaged_t7FC74A986C888D9301EC82EBE4A37C293CDA963A;
// Mono.Security.Cryptography.RSAManaged
struct RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745;
// Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler
struct KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9;
// Mono.Security.Interface.Alert
struct Alert_tABF269545F2C583CCA47FF574E612DDAF232944E;
// Mono.Security.Interface.CipherSuiteCode[]
struct CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4;
// Mono.Security.Interface.ICertificateValidator
struct ICertificateValidator_t0C1A54E00D408ADCBA27E600BFAA216E7E7D31A3;
// Mono.Security.Interface.ICertificateValidator2
struct ICertificateValidator2_t59AEA784559648561EFC807C805B3F3AD216AB18;
// Mono.Security.Interface.MonoLocalCertificateSelectionCallback
struct MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A;
// Mono.Security.Interface.MonoRemoteCertificateValidationCallback
struct MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6;
// Mono.Security.Interface.MonoTlsConnectionInfo
struct MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D;
// Mono.Security.Interface.MonoTlsProvider
struct MonoTlsProvider_tDCD056C5BBBE59ED6BAF63F25952B406C1143C27;
// Mono.Security.Interface.MonoTlsSettings
struct MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF;
// Mono.Security.Interface.TlsException
struct TlsException_t774465EA64E3ADAAE3DB21835DD9AB8C40247F91;
// Mono.Security.Interface.ValidationResult
struct ValidationResult_tBBAD776F36C835C8DDB515B1747DEF3A45C058D7;
// Mono.Security.PKCS7/ContentInfo
struct ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E;
// Mono.Security.PKCS7/EncryptedData
struct EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B;
// Mono.Security.Protocol.Ntlm.ChallengeResponse
struct ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B;
// Mono.Security.Protocol.Ntlm.MessageBase
struct MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0;
// Mono.Security.Protocol.Ntlm.Type1Message
struct Type1Message_tF2DA0014BB300ABA864D84752FFA278EC6E6519C;
// Mono.Security.Protocol.Ntlm.Type2Message
struct Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398;
// Mono.Security.Protocol.Ntlm.Type3Message
struct Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C;
// Mono.Security.X509.PKCS12
struct PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C;
// Mono.Security.X509.PKCS12/DeriveBytes
struct DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D;
// Mono.Security.X509.SafeBag
struct SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726;
// Mono.Security.X509.X509Certificate
struct X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B;
// Mono.Security.X509.X509CertificateCollection
struct X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A;
// Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator
struct X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505;
// Mono.Security.X509.X509ExtensionCollection
struct X509ExtensionCollection_t64150C4CB662DB5B4A434CC41C612FE573707D19;
// System.ArgumentException
struct ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1;
// System.ArgumentNullException
struct ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD;
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA;
// System.ArithmeticException
struct ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269;
// System.AsyncCallback
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4;
// System.Byte[]
struct ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821;
// System.Char[]
struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2;
// System.Collections.ArrayList
struct ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4;
// System.Collections.CollectionBase
struct CollectionBase_tF5D4583FF325726066A9803839A04E9C0084ED01;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Globalization.CultureInfo>
struct Dictionary_2_tC88A56872F7C79DBB9582D4F3FC22ED5D8E0B98B;
// System.Collections.Generic.Dictionary`2<System.String,System.Globalization.CultureInfo>
struct Dictionary_2_tBA5388DBB42BF620266F9A48E8B859BBBB224E25;
// System.Collections.Hashtable
struct Hashtable_t978F65B8006C8F5504B286526AEC6608FF983FC9;
// System.Collections.IDictionary
struct IDictionary_t1BD5C1546718A374EA8122FBD6C6EE45331E8CE7;
// System.Collections.IEnumerator
struct IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A;
// System.Delegate
struct Delegate_t;
// System.DelegateData
struct DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE;
// System.Delegate[]
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196;
// System.EventArgs
struct EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E;
// System.Exception
struct Exception_t;
// System.FormatException
struct FormatException_t2808E076CDE4650AF89F55FD78F49290D0EC5BDC;
// System.Globalization.Calendar
struct Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5;
// System.Globalization.CodePageDataItem
struct CodePageDataItem_t6E34BEE9CCCBB35C88D714664633AF6E5F5671FB;
// System.Globalization.CompareInfo
struct CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1;
// System.Globalization.CultureData
struct CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD;
// System.Globalization.CultureInfo
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F;
// System.Globalization.DateTimeFormatInfo
struct DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F;
// System.Globalization.NumberFormatInfo
struct NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8;
// System.Globalization.TextInfo
struct TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8;
// System.IAsyncResult
struct IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598;
// System.IFormatProvider
struct IFormatProvider_t4247E13AE2D97A079B88D594B7ABABF313259901;
// System.IndexOutOfRangeException
struct IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF;
// System.Int32[]
struct Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83;
// System.IntPtr[]
struct IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD;
// System.InvalidOperationException
struct InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1;
// System.NotImplementedException
struct NotImplementedException_t8AD6EBE5FEDB0AEBECEE0961CF73C35B372EFFA4;
// System.NotSupportedException
struct NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010;
// System.ObjectDisposedException
struct ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A;
// System.Object[]
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
// System.Reflection.Binder
struct Binder_t4D5CB06963501D32847C057B57157D6DC49CA759;
// System.Reflection.MemberFilter
struct MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770;
// System.Security.Cryptography.AsymmetricAlgorithm
struct AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB;
// System.Security.Cryptography.CryptographicException
struct CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A;
// System.Security.Cryptography.CspParameters
struct CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7;
// System.Security.Cryptography.DES
struct DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0;
// System.Security.Cryptography.DSA
struct DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF;
// System.Security.Cryptography.HMAC
struct HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90;
// System.Security.Cryptography.HMACMD5
struct HMACMD5_t8C6693E41EEA9BF26BBAF880B405CC170C43F11B;
// System.Security.Cryptography.HashAlgorithm
struct HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA;
// System.Security.Cryptography.KeySizes[]
struct KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E;
// System.Security.Cryptography.MD5
struct MD5_tCED753745572EC20FE5D31D15F132736B5343EE6;
// System.Security.Cryptography.RIPEMD160
struct RIPEMD160_t5BF1FB38C534BF0083B35AC6880867E11448EFE9;
// System.Security.Cryptography.RSA
struct RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145;
// System.Security.Cryptography.RSACryptoServiceProvider
struct RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4;
// System.Security.Cryptography.RandomNumberGenerator
struct RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2;
// System.Security.Cryptography.SHA1
struct SHA1_t242C3C0C91D0CC11FA6F3CB0B06B416A550C6EAA;
// System.Security.Cryptography.SHA256
struct SHA256_tF15350D910DF8AC1E6ADDBA904218F95554711BD;
// System.Security.Cryptography.SHA384
struct SHA384_t73C69FA7FB10EF83355734BE635F079515FF5D37;
// System.Security.Cryptography.SHA512
struct SHA512_tA4117C79CCB7ECF8AC39BDBE41A0D0294E9D6936;
// System.Security.Cryptography.SymmetricAlgorithm
struct SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789;
// System.Security.Cryptography.X509Certificates.X509Certificate
struct X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2;
// System.Security.Cryptography.X509Certificates.X509CertificateCollection
struct X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833;
// System.Security.Cryptography.X509Certificates.X509CertificateImpl
struct X509CertificateImpl_t89610BFDE87B872143A4623CFC7F17275EB48313;
// System.Security.Cryptography.X509Certificates.X509Chain
struct X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538;
// System.Security.Cryptography.X509Certificates.X509ChainImpl
struct X509ChainImpl_t34FABF07BEA0CFB6D88717BCDDE0607D9DA13A67;
// System.String
struct String_t;
// System.String[]
struct StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E;
// System.Text.DecoderFallback
struct DecoderFallback_t128445EB7676870485230893338EF044F6B72F60;
// System.Text.EncoderFallback
struct EncoderFallback_tDE342346D01608628F1BCEBB652D31009852CF63;
// System.Text.Encoding
struct Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4;
// System.Text.StringBuilder
struct StringBuilder_t;
// System.Type
struct Type_t;
// System.Type[]
struct TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F;
// System.UInt32[]
struct UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB;
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017;
IL2CPP_EXTERN_C RuntimeClass* ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AlertDescription_t8D4DE3060801044928816134B2292AFB933D40D6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AlertLevel_t300CD4F0586BC84361B20C4B26C89EC1ECB3FC34_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Alert_tABF269545F2C583CCA47FF574E612DDAF232944E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CipherSuiteCode_t32674B07A5C552605FA138AEACFFA20474A255F1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ConfidenceFactor_t945E0EE732DB24BE51678FCB2741BBEB440179CE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Convert_t1C7A851BFB2F0782FD7F72F6AA1DCBB7B53A9C7E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Exception_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* FormatException_t2808E076CDE4650AF89F55FD78F49290D0EC5BDC_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GC_tC1D7BD74E8F44ECCEF5CD2B5D84BFF9AAE02D01D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* HMACMD5_t8C6693E41EEA9BF26BBAF880B405CC170C43F11B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* HMACSHA1_t4E10C259BBC525A8E0ABEAE9EF01C8589F51FEE5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ICertificateValidator2_t59AEA784559648561EFC807C805B3F3AD216AB18_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IDictionaryEnumerator_t456EB67407D2045A257B66A3A25A825E883FD027_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IDictionary_t1BD5C1546718A374EA8122FBD6C6EE45331E8CE7_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Math_tFB388E53C7FDC6FCCF9A19ABF5A4E521FBD52E19_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* MonoSslPolicyErrors_t5F32A4E793EAB8B8A8128A6A3E7690D2E1F666C7_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NotImplementedException_t8AD6EBE5FEDB0AEBECEE0961CF73C35B372EFFA4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RuntimeObject_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SequentialSearchPrimeGeneratorBase_t051356406D15C0F3CCF38A685AB52DFC08B83360_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringBuilder_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TlsProtocols_t25D1B0EFE5CC77B30D19258E7AC462AB4D828163_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Type_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UInt32_t4980FA09003AFAAB5A6E361BA2748EA9A005709B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____16968835DEF6DD3BB86EABA9DEC53BF41851CD6D_2_FieldInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____320B018758ECE3752FFEDBAEB1A6DB67C80B9359_6_FieldInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____4E3B533C39447AAEB59A8E48FABD7E15B5B5D195_8_FieldInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____6E5DC824F803F8565AF31B42199DAE39FE7F4EA9_11_FieldInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____6FA00AC9FFFD87F82A38A7F9ECC8134F4A7052AF_12_FieldInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____9A9C3962CD4753376E3507C8CB5FD8FCC4B4EDB5_16_FieldInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____AEA5F1CC5CFE1660539EDD691FE017F775F63A0D_19_FieldInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____BE1BDEC0AA74B4DCB079943E70528096CCA985F8_20_FieldInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____CF0B42666EF5E37EDEA0AB8E173E42C196D03814_22_FieldInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____D28E8ABDBD777A482CE0EE5C24814ACAE52AABFE_23_FieldInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____D2C5BAE967587C6F3D9F2C4551911E0575A1101F_24_FieldInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____E75835D001C843F156FBA01B001DFE1B8029AC17_25_FieldInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteral0165688353CA81071FDEC1551C4AB96A2DB65E88;
IL2CPP_EXTERN_C String_t* _stringLiteral0425D7D3778CCF20AE9594EC58FAE88CACC94F5E;
IL2CPP_EXTERN_C String_t* _stringLiteral05E744AC2ACCB10E5085BEEA59CA196CBDBC4461;
IL2CPP_EXTERN_C String_t* _stringLiteral06AF517C94435AF79F1AA0F48FD67AA3634AA2BE;
IL2CPP_EXTERN_C String_t* _stringLiteral099D7F4DF2D04C9F091C29CF417AB4B2A1888D38;
IL2CPP_EXTERN_C String_t* _stringLiteral09AB7D22A03780085A8E13440BC03282C58B11C9;
IL2CPP_EXTERN_C String_t* _stringLiteral0F6016A42ADA1E2A1848FB5869B861EBC2F7FA13;
IL2CPP_EXTERN_C String_t* _stringLiteral16027BD069AB27D060EBB9DE6EF1E9ECA4BC97E2;
IL2CPP_EXTERN_C String_t* _stringLiteral16B16DE39EAF0CBCF65105A574643EF876F34376;
IL2CPP_EXTERN_C String_t* _stringLiteral19BEEC1D598AFC7149A3F97203082E708460E075;
IL2CPP_EXTERN_C String_t* _stringLiteral19D0B27B43EDD3905D1094D123383F92AE318631;
IL2CPP_EXTERN_C String_t* _stringLiteral1B455B5B6120697EB57C6A65C3F3E98FD311227A;
IL2CPP_EXTERN_C String_t* _stringLiteral1BFBA49274D5FFD04A381E293A69A95116E371E9;
IL2CPP_EXTERN_C String_t* _stringLiteral1C0FFB44A6993F53413B227FCD6BE6E7653BD3C7;
IL2CPP_EXTERN_C String_t* _stringLiteral1D9F018C6242ECF50722E7E37BA5BA97733D3906;
IL2CPP_EXTERN_C String_t* _stringLiteral2113842AE751CFD206BA143B55BA46A421A7E07F;
IL2CPP_EXTERN_C String_t* _stringLiteral2118C8699C55066293A0E34341B9953F6C1811BD;
IL2CPP_EXTERN_C String_t* _stringLiteral2148F912D5521151B4B4FCF9E3FA7841DB561995;
IL2CPP_EXTERN_C String_t* _stringLiteral2573431B92F35769F17226527DDA47049FF4A0DF;
IL2CPP_EXTERN_C String_t* _stringLiteral2585FC37E8BD5E0ABA0AA8CAD9C47283C578EBD3;
IL2CPP_EXTERN_C String_t* _stringLiteral25D33207529D684D63435567C0BEAFD4F02CCF74;
IL2CPP_EXTERN_C String_t* _stringLiteral2684A7EF111863B200C834E7572390FA05F109E3;
IL2CPP_EXTERN_C String_t* _stringLiteral2688E219B0D8158D32CE2DAEA691150496F98C52;
IL2CPP_EXTERN_C String_t* _stringLiteral26DB4ADFD18BEF9CD0D83082F02FA1E98DDA8B4D;
IL2CPP_EXTERN_C String_t* _stringLiteral287560723F8A1FBF90A40EFAD7B0419130008627;
IL2CPP_EXTERN_C String_t* _stringLiteral2A29B7FE27DAF69AFEE5861F4F771F3C1333106F;
IL2CPP_EXTERN_C String_t* _stringLiteral2B69EA076BD364D53AD2617C3A0BF3387013220C;
IL2CPP_EXTERN_C String_t* _stringLiteral2BBCCAEF340E6A667F3B3DEDEBD6B2545083F4B4;
IL2CPP_EXTERN_C String_t* _stringLiteral2BE04202B2D8138F15F1395499FEF177AB024D48;
IL2CPP_EXTERN_C String_t* _stringLiteral2CB0A92636DB3A3A9D187F27C6DE24B5B2F91B92;
IL2CPP_EXTERN_C String_t* _stringLiteral2CFD4072F8990E79EAEA6A6C2045E74F87B56352;
IL2CPP_EXTERN_C String_t* _stringLiteral2D91E9980B38E82DF8F787AB449DF0E2AADFF84A;
IL2CPP_EXTERN_C String_t* _stringLiteral2F280ADB68040B360D7B03B819A13379B799EFAB;
IL2CPP_EXTERN_C String_t* _stringLiteral3115DAFC73A9DE6DB80C4AC21E701A8A1C100369;
IL2CPP_EXTERN_C String_t* _stringLiteral356A192B7913B04C54574D18C28D46E6395428AB;
IL2CPP_EXTERN_C String_t* _stringLiteral389F2CE8BCC7BBD0A3FF8EEE933CAD8BCD045174;
IL2CPP_EXTERN_C String_t* _stringLiteral39B60EC0BF180A7A4890DF6BD02AA732F75E8623;
IL2CPP_EXTERN_C String_t* _stringLiteral3A52CE780950D4D969792A2559CD519D7EE8C727;
IL2CPP_EXTERN_C String_t* _stringLiteral3A5F6FCDC866AB625A631A6C57A6D2BEF6174645;
IL2CPP_EXTERN_C String_t* _stringLiteral3B8985A7F6F3523C5194B27380C8B9A09D4E7286;
IL2CPP_EXTERN_C String_t* _stringLiteral3E865F1099831286A154AA14FDC8362AFA6ED747;
IL2CPP_EXTERN_C String_t* _stringLiteral3F00283C1F56E677FC4B8300E75C719DD482B456;
IL2CPP_EXTERN_C String_t* _stringLiteral3F2997F78A546288F461F90F87679397A1E5A51F;
IL2CPP_EXTERN_C String_t* _stringLiteral3F556C2B89C9D40F8FCB8B45DB88D9BA3BDB25A7;
IL2CPP_EXTERN_C String_t* _stringLiteral42BBEE886171CED8B81918E0F830F24966193E05;
IL2CPP_EXTERN_C String_t* _stringLiteral42CC065F07E499226AC12F2671F652ACFDAF3D73;
IL2CPP_EXTERN_C String_t* _stringLiteral43C5083891C69B860FC78499995E820029745FE8;
IL2CPP_EXTERN_C String_t* _stringLiteral43CE8C8760C0F57C8E735CF657FC12BA30A8B65B;
IL2CPP_EXTERN_C String_t* _stringLiteral44C55C338925A7EF2FA7FA48B516C92EF8DB9745;
IL2CPP_EXTERN_C String_t* _stringLiteral44E5C4B7066508335FF9B48BB0D5A05575F2001B;
IL2CPP_EXTERN_C String_t* _stringLiteral471DB6AD83C76628B068C830D0269B041596AEAA;
IL2CPP_EXTERN_C String_t* _stringLiteral475F6403296A11AD7C5C0A2C315474FAE9953448;
IL2CPP_EXTERN_C String_t* _stringLiteral4E803123E3F3ACF68327B5004FFBFE1BEA455372;
IL2CPP_EXTERN_C String_t* _stringLiteral519EBF37CB5A7E254F612B256FC54B5F1F41C586;
IL2CPP_EXTERN_C String_t* _stringLiteral530D961C3F2D9207AA88243CDEDA8556D62138AA;
IL2CPP_EXTERN_C String_t* _stringLiteral57ECE3274FFAA576B81A69AE0C07BC9B708C818D;
IL2CPP_EXTERN_C String_t* _stringLiteral5946ACD155491E90D92E508F3BC09953839635A6;
IL2CPP_EXTERN_C String_t* _stringLiteral5AB8FB3BA84C84C0B9929FD9B6D13F639D3078BB;
IL2CPP_EXTERN_C String_t* _stringLiteral5F33E8DDD36B0C849687DF732835B9ABBE9B347B;
IL2CPP_EXTERN_C String_t* _stringLiteral605F515DB23E613CEB4831C6EACE4C2B023EAEAB;
IL2CPP_EXTERN_C String_t* _stringLiteral613FFB9B58FE9C68FF1D6DE407465C3D9BE81982;
IL2CPP_EXTERN_C String_t* _stringLiteral636C307C2499B64E58C024BD8EC39A968AF2D4A9;
IL2CPP_EXTERN_C String_t* _stringLiteral64348CB249149F4396EB7FB17C2F5706D32D8138;
IL2CPP_EXTERN_C String_t* _stringLiteral669EC1C9F3C16BB6049E4E62DED3D267DB25932E;
IL2CPP_EXTERN_C String_t* _stringLiteral6CB177B80C57F442434FADF5878CCBB93AE352D6;
IL2CPP_EXTERN_C String_t* _stringLiteral6D4853D9C2696A98DA8096DCE674A11141FD8E3C;
IL2CPP_EXTERN_C String_t* _stringLiteral6DEA0A0DA8A093EC1AAF0430ED587E9E19F55290;
IL2CPP_EXTERN_C String_t* _stringLiteral6F9B9AF3CD6E8B8A73C2CDCED37FE9F59226E27D;
IL2CPP_EXTERN_C String_t* _stringLiteral714EEA0F4C980736BDE0065FE73F573487F08E3A;
IL2CPP_EXTERN_C String_t* _stringLiteral796CC3E6D06777F1C198837519479B1D2F0024AD;
IL2CPP_EXTERN_C String_t* _stringLiteral7B845465C5D86662976B924FBF9F464EC87414F4;
IL2CPP_EXTERN_C String_t* _stringLiteral7CB21E3398253A9FD01555A78CDD038F46778484;
IL2CPP_EXTERN_C String_t* _stringLiteral80B7C95DB89E34F9F8C13CFECA9C592572CFAD08;
IL2CPP_EXTERN_C String_t* _stringLiteral80C050AFCE55BDA39642CED27679D2CBB619663F;
IL2CPP_EXTERN_C String_t* _stringLiteral8123C11021D033CA8E67AEF3CA8B6BC4D85B977C;
IL2CPP_EXTERN_C String_t* _stringLiteral83BD2260257D398076A738813A94BD2F37D6F282;
IL2CPP_EXTERN_C String_t* _stringLiteral84FF1FC8EFD0C9C1C39DF85058324C2B8AAAC64C;
IL2CPP_EXTERN_C String_t* _stringLiteral853460A00D15719D672A944A8ACCF5FC35952846;
IL2CPP_EXTERN_C String_t* _stringLiteral85C0C834CC0B9B381C0FF7F8BBAC9285AF308AB0;
IL2CPP_EXTERN_C String_t* _stringLiteral86E9FFF1D00C68995BA96D3B00B707D9685F6995;
IL2CPP_EXTERN_C String_t* _stringLiteral88AF471A23DFDC103E67752DD56128AE77B8DEBE;
IL2CPP_EXTERN_C String_t* _stringLiteral8979F67C086DEAF5044AC5C8AA93642B1431C146;
IL2CPP_EXTERN_C String_t* _stringLiteral8CE5CDE3AE12BB7F114211660525770636C8128A;
IL2CPP_EXTERN_C String_t* _stringLiteral8D6BEFF0610975FF4C08174B23C6DE430DB0BB84;
IL2CPP_EXTERN_C String_t* _stringLiteral8E0BFE8117E07EBEF6C2CD100E3BCC63032D3607;
IL2CPP_EXTERN_C String_t* _stringLiteral902E1C9C702765BFD051F2EA2095144DF20BEFF3;
IL2CPP_EXTERN_C String_t* _stringLiteral91032AD7BBCB6CF72875E8E8207DCFBA80173F7C;
IL2CPP_EXTERN_C String_t* _stringLiteral929E64373A1A3A451EAF8698A1D26A5C989E42EA;
IL2CPP_EXTERN_C String_t* _stringLiteral941EDC1E840EE8A244DED7C91C3A0C73970CBDD9;
IL2CPP_EXTERN_C String_t* _stringLiteral9444DC2D03948DE0E3F0FB612AC887006E0DC23E;
IL2CPP_EXTERN_C String_t* _stringLiteral95C4BEA12E4EDCF8AAD730A222793324DC42C29D;
IL2CPP_EXTERN_C String_t* _stringLiteral9636E74995FF458A887B597EABB50C7D35056A34;
IL2CPP_EXTERN_C String_t* _stringLiteral99DF9DBD518CF90FFF8724227F439A55D615463E;
IL2CPP_EXTERN_C String_t* _stringLiteral9D47261D808C7285426E7FA767344B13B392D7D2;
IL2CPP_EXTERN_C String_t* _stringLiteral9DB65CFA2237AB1A2FB1D568E668EC18B0803849;
IL2CPP_EXTERN_C String_t* _stringLiteral9EDF4240018976BF964CF31C1A24D34FDE8D517D;
IL2CPP_EXTERN_C String_t* _stringLiteral9F792B61D0EC544D91E7AFF34E2E99EE3CF2B313;
IL2CPP_EXTERN_C String_t* _stringLiteral9FF10F59D606AD213E55A2680D237F4560B5407D;
IL2CPP_EXTERN_C String_t* _stringLiteralA12083BADD146F221E05419C3C15DC0CB7D1A0F6;
IL2CPP_EXTERN_C String_t* _stringLiteralA28F5F35CE0911B6863CEB2418D166A24D8E77FA;
IL2CPP_EXTERN_C String_t* _stringLiteralA475B0456F9E29FC0A863EA86E627DE0D6273626;
IL2CPP_EXTERN_C String_t* _stringLiteralA5F656374D7FF6B837776376DF09B2C531805C9E;
IL2CPP_EXTERN_C String_t* _stringLiteralA6D742824424B5CC45A579F1CBB3776F08DDB783;
IL2CPP_EXTERN_C String_t* _stringLiteralAA8170ABE1940ECECCB2A8C879187D7FB5C54A00;
IL2CPP_EXTERN_C String_t* _stringLiteralAAAA93A1758EE795E9F4F4D7738AA8718321ECAA;
IL2CPP_EXTERN_C String_t* _stringLiteralAC52213E99AFDA01D46868C80010237AC135927B;
IL2CPP_EXTERN_C String_t* _stringLiteralAE01F992CF8E34DD0175C6CC6992DE1FB67CFFCF;
IL2CPP_EXTERN_C String_t* _stringLiteralB3C4276351B5F9013DC3E70B3FBC9174A0379575;
IL2CPP_EXTERN_C String_t* _stringLiteralB3F0C7F6BB763AF1BE91D9E74EABFEB199DC1F1F;
IL2CPP_EXTERN_C String_t* _stringLiteralB40D6CD4CF673AC976ECA2909907795C34BC177E;
IL2CPP_EXTERN_C String_t* _stringLiteralB6589FC6AB0DC82CF12099D1C2D40AB994E8410C;
IL2CPP_EXTERN_C String_t* _stringLiteralB69A13D63C5676008946ACB845A85AF96AEE9389;
IL2CPP_EXTERN_C String_t* _stringLiteralB6A6783D731A42C54B01BD71A6FD5F120594BE18;
IL2CPP_EXTERN_C String_t* _stringLiteralB773BED04A48DE200B96981BB79467413A222066;
IL2CPP_EXTERN_C String_t* _stringLiteralB8B0EDE7ABBF3F7F6738DC0C3F6D05656BAD431B;
IL2CPP_EXTERN_C String_t* _stringLiteralB92E713B21B29946A52E5FFE714C82EB670E98F9;
IL2CPP_EXTERN_C String_t* _stringLiteralBA5B3EECE056B8FA19F9675DC6B2C3279F72B203;
IL2CPP_EXTERN_C String_t* _stringLiteralBB13F629A52249ABF965ACF7316852F78FE0EA5E;
IL2CPP_EXTERN_C String_t* _stringLiteralBB9D653F4E12DEED891E16FF7E7D9376E13F075D;
IL2CPP_EXTERN_C String_t* _stringLiteralBC4CD0294E0999F20205970C2B199983C3C0B0A5;
IL2CPP_EXTERN_C String_t* _stringLiteralBD9F58A710FAC588AA107D63418A112D1F511D9C;
IL2CPP_EXTERN_C String_t* _stringLiteralBDEFEB489575DFA1A3BA1FCA02FEA1FB3C42F6EA;
IL2CPP_EXTERN_C String_t* _stringLiteralC2FFDAF1F4D54001A31179F5FE1D57F557C4FBDC;
IL2CPP_EXTERN_C String_t* _stringLiteralC376AAE863FED7F2100B15B45F998504B3C30559;
IL2CPP_EXTERN_C String_t* _stringLiteralC438BA3DF76E517ADEB7757B01B707A8FD7C53B9;
IL2CPP_EXTERN_C String_t* _stringLiteralC510A07D481619FBF882813AD37E03F5384F7266;
IL2CPP_EXTERN_C String_t* _stringLiteralC7B28B0B9455757301EFBE14A68ACEFE87C35B48;
IL2CPP_EXTERN_C String_t* _stringLiteralC99B45DFFF89CE2609C9C3C74B70826509B7E817;
IL2CPP_EXTERN_C String_t* _stringLiteralCF8640B2F06532BE2709134CF9028B273081AA99;
IL2CPP_EXTERN_C String_t* _stringLiteralD150280BF54C7333BE9D98D2044A6A91D3349975;
IL2CPP_EXTERN_C String_t* _stringLiteralD1CEA7B241EAF16F5C4A6E380E2B3624E7A80287;
IL2CPP_EXTERN_C String_t* _stringLiteralD4FCA0BC6A26DDF145B7A4AC7BFDAEBEDD5A886F;
IL2CPP_EXTERN_C String_t* _stringLiteralD964E4390D86936E2472E05166BCAA08DD191882;
IL2CPP_EXTERN_C String_t* _stringLiteralD9D28254BE2512FBA8D1D209322E0B1B22D90CEE;
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
IL2CPP_EXTERN_C String_t* _stringLiteralDC62B38EEB716E83A2EF7B3E3983DFF61AAFA8F1;
IL2CPP_EXTERN_C String_t* _stringLiteralDC7A4E51273DD99D30CC77D766CCBD48170C6CAC;
IL2CPP_EXTERN_C String_t* _stringLiteralDCABF61621CAD370E5A1627F06A24046C669ADF8;
IL2CPP_EXTERN_C String_t* _stringLiteralDDE273A77F7B5FE50165399E85E5C2F0687C548D;
IL2CPP_EXTERN_C String_t* _stringLiteralE1389F27DE95DF8DE493690AD602D0D9C4B8A064;
IL2CPP_EXTERN_C String_t* _stringLiteralE1744A525099D9A53C0460EF9CB7AB0E4C4FC939;
IL2CPP_EXTERN_C String_t* _stringLiteralE2A4A83E97480FEE533C17B7E9E66E07F7D508D4;
IL2CPP_EXTERN_C String_t* _stringLiteralE6FB7942BFCD54B6178ADECE738C3E25D32CF155;
IL2CPP_EXTERN_C String_t* _stringLiteralEC870C8EC386B18E4953A9C1A441B73E787FE3E3;
IL2CPP_EXTERN_C String_t* _stringLiteralEE238767F38DC3956FF90192A7360A5B47C88C36;
IL2CPP_EXTERN_C String_t* _stringLiteralF02768AE02EDF48DA977F708A0513A95FDC0F733;
IL2CPP_EXTERN_C String_t* _stringLiteralF037AEB428D0D727267C01C044FA8D18A1427205;
IL2CPP_EXTERN_C String_t* _stringLiteralF32B67C7E26342AF42EFABC674D441DCA0A281C5;
IL2CPP_EXTERN_C const RuntimeMethod* ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ASN1Convert_ToDateTime_m94B39FD0657B85FB9AB61B04CAD71E759C9FE152_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ASN1Convert_ToInt32_mA2A8761F965979408D46FBEB946DB59F36137A5E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Array_Reverse_TisByte_tF87C579059BD4633E6840EBBBEEF899C6E33EF07_m03D674052100D1E9D6214ADD31FE7E5F7E6788DA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* BigInteger_TestBit_mFF11993F9C65D59A109EA7EC55B8B791A9DDB56B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* BigInteger_ToString_m9FD0DEAAA4F90CECA50A45E19876EF580B1EA9A2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ChallengeResponse2_Compute_mAA312CA925226C75A829516B6BDC2089840D389D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ChallengeResponse_get_LM_m3916048E028CFCA867E801A83FEB949F7C089263_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ChallengeResponse_get_NT_mEC9F2FDFDB8FADF415D4BA8A1564A23024FC3437_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ChallengeResponse_set_Challenge_mD747C1A002528A6E9AFDE848AA257FD7B1B85E6F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ChallengeResponse_set_Password_m530EB94179C374BED9B9AAE4BB30AB3FF14F07E2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ContentInfo__ctor_m3AAF5EC77C4891BB1B6AF1F980C8623C0621852D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* EncryptedData__ctor_m385361DAE06A76AA773E49EF242400DE7F02A8FD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Kernel_LeftShift_mEA93DE79BE9A04B1AD826F95F9C77A28EC87CCA9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Kernel_RightShift_m1F0188E75D20E70731FC46BDB32106EB33A1DB83_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Kernel_modInverse_mEB896FA57CB36CE9FF75EBB4E11EA71AE23E3EC4_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* MessageBase_Decode_m0994F2111010F3E105B94A83439BDBADA2E46537_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ModulusRing_BarrettReduction_m7B02B29BBEA5309C09AE3C2860CDA318810AB3E7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ModulusRing_Difference_m4994769FFA8FAE06882F901C9DBEFC0A745E5258_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PKCS12_AddPrivateKey_m1197B452390B9CF1EB0E9F091AB0757EBF5A2697_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PKCS12_GetSymmetricAlgorithm_mD3F3C0B83D3F2F2F384895C287C95AEACC9D237B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PKCS1_CreateFromName_mB407B0358BF42A94FAA0A3B7DF68A731827C21BE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PrimalityTests_GetSPPRounds_mB217B6CB2BB40EEFAE4800E521105B5EE16C6979_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PrimalityTests_RabinMillerTest_mE869E48DD897411CA22276B55C5E3E4A869307B8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PrivateKeyInfo_DecodeDSA_m705D495634A3F9F97D73FA4FC995352DF5A3F5EF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PrivateKeyInfo_DecodeRSA_m47EEB9282E7E66ED9256F2097B4E5C757B79B080_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PrivateKeyInfo_Decode_mC8128B0803CD098039C8281AF413EEADD82EF13C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* PrivateKeyInfo_Encode_m3D458CE8888E92B151A56A3641E46651DFB05CD8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* RSAManaged_ExportParameters_m8029EBF5FC8B90AF79C6D1469ECB44D28FB101D4_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* RSAManaged_ImportParameters_m74BDEF3C147D83EE752B8445A83E1F4B7866717D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* RSAManaged_ToXmlString_m9189B3341B9CAD4722BFF40BB674316DEDFD7EDF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* RSAManaged_get_KeySize_m460D3CD00D5E9DED31348982599FEC360F1FBF37_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Type3Message_GetBytes_m9C22065DB20CD016FCA226AA2A78952E111CF118_RuntimeMethod_var;
IL2CPP_EXTERN_C const uint32_t ASN1Convert_FromInt32_m59FF0922659B0A323026CCC0876BC33020C4FC9A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1Convert_ToDateTime_m94B39FD0657B85FB9AB61B04CAD71E759C9FE152_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1Convert_ToInt32_mA2A8761F965979408D46FBEB946DB59F36137A5E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1_DecodeTLV_m30440B1DE0A8C4236AA9658DEBF2808FD3BC00C3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1_Decode_m94E3A6F94EDACE796521D04E6A832D99592F1149_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1_Element_m505373548BEE512211614D9CE56AE728959D188D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1_GetBytes_m4ABC0EF4CBE8CF6BE65CEC52CDB02BB59E2E9AE4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1_ToString_mF3953615856548F00889AD245391D09FBE782CBA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ASN1_set_Value_m225FF9AC03EA872809C7742070A34A264C58588E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Alert_ToString_mF4C26959C923C9C023B6DAD01DFF6F0D2868D167_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_Equals_m9877E32FBB71233616ACE7B8AAA31ED8C497716D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_GeneratePseudoPrime_m40B9FAE1552A9CEF0A39529CF40E2F5C9FD377DE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_GenerateRandom_mA17F93C5DDA00EDFCBBB66C41120BA1886241F5D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_GenerateRandom_mABCBDC6EF81EBAF32CDA3B7685A208CA68C115D6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_GetBytes_m3FA801F9485DE409CF9C9E7F4873694BF642C31C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_LowestSetBit_m6E7C4246DA0DA86F94B880680121448F676E8435_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_TestBit_mFF11993F9C65D59A109EA7EC55B8B791A9DDB56B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_ToString_m589EF8667DF3B88F9A54068FCC1A60AE0D78FC67_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_ToString_m9FD0DEAAA4F90CECA50A45E19876EF580B1EA9A2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger__cctor_mFA9F5AACEBB5B232D3139F994C06A883760DEAF0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger__ctor_m12A6762C07A6C1B90E6461D22E25A4DE6D3F1250_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger__ctor_m718EBF73E0A8036284DBF530A63930E286233BC5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger__ctor_m77CF9FF025A6A98A625E8E948F19F822210BC29C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger__ctor_mCAC0EAFBC60E0DC2B64BE0DD21099C837FEC0A33_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_get_Rng_mFD8903C45513484592C646CCF0F2752DB66509E2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_op_Implicit_m47A1626222EC6D506611B5776F1506E5ED6F529F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BitConverterLE_GetUIntBytes_m871281C3039A5B7DFB56E0F3EBBE22F74135997C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BitConverterLE_GetULongBytes_mCBAC987169706D10F05AFF42559A4EA1D88E1876_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BitConverterLE_UIntFromBytes_m91E16C3362E794444D849A4AD5B9F746BF2A4FCB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t BitConverterLE_UShortFromBytes_mBC051D16FFC95E9695F110AFDEAB018BD76F84A9_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t CertificateValidationHelper_GetInternalValidator_m765EA22BAC020CAA59167E95C1D1A6A652FE1D01_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t CertificateValidationHelper__cctor_m3F448328D24FD04BC74176CE26ACCB2C431E2B24_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse2_Compute_LM_m3A1F9371E4F1E41B044787FFB3BE985E92A3AC22_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse2_Compute_NTLM_Password_mD27D4A18DBD712B0E80B0F2A1CB296B353312C41_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse2_Compute_NTLM_mA1DCA878A3A7A5517DB8BB0F2BEDD29353573976_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse2_Compute_NTLMv2_Session_mFB6537BF7FC8D9D7CCE55BFCDF6A7C371460E296_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse2_Compute_NTLMv2_mBCFF2DF7375AD035B98FC84253201D269201CE43_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse2_Compute_mAA312CA925226C75A829516B6BDC2089840D389D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse2_GetResponse_mE39699CD2453921E373BF9768180993EDCD810E7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse2_PasswordToKey_m2871E605818DF2DE4BC5B1B163831BA8F64006D8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse2_PrepareDESKey_m428EF8F37B18E0B4FC5895BFF02A681740CF7608_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse2__cctor_mCF5C3FE5989C7BB7777C3BAADD67E9F8576A8C23_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse_Dispose_mD6C08D1EDA541DC5A9B287744FB18E3149627434_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse_GetResponse_m526E49021AB29DD12995CF8BB12DC9F03F2A583F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse_PasswordToKey_m522B84CA0312284486A2C4E10FEE2D74BF4FF163_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse_PrepareDESKey_m32B2174E0B63E959CE08204F3C39AAA01799A3B3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse__cctor_m069BF87DE471BEDD893664B52BBD066119DCD55C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse__ctor_m1E0300839CAF582A720DB0F4F9E425B6EE12B258_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse_get_LM_m3916048E028CFCA867E801A83FEB949F7C089263_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse_get_NT_mEC9F2FDFDB8FADF415D4BA8A1564A23024FC3437_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse_set_Challenge_mD747C1A002528A6E9AFDE848AA257FD7B1B85E6F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ChallengeResponse_set_Password_m530EB94179C374BED9B9AAE4BB30AB3FF14F07E2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ContentInfo_GetASN1_m3DF4C4558BE17D650B80B7971158C1B704C7B995_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ContentInfo__ctor_m3AAF5EC77C4891BB1B6AF1F980C8623C0621852D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ContentInfo__ctor_mEE9D9E1E66FBF3DA3414423F0D4216E40C625BFA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ContentInfo__ctor_mFFDEEE8545287FC5A22740B7E06F6D64D401E196_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t CryptoConvert_ToHex_m2FB6183AFF3B31424407BB7D767A844E3464B411_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t DeriveBytes_DeriveIV_mEBA107DC29EA28DF2575F45EF7A0C55840BD8F03_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t DeriveBytes_DeriveKey_mDF33F048359AB75CC3F1F634A67EB4EDEF02E796_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t DeriveBytes_DeriveMAC_mD54FB1F61CFC13258B46861CCE527A85CC62652D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t DeriveBytes_Derive_m77A53485FBE468A4F9698AEC0B36415699A9D72E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t DeriveBytes__cctor_m9599099DAB452D213B5F996953DB05E43CBDD41B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t DeriveBytes_set_Password_m01796801BB8FD1E5F9D62F48A057F936CE0D0E4D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t DeriveBytes_set_Salt_m259A4E6B31DF7C039E776B473B4C5208890E8C5E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t EncryptedData__ctor_m385361DAE06A76AA773E49EF242400DE7F02A8FD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t EncryptedData_get_EncryptedContent_m3C19AF07E7124131F08D7223E7B955AE67896BB8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t EncryptedPrivateKeyInfo_get_EncryptedData_m0EB3C77C669117FCB3E0A5DA1758F9B0A18573D3_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t EncryptedPrivateKeyInfo_get_Salt_mF231C0F3BC06F402910179312CC9245911450C4B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Kernel_DwordDivMod_m7DD3CEDA379E3BEE45058144A4E63AB39C32268C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Kernel_LeftShift_mEA93DE79BE9A04B1AD826F95F9C77A28EC87CCA9_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Kernel_RightShift_m1F0188E75D20E70731FC46BDB32106EB33A1DB83_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Kernel_Subtract_mD8975D3BC036B9DAEC10E5585880F304DAF3E332_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Kernel_modInverse_m3FE8ACCFD28EBC15685ACEE0ED33A048DE9D022D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Kernel_modInverse_mEB896FA57CB36CE9FF75EBB4E11EA71AE23E3EC4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Kernel_multiByteDivide_m3AB2BAB666EBB176A004D389DBDAAEBAA3763B54_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MD2Managed_HashFinal_m8840B1788737936945402AA9D19E14033ECA61EC_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MD2Managed_MD2Transform_m95099D1A3DB46EA112FF62C9A585D947C7FD4C23_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MD2Managed_Padding_m3EB6A24F9144B480408240A0885F55C9BD0B47B1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MD2Managed__cctor_mFCD964B61C39F08BCF87A5CA5C9D04364FA0715E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MD2Managed__ctor_mB717463E13F068948687F8EE38041CA6087E6FCA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MD2_Create_mF375441B9B1B701ECE73B9B51AFE4E3ADDE6E02F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MD4Managed_HashFinal_m4853C50C4026A1F75D7C75FB28FD4E146E95F6AC_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MD4Managed_Padding_m7AD58C8D8178AC6CD6738C93A146312D73ED0476_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MD4Managed__ctor_mDB4352DBB43112E1DF337DF241A3E25435C2C3C5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MD4_Create_m2D436A4CC284704A7DA0EEF4C4D5860F69D0BB93_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MessageBase_CheckHeader_m427014E264FA451B68062CFF8A1939DC3A04FB5A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MessageBase_Decode_m0994F2111010F3E105B94A83439BDBADA2E46537_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MessageBase_PrepareMessage_m6B0C0C463C16D086924EC49DB07C3ADE95C11958_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MessageBase__cctor_m4DF505F352AB2529D7E6EE09E6B096C076663B0F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ModulusRing_BarrettReduction_m7B02B29BBEA5309C09AE3C2860CDA318810AB3E7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ModulusRing_Difference_m4994769FFA8FAE06882F901C9DBEFC0A745E5258_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ModulusRing_Multiply_m4C45458BB28E03B17069F0A0BB87F1426ABAC272_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ModulusRing_Pow_m02E0BDA9434462191910C6F7BD6E7A6C77544C06_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ModulusRing_Pow_mA4D173D9DD4C251CE87C56CEA39D04A8719FBE24_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t ModulusRing__ctor_mF09FC4C08A46EB1ECBA2A35B28BDD16D703E1050_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MonoRemoteCertificateValidationCallback_BeginInvoke_mE8A7228A3C1E37CED0138DA272D8A9A6ED52E2D1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MonoTlsConnectionInfo_ToString_m1988B66DE8C065C14AB2ED0DA4DDB84313C05E65_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MonoTlsSettings_CloneWithValidator_m46363CAC421939D9904660815CF1D8131C8DC3B1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MonoTlsSettings_Clone_mF28F7F627B12CBD0BD1ABD6F35DD0B4BAD2E3840_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MonoTlsSettings__ctor_m3D336E73C9393401BE9BE856B7204BA176F52B17_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t MonoTlsSettings_get_DefaultSettings_m49A7CECC7D687F62790DD374D560278D3916B887_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t NtlmSettings__cctor_mCE3B588B6BFFB63D73ECA11941E875814A5CE9BB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t NtlmSettings_get_DefaultAuthLevel_m98EDE4292136121773A45127209BD926E1CF141AMono_Security_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t NtlmSettings_get_DefaultAuthLevel_m98EDE4292136121773A45127209BD926E1CF141A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_AddCertificate_m17964E654DA9F739484806557EBD8CFE5331A198_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_AddPrivateKey_m1197B452390B9CF1EB0E9F091AB0757EBF5A2697_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_CertificateSafeBag_mD0DD83647F65C3ABAE16740304102EFD7495FB73_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_Clone_mCFFD83941C1E56BEFEFDF4CF4E04601B37564432_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_Decrypt_m31927063D7A8B21C5E2B81F0879117F269B2F340_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_Encrypt_m46E5121EFD2B8D707F1028204C59EE95955FA992_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_EncryptedContentInfo_m1E71931C47F151A7B5AC985929B78FAED83C5E89_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_GetBytes_m8621373F343293D4A64DED97DA2610BE6B6D7D73_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_GetExistingParameters_mA087BFAB5B05292523844A22873E72CAEBF5500F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_GetSymmetricAlgorithm_mD3F3C0B83D3F2F2F384895C287C95AEACC9D237B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_MAC_mA1250320B5F0B5C94D8532296AB59CC32B7A7E78_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_RemoveCertificate_mFD3A6ECA0F182AC1C74E2E7A56D4F6E3D4D300D2_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12__cctor_m6147652F39C9E084AC465598F872099A0E0B9CAB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12__ctor_mB6E3957A0DB6D7E17808EB1141909F9D1AEC162F_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_get_Certificates_mB8B81E86E481809CAB88C4657FDFCA67FE5190F4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_get_Keys_mAAA961BD9580ED8EE3B394B702945FCB820E34AE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_get_MaximumPasswordLength_m456895C0914C8E686BC0548D036FAF11EB2AD266Mono_Security_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_get_MaximumPasswordLength_m456895C0914C8E686BC0548D036FAF11EB2AD266_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS12_set_Password_mE1814AD9981817AEB8B4DAD7AED8DEA6A17F1DB0_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS1_CreateFromName_mB407B0358BF42A94FAA0A3B7DF68A731827C21BE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PKCS1__cctor_mA0BF327C9ECE4E5B1AACA740DBF4A61FB4F88825_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrimalityTest_BeginInvoke_m92CDF05BD3D7D4CD830DAD891C626440C69A8D45_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrimalityTests_GetSPPRounds_mB217B6CB2BB40EEFAE4800E521105B5EE16C6979_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrimalityTests_RabinMillerTest_mE869E48DD897411CA22276B55C5E3E4A869307B8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrimeGeneratorBase_get_PrimalityTest_m0BACD3BCEC2D3F9AA1E81726561BF3D8B4048092_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrivateKeyInfo_DecodeDSA_m705D495634A3F9F97D73FA4FC995352DF5A3F5EF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrivateKeyInfo_DecodeRSA_m47EEB9282E7E66ED9256F2097B4E5C757B79B080_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrivateKeyInfo_Decode_mC8128B0803CD098039C8281AF413EEADD82EF13C_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrivateKeyInfo_Encode_m3D458CE8888E92B151A56A3641E46651DFB05CD8_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrivateKeyInfo_Encode_mF1C1E856195368C0FD130E5E8DEFA373C9F4BEA5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrivateKeyInfo_Normalize_m918031FFC55B1092BD5004D914538F78CE701606_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrivateKeyInfo_RemoveLeadingZero_m674CB83B855FB14F8C49F062C3261D2587596384_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrivateKeyInfo__ctor_m589C6263501E8226678D7B08B7C816E9C9EBD939_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t PrivateKeyInfo_get_PrivateKey_mC390394E64E5FE39B4A833E7D91CF20A899179FA_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t RSAManaged_Dispose_m2C1A07BB502FBAB28DBE6675CA0B1D54019C6DFB_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t RSAManaged_ExportParameters_m8029EBF5FC8B90AF79C6D1469ECB44D28FB101D4_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t RSAManaged_GenerateKeyPair_m01DBB9859ED6B604FD48A26561F33FC8213A4BE5_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t RSAManaged_GetPaddedValue_m09F304D316894F8620769B764EE99DC5FBF29471_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t RSAManaged_ImportParameters_m74BDEF3C147D83EE752B8445A83E1F4B7866717D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t RSAManaged_ToXmlString_m9189B3341B9CAD4722BFF40BB674316DEDFD7EDF_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t RSAManaged_get_KeySize_m460D3CD00D5E9DED31348982599FEC360F1FBF37_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t RSAManaged_get_PublicOnly_m1D989F2FB76A46F2C7C80F18D5EA820B7EDD60DD_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t SequentialSearchPrimeGeneratorBase_GenerateNewPrime_mC5D023E53C55A3D910AD896B1B888313516420BE_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t SequentialSearchPrimeGeneratorBase_GenerateSearchBase_m2E65C4F49F03838C63E2CF7157F35A857FD85CCC_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TlsException__ctor_m5B7689890B3AE575E72A71FB19541C2BBAEF2D93_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t TlsException__ctor_mCD978D5A0E271F65BF28C40380F65D8E0247FA53_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type1Message_GetBytes_m5705CD87750C73B44B8700A02FF0E4C2DE294C9E_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type1Message__ctor_mF11CFA44C4BF05765612B0D3CCBB4EBB433D7B23_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type1Message_set_Domain_m14675CA2220D6338E39DA862B822553AE6DCFD12_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type1Message_set_Host_mC0ADD586CC5A1F9FD5489AF1D8F14DF9AA4F2D68_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type2Message_Decode_m480774BBEA24F18E5C8765273C8DD6A641D9E441_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type2Message__ctor_m85E73F15F691FC25B93503B84B24D25805B5FBD9_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type2Message_get_Nonce_mEE9D40B2B299766F6B789195174BC580BDAEB4E1_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type2Message_get_TargetInfo_m5E0F0E5A6B32B7512393EDC2DFE9E8A6D79DB485_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type3Message_Decode_m4624A3F2775E1E590627C69F188816C994270B6D_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type3Message_EncodeString_m431F1D808D738A2C9CE57DE1084F9A42C036AA5A_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type3Message_GetBytes_m9C22065DB20CD016FCA226AA2A78952E111CF118_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type3Message__ctor_mBA583598EA5F842A0076F882C4A3205B919419D6_MetadataUsageId;
IL2CPP_EXTERN_C const uint32_t Type3Message_set_Domain_m04440D54FDAA49E5C82380E22C46DBF09C22DBF5_MetadataUsageId;
struct CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD_marshaled_com;
struct CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD_marshaled_pinvoke;
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_com;
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_pinvoke;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B;
struct CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4;
struct ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821;
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A;
struct StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E;
struct UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB;
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <Module>
struct U3CModuleU3E_t239CA80C3AF3E763FA4B9A9F3CFADF0768B426EE
{
public:
public:
};
// System.Object
// Locale
struct Locale_t3E5C8C81DE8D62AC0972B423D543F499CE5BA9E3 : public RuntimeObject
{
public:
public:
};
// Mono.Math.BigInteger
struct BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 : public RuntimeObject
{
public:
// System.UInt32 Mono.Math.BigInteger::length
uint32_t ___length_0;
// System.UInt32[] Mono.Math.BigInteger::data
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___data_1;
public:
inline static int32_t get_offset_of_length_0() { return static_cast<int32_t>(offsetof(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8, ___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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8, ___data_1)); }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* get_data_1() const { return ___data_1; }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB** get_address_of_data_1() { return &___data_1; }
inline void set_data_1(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* value)
{
___data_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___data_1), (void*)value);
}
};
struct BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_StaticFields
{
public:
// System.UInt32[] Mono.Math.BigInteger::smallPrimes
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___smallPrimes_2;
// System.Security.Cryptography.RandomNumberGenerator Mono.Math.BigInteger::rng
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * ___rng_3;
public:
inline static int32_t get_offset_of_smallPrimes_2() { return static_cast<int32_t>(offsetof(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_StaticFields, ___smallPrimes_2)); }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* get_smallPrimes_2() const { return ___smallPrimes_2; }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB** get_address_of_smallPrimes_2() { return &___smallPrimes_2; }
inline void set_smallPrimes_2(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* value)
{
___smallPrimes_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___smallPrimes_2), (void*)value);
}
inline static int32_t get_offset_of_rng_3() { return static_cast<int32_t>(offsetof(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_StaticFields, ___rng_3)); }
inline RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * get_rng_3() const { return ___rng_3; }
inline RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 ** get_address_of_rng_3() { return &___rng_3; }
inline void set_rng_3(RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * value)
{
___rng_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___rng_3), (void*)value);
}
};
// Mono.Math.BigInteger_Kernel
struct Kernel_t6BE0610F448D44A582E752BE181E8666581E7B49 : public RuntimeObject
{
public:
public:
};
// Mono.Math.BigInteger_ModulusRing
struct ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 : public RuntimeObject
{
public:
// Mono.Math.BigInteger Mono.Math.BigInteger_ModulusRing::mod
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___mod_0;
// Mono.Math.BigInteger Mono.Math.BigInteger_ModulusRing::constant
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___constant_1;
public:
inline static int32_t get_offset_of_mod_0() { return static_cast<int32_t>(offsetof(ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8, ___mod_0)); }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * get_mod_0() const { return ___mod_0; }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** get_address_of_mod_0() { return &___mod_0; }
inline void set_mod_0(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * value)
{
___mod_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___mod_0), (void*)value);
}
inline static int32_t get_offset_of_constant_1() { return static_cast<int32_t>(offsetof(ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8, ___constant_1)); }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * get_constant_1() const { return ___constant_1; }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** get_address_of_constant_1() { return &___constant_1; }
inline void set_constant_1(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * value)
{
___constant_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___constant_1), (void*)value);
}
};
// Mono.Math.Prime.Generator.PrimeGeneratorBase
struct PrimeGeneratorBase_tD86126CFDBC57352F37DE0964FFCF652C04D7059 : public RuntimeObject
{
public:
public:
};
// Mono.Math.Prime.PrimalityTests
struct PrimalityTests_t5C9DAAC1E282EC2EB50D1A71221CC2FCE5E8704F : public RuntimeObject
{
public:
public:
};
// Mono.Security.ASN1
struct ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E : public RuntimeObject
{
public:
// System.Byte Mono.Security.ASN1::m_nTag
uint8_t ___m_nTag_0;
// System.Byte[] Mono.Security.ASN1::m_aValue
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___m_aValue_1;
// System.Collections.ArrayList Mono.Security.ASN1::elist
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * ___elist_2;
public:
inline static int32_t get_offset_of_m_nTag_0() { return static_cast<int32_t>(offsetof(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E, ___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_t2B883D12D3493F8395B31D1F0ABD93F43948B27E, ___m_aValue_1)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_m_aValue_1() const { return ___m_aValue_1; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_m_aValue_1() { return &___m_aValue_1; }
inline void set_m_aValue_1(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___m_aValue_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_aValue_1), (void*)value);
}
inline static int32_t get_offset_of_elist_2() { return static_cast<int32_t>(offsetof(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E, ___elist_2)); }
inline ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * get_elist_2() const { return ___elist_2; }
inline ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 ** get_address_of_elist_2() { return &___elist_2; }
inline void set_elist_2(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * value)
{
___elist_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___elist_2), (void*)value);
}
};
// Mono.Security.ASN1Convert
struct ASN1Convert_t5F783CA2300717B94F27A342A75A0E57B73FCC05 : public RuntimeObject
{
public:
public:
};
// Mono.Security.BitConverterLE
struct BitConverterLE_t4CE9DF1164753ED72B6F4F33581C35FBCAEEC109 : public RuntimeObject
{
public:
public:
};
// Mono.Security.Cryptography.CryptoConvert
struct CryptoConvert_tF1F175C2F2C9E65FE7D5FBF0D434B964E4CAFF76 : public RuntimeObject
{
public:
public:
};
// Mono.Security.Cryptography.PKCS1
struct PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222 : public RuntimeObject
{
public:
public:
};
struct PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_StaticFields
{
public:
// System.Byte[] Mono.Security.Cryptography.PKCS1::emptySHA1
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___emptySHA1_0;
// System.Byte[] Mono.Security.Cryptography.PKCS1::emptySHA256
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___emptySHA256_1;
// System.Byte[] Mono.Security.Cryptography.PKCS1::emptySHA384
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___emptySHA384_2;
// System.Byte[] Mono.Security.Cryptography.PKCS1::emptySHA512
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___emptySHA512_3;
public:
inline static int32_t get_offset_of_emptySHA1_0() { return static_cast<int32_t>(offsetof(PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_StaticFields, ___emptySHA1_0)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_emptySHA1_0() const { return ___emptySHA1_0; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_emptySHA1_0() { return &___emptySHA1_0; }
inline void set_emptySHA1_0(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___emptySHA1_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___emptySHA1_0), (void*)value);
}
inline static int32_t get_offset_of_emptySHA256_1() { return static_cast<int32_t>(offsetof(PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_StaticFields, ___emptySHA256_1)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_emptySHA256_1() const { return ___emptySHA256_1; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_emptySHA256_1() { return &___emptySHA256_1; }
inline void set_emptySHA256_1(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___emptySHA256_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___emptySHA256_1), (void*)value);
}
inline static int32_t get_offset_of_emptySHA384_2() { return static_cast<int32_t>(offsetof(PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_StaticFields, ___emptySHA384_2)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_emptySHA384_2() const { return ___emptySHA384_2; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_emptySHA384_2() { return &___emptySHA384_2; }
inline void set_emptySHA384_2(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___emptySHA384_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___emptySHA384_2), (void*)value);
}
inline static int32_t get_offset_of_emptySHA512_3() { return static_cast<int32_t>(offsetof(PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_StaticFields, ___emptySHA512_3)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_emptySHA512_3() const { return ___emptySHA512_3; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_emptySHA512_3() { return &___emptySHA512_3; }
inline void set_emptySHA512_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___emptySHA512_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___emptySHA512_3), (void*)value);
}
};
// Mono.Security.Cryptography.PKCS8
struct PKCS8_tD24BB8D5DD62F9EF2DCDB5E3B03DB4AB19415656 : public RuntimeObject
{
public:
public:
};
// Mono.Security.Cryptography.PKCS8_EncryptedPrivateKeyInfo
struct EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D : public RuntimeObject
{
public:
// System.String Mono.Security.Cryptography.PKCS8_EncryptedPrivateKeyInfo::_algorithm
String_t* ____algorithm_0;
// System.Byte[] Mono.Security.Cryptography.PKCS8_EncryptedPrivateKeyInfo::_salt
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____salt_1;
// System.Int32 Mono.Security.Cryptography.PKCS8_EncryptedPrivateKeyInfo::_iterations
int32_t ____iterations_2;
// System.Byte[] Mono.Security.Cryptography.PKCS8_EncryptedPrivateKeyInfo::_data
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____data_3;
public:
inline static int32_t get_offset_of__algorithm_0() { return static_cast<int32_t>(offsetof(EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D, ____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((void**)(&____algorithm_0), (void*)value);
}
inline static int32_t get_offset_of__salt_1() { return static_cast<int32_t>(offsetof(EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D, ____salt_1)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__salt_1() const { return ____salt_1; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__salt_1() { return &____salt_1; }
inline void set__salt_1(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____salt_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____salt_1), (void*)value);
}
inline static int32_t get_offset_of__iterations_2() { return static_cast<int32_t>(offsetof(EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D, ____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_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D, ____data_3)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__data_3() const { return ____data_3; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__data_3() { return &____data_3; }
inline void set__data_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____data_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____data_3), (void*)value);
}
};
// Mono.Security.Cryptography.PKCS8_PrivateKeyInfo
struct PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 : 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_tD06FDBE8142446525DF1C40351D523A228373821* ____key_2;
// System.Collections.ArrayList Mono.Security.Cryptography.PKCS8_PrivateKeyInfo::_list
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * ____list_3;
public:
inline static int32_t get_offset_of__version_0() { return static_cast<int32_t>(offsetof(PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9, ____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_t053A73C524EC661748073EC908D290E2856DB5B9, ____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((void**)(&____algorithm_1), (void*)value);
}
inline static int32_t get_offset_of__key_2() { return static_cast<int32_t>(offsetof(PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9, ____key_2)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__key_2() const { return ____key_2; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__key_2() { return &____key_2; }
inline void set__key_2(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____key_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____key_2), (void*)value);
}
inline static int32_t get_offset_of__list_3() { return static_cast<int32_t>(offsetof(PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9, ____list_3)); }
inline ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * get__list_3() const { return ____list_3; }
inline ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 ** get_address_of__list_3() { return &____list_3; }
inline void set__list_3(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * value)
{
____list_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____list_3), (void*)value);
}
};
// Mono.Security.Interface.CertificateValidationHelper
struct CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86 : public RuntimeObject
{
public:
public:
};
struct CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86_StaticFields
{
public:
// System.Boolean Mono.Security.Interface.CertificateValidationHelper::noX509Chain
bool ___noX509Chain_0;
// System.Boolean Mono.Security.Interface.CertificateValidationHelper::supportsTrustAnchors
bool ___supportsTrustAnchors_1;
public:
inline static int32_t get_offset_of_noX509Chain_0() { return static_cast<int32_t>(offsetof(CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86_StaticFields, ___noX509Chain_0)); }
inline bool get_noX509Chain_0() const { return ___noX509Chain_0; }
inline bool* get_address_of_noX509Chain_0() { return &___noX509Chain_0; }
inline void set_noX509Chain_0(bool value)
{
___noX509Chain_0 = value;
}
inline static int32_t get_offset_of_supportsTrustAnchors_1() { return static_cast<int32_t>(offsetof(CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86_StaticFields, ___supportsTrustAnchors_1)); }
inline bool get_supportsTrustAnchors_1() const { return ___supportsTrustAnchors_1; }
inline bool* get_address_of_supportsTrustAnchors_1() { return &___supportsTrustAnchors_1; }
inline void set_supportsTrustAnchors_1(bool value)
{
___supportsTrustAnchors_1 = value;
}
};
// Mono.Security.Interface.MonoTlsProvider
struct MonoTlsProvider_tDCD056C5BBBE59ED6BAF63F25952B406C1143C27 : public RuntimeObject
{
public:
public:
};
// Mono.Security.PKCS7
struct PKCS7_t1D68081B4F613E99B7DBDE29D89B8B64100638FB : public RuntimeObject
{
public:
public:
};
// Mono.Security.PKCS7_ContentInfo
struct ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E : public RuntimeObject
{
public:
// System.String Mono.Security.PKCS7_ContentInfo::contentType
String_t* ___contentType_0;
// Mono.Security.ASN1 Mono.Security.PKCS7_ContentInfo::content
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___content_1;
public:
inline static int32_t get_offset_of_contentType_0() { return static_cast<int32_t>(offsetof(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E, ___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((void**)(&___contentType_0), (void*)value);
}
inline static int32_t get_offset_of_content_1() { return static_cast<int32_t>(offsetof(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E, ___content_1)); }
inline ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * get_content_1() const { return ___content_1; }
inline ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E ** get_address_of_content_1() { return &___content_1; }
inline void set_content_1(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * value)
{
___content_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___content_1), (void*)value);
}
};
// Mono.Security.PKCS7_EncryptedData
struct EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B : public RuntimeObject
{
public:
// System.Byte Mono.Security.PKCS7_EncryptedData::_version
uint8_t ____version_0;
// Mono.Security.PKCS7_ContentInfo Mono.Security.PKCS7_EncryptedData::_content
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * ____content_1;
// Mono.Security.PKCS7_ContentInfo Mono.Security.PKCS7_EncryptedData::_encryptionAlgorithm
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * ____encryptionAlgorithm_2;
// System.Byte[] Mono.Security.PKCS7_EncryptedData::_encrypted
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____encrypted_3;
public:
inline static int32_t get_offset_of__version_0() { return static_cast<int32_t>(offsetof(EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B, ____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_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B, ____content_1)); }
inline ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * get__content_1() const { return ____content_1; }
inline ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E ** get_address_of__content_1() { return &____content_1; }
inline void set__content_1(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * value)
{
____content_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____content_1), (void*)value);
}
inline static int32_t get_offset_of__encryptionAlgorithm_2() { return static_cast<int32_t>(offsetof(EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B, ____encryptionAlgorithm_2)); }
inline ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * get__encryptionAlgorithm_2() const { return ____encryptionAlgorithm_2; }
inline ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E ** get_address_of__encryptionAlgorithm_2() { return &____encryptionAlgorithm_2; }
inline void set__encryptionAlgorithm_2(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * value)
{
____encryptionAlgorithm_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____encryptionAlgorithm_2), (void*)value);
}
inline static int32_t get_offset_of__encrypted_3() { return static_cast<int32_t>(offsetof(EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B, ____encrypted_3)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__encrypted_3() const { return ____encrypted_3; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__encrypted_3() { return &____encrypted_3; }
inline void set__encrypted_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____encrypted_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____encrypted_3), (void*)value);
}
};
// Mono.Security.Protocol.Ntlm.ChallengeResponse
struct ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B : public RuntimeObject
{
public:
// System.Boolean Mono.Security.Protocol.Ntlm.ChallengeResponse::_disposed
bool ____disposed_2;
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::_challenge
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____challenge_3;
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::_lmpwd
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____lmpwd_4;
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::_ntpwd
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____ntpwd_5;
public:
inline static int32_t get_offset_of__disposed_2() { return static_cast<int32_t>(offsetof(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B, ____disposed_2)); }
inline bool get__disposed_2() const { return ____disposed_2; }
inline bool* get_address_of__disposed_2() { return &____disposed_2; }
inline void set__disposed_2(bool value)
{
____disposed_2 = value;
}
inline static int32_t get_offset_of__challenge_3() { return static_cast<int32_t>(offsetof(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B, ____challenge_3)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__challenge_3() const { return ____challenge_3; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__challenge_3() { return &____challenge_3; }
inline void set__challenge_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____challenge_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____challenge_3), (void*)value);
}
inline static int32_t get_offset_of__lmpwd_4() { return static_cast<int32_t>(offsetof(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B, ____lmpwd_4)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__lmpwd_4() const { return ____lmpwd_4; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__lmpwd_4() { return &____lmpwd_4; }
inline void set__lmpwd_4(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____lmpwd_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____lmpwd_4), (void*)value);
}
inline static int32_t get_offset_of__ntpwd_5() { return static_cast<int32_t>(offsetof(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B, ____ntpwd_5)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__ntpwd_5() const { return ____ntpwd_5; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__ntpwd_5() { return &____ntpwd_5; }
inline void set__ntpwd_5(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____ntpwd_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____ntpwd_5), (void*)value);
}
};
struct ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_StaticFields
{
public:
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::magic
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___magic_0;
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::nullEncMagic
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___nullEncMagic_1;
public:
inline static int32_t get_offset_of_magic_0() { return static_cast<int32_t>(offsetof(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_StaticFields, ___magic_0)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_magic_0() const { return ___magic_0; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_magic_0() { return &___magic_0; }
inline void set_magic_0(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___magic_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___magic_0), (void*)value);
}
inline static int32_t get_offset_of_nullEncMagic_1() { return static_cast<int32_t>(offsetof(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_StaticFields, ___nullEncMagic_1)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_nullEncMagic_1() const { return ___nullEncMagic_1; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_nullEncMagic_1() { return &___nullEncMagic_1; }
inline void set_nullEncMagic_1(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___nullEncMagic_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___nullEncMagic_1), (void*)value);
}
};
// Mono.Security.Protocol.Ntlm.ChallengeResponse2
struct ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77 : public RuntimeObject
{
public:
public:
};
struct ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_StaticFields
{
public:
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::magic
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___magic_0;
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::nullEncMagic
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___nullEncMagic_1;
public:
inline static int32_t get_offset_of_magic_0() { return static_cast<int32_t>(offsetof(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_StaticFields, ___magic_0)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_magic_0() const { return ___magic_0; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_magic_0() { return &___magic_0; }
inline void set_magic_0(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___magic_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___magic_0), (void*)value);
}
inline static int32_t get_offset_of_nullEncMagic_1() { return static_cast<int32_t>(offsetof(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_StaticFields, ___nullEncMagic_1)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_nullEncMagic_1() const { return ___nullEncMagic_1; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_nullEncMagic_1() { return &___nullEncMagic_1; }
inline void set_nullEncMagic_1(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___nullEncMagic_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___nullEncMagic_1), (void*)value);
}
};
// Mono.Security.X509.PKCS12
struct PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C : public RuntimeObject
{
public:
// System.Byte[] Mono.Security.X509.PKCS12::_password
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____password_0;
// System.Collections.ArrayList Mono.Security.X509.PKCS12::_keyBags
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * ____keyBags_1;
// System.Collections.ArrayList Mono.Security.X509.PKCS12::_secretBags
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * ____secretBags_2;
// Mono.Security.X509.X509CertificateCollection Mono.Security.X509.PKCS12::_certs
X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * ____certs_3;
// System.Boolean Mono.Security.X509.PKCS12::_keyBagsChanged
bool ____keyBagsChanged_4;
// System.Boolean Mono.Security.X509.PKCS12::_secretBagsChanged
bool ____secretBagsChanged_5;
// System.Boolean Mono.Security.X509.PKCS12::_certsChanged
bool ____certsChanged_6;
// System.Int32 Mono.Security.X509.PKCS12::_iterations
int32_t ____iterations_7;
// System.Collections.ArrayList Mono.Security.X509.PKCS12::_safeBags
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * ____safeBags_8;
// System.Security.Cryptography.RandomNumberGenerator Mono.Security.X509.PKCS12::_rng
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * ____rng_9;
public:
inline static int32_t get_offset_of__password_0() { return static_cast<int32_t>(offsetof(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C, ____password_0)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__password_0() const { return ____password_0; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__password_0() { return &____password_0; }
inline void set__password_0(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____password_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____password_0), (void*)value);
}
inline static int32_t get_offset_of__keyBags_1() { return static_cast<int32_t>(offsetof(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C, ____keyBags_1)); }
inline ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * get__keyBags_1() const { return ____keyBags_1; }
inline ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 ** get_address_of__keyBags_1() { return &____keyBags_1; }
inline void set__keyBags_1(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * value)
{
____keyBags_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____keyBags_1), (void*)value);
}
inline static int32_t get_offset_of__secretBags_2() { return static_cast<int32_t>(offsetof(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C, ____secretBags_2)); }
inline ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * get__secretBags_2() const { return ____secretBags_2; }
inline ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 ** get_address_of__secretBags_2() { return &____secretBags_2; }
inline void set__secretBags_2(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * value)
{
____secretBags_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____secretBags_2), (void*)value);
}
inline static int32_t get_offset_of__certs_3() { return static_cast<int32_t>(offsetof(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C, ____certs_3)); }
inline X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * get__certs_3() const { return ____certs_3; }
inline X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A ** get_address_of__certs_3() { return &____certs_3; }
inline void set__certs_3(X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * value)
{
____certs_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____certs_3), (void*)value);
}
inline static int32_t get_offset_of__keyBagsChanged_4() { return static_cast<int32_t>(offsetof(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C, ____keyBagsChanged_4)); }
inline bool get__keyBagsChanged_4() const { return ____keyBagsChanged_4; }
inline bool* get_address_of__keyBagsChanged_4() { return &____keyBagsChanged_4; }
inline void set__keyBagsChanged_4(bool value)
{
____keyBagsChanged_4 = value;
}
inline static int32_t get_offset_of__secretBagsChanged_5() { return static_cast<int32_t>(offsetof(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C, ____secretBagsChanged_5)); }
inline bool get__secretBagsChanged_5() const { return ____secretBagsChanged_5; }
inline bool* get_address_of__secretBagsChanged_5() { return &____secretBagsChanged_5; }
inline void set__secretBagsChanged_5(bool value)
{
____secretBagsChanged_5 = value;
}
inline static int32_t get_offset_of__certsChanged_6() { return static_cast<int32_t>(offsetof(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C, ____certsChanged_6)); }
inline bool get__certsChanged_6() const { return ____certsChanged_6; }
inline bool* get_address_of__certsChanged_6() { return &____certsChanged_6; }
inline void set__certsChanged_6(bool value)
{
____certsChanged_6 = value;
}
inline static int32_t get_offset_of__iterations_7() { return static_cast<int32_t>(offsetof(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C, ____iterations_7)); }
inline int32_t get__iterations_7() const { return ____iterations_7; }
inline int32_t* get_address_of__iterations_7() { return &____iterations_7; }
inline void set__iterations_7(int32_t value)
{
____iterations_7 = value;
}
inline static int32_t get_offset_of__safeBags_8() { return static_cast<int32_t>(offsetof(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C, ____safeBags_8)); }
inline ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * get__safeBags_8() const { return ____safeBags_8; }
inline ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 ** get_address_of__safeBags_8() { return &____safeBags_8; }
inline void set__safeBags_8(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * value)
{
____safeBags_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____safeBags_8), (void*)value);
}
inline static int32_t get_offset_of__rng_9() { return static_cast<int32_t>(offsetof(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C, ____rng_9)); }
inline RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * get__rng_9() const { return ____rng_9; }
inline RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 ** get_address_of__rng_9() { return &____rng_9; }
inline void set__rng_9(RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * value)
{
____rng_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____rng_9), (void*)value);
}
};
struct PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_StaticFields
{
public:
// System.Int32 Mono.Security.X509.PKCS12::password_max_length
int32_t ___password_max_length_10;
public:
inline static int32_t get_offset_of_password_max_length_10() { return static_cast<int32_t>(offsetof(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_StaticFields, ___password_max_length_10)); }
inline int32_t get_password_max_length_10() const { return ___password_max_length_10; }
inline int32_t* get_address_of_password_max_length_10() { return &___password_max_length_10; }
inline void set_password_max_length_10(int32_t value)
{
___password_max_length_10 = value;
}
};
// Mono.Security.X509.PKCS12_DeriveBytes
struct DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D : public RuntimeObject
{
public:
// System.String Mono.Security.X509.PKCS12_DeriveBytes::_hashName
String_t* ____hashName_3;
// System.Int32 Mono.Security.X509.PKCS12_DeriveBytes::_iterations
int32_t ____iterations_4;
// System.Byte[] Mono.Security.X509.PKCS12_DeriveBytes::_password
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____password_5;
// System.Byte[] Mono.Security.X509.PKCS12_DeriveBytes::_salt
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____salt_6;
public:
inline static int32_t get_offset_of__hashName_3() { return static_cast<int32_t>(offsetof(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D, ____hashName_3)); }
inline String_t* get__hashName_3() const { return ____hashName_3; }
inline String_t** get_address_of__hashName_3() { return &____hashName_3; }
inline void set__hashName_3(String_t* value)
{
____hashName_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____hashName_3), (void*)value);
}
inline static int32_t get_offset_of__iterations_4() { return static_cast<int32_t>(offsetof(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D, ____iterations_4)); }
inline int32_t get__iterations_4() const { return ____iterations_4; }
inline int32_t* get_address_of__iterations_4() { return &____iterations_4; }
inline void set__iterations_4(int32_t value)
{
____iterations_4 = value;
}
inline static int32_t get_offset_of__password_5() { return static_cast<int32_t>(offsetof(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D, ____password_5)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__password_5() const { return ____password_5; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__password_5() { return &____password_5; }
inline void set__password_5(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____password_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____password_5), (void*)value);
}
inline static int32_t get_offset_of__salt_6() { return static_cast<int32_t>(offsetof(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D, ____salt_6)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__salt_6() const { return ____salt_6; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__salt_6() { return &____salt_6; }
inline void set__salt_6(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____salt_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____salt_6), (void*)value);
}
};
struct DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_StaticFields
{
public:
// System.Byte[] Mono.Security.X509.PKCS12_DeriveBytes::keyDiversifier
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___keyDiversifier_0;
// System.Byte[] Mono.Security.X509.PKCS12_DeriveBytes::ivDiversifier
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___ivDiversifier_1;
// System.Byte[] Mono.Security.X509.PKCS12_DeriveBytes::macDiversifier
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___macDiversifier_2;
public:
inline static int32_t get_offset_of_keyDiversifier_0() { return static_cast<int32_t>(offsetof(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_StaticFields, ___keyDiversifier_0)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_keyDiversifier_0() const { return ___keyDiversifier_0; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_keyDiversifier_0() { return &___keyDiversifier_0; }
inline void set_keyDiversifier_0(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___keyDiversifier_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keyDiversifier_0), (void*)value);
}
inline static int32_t get_offset_of_ivDiversifier_1() { return static_cast<int32_t>(offsetof(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_StaticFields, ___ivDiversifier_1)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_ivDiversifier_1() const { return ___ivDiversifier_1; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_ivDiversifier_1() { return &___ivDiversifier_1; }
inline void set_ivDiversifier_1(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___ivDiversifier_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ivDiversifier_1), (void*)value);
}
inline static int32_t get_offset_of_macDiversifier_2() { return static_cast<int32_t>(offsetof(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_StaticFields, ___macDiversifier_2)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_macDiversifier_2() const { return ___macDiversifier_2; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_macDiversifier_2() { return &___macDiversifier_2; }
inline void set_macDiversifier_2(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___macDiversifier_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___macDiversifier_2), (void*)value);
}
};
// Mono.Security.X509.SafeBag
struct SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 : public RuntimeObject
{
public:
// System.String Mono.Security.X509.SafeBag::_bagOID
String_t* ____bagOID_0;
// Mono.Security.ASN1 Mono.Security.X509.SafeBag::_asn1
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ____asn1_1;
public:
inline static int32_t get_offset_of__bagOID_0() { return static_cast<int32_t>(offsetof(SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726, ____bagOID_0)); }
inline String_t* get__bagOID_0() const { return ____bagOID_0; }
inline String_t** get_address_of__bagOID_0() { return &____bagOID_0; }
inline void set__bagOID_0(String_t* value)
{
____bagOID_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____bagOID_0), (void*)value);
}
inline static int32_t get_offset_of__asn1_1() { return static_cast<int32_t>(offsetof(SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726, ____asn1_1)); }
inline ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * get__asn1_1() const { return ____asn1_1; }
inline ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E ** get_address_of__asn1_1() { return &____asn1_1; }
inline void set__asn1_1(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * value)
{
____asn1_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____asn1_1), (void*)value);
}
};
// Mono.Security.X509.X509CertificateCollection_X509CertificateEnumerator
struct X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 : public RuntimeObject
{
public:
// System.Collections.IEnumerator Mono.Security.X509.X509CertificateCollection_X509CertificateEnumerator::enumerator
RuntimeObject* ___enumerator_0;
public:
inline static int32_t get_offset_of_enumerator_0() { return static_cast<int32_t>(offsetof(X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505, ___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((void**)(&___enumerator_0), (void*)value);
}
};
struct Il2CppArrayBounds;
// System.Array
// System.BitConverter
struct BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE : public RuntimeObject
{
public:
public:
};
struct BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_StaticFields
{
public:
// System.Boolean System.BitConverter::IsLittleEndian
bool ___IsLittleEndian_0;
public:
inline static int32_t get_offset_of_IsLittleEndian_0() { return static_cast<int32_t>(offsetof(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_StaticFields, ___IsLittleEndian_0)); }
inline bool get_IsLittleEndian_0() const { return ___IsLittleEndian_0; }
inline bool* get_address_of_IsLittleEndian_0() { return &___IsLittleEndian_0; }
inline void set_IsLittleEndian_0(bool value)
{
___IsLittleEndian_0 = value;
}
};
// System.Collections.ArrayList
struct ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 : public RuntimeObject
{
public:
// System.Object[] System.Collections.ArrayList::_items
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ____items_0;
// System.Int32 System.Collections.ArrayList::_size
int32_t ____size_1;
// System.Int32 System.Collections.ArrayList::_version
int32_t ____version_2;
// System.Object System.Collections.ArrayList::_syncRoot
RuntimeObject * ____syncRoot_3;
public:
inline static int32_t get_offset_of__items_0() { return static_cast<int32_t>(offsetof(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4, ____items_0)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get__items_0() const { return ____items_0; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of__items_0() { return &____items_0; }
inline void set__items_0(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
____items_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____items_0), (void*)value);
}
inline static int32_t get_offset_of__size_1() { return static_cast<int32_t>(offsetof(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4, ____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__version_2() { return static_cast<int32_t>(offsetof(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4, ____version_2)); }
inline int32_t get__version_2() const { return ____version_2; }
inline int32_t* get_address_of__version_2() { return &____version_2; }
inline void set__version_2(int32_t value)
{
____version_2 = value;
}
inline static int32_t get_offset_of__syncRoot_3() { return static_cast<int32_t>(offsetof(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4, ____syncRoot_3)); }
inline RuntimeObject * get__syncRoot_3() const { return ____syncRoot_3; }
inline RuntimeObject ** get_address_of__syncRoot_3() { return &____syncRoot_3; }
inline void set__syncRoot_3(RuntimeObject * value)
{
____syncRoot_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_3), (void*)value);
}
};
struct ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_StaticFields
{
public:
// System.Object[] System.Collections.ArrayList::emptyArray
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___emptyArray_4;
public:
inline static int32_t get_offset_of_emptyArray_4() { return static_cast<int32_t>(offsetof(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_StaticFields, ___emptyArray_4)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get_emptyArray_4() const { return ___emptyArray_4; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of_emptyArray_4() { return &___emptyArray_4; }
inline void set_emptyArray_4(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
___emptyArray_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___emptyArray_4), (void*)value);
}
};
// System.Collections.CollectionBase
struct CollectionBase_tF5D4583FF325726066A9803839A04E9C0084ED01 : public RuntimeObject
{
public:
// System.Collections.ArrayList System.Collections.CollectionBase::list
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * ___list_0;
public:
inline static int32_t get_offset_of_list_0() { return static_cast<int32_t>(offsetof(CollectionBase_tF5D4583FF325726066A9803839A04E9C0084ED01, ___list_0)); }
inline ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * get_list_0() const { return ___list_0; }
inline ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 ** get_address_of_list_0() { return &___list_0; }
inline void set_list_0(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * value)
{
___list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___list_0), (void*)value);
}
};
// System.EmptyArray`1<System.Object>
struct EmptyArray_1_tCF137C88A5824F413EFB5A2F31664D8207E61D26 : public RuntimeObject
{
public:
public:
};
struct EmptyArray_1_tCF137C88A5824F413EFB5A2F31664D8207E61D26_StaticFields
{
public:
// T[] System.EmptyArray`1::Value
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___Value_0;
public:
inline static int32_t get_offset_of_Value_0() { return static_cast<int32_t>(offsetof(EmptyArray_1_tCF137C88A5824F413EFB5A2F31664D8207E61D26_StaticFields, ___Value_0)); }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* get_Value_0() const { return ___Value_0; }
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A** get_address_of_Value_0() { return &___Value_0; }
inline void set_Value_0(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* value)
{
___Value_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Value_0), (void*)value);
}
};
// System.EventArgs
struct EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E : public RuntimeObject
{
public:
public:
};
struct EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E_StaticFields
{
public:
// System.EventArgs System.EventArgs::Empty
EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * ___Empty_0;
public:
inline static int32_t get_offset_of_Empty_0() { return static_cast<int32_t>(offsetof(EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E_StaticFields, ___Empty_0)); }
inline EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * get_Empty_0() const { return ___Empty_0; }
inline EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E ** get_address_of_Empty_0() { return &___Empty_0; }
inline void set_Empty_0(EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * value)
{
___Empty_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Empty_0), (void*)value);
}
};
// System.Globalization.CultureInfo
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F : public RuntimeObject
{
public:
// System.Boolean System.Globalization.CultureInfo::m_isReadOnly
bool ___m_isReadOnly_3;
// System.Int32 System.Globalization.CultureInfo::cultureID
int32_t ___cultureID_4;
// System.Int32 System.Globalization.CultureInfo::parent_lcid
int32_t ___parent_lcid_5;
// System.Int32 System.Globalization.CultureInfo::datetime_index
int32_t ___datetime_index_6;
// System.Int32 System.Globalization.CultureInfo::number_index
int32_t ___number_index_7;
// System.Int32 System.Globalization.CultureInfo::default_calendar_type
int32_t ___default_calendar_type_8;
// System.Boolean System.Globalization.CultureInfo::m_useUserOverride
bool ___m_useUserOverride_9;
// System.Globalization.NumberFormatInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::numInfo
NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8 * ___numInfo_10;
// System.Globalization.DateTimeFormatInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::dateTimeInfo
DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F * ___dateTimeInfo_11;
// System.Globalization.TextInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::textInfo
TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8 * ___textInfo_12;
// System.String System.Globalization.CultureInfo::m_name
String_t* ___m_name_13;
// System.String System.Globalization.CultureInfo::englishname
String_t* ___englishname_14;
// System.String System.Globalization.CultureInfo::nativename
String_t* ___nativename_15;
// System.String System.Globalization.CultureInfo::iso3lang
String_t* ___iso3lang_16;
// System.String System.Globalization.CultureInfo::iso2lang
String_t* ___iso2lang_17;
// System.String System.Globalization.CultureInfo::win3lang
String_t* ___win3lang_18;
// System.String System.Globalization.CultureInfo::territory
String_t* ___territory_19;
// System.String[] System.Globalization.CultureInfo::native_calendar_names
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* ___native_calendar_names_20;
// System.Globalization.CompareInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::compareInfo
CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 * ___compareInfo_21;
// System.Void* System.Globalization.CultureInfo::textinfo_data
void* ___textinfo_data_22;
// System.Int32 System.Globalization.CultureInfo::m_dataItem
int32_t ___m_dataItem_23;
// System.Globalization.Calendar System.Globalization.CultureInfo::calendar
Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 * ___calendar_24;
// System.Globalization.CultureInfo System.Globalization.CultureInfo::parent_culture
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___parent_culture_25;
// System.Boolean System.Globalization.CultureInfo::constructed
bool ___constructed_26;
// System.Byte[] System.Globalization.CultureInfo::cached_serialized_form
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___cached_serialized_form_27;
// System.Globalization.CultureData System.Globalization.CultureInfo::m_cultureData
CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD * ___m_cultureData_28;
// System.Boolean System.Globalization.CultureInfo::m_isInherited
bool ___m_isInherited_29;
public:
inline static int32_t get_offset_of_m_isReadOnly_3() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___m_isReadOnly_3)); }
inline bool get_m_isReadOnly_3() const { return ___m_isReadOnly_3; }
inline bool* get_address_of_m_isReadOnly_3() { return &___m_isReadOnly_3; }
inline void set_m_isReadOnly_3(bool value)
{
___m_isReadOnly_3 = value;
}
inline static int32_t get_offset_of_cultureID_4() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___cultureID_4)); }
inline int32_t get_cultureID_4() const { return ___cultureID_4; }
inline int32_t* get_address_of_cultureID_4() { return &___cultureID_4; }
inline void set_cultureID_4(int32_t value)
{
___cultureID_4 = value;
}
inline static int32_t get_offset_of_parent_lcid_5() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___parent_lcid_5)); }
inline int32_t get_parent_lcid_5() const { return ___parent_lcid_5; }
inline int32_t* get_address_of_parent_lcid_5() { return &___parent_lcid_5; }
inline void set_parent_lcid_5(int32_t value)
{
___parent_lcid_5 = value;
}
inline static int32_t get_offset_of_datetime_index_6() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___datetime_index_6)); }
inline int32_t get_datetime_index_6() const { return ___datetime_index_6; }
inline int32_t* get_address_of_datetime_index_6() { return &___datetime_index_6; }
inline void set_datetime_index_6(int32_t value)
{
___datetime_index_6 = value;
}
inline static int32_t get_offset_of_number_index_7() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___number_index_7)); }
inline int32_t get_number_index_7() const { return ___number_index_7; }
inline int32_t* get_address_of_number_index_7() { return &___number_index_7; }
inline void set_number_index_7(int32_t value)
{
___number_index_7 = value;
}
inline static int32_t get_offset_of_default_calendar_type_8() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___default_calendar_type_8)); }
inline int32_t get_default_calendar_type_8() const { return ___default_calendar_type_8; }
inline int32_t* get_address_of_default_calendar_type_8() { return &___default_calendar_type_8; }
inline void set_default_calendar_type_8(int32_t value)
{
___default_calendar_type_8 = value;
}
inline static int32_t get_offset_of_m_useUserOverride_9() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___m_useUserOverride_9)); }
inline bool get_m_useUserOverride_9() const { return ___m_useUserOverride_9; }
inline bool* get_address_of_m_useUserOverride_9() { return &___m_useUserOverride_9; }
inline void set_m_useUserOverride_9(bool value)
{
___m_useUserOverride_9 = value;
}
inline static int32_t get_offset_of_numInfo_10() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___numInfo_10)); }
inline NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8 * get_numInfo_10() const { return ___numInfo_10; }
inline NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8 ** get_address_of_numInfo_10() { return &___numInfo_10; }
inline void set_numInfo_10(NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8 * value)
{
___numInfo_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___numInfo_10), (void*)value);
}
inline static int32_t get_offset_of_dateTimeInfo_11() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___dateTimeInfo_11)); }
inline DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F * get_dateTimeInfo_11() const { return ___dateTimeInfo_11; }
inline DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F ** get_address_of_dateTimeInfo_11() { return &___dateTimeInfo_11; }
inline void set_dateTimeInfo_11(DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F * value)
{
___dateTimeInfo_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dateTimeInfo_11), (void*)value);
}
inline static int32_t get_offset_of_textInfo_12() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___textInfo_12)); }
inline TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8 * get_textInfo_12() const { return ___textInfo_12; }
inline TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8 ** get_address_of_textInfo_12() { return &___textInfo_12; }
inline void set_textInfo_12(TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8 * value)
{
___textInfo_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___textInfo_12), (void*)value);
}
inline static int32_t get_offset_of_m_name_13() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___m_name_13)); }
inline String_t* get_m_name_13() const { return ___m_name_13; }
inline String_t** get_address_of_m_name_13() { return &___m_name_13; }
inline void set_m_name_13(String_t* value)
{
___m_name_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_name_13), (void*)value);
}
inline static int32_t get_offset_of_englishname_14() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___englishname_14)); }
inline String_t* get_englishname_14() const { return ___englishname_14; }
inline String_t** get_address_of_englishname_14() { return &___englishname_14; }
inline void set_englishname_14(String_t* value)
{
___englishname_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___englishname_14), (void*)value);
}
inline static int32_t get_offset_of_nativename_15() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___nativename_15)); }
inline String_t* get_nativename_15() const { return ___nativename_15; }
inline String_t** get_address_of_nativename_15() { return &___nativename_15; }
inline void set_nativename_15(String_t* value)
{
___nativename_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___nativename_15), (void*)value);
}
inline static int32_t get_offset_of_iso3lang_16() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___iso3lang_16)); }
inline String_t* get_iso3lang_16() const { return ___iso3lang_16; }
inline String_t** get_address_of_iso3lang_16() { return &___iso3lang_16; }
inline void set_iso3lang_16(String_t* value)
{
___iso3lang_16 = value;
Il2CppCodeGenWriteBarrier((void**)(&___iso3lang_16), (void*)value);
}
inline static int32_t get_offset_of_iso2lang_17() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___iso2lang_17)); }
inline String_t* get_iso2lang_17() const { return ___iso2lang_17; }
inline String_t** get_address_of_iso2lang_17() { return &___iso2lang_17; }
inline void set_iso2lang_17(String_t* value)
{
___iso2lang_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___iso2lang_17), (void*)value);
}
inline static int32_t get_offset_of_win3lang_18() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___win3lang_18)); }
inline String_t* get_win3lang_18() const { return ___win3lang_18; }
inline String_t** get_address_of_win3lang_18() { return &___win3lang_18; }
inline void set_win3lang_18(String_t* value)
{
___win3lang_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___win3lang_18), (void*)value);
}
inline static int32_t get_offset_of_territory_19() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___territory_19)); }
inline String_t* get_territory_19() const { return ___territory_19; }
inline String_t** get_address_of_territory_19() { return &___territory_19; }
inline void set_territory_19(String_t* value)
{
___territory_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___territory_19), (void*)value);
}
inline static int32_t get_offset_of_native_calendar_names_20() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___native_calendar_names_20)); }
inline StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* get_native_calendar_names_20() const { return ___native_calendar_names_20; }
inline StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E** get_address_of_native_calendar_names_20() { return &___native_calendar_names_20; }
inline void set_native_calendar_names_20(StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* value)
{
___native_calendar_names_20 = value;
Il2CppCodeGenWriteBarrier((void**)(&___native_calendar_names_20), (void*)value);
}
inline static int32_t get_offset_of_compareInfo_21() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___compareInfo_21)); }
inline CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 * get_compareInfo_21() const { return ___compareInfo_21; }
inline CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 ** get_address_of_compareInfo_21() { return &___compareInfo_21; }
inline void set_compareInfo_21(CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 * value)
{
___compareInfo_21 = value;
Il2CppCodeGenWriteBarrier((void**)(&___compareInfo_21), (void*)value);
}
inline static int32_t get_offset_of_textinfo_data_22() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___textinfo_data_22)); }
inline void* get_textinfo_data_22() const { return ___textinfo_data_22; }
inline void** get_address_of_textinfo_data_22() { return &___textinfo_data_22; }
inline void set_textinfo_data_22(void* value)
{
___textinfo_data_22 = value;
}
inline static int32_t get_offset_of_m_dataItem_23() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___m_dataItem_23)); }
inline int32_t get_m_dataItem_23() const { return ___m_dataItem_23; }
inline int32_t* get_address_of_m_dataItem_23() { return &___m_dataItem_23; }
inline void set_m_dataItem_23(int32_t value)
{
___m_dataItem_23 = value;
}
inline static int32_t get_offset_of_calendar_24() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___calendar_24)); }
inline Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 * get_calendar_24() const { return ___calendar_24; }
inline Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 ** get_address_of_calendar_24() { return &___calendar_24; }
inline void set_calendar_24(Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 * value)
{
___calendar_24 = value;
Il2CppCodeGenWriteBarrier((void**)(&___calendar_24), (void*)value);
}
inline static int32_t get_offset_of_parent_culture_25() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___parent_culture_25)); }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * get_parent_culture_25() const { return ___parent_culture_25; }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F ** get_address_of_parent_culture_25() { return &___parent_culture_25; }
inline void set_parent_culture_25(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * value)
{
___parent_culture_25 = value;
Il2CppCodeGenWriteBarrier((void**)(&___parent_culture_25), (void*)value);
}
inline static int32_t get_offset_of_constructed_26() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___constructed_26)); }
inline bool get_constructed_26() const { return ___constructed_26; }
inline bool* get_address_of_constructed_26() { return &___constructed_26; }
inline void set_constructed_26(bool value)
{
___constructed_26 = value;
}
inline static int32_t get_offset_of_cached_serialized_form_27() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___cached_serialized_form_27)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_cached_serialized_form_27() const { return ___cached_serialized_form_27; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_cached_serialized_form_27() { return &___cached_serialized_form_27; }
inline void set_cached_serialized_form_27(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___cached_serialized_form_27 = value;
Il2CppCodeGenWriteBarrier((void**)(&___cached_serialized_form_27), (void*)value);
}
inline static int32_t get_offset_of_m_cultureData_28() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___m_cultureData_28)); }
inline CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD * get_m_cultureData_28() const { return ___m_cultureData_28; }
inline CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD ** get_address_of_m_cultureData_28() { return &___m_cultureData_28; }
inline void set_m_cultureData_28(CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD * value)
{
___m_cultureData_28 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_cultureData_28), (void*)value);
}
inline static int32_t get_offset_of_m_isInherited_29() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F, ___m_isInherited_29)); }
inline bool get_m_isInherited_29() const { return ___m_isInherited_29; }
inline bool* get_address_of_m_isInherited_29() { return &___m_isInherited_29; }
inline void set_m_isInherited_29(bool value)
{
___m_isInherited_29 = value;
}
};
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields
{
public:
// System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::invariant_culture_info
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___invariant_culture_info_0;
// System.Object System.Globalization.CultureInfo::shared_table_lock
RuntimeObject * ___shared_table_lock_1;
// System.Globalization.CultureInfo System.Globalization.CultureInfo::default_current_culture
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___default_current_culture_2;
// System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::s_DefaultThreadCurrentUICulture
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___s_DefaultThreadCurrentUICulture_33;
// System.Globalization.CultureInfo modreq(System.Runtime.CompilerServices.IsVolatile) System.Globalization.CultureInfo::s_DefaultThreadCurrentCulture
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___s_DefaultThreadCurrentCulture_34;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Globalization.CultureInfo> System.Globalization.CultureInfo::shared_by_number
Dictionary_2_tC88A56872F7C79DBB9582D4F3FC22ED5D8E0B98B * ___shared_by_number_35;
// System.Collections.Generic.Dictionary`2<System.String,System.Globalization.CultureInfo> System.Globalization.CultureInfo::shared_by_name
Dictionary_2_tBA5388DBB42BF620266F9A48E8B859BBBB224E25 * ___shared_by_name_36;
// System.Boolean System.Globalization.CultureInfo::IsTaiwanSku
bool ___IsTaiwanSku_37;
public:
inline static int32_t get_offset_of_invariant_culture_info_0() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___invariant_culture_info_0)); }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * get_invariant_culture_info_0() const { return ___invariant_culture_info_0; }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F ** get_address_of_invariant_culture_info_0() { return &___invariant_culture_info_0; }
inline void set_invariant_culture_info_0(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * value)
{
___invariant_culture_info_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___invariant_culture_info_0), (void*)value);
}
inline static int32_t get_offset_of_shared_table_lock_1() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___shared_table_lock_1)); }
inline RuntimeObject * get_shared_table_lock_1() const { return ___shared_table_lock_1; }
inline RuntimeObject ** get_address_of_shared_table_lock_1() { return &___shared_table_lock_1; }
inline void set_shared_table_lock_1(RuntimeObject * value)
{
___shared_table_lock_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___shared_table_lock_1), (void*)value);
}
inline static int32_t get_offset_of_default_current_culture_2() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___default_current_culture_2)); }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * get_default_current_culture_2() const { return ___default_current_culture_2; }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F ** get_address_of_default_current_culture_2() { return &___default_current_culture_2; }
inline void set_default_current_culture_2(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * value)
{
___default_current_culture_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___default_current_culture_2), (void*)value);
}
inline static int32_t get_offset_of_s_DefaultThreadCurrentUICulture_33() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___s_DefaultThreadCurrentUICulture_33)); }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * get_s_DefaultThreadCurrentUICulture_33() const { return ___s_DefaultThreadCurrentUICulture_33; }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F ** get_address_of_s_DefaultThreadCurrentUICulture_33() { return &___s_DefaultThreadCurrentUICulture_33; }
inline void set_s_DefaultThreadCurrentUICulture_33(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * value)
{
___s_DefaultThreadCurrentUICulture_33 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_DefaultThreadCurrentUICulture_33), (void*)value);
}
inline static int32_t get_offset_of_s_DefaultThreadCurrentCulture_34() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___s_DefaultThreadCurrentCulture_34)); }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * get_s_DefaultThreadCurrentCulture_34() const { return ___s_DefaultThreadCurrentCulture_34; }
inline CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F ** get_address_of_s_DefaultThreadCurrentCulture_34() { return &___s_DefaultThreadCurrentCulture_34; }
inline void set_s_DefaultThreadCurrentCulture_34(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * value)
{
___s_DefaultThreadCurrentCulture_34 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_DefaultThreadCurrentCulture_34), (void*)value);
}
inline static int32_t get_offset_of_shared_by_number_35() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___shared_by_number_35)); }
inline Dictionary_2_tC88A56872F7C79DBB9582D4F3FC22ED5D8E0B98B * get_shared_by_number_35() const { return ___shared_by_number_35; }
inline Dictionary_2_tC88A56872F7C79DBB9582D4F3FC22ED5D8E0B98B ** get_address_of_shared_by_number_35() { return &___shared_by_number_35; }
inline void set_shared_by_number_35(Dictionary_2_tC88A56872F7C79DBB9582D4F3FC22ED5D8E0B98B * value)
{
___shared_by_number_35 = value;
Il2CppCodeGenWriteBarrier((void**)(&___shared_by_number_35), (void*)value);
}
inline static int32_t get_offset_of_shared_by_name_36() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___shared_by_name_36)); }
inline Dictionary_2_tBA5388DBB42BF620266F9A48E8B859BBBB224E25 * get_shared_by_name_36() const { return ___shared_by_name_36; }
inline Dictionary_2_tBA5388DBB42BF620266F9A48E8B859BBBB224E25 ** get_address_of_shared_by_name_36() { return &___shared_by_name_36; }
inline void set_shared_by_name_36(Dictionary_2_tBA5388DBB42BF620266F9A48E8B859BBBB224E25 * value)
{
___shared_by_name_36 = value;
Il2CppCodeGenWriteBarrier((void**)(&___shared_by_name_36), (void*)value);
}
inline static int32_t get_offset_of_IsTaiwanSku_37() { return static_cast<int32_t>(offsetof(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_StaticFields, ___IsTaiwanSku_37)); }
inline bool get_IsTaiwanSku_37() const { return ___IsTaiwanSku_37; }
inline bool* get_address_of_IsTaiwanSku_37() { return &___IsTaiwanSku_37; }
inline void set_IsTaiwanSku_37(bool value)
{
___IsTaiwanSku_37 = value;
}
};
// Native definition for P/Invoke marshalling of System.Globalization.CultureInfo
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_pinvoke
{
int32_t ___m_isReadOnly_3;
int32_t ___cultureID_4;
int32_t ___parent_lcid_5;
int32_t ___datetime_index_6;
int32_t ___number_index_7;
int32_t ___default_calendar_type_8;
int32_t ___m_useUserOverride_9;
NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8 * ___numInfo_10;
DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F * ___dateTimeInfo_11;
TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8 * ___textInfo_12;
char* ___m_name_13;
char* ___englishname_14;
char* ___nativename_15;
char* ___iso3lang_16;
char* ___iso2lang_17;
char* ___win3lang_18;
char* ___territory_19;
char** ___native_calendar_names_20;
CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 * ___compareInfo_21;
void* ___textinfo_data_22;
int32_t ___m_dataItem_23;
Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 * ___calendar_24;
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_pinvoke* ___parent_culture_25;
int32_t ___constructed_26;
Il2CppSafeArray/*NONE*/* ___cached_serialized_form_27;
CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD_marshaled_pinvoke* ___m_cultureData_28;
int32_t ___m_isInherited_29;
};
// Native definition for COM marshalling of System.Globalization.CultureInfo
struct CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_com
{
int32_t ___m_isReadOnly_3;
int32_t ___cultureID_4;
int32_t ___parent_lcid_5;
int32_t ___datetime_index_6;
int32_t ___number_index_7;
int32_t ___default_calendar_type_8;
int32_t ___m_useUserOverride_9;
NumberFormatInfo_tFDF57037EBC5BC833D0A53EF0327B805994860A8 * ___numInfo_10;
DateTimeFormatInfo_tF4BB3AA482C2F772D2A9022F78BF8727830FAF5F * ___dateTimeInfo_11;
TextInfo_t5F1E697CB6A7E5EC80F0DC3A968B9B4A70C291D8 * ___textInfo_12;
Il2CppChar* ___m_name_13;
Il2CppChar* ___englishname_14;
Il2CppChar* ___nativename_15;
Il2CppChar* ___iso3lang_16;
Il2CppChar* ___iso2lang_17;
Il2CppChar* ___win3lang_18;
Il2CppChar* ___territory_19;
Il2CppChar** ___native_calendar_names_20;
CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 * ___compareInfo_21;
void* ___textinfo_data_22;
int32_t ___m_dataItem_23;
Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 * ___calendar_24;
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_com* ___parent_culture_25;
int32_t ___constructed_26;
Il2CppSafeArray/*NONE*/* ___cached_serialized_form_27;
CultureData_tF43B080FFA6EB278F4F289BCDA3FB74B6C208ECD_marshaled_com* ___m_cultureData_28;
int32_t ___m_isInherited_29;
};
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
public:
public:
};
// System.Security.Cryptography.AsymmetricAlgorithm
struct AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB : public RuntimeObject
{
public:
// System.Int32 System.Security.Cryptography.AsymmetricAlgorithm::KeySizeValue
int32_t ___KeySizeValue_0;
// System.Security.Cryptography.KeySizes[] System.Security.Cryptography.AsymmetricAlgorithm::LegalKeySizesValue
KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* ___LegalKeySizesValue_1;
public:
inline static int32_t get_offset_of_KeySizeValue_0() { return static_cast<int32_t>(offsetof(AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB, ___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_t9F811260245370BD8786A849DBF9F8054F97F4CB, ___LegalKeySizesValue_1)); }
inline KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* get_LegalKeySizesValue_1() const { return ___LegalKeySizesValue_1; }
inline KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E** get_address_of_LegalKeySizesValue_1() { return &___LegalKeySizesValue_1; }
inline void set_LegalKeySizesValue_1(KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* value)
{
___LegalKeySizesValue_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___LegalKeySizesValue_1), (void*)value);
}
};
// System.Security.Cryptography.CspParameters
struct CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7 : public RuntimeObject
{
public:
// System.Int32 System.Security.Cryptography.CspParameters::ProviderType
int32_t ___ProviderType_0;
// System.String System.Security.Cryptography.CspParameters::ProviderName
String_t* ___ProviderName_1;
// System.String System.Security.Cryptography.CspParameters::KeyContainerName
String_t* ___KeyContainerName_2;
// System.Int32 System.Security.Cryptography.CspParameters::KeyNumber
int32_t ___KeyNumber_3;
// System.Int32 System.Security.Cryptography.CspParameters::m_flags
int32_t ___m_flags_4;
public:
inline static int32_t get_offset_of_ProviderType_0() { return static_cast<int32_t>(offsetof(CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7, ___ProviderType_0)); }
inline int32_t get_ProviderType_0() const { return ___ProviderType_0; }
inline int32_t* get_address_of_ProviderType_0() { return &___ProviderType_0; }
inline void set_ProviderType_0(int32_t value)
{
___ProviderType_0 = value;
}
inline static int32_t get_offset_of_ProviderName_1() { return static_cast<int32_t>(offsetof(CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7, ___ProviderName_1)); }
inline String_t* get_ProviderName_1() const { return ___ProviderName_1; }
inline String_t** get_address_of_ProviderName_1() { return &___ProviderName_1; }
inline void set_ProviderName_1(String_t* value)
{
___ProviderName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ProviderName_1), (void*)value);
}
inline static int32_t get_offset_of_KeyContainerName_2() { return static_cast<int32_t>(offsetof(CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7, ___KeyContainerName_2)); }
inline String_t* get_KeyContainerName_2() const { return ___KeyContainerName_2; }
inline String_t** get_address_of_KeyContainerName_2() { return &___KeyContainerName_2; }
inline void set_KeyContainerName_2(String_t* value)
{
___KeyContainerName_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___KeyContainerName_2), (void*)value);
}
inline static int32_t get_offset_of_KeyNumber_3() { return static_cast<int32_t>(offsetof(CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7, ___KeyNumber_3)); }
inline int32_t get_KeyNumber_3() const { return ___KeyNumber_3; }
inline int32_t* get_address_of_KeyNumber_3() { return &___KeyNumber_3; }
inline void set_KeyNumber_3(int32_t value)
{
___KeyNumber_3 = value;
}
inline static int32_t get_offset_of_m_flags_4() { return static_cast<int32_t>(offsetof(CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7, ___m_flags_4)); }
inline int32_t get_m_flags_4() const { return ___m_flags_4; }
inline int32_t* get_address_of_m_flags_4() { return &___m_flags_4; }
inline void set_m_flags_4(int32_t value)
{
___m_flags_4 = value;
}
};
// System.Security.Cryptography.HashAlgorithm
struct HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA : public RuntimeObject
{
public:
// System.Int32 System.Security.Cryptography.HashAlgorithm::HashSizeValue
int32_t ___HashSizeValue_0;
// System.Byte[] System.Security.Cryptography.HashAlgorithm::HashValue
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___HashValue_1;
// System.Int32 System.Security.Cryptography.HashAlgorithm::State
int32_t ___State_2;
// System.Boolean System.Security.Cryptography.HashAlgorithm::m_bDisposed
bool ___m_bDisposed_3;
public:
inline static int32_t get_offset_of_HashSizeValue_0() { return static_cast<int32_t>(offsetof(HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA, ___HashSizeValue_0)); }
inline int32_t get_HashSizeValue_0() const { return ___HashSizeValue_0; }
inline int32_t* get_address_of_HashSizeValue_0() { return &___HashSizeValue_0; }
inline void set_HashSizeValue_0(int32_t value)
{
___HashSizeValue_0 = value;
}
inline static int32_t get_offset_of_HashValue_1() { return static_cast<int32_t>(offsetof(HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA, ___HashValue_1)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_HashValue_1() const { return ___HashValue_1; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_HashValue_1() { return &___HashValue_1; }
inline void set_HashValue_1(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___HashValue_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___HashValue_1), (void*)value);
}
inline static int32_t get_offset_of_State_2() { return static_cast<int32_t>(offsetof(HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA, ___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_m_bDisposed_3() { return static_cast<int32_t>(offsetof(HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA, ___m_bDisposed_3)); }
inline bool get_m_bDisposed_3() const { return ___m_bDisposed_3; }
inline bool* get_address_of_m_bDisposed_3() { return &___m_bDisposed_3; }
inline void set_m_bDisposed_3(bool value)
{
___m_bDisposed_3 = value;
}
};
// System.Security.Cryptography.RandomNumberGenerator
struct RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 : public RuntimeObject
{
public:
public:
};
// System.Security.Cryptography.X509Certificates.X509Certificate
struct X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 : public RuntimeObject
{
public:
// System.Security.Cryptography.X509Certificates.X509CertificateImpl System.Security.Cryptography.X509Certificates.X509Certificate::impl
X509CertificateImpl_t89610BFDE87B872143A4623CFC7F17275EB48313 * ___impl_0;
// System.Boolean System.Security.Cryptography.X509Certificates.X509Certificate::hideDates
bool ___hideDates_1;
// System.String System.Security.Cryptography.X509Certificates.X509Certificate::issuer_name
String_t* ___issuer_name_2;
// System.String System.Security.Cryptography.X509Certificates.X509Certificate::subject_name
String_t* ___subject_name_3;
public:
inline static int32_t get_offset_of_impl_0() { return static_cast<int32_t>(offsetof(X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2, ___impl_0)); }
inline X509CertificateImpl_t89610BFDE87B872143A4623CFC7F17275EB48313 * get_impl_0() const { return ___impl_0; }
inline X509CertificateImpl_t89610BFDE87B872143A4623CFC7F17275EB48313 ** get_address_of_impl_0() { return &___impl_0; }
inline void set_impl_0(X509CertificateImpl_t89610BFDE87B872143A4623CFC7F17275EB48313 * value)
{
___impl_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___impl_0), (void*)value);
}
inline static int32_t get_offset_of_hideDates_1() { return static_cast<int32_t>(offsetof(X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2, ___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_issuer_name_2() { return static_cast<int32_t>(offsetof(X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2, ___issuer_name_2)); }
inline String_t* get_issuer_name_2() const { return ___issuer_name_2; }
inline String_t** get_address_of_issuer_name_2() { return &___issuer_name_2; }
inline void set_issuer_name_2(String_t* value)
{
___issuer_name_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___issuer_name_2), (void*)value);
}
inline static int32_t get_offset_of_subject_name_3() { return static_cast<int32_t>(offsetof(X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2, ___subject_name_3)); }
inline String_t* get_subject_name_3() const { return ___subject_name_3; }
inline String_t** get_address_of_subject_name_3() { return &___subject_name_3; }
inline void set_subject_name_3(String_t* value)
{
___subject_name_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___subject_name_3), (void*)value);
}
};
// System.Security.Cryptography.X509Certificates.X509Chain
struct X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 : public RuntimeObject
{
public:
// System.Security.Cryptography.X509Certificates.X509ChainImpl System.Security.Cryptography.X509Certificates.X509Chain::impl
X509ChainImpl_t34FABF07BEA0CFB6D88717BCDDE0607D9DA13A67 * ___impl_0;
public:
inline static int32_t get_offset_of_impl_0() { return static_cast<int32_t>(offsetof(X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538, ___impl_0)); }
inline X509ChainImpl_t34FABF07BEA0CFB6D88717BCDDE0607D9DA13A67 * get_impl_0() const { return ___impl_0; }
inline X509ChainImpl_t34FABF07BEA0CFB6D88717BCDDE0607D9DA13A67 ** get_address_of_impl_0() { return &___impl_0; }
inline void set_impl_0(X509ChainImpl_t34FABF07BEA0CFB6D88717BCDDE0607D9DA13A67 * value)
{
___impl_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___impl_0), (void*)value);
}
};
// System.String
struct String_t : public RuntimeObject
{
public:
// System.Int32 System.String::m_stringLength
int32_t ___m_stringLength_0;
// System.Char System.String::m_firstChar
Il2CppChar ___m_firstChar_1;
public:
inline static int32_t get_offset_of_m_stringLength_0() { return static_cast<int32_t>(offsetof(String_t, ___m_stringLength_0)); }
inline int32_t get_m_stringLength_0() const { return ___m_stringLength_0; }
inline int32_t* get_address_of_m_stringLength_0() { return &___m_stringLength_0; }
inline void set_m_stringLength_0(int32_t value)
{
___m_stringLength_0 = value;
}
inline static int32_t get_offset_of_m_firstChar_1() { return static_cast<int32_t>(offsetof(String_t, ___m_firstChar_1)); }
inline Il2CppChar get_m_firstChar_1() const { return ___m_firstChar_1; }
inline Il2CppChar* get_address_of_m_firstChar_1() { return &___m_firstChar_1; }
inline void set_m_firstChar_1(Il2CppChar value)
{
___m_firstChar_1 = value;
}
};
struct String_t_StaticFields
{
public:
// System.String System.String::Empty
String_t* ___Empty_5;
public:
inline static int32_t get_offset_of_Empty_5() { return static_cast<int32_t>(offsetof(String_t_StaticFields, ___Empty_5)); }
inline String_t* get_Empty_5() const { return ___Empty_5; }
inline String_t** get_address_of_Empty_5() { return &___Empty_5; }
inline void set_Empty_5(String_t* value)
{
___Empty_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Empty_5), (void*)value);
}
};
// System.Text.Encoding
struct Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 : public RuntimeObject
{
public:
// System.Int32 System.Text.Encoding::m_codePage
int32_t ___m_codePage_9;
// System.Globalization.CodePageDataItem System.Text.Encoding::dataItem
CodePageDataItem_t6E34BEE9CCCBB35C88D714664633AF6E5F5671FB * ___dataItem_10;
// System.Boolean System.Text.Encoding::m_deserializedFromEverett
bool ___m_deserializedFromEverett_11;
// System.Boolean System.Text.Encoding::m_isReadOnly
bool ___m_isReadOnly_12;
// System.Text.EncoderFallback System.Text.Encoding::encoderFallback
EncoderFallback_tDE342346D01608628F1BCEBB652D31009852CF63 * ___encoderFallback_13;
// System.Text.DecoderFallback System.Text.Encoding::decoderFallback
DecoderFallback_t128445EB7676870485230893338EF044F6B72F60 * ___decoderFallback_14;
public:
inline static int32_t get_offset_of_m_codePage_9() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4, ___m_codePage_9)); }
inline int32_t get_m_codePage_9() const { return ___m_codePage_9; }
inline int32_t* get_address_of_m_codePage_9() { return &___m_codePage_9; }
inline void set_m_codePage_9(int32_t value)
{
___m_codePage_9 = value;
}
inline static int32_t get_offset_of_dataItem_10() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4, ___dataItem_10)); }
inline CodePageDataItem_t6E34BEE9CCCBB35C88D714664633AF6E5F5671FB * get_dataItem_10() const { return ___dataItem_10; }
inline CodePageDataItem_t6E34BEE9CCCBB35C88D714664633AF6E5F5671FB ** get_address_of_dataItem_10() { return &___dataItem_10; }
inline void set_dataItem_10(CodePageDataItem_t6E34BEE9CCCBB35C88D714664633AF6E5F5671FB * value)
{
___dataItem_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dataItem_10), (void*)value);
}
inline static int32_t get_offset_of_m_deserializedFromEverett_11() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4, ___m_deserializedFromEverett_11)); }
inline bool get_m_deserializedFromEverett_11() const { return ___m_deserializedFromEverett_11; }
inline bool* get_address_of_m_deserializedFromEverett_11() { return &___m_deserializedFromEverett_11; }
inline void set_m_deserializedFromEverett_11(bool value)
{
___m_deserializedFromEverett_11 = value;
}
inline static int32_t get_offset_of_m_isReadOnly_12() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4, ___m_isReadOnly_12)); }
inline bool get_m_isReadOnly_12() const { return ___m_isReadOnly_12; }
inline bool* get_address_of_m_isReadOnly_12() { return &___m_isReadOnly_12; }
inline void set_m_isReadOnly_12(bool value)
{
___m_isReadOnly_12 = value;
}
inline static int32_t get_offset_of_encoderFallback_13() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4, ___encoderFallback_13)); }
inline EncoderFallback_tDE342346D01608628F1BCEBB652D31009852CF63 * get_encoderFallback_13() const { return ___encoderFallback_13; }
inline EncoderFallback_tDE342346D01608628F1BCEBB652D31009852CF63 ** get_address_of_encoderFallback_13() { return &___encoderFallback_13; }
inline void set_encoderFallback_13(EncoderFallback_tDE342346D01608628F1BCEBB652D31009852CF63 * value)
{
___encoderFallback_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___encoderFallback_13), (void*)value);
}
inline static int32_t get_offset_of_decoderFallback_14() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4, ___decoderFallback_14)); }
inline DecoderFallback_t128445EB7676870485230893338EF044F6B72F60 * get_decoderFallback_14() const { return ___decoderFallback_14; }
inline DecoderFallback_t128445EB7676870485230893338EF044F6B72F60 ** get_address_of_decoderFallback_14() { return &___decoderFallback_14; }
inline void set_decoderFallback_14(DecoderFallback_t128445EB7676870485230893338EF044F6B72F60 * value)
{
___decoderFallback_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___decoderFallback_14), (void*)value);
}
};
struct Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields
{
public:
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::defaultEncoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___defaultEncoding_0;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::unicodeEncoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___unicodeEncoding_1;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::bigEndianUnicode
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___bigEndianUnicode_2;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf7Encoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___utf7Encoding_3;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf8Encoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___utf8Encoding_4;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf32Encoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___utf32Encoding_5;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::asciiEncoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___asciiEncoding_6;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::latin1Encoding
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * ___latin1Encoding_7;
// System.Collections.Hashtable modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::encodings
Hashtable_t978F65B8006C8F5504B286526AEC6608FF983FC9 * ___encodings_8;
// System.Object System.Text.Encoding::s_InternalSyncObject
RuntimeObject * ___s_InternalSyncObject_15;
public:
inline static int32_t get_offset_of_defaultEncoding_0() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___defaultEncoding_0)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_defaultEncoding_0() const { return ___defaultEncoding_0; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_defaultEncoding_0() { return &___defaultEncoding_0; }
inline void set_defaultEncoding_0(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___defaultEncoding_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultEncoding_0), (void*)value);
}
inline static int32_t get_offset_of_unicodeEncoding_1() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___unicodeEncoding_1)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_unicodeEncoding_1() const { return ___unicodeEncoding_1; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_unicodeEncoding_1() { return &___unicodeEncoding_1; }
inline void set_unicodeEncoding_1(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___unicodeEncoding_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___unicodeEncoding_1), (void*)value);
}
inline static int32_t get_offset_of_bigEndianUnicode_2() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___bigEndianUnicode_2)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_bigEndianUnicode_2() const { return ___bigEndianUnicode_2; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_bigEndianUnicode_2() { return &___bigEndianUnicode_2; }
inline void set_bigEndianUnicode_2(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___bigEndianUnicode_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___bigEndianUnicode_2), (void*)value);
}
inline static int32_t get_offset_of_utf7Encoding_3() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___utf7Encoding_3)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_utf7Encoding_3() const { return ___utf7Encoding_3; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_utf7Encoding_3() { return &___utf7Encoding_3; }
inline void set_utf7Encoding_3(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___utf7Encoding_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___utf7Encoding_3), (void*)value);
}
inline static int32_t get_offset_of_utf8Encoding_4() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___utf8Encoding_4)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_utf8Encoding_4() const { return ___utf8Encoding_4; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_utf8Encoding_4() { return &___utf8Encoding_4; }
inline void set_utf8Encoding_4(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___utf8Encoding_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___utf8Encoding_4), (void*)value);
}
inline static int32_t get_offset_of_utf32Encoding_5() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___utf32Encoding_5)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_utf32Encoding_5() const { return ___utf32Encoding_5; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_utf32Encoding_5() { return &___utf32Encoding_5; }
inline void set_utf32Encoding_5(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___utf32Encoding_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___utf32Encoding_5), (void*)value);
}
inline static int32_t get_offset_of_asciiEncoding_6() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___asciiEncoding_6)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_asciiEncoding_6() const { return ___asciiEncoding_6; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_asciiEncoding_6() { return &___asciiEncoding_6; }
inline void set_asciiEncoding_6(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___asciiEncoding_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___asciiEncoding_6), (void*)value);
}
inline static int32_t get_offset_of_latin1Encoding_7() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___latin1Encoding_7)); }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * get_latin1Encoding_7() const { return ___latin1Encoding_7; }
inline Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 ** get_address_of_latin1Encoding_7() { return &___latin1Encoding_7; }
inline void set_latin1Encoding_7(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * value)
{
___latin1Encoding_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___latin1Encoding_7), (void*)value);
}
inline static int32_t get_offset_of_encodings_8() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___encodings_8)); }
inline Hashtable_t978F65B8006C8F5504B286526AEC6608FF983FC9 * get_encodings_8() const { return ___encodings_8; }
inline Hashtable_t978F65B8006C8F5504B286526AEC6608FF983FC9 ** get_address_of_encodings_8() { return &___encodings_8; }
inline void set_encodings_8(Hashtable_t978F65B8006C8F5504B286526AEC6608FF983FC9 * value)
{
___encodings_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___encodings_8), (void*)value);
}
inline static int32_t get_offset_of_s_InternalSyncObject_15() { return static_cast<int32_t>(offsetof(Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4_StaticFields, ___s_InternalSyncObject_15)); }
inline RuntimeObject * get_s_InternalSyncObject_15() const { return ___s_InternalSyncObject_15; }
inline RuntimeObject ** get_address_of_s_InternalSyncObject_15() { return &___s_InternalSyncObject_15; }
inline void set_s_InternalSyncObject_15(RuntimeObject * value)
{
___s_InternalSyncObject_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_InternalSyncObject_15), (void*)value);
}
};
// System.Text.StringBuilder
struct StringBuilder_t : public RuntimeObject
{
public:
// System.Char[] System.Text.StringBuilder::m_ChunkChars
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___m_ChunkChars_0;
// System.Text.StringBuilder System.Text.StringBuilder::m_ChunkPrevious
StringBuilder_t * ___m_ChunkPrevious_1;
// System.Int32 System.Text.StringBuilder::m_ChunkLength
int32_t ___m_ChunkLength_2;
// System.Int32 System.Text.StringBuilder::m_ChunkOffset
int32_t ___m_ChunkOffset_3;
// System.Int32 System.Text.StringBuilder::m_MaxCapacity
int32_t ___m_MaxCapacity_4;
public:
inline static int32_t get_offset_of_m_ChunkChars_0() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkChars_0)); }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_m_ChunkChars_0() const { return ___m_ChunkChars_0; }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_m_ChunkChars_0() { return &___m_ChunkChars_0; }
inline void set_m_ChunkChars_0(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
{
___m_ChunkChars_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ChunkChars_0), (void*)value);
}
inline static int32_t get_offset_of_m_ChunkPrevious_1() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkPrevious_1)); }
inline StringBuilder_t * get_m_ChunkPrevious_1() const { return ___m_ChunkPrevious_1; }
inline StringBuilder_t ** get_address_of_m_ChunkPrevious_1() { return &___m_ChunkPrevious_1; }
inline void set_m_ChunkPrevious_1(StringBuilder_t * value)
{
___m_ChunkPrevious_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ChunkPrevious_1), (void*)value);
}
inline static int32_t get_offset_of_m_ChunkLength_2() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkLength_2)); }
inline int32_t get_m_ChunkLength_2() const { return ___m_ChunkLength_2; }
inline int32_t* get_address_of_m_ChunkLength_2() { return &___m_ChunkLength_2; }
inline void set_m_ChunkLength_2(int32_t value)
{
___m_ChunkLength_2 = value;
}
inline static int32_t get_offset_of_m_ChunkOffset_3() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkOffset_3)); }
inline int32_t get_m_ChunkOffset_3() const { return ___m_ChunkOffset_3; }
inline int32_t* get_address_of_m_ChunkOffset_3() { return &___m_ChunkOffset_3; }
inline void set_m_ChunkOffset_3(int32_t value)
{
___m_ChunkOffset_3 = value;
}
inline static int32_t get_offset_of_m_MaxCapacity_4() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_MaxCapacity_4)); }
inline int32_t get_m_MaxCapacity_4() const { return ___m_MaxCapacity_4; }
inline int32_t* get_address_of_m_MaxCapacity_4() { return &___m_MaxCapacity_4; }
inline void set_m_MaxCapacity_4(int32_t value)
{
___m_MaxCapacity_4 = value;
}
};
// System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject
{
public:
public:
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_com
{
};
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D10
struct __StaticArrayInitTypeSizeU3D10_tA87C7E06DDCE3975CB99672F98A6AC23AD0D87A0
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D10_tA87C7E06DDCE3975CB99672F98A6AC23AD0D87A0__padding[10];
};
public:
};
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D14
struct __StaticArrayInitTypeSizeU3D14_t2293E0C6AC04C3ABC76C1B941A58194168C25109
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D14_t2293E0C6AC04C3ABC76C1B941A58194168C25109__padding[14];
};
public:
};
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D20
struct __StaticArrayInitTypeSizeU3D20_t45181D0C9A3626B505048EEE1AC441C18A377DBF
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D20_t45181D0C9A3626B505048EEE1AC441C18A377DBF__padding[20];
};
public:
};
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D256
struct __StaticArrayInitTypeSizeU3D256_t8BFCD627E5A35B5A739C81B9213D9B9A173DE667
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D256_t8BFCD627E5A35B5A739C81B9213D9B9A173DE667__padding[256];
};
public:
};
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3
struct __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428__padding[3];
};
public:
};
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3132
struct __StaticArrayInitTypeSizeU3D3132_t486168FFAE191756DEF1DBD0456C8C0AA26577B1
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D3132_t486168FFAE191756DEF1DBD0456C8C0AA26577B1__padding[3132];
};
public:
};
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D32
struct __StaticArrayInitTypeSizeU3D32_tB9E831F7CD5830D06525ABB45BC8517064237A2A
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D32_tB9E831F7CD5830D06525ABB45BC8517064237A2A__padding[32];
};
public:
};
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D48
struct __StaticArrayInitTypeSizeU3D48_t9F3D0EF2ACFB23A8C22DE5E03F835F1A400F8A52
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D48_t9F3D0EF2ACFB23A8C22DE5E03F835F1A400F8A52__padding[48];
};
public:
};
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D64
struct __StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9__padding[64];
};
public:
};
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D9
struct __StaticArrayInitTypeSizeU3D9_t2B23599284B0D068CFDF7410ACB3027431B6FD94
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D9_t2B23599284B0D068CFDF7410ACB3027431B6FD94__padding[9];
};
public:
};
// Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase
struct SequentialSearchPrimeGeneratorBase_t051356406D15C0F3CCF38A685AB52DFC08B83360 : public PrimeGeneratorBase_tD86126CFDBC57352F37DE0964FFCF652C04D7059
{
public:
public:
};
// Mono.Security.Cryptography.MD2
struct MD2_tCAAEC1A28A3D0B9E8810B27E4840BEA399619442 : public HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA
{
public:
public:
};
// Mono.Security.Cryptography.MD4
struct MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 : public HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA
{
public:
public:
};
// Mono.Security.X509.X509CertificateCollection
struct X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A : public CollectionBase_tF5D4583FF325726066A9803839A04E9C0084ED01
{
public:
public:
};
// System.Boolean
struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C
{
public:
// System.Boolean System.Boolean::m_value
bool ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C, ___m_value_0)); }
inline bool get_m_value_0() const { return ___m_value_0; }
inline bool* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(bool value)
{
___m_value_0 = value;
}
};
struct Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields
{
public:
// System.String System.Boolean::TrueString
String_t* ___TrueString_5;
// System.String System.Boolean::FalseString
String_t* ___FalseString_6;
public:
inline static int32_t get_offset_of_TrueString_5() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___TrueString_5)); }
inline String_t* get_TrueString_5() const { return ___TrueString_5; }
inline String_t** get_address_of_TrueString_5() { return &___TrueString_5; }
inline void set_TrueString_5(String_t* value)
{
___TrueString_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TrueString_5), (void*)value);
}
inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_tB53F6830F670160873277339AA58F15CAED4399C_StaticFields, ___FalseString_6)); }
inline String_t* get_FalseString_6() const { return ___FalseString_6; }
inline String_t** get_address_of_FalseString_6() { return &___FalseString_6; }
inline void set_FalseString_6(String_t* value)
{
___FalseString_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FalseString_6), (void*)value);
}
};
// System.Byte
struct Byte_tF87C579059BD4633E6840EBBBEEF899C6E33EF07
{
public:
// System.Byte System.Byte::m_value
uint8_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Byte_tF87C579059BD4633E6840EBBBEEF899C6E33EF07, ___m_value_0)); }
inline uint8_t get_m_value_0() const { return ___m_value_0; }
inline uint8_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint8_t value)
{
___m_value_0 = value;
}
};
// System.Char
struct Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9
{
public:
// System.Char System.Char::m_value
Il2CppChar ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9, ___m_value_0)); }
inline Il2CppChar get_m_value_0() const { return ___m_value_0; }
inline Il2CppChar* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(Il2CppChar value)
{
___m_value_0 = value;
}
};
struct Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_StaticFields
{
public:
// System.Byte[] System.Char::categoryForLatin1
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___categoryForLatin1_3;
public:
inline static int32_t get_offset_of_categoryForLatin1_3() { return static_cast<int32_t>(offsetof(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_StaticFields, ___categoryForLatin1_3)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_categoryForLatin1_3() const { return ___categoryForLatin1_3; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_categoryForLatin1_3() { return &___categoryForLatin1_3; }
inline void set_categoryForLatin1_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___categoryForLatin1_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___categoryForLatin1_3), (void*)value);
}
};
// System.DateTime
struct DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132
{
public:
// System.UInt64 System.DateTime::dateData
uint64_t ___dateData_44;
public:
inline static int32_t get_offset_of_dateData_44() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132, ___dateData_44)); }
inline uint64_t get_dateData_44() const { return ___dateData_44; }
inline uint64_t* get_address_of_dateData_44() { return &___dateData_44; }
inline void set_dateData_44(uint64_t value)
{
___dateData_44 = value;
}
};
struct DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields
{
public:
// System.Int32[] System.DateTime::DaysToMonth365
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___DaysToMonth365_29;
// System.Int32[] System.DateTime::DaysToMonth366
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* ___DaysToMonth366_30;
// System.DateTime System.DateTime::MinValue
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___MinValue_31;
// System.DateTime System.DateTime::MaxValue
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___MaxValue_32;
public:
inline static int32_t get_offset_of_DaysToMonth365_29() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___DaysToMonth365_29)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_DaysToMonth365_29() const { return ___DaysToMonth365_29; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_DaysToMonth365_29() { return &___DaysToMonth365_29; }
inline void set_DaysToMonth365_29(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___DaysToMonth365_29 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DaysToMonth365_29), (void*)value);
}
inline static int32_t get_offset_of_DaysToMonth366_30() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___DaysToMonth366_30)); }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* get_DaysToMonth366_30() const { return ___DaysToMonth366_30; }
inline Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83** get_address_of_DaysToMonth366_30() { return &___DaysToMonth366_30; }
inline void set_DaysToMonth366_30(Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* value)
{
___DaysToMonth366_30 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DaysToMonth366_30), (void*)value);
}
inline static int32_t get_offset_of_MinValue_31() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___MinValue_31)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_MinValue_31() const { return ___MinValue_31; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_MinValue_31() { return &___MinValue_31; }
inline void set_MinValue_31(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___MinValue_31 = value;
}
inline static int32_t get_offset_of_MaxValue_32() { return static_cast<int32_t>(offsetof(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_StaticFields, ___MaxValue_32)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_MaxValue_32() const { return ___MaxValue_32; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_MaxValue_32() { return &___MaxValue_32; }
inline void set_MaxValue_32(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___MaxValue_32 = value;
}
};
// System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521 : public ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF
{
public:
public:
};
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields
{
public:
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___enumSeperatorCharArray_0;
public:
inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields, ___enumSeperatorCharArray_0)); }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
inline void set_enumSeperatorCharArray_0(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
{
___enumSeperatorCharArray_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_com
{
};
// System.Int16
struct Int16_t823A20635DAF5A3D93A1E01CFBF3CBA27CF00B4D
{
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_t823A20635DAF5A3D93A1E01CFBF3CBA27CF00B4D, ___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;
}
};
// System.Int32
struct Int32_t585191389E07734F19F3156FF88FB3EF4800D102
{
public:
// System.Int32 System.Int32::m_value
int32_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int32_t585191389E07734F19F3156FF88FB3EF4800D102, ___m_value_0)); }
inline int32_t get_m_value_0() const { return ___m_value_0; }
inline int32_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int32_t value)
{
___m_value_0 = value;
}
};
// System.Int64
struct Int64_t7A386C2FF7B0280A0F516992401DDFCF0FF7B436
{
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_t7A386C2FF7B0280A0F516992401DDFCF0FF7B436, ___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;
}
};
// 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;
}
};
// System.Nullable`1<System.Boolean>
struct Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793
{
public:
// T System.Nullable`1::value
bool ___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_t9E6A67BECE376F0623B5C857F5674A0311C41793, ___value_0)); }
inline bool get_value_0() const { return ___value_0; }
inline bool* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(bool value)
{
___value_0 = value;
}
inline static int32_t get_offset_of_has_value_1() { return static_cast<int32_t>(offsetof(Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793, ___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;
}
};
// System.Security.Cryptography.DSA
struct DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF : public AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB
{
public:
public:
};
// System.Security.Cryptography.DSAParameters
struct DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6
{
public:
// System.Byte[] System.Security.Cryptography.DSAParameters::P
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___P_0;
// System.Byte[] System.Security.Cryptography.DSAParameters::Q
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___Q_1;
// System.Byte[] System.Security.Cryptography.DSAParameters::G
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___G_2;
// System.Byte[] System.Security.Cryptography.DSAParameters::Y
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___Y_3;
// System.Byte[] System.Security.Cryptography.DSAParameters::J
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___J_4;
// System.Byte[] System.Security.Cryptography.DSAParameters::X
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___X_5;
// System.Byte[] System.Security.Cryptography.DSAParameters::Seed
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___Seed_6;
// System.Int32 System.Security.Cryptography.DSAParameters::Counter
int32_t ___Counter_7;
public:
inline static int32_t get_offset_of_P_0() { return static_cast<int32_t>(offsetof(DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6, ___P_0)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_P_0() const { return ___P_0; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_P_0() { return &___P_0; }
inline void set_P_0(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___P_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___P_0), (void*)value);
}
inline static int32_t get_offset_of_Q_1() { return static_cast<int32_t>(offsetof(DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6, ___Q_1)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_Q_1() const { return ___Q_1; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_Q_1() { return &___Q_1; }
inline void set_Q_1(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___Q_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Q_1), (void*)value);
}
inline static int32_t get_offset_of_G_2() { return static_cast<int32_t>(offsetof(DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6, ___G_2)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_G_2() const { return ___G_2; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_G_2() { return &___G_2; }
inline void set_G_2(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___G_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___G_2), (void*)value);
}
inline static int32_t get_offset_of_Y_3() { return static_cast<int32_t>(offsetof(DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6, ___Y_3)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_Y_3() const { return ___Y_3; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_Y_3() { return &___Y_3; }
inline void set_Y_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___Y_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Y_3), (void*)value);
}
inline static int32_t get_offset_of_J_4() { return static_cast<int32_t>(offsetof(DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6, ___J_4)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_J_4() const { return ___J_4; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_J_4() { return &___J_4; }
inline void set_J_4(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___J_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___J_4), (void*)value);
}
inline static int32_t get_offset_of_X_5() { return static_cast<int32_t>(offsetof(DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6, ___X_5)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_X_5() const { return ___X_5; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_X_5() { return &___X_5; }
inline void set_X_5(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___X_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___X_5), (void*)value);
}
inline static int32_t get_offset_of_Seed_6() { return static_cast<int32_t>(offsetof(DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6, ___Seed_6)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_Seed_6() const { return ___Seed_6; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_Seed_6() { return &___Seed_6; }
inline void set_Seed_6(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___Seed_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Seed_6), (void*)value);
}
inline static int32_t get_offset_of_Counter_7() { return static_cast<int32_t>(offsetof(DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6, ___Counter_7)); }
inline int32_t get_Counter_7() const { return ___Counter_7; }
inline int32_t* get_address_of_Counter_7() { return &___Counter_7; }
inline void set_Counter_7(int32_t value)
{
___Counter_7 = value;
}
};
// Native definition for P/Invoke marshalling of System.Security.Cryptography.DSAParameters
struct DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6_marshaled_pinvoke
{
Il2CppSafeArray/*NONE*/* ___P_0;
Il2CppSafeArray/*NONE*/* ___Q_1;
Il2CppSafeArray/*NONE*/* ___G_2;
Il2CppSafeArray/*NONE*/* ___Y_3;
Il2CppSafeArray/*NONE*/* ___J_4;
Il2CppSafeArray/*NONE*/* ___X_5;
Il2CppSafeArray/*NONE*/* ___Seed_6;
int32_t ___Counter_7;
};
// Native definition for COM marshalling of System.Security.Cryptography.DSAParameters
struct DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6_marshaled_com
{
Il2CppSafeArray/*NONE*/* ___P_0;
Il2CppSafeArray/*NONE*/* ___Q_1;
Il2CppSafeArray/*NONE*/* ___G_2;
Il2CppSafeArray/*NONE*/* ___Y_3;
Il2CppSafeArray/*NONE*/* ___J_4;
Il2CppSafeArray/*NONE*/* ___X_5;
Il2CppSafeArray/*NONE*/* ___Seed_6;
int32_t ___Counter_7;
};
// System.Security.Cryptography.KeyedHashAlgorithm
struct KeyedHashAlgorithm_t83CFA2CA5A4F0F39B747E61D013CB5EB919D218B : public HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA
{
public:
// System.Byte[] System.Security.Cryptography.KeyedHashAlgorithm::KeyValue
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___KeyValue_4;
public:
inline static int32_t get_offset_of_KeyValue_4() { return static_cast<int32_t>(offsetof(KeyedHashAlgorithm_t83CFA2CA5A4F0F39B747E61D013CB5EB919D218B, ___KeyValue_4)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_KeyValue_4() const { return ___KeyValue_4; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_KeyValue_4() { return &___KeyValue_4; }
inline void set_KeyValue_4(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___KeyValue_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___KeyValue_4), (void*)value);
}
};
// System.Security.Cryptography.MD5
struct MD5_tCED753745572EC20FE5D31D15F132736B5343EE6 : public HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA
{
public:
public:
};
// System.Security.Cryptography.RIPEMD160
struct RIPEMD160_t5BF1FB38C534BF0083B35AC6880867E11448EFE9 : public HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA
{
public:
public:
};
// System.Security.Cryptography.RSA
struct RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 : public AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB
{
public:
public:
};
// System.Security.Cryptography.RSAParameters
struct RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717
{
public:
// System.Byte[] System.Security.Cryptography.RSAParameters::Exponent
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___Exponent_0;
// System.Byte[] System.Security.Cryptography.RSAParameters::Modulus
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___Modulus_1;
// System.Byte[] System.Security.Cryptography.RSAParameters::P
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___P_2;
// System.Byte[] System.Security.Cryptography.RSAParameters::Q
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___Q_3;
// System.Byte[] System.Security.Cryptography.RSAParameters::DP
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___DP_4;
// System.Byte[] System.Security.Cryptography.RSAParameters::DQ
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___DQ_5;
// System.Byte[] System.Security.Cryptography.RSAParameters::InverseQ
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___InverseQ_6;
// System.Byte[] System.Security.Cryptography.RSAParameters::D
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___D_7;
public:
inline static int32_t get_offset_of_Exponent_0() { return static_cast<int32_t>(offsetof(RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717, ___Exponent_0)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_Exponent_0() const { return ___Exponent_0; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_Exponent_0() { return &___Exponent_0; }
inline void set_Exponent_0(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___Exponent_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Exponent_0), (void*)value);
}
inline static int32_t get_offset_of_Modulus_1() { return static_cast<int32_t>(offsetof(RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717, ___Modulus_1)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_Modulus_1() const { return ___Modulus_1; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_Modulus_1() { return &___Modulus_1; }
inline void set_Modulus_1(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___Modulus_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Modulus_1), (void*)value);
}
inline static int32_t get_offset_of_P_2() { return static_cast<int32_t>(offsetof(RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717, ___P_2)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_P_2() const { return ___P_2; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_P_2() { return &___P_2; }
inline void set_P_2(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___P_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___P_2), (void*)value);
}
inline static int32_t get_offset_of_Q_3() { return static_cast<int32_t>(offsetof(RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717, ___Q_3)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_Q_3() const { return ___Q_3; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_Q_3() { return &___Q_3; }
inline void set_Q_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___Q_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Q_3), (void*)value);
}
inline static int32_t get_offset_of_DP_4() { return static_cast<int32_t>(offsetof(RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717, ___DP_4)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_DP_4() const { return ___DP_4; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_DP_4() { return &___DP_4; }
inline void set_DP_4(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___DP_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DP_4), (void*)value);
}
inline static int32_t get_offset_of_DQ_5() { return static_cast<int32_t>(offsetof(RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717, ___DQ_5)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_DQ_5() const { return ___DQ_5; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_DQ_5() { return &___DQ_5; }
inline void set_DQ_5(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___DQ_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DQ_5), (void*)value);
}
inline static int32_t get_offset_of_InverseQ_6() { return static_cast<int32_t>(offsetof(RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717, ___InverseQ_6)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_InverseQ_6() const { return ___InverseQ_6; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_InverseQ_6() { return &___InverseQ_6; }
inline void set_InverseQ_6(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___InverseQ_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___InverseQ_6), (void*)value);
}
inline static int32_t get_offset_of_D_7() { return static_cast<int32_t>(offsetof(RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717, ___D_7)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_D_7() const { return ___D_7; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_D_7() { return &___D_7; }
inline void set_D_7(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___D_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___D_7), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Security.Cryptography.RSAParameters
struct RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717_marshaled_pinvoke
{
Il2CppSafeArray/*NONE*/* ___Exponent_0;
Il2CppSafeArray/*NONE*/* ___Modulus_1;
Il2CppSafeArray/*NONE*/* ___P_2;
Il2CppSafeArray/*NONE*/* ___Q_3;
Il2CppSafeArray/*NONE*/* ___DP_4;
Il2CppSafeArray/*NONE*/* ___DQ_5;
Il2CppSafeArray/*NONE*/* ___InverseQ_6;
Il2CppSafeArray/*NONE*/* ___D_7;
};
// Native definition for COM marshalling of System.Security.Cryptography.RSAParameters
struct RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717_marshaled_com
{
Il2CppSafeArray/*NONE*/* ___Exponent_0;
Il2CppSafeArray/*NONE*/* ___Modulus_1;
Il2CppSafeArray/*NONE*/* ___P_2;
Il2CppSafeArray/*NONE*/* ___Q_3;
Il2CppSafeArray/*NONE*/* ___DP_4;
Il2CppSafeArray/*NONE*/* ___DQ_5;
Il2CppSafeArray/*NONE*/* ___InverseQ_6;
Il2CppSafeArray/*NONE*/* ___D_7;
};
// System.Security.Cryptography.SHA1
struct SHA1_t242C3C0C91D0CC11FA6F3CB0B06B416A550C6EAA : public HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA
{
public:
public:
};
// System.Security.Cryptography.SHA256
struct SHA256_tF15350D910DF8AC1E6ADDBA904218F95554711BD : public HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA
{
public:
public:
};
// System.Security.Cryptography.SHA384
struct SHA384_t73C69FA7FB10EF83355734BE635F079515FF5D37 : public HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA
{
public:
public:
};
// System.Security.Cryptography.SHA512
struct SHA512_tA4117C79CCB7ECF8AC39BDBE41A0D0294E9D6936 : public HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA
{
public:
public:
};
// System.Security.Cryptography.X509Certificates.X509CertificateCollection
struct X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 : public CollectionBase_tF5D4583FF325726066A9803839A04E9C0084ED01
{
public:
public:
};
// System.UInt16
struct UInt16_tAE45CEF73BF720100519F6867F32145D075F928E
{
public:
// System.UInt16 System.UInt16::m_value
uint16_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt16_tAE45CEF73BF720100519F6867F32145D075F928E, ___m_value_0)); }
inline uint16_t get_m_value_0() const { return ___m_value_0; }
inline uint16_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint16_t value)
{
___m_value_0 = value;
}
};
// System.UInt32
struct UInt32_t4980FA09003AFAAB5A6E361BA2748EA9A005709B
{
public:
// System.UInt32 System.UInt32::m_value
uint32_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt32_t4980FA09003AFAAB5A6E361BA2748EA9A005709B, ___m_value_0)); }
inline uint32_t get_m_value_0() const { return ___m_value_0; }
inline uint32_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint32_t value)
{
___m_value_0 = value;
}
};
// System.UInt64
struct UInt64_tA02DF3B59C8FC4A849BD207DA11038CC64E4CB4E
{
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_tA02DF3B59C8FC4A849BD207DA11038CC64E4CB4E, ___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;
}
};
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017
{
public:
union
{
struct
{
};
uint8_t Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017__padding[1];
};
public:
};
// <PrivateImplementationDetails>
struct U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA : public RuntimeObject
{
public:
public:
};
struct U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields
{
public:
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::12D04472A8285260EA12FD3813CDFA9F2D2B548C
__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 ___12D04472A8285260EA12FD3813CDFA9F2D2B548C_0;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::13A35EF1A549297C70E2AD46045BBD2ECA17852D
__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 ___13A35EF1A549297C70E2AD46045BBD2ECA17852D_1;
// System.Int64 <PrivateImplementationDetails>::16968835DEF6DD3BB86EABA9DEC53BF41851CD6D
int64_t ___16968835DEF6DD3BB86EABA9DEC53BF41851CD6D_2;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::1A84029C80CB5518379F199F53FF08A7B764F8FD
__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 ___1A84029C80CB5518379F199F53FF08A7B764F8FD_3;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::235D99572263B22ADFEE10FDA0C25E12F4D94FFC
__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 ___235D99572263B22ADFEE10FDA0C25E12F4D94FFC_4;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D14 <PrivateImplementationDetails>::2D3CF0F15AC2DDEC2956EA1B7BBE43FB8B923130
__StaticArrayInitTypeSizeU3D14_t2293E0C6AC04C3ABC76C1B941A58194168C25109 ___2D3CF0F15AC2DDEC2956EA1B7BBE43FB8B923130_5;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D64 <PrivateImplementationDetails>::320B018758ECE3752FFEDBAEB1A6DB67C80B9359
__StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 ___320B018758ECE3752FFEDBAEB1A6DB67C80B9359_6;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::3E3442C7396F3F2BB4C7348F4A2074C7DC677D68
__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 ___3E3442C7396F3F2BB4C7348F4A2074C7DC677D68_7;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D48 <PrivateImplementationDetails>::4E3B533C39447AAEB59A8E48FABD7E15B5B5D195
__StaticArrayInitTypeSizeU3D48_t9F3D0EF2ACFB23A8C22DE5E03F835F1A400F8A52 ___4E3B533C39447AAEB59A8E48FABD7E15B5B5D195_8;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D10 <PrivateImplementationDetails>::56DFA5053B3131883637F53219E7D88CCEF35949
__StaticArrayInitTypeSizeU3D10_tA87C7E06DDCE3975CB99672F98A6AC23AD0D87A0 ___56DFA5053B3131883637F53219E7D88CCEF35949_9;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D9 <PrivateImplementationDetails>::6D49C9D487D7AD3491ECE08732D68A593CC2038D
__StaticArrayInitTypeSizeU3D9_t2B23599284B0D068CFDF7410ACB3027431B6FD94 ___6D49C9D487D7AD3491ECE08732D68A593CC2038D_10;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3132 <PrivateImplementationDetails>::6E5DC824F803F8565AF31B42199DAE39FE7F4EA9
__StaticArrayInitTypeSizeU3D3132_t486168FFAE191756DEF1DBD0456C8C0AA26577B1 ___6E5DC824F803F8565AF31B42199DAE39FE7F4EA9_11;
// System.Int64 <PrivateImplementationDetails>::6FA00AC9FFFD87F82A38A7F9ECC8134F4A7052AF
int64_t ___6FA00AC9FFFD87F82A38A7F9ECC8134F4A7052AF_12;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::736D39815215889F11249D9958F6ED12D37B9F57
__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 ___736D39815215889F11249D9958F6ED12D37B9F57_13;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::86F4F563FA2C61798AE6238D789139739428463A
__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 ___86F4F563FA2C61798AE6238D789139739428463A_14;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::97FB30C84FF4A41CD4625B44B2940BFC8DB43003
__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 ___97FB30C84FF4A41CD4625B44B2940BFC8DB43003_15;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D64 <PrivateImplementationDetails>::9A9C3962CD4753376E3507C8CB5FD8FCC4B4EDB5
__StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 ___9A9C3962CD4753376E3507C8CB5FD8FCC4B4EDB5_16;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::9BB00D1FCCBAF03165447FC8028E7CA07CA9FE88
__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 ___9BB00D1FCCBAF03165447FC8028E7CA07CA9FE88_17;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::A323DB0813C4D072957BA6FDA79D9776674CD06B
__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 ___A323DB0813C4D072957BA6FDA79D9776674CD06B_18;
// System.Int64 <PrivateImplementationDetails>::AEA5F1CC5CFE1660539EDD691FE017F775F63A0D
int64_t ___AEA5F1CC5CFE1660539EDD691FE017F775F63A0D_19;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D20 <PrivateImplementationDetails>::BE1BDEC0AA74B4DCB079943E70528096CCA985F8
__StaticArrayInitTypeSizeU3D20_t45181D0C9A3626B505048EEE1AC441C18A377DBF ___BE1BDEC0AA74B4DCB079943E70528096CCA985F8_20;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::BF477463CE2F5EF38FC4C644BBBF4DF109E7670A
__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 ___BF477463CE2F5EF38FC4C644BBBF4DF109E7670A_21;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D64 <PrivateImplementationDetails>::CF0B42666EF5E37EDEA0AB8E173E42C196D03814
__StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 ___CF0B42666EF5E37EDEA0AB8E173E42C196D03814_22;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D32 <PrivateImplementationDetails>::D28E8ABDBD777A482CE0EE5C24814ACAE52AABFE
__StaticArrayInitTypeSizeU3D32_tB9E831F7CD5830D06525ABB45BC8517064237A2A ___D28E8ABDBD777A482CE0EE5C24814ACAE52AABFE_23;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D256 <PrivateImplementationDetails>::D2C5BAE967587C6F3D9F2C4551911E0575A1101F
__StaticArrayInitTypeSizeU3D256_t8BFCD627E5A35B5A739C81B9213D9B9A173DE667 ___D2C5BAE967587C6F3D9F2C4551911E0575A1101F_24;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D64 <PrivateImplementationDetails>::E75835D001C843F156FBA01B001DFE1B8029AC17
__StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 ___E75835D001C843F156FBA01B001DFE1B8029AC17_25;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D10 <PrivateImplementationDetails>::EC5BB4F59D4B9B2E9ECD3904D44A8275F23AFB11
__StaticArrayInitTypeSizeU3D10_tA87C7E06DDCE3975CB99672F98A6AC23AD0D87A0 ___EC5BB4F59D4B9B2E9ECD3904D44A8275F23AFB11_26;
// <PrivateImplementationDetails>___StaticArrayInitTypeSizeU3D3 <PrivateImplementationDetails>::EC83FB16C20052BEE2B4025159BC2ED45C9C70C3
__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 ___EC83FB16C20052BEE2B4025159BC2ED45C9C70C3_27;
public:
inline static int32_t get_offset_of_U312D04472A8285260EA12FD3813CDFA9F2D2B548C_0() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___12D04472A8285260EA12FD3813CDFA9F2D2B548C_0)); }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 get_U312D04472A8285260EA12FD3813CDFA9F2D2B548C_0() const { return ___12D04472A8285260EA12FD3813CDFA9F2D2B548C_0; }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 * get_address_of_U312D04472A8285260EA12FD3813CDFA9F2D2B548C_0() { return &___12D04472A8285260EA12FD3813CDFA9F2D2B548C_0; }
inline void set_U312D04472A8285260EA12FD3813CDFA9F2D2B548C_0(__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 value)
{
___12D04472A8285260EA12FD3813CDFA9F2D2B548C_0 = value;
}
inline static int32_t get_offset_of_U313A35EF1A549297C70E2AD46045BBD2ECA17852D_1() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___13A35EF1A549297C70E2AD46045BBD2ECA17852D_1)); }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 get_U313A35EF1A549297C70E2AD46045BBD2ECA17852D_1() const { return ___13A35EF1A549297C70E2AD46045BBD2ECA17852D_1; }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 * get_address_of_U313A35EF1A549297C70E2AD46045BBD2ECA17852D_1() { return &___13A35EF1A549297C70E2AD46045BBD2ECA17852D_1; }
inline void set_U313A35EF1A549297C70E2AD46045BBD2ECA17852D_1(__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 value)
{
___13A35EF1A549297C70E2AD46045BBD2ECA17852D_1 = value;
}
inline static int32_t get_offset_of_U316968835DEF6DD3BB86EABA9DEC53BF41851CD6D_2() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___16968835DEF6DD3BB86EABA9DEC53BF41851CD6D_2)); }
inline int64_t get_U316968835DEF6DD3BB86EABA9DEC53BF41851CD6D_2() const { return ___16968835DEF6DD3BB86EABA9DEC53BF41851CD6D_2; }
inline int64_t* get_address_of_U316968835DEF6DD3BB86EABA9DEC53BF41851CD6D_2() { return &___16968835DEF6DD3BB86EABA9DEC53BF41851CD6D_2; }
inline void set_U316968835DEF6DD3BB86EABA9DEC53BF41851CD6D_2(int64_t value)
{
___16968835DEF6DD3BB86EABA9DEC53BF41851CD6D_2 = value;
}
inline static int32_t get_offset_of_U31A84029C80CB5518379F199F53FF08A7B764F8FD_3() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___1A84029C80CB5518379F199F53FF08A7B764F8FD_3)); }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 get_U31A84029C80CB5518379F199F53FF08A7B764F8FD_3() const { return ___1A84029C80CB5518379F199F53FF08A7B764F8FD_3; }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 * get_address_of_U31A84029C80CB5518379F199F53FF08A7B764F8FD_3() { return &___1A84029C80CB5518379F199F53FF08A7B764F8FD_3; }
inline void set_U31A84029C80CB5518379F199F53FF08A7B764F8FD_3(__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 value)
{
___1A84029C80CB5518379F199F53FF08A7B764F8FD_3 = value;
}
inline static int32_t get_offset_of_U3235D99572263B22ADFEE10FDA0C25E12F4D94FFC_4() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___235D99572263B22ADFEE10FDA0C25E12F4D94FFC_4)); }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 get_U3235D99572263B22ADFEE10FDA0C25E12F4D94FFC_4() const { return ___235D99572263B22ADFEE10FDA0C25E12F4D94FFC_4; }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 * get_address_of_U3235D99572263B22ADFEE10FDA0C25E12F4D94FFC_4() { return &___235D99572263B22ADFEE10FDA0C25E12F4D94FFC_4; }
inline void set_U3235D99572263B22ADFEE10FDA0C25E12F4D94FFC_4(__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 value)
{
___235D99572263B22ADFEE10FDA0C25E12F4D94FFC_4 = value;
}
inline static int32_t get_offset_of_U32D3CF0F15AC2DDEC2956EA1B7BBE43FB8B923130_5() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___2D3CF0F15AC2DDEC2956EA1B7BBE43FB8B923130_5)); }
inline __StaticArrayInitTypeSizeU3D14_t2293E0C6AC04C3ABC76C1B941A58194168C25109 get_U32D3CF0F15AC2DDEC2956EA1B7BBE43FB8B923130_5() const { return ___2D3CF0F15AC2DDEC2956EA1B7BBE43FB8B923130_5; }
inline __StaticArrayInitTypeSizeU3D14_t2293E0C6AC04C3ABC76C1B941A58194168C25109 * get_address_of_U32D3CF0F15AC2DDEC2956EA1B7BBE43FB8B923130_5() { return &___2D3CF0F15AC2DDEC2956EA1B7BBE43FB8B923130_5; }
inline void set_U32D3CF0F15AC2DDEC2956EA1B7BBE43FB8B923130_5(__StaticArrayInitTypeSizeU3D14_t2293E0C6AC04C3ABC76C1B941A58194168C25109 value)
{
___2D3CF0F15AC2DDEC2956EA1B7BBE43FB8B923130_5 = value;
}
inline static int32_t get_offset_of_U3320B018758ECE3752FFEDBAEB1A6DB67C80B9359_6() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___320B018758ECE3752FFEDBAEB1A6DB67C80B9359_6)); }
inline __StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 get_U3320B018758ECE3752FFEDBAEB1A6DB67C80B9359_6() const { return ___320B018758ECE3752FFEDBAEB1A6DB67C80B9359_6; }
inline __StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 * get_address_of_U3320B018758ECE3752FFEDBAEB1A6DB67C80B9359_6() { return &___320B018758ECE3752FFEDBAEB1A6DB67C80B9359_6; }
inline void set_U3320B018758ECE3752FFEDBAEB1A6DB67C80B9359_6(__StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 value)
{
___320B018758ECE3752FFEDBAEB1A6DB67C80B9359_6 = value;
}
inline static int32_t get_offset_of_U33E3442C7396F3F2BB4C7348F4A2074C7DC677D68_7() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___3E3442C7396F3F2BB4C7348F4A2074C7DC677D68_7)); }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 get_U33E3442C7396F3F2BB4C7348F4A2074C7DC677D68_7() const { return ___3E3442C7396F3F2BB4C7348F4A2074C7DC677D68_7; }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 * get_address_of_U33E3442C7396F3F2BB4C7348F4A2074C7DC677D68_7() { return &___3E3442C7396F3F2BB4C7348F4A2074C7DC677D68_7; }
inline void set_U33E3442C7396F3F2BB4C7348F4A2074C7DC677D68_7(__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 value)
{
___3E3442C7396F3F2BB4C7348F4A2074C7DC677D68_7 = value;
}
inline static int32_t get_offset_of_U34E3B533C39447AAEB59A8E48FABD7E15B5B5D195_8() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___4E3B533C39447AAEB59A8E48FABD7E15B5B5D195_8)); }
inline __StaticArrayInitTypeSizeU3D48_t9F3D0EF2ACFB23A8C22DE5E03F835F1A400F8A52 get_U34E3B533C39447AAEB59A8E48FABD7E15B5B5D195_8() const { return ___4E3B533C39447AAEB59A8E48FABD7E15B5B5D195_8; }
inline __StaticArrayInitTypeSizeU3D48_t9F3D0EF2ACFB23A8C22DE5E03F835F1A400F8A52 * get_address_of_U34E3B533C39447AAEB59A8E48FABD7E15B5B5D195_8() { return &___4E3B533C39447AAEB59A8E48FABD7E15B5B5D195_8; }
inline void set_U34E3B533C39447AAEB59A8E48FABD7E15B5B5D195_8(__StaticArrayInitTypeSizeU3D48_t9F3D0EF2ACFB23A8C22DE5E03F835F1A400F8A52 value)
{
___4E3B533C39447AAEB59A8E48FABD7E15B5B5D195_8 = value;
}
inline static int32_t get_offset_of_U356DFA5053B3131883637F53219E7D88CCEF35949_9() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___56DFA5053B3131883637F53219E7D88CCEF35949_9)); }
inline __StaticArrayInitTypeSizeU3D10_tA87C7E06DDCE3975CB99672F98A6AC23AD0D87A0 get_U356DFA5053B3131883637F53219E7D88CCEF35949_9() const { return ___56DFA5053B3131883637F53219E7D88CCEF35949_9; }
inline __StaticArrayInitTypeSizeU3D10_tA87C7E06DDCE3975CB99672F98A6AC23AD0D87A0 * get_address_of_U356DFA5053B3131883637F53219E7D88CCEF35949_9() { return &___56DFA5053B3131883637F53219E7D88CCEF35949_9; }
inline void set_U356DFA5053B3131883637F53219E7D88CCEF35949_9(__StaticArrayInitTypeSizeU3D10_tA87C7E06DDCE3975CB99672F98A6AC23AD0D87A0 value)
{
___56DFA5053B3131883637F53219E7D88CCEF35949_9 = value;
}
inline static int32_t get_offset_of_U36D49C9D487D7AD3491ECE08732D68A593CC2038D_10() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___6D49C9D487D7AD3491ECE08732D68A593CC2038D_10)); }
inline __StaticArrayInitTypeSizeU3D9_t2B23599284B0D068CFDF7410ACB3027431B6FD94 get_U36D49C9D487D7AD3491ECE08732D68A593CC2038D_10() const { return ___6D49C9D487D7AD3491ECE08732D68A593CC2038D_10; }
inline __StaticArrayInitTypeSizeU3D9_t2B23599284B0D068CFDF7410ACB3027431B6FD94 * get_address_of_U36D49C9D487D7AD3491ECE08732D68A593CC2038D_10() { return &___6D49C9D487D7AD3491ECE08732D68A593CC2038D_10; }
inline void set_U36D49C9D487D7AD3491ECE08732D68A593CC2038D_10(__StaticArrayInitTypeSizeU3D9_t2B23599284B0D068CFDF7410ACB3027431B6FD94 value)
{
___6D49C9D487D7AD3491ECE08732D68A593CC2038D_10 = value;
}
inline static int32_t get_offset_of_U36E5DC824F803F8565AF31B42199DAE39FE7F4EA9_11() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___6E5DC824F803F8565AF31B42199DAE39FE7F4EA9_11)); }
inline __StaticArrayInitTypeSizeU3D3132_t486168FFAE191756DEF1DBD0456C8C0AA26577B1 get_U36E5DC824F803F8565AF31B42199DAE39FE7F4EA9_11() const { return ___6E5DC824F803F8565AF31B42199DAE39FE7F4EA9_11; }
inline __StaticArrayInitTypeSizeU3D3132_t486168FFAE191756DEF1DBD0456C8C0AA26577B1 * get_address_of_U36E5DC824F803F8565AF31B42199DAE39FE7F4EA9_11() { return &___6E5DC824F803F8565AF31B42199DAE39FE7F4EA9_11; }
inline void set_U36E5DC824F803F8565AF31B42199DAE39FE7F4EA9_11(__StaticArrayInitTypeSizeU3D3132_t486168FFAE191756DEF1DBD0456C8C0AA26577B1 value)
{
___6E5DC824F803F8565AF31B42199DAE39FE7F4EA9_11 = value;
}
inline static int32_t get_offset_of_U36FA00AC9FFFD87F82A38A7F9ECC8134F4A7052AF_12() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___6FA00AC9FFFD87F82A38A7F9ECC8134F4A7052AF_12)); }
inline int64_t get_U36FA00AC9FFFD87F82A38A7F9ECC8134F4A7052AF_12() const { return ___6FA00AC9FFFD87F82A38A7F9ECC8134F4A7052AF_12; }
inline int64_t* get_address_of_U36FA00AC9FFFD87F82A38A7F9ECC8134F4A7052AF_12() { return &___6FA00AC9FFFD87F82A38A7F9ECC8134F4A7052AF_12; }
inline void set_U36FA00AC9FFFD87F82A38A7F9ECC8134F4A7052AF_12(int64_t value)
{
___6FA00AC9FFFD87F82A38A7F9ECC8134F4A7052AF_12 = value;
}
inline static int32_t get_offset_of_U3736D39815215889F11249D9958F6ED12D37B9F57_13() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___736D39815215889F11249D9958F6ED12D37B9F57_13)); }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 get_U3736D39815215889F11249D9958F6ED12D37B9F57_13() const { return ___736D39815215889F11249D9958F6ED12D37B9F57_13; }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 * get_address_of_U3736D39815215889F11249D9958F6ED12D37B9F57_13() { return &___736D39815215889F11249D9958F6ED12D37B9F57_13; }
inline void set_U3736D39815215889F11249D9958F6ED12D37B9F57_13(__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 value)
{
___736D39815215889F11249D9958F6ED12D37B9F57_13 = value;
}
inline static int32_t get_offset_of_U386F4F563FA2C61798AE6238D789139739428463A_14() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___86F4F563FA2C61798AE6238D789139739428463A_14)); }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 get_U386F4F563FA2C61798AE6238D789139739428463A_14() const { return ___86F4F563FA2C61798AE6238D789139739428463A_14; }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 * get_address_of_U386F4F563FA2C61798AE6238D789139739428463A_14() { return &___86F4F563FA2C61798AE6238D789139739428463A_14; }
inline void set_U386F4F563FA2C61798AE6238D789139739428463A_14(__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 value)
{
___86F4F563FA2C61798AE6238D789139739428463A_14 = value;
}
inline static int32_t get_offset_of_U397FB30C84FF4A41CD4625B44B2940BFC8DB43003_15() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___97FB30C84FF4A41CD4625B44B2940BFC8DB43003_15)); }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 get_U397FB30C84FF4A41CD4625B44B2940BFC8DB43003_15() const { return ___97FB30C84FF4A41CD4625B44B2940BFC8DB43003_15; }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 * get_address_of_U397FB30C84FF4A41CD4625B44B2940BFC8DB43003_15() { return &___97FB30C84FF4A41CD4625B44B2940BFC8DB43003_15; }
inline void set_U397FB30C84FF4A41CD4625B44B2940BFC8DB43003_15(__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 value)
{
___97FB30C84FF4A41CD4625B44B2940BFC8DB43003_15 = value;
}
inline static int32_t get_offset_of_U39A9C3962CD4753376E3507C8CB5FD8FCC4B4EDB5_16() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___9A9C3962CD4753376E3507C8CB5FD8FCC4B4EDB5_16)); }
inline __StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 get_U39A9C3962CD4753376E3507C8CB5FD8FCC4B4EDB5_16() const { return ___9A9C3962CD4753376E3507C8CB5FD8FCC4B4EDB5_16; }
inline __StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 * get_address_of_U39A9C3962CD4753376E3507C8CB5FD8FCC4B4EDB5_16() { return &___9A9C3962CD4753376E3507C8CB5FD8FCC4B4EDB5_16; }
inline void set_U39A9C3962CD4753376E3507C8CB5FD8FCC4B4EDB5_16(__StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 value)
{
___9A9C3962CD4753376E3507C8CB5FD8FCC4B4EDB5_16 = value;
}
inline static int32_t get_offset_of_U39BB00D1FCCBAF03165447FC8028E7CA07CA9FE88_17() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___9BB00D1FCCBAF03165447FC8028E7CA07CA9FE88_17)); }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 get_U39BB00D1FCCBAF03165447FC8028E7CA07CA9FE88_17() const { return ___9BB00D1FCCBAF03165447FC8028E7CA07CA9FE88_17; }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 * get_address_of_U39BB00D1FCCBAF03165447FC8028E7CA07CA9FE88_17() { return &___9BB00D1FCCBAF03165447FC8028E7CA07CA9FE88_17; }
inline void set_U39BB00D1FCCBAF03165447FC8028E7CA07CA9FE88_17(__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 value)
{
___9BB00D1FCCBAF03165447FC8028E7CA07CA9FE88_17 = value;
}
inline static int32_t get_offset_of_A323DB0813C4D072957BA6FDA79D9776674CD06B_18() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___A323DB0813C4D072957BA6FDA79D9776674CD06B_18)); }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 get_A323DB0813C4D072957BA6FDA79D9776674CD06B_18() const { return ___A323DB0813C4D072957BA6FDA79D9776674CD06B_18; }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 * get_address_of_A323DB0813C4D072957BA6FDA79D9776674CD06B_18() { return &___A323DB0813C4D072957BA6FDA79D9776674CD06B_18; }
inline void set_A323DB0813C4D072957BA6FDA79D9776674CD06B_18(__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 value)
{
___A323DB0813C4D072957BA6FDA79D9776674CD06B_18 = value;
}
inline static int32_t get_offset_of_AEA5F1CC5CFE1660539EDD691FE017F775F63A0D_19() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___AEA5F1CC5CFE1660539EDD691FE017F775F63A0D_19)); }
inline int64_t get_AEA5F1CC5CFE1660539EDD691FE017F775F63A0D_19() const { return ___AEA5F1CC5CFE1660539EDD691FE017F775F63A0D_19; }
inline int64_t* get_address_of_AEA5F1CC5CFE1660539EDD691FE017F775F63A0D_19() { return &___AEA5F1CC5CFE1660539EDD691FE017F775F63A0D_19; }
inline void set_AEA5F1CC5CFE1660539EDD691FE017F775F63A0D_19(int64_t value)
{
___AEA5F1CC5CFE1660539EDD691FE017F775F63A0D_19 = value;
}
inline static int32_t get_offset_of_BE1BDEC0AA74B4DCB079943E70528096CCA985F8_20() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___BE1BDEC0AA74B4DCB079943E70528096CCA985F8_20)); }
inline __StaticArrayInitTypeSizeU3D20_t45181D0C9A3626B505048EEE1AC441C18A377DBF get_BE1BDEC0AA74B4DCB079943E70528096CCA985F8_20() const { return ___BE1BDEC0AA74B4DCB079943E70528096CCA985F8_20; }
inline __StaticArrayInitTypeSizeU3D20_t45181D0C9A3626B505048EEE1AC441C18A377DBF * get_address_of_BE1BDEC0AA74B4DCB079943E70528096CCA985F8_20() { return &___BE1BDEC0AA74B4DCB079943E70528096CCA985F8_20; }
inline void set_BE1BDEC0AA74B4DCB079943E70528096CCA985F8_20(__StaticArrayInitTypeSizeU3D20_t45181D0C9A3626B505048EEE1AC441C18A377DBF value)
{
___BE1BDEC0AA74B4DCB079943E70528096CCA985F8_20 = value;
}
inline static int32_t get_offset_of_BF477463CE2F5EF38FC4C644BBBF4DF109E7670A_21() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___BF477463CE2F5EF38FC4C644BBBF4DF109E7670A_21)); }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 get_BF477463CE2F5EF38FC4C644BBBF4DF109E7670A_21() const { return ___BF477463CE2F5EF38FC4C644BBBF4DF109E7670A_21; }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 * get_address_of_BF477463CE2F5EF38FC4C644BBBF4DF109E7670A_21() { return &___BF477463CE2F5EF38FC4C644BBBF4DF109E7670A_21; }
inline void set_BF477463CE2F5EF38FC4C644BBBF4DF109E7670A_21(__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 value)
{
___BF477463CE2F5EF38FC4C644BBBF4DF109E7670A_21 = value;
}
inline static int32_t get_offset_of_CF0B42666EF5E37EDEA0AB8E173E42C196D03814_22() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___CF0B42666EF5E37EDEA0AB8E173E42C196D03814_22)); }
inline __StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 get_CF0B42666EF5E37EDEA0AB8E173E42C196D03814_22() const { return ___CF0B42666EF5E37EDEA0AB8E173E42C196D03814_22; }
inline __StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 * get_address_of_CF0B42666EF5E37EDEA0AB8E173E42C196D03814_22() { return &___CF0B42666EF5E37EDEA0AB8E173E42C196D03814_22; }
inline void set_CF0B42666EF5E37EDEA0AB8E173E42C196D03814_22(__StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 value)
{
___CF0B42666EF5E37EDEA0AB8E173E42C196D03814_22 = value;
}
inline static int32_t get_offset_of_D28E8ABDBD777A482CE0EE5C24814ACAE52AABFE_23() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___D28E8ABDBD777A482CE0EE5C24814ACAE52AABFE_23)); }
inline __StaticArrayInitTypeSizeU3D32_tB9E831F7CD5830D06525ABB45BC8517064237A2A get_D28E8ABDBD777A482CE0EE5C24814ACAE52AABFE_23() const { return ___D28E8ABDBD777A482CE0EE5C24814ACAE52AABFE_23; }
inline __StaticArrayInitTypeSizeU3D32_tB9E831F7CD5830D06525ABB45BC8517064237A2A * get_address_of_D28E8ABDBD777A482CE0EE5C24814ACAE52AABFE_23() { return &___D28E8ABDBD777A482CE0EE5C24814ACAE52AABFE_23; }
inline void set_D28E8ABDBD777A482CE0EE5C24814ACAE52AABFE_23(__StaticArrayInitTypeSizeU3D32_tB9E831F7CD5830D06525ABB45BC8517064237A2A value)
{
___D28E8ABDBD777A482CE0EE5C24814ACAE52AABFE_23 = value;
}
inline static int32_t get_offset_of_D2C5BAE967587C6F3D9F2C4551911E0575A1101F_24() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___D2C5BAE967587C6F3D9F2C4551911E0575A1101F_24)); }
inline __StaticArrayInitTypeSizeU3D256_t8BFCD627E5A35B5A739C81B9213D9B9A173DE667 get_D2C5BAE967587C6F3D9F2C4551911E0575A1101F_24() const { return ___D2C5BAE967587C6F3D9F2C4551911E0575A1101F_24; }
inline __StaticArrayInitTypeSizeU3D256_t8BFCD627E5A35B5A739C81B9213D9B9A173DE667 * get_address_of_D2C5BAE967587C6F3D9F2C4551911E0575A1101F_24() { return &___D2C5BAE967587C6F3D9F2C4551911E0575A1101F_24; }
inline void set_D2C5BAE967587C6F3D9F2C4551911E0575A1101F_24(__StaticArrayInitTypeSizeU3D256_t8BFCD627E5A35B5A739C81B9213D9B9A173DE667 value)
{
___D2C5BAE967587C6F3D9F2C4551911E0575A1101F_24 = value;
}
inline static int32_t get_offset_of_E75835D001C843F156FBA01B001DFE1B8029AC17_25() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___E75835D001C843F156FBA01B001DFE1B8029AC17_25)); }
inline __StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 get_E75835D001C843F156FBA01B001DFE1B8029AC17_25() const { return ___E75835D001C843F156FBA01B001DFE1B8029AC17_25; }
inline __StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 * get_address_of_E75835D001C843F156FBA01B001DFE1B8029AC17_25() { return &___E75835D001C843F156FBA01B001DFE1B8029AC17_25; }
inline void set_E75835D001C843F156FBA01B001DFE1B8029AC17_25(__StaticArrayInitTypeSizeU3D64_t7FDF3B8905F8D5A457AD7CA8FB6CB4F40AA78AF9 value)
{
___E75835D001C843F156FBA01B001DFE1B8029AC17_25 = value;
}
inline static int32_t get_offset_of_EC5BB4F59D4B9B2E9ECD3904D44A8275F23AFB11_26() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___EC5BB4F59D4B9B2E9ECD3904D44A8275F23AFB11_26)); }
inline __StaticArrayInitTypeSizeU3D10_tA87C7E06DDCE3975CB99672F98A6AC23AD0D87A0 get_EC5BB4F59D4B9B2E9ECD3904D44A8275F23AFB11_26() const { return ___EC5BB4F59D4B9B2E9ECD3904D44A8275F23AFB11_26; }
inline __StaticArrayInitTypeSizeU3D10_tA87C7E06DDCE3975CB99672F98A6AC23AD0D87A0 * get_address_of_EC5BB4F59D4B9B2E9ECD3904D44A8275F23AFB11_26() { return &___EC5BB4F59D4B9B2E9ECD3904D44A8275F23AFB11_26; }
inline void set_EC5BB4F59D4B9B2E9ECD3904D44A8275F23AFB11_26(__StaticArrayInitTypeSizeU3D10_tA87C7E06DDCE3975CB99672F98A6AC23AD0D87A0 value)
{
___EC5BB4F59D4B9B2E9ECD3904D44A8275F23AFB11_26 = value;
}
inline static int32_t get_offset_of_EC83FB16C20052BEE2B4025159BC2ED45C9C70C3_27() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA_StaticFields, ___EC83FB16C20052BEE2B4025159BC2ED45C9C70C3_27)); }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 get_EC83FB16C20052BEE2B4025159BC2ED45C9C70C3_27() const { return ___EC83FB16C20052BEE2B4025159BC2ED45C9C70C3_27; }
inline __StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 * get_address_of_EC83FB16C20052BEE2B4025159BC2ED45C9C70C3_27() { return &___EC83FB16C20052BEE2B4025159BC2ED45C9C70C3_27; }
inline void set_EC83FB16C20052BEE2B4025159BC2ED45C9C70C3_27(__StaticArrayInitTypeSizeU3D3_t83D19CF571199F638945B4CE7AC3EFBB12513428 value)
{
___EC83FB16C20052BEE2B4025159BC2ED45C9C70C3_27 = value;
}
};
// Mono.Math.BigInteger_Sign
struct Sign_t8182561D973670995EB6DDCE959479C0B8E45FDD
{
public:
// System.Int32 Mono.Math.BigInteger_Sign::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Sign_t8182561D973670995EB6DDCE959479C0B8E45FDD, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Mono.Math.Prime.ConfidenceFactor
struct ConfidenceFactor_t945E0EE732DB24BE51678FCB2741BBEB440179CE
{
public:
// System.Int32 Mono.Math.Prime.ConfidenceFactor::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ConfidenceFactor_t945E0EE732DB24BE51678FCB2741BBEB440179CE, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Mono.Security.Cryptography.MD2Managed
struct MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC : public MD2_tCAAEC1A28A3D0B9E8810B27E4840BEA399619442
{
public:
// System.Byte[] Mono.Security.Cryptography.MD2Managed::state
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___state_4;
// System.Byte[] Mono.Security.Cryptography.MD2Managed::checksum
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___checksum_5;
// System.Byte[] Mono.Security.Cryptography.MD2Managed::buffer
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer_6;
// System.Int32 Mono.Security.Cryptography.MD2Managed::count
int32_t ___count_7;
// System.Byte[] Mono.Security.Cryptography.MD2Managed::x
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___x_8;
public:
inline static int32_t get_offset_of_state_4() { return static_cast<int32_t>(offsetof(MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC, ___state_4)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_state_4() const { return ___state_4; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_state_4() { return &___state_4; }
inline void set_state_4(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___state_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___state_4), (void*)value);
}
inline static int32_t get_offset_of_checksum_5() { return static_cast<int32_t>(offsetof(MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC, ___checksum_5)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_checksum_5() const { return ___checksum_5; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_checksum_5() { return &___checksum_5; }
inline void set_checksum_5(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___checksum_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___checksum_5), (void*)value);
}
inline static int32_t get_offset_of_buffer_6() { return static_cast<int32_t>(offsetof(MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC, ___buffer_6)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_buffer_6() const { return ___buffer_6; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_buffer_6() { return &___buffer_6; }
inline void set_buffer_6(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___buffer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buffer_6), (void*)value);
}
inline static int32_t get_offset_of_count_7() { return static_cast<int32_t>(offsetof(MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC, ___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_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC, ___x_8)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_x_8() const { return ___x_8; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_x_8() { return &___x_8; }
inline void set_x_8(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___x_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___x_8), (void*)value);
}
};
struct MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC_StaticFields
{
public:
// System.Byte[] Mono.Security.Cryptography.MD2Managed::PI_SUBST
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___PI_SUBST_9;
public:
inline static int32_t get_offset_of_PI_SUBST_9() { return static_cast<int32_t>(offsetof(MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC_StaticFields, ___PI_SUBST_9)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_PI_SUBST_9() const { return ___PI_SUBST_9; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_PI_SUBST_9() { return &___PI_SUBST_9; }
inline void set_PI_SUBST_9(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___PI_SUBST_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___PI_SUBST_9), (void*)value);
}
};
// Mono.Security.Cryptography.MD4Managed
struct MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 : public MD4_t932C1DEA44D4B8650873251E88AA4096164BB380
{
public:
// System.UInt32[] Mono.Security.Cryptography.MD4Managed::state
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___state_4;
// System.Byte[] Mono.Security.Cryptography.MD4Managed::buffer
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer_5;
// System.UInt32[] Mono.Security.Cryptography.MD4Managed::count
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___count_6;
// System.UInt32[] Mono.Security.Cryptography.MD4Managed::x
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___x_7;
// System.Byte[] Mono.Security.Cryptography.MD4Managed::digest
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___digest_8;
public:
inline static int32_t get_offset_of_state_4() { return static_cast<int32_t>(offsetof(MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1, ___state_4)); }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* get_state_4() const { return ___state_4; }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB** get_address_of_state_4() { return &___state_4; }
inline void set_state_4(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* value)
{
___state_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___state_4), (void*)value);
}
inline static int32_t get_offset_of_buffer_5() { return static_cast<int32_t>(offsetof(MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1, ___buffer_5)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_buffer_5() const { return ___buffer_5; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_buffer_5() { return &___buffer_5; }
inline void set_buffer_5(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___buffer_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buffer_5), (void*)value);
}
inline static int32_t get_offset_of_count_6() { return static_cast<int32_t>(offsetof(MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1, ___count_6)); }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* get_count_6() const { return ___count_6; }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB** get_address_of_count_6() { return &___count_6; }
inline void set_count_6(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* value)
{
___count_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___count_6), (void*)value);
}
inline static int32_t get_offset_of_x_7() { return static_cast<int32_t>(offsetof(MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1, ___x_7)); }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* get_x_7() const { return ___x_7; }
inline UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB** get_address_of_x_7() { return &___x_7; }
inline void set_x_7(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* value)
{
___x_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___x_7), (void*)value);
}
inline static int32_t get_offset_of_digest_8() { return static_cast<int32_t>(offsetof(MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1, ___digest_8)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_digest_8() const { return ___digest_8; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_digest_8() { return &___digest_8; }
inline void set_digest_8(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___digest_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___digest_8), (void*)value);
}
};
// Mono.Security.Cryptography.RSAManaged
struct RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 : public RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145
{
public:
// System.Boolean Mono.Security.Cryptography.RSAManaged::isCRTpossible
bool ___isCRTpossible_2;
// System.Boolean Mono.Security.Cryptography.RSAManaged::keypairGenerated
bool ___keypairGenerated_3;
// System.Boolean Mono.Security.Cryptography.RSAManaged::m_disposed
bool ___m_disposed_4;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::d
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___d_5;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::p
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___p_6;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::q
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___q_7;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::dp
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___dp_8;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::dq
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___dq_9;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::qInv
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___qInv_10;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::n
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___n_11;
// Mono.Math.BigInteger Mono.Security.Cryptography.RSAManaged::e
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___e_12;
// Mono.Security.Cryptography.RSAManaged_KeyGeneratedEventHandler Mono.Security.Cryptography.RSAManaged::KeyGenerated
KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9 * ___KeyGenerated_13;
public:
inline static int32_t get_offset_of_isCRTpossible_2() { return static_cast<int32_t>(offsetof(RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745, ___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_keypairGenerated_3() { return static_cast<int32_t>(offsetof(RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745, ___keypairGenerated_3)); }
inline bool get_keypairGenerated_3() const { return ___keypairGenerated_3; }
inline bool* get_address_of_keypairGenerated_3() { return &___keypairGenerated_3; }
inline void set_keypairGenerated_3(bool value)
{
___keypairGenerated_3 = value;
}
inline static int32_t get_offset_of_m_disposed_4() { return static_cast<int32_t>(offsetof(RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745, ___m_disposed_4)); }
inline bool get_m_disposed_4() const { return ___m_disposed_4; }
inline bool* get_address_of_m_disposed_4() { return &___m_disposed_4; }
inline void set_m_disposed_4(bool value)
{
___m_disposed_4 = value;
}
inline static int32_t get_offset_of_d_5() { return static_cast<int32_t>(offsetof(RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745, ___d_5)); }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * get_d_5() const { return ___d_5; }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** get_address_of_d_5() { return &___d_5; }
inline void set_d_5(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * value)
{
___d_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___d_5), (void*)value);
}
inline static int32_t get_offset_of_p_6() { return static_cast<int32_t>(offsetof(RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745, ___p_6)); }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * get_p_6() const { return ___p_6; }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** get_address_of_p_6() { return &___p_6; }
inline void set_p_6(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * value)
{
___p_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___p_6), (void*)value);
}
inline static int32_t get_offset_of_q_7() { return static_cast<int32_t>(offsetof(RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745, ___q_7)); }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * get_q_7() const { return ___q_7; }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** get_address_of_q_7() { return &___q_7; }
inline void set_q_7(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * value)
{
___q_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___q_7), (void*)value);
}
inline static int32_t get_offset_of_dp_8() { return static_cast<int32_t>(offsetof(RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745, ___dp_8)); }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * get_dp_8() const { return ___dp_8; }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** get_address_of_dp_8() { return &___dp_8; }
inline void set_dp_8(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * value)
{
___dp_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dp_8), (void*)value);
}
inline static int32_t get_offset_of_dq_9() { return static_cast<int32_t>(offsetof(RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745, ___dq_9)); }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * get_dq_9() const { return ___dq_9; }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** get_address_of_dq_9() { return &___dq_9; }
inline void set_dq_9(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * value)
{
___dq_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dq_9), (void*)value);
}
inline static int32_t get_offset_of_qInv_10() { return static_cast<int32_t>(offsetof(RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745, ___qInv_10)); }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * get_qInv_10() const { return ___qInv_10; }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** get_address_of_qInv_10() { return &___qInv_10; }
inline void set_qInv_10(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * value)
{
___qInv_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___qInv_10), (void*)value);
}
inline static int32_t get_offset_of_n_11() { return static_cast<int32_t>(offsetof(RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745, ___n_11)); }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * get_n_11() const { return ___n_11; }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** get_address_of_n_11() { return &___n_11; }
inline void set_n_11(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * value)
{
___n_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___n_11), (void*)value);
}
inline static int32_t get_offset_of_e_12() { return static_cast<int32_t>(offsetof(RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745, ___e_12)); }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * get_e_12() const { return ___e_12; }
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** get_address_of_e_12() { return &___e_12; }
inline void set_e_12(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * value)
{
___e_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___e_12), (void*)value);
}
inline static int32_t get_offset_of_KeyGenerated_13() { return static_cast<int32_t>(offsetof(RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745, ___KeyGenerated_13)); }
inline KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9 * get_KeyGenerated_13() const { return ___KeyGenerated_13; }
inline KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9 ** get_address_of_KeyGenerated_13() { return &___KeyGenerated_13; }
inline void set_KeyGenerated_13(KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9 * value)
{
___KeyGenerated_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___KeyGenerated_13), (void*)value);
}
};
// Mono.Security.Interface.AlertDescription
struct AlertDescription_t8D4DE3060801044928816134B2292AFB933D40D6
{
public:
// System.Byte Mono.Security.Interface.AlertDescription::value__
uint8_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(AlertDescription_t8D4DE3060801044928816134B2292AFB933D40D6, ___value___2)); }
inline uint8_t get_value___2() const { return ___value___2; }
inline uint8_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint8_t value)
{
___value___2 = value;
}
};
// Mono.Security.Interface.AlertLevel
struct AlertLevel_t300CD4F0586BC84361B20C4B26C89EC1ECB3FC34
{
public:
// System.Byte Mono.Security.Interface.AlertLevel::value__
uint8_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(AlertLevel_t300CD4F0586BC84361B20C4B26C89EC1ECB3FC34, ___value___2)); }
inline uint8_t get_value___2() const { return ___value___2; }
inline uint8_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint8_t value)
{
___value___2 = value;
}
};
// Mono.Security.Interface.CipherSuiteCode
struct CipherSuiteCode_t32674B07A5C552605FA138AEACFFA20474A255F1
{
public:
// System.UInt16 Mono.Security.Interface.CipherSuiteCode::value__
uint16_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CipherSuiteCode_t32674B07A5C552605FA138AEACFFA20474A255F1, ___value___2)); }
inline uint16_t get_value___2() const { return ___value___2; }
inline uint16_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint16_t value)
{
___value___2 = value;
}
};
// Mono.Security.Interface.MonoSslPolicyErrors
struct MonoSslPolicyErrors_t5F32A4E793EAB8B8A8128A6A3E7690D2E1F666C7
{
public:
// System.Int32 Mono.Security.Interface.MonoSslPolicyErrors::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(MonoSslPolicyErrors_t5F32A4E793EAB8B8A8128A6A3E7690D2E1F666C7, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Mono.Security.Interface.TlsProtocols
struct TlsProtocols_t25D1B0EFE5CC77B30D19258E7AC462AB4D828163
{
public:
// System.Int32 Mono.Security.Interface.TlsProtocols::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TlsProtocols_t25D1B0EFE5CC77B30D19258E7AC462AB4D828163, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Mono.Security.Protocol.Ntlm.NtlmAuthLevel
struct NtlmAuthLevel_tF1354DE8BF43C36E20D475A077E035BB11936015
{
public:
// System.Int32 Mono.Security.Protocol.Ntlm.NtlmAuthLevel::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(NtlmAuthLevel_tF1354DE8BF43C36E20D475A077E035BB11936015, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Mono.Security.Protocol.Ntlm.NtlmFlags
struct NtlmFlags_t9AC7D2604BC2E16EDEF1C9D2066E6BEC0D8A1578
{
public:
// System.Int32 Mono.Security.Protocol.Ntlm.NtlmFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(NtlmFlags_t9AC7D2604BC2E16EDEF1C9D2066E6BEC0D8A1578, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Mono.Security.X509.X509Certificate
struct X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B : public RuntimeObject
{
public:
// Mono.Security.ASN1 Mono.Security.X509.X509Certificate::decoder
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___decoder_0;
// System.Byte[] Mono.Security.X509.X509Certificate::m_encodedcert
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___m_encodedcert_1;
// System.DateTime Mono.Security.X509.X509Certificate::m_from
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___m_from_2;
// System.DateTime Mono.Security.X509.X509Certificate::m_until
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___m_until_3;
// Mono.Security.ASN1 Mono.Security.X509.X509Certificate::issuer
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___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_tD06FDBE8142446525DF1C40351D523A228373821* ___m_keyalgoparams_7;
// Mono.Security.ASN1 Mono.Security.X509.X509Certificate::subject
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___subject_8;
// System.String Mono.Security.X509.X509Certificate::m_subject
String_t* ___m_subject_9;
// System.Byte[] Mono.Security.X509.X509Certificate::m_publickey
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___m_publickey_10;
// System.Byte[] Mono.Security.X509.X509Certificate::signature
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___signature_11;
// System.String Mono.Security.X509.X509Certificate::m_signaturealgo
String_t* ___m_signaturealgo_12;
// System.Byte[] Mono.Security.X509.X509Certificate::m_signaturealgoparams
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___m_signaturealgoparams_13;
// System.Security.Cryptography.RSA Mono.Security.X509.X509Certificate::_rsa
RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * ____rsa_14;
// System.Security.Cryptography.DSA Mono.Security.X509.X509Certificate::_dsa
DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * ____dsa_15;
// System.Int32 Mono.Security.X509.X509Certificate::version
int32_t ___version_16;
// System.Byte[] Mono.Security.X509.X509Certificate::serialnumber
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___serialnumber_17;
// System.Byte[] Mono.Security.X509.X509Certificate::issuerUniqueID
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___issuerUniqueID_18;
// System.Byte[] Mono.Security.X509.X509Certificate::subjectUniqueID
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___subjectUniqueID_19;
// Mono.Security.X509.X509ExtensionCollection Mono.Security.X509.X509Certificate::extensions
X509ExtensionCollection_t64150C4CB662DB5B4A434CC41C612FE573707D19 * ___extensions_20;
public:
inline static int32_t get_offset_of_decoder_0() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___decoder_0)); }
inline ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * get_decoder_0() const { return ___decoder_0; }
inline ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E ** get_address_of_decoder_0() { return &___decoder_0; }
inline void set_decoder_0(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * value)
{
___decoder_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___decoder_0), (void*)value);
}
inline static int32_t get_offset_of_m_encodedcert_1() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___m_encodedcert_1)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_m_encodedcert_1() const { return ___m_encodedcert_1; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_m_encodedcert_1() { return &___m_encodedcert_1; }
inline void set_m_encodedcert_1(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___m_encodedcert_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_encodedcert_1), (void*)value);
}
inline static int32_t get_offset_of_m_from_2() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___m_from_2)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_m_from_2() const { return ___m_from_2; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_m_from_2() { return &___m_from_2; }
inline void set_m_from_2(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___m_from_2 = value;
}
inline static int32_t get_offset_of_m_until_3() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___m_until_3)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_m_until_3() const { return ___m_until_3; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_m_until_3() { return &___m_until_3; }
inline void set_m_until_3(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___m_until_3 = value;
}
inline static int32_t get_offset_of_issuer_4() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___issuer_4)); }
inline ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * get_issuer_4() const { return ___issuer_4; }
inline ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E ** get_address_of_issuer_4() { return &___issuer_4; }
inline void set_issuer_4(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * value)
{
___issuer_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___issuer_4), (void*)value);
}
inline static int32_t get_offset_of_m_issuername_5() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___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((void**)(&___m_issuername_5), (void*)value);
}
inline static int32_t get_offset_of_m_keyalgo_6() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___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((void**)(&___m_keyalgo_6), (void*)value);
}
inline static int32_t get_offset_of_m_keyalgoparams_7() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___m_keyalgoparams_7)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_m_keyalgoparams_7() const { return ___m_keyalgoparams_7; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_m_keyalgoparams_7() { return &___m_keyalgoparams_7; }
inline void set_m_keyalgoparams_7(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___m_keyalgoparams_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_keyalgoparams_7), (void*)value);
}
inline static int32_t get_offset_of_subject_8() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___subject_8)); }
inline ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * get_subject_8() const { return ___subject_8; }
inline ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E ** get_address_of_subject_8() { return &___subject_8; }
inline void set_subject_8(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * value)
{
___subject_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___subject_8), (void*)value);
}
inline static int32_t get_offset_of_m_subject_9() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___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((void**)(&___m_subject_9), (void*)value);
}
inline static int32_t get_offset_of_m_publickey_10() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___m_publickey_10)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_m_publickey_10() const { return ___m_publickey_10; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_m_publickey_10() { return &___m_publickey_10; }
inline void set_m_publickey_10(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___m_publickey_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_publickey_10), (void*)value);
}
inline static int32_t get_offset_of_signature_11() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___signature_11)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_signature_11() const { return ___signature_11; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_signature_11() { return &___signature_11; }
inline void set_signature_11(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___signature_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___signature_11), (void*)value);
}
inline static int32_t get_offset_of_m_signaturealgo_12() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___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((void**)(&___m_signaturealgo_12), (void*)value);
}
inline static int32_t get_offset_of_m_signaturealgoparams_13() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___m_signaturealgoparams_13)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_m_signaturealgoparams_13() const { return ___m_signaturealgoparams_13; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_m_signaturealgoparams_13() { return &___m_signaturealgoparams_13; }
inline void set_m_signaturealgoparams_13(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___m_signaturealgoparams_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_signaturealgoparams_13), (void*)value);
}
inline static int32_t get_offset_of__rsa_14() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ____rsa_14)); }
inline RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * get__rsa_14() const { return ____rsa_14; }
inline RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 ** get_address_of__rsa_14() { return &____rsa_14; }
inline void set__rsa_14(RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * value)
{
____rsa_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&____rsa_14), (void*)value);
}
inline static int32_t get_offset_of__dsa_15() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ____dsa_15)); }
inline DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * get__dsa_15() const { return ____dsa_15; }
inline DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF ** get_address_of__dsa_15() { return &____dsa_15; }
inline void set__dsa_15(DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * value)
{
____dsa_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dsa_15), (void*)value);
}
inline static int32_t get_offset_of_version_16() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___version_16)); }
inline int32_t get_version_16() const { return ___version_16; }
inline int32_t* get_address_of_version_16() { return &___version_16; }
inline void set_version_16(int32_t value)
{
___version_16 = value;
}
inline static int32_t get_offset_of_serialnumber_17() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___serialnumber_17)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_serialnumber_17() const { return ___serialnumber_17; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_serialnumber_17() { return &___serialnumber_17; }
inline void set_serialnumber_17(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___serialnumber_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___serialnumber_17), (void*)value);
}
inline static int32_t get_offset_of_issuerUniqueID_18() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___issuerUniqueID_18)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_issuerUniqueID_18() const { return ___issuerUniqueID_18; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_issuerUniqueID_18() { return &___issuerUniqueID_18; }
inline void set_issuerUniqueID_18(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___issuerUniqueID_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___issuerUniqueID_18), (void*)value);
}
inline static int32_t get_offset_of_subjectUniqueID_19() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___subjectUniqueID_19)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_subjectUniqueID_19() const { return ___subjectUniqueID_19; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_subjectUniqueID_19() { return &___subjectUniqueID_19; }
inline void set_subjectUniqueID_19(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___subjectUniqueID_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___subjectUniqueID_19), (void*)value);
}
inline static int32_t get_offset_of_extensions_20() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B, ___extensions_20)); }
inline X509ExtensionCollection_t64150C4CB662DB5B4A434CC41C612FE573707D19 * get_extensions_20() const { return ___extensions_20; }
inline X509ExtensionCollection_t64150C4CB662DB5B4A434CC41C612FE573707D19 ** get_address_of_extensions_20() { return &___extensions_20; }
inline void set_extensions_20(X509ExtensionCollection_t64150C4CB662DB5B4A434CC41C612FE573707D19 * value)
{
___extensions_20 = value;
Il2CppCodeGenWriteBarrier((void**)(&___extensions_20), (void*)value);
}
};
struct X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B_StaticFields
{
public:
// System.String Mono.Security.X509.X509Certificate::encoding_error
String_t* ___encoding_error_21;
public:
inline static int32_t get_offset_of_encoding_error_21() { return static_cast<int32_t>(offsetof(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B_StaticFields, ___encoding_error_21)); }
inline String_t* get_encoding_error_21() const { return ___encoding_error_21; }
inline String_t** get_address_of_encoding_error_21() { return &___encoding_error_21; }
inline void set_encoding_error_21(String_t* value)
{
___encoding_error_21 = value;
Il2CppCodeGenWriteBarrier((void**)(&___encoding_error_21), (void*)value);
}
};
// System.Delegate
struct Delegate_t : 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::extra_arg
intptr_t ___extra_arg_5;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_6;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t * ___method_info_7;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t * ___original_method_info_8;
// System.DelegateData System.Delegate::data
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
// System.Boolean System.Delegate::method_is_virtual
bool ___method_is_virtual_10;
public:
inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t, ___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_t, ___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_t, ___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((void**)(&___m_target_2), (void*)value);
}
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t, ___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_t, ___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_extra_arg_5() { return static_cast<int32_t>(offsetof(Delegate_t, ___extra_arg_5)); }
inline intptr_t get_extra_arg_5() const { return ___extra_arg_5; }
inline intptr_t* get_address_of_extra_arg_5() { return &___extra_arg_5; }
inline void set_extra_arg_5(intptr_t value)
{
___extra_arg_5 = value;
}
inline static int32_t get_offset_of_method_code_6() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_code_6)); }
inline intptr_t get_method_code_6() const { return ___method_code_6; }
inline intptr_t* get_address_of_method_code_6() { return &___method_code_6; }
inline void set_method_code_6(intptr_t value)
{
___method_code_6 = value;
}
inline static int32_t get_offset_of_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_info_7)); }
inline MethodInfo_t * get_method_info_7() const { return ___method_info_7; }
inline MethodInfo_t ** get_address_of_method_info_7() { return &___method_info_7; }
inline void set_method_info_7(MethodInfo_t * value)
{
___method_info_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___method_info_7), (void*)value);
}
inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t, ___original_method_info_8)); }
inline MethodInfo_t * get_original_method_info_8() const { return ___original_method_info_8; }
inline MethodInfo_t ** get_address_of_original_method_info_8() { return &___original_method_info_8; }
inline void set_original_method_info_8(MethodInfo_t * value)
{
___original_method_info_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___original_method_info_8), (void*)value);
}
inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t, ___data_9)); }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * get_data_9() const { return ___data_9; }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE ** get_address_of_data_9() { return &___data_9; }
inline void set_data_9(DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * value)
{
___data_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___data_9), (void*)value);
}
inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_is_virtual_10)); }
inline bool get_method_is_virtual_10() const { return ___method_is_virtual_10; }
inline bool* get_address_of_method_is_virtual_10() { return &___method_is_virtual_10; }
inline void set_method_is_virtual_10(bool value)
{
___method_is_virtual_10 = value;
}
};
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t_marshaled_pinvoke
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t_marshaled_com
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// System.Exception
struct Exception_t : public RuntimeObject
{
public:
// System.String System.Exception::_className
String_t* ____className_1;
// System.String System.Exception::_message
String_t* ____message_2;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_3;
// System.Exception System.Exception::_innerException
Exception_t * ____innerException_4;
// System.String System.Exception::_helpURL
String_t* ____helpURL_5;
// System.Object System.Exception::_stackTrace
RuntimeObject * ____stackTrace_6;
// System.String System.Exception::_stackTraceString
String_t* ____stackTraceString_7;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_8;
// System.Int32 System.Exception::_remoteStackIndex
int32_t ____remoteStackIndex_9;
// System.Object System.Exception::_dynamicMethods
RuntimeObject * ____dynamicMethods_10;
// System.Int32 System.Exception::_HResult
int32_t ____HResult_11;
// System.String System.Exception::_source
String_t* ____source_12;
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* ___native_trace_ips_15;
public:
inline static int32_t get_offset_of__className_1() { return static_cast<int32_t>(offsetof(Exception_t, ____className_1)); }
inline String_t* get__className_1() const { return ____className_1; }
inline String_t** get_address_of__className_1() { return &____className_1; }
inline void set__className_1(String_t* value)
{
____className_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____className_1), (void*)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((void**)(&____message_2), (void*)value);
}
inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(Exception_t, ____data_3)); }
inline RuntimeObject* get__data_3() const { return ____data_3; }
inline RuntimeObject** get_address_of__data_3() { return &____data_3; }
inline void set__data_3(RuntimeObject* value)
{
____data_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____data_3), (void*)value);
}
inline static int32_t get_offset_of__innerException_4() { return static_cast<int32_t>(offsetof(Exception_t, ____innerException_4)); }
inline Exception_t * get__innerException_4() const { return ____innerException_4; }
inline Exception_t ** get_address_of__innerException_4() { return &____innerException_4; }
inline void set__innerException_4(Exception_t * value)
{
____innerException_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____innerException_4), (void*)value);
}
inline static int32_t get_offset_of__helpURL_5() { return static_cast<int32_t>(offsetof(Exception_t, ____helpURL_5)); }
inline String_t* get__helpURL_5() const { return ____helpURL_5; }
inline String_t** get_address_of__helpURL_5() { return &____helpURL_5; }
inline void set__helpURL_5(String_t* value)
{
____helpURL_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____helpURL_5), (void*)value);
}
inline static int32_t get_offset_of__stackTrace_6() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTrace_6)); }
inline RuntimeObject * get__stackTrace_6() const { return ____stackTrace_6; }
inline RuntimeObject ** get_address_of__stackTrace_6() { return &____stackTrace_6; }
inline void set__stackTrace_6(RuntimeObject * value)
{
____stackTrace_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____stackTrace_6), (void*)value);
}
inline static int32_t get_offset_of__stackTraceString_7() { return static_cast<int32_t>(offsetof(Exception_t, ____stackTraceString_7)); }
inline String_t* get__stackTraceString_7() const { return ____stackTraceString_7; }
inline String_t** get_address_of__stackTraceString_7() { return &____stackTraceString_7; }
inline void set__stackTraceString_7(String_t* value)
{
____stackTraceString_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____stackTraceString_7), (void*)value);
}
inline static int32_t get_offset_of__remoteStackTraceString_8() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackTraceString_8)); }
inline String_t* get__remoteStackTraceString_8() const { return ____remoteStackTraceString_8; }
inline String_t** get_address_of__remoteStackTraceString_8() { return &____remoteStackTraceString_8; }
inline void set__remoteStackTraceString_8(String_t* value)
{
____remoteStackTraceString_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____remoteStackTraceString_8), (void*)value);
}
inline static int32_t get_offset_of__remoteStackIndex_9() { return static_cast<int32_t>(offsetof(Exception_t, ____remoteStackIndex_9)); }
inline int32_t get__remoteStackIndex_9() const { return ____remoteStackIndex_9; }
inline int32_t* get_address_of__remoteStackIndex_9() { return &____remoteStackIndex_9; }
inline void set__remoteStackIndex_9(int32_t value)
{
____remoteStackIndex_9 = value;
}
inline static int32_t get_offset_of__dynamicMethods_10() { return static_cast<int32_t>(offsetof(Exception_t, ____dynamicMethods_10)); }
inline RuntimeObject * get__dynamicMethods_10() const { return ____dynamicMethods_10; }
inline RuntimeObject ** get_address_of__dynamicMethods_10() { return &____dynamicMethods_10; }
inline void set__dynamicMethods_10(RuntimeObject * value)
{
____dynamicMethods_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&____dynamicMethods_10), (void*)value);
}
inline static int32_t get_offset_of__HResult_11() { return static_cast<int32_t>(offsetof(Exception_t, ____HResult_11)); }
inline int32_t get__HResult_11() const { return ____HResult_11; }
inline int32_t* get_address_of__HResult_11() { return &____HResult_11; }
inline void set__HResult_11(int32_t value)
{
____HResult_11 = value;
}
inline static int32_t get_offset_of__source_12() { return static_cast<int32_t>(offsetof(Exception_t, ____source_12)); }
inline String_t* get__source_12() const { return ____source_12; }
inline String_t** get_address_of__source_12() { return &____source_12; }
inline void set__source_12(String_t* value)
{
____source_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&____source_12), (void*)value);
}
inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); }
inline SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
inline SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
inline void set__safeSerializationManager_13(SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * value)
{
____safeSerializationManager_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&____safeSerializationManager_13), (void*)value);
}
inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); }
inline StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* get_captured_traces_14() const { return ___captured_traces_14; }
inline StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196** get_address_of_captured_traces_14() { return &___captured_traces_14; }
inline void set_captured_traces_14(StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* value)
{
___captured_traces_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___captured_traces_14), (void*)value);
}
inline static int32_t get_offset_of_native_trace_ips_15() { return static_cast<int32_t>(offsetof(Exception_t, ___native_trace_ips_15)); }
inline IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
inline IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
inline void set_native_trace_ips_15(IntPtrU5BU5D_t4DC01DCB9A6DF6C9792A6513595D7A11E637DCDD* value)
{
___native_trace_ips_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___native_trace_ips_15), (void*)value);
}
};
struct Exception_t_StaticFields
{
public:
// System.Object System.Exception::s_EDILock
RuntimeObject * ___s_EDILock_0;
public:
inline static int32_t get_offset_of_s_EDILock_0() { return static_cast<int32_t>(offsetof(Exception_t_StaticFields, ___s_EDILock_0)); }
inline RuntimeObject * get_s_EDILock_0() const { return ___s_EDILock_0; }
inline RuntimeObject ** get_address_of_s_EDILock_0() { return &___s_EDILock_0; }
inline void set_s_EDILock_0(RuntimeObject * value)
{
___s_EDILock_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_EDILock_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Exception
struct Exception_t_marshaled_pinvoke
{
char* ____className_1;
char* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_pinvoke* ____innerException_4;
char* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
char* ____stackTraceString_7;
char* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
char* ____source_12;
SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// Native definition for COM marshalling of System.Exception
struct Exception_t_marshaled_com
{
Il2CppChar* ____className_1;
Il2CppChar* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_com* ____innerException_4;
Il2CppChar* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
Il2CppChar* ____stackTraceString_7;
Il2CppChar* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
Il2CppChar* ____source_12;
SafeSerializationManager_t4A754D86B0F784B18CBC36C073BA564BED109770 * ____safeSerializationManager_13;
StackTraceU5BU5D_t855F09649EA34DEE7C1B6F088E0538E3CCC3F196* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// System.Globalization.DateTimeStyles
struct DateTimeStyles_tD09B34DB3747CD91D8AAA1238C7595845715301E
{
public:
// System.Int32 System.Globalization.DateTimeStyles::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(DateTimeStyles_tD09B34DB3747CD91D8AAA1238C7595845715301E, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Nullable`1<System.DateTime>
struct Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78
{
public:
// T System.Nullable`1::value
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ___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_t3290384E361396B3724B88B498CBF637D7E87B78, ___value_0)); }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 get_value_0() const { return ___value_0; }
inline DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * get_address_of_value_0() { return &___value_0; }
inline void set_value_0(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 value)
{
___value_0 = value;
}
inline static int32_t get_offset_of_has_value_1() { return static_cast<int32_t>(offsetof(Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78, ___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;
}
};
// System.Reflection.BindingFlags
struct BindingFlags_tE35C91D046E63A1B92BB9AB909FCF9DA84379ED0
{
public:
// System.Int32 System.Reflection.BindingFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(BindingFlags_tE35C91D046E63A1B92BB9AB909FCF9DA84379ED0, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.RuntimeFieldHandle
struct RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF
{
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_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF, ___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;
}
};
// System.RuntimeTypeHandle
struct RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D
{
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_t7B542280A22F0EC4EAC2061C29178845847A8B2D, ___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;
}
};
// System.Security.Cryptography.CipherMode
struct CipherMode_t1DC3069D617AC3D17A2608F5BB36C0F115D229DF
{
public:
// System.Int32 System.Security.Cryptography.CipherMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CipherMode_t1DC3069D617AC3D17A2608F5BB36C0F115D229DF, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Security.Cryptography.CspProviderFlags
struct CspProviderFlags_t58BDA302C5856D2AA7A41E97CAB5BDD0516571F4
{
public:
// System.Int32 System.Security.Cryptography.CspProviderFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CspProviderFlags_t58BDA302C5856D2AA7A41E97CAB5BDD0516571F4, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Security.Cryptography.HMAC
struct HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90 : public KeyedHashAlgorithm_t83CFA2CA5A4F0F39B747E61D013CB5EB919D218B
{
public:
// System.Int32 System.Security.Cryptography.HMAC::blockSizeValue
int32_t ___blockSizeValue_5;
// System.String System.Security.Cryptography.HMAC::m_hashName
String_t* ___m_hashName_6;
// System.Security.Cryptography.HashAlgorithm System.Security.Cryptography.HMAC::m_hash1
HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * ___m_hash1_7;
// System.Security.Cryptography.HashAlgorithm System.Security.Cryptography.HMAC::m_hash2
HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * ___m_hash2_8;
// System.Byte[] System.Security.Cryptography.HMAC::m_inner
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___m_inner_9;
// System.Byte[] System.Security.Cryptography.HMAC::m_outer
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___m_outer_10;
// System.Boolean System.Security.Cryptography.HMAC::m_hashing
bool ___m_hashing_11;
public:
inline static int32_t get_offset_of_blockSizeValue_5() { return static_cast<int32_t>(offsetof(HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90, ___blockSizeValue_5)); }
inline int32_t get_blockSizeValue_5() const { return ___blockSizeValue_5; }
inline int32_t* get_address_of_blockSizeValue_5() { return &___blockSizeValue_5; }
inline void set_blockSizeValue_5(int32_t value)
{
___blockSizeValue_5 = value;
}
inline static int32_t get_offset_of_m_hashName_6() { return static_cast<int32_t>(offsetof(HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90, ___m_hashName_6)); }
inline String_t* get_m_hashName_6() const { return ___m_hashName_6; }
inline String_t** get_address_of_m_hashName_6() { return &___m_hashName_6; }
inline void set_m_hashName_6(String_t* value)
{
___m_hashName_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_hashName_6), (void*)value);
}
inline static int32_t get_offset_of_m_hash1_7() { return static_cast<int32_t>(offsetof(HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90, ___m_hash1_7)); }
inline HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * get_m_hash1_7() const { return ___m_hash1_7; }
inline HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA ** get_address_of_m_hash1_7() { return &___m_hash1_7; }
inline void set_m_hash1_7(HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * value)
{
___m_hash1_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_hash1_7), (void*)value);
}
inline static int32_t get_offset_of_m_hash2_8() { return static_cast<int32_t>(offsetof(HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90, ___m_hash2_8)); }
inline HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * get_m_hash2_8() const { return ___m_hash2_8; }
inline HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA ** get_address_of_m_hash2_8() { return &___m_hash2_8; }
inline void set_m_hash2_8(HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * value)
{
___m_hash2_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_hash2_8), (void*)value);
}
inline static int32_t get_offset_of_m_inner_9() { return static_cast<int32_t>(offsetof(HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90, ___m_inner_9)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_m_inner_9() const { return ___m_inner_9; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_m_inner_9() { return &___m_inner_9; }
inline void set_m_inner_9(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___m_inner_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_inner_9), (void*)value);
}
inline static int32_t get_offset_of_m_outer_10() { return static_cast<int32_t>(offsetof(HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90, ___m_outer_10)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_m_outer_10() const { return ___m_outer_10; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_m_outer_10() { return &___m_outer_10; }
inline void set_m_outer_10(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___m_outer_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_outer_10), (void*)value);
}
inline static int32_t get_offset_of_m_hashing_11() { return static_cast<int32_t>(offsetof(HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90, ___m_hashing_11)); }
inline bool get_m_hashing_11() const { return ___m_hashing_11; }
inline bool* get_address_of_m_hashing_11() { return &___m_hashing_11; }
inline void set_m_hashing_11(bool value)
{
___m_hashing_11 = value;
}
};
// System.Security.Cryptography.PaddingMode
struct PaddingMode_tA6F228B2795D29C9554F2D6824DB9FF67519A0E0
{
public:
// System.Int32 System.Security.Cryptography.PaddingMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(PaddingMode_tA6F228B2795D29C9554F2D6824DB9FF67519A0E0, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// Mono.Security.Interface.Alert
struct Alert_tABF269545F2C583CCA47FF574E612DDAF232944E : public RuntimeObject
{
public:
// Mono.Security.Interface.AlertLevel Mono.Security.Interface.Alert::level
uint8_t ___level_0;
// Mono.Security.Interface.AlertDescription Mono.Security.Interface.Alert::description
uint8_t ___description_1;
public:
inline static int32_t get_offset_of_level_0() { return static_cast<int32_t>(offsetof(Alert_tABF269545F2C583CCA47FF574E612DDAF232944E, ___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_tABF269545F2C583CCA47FF574E612DDAF232944E, ___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;
}
};
// Mono.Security.Interface.MonoTlsConnectionInfo
struct MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D : public RuntimeObject
{
public:
// Mono.Security.Interface.CipherSuiteCode Mono.Security.Interface.MonoTlsConnectionInfo::<CipherSuiteCode>k__BackingField
uint16_t ___U3CCipherSuiteCodeU3Ek__BackingField_0;
// Mono.Security.Interface.TlsProtocols Mono.Security.Interface.MonoTlsConnectionInfo::<ProtocolVersion>k__BackingField
int32_t ___U3CProtocolVersionU3Ek__BackingField_1;
// System.String Mono.Security.Interface.MonoTlsConnectionInfo::<PeerDomainName>k__BackingField
String_t* ___U3CPeerDomainNameU3Ek__BackingField_2;
public:
inline static int32_t get_offset_of_U3CCipherSuiteCodeU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D, ___U3CCipherSuiteCodeU3Ek__BackingField_0)); }
inline uint16_t get_U3CCipherSuiteCodeU3Ek__BackingField_0() const { return ___U3CCipherSuiteCodeU3Ek__BackingField_0; }
inline uint16_t* get_address_of_U3CCipherSuiteCodeU3Ek__BackingField_0() { return &___U3CCipherSuiteCodeU3Ek__BackingField_0; }
inline void set_U3CCipherSuiteCodeU3Ek__BackingField_0(uint16_t value)
{
___U3CCipherSuiteCodeU3Ek__BackingField_0 = value;
}
inline static int32_t get_offset_of_U3CProtocolVersionU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D, ___U3CProtocolVersionU3Ek__BackingField_1)); }
inline int32_t get_U3CProtocolVersionU3Ek__BackingField_1() const { return ___U3CProtocolVersionU3Ek__BackingField_1; }
inline int32_t* get_address_of_U3CProtocolVersionU3Ek__BackingField_1() { return &___U3CProtocolVersionU3Ek__BackingField_1; }
inline void set_U3CProtocolVersionU3Ek__BackingField_1(int32_t value)
{
___U3CProtocolVersionU3Ek__BackingField_1 = value;
}
inline static int32_t get_offset_of_U3CPeerDomainNameU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D, ___U3CPeerDomainNameU3Ek__BackingField_2)); }
inline String_t* get_U3CPeerDomainNameU3Ek__BackingField_2() const { return ___U3CPeerDomainNameU3Ek__BackingField_2; }
inline String_t** get_address_of_U3CPeerDomainNameU3Ek__BackingField_2() { return &___U3CPeerDomainNameU3Ek__BackingField_2; }
inline void set_U3CPeerDomainNameU3Ek__BackingField_2(String_t* value)
{
___U3CPeerDomainNameU3Ek__BackingField_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CPeerDomainNameU3Ek__BackingField_2), (void*)value);
}
};
// Mono.Security.Interface.TlsException
struct TlsException_t774465EA64E3ADAAE3DB21835DD9AB8C40247F91 : public Exception_t
{
public:
// Mono.Security.Interface.Alert Mono.Security.Interface.TlsException::alert
Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * ___alert_17;
public:
inline static int32_t get_offset_of_alert_17() { return static_cast<int32_t>(offsetof(TlsException_t774465EA64E3ADAAE3DB21835DD9AB8C40247F91, ___alert_17)); }
inline Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * get_alert_17() const { return ___alert_17; }
inline Alert_tABF269545F2C583CCA47FF574E612DDAF232944E ** get_address_of_alert_17() { return &___alert_17; }
inline void set_alert_17(Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * value)
{
___alert_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___alert_17), (void*)value);
}
};
// Mono.Security.Protocol.Ntlm.MessageBase
struct MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 : public RuntimeObject
{
public:
// System.Int32 Mono.Security.Protocol.Ntlm.MessageBase::_type
int32_t ____type_1;
// Mono.Security.Protocol.Ntlm.NtlmFlags Mono.Security.Protocol.Ntlm.MessageBase::_flags
int32_t ____flags_2;
public:
inline static int32_t get_offset_of__type_1() { return static_cast<int32_t>(offsetof(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0, ____type_1)); }
inline int32_t get__type_1() const { return ____type_1; }
inline int32_t* get_address_of__type_1() { return &____type_1; }
inline void set__type_1(int32_t value)
{
____type_1 = value;
}
inline static int32_t get_offset_of__flags_2() { return static_cast<int32_t>(offsetof(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0, ____flags_2)); }
inline int32_t get__flags_2() const { return ____flags_2; }
inline int32_t* get_address_of__flags_2() { return &____flags_2; }
inline void set__flags_2(int32_t value)
{
____flags_2 = value;
}
};
struct MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_StaticFields
{
public:
// System.Byte[] Mono.Security.Protocol.Ntlm.MessageBase::header
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___header_0;
public:
inline static int32_t get_offset_of_header_0() { return static_cast<int32_t>(offsetof(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_StaticFields, ___header_0)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_header_0() const { return ___header_0; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_header_0() { return &___header_0; }
inline void set_header_0(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___header_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___header_0), (void*)value);
}
};
// Mono.Security.Protocol.Ntlm.NtlmSettings
struct NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009 : public RuntimeObject
{
public:
public:
};
struct NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009_StaticFields
{
public:
// Mono.Security.Protocol.Ntlm.NtlmAuthLevel Mono.Security.Protocol.Ntlm.NtlmSettings::defaultAuthLevel
int32_t ___defaultAuthLevel_0;
public:
inline static int32_t get_offset_of_defaultAuthLevel_0() { return static_cast<int32_t>(offsetof(NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009_StaticFields, ___defaultAuthLevel_0)); }
inline int32_t get_defaultAuthLevel_0() const { return ___defaultAuthLevel_0; }
inline int32_t* get_address_of_defaultAuthLevel_0() { return &___defaultAuthLevel_0; }
inline void set_defaultAuthLevel_0(int32_t value)
{
___defaultAuthLevel_0 = value;
}
};
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
public:
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* ___delegates_11;
public:
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* get_delegates_11() const { return ___delegates_11; }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86** get_address_of_delegates_11() { return &___delegates_11; }
inline void set_delegates_11(DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* value)
{
___delegates_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___delegates_11), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_11;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_11;
};
// System.Nullable`1<Mono.Security.Interface.MonoSslPolicyErrors>
struct Nullable_1_t87E3837BC1E3397FF9051586CE8E2328CEA1F1D2
{
public:
// T System.Nullable`1::value
int32_t ___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_t87E3837BC1E3397FF9051586CE8E2328CEA1F1D2, ___value_0)); }
inline int32_t get_value_0() const { return ___value_0; }
inline int32_t* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(int32_t value)
{
___value_0 = value;
}
inline static int32_t get_offset_of_has_value_1() { return static_cast<int32_t>(offsetof(Nullable_1_t87E3837BC1E3397FF9051586CE8E2328CEA1F1D2, ___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;
}
};
// System.Nullable`1<Mono.Security.Interface.TlsProtocols>
struct Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10
{
public:
// T System.Nullable`1::value
int32_t ___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_t601798BE10C3F3F37B6755E475BB1B3760DCBB10, ___value_0)); }
inline int32_t get_value_0() const { return ___value_0; }
inline int32_t* get_address_of_value_0() { return &___value_0; }
inline void set_value_0(int32_t value)
{
___value_0 = value;
}
inline static int32_t get_offset_of_has_value_1() { return static_cast<int32_t>(offsetof(Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10, ___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;
}
};
// System.Security.Cryptography.HMACMD5
struct HMACMD5_t8C6693E41EEA9BF26BBAF880B405CC170C43F11B : public HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90
{
public:
public:
};
// System.Security.Cryptography.HMACSHA1
struct HMACSHA1_t4E10C259BBC525A8E0ABEAE9EF01C8589F51FEE5 : public HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90
{
public:
public:
};
// System.Security.Cryptography.RSACryptoServiceProvider
struct RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4 : public RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145
{
public:
// Mono.Security.Cryptography.KeyPairPersistence System.Security.Cryptography.RSACryptoServiceProvider::store
KeyPairPersistence_t5C070E8D158094F7D0CC5D591F30EDFFB39849A2 * ___store_3;
// System.Boolean System.Security.Cryptography.RSACryptoServiceProvider::persistKey
bool ___persistKey_4;
// System.Boolean System.Security.Cryptography.RSACryptoServiceProvider::persisted
bool ___persisted_5;
// System.Boolean System.Security.Cryptography.RSACryptoServiceProvider::privateKeyExportable
bool ___privateKeyExportable_6;
// System.Boolean System.Security.Cryptography.RSACryptoServiceProvider::m_disposed
bool ___m_disposed_7;
// Mono.Security.Cryptography.RSAManaged System.Security.Cryptography.RSACryptoServiceProvider::rsa
RSAManaged_t7FC74A986C888D9301EC82EBE4A37C293CDA963A * ___rsa_8;
public:
inline static int32_t get_offset_of_store_3() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4, ___store_3)); }
inline KeyPairPersistence_t5C070E8D158094F7D0CC5D591F30EDFFB39849A2 * get_store_3() const { return ___store_3; }
inline KeyPairPersistence_t5C070E8D158094F7D0CC5D591F30EDFFB39849A2 ** get_address_of_store_3() { return &___store_3; }
inline void set_store_3(KeyPairPersistence_t5C070E8D158094F7D0CC5D591F30EDFFB39849A2 * value)
{
___store_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___store_3), (void*)value);
}
inline static int32_t get_offset_of_persistKey_4() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4, ___persistKey_4)); }
inline bool get_persistKey_4() const { return ___persistKey_4; }
inline bool* get_address_of_persistKey_4() { return &___persistKey_4; }
inline void set_persistKey_4(bool value)
{
___persistKey_4 = value;
}
inline static int32_t get_offset_of_persisted_5() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4, ___persisted_5)); }
inline bool get_persisted_5() const { return ___persisted_5; }
inline bool* get_address_of_persisted_5() { return &___persisted_5; }
inline void set_persisted_5(bool value)
{
___persisted_5 = value;
}
inline static int32_t get_offset_of_privateKeyExportable_6() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4, ___privateKeyExportable_6)); }
inline bool get_privateKeyExportable_6() const { return ___privateKeyExportable_6; }
inline bool* get_address_of_privateKeyExportable_6() { return &___privateKeyExportable_6; }
inline void set_privateKeyExportable_6(bool value)
{
___privateKeyExportable_6 = value;
}
inline static int32_t get_offset_of_m_disposed_7() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4, ___m_disposed_7)); }
inline bool get_m_disposed_7() const { return ___m_disposed_7; }
inline bool* get_address_of_m_disposed_7() { return &___m_disposed_7; }
inline void set_m_disposed_7(bool value)
{
___m_disposed_7 = value;
}
inline static int32_t get_offset_of_rsa_8() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4, ___rsa_8)); }
inline RSAManaged_t7FC74A986C888D9301EC82EBE4A37C293CDA963A * get_rsa_8() const { return ___rsa_8; }
inline RSAManaged_t7FC74A986C888D9301EC82EBE4A37C293CDA963A ** get_address_of_rsa_8() { return &___rsa_8; }
inline void set_rsa_8(RSAManaged_t7FC74A986C888D9301EC82EBE4A37C293CDA963A * value)
{
___rsa_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___rsa_8), (void*)value);
}
};
struct RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4_StaticFields
{
public:
// System.Security.Cryptography.CspProviderFlags modreq(System.Runtime.CompilerServices.IsVolatile) System.Security.Cryptography.RSACryptoServiceProvider::s_UseMachineKeyStore
int32_t ___s_UseMachineKeyStore_2;
public:
inline static int32_t get_offset_of_s_UseMachineKeyStore_2() { return static_cast<int32_t>(offsetof(RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4_StaticFields, ___s_UseMachineKeyStore_2)); }
inline int32_t get_s_UseMachineKeyStore_2() const { return ___s_UseMachineKeyStore_2; }
inline int32_t* get_address_of_s_UseMachineKeyStore_2() { return &___s_UseMachineKeyStore_2; }
inline void set_s_UseMachineKeyStore_2(int32_t value)
{
___s_UseMachineKeyStore_2 = value;
}
};
// System.Security.Cryptography.SymmetricAlgorithm
struct SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 : public RuntimeObject
{
public:
// System.Int32 System.Security.Cryptography.SymmetricAlgorithm::BlockSizeValue
int32_t ___BlockSizeValue_0;
// System.Int32 System.Security.Cryptography.SymmetricAlgorithm::FeedbackSizeValue
int32_t ___FeedbackSizeValue_1;
// System.Byte[] System.Security.Cryptography.SymmetricAlgorithm::IVValue
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___IVValue_2;
// System.Byte[] System.Security.Cryptography.SymmetricAlgorithm::KeyValue
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___KeyValue_3;
// System.Security.Cryptography.KeySizes[] System.Security.Cryptography.SymmetricAlgorithm::LegalBlockSizesValue
KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* ___LegalBlockSizesValue_4;
// System.Security.Cryptography.KeySizes[] System.Security.Cryptography.SymmetricAlgorithm::LegalKeySizesValue
KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* ___LegalKeySizesValue_5;
// System.Int32 System.Security.Cryptography.SymmetricAlgorithm::KeySizeValue
int32_t ___KeySizeValue_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;
public:
inline static int32_t get_offset_of_BlockSizeValue_0() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789, ___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_FeedbackSizeValue_1() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789, ___FeedbackSizeValue_1)); }
inline int32_t get_FeedbackSizeValue_1() const { return ___FeedbackSizeValue_1; }
inline int32_t* get_address_of_FeedbackSizeValue_1() { return &___FeedbackSizeValue_1; }
inline void set_FeedbackSizeValue_1(int32_t value)
{
___FeedbackSizeValue_1 = value;
}
inline static int32_t get_offset_of_IVValue_2() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789, ___IVValue_2)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_IVValue_2() const { return ___IVValue_2; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_IVValue_2() { return &___IVValue_2; }
inline void set_IVValue_2(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___IVValue_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___IVValue_2), (void*)value);
}
inline static int32_t get_offset_of_KeyValue_3() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789, ___KeyValue_3)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get_KeyValue_3() const { return ___KeyValue_3; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of_KeyValue_3() { return &___KeyValue_3; }
inline void set_KeyValue_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
___KeyValue_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___KeyValue_3), (void*)value);
}
inline static int32_t get_offset_of_LegalBlockSizesValue_4() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789, ___LegalBlockSizesValue_4)); }
inline KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* get_LegalBlockSizesValue_4() const { return ___LegalBlockSizesValue_4; }
inline KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E** get_address_of_LegalBlockSizesValue_4() { return &___LegalBlockSizesValue_4; }
inline void set_LegalBlockSizesValue_4(KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* value)
{
___LegalBlockSizesValue_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___LegalBlockSizesValue_4), (void*)value);
}
inline static int32_t get_offset_of_LegalKeySizesValue_5() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789, ___LegalKeySizesValue_5)); }
inline KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* get_LegalKeySizesValue_5() const { return ___LegalKeySizesValue_5; }
inline KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E** get_address_of_LegalKeySizesValue_5() { return &___LegalKeySizesValue_5; }
inline void set_LegalKeySizesValue_5(KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* value)
{
___LegalKeySizesValue_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___LegalKeySizesValue_5), (void*)value);
}
inline static int32_t get_offset_of_KeySizeValue_6() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789, ___KeySizeValue_6)); }
inline int32_t get_KeySizeValue_6() const { return ___KeySizeValue_6; }
inline int32_t* get_address_of_KeySizeValue_6() { return &___KeySizeValue_6; }
inline void set_KeySizeValue_6(int32_t value)
{
___KeySizeValue_6 = value;
}
inline static int32_t get_offset_of_ModeValue_7() { return static_cast<int32_t>(offsetof(SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789, ___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_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789, ___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;
}
};
// System.SystemException
struct SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782 : public Exception_t
{
public:
public:
};
// System.Type
struct Type_t : public MemberInfo_t
{
public:
// System.RuntimeTypeHandle System.Type::_impl
RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D ____impl_9;
public:
inline static int32_t get_offset_of__impl_9() { return static_cast<int32_t>(offsetof(Type_t, ____impl_9)); }
inline RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D get__impl_9() const { return ____impl_9; }
inline RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D * get_address_of__impl_9() { return &____impl_9; }
inline void set__impl_9(RuntimeTypeHandle_t7B542280A22F0EC4EAC2061C29178845847A8B2D value)
{
____impl_9 = value;
}
};
struct Type_t_StaticFields
{
public:
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * ___FilterAttribute_0;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * ___FilterName_1;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * ___FilterNameIgnoreCase_2;
// System.Object System.Type::Missing
RuntimeObject * ___Missing_3;
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_4;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F* ___EmptyTypes_5;
// System.Reflection.Binder System.Type::defaultBinder
Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 * ___defaultBinder_6;
public:
inline static int32_t get_offset_of_FilterAttribute_0() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterAttribute_0)); }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * get_FilterAttribute_0() const { return ___FilterAttribute_0; }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 ** get_address_of_FilterAttribute_0() { return &___FilterAttribute_0; }
inline void set_FilterAttribute_0(MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * value)
{
___FilterAttribute_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterAttribute_0), (void*)value);
}
inline static int32_t get_offset_of_FilterName_1() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterName_1)); }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * get_FilterName_1() const { return ___FilterName_1; }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 ** get_address_of_FilterName_1() { return &___FilterName_1; }
inline void set_FilterName_1(MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * value)
{
___FilterName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterName_1), (void*)value);
}
inline static int32_t get_offset_of_FilterNameIgnoreCase_2() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterNameIgnoreCase_2)); }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * get_FilterNameIgnoreCase_2() const { return ___FilterNameIgnoreCase_2; }
inline MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 ** get_address_of_FilterNameIgnoreCase_2() { return &___FilterNameIgnoreCase_2; }
inline void set_FilterNameIgnoreCase_2(MemberFilter_t25C1BD92C42BE94426E300787C13C452CB89B381 * value)
{
___FilterNameIgnoreCase_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterNameIgnoreCase_2), (void*)value);
}
inline static int32_t get_offset_of_Missing_3() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Missing_3)); }
inline RuntimeObject * get_Missing_3() const { return ___Missing_3; }
inline RuntimeObject ** get_address_of_Missing_3() { return &___Missing_3; }
inline void set_Missing_3(RuntimeObject * value)
{
___Missing_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Missing_3), (void*)value);
}
inline static int32_t get_offset_of_Delimiter_4() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Delimiter_4)); }
inline Il2CppChar get_Delimiter_4() const { return ___Delimiter_4; }
inline Il2CppChar* get_address_of_Delimiter_4() { return &___Delimiter_4; }
inline void set_Delimiter_4(Il2CppChar value)
{
___Delimiter_4 = value;
}
inline static int32_t get_offset_of_EmptyTypes_5() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___EmptyTypes_5)); }
inline TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F* get_EmptyTypes_5() const { return ___EmptyTypes_5; }
inline TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F** get_address_of_EmptyTypes_5() { return &___EmptyTypes_5; }
inline void set_EmptyTypes_5(TypeU5BU5D_t7FE623A666B49176DE123306221193E888A12F5F* value)
{
___EmptyTypes_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___EmptyTypes_5), (void*)value);
}
inline static int32_t get_offset_of_defaultBinder_6() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___defaultBinder_6)); }
inline Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 * get_defaultBinder_6() const { return ___defaultBinder_6; }
inline Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 ** get_address_of_defaultBinder_6() { return &___defaultBinder_6; }
inline void set_defaultBinder_6(Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 * value)
{
___defaultBinder_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultBinder_6), (void*)value);
}
};
// Mono.Math.Prime.PrimalityTest
struct PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9 : public MulticastDelegate_t
{
public:
public:
};
// Mono.Security.Cryptography.RSAManaged_KeyGeneratedEventHandler
struct KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9 : public MulticastDelegate_t
{
public:
public:
};
// Mono.Security.Interface.MonoLocalCertificateSelectionCallback
struct MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A : public MulticastDelegate_t
{
public:
public:
};
// Mono.Security.Interface.MonoRemoteCertificateValidationCallback
struct MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 : public MulticastDelegate_t
{
public:
public:
};
// Mono.Security.Interface.MonoTlsSettings
struct MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF : public RuntimeObject
{
public:
// Mono.Security.Interface.MonoRemoteCertificateValidationCallback Mono.Security.Interface.MonoTlsSettings::<RemoteCertificateValidationCallback>k__BackingField
MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * ___U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0;
// Mono.Security.Interface.MonoLocalCertificateSelectionCallback Mono.Security.Interface.MonoTlsSettings::<ClientCertificateSelectionCallback>k__BackingField
MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * ___U3CClientCertificateSelectionCallbackU3Ek__BackingField_1;
// System.Nullable`1<System.DateTime> Mono.Security.Interface.MonoTlsSettings::<CertificateValidationTime>k__BackingField
Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 ___U3CCertificateValidationTimeU3Ek__BackingField_2;
// System.Security.Cryptography.X509Certificates.X509CertificateCollection Mono.Security.Interface.MonoTlsSettings::<TrustAnchors>k__BackingField
X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * ___U3CTrustAnchorsU3Ek__BackingField_3;
// System.Object Mono.Security.Interface.MonoTlsSettings::<UserSettings>k__BackingField
RuntimeObject * ___U3CUserSettingsU3Ek__BackingField_4;
// System.String[] Mono.Security.Interface.MonoTlsSettings::<CertificateSearchPaths>k__BackingField
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* ___U3CCertificateSearchPathsU3Ek__BackingField_5;
// System.Boolean Mono.Security.Interface.MonoTlsSettings::<SendCloseNotify>k__BackingField
bool ___U3CSendCloseNotifyU3Ek__BackingField_6;
// System.Nullable`1<Mono.Security.Interface.TlsProtocols> Mono.Security.Interface.MonoTlsSettings::<EnabledProtocols>k__BackingField
Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 ___U3CEnabledProtocolsU3Ek__BackingField_7;
// Mono.Security.Interface.CipherSuiteCode[] Mono.Security.Interface.MonoTlsSettings::<EnabledCiphers>k__BackingField
CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* ___U3CEnabledCiphersU3Ek__BackingField_8;
// System.Boolean Mono.Security.Interface.MonoTlsSettings::cloned
bool ___cloned_9;
// System.Boolean Mono.Security.Interface.MonoTlsSettings::checkCertName
bool ___checkCertName_10;
// System.Boolean Mono.Security.Interface.MonoTlsSettings::checkCertRevocationStatus
bool ___checkCertRevocationStatus_11;
// System.Nullable`1<System.Boolean> Mono.Security.Interface.MonoTlsSettings::useServicePointManagerCallback
Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793 ___useServicePointManagerCallback_12;
// System.Boolean Mono.Security.Interface.MonoTlsSettings::skipSystemValidators
bool ___skipSystemValidators_13;
// System.Boolean Mono.Security.Interface.MonoTlsSettings::callbackNeedsChain
bool ___callbackNeedsChain_14;
// Mono.Security.Interface.ICertificateValidator Mono.Security.Interface.MonoTlsSettings::certificateValidator
RuntimeObject* ___certificateValidator_15;
public:
inline static int32_t get_offset_of_U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0)); }
inline MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * get_U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0() const { return ___U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0; }
inline MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 ** get_address_of_U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0() { return &___U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0; }
inline void set_U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0(MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * value)
{
___U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0), (void*)value);
}
inline static int32_t get_offset_of_U3CClientCertificateSelectionCallbackU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___U3CClientCertificateSelectionCallbackU3Ek__BackingField_1)); }
inline MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * get_U3CClientCertificateSelectionCallbackU3Ek__BackingField_1() const { return ___U3CClientCertificateSelectionCallbackU3Ek__BackingField_1; }
inline MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A ** get_address_of_U3CClientCertificateSelectionCallbackU3Ek__BackingField_1() { return &___U3CClientCertificateSelectionCallbackU3Ek__BackingField_1; }
inline void set_U3CClientCertificateSelectionCallbackU3Ek__BackingField_1(MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * value)
{
___U3CClientCertificateSelectionCallbackU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CClientCertificateSelectionCallbackU3Ek__BackingField_1), (void*)value);
}
inline static int32_t get_offset_of_U3CCertificateValidationTimeU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___U3CCertificateValidationTimeU3Ek__BackingField_2)); }
inline Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 get_U3CCertificateValidationTimeU3Ek__BackingField_2() const { return ___U3CCertificateValidationTimeU3Ek__BackingField_2; }
inline Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 * get_address_of_U3CCertificateValidationTimeU3Ek__BackingField_2() { return &___U3CCertificateValidationTimeU3Ek__BackingField_2; }
inline void set_U3CCertificateValidationTimeU3Ek__BackingField_2(Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 value)
{
___U3CCertificateValidationTimeU3Ek__BackingField_2 = value;
}
inline static int32_t get_offset_of_U3CTrustAnchorsU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___U3CTrustAnchorsU3Ek__BackingField_3)); }
inline X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * get_U3CTrustAnchorsU3Ek__BackingField_3() const { return ___U3CTrustAnchorsU3Ek__BackingField_3; }
inline X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 ** get_address_of_U3CTrustAnchorsU3Ek__BackingField_3() { return &___U3CTrustAnchorsU3Ek__BackingField_3; }
inline void set_U3CTrustAnchorsU3Ek__BackingField_3(X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * value)
{
___U3CTrustAnchorsU3Ek__BackingField_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CTrustAnchorsU3Ek__BackingField_3), (void*)value);
}
inline static int32_t get_offset_of_U3CUserSettingsU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___U3CUserSettingsU3Ek__BackingField_4)); }
inline RuntimeObject * get_U3CUserSettingsU3Ek__BackingField_4() const { return ___U3CUserSettingsU3Ek__BackingField_4; }
inline RuntimeObject ** get_address_of_U3CUserSettingsU3Ek__BackingField_4() { return &___U3CUserSettingsU3Ek__BackingField_4; }
inline void set_U3CUserSettingsU3Ek__BackingField_4(RuntimeObject * value)
{
___U3CUserSettingsU3Ek__BackingField_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CUserSettingsU3Ek__BackingField_4), (void*)value);
}
inline static int32_t get_offset_of_U3CCertificateSearchPathsU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___U3CCertificateSearchPathsU3Ek__BackingField_5)); }
inline StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* get_U3CCertificateSearchPathsU3Ek__BackingField_5() const { return ___U3CCertificateSearchPathsU3Ek__BackingField_5; }
inline StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E** get_address_of_U3CCertificateSearchPathsU3Ek__BackingField_5() { return &___U3CCertificateSearchPathsU3Ek__BackingField_5; }
inline void set_U3CCertificateSearchPathsU3Ek__BackingField_5(StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* value)
{
___U3CCertificateSearchPathsU3Ek__BackingField_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CCertificateSearchPathsU3Ek__BackingField_5), (void*)value);
}
inline static int32_t get_offset_of_U3CSendCloseNotifyU3Ek__BackingField_6() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___U3CSendCloseNotifyU3Ek__BackingField_6)); }
inline bool get_U3CSendCloseNotifyU3Ek__BackingField_6() const { return ___U3CSendCloseNotifyU3Ek__BackingField_6; }
inline bool* get_address_of_U3CSendCloseNotifyU3Ek__BackingField_6() { return &___U3CSendCloseNotifyU3Ek__BackingField_6; }
inline void set_U3CSendCloseNotifyU3Ek__BackingField_6(bool value)
{
___U3CSendCloseNotifyU3Ek__BackingField_6 = value;
}
inline static int32_t get_offset_of_U3CEnabledProtocolsU3Ek__BackingField_7() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___U3CEnabledProtocolsU3Ek__BackingField_7)); }
inline Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 get_U3CEnabledProtocolsU3Ek__BackingField_7() const { return ___U3CEnabledProtocolsU3Ek__BackingField_7; }
inline Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 * get_address_of_U3CEnabledProtocolsU3Ek__BackingField_7() { return &___U3CEnabledProtocolsU3Ek__BackingField_7; }
inline void set_U3CEnabledProtocolsU3Ek__BackingField_7(Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 value)
{
___U3CEnabledProtocolsU3Ek__BackingField_7 = value;
}
inline static int32_t get_offset_of_U3CEnabledCiphersU3Ek__BackingField_8() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___U3CEnabledCiphersU3Ek__BackingField_8)); }
inline CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* get_U3CEnabledCiphersU3Ek__BackingField_8() const { return ___U3CEnabledCiphersU3Ek__BackingField_8; }
inline CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4** get_address_of_U3CEnabledCiphersU3Ek__BackingField_8() { return &___U3CEnabledCiphersU3Ek__BackingField_8; }
inline void set_U3CEnabledCiphersU3Ek__BackingField_8(CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* value)
{
___U3CEnabledCiphersU3Ek__BackingField_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___U3CEnabledCiphersU3Ek__BackingField_8), (void*)value);
}
inline static int32_t get_offset_of_cloned_9() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___cloned_9)); }
inline bool get_cloned_9() const { return ___cloned_9; }
inline bool* get_address_of_cloned_9() { return &___cloned_9; }
inline void set_cloned_9(bool value)
{
___cloned_9 = value;
}
inline static int32_t get_offset_of_checkCertName_10() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___checkCertName_10)); }
inline bool get_checkCertName_10() const { return ___checkCertName_10; }
inline bool* get_address_of_checkCertName_10() { return &___checkCertName_10; }
inline void set_checkCertName_10(bool value)
{
___checkCertName_10 = value;
}
inline static int32_t get_offset_of_checkCertRevocationStatus_11() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___checkCertRevocationStatus_11)); }
inline bool get_checkCertRevocationStatus_11() const { return ___checkCertRevocationStatus_11; }
inline bool* get_address_of_checkCertRevocationStatus_11() { return &___checkCertRevocationStatus_11; }
inline void set_checkCertRevocationStatus_11(bool value)
{
___checkCertRevocationStatus_11 = value;
}
inline static int32_t get_offset_of_useServicePointManagerCallback_12() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___useServicePointManagerCallback_12)); }
inline Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793 get_useServicePointManagerCallback_12() const { return ___useServicePointManagerCallback_12; }
inline Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793 * get_address_of_useServicePointManagerCallback_12() { return &___useServicePointManagerCallback_12; }
inline void set_useServicePointManagerCallback_12(Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793 value)
{
___useServicePointManagerCallback_12 = value;
}
inline static int32_t get_offset_of_skipSystemValidators_13() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___skipSystemValidators_13)); }
inline bool get_skipSystemValidators_13() const { return ___skipSystemValidators_13; }
inline bool* get_address_of_skipSystemValidators_13() { return &___skipSystemValidators_13; }
inline void set_skipSystemValidators_13(bool value)
{
___skipSystemValidators_13 = value;
}
inline static int32_t get_offset_of_callbackNeedsChain_14() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___callbackNeedsChain_14)); }
inline bool get_callbackNeedsChain_14() const { return ___callbackNeedsChain_14; }
inline bool* get_address_of_callbackNeedsChain_14() { return &___callbackNeedsChain_14; }
inline void set_callbackNeedsChain_14(bool value)
{
___callbackNeedsChain_14 = value;
}
inline static int32_t get_offset_of_certificateValidator_15() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF, ___certificateValidator_15)); }
inline RuntimeObject* get_certificateValidator_15() const { return ___certificateValidator_15; }
inline RuntimeObject** get_address_of_certificateValidator_15() { return &___certificateValidator_15; }
inline void set_certificateValidator_15(RuntimeObject* value)
{
___certificateValidator_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___certificateValidator_15), (void*)value);
}
};
struct MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF_StaticFields
{
public:
// Mono.Security.Interface.MonoTlsSettings Mono.Security.Interface.MonoTlsSettings::defaultSettings
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * ___defaultSettings_16;
public:
inline static int32_t get_offset_of_defaultSettings_16() { return static_cast<int32_t>(offsetof(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF_StaticFields, ___defaultSettings_16)); }
inline MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * get_defaultSettings_16() const { return ___defaultSettings_16; }
inline MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF ** get_address_of_defaultSettings_16() { return &___defaultSettings_16; }
inline void set_defaultSettings_16(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * value)
{
___defaultSettings_16 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultSettings_16), (void*)value);
}
};
// Mono.Security.Interface.ValidationResult
struct ValidationResult_tBBAD776F36C835C8DDB515B1747DEF3A45C058D7 : public RuntimeObject
{
public:
// System.Boolean Mono.Security.Interface.ValidationResult::trusted
bool ___trusted_0;
// System.Boolean Mono.Security.Interface.ValidationResult::user_denied
bool ___user_denied_1;
// System.Int32 Mono.Security.Interface.ValidationResult::error_code
int32_t ___error_code_2;
// System.Nullable`1<Mono.Security.Interface.MonoSslPolicyErrors> Mono.Security.Interface.ValidationResult::policy_errors
Nullable_1_t87E3837BC1E3397FF9051586CE8E2328CEA1F1D2 ___policy_errors_3;
public:
inline static int32_t get_offset_of_trusted_0() { return static_cast<int32_t>(offsetof(ValidationResult_tBBAD776F36C835C8DDB515B1747DEF3A45C058D7, ___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_user_denied_1() { return static_cast<int32_t>(offsetof(ValidationResult_tBBAD776F36C835C8DDB515B1747DEF3A45C058D7, ___user_denied_1)); }
inline bool get_user_denied_1() const { return ___user_denied_1; }
inline bool* get_address_of_user_denied_1() { return &___user_denied_1; }
inline void set_user_denied_1(bool value)
{
___user_denied_1 = value;
}
inline static int32_t get_offset_of_error_code_2() { return static_cast<int32_t>(offsetof(ValidationResult_tBBAD776F36C835C8DDB515B1747DEF3A45C058D7, ___error_code_2)); }
inline int32_t get_error_code_2() const { return ___error_code_2; }
inline int32_t* get_address_of_error_code_2() { return &___error_code_2; }
inline void set_error_code_2(int32_t value)
{
___error_code_2 = value;
}
inline static int32_t get_offset_of_policy_errors_3() { return static_cast<int32_t>(offsetof(ValidationResult_tBBAD776F36C835C8DDB515B1747DEF3A45C058D7, ___policy_errors_3)); }
inline Nullable_1_t87E3837BC1E3397FF9051586CE8E2328CEA1F1D2 get_policy_errors_3() const { return ___policy_errors_3; }
inline Nullable_1_t87E3837BC1E3397FF9051586CE8E2328CEA1F1D2 * get_address_of_policy_errors_3() { return &___policy_errors_3; }
inline void set_policy_errors_3(Nullable_1_t87E3837BC1E3397FF9051586CE8E2328CEA1F1D2 value)
{
___policy_errors_3 = value;
}
};
// Mono.Security.Protocol.Ntlm.Type1Message
struct Type1Message_tF2DA0014BB300ABA864D84752FFA278EC6E6519C : public MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0
{
public:
// System.String Mono.Security.Protocol.Ntlm.Type1Message::_host
String_t* ____host_3;
// System.String Mono.Security.Protocol.Ntlm.Type1Message::_domain
String_t* ____domain_4;
public:
inline static int32_t get_offset_of__host_3() { return static_cast<int32_t>(offsetof(Type1Message_tF2DA0014BB300ABA864D84752FFA278EC6E6519C, ____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((void**)(&____host_3), (void*)value);
}
inline static int32_t get_offset_of__domain_4() { return static_cast<int32_t>(offsetof(Type1Message_tF2DA0014BB300ABA864D84752FFA278EC6E6519C, ____domain_4)); }
inline String_t* get__domain_4() const { return ____domain_4; }
inline String_t** get_address_of__domain_4() { return &____domain_4; }
inline void set__domain_4(String_t* value)
{
____domain_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____domain_4), (void*)value);
}
};
// Mono.Security.Protocol.Ntlm.Type2Message
struct Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 : public MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0
{
public:
// System.Byte[] Mono.Security.Protocol.Ntlm.Type2Message::_nonce
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____nonce_3;
// System.String Mono.Security.Protocol.Ntlm.Type2Message::_targetName
String_t* ____targetName_4;
// System.Byte[] Mono.Security.Protocol.Ntlm.Type2Message::_targetInfo
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____targetInfo_5;
public:
inline static int32_t get_offset_of__nonce_3() { return static_cast<int32_t>(offsetof(Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398, ____nonce_3)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__nonce_3() const { return ____nonce_3; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__nonce_3() { return &____nonce_3; }
inline void set__nonce_3(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____nonce_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____nonce_3), (void*)value);
}
inline static int32_t get_offset_of__targetName_4() { return static_cast<int32_t>(offsetof(Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398, ____targetName_4)); }
inline String_t* get__targetName_4() const { return ____targetName_4; }
inline String_t** get_address_of__targetName_4() { return &____targetName_4; }
inline void set__targetName_4(String_t* value)
{
____targetName_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____targetName_4), (void*)value);
}
inline static int32_t get_offset_of__targetInfo_5() { return static_cast<int32_t>(offsetof(Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398, ____targetInfo_5)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__targetInfo_5() const { return ____targetInfo_5; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__targetInfo_5() { return &____targetInfo_5; }
inline void set__targetInfo_5(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____targetInfo_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____targetInfo_5), (void*)value);
}
};
// Mono.Security.Protocol.Ntlm.Type3Message
struct Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C : public MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0
{
public:
// Mono.Security.Protocol.Ntlm.NtlmAuthLevel Mono.Security.Protocol.Ntlm.Type3Message::_level
int32_t ____level_3;
// System.Byte[] Mono.Security.Protocol.Ntlm.Type3Message::_challenge
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____challenge_4;
// System.String Mono.Security.Protocol.Ntlm.Type3Message::_host
String_t* ____host_5;
// System.String Mono.Security.Protocol.Ntlm.Type3Message::_domain
String_t* ____domain_6;
// System.String Mono.Security.Protocol.Ntlm.Type3Message::_username
String_t* ____username_7;
// System.String Mono.Security.Protocol.Ntlm.Type3Message::_password
String_t* ____password_8;
// Mono.Security.Protocol.Ntlm.Type2Message Mono.Security.Protocol.Ntlm.Type3Message::_type2
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * ____type2_9;
// System.Byte[] Mono.Security.Protocol.Ntlm.Type3Message::_lm
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____lm_10;
// System.Byte[] Mono.Security.Protocol.Ntlm.Type3Message::_nt
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ____nt_11;
public:
inline static int32_t get_offset_of__level_3() { return static_cast<int32_t>(offsetof(Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C, ____level_3)); }
inline int32_t get__level_3() const { return ____level_3; }
inline int32_t* get_address_of__level_3() { return &____level_3; }
inline void set__level_3(int32_t value)
{
____level_3 = value;
}
inline static int32_t get_offset_of__challenge_4() { return static_cast<int32_t>(offsetof(Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C, ____challenge_4)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__challenge_4() const { return ____challenge_4; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__challenge_4() { return &____challenge_4; }
inline void set__challenge_4(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____challenge_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&____challenge_4), (void*)value);
}
inline static int32_t get_offset_of__host_5() { return static_cast<int32_t>(offsetof(Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C, ____host_5)); }
inline String_t* get__host_5() const { return ____host_5; }
inline String_t** get_address_of__host_5() { return &____host_5; }
inline void set__host_5(String_t* value)
{
____host_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____host_5), (void*)value);
}
inline static int32_t get_offset_of__domain_6() { return static_cast<int32_t>(offsetof(Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C, ____domain_6)); }
inline String_t* get__domain_6() const { return ____domain_6; }
inline String_t** get_address_of__domain_6() { return &____domain_6; }
inline void set__domain_6(String_t* value)
{
____domain_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____domain_6), (void*)value);
}
inline static int32_t get_offset_of__username_7() { return static_cast<int32_t>(offsetof(Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C, ____username_7)); }
inline String_t* get__username_7() const { return ____username_7; }
inline String_t** get_address_of__username_7() { return &____username_7; }
inline void set__username_7(String_t* value)
{
____username_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&____username_7), (void*)value);
}
inline static int32_t get_offset_of__password_8() { return static_cast<int32_t>(offsetof(Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C, ____password_8)); }
inline String_t* get__password_8() const { return ____password_8; }
inline String_t** get_address_of__password_8() { return &____password_8; }
inline void set__password_8(String_t* value)
{
____password_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&____password_8), (void*)value);
}
inline static int32_t get_offset_of__type2_9() { return static_cast<int32_t>(offsetof(Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C, ____type2_9)); }
inline Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * get__type2_9() const { return ____type2_9; }
inline Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 ** get_address_of__type2_9() { return &____type2_9; }
inline void set__type2_9(Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * value)
{
____type2_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____type2_9), (void*)value);
}
inline static int32_t get_offset_of__lm_10() { return static_cast<int32_t>(offsetof(Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C, ____lm_10)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__lm_10() const { return ____lm_10; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__lm_10() { return &____lm_10; }
inline void set__lm_10(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____lm_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&____lm_10), (void*)value);
}
inline static int32_t get_offset_of__nt_11() { return static_cast<int32_t>(offsetof(Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C, ____nt_11)); }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* get__nt_11() const { return ____nt_11; }
inline ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** get_address_of__nt_11() { return &____nt_11; }
inline void set__nt_11(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* value)
{
____nt_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&____nt_11), (void*)value);
}
};
// System.ArgumentException
struct ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
// System.String System.ArgumentException::m_paramName
String_t* ___m_paramName_17;
public:
inline static int32_t get_offset_of_m_paramName_17() { return static_cast<int32_t>(offsetof(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1, ___m_paramName_17)); }
inline String_t* get_m_paramName_17() const { return ___m_paramName_17; }
inline String_t** get_address_of_m_paramName_17() { return &___m_paramName_17; }
inline void set_m_paramName_17(String_t* value)
{
___m_paramName_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_paramName_17), (void*)value);
}
};
// System.ArithmeticException
struct ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.AsyncCallback
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 : public MulticastDelegate_t
{
public:
public:
};
// System.FormatException
struct FormatException_t2808E076CDE4650AF89F55FD78F49290D0EC5BDC : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.IndexOutOfRangeException
struct IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.InvalidOperationException
struct InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.NotImplementedException
struct NotImplementedException_t8AD6EBE5FEDB0AEBECEE0961CF73C35B372EFFA4 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.NotSupportedException
struct NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.Security.Cryptography.CryptographicException
struct CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A : public SystemException_t5380468142AA850BE4A341D7AF3EAB9C78746782
{
public:
public:
};
// System.Security.Cryptography.DES
struct DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 : public SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789
{
public:
public:
};
struct DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0_StaticFields
{
public:
// System.Security.Cryptography.KeySizes[] System.Security.Cryptography.DES::s_legalBlockSizes
KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* ___s_legalBlockSizes_9;
// System.Security.Cryptography.KeySizes[] System.Security.Cryptography.DES::s_legalKeySizes
KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* ___s_legalKeySizes_10;
public:
inline static int32_t get_offset_of_s_legalBlockSizes_9() { return static_cast<int32_t>(offsetof(DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0_StaticFields, ___s_legalBlockSizes_9)); }
inline KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* get_s_legalBlockSizes_9() const { return ___s_legalBlockSizes_9; }
inline KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E** get_address_of_s_legalBlockSizes_9() { return &___s_legalBlockSizes_9; }
inline void set_s_legalBlockSizes_9(KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* value)
{
___s_legalBlockSizes_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_legalBlockSizes_9), (void*)value);
}
inline static int32_t get_offset_of_s_legalKeySizes_10() { return static_cast<int32_t>(offsetof(DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0_StaticFields, ___s_legalKeySizes_10)); }
inline KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* get_s_legalKeySizes_10() const { return ___s_legalKeySizes_10; }
inline KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E** get_address_of_s_legalKeySizes_10() { return &___s_legalKeySizes_10; }
inline void set_s_legalKeySizes_10(KeySizesU5BU5D_t934CCA482596402177BAF86727F169872D74934E* value)
{
___s_legalKeySizes_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_legalKeySizes_10), (void*)value);
}
};
// System.ArgumentNullException
struct ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD : public ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1
{
public:
public:
};
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA : public ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1
{
public:
// System.Object System.ArgumentOutOfRangeException::m_actualValue
RuntimeObject * ___m_actualValue_19;
public:
inline static int32_t get_offset_of_m_actualValue_19() { return static_cast<int32_t>(offsetof(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA, ___m_actualValue_19)); }
inline RuntimeObject * get_m_actualValue_19() const { return ___m_actualValue_19; }
inline RuntimeObject ** get_address_of_m_actualValue_19() { return &___m_actualValue_19; }
inline void set_m_actualValue_19(RuntimeObject * value)
{
___m_actualValue_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_actualValue_19), (void*)value);
}
};
struct ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_StaticFields
{
public:
// System.String modreq(System.Runtime.CompilerServices.IsVolatile) System.ArgumentOutOfRangeException::_rangeMessage
String_t* ____rangeMessage_18;
public:
inline static int32_t get_offset_of__rangeMessage_18() { return static_cast<int32_t>(offsetof(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_StaticFields, ____rangeMessage_18)); }
inline String_t* get__rangeMessage_18() const { return ____rangeMessage_18; }
inline String_t** get_address_of__rangeMessage_18() { return &____rangeMessage_18; }
inline void set__rangeMessage_18(String_t* value)
{
____rangeMessage_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&____rangeMessage_18), (void*)value);
}
};
// System.ObjectDisposedException
struct ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A : public InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1
{
public:
// System.String System.ObjectDisposedException::objectName
String_t* ___objectName_17;
public:
inline static int32_t get_offset_of_objectName_17() { return static_cast<int32_t>(offsetof(ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A, ___objectName_17)); }
inline String_t* get_objectName_17() const { return ___objectName_17; }
inline String_t** get_address_of_objectName_17() { return &___objectName_17; }
inline void set_objectName_17(String_t* value)
{
___objectName_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___objectName_17), (void*)value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// System.UInt32[]
struct UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB : 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_tD06FDBE8142446525DF1C40351D523A228373821 : 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_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B : public RuntimeArray
{
public:
ALIGN_FIELD (8) BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * m_Items[1];
public:
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** 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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Delegate[]
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86 : public RuntimeArray
{
public:
ALIGN_FIELD (8) Delegate_t * m_Items[1];
public:
inline Delegate_t * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Delegate_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, Delegate_t * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Delegate_t * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Delegate_t ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Delegate_t * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Object[]
struct ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A : 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((void**)m_Items + index, (void*)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((void**)m_Items + index, (void*)value);
}
};
// System.String[]
struct StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E : 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((void**)m_Items + index, (void*)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((void**)m_Items + index, (void*)value);
}
};
// Mono.Security.Interface.CipherSuiteCode[]
struct CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4 : public RuntimeArray
{
public:
ALIGN_FIELD (8) uint16_t m_Items[1];
public:
inline uint16_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline uint16_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, uint16_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline uint16_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline uint16_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, uint16_t value)
{
m_Items[index] = value;
}
};
// !!0[] System.Array::Empty<System.Object>()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_gshared_inline (const RuntimeMethod* method);
// System.Void System.Array::Reverse<System.Byte>(!!0[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Reverse_TisByte_tF87C579059BD4633E6840EBBBEEF899C6E33EF07_m03D674052100D1E9D6214ADD31FE7E5F7E6788DA_gshared (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___array0, const RuntimeMethod* method);
// System.Char System.String::get_Chars(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96 (String_t* __this, int32_t ___index0, const RuntimeMethod* method);
// System.Int32 System.String::get_Length()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline (String_t* __this, const RuntimeMethod* method);
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Object System.Array::Clone()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176 (RuntimeArray * __this, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::Normalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::.ctor(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__ctor_mCAC0EAFBC60E0DC2B64BE0DD21099C837FEC0A33 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, uint32_t ___ui0, const RuntimeMethod* method);
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6 (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * __this, String_t* ___paramName0, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_Equality(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, uint32_t ___ui1, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::.ctor(Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__ctor_m77CF9FF025A6A98A625E8E948F19F822210BC29C (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, const RuntimeMethod* method);
// System.Void System.ArithmeticException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArithmeticException__ctor_mAE18F94959F9827DEA553C7C2F3C5568BEC81CCF (ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269 * __this, String_t* ___message0, const RuntimeMethod* method);
// Mono.Math.BigInteger/Sign Mono.Math.BigInteger/Kernel::Compare(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Kernel_Compare_m07031942FB73AA6F48F11CBB4FDAEBF6767C84EE (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Implicit(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB (int32_t ___value0, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::Subtract(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * Kernel_Subtract_mD8975D3BC036B9DAEC10E5585880F304DAF3E332 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___big0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___small1, const RuntimeMethod* method);
// System.Void System.Exception::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Exception__ctor_m5FEC89FBFACEEDCEE29CCFD44A85D72FC28EB0D1 (Exception_t * __this, const RuntimeMethod* method);
// System.UInt32 Mono.Math.BigInteger/Kernel::DwordMod(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Kernel_DwordMod_m09BBF0BCB7D08A1CC8A24A82A8190E81D12BABDA (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___n0, uint32_t ___d1, const RuntimeMethod* method);
// Mono.Math.BigInteger[] Mono.Math.BigInteger/Kernel::multiByteDivide(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* Kernel_multiByteDivide_m3AB2BAB666EBB176A004D389DBDAAEBAA3763B54 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method);
// System.Void System.IndexOutOfRangeException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void IndexOutOfRangeException__ctor_mCCE2EFF47A0ACB4B2636F63140F94FCEA71A9BCA (IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::.ctor(Mono.Math.BigInteger/Sign,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, int32_t ___sign0, uint32_t ___len1, 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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Kernel_Multiply_m904FC66FF96CDE798413346196E3836ADE1B8AF4 (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___x0, uint32_t ___xOffset1, uint32_t ___xLen2, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___y3, uint32_t ___yOffset4, uint32_t ___yLen5, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___d6, uint32_t ___dOffset7, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::LeftShift(Mono.Math.BigInteger,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * Kernel_LeftShift_mEA93DE79BE9A04B1AD826F95F9C77A28EC87CCA9 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, int32_t ___n1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::RightShift(Mono.Math.BigInteger,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * Kernel_RightShift_m1F0188E75D20E70731FC46BDB32106EB33A1DB83 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, int32_t ___n1, const RuntimeMethod* method);
// System.Security.Cryptography.RandomNumberGenerator System.Security.Cryptography.RandomNumberGenerator::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * RandomNumberGenerator_Create_mB84B1BA538B29D0679F310D3B574A7D5BAA890C4 (const RuntimeMethod* method);
// System.Void System.Buffer::BlockCopy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353 (RuntimeArray * ___src0, int32_t ___srcOffset1, RuntimeArray * ___dst2, int32_t ___dstOffset3, int32_t ___count4, const RuntimeMethod* method);
// System.Security.Cryptography.RandomNumberGenerator Mono.Math.BigInteger::get_Rng()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * BigInteger_get_Rng_mFD8903C45513484592C646CCF0F2752DB66509E2 (const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::GenerateRandom(System.Int32,System.Security.Cryptography.RandomNumberGenerator)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_GenerateRandom_mABCBDC6EF81EBAF32CDA3B7685A208CA68C115D6 (int32_t ___bits0, RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * ___rng1, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::SetBit(System.UInt32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger_SetBit_m1D93A7DB2AFE83CBBB14F2E3D1E665CB53454A68 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, uint32_t ___bitNum0, bool ___value1, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::TestBit(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_TestBit_mFF11993F9C65D59A109EA7EC55B8B791A9DDB56B (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, int32_t ___bitNum0, const RuntimeMethod* method);
// System.Int32 Mono.Math.BigInteger::BitCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BigInteger_BitCount_mFEA208FDC3B126E1517F0E5AAB8D1193856F8C76 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_Equality(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method);
// System.String Mono.Math.BigInteger::ToString(System.UInt32,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* BigInteger_ToString_m9FD0DEAAA4F90CECA50A45E19876EF580B1EA9A2 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, uint32_t ___radix0, String_t* ___characterSet1, const RuntimeMethod* method);
// System.Void System.ArgumentException::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m26DC3463C6F3C98BF33EA39598DD2B32F0249CA8 (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * __this, String_t* ___message0, String_t* ___paramName1, const RuntimeMethod* method);
// System.UInt32 Mono.Math.BigInteger/Kernel::SingleByteDivideInPlace(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Kernel_SingleByteDivideInPlace_mA3A9E99D052F6906DAC3EC33E815F85621B9D2E3 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___n0, uint32_t ___d1, const RuntimeMethod* method);
// System.String System.Char::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Char_ToString_mA42A88FEBA41B72D48BB24373E3101B7A91B6FD8 (Il2CppChar* __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE (String_t* ___str00, String_t* ___str11, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_Inequality(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_Inequality_m13AF07D0E4BF09886DCCDCFDE553542F6F4ED1A4 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, uint32_t ___ui1, const RuntimeMethod* method);
// System.String Mono.Math.BigInteger::ToString(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* BigInteger_ToString_m589EF8667DF3B88F9A54068FCC1A60AE0D78FC67 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, uint32_t ___radix0, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/Kernel::modInverse(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * Kernel_modInverse_mEB896FA57CB36CE9FF75EBB4E11EA71AE23E3EC4 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___modulus1, const RuntimeMethod* method);
// System.Void Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SequentialSearchPrimeGeneratorBase__ctor_m04D212D2DBC1A2B3DD39C26A8008D56528984A11 (SequentialSearchPrimeGeneratorBase_t051356406D15C0F3CCF38A685AB52DFC08B83360 * __this, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array,System.RuntimeFieldHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A (RuntimeArray * ___array0, RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF ___fldHandle1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Implicit(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_Implicit_m47A1626222EC6D506611B5776F1506E5ED6F529F (uint32_t ___value0, const RuntimeMethod* method);
// Mono.Math.BigInteger[] Mono.Math.BigInteger/Kernel::DwordDivMod(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* Kernel_DwordDivMod_m7DD3CEDA379E3BEE45058144A4E63AB39C32268C (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___n0, uint32_t ___d1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_LeftShift(Mono.Math.BigInteger,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_LeftShift_m728D921C2E6E603DF2590718EF51B6BA8B4F463A (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, int32_t ___shiftVal1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_RightShift(Mono.Math.BigInteger,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_RightShift_mD39A8D10E9F70F516D42932712403651A91F4F64 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, int32_t ___shiftVal1, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::.ctor(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__ctor_m718EBF73E0A8036284DBF530A63930E286233BC5 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, uint32_t ___len1, const RuntimeMethod* method);
// System.UInt32 Mono.Math.BigInteger::op_Modulus(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t BigInteger_op_Modulus_mEE11685FAA7292E357C36DB794C18EF9E388C876 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, uint32_t ___ui1, const RuntimeMethod* method);
// System.UInt32 Mono.Math.BigInteger/Kernel::modInverse(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Kernel_modInverse_m3FE8ACCFD28EBC15685ACEE0ED33A048DE9D022D (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, uint32_t ___modulus1, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger/ModulusRing::.ctor(Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ModulusRing__ctor_mF09FC4C08A46EB1ECBA2A35B28BDD16D703E1050 (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___modulus0, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Multiply(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Difference(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ModulusRing_Difference_m4994769FFA8FAE06882F901C9DBEFC0A745E5258 (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___a0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___b1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Division(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_Division_m8C1BDE4543BD0EFE3864D46646ACFF3F9B535D3B (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Kernel_MultiplyMod2p32pmod_mAF33D396324D6705B3F436779118B56F2622EB05 (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___x0, int32_t ___xOffset1, int32_t ___xLen2, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___y3, int32_t ___yOffest4, int32_t ___yLen5, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___d6, int32_t ___dOffset7, int32_t ___mod8, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_LessThanOrEqual(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_LessThanOrEqual_m6F736D56374810C3251542D1CFFB2AB4ADFCCE86 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger/Kernel::MinusEq(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Kernel_MinusEq_m75848E6833E2D01CF229BBA57A1A6D641D5D0380 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___big0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___small1, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger/Kernel::PlusEq(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Kernel_PlusEq_mF8EEDAFBFE9AD10CAD8770DC3A5D09E5147B0A48 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_GreaterThanOrEqual(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_GreaterThanOrEqual_mF4B81FC95ED0CBFA91676E43B1FAE027C850FBBF (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_GreaterThan(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_GreaterThan_m4CC14F86717F122D7489EFF24C991F5BEE92A00F (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Modulus(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_Modulus_mAFBC82D374D9E2866AA4958732FA53F7445B122F (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger/ModulusRing::BarrettReduction(Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ModulusRing_BarrettReduction_m7B02B29BBEA5309C09AE3C2860CDA318810AB3E7 (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___x0, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Subtraction(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Multiply(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ModulusRing_Multiply_m4C45458BB28E03B17069F0A0BB87F1426ABAC272 (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___a0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___b1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Pow(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ModulusRing_Pow_m02E0BDA9434462191910C6F7BD6E7A6C77544C06 (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___a0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___k1, const RuntimeMethod* method);
// System.Void Mono.Math.Prime.PrimalityTest::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PrimalityTest__ctor_m7D2A94DF17C3BB4D352BC4F7CF5E682A4C595CE7 (PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::GenerateRandom(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_GenerateRandom_mA17F93C5DDA00EDFCBBB66C41120BA1886241F5D (int32_t ___bits0, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::SetBit(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger_SetBit_m9D1FECEB7D6672C82002A3FF59B17939C752CF41 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, uint32_t ___bitNum0, const RuntimeMethod* method);
// System.Boolean Mono.Math.Prime.PrimalityTest::Invoke(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PrimalityTest_Invoke_mFF0B6770EB0400A4842A1D85D58B2D26C0F039F5 (PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, int32_t ___confidence1, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::Incr2()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger_Incr2_mB0C767ACE801C97882A9887153C362F93118FCAA (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method);
// System.Void Mono.Math.Prime.Generator.PrimeGeneratorBase::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PrimeGeneratorBase__ctor_m13B11935BE29102AC8EF61ADD1F25F36AAED8028 (PrimeGeneratorBase_tD86126CFDBC57352F37DE0964FFCF652C04D7059 * __this, const RuntimeMethod* method);
// System.Void System.Exception::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Exception__ctor_m89BADFF36C3B170013878726E07729D51AA9FBE0 (Exception_t * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Int32 Mono.Math.Prime.PrimalityTests::GetSPPRounds(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PrimalityTests_GetSPPRounds_mB217B6CB2BB40EEFAE4800E521105B5EE16C6979 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, int32_t ___confidence1, const RuntimeMethod* method);
// System.Int32 Mono.Math.BigInteger::LowestSetBit()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BigInteger_LowestSetBit_m6E7C4246DA0DA86F94B880680121448F676E8435 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger/ModulusRing::Pow(System.UInt32,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ModulusRing_Pow_mA4D173D9DD4C251CE87C56CEA39D04A8719FBE24 (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * __this, uint32_t ___b0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___exp1, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_Inequality(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::.ctor(System.Byte,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, uint8_t ___tag0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data1, const RuntimeMethod* method);
// System.Void System.NotSupportedException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NotSupportedException__ctor_mD023A89A5C1F740F43F0A9CD6C49DC21230B3CEE (NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::Decode(System.Byte[],System.Int32&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1_Decode_m94E3A6F94EDACE796521D04E6A832D99592F1149 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___asn10, int32_t* ___anPos1, int32_t ___anLength2, const RuntimeMethod* method);
// System.Boolean Mono.Security.ASN1::CompareArray(System.Byte[],System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ASN1_CompareArray_m8061EE9321D1B3F9CB387776552931A8AE9A96FE (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___array10, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___array21, const RuntimeMethod* method);
// System.Void System.Collections.ArrayList::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArrayList__ctor_m481FA7B37620B59B8C0434A764F5705A6ABDEAE6 (ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * __this, const RuntimeMethod* method);
// System.Int32 Mono.Security.ASN1::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::DecodeTLV(System.Byte[],System.Int32&,System.Byte&,System.Int32&,System.Byte[]&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1_DecodeTLV_m30440B1DE0A8C4236AA9658DEBF2808FD3BC00C3 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___asn10, int32_t* ___pos1, uint8_t* ___tag2, int32_t* ___length3, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** ___content4, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.ASN1::Add(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___asn10, const RuntimeMethod* method);
// System.Byte Mono.Security.ASN1::get_Tag()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR uint8_t ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, const RuntimeMethod* method);
// System.Void System.Text.StringBuilder::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StringBuilder__ctor_mF928376F82E8C8FF3C11842C562DB8CF28B2735E (StringBuilder_t * __this, const RuntimeMethod* method);
// System.String System.Byte::ToString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Byte_ToString_m5F54DEEC2138DAC5587E05890F97866DB78E75BA (uint8_t* __this, String_t* ___format0, const RuntimeMethod* method);
// System.String System.Environment::get_NewLine()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Environment_get_NewLine_m5D4F4667FA5D1E2DBDD4DF9696D0CE76C83EF318 (const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::AppendFormat(System.String,System.Object,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_AppendFormat_m9DBA7709F546159ABC85BA341965305AB044D1B7 (StringBuilder_t * __this, String_t* ___format0, RuntimeObject * ___arg01, RuntimeObject * ___arg12, const RuntimeMethod* method);
// System.Byte[] Mono.Security.ASN1::get_Value()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260 (StringBuilder_t * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::AppendFormat(System.String,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_AppendFormat_mFFABDE5D2413C5657E6411FC60C8C38E1674E09D (StringBuilder_t * __this, String_t* ___format0, RuntimeObject * ___arg01, const RuntimeMethod* method);
// !!0[] System.Array::Empty<System.Object>()
inline ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_inline (const RuntimeMethod* method)
{
return (( ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* (*) (const RuntimeMethod*))Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_gshared_inline)(method);
}
// System.Text.StringBuilder System.Text.StringBuilder::AppendFormat(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_AppendFormat_m23742FE1E3C60341F37C243EB6BEE06AE444C774 (StringBuilder_t * __this, String_t* ___format0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args1, const RuntimeMethod* method);
// System.Byte[] Mono.Security.BitConverterLE::GetBytes(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* BitConverterLE_GetBytes_m1207548B6BC0E2D49DD06D5B3A3AC19C001BDB35 (int32_t ___value0, const RuntimeMethod* method);
// System.Void System.Array::Reverse<System.Byte>(!!0[])
inline void Array_Reverse_TisByte_tF87C579059BD4633E6840EBBBEEF899C6E33EF07_m03D674052100D1E9D6214ADD31FE7E5F7E6788DA (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___array0, const RuntimeMethod* method)
{
(( void (*) (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, const RuntimeMethod*))Array_Reverse_TisByte_tF87C579059BD4633E6840EBBBEEF899C6E33EF07_m03D674052100D1E9D6214ADD31FE7E5F7E6788DA_gshared)(___array0, method);
}
// System.Void Mono.Security.ASN1::.ctor(System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, uint8_t ___tag0, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::set_Value(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1_set_Value_m225FF9AC03EA872809C7742070A34A264C58588E (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, const RuntimeMethod* method);
// System.Void System.ArgumentNullException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * __this, String_t* ___paramName0, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.CryptoConfig::EncodeOID(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* CryptoConfig_EncodeOID_mEC2EB86D30669917D71AC194CD83281D1A67AC92 (String_t* ___str0, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method);
// System.Void System.FormatException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FormatException__ctor_m89167FF9884AE20232190FE9286DC50E146A4F14 (FormatException_t2808E076CDE4650AF89F55FD78F49290D0EC5BDC * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Globalization.CultureInfo System.Globalization.CultureInfo::get_InvariantCulture()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * CultureInfo_get_InvariantCulture_mF13B47F8A763CE6A9C8A8BB2EED33FF8F7A63A72 (const RuntimeMethod* method);
// System.String System.Byte::ToString(System.IFormatProvider)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Byte_ToString_m0E74FC03C86ECFB7B6639F93E224A1975374D8F7 (uint8_t* __this, RuntimeObject* ___provider0, const RuntimeMethod* method);
// System.String System.UInt64::ToString(System.IFormatProvider)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UInt64_ToString_m6CBBC10ABBA0EE36F5E72F926A38F6CD7F497A55 (uint64_t* __this, RuntimeObject* ___provider0, const RuntimeMethod* method);
// System.Text.Encoding System.Text.Encoding::get_ASCII()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * Encoding_get_ASCII_m9B673AE3152AB04D07CADE6E5E142C785B5BC94E (const RuntimeMethod* method);
// System.String System.String::Substring(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Substring_mB593C0A320C683E6E47EFFC0A12B7A465E5E43BB (String_t* __this, int32_t ___startIndex0, int32_t ___length1, const RuntimeMethod* method);
// System.Int16 System.Convert::ToInt16(System.String,System.IFormatProvider)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int16_t Convert_ToInt16_m4EE0839C08F0FDFBB7719B316D962B043F55589B (String_t* ___value0, RuntimeObject* ___provider1, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_mA3AC3FE7B23D97F3A5BAA082D25B0E01B341A865 (String_t* ___format0, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___args1, const RuntimeMethod* method);
// System.DateTime System.DateTime::ParseExact(System.String,System.String,System.IFormatProvider,System.Globalization.DateTimeStyles)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_ParseExact_mF45E615EBCC82CA967D4BC7838EE570508D0F97F (String_t* ___s0, String_t* ___format1, RuntimeObject* ___provider2, int32_t ___style3, const RuntimeMethod* method);
// System.Byte[] Mono.Security.BitConverterLE::GetUIntBytes(System.Byte*)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* BitConverterLE_GetUIntBytes_m871281C3039A5B7DFB56E0F3EBBE22F74135997C (uint8_t* ___bytes0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.BitConverterLE::GetULongBytes(System.Byte*)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* BitConverterLE_GetULongBytes_mCBAC987169706D10F05AFF42559A4EA1D88E1876 (uint8_t* ___bytes0, const RuntimeMethod* method);
// System.Void Mono.Security.BitConverterLE::UShortFromBytes(System.Byte*,System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BitConverterLE_UShortFromBytes_mBC051D16FFC95E9695F110AFDEAB018BD76F84A9 (uint8_t* ___dst0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___src1, int32_t ___startIndex2, const RuntimeMethod* method);
// System.Void Mono.Security.BitConverterLE::UIntFromBytes(System.Byte*,System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BitConverterLE_UIntFromBytes_m91E16C3362E794444D849A4AD5B9F746BF2A4FCB (uint8_t* ___dst0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___src1, int32_t ___startIndex2, const RuntimeMethod* method);
// System.Void System.Text.StringBuilder::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StringBuilder__ctor_m1C0F2D97B838537A2D0F64033AE4EF02D150A956 (StringBuilder_t * __this, int32_t ___capacity0, const RuntimeMethod* method);
// System.String System.Byte::ToString(System.String,System.IFormatProvider)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Byte_ToString_m731FDB27391432D7F14B6769B5D0A3E248803D25 (uint8_t* __this, String_t* ___format0, RuntimeObject* ___provider1, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.HashAlgorithm::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HashAlgorithm__ctor_mC0C923AB8904FC11889F63B39177507FBB35AA43 (HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD2Managed::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD2Managed__ctor_mB717463E13F068948687F8EE38041CA6087E6FCA (MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD2::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD2__ctor_mE62E9B3FF536BF5CF083EFBBE0CFAF4BD62FA0C0 (MD2_tCAAEC1A28A3D0B9E8810B27E4840BEA399619442 * __this, const RuntimeMethod* method);
// System.Void System.Array::Clear(System.Array,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E (RuntimeArray * ___array0, int32_t ___index1, int32_t ___length2, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD2Managed::MD2Transform(System.Byte[],System.Byte[],System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD2Managed_MD2Transform_m95099D1A3DB46EA112FF62C9A585D947C7FD4C23 (MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___state0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___checksum1, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___block2, int32_t ___index3, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.MD2Managed::Padding(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* MD2Managed_Padding_m3EB6A24F9144B480408240A0885F55C9BD0B47B1 (MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC * __this, int32_t ___nLength0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD4Managed::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed__ctor_mDB4352DBB43112E1DF337DF241A3E25435C2C3C5 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD4::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4__ctor_m6AD2F7EC5132898B34FA52CB4EAB9A82F0FEFF59 (MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD4Managed::MD4Transform(System.UInt32[],System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_MD4Transform_m385B46D14814EB12B82642AC995E26FB99B6816C (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___state0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___block1, int32_t ___index2, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.MD4Managed::Encode(System.Byte[],System.UInt32[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_Encode_m4EAEC7D200AF9F9BBB8D4AAF0ABD4B5E9D9C4AF2 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___output0, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___input1, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.MD4Managed::Padding(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* MD4Managed_Padding_m7AD58C8D8178AC6CD6738C93A146312D73ED0476 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, int32_t ___nLength0, const RuntimeMethod* method);
// System.UInt32 Mono.Security.Cryptography.MD4Managed::F(System.UInt32,System.UInt32,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t MD4Managed_F_mB457E78CC0BDBD1ADCD8E687A6891E0D6B454174 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, uint32_t ___x0, uint32_t ___y1, uint32_t ___z2, const RuntimeMethod* method);
// System.UInt32 Mono.Security.Cryptography.MD4Managed::ROL(System.UInt32,System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t MD4Managed_ROL_mAD186591B4745F5050E7B34A5805A7476448D7F0 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, uint32_t ___x0, uint8_t ___n1, const RuntimeMethod* method);
// System.UInt32 Mono.Security.Cryptography.MD4Managed::G(System.UInt32,System.UInt32,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t MD4Managed_G_mCF22020BF90E65B0E322FAE8962502BBC22A157F (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t MD4Managed_H_mDF220E77C694540EF16BD892D7F03B34AE055225 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_Decode_m450A7CE51E89191B352AC0DD4527135B343443D6 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___output0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, uint32_t* ___a0, uint32_t ___b1, uint32_t ___c2, uint32_t ___d3, uint32_t ___x4, uint8_t ___s5, const RuntimeMethod* method);
// System.UInt32 <PrivateImplementationDetails>::ComputeStringHash(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t U3CPrivateImplementationDetailsU3E_ComputeStringHash_m8375D44A8A75C7D8223EA98CF65C40C0BA8C7BEB (String_t* ___s0, const RuntimeMethod* method);
// System.Boolean System.String::op_Equality(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE (String_t* ___a0, String_t* ___b1, const RuntimeMethod* method);
// Mono.Security.Cryptography.MD2 Mono.Security.Cryptography.MD2::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MD2_tCAAEC1A28A3D0B9E8810B27E4840BEA399619442 * MD2_Create_mF375441B9B1B701ECE73B9B51AFE4E3ADDE6E02F (const RuntimeMethod* method);
// Mono.Security.Cryptography.MD4 Mono.Security.Cryptography.MD4::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * MD4_Create_m2D436A4CC284704A7DA0EEF4C4D5860F69D0BB93 (const RuntimeMethod* method);
// System.Security.Cryptography.MD5 System.Security.Cryptography.MD5::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MD5_tCED753745572EC20FE5D31D15F132736B5343EE6 * MD5_Create_m87EB14601AD6AF168032C29DA938E18454CA05AE (const RuntimeMethod* method);
// System.Security.Cryptography.SHA1 System.Security.Cryptography.SHA1::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SHA1_t242C3C0C91D0CC11FA6F3CB0B06B416A550C6EAA * SHA1_Create_m5ECE86DE88BB9CDD4674000066642BA7FDF466E4 (const RuntimeMethod* method);
// System.Security.Cryptography.SHA256 System.Security.Cryptography.SHA256::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SHA256_tF15350D910DF8AC1E6ADDBA904218F95554711BD * SHA256_Create_mBB1886B9CB89D706FB87832AB8EC74F3BD835C3F (const RuntimeMethod* method);
// System.Security.Cryptography.SHA384 System.Security.Cryptography.SHA384::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SHA384_t73C69FA7FB10EF83355734BE635F079515FF5D37 * SHA384_Create_m1DB8E3BCF13E7A7A3903B0609491D6A1170C0695 (const RuntimeMethod* method);
// System.Security.Cryptography.SHA512 System.Security.Cryptography.SHA512::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SHA512_tA4117C79CCB7ECF8AC39BDBE41A0D0294E9D6936 * SHA512_Create_mFAF244BD7F518A7FFCC07C8858EAC625FDA7B25E (const RuntimeMethod* method);
// System.Security.Cryptography.RIPEMD160 System.Security.Cryptography.RIPEMD160::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RIPEMD160_t5BF1FB38C534BF0083B35AC6880867E11448EFE9 * RIPEMD160_Create_mA05D45DE1F4811F68B3BFE07CE48E025916D93F0 (const RuntimeMethod* method);
// System.Type System.Type::GetType(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Type_GetType_mCF0A3B28889C9FFB9987C8D30C23DF0912E7C00C (String_t* ___typeName0);
// System.Object System.Activator::CreateInstance(System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Activator_CreateInstance_mD06EE47879F606317C6DA91FB63E678CABAC6A16 (Type_t * ___type0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.CryptographicException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98 (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EncryptedPrivateKeyInfo__ctor_m8244581E6D6275989DE1D18E79B663BF62943069 (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639 (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.ASN1::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, int32_t ___index0, const RuntimeMethod* method);
// System.String Mono.Security.ASN1Convert::ToOid(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___asn10, const RuntimeMethod* method);
// System.Int32 Mono.Security.ASN1Convert::ToInt32(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ASN1Convert_ToInt32_mA2A8761F965979408D46FBEB946DB59F36137A5E (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___asn10, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PrivateKeyInfo__ctor_m589C6263501E8226678D7B08B7C816E9C9EBD939 (PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PrivateKeyInfo_Decode_mC8128B0803CD098039C8281AF413EEADD82EF13C (PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::RemoveLeadingZero(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PrivateKeyInfo_RemoveLeadingZero_m674CB83B855FB14F8C49F062C3261D2587596384 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___bigInt0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::Normalize(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PrivateKeyInfo_Normalize_m918031FFC55B1092BD5004D914538F78CE701606 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___bigInt0, int32_t ___length1, const RuntimeMethod* method);
// System.Security.Cryptography.RSA System.Security.Cryptography.RSA::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * RSA_Create_m1AF30C2FAB458D7291DA15B4D2650AE7507DEDAB (const RuntimeMethod* method);
// System.Void System.Security.Cryptography.CspParameters::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CspParameters__ctor_m6C7ED4CF3021168DC6CEFB0FECC591547DCE4342 (CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7 * __this, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.CspParameters::set_Flags(System.Security.Cryptography.CspProviderFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CspParameters_set_Flags_m4982C5960E9DE0BE5FA72E859B5DF0FB803B9E1F (CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.RSACryptoServiceProvider::.ctor(System.Security.Cryptography.CspParameters)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RSACryptoServiceProvider__ctor_m1688FF86ACB164CE19D754507AA1D87535BC2A30 (RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4 * __this, CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7 * ___parameters0, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.ASN1Convert::FromUnsignedBigInteger(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___big0, const RuntimeMethod* method);
// System.Security.Cryptography.DSA System.Security.Cryptography.DSA::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * DSA_Create_m727400EBC98FEDC4F43DD568D974EDC1CD2868BA (const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::Encode(System.Security.Cryptography.RSA)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PrivateKeyInfo_Encode_mF1C1E856195368C0FD130E5E8DEFA373C9F4BEA5 (RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * ___rsa0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::Encode(System.Security.Cryptography.DSA)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PrivateKeyInfo_Encode_m2BD3A752B326B5CE1243BF80896C452F710C8FB8 (DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * ___dsa0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.CryptographicException::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CryptographicException__ctor_mA09CE78A67CC67991C8D2F77FBC4F8029E593195 (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * __this, String_t* ___format0, String_t* ___insert1, const RuntimeMethod* method);
// System.Void System.Object::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380 (RuntimeObject * __this, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::GeneratePseudoPrime(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_GeneratePseudoPrime_m40B9FAE1552A9CEF0A39529CF40E2F5C9FD377DE (int32_t ___bits0, const RuntimeMethod* method);
// System.Boolean Mono.Math.BigInteger::op_LessThan(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_LessThan_m3E95747DE75EE020DB45C030FEA87F2785F1F106 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method);
// Mono.Math.BigInteger Mono.Math.BigInteger::ModInverse(Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_ModInverse_mBA7BA94A2C0F242844B97B18DAEE368065E59522 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___modulus0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.RSAManaged/KeyGeneratedEventHandler::Invoke(System.Object,System.EventArgs)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void KeyGeneratedEventHandler_Invoke_m2544ADEDCC25B2745B8803AC571D74C34459F2F2 (KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9 * __this, RuntimeObject * ___sender0, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * ___e1, const RuntimeMethod* method);
// System.String Locale::GetText(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Locale_GetText_m67B66557188C94648AA7A23F6A7501BE7D455ADA (String_t* ___msg0, const RuntimeMethod* method);
// System.Void System.ObjectDisposedException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObjectDisposedException__ctor_m8B5D23EA08E42BDE6BC5233CC666295F19BBD2F9 (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A * __this, String_t* ___objectName0, const RuntimeMethod* method);
// System.Int32 System.Security.Cryptography.AsymmetricAlgorithm::get_KeySize()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t AsymmetricAlgorithm_get_KeySize_mE8C6882BD6C01D3721FAE2B622DFACD89072FB50_inline (AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.RSAManaged::GenerateKeyPair()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RSAManaged_GenerateKeyPair_m01DBB9859ED6B604FD48A26561F33FC8213A4BE5 (RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Math.BigInteger::GetBytes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* BigInteger_GetBytes_m3FA801F9485DE409CF9C9E7F4873694BF642C31C (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.RSAManaged::GetPaddedValue(Mono.Math.BigInteger,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* RSAManaged_GetPaddedValue_m09F304D316894F8620769B764EE99DC5FBF29471 (RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___value0, int32_t ___length1, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__ctor_m12A6762C07A6C1B90E6461D22E25A4DE6D3F1250 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___inData0, const RuntimeMethod* method);
// System.Void Mono.Math.BigInteger::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger_Clear_m255C25D3F81897E8ACF1B0F1C75E33459E4E9ECD (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method);
// System.String System.Convert::ToBase64String(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Convert_ToBase64String_mF201749AD724C437524C8A6108519470A0F65B84 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___inArray0, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.Alert::inferAlertLevel()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Alert_inferAlertLevel_m3501288705DB4CCFDCBB9230E4C3F2E819738A9C (Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * __this, const RuntimeMethod* method);
// Mono.Security.Interface.AlertLevel Mono.Security.Interface.Alert::get_Level()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR uint8_t Alert_get_Level_m4D9BDC77286315A186F6517A3AE514DD7B31FBDC_inline (Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * __this, const RuntimeMethod* method);
// Mono.Security.Interface.AlertDescription Mono.Security.Interface.Alert::get_Description()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR uint8_t Alert_get_Description_m3FDF20086BFE900B014DB0EA960F27413326A11D_inline (Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * __this, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_m19325298DBC61AAC016C16F7B3CF97A8A3DEA34A (String_t* ___format0, RuntimeObject * ___arg01, RuntimeObject * ___arg12, const RuntimeMethod* method);
// System.Boolean System.IO.File::Exists(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool File_Exists_m6B9BDD8EEB33D744EB0590DD27BC0152FAFBD1FB (String_t* ___path0, const RuntimeMethod* method);
// System.Object Mono.Net.Security.NoReflectionHelper::GetInternalValidator(System.Object,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * NoReflectionHelper_GetInternalValidator_m231BC9D1C0A711D48F25B6F0162ACABBA93A0D74 (RuntimeObject * ___provider0, RuntimeObject * ___settings1, const RuntimeMethod* method);
// Mono.Security.Interface.TlsProtocols Mono.Security.Interface.MonoTlsConnectionInfo::get_ProtocolVersion()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t MonoTlsConnectionInfo_get_ProtocolVersion_m63DA43DE02158D38E19EB7E5E93DD3E2EA6B87CA_inline (MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D * __this, const RuntimeMethod* method);
// Mono.Security.Interface.CipherSuiteCode Mono.Security.Interface.MonoTlsConnectionInfo::get_CipherSuiteCode()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR uint16_t MonoTlsConnectionInfo_get_CipherSuiteCode_m8C74B9FD02856309D7179AB0BE91B2F3F8BDF951_inline (MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings__ctor_m09A7B7F0B1CA2775C8A24B8A6BEC032E6B1C0A72 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method);
// Mono.Security.Interface.MonoTlsSettings Mono.Security.Interface.MonoTlsSettings::get_DefaultSettings()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * MonoTlsSettings_get_DefaultSettings_m49A7CECC7D687F62790DD374D560278D3916B887 (const RuntimeMethod* method);
// Mono.Security.Interface.MonoTlsSettings Mono.Security.Interface.MonoTlsSettings::Clone()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * MonoTlsSettings_Clone_mF28F7F627B12CBD0BD1ABD6F35DD0B4BAD2E3840 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::.ctor(Mono.Security.Interface.MonoTlsSettings)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings__ctor_m3D336E73C9393401BE9BE856B7204BA176F52B17 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * ___other0, const RuntimeMethod* method);
// Mono.Security.Interface.MonoRemoteCertificateValidationCallback Mono.Security.Interface.MonoTlsSettings::get_RemoteCertificateValidationCallback()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * MonoTlsSettings_get_RemoteCertificateValidationCallback_m1718C4B085FE8A31AFC7262616FFC5071072D737_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::set_RemoteCertificateValidationCallback(Mono.Security.Interface.MonoRemoteCertificateValidationCallback)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_RemoteCertificateValidationCallback_mC9225CD237B10BBF4813A975D827B822DF970E21_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * ___value0, const RuntimeMethod* method);
// Mono.Security.Interface.MonoLocalCertificateSelectionCallback Mono.Security.Interface.MonoTlsSettings::get_ClientCertificateSelectionCallback()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * MonoTlsSettings_get_ClientCertificateSelectionCallback_mAD91A51A5228D02BF8F2B6F1F49A0646D029E1D0_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::set_ClientCertificateSelectionCallback(Mono.Security.Interface.MonoLocalCertificateSelectionCallback)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_ClientCertificateSelectionCallback_m815474865E0743103BE1BA06CCFC85588BAFBAA4_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::set_UseServicePointManagerCallback(System.Nullable`1<System.Boolean>)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_UseServicePointManagerCallback_m3982FDDB084256E77E18F9A3E42E91E65F6F699B_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793 ___value0, const RuntimeMethod* method);
// System.Object Mono.Security.Interface.MonoTlsSettings::get_UserSettings()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * MonoTlsSettings_get_UserSettings_m31F62282C588A3847737F11AF9158E493CD86E9A_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::set_UserSettings(System.Object)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_UserSettings_mEC113D468C571102A4FF0327E617E7BA30D5D3F8_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, RuntimeObject * ___value0, const RuntimeMethod* method);
// System.Nullable`1<Mono.Security.Interface.TlsProtocols> Mono.Security.Interface.MonoTlsSettings::get_EnabledProtocols()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 MonoTlsSettings_get_EnabledProtocols_mB290C2A19B7268559520FDF47925D20A4F9D8106_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::set_EnabledProtocols(System.Nullable`1<Mono.Security.Interface.TlsProtocols>)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_EnabledProtocols_m88B942CBAB596E1F6FC91744D93F845862796A32_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 ___value0, const RuntimeMethod* method);
// Mono.Security.Interface.CipherSuiteCode[] Mono.Security.Interface.MonoTlsSettings::get_EnabledCiphers()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* MonoTlsSettings_get_EnabledCiphers_mB3F4FB0A332010BBCDF8EFF2B6B105C0CC92AF1D_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::set_EnabledCiphers(Mono.Security.Interface.CipherSuiteCode[])
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_EnabledCiphers_m27702EB1FBABCE66F73582F1F3B7DD14B4A95E12_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* ___value0, const RuntimeMethod* method);
// System.Nullable`1<System.DateTime> Mono.Security.Interface.MonoTlsSettings::get_CertificateValidationTime()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 MonoTlsSettings_get_CertificateValidationTime_m51F473A56D26B7FF38182524C3EF3250653181CD_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::set_CertificateValidationTime(System.Nullable`1<System.DateTime>)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_CertificateValidationTime_mD081C06E0CCCCEF4230D2A7A70ED06F7E5D1717D_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 ___value0, const RuntimeMethod* method);
// System.Boolean Mono.Security.Interface.MonoTlsSettings::get_SendCloseNotify()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool MonoTlsSettings_get_SendCloseNotify_m4E72508568F2055945A21AD19B1129AD2437C92F_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::set_SendCloseNotify(System.Boolean)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_SendCloseNotify_m292B72B22AC90DAC052BB0CB28D079F258803521_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, bool ___value0, const RuntimeMethod* method);
// System.Security.Cryptography.X509Certificates.X509CertificateCollection Mono.Security.Interface.MonoTlsSettings::get_TrustAnchors()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * MonoTlsSettings_get_TrustAnchors_mD6ADD8546ED8D9C0BA58A25F0ADA0BBB5127F28F_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.X509Certificates.X509CertificateCollection::.ctor(System.Security.Cryptography.X509Certificates.X509CertificateCollection)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509CertificateCollection__ctor_m24BAA500237577256DCA1BD814ED88D163E702E3 (X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * __this, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::set_TrustAnchors(System.Security.Cryptography.X509Certificates.X509CertificateCollection)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_TrustAnchors_m96D71EF074D01C5CBF8159B392825679DADD9B2A_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * ___value0, const RuntimeMethod* method);
// System.String[] Mono.Security.Interface.MonoTlsSettings::get_CertificateSearchPaths()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* MonoTlsSettings_get_CertificateSearchPaths_mE287996050CC9939D950713EAB5FC382FC64453B_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.MonoTlsSettings::set_CertificateSearchPaths(System.String[])
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_CertificateSearchPaths_m7A42E0C25B12F9D923BEDE97E270433CD3C8A1D4_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* ___value0, const RuntimeMethod* method);
// System.Void System.Array::CopyTo(System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_CopyTo_m455300D414FFB0EBFE53EA4E8BBD31532006EBB7 (RuntimeArray * __this, RuntimeArray * ___array0, int32_t ___index1, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.Alert::.ctor(Mono.Security.Interface.AlertDescription)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Alert__ctor_mD0D7AE959A64782F053515E043A70D71E229279B (Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * __this, uint8_t ___description0, const RuntimeMethod* method);
// System.Void Mono.Security.Interface.TlsException::.ctor(Mono.Security.Interface.Alert,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsException__ctor_m5B7689890B3AE575E72A71FB19541C2BBAEF2D93 (TlsException_t774465EA64E3ADAAE3DB21835DD9AB8C40247F91 * __this, Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * ___alert0, String_t* ___message1, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContentInfo__ctor_mEE9D9E1E66FBF3DA3414423F0D4216E40C625BFA (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContentInfo__ctor_m3AAF5EC77C4891BB1B6AF1F980C8623C0621852D (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___asn10, const RuntimeMethod* method);
// System.Void System.ArgumentException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7 (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * __this, String_t* ___message0, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.PKCS7/ContentInfo::GetASN1()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ContentInfo_GetASN1_m3DF4C4558BE17D650B80B7971158C1B704C7B995 (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.ASN1Convert::FromOid(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462 (String_t* ___oid0, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/EncryptedData::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EncryptedData__ctor_m960EE725A153200911315F85B009E0D9E99D8114 (EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * __this, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContentInfo__ctor_mF21B31604F01A686DB03E30FEAE859A53A0E084A (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, String_t* ___oid0, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/ContentInfo::set_Content(Mono.Security.ASN1)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void ContentInfo_set_Content_m15B5D9A61236E1C116A9B5A651E80C5D78FB2598_inline (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse__ctor_m1E0300839CAF582A720DB0F4F9E425B6EE12B258 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::set_Password(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse_set_Password_m530EB94179C374BED9B9AAE4BB30AB3FF14F07E2 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::set_Challenge(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse_set_Challenge_mD747C1A002528A6E9AFDE848AA257FD7B1B85E6F (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse_Dispose_mD6C08D1EDA541DC5A9B287744FB18E3149627434 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, const RuntimeMethod* method);
// System.Security.Cryptography.DES System.Security.Cryptography.DES::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * DES_Create_m5EE267FBCD5AA18E04C29247C796430D12247CC5 (const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::PasswordToKey(System.String,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse_PasswordToKey_m522B84CA0312284486A2C4E10FEE2D74BF4FF163 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, String_t* ___password0, int32_t ___position1, const RuntimeMethod* method);
// System.Text.Encoding System.Text.Encoding::get_Unicode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * Encoding_get_Unicode_m86CC470F70F9BB52DDB26721F0C0D6EDAFC318AA (const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.HashAlgorithm::ComputeHash(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* HashAlgorithm_ComputeHash_m18501D3068AEBEB5FA83EA72BE780E371DB0C122 (HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.SymmetricAlgorithm::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SymmetricAlgorithm_Clear_m8487379B135918E72684597CFE388EF7FCA733D2 (SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::GetResponse(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse_GetResponse_m526E49021AB29DD12995CF8BB12DC9F03F2A583F (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___pwd0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::Dispose(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse_Dispose_mF3B015B967C89BE1E139EFA40740208B10441AED (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, bool ___disposing0, const RuntimeMethod* method);
// System.Void System.GC::SuppressFinalize(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GC_SuppressFinalize_m037319A9B95A5BA437E806DE592802225EE5B425 (RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::PrepareDESKey(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse_PrepareDESKey_m32B2174E0B63E959CE08204F3C39AAA01799A3B3 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___key56bits0, int32_t ___position1, const RuntimeMethod* method);
// System.Int32 System.Math::Min(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Min_mC950438198519FB2B0260FCB91220847EE4BB525 (int32_t ___val10, int32_t ___val21, const RuntimeMethod* method);
// System.Globalization.CultureInfo System.Globalization.CultureInfo::get_CurrentCulture()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * CultureInfo_get_CurrentCulture_mD86F3D8E5D332FB304F80D9B9CA4DE849C2A6831 (const RuntimeMethod* method);
// System.String System.String::ToUpper(System.Globalization.CultureInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_ToUpper_m8C69D974350ABA8BA0BC3A66996004CCEFD64293 (String_t* __this, CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___culture0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::PasswordToKey(System.String,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_PasswordToKey_m2871E605818DF2DE4BC5B1B163831BA8F64006D8 (String_t* ___password0, int32_t ___position1, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::GetResponse(System.Byte[],System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_GetResponse_mE39699CD2453921E373BF9768180993EDCD810E7 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___challenge0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___pwd1, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::Compute_NTLM_Password(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_Compute_NTLM_Password_mD27D4A18DBD712B0E80B0F2A1CB296B353312C41 (String_t* ___password0, const RuntimeMethod* method);
// System.Void System.Array::Copy(System.Array,System.Array,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Copy_m2D96731C600DE8A167348CA8BA796344E64F7434 (RuntimeArray * ___sourceArray0, RuntimeArray * ___destinationArray1, int32_t ___length2, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::Compute_NTLM(System.String,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_Compute_NTLM_mA1DCA878A3A7A5517DB8BB0F2BEDD29353573976 (String_t* ___password0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___challenge1, const RuntimeMethod* method);
// System.String System.String::ToUpperInvariant()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_ToUpperInvariant_m0AA42416F4CACA4D0E3B89D97E534D88AB136338 (String_t* __this, const RuntimeMethod* method);
// System.Void System.Array::Copy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6 (RuntimeArray * ___sourceArray0, int32_t ___sourceIndex1, RuntimeArray * ___destinationArray2, int32_t ___destinationIndex3, int32_t ___length4, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.HMACMD5::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HMACMD5__ctor_m246E639FCF66A7C0A443CF06F461A3C5C26EB6F9 (HMACMD5_t8C6693E41EEA9BF26BBAF880B405CC170C43F11B * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___key0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.HashAlgorithm::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void HashAlgorithm_Clear_m2E975EB7B42C1E241B24578CDF15AD41F35A5A8D (HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * __this, const RuntimeMethod* method);
// System.DateTime System.DateTime::get_Now()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 DateTime_get_Now_mB464D30F15C97069F92C1F910DCDDC3DFCC7F7D2 (const RuntimeMethod* method);
// System.Int64 System.DateTime::get_Ticks()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int64_t DateTime_get_Ticks_mBCB529E43D065E498EAF08971D2EB49D5CB59D60 (DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.Type2Message::get_TargetInfo()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* Type2Message_get_TargetInfo_m5E0F0E5A6B32B7512393EDC2DFE9E8A6D79DB485 (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.BitConverterLE::GetBytes(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* BitConverterLE_GetBytes_m8B2BFEBCB4830C010E4572C925AE3C3A3CC14031 (int64_t ___value0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.Type2Message::get_Nonce()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* Type2Message_get_Nonce_mEE9D40B2B299766F6B789195174BC580BDAEB4E1 (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::Compute_LM(System.String,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_Compute_LM_m3A1F9371E4F1E41B044787FFB3BE985E92A3AC22 (String_t* ___password0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___challenge1, const RuntimeMethod* method);
// Mono.Security.Protocol.Ntlm.NtlmFlags Mono.Security.Protocol.Ntlm.MessageBase::get_Flags()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse2::Compute_NTLMv2_Session(System.String,System.Byte[],System.Byte[]&,System.Byte[]&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse2_Compute_NTLMv2_Session_mFB6537BF7FC8D9D7CCE55BFCDF6A7C371460E296 (String_t* ___password0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___challenge1, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** ___lm2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** ___ntlm3, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::Compute_NTLMv2(Mono.Security.Protocol.Ntlm.Type2Message,System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_Compute_NTLMv2_mBCFF2DF7375AD035B98FC84253201D269201CE43 (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * ___type20, String_t* ___username1, String_t* ___password2, String_t* ___domain3, const RuntimeMethod* method);
// System.Void System.InvalidOperationException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_m1F94EA1226068BD1B7EAA1B836A59C99979F579E (InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::PrepareDESKey(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_PrepareDESKey_m428EF8F37B18E0B4FC5895BFF02A681740CF7608 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___key56bits0, int32_t ___position1, const RuntimeMethod* method);
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String,System.Object,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_m755B01B4B4595B447596E3281F22FD7CE6DAE378 (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * __this, String_t* ___paramName0, RuntimeObject * ___actualValue1, String_t* ___message2, const RuntimeMethod* method);
// System.Boolean Mono.Security.Protocol.Ntlm.MessageBase::CheckHeader(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MessageBase_CheckHeader_m427014E264FA451B68062CFF8A1939DC3A04FB5A (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___message0, const RuntimeMethod* method);
// System.String System.String::Format(System.String,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_m0ACDD8B34764E4040AED0B3EEB753567E4576BFA (String_t* ___format0, RuntimeObject * ___arg01, const RuntimeMethod* method);
// System.UInt32 Mono.Security.BitConverterLE::ToUInt32(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t BitConverterLE_ToUInt32_m898E287439DDB0A31E4E39FF83DD032B1C43FA26 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, int32_t ___startIndex1, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Ntlm.MessageBase::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MessageBase__ctor_m32BA1280CB1020E88C6EF6DFA9C3ABABF3B36E59 (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, int32_t ___messageType0, const RuntimeMethod* method);
// System.String System.Environment::get_UserDomainName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Environment_get_UserDomainName_mC55D253D7319CBE9030836E420FF9518921C3A52 (const RuntimeMethod* method);
// System.String System.Environment::get_MachineName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Environment_get_MachineName_m0300D26C1A5348D90800793717D33B1F629AF10D (const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Ntlm.MessageBase::set_Flags(Mono.Security.Protocol.Ntlm.NtlmFlags)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Ntlm.MessageBase::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MessageBase_Decode_m0994F2111010F3E105B94A83439BDBADA2E46537 (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___message0, const RuntimeMethod* method);
// System.UInt16 Mono.Security.BitConverterLE::ToUInt16(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint16_t BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, int32_t ___startIndex1, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.MessageBase::PrepareMessage(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* MessageBase_PrepareMessage_m6B0C0C463C16D086924EC49DB07C3ADE95C11958 (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, int32_t ___messageSize0, const RuntimeMethod* method);
// Mono.Security.Protocol.Ntlm.NtlmAuthLevel Mono.Security.Protocol.Ntlm.NtlmSettings::get_DefaultAuthLevel()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t NtlmSettings_get_DefaultAuthLevel_m98EDE4292136121773A45127209BD926E1CF141A_inline (const RuntimeMethod* method);
// System.String Mono.Security.Protocol.Ntlm.Type2Message::get_TargetName()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR String_t* Type2Message_get_TargetName_m3B65DC156E863BC78E674D0D1BEF653B25F53B7D_inline (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * __this, const RuntimeMethod* method);
// System.String System.Environment::get_UserName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Environment_get_UserName_m089F0073984A6341BC214F4EB3DE42ACD19D067B (const RuntimeMethod* method);
// System.String Mono.Security.Protocol.Ntlm.Type3Message::DecodeString(System.Byte[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Type3Message_DecodeString_mCB1797B1FA97CD96E788DCE096FDBC275685C42F (Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___offset1, int32_t ___len2, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.Type3Message::EncodeString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* Type3Message_EncodeString_m431F1D808D738A2C9CE57DE1084F9A42C036AA5A (Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C * __this, String_t* ___text0, const RuntimeMethod* method);
// System.Void System.InvalidOperationException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_m72027D5F1D513C25C05137E203EEED8FD8297706 (InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::.ctor(System.String,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse__ctor_mF80EAE315F35264F1DA0167B3ED7A8CD8E2D1FFA (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, String_t* ___password0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___challenge1, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::get_LM()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse_get_LM_m3916048E028CFCA867E801A83FEB949F7C089263 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::get_NT()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse_get_NT_mEC9F2FDFDB8FADF415D4BA8A1564A23024FC3437 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse2::Compute(Mono.Security.Protocol.Ntlm.Type2Message,Mono.Security.Protocol.Ntlm.NtlmAuthLevel,System.String,System.String,System.String,System.Byte[]&,System.Byte[]&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse2_Compute_mAA312CA925226C75A829516B6BDC2089840D389D (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * ___type20, int32_t ___level1, String_t* ___username2, String_t* ___password3, String_t* ___domain4, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** ___lm5, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** ___ntlm6, const RuntimeMethod* method);
// System.Void Mono.Security.X509.X509CertificateCollection::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509CertificateCollection__ctor_mC7C07103044E3520FC785CD5BF0018F27C3132EE (X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * __this, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12__ctor_mB6E3957A0DB6D7E17808EB1141909F9D1AEC162F (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12::set_Password(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_set_Password_mE1814AD9981817AEB8B4DAD7AED8DEA6A17F1DB0 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method);
// System.String Mono.Security.PKCS7/ContentInfo::get_ContentType()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR String_t* ContentInfo_get_ContentType_m26D6492CA5D227AAC583CFC4A898C056ACEC8196_inline (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, const RuntimeMethod* method);
// System.Boolean System.String::op_Inequality(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Inequality_m0BD184A74F453A72376E81CC6CAEE2556B80493E (String_t* ___a0, String_t* ___b1, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.PKCS7/ContentInfo::get_Content()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.X509.PKCS12::MAC(System.Byte[],System.Byte[],System.Int32,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PKCS12_MAC_mA1250320B5F0B5C94D8532296AB59CC32B7A7E78 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___password0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___salt1, int32_t ___iterations2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data3, const RuntimeMethod* method);
// System.Boolean Mono.Security.X509.PKCS12::Compare(System.Byte[],System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PKCS12_Compare_m12F289CEDEFD3FCB171A1D84CFC3B38657041FDC (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___expected0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___actual1, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12::ReadSafeBag(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___safeBag0, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/EncryptedData::.ctor(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EncryptedData__ctor_m385361DAE06A76AA773E49EF242400DE7F02A8FD (EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___asn10, const RuntimeMethod* method);
// System.Byte[] Mono.Security.X509.PKCS12::Decrypt(Mono.Security.PKCS7/EncryptedData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PKCS12_Decrypt_mBEC36809198C23CF1A3DDBABEC167DAF259763AC (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * ___ed0, const RuntimeMethod* method);
// System.Void System.NotImplementedException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NotImplementedException__ctor_mEBAED0FCA8B8CCE7E96492474350BA35D14CF59C (NotImplementedException_t8AD6EBE5FEDB0AEBECEE0961CF73C35B372EFFA4 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Int32 Mono.Security.X509.PKCS12::get_MaximumPasswordLength()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t PKCS12_get_MaximumPasswordLength_m456895C0914C8E686BC0548D036FAF11EB2AD266_inline (const RuntimeMethod* method);
// System.Text.Encoding System.Text.Encoding::get_BigEndianUnicode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * Encoding_get_BigEndianUnicode_m6CC17642A36943FE038F54729446D7E30D582BDD (const RuntimeMethod* method);
// System.String Mono.Security.X509.SafeBag::get_BagOID()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR String_t* SafeBag_get_BagOID_m111CD6142B7D3C61FB45932B8EF9A635D80244B5_inline (SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * __this, const RuntimeMethod* method);
// System.Boolean System.String::Equals(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_Equals_m9C4D78DFA0979504FE31429B64A4C26DF48020D1 (String_t* __this, String_t* ___value0, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.X509.SafeBag::get_ASN1()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * SafeBag_get_ASN1_m77708924A6B21495CB27668AB3CDCC844724AAD1_inline (SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PrivateKeyInfo__ctor_m4FE1CE37466756FCCAD2C7320E6E8E8B0D4D603A (PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::get_PrivateKey()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PrivateKeyInfo_get_PrivateKey_mC390394E64E5FE39B4A833E7D91CF20A899179FA (PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.DSA Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::DecodeDSA(System.Byte[],System.Security.Cryptography.DSAParameters)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * PrivateKeyInfo_DecodeDSA_m705D495634A3F9F97D73FA4FC995352DF5A3F5EF (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___privateKey0, DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 ___dsaParameters1, const RuntimeMethod* method);
// System.Security.Cryptography.RSA Mono.Security.Cryptography.PKCS8/PrivateKeyInfo::DecodeRSA(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * PrivateKeyInfo_DecodeRSA_m47EEB9282E7E66ED9256F2097B4E5C757B79B080 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___keypair0, const RuntimeMethod* method);
// System.Void Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EncryptedPrivateKeyInfo__ctor_mB2FBC3DDB156046CBB737280E490994A3B20362A (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method);
// System.String Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::get_Algorithm()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR String_t* EncryptedPrivateKeyInfo_get_Algorithm_m93A361B3EE1EDF57B8D83ECF187CD75E6B45A9D9_inline (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::get_Salt()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* EncryptedPrivateKeyInfo_get_Salt_mF231C0F3BC06F402910179312CC9245911450C4B (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, const RuntimeMethod* method);
// System.Int32 Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::get_IterationCount()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t EncryptedPrivateKeyInfo_get_IterationCount_m3CD06665FBE6C8B3965AA0D870B702A4E6F833FC_inline (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.Cryptography.PKCS8/EncryptedPrivateKeyInfo::get_EncryptedData()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* EncryptedPrivateKeyInfo_get_EncryptedData_m0EB3C77C669117FCB3E0A5DA1758F9B0A18573D3 (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.X509.PKCS12::Decrypt(System.String,System.Byte[],System.Int32,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PKCS12_Decrypt_m31927063D7A8B21C5E2B81F0879117F269B2F340 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, String_t* ___algorithmOid0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___salt1, int32_t ___iterationCount2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___encryptedData3, const RuntimeMethod* method);
// System.Collections.ArrayList System.Collections.ArrayList::ReadOnly(System.Collections.ArrayList)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * ArrayList_ReadOnly_m15C79B069370829463875D47C52859A0F539F90F (ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * ___list0, const RuntimeMethod* method);
// System.Void System.Collections.CollectionBase::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CollectionBase_Clear_m532DA443B53F9D48FAC7184B5C405D8E725E554A (CollectionBase_tF5D4583FF325726066A9803839A04E9C0084ED01 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/ContentInfo::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContentInfo__ctor_mFFDEEE8545287FC5A22740B7E06F6D64D401E196 (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.X509Certificate::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509Certificate__ctor_mE2BC6649D450A36E902A2D6BEB50C49130411129 (X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method);
// System.Int32 Mono.Security.X509.X509CertificateCollection::Add(Mono.Security.X509.X509Certificate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509CertificateCollection_Add_mC060190867D9C5D182236A313FE912DFCCE1F785 (X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * __this, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeriveBytes__ctor_mCF98BD3EFADD4D2F34101977C2B49258932F19C2 (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::set_Password(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeriveBytes_set_Password_m01796801BB8FD1E5F9D62F48A057F936CE0D0E4D (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::set_Salt(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeriveBytes_set_Salt_m259A4E6B31DF7C039E776B473B4C5208890E8C5E (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::set_IterationCount(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void DeriveBytes_set_IterationCount_mFE67702E80E2748EA2B61D15E2E58CB9A4173143_inline (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::set_HashName(System.String)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Security.Cryptography.SymmetricAlgorithm System.Security.Cryptography.SymmetricAlgorithm::Create(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * SymmetricAlgorithm_Create_m09E1B072260AEBCFF0850A7F4C129F529CC7D8A5 (String_t* ___algName0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.X509.PKCS12/DeriveBytes::DeriveKey(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* DeriveBytes_DeriveKey_mDF33F048359AB75CC3F1F634A67EB4EDEF02E796 (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, int32_t ___size0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.X509.PKCS12/DeriveBytes::DeriveIV(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* DeriveBytes_DeriveIV_mEBA107DC29EA28DF2575F45EF7A0C55840BD8F03 (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, int32_t ___size0, const RuntimeMethod* method);
// System.Security.Cryptography.SymmetricAlgorithm Mono.Security.X509.PKCS12::GetSymmetricAlgorithm(System.String,System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * PKCS12_GetSymmetricAlgorithm_mD3F3C0B83D3F2F2F384895C287C95AEACC9D237B (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, String_t* ___algorithmOid0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___salt1, int32_t ___iterationCount2, const RuntimeMethod* method);
// Mono.Security.PKCS7/ContentInfo Mono.Security.PKCS7/EncryptedData::get_EncryptionAlgorithm()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * EncryptedData_get_EncryptionAlgorithm_m06B627AA11F08C1515676B6E58DEDDD43B4F380F_inline (EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.PKCS7/EncryptedData::get_EncryptedContent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* EncryptedData_get_EncryptedContent_m3C19AF07E7124131F08D7223E7B955AE67896BB8 (EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * __this, const RuntimeMethod* method);
// Mono.Security.X509.X509CertificateCollection Mono.Security.X509.PKCS12::get_Certificates()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * PKCS12_get_Certificates_mB8B81E86E481809CAB88C4657FDFCA67FE5190F4 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method);
// Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator Mono.Security.X509.X509CertificateCollection::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * X509CertificateCollection_GetEnumerator_mE786AA0C41503620161D81E4D9172932564BAB4C (X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * __this, const RuntimeMethod* method);
// Mono.Security.X509.X509Certificate Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator::get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * X509CertificateEnumerator_get_Current_m68306EF52C95B315E36054119C0422ACAF95C09F (X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.DSA Mono.Security.X509.X509Certificate::get_DSA()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * X509Certificate_get_DSA_m7C3868DFAC7C067D09A324C348D7461D70E10F7F (X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * __this, const RuntimeMethod* method);
// System.Boolean Mono.Security.X509.X509CertificateCollection/X509CertificateEnumerator::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool X509CertificateEnumerator_MoveNext_m9E88A7C9685146F7E558267D7D828711C5E898F4 (X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.DSAParameters Mono.Security.X509.PKCS12::GetExistingParameters(System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 PKCS12_GetExistingParameters_mA087BFAB5B05292523844A22873E72CAEBF5500F (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, bool* ___found0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12::AddPrivateKey(Mono.Security.Cryptography.PKCS8/PrivateKeyInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_AddPrivateKey_m1197B452390B9CF1EB0E9F091AB0757EBF5A2697 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * ___pki0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.SafeBag::.ctor(System.String,Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SafeBag__ctor_mA72466DEC40046A944E2120A27BEFD3D2EAD57B7 (SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * __this, String_t* ___bagOID0, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___asn11, const RuntimeMethod* method);
// System.Void Mono.Security.PKCS7/ContentInfo::set_ContentType(System.String)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void ContentInfo_set_ContentType_m4FEE943D01600FC088408F7E20C5E1667CB5BA21_inline (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, String_t* ___value0, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.PKCS7/ContentInfo::get_ASN1()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ContentInfo_get_ASN1_mE290789431E97C3AF43911BB56FBE15C6D799411 (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, const RuntimeMethod* method);
// System.Security.Cryptography.HMAC System.Security.Cryptography.HMAC::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90 * HMAC_Create_m865273728E60831137927C36E23E6F584383FD2B (const RuntimeMethod* method);
// System.Byte[] Mono.Security.X509.PKCS12/DeriveBytes::DeriveMAC(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* DeriveBytes_DeriveMAC_mD54FB1F61CFC13258B46861CCE527A85CC62652D (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, int32_t ___size0, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.HashAlgorithm::ComputeHash(System.Byte[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* HashAlgorithm_ComputeHash_m944CD5B5BF66F170C9ACD2674E258E62ED297819 (HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___offset1, int32_t ___count2, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12::RemoveCertificate(Mono.Security.X509.X509Certificate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_RemoveCertificate_mE3594A106A1E0771DF835725966BC529F738DFCE (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * ___cert0, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12::AddCertificate(Mono.Security.X509.X509Certificate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_AddCertificate_m9D6DE2BF285B6BFCE1F8314438969020F5C3005D (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * ___cert0, const RuntimeMethod* method);
// Mono.Security.PKCS7/ContentInfo Mono.Security.X509.PKCS12::EncryptedContentInfo(Mono.Security.ASN1,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * PKCS12_EncryptedContentInfo_m1E71931C47F151A7B5AC985929B78FAED83C5E89 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___safeBags0, String_t* ___algorithmOid1, const RuntimeMethod* method);
// System.Security.Cryptography.RandomNumberGenerator Mono.Security.X509.PKCS12::get_RNG()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * PKCS12_get_RNG_m41E242AD5803360A10A8084A081F54F6D3402736 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.ASN1Convert::FromInt32(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ASN1Convert_FromInt32_m59FF0922659B0A323026CCC0876BC33020C4FC9A (int32_t ___value0, const RuntimeMethod* method);
// System.Byte[] Mono.Security.X509.PKCS12::Encrypt(System.String,System.Byte[],System.Int32,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PKCS12_Encrypt_m46E5121EFD2B8D707F1028204C59EE95955FA992 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, String_t* ___algorithmOid0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___salt1, int32_t ___iterationCount2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data3, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12::AddCertificate(Mono.Security.X509.X509Certificate,System.Collections.IDictionary)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_AddCertificate_m17964E654DA9F739484806557EBD8CFE5331A198 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * ___cert0, RuntimeObject* ___attributes1, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.X509.PKCS12::CertificateSafeBag(Mono.Security.X509.X509Certificate,System.Collections.IDictionary)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * PKCS12_CertificateSafeBag_mD0DD83647F65C3ABAE16740304102EFD7495FB73 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * ___x5090, RuntimeObject* ___attributes1, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12::RemoveCertificate(Mono.Security.X509.X509Certificate,System.Collections.IDictionary)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_RemoveCertificate_mFD3A6ECA0F182AC1C74E2E7A56D4F6E3D4D300D2 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * ___cert0, RuntimeObject* ___attrs1, const RuntimeMethod* method);
// System.Byte[] Mono.Security.X509.PKCS12::GetBytes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PKCS12_GetBytes_m8621373F343293D4A64DED97DA2610BE6B6D7D73 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12::.ctor(System.Byte[],System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12__ctor_m35A8D4C261B2A0B4B7BC677160AB1DF90B04B229 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, String_t* ___password1, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12__ctor_mBE0BDBA0DD4C15F304D04F31E028CFFB31D7B8AB (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method);
// System.Int32 Mono.Security.X509.PKCS12::get_IterationCount()
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t PKCS12_get_IterationCount_m85A4D92CA6130D1BC6818CA8C434C9A8CFD120EC_inline (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12::set_IterationCount(System.Int32)
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void PKCS12_set_IterationCount_m95AA7918C2940DFAA9AD540AEE484DD8E9A0DA43_inline (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Security.Cryptography.HashAlgorithm Mono.Security.Cryptography.PKCS1::CreateFromName(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * PKCS1_CreateFromName_mB407B0358BF42A94FAA0A3B7DF68A731827C21BE (String_t* ___name0, const RuntimeMethod* method);
// System.Int32 System.Security.Cryptography.HashAlgorithm::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t HashAlgorithm_TransformBlock_m500873E221BF1E4278C23D3DD113FA36711CBE22 (HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___outputBuffer3, int32_t ___outputOffset4, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.HashAlgorithm::TransformFinalBlock(System.Byte[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* HashAlgorithm_TransformFinalBlock_mC9CB1BD6A8E410BE986650C1478A93378F138177 (HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___inputBuffer0, int32_t ___inputOffset1, int32_t ___inputCount2, const RuntimeMethod* method);
// System.Void Mono.Security.X509.PKCS12/DeriveBytes::Adjust(System.Byte[],System.Int32,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeriveBytes_Adjust_m62C31A3D1780C7E6278429908FAA52AC2280668F (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___a0, int32_t ___aOff1, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___b2, const RuntimeMethod* method);
// System.Byte[] Mono.Security.X509.PKCS12/DeriveBytes::Derive(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* DeriveBytes_Derive_m77A53485FBE468A4F9698AEC0B36415699A9D72E (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___diversifier0, int32_t ___n1, 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
// System.UInt32 <PrivateImplementationDetails>::ComputeStringHash(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t U3CPrivateImplementationDetailsU3E_ComputeStringHash_m8375D44A8A75C7D8223EA98CF65C40C0BA8C7BEB (String_t* ___s0, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
int32_t V_1 = 0;
{
String_t* L_0 = ___s0;
if (!L_0)
{
goto IL_002a;
}
}
{
V_0 = ((int32_t)-2128831035);
V_1 = 0;
goto IL_0021;
}
IL_000d:
{
String_t* L_1 = ___s0;
int32_t L_2 = V_1;
NullCheck(L_1);
Il2CppChar L_3 = String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96(L_1, L_2, /*hidden argument*/NULL);
uint32_t L_4 = V_0;
V_0 = ((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)((int32_t)L_3^(int32_t)L_4)), (int32_t)((int32_t)16777619)));
int32_t L_5 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0021:
{
int32_t L_6 = V_1;
String_t* L_7 = ___s0;
NullCheck(L_7);
int32_t L_8 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_6) < ((int32_t)L_8)))
{
goto IL_000d;
}
}
IL_002a:
{
uint32_t 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
#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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Locale_GetText_m67B66557188C94648AA7A23F6A7501BE7D455ADA (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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, int32_t ___sign0, uint32_t ___len1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_length_0(1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
uint32_t L_0 = ___len1;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB_il2cpp_TypeInfo_var, (uint32_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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__ctor_m77CF9FF025A6A98A625E8E948F19F822210BC29C (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m77CF9FF025A6A98A625E8E948F19F822210BC29C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_length_0(1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi0;
NullCheck(L_0);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = L_0->get_data_1();
NullCheck((RuntimeArray *)(RuntimeArray *)L_1);
RuntimeObject * L_2 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
__this->set_data_1(((UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)Castclass((RuntimeObject*)L_2, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB_il2cpp_TypeInfo_var)));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = ___bi0;
NullCheck(L_3);
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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__ctor_m718EBF73E0A8036284DBF530A63930E286233BC5 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, uint32_t ___len1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m718EBF73E0A8036284DBF530A63930E286233BC5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint32_t V_0 = 0;
{
__this->set_length_0(1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
uint32_t L_0 = ___len1;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB_il2cpp_TypeInfo_var, (uint32_t)L_0);
__this->set_data_1(L_1);
V_0 = 0;
goto IL_0031;
}
IL_001d:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = __this->get_data_1();
uint32_t L_3 = V_0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = ___bi0;
NullCheck(L_4);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = L_4->get_data_1();
uint32_t L_6 = V_0;
NullCheck(L_5);
uint32_t L_7 = L_6;
uint32_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_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_0031:
{
uint32_t L_10 = V_0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_11 = ___bi0;
NullCheck(L_11);
uint32_t L_12 = L_11->get_length_0();
if ((!(((uint32_t)L_10) >= ((uint32_t)L_12))))
{
goto IL_001d;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_13 = ___bi0;
NullCheck(L_13);
uint32_t L_14 = L_13->get_length_0();
__this->set_length_0(L_14);
return;
}
}
// System.Void Mono.Math.BigInteger::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__ctor_m12A6762C07A6C1B90E6461D22E25A4DE6D3F1250 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___inData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_m12A6762C07A6C1B90E6461D22E25A4DE6D3F1250_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
__this->set_length_0(1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___inData0;
NullCheck(L_0);
if ((((RuntimeArray*)L_0)->max_length))
{
goto IL_0019;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)1);
___inData0 = L_1;
}
IL_0019:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___inData0;
NullCheck(L_2);
__this->set_length_0(((int32_t)((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length))))>>2)));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ___inData0;
NullCheck(L_3);
V_0 = ((int32_t)((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))&(int32_t)3));
int32_t L_4 = V_0;
if (!L_4)
{
goto IL_003b;
}
}
{
uint32_t L_5 = __this->get_length_0();
__this->set_length_0(((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1)));
}
IL_003b:
{
uint32_t L_6 = __this->get_length_0();
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_7 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB_il2cpp_TypeInfo_var, (uint32_t)L_6);
__this->set_data_1(L_7);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = ___inData0;
NullCheck(L_8);
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))), (int32_t)1));
V_2 = 0;
goto IL_0083;
}
IL_0056:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_9 = __this->get_data_1();
int32_t L_10 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ___inData0;
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_12, (int32_t)3));
uint8_t L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = ___inData0;
int32_t L_16 = V_1;
NullCheck(L_15);
int32_t L_17 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_16, (int32_t)2));
uint8_t L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_19 = ___inData0;
int32_t L_20 = V_1;
NullCheck(L_19);
int32_t L_21 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_20, (int32_t)1));
uint8_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = ___inData0;
int32_t L_24 = V_1;
NullCheck(L_23);
int32_t L_25 = L_24;
uint8_t L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
NullCheck(L_9);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(L_10), (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_14<<(int32_t)((int32_t)24)))|(int32_t)((int32_t)((int32_t)L_18<<(int32_t)((int32_t)16)))))|(int32_t)((int32_t)((int32_t)L_22<<(int32_t)8))))|(int32_t)L_26)));
int32_t L_27 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_27, (int32_t)4));
int32_t L_28 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)1));
}
IL_0083:
{
int32_t L_29 = V_1;
if ((((int32_t)L_29) >= ((int32_t)3)))
{
goto IL_0056;
}
}
{
int32_t L_30 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_30, (int32_t)1)))
{
case 0:
{
goto IL_009d;
}
case 1:
{
goto IL_00b1;
}
case 2:
{
goto IL_00cb;
}
}
}
{
goto IL_00ea;
}
IL_009d:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_31 = __this->get_data_1();
uint32_t L_32 = __this->get_length_0();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_33 = ___inData0;
NullCheck(L_33);
int32_t L_34 = 0;
uint8_t L_35 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
NullCheck(L_31);
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)L_32, (int32_t)1))), (uint32_t)L_35);
goto IL_00ea;
}
IL_00b1:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_36 = __this->get_data_1();
uint32_t L_37 = __this->get_length_0();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_38 = ___inData0;
NullCheck(L_38);
int32_t L_39 = 0;
uint8_t L_40 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_41 = ___inData0;
NullCheck(L_41);
int32_t L_42 = 1;
uint8_t L_43 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
NullCheck(L_36);
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)L_37, (int32_t)1))), (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_40<<(int32_t)8))|(int32_t)L_43)));
goto IL_00ea;
}
IL_00cb:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_44 = __this->get_data_1();
uint32_t L_45 = __this->get_length_0();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_46 = ___inData0;
NullCheck(L_46);
int32_t L_47 = 0;
uint8_t L_48 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_47));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_49 = ___inData0;
NullCheck(L_49);
int32_t L_50 = 1;
uint8_t L_51 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_52 = ___inData0;
NullCheck(L_52);
int32_t L_53 = 2;
uint8_t L_54 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
NullCheck(L_44);
(L_44)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)L_45, (int32_t)1))), (uint32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_48<<(int32_t)((int32_t)16)))|(int32_t)((int32_t)((int32_t)L_51<<(int32_t)8))))|(int32_t)L_54)));
}
IL_00ea:
{
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Math.BigInteger::.ctor(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__ctor_mCAC0EAFBC60E0DC2B64BE0DD21099C837FEC0A33 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, uint32_t ___ui0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger__ctor_mCAC0EAFBC60E0DC2B64BE0DD21099C837FEC0A33_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_length_0(1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB_il2cpp_TypeInfo_var, (uint32_t)1);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = L_0;
uint32_t L_2 = ___ui0;
NullCheck(L_1);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint32_t)L_2);
__this->set_data_1(L_1);
return;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Implicit(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_Implicit_m47A1626222EC6D506611B5776F1506E5ED6F529F (uint32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Implicit_m47A1626222EC6D506611B5776F1506E5ED6F529F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint32_t L_0 = ___value0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mCAC0EAFBC60E0DC2B64BE0DD21099C837FEC0A33(L_1, L_0, /*hidden argument*/NULL);
return L_1;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Implicit(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB (int32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___value0;
if ((((int32_t)L_0) >= ((int32_t)0)))
{
goto IL_000f;
}
}
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_1 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_1, _stringLiteralF32B67C7E26342AF42EFABC674D441DCA0A281C5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB_RuntimeMethod_var);
}
IL_000f:
{
int32_t L_2 = ___value0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mCAC0EAFBC60E0DC2B64BE0DD21099C837FEC0A33(L_3, L_2, /*hidden argument*/NULL);
return L_3;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Subtraction(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_1 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(L_0, 0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0010;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m77CF9FF025A6A98A625E8E948F19F822210BC29C(L_3, L_2, /*hidden argument*/NULL);
return L_3;
}
IL_0010:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(L_4, 0, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0024;
}
}
{
ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269 * L_6 = (ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269 *)il2cpp_codegen_object_new(ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269_il2cpp_TypeInfo_var);
ArithmeticException__ctor_mAE18F94959F9827DEA553C7C2F3C5568BEC81CCF(L_6, _stringLiteralD4FCA0BC6A26DDF145B7A4AC7BFDAEBEDD5A886F, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792_RuntimeMethod_var);
}
IL_0024:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_7 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = ___bi21;
int32_t L_9 = Kernel_Compare_m07031942FB73AA6F48F11CBB4FDAEBF6767C84EE(L_7, L_8, /*hidden argument*/NULL);
V_0 = L_9;
int32_t L_10 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)(-1))))
{
case 0:
{
goto IL_0051;
}
case 1:
{
goto IL_0042;
}
case 2:
{
goto IL_0049;
}
}
}
{
goto IL_005c;
}
IL_0042:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_11 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(0, /*hidden argument*/NULL);
return L_11;
}
IL_0049:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_12 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_13 = ___bi21;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_14 = Kernel_Subtract_mD8975D3BC036B9DAEC10E5585880F304DAF3E332(L_12, L_13, /*hidden argument*/NULL);
return L_14;
}
IL_0051:
{
ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269 * L_15 = (ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269 *)il2cpp_codegen_object_new(ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269_il2cpp_TypeInfo_var);
ArithmeticException__ctor_mAE18F94959F9827DEA553C7C2F3C5568BEC81CCF(L_15, _stringLiteralD4FCA0BC6A26DDF145B7A4AC7BFDAEBEDD5A886F, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_15, NULL, BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792_RuntimeMethod_var);
}
IL_005c:
{
Exception_t * L_16 = (Exception_t *)il2cpp_codegen_object_new(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m5FEC89FBFACEEDCEE29CCFD44A85D72FC28EB0D1(L_16, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, NULL, BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792_RuntimeMethod_var);
}
}
// System.UInt32 Mono.Math.BigInteger::op_Modulus(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t BigInteger_op_Modulus_mEE11685FAA7292E357C36DB794C18EF9E388C876 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, uint32_t ___ui1, const RuntimeMethod* method)
{
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi0;
uint32_t L_1 = ___ui1;
uint32_t L_2 = Kernel_DwordMod_m09BBF0BCB7D08A1CC8A24A82A8190E81D12BABDA(L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Modulus(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_Modulus_mAFBC82D374D9E2866AA4958732FA53F7445B122F (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___bi21;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_2 = Kernel_multiByteDivide_m3AB2BAB666EBB176A004D389DBDAAEBAA3763B54(L_0, L_1, /*hidden argument*/NULL);
NullCheck(L_2);
int32_t L_3 = 1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
return L_4;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Division(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_Division_m8C1BDE4543BD0EFE3864D46646ACFF3F9B535D3B (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___bi21;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_2 = Kernel_multiByteDivide_m3AB2BAB666EBB176A004D389DBDAAEBAA3763B54(L_0, L_1, /*hidden argument*/NULL);
NullCheck(L_2);
int32_t L_3 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
return L_4;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_Multiply(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_0 = NULL;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_1 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(L_0, 0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0012;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(L_2, 0, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0019;
}
}
IL_0012:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(0, /*hidden argument*/NULL);
return L_4;
}
IL_0019:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = ___bi10;
NullCheck(L_5);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_6 = L_5->get_data_1();
NullCheck(L_6);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_7 = ___bi10;
NullCheck(L_7);
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_0036;
}
}
{
IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF * L_9 = (IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF *)il2cpp_codegen_object_new(IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_mCCE2EFF47A0ACB4B2636F63140F94FCEA71A9BCA(L_9, _stringLiteralBB13F629A52249ABF965ACF7316852F78FE0EA5E, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE_RuntimeMethod_var);
}
IL_0036:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_10 = ___bi21;
NullCheck(L_10);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_11 = L_10->get_data_1();
NullCheck(L_11);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_12 = ___bi21;
NullCheck(L_12);
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_0053;
}
}
{
IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF * L_14 = (IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF *)il2cpp_codegen_object_new(IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_mCCE2EFF47A0ACB4B2636F63140F94FCEA71A9BCA(L_14, _stringLiteral530D961C3F2D9207AA88243CDEDA8556D62138AA, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_14, NULL, BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE_RuntimeMethod_var);
}
IL_0053:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_15 = ___bi10;
NullCheck(L_15);
uint32_t L_16 = L_15->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_17 = ___bi21;
NullCheck(L_17);
uint32_t L_18 = L_17->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_19 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E(L_19, 1, ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)L_18)), /*hidden argument*/NULL);
V_0 = L_19;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_20 = ___bi10;
NullCheck(L_20);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_21 = L_20->get_data_1();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_22 = ___bi10;
NullCheck(L_22);
uint32_t L_23 = L_22->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_24 = ___bi21;
NullCheck(L_24);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_25 = L_24->get_data_1();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_26 = ___bi21;
NullCheck(L_26);
uint32_t L_27 = L_26->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_28 = V_0;
NullCheck(L_28);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_29 = L_28->get_data_1();
Kernel_Multiply_m904FC66FF96CDE798413346196E3836ADE1B8AF4(L_21, 0, L_23, L_25, 0, L_27, L_29, 0, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_30 = V_0;
NullCheck(L_30);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_30, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_31 = V_0;
return L_31;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_LeftShift(Mono.Math.BigInteger,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_LeftShift_m728D921C2E6E603DF2590718EF51B6BA8B4F463A (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, int32_t ___shiftVal1, const RuntimeMethod* method)
{
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
int32_t L_1 = ___shiftVal1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = Kernel_LeftShift_mEA93DE79BE9A04B1AD826F95F9C77A28EC87CCA9(L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::op_RightShift(Mono.Math.BigInteger,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_op_RightShift_mD39A8D10E9F70F516D42932712403651A91F4F64 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, int32_t ___shiftVal1, const RuntimeMethod* method)
{
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
int32_t L_1 = ___shiftVal1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = Kernel_RightShift_m1F0188E75D20E70731FC46BDB32106EB33A1DB83(L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Security.Cryptography.RandomNumberGenerator Mono.Math.BigInteger::get_Rng()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * BigInteger_get_Rng_mFD8903C45513484592C646CCF0F2752DB66509E2 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_get_Rng_mFD8903C45513484592C646CCF0F2752DB66509E2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_0 = ((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_StaticFields*)il2cpp_codegen_static_fields_for(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var))->get_rng_3();
if (L_0)
{
goto IL_0011;
}
}
{
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_1 = RandomNumberGenerator_Create_mB84B1BA538B29D0679F310D3B574A7D5BAA890C4(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_StaticFields*)il2cpp_codegen_static_fields_for(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var))->set_rng_3(L_1);
}
IL_0011:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_2 = ((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_StaticFields*)il2cpp_codegen_static_fields_for(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var))->get_rng_3();
return L_2;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::GenerateRandom(System.Int32,System.Security.Cryptography.RandomNumberGenerator)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_GenerateRandom_mABCBDC6EF81EBAF32CDA3B7685A208CA68C115D6 (int32_t ___bits0, RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * ___rng1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_GenerateRandom_mABCBDC6EF81EBAF32CDA3B7685A208CA68C115D6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_2 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* 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_0010;
}
}
{
int32_t L_3 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1));
}
IL_0010:
{
int32_t L_4 = V_0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E(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_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)L_6<<(int32_t)2)));
V_3 = L_7;
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_8 = ___rng1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = V_3;
NullCheck(L_8);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(6 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_8, L_9);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = V_3;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_11 = V_2;
NullCheck(L_11);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_12 = L_11->get_data_1();
int32_t L_13 = V_0;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((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_007d;
}
}
{
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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_16 = V_2;
NullCheck(L_16);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_17 = L_16->get_data_1();
int32_t L_18 = V_0;
NullCheck(L_17);
uint32_t* L_19 = ((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)L_18, (int32_t)1)))));
int32_t L_20 = *((uint32_t*)L_19);
uint32_t L_21 = V_4;
*((int32_t*)L_19) = (int32_t)((int32_t)((int32_t)L_20|(int32_t)L_21));
int32_t L_22 = 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_22))&(int32_t)((int32_t)31)))));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_23 = V_2;
NullCheck(L_23);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_24 = L_23->get_data_1();
int32_t L_25 = V_0;
NullCheck(L_24);
uint32_t* L_26 = ((L_24)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)L_25, (int32_t)1)))));
int32_t L_27 = *((uint32_t*)L_26);
uint32_t L_28 = V_4;
*((int32_t*)L_26) = (int32_t)((int32_t)((int32_t)L_27&(int32_t)L_28));
goto IL_0094;
}
IL_007d:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_29 = V_2;
NullCheck(L_29);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_30 = L_29->get_data_1();
int32_t L_31 = V_0;
NullCheck(L_30);
uint32_t* L_32 = ((L_30)->GetAddressAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)L_31, (int32_t)1)))));
int32_t L_33 = *((uint32_t*)L_32);
*((int32_t*)L_32) = (int32_t)((int32_t)((int32_t)L_33|(int32_t)((int32_t)-2147483648LL)));
}
IL_0094:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_34 = V_2;
NullCheck(L_34);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_34, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_35 = V_2;
return L_35;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::GenerateRandom(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_GenerateRandom_mA17F93C5DDA00EDFCBBB66C41120BA1886241F5D (int32_t ___bits0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_GenerateRandom_mA17F93C5DDA00EDFCBBB66C41120BA1886241F5D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___bits0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_1 = BigInteger_get_Rng_mFD8903C45513484592C646CCF0F2752DB66509E2(/*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = BigInteger_GenerateRandom_mABCBDC6EF81EBAF32CDA3B7685A208CA68C115D6(L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Int32 Mono.Math.BigInteger::BitCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BigInteger_BitCount_mFEA208FDC3B126E1517F0E5AAB8D1193856F8C76 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
{
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(__this, /*hidden argument*/NULL);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = __this->get_data_1();
uint32_t L_1 = __this->get_length_0();
NullCheck(L_0);
int32_t L_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_1, (int32_t)1));
uint32_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
V_0 = L_3;
V_1 = ((int32_t)-2147483648LL);
V_2 = ((int32_t)32);
goto IL_0029;
}
IL_0021:
{
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_0029:
{
uint32_t L_6 = V_2;
if ((!(((uint32_t)L_6) > ((uint32_t)0))))
{
goto IL_0032;
}
}
{
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_0021;
}
}
IL_0032:
{
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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_TestBit_mFF11993F9C65D59A109EA7EC55B8B791A9DDB56B (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, int32_t ___bitNum0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_TestBit_mFF11993F9C65D59A109EA7EC55B8B791A9DDB56B_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_000f;
}
}
{
IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF * L_1 = (IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF *)il2cpp_codegen_object_new(IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_mCCE2EFF47A0ACB4B2636F63140F94FCEA71A9BCA(L_1, _stringLiteral7B845465C5D86662976B924FBF9F464EC87414F4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, BigInteger_TestBit_mFF11993F9C65D59A109EA7EC55B8B791A9DDB56B_RuntimeMethod_var);
}
IL_000f:
{
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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = __this->get_data_1();
uint32_t L_6 = V_0;
NullCheck(L_5);
uint32_t L_7 = L_6;
uint32_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
uint32_t L_9 = V_2;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_10 = __this->get_data_1();
uint32_t L_11 = V_0;
NullCheck(L_10);
uint32_t L_12 = L_11;
uint32_t L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
return (bool)((((int32_t)((int32_t)((int32_t)L_8|(int32_t)L_9))) == ((int32_t)L_13))? 1 : 0);
}
}
// System.Void Mono.Math.BigInteger::SetBit(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger_SetBit_m9D1FECEB7D6672C82002A3FF59B17939C752CF41 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, uint32_t ___bitNum0, const RuntimeMethod* method)
{
{
uint32_t L_0 = ___bitNum0;
BigInteger_SetBit_m1D93A7DB2AFE83CBBB14F2E3D1E665CB53454A68(__this, L_0, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Math.BigInteger::SetBit(System.UInt32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger_SetBit_m1D93A7DB2AFE83CBBB14F2E3D1E665CB53454A68 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __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_003e;
}
}
{
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_002c;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = __this->get_data_1();
uint32_t L_6 = V_0;
NullCheck(L_5);
uint32_t* L_7 = ((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6)));
int32_t L_8 = *((uint32_t*)L_7);
uint32_t L_9 = V_1;
*((int32_t*)L_7) = (int32_t)((int32_t)((int32_t)L_8|(int32_t)L_9));
return;
}
IL_002c:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_10 = __this->get_data_1();
uint32_t L_11 = V_0;
NullCheck(L_10);
uint32_t* L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)));
int32_t L_13 = *((uint32_t*)L_12);
uint32_t L_14 = V_1;
*((int32_t*)L_12) = (int32_t)((int32_t)((int32_t)L_13&(int32_t)((~L_14))));
}
IL_003e:
{
return;
}
}
// System.Int32 Mono.Math.BigInteger::LowestSetBit()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BigInteger_LowestSetBit_m6E7C4246DA0DA86F94B880680121448F676E8435 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_LowestSetBit_m6E7C4246DA0DA86F94B880680121448F676E8435_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_0 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(__this, 0, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_000b;
}
}
{
return (-1);
}
IL_000b:
{
V_0 = 0;
goto IL_0013;
}
IL_000f:
{
int32_t L_1 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_1, (int32_t)1));
}
IL_0013:
{
int32_t L_2 = V_0;
bool L_3 = BigInteger_TestBit_mFF11993F9C65D59A109EA7EC55B8B791A9DDB56B(__this, L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_000f;
}
}
{
int32_t L_4 = V_0;
return L_4;
}
}
// System.Byte[] Mono.Math.BigInteger::GetBytes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* BigInteger_GetBytes_m3FA801F9485DE409CF9C9E7F4873694BF642C31C (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_GetBytes_m3FA801F9485DE409CF9C9E7F4873694BF642C31C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
uint32_t V_5 = 0;
int32_t V_6 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_0 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(__this, 0, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0010;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)1);
return L_1;
}
IL_0010:
{
int32_t L_2 = BigInteger_BitCount_mFEA208FDC3B126E1517F0E5AAB8D1193856F8C76(__this, /*hidden argument*/NULL);
int32_t L_3 = L_2;
V_0 = ((int32_t)((int32_t)L_3>>(int32_t)3));
if (!((int32_t)((int32_t)L_3&(int32_t)7)))
{
goto IL_0022;
}
}
{
int32_t L_4 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1));
}
IL_0022:
{
int32_t L_5 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_5);
V_1 = L_6;
int32_t L_7 = V_0;
V_2 = ((int32_t)((int32_t)L_7&(int32_t)3));
int32_t L_8 = V_2;
if (L_8)
{
goto IL_0032;
}
}
{
V_2 = 4;
}
IL_0032:
{
V_3 = 0;
uint32_t L_9 = __this->get_length_0();
V_4 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)1));
goto IL_007e;
}
IL_0040:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_10 = __this->get_data_1();
int32_t L_11 = V_4;
NullCheck(L_10);
int32_t L_12 = L_11;
uint32_t L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
V_5 = L_13;
int32_t L_14 = V_2;
V_6 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_14, (int32_t)1));
goto IL_006d;
}
IL_0052:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = V_1;
int32_t L_16 = V_3;
int32_t L_17 = V_6;
uint32_t L_18 = V_5;
NullCheck(L_15);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)L_17))), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_18&(int32_t)((int32_t)255)))))));
uint32_t L_19 = V_5;
V_5 = ((int32_t)((uint32_t)L_19>>8));
int32_t L_20 = V_6;
V_6 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_20, (int32_t)1));
}
IL_006d:
{
int32_t L_21 = V_6;
if ((((int32_t)L_21) >= ((int32_t)0)))
{
goto IL_0052;
}
}
{
int32_t L_22 = V_3;
int32_t L_23 = V_2;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_22, (int32_t)L_23));
V_2 = 4;
int32_t L_24 = V_4;
V_4 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_24, (int32_t)1));
}
IL_007e:
{
int32_t L_25 = V_4;
if ((((int32_t)L_25) >= ((int32_t)0)))
{
goto IL_0040;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = V_1;
return L_26;
}
}
// System.Boolean Mono.Math.BigInteger::op_Equality(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, uint32_t ___ui1, const RuntimeMethod* method)
{
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
NullCheck(L_0);
uint32_t L_1 = L_0->get_length_0();
if ((((int32_t)L_1) == ((int32_t)1)))
{
goto IL_000f;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___bi10;
NullCheck(L_2);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_2, /*hidden argument*/NULL);
}
IL_000f:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = ___bi10;
NullCheck(L_3);
uint32_t L_4 = L_3->get_length_0();
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_0024;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = ___bi10;
NullCheck(L_5);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_6 = L_5->get_data_1();
NullCheck(L_6);
int32_t L_7 = 0;
uint32_t L_8 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
uint32_t L_9 = ___ui1;
return (bool)((((int32_t)L_8) == ((int32_t)L_9))? 1 : 0);
}
IL_0024:
{
return (bool)0;
}
}
// System.Boolean Mono.Math.BigInteger::op_Inequality(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_Inequality_m13AF07D0E4BF09886DCCDCFDE553542F6F4ED1A4 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, uint32_t ___ui1, const RuntimeMethod* method)
{
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
NullCheck(L_0);
uint32_t L_1 = L_0->get_length_0();
if ((((int32_t)L_1) == ((int32_t)1)))
{
goto IL_000f;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___bi10;
NullCheck(L_2);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_2, /*hidden argument*/NULL);
}
IL_000f:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = ___bi10;
NullCheck(L_3);
uint32_t L_4 = L_3->get_length_0();
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_0027;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = ___bi10;
NullCheck(L_5);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_6 = L_5->get_data_1();
NullCheck(L_6);
int32_t L_7 = 0;
uint32_t L_8 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
uint32_t L_9 = ___ui1;
return (bool)((((int32_t)((((int32_t)L_8) == ((int32_t)L_9))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
IL_0027:
{
return (bool)1;
}
}
// System.Boolean Mono.Math.BigInteger::op_Equality(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___bi21;
if ((!(((RuntimeObject*)(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_0) == ((RuntimeObject*)(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_1))))
{
goto IL_0006;
}
}
{
return (bool)1;
}
IL_0006:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0018;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_001a;
}
}
IL_0018:
{
return (bool)0;
}
IL_001a:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_6 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_7 = ___bi21;
int32_t L_8 = Kernel_Compare_m07031942FB73AA6F48F11CBB4FDAEBF6767C84EE(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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___bi21;
if ((!(((RuntimeObject*)(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_0) == ((RuntimeObject*)(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_1))))
{
goto IL_0006;
}
}
{
return (bool)0;
}
IL_0006:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___bi10;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0018;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = ___bi21;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_001a;
}
}
IL_0018:
{
return (bool)1;
}
IL_001a:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_6 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_7 = ___bi21;
int32_t L_8 = Kernel_Compare_m07031942FB73AA6F48F11CBB4FDAEBF6767C84EE(L_6, L_7, /*hidden argument*/NULL);
return (bool)((!(((uint32_t)L_8) <= ((uint32_t)0)))? 1 : 0);
}
}
// System.Boolean Mono.Math.BigInteger::op_GreaterThan(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_GreaterThan_m4CC14F86717F122D7489EFF24C991F5BEE92A00F (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m07031942FB73AA6F48F11CBB4FDAEBF6767C84EE(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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_LessThan_m3E95747DE75EE020DB45C030FEA87F2785F1F106 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m07031942FB73AA6F48F11CBB4FDAEBF6767C84EE(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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_GreaterThanOrEqual_mF4B81FC95ED0CBFA91676E43B1FAE027C850FBBF (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m07031942FB73AA6F48F11CBB4FDAEBF6767C84EE(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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_op_LessThanOrEqual_m6F736D56374810C3251542D1CFFB2AB4ADFCCE86 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m07031942FB73AA6F48F11CBB4FDAEBF6767C84EE(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.String Mono.Math.BigInteger::ToString(System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* BigInteger_ToString_m589EF8667DF3B88F9A54068FCC1A60AE0D78FC67 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, uint32_t ___radix0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_ToString_m589EF8667DF3B88F9A54068FCC1A60AE0D78FC67_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint32_t L_0 = ___radix0;
String_t* L_1 = BigInteger_ToString_m9FD0DEAAA4F90CECA50A45E19876EF580B1EA9A2(__this, L_0, _stringLiteralD150280BF54C7333BE9D98D2044A6A91D3349975, /*hidden argument*/NULL);
return L_1;
}
}
// System.String Mono.Math.BigInteger::ToString(System.UInt32,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* BigInteger_ToString_m9FD0DEAAA4F90CECA50A45E19876EF580B1EA9A2 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, uint32_t ___radix0, String_t* ___characterSet1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_ToString_m9FD0DEAAA4F90CECA50A45E19876EF580B1EA9A2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_1 = NULL;
uint32_t V_2 = 0;
Il2CppChar V_3 = 0x0;
{
String_t* L_0 = ___characterSet1;
NullCheck(L_0);
int32_t L_1 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(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_001b;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_3 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m26DC3463C6F3C98BF33EA39598DD2B32F0249CA8(L_3, _stringLiteralEE238767F38DC3956FF90192A7360A5B47C88C36, _stringLiteralC510A07D481619FBF882813AD37E03F5384F7266, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, BigInteger_ToString_m9FD0DEAAA4F90CECA50A45E19876EF580B1EA9A2_RuntimeMethod_var);
}
IL_001b:
{
uint32_t L_4 = ___radix0;
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_002f;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_5 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m26DC3463C6F3C98BF33EA39598DD2B32F0249CA8(L_5, _stringLiteral05E744AC2ACCB10E5085BEEA59CA196CBDBC4461, _stringLiteral5F33E8DDD36B0C849687DF732835B9ABBE9B347B, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, NULL, BigInteger_ToString_m9FD0DEAAA4F90CECA50A45E19876EF580B1EA9A2_RuntimeMethod_var);
}
IL_002f:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_6 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(__this, 0, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_003e;
}
}
{
return _stringLiteralB6589FC6AB0DC82CF12099D1C2D40AB994E8410C;
}
IL_003e:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_7 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(__this, 1, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_004d;
}
}
{
return _stringLiteral356A192B7913B04C54574D18C28D46E6395428AB;
}
IL_004d:
{
V_0 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m77CF9FF025A6A98A625E8E948F19F822210BC29C(L_8, __this, /*hidden argument*/NULL);
V_1 = L_8;
goto IL_007a;
}
IL_005c:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_9 = V_1;
uint32_t L_10 = ___radix0;
uint32_t L_11 = Kernel_SingleByteDivideInPlace_mA3A9E99D052F6906DAC3EC33E815F85621B9D2E3(L_9, L_10, /*hidden argument*/NULL);
V_2 = L_11;
String_t* L_12 = ___characterSet1;
uint32_t L_13 = V_2;
NullCheck(L_12);
Il2CppChar L_14 = String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96(L_12, L_13, /*hidden argument*/NULL);
V_3 = L_14;
String_t* L_15 = Char_ToString_mA42A88FEBA41B72D48BB24373E3101B7A91B6FD8((Il2CppChar*)(&V_3), /*hidden argument*/NULL);
String_t* L_16 = V_0;
String_t* L_17 = String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE(L_15, L_16, /*hidden argument*/NULL);
V_0 = L_17;
}
IL_007a:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_18 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_19 = BigInteger_op_Inequality_m13AF07D0E4BF09886DCCDCFDE553542F6F4ED1A4(L_18, 0, /*hidden argument*/NULL);
if (L_19)
{
goto IL_005c;
}
}
{
String_t* L_20 = V_0;
return L_20;
}
}
// System.Void Mono.Math.BigInteger::Normalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method)
{
{
goto IL_0010;
}
IL_0002:
{
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_0010:
{
uint32_t L_1 = __this->get_length_0();
if ((!(((uint32_t)L_1) > ((uint32_t)0))))
{
goto IL_002a;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = __this->get_data_1();
uint32_t L_3 = __this->get_length_0();
NullCheck(L_2);
int32_t L_4 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)1));
uint32_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
if (!L_5)
{
goto IL_0002;
}
}
IL_002a:
{
uint32_t L_6 = __this->get_length_0();
if (L_6)
{
goto IL_0040;
}
}
{
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_0040:
{
return;
}
}
// System.Void Mono.Math.BigInteger::Clear()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger_Clear_m255C25D3F81897E8ACF1B0F1C75E33459E4E9ECD (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
V_0 = 0;
goto IL_0011;
}
IL_0004:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = __this->get_data_1();
int32_t L_1 = V_0;
NullCheck(L_0);
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(L_1), (uint32_t)0);
int32_t L_2 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)1));
}
IL_0011:
{
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_0004;
}
}
{
return;
}
}
// System.Int32 Mono.Math.BigInteger::GetHashCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t BigInteger_GetHashCode_m41D93A3D1A7ADC2BC2DB20A06DB19E645C2A77EC (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
uint32_t V_1 = 0;
{
V_0 = 0;
V_1 = 0;
goto IL_0015;
}
IL_0006:
{
uint32_t L_0 = V_0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = __this->get_data_1();
uint32_t L_2 = V_1;
NullCheck(L_1);
uint32_t L_3 = L_2;
uint32_t L_4 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
V_0 = ((int32_t)((int32_t)L_0^(int32_t)L_4));
uint32_t L_5 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
}
IL_0015:
{
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_0006;
}
}
{
uint32_t L_8 = V_0;
return L_8;
}
}
// System.String Mono.Math.BigInteger::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* BigInteger_ToString_m77C1AB4DFF33F0056239D0019B8AB6255E75C359 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = BigInteger_ToString_m589EF8667DF3B88F9A54068FCC1A60AE0D78FC67(__this, ((int32_t)10), /*hidden argument*/NULL);
return L_0;
}
}
// System.Boolean Mono.Math.BigInteger::Equals(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool BigInteger_Equals_m9877E32FBB71233616ACE7B8AAA31ED8C497716D (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, RuntimeObject * ___o0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_Equals_m9877E32FBB71233616ACE7B8AAA31ED8C497716D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_0 = NULL;
{
RuntimeObject * L_0 = ___o0;
if (L_0)
{
goto IL_0005;
}
}
{
return (bool)0;
}
IL_0005:
{
RuntimeObject * L_1 = ___o0;
if (!((RuntimeObject *)IsInstSealed((RuntimeObject*)L_1, Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var)))
{
goto IL_0025;
}
}
{
RuntimeObject * L_2 = ___o0;
if ((((int32_t)((*(int32_t*)((int32_t*)UnBox(L_2, Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var))))) < ((int32_t)0)))
{
goto IL_0023;
}
}
{
RuntimeObject * L_3 = ___o0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_4 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(__this, ((*(uint32_t*)((uint32_t*)UnBox(L_3, UInt32_t4980FA09003AFAAB5A6E361BA2748EA9A005709B_il2cpp_TypeInfo_var)))), /*hidden argument*/NULL);
return L_4;
}
IL_0023:
{
return (bool)0;
}
IL_0025:
{
RuntimeObject * L_5 = ___o0;
V_0 = ((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)IsInstClass((RuntimeObject*)L_5, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_6 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_7 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90(L_6, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0037;
}
}
{
return (bool)0;
}
IL_0037:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = V_0;
int32_t L_9 = Kernel_Compare_m07031942FB73AA6F48F11CBB4FDAEBF6767C84EE(__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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_ModInverse_mBA7BA94A2C0F242844B97B18DAEE368065E59522 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___modulus0, const RuntimeMethod* method)
{
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___modulus0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = Kernel_modInverse_mEB896FA57CB36CE9FF75EBB4E11EA71AE23E3EC4(__this, L_0, /*hidden argument*/NULL);
return L_1;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger::GeneratePseudoPrime(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * BigInteger_GeneratePseudoPrime_m40B9FAE1552A9CEF0A39529CF40E2F5C9FD377DE (int32_t ___bits0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger_GeneratePseudoPrime_m40B9FAE1552A9CEF0A39529CF40E2F5C9FD377DE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
SequentialSearchPrimeGeneratorBase_t051356406D15C0F3CCF38A685AB52DFC08B83360 * L_0 = (SequentialSearchPrimeGeneratorBase_t051356406D15C0F3CCF38A685AB52DFC08B83360 *)il2cpp_codegen_object_new(SequentialSearchPrimeGeneratorBase_t051356406D15C0F3CCF38A685AB52DFC08B83360_il2cpp_TypeInfo_var);
SequentialSearchPrimeGeneratorBase__ctor_m04D212D2DBC1A2B3DD39C26A8008D56528984A11(L_0, /*hidden argument*/NULL);
int32_t L_1 = ___bits0;
NullCheck(L_0);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = VirtFuncInvoker1< BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, int32_t >::Invoke(7 /* Mono.Math.BigInteger Mono.Math.Prime.Generator.PrimeGeneratorBase::GenerateNewPrime(System.Int32) */, L_0, L_1);
return L_2;
}
}
// System.Void Mono.Math.BigInteger::Incr2()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger_Incr2_mB0C767ACE801C97882A9887153C362F93118FCAA (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
V_0 = 0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = __this->get_data_1();
NullCheck(L_0);
uint32_t* L_1 = ((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)));
int32_t L_2 = *((uint32_t*)L_1);
*((int32_t*)L_1) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)2));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = __this->get_data_1();
NullCheck(L_3);
int32_t L_4 = 0;
uint32_t L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
if ((!(((uint32_t)L_5) < ((uint32_t)2))))
{
goto IL_006b;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_6 = __this->get_data_1();
int32_t L_7 = V_0;
int32_t L_8 = ((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)1));
V_0 = L_8;
NullCheck(L_6);
uint32_t* L_9 = ((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8)));
int32_t L_10 = *((uint32_t*)L_9);
*((int32_t*)L_9) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
goto IL_0046;
}
IL_0035:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_11 = __this->get_data_1();
int32_t L_12 = V_0;
NullCheck(L_11);
uint32_t* L_13 = ((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_12)));
int32_t L_14 = *((uint32_t*)L_13);
*((int32_t*)L_13) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1));
}
IL_0046:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_15 = __this->get_data_1();
int32_t L_16 = V_0;
int32_t L_17 = L_16;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
NullCheck(L_15);
int32_t L_18 = L_17;
uint32_t L_19 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
if (!L_19)
{
goto IL_0035;
}
}
{
uint32_t L_20 = __this->get_length_0();
int32_t L_21 = V_0;
if ((!(((uint32_t)L_20) == ((uint32_t)L_21))))
{
goto IL_006b;
}
}
{
uint32_t L_22 = __this->get_length_0();
__this->set_length_0(((int32_t)il2cpp_codegen_add((int32_t)L_22, (int32_t)1)));
}
IL_006b:
{
return;
}
}
// System.Void Mono.Math.BigInteger::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BigInteger__cctor_mFA9F5AACEBB5B232D3139F994C06A883760DEAF0 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BigInteger__cctor_mFA9F5AACEBB5B232D3139F994C06A883760DEAF0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB_il2cpp_TypeInfo_var, (uint32_t)((int32_t)783));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = L_0;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____6E5DC824F803F8565AF31B42199DAE39FE7F4EA9_11_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_StaticFields*)il2cpp_codegen_static_fields_for(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var))->set_smallPrimes_2(L_1);
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
// Mono.Math.BigInteger Mono.Math.BigInteger_Kernel::Subtract(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * Kernel_Subtract_mD8975D3BC036B9DAEC10E5585880F304DAF3E332 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___big0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___small1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_Subtract_mD8975D3BC036B9DAEC10E5585880F304DAF3E332_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_0 = NULL;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_1 = NULL;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_2 = NULL;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_3 = NULL;
uint32_t V_4 = 0;
uint32_t V_5 = 0;
uint32_t V_6 = 0;
uint32_t V_7 = 0;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___big0;
NullCheck(L_0);
uint32_t L_1 = L_0->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E(L_2, 1, L_1, /*hidden argument*/NULL);
V_0 = L_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = V_0;
NullCheck(L_3);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_4 = L_3->get_data_1();
V_1 = L_4;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = ___big0;
NullCheck(L_5);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_6 = L_5->get_data_1();
V_2 = L_6;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_7 = ___small1;
NullCheck(L_7);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_8 = L_7->get_data_1();
V_3 = L_8;
V_4 = 0;
V_5 = 0;
}
IL_0028:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_9 = V_3;
uint32_t L_10 = V_4;
NullCheck(L_9);
uint32_t L_11 = L_10;
uint32_t L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
V_6 = L_12;
uint32_t L_13 = V_6;
uint32_t L_14 = V_5;
int32_t L_15 = ((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)L_14));
V_6 = L_15;
uint32_t L_16 = V_5;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_17 = V_1;
uint32_t L_18 = V_4;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_19 = V_2;
uint32_t L_20 = V_4;
NullCheck(L_19);
uint32_t L_21 = L_20;
uint32_t L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
uint32_t L_23 = V_6;
int32_t L_24 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_22, (int32_t)L_23));
V_7 = L_24;
NullCheck(L_17);
(L_17)->SetAt(static_cast<il2cpp_array_size_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_0057;
}
}
{
V_5 = 1;
goto IL_005a;
}
IL_0057:
{
V_5 = 0;
}
IL_005a:
{
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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_29 = ___small1;
NullCheck(L_29);
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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_32 = ___big0;
NullCheck(L_32);
uint32_t L_33 = L_32->get_length_0();
if ((((int32_t)L_31) == ((int32_t)L_33)))
{
goto IL_00b8;
}
}
{
uint32_t L_34 = V_5;
if ((!(((uint32_t)L_34) == ((uint32_t)1))))
{
goto IL_00a1;
}
}
IL_0078:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_35 = V_1;
uint32_t L_36 = V_4;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_37 = V_2;
uint32_t L_38 = V_4;
NullCheck(L_37);
uint32_t L_39 = L_38;
uint32_t L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
NullCheck(L_35);
(L_35)->SetAt(static_cast<il2cpp_array_size_t>(L_36), (uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_40, (int32_t)1)));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* 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));
NullCheck(L_41);
uint32_t L_44 = L_43;
uint32_t L_45 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
if (L_45)
{
goto IL_0097;
}
}
{
uint32_t L_46 = V_4;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_47 = ___big0;
NullCheck(L_47);
uint32_t L_48 = L_47->get_length_0();
if ((!(((uint32_t)L_46) >= ((uint32_t)L_48))))
{
goto IL_0078;
}
}
IL_0097:
{
uint32_t L_49 = V_4;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_50 = ___big0;
NullCheck(L_50);
uint32_t L_51 = L_50->get_length_0();
if ((((int32_t)L_49) == ((int32_t)L_51)))
{
goto IL_00b8;
}
}
IL_00a1:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_52 = V_1;
uint32_t L_53 = V_4;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_54 = V_2;
uint32_t L_55 = V_4;
NullCheck(L_54);
uint32_t L_56 = L_55;
uint32_t L_57 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
NullCheck(L_52);
(L_52)->SetAt(static_cast<il2cpp_array_size_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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_60 = ___big0;
NullCheck(L_60);
uint32_t L_61 = L_60->get_length_0();
if ((!(((uint32_t)L_59) >= ((uint32_t)L_61))))
{
goto IL_00a1;
}
}
IL_00b8:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_62 = V_0;
NullCheck(L_62);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_62, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_63 = V_0;
return L_63;
}
}
// System.Void Mono.Math.BigInteger_Kernel::MinusEq(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Kernel_MinusEq_m75848E6833E2D01CF229BBA57A1A6D641D5D0380 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___big0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___small1, const RuntimeMethod* method)
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_0 = NULL;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_1 = NULL;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
uint32_t V_4 = 0;
uint32_t V_5 = 0;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___big0;
NullCheck(L_0);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = L_0->get_data_1();
V_0 = L_1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___small1;
NullCheck(L_2);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = L_2->get_data_1();
V_1 = L_3;
V_2 = 0;
V_3 = 0;
}
IL_0012:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_4 = V_1;
uint32_t L_5 = V_2;
NullCheck(L_4);
uint32_t L_6 = L_5;
uint32_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
V_4 = L_7;
uint32_t L_8 = V_4;
uint32_t L_9 = V_3;
int32_t L_10 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)L_9));
V_4 = L_10;
uint32_t L_11 = V_3;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_12 = V_0;
uint32_t L_13 = V_2;
NullCheck(L_12);
uint32_t* L_14 = ((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13)));
int32_t L_15 = *((uint32_t*)L_14);
uint32_t L_16 = V_4;
int32_t L_17 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)L_16));
V_5 = L_17;
*((int32_t*)L_14) = (int32_t)L_17;
uint32_t L_18 = V_5;
uint32_t L_19 = V_4;
if (!((int32_t)((int32_t)((!(((uint32_t)L_10) >= ((uint32_t)L_11)))? 1 : 0)|(int32_t)((!(((uint32_t)L_18) <= ((uint32_t)((~L_19)))))? 1 : 0))))
{
goto IL_003f;
}
}
{
V_3 = 1;
goto IL_0041;
}
IL_003f:
{
V_3 = 0;
}
IL_0041:
{
uint32_t L_20 = V_2;
int32_t L_21 = ((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1));
V_2 = L_21;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_22 = ___small1;
NullCheck(L_22);
uint32_t L_23 = L_22->get_length_0();
if ((!(((uint32_t)L_21) >= ((uint32_t)L_23))))
{
goto IL_0012;
}
}
{
uint32_t L_24 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_25 = ___big0;
NullCheck(L_25);
uint32_t L_26 = L_25->get_length_0();
if ((((int32_t)L_24) == ((int32_t)L_26)))
{
goto IL_0089;
}
}
{
uint32_t L_27 = V_3;
if ((!(((uint32_t)L_27) == ((uint32_t)1))))
{
goto IL_0089;
}
}
IL_005b:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_28 = V_0;
uint32_t L_29 = V_2;
NullCheck(L_28);
uint32_t* L_30 = ((L_28)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_29)));
int32_t L_31 = *((uint32_t*)L_30);
*((int32_t*)L_30) = (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_31, (int32_t)1));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_32 = V_0;
uint32_t L_33 = V_2;
uint32_t L_34 = L_33;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)1));
NullCheck(L_32);
uint32_t L_35 = L_34;
uint32_t L_36 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
if (L_36)
{
goto IL_0089;
}
}
{
uint32_t L_37 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_38 = ___big0;
NullCheck(L_38);
uint32_t L_39 = L_38->get_length_0();
if ((!(((uint32_t)L_37) >= ((uint32_t)L_39))))
{
goto IL_005b;
}
}
{
goto IL_0089;
}
IL_007b:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_40 = ___big0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_41 = L_40;
NullCheck(L_41);
uint32_t L_42 = L_41->get_length_0();
NullCheck(L_41);
L_41->set_length_0(((int32_t)il2cpp_codegen_subtract((int32_t)L_42, (int32_t)1)));
}
IL_0089:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_43 = ___big0;
NullCheck(L_43);
uint32_t L_44 = L_43->get_length_0();
if ((!(((uint32_t)L_44) > ((uint32_t)0))))
{
goto IL_00a3;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_45 = ___big0;
NullCheck(L_45);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_46 = L_45->get_data_1();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_47 = ___big0;
NullCheck(L_47);
uint32_t L_48 = L_47->get_length_0();
NullCheck(L_46);
int32_t L_49 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_48, (int32_t)1));
uint32_t L_50 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
if (!L_50)
{
goto IL_007b;
}
}
IL_00a3:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_51 = ___big0;
NullCheck(L_51);
uint32_t L_52 = L_51->get_length_0();
if (L_52)
{
goto IL_00b9;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_53 = ___big0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_54 = L_53;
NullCheck(L_54);
uint32_t L_55 = L_54->get_length_0();
NullCheck(L_54);
L_54->set_length_0(((int32_t)il2cpp_codegen_add((int32_t)L_55, (int32_t)1)));
}
IL_00b9:
{
return;
}
}
// System.Void Mono.Math.BigInteger_Kernel::PlusEq(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Kernel_PlusEq_mF8EEDAFBFE9AD10CAD8770DC3A5D09E5147B0A48 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_0 = NULL;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_1 = NULL;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
uint32_t V_4 = 0;
bool V_5 = false;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* 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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
NullCheck(L_0);
uint32_t L_1 = L_0->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___bi21;
NullCheck(L_2);
uint32_t L_3 = L_2->get_length_0();
if ((!(((uint32_t)L_1) < ((uint32_t)L_3))))
{
goto IL_0035;
}
}
{
V_5 = (bool)1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = ___bi21;
NullCheck(L_4);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = L_4->get_data_1();
V_0 = L_5;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_6 = ___bi21;
NullCheck(L_6);
uint32_t L_7 = L_6->get_length_0();
V_3 = L_7;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = ___bi10;
NullCheck(L_8);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_9 = L_8->get_data_1();
V_1 = L_9;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_10 = ___bi10;
NullCheck(L_10);
uint32_t L_11 = L_10->get_length_0();
V_2 = L_11;
goto IL_0051;
}
IL_0035:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_12 = ___bi10;
NullCheck(L_12);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_13 = L_12->get_data_1();
V_0 = L_13;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_14 = ___bi10;
NullCheck(L_14);
uint32_t L_15 = L_14->get_length_0();
V_3 = L_15;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_16 = ___bi21;
NullCheck(L_16);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_17 = L_16->get_data_1();
V_1 = L_17;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_18 = ___bi21;
NullCheck(L_18);
uint32_t L_19 = L_18->get_length_0();
V_2 = L_19;
}
IL_0051:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_20 = ___bi10;
NullCheck(L_20);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_21 = L_20->get_data_1();
V_6 = L_21;
V_7 = (((int64_t)((int64_t)0)));
}
IL_005d:
{
uint64_t L_22 = V_7;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_23 = V_0;
uint32_t L_24 = V_4;
NullCheck(L_23);
uint32_t L_25 = L_24;
uint32_t L_26 = (L_23)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_27 = V_1;
uint32_t L_28 = V_4;
NullCheck(L_27);
uint32_t L_29 = L_28;
uint32_t L_30 = (L_27)->GetAt(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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_31 = V_6;
uint32_t L_32 = V_4;
uint64_t L_33 = V_7;
NullCheck(L_31);
(L_31)->SetAt(static_cast<il2cpp_array_size_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_005d;
}
}
{
uint64_t L_38 = V_7;
V_8 = (bool)((!(((uint64_t)L_38) <= ((uint64_t)(((int64_t)((int64_t)0))))))? 1 : 0);
bool L_39 = V_8;
if (!L_39)
{
goto IL_00d3;
}
}
{
uint32_t L_40 = V_4;
uint32_t L_41 = V_3;
if ((!(((uint32_t)L_40) < ((uint32_t)L_41))))
{
goto IL_00bb;
}
}
IL_0097:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_42 = V_6;
uint32_t L_43 = V_4;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_44 = V_0;
uint32_t L_45 = V_4;
NullCheck(L_44);
uint32_t L_46 = L_45;
uint32_t L_47 = (L_44)->GetAt(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;
NullCheck(L_42);
(L_42)->SetAt(static_cast<il2cpp_array_size_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;
bool L_53 = V_8;
if (((int32_t)((int32_t)((!(((uint32_t)L_51) >= ((uint32_t)L_52)))? 1 : 0)&(int32_t)L_53)))
{
goto IL_0097;
}
}
IL_00bb:
{
bool L_54 = V_8;
if (!L_54)
{
goto IL_00d3;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_55 = V_6;
uint32_t L_56 = V_4;
NullCheck(L_55);
(L_55)->SetAt(static_cast<il2cpp_array_size_t>(L_56), (uint32_t)1);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * 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;
NullCheck(L_57);
L_57->set_length_0(L_59);
return;
}
IL_00d3:
{
bool L_60 = V_5;
if (!L_60)
{
goto IL_00f1;
}
}
{
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_00f1;
}
}
IL_00de:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_63 = V_6;
uint32_t L_64 = V_4;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_65 = V_0;
uint32_t L_66 = V_4;
NullCheck(L_65);
uint32_t L_67 = L_66;
uint32_t L_68 = (L_65)->GetAt(static_cast<il2cpp_array_size_t>(L_67));
NullCheck(L_63);
(L_63)->SetAt(static_cast<il2cpp_array_size_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_00de;
}
}
IL_00f1:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_72 = ___bi10;
uint32_t L_73 = V_3;
NullCheck(L_72);
L_72->set_length_0(((int32_t)il2cpp_codegen_add((int32_t)L_73, (int32_t)1)));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_74 = ___bi10;
NullCheck(L_74);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_74, /*hidden argument*/NULL);
return;
}
}
// Mono.Math.BigInteger_Sign Mono.Math.BigInteger_Kernel::Compare(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Kernel_Compare_m07031942FB73AA6F48F11CBB4FDAEBF6767C84EE (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
NullCheck(L_0);
uint32_t L_1 = L_0->get_length_0();
V_0 = L_1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___bi21;
NullCheck(L_2);
uint32_t L_3 = L_2->get_length_0();
V_1 = L_3;
goto IL_0014;
}
IL_0010:
{
uint32_t L_4 = V_0;
V_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)1));
}
IL_0014:
{
uint32_t L_5 = V_0;
if ((!(((uint32_t)L_5) > ((uint32_t)0))))
{
goto IL_002a;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_6 = ___bi10;
NullCheck(L_6);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_7 = L_6->get_data_1();
uint32_t L_8 = V_0;
NullCheck(L_7);
int32_t L_9 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)1));
uint32_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
if (!L_10)
{
goto IL_0010;
}
}
{
goto IL_002a;
}
IL_0026:
{
uint32_t L_11 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)1));
}
IL_002a:
{
uint32_t L_12 = V_1;
if ((!(((uint32_t)L_12) > ((uint32_t)0))))
{
goto IL_003a;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_13 = ___bi21;
NullCheck(L_13);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_14 = L_13->get_data_1();
uint32_t L_15 = V_1;
NullCheck(L_14);
int32_t L_16 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_15, (int32_t)1));
uint32_t L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
if (!L_17)
{
goto IL_0026;
}
}
IL_003a:
{
uint32_t L_18 = V_0;
if (L_18)
{
goto IL_0042;
}
}
{
uint32_t L_19 = V_1;
if (L_19)
{
goto IL_0042;
}
}
{
return (int32_t)(0);
}
IL_0042:
{
uint32_t L_20 = V_0;
uint32_t L_21 = V_1;
if ((!(((uint32_t)L_20) < ((uint32_t)L_21))))
{
goto IL_0048;
}
}
{
return (int32_t)((-1));
}
IL_0048:
{
uint32_t L_22 = V_0;
uint32_t L_23 = V_1;
if ((!(((uint32_t)L_22) > ((uint32_t)L_23))))
{
goto IL_004e;
}
}
{
return (int32_t)(1);
}
IL_004e:
{
uint32_t L_24 = V_0;
V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_24, (int32_t)1));
goto IL_0058;
}
IL_0054:
{
uint32_t L_25 = V_2;
V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_25, (int32_t)1));
}
IL_0058:
{
uint32_t L_26 = V_2;
if (!L_26)
{
goto IL_006d;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_27 = ___bi10;
NullCheck(L_27);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_28 = L_27->get_data_1();
uint32_t L_29 = V_2;
NullCheck(L_28);
uint32_t L_30 = L_29;
uint32_t L_31 = (L_28)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_32 = ___bi21;
NullCheck(L_32);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_33 = L_32->get_data_1();
uint32_t L_34 = V_2;
NullCheck(L_33);
uint32_t L_35 = L_34;
uint32_t L_36 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
if ((((int32_t)L_31) == ((int32_t)L_36)))
{
goto IL_0054;
}
}
IL_006d:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_37 = ___bi10;
NullCheck(L_37);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_38 = L_37->get_data_1();
uint32_t L_39 = V_2;
NullCheck(L_38);
uint32_t L_40 = L_39;
uint32_t L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_42 = ___bi21;
NullCheck(L_42);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_43 = L_42->get_data_1();
uint32_t L_44 = V_2;
NullCheck(L_43);
uint32_t L_45 = L_44;
uint32_t L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
if ((!(((uint32_t)L_41) < ((uint32_t)L_46))))
{
goto IL_0081;
}
}
{
return (int32_t)((-1));
}
IL_0081:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_47 = ___bi10;
NullCheck(L_47);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_48 = L_47->get_data_1();
uint32_t L_49 = V_2;
NullCheck(L_48);
uint32_t L_50 = L_49;
uint32_t L_51 = (L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_52 = ___bi21;
NullCheck(L_52);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_53 = L_52->get_data_1();
uint32_t L_54 = V_2;
NullCheck(L_53);
uint32_t L_55 = L_54;
uint32_t L_56 = (L_53)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
if ((!(((uint32_t)L_51) > ((uint32_t)L_56))))
{
goto IL_0095;
}
}
{
return (int32_t)(1);
}
IL_0095:
{
return (int32_t)(0);
}
}
// System.UInt32 Mono.Math.BigInteger_Kernel::SingleByteDivideInPlace(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Kernel_SingleByteDivideInPlace_mA3A9E99D052F6906DAC3EC33E815F85621B9D2E3 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___n0;
NullCheck(L_0);
uint32_t L_1 = L_0->get_length_0();
V_1 = L_1;
goto IL_002f;
}
IL_000c:
{
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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = ___n0;
NullCheck(L_4);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = L_4->get_data_1();
uint32_t L_6 = V_1;
NullCheck(L_5);
uint32_t L_7 = L_6;
uint32_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
V_0 = ((int64_t)((int64_t)L_3|(int64_t)(((int64_t)((uint64_t)L_8)))));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_9 = ___n0;
NullCheck(L_9);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_10 = L_9->get_data_1();
uint32_t L_11 = V_1;
uint64_t L_12 = V_0;
uint32_t L_13 = ___d1;
NullCheck(L_10);
(L_10)->SetAt(static_cast<il2cpp_array_size_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_002f:
{
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_000c;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_18 = ___n0;
NullCheck(L_18);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Kernel_DwordMod_m09BBF0BCB7D08A1CC8A24A82A8190E81D12BABDA (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___n0;
NullCheck(L_0);
uint32_t L_1 = L_0->get_length_0();
V_1 = L_1;
goto IL_0022;
}
IL_000c:
{
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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = ___n0;
NullCheck(L_4);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = L_4->get_data_1();
uint32_t L_6 = V_1;
NullCheck(L_5);
uint32_t L_7 = L_6;
uint32_t L_8 = (L_5)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
V_0 = ((int64_t)((int64_t)L_3|(int64_t)(((int64_t)((uint64_t)L_8)))));
uint64_t L_9 = V_0;
uint32_t L_10 = ___d1;
V_0 = ((int64_t)((uint64_t)(int64_t)L_9%(uint64_t)(int64_t)(((int64_t)((uint64_t)L_10)))));
}
IL_0022:
{
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_000c;
}
}
{
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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* Kernel_DwordDivMod_m7DD3CEDA379E3BEE45058144A4E63AB39C32268C (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___n0, uint32_t ___d1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_DwordDivMod_m7DD3CEDA379E3BEE45058144A4E63AB39C32268C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_0 = NULL;
uint64_t V_1 = 0;
uint32_t V_2 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_3 = NULL;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___n0;
NullCheck(L_0);
uint32_t L_1 = L_0->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E(L_2, 1, L_1, /*hidden argument*/NULL);
V_0 = L_2;
V_1 = (((int64_t)((int64_t)0)));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = ___n0;
NullCheck(L_3);
uint32_t L_4 = L_3->get_length_0();
V_2 = L_4;
goto IL_003c;
}
IL_0019:
{
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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_7 = ___n0;
NullCheck(L_7);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_8 = L_7->get_data_1();
uint32_t L_9 = V_2;
NullCheck(L_8);
uint32_t L_10 = L_9;
uint32_t L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
V_1 = ((int64_t)((int64_t)L_6|(int64_t)(((int64_t)((uint64_t)L_11)))));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_12 = V_0;
NullCheck(L_12);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_13 = L_12->get_data_1();
uint32_t L_14 = V_2;
uint64_t L_15 = V_1;
uint32_t L_16 = ___d1;
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_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_003c:
{
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_0019;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_21 = V_0;
NullCheck(L_21);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_21, /*hidden argument*/NULL);
uint64_t L_22 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_23 = BigInteger_op_Implicit_m47A1626222EC6D506611B5776F1506E5ED6F529F((((int32_t)((uint32_t)L_22))), /*hidden argument*/NULL);
V_3 = L_23;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_24 = (BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B*)(BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B*)SZArrayNew(BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B_il2cpp_TypeInfo_var, (uint32_t)2);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_25 = L_24;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_26 = V_0;
NullCheck(L_25);
ArrayElementTypeCheck (L_25, L_26);
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_26);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_27 = L_25;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_28 = V_3;
NullCheck(L_27);
ArrayElementTypeCheck (L_27, L_28);
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_28);
return L_27;
}
}
// Mono.Math.BigInteger[] Mono.Math.BigInteger_Kernel::multiByteDivide(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* Kernel_multiByteDivide_m3AB2BAB666EBB176A004D389DBDAAEBAA3763B54 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi10, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi21, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_multiByteDivide_m3AB2BAB666EBB176A004D389DBDAAEBAA3763B54_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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_6 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_7 = NULL;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_8 = NULL;
int32_t V_9 = 0;
int32_t V_10 = 0;
uint32_t V_11 = 0;
uint64_t V_12 = 0;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* V_13 = NULL;
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;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___bi21;
int32_t L_2 = Kernel_Compare_m07031942FB73AA6F48F11CBB4FDAEBF6767C84EE(L_0, L_1, /*hidden argument*/NULL);
if ((!(((uint32_t)L_2) == ((uint32_t)(-1)))))
{
goto IL_0023;
}
}
{
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_3 = (BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B*)(BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B*)SZArrayNew(BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B_il2cpp_TypeInfo_var, (uint32_t)2);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_4 = L_3;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(0, /*hidden argument*/NULL);
NullCheck(L_4);
ArrayElementTypeCheck (L_4, L_5);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_5);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_6 = L_4;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_7 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m77CF9FF025A6A98A625E8E948F19F822210BC29C(L_8, L_7, /*hidden argument*/NULL);
NullCheck(L_6);
ArrayElementTypeCheck (L_6, L_8);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_8);
return L_6;
}
IL_0023:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_9 = ___bi10;
NullCheck(L_9);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_9, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_10 = ___bi21;
NullCheck(L_10);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_10, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_11 = ___bi21;
NullCheck(L_11);
uint32_t L_12 = L_11->get_length_0();
if ((!(((uint32_t)L_12) == ((uint32_t)1))))
{
goto IL_0047;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_13 = ___bi10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_14 = ___bi21;
NullCheck(L_14);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_15 = L_14->get_data_1();
NullCheck(L_15);
int32_t L_16 = 0;
uint32_t L_17 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_18 = Kernel_DwordDivMod_m7DD3CEDA379E3BEE45058144A4E63AB39C32268C(L_13, L_17, /*hidden argument*/NULL);
return L_18;
}
IL_0047:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_19 = ___bi10;
NullCheck(L_19);
uint32_t L_20 = L_19->get_length_0();
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_21 = ___bi21;
NullCheck(L_21);
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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_23 = ___bi21;
NullCheck(L_23);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_24 = L_23->get_data_1();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_25 = ___bi21;
NullCheck(L_25);
uint32_t L_26 = L_25->get_length_0();
NullCheck(L_24);
int32_t L_27 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_26, (int32_t)1));
uint32_t L_28 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
V_3 = L_28;
V_4 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_29 = ___bi10;
NullCheck(L_29);
uint32_t L_30 = L_29->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_31 = ___bi21;
NullCheck(L_31);
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_008d;
}
IL_0083:
{
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_008d:
{
uint32_t L_35 = V_2;
if (!L_35)
{
goto IL_0095;
}
}
{
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_0083;
}
}
IL_0095:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_38 = ___bi10;
NullCheck(L_38);
uint32_t L_39 = L_38->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_40 = ___bi21;
NullCheck(L_40);
uint32_t L_41 = L_40->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_42 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E(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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_43 = ___bi10;
int32_t L_44 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_45 = BigInteger_op_LeftShift_m728D921C2E6E603DF2590718EF51B6BA8B4F463A(L_43, L_44, /*hidden argument*/NULL);
V_7 = L_45;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_46 = V_7;
NullCheck(L_46);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_47 = L_46->get_data_1();
V_8 = L_47;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_48 = ___bi21;
int32_t L_49 = V_4;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_50 = BigInteger_op_LeftShift_m728D921C2E6E603DF2590718EF51B6BA8B4F463A(L_48, L_49, /*hidden argument*/NULL);
___bi21 = L_50;
uint32_t L_51 = V_0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_52 = ___bi21;
NullCheck(L_52);
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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_55 = ___bi21;
NullCheck(L_55);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_56 = L_55->get_data_1();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_57 = ___bi21;
NullCheck(L_57);
uint32_t L_58 = L_57->get_length_0();
NullCheck(L_56);
int32_t L_59 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_58, (int32_t)1));
uint32_t L_60 = (L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_59));
V_11 = L_60;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_61 = ___bi21;
NullCheck(L_61);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_62 = L_61->get_data_1();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_63 = ___bi21;
NullCheck(L_63);
uint32_t L_64 = L_63->get_length_0();
NullCheck(L_62);
int32_t L_65 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_64, (int32_t)2));
uint32_t L_66 = (L_62)->GetAt(static_cast<il2cpp_array_size_t>(L_65));
V_12 = (((int64_t)((uint64_t)L_66)));
goto IL_0233;
}
IL_0100:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_67 = V_8;
int32_t L_68 = V_10;
NullCheck(L_67);
int32_t L_69 = L_68;
uint32_t L_70 = (L_67)->GetAt(static_cast<il2cpp_array_size_t>(L_69));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_71 = V_8;
int32_t L_72 = V_10;
NullCheck(L_71);
int32_t L_73 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_72, (int32_t)1));
uint32_t L_74 = (L_71)->GetAt(static_cast<il2cpp_array_size_t>(L_73));
int64_t L_75 = ((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)))));
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)))));
uint32_t L_77 = V_11;
V_15 = ((int64_t)((uint64_t)(int64_t)L_75%(uint64_t)(int64_t)(((int64_t)((uint64_t)L_77)))));
}
IL_011f:
{
uint64_t L_78 = V_14;
if ((((int64_t)L_78) == ((int64_t)((int64_t)4294967296LL))))
{
goto IL_0141;
}
}
{
uint64_t L_79 = V_14;
uint64_t L_80 = V_12;
uint64_t L_81 = V_15;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_82 = V_8;
int32_t L_83 = V_10;
NullCheck(L_82);
int32_t L_84 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_83, (int32_t)2));
uint32_t L_85 = (L_82)->GetAt(static_cast<il2cpp_array_size_t>(L_84));
if ((!(((uint64_t)((int64_t)il2cpp_codegen_multiply((int64_t)L_79, (int64_t)L_80))) > ((uint64_t)((int64_t)il2cpp_codegen_add((int64_t)((int64_t)((int64_t)L_81<<(int32_t)((int32_t)32))), (int64_t)(((int64_t)((uint64_t)L_85)))))))))
{
goto IL_015d;
}
}
IL_0141:
{
uint64_t L_86 = V_14;
V_14 = ((int64_t)il2cpp_codegen_subtract((int64_t)L_86, (int64_t)(((int64_t)((int64_t)1)))));
uint64_t L_87 = V_15;
uint32_t L_88 = V_11;
V_15 = ((int64_t)il2cpp_codegen_add((int64_t)L_87, (int64_t)(((int64_t)((uint64_t)L_88)))));
uint64_t L_89 = V_15;
if ((!(((uint64_t)L_89) >= ((uint64_t)((int64_t)4294967296LL)))))
{
goto IL_011f;
}
}
IL_015d:
{
V_17 = 0;
int32_t L_90 = V_10;
int32_t L_91 = V_1;
V_18 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_90, (int32_t)L_91)), (int32_t)1));
V_19 = (((int64_t)((int64_t)0)));
uint64_t L_92 = V_14;
V_20 = (((int32_t)((uint32_t)L_92)));
}
IL_0171:
{
uint64_t L_93 = V_19;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_94 = ___bi21;
NullCheck(L_94);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_95 = L_94->get_data_1();
uint32_t L_96 = V_17;
NullCheck(L_95);
uint32_t L_97 = L_96;
uint32_t L_98 = (L_95)->GetAt(static_cast<il2cpp_array_size_t>(L_97));
uint32_t L_99 = V_20;
V_19 = ((int64_t)il2cpp_codegen_add((int64_t)L_93, (int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((uint64_t)L_98))), (int64_t)(((int64_t)((uint64_t)L_99)))))));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_100 = V_8;
int32_t L_101 = V_18;
NullCheck(L_100);
int32_t L_102 = L_101;
uint32_t L_103 = (L_100)->GetAt(static_cast<il2cpp_array_size_t>(L_102));
V_16 = L_103;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_104 = V_8;
int32_t L_105 = V_18;
NullCheck(L_104);
uint32_t* L_106 = ((L_104)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_105)));
int32_t L_107 = *((uint32_t*)L_106);
uint64_t L_108 = V_19;
*((int32_t*)L_106) = (int32_t)((int32_t)il2cpp_codegen_subtract((int32_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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_110 = V_8;
int32_t L_111 = V_18;
NullCheck(L_110);
int32_t L_112 = L_111;
uint32_t L_113 = (L_110)->GetAt(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_01b2;
}
}
{
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_01b2:
{
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_0171;
}
}
{
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_0216;
}
}
{
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_01de:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_124 = V_8;
int32_t L_125 = V_18;
NullCheck(L_124);
int32_t L_126 = L_125;
uint32_t L_127 = (L_124)->GetAt(static_cast<il2cpp_array_size_t>(L_126));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_128 = ___bi21;
NullCheck(L_128);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_129 = L_128->get_data_1();
uint32_t L_130 = V_17;
NullCheck(L_129);
uint32_t L_131 = L_130;
uint32_t L_132 = (L_129)->GetAt(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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_134 = V_8;
int32_t L_135 = V_18;
uint64_t L_136 = V_21;
NullCheck(L_134);
(L_134)->SetAt(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_01de;
}
}
IL_0216:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_142 = V_6;
NullCheck(L_142);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* 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;
NullCheck(L_143);
(L_143)->SetAt(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_0233:
{
int32_t L_149 = V_9;
if ((((int32_t)L_149) > ((int32_t)0)))
{
goto IL_0100;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_150 = V_6;
NullCheck(L_150);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_150, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_151 = V_7;
NullCheck(L_151);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_151, /*hidden argument*/NULL);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_152 = (BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B*)(BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B*)SZArrayNew(BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B_il2cpp_TypeInfo_var, (uint32_t)2);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_153 = L_152;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_154 = V_6;
NullCheck(L_153);
ArrayElementTypeCheck (L_153, L_154);
(L_153)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_154);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_155 = L_153;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_156 = V_7;
NullCheck(L_155);
ArrayElementTypeCheck (L_155, L_156);
(L_155)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_156);
V_13 = L_155;
int32_t L_157 = V_4;
if (!L_157)
{
goto IL_0271;
}
}
{
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_158 = V_13;
NullCheck(L_158);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 ** L_159 = ((L_158)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_160 = *((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 **)L_159);
int32_t L_161 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_162 = BigInteger_op_RightShift_mD39A8D10E9F70F516D42932712403651A91F4F64(L_160, L_161, /*hidden argument*/NULL);
*((RuntimeObject **)L_159) = (RuntimeObject *)L_162;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_159, (void*)(RuntimeObject *)L_162);
}
IL_0271:
{
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_163 = V_13;
return L_163;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger_Kernel::LeftShift(Mono.Math.BigInteger,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * Kernel_LeftShift_mEA93DE79BE9A04B1AD826F95F9C77A28EC87CCA9 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, int32_t ___n1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_LeftShift_mEA93DE79BE9A04B1AD826F95F9C77A28EC87CCA9_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * 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_0012;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___bi0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___bi0;
NullCheck(L_2);
uint32_t L_3 = L_2->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m718EBF73E0A8036284DBF530A63930E286233BC5(L_4, L_1, ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1)), /*hidden argument*/NULL);
return L_4;
}
IL_0012:
{
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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_7 = ___bi0;
NullCheck(L_7);
uint32_t L_8 = L_7->get_length_0();
int32_t L_9 = V_0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_10 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E(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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_11 = ___bi0;
NullCheck(L_11);
uint32_t L_12 = L_11->get_length_0();
V_3 = L_12;
int32_t L_13 = ___n1;
if (!L_13)
{
goto IL_009d;
}
}
{
V_5 = 0;
goto IL_006f;
}
IL_003e:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_14 = ___bi0;
NullCheck(L_14);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_15 = L_14->get_data_1();
uint32_t L_16 = V_2;
NullCheck(L_15);
uint32_t L_17 = L_16;
uint32_t L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
V_4 = L_18;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_19 = V_1;
NullCheck(L_19);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* 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_mEA93DE79BE9A04B1AD826F95F9C77A28EC87CCA9_RuntimeMethod_var);
uint32_t L_23 = V_4;
int32_t L_24 = ___n1;
uint32_t L_25 = V_5;
NullCheck(L_20);
(L_20)->SetAt(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_006f:
{
uint32_t L_29 = V_2;
uint32_t L_30 = V_3;
if ((!(((uint32_t)L_29) >= ((uint32_t)L_30))))
{
goto IL_003e;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_31 = V_1;
NullCheck(L_31);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* 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_mEA93DE79BE9A04B1AD826F95F9C77A28EC87CCA9_RuntimeMethod_var);
uint32_t L_35 = V_5;
NullCheck(L_32);
(L_32)->SetAt(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_00a1;
}
IL_0084:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_36 = V_1;
NullCheck(L_36);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* 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_mEA93DE79BE9A04B1AD826F95F9C77A28EC87CCA9_RuntimeMethod_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_40 = ___bi0;
NullCheck(L_40);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_41 = L_40->get_data_1();
uint32_t L_42 = V_2;
NullCheck(L_41);
uint32_t L_43 = L_42;
uint32_t L_44 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
NullCheck(L_37);
(L_37)->SetAt(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_009d:
{
uint32_t L_46 = V_2;
uint32_t L_47 = V_3;
if ((!(((uint32_t)L_46) >= ((uint32_t)L_47))))
{
goto IL_0084;
}
}
IL_00a1:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_48 = V_1;
NullCheck(L_48);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_48, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_49 = V_1;
return L_49;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger_Kernel::RightShift(Mono.Math.BigInteger,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * Kernel_RightShift_m1F0188E75D20E70731FC46BDB32106EB33A1DB83 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, int32_t ___n1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_RightShift_m1F0188E75D20E70731FC46BDB32106EB33A1DB83_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_1 = NULL;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
uint32_t V_4 = 0;
{
int32_t L_0 = ___n1;
if (L_0)
{
goto IL_000a;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___bi0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m77CF9FF025A6A98A625E8E948F19F822210BC29C(L_2, L_1, /*hidden argument*/NULL);
return L_2;
}
IL_000a:
{
int32_t L_3 = ___n1;
V_0 = ((int32_t)((int32_t)L_3>>(int32_t)5));
int32_t L_4 = ___n1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = ___bi0;
NullCheck(L_5);
uint32_t L_6 = L_5->get_length_0();
int32_t L_7 = V_0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E(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_1 = L_8;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_9 = V_1;
NullCheck(L_9);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_10 = L_9->get_data_1();
NullCheck(L_10);
V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))), (int32_t)1));
if (!((int32_t)((int32_t)L_4&(int32_t)((int32_t)31))))
{
goto IL_007e;
}
}
{
V_4 = 0;
goto IL_005f;
}
IL_0035:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_11 = ___bi0;
NullCheck(L_11);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_12 = L_11->get_data_1();
uint32_t L_13 = V_2;
int32_t L_14 = V_0;
if ((int64_t)(((int64_t)il2cpp_codegen_add((int64_t)(((int64_t)((uint64_t)L_13))), (int64_t)(((int64_t)((int64_t)L_14)))))) > INTPTR_MAX) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception(), NULL, Kernel_RightShift_m1F0188E75D20E70731FC46BDB32106EB33A1DB83_RuntimeMethod_var);
NullCheck(L_12);
intptr_t L_15 = (((intptr_t)((int64_t)il2cpp_codegen_add((int64_t)(((int64_t)((uint64_t)L_13))), (int64_t)(((int64_t)((int64_t)L_14)))))));
uint32_t L_16 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_15));
V_3 = L_16;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_17 = V_1;
NullCheck(L_17);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_18 = L_17->get_data_1();
uint32_t L_19 = V_2;
uint32_t L_20 = V_3;
int32_t L_21 = ___n1;
uint32_t L_22 = V_4;
NullCheck(L_18);
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(L_19), (uint32_t)((int32_t)((int32_t)((int32_t)((uint32_t)L_20>>((int32_t)((int32_t)L_21&(int32_t)((int32_t)31)))))|(int32_t)L_22)));
uint32_t L_23 = V_3;
int32_t L_24 = ___n1;
V_4 = ((int32_t)((int32_t)L_23<<(int32_t)((int32_t)((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)32), (int32_t)L_24))&(int32_t)((int32_t)31)))));
}
IL_005f:
{
uint32_t L_25 = V_2;
uint32_t L_26 = L_25;
V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_26, (int32_t)1));
if ((!(((uint32_t)L_26) <= ((uint32_t)0))))
{
goto IL_0035;
}
}
{
goto IL_0086;
}
IL_0069:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_27 = V_1;
NullCheck(L_27);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_28 = L_27->get_data_1();
uint32_t L_29 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_30 = ___bi0;
NullCheck(L_30);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_31 = L_30->get_data_1();
uint32_t L_32 = V_2;
int32_t L_33 = V_0;
if ((int64_t)(((int64_t)il2cpp_codegen_add((int64_t)(((int64_t)((uint64_t)L_32))), (int64_t)(((int64_t)((int64_t)L_33)))))) > INTPTR_MAX) IL2CPP_RAISE_MANAGED_EXCEPTION(il2cpp_codegen_get_overflow_exception(), NULL, Kernel_RightShift_m1F0188E75D20E70731FC46BDB32106EB33A1DB83_RuntimeMethod_var);
NullCheck(L_31);
intptr_t L_34 = (((intptr_t)((int64_t)il2cpp_codegen_add((int64_t)(((int64_t)((uint64_t)L_32))), (int64_t)(((int64_t)((int64_t)L_33)))))));
uint32_t L_35 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
NullCheck(L_28);
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(L_29), (uint32_t)L_35);
}
IL_007e:
{
uint32_t L_36 = V_2;
uint32_t L_37 = L_36;
V_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_37, (int32_t)1));
if ((!(((uint32_t)L_37) <= ((uint32_t)0))))
{
goto IL_0069;
}
}
IL_0086:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_38 = V_1;
NullCheck(L_38);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_38, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_39 = V_1;
return L_39;
}
}
// System.Void Mono.Math.BigInteger_Kernel::Multiply(System.UInt32[],System.UInt32,System.UInt32,System.UInt32[],System.UInt32,System.UInt32,System.UInt32[],System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Kernel_Multiply_m904FC66FF96CDE798413346196E3836ADE1B8AF4 (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___x0, uint32_t ___xOffset1, uint32_t ___xLen2, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___y3, uint32_t ___yOffset4, uint32_t ___yLen5, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___d6, uint32_t ___dOffset7, const RuntimeMethod* method)
{
uint32_t* V_0 = NULL;
uint32_t* V_1 = NULL;
uint32_t* V_2 = NULL;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_3 = NULL;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_4 = NULL;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_5 = NULL;
uint32_t* V_6 = NULL;
uint32_t* V_7 = NULL;
uint32_t* V_8 = NULL;
uint32_t* V_9 = NULL;
uint32_t* V_10 = NULL;
uint64_t V_11 = 0;
uint32_t* V_12 = NULL;
uint32_t* V_13 = NULL;
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = ___x0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = L_0;
V_3 = L_1;
if (!L_1)
{
goto IL_000a;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = V_3;
NullCheck(L_2);
if ((((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))))
{
goto IL_000f;
}
}
IL_000a:
{
V_0 = (uint32_t*)(((uintptr_t)0));
goto IL_0018;
}
IL_000f:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = V_3;
NullCheck(L_3);
V_0 = (uint32_t*)(((uintptr_t)((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0018:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_4 = ___y3;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = L_4;
V_4 = L_5;
if (!L_5)
{
goto IL_0024;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_6 = V_4;
NullCheck(L_6);
if ((((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))))
{
goto IL_0029;
}
}
IL_0024:
{
V_1 = (uint32_t*)(((uintptr_t)0));
goto IL_0033;
}
IL_0029:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_7 = V_4;
NullCheck(L_7);
V_1 = (uint32_t*)(((uintptr_t)((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0033:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_8 = ___d6;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_9 = L_8;
V_5 = L_9;
if (!L_9)
{
goto IL_0040;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_10 = V_5;
NullCheck(L_10);
if ((((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))
{
goto IL_0045;
}
}
IL_0040:
{
V_2 = (uint32_t*)(((uintptr_t)0));
goto IL_004f;
}
IL_0045:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_11 = V_5;
NullCheck(L_11);
V_2 = (uint32_t*)(((uintptr_t)((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_004f:
{
uint32_t* L_12 = V_0;
uint32_t L_13 = ___xOffset1;
V_6 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_12, (intptr_t)(((intptr_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((uint64_t)L_13))), (int64_t)(((int64_t)((int64_t)4)))))))));
uint32_t* L_14 = V_6;
uint32_t L_15 = ___xLen2;
V_7 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_14, (intptr_t)(((intptr_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((uint64_t)L_15))), (int64_t)(((int64_t)((int64_t)4)))))))));
uint32_t* L_16 = V_1;
uint32_t L_17 = ___yOffset4;
V_8 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_16, (intptr_t)(((intptr_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((uint64_t)L_17))), (int64_t)(((int64_t)((int64_t)4)))))))));
uint32_t* L_18 = V_8;
uint32_t L_19 = ___yLen5;
V_9 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_18, (intptr_t)(((intptr_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((uint64_t)L_19))), (int64_t)(((int64_t)((int64_t)4)))))))));
uint32_t* L_20 = V_2;
uint32_t L_21 = ___dOffset7;
V_10 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_20, (intptr_t)(((intptr_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((uint64_t)L_21))), (int64_t)(((int64_t)((int64_t)4)))))))));
goto IL_00e3;
}
IL_0088:
{
uint32_t* L_22 = V_6;
int32_t L_23 = *((uint32_t*)L_22);
if (!L_23)
{
goto IL_00d7;
}
}
{
V_11 = (((int64_t)((int64_t)0)));
uint32_t* L_24 = V_10;
V_12 = (uint32_t*)L_24;
uint32_t* L_25 = V_8;
V_13 = (uint32_t*)L_25;
goto IL_00c7;
}
IL_009b:
{
uint64_t L_26 = V_11;
uint32_t* L_27 = V_6;
int32_t L_28 = *((uint32_t*)L_27);
uint32_t* L_29 = V_13;
int32_t L_30 = *((uint32_t*)L_29);
uint32_t* L_31 = V_12;
int32_t L_32 = *((uint32_t*)L_31);
V_11 = ((int64_t)il2cpp_codegen_add((int64_t)L_26, (int64_t)((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)L_28)))))), (int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)L_30)))))))), (int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)L_32))))))))));
uint32_t* L_33 = V_12;
uint64_t L_34 = V_11;
*((int32_t*)L_33) = (int32_t)(((int32_t)((uint32_t)L_34)));
uint64_t L_35 = V_11;
V_11 = ((int64_t)((uint64_t)L_35>>((int32_t)32)));
uint32_t* L_36 = V_13;
V_13 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_36, (int32_t)4));
uint32_t* L_37 = V_12;
V_12 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_37, (int32_t)4));
}
IL_00c7:
{
uint32_t* L_38 = V_13;
uint32_t* L_39 = V_9;
if ((!(((uintptr_t)L_38) >= ((uintptr_t)L_39))))
{
goto IL_009b;
}
}
{
uint64_t L_40 = V_11;
if (!L_40)
{
goto IL_00d7;
}
}
{
uint32_t* L_41 = V_12;
uint64_t L_42 = V_11;
*((int32_t*)L_41) = (int32_t)(((int32_t)((uint32_t)L_42)));
}
IL_00d7:
{
uint32_t* L_43 = V_6;
V_6 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_43, (int32_t)4));
uint32_t* L_44 = V_10;
V_10 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_44, (int32_t)4));
}
IL_00e3:
{
uint32_t* L_45 = V_6;
uint32_t* L_46 = V_7;
if ((!(((uintptr_t)L_45) >= ((uintptr_t)L_46))))
{
goto IL_0088;
}
}
{
V_3 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)NULL;
V_4 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)NULL;
V_5 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)NULL;
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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Kernel_MultiplyMod2p32pmod_mAF33D396324D6705B3F436779118B56F2622EB05 (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___x0, int32_t ___xOffset1, int32_t ___xLen2, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___y3, int32_t ___yOffest4, int32_t ___yLen5, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___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;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_3 = NULL;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_4 = NULL;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_5 = NULL;
uint32_t* V_6 = NULL;
uint32_t* V_7 = NULL;
uint32_t* V_8 = NULL;
uint32_t* V_9 = NULL;
uint32_t* V_10 = NULL;
uint32_t* V_11 = NULL;
uint64_t V_12 = 0;
uint32_t* V_13 = NULL;
uint32_t* V_14 = NULL;
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = ___x0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = L_0;
V_3 = L_1;
if (!L_1)
{
goto IL_000a;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = V_3;
NullCheck(L_2);
if ((((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))))
{
goto IL_000f;
}
}
IL_000a:
{
V_0 = (uint32_t*)(((uintptr_t)0));
goto IL_0018;
}
IL_000f:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = V_3;
NullCheck(L_3);
V_0 = (uint32_t*)(((uintptr_t)((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0018:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_4 = ___y3;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = L_4;
V_4 = L_5;
if (!L_5)
{
goto IL_0024;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_6 = V_4;
NullCheck(L_6);
if ((((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))))
{
goto IL_0029;
}
}
IL_0024:
{
V_1 = (uint32_t*)(((uintptr_t)0));
goto IL_0033;
}
IL_0029:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_7 = V_4;
NullCheck(L_7);
V_1 = (uint32_t*)(((uintptr_t)((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_0033:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_8 = ___d6;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_9 = L_8;
V_5 = L_9;
if (!L_9)
{
goto IL_0040;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_10 = V_5;
NullCheck(L_10);
if ((((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))
{
goto IL_0045;
}
}
IL_0040:
{
V_2 = (uint32_t*)(((uintptr_t)0));
goto IL_004f;
}
IL_0045:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_11 = V_5;
NullCheck(L_11);
V_2 = (uint32_t*)(((uintptr_t)((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))));
}
IL_004f:
{
uint32_t* L_12 = V_0;
int32_t L_13 = ___xOffset1;
V_6 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_12, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_13)), (int32_t)4))));
uint32_t* L_14 = V_6;
int32_t L_15 = ___xLen2;
V_7 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_14, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_15)), (int32_t)4))));
uint32_t* L_16 = V_1;
int32_t L_17 = ___yOffest4;
V_8 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_16, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_17)), (int32_t)4))));
uint32_t* L_18 = V_8;
int32_t L_19 = ___yLen5;
V_9 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_18, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_19)), (int32_t)4))));
uint32_t* L_20 = V_2;
int32_t L_21 = ___dOffset7;
V_10 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_20, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_21)), (int32_t)4))));
uint32_t* L_22 = V_10;
int32_t L_23 = ___mod8;
V_11 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_22, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)(((intptr_t)L_23)), (int32_t)4))));
goto IL_00ef;
}
IL_0088:
{
uint32_t* L_24 = V_6;
int32_t L_25 = *((uint32_t*)L_24);
if (!L_25)
{
goto IL_00e3;
}
}
{
V_12 = (((int64_t)((int64_t)0)));
uint32_t* L_26 = V_10;
V_13 = (uint32_t*)L_26;
uint32_t* L_27 = V_8;
V_14 = (uint32_t*)L_27;
goto IL_00c7;
}
IL_009b:
{
uint64_t L_28 = V_12;
uint32_t* L_29 = V_6;
int32_t L_30 = *((uint32_t*)L_29);
uint32_t* L_31 = V_14;
int32_t L_32 = *((uint32_t*)L_31);
uint32_t* L_33 = V_13;
int32_t L_34 = *((uint32_t*)L_33);
V_12 = ((int64_t)il2cpp_codegen_add((int64_t)L_28, (int64_t)((int64_t)il2cpp_codegen_add((int64_t)((int64_t)il2cpp_codegen_multiply((int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)L_30)))))), (int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)L_32)))))))), (int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)L_34))))))))));
uint32_t* L_35 = V_13;
uint64_t L_36 = V_12;
*((int32_t*)L_35) = (int32_t)(((int32_t)((uint32_t)L_36)));
uint64_t L_37 = V_12;
V_12 = ((int64_t)((uint64_t)L_37>>((int32_t)32)));
uint32_t* L_38 = V_14;
V_14 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_38, (int32_t)4));
uint32_t* L_39 = V_13;
V_13 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_39, (int32_t)4));
}
IL_00c7:
{
uint32_t* L_40 = V_14;
uint32_t* L_41 = V_9;
if ((!(((uintptr_t)L_40) < ((uintptr_t)L_41))))
{
goto IL_00d3;
}
}
{
uint32_t* L_42 = V_13;
uint32_t* L_43 = V_11;
if ((!(((uintptr_t)L_42) >= ((uintptr_t)L_43))))
{
goto IL_009b;
}
}
IL_00d3:
{
uint64_t L_44 = V_12;
if (!L_44)
{
goto IL_00e3;
}
}
{
uint32_t* L_45 = V_13;
uint32_t* L_46 = V_11;
if ((!(((uintptr_t)L_45) < ((uintptr_t)L_46))))
{
goto IL_00e3;
}
}
{
uint32_t* L_47 = V_13;
uint64_t L_48 = V_12;
*((int32_t*)L_47) = (int32_t)(((int32_t)((uint32_t)L_48)));
}
IL_00e3:
{
uint32_t* L_49 = V_6;
V_6 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_49, (int32_t)4));
uint32_t* L_50 = V_10;
V_10 = (uint32_t*)((uint32_t*)il2cpp_codegen_add((intptr_t)L_50, (int32_t)4));
}
IL_00ef:
{
uint32_t* L_51 = V_6;
uint32_t* L_52 = V_7;
if ((!(((uintptr_t)L_51) >= ((uintptr_t)L_52))))
{
goto IL_0088;
}
}
{
V_3 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)NULL;
V_4 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)NULL;
V_5 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)NULL;
return;
}
}
// System.UInt32 Mono.Math.BigInteger_Kernel::modInverse(Mono.Math.BigInteger,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t Kernel_modInverse_m3FE8ACCFD28EBC15685ACEE0ED33A048DE9D022D (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, uint32_t ___modulus1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_modInverse_m3FE8ACCFD28EBC15685ACEE0ED33A048DE9D022D_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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___bi0;
uint32_t L_2 = ___modulus1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
uint32_t L_3 = BigInteger_op_Modulus_mEE11685FAA7292E357C36DB794C18EF9E388C876(L_1, L_2, /*hidden argument*/NULL);
V_1 = L_3;
V_2 = 0;
V_3 = 1;
goto IL_0039;
}
IL_0010:
{
uint32_t L_4 = V_1;
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_0016;
}
}
{
uint32_t L_5 = V_3;
return L_5;
}
IL_0016:
{
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_003c;
}
}
{
uint32_t L_13 = V_0;
if ((!(((uint32_t)L_13) == ((uint32_t)1))))
{
goto IL_002d;
}
}
{
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_002d:
{
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_0039:
{
uint32_t L_22 = V_1;
if (L_22)
{
goto IL_0010;
}
}
IL_003c:
{
return 0;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger_Kernel::modInverse(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * Kernel_modInverse_mEB896FA57CB36CE9FF75EBB4E11EA71AE23E3EC4 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___modulus1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Kernel_modInverse_mEB896FA57CB36CE9FF75EBB4E11EA71AE23E3EC4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* V_0 = NULL;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* V_1 = NULL;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* V_2 = NULL;
int32_t V_3 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_4 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_5 = NULL;
ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * V_6 = NULL;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* V_7 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_8 = NULL;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___modulus1;
NullCheck(L_0);
uint32_t L_1 = L_0->get_length_0();
if ((!(((uint32_t)L_1) == ((uint32_t)1))))
{
goto IL_001d;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___bi0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = ___modulus1;
NullCheck(L_3);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_4 = L_3->get_data_1();
NullCheck(L_4);
int32_t L_5 = 0;
uint32_t L_6 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
uint32_t L_7 = Kernel_modInverse_m3FE8ACCFD28EBC15685ACEE0ED33A048DE9D022D(L_2, L_6, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = BigInteger_op_Implicit_m47A1626222EC6D506611B5776F1506E5ED6F529F(L_7, /*hidden argument*/NULL);
return L_8;
}
IL_001d:
{
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_9 = (BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B*)(BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B*)SZArrayNew(BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B_il2cpp_TypeInfo_var, (uint32_t)2);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_10 = L_9;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_11 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(0, /*hidden argument*/NULL);
NullCheck(L_10);
ArrayElementTypeCheck (L_10, L_11);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_11);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_12 = L_10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_13 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(1, /*hidden argument*/NULL);
NullCheck(L_12);
ArrayElementTypeCheck (L_12, L_13);
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_13);
V_0 = L_12;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_14 = (BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B*)(BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B*)SZArrayNew(BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B_il2cpp_TypeInfo_var, (uint32_t)2);
V_1 = L_14;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_15 = (BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B*)(BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B*)SZArrayNew(BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B_il2cpp_TypeInfo_var, (uint32_t)2);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_16 = L_15;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_17 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(0, /*hidden argument*/NULL);
NullCheck(L_16);
ArrayElementTypeCheck (L_16, L_17);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_17);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_18 = L_16;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_19 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(0, /*hidden argument*/NULL);
NullCheck(L_18);
ArrayElementTypeCheck (L_18, L_19);
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_19);
V_2 = L_18;
V_3 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_20 = ___modulus1;
V_4 = L_20;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_21 = ___bi0;
V_5 = L_21;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_22 = ___modulus1;
ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * L_23 = (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 *)il2cpp_codegen_object_new(ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8_il2cpp_TypeInfo_var);
ModulusRing__ctor_mF09FC4C08A46EB1ECBA2A35B28BDD16D703E1050(L_23, L_22, /*hidden argument*/NULL);
V_6 = L_23;
goto IL_00c1;
}
IL_0068:
{
int32_t L_24 = V_3;
if ((((int32_t)L_24) <= ((int32_t)1)))
{
goto IL_008e;
}
}
{
ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * L_25 = V_6;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_26 = V_0;
NullCheck(L_26);
int32_t L_27 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_28 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_29 = V_0;
NullCheck(L_29);
int32_t L_30 = 1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_31 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_30));
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_32 = V_1;
NullCheck(L_32);
int32_t L_33 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_34 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_35 = BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE(L_31, L_34, /*hidden argument*/NULL);
NullCheck(L_25);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_36 = ModulusRing_Difference_m4994769FFA8FAE06882F901C9DBEFC0A745E5258(L_25, L_28, L_35, /*hidden argument*/NULL);
V_8 = L_36;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_37 = V_0;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_38 = V_0;
NullCheck(L_38);
int32_t L_39 = 1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_40 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
NullCheck(L_37);
ArrayElementTypeCheck (L_37, L_40);
(L_37)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_40);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_41 = V_0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_42 = V_8;
NullCheck(L_41);
ArrayElementTypeCheck (L_41, L_42);
(L_41)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_42);
}
IL_008e:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_43 = V_4;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_44 = V_5;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_45 = Kernel_multiByteDivide_m3AB2BAB666EBB176A004D389DBDAAEBAA3763B54(L_43, L_44, /*hidden argument*/NULL);
V_7 = L_45;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_46 = V_1;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_47 = V_1;
NullCheck(L_47);
int32_t L_48 = 1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_49 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_48));
NullCheck(L_46);
ArrayElementTypeCheck (L_46, L_49);
(L_46)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_49);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_50 = V_1;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_51 = V_7;
NullCheck(L_51);
int32_t L_52 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_53 = (L_51)->GetAt(static_cast<il2cpp_array_size_t>(L_52));
NullCheck(L_50);
ArrayElementTypeCheck (L_50, L_53);
(L_50)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_53);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_54 = V_2;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_55 = V_2;
NullCheck(L_55);
int32_t L_56 = 1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_57 = (L_55)->GetAt(static_cast<il2cpp_array_size_t>(L_56));
NullCheck(L_54);
ArrayElementTypeCheck (L_54, L_57);
(L_54)->SetAt(static_cast<il2cpp_array_size_t>(0), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_57);
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_58 = V_2;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_59 = V_7;
NullCheck(L_59);
int32_t L_60 = 1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_61 = (L_59)->GetAt(static_cast<il2cpp_array_size_t>(L_60));
NullCheck(L_58);
ArrayElementTypeCheck (L_58, L_61);
(L_58)->SetAt(static_cast<il2cpp_array_size_t>(1), (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)L_61);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_62 = V_5;
V_4 = L_62;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_63 = V_7;
NullCheck(L_63);
int32_t L_64 = 1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_65 = (L_63)->GetAt(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_00c1:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_67 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_68 = BigInteger_op_Inequality_m13AF07D0E4BF09886DCCDCFDE553542F6F4ED1A4(L_67, 0, /*hidden argument*/NULL);
if (L_68)
{
goto IL_0068;
}
}
{
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_69 = V_2;
NullCheck(L_69);
int32_t L_70 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_71 = (L_69)->GetAt(static_cast<il2cpp_array_size_t>(L_70));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_72 = BigInteger_op_Inequality_m13AF07D0E4BF09886DCCDCFDE553542F6F4ED1A4(L_71, 1, /*hidden argument*/NULL);
if (!L_72)
{
goto IL_00e1;
}
}
{
ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269 * L_73 = (ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269 *)il2cpp_codegen_object_new(ArithmeticException_tF9EF5FE94597830EF315C5934258F994B8648269_il2cpp_TypeInfo_var);
ArithmeticException__ctor_mAE18F94959F9827DEA553C7C2F3C5568BEC81CCF(L_73, _stringLiteral0F6016A42ADA1E2A1848FB5869B861EBC2F7FA13, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_73, NULL, Kernel_modInverse_mEB896FA57CB36CE9FF75EBB4E11EA71AE23E3EC4_RuntimeMethod_var);
}
IL_00e1:
{
ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * L_74 = V_6;
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_75 = V_0;
NullCheck(L_75);
int32_t L_76 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_77 = (L_75)->GetAt(static_cast<il2cpp_array_size_t>(L_76));
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_78 = V_0;
NullCheck(L_78);
int32_t L_79 = 1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_80 = (L_78)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
BigIntegerU5BU5D_t15EB0DC5DA051C4F0C1BECDCD8D7AB250F0CDF4B* L_81 = V_1;
NullCheck(L_81);
int32_t L_82 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_83 = (L_81)->GetAt(static_cast<il2cpp_array_size_t>(L_82));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_84 = BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE(L_80, L_83, /*hidden argument*/NULL);
NullCheck(L_74);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_85 = ModulusRing_Difference_m4994769FFA8FAE06882F901C9DBEFC0A745E5258(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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ModulusRing__ctor_mF09FC4C08A46EB1ECBA2A35B28BDD16D703E1050 (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___modulus0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ModulusRing__ctor_mF09FC4C08A46EB1ECBA2A35B28BDD16D703E1050_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint32_t V_0 = 0;
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___modulus0;
__this->set_mod_0(L_0);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = __this->get_mod_0();
NullCheck(L_1);
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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E(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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = __this->get_constant_1();
NullCheck(L_5);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_6 = L_5->get_data_1();
uint32_t L_7 = V_0;
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (uint32_t)1);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = __this->get_constant_1();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_9 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_10 = BigInteger_op_Division_m8C1BDE4543BD0EFE3864D46646ACFF3F9B535D3B(L_8, L_9, /*hidden argument*/NULL);
__this->set_constant_1(L_10);
return;
}
}
// System.Void Mono.Math.BigInteger_ModulusRing::BarrettReduction(Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ModulusRing_BarrettReduction_m7B02B29BBEA5309C09AE3C2860CDA318810AB3E7 (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___x0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ModulusRing_BarrettReduction_m7B02B29BBEA5309C09AE3C2860CDA318810AB3E7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_0 = NULL;
uint32_t V_1 = 0;
uint32_t V_2 = 0;
uint32_t V_3 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_4 = NULL;
uint32_t V_5 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_6 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_7 = NULL;
uint32_t G_B7_0 = 0;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = __this->get_mod_0();
V_0 = L_0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = V_0;
NullCheck(L_1);
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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = ___x0;
NullCheck(L_5);
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_0020;
}
}
{
return;
}
IL_0020:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = ___x0;
NullCheck(L_8);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_9 = L_8->get_data_1();
NullCheck(L_9);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_10 = ___x0;
NullCheck(L_10);
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_003d;
}
}
{
IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF * L_12 = (IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF *)il2cpp_codegen_object_new(IndexOutOfRangeException_tEC7665FC66525AB6A6916A7EB505E5591683F0CF_il2cpp_TypeInfo_var);
IndexOutOfRangeException__ctor_mCCE2EFF47A0ACB4B2636F63140F94FCEA71A9BCA(L_12, _stringLiteral57ECE3274FFAA576B81A69AE0C07BC9B708C818D, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, NULL, ModulusRing_BarrettReduction_m7B02B29BBEA5309C09AE3C2860CDA318810AB3E7_RuntimeMethod_var);
}
IL_003d:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_13 = ___x0;
NullCheck(L_13);
uint32_t L_14 = L_13->get_length_0();
uint32_t L_15 = V_3;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_16 = __this->get_constant_1();
NullCheck(L_16);
uint32_t L_17 = L_16->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_18 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E(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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_19 = ___x0;
NullCheck(L_19);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_20 = L_19->get_data_1();
uint32_t L_21 = V_3;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_22 = ___x0;
NullCheck(L_22);
uint32_t L_23 = L_22->get_length_0();
uint32_t L_24 = V_3;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_25 = __this->get_constant_1();
NullCheck(L_25);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_26 = L_25->get_data_1();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_27 = __this->get_constant_1();
NullCheck(L_27);
uint32_t L_28 = L_27->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_29 = V_4;
NullCheck(L_29);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_30 = L_29->get_data_1();
Kernel_Multiply_m904FC66FF96CDE798413346196E3836ADE1B8AF4(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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_31 = ___x0;
NullCheck(L_31);
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_009d;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_34 = ___x0;
NullCheck(L_34);
uint32_t L_35 = L_34->get_length_0();
G_B7_0 = L_35;
goto IL_009e;
}
IL_009d:
{
uint32_t L_36 = V_2;
G_B7_0 = L_36;
}
IL_009e:
{
V_5 = G_B7_0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_37 = ___x0;
uint32_t L_38 = V_5;
NullCheck(L_37);
L_37->set_length_0(L_38);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_39 = ___x0;
NullCheck(L_39);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_39, /*hidden argument*/NULL);
uint32_t L_40 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_41 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E(L_41, 1, L_40, /*hidden argument*/NULL);
V_6 = L_41;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_42 = V_4;
NullCheck(L_42);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_43 = L_42->get_data_1();
uint32_t L_44 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_45 = V_4;
NullCheck(L_45);
uint32_t L_46 = L_45->get_length_0();
uint32_t L_47 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_48 = V_0;
NullCheck(L_48);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_49 = L_48->get_data_1();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_50 = V_0;
NullCheck(L_50);
uint32_t L_51 = L_50->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_52 = V_6;
NullCheck(L_52);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_53 = L_52->get_data_1();
uint32_t L_54 = V_2;
Kernel_MultiplyMod2p32pmod_mAF33D396324D6705B3F436779118B56F2622EB05(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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_55 = V_6;
NullCheck(L_55);
BigInteger_Normalize_mF0C4E36E69C54DB487EB2A29532BB7EB21585592(L_55, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_56 = V_6;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_57 = ___x0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_58 = BigInteger_op_LessThanOrEqual_m6F736D56374810C3251542D1CFFB2AB4ADFCCE86(L_56, L_57, /*hidden argument*/NULL);
if (!L_58)
{
goto IL_00fe;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_59 = ___x0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_60 = V_6;
Kernel_MinusEq_m75848E6833E2D01CF229BBA57A1A6D641D5D0380(L_59, L_60, /*hidden argument*/NULL);
goto IL_012d;
}
IL_00fe:
{
uint32_t L_61 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_62 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mF6EF77E576DB644975AE00AED27D25A7AC3AEE2E(L_62, 1, ((int32_t)il2cpp_codegen_add((int32_t)L_61, (int32_t)1)), /*hidden argument*/NULL);
V_7 = L_62;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_63 = V_7;
NullCheck(L_63);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_64 = L_63->get_data_1();
uint32_t L_65 = V_2;
NullCheck(L_64);
(L_64)->SetAt(static_cast<il2cpp_array_size_t>(L_65), (uint32_t)1);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_66 = V_7;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_67 = V_6;
Kernel_MinusEq_m75848E6833E2D01CF229BBA57A1A6D641D5D0380(L_66, L_67, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_68 = ___x0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_69 = V_7;
Kernel_PlusEq_mF8EEDAFBFE9AD10CAD8770DC3A5D09E5147B0A48(L_68, L_69, /*hidden argument*/NULL);
goto IL_012d;
}
IL_0126:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_70 = ___x0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_71 = V_0;
Kernel_MinusEq_m75848E6833E2D01CF229BBA57A1A6D641D5D0380(L_70, L_71, /*hidden argument*/NULL);
}
IL_012d:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_72 = ___x0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_73 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_74 = BigInteger_op_GreaterThanOrEqual_mF4B81FC95ED0CBFA91676E43B1FAE027C850FBBF(L_72, L_73, /*hidden argument*/NULL);
if (L_74)
{
goto IL_0126;
}
}
{
return;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger_ModulusRing::Multiply(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ModulusRing_Multiply_m4C45458BB28E03B17069F0A0BB87F1426ABAC272 (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___a0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___b1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ModulusRing_Multiply_m4C45458BB28E03B17069F0A0BB87F1426ABAC272_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_0 = NULL;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___a0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_1 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(L_0, 0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0012;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___b1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_3 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(L_2, 0, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0019;
}
}
IL_0012:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(0, /*hidden argument*/NULL);
return L_4;
}
IL_0019:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = ___a0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_6 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_7 = BigInteger_op_GreaterThan_m4CC14F86717F122D7489EFF24C991F5BEE92A00F(L_5, L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0035;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = ___a0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_9 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_10 = BigInteger_op_Modulus_mAFBC82D374D9E2866AA4958732FA53F7445B122F(L_8, L_9, /*hidden argument*/NULL);
___a0 = L_10;
}
IL_0035:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_11 = ___b1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_12 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_13 = BigInteger_op_GreaterThan_m4CC14F86717F122D7489EFF24C991F5BEE92A00F(L_11, L_12, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_0051;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_14 = ___b1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_15 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_16 = BigInteger_op_Modulus_mAFBC82D374D9E2866AA4958732FA53F7445B122F(L_14, L_15, /*hidden argument*/NULL);
___b1 = L_16;
}
IL_0051:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_17 = ___a0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_18 = ___b1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_19 = BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE(L_17, L_18, /*hidden argument*/NULL);
V_0 = L_19;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_20 = V_0;
ModulusRing_BarrettReduction_m7B02B29BBEA5309C09AE3C2860CDA318810AB3E7(__this, L_20, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_21 = V_0;
return L_21;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger_ModulusRing::Difference(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ModulusRing_Difference_m4994769FFA8FAE06882F901C9DBEFC0A745E5258 (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___a0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___b1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ModulusRing_Difference_m4994769FFA8FAE06882F901C9DBEFC0A745E5258_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_1 = NULL;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___a0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___b1;
int32_t L_2 = Kernel_Compare_m07031942FB73AA6F48F11CBB4FDAEBF6767C84EE(L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
int32_t L_3 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_3, (int32_t)(-1))))
{
case 0:
{
goto IL_002f;
}
case 1:
{
goto IL_001e;
}
case 2:
{
goto IL_0025;
}
}
}
{
goto IL_0039;
}
IL_001e:
{
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(0, /*hidden argument*/NULL);
return L_4;
}
IL_0025:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = ___a0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_6 = ___b1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_7 = BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792(L_5, L_6, /*hidden argument*/NULL);
V_1 = L_7;
goto IL_003f;
}
IL_002f:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = ___b1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_9 = ___a0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_10 = BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792(L_8, L_9, /*hidden argument*/NULL);
V_1 = L_10;
goto IL_003f;
}
IL_0039:
{
Exception_t * L_11 = (Exception_t *)il2cpp_codegen_object_new(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m5FEC89FBFACEEDCEE29CCFD44A85D72FC28EB0D1(L_11, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, ModulusRing_Difference_m4994769FFA8FAE06882F901C9DBEFC0A745E5258_RuntimeMethod_var);
}
IL_003f:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_12 = V_1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_13 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_14 = BigInteger_op_GreaterThanOrEqual_mF4B81FC95ED0CBFA91676E43B1FAE027C850FBBF(L_12, L_13, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_0078;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_15 = V_1;
NullCheck(L_15);
uint32_t L_16 = L_15->get_length_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_17 = __this->get_mod_0();
NullCheck(L_17);
uint32_t L_18 = L_17->get_length_0();
if ((!(((uint32_t)L_16) >= ((uint32_t)((int32_t)((int32_t)L_18<<(int32_t)1))))))
{
goto IL_0071;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_19 = V_1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_20 = __this->get_mod_0();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_21 = BigInteger_op_Modulus_mAFBC82D374D9E2866AA4958732FA53F7445B122F(L_19, L_20, /*hidden argument*/NULL);
V_1 = L_21;
goto IL_0078;
}
IL_0071:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_22 = V_1;
ModulusRing_BarrettReduction_m7B02B29BBEA5309C09AE3C2860CDA318810AB3E7(__this, L_22, /*hidden argument*/NULL);
}
IL_0078:
{
int32_t L_23 = V_0;
if ((!(((uint32_t)L_23) == ((uint32_t)(-1)))))
{
goto IL_0089;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_24 = __this->get_mod_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_25 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_26 = BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792(L_24, L_25, /*hidden argument*/NULL);
V_1 = L_26;
}
IL_0089:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_27 = V_1;
return L_27;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger_ModulusRing::Pow(Mono.Math.BigInteger,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ModulusRing_Pow_m02E0BDA9434462191910C6F7BD6E7A6C77544C06 (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___a0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___k1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ModulusRing_Pow_m02E0BDA9434462191910C6F7BD6E7A6C77544C06_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_0 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_1 = NULL;
int32_t V_2 = 0;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mCAC0EAFBC60E0DC2B64BE0DD21099C837FEC0A33(L_0, 1, /*hidden argument*/NULL);
V_0 = L_0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = ___k1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_2 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(L_1, 0, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0012;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = V_0;
return L_3;
}
IL_0012:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = ___a0;
V_1 = L_4;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = ___k1;
NullCheck(L_5);
bool L_6 = BigInteger_TestBit_mFF11993F9C65D59A109EA7EC55B8B791A9DDB56B(L_5, 0, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_001f;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_7 = ___a0;
V_0 = L_7;
}
IL_001f:
{
V_2 = 1;
goto IL_0042;
}
IL_0023:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = V_1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_9 = V_1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_10 = ModulusRing_Multiply_m4C45458BB28E03B17069F0A0BB87F1426ABAC272(__this, L_8, L_9, /*hidden argument*/NULL);
V_1 = L_10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_11 = ___k1;
int32_t L_12 = V_2;
NullCheck(L_11);
bool L_13 = BigInteger_TestBit_mFF11993F9C65D59A109EA7EC55B8B791A9DDB56B(L_11, L_12, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_003e;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_14 = V_1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_15 = V_0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_16 = ModulusRing_Multiply_m4C45458BB28E03B17069F0A0BB87F1426ABAC272(__this, L_14, L_15, /*hidden argument*/NULL);
V_0 = L_16;
}
IL_003e:
{
int32_t L_17 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
}
IL_0042:
{
int32_t L_18 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_19 = ___k1;
NullCheck(L_19);
int32_t L_20 = BigInteger_BitCount_mFEA208FDC3B126E1517F0E5AAB8D1193856F8C76(L_19, /*hidden argument*/NULL);
if ((((int32_t)L_18) < ((int32_t)L_20)))
{
goto IL_0023;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_21 = V_0;
return L_21;
}
}
// Mono.Math.BigInteger Mono.Math.BigInteger_ModulusRing::Pow(System.UInt32,Mono.Math.BigInteger)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ModulusRing_Pow_mA4D173D9DD4C251CE87C56CEA39D04A8719FBE24 (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * __this, uint32_t ___b0, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___exp1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ModulusRing_Pow_mA4D173D9DD4C251CE87C56CEA39D04A8719FBE24_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint32_t L_0 = ___b0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_mCAC0EAFBC60E0DC2B64BE0DD21099C837FEC0A33(L_1, L_0, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = ___exp1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = ModulusRing_Pow_m02E0BDA9434462191910C6F7BD6E7A6C77544C06(__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
// Mono.Math.Prime.ConfidenceFactor Mono.Math.Prime.Generator.PrimeGeneratorBase::get_Confidence()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PrimeGeneratorBase_get_Confidence_mB3EFAA5059BACC2C036F212DB2819E65B1D30464 (PrimeGeneratorBase_tD86126CFDBC57352F37DE0964FFCF652C04D7059 * __this, const RuntimeMethod* method)
{
{
return (int32_t)(2);
}
}
// Mono.Math.Prime.PrimalityTest Mono.Math.Prime.Generator.PrimeGeneratorBase::get_PrimalityTest()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9 * PrimeGeneratorBase_get_PrimalityTest_m0BACD3BCEC2D3F9AA1E81726561BF3D8B4048092 (PrimeGeneratorBase_tD86126CFDBC57352F37DE0964FFCF652C04D7059 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrimeGeneratorBase_get_PrimalityTest_m0BACD3BCEC2D3F9AA1E81726561BF3D8B4048092_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9 * L_0 = (PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9 *)il2cpp_codegen_object_new(PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9_il2cpp_TypeInfo_var);
PrimalityTest__ctor_m7D2A94DF17C3BB4D352BC4F7CF5E682A4C595CE7(L_0, NULL, (intptr_t)((intptr_t)PrimalityTests_RabinMillerTest_mE869E48DD897411CA22276B55C5E3E4A869307B8_RuntimeMethod_var), /*hidden argument*/NULL);
return L_0;
}
}
// System.Int32 Mono.Math.Prime.Generator.PrimeGeneratorBase::get_TrialDivisionBounds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PrimeGeneratorBase_get_TrialDivisionBounds_m93D07CEF572D4D3C20794F7B9C798EE12B8F4C82 (PrimeGeneratorBase_tD86126CFDBC57352F37DE0964FFCF652C04D7059 * __this, const RuntimeMethod* method)
{
{
return ((int32_t)4000);
}
}
// System.Void Mono.Math.Prime.Generator.PrimeGeneratorBase::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PrimeGeneratorBase__ctor_m13B11935BE29102AC8EF61ADD1F25F36AAED8028 (PrimeGeneratorBase_tD86126CFDBC57352F37DE0964FFCF652C04D7059 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__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
// Mono.Math.BigInteger Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::GenerateSearchBase(System.Int32,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * SequentialSearchPrimeGeneratorBase_GenerateSearchBase_m2E65C4F49F03838C63E2CF7157F35A857FD85CCC (SequentialSearchPrimeGeneratorBase_t051356406D15C0F3CCF38A685AB52DFC08B83360 * __this, int32_t ___bits0, RuntimeObject * ___context1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SequentialSearchPrimeGeneratorBase_GenerateSearchBase_m2E65C4F49F03838C63E2CF7157F35A857FD85CCC_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___bits0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = BigInteger_GenerateRandom_mA17F93C5DDA00EDFCBBB66C41120BA1886241F5D(L_0, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = L_1;
NullCheck(L_2);
BigInteger_SetBit_m9D1FECEB7D6672C82002A3FF59B17939C752CF41(L_2, 0, /*hidden argument*/NULL);
return L_2;
}
}
// Mono.Math.BigInteger Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::GenerateNewPrime(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * SequentialSearchPrimeGeneratorBase_GenerateNewPrime_mF8C719FF7060839F80F3D1D1119CC35CEE7321C8 (SequentialSearchPrimeGeneratorBase_t051356406D15C0F3CCF38A685AB52DFC08B83360 * __this, int32_t ___bits0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___bits0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = VirtFuncInvoker2< BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, 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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * SequentialSearchPrimeGeneratorBase_GenerateNewPrime_mC5D023E53C55A3D910AD896B1B888313516420BE (SequentialSearchPrimeGeneratorBase_t051356406D15C0F3CCF38A685AB52DFC08B83360 * __this, int32_t ___bits0, RuntimeObject * ___context1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SequentialSearchPrimeGeneratorBase_GenerateNewPrime_mC5D023E53C55A3D910AD896B1B888313516420BE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_0 = NULL;
uint32_t V_1 = 0;
int32_t V_2 = 0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* V_3 = NULL;
int32_t V_4 = 0;
{
int32_t L_0 = ___bits0;
RuntimeObject * L_1 = ___context1;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_2 = VirtFuncInvoker2< BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, 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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
uint32_t L_4 = BigInteger_op_Modulus_mEE11685FAA7292E357C36DB794C18EF9E388C876(L_3, ((int32_t)-1060120681), /*hidden argument*/NULL);
V_1 = L_4;
int32_t L_5 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 Mono.Math.Prime.Generator.PrimeGeneratorBase::get_TrialDivisionBounds() */, __this);
V_2 = L_5;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_6 = ((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_StaticFields*)il2cpp_codegen_static_fields_for(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var))->get_smallPrimes_2();
V_3 = L_6;
}
IL_0022:
{
uint32_t L_7 = V_1;
if (!((int32_t)((uint32_t)(int32_t)L_7%(uint32_t)(int32_t)3)))
{
goto IL_009d;
}
}
{
uint32_t L_8 = V_1;
if (!((int32_t)((uint32_t)(int32_t)L_8%(uint32_t)(int32_t)5)))
{
goto IL_009d;
}
}
{
uint32_t L_9 = V_1;
if (!((int32_t)((uint32_t)(int32_t)L_9%(uint32_t)(int32_t)7)))
{
goto IL_009d;
}
}
{
uint32_t L_10 = V_1;
if (!((int32_t)((uint32_t)(int32_t)L_10%(uint32_t)(int32_t)((int32_t)11))))
{
goto IL_009d;
}
}
{
uint32_t L_11 = V_1;
if (!((int32_t)((uint32_t)(int32_t)L_11%(uint32_t)(int32_t)((int32_t)13))))
{
goto IL_009d;
}
}
{
uint32_t L_12 = V_1;
if (!((int32_t)((uint32_t)(int32_t)L_12%(uint32_t)(int32_t)((int32_t)17))))
{
goto IL_009d;
}
}
{
uint32_t L_13 = V_1;
if (!((int32_t)((uint32_t)(int32_t)L_13%(uint32_t)(int32_t)((int32_t)19))))
{
goto IL_009d;
}
}
{
uint32_t L_14 = V_1;
if (!((int32_t)((uint32_t)(int32_t)L_14%(uint32_t)(int32_t)((int32_t)23))))
{
goto IL_009d;
}
}
{
uint32_t L_15 = V_1;
if (!((int32_t)((uint32_t)(int32_t)L_15%(uint32_t)(int32_t)((int32_t)29))))
{
goto IL_009d;
}
}
{
V_4 = ((int32_t)10);
goto IL_006d;
}
IL_005b:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_16 = V_0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_17 = V_3;
int32_t L_18 = V_4;
NullCheck(L_17);
int32_t L_19 = L_18;
uint32_t L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
uint32_t L_21 = BigInteger_op_Modulus_mEE11685FAA7292E357C36DB794C18EF9E388C876(L_16, L_20, /*hidden argument*/NULL);
if (!L_21)
{
goto IL_009d;
}
}
{
int32_t L_22 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_22, (int32_t)1));
}
IL_006d:
{
int32_t L_23 = V_4;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_24 = V_3;
NullCheck(L_24);
if ((((int32_t)L_23) >= ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length)))))))
{
goto IL_007d;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_25 = V_3;
int32_t L_26 = V_4;
NullCheck(L_25);
int32_t L_27 = L_26;
uint32_t L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
int32_t L_29 = V_2;
if ((((int64_t)(((int64_t)((uint64_t)L_28)))) <= ((int64_t)(((int64_t)((int64_t)L_29))))))
{
goto IL_005b;
}
}
IL_007d:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_30 = V_0;
RuntimeObject * L_31 = ___context1;
bool L_32 = VirtFuncInvoker2< bool, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, 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_009d;
}
}
{
PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9 * L_33 = VirtFuncInvoker0< PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9 * >::Invoke(5 /* Mono.Math.Prime.PrimalityTest Mono.Math.Prime.Generator.PrimeGeneratorBase::get_PrimalityTest() */, __this);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * 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);
NullCheck(L_33);
bool L_36 = PrimalityTest_Invoke_mFF0B6770EB0400A4842A1D85D58B2D26C0F039F5(L_33, L_34, L_35, /*hidden argument*/NULL);
if (!L_36)
{
goto IL_009d;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_37 = V_0;
return L_37;
}
IL_009d:
{
uint32_t L_38 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_38, (int32_t)2));
uint32_t L_39 = V_1;
if ((!(((uint32_t)L_39) >= ((uint32_t)((int32_t)-1060120681)))))
{
goto IL_00b1;
}
}
{
uint32_t L_40 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_40, (int32_t)((int32_t)-1060120681)));
}
IL_00b1:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_41 = V_0;
NullCheck(L_41);
BigInteger_Incr2_mB0C767ACE801C97882A9887153C362F93118FCAA(L_41, /*hidden argument*/NULL);
goto IL_0022;
}
}
// System.Boolean Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::IsPrimeAcceptable(Mono.Math.BigInteger,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SequentialSearchPrimeGeneratorBase_IsPrimeAcceptable_m962A08FE185146B9CC09E0004761B152A9EC2DF7 (SequentialSearchPrimeGeneratorBase_t051356406D15C0F3CCF38A685AB52DFC08B83360 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, RuntimeObject * ___context1, const RuntimeMethod* method)
{
{
return (bool)1;
}
}
// System.Void Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SequentialSearchPrimeGeneratorBase__ctor_m04D212D2DBC1A2B3DD39C26A8008D56528984A11 (SequentialSearchPrimeGeneratorBase_t051356406D15C0F3CCF38A685AB52DFC08B83360 * __this, const RuntimeMethod* method)
{
{
PrimeGeneratorBase__ctor_m13B11935BE29102AC8EF61ADD1F25F36AAED8028(__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.Math.Prime.PrimalityTest::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PrimalityTest__ctor_m7D2A94DF17C3BB4D352BC4F7CF5E682A4C595CE7 (PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9 * __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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PrimalityTest_Invoke_mFF0B6770EB0400A4842A1D85D58B2D26C0F039F5 (PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, int32_t ___confidence1, const RuntimeMethod* method)
{
bool result = false;
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* delegateArrayToInvoke = __this->get_delegates_11();
Delegate_t** delegatesToInvoke;
il2cpp_array_size_t length;
if (delegateArrayToInvoke != NULL)
{
length = delegateArrayToInvoke->max_length;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0));
}
else
{
length = 1;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this);
}
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t* currentDelegate = delegatesToInvoke[i];
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
if (!il2cpp_codegen_method_is_virtual(targetMethod))
{
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
}
bool ___methodIsStatic = MethodIsStatic(targetMethod);
int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod);
if (___methodIsStatic)
{
if (___parameterCount == 2)
{
// open
typedef bool (*FunctionPointerType) (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___bi0, ___confidence1, targetMethod);
}
else
{
// closed
typedef bool (*FunctionPointerType) (void*, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___bi0, ___confidence1, targetMethod);
}
}
else if (___parameterCount != 2)
{
// 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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___bi0, ___confidence1, targetMethod);
}
}
else
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (targetThis == NULL)
{
typedef bool (*FunctionPointerType) (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___bi0, ___confidence1, targetMethod);
}
else if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker2< bool, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, int32_t >::Invoke(targetMethod, targetThis, ___bi0, ___confidence1);
else
result = GenericVirtFuncInvoker2< bool, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, int32_t >::Invoke(targetMethod, targetThis, ___bi0, ___confidence1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker2< bool, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___bi0, ___confidence1);
else
result = VirtFuncInvoker2< bool, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___bi0, ___confidence1);
}
}
else
{
typedef bool (*FunctionPointerType) (void*, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___bi0, ___confidence1, targetMethod);
}
}
}
return result;
}
// System.IAsyncResult Mono.Math.Prime.PrimalityTest::BeginInvoke(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor,System.AsyncCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* PrimalityTest_BeginInvoke_m92CDF05BD3D7D4CD830DAD891C626440C69A8D45 (PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, int32_t ___confidence1, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback2, RuntimeObject * ___object3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrimalityTest_BeginInvoke_m92CDF05BD3D7D4CD830DAD891C626440C69A8D45_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[3] = {0};
__d_args[0] = ___bi0;
__d_args[1] = Box(ConfidenceFactor_t945E0EE732DB24BE51678FCB2741BBEB440179CE_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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PrimalityTest_EndInvoke_m3158FEAF83FCC3FECE30DEECCC093C8849421CAF (PrimalityTest_t86C33A5FB057EA0D357088A56E22FE56B7FA08D9 * __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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PrimalityTests_GetSPPRounds_mB217B6CB2BB40EEFAE4800E521105B5EE16C6979 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___bi0, int32_t ___confidence1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrimalityTests_GetSPPRounds_mB217B6CB2BB40EEFAE4800E521105B5EE16C6979_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___bi0;
NullCheck(L_0);
int32_t L_1 = BigInteger_BitCount_mFEA208FDC3B126E1517F0E5AAB8D1193856F8C76(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_0011;
}
}
{
V_1 = ((int32_t)27);
goto IL_008f;
}
IL_0011:
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) > ((int32_t)((int32_t)150))))
{
goto IL_001e;
}
}
{
V_1 = ((int32_t)18);
goto IL_008f;
}
IL_001e:
{
int32_t L_4 = V_0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)200))))
{
goto IL_002b;
}
}
{
V_1 = ((int32_t)15);
goto IL_008f;
}
IL_002b:
{
int32_t L_5 = V_0;
if ((((int32_t)L_5) > ((int32_t)((int32_t)250))))
{
goto IL_0038;
}
}
{
V_1 = ((int32_t)12);
goto IL_008f;
}
IL_0038:
{
int32_t L_6 = V_0;
if ((((int32_t)L_6) > ((int32_t)((int32_t)300))))
{
goto IL_0045;
}
}
{
V_1 = ((int32_t)9);
goto IL_008f;
}
IL_0045:
{
int32_t L_7 = V_0;
if ((((int32_t)L_7) > ((int32_t)((int32_t)350))))
{
goto IL_0051;
}
}
{
V_1 = 8;
goto IL_008f;
}
IL_0051:
{
int32_t L_8 = V_0;
if ((((int32_t)L_8) > ((int32_t)((int32_t)400))))
{
goto IL_005d;
}
}
{
V_1 = 7;
goto IL_008f;
}
IL_005d:
{
int32_t L_9 = V_0;
if ((((int32_t)L_9) > ((int32_t)((int32_t)500))))
{
goto IL_0069;
}
}
{
V_1 = 6;
goto IL_008f;
}
IL_0069:
{
int32_t L_10 = V_0;
if ((((int32_t)L_10) > ((int32_t)((int32_t)600))))
{
goto IL_0075;
}
}
{
V_1 = 5;
goto IL_008f;
}
IL_0075:
{
int32_t L_11 = V_0;
if ((((int32_t)L_11) > ((int32_t)((int32_t)800))))
{
goto IL_0081;
}
}
{
V_1 = 4;
goto IL_008f;
}
IL_0081:
{
int32_t L_12 = V_0;
if ((((int32_t)L_12) > ((int32_t)((int32_t)1250))))
{
goto IL_008d;
}
}
{
V_1 = 3;
goto IL_008f;
}
IL_008d:
{
V_1 = 2;
}
IL_008f:
{
int32_t L_13 = ___confidence1;
switch (L_13)
{
case 0:
{
goto IL_00af;
}
case 1:
{
goto IL_00ba;
}
case 2:
{
goto IL_00c5;
}
case 3:
{
goto IL_00c7;
}
case 4:
{
goto IL_00cb;
}
case 5:
{
goto IL_00cf;
}
}
}
{
goto IL_00da;
}
IL_00af:
{
int32_t L_14 = V_1;
V_1 = ((int32_t)((int32_t)L_14>>(int32_t)2));
int32_t L_15 = V_1;
if (L_15)
{
goto IL_00b8;
}
}
{
return 1;
}
IL_00b8:
{
int32_t L_16 = V_1;
return L_16;
}
IL_00ba:
{
int32_t L_17 = V_1;
V_1 = ((int32_t)((int32_t)L_17>>(int32_t)1));
int32_t L_18 = V_1;
if (L_18)
{
goto IL_00c3;
}
}
{
return 1;
}
IL_00c3:
{
int32_t L_19 = V_1;
return L_19;
}
IL_00c5:
{
int32_t L_20 = V_1;
return L_20;
}
IL_00c7:
{
int32_t L_21 = V_1;
return ((int32_t)((int32_t)L_21<<(int32_t)1));
}
IL_00cb:
{
int32_t L_22 = V_1;
return ((int32_t)((int32_t)L_22<<(int32_t)2));
}
IL_00cf:
{
Exception_t * L_23 = (Exception_t *)il2cpp_codegen_object_new(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m89BADFF36C3B170013878726E07729D51AA9FBE0(L_23, _stringLiteral519EBF37CB5A7E254F612B256FC54B5F1F41C586, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, NULL, PrimalityTests_GetSPPRounds_mB217B6CB2BB40EEFAE4800E521105B5EE16C6979_RuntimeMethod_var);
}
IL_00da:
{
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_24 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m6B36E60C989DC798A8B44556DB35960282B133A6(L_24, _stringLiteral0165688353CA81071FDEC1551C4AB96A2DB65E88, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_24, NULL, PrimalityTests_GetSPPRounds_mB217B6CB2BB40EEFAE4800E521105B5EE16C6979_RuntimeMethod_var);
}
}
// System.Boolean Mono.Math.Prime.PrimalityTests::RabinMillerTest(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PrimalityTests_RabinMillerTest_mE869E48DD897411CA22276B55C5E3E4A869307B8 (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___n0, int32_t ___confidence1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrimalityTests_RabinMillerTest_mE869E48DD897411CA22276B55C5E3E4A869307B8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_2 = NULL;
int32_t V_3 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_4 = NULL;
ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * V_5 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_6 = NULL;
int32_t V_7 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_8 = NULL;
int32_t V_9 = 0;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___n0;
NullCheck(L_0);
int32_t L_1 = BigInteger_BitCount_mFEA208FDC3B126E1517F0E5AAB8D1193856F8C76(L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(L_2, /*hidden argument*/NULL);
int32_t L_4 = ___confidence1;
int32_t L_5 = PrimalityTests_GetSPPRounds_mB217B6CB2BB40EEFAE4800E521105B5EE16C6979(L_3, L_4, /*hidden argument*/NULL);
V_1 = L_5;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_6 = ___n0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_7 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(1, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_8 = BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792(L_6, L_7, /*hidden argument*/NULL);
V_2 = L_8;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_9 = V_2;
NullCheck(L_9);
int32_t L_10 = BigInteger_LowestSetBit_m6E7C4246DA0DA86F94B880680121448F676E8435(L_9, /*hidden argument*/NULL);
V_3 = L_10;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_11 = V_2;
int32_t L_12 = V_3;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_13 = BigInteger_op_RightShift_mD39A8D10E9F70F516D42932712403651A91F4F64(L_11, L_12, /*hidden argument*/NULL);
V_4 = L_13;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_14 = ___n0;
ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * L_15 = (ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 *)il2cpp_codegen_object_new(ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8_il2cpp_TypeInfo_var);
ModulusRing__ctor_mF09FC4C08A46EB1ECBA2A35B28BDD16D703E1050(L_15, L_14, /*hidden argument*/NULL);
V_5 = L_15;
V_6 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_16 = ___n0;
NullCheck(L_16);
int32_t L_17 = BigInteger_BitCount_mFEA208FDC3B126E1517F0E5AAB8D1193856F8C76(L_16, /*hidden argument*/NULL);
if ((((int32_t)L_17) <= ((int32_t)((int32_t)100))))
{
goto IL_0052;
}
}
{
ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * L_18 = V_5;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_19 = V_4;
NullCheck(L_18);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_20 = ModulusRing_Pow_mA4D173D9DD4C251CE87C56CEA39D04A8719FBE24(L_18, 2, L_19, /*hidden argument*/NULL);
V_6 = L_20;
}
IL_0052:
{
V_7 = 0;
goto IL_00ed;
}
IL_005a:
{
int32_t L_21 = V_7;
if ((((int32_t)L_21) > ((int32_t)0)))
{
goto IL_0069;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_22 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_23 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90(L_22, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_23)
{
goto IL_009a;
}
}
IL_0069:
{
V_8 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL;
}
IL_006c:
{
int32_t L_24 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_25 = BigInteger_GenerateRandom_mA17F93C5DDA00EDFCBBB66C41120BA1886241F5D(L_24, /*hidden argument*/NULL);
V_8 = L_25;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_26 = V_8;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_27 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(2, /*hidden argument*/NULL);
bool L_28 = BigInteger_op_LessThanOrEqual_m6F736D56374810C3251542D1CFFB2AB4ADFCCE86(L_26, L_27, /*hidden argument*/NULL);
if (!L_28)
{
goto IL_008d;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_29 = V_8;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_30 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_31 = BigInteger_op_GreaterThanOrEqual_mF4B81FC95ED0CBFA91676E43B1FAE027C850FBBF(L_29, L_30, /*hidden argument*/NULL);
if (L_31)
{
goto IL_006c;
}
}
IL_008d:
{
ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * L_32 = V_5;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_33 = V_8;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_34 = V_4;
NullCheck(L_32);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_35 = ModulusRing_Pow_m02E0BDA9434462191910C6F7BD6E7A6C77544C06(L_32, L_33, L_34, /*hidden argument*/NULL);
V_6 = L_35;
}
IL_009a:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_36 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_37 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(L_36, 1, /*hidden argument*/NULL);
if (L_37)
{
goto IL_00e7;
}
}
{
V_9 = 0;
goto IL_00cc;
}
IL_00a9:
{
ModulusRing_t308788615884D122EEEE30912EFFB7C15144C6E8 * L_38 = V_5;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_39 = V_6;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_40 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(2, /*hidden argument*/NULL);
NullCheck(L_38);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_41 = ModulusRing_Pow_m02E0BDA9434462191910C6F7BD6E7A6C77544C06(L_38, L_39, L_40, /*hidden argument*/NULL);
V_6 = L_41;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_42 = V_6;
bool L_43 = BigInteger_op_Equality_mAA7DD5259960E4837D8A8AB56DB3C6AEF367C504(L_42, 1, /*hidden argument*/NULL);
if (!L_43)
{
goto IL_00c6;
}
}
{
return (bool)0;
}
IL_00c6:
{
int32_t L_44 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_44, (int32_t)1));
}
IL_00cc:
{
int32_t L_45 = V_9;
int32_t L_46 = V_3;
if ((((int32_t)L_45) >= ((int32_t)L_46)))
{
goto IL_00db;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_47 = V_6;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_48 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_49 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_47, L_48, /*hidden argument*/NULL);
if (L_49)
{
goto IL_00a9;
}
}
IL_00db:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_50 = V_6;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_51 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_52 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_50, L_51, /*hidden argument*/NULL);
if (!L_52)
{
goto IL_00e7;
}
}
{
return (bool)0;
}
IL_00e7:
{
int32_t L_53 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_53, (int32_t)1));
}
IL_00ed:
{
int32_t L_54 = V_7;
int32_t L_55 = V_1;
if ((((int32_t)L_54) < ((int32_t)L_55)))
{
goto IL_005a;
}
}
{
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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, uint8_t ___tag0, const RuntimeMethod* method)
{
{
uint8_t L_0 = ___tag0;
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(__this, L_0, (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.ASN1::.ctor(System.Byte,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, uint8_t ___tag0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data1, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
uint8_t L_0 = ___tag0;
__this->set_m_nTag_0(L_0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___data1;
__this->set_m_aValue_1(L_1);
return;
}
}
// System.Void Mono.Security.ASN1::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA_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_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___data0;
NullCheck(L_0);
int32_t L_1 = 0;
uint8_t L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
__this->set_m_nTag_0(L_2);
V_0 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ___data0;
NullCheck(L_3);
int32_t L_4 = 1;
uint8_t L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
V_1 = L_5;
int32_t L_6 = V_1;
if ((((int32_t)L_6) <= ((int32_t)((int32_t)128))))
{
goto IL_0045;
}
}
{
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_003f;
}
IL_002b:
{
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_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = ___data0;
int32_t L_11 = V_2;
NullCheck(L_10);
int32_t L_12 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)2));
uint8_t L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
V_1 = ((int32_t)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_003f:
{
int32_t L_15 = V_2;
int32_t L_16 = V_0;
if ((((int32_t)L_15) < ((int32_t)L_16)))
{
goto IL_002b;
}
}
{
goto IL_0058;
}
IL_0045:
{
int32_t L_17 = V_1;
if ((!(((uint32_t)L_17) == ((uint32_t)((int32_t)128)))))
{
goto IL_0058;
}
}
{
NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 * L_18 = (NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 *)il2cpp_codegen_object_new(NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010_il2cpp_TypeInfo_var);
NotSupportedException__ctor_mD023A89A5C1F740F43F0A9CD6C49DC21230B3CEE(L_18, _stringLiteral3A5F6FCDC866AB625A631A6C57A6D2BEF6174645, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, NULL, ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA_RuntimeMethod_var);
}
IL_0058:
{
int32_t L_19 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_19);
__this->set_m_aValue_1(L_20);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = ___data0;
int32_t L_22 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = __this->get_m_aValue_1();
int32_t L_24 = V_1;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((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_0092;
}
}
{
int32_t L_26 = V_0;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)2, (int32_t)L_26));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_27 = ___data0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = ___data0;
NullCheck(L_28);
ASN1_Decode_m94E3A6F94EDACE796521D04E6A832D99592F1149(__this, L_27, (int32_t*)(&V_3), (((int32_t)((int32_t)(((RuntimeArray*)L_28)->max_length)))), /*hidden argument*/NULL);
}
IL_0092:
{
return;
}
}
// System.Int32 Mono.Security.ASN1::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, const RuntimeMethod* method)
{
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_0 = __this->get_elist_2();
if (L_0)
{
goto IL_000a;
}
}
{
return 0;
}
IL_000a:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_1 = __this->get_elist_2();
NullCheck(L_1);
int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_1);
return L_2;
}
}
// System.Byte Mono.Security.ASN1::get_Tag()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_m_nTag_0();
return L_0;
}
}
// System.Int32 Mono.Security.ASN1::get_Length()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ASN1_get_Length_mD0AC74E8F07244961D697B341599BD83D989EF63 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get_m_aValue_1();
if (!L_0)
{
goto IL_0011;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = __this->get_m_aValue_1();
NullCheck(L_1);
return (((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))));
}
IL_0011:
{
return 0;
}
}
// System.Byte[] Mono.Security.ASN1::get_Value()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get_m_aValue_1();
if (L_0)
{
goto IL_000f;
}
}
{
VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, __this);
}
IL_000f:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = __this->get_m_aValue_1();
NullCheck((RuntimeArray *)(RuntimeArray *)L_1);
RuntimeObject * L_2 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Security.ASN1::set_Value(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1_set_Value_m225FF9AC03EA872809C7742070A34A264C58588E (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_set_Value_m225FF9AC03EA872809C7742070A34A264C58588E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___value0;
if (!L_0)
{
goto IL_0014;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___value0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_1);
RuntimeObject * L_2 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
__this->set_m_aValue_1(((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var)));
}
IL_0014:
{
return;
}
}
// System.Boolean Mono.Security.ASN1::CompareArray(System.Byte[],System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ASN1_CompareArray_m8061EE9321D1B3F9CB387776552931A8AE9A96FE (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___array10, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___array21, const RuntimeMethod* method)
{
bool V_0 = false;
int32_t V_1 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___array10;
NullCheck(L_0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___array21;
NullCheck(L_1);
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_0024;
}
}
{
V_1 = 0;
goto IL_001e;
}
IL_0010:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ___array10;
int32_t L_4 = V_1;
NullCheck(L_3);
int32_t L_5 = L_4;
uint8_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___array21;
int32_t L_8 = V_1;
NullCheck(L_7);
int32_t L_9 = L_8;
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
if ((((int32_t)L_6) == ((int32_t)L_10)))
{
goto IL_001a;
}
}
{
return (bool)0;
}
IL_001a:
{
int32_t L_11 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_001e:
{
int32_t L_12 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = ___array10;
NullCheck(L_13);
if ((((int32_t)L_12) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))))))
{
goto IL_0010;
}
}
IL_0024:
{
bool L_14 = V_0;
return L_14;
}
}
// System.Boolean Mono.Security.ASN1::CompareValue(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ASN1_CompareValue_mB18BFB4C3B5CC0086F6733C93472B6ECE85DBC99 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get_m_aValue_1();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___value0;
bool L_2 = ASN1_CompareArray_m8061EE9321D1B3F9CB387776552931A8AE9A96FE(__this, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1::Add(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___asn10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = ___asn10;
if (!L_0)
{
goto IL_0023;
}
}
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_1 = __this->get_elist_2();
if (L_1)
{
goto IL_0016;
}
}
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_2 = (ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 *)il2cpp_codegen_object_new(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var);
ArrayList__ctor_m481FA7B37620B59B8C0434A764F5705A6ABDEAE6(L_2, /*hidden argument*/NULL);
__this->set_elist_2(L_2);
}
IL_0016:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_3 = __this->get_elist_2();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_4 = ___asn10;
NullCheck(L_3);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_3, L_4);
}
IL_0023:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_5 = ___asn10;
return L_5;
}
}
// System.Byte[] Mono.Security.ASN1::GetBytes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ASN1_GetBytes_m4ABC0EF4CBE8CF6BE65CEC52CDB02BB59E2E9AE4 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_GetBytes_m4ABC0EF4CBE8CF6BE65CEC52CDB02BB59E2E9AE4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * V_4 = NULL;
int32_t V_5 = 0;
RuntimeObject* V_6 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_7 = NULL;
RuntimeObject* V_8 = NULL;
int32_t V_9 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_10 = NULL;
int32_t V_11 = 0;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
V_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)NULL;
int32_t L_0 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(__this, /*hidden argument*/NULL);
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_00b8;
}
}
{
V_3 = 0;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_1 = (ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 *)il2cpp_codegen_object_new(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var);
ArrayList__ctor_m481FA7B37620B59B8C0434A764F5705A6ABDEAE6(L_1, /*hidden argument*/NULL);
V_4 = L_1;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_2 = __this->get_elist_2();
NullCheck(L_2);
RuntimeObject* L_3 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_2);
V_6 = L_3;
}
IL_0024:
try
{ // begin try (depth: 1)
{
goto IL_004a;
}
IL_0026:
{
RuntimeObject* L_4 = V_6;
NullCheck(L_4);
RuntimeObject * L_5 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_4);
NullCheck(((ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)CastclassClass((RuntimeObject*)L_5, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var)));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, ((ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)CastclassClass((RuntimeObject*)L_5, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var)));
V_7 = L_6;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_7 = V_4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = V_7;
NullCheck(L_7);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_7, (RuntimeObject *)(RuntimeObject *)L_8);
int32_t L_9 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = V_7;
NullCheck(L_10);
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length))))));
}
IL_004a:
{
RuntimeObject* L_11 = V_6;
NullCheck(L_11);
bool L_12 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_11);
if (L_12)
{
goto IL_0026;
}
}
IL_0053:
{
IL2CPP_LEAVE(0x6A, FINALLY_0055);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0055;
}
FINALLY_0055:
{ // begin finally (depth: 1)
{
RuntimeObject* L_13 = V_6;
V_8 = ((RuntimeObject*)IsInst((RuntimeObject*)L_13, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_14 = V_8;
if (!L_14)
{
goto IL_0069;
}
}
IL_0062:
{
RuntimeObject* L_15 = V_8;
NullCheck(L_15);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_15);
}
IL_0069:
{
IL2CPP_END_FINALLY(85)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(85)
{
IL2CPP_JUMP_TBL(0x6A, IL_006a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_006a:
{
int32_t L_16 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_16);
V_0 = L_17;
V_5 = 0;
V_9 = 0;
goto IL_00a7;
}
IL_0079:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_18 = V_4;
int32_t L_19 = V_9;
NullCheck(L_18);
RuntimeObject * L_20 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(22 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_18, L_19);
V_10 = ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_20, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = V_10;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = V_0;
int32_t L_23 = V_5;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = V_10;
NullCheck(L_24);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_21, 0, (RuntimeArray *)(RuntimeArray *)L_22, L_23, (((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length)))), /*hidden argument*/NULL);
int32_t L_25 = V_5;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = V_10;
NullCheck(L_26);
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_26)->max_length))))));
int32_t L_27 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)1));
}
IL_00a7:
{
int32_t L_28 = V_9;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_29 = __this->get_elist_2();
NullCheck(L_29);
int32_t L_30 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_29);
if ((((int32_t)L_28) < ((int32_t)L_30)))
{
goto IL_0079;
}
}
{
goto IL_00c7;
}
IL_00b8:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_31 = __this->get_m_aValue_1();
if (!L_31)
{
goto IL_00c7;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_32 = __this->get_m_aValue_1();
V_0 = L_32;
}
IL_00c7:
{
V_2 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_33 = V_0;
if (!L_33)
{
goto IL_01e6;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_34 = V_0;
NullCheck(L_34);
V_11 = (((int32_t)((int32_t)(((RuntimeArray*)L_34)->max_length))));
int32_t L_35 = V_11;
if ((((int32_t)L_35) <= ((int32_t)((int32_t)127))))
{
goto IL_01bd;
}
}
{
int32_t L_36 = V_11;
if ((((int32_t)L_36) > ((int32_t)((int32_t)255))))
{
goto IL_010c;
}
}
{
int32_t L_37 = V_11;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_38 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)3, (int32_t)L_37)));
V_1 = L_38;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_39 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_40 = V_1;
int32_t L_41 = V_11;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_39, 0, (RuntimeArray *)(RuntimeArray *)L_40, 3, L_41, /*hidden argument*/NULL);
V_2 = ((int32_t)129);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_42 = V_1;
int32_t L_43 = V_11;
NullCheck(L_42);
(L_42)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)L_43))));
goto IL_01d5;
}
IL_010c:
{
int32_t L_44 = V_11;
if ((((int32_t)L_44) > ((int32_t)((int32_t)65535))))
{
goto IL_0143;
}
}
{
int32_t L_45 = V_11;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_46 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)4, (int32_t)L_45)));
V_1 = L_46;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_47 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_48 = V_1;
int32_t L_49 = V_11;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_47, 0, (RuntimeArray *)(RuntimeArray *)L_48, 4, L_49, /*hidden argument*/NULL);
V_2 = ((int32_t)130);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_50 = V_1;
int32_t L_51 = V_11;
NullCheck(L_50);
(L_50)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_51>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_52 = V_1;
int32_t L_53 = V_11;
NullCheck(L_52);
(L_52)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)L_53))));
goto IL_01d5;
}
IL_0143:
{
int32_t L_54 = V_11;
if ((((int32_t)L_54) > ((int32_t)((int32_t)16777215))))
{
goto IL_0180;
}
}
{
int32_t L_55 = V_11;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_56 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)5, (int32_t)L_55)));
V_1 = L_56;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_57 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_58 = V_1;
int32_t L_59 = V_11;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_57, 0, (RuntimeArray *)(RuntimeArray *)L_58, 5, L_59, /*hidden argument*/NULL);
V_2 = ((int32_t)131);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_60 = V_1;
int32_t L_61 = V_11;
NullCheck(L_60);
(L_60)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_61>>(int32_t)((int32_t)16)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_62 = V_1;
int32_t L_63 = V_11;
NullCheck(L_62);
(L_62)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_63>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_64 = V_1;
int32_t L_65 = V_11;
NullCheck(L_64);
(L_64)->SetAt(static_cast<il2cpp_array_size_t>(4), (uint8_t)(((int32_t)((uint8_t)L_65))));
goto IL_01d5;
}
IL_0180:
{
int32_t L_66 = V_11;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_67 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)6, (int32_t)L_66)));
V_1 = L_67;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_68 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_69 = V_1;
int32_t L_70 = V_11;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_68, 0, (RuntimeArray *)(RuntimeArray *)L_69, 6, L_70, /*hidden argument*/NULL);
V_2 = ((int32_t)132);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_71 = V_1;
int32_t L_72 = V_11;
NullCheck(L_71);
(L_71)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_72>>(int32_t)((int32_t)24)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_73 = V_1;
int32_t L_74 = V_11;
NullCheck(L_73);
(L_73)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_74>>(int32_t)((int32_t)16)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_75 = V_1;
int32_t L_76 = V_11;
NullCheck(L_75);
(L_75)->SetAt(static_cast<il2cpp_array_size_t>(4), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_76>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_77 = V_1;
int32_t L_78 = V_11;
NullCheck(L_77);
(L_77)->SetAt(static_cast<il2cpp_array_size_t>(5), (uint8_t)(((int32_t)((uint8_t)L_78))));
goto IL_01d5;
}
IL_01bd:
{
int32_t L_79 = V_11;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_80 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)2, (int32_t)L_79)));
V_1 = L_80;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_81 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_82 = V_1;
int32_t L_83 = V_11;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_81, 0, (RuntimeArray *)(RuntimeArray *)L_82, 2, L_83, /*hidden argument*/NULL);
int32_t L_84 = V_11;
V_2 = L_84;
}
IL_01d5:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_85 = __this->get_m_aValue_1();
if (L_85)
{
goto IL_01ed;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_86 = V_0;
__this->set_m_aValue_1(L_86);
goto IL_01ed;
}
IL_01e6:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_87 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)2);
V_1 = L_87;
}
IL_01ed:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_88 = V_1;
uint8_t L_89 = __this->get_m_nTag_0();
NullCheck(L_88);
(L_88)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_89);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_90 = V_1;
int32_t L_91 = V_2;
NullCheck(L_90);
(L_90)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)(((int32_t)((uint8_t)L_91))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_92 = V_1;
return L_92;
}
}
// System.Void Mono.Security.ASN1::Decode(System.Byte[],System.Int32&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1_Decode_m94E3A6F94EDACE796521D04E6A832D99592F1149 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___asn10, int32_t* ___anPos1, int32_t ___anLength2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_Decode_m94E3A6F94EDACE796521D04E6A832D99592F1149_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint8_t V_0 = 0x0;
int32_t V_1 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_2 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_3 = NULL;
int32_t V_4 = 0;
{
goto IL_0040;
}
IL_0002:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___asn10;
int32_t* L_1 = ___anPos1;
ASN1_DecodeTLV_m30440B1DE0A8C4236AA9658DEBF2808FD3BC00C3(__this, L_0, (int32_t*)L_1, (uint8_t*)(&V_0), (int32_t*)(&V_1), (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821**)(&V_2), /*hidden argument*/NULL);
uint8_t L_2 = V_0;
if (!L_2)
{
goto IL_0040;
}
}
{
uint8_t L_3 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = V_2;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_5 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(L_5, L_3, L_4, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_6 = ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(__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_003a;
}
}
{
int32_t* L_8 = ___anPos1;
int32_t L_9 = *((int32_t*)L_8);
V_4 = L_9;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ___asn10;
int32_t L_12 = V_4;
int32_t L_13 = V_1;
NullCheck(L_10);
ASN1_Decode_m94E3A6F94EDACE796521D04E6A832D99592F1149(L_10, L_11, (int32_t*)(&V_4), ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)L_13)), /*hidden argument*/NULL);
}
IL_003a:
{
int32_t* L_14 = ___anPos1;
int32_t* L_15 = ___anPos1;
int32_t L_16 = *((int32_t*)L_15);
int32_t L_17 = V_1;
*((int32_t*)L_14) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)L_17));
}
IL_0040:
{
int32_t* L_18 = ___anPos1;
int32_t L_19 = *((int32_t*)L_18);
int32_t L_20 = ___anLength2;
if ((((int32_t)L_19) < ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_20, (int32_t)1)))))
{
goto IL_0002;
}
}
{
return;
}
}
// System.Void Mono.Security.ASN1::DecodeTLV(System.Byte[],System.Int32&,System.Byte&,System.Int32&,System.Byte[]&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1_DecodeTLV_m30440B1DE0A8C4236AA9658DEBF2808FD3BC00C3 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___asn10, int32_t* ___pos1, uint8_t* ___tag2, int32_t* ___length3, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** ___content4, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_DecodeTLV_m30440B1DE0A8C4236AA9658DEBF2808FD3BC00C3_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_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___asn10;
int32_t* L_2 = ___pos1;
int32_t* L_3 = ___pos1;
int32_t L_4 = *((int32_t*)L_3);
V_0 = L_4;
int32_t L_5 = V_0;
*((int32_t*)L_2) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)1));
int32_t L_6 = V_0;
NullCheck(L_1);
int32_t L_7 = L_6;
uint8_t L_8 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
*((int8_t*)L_0) = (int8_t)L_8;
int32_t* L_9 = ___length3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = ___asn10;
int32_t* L_11 = ___pos1;
int32_t* L_12 = ___pos1;
int32_t L_13 = *((int32_t*)L_12);
V_0 = L_13;
int32_t L_14 = V_0;
*((int32_t*)L_11) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1));
int32_t L_15 = V_0;
NullCheck(L_10);
int32_t L_16 = L_15;
uint8_t L_17 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
*((int32_t*)L_9) = (int32_t)L_17;
int32_t* L_18 = ___length3;
int32_t L_19 = *((int32_t*)L_18);
if ((!(((uint32_t)((int32_t)((int32_t)L_19&(int32_t)((int32_t)128)))) == ((uint32_t)((int32_t)128)))))
{
goto IL_005a;
}
}
{
int32_t* L_20 = ___length3;
int32_t L_21 = *((int32_t*)L_20);
V_1 = ((int32_t)((int32_t)L_21&(int32_t)((int32_t)127)));
int32_t* L_22 = ___length3;
*((int32_t*)L_22) = (int32_t)0;
V_2 = 0;
goto IL_0056;
}
IL_003a:
{
int32_t* L_23 = ___length3;
int32_t* L_24 = ___length3;
int32_t L_25 = *((int32_t*)L_24);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = ___asn10;
int32_t* L_27 = ___pos1;
int32_t* L_28 = ___pos1;
int32_t L_29 = *((int32_t*)L_28);
V_0 = L_29;
int32_t L_30 = V_0;
*((int32_t*)L_27) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)1));
int32_t L_31 = V_0;
NullCheck(L_26);
int32_t L_32 = L_31;
uint8_t L_33 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_32));
*((int32_t*)L_23) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_25, (int32_t)((int32_t)256))), (int32_t)L_33));
int32_t L_34 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)1));
}
IL_0056:
{
int32_t L_35 = V_2;
int32_t L_36 = V_1;
if ((((int32_t)L_35) < ((int32_t)L_36)))
{
goto IL_003a;
}
}
IL_005a:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_37 = ___content4;
int32_t* L_38 = ___length3;
int32_t L_39 = *((int32_t*)L_38);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_40 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_39);
*((RuntimeObject **)L_37) = (RuntimeObject *)L_40;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_37, (void*)(RuntimeObject *)L_40);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_41 = ___asn10;
int32_t* L_42 = ___pos1;
int32_t L_43 = *((int32_t*)L_42);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_44 = ___content4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_45 = *((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821**)L_44);
int32_t* L_46 = ___length3;
int32_t L_47 = *((int32_t*)L_46);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_41, L_43, (RuntimeArray *)(RuntimeArray *)L_45, 0, L_47, /*hidden argument*/NULL);
return;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, int32_t ___index0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * 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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 3);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_0 = __this->get_elist_2();
if (!L_0)
{
goto IL_0016;
}
}
IL_0008:
{
int32_t L_1 = ___index0;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_2 = __this->get_elist_2();
NullCheck(L_2);
int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_2);
if ((((int32_t)L_1) < ((int32_t)L_3)))
{
goto IL_001a;
}
}
IL_0016:
{
V_0 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)NULL;
goto IL_0033;
}
IL_001a:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_4 = __this->get_elist_2();
int32_t L_5 = ___index0;
NullCheck(L_4);
RuntimeObject * L_6 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(22 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_4, L_5);
V_0 = ((ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)CastclassClass((RuntimeObject*)L_6, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var));
goto IL_0033;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_002e;
throw e;
}
CATCH_002e:
{ // begin catch(System.ArgumentOutOfRangeException)
V_0 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)NULL;
goto IL_0033;
} // end catch (depth: 1)
IL_0033:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_7 = V_0;
return L_7;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1::Element(System.Int32,System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ASN1_Element_m505373548BEE512211614D9CE56AE728959D188D (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, int32_t ___index0, uint8_t ___anTag1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_Element_m505373548BEE512211614D9CE56AE728959D188D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * 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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 4);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_0 = __this->get_elist_2();
if (!L_0)
{
goto IL_0016;
}
}
IL_0008:
{
int32_t L_1 = ___index0;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_2 = __this->get_elist_2();
NullCheck(L_2);
int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_2);
if ((((int32_t)L_1) < ((int32_t)L_3)))
{
goto IL_001a;
}
}
IL_0016:
{
V_1 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)NULL;
goto IL_0042;
}
IL_001a:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_4 = __this->get_elist_2();
int32_t L_5 = ___index0;
NullCheck(L_4);
RuntimeObject * L_6 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(22 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_4, L_5);
V_0 = ((ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)CastclassClass((RuntimeObject*)L_6, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var));
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_7 = V_0;
NullCheck(L_7);
uint8_t L_8 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_7, /*hidden argument*/NULL);
uint8_t L_9 = ___anTag1;
if ((!(((uint32_t)L_8) == ((uint32_t)L_9))))
{
goto IL_0039;
}
}
IL_0035:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = V_0;
V_1 = L_10;
goto IL_0042;
}
IL_0039:
{
V_1 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)NULL;
goto IL_0042;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_003d;
throw e;
}
CATCH_003d:
{ // begin catch(System.ArgumentOutOfRangeException)
V_1 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)NULL;
goto IL_0042;
} // end catch (depth: 1)
IL_0042:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_11 = V_1;
return L_11;
}
}
// System.String Mono.Security.ASN1::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ASN1_ToString_mF3953615856548F00889AD245391D09FBE782CBA (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1_ToString_mF3953615856548F00889AD245391D09FBE782CBA_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_mF928376F82E8C8FF3C11842C562DB8CF28B2735E(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_m5F54DEEC2138DAC5587E05890F97866DB78E75BA((uint8_t*)L_2, _stringLiteral9F792B61D0EC544D91E7AFF34E2E99EE3CF2B313, /*hidden argument*/NULL);
String_t* L_4 = Environment_get_NewLine_m5D4F4667FA5D1E2DBDD4DF9696D0CE76C83EF318(/*hidden argument*/NULL);
NullCheck(L_1);
StringBuilder_AppendFormat_m9DBA7709F546159ABC85BA341965305AB044D1B7(L_1, _stringLiteral39B60EC0BF180A7A4890DF6BD02AA732F75E8623, L_3, L_4, /*hidden argument*/NULL);
StringBuilder_t * L_5 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(__this, /*hidden argument*/NULL);
NullCheck(L_6);
int32_t L_7 = (((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length))));
RuntimeObject * L_8 = Box(Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var, &L_7);
String_t* L_9 = Environment_get_NewLine_m5D4F4667FA5D1E2DBDD4DF9696D0CE76C83EF318(/*hidden argument*/NULL);
NullCheck(L_5);
StringBuilder_AppendFormat_m9DBA7709F546159ABC85BA341965305AB044D1B7(L_5, _stringLiteral3E865F1099831286A154AA14FDC8362AFA6ED747, L_8, L_9, /*hidden argument*/NULL);
StringBuilder_t * L_10 = V_0;
NullCheck(L_10);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_10, _stringLiteral2688E219B0D8158D32CE2DAEA691150496F98C52, /*hidden argument*/NULL);
StringBuilder_t * L_11 = V_0;
String_t* L_12 = Environment_get_NewLine_m5D4F4667FA5D1E2DBDD4DF9696D0CE76C83EF318(/*hidden argument*/NULL);
NullCheck(L_11);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_11, L_12, /*hidden argument*/NULL);
V_1 = 0;
goto IL_00a0;
}
IL_0061:
{
StringBuilder_t * L_13 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(__this, /*hidden argument*/NULL);
int32_t L_15 = V_1;
NullCheck(L_14);
String_t* L_16 = Byte_ToString_m5F54DEEC2138DAC5587E05890F97866DB78E75BA((uint8_t*)((L_14)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_15))), _stringLiteral9F792B61D0EC544D91E7AFF34E2E99EE3CF2B313, /*hidden argument*/NULL);
NullCheck(L_13);
StringBuilder_AppendFormat_mFFABDE5D2413C5657E6411FC60C8C38E1674E09D(L_13, _stringLiteral06AF517C94435AF79F1AA0F48FD67AA3634AA2BE, 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_009c;
}
}
{
StringBuilder_t * L_18 = V_0;
String_t* L_19 = Environment_get_NewLine_m5D4F4667FA5D1E2DBDD4DF9696D0CE76C83EF318(/*hidden argument*/NULL);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_20 = Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_inline(/*hidden argument*/Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_RuntimeMethod_var);
NullCheck(L_18);
StringBuilder_AppendFormat_m23742FE1E3C60341F37C243EB6BEE06AE444C774(L_18, L_19, L_20, /*hidden argument*/NULL);
}
IL_009c:
{
int32_t L_21 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_21, (int32_t)1));
}
IL_00a0:
{
int32_t L_22 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(__this, /*hidden argument*/NULL);
NullCheck(L_23);
if ((((int32_t)L_22) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_23)->max_length)))))))
{
goto IL_0061;
}
}
{
StringBuilder_t * L_24 = V_0;
NullCheck(L_24);
String_t* L_25 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_24);
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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ASN1Convert_FromInt32_m59FF0922659B0A323026CCC0876BC33020C4FC9A (int32_t ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_FromInt32_m59FF0922659B0A323026CCC0876BC33020C4FC9A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
int32_t V_1 = 0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_2 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_3 = NULL;
{
int32_t L_0 = ___value0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = BitConverterLE_GetBytes_m1207548B6BC0E2D49DD06D5B3A3AC19C001BDB35(L_0, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = V_0;
Array_Reverse_TisByte_tF87C579059BD4633E6840EBBBEEF899C6E33EF07_m03D674052100D1E9D6214ADD31FE7E5F7E6788DA(L_2, /*hidden argument*/Array_Reverse_TisByte_tF87C579059BD4633E6840EBBBEEF899C6E33EF07_m03D674052100D1E9D6214ADD31FE7E5F7E6788DA_RuntimeMethod_var);
V_1 = 0;
goto IL_0015;
}
IL_0011:
{
int32_t L_3 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1));
}
IL_0015:
{
int32_t L_4 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = V_0;
NullCheck(L_5);
if ((((int32_t)L_4) >= ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_5)->max_length)))))))
{
goto IL_0020;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = V_0;
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
uint8_t L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
if (!L_9)
{
goto IL_0011;
}
}
IL_0020:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_10, (uint8_t)2, /*hidden argument*/NULL);
V_2 = L_10;
int32_t L_11 = V_1;
if (!L_11)
{
goto IL_0030;
}
}
{
int32_t L_12 = V_1;
if ((((int32_t)L_12) == ((int32_t)4)))
{
goto IL_0039;
}
}
{
goto IL_0047;
}
IL_0030:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_13 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = V_0;
NullCheck(L_13);
ASN1_set_Value_m225FF9AC03EA872809C7742070A34A264C58588E(L_13, L_14, /*hidden argument*/NULL);
goto IL_0063;
}
IL_0039:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_15 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)1);
NullCheck(L_15);
ASN1_set_Value_m225FF9AC03EA872809C7742070A34A264C58588E(L_15, L_16, /*hidden argument*/NULL);
goto IL_0063;
}
IL_0047:
{
int32_t L_17 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)4, (int32_t)L_17)));
V_3 = L_18;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_19 = V_0;
int32_t L_20 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = V_3;
NullCheck(L_22);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_19, L_20, (RuntimeArray *)(RuntimeArray *)L_21, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))), /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_23 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = V_3;
NullCheck(L_23);
ASN1_set_Value_m225FF9AC03EA872809C7742070A34A264C58588E(L_23, L_24, /*hidden argument*/NULL);
}
IL_0063:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_25 = V_2;
return L_25;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1Convert::FromOid(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462 (String_t* ___oid0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___oid0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral2118C8699C55066293A0E34341B9953F6C1811BD, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462_RuntimeMethod_var);
}
IL_000e:
{
String_t* L_2 = ___oid0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = CryptoConfig_EncodeOID_mEC2EB86D30669917D71AC194CD83281D1A67AC92(L_2, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_4 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA(L_4, L_3, /*hidden argument*/NULL);
return L_4;
}
}
// Mono.Security.ASN1 Mono.Security.ASN1Convert::FromUnsignedBigInteger(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___big0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_1 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___big0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral95C4BEA12E4EDCF8AAD730A222793324DC42C29D, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A_RuntimeMethod_var);
}
IL_000e:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___big0;
NullCheck(L_2);
int32_t L_3 = 0;
uint8_t L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
if ((((int32_t)L_4) < ((int32_t)((int32_t)128))))
{
goto IL_0034;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = ___big0;
NullCheck(L_5);
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_5)->max_length)))), (int32_t)1));
int32_t L_6 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_6);
V_1 = L_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = ___big0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = V_1;
int32_t L_10 = V_0;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_8, 0, (RuntimeArray *)(RuntimeArray *)L_9, 1, ((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)1)), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = V_1;
___big0 = L_11;
}
IL_0034:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ___big0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_13 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(L_13, (uint8_t)2, L_12, /*hidden argument*/NULL);
return L_13;
}
}
// System.Int32 Mono.Security.ASN1Convert::ToInt32(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ASN1Convert_ToInt32_mA2A8761F965979408D46FBEB946DB59F36137A5E (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___asn10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_ToInt32_mA2A8761F965979408D46FBEB946DB59F36137A5E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = ___asn10;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral9EDF4240018976BF964CF31C1A24D34FDE8D517D, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ASN1Convert_ToInt32_mA2A8761F965979408D46FBEB946DB59F36137A5E_RuntimeMethod_var);
}
IL_000e:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_2 = ___asn10;
NullCheck(L_2);
uint8_t L_3 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)2)))
{
goto IL_0022;
}
}
{
FormatException_t2808E076CDE4650AF89F55FD78F49290D0EC5BDC * L_4 = (FormatException_t2808E076CDE4650AF89F55FD78F49290D0EC5BDC *)il2cpp_codegen_object_new(FormatException_t2808E076CDE4650AF89F55FD78F49290D0EC5BDC_il2cpp_TypeInfo_var);
FormatException__ctor_m89167FF9884AE20232190FE9286DC50E146A4F14(L_4, _stringLiteralAA8170ABE1940ECECCB2A8C879187D7FB5C54A00, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, ASN1Convert_ToInt32_mA2A8761F965979408D46FBEB946DB59F36137A5E_RuntimeMethod_var);
}
IL_0022:
{
V_0 = 0;
V_1 = 0;
goto IL_0039;
}
IL_0028:
{
int32_t L_5 = V_0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_6 = ___asn10;
NullCheck(L_6);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_6, /*hidden argument*/NULL);
int32_t L_8 = V_1;
NullCheck(L_7);
int32_t L_9 = L_8;
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
V_0 = ((int32_t)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_0039:
{
int32_t L_12 = V_1;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_13 = ___asn10;
NullCheck(L_13);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_13, /*hidden argument*/NULL);
NullCheck(L_14);
if ((((int32_t)L_12) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length)))))))
{
goto IL_0028;
}
}
{
int32_t L_15 = V_0;
return L_15;
}
}
// System.String Mono.Security.ASN1Convert::ToOid(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___asn10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
StringBuilder_t * V_1 = NULL;
uint8_t V_2 = 0x0;
uint8_t V_3 = 0x0;
uint64_t V_4 = 0;
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = ___asn10;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral9EDF4240018976BF964CF31C1A24D34FDE8D517D, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A_RuntimeMethod_var);
}
IL_000e:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_2 = ___asn10;
NullCheck(L_2);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(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_mF928376F82E8C8FF3C11842C562DB8CF28B2735E(L_4, /*hidden argument*/NULL);
V_1 = L_4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = 0;
uint8_t L_7 = (L_5)->GetAt(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_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = V_0;
NullCheck(L_8);
int32_t L_9 = 0;
uint8_t L_10 = (L_8)->GetAt(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_003c;
}
}
{
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_003c:
{
StringBuilder_t * L_14 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_15 = CultureInfo_get_InvariantCulture_mF13B47F8A763CE6A9C8A8BB2EED33FF8F7A63A72(/*hidden argument*/NULL);
String_t* L_16 = Byte_ToString_m0E74FC03C86ECFB7B6639F93E224A1975374D8F7((uint8_t*)(&V_2), L_15, /*hidden argument*/NULL);
NullCheck(L_14);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_14, L_16, /*hidden argument*/NULL);
StringBuilder_t * L_17 = V_1;
NullCheck(L_17);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_17, _stringLiteral3A52CE780950D4D969792A2559CD519D7EE8C727, /*hidden argument*/NULL);
StringBuilder_t * L_18 = V_1;
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_19 = CultureInfo_get_InvariantCulture_mF13B47F8A763CE6A9C8A8BB2EED33FF8F7A63A72(/*hidden argument*/NULL);
String_t* L_20 = Byte_ToString_m0E74FC03C86ECFB7B6639F93E224A1975374D8F7((uint8_t*)(&V_3), L_19, /*hidden argument*/NULL);
NullCheck(L_18);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_18, L_20, /*hidden argument*/NULL);
V_4 = (((int64_t)((int64_t)0)));
V_2 = (uint8_t)1;
goto IL_00bd;
}
IL_0076:
{
uint64_t L_21 = V_4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = V_0;
uint8_t L_23 = V_2;
NullCheck(L_22);
uint8_t L_24 = L_23;
uint8_t L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
V_4 = ((int64_t)((int64_t)((int64_t)((int64_t)L_21<<(int32_t)7))|(int64_t)(((int64_t)((uint64_t)(((uint32_t)((uint32_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_25&(int32_t)((int32_t)127))))))))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = V_0;
uint8_t L_27 = V_2;
NullCheck(L_26);
uint8_t L_28 = L_27;
uint8_t L_29 = (L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
if ((((int32_t)((int32_t)((int32_t)L_29&(int32_t)((int32_t)128)))) == ((int32_t)((int32_t)128))))
{
goto IL_00b8;
}
}
{
StringBuilder_t * L_30 = V_1;
NullCheck(L_30);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_30, _stringLiteral3A52CE780950D4D969792A2559CD519D7EE8C727, /*hidden argument*/NULL);
StringBuilder_t * L_31 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_32 = CultureInfo_get_InvariantCulture_mF13B47F8A763CE6A9C8A8BB2EED33FF8F7A63A72(/*hidden argument*/NULL);
String_t* L_33 = UInt64_ToString_m6CBBC10ABBA0EE36F5E72F926A38F6CD7F497A55((uint64_t*)(&V_4), L_32, /*hidden argument*/NULL);
NullCheck(L_31);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_31, L_33, /*hidden argument*/NULL);
V_4 = (((int64_t)((int64_t)0)));
}
IL_00b8:
{
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_00bd:
{
uint8_t L_35 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = V_0;
NullCheck(L_36);
if ((((int32_t)L_35) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_36)->max_length)))))))
{
goto IL_0076;
}
}
{
StringBuilder_t * L_37 = V_1;
NullCheck(L_37);
String_t* L_38 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_37);
return L_38;
}
}
// System.DateTime Mono.Security.ASN1Convert::ToDateTime(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 ASN1Convert_ToDateTime_m94B39FD0657B85FB9AB61B04CAD71E759C9FE152 (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___time0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ASN1Convert_ToDateTime_m94B39FD0657B85FB9AB61B04CAD71E759C9FE152_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;
String_t* G_B13_0 = NULL;
int32_t G_B16_0 = 0;
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = ___time0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral714EEA0F4C980736BDE0065FE73F573487F08E3A, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ASN1Convert_ToDateTime_m94B39FD0657B85FB9AB61B04CAD71E759C9FE152_RuntimeMethod_var);
}
IL_000e:
{
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_2 = Encoding_get_ASCII_m9B673AE3152AB04D07CADE6E5E142C785B5BC94E(/*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_3 = ___time0;
NullCheck(L_3);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_3, /*hidden argument*/NULL);
NullCheck(L_2);
String_t* L_5 = VirtFuncInvoker1< String_t*, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(31 /* 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;
NullCheck(L_6);
int32_t L_7 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_6, /*hidden argument*/NULL);
V_2 = L_7;
int32_t L_8 = V_2;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)((int32_t)11))))
{
case 0:
{
goto IL_0052;
}
case 1:
{
goto IL_014b;
}
case 2:
{
goto IL_005d;
}
case 3:
{
goto IL_014b;
}
case 4:
{
goto IL_0098;
}
case 5:
{
goto IL_014b;
}
case 6:
{
goto IL_00a3;
}
}
}
{
goto IL_014b;
}
IL_0052:
{
V_1 = _stringLiteral2BE04202B2D8138F15F1395499FEF177AB024D48;
goto IL_014b;
}
IL_005d:
{
String_t* L_9 = V_0;
NullCheck(L_9);
String_t* L_10 = String_Substring_mB593C0A320C683E6E47EFFC0A12B7A465E5E43BB(L_9, 0, 2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_11 = CultureInfo_get_InvariantCulture_mF13B47F8A763CE6A9C8A8BB2EED33FF8F7A63A72(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Convert_t1C7A851BFB2F0782FD7F72F6AA1DCBB7B53A9C7E_il2cpp_TypeInfo_var);
int16_t L_12 = Convert_ToInt16_m4EE0839C08F0FDFBB7719B316D962B043F55589B(L_10, L_11, /*hidden argument*/NULL);
if ((((int32_t)L_12) < ((int32_t)((int32_t)50))))
{
goto IL_0081;
}
}
{
String_t* L_13 = V_0;
String_t* L_14 = String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE(_stringLiteralB3F0C7F6BB763AF1BE91D9E74EABFEB199DC1F1F, L_13, /*hidden argument*/NULL);
V_0 = L_14;
goto IL_008d;
}
IL_0081:
{
String_t* L_15 = V_0;
String_t* L_16 = String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE(_stringLiteral91032AD7BBCB6CF72875E8E8207DCFBA80173F7C, L_15, /*hidden argument*/NULL);
V_0 = L_16;
}
IL_008d:
{
V_1 = _stringLiteral853460A00D15719D672A944A8ACCF5FC35952846;
goto IL_014b;
}
IL_0098:
{
V_1 = _stringLiteral853460A00D15719D672A944A8ACCF5FC35952846;
goto IL_014b;
}
IL_00a3:
{
String_t* L_17 = V_0;
NullCheck(L_17);
String_t* L_18 = String_Substring_mB593C0A320C683E6E47EFFC0A12B7A465E5E43BB(L_17, 0, 2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_19 = CultureInfo_get_InvariantCulture_mF13B47F8A763CE6A9C8A8BB2EED33FF8F7A63A72(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Convert_t1C7A851BFB2F0782FD7F72F6AA1DCBB7B53A9C7E_il2cpp_TypeInfo_var);
int16_t L_20 = Convert_ToInt16_m4EE0839C08F0FDFBB7719B316D962B043F55589B(L_18, L_19, /*hidden argument*/NULL);
if ((((int32_t)L_20) >= ((int32_t)((int32_t)50))))
{
goto IL_00c0;
}
}
{
G_B13_0 = _stringLiteral91032AD7BBCB6CF72875E8E8207DCFBA80173F7C;
goto IL_00c5;
}
IL_00c0:
{
G_B13_0 = _stringLiteralB3F0C7F6BB763AF1BE91D9E74EABFEB199DC1F1F;
}
IL_00c5:
{
V_3 = G_B13_0;
String_t* L_21 = V_0;
NullCheck(L_21);
Il2CppChar L_22 = String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96(L_21, ((int32_t)12), /*hidden argument*/NULL);
if ((((int32_t)L_22) == ((int32_t)((int32_t)43))))
{
goto IL_00d6;
}
}
{
G_B16_0 = ((int32_t)43);
goto IL_00d8;
}
IL_00d6:
{
G_B16_0 = ((int32_t)45);
}
IL_00d8:
{
V_4 = G_B16_0;
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_23 = (ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A*)SZArrayNew(ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A_il2cpp_TypeInfo_var, (uint32_t)7);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_24 = L_23;
String_t* L_25 = V_3;
NullCheck(L_24);
ArrayElementTypeCheck (L_24, L_25);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_25);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_26 = L_24;
String_t* L_27 = V_0;
NullCheck(L_27);
String_t* L_28 = String_Substring_mB593C0A320C683E6E47EFFC0A12B7A465E5E43BB(L_27, 0, ((int32_t)12), /*hidden argument*/NULL);
NullCheck(L_26);
ArrayElementTypeCheck (L_26, L_28);
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(1), (RuntimeObject *)L_28);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_29 = L_26;
Il2CppChar L_30 = V_4;
Il2CppChar L_31 = L_30;
RuntimeObject * L_32 = Box(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_il2cpp_TypeInfo_var, &L_31);
NullCheck(L_29);
ArrayElementTypeCheck (L_29, L_32);
(L_29)->SetAt(static_cast<il2cpp_array_size_t>(2), (RuntimeObject *)L_32);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_33 = L_29;
String_t* L_34 = V_0;
NullCheck(L_34);
Il2CppChar L_35 = String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96(L_34, ((int32_t)13), /*hidden argument*/NULL);
Il2CppChar L_36 = L_35;
RuntimeObject * L_37 = Box(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_il2cpp_TypeInfo_var, &L_36);
NullCheck(L_33);
ArrayElementTypeCheck (L_33, L_37);
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(3), (RuntimeObject *)L_37);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_38 = L_33;
String_t* L_39 = V_0;
NullCheck(L_39);
Il2CppChar L_40 = String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96(L_39, ((int32_t)14), /*hidden argument*/NULL);
Il2CppChar L_41 = L_40;
RuntimeObject * L_42 = Box(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_il2cpp_TypeInfo_var, &L_41);
NullCheck(L_38);
ArrayElementTypeCheck (L_38, L_42);
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(4), (RuntimeObject *)L_42);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_43 = L_38;
String_t* L_44 = V_0;
NullCheck(L_44);
Il2CppChar L_45 = String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96(L_44, ((int32_t)15), /*hidden argument*/NULL);
Il2CppChar L_46 = L_45;
RuntimeObject * L_47 = Box(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_il2cpp_TypeInfo_var, &L_46);
NullCheck(L_43);
ArrayElementTypeCheck (L_43, L_47);
(L_43)->SetAt(static_cast<il2cpp_array_size_t>(5), (RuntimeObject *)L_47);
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_48 = L_43;
String_t* L_49 = V_0;
NullCheck(L_49);
Il2CppChar L_50 = String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96(L_49, ((int32_t)16), /*hidden argument*/NULL);
Il2CppChar L_51 = L_50;
RuntimeObject * L_52 = Box(Char_tBF22D9FC341BE970735250BB6FF1A4A92BBA58B9_il2cpp_TypeInfo_var, &L_51);
NullCheck(L_48);
ArrayElementTypeCheck (L_48, L_52);
(L_48)->SetAt(static_cast<il2cpp_array_size_t>(6), (RuntimeObject *)L_52);
String_t* L_53 = String_Format_mA3AC3FE7B23D97F3A5BAA082D25B0E01B341A865(_stringLiteral1C0FFB44A6993F53413B227FCD6BE6E7653BD3C7, L_48, /*hidden argument*/NULL);
V_0 = L_53;
V_1 = _stringLiteral64348CB249149F4396EB7FB17C2F5706D32D8138;
}
IL_014b:
{
String_t* L_54 = V_0;
String_t* L_55 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_56 = CultureInfo_get_InvariantCulture_mF13B47F8A763CE6A9C8A8BB2EED33FF8F7A63A72(/*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_57 = DateTime_ParseExact_mF45E615EBCC82CA967D4BC7838EE570508D0F97F(L_54, L_55, L_56, ((int32_t)16), /*hidden argument*/NULL);
return L_57;
}
}
#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*)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* BitConverterLE_GetUIntBytes_m871281C3039A5B7DFB56E0F3EBBE22F74135997C (uint8_t* ___bytes0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BitConverterLE_GetUIntBytes_m871281C3039A5B7DFB56E0F3EBBE22F74135997C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var);
bool L_0 = ((BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_StaticFields*)il2cpp_codegen_static_fields_for(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var))->get_IsLittleEndian_0();
if (!L_0)
{
goto IL_0028;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)4);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = L_1;
uint8_t* L_3 = ___bytes0;
int32_t L_4 = *((uint8_t*)L_3);
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_4);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = L_2;
uint8_t* L_6 = ___bytes0;
int32_t L_7 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_6, (int32_t)1)));
NullCheck(L_5);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)L_7);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = L_5;
uint8_t* L_9 = ___bytes0;
int32_t L_10 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_9, (int32_t)2)));
NullCheck(L_8);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)L_10);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = L_8;
uint8_t* L_12 = ___bytes0;
int32_t L_13 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_12, (int32_t)3)));
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)L_13);
return L_11;
}
IL_0028:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)4);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = L_14;
uint8_t* L_16 = ___bytes0;
int32_t L_17 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_16, (int32_t)3)));
NullCheck(L_15);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_17);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = L_15;
uint8_t* L_19 = ___bytes0;
int32_t L_20 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_19, (int32_t)2)));
NullCheck(L_18);
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)L_20);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = L_18;
uint8_t* L_22 = ___bytes0;
int32_t L_23 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_22, (int32_t)1)));
NullCheck(L_21);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)L_23);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = L_21;
uint8_t* L_25 = ___bytes0;
int32_t L_26 = *((uint8_t*)L_25);
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)L_26);
return L_24;
}
}
// System.Byte[] Mono.Security.BitConverterLE::GetULongBytes(System.Byte*)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* BitConverterLE_GetULongBytes_mCBAC987169706D10F05AFF42559A4EA1D88E1876 (uint8_t* ___bytes0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BitConverterLE_GetULongBytes_mCBAC987169706D10F05AFF42559A4EA1D88E1876_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var);
bool L_0 = ((BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_StaticFields*)il2cpp_codegen_static_fields_for(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var))->get_IsLittleEndian_0();
if (!L_0)
{
goto IL_0044;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = L_1;
uint8_t* L_3 = ___bytes0;
int32_t L_4 = *((uint8_t*)L_3);
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_4);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = L_2;
uint8_t* L_6 = ___bytes0;
int32_t L_7 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_6, (int32_t)1)));
NullCheck(L_5);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)L_7);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = L_5;
uint8_t* L_9 = ___bytes0;
int32_t L_10 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_9, (int32_t)2)));
NullCheck(L_8);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)L_10);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = L_8;
uint8_t* L_12 = ___bytes0;
int32_t L_13 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_12, (int32_t)3)));
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)L_13);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = L_11;
uint8_t* L_15 = ___bytes0;
int32_t L_16 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_15, (int32_t)4)));
NullCheck(L_14);
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(4), (uint8_t)L_16);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = L_14;
uint8_t* L_18 = ___bytes0;
int32_t L_19 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_18, (int32_t)5)));
NullCheck(L_17);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(5), (uint8_t)L_19);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = L_17;
uint8_t* L_21 = ___bytes0;
int32_t L_22 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_21, (int32_t)6)));
NullCheck(L_20);
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(6), (uint8_t)L_22);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = L_20;
uint8_t* L_24 = ___bytes0;
int32_t L_25 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_24, (int32_t)7)));
NullCheck(L_23);
(L_23)->SetAt(static_cast<il2cpp_array_size_t>(7), (uint8_t)L_25);
return L_23;
}
IL_0044:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_27 = L_26;
uint8_t* L_28 = ___bytes0;
int32_t L_29 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_28, (int32_t)7)));
NullCheck(L_27);
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_29);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_30 = L_27;
uint8_t* L_31 = ___bytes0;
int32_t L_32 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_31, (int32_t)6)));
NullCheck(L_30);
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)L_32);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_33 = L_30;
uint8_t* L_34 = ___bytes0;
int32_t L_35 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_34, (int32_t)5)));
NullCheck(L_33);
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)L_35);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = L_33;
uint8_t* L_37 = ___bytes0;
int32_t L_38 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_37, (int32_t)4)));
NullCheck(L_36);
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)L_38);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_39 = L_36;
uint8_t* L_40 = ___bytes0;
int32_t L_41 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_40, (int32_t)3)));
NullCheck(L_39);
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(4), (uint8_t)L_41);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_42 = L_39;
uint8_t* L_43 = ___bytes0;
int32_t L_44 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_43, (int32_t)2)));
NullCheck(L_42);
(L_42)->SetAt(static_cast<il2cpp_array_size_t>(5), (uint8_t)L_44);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_45 = L_42;
uint8_t* L_46 = ___bytes0;
int32_t L_47 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_46, (int32_t)1)));
NullCheck(L_45);
(L_45)->SetAt(static_cast<il2cpp_array_size_t>(6), (uint8_t)L_47);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_48 = L_45;
uint8_t* L_49 = ___bytes0;
int32_t L_50 = *((uint8_t*)L_49);
NullCheck(L_48);
(L_48)->SetAt(static_cast<il2cpp_array_size_t>(7), (uint8_t)L_50);
return L_48;
}
}
// System.Byte[] Mono.Security.BitConverterLE::GetBytes(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* BitConverterLE_GetBytes_m1207548B6BC0E2D49DD06D5B3A3AC19C001BDB35 (int32_t ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = BitConverterLE_GetUIntBytes_m871281C3039A5B7DFB56E0F3EBBE22F74135997C((uint8_t*)(uint8_t*)(((uintptr_t)(&___value0))), /*hidden argument*/NULL);
return L_0;
}
}
// System.Byte[] Mono.Security.BitConverterLE::GetBytes(System.Int64)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* BitConverterLE_GetBytes_m8B2BFEBCB4830C010E4572C925AE3C3A3CC14031 (int64_t ___value0, const RuntimeMethod* method)
{
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = BitConverterLE_GetULongBytes_mCBAC987169706D10F05AFF42559A4EA1D88E1876((uint8_t*)(uint8_t*)(((uintptr_t)(&___value0))), /*hidden argument*/NULL);
return L_0;
}
}
// System.Void Mono.Security.BitConverterLE::UShortFromBytes(System.Byte*,System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BitConverterLE_UShortFromBytes_mBC051D16FFC95E9695F110AFDEAB018BD76F84A9 (uint8_t* ___dst0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___src1, int32_t ___startIndex2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BitConverterLE_UShortFromBytes_mBC051D16FFC95E9695F110AFDEAB018BD76F84A9_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var);
bool L_0 = ((BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_StaticFields*)il2cpp_codegen_static_fields_for(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var))->get_IsLittleEndian_0();
if (!L_0)
{
goto IL_0016;
}
}
{
uint8_t* L_1 = ___dst0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___src1;
int32_t L_3 = ___startIndex2;
NullCheck(L_2);
int32_t L_4 = L_3;
uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
*((int8_t*)L_1) = (int8_t)L_5;
uint8_t* L_6 = ___dst0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___src1;
int32_t L_8 = ___startIndex2;
NullCheck(L_7);
int32_t L_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
*((int8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_6, (int32_t)1))) = (int8_t)L_10;
return;
}
IL_0016:
{
uint8_t* L_11 = ___dst0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ___src1;
int32_t L_13 = ___startIndex2;
NullCheck(L_12);
int32_t L_14 = ((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
uint8_t L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
*((int8_t*)L_11) = (int8_t)L_15;
uint8_t* L_16 = ___dst0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = ___src1;
int32_t L_18 = ___startIndex2;
NullCheck(L_17);
int32_t L_19 = L_18;
uint8_t L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
*((int8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_16, (int32_t)1))) = (int8_t)L_20;
return;
}
}
// System.Void Mono.Security.BitConverterLE::UIntFromBytes(System.Byte*,System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BitConverterLE_UIntFromBytes_m91E16C3362E794444D849A4AD5B9F746BF2A4FCB (uint8_t* ___dst0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___src1, int32_t ___startIndex2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (BitConverterLE_UIntFromBytes_m91E16C3362E794444D849A4AD5B9F746BF2A4FCB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var);
bool L_0 = ((BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_StaticFields*)il2cpp_codegen_static_fields_for(BitConverter_tD5DF1CB5C5A5CB087D90BD881C8E75A332E546EE_il2cpp_TypeInfo_var))->get_IsLittleEndian_0();
if (!L_0)
{
goto IL_0028;
}
}
{
uint8_t* L_1 = ___dst0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___src1;
int32_t L_3 = ___startIndex2;
NullCheck(L_2);
int32_t L_4 = L_3;
uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
*((int8_t*)L_1) = (int8_t)L_5;
uint8_t* L_6 = ___dst0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___src1;
int32_t L_8 = ___startIndex2;
NullCheck(L_7);
int32_t L_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
*((int8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_6, (int32_t)1))) = (int8_t)L_10;
uint8_t* L_11 = ___dst0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ___src1;
int32_t L_13 = ___startIndex2;
NullCheck(L_12);
int32_t L_14 = ((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)2));
uint8_t L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
*((int8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_11, (int32_t)2))) = (int8_t)L_15;
uint8_t* L_16 = ___dst0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = ___src1;
int32_t L_18 = ___startIndex2;
NullCheck(L_17);
int32_t L_19 = ((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)3));
uint8_t L_20 = (L_17)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
*((int8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_16, (int32_t)3))) = (int8_t)L_20;
return;
}
IL_0028:
{
uint8_t* L_21 = ___dst0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = ___src1;
int32_t L_23 = ___startIndex2;
NullCheck(L_22);
int32_t L_24 = ((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)3));
uint8_t L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
*((int8_t*)L_21) = (int8_t)L_25;
uint8_t* L_26 = ___dst0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_27 = ___src1;
int32_t L_28 = ___startIndex2;
NullCheck(L_27);
int32_t L_29 = ((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)2));
uint8_t L_30 = (L_27)->GetAt(static_cast<il2cpp_array_size_t>(L_29));
*((int8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_26, (int32_t)1))) = (int8_t)L_30;
uint8_t* L_31 = ___dst0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_32 = ___src1;
int32_t L_33 = ___startIndex2;
NullCheck(L_32);
int32_t L_34 = ((int32_t)il2cpp_codegen_add((int32_t)L_33, (int32_t)1));
uint8_t L_35 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_34));
*((int8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_31, (int32_t)2))) = (int8_t)L_35;
uint8_t* L_36 = ___dst0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_37 = ___src1;
int32_t L_38 = ___startIndex2;
NullCheck(L_37);
int32_t L_39 = L_38;
uint8_t L_40 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_39));
*((int8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_36, (int32_t)3))) = (int8_t)L_40;
return;
}
}
// System.UInt16 Mono.Security.BitConverterLE::ToUInt16(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint16_t BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, int32_t ___startIndex1, const RuntimeMethod* method)
{
uint16_t V_0 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___value0;
int32_t L_1 = ___startIndex1;
BitConverterLE_UShortFromBytes_mBC051D16FFC95E9695F110AFDEAB018BD76F84A9((uint8_t*)(uint8_t*)(((uintptr_t)(&V_0))), L_0, L_1, /*hidden argument*/NULL);
uint16_t L_2 = V_0;
return L_2;
}
}
// System.UInt32 Mono.Security.BitConverterLE::ToUInt32(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t BitConverterLE_ToUInt32_m898E287439DDB0A31E4E39FF83DD032B1C43FA26 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, int32_t ___startIndex1, const RuntimeMethod* method)
{
uint32_t V_0 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___value0;
int32_t L_1 = ___startIndex1;
BitConverterLE_UIntFromBytes_m91E16C3362E794444D849A4AD5B9F746BF2A4FCB((uint8_t*)(uint8_t*)(((uintptr_t)(&V_0))), L_0, L_1, /*hidden argument*/NULL);
uint32_t L_2 = V_0;
return L_2;
}
}
#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[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* CryptoConvert_ToHex_m2FB6183AFF3B31424407BB7D767A844E3464B411 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___input0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CryptoConvert_ToHex_m2FB6183AFF3B31424407BB7D767A844E3464B411_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_1 = NULL;
int32_t V_2 = 0;
uint8_t V_3 = 0x0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___input0;
if (L_0)
{
goto IL_0005;
}
}
{
return (String_t*)NULL;
}
IL_0005:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___input0;
NullCheck(L_1);
StringBuilder_t * L_2 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m1C0F2D97B838537A2D0F64033AE4EF02D150A956(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_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ___input0;
V_1 = L_3;
V_2 = 0;
goto IL_0036;
}
IL_0016:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = V_1;
int32_t L_5 = V_2;
NullCheck(L_4);
int32_t L_6 = L_5;
uint8_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
V_3 = L_7;
StringBuilder_t * L_8 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_9 = CultureInfo_get_InvariantCulture_mF13B47F8A763CE6A9C8A8BB2EED33FF8F7A63A72(/*hidden argument*/NULL);
String_t* L_10 = Byte_ToString_m731FDB27391432D7F14B6769B5D0A3E248803D25((uint8_t*)(&V_3), _stringLiteral9F792B61D0EC544D91E7AFF34E2E99EE3CF2B313, L_9, /*hidden argument*/NULL);
NullCheck(L_8);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_8, L_10, /*hidden argument*/NULL);
int32_t L_11 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_11, (int32_t)1));
}
IL_0036:
{
int32_t L_12 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = V_1;
NullCheck(L_13);
if ((((int32_t)L_12) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))))))
{
goto IL_0016;
}
}
{
StringBuilder_t * L_14 = V_0;
NullCheck(L_14);
String_t* L_15 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_14);
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.MD2::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD2__ctor_mE62E9B3FF536BF5CF083EFBBE0CFAF4BD62FA0C0 (MD2_tCAAEC1A28A3D0B9E8810B27E4840BEA399619442 * __this, const RuntimeMethod* method)
{
{
HashAlgorithm__ctor_mC0C923AB8904FC11889F63B39177507FBB35AA43(__this, /*hidden argument*/NULL);
((HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA *)__this)->set_HashSizeValue_0(((int32_t)128));
return;
}
}
// Mono.Security.Cryptography.MD2 Mono.Security.Cryptography.MD2::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MD2_tCAAEC1A28A3D0B9E8810B27E4840BEA399619442 * MD2_Create_mF375441B9B1B701ECE73B9B51AFE4E3ADDE6E02F (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2_Create_mF375441B9B1B701ECE73B9B51AFE4E3ADDE6E02F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC * L_0 = (MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC *)il2cpp_codegen_object_new(MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC_il2cpp_TypeInfo_var);
MD2Managed__ctor_mB717463E13F068948687F8EE38041CA6087E6FCA(L_0, /*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.Byte[] Mono.Security.Cryptography.MD2Managed::Padding(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* MD2Managed_Padding_m3EB6A24F9144B480408240A0885F55C9BD0B47B1 (MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC * __this, int32_t ___nLength0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2Managed_Padding_m3EB6A24F9144B480408240A0885F55C9BD0B47B1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
int32_t V_1 = 0;
{
int32_t L_0 = ___nLength0;
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0020;
}
}
{
int32_t L_1 = ___nLength0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_1);
V_0 = L_2;
V_1 = 0;
goto IL_0018;
}
IL_000f:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = V_0;
int32_t L_4 = V_1;
int32_t L_5 = ___nLength0;
NullCheck(L_3);
(L_3)->SetAt(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_0018:
{
int32_t L_7 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = V_0;
NullCheck(L_8);
if ((((int32_t)L_7) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))))))
{
goto IL_000f;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = V_0;
return L_9;
}
IL_0020:
{
return (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)NULL;
}
}
// System.Void Mono.Security.Cryptography.MD2Managed::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD2Managed__ctor_mB717463E13F068948687F8EE38041CA6087E6FCA (MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2Managed__ctor_mB717463E13F068948687F8EE38041CA6087E6FCA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MD2__ctor_mE62E9B3FF536BF5CF083EFBBE0CFAF4BD62FA0C0(__this, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
__this->set_state_4(L_0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
__this->set_checksum_5(L_1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
__this->set_buffer_6(L_2);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)48));
__this->set_x_8(L_3);
VirtActionInvoker0::Invoke(16 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, __this);
return;
}
}
// System.Void Mono.Security.Cryptography.MD2Managed::Initialize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD2Managed_Initialize_m237CBCA36A820C9CA42E6E50E637405388236644 (MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC * __this, const RuntimeMethod* method)
{
{
__this->set_count_7(0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get_state_4();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_0, 0, ((int32_t)16), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = __this->get_checksum_5();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, 0, ((int32_t)16), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = __this->get_buffer_6();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_2, 0, ((int32_t)16), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = __this->get_x_8();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD2Managed_HashCore_m3A2BD8F0CE3D25C498F3D640B71B0F8ED681A1FB (MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___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_006e;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ___array0;
int32_t L_7 = ___ibStart1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = __this->get_buffer_6();
int32_t L_9 = V_1;
int32_t L_10 = V_2;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_6, L_7, (RuntimeArray *)(RuntimeArray *)L_8, L_9, L_10, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = __this->get_state_4();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = __this->get_checksum_5();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = __this->get_buffer_6();
MD2Managed_MD2Transform_m95099D1A3DB46EA112FF62C9A585D947C7FD4C23(__this, L_11, L_12, L_13, 0, /*hidden argument*/NULL);
int32_t L_14 = V_2;
V_0 = L_14;
goto IL_0063;
}
IL_0048:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = __this->get_state_4();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = __this->get_checksum_5();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = ___array0;
int32_t L_18 = ___ibStart1;
int32_t L_19 = V_0;
MD2Managed_MD2Transform_m95099D1A3DB46EA112FF62C9A585D947C7FD4C23(__this, L_15, L_16, L_17, ((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)L_19)), /*hidden argument*/NULL);
int32_t L_20 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)((int32_t)16)));
}
IL_0063:
{
int32_t L_21 = V_0;
int32_t L_22 = ___cbSize2;
if ((((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_21, (int32_t)((int32_t)15)))) < ((int32_t)L_22)))
{
goto IL_0048;
}
}
{
V_1 = 0;
goto IL_0070;
}
IL_006e:
{
V_0 = 0;
}
IL_0070:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = ___array0;
int32_t L_24 = ___ibStart1;
int32_t L_25 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = __this->get_buffer_6();
int32_t L_27 = V_1;
int32_t L_28 = ___cbSize2;
int32_t L_29 = V_0;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_23, ((int32_t)il2cpp_codegen_add((int32_t)L_24, (int32_t)L_25)), (RuntimeArray *)(RuntimeArray *)L_26, L_27, ((int32_t)il2cpp_codegen_subtract((int32_t)L_28, (int32_t)L_29)), /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.MD2Managed::HashFinal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* MD2Managed_HashFinal_m8840B1788737936945402AA9D19E14033ECA61EC (MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2Managed_HashFinal_m8840B1788737936945402AA9D19E14033ECA61EC_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
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_001f;
}
}
{
int32_t L_3 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = MD2Managed_Padding_m3EB6A24F9144B480408240A0885F55C9BD0B47B1(__this, L_3, /*hidden argument*/NULL);
int32_t L_5 = V_1;
VirtActionInvoker3< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.HashAlgorithm::HashCore(System.Byte[],System.Int32,System.Int32) */, __this, L_4, 0, L_5);
}
IL_001f:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = __this->get_checksum_5();
VirtActionInvoker3< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.HashAlgorithm::HashCore(System.Byte[],System.Int32,System.Int32) */, __this, L_6, 0, ((int32_t)16));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = __this->get_state_4();
NullCheck((RuntimeArray *)(RuntimeArray *)L_7);
RuntimeObject * L_8 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_7, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(16 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, __this);
return ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_8, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Security.Cryptography.MD2Managed::MD2Transform(System.Byte[],System.Byte[],System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD2Managed_MD2Transform_m95099D1A3DB46EA112FF62C9A585D947C7FD4C23 (MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___state0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___checksum1, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___block2, int32_t ___index3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2Managed_MD2Transform_m95099D1A3DB46EA112FF62C9A585D947C7FD4C23_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
uint8_t V_4 = 0x0;
int32_t V_5 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___state0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = __this->get_x_8();
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_0, 0, (RuntimeArray *)(RuntimeArray *)L_1, 0, ((int32_t)16), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___block2;
int32_t L_3 = ___index3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = __this->get_x_8();
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_2, L_3, (RuntimeArray *)(RuntimeArray *)L_4, ((int32_t)16), ((int32_t)16), /*hidden argument*/NULL);
V_1 = 0;
goto IL_0040;
}
IL_0026:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = __this->get_x_8();
int32_t L_6 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___state0;
int32_t L_8 = V_1;
NullCheck(L_7);
int32_t L_9 = L_8;
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ___block2;
int32_t L_12 = ___index3;
int32_t L_13 = V_1;
NullCheck(L_11);
int32_t L_14 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)L_13));
uint8_t L_15 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
NullCheck(L_5);
(L_5)->SetAt(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_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_0040:
{
int32_t L_17 = V_1;
if ((((int32_t)L_17) < ((int32_t)((int32_t)16))))
{
goto IL_0026;
}
}
{
V_0 = 0;
V_2 = 0;
goto IL_0084;
}
IL_004b:
{
V_3 = 0;
goto IL_0071;
}
IL_004f:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = __this->get_x_8();
int32_t L_19 = V_3;
NullCheck(L_18);
uint8_t* L_20 = ((L_18)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_19)));
int32_t L_21 = *((uint8_t*)L_20);
IL2CPP_RUNTIME_CLASS_INIT(MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = ((MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC_StaticFields*)il2cpp_codegen_static_fields_for(MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC_il2cpp_TypeInfo_var))->get_PI_SUBST_9();
int32_t L_23 = V_0;
NullCheck(L_22);
int32_t L_24 = L_23;
uint8_t L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
int32_t L_26 = (((int32_t)((uint8_t)((int32_t)((int32_t)L_21^(int32_t)L_25)))));
V_4 = (uint8_t)L_26;
*((int8_t*)L_20) = (int8_t)L_26;
uint8_t L_27 = V_4;
V_0 = L_27;
int32_t L_28 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_28, (int32_t)1));
}
IL_0071:
{
int32_t L_29 = V_3;
if ((((int32_t)L_29) < ((int32_t)((int32_t)48))))
{
goto IL_004f;
}
}
{
int32_t L_30 = V_0;
int32_t L_31 = V_2;
V_0 = ((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)L_31))&(int32_t)((int32_t)255)));
int32_t L_32 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_32, (int32_t)1));
}
IL_0084:
{
int32_t L_33 = V_2;
if ((((int32_t)L_33) < ((int32_t)((int32_t)18))))
{
goto IL_004b;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_34 = __this->get_x_8();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_35 = ___state0;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_34, 0, (RuntimeArray *)(RuntimeArray *)L_35, 0, ((int32_t)16), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = ___checksum1;
NullCheck(L_36);
int32_t L_37 = ((int32_t)15);
uint8_t L_38 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
V_0 = L_38;
V_5 = 0;
goto IL_00cb;
}
IL_00a3:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_39 = ___checksum1;
int32_t L_40 = V_5;
NullCheck(L_39);
uint8_t* L_41 = ((L_39)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_40)));
int32_t L_42 = *((uint8_t*)L_41);
IL2CPP_RUNTIME_CLASS_INIT(MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_43 = ((MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC_StaticFields*)il2cpp_codegen_static_fields_for(MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC_il2cpp_TypeInfo_var))->get_PI_SUBST_9();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_44 = ___block2;
int32_t L_45 = ___index3;
int32_t L_46 = V_5;
NullCheck(L_44);
int32_t L_47 = ((int32_t)il2cpp_codegen_add((int32_t)L_45, (int32_t)L_46));
uint8_t L_48 = (L_44)->GetAt(static_cast<il2cpp_array_size_t>(L_47));
int32_t L_49 = V_0;
NullCheck(L_43);
int32_t L_50 = ((int32_t)((int32_t)L_48^(int32_t)L_49));
uint8_t L_51 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
int32_t L_52 = (((int32_t)((uint8_t)((int32_t)((int32_t)L_42^(int32_t)L_51)))));
V_4 = (uint8_t)L_52;
*((int8_t*)L_41) = (int8_t)L_52;
uint8_t L_53 = V_4;
V_0 = L_53;
int32_t L_54 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_54, (int32_t)1));
}
IL_00cb:
{
int32_t L_55 = V_5;
if ((((int32_t)L_55) < ((int32_t)((int32_t)16))))
{
goto IL_00a3;
}
}
{
return;
}
}
// System.Void Mono.Security.Cryptography.MD2Managed::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD2Managed__cctor_mFCD964B61C39F08BCF87A5CA5C9D04364FA0715E (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD2Managed__cctor_mFCD964B61C39F08BCF87A5CA5C9D04364FA0715E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)256));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = L_0;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____D2C5BAE967587C6F3D9F2C4551911E0575A1101F_24_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC_StaticFields*)il2cpp_codegen_static_fields_for(MD2Managed_t6867DBAD1BDCC846BE478BABC2D5DBAFFC7495EC_il2cpp_TypeInfo_var))->set_PI_SUBST_9(L_1);
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()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4__ctor_m6AD2F7EC5132898B34FA52CB4EAB9A82F0FEFF59 (MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * __this, const RuntimeMethod* method)
{
{
HashAlgorithm__ctor_mC0C923AB8904FC11889F63B39177507FBB35AA43(__this, /*hidden argument*/NULL);
((HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA *)__this)->set_HashSizeValue_0(((int32_t)128));
return;
}
}
// Mono.Security.Cryptography.MD4 Mono.Security.Cryptography.MD4::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * MD4_Create_m2D436A4CC284704A7DA0EEF4C4D5860F69D0BB93 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD4_Create_m2D436A4CC284704A7DA0EEF4C4D5860F69D0BB93_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * L_0 = (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 *)il2cpp_codegen_object_new(MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1_il2cpp_TypeInfo_var);
MD4Managed__ctor_mDB4352DBB43112E1DF337DF241A3E25435C2C3C5(L_0, /*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.MD4Managed::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed__ctor_mDB4352DBB43112E1DF337DF241A3E25435C2C3C5 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD4Managed__ctor_mDB4352DBB43112E1DF337DF241A3E25435C2C3C5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MD4__ctor_m6AD2F7EC5132898B34FA52CB4EAB9A82F0FEFF59(__this, /*hidden argument*/NULL);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB_il2cpp_TypeInfo_var, (uint32_t)4);
__this->set_state_4(L_0);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB_il2cpp_TypeInfo_var, (uint32_t)2);
__this->set_count_6(L_1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64));
__this->set_buffer_5(L_2);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
__this->set_digest_8(L_3);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_4 = (UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB*)SZArrayNew(UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
__this->set_x_7(L_4);
VirtActionInvoker0::Invoke(16 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, __this);
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::Initialize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_Initialize_m40CDDA70F2946B6B942EB66BE77D5AC25AEC56EB (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, const RuntimeMethod* method)
{
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = __this->get_count_6();
NullCheck(L_0);
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint32_t)0);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = __this->get_count_6();
NullCheck(L_1);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint32_t)0);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = __this->get_state_4();
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint32_t)((int32_t)1732584193));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = __this->get_state_4();
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint32_t)((int32_t)-271733879));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_4 = __this->get_state_4();
NullCheck(L_4);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint32_t)((int32_t)-1732584194));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_5 = __this->get_state_4();
NullCheck(L_5);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint32_t)((int32_t)271733878));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = __this->get_buffer_5();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_6, 0, ((int32_t)64), /*hidden argument*/NULL);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_7 = __this->get_x_7();
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_HashCore_mB3D2B92E80F6D0D1EEE5F41F2DB21F7A88DC41AB (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = __this->get_count_6();
NullCheck(L_0);
int32_t L_1 = 0;
uint32_t L_2 = (L_0)->GetAt(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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = __this->get_count_6();
NullCheck(L_3);
uint32_t* L_4 = ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)));
int32_t L_5 = *((uint32_t*)L_4);
int32_t L_6 = ___cbSize2;
*((int32_t*)L_4) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)((int32_t)((int32_t)L_6<<(int32_t)3))));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_7 = __this->get_count_6();
NullCheck(L_7);
int32_t L_8 = 0;
uint32_t L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
int32_t L_10 = ___cbSize2;
if ((((int64_t)(((int64_t)((uint64_t)L_9)))) >= ((int64_t)(((int64_t)((int64_t)((int32_t)((int32_t)L_10<<(int32_t)3))))))))
{
goto IL_0041;
}
}
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_11 = __this->get_count_6();
NullCheck(L_11);
uint32_t* L_12 = ((L_11)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)));
int32_t L_13 = *((uint32_t*)L_12);
*((int32_t*)L_12) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
}
IL_0041:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_14 = __this->get_count_6();
NullCheck(L_14);
uint32_t* L_15 = ((L_14)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)));
int32_t L_16 = *((uint32_t*)L_15);
int32_t L_17 = ___cbSize2;
*((int32_t*)L_15) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)((int32_t)((int32_t)L_17>>(int32_t)((int32_t)29)))));
int32_t L_18 = V_0;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)64), (int32_t)L_18));
V_2 = 0;
int32_t L_19 = ___cbSize2;
int32_t L_20 = V_1;
if ((((int32_t)L_19) < ((int32_t)L_20)))
{
goto IL_00a4;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = ___array0;
int32_t L_22 = ___ibStart1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = __this->get_buffer_5();
int32_t L_24 = V_0;
int32_t L_25 = V_1;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_21, L_22, (RuntimeArray *)(RuntimeArray *)L_23, L_24, L_25, /*hidden argument*/NULL);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_26 = __this->get_state_4();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_27 = __this->get_buffer_5();
MD4Managed_MD4Transform_m385B46D14814EB12B82642AC995E26FB99B6816C(__this, L_26, L_27, 0, /*hidden argument*/NULL);
int32_t L_28 = V_1;
V_2 = L_28;
goto IL_009b;
}
IL_0086:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_29 = __this->get_state_4();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_30 = ___array0;
int32_t L_31 = ___ibStart1;
int32_t L_32 = V_2;
MD4Managed_MD4Transform_m385B46D14814EB12B82642AC995E26FB99B6816C(__this, L_29, L_30, ((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)L_32)), /*hidden argument*/NULL);
int32_t L_33 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_33, (int32_t)((int32_t)64)));
}
IL_009b:
{
int32_t L_34 = V_2;
int32_t L_35 = ___cbSize2;
if ((((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)((int32_t)63)))) < ((int32_t)L_35)))
{
goto IL_0086;
}
}
{
V_0 = 0;
}
IL_00a4:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = ___array0;
int32_t L_37 = ___ibStart1;
int32_t L_38 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_39 = __this->get_buffer_5();
int32_t L_40 = V_0;
int32_t L_41 = ___cbSize2;
int32_t L_42 = V_2;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_36, ((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)L_38)), (RuntimeArray *)(RuntimeArray *)L_39, L_40, ((int32_t)il2cpp_codegen_subtract((int32_t)L_41, (int32_t)L_42)), /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.MD4Managed::HashFinal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* MD4Managed_HashFinal_m4853C50C4026A1F75D7C75FB28FD4E146E95F6AC (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD4Managed_HashFinal_m4853C50C4026A1F75D7C75FB28FD4E146E95F6AC_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
uint32_t V_1 = 0;
int32_t V_2 = 0;
int32_t G_B3_0 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
V_0 = L_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = V_0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = __this->get_count_6();
MD4Managed_Encode_m4EAEC7D200AF9F9BBB8D4AAF0ABD4B5E9D9C4AF2(__this, L_1, L_2, /*hidden argument*/NULL);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = __this->get_count_6();
NullCheck(L_3);
int32_t L_4 = 0;
uint32_t L_5 = (L_3)->GetAt(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_002d;
}
}
{
uint32_t L_7 = V_1;
G_B3_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)120), (int32_t)L_7));
goto IL_0031;
}
IL_002d:
{
uint32_t L_8 = V_1;
G_B3_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)56), (int32_t)L_8));
}
IL_0031:
{
V_2 = G_B3_0;
int32_t L_9 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = MD4Managed_Padding_m7AD58C8D8178AC6CD6738C93A146312D73ED0476(__this, L_9, /*hidden argument*/NULL);
int32_t L_11 = V_2;
VirtActionInvoker3< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.HashAlgorithm::HashCore(System.Byte[],System.Int32,System.Int32) */, __this, L_10, 0, L_11);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = V_0;
VirtActionInvoker3< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.HashAlgorithm::HashCore(System.Byte[],System.Int32,System.Int32) */, __this, L_12, 0, 8);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = __this->get_digest_8();
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_14 = __this->get_state_4();
MD4Managed_Encode_m4EAEC7D200AF9F9BBB8D4AAF0ABD4B5E9D9C4AF2(__this, L_13, L_14, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(16 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, __this);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = __this->get_digest_8();
return L_15;
}
}
// System.Byte[] Mono.Security.Cryptography.MD4Managed::Padding(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* MD4Managed_Padding_m7AD58C8D8178AC6CD6738C93A146312D73ED0476 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, int32_t ___nLength0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MD4Managed_Padding_m7AD58C8D8178AC6CD6738C93A146312D73ED0476_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___nLength0;
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0013;
}
}
{
int32_t L_1 = ___nLength0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = L_2;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)128));
return L_3;
}
IL_0013:
{
return (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)NULL;
}
}
// System.UInt32 Mono.Security.Cryptography.MD4Managed::F(System.UInt32,System.UInt32,System.UInt32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t MD4Managed_F_mB457E78CC0BDBD1ADCD8E687A6891E0D6B454174 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t MD4Managed_G_mCF22020BF90E65B0E322FAE8962502BBC22A157F (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t MD4Managed_H_mDF220E77C694540EF16BD892D7F03B34AE055225 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint32_t MD4Managed_ROL_mAD186591B4745F5050E7B34A5805A7476448D7F0 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __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;
int32_t L_2 = *((uint32_t*)L_1);
uint32_t L_3 = ___b1;
uint32_t L_4 = ___c2;
uint32_t L_5 = ___d3;
uint32_t L_6 = MD4Managed_F_mB457E78CC0BDBD1ADCD8E687A6891E0D6B454174(__this, L_3, L_4, L_5, /*hidden argument*/NULL);
uint32_t L_7 = ___x4;
*((int32_t*)L_0) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)L_7))));
uint32_t* L_8 = ___a0;
uint32_t* L_9 = ___a0;
int32_t L_10 = *((uint32_t*)L_9);
uint8_t L_11 = ___s5;
uint32_t L_12 = MD4Managed_ROL_mAD186591B4745F5050E7B34A5805A7476448D7F0(__this, L_10, L_11, /*hidden argument*/NULL);
*((int32_t*)L_8) = (int32_t)L_12;
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::GG(System.UInt32&,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __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;
int32_t L_2 = *((uint32_t*)L_1);
uint32_t L_3 = ___b1;
uint32_t L_4 = ___c2;
uint32_t L_5 = ___d3;
uint32_t L_6 = MD4Managed_G_mCF22020BF90E65B0E322FAE8962502BBC22A157F(__this, L_3, L_4, L_5, /*hidden argument*/NULL);
uint32_t L_7 = ___x4;
*((int32_t*)L_0) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)L_7)), (int32_t)((int32_t)1518500249)))));
uint32_t* L_8 = ___a0;
uint32_t* L_9 = ___a0;
int32_t L_10 = *((uint32_t*)L_9);
uint8_t L_11 = ___s5;
uint32_t L_12 = MD4Managed_ROL_mAD186591B4745F5050E7B34A5805A7476448D7F0(__this, L_10, L_11, /*hidden argument*/NULL);
*((int32_t*)L_8) = (int32_t)L_12;
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::HH(System.UInt32&,System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __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;
int32_t L_2 = *((uint32_t*)L_1);
uint32_t L_3 = ___b1;
uint32_t L_4 = ___c2;
uint32_t L_5 = ___d3;
uint32_t L_6 = MD4Managed_H_mDF220E77C694540EF16BD892D7F03B34AE055225(__this, L_3, L_4, L_5, /*hidden argument*/NULL);
uint32_t L_7 = ___x4;
*((int32_t*)L_0) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_2, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_6, (int32_t)L_7)), (int32_t)((int32_t)1859775393)))));
uint32_t* L_8 = ___a0;
uint32_t* L_9 = ___a0;
int32_t L_10 = *((uint32_t*)L_9);
uint8_t L_11 = ___s5;
uint32_t L_12 = MD4Managed_ROL_mAD186591B4745F5050E7B34A5805A7476448D7F0(__this, L_10, L_11, /*hidden argument*/NULL);
*((int32_t*)L_8) = (int32_t)L_12;
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::Encode(System.Byte[],System.UInt32[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_Encode_m4EAEC7D200AF9F9BBB8D4AAF0ABD4B5E9D9C4AF2 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___output0, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___input1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
V_0 = 0;
V_1 = 0;
goto IL_0038;
}
IL_0006:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___output0;
int32_t L_1 = V_1;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_2 = ___input1;
int32_t L_3 = V_0;
NullCheck(L_2);
int32_t L_4 = L_3;
uint32_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck(L_0);
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(L_1), (uint8_t)(((int32_t)((uint8_t)L_5))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ___output0;
int32_t L_7 = V_1;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_8 = ___input1;
int32_t L_9 = V_0;
NullCheck(L_8);
int32_t L_10 = L_9;
uint32_t L_11 = (L_8)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
NullCheck(L_6);
(L_6)->SetAt(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_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ___output0;
int32_t L_13 = V_1;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_14 = ___input1;
int32_t L_15 = V_0;
NullCheck(L_14);
int32_t L_16 = L_15;
uint32_t L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
NullCheck(L_12);
(L_12)->SetAt(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_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = ___output0;
int32_t L_19 = V_1;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_20 = ___input1;
int32_t L_21 = V_0;
NullCheck(L_20);
int32_t L_22 = L_21;
uint32_t L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
NullCheck(L_18);
(L_18)->SetAt(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_0038:
{
int32_t L_26 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_27 = ___output0;
NullCheck(L_27);
if ((((int32_t)L_26) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_27)->max_length)))))))
{
goto IL_0006;
}
}
{
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::Decode(System.UInt32[],System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_Decode_m450A7CE51E89191B352AC0DD4527135B343443D6 (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___output0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___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_002e;
}
IL_0006:
{
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_1 = ___output0;
int32_t L_2 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ___input1;
int32_t L_4 = V_1;
NullCheck(L_3);
int32_t L_5 = L_4;
uint8_t L_6 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_5));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___input1;
int32_t L_8 = V_1;
NullCheck(L_7);
int32_t L_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ___input1;
int32_t L_12 = V_1;
NullCheck(L_11);
int32_t L_13 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)2));
uint8_t L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = ___input1;
int32_t L_16 = V_1;
NullCheck(L_15);
int32_t L_17 = ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)3));
uint8_t L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
NullCheck(L_1);
(L_1)->SetAt(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_002e:
{
int32_t L_21 = V_0;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_22 = ___output0;
NullCheck(L_22);
if ((((int32_t)L_21) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))))))
{
goto IL_0006;
}
}
{
return;
}
}
// System.Void Mono.Security.Cryptography.MD4Managed::MD4Transform(System.UInt32[],System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MD4Managed_MD4Transform_m385B46D14814EB12B82642AC995E26FB99B6816C (MD4Managed_t1FC9A6CDB0A89A71416414689B3A0FF0283759D1 * __this, UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* ___state0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_0 = ___state0;
NullCheck(L_0);
int32_t L_1 = 0;
uint32_t L_2 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_1));
V_0 = L_2;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_3 = ___state0;
NullCheck(L_3);
int32_t L_4 = 1;
uint32_t L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
V_1 = L_5;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_6 = ___state0;
NullCheck(L_6);
int32_t L_7 = 2;
uint32_t L_8 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
V_2 = L_8;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_9 = ___state0;
NullCheck(L_9);
int32_t L_10 = 3;
uint32_t L_11 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_10));
V_3 = L_11;
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_12 = __this->get_x_7();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = ___block1;
int32_t L_14 = ___index2;
MD4Managed_Decode_m450A7CE51E89191B352AC0DD4527135B343443D6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_18 = __this->get_x_7();
NullCheck(L_18);
int32_t L_19 = 0;
uint32_t L_20 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_24 = __this->get_x_7();
NullCheck(L_24);
int32_t L_25 = 1;
uint32_t L_26 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_25));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_30 = __this->get_x_7();
NullCheck(L_30);
int32_t L_31 = 2;
uint32_t L_32 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_36 = __this->get_x_7();
NullCheck(L_36);
int32_t L_37 = 3;
uint32_t L_38 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_37));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_42 = __this->get_x_7();
NullCheck(L_42);
int32_t L_43 = 4;
uint32_t L_44 = (L_42)->GetAt(static_cast<il2cpp_array_size_t>(L_43));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_48 = __this->get_x_7();
NullCheck(L_48);
int32_t L_49 = 5;
uint32_t L_50 = (L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_54 = __this->get_x_7();
NullCheck(L_54);
int32_t L_55 = 6;
uint32_t L_56 = (L_54)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_60 = __this->get_x_7();
NullCheck(L_60);
int32_t L_61 = 7;
uint32_t L_62 = (L_60)->GetAt(static_cast<il2cpp_array_size_t>(L_61));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_66 = __this->get_x_7();
NullCheck(L_66);
int32_t L_67 = 8;
uint32_t L_68 = (L_66)->GetAt(static_cast<il2cpp_array_size_t>(L_67));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_72 = __this->get_x_7();
NullCheck(L_72);
int32_t L_73 = ((int32_t)9);
uint32_t L_74 = (L_72)->GetAt(static_cast<il2cpp_array_size_t>(L_73));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_78 = __this->get_x_7();
NullCheck(L_78);
int32_t L_79 = ((int32_t)10);
uint32_t L_80 = (L_78)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_84 = __this->get_x_7();
NullCheck(L_84);
int32_t L_85 = ((int32_t)11);
uint32_t L_86 = (L_84)->GetAt(static_cast<il2cpp_array_size_t>(L_85));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_90 = __this->get_x_7();
NullCheck(L_90);
int32_t L_91 = ((int32_t)12);
uint32_t L_92 = (L_90)->GetAt(static_cast<il2cpp_array_size_t>(L_91));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_96 = __this->get_x_7();
NullCheck(L_96);
int32_t L_97 = ((int32_t)13);
uint32_t L_98 = (L_96)->GetAt(static_cast<il2cpp_array_size_t>(L_97));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_102 = __this->get_x_7();
NullCheck(L_102);
int32_t L_103 = ((int32_t)14);
uint32_t L_104 = (L_102)->GetAt(static_cast<il2cpp_array_size_t>(L_103));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_108 = __this->get_x_7();
NullCheck(L_108);
int32_t L_109 = ((int32_t)15);
uint32_t L_110 = (L_108)->GetAt(static_cast<il2cpp_array_size_t>(L_109));
MD4Managed_FF_m8750957E572840973D5E0792CD61594F819861C3(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_114 = __this->get_x_7();
NullCheck(L_114);
int32_t L_115 = 0;
uint32_t L_116 = (L_114)->GetAt(static_cast<il2cpp_array_size_t>(L_115));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_120 = __this->get_x_7();
NullCheck(L_120);
int32_t L_121 = 4;
uint32_t L_122 = (L_120)->GetAt(static_cast<il2cpp_array_size_t>(L_121));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_126 = __this->get_x_7();
NullCheck(L_126);
int32_t L_127 = 8;
uint32_t L_128 = (L_126)->GetAt(static_cast<il2cpp_array_size_t>(L_127));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_132 = __this->get_x_7();
NullCheck(L_132);
int32_t L_133 = ((int32_t)12);
uint32_t L_134 = (L_132)->GetAt(static_cast<il2cpp_array_size_t>(L_133));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_138 = __this->get_x_7();
NullCheck(L_138);
int32_t L_139 = 1;
uint32_t L_140 = (L_138)->GetAt(static_cast<il2cpp_array_size_t>(L_139));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_144 = __this->get_x_7();
NullCheck(L_144);
int32_t L_145 = 5;
uint32_t L_146 = (L_144)->GetAt(static_cast<il2cpp_array_size_t>(L_145));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_150 = __this->get_x_7();
NullCheck(L_150);
int32_t L_151 = ((int32_t)9);
uint32_t L_152 = (L_150)->GetAt(static_cast<il2cpp_array_size_t>(L_151));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_156 = __this->get_x_7();
NullCheck(L_156);
int32_t L_157 = ((int32_t)13);
uint32_t L_158 = (L_156)->GetAt(static_cast<il2cpp_array_size_t>(L_157));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_162 = __this->get_x_7();
NullCheck(L_162);
int32_t L_163 = 2;
uint32_t L_164 = (L_162)->GetAt(static_cast<il2cpp_array_size_t>(L_163));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_168 = __this->get_x_7();
NullCheck(L_168);
int32_t L_169 = 6;
uint32_t L_170 = (L_168)->GetAt(static_cast<il2cpp_array_size_t>(L_169));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_174 = __this->get_x_7();
NullCheck(L_174);
int32_t L_175 = ((int32_t)10);
uint32_t L_176 = (L_174)->GetAt(static_cast<il2cpp_array_size_t>(L_175));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_180 = __this->get_x_7();
NullCheck(L_180);
int32_t L_181 = ((int32_t)14);
uint32_t L_182 = (L_180)->GetAt(static_cast<il2cpp_array_size_t>(L_181));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_186 = __this->get_x_7();
NullCheck(L_186);
int32_t L_187 = 3;
uint32_t L_188 = (L_186)->GetAt(static_cast<il2cpp_array_size_t>(L_187));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_192 = __this->get_x_7();
NullCheck(L_192);
int32_t L_193 = 7;
uint32_t L_194 = (L_192)->GetAt(static_cast<il2cpp_array_size_t>(L_193));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_198 = __this->get_x_7();
NullCheck(L_198);
int32_t L_199 = ((int32_t)11);
uint32_t L_200 = (L_198)->GetAt(static_cast<il2cpp_array_size_t>(L_199));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_204 = __this->get_x_7();
NullCheck(L_204);
int32_t L_205 = ((int32_t)15);
uint32_t L_206 = (L_204)->GetAt(static_cast<il2cpp_array_size_t>(L_205));
MD4Managed_GG_m00A4648827B25DF55EABDF6FFB5C96E871C60E36(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_210 = __this->get_x_7();
NullCheck(L_210);
int32_t L_211 = 0;
uint32_t L_212 = (L_210)->GetAt(static_cast<il2cpp_array_size_t>(L_211));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_216 = __this->get_x_7();
NullCheck(L_216);
int32_t L_217 = 8;
uint32_t L_218 = (L_216)->GetAt(static_cast<il2cpp_array_size_t>(L_217));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_222 = __this->get_x_7();
NullCheck(L_222);
int32_t L_223 = 4;
uint32_t L_224 = (L_222)->GetAt(static_cast<il2cpp_array_size_t>(L_223));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_228 = __this->get_x_7();
NullCheck(L_228);
int32_t L_229 = ((int32_t)12);
uint32_t L_230 = (L_228)->GetAt(static_cast<il2cpp_array_size_t>(L_229));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_234 = __this->get_x_7();
NullCheck(L_234);
int32_t L_235 = 2;
uint32_t L_236 = (L_234)->GetAt(static_cast<il2cpp_array_size_t>(L_235));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_240 = __this->get_x_7();
NullCheck(L_240);
int32_t L_241 = ((int32_t)10);
uint32_t L_242 = (L_240)->GetAt(static_cast<il2cpp_array_size_t>(L_241));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_246 = __this->get_x_7();
NullCheck(L_246);
int32_t L_247 = 6;
uint32_t L_248 = (L_246)->GetAt(static_cast<il2cpp_array_size_t>(L_247));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_252 = __this->get_x_7();
NullCheck(L_252);
int32_t L_253 = ((int32_t)14);
uint32_t L_254 = (L_252)->GetAt(static_cast<il2cpp_array_size_t>(L_253));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_258 = __this->get_x_7();
NullCheck(L_258);
int32_t L_259 = 1;
uint32_t L_260 = (L_258)->GetAt(static_cast<il2cpp_array_size_t>(L_259));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_264 = __this->get_x_7();
NullCheck(L_264);
int32_t L_265 = ((int32_t)9);
uint32_t L_266 = (L_264)->GetAt(static_cast<il2cpp_array_size_t>(L_265));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_270 = __this->get_x_7();
NullCheck(L_270);
int32_t L_271 = 5;
uint32_t L_272 = (L_270)->GetAt(static_cast<il2cpp_array_size_t>(L_271));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_276 = __this->get_x_7();
NullCheck(L_276);
int32_t L_277 = ((int32_t)13);
uint32_t L_278 = (L_276)->GetAt(static_cast<il2cpp_array_size_t>(L_277));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_282 = __this->get_x_7();
NullCheck(L_282);
int32_t L_283 = 3;
uint32_t L_284 = (L_282)->GetAt(static_cast<il2cpp_array_size_t>(L_283));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_288 = __this->get_x_7();
NullCheck(L_288);
int32_t L_289 = ((int32_t)11);
uint32_t L_290 = (L_288)->GetAt(static_cast<il2cpp_array_size_t>(L_289));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_294 = __this->get_x_7();
NullCheck(L_294);
int32_t L_295 = 7;
uint32_t L_296 = (L_294)->GetAt(static_cast<il2cpp_array_size_t>(L_295));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__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_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_300 = __this->get_x_7();
NullCheck(L_300);
int32_t L_301 = ((int32_t)15);
uint32_t L_302 = (L_300)->GetAt(static_cast<il2cpp_array_size_t>(L_301));
MD4Managed_HH_mC0581C10D440E254F218664593ED5291035038F6(__this, (uint32_t*)(&V_1), L_297, L_298, L_299, L_302, (uint8_t)((int32_t)15), /*hidden argument*/NULL);
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_303 = ___state0;
NullCheck(L_303);
uint32_t* L_304 = ((L_303)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)));
int32_t L_305 = *((uint32_t*)L_304);
uint32_t L_306 = V_0;
*((int32_t*)L_304) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_305, (int32_t)L_306));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_307 = ___state0;
NullCheck(L_307);
uint32_t* L_308 = ((L_307)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)));
int32_t L_309 = *((uint32_t*)L_308);
uint32_t L_310 = V_1;
*((int32_t*)L_308) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_309, (int32_t)L_310));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_311 = ___state0;
NullCheck(L_311);
uint32_t* L_312 = ((L_311)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)));
int32_t L_313 = *((uint32_t*)L_312);
uint32_t L_314 = V_2;
*((int32_t*)L_312) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_313, (int32_t)L_314));
UInt32U5BU5D_t9AA834AF2940E75BBF8E3F08FF0D20D266DB71CB* L_315 = ___state0;
NullCheck(L_315);
uint32_t* L_316 = ((L_315)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)));
int32_t L_317 = *((uint32_t*)L_316);
uint32_t L_318 = V_3;
*((int32_t*)L_316) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_317, (int32_t)L_318));
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.HashAlgorithm Mono.Security.Cryptography.PKCS1::CreateFromName(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * PKCS1_CreateFromName_mB407B0358BF42A94FAA0A3B7DF68A731827C21BE (String_t* ___name0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS1_CreateFromName_mB407B0358BF42A94FAA0A3B7DF68A731827C21BE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint32_t V_0 = 0;
HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * 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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
String_t* L_0 = ___name0;
uint32_t L_1 = U3CPrivateImplementationDetailsU3E_ComputeStringHash_m8375D44A8A75C7D8223EA98CF65C40C0BA8C7BEB(L_0, /*hidden argument*/NULL);
V_0 = L_1;
uint32_t L_2 = V_0;
if ((!(((uint32_t)L_2) <= ((uint32_t)((int32_t)1935726387)))))
{
goto IL_0044;
}
}
{
uint32_t L_3 = V_0;
if ((!(((uint32_t)L_3) <= ((uint32_t)((int32_t)415037492)))))
{
goto IL_002f;
}
}
{
uint32_t L_4 = V_0;
if ((((int32_t)L_4) == ((int32_t)((int32_t)206706215))))
{
goto IL_00e5;
}
}
{
uint32_t L_5 = V_0;
if ((((int32_t)L_5) == ((int32_t)((int32_t)415037492))))
{
goto IL_00a9;
}
}
{
goto IL_0124;
}
IL_002f:
{
uint32_t L_6 = V_0;
if ((((int32_t)L_6) == ((int32_t)((int32_t)1918948768))))
{
goto IL_0088;
}
}
{
uint32_t L_7 = V_0;
if ((((int32_t)L_7) == ((int32_t)((int32_t)1935726387))))
{
goto IL_009a;
}
}
{
goto IL_0124;
}
IL_0044:
{
uint32_t L_8 = V_0;
if ((!(((uint32_t)L_8) <= ((uint32_t)((int32_t)-1330447974)))))
{
goto IL_0061;
}
}
{
uint32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)2019614482))))
{
goto IL_0076;
}
}
{
uint32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)-1330447974))))
{
goto IL_00b8;
}
}
{
goto IL_0124;
}
IL_0061:
{
uint32_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)-1267551733))))
{
goto IL_00d6;
}
}
{
uint32_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)-1240198026))))
{
goto IL_00c7;
}
}
{
goto IL_0124;
}
IL_0076:
{
String_t* L_13 = ___name0;
bool L_14 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_13, _stringLiteral83BD2260257D398076A738813A94BD2F37D6F282, /*hidden argument*/NULL);
if (L_14)
{
goto IL_00f4;
}
}
{
goto IL_0124;
}
IL_0088:
{
String_t* L_15 = ___name0;
bool L_16 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_15, _stringLiteral86E9FFF1D00C68995BA96D3B00B707D9685F6995, /*hidden argument*/NULL);
if (L_16)
{
goto IL_00fa;
}
}
{
goto IL_0124;
}
IL_009a:
{
String_t* L_17 = ___name0;
bool L_18 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_17, _stringLiteralB773BED04A48DE200B96981BB79467413A222066, /*hidden argument*/NULL);
if (L_18)
{
goto IL_0100;
}
}
{
goto IL_0124;
}
IL_00a9:
{
String_t* L_19 = ___name0;
bool L_20 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_19, _stringLiteralE1744A525099D9A53C0460EF9CB7AB0E4C4FC939, /*hidden argument*/NULL);
if (L_20)
{
goto IL_0106;
}
}
{
goto IL_0124;
}
IL_00b8:
{
String_t* L_21 = ___name0;
bool L_22 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_21, _stringLiteralB92E713B21B29946A52E5FFE714C82EB670E98F9, /*hidden argument*/NULL);
if (L_22)
{
goto IL_010c;
}
}
{
goto IL_0124;
}
IL_00c7:
{
String_t* L_23 = ___name0;
bool L_24 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_23, _stringLiteral5AB8FB3BA84C84C0B9929FD9B6D13F639D3078BB, /*hidden argument*/NULL);
if (L_24)
{
goto IL_0112;
}
}
{
goto IL_0124;
}
IL_00d6:
{
String_t* L_25 = ___name0;
bool L_26 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_25, _stringLiteral42CC065F07E499226AC12F2671F652ACFDAF3D73, /*hidden argument*/NULL);
if (L_26)
{
goto IL_0118;
}
}
{
goto IL_0124;
}
IL_00e5:
{
String_t* L_27 = ___name0;
bool L_28 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_27, _stringLiteralB40D6CD4CF673AC976ECA2909907795C34BC177E, /*hidden argument*/NULL);
if (L_28)
{
goto IL_011e;
}
}
{
goto IL_0124;
}
IL_00f4:
{
MD2_tCAAEC1A28A3D0B9E8810B27E4840BEA399619442 * L_29 = MD2_Create_mF375441B9B1B701ECE73B9B51AFE4E3ADDE6E02F(/*hidden argument*/NULL);
return L_29;
}
IL_00fa:
{
MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * L_30 = MD4_Create_m2D436A4CC284704A7DA0EEF4C4D5860F69D0BB93(/*hidden argument*/NULL);
return L_30;
}
IL_0100:
{
MD5_tCED753745572EC20FE5D31D15F132736B5343EE6 * L_31 = MD5_Create_m87EB14601AD6AF168032C29DA938E18454CA05AE(/*hidden argument*/NULL);
return L_31;
}
IL_0106:
{
SHA1_t242C3C0C91D0CC11FA6F3CB0B06B416A550C6EAA * L_32 = SHA1_Create_m5ECE86DE88BB9CDD4674000066642BA7FDF466E4(/*hidden argument*/NULL);
return L_32;
}
IL_010c:
{
SHA256_tF15350D910DF8AC1E6ADDBA904218F95554711BD * L_33 = SHA256_Create_mBB1886B9CB89D706FB87832AB8EC74F3BD835C3F(/*hidden argument*/NULL);
return L_33;
}
IL_0112:
{
SHA384_t73C69FA7FB10EF83355734BE635F079515FF5D37 * L_34 = SHA384_Create_m1DB8E3BCF13E7A7A3903B0609491D6A1170C0695(/*hidden argument*/NULL);
return L_34;
}
IL_0118:
{
SHA512_tA4117C79CCB7ECF8AC39BDBE41A0D0294E9D6936 * L_35 = SHA512_Create_mFAF244BD7F518A7FFCC07C8858EAC625FDA7B25E(/*hidden argument*/NULL);
return L_35;
}
IL_011e:
{
RIPEMD160_t5BF1FB38C534BF0083B35AC6880867E11448EFE9 * L_36 = RIPEMD160_Create_mA05D45DE1F4811F68B3BFE07CE48E025916D93F0(/*hidden argument*/NULL);
return L_36;
}
IL_0124:
{
}
IL_0125:
try
{ // begin try (depth: 1)
String_t* L_37 = ___name0;
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_38 = il2cpp_codegen_get_type((Il2CppMethodPointer)&Type_GetType_mCF0A3B28889C9FFB9987C8D30C23DF0912E7C00C, L_37, "Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756");
RuntimeObject * L_39 = Activator_CreateInstance_mD06EE47879F606317C6DA91FB63E678CABAC6A16(L_38, /*hidden argument*/NULL);
V_1 = ((HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA *)CastclassClass((RuntimeObject*)L_39, HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA_il2cpp_TypeInfo_var));
goto IL_014a;
} // 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_0138;
throw e;
}
CATCH_0138:
{ // begin catch(System.Object)
String_t* L_40 = ___name0;
String_t* L_41 = String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE(_stringLiteral605F515DB23E613CEB4831C6EACE4C2B023EAEAB, L_40, /*hidden argument*/NULL);
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_42 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_42, L_41, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_42, NULL, PKCS1_CreateFromName_mB407B0358BF42A94FAA0A3B7DF68A731827C21BE_RuntimeMethod_var);
} // end catch (depth: 1)
IL_014a:
{
HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * L_43 = V_1;
return L_43;
}
}
// System.Void Mono.Security.Cryptography.PKCS1::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS1__cctor_mA0BF327C9ECE4E5B1AACA740DBF4A61FB4F88825 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS1__cctor_mA0BF327C9ECE4E5B1AACA740DBF4A61FB4F88825_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)20));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = L_0;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____BE1BDEC0AA74B4DCB079943E70528096CCA985F8_20_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_StaticFields*)il2cpp_codegen_static_fields_for(PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_il2cpp_TypeInfo_var))->set_emptySHA1_0(L_1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)32));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = L_3;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_5 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____D28E8ABDBD777A482CE0EE5C24814ACAE52AABFE_23_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_4, L_5, /*hidden argument*/NULL);
((PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_StaticFields*)il2cpp_codegen_static_fields_for(PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_il2cpp_TypeInfo_var))->set_emptySHA256_1(L_4);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)48));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = L_6;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_8 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____4E3B533C39447AAEB59A8E48FABD7E15B5B5D195_8_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_7, L_8, /*hidden argument*/NULL);
((PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_StaticFields*)il2cpp_codegen_static_fields_for(PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_il2cpp_TypeInfo_var))->set_emptySHA384_2(L_7);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = L_9;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_11 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____E75835D001C843F156FBA01B001DFE1B8029AC17_25_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_10, L_11, /*hidden argument*/NULL);
((PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_StaticFields*)il2cpp_codegen_static_fields_for(PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_il2cpp_TypeInfo_var))->set_emptySHA512_3(L_10);
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.Cryptography.PKCS8_EncryptedPrivateKeyInfo::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EncryptedPrivateKeyInfo__ctor_m8244581E6D6275989DE1D18E79B663BF62943069 (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Cryptography.PKCS8_EncryptedPrivateKeyInfo::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EncryptedPrivateKeyInfo__ctor_mB2FBC3DDB156046CBB737280E490994A3B20362A (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method)
{
{
EncryptedPrivateKeyInfo__ctor_m8244581E6D6275989DE1D18E79B663BF62943069(__this, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___data0;
EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.String Mono.Security.Cryptography.PKCS8_EncryptedPrivateKeyInfo::get_Algorithm()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* EncryptedPrivateKeyInfo_get_Algorithm_m93A361B3EE1EDF57B8D83ECF187CD75E6B45A9D9 (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get__algorithm_0();
return L_0;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8_EncryptedPrivateKeyInfo::get_EncryptedData()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* EncryptedPrivateKeyInfo_get_EncryptedData_m0EB3C77C669117FCB3E0A5DA1758F9B0A18573D3 (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EncryptedPrivateKeyInfo_get_EncryptedData_m0EB3C77C669117FCB3E0A5DA1758F9B0A18573D3_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get__data_3();
if (!L_0)
{
goto IL_0019;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = __this->get__data_3();
NullCheck((RuntimeArray *)(RuntimeArray *)L_1);
RuntimeObject * L_2 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
}
IL_0019:
{
return (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)NULL;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8_EncryptedPrivateKeyInfo::get_Salt()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* EncryptedPrivateKeyInfo_get_Salt_mF231C0F3BC06F402910179312CC9245911450C4B (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EncryptedPrivateKeyInfo_get_Salt_mF231C0F3BC06F402910179312CC9245911450C4B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get__salt_1();
if (L_0)
{
goto IL_0024;
}
}
{
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_1 = RandomNumberGenerator_Create_mB84B1BA538B29D0679F310D3B574A7D5BAA890C4(/*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
__this->set__salt_1(L_2);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = __this->get__salt_1();
NullCheck(L_1);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(6 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_1, L_3);
}
IL_0024:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = __this->get__salt_1();
NullCheck((RuntimeArray *)(RuntimeArray *)L_4);
RuntimeObject * L_5 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_4, /*hidden argument*/NULL);
return ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_5, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
}
}
// System.Int32 Mono.Security.Cryptography.PKCS8_EncryptedPrivateKeyInfo::get_IterationCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t EncryptedPrivateKeyInfo_get_IterationCount_m3CD06665FBE6C8B3965AA0D870B702A4E6F833FC (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __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[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639 (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_1 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_2 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_3 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_4 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B2_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B1_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B4_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B3_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B6_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B5_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B14_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B7_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B9_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B9_1 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B8_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B8_1 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B11_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B11_1 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B10_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B10_1 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B13_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B12_0 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___data0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_1 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA(L_1, L_0, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_2 = L_1;
NullCheck(L_2);
uint8_t L_3 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_2, /*hidden argument*/NULL);
G_B1_0 = L_2;
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
G_B2_0 = L_2;
goto IL_001b;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_4 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_4, _stringLiteralDCABF61621CAD370E5A1627F06A24046C669ADF8, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639_RuntimeMethod_var);
}
IL_001b:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_5 = G_B2_0;
NullCheck(L_5);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_6 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_5, 0, /*hidden argument*/NULL);
V_0 = L_6;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_7 = V_0;
NullCheck(L_7);
uint8_t L_8 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_7, /*hidden argument*/NULL);
G_B3_0 = L_5;
if ((((int32_t)L_8) == ((int32_t)((int32_t)48))))
{
G_B4_0 = L_5;
goto IL_0038;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_9 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_9, _stringLiteralBD9F58A710FAC588AA107D63418A112D1F511D9C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639_RuntimeMethod_var);
}
IL_0038:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = V_0;
NullCheck(L_10);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_11 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_10, 0, /*hidden argument*/NULL);
V_1 = L_11;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_12 = V_1;
NullCheck(L_12);
uint8_t L_13 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_12, /*hidden argument*/NULL);
G_B5_0 = G_B4_0;
if ((((int32_t)L_13) == ((int32_t)6)))
{
G_B6_0 = G_B4_0;
goto IL_0054;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_14 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_14, _stringLiteralB6A6783D731A42C54B01BD71A6FD5F120594BE18, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_14, NULL, EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639_RuntimeMethod_var);
}
IL_0054:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_15 = V_1;
String_t* L_16 = ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A(L_15, /*hidden argument*/NULL);
__this->set__algorithm_0(L_16);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_17 = V_0;
NullCheck(L_17);
int32_t L_18 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_17, /*hidden argument*/NULL);
G_B7_0 = G_B6_0;
if ((((int32_t)L_18) <= ((int32_t)1)))
{
G_B14_0 = G_B6_0;
goto IL_00d7;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_19 = V_0;
NullCheck(L_19);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_20 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_19, 1, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_21 = L_20;
NullCheck(L_21);
uint8_t L_22 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_21, /*hidden argument*/NULL);
G_B8_0 = L_21;
G_B8_1 = G_B7_0;
if ((((int32_t)L_22) == ((int32_t)((int32_t)48))))
{
G_B9_0 = L_21;
G_B9_1 = G_B7_0;
goto IL_0085;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_23 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_23, _stringLiteral613FFB9B58FE9C68FF1D6DE407465C3D9BE81982, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, NULL, EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639_RuntimeMethod_var);
}
IL_0085:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_24 = G_B9_0;
NullCheck(L_24);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_25 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_24, 0, /*hidden argument*/NULL);
V_3 = L_25;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_26 = V_3;
NullCheck(L_26);
uint8_t L_27 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_26, /*hidden argument*/NULL);
G_B10_0 = L_24;
G_B10_1 = G_B9_1;
if ((((int32_t)L_27) == ((int32_t)4)))
{
G_B11_0 = L_24;
G_B11_1 = G_B9_1;
goto IL_00a1;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_28 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_28, _stringLiteralEC870C8EC386B18E4953A9C1A441B73E787FE3E3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_28, NULL, EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639_RuntimeMethod_var);
}
IL_00a1:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_29 = V_3;
NullCheck(L_29);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_30 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_29, /*hidden argument*/NULL);
__this->set__salt_1(L_30);
NullCheck(G_B11_0);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_31 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(G_B11_0, 1, /*hidden argument*/NULL);
V_4 = L_31;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_32 = V_4;
NullCheck(L_32);
uint8_t L_33 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_32, /*hidden argument*/NULL);
G_B12_0 = G_B11_1;
if ((((int32_t)L_33) == ((int32_t)2)))
{
G_B13_0 = G_B11_1;
goto IL_00ca;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_34 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_34, _stringLiteralA28F5F35CE0911B6863CEB2418D166A24D8E77FA, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_34, NULL, EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639_RuntimeMethod_var);
}
IL_00ca:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_35 = V_4;
int32_t L_36 = ASN1Convert_ToInt32_mA2A8761F965979408D46FBEB946DB59F36137A5E(L_35, /*hidden argument*/NULL);
__this->set__iterations_2(L_36);
G_B14_0 = G_B13_0;
}
IL_00d7:
{
NullCheck(G_B14_0);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_37 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(G_B14_0, 1, /*hidden argument*/NULL);
V_2 = L_37;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_38 = V_2;
NullCheck(L_38);
uint8_t L_39 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_38, /*hidden argument*/NULL);
if ((((int32_t)L_39) == ((int32_t)4)))
{
goto IL_00f2;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_40 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_40, _stringLiteral8CE5CDE3AE12BB7F114211660525770636C8128A, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_40, NULL, EncryptedPrivateKeyInfo_Decode_mC67C5672B7231974FCDF510FD280883B2E5C8639_RuntimeMethod_var);
}
IL_00f2:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_41 = V_2;
NullCheck(L_41);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_42 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_41, /*hidden argument*/NULL);
__this->set__data_3(L_42);
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()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PrivateKeyInfo__ctor_m589C6263501E8226678D7B08B7C816E9C9EBD939 (PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo__ctor_m589C6263501E8226678D7B08B7C816E9C9EBD939_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
__this->set__version_0(0);
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_0 = (ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 *)il2cpp_codegen_object_new(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var);
ArrayList__ctor_m481FA7B37620B59B8C0434A764F5705A6ABDEAE6(L_0, /*hidden argument*/NULL);
__this->set__list_3(L_0);
return;
}
}
// System.Void Mono.Security.Cryptography.PKCS8_PrivateKeyInfo::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PrivateKeyInfo__ctor_m4FE1CE37466756FCCAD2C7320E6E8E8B0D4D603A (PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method)
{
{
PrivateKeyInfo__ctor_m589C6263501E8226678D7B08B7C816E9C9EBD939(__this, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___data0;
PrivateKeyInfo_Decode_mC8128B0803CD098039C8281AF413EEADD82EF13C(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8_PrivateKeyInfo::get_PrivateKey()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PrivateKeyInfo_get_PrivateKey_mC390394E64E5FE39B4A833E7D91CF20A899179FA (PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_get_PrivateKey_mC390394E64E5FE39B4A833E7D91CF20A899179FA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get__key_2();
if (L_0)
{
goto IL_000a;
}
}
{
return (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)NULL;
}
IL_000a:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = __this->get__key_2();
NullCheck((RuntimeArray *)(RuntimeArray *)L_1);
RuntimeObject * L_2 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Security.Cryptography.PKCS8_PrivateKeyInfo::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PrivateKeyInfo_Decode_mC8128B0803CD098039C8281AF413EEADD82EF13C (PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_Decode_mC8128B0803CD098039C8281AF413EEADD82EF13C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_1 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_2 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_3 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_4 = NULL;
int32_t V_5 = 0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B6_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B5_0 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___data0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_1 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_2 = V_0;
NullCheck(L_2);
uint8_t L_3 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_001c;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_4 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_4, _stringLiteral2BBCCAEF340E6A667F3B3DEDEBD6B2545083F4B4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, PrivateKeyInfo_Decode_mC8128B0803CD098039C8281AF413EEADD82EF13C_RuntimeMethod_var);
}
IL_001c:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_5 = V_0;
NullCheck(L_5);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_6 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_5, 0, /*hidden argument*/NULL);
V_1 = L_6;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_7 = V_1;
NullCheck(L_7);
uint8_t L_8 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_7, /*hidden argument*/NULL);
if ((((int32_t)L_8) == ((int32_t)2)))
{
goto IL_0038;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_9 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_9, _stringLiteralAE01F992CF8E34DD0175C6CC6992DE1FB67CFFCF, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9, NULL, PrivateKeyInfo_Decode_mC8128B0803CD098039C8281AF413EEADD82EF13C_RuntimeMethod_var);
}
IL_0038:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = V_1;
NullCheck(L_10);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_10, /*hidden argument*/NULL);
NullCheck(L_11);
int32_t L_12 = 0;
uint8_t L_13 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
__this->set__version_0(L_13);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_14 = V_0;
NullCheck(L_14);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_15 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_14, 1, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_16 = L_15;
NullCheck(L_16);
uint8_t L_17 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_16, /*hidden argument*/NULL);
G_B5_0 = L_16;
if ((((int32_t)L_17) == ((int32_t)((int32_t)48))))
{
G_B6_0 = L_16;
goto IL_0062;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_18 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_18, _stringLiteralB6A6783D731A42C54B01BD71A6FD5F120594BE18, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, NULL, PrivateKeyInfo_Decode_mC8128B0803CD098039C8281AF413EEADD82EF13C_RuntimeMethod_var);
}
IL_0062:
{
NullCheck(G_B6_0);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_19 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(G_B6_0, 0, /*hidden argument*/NULL);
V_2 = L_19;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_20 = V_2;
NullCheck(L_20);
uint8_t L_21 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_20, /*hidden argument*/NULL);
if ((((int32_t)L_21) == ((int32_t)6)))
{
goto IL_007d;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_22 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_22, _stringLiteral84FF1FC8EFD0C9C1C39DF85058324C2B8AAAC64C, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_22, NULL, PrivateKeyInfo_Decode_mC8128B0803CD098039C8281AF413EEADD82EF13C_RuntimeMethod_var);
}
IL_007d:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_23 = V_2;
String_t* L_24 = ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A(L_23, /*hidden argument*/NULL);
__this->set__algorithm_1(L_24);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_25 = V_0;
NullCheck(L_25);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_26 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_25, 2, /*hidden argument*/NULL);
V_3 = L_26;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_27 = V_3;
NullCheck(L_27);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_27, /*hidden argument*/NULL);
__this->set__key_2(L_28);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_29 = V_0;
NullCheck(L_29);
int32_t L_30 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_29, /*hidden argument*/NULL);
if ((((int32_t)L_30) <= ((int32_t)3)))
{
goto IL_00da;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_31 = V_0;
NullCheck(L_31);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_32 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_31, 3, /*hidden argument*/NULL);
V_4 = L_32;
V_5 = 0;
goto IL_00cf;
}
IL_00b4:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_33 = __this->get__list_3();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_34 = V_4;
int32_t L_35 = V_5;
NullCheck(L_34);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_36 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_34, L_35, /*hidden argument*/NULL);
NullCheck(L_33);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_33, L_36);
int32_t L_37 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_37, (int32_t)1));
}
IL_00cf:
{
int32_t L_38 = V_5;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_39 = V_4;
NullCheck(L_39);
int32_t L_40 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_39, /*hidden argument*/NULL);
if ((((int32_t)L_38) < ((int32_t)L_40)))
{
goto IL_00b4;
}
}
IL_00da:
{
return;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8_PrivateKeyInfo::RemoveLeadingZero(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PrivateKeyInfo_RemoveLeadingZero_m674CB83B855FB14F8C49F062C3261D2587596384 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___bigInt0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_RemoveLeadingZero_m674CB83B855FB14F8C49F062C3261D2587596384_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_2 = NULL;
{
V_0 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___bigInt0;
NullCheck(L_0);
V_1 = (((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___bigInt0;
NullCheck(L_1);
int32_t L_2 = 0;
uint8_t L_3 = (L_1)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
if (L_3)
{
goto IL_0011;
}
}
{
V_0 = 1;
int32_t L_4 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)1));
}
IL_0011:
{
int32_t L_5 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_5);
V_2 = L_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___bigInt0;
int32_t L_8 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = V_2;
int32_t L_10 = V_1;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_7, L_8, (RuntimeArray *)(RuntimeArray *)L_9, 0, L_10, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = V_2;
return L_11;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8_PrivateKeyInfo::Normalize(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PrivateKeyInfo_Normalize_m918031FFC55B1092BD5004D914538F78CE701606 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___bigInt0, int32_t ___length1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_Normalize_m918031FFC55B1092BD5004D914538F78CE701606_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___bigInt0;
NullCheck(L_0);
int32_t L_1 = ___length1;
if ((!(((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) == ((uint32_t)L_1))))
{
goto IL_0008;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___bigInt0;
return L_2;
}
IL_0008:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ___bigInt0;
NullCheck(L_3);
int32_t L_4 = ___length1;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length))))) <= ((int32_t)L_4)))
{
goto IL_0015;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = ___bigInt0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = PrivateKeyInfo_RemoveLeadingZero_m674CB83B855FB14F8C49F062C3261D2587596384(L_5, /*hidden argument*/NULL);
return L_6;
}
IL_0015:
{
int32_t L_7 = ___length1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_7);
V_0 = L_8;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = ___bigInt0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = V_0;
int32_t L_11 = ___length1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ___bigInt0;
NullCheck(L_12);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = ___bigInt0;
NullCheck(L_13);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((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_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = V_0;
return L_14;
}
}
// System.Security.Cryptography.RSA Mono.Security.Cryptography.PKCS8_PrivateKeyInfo::DecodeRSA(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * PrivateKeyInfo_DecodeRSA_m47EEB9282E7E66ED9256F2097B4E5C757B79B080 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___keypair0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_DecodeRSA_m47EEB9282E7E66ED9256F2097B4E5C757B79B080_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_0 = NULL;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 V_1;
memset((&V_1), 0, sizeof(V_1));
int32_t V_2 = 0;
int32_t V_3 = 0;
RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * 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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___keypair0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_1 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_2 = V_0;
NullCheck(L_2);
uint8_t L_3 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_001c;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_4 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_4, _stringLiteralB69A13D63C5676008946ACB845A85AF96AEE9389, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, PrivateKeyInfo_DecodeRSA_m47EEB9282E7E66ED9256F2097B4E5C757B79B080_RuntimeMethod_var);
}
IL_001c:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_5 = V_0;
NullCheck(L_5);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_6 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_5, 0, /*hidden argument*/NULL);
NullCheck(L_6);
uint8_t L_7 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_6, /*hidden argument*/NULL);
if ((((int32_t)L_7) == ((int32_t)2)))
{
goto IL_0036;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_8 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_8, _stringLiteral9DB65CFA2237AB1A2FB1D568E668EC18B0803849, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, PrivateKeyInfo_DecodeRSA_m47EEB9282E7E66ED9256F2097B4E5C757B79B080_RuntimeMethod_var);
}
IL_0036:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_9 = V_0;
NullCheck(L_9);
int32_t L_10 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_9, /*hidden argument*/NULL);
if ((((int32_t)L_10) >= ((int32_t)((int32_t)9))))
{
goto IL_004b;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_11 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_11, _stringLiteral1D9F018C6242ECF50722E7E37BA5BA97733D3906, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, PrivateKeyInfo_DecodeRSA_m47EEB9282E7E66ED9256F2097B4E5C757B79B080_RuntimeMethod_var);
}
IL_004b:
{
il2cpp_codegen_initobj((&V_1), sizeof(RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 ));
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_12 = V_0;
NullCheck(L_12);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_13 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_12, 1, /*hidden argument*/NULL);
NullCheck(L_13);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_13, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = PrivateKeyInfo_RemoveLeadingZero_m674CB83B855FB14F8C49F062C3261D2587596384(L_14, /*hidden argument*/NULL);
(&V_1)->set_Modulus_1(L_15);
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_16 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = L_16.get_Modulus_1();
NullCheck(L_17);
V_2 = (((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length))));
int32_t L_18 = V_2;
V_3 = ((int32_t)((int32_t)L_18>>(int32_t)1));
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_19 = V_0;
NullCheck(L_19);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_20 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_19, 3, /*hidden argument*/NULL);
NullCheck(L_20);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_20, /*hidden argument*/NULL);
int32_t L_22 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = PrivateKeyInfo_Normalize_m918031FFC55B1092BD5004D914538F78CE701606(L_21, L_22, /*hidden argument*/NULL);
(&V_1)->set_D_7(L_23);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_24 = V_0;
NullCheck(L_24);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_25 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_24, 6, /*hidden argument*/NULL);
NullCheck(L_25);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_25, /*hidden argument*/NULL);
int32_t L_27 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = PrivateKeyInfo_Normalize_m918031FFC55B1092BD5004D914538F78CE701606(L_26, L_27, /*hidden argument*/NULL);
(&V_1)->set_DP_4(L_28);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_29 = V_0;
NullCheck(L_29);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_30 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_29, 7, /*hidden argument*/NULL);
NullCheck(L_30);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_31 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_30, /*hidden argument*/NULL);
int32_t L_32 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_33 = PrivateKeyInfo_Normalize_m918031FFC55B1092BD5004D914538F78CE701606(L_31, L_32, /*hidden argument*/NULL);
(&V_1)->set_DQ_5(L_33);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_34 = V_0;
NullCheck(L_34);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_35 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_34, 2, /*hidden argument*/NULL);
NullCheck(L_35);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_35, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_37 = PrivateKeyInfo_RemoveLeadingZero_m674CB83B855FB14F8C49F062C3261D2587596384(L_36, /*hidden argument*/NULL);
(&V_1)->set_Exponent_0(L_37);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_38 = V_0;
NullCheck(L_38);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_39 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_38, 8, /*hidden argument*/NULL);
NullCheck(L_39);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_40 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_39, /*hidden argument*/NULL);
int32_t L_41 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_42 = PrivateKeyInfo_Normalize_m918031FFC55B1092BD5004D914538F78CE701606(L_40, L_41, /*hidden argument*/NULL);
(&V_1)->set_InverseQ_6(L_42);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_43 = V_0;
NullCheck(L_43);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_44 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_43, 4, /*hidden argument*/NULL);
NullCheck(L_44);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_45 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_44, /*hidden argument*/NULL);
int32_t L_46 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_47 = PrivateKeyInfo_Normalize_m918031FFC55B1092BD5004D914538F78CE701606(L_45, L_46, /*hidden argument*/NULL);
(&V_1)->set_P_2(L_47);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_48 = V_0;
NullCheck(L_48);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_49 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_48, 5, /*hidden argument*/NULL);
NullCheck(L_49);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_50 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_49, /*hidden argument*/NULL);
int32_t L_51 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_52 = PrivateKeyInfo_Normalize_m918031FFC55B1092BD5004D914538F78CE701606(L_50, L_51, /*hidden argument*/NULL);
(&V_1)->set_Q_3(L_52);
V_4 = (RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 *)NULL;
}
IL_0129:
try
{ // begin try (depth: 1)
RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * L_53 = RSA_Create_m1AF30C2FAB458D7291DA15B4D2650AE7507DEDAB(/*hidden argument*/NULL);
V_4 = L_53;
RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * L_54 = V_4;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_55 = V_1;
NullCheck(L_54);
VirtActionInvoker1< RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 >::Invoke(11 /* System.Void System.Security.Cryptography.RSA::ImportParameters(System.Security.Cryptography.RSAParameters) */, L_54, L_55);
goto IL_0158;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__exception_local = (Exception_t *)e.ex;
if(il2cpp_codegen_class_is_assignable_from (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var, il2cpp_codegen_object_class(e.ex)))
goto CATCH_013a;
throw e;
}
CATCH_013a:
{ // begin catch(System.Security.Cryptography.CryptographicException)
CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7 * L_56 = (CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7 *)il2cpp_codegen_object_new(CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7_il2cpp_TypeInfo_var);
CspParameters__ctor_m6C7ED4CF3021168DC6CEFB0FECC591547DCE4342(L_56, /*hidden argument*/NULL);
CspParameters_t7DDB44526A2A9693723C2FA915D9DCF2848998C7 * L_57 = L_56;
NullCheck(L_57);
CspParameters_set_Flags_m4982C5960E9DE0BE5FA72E859B5DF0FB803B9E1F(L_57, 1, /*hidden argument*/NULL);
RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4 * L_58 = (RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4 *)il2cpp_codegen_object_new(RSACryptoServiceProvider_t6DC0FC3205BA6CDCA4FF2AEEF566D8F0CCE26AD4_il2cpp_TypeInfo_var);
RSACryptoServiceProvider__ctor_m1688FF86ACB164CE19D754507AA1D87535BC2A30(L_58, L_57, /*hidden argument*/NULL);
V_4 = L_58;
RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * L_59 = V_4;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_60 = V_1;
NullCheck(L_59);
VirtActionInvoker1< RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 >::Invoke(11 /* System.Void System.Security.Cryptography.RSA::ImportParameters(System.Security.Cryptography.RSAParameters) */, L_59, L_60);
goto IL_0158;
} // end catch (depth: 1)
IL_0158:
{
RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * L_61 = V_4;
return L_61;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8_PrivateKeyInfo::Encode(System.Security.Cryptography.RSA)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PrivateKeyInfo_Encode_mF1C1E856195368C0FD130E5E8DEFA373C9F4BEA5 (RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * ___rsa0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_Encode_mF1C1E856195368C0FD130E5E8DEFA373C9F4BEA5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 V_0;
memset((&V_0), 0, sizeof(V_0));
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_1 = NULL;
{
RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * L_0 = ___rsa0;
NullCheck(L_0);
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_1 = VirtFuncInvoker1< RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 , bool >::Invoke(10 /* System.Security.Cryptography.RSAParameters System.Security.Cryptography.RSA::ExportParameters(System.Boolean) */, L_0, (bool)1);
V_0 = L_1;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_2 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_2, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_1 = L_2;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_3 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)1);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_5 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(L_5, (uint8_t)2, L_4, /*hidden argument*/NULL);
NullCheck(L_3);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_3, L_5, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_6 = V_1;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_7 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = L_7.get_Modulus_1();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_9 = ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A(L_8, /*hidden argument*/NULL);
NullCheck(L_6);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_6, L_9, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = V_1;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_11 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = L_11.get_Exponent_0();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_13 = ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A(L_12, /*hidden argument*/NULL);
NullCheck(L_10);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_10, L_13, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_14 = V_1;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_15 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = L_15.get_D_7();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_17 = ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A(L_16, /*hidden argument*/NULL);
NullCheck(L_14);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_14, L_17, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_18 = V_1;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_19 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = L_19.get_P_2();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_21 = ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A(L_20, /*hidden argument*/NULL);
NullCheck(L_18);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_18, L_21, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_22 = V_1;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_23 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = L_23.get_Q_3();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_25 = ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A(L_24, /*hidden argument*/NULL);
NullCheck(L_22);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_22, L_25, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_26 = V_1;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_27 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = L_27.get_DP_4();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_29 = ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A(L_28, /*hidden argument*/NULL);
NullCheck(L_26);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_26, L_29, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_30 = V_1;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_31 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_32 = L_31.get_DQ_5();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_33 = ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A(L_32, /*hidden argument*/NULL);
NullCheck(L_30);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_30, L_33, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_34 = V_1;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_35 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = L_35.get_InverseQ_6();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_37 = ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A(L_36, /*hidden argument*/NULL);
NullCheck(L_34);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_34, L_37, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_38 = V_1;
NullCheck(L_38);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_39 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_38);
return L_39;
}
}
// System.Security.Cryptography.DSA Mono.Security.Cryptography.PKCS8_PrivateKeyInfo::DecodeDSA(System.Byte[],System.Security.Cryptography.DSAParameters)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * PrivateKeyInfo_DecodeDSA_m705D495634A3F9F97D73FA4FC995352DF5A3F5EF (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___privateKey0, DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 ___dsaParameters1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_DecodeDSA_m705D495634A3F9F97D73FA4FC995352DF5A3F5EF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_0 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___privateKey0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_1 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_2 = V_0;
NullCheck(L_2);
uint8_t L_3 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)2)))
{
goto IL_001b;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_4 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_4, _stringLiteralB69A13D63C5676008946ACB845A85AF96AEE9389, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, PrivateKeyInfo_DecodeDSA_m705D495634A3F9F97D73FA4FC995352DF5A3F5EF_RuntimeMethod_var);
}
IL_001b:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_5 = V_0;
NullCheck(L_5);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_5, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = PrivateKeyInfo_Normalize_m918031FFC55B1092BD5004D914538F78CE701606(L_6, ((int32_t)20), /*hidden argument*/NULL);
(&___dsaParameters1)->set_X_5(L_7);
DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * L_8 = DSA_Create_m727400EBC98FEDC4F43DD568D974EDC1CD2868BA(/*hidden argument*/NULL);
DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * L_9 = L_8;
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 L_10 = ___dsaParameters1;
NullCheck(L_9);
VirtActionInvoker1< DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 >::Invoke(11 /* System.Void System.Security.Cryptography.DSA::ImportParameters(System.Security.Cryptography.DSAParameters) */, L_9, L_10);
return L_9;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8_PrivateKeyInfo::Encode(System.Security.Cryptography.DSA)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PrivateKeyInfo_Encode_m2BD3A752B326B5CE1243BF80896C452F710C8FB8 (DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * ___dsa0, const RuntimeMethod* method)
{
{
DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * L_0 = ___dsa0;
NullCheck(L_0);
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 L_1 = VirtFuncInvoker1< DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 , bool >::Invoke(10 /* System.Security.Cryptography.DSAParameters System.Security.Cryptography.DSA::ExportParameters(System.Boolean) */, L_0, (bool)1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = L_1.get_X_5();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_3 = ASN1Convert_FromUnsignedBigInteger_mB500398BFB7953610B9218268B91E1960BA2E57A(L_2, /*hidden argument*/NULL);
NullCheck(L_3);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_3);
return L_4;
}
}
// System.Byte[] Mono.Security.Cryptography.PKCS8_PrivateKeyInfo::Encode(System.Security.Cryptography.AsymmetricAlgorithm)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PrivateKeyInfo_Encode_m3D458CE8888E92B151A56A3641E46651DFB05CD8 (AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB * ___aa0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PrivateKeyInfo_Encode_m3D458CE8888E92B151A56A3641E46651DFB05CD8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB * L_0 = ___aa0;
if (!((RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 *)IsInstClass((RuntimeObject*)L_0, RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145_il2cpp_TypeInfo_var)))
{
goto IL_0014;
}
}
{
AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB * L_1 = ___aa0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = PrivateKeyInfo_Encode_mF1C1E856195368C0FD130E5E8DEFA373C9F4BEA5(((RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 *)CastclassClass((RuntimeObject*)L_1, RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
return L_2;
}
IL_0014:
{
AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB * L_3 = ___aa0;
if (!((DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF *)IsInstClass((RuntimeObject*)L_3, DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF_il2cpp_TypeInfo_var)))
{
goto IL_0028;
}
}
{
AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB * L_4 = ___aa0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = PrivateKeyInfo_Encode_m2BD3A752B326B5CE1243BF80896C452F710C8FB8(((DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF *)CastclassClass((RuntimeObject*)L_4, DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
return L_5;
}
IL_0028:
{
AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB * L_6 = ___aa0;
NullCheck(L_6);
String_t* L_7 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_6);
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_8 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_mA09CE78A67CC67991C8D2F77FBC4F8029E593195(L_8, _stringLiteral19BEEC1D598AFC7149A3F97203082E708460E075, L_7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, PrivateKeyInfo_Encode_m3D458CE8888E92B151A56A3641E46651DFB05CD8_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.Cryptography.RSAManaged::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RSAManaged_Finalize_m394546493EF1AF7AF4139CF503F361633FD06B12 (RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * __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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
VirtActionInvoker1< bool >::Invoke(5 /* System.Void System.Security.Cryptography.AsymmetricAlgorithm::Dispose(System.Boolean) */, __this, (bool)0);
IL2CPP_LEAVE(0x10, FINALLY_0009);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0009;
}
FINALLY_0009:
{ // begin finally (depth: 1)
Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(9)
} // end finally (depth: 1)
IL2CPP_CLEANUP(9)
{
IL2CPP_JUMP_TBL(0x10, IL_0010)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0010:
{
return;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::GenerateKeyPair()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RSAManaged_GenerateKeyPair_m01DBB9859ED6B604FD48A26561F33FC8213A4BE5 (RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_GenerateKeyPair_m01DBB9859ED6B604FD48A26561F33FC8213A4BE5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_2 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_3 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_4 = NULL;
{
int32_t L_0 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Security.Cryptography.AsymmetricAlgorithm::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(6 /* System.Int32 System.Security.Cryptography.AsymmetricAlgorithm::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_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = BigInteger_op_Implicit_m47A1626222EC6D506611B5776F1506E5ED6F529F(((int32_t)65537), /*hidden argument*/NULL);
__this->set_e_12(L_3);
}
IL_0024:
{
int32_t L_4 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_5 = BigInteger_GeneratePseudoPrime_m40B9FAE1552A9CEF0A39529CF40E2F5C9FD377DE(L_4, /*hidden argument*/NULL);
__this->set_p_6(L_5);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_6 = __this->get_p_6();
uint32_t L_7 = BigInteger_op_Modulus_mEE11685FAA7292E357C36DB794C18EF9E388C876(L_6, ((int32_t)65537), /*hidden argument*/NULL);
if ((((int32_t)L_7) == ((int32_t)1)))
{
goto IL_0024;
}
}
IL_0043:
{
int32_t L_8 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_9 = BigInteger_GeneratePseudoPrime_m40B9FAE1552A9CEF0A39529CF40E2F5C9FD377DE(L_8, /*hidden argument*/NULL);
__this->set_q_7(L_9);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_10 = __this->get_q_7();
uint32_t L_11 = BigInteger_op_Modulus_mEE11685FAA7292E357C36DB794C18EF9E388C876(L_10, ((int32_t)65537), /*hidden argument*/NULL);
if ((((int32_t)L_11) == ((int32_t)1)))
{
goto IL_0043;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_12 = __this->get_p_6();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_13 = __this->get_q_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_14 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_12, L_13, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_0043;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_15 = __this->get_p_6();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_16 = __this->get_q_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_17 = BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE(L_15, L_16, /*hidden argument*/NULL);
__this->set_n_11(L_17);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_18 = __this->get_n_11();
NullCheck(L_18);
int32_t L_19 = BigInteger_BitCount_mFEA208FDC3B126E1517F0E5AAB8D1193856F8C76(L_18, /*hidden argument*/NULL);
int32_t L_20 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Security.Cryptography.AsymmetricAlgorithm::get_KeySize() */, __this);
if ((((int32_t)L_19) == ((int32_t)L_20)))
{
goto IL_00c0;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_21 = __this->get_p_6();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_22 = __this->get_q_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_23 = BigInteger_op_LessThan_m3E95747DE75EE020DB45C030FEA87F2785F1F106(L_21, L_22, /*hidden argument*/NULL);
if (!L_23)
{
goto IL_0043;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_24 = __this->get_q_7();
__this->set_p_6(L_24);
goto IL_0043;
}
IL_00c0:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_25 = __this->get_p_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_26 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(1, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_27 = BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792(L_25, L_26, /*hidden argument*/NULL);
V_2 = L_27;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_28 = __this->get_q_7();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_29 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(1, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_30 = BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792(L_28, L_29, /*hidden argument*/NULL);
V_3 = L_30;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_31 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_32 = V_3;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_33 = BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE(L_31, L_32, /*hidden argument*/NULL);
V_4 = L_33;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_34 = __this->get_e_12();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_35 = V_4;
NullCheck(L_34);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_36 = BigInteger_ModInverse_mBA7BA94A2C0F242844B97B18DAEE368065E59522(L_34, L_35, /*hidden argument*/NULL);
__this->set_d_5(L_36);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_37 = __this->get_d_5();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_38 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_39 = BigInteger_op_Modulus_mAFBC82D374D9E2866AA4958732FA53F7445B122F(L_37, L_38, /*hidden argument*/NULL);
__this->set_dp_8(L_39);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_40 = __this->get_d_5();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_41 = V_3;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_42 = BigInteger_op_Modulus_mAFBC82D374D9E2866AA4958732FA53F7445B122F(L_40, L_41, /*hidden argument*/NULL);
__this->set_dq_9(L_42);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_43 = __this->get_q_7();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_44 = __this->get_p_6();
NullCheck(L_43);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_45 = BigInteger_ModInverse_mBA7BA94A2C0F242844B97B18DAEE368065E59522(L_43, L_44, /*hidden argument*/NULL);
__this->set_qInv_10(L_45);
__this->set_keypairGenerated_3((bool)1);
__this->set_isCRTpossible_2((bool)1);
KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9 * L_46 = __this->get_KeyGenerated_13();
if (!L_46)
{
goto IL_015e;
}
}
{
KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9 * L_47 = __this->get_KeyGenerated_13();
NullCheck(L_47);
KeyGeneratedEventHandler_Invoke_m2544ADEDCC25B2745B8803AC571D74C34459F2F2(L_47, __this, (EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E *)NULL, /*hidden argument*/NULL);
}
IL_015e:
{
return;
}
}
// System.Int32 Mono.Security.Cryptography.RSAManaged::get_KeySize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RSAManaged_get_KeySize_m460D3CD00D5E9DED31348982599FEC360F1FBF37 (RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_get_KeySize_m460D3CD00D5E9DED31348982599FEC360F1FBF37_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
bool L_0 = __this->get_m_disposed_4();
if (!L_0)
{
goto IL_0018;
}
}
{
String_t* L_1 = Locale_GetText_m67B66557188C94648AA7A23F6A7501BE7D455ADA(_stringLiteralDDE273A77F7B5FE50165399E85E5C2F0687C548D, /*hidden argument*/NULL);
ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A * L_2 = (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A *)il2cpp_codegen_object_new(ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m8B5D23EA08E42BDE6BC5233CC666295F19BBD2F9(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, RSAManaged_get_KeySize_m460D3CD00D5E9DED31348982599FEC360F1FBF37_RuntimeMethod_var);
}
IL_0018:
{
bool L_3 = __this->get_keypairGenerated_3();
if (!L_3)
{
goto IL_003b;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = __this->get_n_11();
NullCheck(L_4);
int32_t L_5 = BigInteger_BitCount_mFEA208FDC3B126E1517F0E5AAB8D1193856F8C76(L_4, /*hidden argument*/NULL);
V_0 = L_5;
int32_t L_6 = V_0;
if (!((int32_t)((int32_t)L_6&(int32_t)7)))
{
goto IL_0039;
}
}
{
int32_t L_7 = V_0;
int32_t L_8 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)8, (int32_t)((int32_t)((int32_t)L_8&(int32_t)7))))));
}
IL_0039:
{
int32_t L_9 = V_0;
return L_9;
}
IL_003b:
{
int32_t L_10 = AsymmetricAlgorithm_get_KeySize_mE8C6882BD6C01D3721FAE2B622DFACD89072FB50_inline(__this, /*hidden argument*/NULL);
return L_10;
}
}
// System.Boolean Mono.Security.Cryptography.RSAManaged::get_PublicOnly()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RSAManaged_get_PublicOnly_m1D989F2FB76A46F2C7C80F18D5EA820B7EDD60DD (RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_get_PublicOnly_m1D989F2FB76A46F2C7C80F18D5EA820B7EDD60DD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_keypairGenerated_3();
if (!L_0)
{
goto IL_0025;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = __this->get_d_5();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_2 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90(L_1, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0023;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = __this->get_n_11();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_4 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90(L_3, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
return L_4;
}
IL_0023:
{
return (bool)1;
}
IL_0025:
{
return (bool)0;
}
}
// System.Security.Cryptography.RSAParameters Mono.Security.Cryptography.RSAManaged::ExportParameters(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 RSAManaged_ExportParameters_m8029EBF5FC8B90AF79C6D1469ECB44D28FB101D4 (RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * __this, bool ___includePrivateParameters0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_ExportParameters_m8029EBF5FC8B90AF79C6D1469ECB44D28FB101D4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 V_0;
memset((&V_0), 0, sizeof(V_0));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_1 = NULL;
int32_t V_2 = 0;
{
bool L_0 = __this->get_m_disposed_4();
if (!L_0)
{
goto IL_0018;
}
}
{
String_t* L_1 = Locale_GetText_m67B66557188C94648AA7A23F6A7501BE7D455ADA(_stringLiteralDDE273A77F7B5FE50165399E85E5C2F0687C548D, /*hidden argument*/NULL);
ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A * L_2 = (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A *)il2cpp_codegen_object_new(ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m8B5D23EA08E42BDE6BC5233CC666295F19BBD2F9(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, RSAManaged_ExportParameters_m8029EBF5FC8B90AF79C6D1469ECB44D28FB101D4_RuntimeMethod_var);
}
IL_0018:
{
bool L_3 = __this->get_keypairGenerated_3();
if (L_3)
{
goto IL_0026;
}
}
{
RSAManaged_GenerateKeyPair_m01DBB9859ED6B604FD48A26561F33FC8213A4BE5(__this, /*hidden argument*/NULL);
}
IL_0026:
{
il2cpp_codegen_initobj((&V_0), sizeof(RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 ));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = __this->get_e_12();
NullCheck(L_4);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = BigInteger_GetBytes_m3FA801F9485DE409CF9C9E7F4873694BF642C31C(L_4, /*hidden argument*/NULL);
(&V_0)->set_Exponent_0(L_5);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_6 = __this->get_n_11();
NullCheck(L_6);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = BigInteger_GetBytes_m3FA801F9485DE409CF9C9E7F4873694BF642C31C(L_6, /*hidden argument*/NULL);
(&V_0)->set_Modulus_1(L_7);
bool L_8 = ___includePrivateParameters0;
if (!L_8)
{
goto IL_0188;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_9 = __this->get_d_5();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_10 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90(L_9, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_0071;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_11 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_11, _stringLiteral1B455B5B6120697EB57C6A65C3F3E98FD311227A, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_11, NULL, RSAManaged_ExportParameters_m8029EBF5FC8B90AF79C6D1469ECB44D28FB101D4_RuntimeMethod_var);
}
IL_0071:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_12 = __this->get_d_5();
NullCheck(L_12);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = BigInteger_GetBytes_m3FA801F9485DE409CF9C9E7F4873694BF642C31C(L_12, /*hidden argument*/NULL);
(&V_0)->set_D_7(L_13);
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_14 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = L_14.get_D_7();
NullCheck(L_15);
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_16 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = L_16.get_Modulus_1();
NullCheck(L_17);
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length))))) == ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))))))
{
goto IL_00cc;
}
}
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_18 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_19 = L_18.get_Modulus_1();
NullCheck(L_19);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_19)->max_length)))));
V_1 = L_20;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_21 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = L_21.get_D_7();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = V_1;
NullCheck(L_24);
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_25 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = L_25.get_D_7();
NullCheck(L_26);
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_27 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = L_27.get_D_7();
NullCheck(L_28);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_22, 0, (RuntimeArray *)(RuntimeArray *)L_23, ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length)))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_26)->max_length)))))), (((int32_t)((int32_t)(((RuntimeArray*)L_28)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_29 = V_1;
(&V_0)->set_D_7(L_29);
}
IL_00cc:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_30 = __this->get_p_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_31 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_30, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_31)
{
goto IL_0188;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_32 = __this->get_q_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_33 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_32, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_33)
{
goto IL_0188;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_34 = __this->get_dp_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_35 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_34, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_35)
{
goto IL_0188;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_36 = __this->get_dq_9();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_37 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_36, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_37)
{
goto IL_0188;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_38 = __this->get_qInv_10();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_39 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_38, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_39)
{
goto IL_0188;
}
}
{
int32_t L_40 = VirtFuncInvoker0< int32_t >::Invoke(6 /* System.Int32 System.Security.Cryptography.AsymmetricAlgorithm::get_KeySize() */, __this);
V_2 = ((int32_t)((int32_t)L_40>>(int32_t)4));
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_41 = __this->get_p_6();
int32_t L_42 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_43 = RSAManaged_GetPaddedValue_m09F304D316894F8620769B764EE99DC5FBF29471(__this, L_41, L_42, /*hidden argument*/NULL);
(&V_0)->set_P_2(L_43);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_44 = __this->get_q_7();
int32_t L_45 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_46 = RSAManaged_GetPaddedValue_m09F304D316894F8620769B764EE99DC5FBF29471(__this, L_44, L_45, /*hidden argument*/NULL);
(&V_0)->set_Q_3(L_46);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_47 = __this->get_dp_8();
int32_t L_48 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_49 = RSAManaged_GetPaddedValue_m09F304D316894F8620769B764EE99DC5FBF29471(__this, L_47, L_48, /*hidden argument*/NULL);
(&V_0)->set_DP_4(L_49);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_50 = __this->get_dq_9();
int32_t L_51 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_52 = RSAManaged_GetPaddedValue_m09F304D316894F8620769B764EE99DC5FBF29471(__this, L_50, L_51, /*hidden argument*/NULL);
(&V_0)->set_DQ_5(L_52);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_53 = __this->get_qInv_10();
int32_t L_54 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_55 = RSAManaged_GetPaddedValue_m09F304D316894F8620769B764EE99DC5FBF29471(__this, L_53, L_54, /*hidden argument*/NULL);
(&V_0)->set_InverseQ_6(L_55);
}
IL_0188:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_56 = V_0;
return L_56;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::ImportParameters(System.Security.Cryptography.RSAParameters)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RSAManaged_ImportParameters_m74BDEF3C147D83EE752B8445A83E1F4B7866717D (RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * __this, RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 ___parameters0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_ImportParameters_m74BDEF3C147D83EE752B8445A83E1F4B7866717D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_2 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_3 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_4 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_5 = NULL;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * V_6 = NULL;
int32_t G_B22_0 = 0;
RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * G_B25_0 = NULL;
RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * G_B23_0 = NULL;
RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * G_B24_0 = NULL;
int32_t G_B26_0 = 0;
RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * G_B26_1 = NULL;
int32_t G_B35_0 = 0;
{
bool L_0 = __this->get_m_disposed_4();
if (!L_0)
{
goto IL_0018;
}
}
{
String_t* L_1 = Locale_GetText_m67B66557188C94648AA7A23F6A7501BE7D455ADA(_stringLiteralDDE273A77F7B5FE50165399E85E5C2F0687C548D, /*hidden argument*/NULL);
ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A * L_2 = (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A *)il2cpp_codegen_object_new(ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m8B5D23EA08E42BDE6BC5233CC666295F19BBD2F9(L_2, L_1, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, RSAManaged_ImportParameters_m74BDEF3C147D83EE752B8445A83E1F4B7866717D_RuntimeMethod_var);
}
IL_0018:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_3 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = L_3.get_Exponent_0();
if (L_4)
{
goto IL_0030;
}
}
{
String_t* L_5 = Locale_GetText_m67B66557188C94648AA7A23F6A7501BE7D455ADA(_stringLiteral1BFBA49274D5FFD04A381E293A69A95116E371E9, /*hidden argument*/NULL);
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_6 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_6, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, RSAManaged_ImportParameters_m74BDEF3C147D83EE752B8445A83E1F4B7866717D_RuntimeMethod_var);
}
IL_0030:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_7 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = L_7.get_Modulus_1();
if (L_8)
{
goto IL_0048;
}
}
{
String_t* L_9 = Locale_GetText_m67B66557188C94648AA7A23F6A7501BE7D455ADA(_stringLiteralCF8640B2F06532BE2709134CF9028B273081AA99, /*hidden argument*/NULL);
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_10 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_10, L_9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, RSAManaged_ImportParameters_m74BDEF3C147D83EE752B8445A83E1F4B7866717D_RuntimeMethod_var);
}
IL_0048:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_11 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = L_11.get_Exponent_0();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_13 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m12A6762C07A6C1B90E6461D22E25A4DE6D3F1250(L_13, L_12, /*hidden argument*/NULL);
__this->set_e_12(L_13);
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_14 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = L_14.get_Modulus_1();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_16 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m12A6762C07A6C1B90E6461D22E25A4DE6D3F1250(L_16, L_15, /*hidden argument*/NULL);
__this->set_n_11(L_16);
V_2 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL;
__this->set_q_7((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_17 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_18 = L_17;
V_2 = L_18;
__this->set_p_6(L_18);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_19 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_20 = L_19;
V_2 = L_20;
__this->set_qInv_10(L_20);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_21 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_22 = L_21;
V_2 = L_22;
__this->set_dq_9(L_22);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_23 = V_2;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_24 = L_23;
V_2 = L_24;
__this->set_dp_8(L_24);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_25 = V_2;
__this->set_d_5(L_25);
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_26 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_27 = L_26.get_D_7();
if (!L_27)
{
goto IL_00b7;
}
}
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_28 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_29 = L_28.get_D_7();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_30 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m12A6762C07A6C1B90E6461D22E25A4DE6D3F1250(L_30, L_29, /*hidden argument*/NULL);
__this->set_d_5(L_30);
}
IL_00b7:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_31 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_32 = L_31.get_DP_4();
if (!L_32)
{
goto IL_00d0;
}
}
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_33 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_34 = L_33.get_DP_4();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_35 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m12A6762C07A6C1B90E6461D22E25A4DE6D3F1250(L_35, L_34, /*hidden argument*/NULL);
__this->set_dp_8(L_35);
}
IL_00d0:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_36 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_37 = L_36.get_DQ_5();
if (!L_37)
{
goto IL_00e9;
}
}
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_38 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_39 = L_38.get_DQ_5();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_40 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m12A6762C07A6C1B90E6461D22E25A4DE6D3F1250(L_40, L_39, /*hidden argument*/NULL);
__this->set_dq_9(L_40);
}
IL_00e9:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_41 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_42 = L_41.get_InverseQ_6();
if (!L_42)
{
goto IL_0102;
}
}
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_43 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_44 = L_43.get_InverseQ_6();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_45 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m12A6762C07A6C1B90E6461D22E25A4DE6D3F1250(L_45, L_44, /*hidden argument*/NULL);
__this->set_qInv_10(L_45);
}
IL_0102:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_46 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_47 = L_46.get_P_2();
if (!L_47)
{
goto IL_011b;
}
}
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_48 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_49 = L_48.get_P_2();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_50 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m12A6762C07A6C1B90E6461D22E25A4DE6D3F1250(L_50, L_49, /*hidden argument*/NULL);
__this->set_p_6(L_50);
}
IL_011b:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_51 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_52 = L_51.get_Q_3();
if (!L_52)
{
goto IL_0134;
}
}
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_53 = ___parameters0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_54 = L_53.get_Q_3();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_55 = (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)il2cpp_codegen_object_new(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger__ctor_m12A6762C07A6C1B90E6461D22E25A4DE6D3F1250(L_55, L_54, /*hidden argument*/NULL);
__this->set_q_7(L_55);
}
IL_0134:
{
__this->set_keypairGenerated_3((bool)1);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_56 = __this->get_p_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_57 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_56, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_57)
{
goto IL_0165;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_58 = __this->get_q_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_59 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_58, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_59)
{
goto IL_0165;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_60 = __this->get_dp_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_61 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_60, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
G_B22_0 = ((int32_t)(L_61));
goto IL_0166;
}
IL_0165:
{
G_B22_0 = 0;
}
IL_0166:
{
V_0 = (bool)G_B22_0;
bool L_62 = V_0;
G_B23_0 = __this;
if (!L_62)
{
G_B25_0 = __this;
goto IL_0187;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_63 = __this->get_dq_9();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_64 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_63, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
G_B24_0 = G_B23_0;
if (!L_64)
{
G_B25_0 = G_B23_0;
goto IL_0187;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_65 = __this->get_qInv_10();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_66 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_65, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
G_B26_0 = ((int32_t)(L_66));
G_B26_1 = G_B24_0;
goto IL_0188;
}
IL_0187:
{
G_B26_0 = 0;
G_B26_1 = G_B25_0;
}
IL_0188:
{
NullCheck(G_B26_1);
G_B26_1->set_isCRTpossible_2((bool)G_B26_0);
bool L_67 = V_0;
if (L_67)
{
goto IL_0191;
}
}
{
return;
}
IL_0191:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_68 = __this->get_n_11();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_69 = __this->get_p_6();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_70 = __this->get_q_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_71 = BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE(L_69, L_70, /*hidden argument*/NULL);
bool L_72 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90(L_68, L_71, /*hidden argument*/NULL);
V_1 = L_72;
bool L_73 = V_1;
if (!L_73)
{
goto IL_0256;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_74 = __this->get_p_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_75 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(1, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_76 = BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792(L_74, L_75, /*hidden argument*/NULL);
V_3 = L_76;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_77 = __this->get_q_7();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_78 = BigInteger_op_Implicit_m7057639C0ADB9D04334B3DA64237547E293A50EB(1, /*hidden argument*/NULL);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_79 = BigInteger_op_Subtraction_mC72451C0DAE478E11522A2AB99426BEAD4E97792(L_77, L_78, /*hidden argument*/NULL);
V_4 = L_79;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_80 = V_3;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_81 = V_4;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_82 = BigInteger_op_Multiply_mEA6B6928879EF921641122FA7E597A16A613EDDE(L_80, L_81, /*hidden argument*/NULL);
V_5 = L_82;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_83 = __this->get_e_12();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_84 = V_5;
NullCheck(L_83);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_85 = BigInteger_ModInverse_mBA7BA94A2C0F242844B97B18DAEE368065E59522(L_83, L_84, /*hidden argument*/NULL);
V_6 = L_85;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_86 = __this->get_d_5();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_87 = V_6;
bool L_88 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90(L_86, L_87, /*hidden argument*/NULL);
V_1 = L_88;
bool L_89 = V_1;
if (L_89)
{
goto IL_0256;
}
}
{
bool L_90 = __this->get_isCRTpossible_2();
if (!L_90)
{
goto IL_0256;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_91 = __this->get_dp_8();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_92 = V_6;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_93 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_94 = BigInteger_op_Modulus_mAFBC82D374D9E2866AA4958732FA53F7445B122F(L_92, L_93, /*hidden argument*/NULL);
bool L_95 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90(L_91, L_94, /*hidden argument*/NULL);
if (!L_95)
{
goto IL_0254;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_96 = __this->get_dq_9();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_97 = V_6;
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_98 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_99 = BigInteger_op_Modulus_mAFBC82D374D9E2866AA4958732FA53F7445B122F(L_97, L_98, /*hidden argument*/NULL);
bool L_100 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90(L_96, L_99, /*hidden argument*/NULL);
if (!L_100)
{
goto IL_0254;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_101 = __this->get_qInv_10();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_102 = __this->get_q_7();
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_103 = __this->get_p_6();
NullCheck(L_102);
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_104 = BigInteger_ModInverse_mBA7BA94A2C0F242844B97B18DAEE368065E59522(L_102, L_103, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_105 = BigInteger_op_Equality_mF5B5A983065914F1789BB1552A1AA1B589B59C90(L_101, L_104, /*hidden argument*/NULL);
G_B35_0 = ((int32_t)(L_105));
goto IL_0255;
}
IL_0254:
{
G_B35_0 = 0;
}
IL_0255:
{
V_1 = (bool)G_B35_0;
}
IL_0256:
{
bool L_106 = V_1;
if (L_106)
{
goto IL_0269;
}
}
{
String_t* L_107 = Locale_GetText_m67B66557188C94648AA7A23F6A7501BE7D455ADA(_stringLiteralBA5B3EECE056B8FA19F9675DC6B2C3279F72B203, /*hidden argument*/NULL);
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_108 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_108, L_107, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_108, NULL, RSAManaged_ImportParameters_m74BDEF3C147D83EE752B8445A83E1F4B7866717D_RuntimeMethod_var);
}
IL_0269:
{
return;
}
}
// System.Void Mono.Security.Cryptography.RSAManaged::Dispose(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RSAManaged_Dispose_m2C1A07BB502FBAB28DBE6675CA0B1D54019C6DFB (RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * __this, bool ___disposing0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_Dispose_m2C1A07BB502FBAB28DBE6675CA0B1D54019C6DFB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_m_disposed_4();
if (L_0)
{
goto IL_010e;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_1 = __this->get_d_5();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_2 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_1, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002b;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_3 = __this->get_d_5();
NullCheck(L_3);
BigInteger_Clear_m255C25D3F81897E8ACF1B0F1C75E33459E4E9ECD(L_3, /*hidden argument*/NULL);
__this->set_d_5((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL);
}
IL_002b:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_4 = __this->get_p_6();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_5 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_4, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_004b;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_6 = __this->get_p_6();
NullCheck(L_6);
BigInteger_Clear_m255C25D3F81897E8ACF1B0F1C75E33459E4E9ECD(L_6, /*hidden argument*/NULL);
__this->set_p_6((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL);
}
IL_004b:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_7 = __this->get_q_7();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_8 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_7, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_006b;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_9 = __this->get_q_7();
NullCheck(L_9);
BigInteger_Clear_m255C25D3F81897E8ACF1B0F1C75E33459E4E9ECD(L_9, /*hidden argument*/NULL);
__this->set_q_7((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL);
}
IL_006b:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_10 = __this->get_dp_8();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_11 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_10, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_008b;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_12 = __this->get_dp_8();
NullCheck(L_12);
BigInteger_Clear_m255C25D3F81897E8ACF1B0F1C75E33459E4E9ECD(L_12, /*hidden argument*/NULL);
__this->set_dp_8((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL);
}
IL_008b:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_13 = __this->get_dq_9();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_14 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_13, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_00ab;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_15 = __this->get_dq_9();
NullCheck(L_15);
BigInteger_Clear_m255C25D3F81897E8ACF1B0F1C75E33459E4E9ECD(L_15, /*hidden argument*/NULL);
__this->set_dq_9((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL);
}
IL_00ab:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_16 = __this->get_qInv_10();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_17 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_16, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_17)
{
goto IL_00cb;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_18 = __this->get_qInv_10();
NullCheck(L_18);
BigInteger_Clear_m255C25D3F81897E8ACF1B0F1C75E33459E4E9ECD(L_18, /*hidden argument*/NULL);
__this->set_qInv_10((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL);
}
IL_00cb:
{
bool L_19 = ___disposing0;
if (!L_19)
{
goto IL_010e;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_20 = __this->get_e_12();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_21 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_20, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_21)
{
goto IL_00ee;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_22 = __this->get_e_12();
NullCheck(L_22);
BigInteger_Clear_m255C25D3F81897E8ACF1B0F1C75E33459E4E9ECD(L_22, /*hidden argument*/NULL);
__this->set_e_12((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL);
}
IL_00ee:
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_23 = __this->get_n_11();
IL2CPP_RUNTIME_CLASS_INIT(BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8_il2cpp_TypeInfo_var);
bool L_24 = BigInteger_op_Inequality_m0C6217422FC853BD5E26CF9E7995AE95E55668C2(L_23, (BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL, /*hidden argument*/NULL);
if (!L_24)
{
goto IL_010e;
}
}
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_25 = __this->get_n_11();
NullCheck(L_25);
BigInteger_Clear_m255C25D3F81897E8ACF1B0F1C75E33459E4E9ECD(L_25, /*hidden argument*/NULL);
__this->set_n_11((BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 *)NULL);
}
IL_010e:
{
__this->set_m_disposed_4((bool)1);
return;
}
}
// System.String Mono.Security.Cryptography.RSAManaged::ToXmlString(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* RSAManaged_ToXmlString_m9189B3341B9CAD4722BFF40BB674316DEDFD7EDF (RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * __this, bool ___includePrivateParameters0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_ToXmlString_m9189B3341B9CAD4722BFF40BB674316DEDFD7EDF_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
StringBuilder_t * L_0 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_mF928376F82E8C8FF3C11842C562DB8CF28B2735E(L_0, /*hidden argument*/NULL);
V_0 = L_0;
bool L_1 = ___includePrivateParameters0;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_2 = VirtFuncInvoker1< RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 , bool >::Invoke(10 /* System.Security.Cryptography.RSAParameters System.Security.Cryptography.RSA::ExportParameters(System.Boolean) */, __this, L_1);
V_1 = L_2;
}
IL_000e:
try
{ // begin try (depth: 1)
{
StringBuilder_t * L_3 = V_0;
NullCheck(L_3);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_3, _stringLiteral2573431B92F35769F17226527DDA47049FF4A0DF, /*hidden argument*/NULL);
StringBuilder_t * L_4 = V_0;
NullCheck(L_4);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_4, _stringLiteral389F2CE8BCC7BBD0A3FF8EEE933CAD8BCD045174, /*hidden argument*/NULL);
StringBuilder_t * L_5 = V_0;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_6 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = L_6.get_Modulus_1();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t1C7A851BFB2F0782FD7F72F6AA1DCBB7B53A9C7E_il2cpp_TypeInfo_var);
String_t* L_8 = Convert_ToBase64String_mF201749AD724C437524C8A6108519470A0F65B84(L_7, /*hidden argument*/NULL);
NullCheck(L_5);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_5, L_8, /*hidden argument*/NULL);
StringBuilder_t * L_9 = V_0;
NullCheck(L_9);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_9, _stringLiteralE1389F27DE95DF8DE493690AD602D0D9C4B8A064, /*hidden argument*/NULL);
StringBuilder_t * L_10 = V_0;
NullCheck(L_10);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_10, _stringLiteral3F00283C1F56E677FC4B8300E75C719DD482B456, /*hidden argument*/NULL);
StringBuilder_t * L_11 = V_0;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_12 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = L_12.get_Exponent_0();
String_t* L_14 = Convert_ToBase64String_mF201749AD724C437524C8A6108519470A0F65B84(L_13, /*hidden argument*/NULL);
NullCheck(L_11);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_11, L_14, /*hidden argument*/NULL);
StringBuilder_t * L_15 = V_0;
NullCheck(L_15);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_15, _stringLiteralBDEFEB489575DFA1A3BA1FCA02FEA1FB3C42F6EA, /*hidden argument*/NULL);
bool L_16 = ___includePrivateParameters0;
if (!L_16)
{
goto IL_0198;
}
}
IL_0074:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_17 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = L_17.get_P_2();
if (!L_18)
{
goto IL_00a6;
}
}
IL_007c:
{
StringBuilder_t * L_19 = V_0;
NullCheck(L_19);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_19, _stringLiteral2CB0A92636DB3A3A9D187F27C6DE24B5B2F91B92, /*hidden argument*/NULL);
StringBuilder_t * L_20 = V_0;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_21 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = L_21.get_P_2();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t1C7A851BFB2F0782FD7F72F6AA1DCBB7B53A9C7E_il2cpp_TypeInfo_var);
String_t* L_23 = Convert_ToBase64String_mF201749AD724C437524C8A6108519470A0F65B84(L_22, /*hidden argument*/NULL);
NullCheck(L_20);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_20, L_23, /*hidden argument*/NULL);
StringBuilder_t * L_24 = V_0;
NullCheck(L_24);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_24, _stringLiteral2684A7EF111863B200C834E7572390FA05F109E3, /*hidden argument*/NULL);
}
IL_00a6:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_25 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = L_25.get_Q_3();
if (!L_26)
{
goto IL_00d8;
}
}
IL_00ae:
{
StringBuilder_t * L_27 = V_0;
NullCheck(L_27);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_27, _stringLiteral2D91E9980B38E82DF8F787AB449DF0E2AADFF84A, /*hidden argument*/NULL);
StringBuilder_t * L_28 = V_0;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_29 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_30 = L_29.get_Q_3();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t1C7A851BFB2F0782FD7F72F6AA1DCBB7B53A9C7E_il2cpp_TypeInfo_var);
String_t* L_31 = Convert_ToBase64String_mF201749AD724C437524C8A6108519470A0F65B84(L_30, /*hidden argument*/NULL);
NullCheck(L_28);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_28, L_31, /*hidden argument*/NULL);
StringBuilder_t * L_32 = V_0;
NullCheck(L_32);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_32, _stringLiteralBC4CD0294E0999F20205970C2B199983C3C0B0A5, /*hidden argument*/NULL);
}
IL_00d8:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_33 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_34 = L_33.get_DP_4();
if (!L_34)
{
goto IL_010a;
}
}
IL_00e0:
{
StringBuilder_t * L_35 = V_0;
NullCheck(L_35);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_35, _stringLiteralC376AAE863FED7F2100B15B45F998504B3C30559, /*hidden argument*/NULL);
StringBuilder_t * L_36 = V_0;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_37 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_38 = L_37.get_DP_4();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t1C7A851BFB2F0782FD7F72F6AA1DCBB7B53A9C7E_il2cpp_TypeInfo_var);
String_t* L_39 = Convert_ToBase64String_mF201749AD724C437524C8A6108519470A0F65B84(L_38, /*hidden argument*/NULL);
NullCheck(L_36);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_36, L_39, /*hidden argument*/NULL);
StringBuilder_t * L_40 = V_0;
NullCheck(L_40);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_40, _stringLiteral3F2997F78A546288F461F90F87679397A1E5A51F, /*hidden argument*/NULL);
}
IL_010a:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_41 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_42 = L_41.get_DQ_5();
if (!L_42)
{
goto IL_013c;
}
}
IL_0112:
{
StringBuilder_t * L_43 = V_0;
NullCheck(L_43);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_43, _stringLiteral669EC1C9F3C16BB6049E4E62DED3D267DB25932E, /*hidden argument*/NULL);
StringBuilder_t * L_44 = V_0;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_45 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_46 = L_45.get_DQ_5();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t1C7A851BFB2F0782FD7F72F6AA1DCBB7B53A9C7E_il2cpp_TypeInfo_var);
String_t* L_47 = Convert_ToBase64String_mF201749AD724C437524C8A6108519470A0F65B84(L_46, /*hidden argument*/NULL);
NullCheck(L_44);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_44, L_47, /*hidden argument*/NULL);
StringBuilder_t * L_48 = V_0;
NullCheck(L_48);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_48, _stringLiteral9444DC2D03948DE0E3F0FB612AC887006E0DC23E, /*hidden argument*/NULL);
}
IL_013c:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_49 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_50 = L_49.get_InverseQ_6();
if (!L_50)
{
goto IL_016e;
}
}
IL_0144:
{
StringBuilder_t * L_51 = V_0;
NullCheck(L_51);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_51, _stringLiteral9636E74995FF458A887B597EABB50C7D35056A34, /*hidden argument*/NULL);
StringBuilder_t * L_52 = V_0;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_53 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_54 = L_53.get_InverseQ_6();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t1C7A851BFB2F0782FD7F72F6AA1DCBB7B53A9C7E_il2cpp_TypeInfo_var);
String_t* L_55 = Convert_ToBase64String_mF201749AD724C437524C8A6108519470A0F65B84(L_54, /*hidden argument*/NULL);
NullCheck(L_52);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_52, L_55, /*hidden argument*/NULL);
StringBuilder_t * L_56 = V_0;
NullCheck(L_56);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_56, _stringLiteral16027BD069AB27D060EBB9DE6EF1E9ECA4BC97E2, /*hidden argument*/NULL);
}
IL_016e:
{
StringBuilder_t * L_57 = V_0;
NullCheck(L_57);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_57, _stringLiteralA5F656374D7FF6B837776376DF09B2C531805C9E, /*hidden argument*/NULL);
StringBuilder_t * L_58 = V_0;
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_59 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_60 = L_59.get_D_7();
IL2CPP_RUNTIME_CLASS_INIT(Convert_t1C7A851BFB2F0782FD7F72F6AA1DCBB7B53A9C7E_il2cpp_TypeInfo_var);
String_t* L_61 = Convert_ToBase64String_mF201749AD724C437524C8A6108519470A0F65B84(L_60, /*hidden argument*/NULL);
NullCheck(L_58);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_58, L_61, /*hidden argument*/NULL);
StringBuilder_t * L_62 = V_0;
NullCheck(L_62);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_62, _stringLiteral9D47261D808C7285426E7FA767344B13B392D7D2, /*hidden argument*/NULL);
}
IL_0198:
{
StringBuilder_t * L_63 = V_0;
NullCheck(L_63);
StringBuilder_Append_mDBB8CCBB7750C67BE2F2D92F47E6C0FA42793260(L_63, _stringLiteral09AB7D22A03780085A8E13440BC03282C58B11C9, /*hidden argument*/NULL);
goto IL_0254;
}
} // 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_01a9;
throw e;
}
CATCH_01a9:
{ // begin catch(System.Object)
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_64 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_65 = L_64.get_P_2();
if (!L_65)
{
goto IL_01c6;
}
}
IL_01b2:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_66 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_67 = L_66.get_P_2();
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_68 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_69 = L_68.get_P_2();
NullCheck(L_69);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_67, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_69)->max_length)))), /*hidden argument*/NULL);
}
IL_01c6:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_70 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_71 = L_70.get_Q_3();
if (!L_71)
{
goto IL_01e2;
}
}
IL_01ce:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_72 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_73 = L_72.get_Q_3();
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_74 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_75 = L_74.get_Q_3();
NullCheck(L_75);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_73, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_75)->max_length)))), /*hidden argument*/NULL);
}
IL_01e2:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_76 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_77 = L_76.get_DP_4();
if (!L_77)
{
goto IL_01fe;
}
}
IL_01ea:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_78 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_79 = L_78.get_DP_4();
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_80 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_81 = L_80.get_DP_4();
NullCheck(L_81);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_79, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_81)->max_length)))), /*hidden argument*/NULL);
}
IL_01fe:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_82 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_83 = L_82.get_DQ_5();
if (!L_83)
{
goto IL_021a;
}
}
IL_0206:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_84 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_85 = L_84.get_DQ_5();
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_86 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_87 = L_86.get_DQ_5();
NullCheck(L_87);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_85, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_87)->max_length)))), /*hidden argument*/NULL);
}
IL_021a:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_88 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_89 = L_88.get_InverseQ_6();
if (!L_89)
{
goto IL_0236;
}
}
IL_0222:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_90 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_91 = L_90.get_InverseQ_6();
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_92 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_93 = L_92.get_InverseQ_6();
NullCheck(L_93);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_91, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_93)->max_length)))), /*hidden argument*/NULL);
}
IL_0236:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_94 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_95 = L_94.get_D_7();
if (!L_95)
{
goto IL_0252;
}
}
IL_023e:
{
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_96 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_97 = L_96.get_D_7();
RSAParameters_t6A568C1275FA8F8C02615666D998134DCFFB9717 L_98 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_99 = L_98.get_D_7();
NullCheck(L_99);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_97, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_99)->max_length)))), /*hidden argument*/NULL);
}
IL_0252:
{
IL2CPP_RAISE_MANAGED_EXCEPTION(__exception_local, NULL, RSAManaged_ToXmlString_m9189B3341B9CAD4722BFF40BB674316DEDFD7EDF_RuntimeMethod_var);
}
} // end catch (depth: 1)
IL_0254:
{
StringBuilder_t * L_100 = V_0;
NullCheck(L_100);
String_t* L_101 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_100);
return L_101;
}
}
// System.Byte[] Mono.Security.Cryptography.RSAManaged::GetPaddedValue(Mono.Math.BigInteger,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* RSAManaged_GetPaddedValue_m09F304D316894F8620769B764EE99DC5FBF29471 (RSAManaged_t386184E253177BF2DD9589A7E9C171DA8E718745 * __this, BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * ___value0, int32_t ___length1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RSAManaged_GetPaddedValue_m09F304D316894F8620769B764EE99DC5FBF29471_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_1 = NULL;
{
BigInteger_t32A7AEC0FCC286F1F9F33AAE4B6506F69CCC78A8 * L_0 = ___value0;
NullCheck(L_0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = BigInteger_GetBytes_m3FA801F9485DE409CF9C9E7F4873694BF642C31C(L_0, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = ___length1;
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length))))) < ((int32_t)L_3)))
{
goto IL_000f;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = V_0;
return L_4;
}
IL_000f:
{
int32_t L_5 = ___length1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_5);
V_1 = L_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = V_1;
int32_t L_9 = ___length1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = V_0;
NullCheck(L_10);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = V_0;
NullCheck(L_11);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((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_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = V_0;
NullCheck(L_13);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_12, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* 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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void KeyGeneratedEventHandler__ctor_mE307EE64ED560979049F75AE82AAB74F33BBFB30 (KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9 * __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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void KeyGeneratedEventHandler_Invoke_m2544ADEDCC25B2745B8803AC571D74C34459F2F2 (KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9 * __this, RuntimeObject * ___sender0, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * ___e1, const RuntimeMethod* method)
{
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* delegateArrayToInvoke = __this->get_delegates_11();
Delegate_t** delegatesToInvoke;
il2cpp_array_size_t length;
if (delegateArrayToInvoke != NULL)
{
length = delegateArrayToInvoke->max_length;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0));
}
else
{
length = 1;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this);
}
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t* currentDelegate = delegatesToInvoke[i];
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
if (!il2cpp_codegen_method_is_virtual(targetMethod))
{
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
}
bool ___methodIsStatic = MethodIsStatic(targetMethod);
int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod);
if (___methodIsStatic)
{
if (___parameterCount == 2)
{
// open
typedef void (*FunctionPointerType) (RuntimeObject *, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___sender0, ___e1, targetMethod);
}
else
{
// closed
typedef void (*FunctionPointerType) (void*, RuntimeObject *, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___sender0, ___e1, targetMethod);
}
}
else if (___parameterCount != 2)
{
// 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_t8E6CA180BE0E56674C6407011A94BAF7C757352E * >::Invoke(targetMethod, ___sender0, ___e1);
else
GenericVirtActionInvoker1< EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * >::Invoke(targetMethod, ___sender0, ___e1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker1< EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___sender0, ___e1);
else
VirtActionInvoker1< EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___sender0, ___e1);
}
}
else
{
typedef void (*FunctionPointerType) (RuntimeObject *, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___sender0, ___e1, targetMethod);
}
}
else
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (targetThis == NULL)
{
typedef void (*FunctionPointerType) (RuntimeObject *, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(___sender0, ___e1, targetMethod);
}
else if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
GenericInterfaceActionInvoker2< RuntimeObject *, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * >::Invoke(targetMethod, targetThis, ___sender0, ___e1);
else
GenericVirtActionInvoker2< RuntimeObject *, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * >::Invoke(targetMethod, targetThis, ___sender0, ___e1);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
InterfaceActionInvoker2< RuntimeObject *, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___sender0, ___e1);
else
VirtActionInvoker2< RuntimeObject *, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___sender0, ___e1);
}
}
else
{
typedef void (*FunctionPointerType) (void*, RuntimeObject *, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E *, const RuntimeMethod*);
((FunctionPointerType)targetMethodPointer)(targetThis, ___sender0, ___e1, targetMethod);
}
}
}
}
// System.IAsyncResult Mono.Security.Cryptography.RSAManaged_KeyGeneratedEventHandler::BeginInvoke(System.Object,System.EventArgs,System.AsyncCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* KeyGeneratedEventHandler_BeginInvoke_m679B8A636D2776A15B77B205E37C2D625BA9BD1A (KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9 * __this, RuntimeObject * ___sender0, EventArgs_t8E6CA180BE0E56674C6407011A94BAF7C757352E * ___e1, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void KeyGeneratedEventHandler_EndInvoke_m7B2DD30E561E108C5AA15AE1B22CDD4D0940AF78 (KeyGeneratedEventHandler_t4696955EF1EA571682FB3F21F5A4CA5E5B6737A9 * __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
// Mono.Security.Interface.AlertLevel Mono.Security.Interface.Alert::get_Level()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t Alert_get_Level_m4D9BDC77286315A186F6517A3AE514DD7B31FBDC (Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_level_0();
return L_0;
}
}
// Mono.Security.Interface.AlertDescription Mono.Security.Interface.Alert::get_Description()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t Alert_get_Description_m3FDF20086BFE900B014DB0EA960F27413326A11D (Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_description_1();
return L_0;
}
}
// System.Void Mono.Security.Interface.Alert::.ctor(Mono.Security.Interface.AlertDescription)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Alert__ctor_mD0D7AE959A64782F053515E043A70D71E229279B (Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * __this, uint8_t ___description0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
uint8_t L_0 = ___description0;
__this->set_description_1(L_0);
Alert_inferAlertLevel_m3501288705DB4CCFDCBB9230E4C3F2E819738A9C(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Interface.Alert::inferAlertLevel()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Alert_inferAlertLevel_m3501288705DB4CCFDCBB9230E4C3F2E819738A9C (Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * __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;
if ((!(((uint32_t)L_1) <= ((uint32_t)((int32_t)60)))))
{
goto IL_0099;
}
}
{
uint8_t L_2 = V_0;
if ((!(((uint32_t)L_2) <= ((uint32_t)((int32_t)10)))))
{
goto IL_0027;
}
}
{
uint8_t L_3 = V_0;
if (!L_3)
{
goto IL_00bd;
}
}
{
uint8_t L_4 = V_0;
if ((((int32_t)L_4) == ((int32_t)((int32_t)10))))
{
goto IL_00c5;
}
}
{
goto IL_00c5;
}
IL_0027:
{
uint8_t L_5 = V_0;
if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)((int32_t)20)))) > ((uint32_t)2))))
{
goto IL_00c5;
}
}
{
uint8_t L_6 = V_0;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_6, (int32_t)((int32_t)30))))
{
case 0:
{
goto IL_00c5;
}
case 1:
{
goto IL_00c5;
}
case 2:
{
goto IL_00c5;
}
case 3:
{
goto IL_00c5;
}
case 4:
{
goto IL_00c5;
}
case 5:
{
goto IL_00c5;
}
case 6:
{
goto IL_00c5;
}
case 7:
{
goto IL_00c5;
}
case 8:
{
goto IL_00c5;
}
case 9:
{
goto IL_00c5;
}
case 10:
{
goto IL_00c5;
}
case 11:
{
goto IL_00c5;
}
case 12:
{
goto IL_00c5;
}
case 13:
{
goto IL_00c5;
}
case 14:
{
goto IL_00c5;
}
case 15:
{
goto IL_00c5;
}
case 16:
{
goto IL_00c5;
}
case 17:
{
goto IL_00c5;
}
case 18:
{
goto IL_00c5;
}
case 19:
{
goto IL_00c5;
}
case 20:
{
goto IL_00c5;
}
case 21:
{
goto IL_00c5;
}
}
}
{
uint8_t L_7 = V_0;
if ((((int32_t)L_7) == ((int32_t)((int32_t)60))))
{
goto IL_00c5;
}
}
{
goto IL_00c5;
}
IL_0099:
{
uint8_t L_8 = V_0;
if ((!(((uint32_t)L_8) <= ((uint32_t)((int32_t)80)))))
{
goto IL_00ac;
}
}
{
uint8_t L_9 = V_0;
if ((!(((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)70)))) > ((uint32_t)1))))
{
goto IL_00c5;
}
}
{
uint8_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)80))))
{
goto IL_00c5;
}
}
{
goto IL_00c5;
}
IL_00ac:
{
uint8_t L_11 = V_0;
if ((((int32_t)L_11) == ((int32_t)((int32_t)90))))
{
goto IL_00bd;
}
}
{
uint8_t L_12 = V_0;
if ((((int32_t)L_12) == ((int32_t)((int32_t)100))))
{
goto IL_00bd;
}
}
{
uint8_t L_13 = V_0;
if ((((int32_t)L_13) == ((int32_t)((int32_t)110))))
{
goto IL_00c5;
}
}
{
goto IL_00c5;
}
IL_00bd:
{
__this->set_level_0(1);
return;
}
IL_00c5:
{
__this->set_level_0(2);
return;
}
}
// System.String Mono.Security.Interface.Alert::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Alert_ToString_mF4C26959C923C9C023B6DAD01DFF6F0D2868D167 (Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Alert_ToString_mF4C26959C923C9C023B6DAD01DFF6F0D2868D167_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t L_0 = Alert_get_Level_m4D9BDC77286315A186F6517A3AE514DD7B31FBDC_inline(__this, /*hidden argument*/NULL);
uint8_t L_1 = L_0;
RuntimeObject * L_2 = Box(AlertLevel_t300CD4F0586BC84361B20C4B26C89EC1ECB3FC34_il2cpp_TypeInfo_var, &L_1);
uint8_t L_3 = Alert_get_Description_m3FDF20086BFE900B014DB0EA960F27413326A11D_inline(__this, /*hidden argument*/NULL);
uint8_t L_4 = L_3;
RuntimeObject * L_5 = Box(AlertDescription_t8D4DE3060801044928816134B2292AFB933D40D6_il2cpp_TypeInfo_var, &L_4);
String_t* L_6 = String_Format_m19325298DBC61AAC016C16F7B3CF97A8A3DEA34A(_stringLiteral8D6BEFF0610975FF4C08174B23C6DE430DB0BB84, L_2, L_5, /*hidden argument*/NULL);
return L_6;
}
}
#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.Interface.CertificateValidationHelper::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CertificateValidationHelper__cctor_m3F448328D24FD04BC74176CE26ACCB2C431E2B24 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CertificateValidationHelper__cctor_m3F448328D24FD04BC74176CE26ACCB2C431E2B24_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = File_Exists_m6B9BDD8EEB33D744EB0590DD27BC0152FAFBD1FB(_stringLiteral6D4853D9C2696A98DA8096DCE674A11141FD8E3C, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0019;
}
}
{
((CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86_StaticFields*)il2cpp_codegen_static_fields_for(CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86_il2cpp_TypeInfo_var))->set_noX509Chain_0((bool)1);
((CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86_StaticFields*)il2cpp_codegen_static_fields_for(CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86_il2cpp_TypeInfo_var))->set_supportsTrustAnchors_1((bool)1);
return;
}
IL_0019:
{
((CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86_StaticFields*)il2cpp_codegen_static_fields_for(CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86_il2cpp_TypeInfo_var))->set_noX509Chain_0((bool)0);
((CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86_StaticFields*)il2cpp_codegen_static_fields_for(CertificateValidationHelper_t700A78AF16D5DA1698501C49E6894B1B67963F86_il2cpp_TypeInfo_var))->set_supportsTrustAnchors_1((bool)0);
return;
}
}
// Mono.Security.Interface.ICertificateValidator2 Mono.Security.Interface.CertificateValidationHelper::GetInternalValidator(Mono.Security.Interface.MonoTlsSettings,Mono.Security.Interface.MonoTlsProvider)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* CertificateValidationHelper_GetInternalValidator_m765EA22BAC020CAA59167E95C1D1A6A652FE1D01 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * ___settings0, MonoTlsProvider_tDCD056C5BBBE59ED6BAF63F25952B406C1143C27 * ___provider1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CertificateValidationHelper_GetInternalValidator_m765EA22BAC020CAA59167E95C1D1A6A652FE1D01_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MonoTlsProvider_tDCD056C5BBBE59ED6BAF63F25952B406C1143C27 * L_0 = ___provider1;
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_1 = ___settings0;
RuntimeObject * L_2 = NoReflectionHelper_GetInternalValidator_m231BC9D1C0A711D48F25B6F0162ACABBA93A0D74(L_0, L_1, /*hidden argument*/NULL);
return ((RuntimeObject*)Castclass((RuntimeObject*)L_2, ICertificateValidator2_t59AEA784559648561EFC807C805B3F3AD216AB18_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
#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.Interface.MonoLocalCertificateSelectionCallback::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoLocalCertificateSelectionCallback__ctor_m8408C75BD0A84C2E5B7BFED75CAAA62B0FC07F60 (MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * __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.Interface.MonoLocalCertificateSelectionCallback::Invoke(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 * MonoLocalCertificateSelectionCallback_Invoke_mFB921E62D2252D1D50A5FCCFEC1E62BA719A381B (MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * __this, String_t* ___targetHost0, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * ___localCertificates1, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 * ___remoteCertificate2, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* ___acceptableIssuers3, const RuntimeMethod* method)
{
X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 * result = NULL;
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* delegateArrayToInvoke = __this->get_delegates_11();
Delegate_t** delegatesToInvoke;
il2cpp_array_size_t length;
if (delegateArrayToInvoke != NULL)
{
length = delegateArrayToInvoke->max_length;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0));
}
else
{
length = 1;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this);
}
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t* currentDelegate = delegatesToInvoke[i];
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
if (!il2cpp_codegen_method_is_virtual(targetMethod))
{
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
}
bool ___methodIsStatic = MethodIsStatic(targetMethod);
int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod);
if (___methodIsStatic)
{
if (___parameterCount == 4)
{
// open
typedef X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 * (*FunctionPointerType) (String_t*, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
else
{
// closed
typedef X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 * (*FunctionPointerType) (void*, String_t*, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
}
else if (___parameterCount != 4)
{
// 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_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* >::Invoke(targetMethod, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
else
result = GenericVirtFuncInvoker3< X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* >::Invoke(targetMethod, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker3< X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
else
result = VirtFuncInvoker3< X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
}
}
else
{
typedef X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 * (*FunctionPointerType) (String_t*, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
}
else
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (targetThis == NULL)
{
typedef X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 * (*FunctionPointerType) (String_t*, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
else if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker4< X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, String_t*, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* >::Invoke(targetMethod, targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
else
result = GenericVirtFuncInvoker4< X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, String_t*, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* >::Invoke(targetMethod, targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker4< X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, String_t*, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
else
result = VirtFuncInvoker4< X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, String_t*, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3);
}
}
else
{
typedef X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 * (*FunctionPointerType) (void*, String_t*, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___targetHost0, ___localCertificates1, ___remoteCertificate2, ___acceptableIssuers3, targetMethod);
}
}
}
return result;
}
// System.IAsyncResult Mono.Security.Interface.MonoLocalCertificateSelectionCallback::BeginInvoke(System.String,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Cryptography.X509Certificates.X509Certificate,System.String[],System.AsyncCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* MonoLocalCertificateSelectionCallback_BeginInvoke_m860460761E2C341DB4549D1D2A27A72A0E618746 (MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * __this, String_t* ___targetHost0, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * ___localCertificates1, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 * ___remoteCertificate2, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* ___acceptableIssuers3, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback4, RuntimeObject * ___object5, const RuntimeMethod* method)
{
void *__d_args[5] = {0};
__d_args[0] = ___targetHost0;
__d_args[1] = ___localCertificates1;
__d_args[2] = ___remoteCertificate2;
__d_args[3] = ___acceptableIssuers3;
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback4, (RuntimeObject*)___object5);
}
// System.Security.Cryptography.X509Certificates.X509Certificate Mono.Security.Interface.MonoLocalCertificateSelectionCallback::EndInvoke(System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 * MonoLocalCertificateSelectionCallback_EndInvoke_m6D484538EE84A8D910EFF7288158979751BDF447 (MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * __this, RuntimeObject* ___result0, const RuntimeMethod* method)
{
RuntimeObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return (X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *)__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.Interface.MonoRemoteCertificateValidationCallback::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoRemoteCertificateValidationCallback__ctor_mC3C556F0B5102353E3EFCE5098B7338B039819FA (MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * __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.Interface.MonoRemoteCertificateValidationCallback::Invoke(System.String,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,Mono.Security.Interface.MonoSslPolicyErrors)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MonoRemoteCertificateValidationCallback_Invoke_m405859123BB9004917076DD131EA8522AA18D990 (MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * __this, String_t* ___targetHost0, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 * ___certificate1, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 * ___chain2, int32_t ___sslPolicyErrors3, const RuntimeMethod* method)
{
bool result = false;
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* delegateArrayToInvoke = __this->get_delegates_11();
Delegate_t** delegatesToInvoke;
il2cpp_array_size_t length;
if (delegateArrayToInvoke != NULL)
{
length = delegateArrayToInvoke->max_length;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(delegateArrayToInvoke->GetAddressAtUnchecked(0));
}
else
{
length = 1;
delegatesToInvoke = reinterpret_cast<Delegate_t**>(&__this);
}
for (il2cpp_array_size_t i = 0; i < length; i++)
{
Delegate_t* currentDelegate = delegatesToInvoke[i];
Il2CppMethodPointer targetMethodPointer = currentDelegate->get_method_ptr_0();
RuntimeObject* targetThis = currentDelegate->get_m_target_2();
RuntimeMethod* targetMethod = (RuntimeMethod*)(currentDelegate->get_method_3());
if (!il2cpp_codegen_method_is_virtual(targetMethod))
{
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found(targetMethod);
}
bool ___methodIsStatic = MethodIsStatic(targetMethod);
int ___parameterCount = il2cpp_codegen_method_parameter_count(targetMethod);
if (___methodIsStatic)
{
if (___parameterCount == 4)
{
// open
typedef bool (*FunctionPointerType) (String_t*, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
else
{
// closed
typedef bool (*FunctionPointerType) (void*, String_t*, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
}
else if (___parameterCount != 4)
{
// 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< bool, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t >::Invoke(targetMethod, ___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3);
else
result = GenericVirtFuncInvoker3< bool, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t >::Invoke(targetMethod, ___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker3< bool, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), ___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3);
else
result = VirtFuncInvoker3< bool, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), ___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3);
}
}
else
{
typedef bool (*FunctionPointerType) (String_t*, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
}
else
{
// closed
if (il2cpp_codegen_method_is_virtual(targetMethod) && !il2cpp_codegen_object_is_of_sealed_type(targetThis) && il2cpp_codegen_delegate_has_invoker((Il2CppDelegate*)__this))
{
if (targetThis == NULL)
{
typedef bool (*FunctionPointerType) (String_t*, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
else if (il2cpp_codegen_method_is_generic_instance(targetMethod))
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = GenericInterfaceFuncInvoker4< bool, String_t*, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t >::Invoke(targetMethod, targetThis, ___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3);
else
result = GenericVirtFuncInvoker4< bool, String_t*, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t >::Invoke(targetMethod, targetThis, ___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3);
}
else
{
if (il2cpp_codegen_method_is_interface_method(targetMethod))
result = InterfaceFuncInvoker4< bool, String_t*, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), il2cpp_codegen_method_get_declaring_type(targetMethod), targetThis, ___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3);
else
result = VirtFuncInvoker4< bool, String_t*, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t >::Invoke(il2cpp_codegen_method_get_slot(targetMethod), targetThis, ___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3);
}
}
else
{
typedef bool (*FunctionPointerType) (void*, String_t*, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 *, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 *, int32_t, const RuntimeMethod*);
result = ((FunctionPointerType)targetMethodPointer)(targetThis, ___targetHost0, ___certificate1, ___chain2, ___sslPolicyErrors3, targetMethod);
}
}
}
return result;
}
// System.IAsyncResult Mono.Security.Interface.MonoRemoteCertificateValidationCallback::BeginInvoke(System.String,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,Mono.Security.Interface.MonoSslPolicyErrors,System.AsyncCallback,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* MonoRemoteCertificateValidationCallback_BeginInvoke_mE8A7228A3C1E37CED0138DA272D8A9A6ED52E2D1 (MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * __this, String_t* ___targetHost0, X509Certificate_t6859B8914E252B6831D6F59A2A720CD23F7FA7B2 * ___certificate1, X509Chain_t4A28E9A30CBB331C9B68AE4AFCB30625C6C8B538 * ___chain2, int32_t ___sslPolicyErrors3, AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4 * ___callback4, RuntimeObject * ___object5, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MonoRemoteCertificateValidationCallback_BeginInvoke_mE8A7228A3C1E37CED0138DA272D8A9A6ED52E2D1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[5] = {0};
__d_args[0] = ___targetHost0;
__d_args[1] = ___certificate1;
__d_args[2] = ___chain2;
__d_args[3] = Box(MonoSslPolicyErrors_t5F32A4E793EAB8B8A8128A6A3E7690D2E1F666C7_il2cpp_TypeInfo_var, &___sslPolicyErrors3);
return (RuntimeObject*)il2cpp_codegen_delegate_begin_invoke((RuntimeDelegate*)__this, __d_args, (RuntimeDelegate*)___callback4, (RuntimeObject*)___object5);
}
// System.Boolean Mono.Security.Interface.MonoRemoteCertificateValidationCallback::EndInvoke(System.IAsyncResult)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MonoRemoteCertificateValidationCallback_EndInvoke_m64D2BF4965D6F6274107AD36B0F06ADE8DAF8958 (MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * __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
#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.Interface.CipherSuiteCode Mono.Security.Interface.MonoTlsConnectionInfo::get_CipherSuiteCode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint16_t MonoTlsConnectionInfo_get_CipherSuiteCode_m8C74B9FD02856309D7179AB0BE91B2F3F8BDF951 (MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D * __this, const RuntimeMethod* method)
{
{
uint16_t L_0 = __this->get_U3CCipherSuiteCodeU3Ek__BackingField_0();
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsConnectionInfo::set_CipherSuiteCode(Mono.Security.Interface.CipherSuiteCode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsConnectionInfo_set_CipherSuiteCode_m653D2CB0EFDC5CC95804705CD809B659261267B2 (MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D * __this, uint16_t ___value0, const RuntimeMethod* method)
{
{
uint16_t L_0 = ___value0;
__this->set_U3CCipherSuiteCodeU3Ek__BackingField_0(L_0);
return;
}
}
// Mono.Security.Interface.TlsProtocols Mono.Security.Interface.MonoTlsConnectionInfo::get_ProtocolVersion()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MonoTlsConnectionInfo_get_ProtocolVersion_m63DA43DE02158D38E19EB7E5E93DD3E2EA6B87CA (MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_U3CProtocolVersionU3Ek__BackingField_1();
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsConnectionInfo::set_ProtocolVersion(Mono.Security.Interface.TlsProtocols)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsConnectionInfo_set_ProtocolVersion_m938EBDEECDC61FAB55DB6080006307A02AD0546B (MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->set_U3CProtocolVersionU3Ek__BackingField_1(L_0);
return;
}
}
// System.Void Mono.Security.Interface.MonoTlsConnectionInfo::set_PeerDomainName(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsConnectionInfo_set_PeerDomainName_m573F0D44AAC8D095FD19686E1263D6847639AC8F (MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___value0;
__this->set_U3CPeerDomainNameU3Ek__BackingField_2(L_0);
return;
}
}
// System.String Mono.Security.Interface.MonoTlsConnectionInfo::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* MonoTlsConnectionInfo_ToString_m1988B66DE8C065C14AB2ED0DA4DDB84313C05E65 (MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MonoTlsConnectionInfo_ToString_m1988B66DE8C065C14AB2ED0DA4DDB84313C05E65_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = MonoTlsConnectionInfo_get_ProtocolVersion_m63DA43DE02158D38E19EB7E5E93DD3E2EA6B87CA_inline(__this, /*hidden argument*/NULL);
int32_t L_1 = L_0;
RuntimeObject * L_2 = Box(TlsProtocols_t25D1B0EFE5CC77B30D19258E7AC462AB4D828163_il2cpp_TypeInfo_var, &L_1);
uint16_t L_3 = MonoTlsConnectionInfo_get_CipherSuiteCode_m8C74B9FD02856309D7179AB0BE91B2F3F8BDF951_inline(__this, /*hidden argument*/NULL);
uint16_t L_4 = L_3;
RuntimeObject * L_5 = Box(CipherSuiteCode_t32674B07A5C552605FA138AEACFFA20474A255F1_il2cpp_TypeInfo_var, &L_4);
String_t* L_6 = String_Format_m19325298DBC61AAC016C16F7B3CF97A8A3DEA34A(_stringLiteralAAAA93A1758EE795E9F4F4D7738AA8718321ECAA, L_2, L_5, /*hidden argument*/NULL);
return L_6;
}
}
// System.Void Mono.Security.Interface.MonoTlsConnectionInfo::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsConnectionInfo__ctor_mB397FA297A2578A5B4663DEBA4C2BB5F00632A90 (MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__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.Interface.MonoTlsProvider::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsProvider__ctor_m627444C019C32E18FC68ABF1AF33577E54A9705B (MonoTlsProvider_tDCD056C5BBBE59ED6BAF63F25952B406C1143C27 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__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
// Mono.Security.Interface.MonoRemoteCertificateValidationCallback Mono.Security.Interface.MonoTlsSettings::get_RemoteCertificateValidationCallback()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * MonoTlsSettings_get_RemoteCertificateValidationCallback_m1718C4B085FE8A31AFC7262616FFC5071072D737 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * L_0 = __this->get_U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0();
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsSettings::set_RemoteCertificateValidationCallback(Mono.Security.Interface.MonoRemoteCertificateValidationCallback)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings_set_RemoteCertificateValidationCallback_mC9225CD237B10BBF4813A975D827B822DF970E21 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * ___value0, const RuntimeMethod* method)
{
{
MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * L_0 = ___value0;
__this->set_U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0(L_0);
return;
}
}
// Mono.Security.Interface.MonoLocalCertificateSelectionCallback Mono.Security.Interface.MonoTlsSettings::get_ClientCertificateSelectionCallback()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * MonoTlsSettings_get_ClientCertificateSelectionCallback_mAD91A51A5228D02BF8F2B6F1F49A0646D029E1D0 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * L_0 = __this->get_U3CClientCertificateSelectionCallbackU3Ek__BackingField_1();
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsSettings::set_ClientCertificateSelectionCallback(Mono.Security.Interface.MonoLocalCertificateSelectionCallback)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings_set_ClientCertificateSelectionCallback_m815474865E0743103BE1BA06CCFC85588BAFBAA4 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * ___value0, const RuntimeMethod* method)
{
{
MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * L_0 = ___value0;
__this->set_U3CClientCertificateSelectionCallbackU3Ek__BackingField_1(L_0);
return;
}
}
// System.Nullable`1<System.Boolean> Mono.Security.Interface.MonoTlsSettings::get_UseServicePointManagerCallback()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793 MonoTlsSettings_get_UseServicePointManagerCallback_mE0C4C192E0587991C12A79A7CA91C94EA31A2FA3 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793 L_0 = __this->get_useServicePointManagerCallback_12();
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsSettings::set_UseServicePointManagerCallback(System.Nullable`1<System.Boolean>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings_set_UseServicePointManagerCallback_m3982FDDB084256E77E18F9A3E42E91E65F6F699B (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793 ___value0, const RuntimeMethod* method)
{
{
Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793 L_0 = ___value0;
__this->set_useServicePointManagerCallback_12(L_0);
return;
}
}
// System.Boolean Mono.Security.Interface.MonoTlsSettings::get_CallbackNeedsCertificateChain()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MonoTlsSettings_get_CallbackNeedsCertificateChain_m4E80A5055E68720FE1F48E9AC3AC9176C76C9C7D (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_callbackNeedsChain_14();
return L_0;
}
}
// System.Nullable`1<System.DateTime> Mono.Security.Interface.MonoTlsSettings::get_CertificateValidationTime()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 MonoTlsSettings_get_CertificateValidationTime_m51F473A56D26B7FF38182524C3EF3250653181CD (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 L_0 = __this->get_U3CCertificateValidationTimeU3Ek__BackingField_2();
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsSettings::set_CertificateValidationTime(System.Nullable`1<System.DateTime>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings_set_CertificateValidationTime_mD081C06E0CCCCEF4230D2A7A70ED06F7E5D1717D (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 ___value0, const RuntimeMethod* method)
{
{
Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 L_0 = ___value0;
__this->set_U3CCertificateValidationTimeU3Ek__BackingField_2(L_0);
return;
}
}
// System.Security.Cryptography.X509Certificates.X509CertificateCollection Mono.Security.Interface.MonoTlsSettings::get_TrustAnchors()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * MonoTlsSettings_get_TrustAnchors_mD6ADD8546ED8D9C0BA58A25F0ADA0BBB5127F28F (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * L_0 = __this->get_U3CTrustAnchorsU3Ek__BackingField_3();
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsSettings::set_TrustAnchors(System.Security.Cryptography.X509Certificates.X509CertificateCollection)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings_set_TrustAnchors_m96D71EF074D01C5CBF8159B392825679DADD9B2A (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * ___value0, const RuntimeMethod* method)
{
{
X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * L_0 = ___value0;
__this->set_U3CTrustAnchorsU3Ek__BackingField_3(L_0);
return;
}
}
// System.Object Mono.Security.Interface.MonoTlsSettings::get_UserSettings()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * MonoTlsSettings_get_UserSettings_m31F62282C588A3847737F11AF9158E493CD86E9A (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get_U3CUserSettingsU3Ek__BackingField_4();
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsSettings::set_UserSettings(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings_set_UserSettings_mEC113D468C571102A4FF0327E617E7BA30D5D3F8 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, RuntimeObject * ___value0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___value0;
__this->set_U3CUserSettingsU3Ek__BackingField_4(L_0);
return;
}
}
// System.String[] Mono.Security.Interface.MonoTlsSettings::get_CertificateSearchPaths()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* MonoTlsSettings_get_CertificateSearchPaths_mE287996050CC9939D950713EAB5FC382FC64453B (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_0 = __this->get_U3CCertificateSearchPathsU3Ek__BackingField_5();
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsSettings::set_CertificateSearchPaths(System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings_set_CertificateSearchPaths_m7A42E0C25B12F9D923BEDE97E270433CD3C8A1D4 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* ___value0, const RuntimeMethod* method)
{
{
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_0 = ___value0;
__this->set_U3CCertificateSearchPathsU3Ek__BackingField_5(L_0);
return;
}
}
// System.Boolean Mono.Security.Interface.MonoTlsSettings::get_SendCloseNotify()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MonoTlsSettings_get_SendCloseNotify_m4E72508568F2055945A21AD19B1129AD2437C92F (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_U3CSendCloseNotifyU3Ek__BackingField_6();
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsSettings::set_SendCloseNotify(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings_set_SendCloseNotify_m292B72B22AC90DAC052BB0CB28D079F258803521 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, bool ___value0, const RuntimeMethod* method)
{
{
bool L_0 = ___value0;
__this->set_U3CSendCloseNotifyU3Ek__BackingField_6(L_0);
return;
}
}
// System.Nullable`1<Mono.Security.Interface.TlsProtocols> Mono.Security.Interface.MonoTlsSettings::get_EnabledProtocols()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 MonoTlsSettings_get_EnabledProtocols_mB290C2A19B7268559520FDF47925D20A4F9D8106 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 L_0 = __this->get_U3CEnabledProtocolsU3Ek__BackingField_7();
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsSettings::set_EnabledProtocols(System.Nullable`1<Mono.Security.Interface.TlsProtocols>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings_set_EnabledProtocols_m88B942CBAB596E1F6FC91744D93F845862796A32 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 ___value0, const RuntimeMethod* method)
{
{
Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 L_0 = ___value0;
__this->set_U3CEnabledProtocolsU3Ek__BackingField_7(L_0);
return;
}
}
// Mono.Security.Interface.CipherSuiteCode[] Mono.Security.Interface.MonoTlsSettings::get_EnabledCiphers()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* MonoTlsSettings_get_EnabledCiphers_mB3F4FB0A332010BBCDF8EFF2B6B105C0CC92AF1D (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* L_0 = __this->get_U3CEnabledCiphersU3Ek__BackingField_8();
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsSettings::set_EnabledCiphers(Mono.Security.Interface.CipherSuiteCode[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings_set_EnabledCiphers_m27702EB1FBABCE66F73582F1F3B7DD14B4A95E12 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* ___value0, const RuntimeMethod* method)
{
{
CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* L_0 = ___value0;
__this->set_U3CEnabledCiphersU3Ek__BackingField_8(L_0);
return;
}
}
// System.Void Mono.Security.Interface.MonoTlsSettings::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings__ctor_m09A7B7F0B1CA2775C8A24B8A6BEC032E6B1C0A72 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
__this->set_checkCertName_10((bool)1);
__this->set_callbackNeedsChain_14((bool)1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
// Mono.Security.Interface.MonoTlsSettings Mono.Security.Interface.MonoTlsSettings::get_DefaultSettings()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * MonoTlsSettings_get_DefaultSettings_m49A7CECC7D687F62790DD374D560278D3916B887 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MonoTlsSettings_get_DefaultSettings_m49A7CECC7D687F62790DD374D560278D3916B887_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_0 = ((MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF_StaticFields*)il2cpp_codegen_static_fields_for(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF_il2cpp_TypeInfo_var))->get_defaultSettings_16();
if (L_0)
{
goto IL_0018;
}
}
{
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_1 = (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF *)il2cpp_codegen_object_new(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF_il2cpp_TypeInfo_var);
MonoTlsSettings__ctor_m09A7B7F0B1CA2775C8A24B8A6BEC032E6B1C0A72(L_1, /*hidden argument*/NULL);
InterlockedCompareExchangeImpl<MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF *>((MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF **)(((MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF_StaticFields*)il2cpp_codegen_static_fields_for(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF_il2cpp_TypeInfo_var))->get_address_of_defaultSettings_16()), L_1, (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF *)NULL);
}
IL_0018:
{
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_2 = ((MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF_StaticFields*)il2cpp_codegen_static_fields_for(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF_il2cpp_TypeInfo_var))->get_defaultSettings_16();
return L_2;
}
}
// Mono.Security.Interface.MonoTlsSettings Mono.Security.Interface.MonoTlsSettings::CopyDefaultSettings()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * MonoTlsSettings_CopyDefaultSettings_m4CE2BE44BF064124CFD98CEF44E76FD5D6EA0AD2 (const RuntimeMethod* method)
{
{
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_0 = MonoTlsSettings_get_DefaultSettings_m49A7CECC7D687F62790DD374D560278D3916B887(/*hidden argument*/NULL);
NullCheck(L_0);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_1 = MonoTlsSettings_Clone_mF28F7F627B12CBD0BD1ABD6F35DD0B4BAD2E3840(L_0, /*hidden argument*/NULL);
return L_1;
}
}
// Mono.Security.Interface.ICertificateValidator Mono.Security.Interface.MonoTlsSettings::get_CertificateValidator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* MonoTlsSettings_get_CertificateValidator_m8AA08A1EAEE520A4FBF9099C311BDF25931FE059 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
RuntimeObject* L_0 = __this->get_certificateValidator_15();
return L_0;
}
}
// Mono.Security.Interface.MonoTlsSettings Mono.Security.Interface.MonoTlsSettings::CloneWithValidator(Mono.Security.Interface.ICertificateValidator)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * MonoTlsSettings_CloneWithValidator_m46363CAC421939D9904660815CF1D8131C8DC3B1 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, RuntimeObject* ___validator0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MonoTlsSettings_CloneWithValidator_m46363CAC421939D9904660815CF1D8131C8DC3B1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_cloned_9();
if (!L_0)
{
goto IL_0011;
}
}
{
RuntimeObject* L_1 = ___validator0;
__this->set_certificateValidator_15(L_1);
return __this;
}
IL_0011:
{
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_2 = (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF *)il2cpp_codegen_object_new(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF_il2cpp_TypeInfo_var);
MonoTlsSettings__ctor_m3D336E73C9393401BE9BE856B7204BA176F52B17(L_2, __this, /*hidden argument*/NULL);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_3 = L_2;
RuntimeObject* L_4 = ___validator0;
NullCheck(L_3);
L_3->set_certificateValidator_15(L_4);
return L_3;
}
}
// Mono.Security.Interface.MonoTlsSettings Mono.Security.Interface.MonoTlsSettings::Clone()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * MonoTlsSettings_Clone_mF28F7F627B12CBD0BD1ABD6F35DD0B4BAD2E3840 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MonoTlsSettings_Clone_mF28F7F627B12CBD0BD1ABD6F35DD0B4BAD2E3840_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_0 = (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF *)il2cpp_codegen_object_new(MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF_il2cpp_TypeInfo_var);
MonoTlsSettings__ctor_m3D336E73C9393401BE9BE856B7204BA176F52B17(L_0, __this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Void Mono.Security.Interface.MonoTlsSettings::.ctor(Mono.Security.Interface.MonoTlsSettings)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoTlsSettings__ctor_m3D336E73C9393401BE9BE856B7204BA176F52B17 (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * ___other0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MonoTlsSettings__ctor_m3D336E73C9393401BE9BE856B7204BA176F52B17_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_checkCertName_10((bool)1);
__this->set_callbackNeedsChain_14((bool)1);
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_0 = ___other0;
NullCheck(L_0);
MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * L_1 = MonoTlsSettings_get_RemoteCertificateValidationCallback_m1718C4B085FE8A31AFC7262616FFC5071072D737_inline(L_0, /*hidden argument*/NULL);
MonoTlsSettings_set_RemoteCertificateValidationCallback_mC9225CD237B10BBF4813A975D827B822DF970E21_inline(__this, L_1, /*hidden argument*/NULL);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_2 = ___other0;
NullCheck(L_2);
MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * L_3 = MonoTlsSettings_get_ClientCertificateSelectionCallback_mAD91A51A5228D02BF8F2B6F1F49A0646D029E1D0_inline(L_2, /*hidden argument*/NULL);
MonoTlsSettings_set_ClientCertificateSelectionCallback_m815474865E0743103BE1BA06CCFC85588BAFBAA4_inline(__this, L_3, /*hidden argument*/NULL);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_4 = ___other0;
NullCheck(L_4);
bool L_5 = L_4->get_checkCertName_10();
__this->set_checkCertName_10(L_5);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_6 = ___other0;
NullCheck(L_6);
bool L_7 = L_6->get_checkCertRevocationStatus_11();
__this->set_checkCertRevocationStatus_11(L_7);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_8 = ___other0;
NullCheck(L_8);
Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793 L_9 = L_8->get_useServicePointManagerCallback_12();
MonoTlsSettings_set_UseServicePointManagerCallback_m3982FDDB084256E77E18F9A3E42E91E65F6F699B_inline(__this, L_9, /*hidden argument*/NULL);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_10 = ___other0;
NullCheck(L_10);
bool L_11 = L_10->get_skipSystemValidators_13();
__this->set_skipSystemValidators_13(L_11);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_12 = ___other0;
NullCheck(L_12);
bool L_13 = L_12->get_callbackNeedsChain_14();
__this->set_callbackNeedsChain_14(L_13);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_14 = ___other0;
NullCheck(L_14);
RuntimeObject * L_15 = MonoTlsSettings_get_UserSettings_m31F62282C588A3847737F11AF9158E493CD86E9A_inline(L_14, /*hidden argument*/NULL);
MonoTlsSettings_set_UserSettings_mEC113D468C571102A4FF0327E617E7BA30D5D3F8_inline(__this, L_15, /*hidden argument*/NULL);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_16 = ___other0;
NullCheck(L_16);
Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 L_17 = MonoTlsSettings_get_EnabledProtocols_mB290C2A19B7268559520FDF47925D20A4F9D8106_inline(L_16, /*hidden argument*/NULL);
MonoTlsSettings_set_EnabledProtocols_m88B942CBAB596E1F6FC91744D93F845862796A32_inline(__this, L_17, /*hidden argument*/NULL);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_18 = ___other0;
NullCheck(L_18);
CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* L_19 = MonoTlsSettings_get_EnabledCiphers_mB3F4FB0A332010BBCDF8EFF2B6B105C0CC92AF1D_inline(L_18, /*hidden argument*/NULL);
MonoTlsSettings_set_EnabledCiphers_m27702EB1FBABCE66F73582F1F3B7DD14B4A95E12_inline(__this, L_19, /*hidden argument*/NULL);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_20 = ___other0;
NullCheck(L_20);
Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 L_21 = MonoTlsSettings_get_CertificateValidationTime_m51F473A56D26B7FF38182524C3EF3250653181CD_inline(L_20, /*hidden argument*/NULL);
MonoTlsSettings_set_CertificateValidationTime_mD081C06E0CCCCEF4230D2A7A70ED06F7E5D1717D_inline(__this, L_21, /*hidden argument*/NULL);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_22 = ___other0;
NullCheck(L_22);
bool L_23 = MonoTlsSettings_get_SendCloseNotify_m4E72508568F2055945A21AD19B1129AD2437C92F_inline(L_22, /*hidden argument*/NULL);
MonoTlsSettings_set_SendCloseNotify_m292B72B22AC90DAC052BB0CB28D079F258803521_inline(__this, L_23, /*hidden argument*/NULL);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_24 = ___other0;
NullCheck(L_24);
X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * L_25 = MonoTlsSettings_get_TrustAnchors_mD6ADD8546ED8D9C0BA58A25F0ADA0BBB5127F28F_inline(L_24, /*hidden argument*/NULL);
if (!L_25)
{
goto IL_00bd;
}
}
{
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_26 = ___other0;
NullCheck(L_26);
X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * L_27 = MonoTlsSettings_get_TrustAnchors_mD6ADD8546ED8D9C0BA58A25F0ADA0BBB5127F28F_inline(L_26, /*hidden argument*/NULL);
X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * L_28 = (X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 *)il2cpp_codegen_object_new(X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833_il2cpp_TypeInfo_var);
X509CertificateCollection__ctor_m24BAA500237577256DCA1BD814ED88D163E702E3(L_28, L_27, /*hidden argument*/NULL);
MonoTlsSettings_set_TrustAnchors_m96D71EF074D01C5CBF8159B392825679DADD9B2A_inline(__this, L_28, /*hidden argument*/NULL);
}
IL_00bd:
{
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_29 = ___other0;
NullCheck(L_29);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_30 = MonoTlsSettings_get_CertificateSearchPaths_mE287996050CC9939D950713EAB5FC382FC64453B_inline(L_29, /*hidden argument*/NULL);
if (!L_30)
{
goto IL_00ea;
}
}
{
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_31 = ___other0;
NullCheck(L_31);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_32 = MonoTlsSettings_get_CertificateSearchPaths_mE287996050CC9939D950713EAB5FC382FC64453B_inline(L_31, /*hidden argument*/NULL);
NullCheck(L_32);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_33 = (StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*)(StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E*)SZArrayNew(StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E_il2cpp_TypeInfo_var, (uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_32)->max_length)))));
MonoTlsSettings_set_CertificateSearchPaths_m7A42E0C25B12F9D923BEDE97E270433CD3C8A1D4_inline(__this, L_33, /*hidden argument*/NULL);
MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * L_34 = ___other0;
NullCheck(L_34);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_35 = MonoTlsSettings_get_CertificateSearchPaths_mE287996050CC9939D950713EAB5FC382FC64453B_inline(L_34, /*hidden argument*/NULL);
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_36 = MonoTlsSettings_get_CertificateSearchPaths_mE287996050CC9939D950713EAB5FC382FC64453B_inline(__this, /*hidden argument*/NULL);
NullCheck((RuntimeArray *)(RuntimeArray *)L_35);
Array_CopyTo_m455300D414FFB0EBFE53EA4E8BBD31532006EBB7((RuntimeArray *)(RuntimeArray *)L_35, (RuntimeArray *)(RuntimeArray *)L_36, 0, /*hidden argument*/NULL);
}
IL_00ea:
{
__this->set_cloned_9((bool)1);
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.Interface.TlsException::.ctor(Mono.Security.Interface.Alert,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsException__ctor_m5B7689890B3AE575E72A71FB19541C2BBAEF2D93 (TlsException_t774465EA64E3ADAAE3DB21835DD9AB8C40247F91 * __this, Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * ___alert0, String_t* ___message1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsException__ctor_m5B7689890B3AE575E72A71FB19541C2BBAEF2D93_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___message1;
IL2CPP_RUNTIME_CLASS_INIT(Exception_t_il2cpp_TypeInfo_var);
Exception__ctor_m89BADFF36C3B170013878726E07729D51AA9FBE0(__this, L_0, /*hidden argument*/NULL);
Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * L_1 = ___alert0;
__this->set_alert_17(L_1);
return;
}
}
// System.Void Mono.Security.Interface.TlsException::.ctor(Mono.Security.Interface.AlertDescription,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TlsException__ctor_mCD978D5A0E271F65BF28C40380F65D8E0247FA53 (TlsException_t774465EA64E3ADAAE3DB21835DD9AB8C40247F91 * __this, uint8_t ___description0, String_t* ___message1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (TlsException__ctor_mCD978D5A0E271F65BF28C40380F65D8E0247FA53_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
uint8_t L_0 = ___description0;
Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * L_1 = (Alert_tABF269545F2C583CCA47FF574E612DDAF232944E *)il2cpp_codegen_object_new(Alert_tABF269545F2C583CCA47FF574E612DDAF232944E_il2cpp_TypeInfo_var);
Alert__ctor_mD0D7AE959A64782F053515E043A70D71E229279B(L_1, L_0, /*hidden argument*/NULL);
String_t* L_2 = ___message1;
TlsException__ctor_m5B7689890B3AE575E72A71FB19541C2BBAEF2D93(__this, L_1, L_2, /*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.Interface.ValidationResult::.ctor(System.Boolean,System.Boolean,System.Int32,System.Nullable`1<Mono.Security.Interface.MonoSslPolicyErrors>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ValidationResult__ctor_mAA70CED6CBDDD7AD7E4E92C3B0132B59B3BE1DCE (ValidationResult_tBBAD776F36C835C8DDB515B1747DEF3A45C058D7 * __this, bool ___trusted0, bool ___user_denied1, int32_t ___error_code2, Nullable_1_t87E3837BC1E3397FF9051586CE8E2328CEA1F1D2 ___policy_errors3, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
bool L_0 = ___trusted0;
__this->set_trusted_0(L_0);
bool L_1 = ___user_denied1;
__this->set_user_denied_1(L_1);
int32_t L_2 = ___error_code2;
__this->set_error_code_2(L_2);
Nullable_1_t87E3837BC1E3397FF9051586CE8E2328CEA1F1D2 L_3 = ___policy_errors3;
__this->set_policy_errors_3(L_3);
return;
}
}
// System.Boolean Mono.Security.Interface.ValidationResult::get_Trusted()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ValidationResult_get_Trusted_mE64A5C557FC6AFCF2B71750EFF65E34D29D93D18 (ValidationResult_tBBAD776F36C835C8DDB515B1747DEF3A45C058D7 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_trusted_0();
return L_0;
}
}
// System.Boolean Mono.Security.Interface.ValidationResult::get_UserDenied()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool ValidationResult_get_UserDenied_m71BED496F80A72CD3EB5DB2B9488433AA9A440C5 (ValidationResult_tBBAD776F36C835C8DDB515B1747DEF3A45C058D7 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_user_denied_1();
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
#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()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContentInfo__ctor_mEE9D9E1E66FBF3DA3414423F0D4216E40C625BFA (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ContentInfo__ctor_mEE9D9E1E66FBF3DA3414423F0D4216E40C625BFA_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContentInfo__ctor_mF21B31604F01A686DB03E30FEAE859A53A0E084A (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, String_t* ___oid0, const RuntimeMethod* method)
{
{
ContentInfo__ctor_mEE9D9E1E66FBF3DA3414423F0D4216E40C625BFA(__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[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContentInfo__ctor_mFFDEEE8545287FC5A22740B7E06F6D64D401E196 (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ContentInfo__ctor_mFFDEEE8545287FC5A22740B7E06F6D64D401E196_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___data0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_1 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA(L_1, L_0, /*hidden argument*/NULL);
ContentInfo__ctor_m3AAF5EC77C4891BB1B6AF1F980C8623C0621852D(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.PKCS7_ContentInfo::.ctor(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContentInfo__ctor_m3AAF5EC77C4891BB1B6AF1F980C8623C0621852D (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___asn10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ContentInfo__ctor_m3AAF5EC77C4891BB1B6AF1F980C8623C0621852D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = ___asn10;
NullCheck(L_0);
uint8_t L_1 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)48)))))
{
goto IL_0022;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_2 = ___asn10;
NullCheck(L_2);
int32_t L_3 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) >= ((int32_t)1)))
{
goto IL_002d;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_4 = ___asn10;
NullCheck(L_4);
int32_t L_5 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_4, /*hidden argument*/NULL);
if ((((int32_t)L_5) <= ((int32_t)2)))
{
goto IL_002d;
}
}
IL_0022:
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_6 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_6, _stringLiteral9FF10F59D606AD213E55A2680D237F4560B5407D, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, NULL, ContentInfo__ctor_m3AAF5EC77C4891BB1B6AF1F980C8623C0621852D_RuntimeMethod_var);
}
IL_002d:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_7 = ___asn10;
NullCheck(L_7);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_8 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_7, 0, /*hidden argument*/NULL);
NullCheck(L_8);
uint8_t L_9 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_8, /*hidden argument*/NULL);
if ((((int32_t)L_9) == ((int32_t)6)))
{
goto IL_0047;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_10 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_10, _stringLiteralF037AEB428D0D727267C01C044FA8D18A1427205, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_10, NULL, ContentInfo__ctor_m3AAF5EC77C4891BB1B6AF1F980C8623C0621852D_RuntimeMethod_var);
}
IL_0047:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_11 = ___asn10;
NullCheck(L_11);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_12 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_11, 0, /*hidden argument*/NULL);
String_t* L_13 = ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A(L_12, /*hidden argument*/NULL);
__this->set_contentType_0(L_13);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_14 = ___asn10;
NullCheck(L_14);
int32_t L_15 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_14, /*hidden argument*/NULL);
if ((((int32_t)L_15) <= ((int32_t)1)))
{
goto IL_008d;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_16 = ___asn10;
NullCheck(L_16);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_17 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_16, 1, /*hidden argument*/NULL);
NullCheck(L_17);
uint8_t L_18 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_17, /*hidden argument*/NULL);
if ((((int32_t)L_18) == ((int32_t)((int32_t)160))))
{
goto IL_0080;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_19 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_19, _stringLiteral941EDC1E840EE8A244DED7C91C3A0C73970CBDD9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_19, NULL, ContentInfo__ctor_m3AAF5EC77C4891BB1B6AF1F980C8623C0621852D_RuntimeMethod_var);
}
IL_0080:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_20 = ___asn10;
NullCheck(L_20);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_21 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_20, 1, /*hidden argument*/NULL);
__this->set_content_1(L_21);
}
IL_008d:
{
return;
}
}
// Mono.Security.ASN1 Mono.Security.PKCS7_ContentInfo::get_ASN1()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ContentInfo_get_ASN1_mE290789431E97C3AF43911BB56FBE15C6D799411 (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, const RuntimeMethod* method)
{
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = ContentInfo_GetASN1_m3DF4C4558BE17D650B80B7971158C1B704C7B995(__this, /*hidden argument*/NULL);
return L_0;
}
}
// Mono.Security.ASN1 Mono.Security.PKCS7_ContentInfo::get_Content()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, const RuntimeMethod* method)
{
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = __this->get_content_1();
return L_0;
}
}
// System.Void Mono.Security.PKCS7_ContentInfo::set_Content(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContentInfo_set_Content_m15B5D9A61236E1C116A9B5A651E80C5D78FB2598 (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___value0, const RuntimeMethod* method)
{
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = ___value0;
__this->set_content_1(L_0);
return;
}
}
// System.String Mono.Security.PKCS7_ContentInfo::get_ContentType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ContentInfo_get_ContentType_m26D6492CA5D227AAC583CFC4A898C056ACEC8196 (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __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)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ContentInfo_set_ContentType_m4FEE943D01600FC088408F7E20C5E1667CB5BA21 (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __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()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ContentInfo_GetASN1_m3DF4C4558BE17D650B80B7971158C1B704C7B995 (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ContentInfo_GetASN1_m3DF4C4558BE17D650B80B7971158C1B704C7B995_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_0 = NULL;
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_0, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_0 = L_0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_1 = V_0;
String_t* L_2 = __this->get_contentType_0();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_3 = ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462(L_2, /*hidden argument*/NULL);
NullCheck(L_1);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_1, L_3, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_4 = __this->get_content_1();
if (!L_4)
{
goto IL_003d;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_5 = __this->get_content_1();
NullCheck(L_5);
int32_t L_6 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_5, /*hidden argument*/NULL);
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_003d;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_7 = V_0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_8 = __this->get_content_1();
NullCheck(L_7);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_7, L_8, /*hidden argument*/NULL);
}
IL_003d:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * 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()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EncryptedData__ctor_m960EE725A153200911315F85B009E0D9E99D8114 (EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
__this->set__version_0((uint8_t)0);
return;
}
}
// System.Void Mono.Security.PKCS7_EncryptedData::.ctor(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EncryptedData__ctor_m385361DAE06A76AA773E49EF242400DE7F02A8FD (EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___asn10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EncryptedData__ctor_m385361DAE06A76AA773E49EF242400DE7F02A8FD_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_1 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_2 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B7_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B6_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B9_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B8_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B11_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B10_0 = NULL;
{
EncryptedData__ctor_m960EE725A153200911315F85B009E0D9E99D8114(__this, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = ___asn10;
NullCheck(L_0);
uint8_t L_1 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)((int32_t)48)))))
{
goto IL_0019;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_2 = ___asn10;
NullCheck(L_2);
int32_t L_3 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) >= ((int32_t)2)))
{
goto IL_0024;
}
}
IL_0019:
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_4 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_4, _stringLiteralE6FB7942BFCD54B6178ADECE738C3E25D32CF155, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, EncryptedData__ctor_m385361DAE06A76AA773E49EF242400DE7F02A8FD_RuntimeMethod_var);
}
IL_0024:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_5 = ___asn10;
NullCheck(L_5);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_6 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_5, 0, /*hidden argument*/NULL);
NullCheck(L_6);
uint8_t L_7 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_6, /*hidden argument*/NULL);
if ((((int32_t)L_7) == ((int32_t)2)))
{
goto IL_003e;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_8 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_8, _stringLiteral902E1C9C702765BFD051F2EA2095144DF20BEFF3, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, EncryptedData__ctor_m385361DAE06A76AA773E49EF242400DE7F02A8FD_RuntimeMethod_var);
}
IL_003e:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_9 = ___asn10;
NullCheck(L_9);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_9, 0, /*hidden argument*/NULL);
NullCheck(L_10);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_10, /*hidden argument*/NULL);
NullCheck(L_11);
int32_t L_12 = 0;
uint8_t L_13 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
__this->set__version_0(L_13);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_14 = ___asn10;
NullCheck(L_14);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_15 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_14, 1, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_16 = L_15;
NullCheck(L_16);
uint8_t L_17 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_16, /*hidden argument*/NULL);
G_B6_0 = L_16;
if ((((int32_t)L_17) == ((int32_t)((int32_t)48))))
{
G_B7_0 = L_16;
goto IL_006e;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_18 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_18, _stringLiteral99DF9DBD518CF90FFF8724227F439A55D615463E, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, NULL, EncryptedData__ctor_m385361DAE06A76AA773E49EF242400DE7F02A8FD_RuntimeMethod_var);
}
IL_006e:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_19 = G_B7_0;
NullCheck(L_19);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_20 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_19, 0, /*hidden argument*/NULL);
V_0 = L_20;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_21 = V_0;
NullCheck(L_21);
uint8_t L_22 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_21, /*hidden argument*/NULL);
G_B8_0 = L_19;
if ((((int32_t)L_22) == ((int32_t)6)))
{
G_B9_0 = L_19;
goto IL_008a;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_23 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_23, _stringLiteral2A29B7FE27DAF69AFEE5861F4F771F3C1333106F, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_23, NULL, EncryptedData__ctor_m385361DAE06A76AA773E49EF242400DE7F02A8FD_RuntimeMethod_var);
}
IL_008a:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_24 = V_0;
String_t* L_25 = ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A(L_24, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_26 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_mF21B31604F01A686DB03E30FEAE859A53A0E084A(L_26, L_25, /*hidden argument*/NULL);
__this->set__content_1(L_26);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_27 = G_B9_0;
NullCheck(L_27);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_28 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_27, 1, /*hidden argument*/NULL);
V_1 = L_28;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_29 = V_1;
NullCheck(L_29);
uint8_t L_30 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_29, /*hidden argument*/NULL);
G_B10_0 = L_27;
if ((((int32_t)L_30) == ((int32_t)((int32_t)48))))
{
G_B11_0 = L_27;
goto IL_00b8;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_31 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_31, _stringLiteral80B7C95DB89E34F9F8C13CFECA9C592572CFAD08, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_31, NULL, EncryptedData__ctor_m385361DAE06A76AA773E49EF242400DE7F02A8FD_RuntimeMethod_var);
}
IL_00b8:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_32 = V_1;
NullCheck(L_32);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_33 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_32, 0, /*hidden argument*/NULL);
String_t* L_34 = ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A(L_33, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_35 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_mF21B31604F01A686DB03E30FEAE859A53A0E084A(L_35, L_34, /*hidden argument*/NULL);
__this->set__encryptionAlgorithm_2(L_35);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_36 = __this->get__encryptionAlgorithm_2();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_37 = V_1;
NullCheck(L_37);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_38 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_37, 1, /*hidden argument*/NULL);
NullCheck(L_36);
ContentInfo_set_Content_m15B5D9A61236E1C116A9B5A651E80C5D78FB2598_inline(L_36, L_38, /*hidden argument*/NULL);
NullCheck(G_B11_0);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_39 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(G_B11_0, 2, /*hidden argument*/NULL);
V_2 = L_39;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_40 = V_2;
NullCheck(L_40);
uint8_t L_41 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_40, /*hidden argument*/NULL);
if ((((int32_t)L_41) == ((int32_t)((int32_t)128))))
{
goto IL_0100;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_42 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_42, _stringLiteralD964E4390D86936E2472E05166BCAA08DD191882, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_42, NULL, EncryptedData__ctor_m385361DAE06A76AA773E49EF242400DE7F02A8FD_RuntimeMethod_var);
}
IL_0100:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_43 = V_2;
NullCheck(L_43);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_44 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_43, /*hidden argument*/NULL);
__this->set__encrypted_3(L_44);
return;
}
}
// Mono.Security.PKCS7_ContentInfo Mono.Security.PKCS7_EncryptedData::get_EncryptionAlgorithm()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * EncryptedData_get_EncryptionAlgorithm_m06B627AA11F08C1515676B6E58DEDDD43B4F380F (EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * __this, const RuntimeMethod* method)
{
{
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_0 = __this->get__encryptionAlgorithm_2();
return L_0;
}
}
// System.Byte[] Mono.Security.PKCS7_EncryptedData::get_EncryptedContent()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* EncryptedData_get_EncryptedContent_m3C19AF07E7124131F08D7223E7B955AE67896BB8 (EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (EncryptedData_get_EncryptedContent_m3C19AF07E7124131F08D7223E7B955AE67896BB8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get__encrypted_3();
if (L_0)
{
goto IL_000a;
}
}
{
return (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)NULL;
}
IL_000a:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = __this->get__encrypted_3();
NullCheck((RuntimeArray *)(RuntimeArray *)L_1);
RuntimeObject * L_2 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
return ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_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.Ntlm.ChallengeResponse::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse__ctor_m1E0300839CAF582A720DB0F4F9E425B6EE12B258 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse__ctor_m1E0300839CAF582A720DB0F4F9E425B6EE12B258_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
__this->set__disposed_2((bool)0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)21));
__this->set__lmpwd_4(L_0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)21));
__this->set__ntpwd_5(L_1);
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::.ctor(System.String,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse__ctor_mF80EAE315F35264F1DA0167B3ED7A8CD8E2D1FFA (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, String_t* ___password0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___challenge1, const RuntimeMethod* method)
{
{
ChallengeResponse__ctor_m1E0300839CAF582A720DB0F4F9E425B6EE12B258(__this, /*hidden argument*/NULL);
String_t* L_0 = ___password0;
ChallengeResponse_set_Password_m530EB94179C374BED9B9AAE4BB30AB3FF14F07E2(__this, L_0, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___challenge1;
ChallengeResponse_set_Challenge_mD747C1A002528A6E9AFDE848AA257FD7B1B85E6F(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse_Finalize_m358598D53FC1FDD2180BBF5877FEAAE3C8606118 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
{
bool L_0 = __this->get__disposed_2();
if (L_0)
{
goto IL_000e;
}
}
IL_0008:
{
ChallengeResponse_Dispose_mD6C08D1EDA541DC5A9B287744FB18E3149627434(__this, /*hidden argument*/NULL);
}
IL_000e:
{
IL2CPP_LEAVE(0x17, FINALLY_0010);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0010;
}
FINALLY_0010:
{ // begin finally (depth: 1)
Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(16)
} // end finally (depth: 1)
IL2CPP_CLEANUP(16)
{
IL2CPP_JUMP_TBL(0x17, IL_0017)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0017:
{
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::set_Password(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse_set_Password_m530EB94179C374BED9B9AAE4BB30AB3FF14F07E2 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, String_t* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse_set_Password_m530EB94179C374BED9B9AAE4BB30AB3FF14F07E2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * V_0 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_1 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_2 = NULL;
MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * G_B12_0 = NULL;
MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * G_B11_0 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* G_B13_0 = NULL;
MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * G_B13_1 = NULL;
{
bool L_0 = __this->get__disposed_2();
if (!L_0)
{
goto IL_0013;
}
}
{
ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A * L_1 = (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A *)il2cpp_codegen_object_new(ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m8B5D23EA08E42BDE6BC5233CC666295F19BBD2F9(L_1, _stringLiteral42BBEE886171CED8B81918E0F830F24966193E05, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ChallengeResponse_set_Password_m530EB94179C374BED9B9AAE4BB30AB3FF14F07E2_RuntimeMethod_var);
}
IL_0013:
{
IL2CPP_RUNTIME_CLASS_INIT(DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0_il2cpp_TypeInfo_var);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_2 = DES_Create_m5EE267FBCD5AA18E04C29247C796430D12247CC5(/*hidden argument*/NULL);
V_0 = L_2;
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_3 = V_0;
NullCheck(L_3);
VirtActionInvoker1< int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Mode(System.Security.Cryptography.CipherMode) */, L_3, 2);
String_t* L_4 = ___value0;
if (!L_4)
{
goto IL_002c;
}
}
{
String_t* L_5 = ___value0;
NullCheck(L_5);
int32_t L_6 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_5, /*hidden argument*/NULL);
if ((((int32_t)L_6) >= ((int32_t)1)))
{
goto IL_0041;
}
}
IL_002c:
{
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ((ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_StaticFields*)il2cpp_codegen_static_fields_for(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_il2cpp_TypeInfo_var))->get_nullEncMagic_1();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = __this->get__lmpwd_4();
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_7, 0, (RuntimeArray *)(RuntimeArray *)L_8, 0, 8, /*hidden argument*/NULL);
goto IL_0069;
}
IL_0041:
{
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_9 = V_0;
String_t* L_10 = ___value0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ChallengeResponse_PasswordToKey_m522B84CA0312284486A2C4E10FEE2D74BF4FF163(__this, L_10, 0, /*hidden argument*/NULL);
NullCheck(L_9);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_9, L_11);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_12 = V_0;
NullCheck(L_12);
RuntimeObject* L_13 = VirtFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_12);
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = ((ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_StaticFields*)il2cpp_codegen_static_fields_for(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_il2cpp_TypeInfo_var))->get_magic_0();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = __this->get__lmpwd_4();
NullCheck(L_13);
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(3 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var, L_13, L_14, 0, 8, L_15, 0);
}
IL_0069:
{
String_t* L_16 = ___value0;
if (!L_16)
{
goto IL_0075;
}
}
{
String_t* L_17 = ___value0;
NullCheck(L_17);
int32_t L_18 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_17, /*hidden argument*/NULL);
if ((((int32_t)L_18) >= ((int32_t)8)))
{
goto IL_008a;
}
}
IL_0075:
{
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_19 = ((ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_StaticFields*)il2cpp_codegen_static_fields_for(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_il2cpp_TypeInfo_var))->get_nullEncMagic_1();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = __this->get__lmpwd_4();
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_19, 0, (RuntimeArray *)(RuntimeArray *)L_20, 8, 8, /*hidden argument*/NULL);
goto IL_00b2;
}
IL_008a:
{
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_21 = V_0;
String_t* L_22 = ___value0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = ChallengeResponse_PasswordToKey_m522B84CA0312284486A2C4E10FEE2D74BF4FF163(__this, L_22, 7, /*hidden argument*/NULL);
NullCheck(L_21);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_21, L_23);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_24 = V_0;
NullCheck(L_24);
RuntimeObject* L_25 = VirtFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_24);
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = ((ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_StaticFields*)il2cpp_codegen_static_fields_for(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_il2cpp_TypeInfo_var))->get_magic_0();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_27 = __this->get__lmpwd_4();
NullCheck(L_25);
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(3 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var, L_25, L_26, 0, 8, L_27, 8);
}
IL_00b2:
{
MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * L_28 = MD4_Create_m2D436A4CC284704A7DA0EEF4C4D5860F69D0BB93(/*hidden argument*/NULL);
String_t* L_29 = ___value0;
G_B11_0 = L_28;
if (!L_29)
{
G_B12_0 = L_28;
goto IL_00c7;
}
}
{
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_30 = Encoding_get_Unicode_m86CC470F70F9BB52DDB26721F0C0D6EDAFC318AA(/*hidden argument*/NULL);
String_t* L_31 = ___value0;
NullCheck(L_30);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_32 = VirtFuncInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, String_t* >::Invoke(15 /* System.Byte[] System.Text.Encoding::GetBytes(System.String) */, L_30, L_31);
G_B13_0 = L_32;
G_B13_1 = G_B11_0;
goto IL_00cd;
}
IL_00c7:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_33 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)0);
G_B13_0 = L_33;
G_B13_1 = G_B12_0;
}
IL_00cd:
{
V_1 = G_B13_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_34 = V_1;
NullCheck(G_B13_1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_35 = HashAlgorithm_ComputeHash_m18501D3068AEBEB5FA83EA72BE780E371DB0C122(G_B13_1, L_34, /*hidden argument*/NULL);
V_2 = L_35;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_37 = __this->get__ntpwd_5();
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_36, 0, (RuntimeArray *)(RuntimeArray *)L_37, 0, ((int32_t)16), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_38 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_39 = V_1;
NullCheck(L_39);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_38, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_39)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_40 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_41 = V_2;
NullCheck(L_41);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_40, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_41)->max_length)))), /*hidden argument*/NULL);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_42 = V_0;
NullCheck(L_42);
SymmetricAlgorithm_Clear_m8487379B135918E72684597CFE388EF7FCA733D2(L_42, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::set_Challenge(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse_set_Challenge_mD747C1A002528A6E9AFDE848AA257FD7B1B85E6F (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse_set_Challenge_mD747C1A002528A6E9AFDE848AA257FD7B1B85E6F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___value0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteralBB9D653F4E12DEED891E16FF7E7D9376E13F075D, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ChallengeResponse_set_Challenge_mD747C1A002528A6E9AFDE848AA257FD7B1B85E6F_RuntimeMethod_var);
}
IL_000e:
{
bool L_2 = __this->get__disposed_2();
if (!L_2)
{
goto IL_0021;
}
}
{
ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A * L_3 = (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A *)il2cpp_codegen_object_new(ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m8B5D23EA08E42BDE6BC5233CC666295F19BBD2F9(L_3, _stringLiteral42BBEE886171CED8B81918E0F830F24966193E05, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, NULL, ChallengeResponse_set_Challenge_mD747C1A002528A6E9AFDE848AA257FD7B1B85E6F_RuntimeMethod_var);
}
IL_0021:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = ___value0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_4);
RuntimeObject * L_5 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_4, /*hidden argument*/NULL);
__this->set__challenge_3(((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_5, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var)));
return;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::get_LM()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse_get_LM_m3916048E028CFCA867E801A83FEB949F7C089263 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse_get_LM_m3916048E028CFCA867E801A83FEB949F7C089263_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get__disposed_2();
if (!L_0)
{
goto IL_0013;
}
}
{
ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A * L_1 = (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A *)il2cpp_codegen_object_new(ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m8B5D23EA08E42BDE6BC5233CC666295F19BBD2F9(L_1, _stringLiteral42BBEE886171CED8B81918E0F830F24966193E05, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ChallengeResponse_get_LM_m3916048E028CFCA867E801A83FEB949F7C089263_RuntimeMethod_var);
}
IL_0013:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = __this->get__lmpwd_4();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ChallengeResponse_GetResponse_m526E49021AB29DD12995CF8BB12DC9F03F2A583F(__this, L_2, /*hidden argument*/NULL);
return L_3;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::get_NT()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse_get_NT_mEC9F2FDFDB8FADF415D4BA8A1564A23024FC3437 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse_get_NT_mEC9F2FDFDB8FADF415D4BA8A1564A23024FC3437_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get__disposed_2();
if (!L_0)
{
goto IL_0013;
}
}
{
ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A * L_1 = (ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A *)il2cpp_codegen_object_new(ObjectDisposedException_tF68E471ECD1419AD7C51137B742837395F50B69A_il2cpp_TypeInfo_var);
ObjectDisposedException__ctor_m8B5D23EA08E42BDE6BC5233CC666295F19BBD2F9(L_1, _stringLiteral42BBEE886171CED8B81918E0F830F24966193E05, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, ChallengeResponse_get_NT_mEC9F2FDFDB8FADF415D4BA8A1564A23024FC3437_RuntimeMethod_var);
}
IL_0013:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = __this->get__ntpwd_5();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ChallengeResponse_GetResponse_m526E49021AB29DD12995CF8BB12DC9F03F2A583F(__this, L_2, /*hidden argument*/NULL);
return L_3;
}
}
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse_Dispose_mD6C08D1EDA541DC5A9B287744FB18E3149627434 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse_Dispose_mD6C08D1EDA541DC5A9B287744FB18E3149627434_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ChallengeResponse_Dispose_mF3B015B967C89BE1E139EFA40740208B10441AED(__this, (bool)1, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(GC_tC1D7BD74E8F44ECCEF5CD2B5D84BFF9AAE02D01D_il2cpp_TypeInfo_var);
GC_SuppressFinalize_m037319A9B95A5BA437E806DE592802225EE5B425(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::Dispose(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse_Dispose_mF3B015B967C89BE1E139EFA40740208B10441AED (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, bool ___disposing0, const RuntimeMethod* method)
{
{
bool L_0 = __this->get__disposed_2();
if (L_0)
{
goto IL_0053;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = __this->get__lmpwd_4();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = __this->get__lmpwd_4();
NullCheck(L_2);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = __this->get__ntpwd_5();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = __this->get__ntpwd_5();
NullCheck(L_4);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_3, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_4)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = __this->get__challenge_3();
if (!L_5)
{
goto IL_004c;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = __this->get__challenge_3();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = __this->get__challenge_3();
NullCheck(L_7);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_6, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))), /*hidden argument*/NULL);
}
IL_004c:
{
__this->set__disposed_2((bool)1);
}
IL_0053:
{
return;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::GetResponse(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse_GetResponse_m526E49021AB29DD12995CF8BB12DC9F03F2A583F (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___pwd0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse_GetResponse_m526E49021AB29DD12995CF8BB12DC9F03F2A583F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)24));
V_0 = L_0;
IL2CPP_RUNTIME_CLASS_INIT(DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0_il2cpp_TypeInfo_var);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_1 = DES_Create_m5EE267FBCD5AA18E04C29247C796430D12247CC5(/*hidden argument*/NULL);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_2 = L_1;
NullCheck(L_2);
VirtActionInvoker1< int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Mode(System.Security.Cryptography.CipherMode) */, L_2, 2);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_3 = L_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = ___pwd0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = ChallengeResponse_PrepareDESKey_m32B2174E0B63E959CE08204F3C39AAA01799A3B3(__this, L_4, 0, /*hidden argument*/NULL);
NullCheck(L_3);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_3, L_5);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_6 = L_3;
NullCheck(L_6);
RuntimeObject* L_7 = VirtFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_6);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = __this->get__challenge_3();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = V_0;
NullCheck(L_7);
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(3 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var, L_7, L_8, 0, 8, L_9, 0);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_10 = L_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ___pwd0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ChallengeResponse_PrepareDESKey_m32B2174E0B63E959CE08204F3C39AAA01799A3B3(__this, L_11, 7, /*hidden argument*/NULL);
NullCheck(L_10);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_10, L_12);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_13 = L_10;
NullCheck(L_13);
RuntimeObject* L_14 = VirtFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_13);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = __this->get__challenge_3();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = V_0;
NullCheck(L_14);
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(3 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var, L_14, L_15, 0, 8, L_16, 8);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_17 = L_13;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = ___pwd0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_19 = ChallengeResponse_PrepareDESKey_m32B2174E0B63E959CE08204F3C39AAA01799A3B3(__this, L_18, ((int32_t)14), /*hidden argument*/NULL);
NullCheck(L_17);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_17, L_19);
NullCheck(L_17);
RuntimeObject* L_20 = VirtFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_17);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = __this->get__challenge_3();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = V_0;
NullCheck(L_20);
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(3 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var, L_20, L_21, 0, 8, L_22, ((int32_t)16));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = V_0;
return L_23;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::PrepareDESKey(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse_PrepareDESKey_m32B2174E0B63E959CE08204F3C39AAA01799A3B3 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___key56bits0, int32_t ___position1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse_PrepareDESKey_m32B2174E0B63E959CE08204F3C39AAA01799A3B3_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = L_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___key56bits0;
int32_t L_3 = ___position1;
NullCheck(L_2);
int32_t L_4 = L_3;
uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck(L_1);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_5);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = L_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___key56bits0;
int32_t L_8 = ___position1;
NullCheck(L_7);
int32_t L_9 = L_8;
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ___key56bits0;
int32_t L_12 = ___position1;
NullCheck(L_11);
int32_t L_13 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
uint8_t L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_10<<(int32_t)7))|(int32_t)((int32_t)((int32_t)L_14>>(int32_t)1))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = L_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = ___key56bits0;
int32_t L_17 = ___position1;
NullCheck(L_16);
int32_t L_18 = ((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
uint8_t L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = ___key56bits0;
int32_t L_21 = ___position1;
NullCheck(L_20);
int32_t L_22 = ((int32_t)il2cpp_codegen_add((int32_t)L_21, (int32_t)2));
uint8_t L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
NullCheck(L_15);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_19<<(int32_t)6))|(int32_t)((int32_t)((int32_t)L_23>>(int32_t)2))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = L_15;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_25 = ___key56bits0;
int32_t L_26 = ___position1;
NullCheck(L_25);
int32_t L_27 = ((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)2));
uint8_t L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_29 = ___key56bits0;
int32_t L_30 = ___position1;
NullCheck(L_29);
int32_t L_31 = ((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)3));
uint8_t L_32 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_28<<(int32_t)5))|(int32_t)((int32_t)((int32_t)L_32>>(int32_t)3))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_33 = L_24;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_34 = ___key56bits0;
int32_t L_35 = ___position1;
NullCheck(L_34);
int32_t L_36 = ((int32_t)il2cpp_codegen_add((int32_t)L_35, (int32_t)3));
uint8_t L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_38 = ___key56bits0;
int32_t L_39 = ___position1;
NullCheck(L_38);
int32_t L_40 = ((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)4));
uint8_t L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
NullCheck(L_33);
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(4), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_37<<(int32_t)4))|(int32_t)((int32_t)((int32_t)L_41>>(int32_t)4))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_42 = L_33;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_43 = ___key56bits0;
int32_t L_44 = ___position1;
NullCheck(L_43);
int32_t L_45 = ((int32_t)il2cpp_codegen_add((int32_t)L_44, (int32_t)4));
uint8_t L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_47 = ___key56bits0;
int32_t L_48 = ___position1;
NullCheck(L_47);
int32_t L_49 = ((int32_t)il2cpp_codegen_add((int32_t)L_48, (int32_t)5));
uint8_t L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
NullCheck(L_42);
(L_42)->SetAt(static_cast<il2cpp_array_size_t>(5), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_46<<(int32_t)3))|(int32_t)((int32_t)((int32_t)L_50>>(int32_t)5))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_51 = L_42;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_52 = ___key56bits0;
int32_t L_53 = ___position1;
NullCheck(L_52);
int32_t L_54 = ((int32_t)il2cpp_codegen_add((int32_t)L_53, (int32_t)5));
uint8_t L_55 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_54));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_56 = ___key56bits0;
int32_t L_57 = ___position1;
NullCheck(L_56);
int32_t L_58 = ((int32_t)il2cpp_codegen_add((int32_t)L_57, (int32_t)6));
uint8_t L_59 = (L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_58));
NullCheck(L_51);
(L_51)->SetAt(static_cast<il2cpp_array_size_t>(6), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_55<<(int32_t)2))|(int32_t)((int32_t)((int32_t)L_59>>(int32_t)6))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_60 = L_51;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_61 = ___key56bits0;
int32_t L_62 = ___position1;
NullCheck(L_61);
int32_t L_63 = ((int32_t)il2cpp_codegen_add((int32_t)L_62, (int32_t)6));
uint8_t L_64 = (L_61)->GetAt(static_cast<il2cpp_array_size_t>(L_63));
NullCheck(L_60);
(L_60)->SetAt(static_cast<il2cpp_array_size_t>(7), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_64<<(int32_t)1))))));
return L_60;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse::PasswordToKey(System.String,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse_PasswordToKey_m522B84CA0312284486A2C4E10FEE2D74BF4FF163 (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * __this, String_t* ___password0, int32_t ___position1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse_PasswordToKey_m522B84CA0312284486A2C4E10FEE2D74BF4FF163_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
int32_t V_1 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)7);
V_0 = L_0;
String_t* L_1 = ___password0;
NullCheck(L_1);
int32_t L_2 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_1, /*hidden argument*/NULL);
int32_t L_3 = ___position1;
IL2CPP_RUNTIME_CLASS_INIT(Math_tFB388E53C7FDC6FCCF9A19ABF5A4E521FBD52E19_il2cpp_TypeInfo_var);
int32_t L_4 = Math_Min_mC950438198519FB2B0260FCB91220847EE4BB525(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3)), 7, /*hidden argument*/NULL);
V_1 = L_4;
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_5 = Encoding_get_ASCII_m9B673AE3152AB04D07CADE6E5E142C785B5BC94E(/*hidden argument*/NULL);
String_t* L_6 = ___password0;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_7 = CultureInfo_get_CurrentCulture_mD86F3D8E5D332FB304F80D9B9CA4DE849C2A6831(/*hidden argument*/NULL);
NullCheck(L_6);
String_t* L_8 = String_ToUpper_m8C69D974350ABA8BA0BC3A66996004CCEFD64293(L_6, L_7, /*hidden argument*/NULL);
int32_t L_9 = ___position1;
int32_t L_10 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = V_0;
NullCheck(L_5);
VirtFuncInvoker5< int32_t, String_t*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(16 /* System.Int32 System.Text.Encoding::GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32) */, L_5, L_8, L_9, L_10, L_11, 0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = ChallengeResponse_PrepareDESKey_m32B2174E0B63E959CE08204F3C39AAA01799A3B3(__this, L_12, 0, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = V_0;
NullCheck(L_15);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_14, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length)))), /*hidden argument*/NULL);
return L_13;
}
}
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse__cctor_m069BF87DE471BEDD893664B52BBD066119DCD55C (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse__cctor_m069BF87DE471BEDD893664B52BBD066119DCD55C_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = L_0;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____AEA5F1CC5CFE1660539EDD691FE017F775F63A0D_19_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_StaticFields*)il2cpp_codegen_static_fields_for(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_il2cpp_TypeInfo_var))->set_magic_0(L_1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = L_3;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_5 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____16968835DEF6DD3BB86EABA9DEC53BF41851CD6D_2_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_4, L_5, /*hidden argument*/NULL);
((ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_StaticFields*)il2cpp_codegen_static_fields_for(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_il2cpp_TypeInfo_var))->set_nullEncMagic_1(L_4);
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.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::Compute_LM(System.String,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_Compute_LM_m3A1F9371E4F1E41B044787FFB3BE985E92A3AC22 (String_t* ___password0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___challenge1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse2_Compute_LM_m3A1F9371E4F1E41B044787FFB3BE985E92A3AC22_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * V_1 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)21));
V_0 = L_0;
IL2CPP_RUNTIME_CLASS_INIT(DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0_il2cpp_TypeInfo_var);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_1 = DES_Create_m5EE267FBCD5AA18E04C29247C796430D12247CC5(/*hidden argument*/NULL);
V_1 = L_1;
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_2 = V_1;
NullCheck(L_2);
VirtActionInvoker1< int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Mode(System.Security.Cryptography.CipherMode) */, L_2, 2);
String_t* L_3 = ___password0;
if (!L_3)
{
goto IL_0021;
}
}
{
String_t* L_4 = ___password0;
NullCheck(L_4);
int32_t L_5 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_4, /*hidden argument*/NULL);
if ((((int32_t)L_5) >= ((int32_t)1)))
{
goto IL_0031;
}
}
IL_0021:
{
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ((ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_StaticFields*)il2cpp_codegen_static_fields_for(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var))->get_nullEncMagic_1();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = V_0;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_6, 0, (RuntimeArray *)(RuntimeArray *)L_7, 0, 8, /*hidden argument*/NULL);
goto IL_0053;
}
IL_0031:
{
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_8 = V_1;
String_t* L_9 = ___password0;
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = ChallengeResponse2_PasswordToKey_m2871E605818DF2DE4BC5B1B163831BA8F64006D8(L_9, 0, /*hidden argument*/NULL);
NullCheck(L_8);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_8, L_10);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_11 = V_1;
NullCheck(L_11);
RuntimeObject* L_12 = VirtFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_11);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = ((ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_StaticFields*)il2cpp_codegen_static_fields_for(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var))->get_magic_0();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = V_0;
NullCheck(L_12);
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(3 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var, L_12, L_13, 0, 8, L_14, 0);
}
IL_0053:
{
String_t* L_15 = ___password0;
if (!L_15)
{
goto IL_005f;
}
}
{
String_t* L_16 = ___password0;
NullCheck(L_16);
int32_t L_17 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_16, /*hidden argument*/NULL);
if ((((int32_t)L_17) >= ((int32_t)8)))
{
goto IL_006f;
}
}
IL_005f:
{
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = ((ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_StaticFields*)il2cpp_codegen_static_fields_for(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var))->get_nullEncMagic_1();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_19 = V_0;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_18, 0, (RuntimeArray *)(RuntimeArray *)L_19, 8, 8, /*hidden argument*/NULL);
goto IL_0091;
}
IL_006f:
{
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_20 = V_1;
String_t* L_21 = ___password0;
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = ChallengeResponse2_PasswordToKey_m2871E605818DF2DE4BC5B1B163831BA8F64006D8(L_21, 7, /*hidden argument*/NULL);
NullCheck(L_20);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_20, L_22);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_23 = V_1;
NullCheck(L_23);
RuntimeObject* L_24 = VirtFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_23);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_25 = ((ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_StaticFields*)il2cpp_codegen_static_fields_for(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var))->get_magic_0();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = V_0;
NullCheck(L_24);
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(3 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var, L_24, L_25, 0, 8, L_26, 8);
}
IL_0091:
{
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_27 = V_1;
NullCheck(L_27);
SymmetricAlgorithm_Clear_m8487379B135918E72684597CFE388EF7FCA733D2(L_27, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = ___challenge1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_29 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_30 = ChallengeResponse2_GetResponse_mE39699CD2453921E373BF9768180993EDCD810E7(L_28, L_29, /*hidden argument*/NULL);
return L_30;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::Compute_NTLM_Password(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_Compute_NTLM_Password_mD27D4A18DBD712B0E80B0F2A1CB296B353312C41 (String_t* ___password0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse2_Compute_NTLM_Password_mD27D4A18DBD712B0E80B0F2A1CB296B353312C41_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_1 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_2 = NULL;
MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * G_B2_0 = NULL;
MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * G_B1_0 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* G_B3_0 = NULL;
MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * G_B3_1 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)21));
V_0 = L_0;
MD4_t932C1DEA44D4B8650873251E88AA4096164BB380 * L_1 = MD4_Create_m2D436A4CC284704A7DA0EEF4C4D5860F69D0BB93(/*hidden argument*/NULL);
String_t* L_2 = ___password0;
G_B1_0 = L_1;
if (!L_2)
{
G_B2_0 = L_1;
goto IL_001d;
}
}
{
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_3 = Encoding_get_Unicode_m86CC470F70F9BB52DDB26721F0C0D6EDAFC318AA(/*hidden argument*/NULL);
String_t* L_4 = ___password0;
NullCheck(L_3);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = VirtFuncInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, String_t* >::Invoke(15 /* System.Byte[] System.Text.Encoding::GetBytes(System.String) */, L_3, L_4);
G_B3_0 = L_5;
G_B3_1 = G_B1_0;
goto IL_0023;
}
IL_001d:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)0);
G_B3_0 = L_6;
G_B3_1 = G_B2_0;
}
IL_0023:
{
V_1 = G_B3_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = V_1;
NullCheck(G_B3_1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = HashAlgorithm_ComputeHash_m18501D3068AEBEB5FA83EA72BE780E371DB0C122(G_B3_1, L_7, /*hidden argument*/NULL);
V_2 = L_8;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = V_0;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_9, 0, (RuntimeArray *)(RuntimeArray *)L_10, 0, ((int32_t)16), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = V_1;
NullCheck(L_12);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_11, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = V_2;
NullCheck(L_14);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_13, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = V_0;
return L_15;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::Compute_NTLM(System.String,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_Compute_NTLM_mA1DCA878A3A7A5517DB8BB0F2BEDD29353573976 (String_t* ___password0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___challenge1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse2_Compute_NTLM_mA1DCA878A3A7A5517DB8BB0F2BEDD29353573976_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
{
String_t* L_0 = ___password0;
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ChallengeResponse2_Compute_NTLM_Password_mD27D4A18DBD712B0E80B0F2A1CB296B353312C41(L_0, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___challenge1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = ChallengeResponse2_GetResponse_mE39699CD2453921E373BF9768180993EDCD810E7(L_2, L_3, /*hidden argument*/NULL);
return L_4;
}
}
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse2::Compute_NTLMv2_Session(System.String,System.Byte[],System.Byte[]&,System.Byte[]&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse2_Compute_NTLMv2_Session_mFB6537BF7FC8D9D7CCE55BFCDF6A7C371460E296 (String_t* ___password0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___challenge1, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** ___lm2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** ___ntlm3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse2_Compute_NTLMv2_Session_mFB6537BF7FC8D9D7CCE55BFCDF6A7C371460E296_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_1 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_2 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_3 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
V_0 = L_0;
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_1 = RandomNumberGenerator_Create_mB84B1BA538B29D0679F310D3B574A7D5BAA890C4(/*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = V_0;
NullCheck(L_1);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(6 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_1, L_2);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ___challenge1;
NullCheck(L_3);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_3)->max_length)))), (int32_t)8)));
V_1 = L_4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = ___challenge1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = V_1;
NullCheck((RuntimeArray *)(RuntimeArray *)L_5);
Array_CopyTo_m455300D414FFB0EBFE53EA4E8BBD31532006EBB7((RuntimeArray *)(RuntimeArray *)L_5, (RuntimeArray *)(RuntimeArray *)L_6, 0, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = ___challenge1;
NullCheck(L_9);
NullCheck((RuntimeArray *)(RuntimeArray *)L_7);
Array_CopyTo_m455300D414FFB0EBFE53EA4E8BBD31532006EBB7((RuntimeArray *)(RuntimeArray *)L_7, (RuntimeArray *)(RuntimeArray *)L_8, (((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_10 = ___lm2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)24));
*((RuntimeObject **)L_10) = (RuntimeObject *)L_11;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_10, (void*)(RuntimeObject *)L_11);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_13 = ___lm2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = *((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821**)L_13);
NullCheck((RuntimeArray *)(RuntimeArray *)L_12);
Array_CopyTo_m455300D414FFB0EBFE53EA4E8BBD31532006EBB7((RuntimeArray *)(RuntimeArray *)L_12, (RuntimeArray *)(RuntimeArray *)L_14, 0, /*hidden argument*/NULL);
MD5_tCED753745572EC20FE5D31D15F132736B5343EE6 * L_15 = MD5_Create_m87EB14601AD6AF168032C29DA938E18454CA05AE(/*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = V_1;
NullCheck(L_15);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = HashAlgorithm_ComputeHash_m18501D3068AEBEB5FA83EA72BE780E371DB0C122(L_15, L_16, /*hidden argument*/NULL);
V_2 = L_17;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
V_3 = L_18;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_19 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = V_3;
Array_Copy_m2D96731C600DE8A167348CA8BA796344E64F7434((RuntimeArray *)(RuntimeArray *)L_19, (RuntimeArray *)(RuntimeArray *)L_20, 8, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_21 = ___ntlm3;
String_t* L_22 = ___password0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = ChallengeResponse2_Compute_NTLM_mA1DCA878A3A7A5517DB8BB0F2BEDD29353573976(L_22, L_23, /*hidden argument*/NULL);
*((RuntimeObject **)L_21) = (RuntimeObject *)L_24;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_21, (void*)(RuntimeObject *)L_24);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_25 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = V_0;
NullCheck(L_26);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_25, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_26)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_27 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = V_1;
NullCheck(L_28);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_27, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_28)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_29 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_30 = V_3;
NullCheck(L_30);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_29, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_30)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_31 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_32 = V_2;
NullCheck(L_32);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_31, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_32)->max_length)))), /*hidden argument*/NULL);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::Compute_NTLMv2(Mono.Security.Protocol.Ntlm.Type2Message,System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_Compute_NTLMv2_mBCFF2DF7375AD035B98FC84253201D269201CE43 (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * ___type20, String_t* ___username1, String_t* ___password2, String_t* ___domain3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse2_Compute_NTLMv2_mBCFF2DF7375AD035B98FC84253201D269201CE43_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_1 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_2 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_3 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_4 = NULL;
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 V_5;
memset((&V_5), 0, sizeof(V_5));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_6 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_7 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_8 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_9 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_10 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_11 = NULL;
{
String_t* L_0 = ___password2;
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ChallengeResponse2_Compute_NTLM_Password_mD27D4A18DBD712B0E80B0F2A1CB296B353312C41(L_0, /*hidden argument*/NULL);
V_0 = L_1;
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_2 = Encoding_get_Unicode_m86CC470F70F9BB52DDB26721F0C0D6EDAFC318AA(/*hidden argument*/NULL);
String_t* L_3 = ___username1;
NullCheck(L_3);
String_t* L_4 = String_ToUpperInvariant_m0AA42416F4CACA4D0E3B89D97E534D88AB136338(L_3, /*hidden argument*/NULL);
NullCheck(L_2);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = VirtFuncInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, String_t* >::Invoke(15 /* System.Byte[] System.Text.Encoding::GetBytes(System.String) */, L_2, L_4);
V_1 = L_5;
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_6 = Encoding_get_Unicode_m86CC470F70F9BB52DDB26721F0C0D6EDAFC318AA(/*hidden argument*/NULL);
String_t* L_7 = ___domain3;
NullCheck(L_6);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = VirtFuncInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, String_t* >::Invoke(15 /* System.Byte[] System.Text.Encoding::GetBytes(System.String) */, L_6, L_7);
V_2 = L_8;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = V_1;
NullCheck(L_9);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = V_2;
NullCheck(L_10);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))));
V_3 = L_11;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = V_3;
NullCheck((RuntimeArray *)(RuntimeArray *)L_12);
Array_CopyTo_m455300D414FFB0EBFE53EA4E8BBD31532006EBB7((RuntimeArray *)(RuntimeArray *)L_12, (RuntimeArray *)(RuntimeArray *)L_13, 0, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = V_1;
NullCheck(L_16);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = V_2;
NullCheck(L_17);
Array_Copy_mA10D079DD8D9700CA44721A219A934A2397653F6((RuntimeArray *)(RuntimeArray *)L_14, 0, (RuntimeArray *)(RuntimeArray *)L_15, (((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length)))), (((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = V_0;
HMACMD5_t8C6693E41EEA9BF26BBAF880B405CC170C43F11B * L_19 = (HMACMD5_t8C6693E41EEA9BF26BBAF880B405CC170C43F11B *)il2cpp_codegen_object_new(HMACMD5_t8C6693E41EEA9BF26BBAF880B405CC170C43F11B_il2cpp_TypeInfo_var);
HMACMD5__ctor_m246E639FCF66A7C0A443CF06F461A3C5C26EB6F9(L_19, L_18, /*hidden argument*/NULL);
HMACMD5_t8C6693E41EEA9BF26BBAF880B405CC170C43F11B * L_20 = L_19;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = V_3;
NullCheck(L_20);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = HashAlgorithm_ComputeHash_m18501D3068AEBEB5FA83EA72BE780E371DB0C122(L_20, L_21, /*hidden argument*/NULL);
V_4 = L_22;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = V_0;
NullCheck(L_24);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_23, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length)))), /*hidden argument*/NULL);
NullCheck(L_20);
HashAlgorithm_Clear_m2E975EB7B42C1E241B24578CDF15AD41F35A5A8D(L_20, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_25 = V_4;
HMACMD5_t8C6693E41EEA9BF26BBAF880B405CC170C43F11B * L_26 = (HMACMD5_t8C6693E41EEA9BF26BBAF880B405CC170C43F11B *)il2cpp_codegen_object_new(HMACMD5_t8C6693E41EEA9BF26BBAF880B405CC170C43F11B_il2cpp_TypeInfo_var);
HMACMD5__ctor_m246E639FCF66A7C0A443CF06F461A3C5C26EB6F9(L_26, L_25, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132_il2cpp_TypeInfo_var);
DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 L_27 = DateTime_get_Now_mB464D30F15C97069F92C1F910DCDDC3DFCC7F7D2(/*hidden argument*/NULL);
V_5 = L_27;
int64_t L_28 = DateTime_get_Ticks_mBCB529E43D065E498EAF08971D2EB49D5CB59D60((DateTime_t349B7449FBAAFF4192636E2B7A07694DA9236132 *)(&V_5), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_29 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
V_6 = L_29;
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_30 = RandomNumberGenerator_Create_mB84B1BA538B29D0679F310D3B574A7D5BAA890C4(/*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_31 = V_6;
NullCheck(L_30);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(6 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_30, L_31);
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_32 = ___type20;
NullCheck(L_32);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_33 = Type2Message_get_TargetInfo_m5E0F0E5A6B32B7512393EDC2DFE9E8A6D79DB485(L_32, /*hidden argument*/NULL);
NullCheck(L_33);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_34 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)28), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_33)->max_length)))))));
V_7 = L_34;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_35 = V_7;
NullCheck(L_35);
(L_35)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = V_7;
NullCheck(L_36);
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_37 = BitConverterLE_GetBytes_m8B2BFEBCB4830C010E4572C925AE3C3A3CC14031(((int64_t)il2cpp_codegen_subtract((int64_t)L_28, (int64_t)((int64_t)504911232000000000LL))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_38 = V_7;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_37, 0, (RuntimeArray *)(RuntimeArray *)L_38, 8, 8, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_39 = V_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_40 = V_7;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_39, 0, (RuntimeArray *)(RuntimeArray *)L_40, ((int32_t)16), 8, /*hidden argument*/NULL);
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_41 = ___type20;
NullCheck(L_41);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_42 = Type2Message_get_TargetInfo_m5E0F0E5A6B32B7512393EDC2DFE9E8A6D79DB485(L_41, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_43 = V_7;
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_44 = ___type20;
NullCheck(L_44);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_45 = Type2Message_get_TargetInfo_m5E0F0E5A6B32B7512393EDC2DFE9E8A6D79DB485(L_44, /*hidden argument*/NULL);
NullCheck(L_45);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_42, 0, (RuntimeArray *)(RuntimeArray *)L_43, ((int32_t)28), (((int32_t)((int32_t)(((RuntimeArray*)L_45)->max_length)))), /*hidden argument*/NULL);
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_46 = ___type20;
NullCheck(L_46);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_47 = Type2Message_get_Nonce_mEE9D40B2B299766F6B789195174BC580BDAEB4E1(L_46, /*hidden argument*/NULL);
V_8 = L_47;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_48 = V_8;
NullCheck(L_48);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_49 = V_7;
NullCheck(L_49);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_50 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_48)->max_length)))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_49)->max_length)))))));
V_9 = L_50;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_51 = V_8;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_52 = V_9;
NullCheck((RuntimeArray *)(RuntimeArray *)L_51);
Array_CopyTo_m455300D414FFB0EBFE53EA4E8BBD31532006EBB7((RuntimeArray *)(RuntimeArray *)L_51, (RuntimeArray *)(RuntimeArray *)L_52, 0, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_53 = V_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_54 = V_9;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_55 = V_8;
NullCheck(L_55);
NullCheck((RuntimeArray *)(RuntimeArray *)L_53);
Array_CopyTo_m455300D414FFB0EBFE53EA4E8BBD31532006EBB7((RuntimeArray *)(RuntimeArray *)L_53, (RuntimeArray *)(RuntimeArray *)L_54, (((int32_t)((int32_t)(((RuntimeArray*)L_55)->max_length)))), /*hidden argument*/NULL);
HMACMD5_t8C6693E41EEA9BF26BBAF880B405CC170C43F11B * L_56 = L_26;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_57 = V_9;
NullCheck(L_56);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_58 = HashAlgorithm_ComputeHash_m18501D3068AEBEB5FA83EA72BE780E371DB0C122(L_56, L_57, /*hidden argument*/NULL);
V_10 = L_58;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_59 = V_7;
NullCheck(L_59);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_60 = V_10;
NullCheck(L_60);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_61 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_59)->max_length)))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_60)->max_length)))))));
V_11 = L_61;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_62 = V_10;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_63 = V_11;
NullCheck((RuntimeArray *)(RuntimeArray *)L_62);
Array_CopyTo_m455300D414FFB0EBFE53EA4E8BBD31532006EBB7((RuntimeArray *)(RuntimeArray *)L_62, (RuntimeArray *)(RuntimeArray *)L_63, 0, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_64 = V_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_65 = V_11;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_66 = V_10;
NullCheck(L_66);
NullCheck((RuntimeArray *)(RuntimeArray *)L_64);
Array_CopyTo_m455300D414FFB0EBFE53EA4E8BBD31532006EBB7((RuntimeArray *)(RuntimeArray *)L_64, (RuntimeArray *)(RuntimeArray *)L_65, (((int32_t)((int32_t)(((RuntimeArray*)L_66)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_67 = V_4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_68 = V_4;
NullCheck(L_68);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_67, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_68)->max_length)))), /*hidden argument*/NULL);
NullCheck(L_56);
HashAlgorithm_Clear_m2E975EB7B42C1E241B24578CDF15AD41F35A5A8D(L_56, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_69 = V_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_70 = V_6;
NullCheck(L_70);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_69, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_70)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_71 = V_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_72 = V_7;
NullCheck(L_72);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_71, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_72)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_73 = V_9;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_74 = V_9;
NullCheck(L_74);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_73, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_74)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_75 = V_10;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_76 = V_10;
NullCheck(L_76);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_75, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_76)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_77 = V_11;
return L_77;
}
}
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse2::Compute(Mono.Security.Protocol.Ntlm.Type2Message,Mono.Security.Protocol.Ntlm.NtlmAuthLevel,System.String,System.String,System.String,System.Byte[]&,System.Byte[]&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse2_Compute_mAA312CA925226C75A829516B6BDC2089840D389D (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * ___type20, int32_t ___level1, String_t* ___username2, String_t* ___password3, String_t* ___domain4, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** ___lm5, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** ___ntlm6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse2_Compute_mAA312CA925226C75A829516B6BDC2089840D389D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_0 = ___lm5;
*((RuntimeObject **)L_0) = (RuntimeObject *)NULL;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_0, (void*)(RuntimeObject *)NULL);
int32_t L_1 = ___level1;
switch (L_1)
{
case 0:
{
goto IL_001c;
}
case 1:
{
goto IL_003b;
}
case 2:
{
goto IL_005a;
}
case 3:
{
goto IL_0089;
}
}
}
{
goto IL_0097;
}
IL_001c:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_2 = ___lm5;
String_t* L_3 = ___password3;
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_4 = ___type20;
NullCheck(L_4);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = Type2Message_get_Nonce_mEE9D40B2B299766F6B789195174BC580BDAEB4E1(L_4, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ChallengeResponse2_Compute_LM_m3A1F9371E4F1E41B044787FFB3BE985E92A3AC22(L_3, L_5, /*hidden argument*/NULL);
*((RuntimeObject **)L_2) = (RuntimeObject *)L_6;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_2, (void*)(RuntimeObject *)L_6);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_7 = ___ntlm6;
String_t* L_8 = ___password3;
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_9 = ___type20;
NullCheck(L_9);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = Type2Message_get_Nonce_mEE9D40B2B299766F6B789195174BC580BDAEB4E1(L_9, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ChallengeResponse2_Compute_NTLM_mA1DCA878A3A7A5517DB8BB0F2BEDD29353573976(L_8, L_10, /*hidden argument*/NULL);
*((RuntimeObject **)L_7) = (RuntimeObject *)L_11;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_7, (void*)(RuntimeObject *)L_11);
return;
}
IL_003b:
{
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_12 = ___type20;
NullCheck(L_12);
int32_t L_13 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(L_12, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_13&(int32_t)((int32_t)524288))))
{
goto IL_001c;
}
}
{
String_t* L_14 = ___password3;
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_15 = ___type20;
NullCheck(L_15);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = Type2Message_get_Nonce_mEE9D40B2B299766F6B789195174BC580BDAEB4E1(L_15, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_17 = ___lm5;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_18 = ___ntlm6;
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ChallengeResponse2_Compute_NTLMv2_Session_mFB6537BF7FC8D9D7CCE55BFCDF6A7C371460E296(L_14, L_16, (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821**)L_17, (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821**)L_18, /*hidden argument*/NULL);
return;
}
IL_005a:
{
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_19 = ___type20;
NullCheck(L_19);
int32_t L_20 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(L_19, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_20&(int32_t)((int32_t)524288))))
{
goto IL_0079;
}
}
{
String_t* L_21 = ___password3;
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_22 = ___type20;
NullCheck(L_22);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = Type2Message_get_Nonce_mEE9D40B2B299766F6B789195174BC580BDAEB4E1(L_22, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_24 = ___lm5;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_25 = ___ntlm6;
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ChallengeResponse2_Compute_NTLMv2_Session_mFB6537BF7FC8D9D7CCE55BFCDF6A7C371460E296(L_21, L_23, (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821**)L_24, (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821**)L_25, /*hidden argument*/NULL);
return;
}
IL_0079:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_26 = ___ntlm6;
String_t* L_27 = ___password3;
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_28 = ___type20;
NullCheck(L_28);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_29 = Type2Message_get_Nonce_mEE9D40B2B299766F6B789195174BC580BDAEB4E1(L_28, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_30 = ChallengeResponse2_Compute_NTLM_mA1DCA878A3A7A5517DB8BB0F2BEDD29353573976(L_27, L_29, /*hidden argument*/NULL);
*((RuntimeObject **)L_26) = (RuntimeObject *)L_30;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_26, (void*)(RuntimeObject *)L_30);
return;
}
IL_0089:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821** L_31 = ___ntlm6;
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_32 = ___type20;
String_t* L_33 = ___username2;
String_t* L_34 = ___password3;
String_t* L_35 = ___domain4;
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = ChallengeResponse2_Compute_NTLMv2_mBCFF2DF7375AD035B98FC84253201D269201CE43(L_32, L_33, L_34, L_35, /*hidden argument*/NULL);
*((RuntimeObject **)L_31) = (RuntimeObject *)L_36;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_31, (void*)(RuntimeObject *)L_36);
return;
}
IL_0097:
{
InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 * L_37 = (InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 *)il2cpp_codegen_object_new(InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m1F94EA1226068BD1B7EAA1B836A59C99979F579E(L_37, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_37, NULL, ChallengeResponse2_Compute_mAA312CA925226C75A829516B6BDC2089840D389D_RuntimeMethod_var);
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::GetResponse(System.Byte[],System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_GetResponse_mE39699CD2453921E373BF9768180993EDCD810E7 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___challenge0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___pwd1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse2_GetResponse_mE39699CD2453921E373BF9768180993EDCD810E7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)24));
V_0 = L_0;
IL2CPP_RUNTIME_CLASS_INIT(DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0_il2cpp_TypeInfo_var);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_1 = DES_Create_m5EE267FBCD5AA18E04C29247C796430D12247CC5(/*hidden argument*/NULL);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_2 = L_1;
NullCheck(L_2);
VirtActionInvoker1< int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Mode(System.Security.Cryptography.CipherMode) */, L_2, 2);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_3 = L_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = ___pwd1;
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = ChallengeResponse2_PrepareDESKey_m428EF8F37B18E0B4FC5895BFF02A681740CF7608(L_4, 0, /*hidden argument*/NULL);
NullCheck(L_3);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_3, L_5);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_6 = L_3;
NullCheck(L_6);
RuntimeObject* L_7 = VirtFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_6);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = ___challenge0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = V_0;
NullCheck(L_7);
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(3 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var, L_7, L_8, 0, 8, L_9, 0);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_10 = L_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ___pwd1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ChallengeResponse2_PrepareDESKey_m428EF8F37B18E0B4FC5895BFF02A681740CF7608(L_11, 7, /*hidden argument*/NULL);
NullCheck(L_10);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_10, L_12);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_13 = L_10;
NullCheck(L_13);
RuntimeObject* L_14 = VirtFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_13);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = ___challenge0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = V_0;
NullCheck(L_14);
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(3 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var, L_14, L_15, 0, 8, L_16, 8);
DES_tFB993FE8AF9722A555B0737FE730332CCD86F6F0 * L_17 = L_13;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = ___pwd1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_19 = ChallengeResponse2_PrepareDESKey_m428EF8F37B18E0B4FC5895BFF02A681740CF7608(L_18, ((int32_t)14), /*hidden argument*/NULL);
NullCheck(L_17);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_17, L_19);
NullCheck(L_17);
RuntimeObject* L_20 = VirtFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_17);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = ___challenge0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = V_0;
NullCheck(L_20);
InterfaceFuncInvoker5< int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(3 /* System.Int32 System.Security.Cryptography.ICryptoTransform::TransformBlock(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) */, ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var, L_20, L_21, 0, 8, L_22, ((int32_t)16));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = V_0;
return L_23;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::PrepareDESKey(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_PrepareDESKey_m428EF8F37B18E0B4FC5895BFF02A681740CF7608 (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___key56bits0, int32_t ___position1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse2_PrepareDESKey_m428EF8F37B18E0B4FC5895BFF02A681740CF7608_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = L_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___key56bits0;
int32_t L_3 = ___position1;
NullCheck(L_2);
int32_t L_4 = L_3;
uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
NullCheck(L_1);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_5);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = L_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___key56bits0;
int32_t L_8 = ___position1;
NullCheck(L_7);
int32_t L_9 = L_8;
uint8_t L_10 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_9));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ___key56bits0;
int32_t L_12 = ___position1;
NullCheck(L_11);
int32_t L_13 = ((int32_t)il2cpp_codegen_add((int32_t)L_12, (int32_t)1));
uint8_t L_14 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_10<<(int32_t)7))|(int32_t)((int32_t)((int32_t)L_14>>(int32_t)1))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = L_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = ___key56bits0;
int32_t L_17 = ___position1;
NullCheck(L_16);
int32_t L_18 = ((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
uint8_t L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = ___key56bits0;
int32_t L_21 = ___position1;
NullCheck(L_20);
int32_t L_22 = ((int32_t)il2cpp_codegen_add((int32_t)L_21, (int32_t)2));
uint8_t L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
NullCheck(L_15);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_19<<(int32_t)6))|(int32_t)((int32_t)((int32_t)L_23>>(int32_t)2))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = L_15;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_25 = ___key56bits0;
int32_t L_26 = ___position1;
NullCheck(L_25);
int32_t L_27 = ((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)2));
uint8_t L_28 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_27));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_29 = ___key56bits0;
int32_t L_30 = ___position1;
NullCheck(L_29);
int32_t L_31 = ((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)3));
uint8_t L_32 = (L_29)->GetAt(static_cast<il2cpp_array_size_t>(L_31));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(3), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_28<<(int32_t)5))|(int32_t)((int32_t)((int32_t)L_32>>(int32_t)3))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_33 = L_24;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_34 = ___key56bits0;
int32_t L_35 = ___position1;
NullCheck(L_34);
int32_t L_36 = ((int32_t)il2cpp_codegen_add((int32_t)L_35, (int32_t)3));
uint8_t L_37 = (L_34)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_38 = ___key56bits0;
int32_t L_39 = ___position1;
NullCheck(L_38);
int32_t L_40 = ((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)4));
uint8_t L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
NullCheck(L_33);
(L_33)->SetAt(static_cast<il2cpp_array_size_t>(4), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_37<<(int32_t)4))|(int32_t)((int32_t)((int32_t)L_41>>(int32_t)4))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_42 = L_33;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_43 = ___key56bits0;
int32_t L_44 = ___position1;
NullCheck(L_43);
int32_t L_45 = ((int32_t)il2cpp_codegen_add((int32_t)L_44, (int32_t)4));
uint8_t L_46 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_45));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_47 = ___key56bits0;
int32_t L_48 = ___position1;
NullCheck(L_47);
int32_t L_49 = ((int32_t)il2cpp_codegen_add((int32_t)L_48, (int32_t)5));
uint8_t L_50 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
NullCheck(L_42);
(L_42)->SetAt(static_cast<il2cpp_array_size_t>(5), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_46<<(int32_t)3))|(int32_t)((int32_t)((int32_t)L_50>>(int32_t)5))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_51 = L_42;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_52 = ___key56bits0;
int32_t L_53 = ___position1;
NullCheck(L_52);
int32_t L_54 = ((int32_t)il2cpp_codegen_add((int32_t)L_53, (int32_t)5));
uint8_t L_55 = (L_52)->GetAt(static_cast<il2cpp_array_size_t>(L_54));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_56 = ___key56bits0;
int32_t L_57 = ___position1;
NullCheck(L_56);
int32_t L_58 = ((int32_t)il2cpp_codegen_add((int32_t)L_57, (int32_t)6));
uint8_t L_59 = (L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_58));
NullCheck(L_51);
(L_51)->SetAt(static_cast<il2cpp_array_size_t>(6), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_55<<(int32_t)2))|(int32_t)((int32_t)((int32_t)L_59>>(int32_t)6))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_60 = L_51;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_61 = ___key56bits0;
int32_t L_62 = ___position1;
NullCheck(L_61);
int32_t L_63 = ((int32_t)il2cpp_codegen_add((int32_t)L_62, (int32_t)6));
uint8_t L_64 = (L_61)->GetAt(static_cast<il2cpp_array_size_t>(L_63));
NullCheck(L_60);
(L_60)->SetAt(static_cast<il2cpp_array_size_t>(7), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_64<<(int32_t)1))))));
return L_60;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.ChallengeResponse2::PasswordToKey(System.String,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ChallengeResponse2_PasswordToKey_m2871E605818DF2DE4BC5B1B163831BA8F64006D8 (String_t* ___password0, int32_t ___position1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse2_PasswordToKey_m2871E605818DF2DE4BC5B1B163831BA8F64006D8_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
int32_t V_1 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)7);
V_0 = L_0;
String_t* L_1 = ___password0;
NullCheck(L_1);
int32_t L_2 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_1, /*hidden argument*/NULL);
int32_t L_3 = ___position1;
IL2CPP_RUNTIME_CLASS_INIT(Math_tFB388E53C7FDC6FCCF9A19ABF5A4E521FBD52E19_il2cpp_TypeInfo_var);
int32_t L_4 = Math_Min_mC950438198519FB2B0260FCB91220847EE4BB525(((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)L_3)), 7, /*hidden argument*/NULL);
V_1 = L_4;
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_5 = Encoding_get_ASCII_m9B673AE3152AB04D07CADE6E5E142C785B5BC94E(/*hidden argument*/NULL);
String_t* L_6 = ___password0;
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_7 = CultureInfo_get_CurrentCulture_mD86F3D8E5D332FB304F80D9B9CA4DE849C2A6831(/*hidden argument*/NULL);
NullCheck(L_6);
String_t* L_8 = String_ToUpper_m8C69D974350ABA8BA0BC3A66996004CCEFD64293(L_6, L_7, /*hidden argument*/NULL);
int32_t L_9 = ___position1;
int32_t L_10 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = V_0;
NullCheck(L_5);
VirtFuncInvoker5< int32_t, String_t*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(16 /* System.Int32 System.Text.Encoding::GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32) */, L_5, L_8, L_9, L_10, L_11, 0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = ChallengeResponse2_PrepareDESKey_m428EF8F37B18E0B4FC5895BFF02A681740CF7608(L_12, 0, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = V_0;
NullCheck(L_15);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_14, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_15)->max_length)))), /*hidden argument*/NULL);
return L_13;
}
}
// System.Void Mono.Security.Protocol.Ntlm.ChallengeResponse2::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChallengeResponse2__cctor_mCF5C3FE5989C7BB7777C3BAADD67E9F8576A8C23 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ChallengeResponse2__cctor_mCF5C3FE5989C7BB7777C3BAADD67E9F8576A8C23_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = L_0;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____AEA5F1CC5CFE1660539EDD691FE017F775F63A0D_19_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_StaticFields*)il2cpp_codegen_static_fields_for(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var))->set_magic_0(L_1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = L_3;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_5 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____16968835DEF6DD3BB86EABA9DEC53BF41851CD6D_2_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_4, L_5, /*hidden argument*/NULL);
((ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_StaticFields*)il2cpp_codegen_static_fields_for(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var))->set_nullEncMagic_1(L_4);
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.Ntlm.MessageBase::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MessageBase__ctor_m32BA1280CB1020E88C6EF6DFA9C3ABABF3B36E59 (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, int32_t ___messageType0, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
int32_t L_0 = ___messageType0;
__this->set__type_1(L_0);
return;
}
}
// Mono.Security.Protocol.Ntlm.NtlmFlags Mono.Security.Protocol.Ntlm.MessageBase::get_Flags()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get__flags_2();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Ntlm.MessageBase::set_Flags(Mono.Security.Protocol.Ntlm.NtlmFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->set__flags_2(L_0);
return;
}
}
// System.Int32 Mono.Security.Protocol.Ntlm.MessageBase::get_Type()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MessageBase_get_Type_m0BE9BCC1FCC0E8DFF588F7F3A54AEDA76360C67C (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get__type_1();
return L_0;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.MessageBase::PrepareMessage(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* MessageBase_PrepareMessage_m6B0C0C463C16D086924EC49DB07C3ADE95C11958 (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, int32_t ___messageSize0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MessageBase_PrepareMessage_m6B0C0C463C16D086924EC49DB07C3ADE95C11958_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
{
int32_t L_0 = ___messageSize0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_0);
V_0 = L_1;
IL2CPP_RUNTIME_CLASS_INIT(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ((MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_StaticFields*)il2cpp_codegen_static_fields_for(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var))->get_header_0();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = V_0;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_2, 0, (RuntimeArray *)(RuntimeArray *)L_3, 0, 8, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = V_0;
int32_t L_5 = __this->get__type_1();
NullCheck(L_4);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(8), (uint8_t)(((int32_t)((uint8_t)L_5))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = V_0;
int32_t L_7 = __this->get__type_1();
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_7>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = V_0;
int32_t L_9 = __this->get__type_1();
NullCheck(L_8);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)10)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_9>>(int32_t)((int32_t)16)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = V_0;
int32_t L_11 = __this->get__type_1();
NullCheck(L_10);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)11)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_11>>(int32_t)((int32_t)24)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = V_0;
return L_12;
}
}
// System.Void Mono.Security.Protocol.Ntlm.MessageBase::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MessageBase_Decode_m0994F2111010F3E105B94A83439BDBADA2E46537 (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___message0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MessageBase_Decode_m0994F2111010F3E105B94A83439BDBADA2E46537_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___message0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD * L_1 = (ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD *)il2cpp_codegen_object_new(ArgumentNullException_t581DF992B1F3E0EC6EFB30CC5DC43519A79B27AD_il2cpp_TypeInfo_var);
ArgumentNullException__ctor_mEE0C0D6FCB2D08CD7967DBB1329A0854BBED49ED(L_1, _stringLiteral6F9B9AF3CD6E8B8A73C2CDCED37FE9F59226E27D, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, NULL, MessageBase_Decode_m0994F2111010F3E105B94A83439BDBADA2E46537_RuntimeMethod_var);
}
IL_000e:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___message0;
NullCheck(L_2);
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length))))) >= ((int32_t)((int32_t)12))))
{
goto IL_0034;
}
}
{
String_t* L_3 = Locale_GetText_m67B66557188C94648AA7A23F6A7501BE7D455ADA(_stringLiteral43C5083891C69B860FC78499995E820029745FE8, /*hidden argument*/NULL);
V_0 = L_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = ___message0;
NullCheck(L_4);
int32_t L_5 = (((int32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))));
RuntimeObject * L_6 = Box(Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var, &L_5);
String_t* L_7 = V_0;
ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA * L_8 = (ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA *)il2cpp_codegen_object_new(ArgumentOutOfRangeException_t94D19DF918A54511AEDF4784C9A08741BAD1DEDA_il2cpp_TypeInfo_var);
ArgumentOutOfRangeException__ctor_m755B01B4B4595B447596E3281F22FD7CE6DAE378(L_8, _stringLiteral6F9B9AF3CD6E8B8A73C2CDCED37FE9F59226E27D, L_6, L_7, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, MessageBase_Decode_m0994F2111010F3E105B94A83439BDBADA2E46537_RuntimeMethod_var);
}
IL_0034:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = ___message0;
bool L_10 = MessageBase_CheckHeader_m427014E264FA451B68062CFF8A1939DC3A04FB5A(__this, L_9, /*hidden argument*/NULL);
if (L_10)
{
goto IL_0062;
}
}
{
String_t* L_11 = Locale_GetText_m67B66557188C94648AA7A23F6A7501BE7D455ADA(_stringLiteralB8B0EDE7ABBF3F7F6738DC0C3F6D05656BAD431B, /*hidden argument*/NULL);
int32_t L_12 = __this->get__type_1();
int32_t L_13 = L_12;
RuntimeObject * L_14 = Box(Int32_t585191389E07734F19F3156FF88FB3EF4800D102_il2cpp_TypeInfo_var, &L_13);
String_t* L_15 = String_Format_m0ACDD8B34764E4040AED0B3EEB753567E4576BFA(L_11, L_14, /*hidden argument*/NULL);
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_16 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m26DC3463C6F3C98BF33EA39598DD2B32F0249CA8(L_16, L_15, _stringLiteral6F9B9AF3CD6E8B8A73C2CDCED37FE9F59226E27D, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, NULL, MessageBase_Decode_m0994F2111010F3E105B94A83439BDBADA2E46537_RuntimeMethod_var);
}
IL_0062:
{
return;
}
}
// System.Boolean Mono.Security.Protocol.Ntlm.MessageBase::CheckHeader(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MessageBase_CheckHeader_m427014E264FA451B68062CFF8A1939DC3A04FB5A (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___message0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MessageBase_CheckHeader_m427014E264FA451B68062CFF8A1939DC3A04FB5A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
V_0 = 0;
goto IL_0016;
}
IL_0004:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___message0;
int32_t L_1 = V_0;
NullCheck(L_0);
int32_t L_2 = L_1;
uint8_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
IL2CPP_RUNTIME_CLASS_INIT(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = ((MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_StaticFields*)il2cpp_codegen_static_fields_for(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var))->get_header_0();
int32_t L_5 = V_0;
NullCheck(L_4);
int32_t L_6 = L_5;
uint8_t L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
if ((((int32_t)L_3) == ((int32_t)L_7)))
{
goto IL_0012;
}
}
{
return (bool)0;
}
IL_0012:
{
int32_t L_8 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)1));
}
IL_0016:
{
int32_t L_9 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = ((MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_StaticFields*)il2cpp_codegen_static_fields_for(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var))->get_header_0();
NullCheck(L_10);
if ((((int32_t)L_9) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)))))))
{
goto IL_0004;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ___message0;
uint32_t L_12 = BitConverterLE_ToUInt32_m898E287439DDB0A31E4E39FF83DD032B1C43FA26(L_11, 8, /*hidden argument*/NULL);
int32_t L_13 = __this->get__type_1();
return (bool)((((int64_t)(((int64_t)((uint64_t)L_12)))) == ((int64_t)(((int64_t)((int64_t)L_13)))))? 1 : 0);
}
}
// System.Void Mono.Security.Protocol.Ntlm.MessageBase::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MessageBase__cctor_m4DF505F352AB2529D7E6EE09E6B096C076663B0F (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MessageBase__cctor_m4DF505F352AB2529D7E6EE09E6B096C076663B0F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = L_0;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____6FA00AC9FFFD87F82A38A7F9ECC8134F4A7052AF_12_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_StaticFields*)il2cpp_codegen_static_fields_for(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var))->set_header_0(L_1);
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
// Mono.Security.Protocol.Ntlm.NtlmAuthLevel Mono.Security.Protocol.Ntlm.NtlmSettings::get_DefaultAuthLevel()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t NtlmSettings_get_DefaultAuthLevel_m98EDE4292136121773A45127209BD926E1CF141A (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NtlmSettings_get_DefaultAuthLevel_m98EDE4292136121773A45127209BD926E1CF141A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009_il2cpp_TypeInfo_var);
int32_t L_0 = ((NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009_StaticFields*)il2cpp_codegen_static_fields_for(NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009_il2cpp_TypeInfo_var))->get_defaultAuthLevel_0();
return L_0;
}
}
// System.Void Mono.Security.Protocol.Ntlm.NtlmSettings::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NtlmSettings__cctor_mCE3B588B6BFFB63D73ECA11941E875814A5CE9BB (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NtlmSettings__cctor_mCE3B588B6BFFB63D73ECA11941E875814A5CE9BB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
((NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009_StaticFields*)il2cpp_codegen_static_fields_for(NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009_il2cpp_TypeInfo_var))->set_defaultAuthLevel_0(1);
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.Ntlm.Type1Message::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type1Message__ctor_mF11CFA44C4BF05765612B0D3CCBB4EBB433D7B23 (Type1Message_tF2DA0014BB300ABA864D84752FFA278EC6E6519C * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type1Message__ctor_mF11CFA44C4BF05765612B0D3CCBB4EBB433D7B23_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var);
MessageBase__ctor_m32BA1280CB1020E88C6EF6DFA9C3ABABF3B36E59(__this, 1, /*hidden argument*/NULL);
String_t* L_0 = Environment_get_UserDomainName_mC55D253D7319CBE9030836E420FF9518921C3A52(/*hidden argument*/NULL);
__this->set__domain_4(L_0);
String_t* L_1 = Environment_get_MachineName_m0300D26C1A5348D90800793717D33B1F629AF10D(/*hidden argument*/NULL);
__this->set__host_3(L_1);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, ((int32_t)45575), /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.Type1Message::set_Domain(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type1Message_set_Domain_m14675CA2220D6338E39DA862B822553AE6DCFD12 (Type1Message_tF2DA0014BB300ABA864D84752FFA278EC6E6519C * __this, String_t* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type1Message_set_Domain_m14675CA2220D6338E39DA862B822553AE6DCFD12_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___value0;
if (L_0)
{
goto IL_000a;
}
}
{
___value0 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
}
IL_000a:
{
String_t* L_1 = ___value0;
bool L_2 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_1, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002b;
}
}
{
int32_t L_3 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, ((int32_t)((int32_t)L_3&(int32_t)((int32_t)-4097))), /*hidden argument*/NULL);
goto IL_003d;
}
IL_002b:
{
int32_t L_4 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, ((int32_t)((int32_t)L_4|(int32_t)((int32_t)4096))), /*hidden argument*/NULL);
}
IL_003d:
{
String_t* L_5 = ___value0;
__this->set__domain_4(L_5);
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.Type1Message::set_Host(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type1Message_set_Host_mC0ADD586CC5A1F9FD5489AF1D8F14DF9AA4F2D68 (Type1Message_tF2DA0014BB300ABA864D84752FFA278EC6E6519C * __this, String_t* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type1Message_set_Host_mC0ADD586CC5A1F9FD5489AF1D8F14DF9AA4F2D68_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___value0;
if (L_0)
{
goto IL_000a;
}
}
{
___value0 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
}
IL_000a:
{
String_t* L_1 = ___value0;
bool L_2 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_1, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002b;
}
}
{
int32_t L_3 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, ((int32_t)((int32_t)L_3&(int32_t)((int32_t)-8193))), /*hidden argument*/NULL);
goto IL_003d;
}
IL_002b:
{
int32_t L_4 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, ((int32_t)((int32_t)L_4|(int32_t)((int32_t)8192))), /*hidden argument*/NULL);
}
IL_003d:
{
String_t* L_5 = ___value0;
__this->set__host_3(L_5);
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.Type1Message::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type1Message_Decode_mBDBDE9E060DFA07CC9A93D2491446B9411E5D2EC (Type1Message_tF2DA0014BB300ABA864D84752FFA278EC6E6519C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___message0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___message0;
MessageBase_Decode_m0994F2111010F3E105B94A83439BDBADA2E46537(__this, L_0, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___message0;
uint32_t L_2 = BitConverterLE_ToUInt32_m898E287439DDB0A31E4E39FF83DD032B1C43FA26(L_1, ((int32_t)12), /*hidden argument*/NULL);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, L_2, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ___message0;
uint16_t L_4 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_3, ((int32_t)16), /*hidden argument*/NULL);
V_0 = L_4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = ___message0;
uint16_t L_6 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_5, ((int32_t)20), /*hidden argument*/NULL);
V_1 = L_6;
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_7 = Encoding_get_ASCII_m9B673AE3152AB04D07CADE6E5E142C785B5BC94E(/*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = ___message0;
int32_t L_9 = V_1;
int32_t L_10 = V_0;
NullCheck(L_7);
String_t* L_11 = VirtFuncInvoker3< String_t*, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(32 /* System.String System.Text.Encoding::GetString(System.Byte[],System.Int32,System.Int32) */, L_7, L_8, L_9, L_10);
__this->set__domain_4(L_11);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ___message0;
uint16_t L_13 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_12, ((int32_t)24), /*hidden argument*/NULL);
V_2 = L_13;
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_14 = Encoding_get_ASCII_m9B673AE3152AB04D07CADE6E5E142C785B5BC94E(/*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = ___message0;
int32_t L_16 = V_2;
NullCheck(L_14);
String_t* L_17 = VirtFuncInvoker3< String_t*, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(32 /* System.String System.Text.Encoding::GetString(System.Byte[],System.Int32,System.Int32) */, L_14, L_15, ((int32_t)32), L_16);
__this->set__host_3(L_17);
return;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.Type1Message::GetBytes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* Type1Message_GetBytes_m5705CD87750C73B44B8700A02FF0E4C2DE294C9E (Type1Message_tF2DA0014BB300ABA864D84752FFA278EC6E6519C * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type1Message_GetBytes_m5705CD87750C73B44B8700A02FF0E4C2DE294C9E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int16_t V_0 = 0;
int16_t V_1 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_2 = NULL;
int16_t V_3 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_4 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_5 = NULL;
{
String_t* L_0 = __this->get__domain_4();
NullCheck(L_0);
int32_t L_1 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_0, /*hidden argument*/NULL);
V_0 = (((int16_t)((int16_t)L_1)));
String_t* L_2 = __this->get__host_3();
NullCheck(L_2);
int32_t L_3 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_2, /*hidden argument*/NULL);
V_1 = (((int16_t)((int16_t)L_3)));
int16_t L_4 = V_0;
int16_t L_5 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = MessageBase_PrepareMessage_m6B0C0C463C16D086924EC49DB07C3ADE95C11958(__this, ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)32), (int32_t)L_4)), (int32_t)L_5)), /*hidden argument*/NULL);
V_2 = L_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = V_2;
int32_t L_8 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
NullCheck(L_7);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)12)), (uint8_t)(((int32_t)((uint8_t)L_8))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = V_2;
int32_t L_10 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
NullCheck(L_9);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)13)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)L_10>>8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = V_2;
int32_t L_12 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
NullCheck(L_11);
(L_11)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)14)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)L_12>>((int32_t)16)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = V_2;
int32_t L_14 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)15)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)L_14>>((int32_t)24)))))));
int16_t L_15 = V_1;
V_3 = (((int16_t)((int16_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)32), (int32_t)L_15)))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = V_2;
int16_t L_17 = V_0;
NullCheck(L_16);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)16)), (uint8_t)(((int32_t)((uint8_t)L_17))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = V_2;
int16_t L_19 = V_0;
NullCheck(L_18);
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)17)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_19>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = V_2;
NullCheck(L_21);
int32_t L_22 = ((int32_t)16);
uint8_t L_23 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
NullCheck(L_20);
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)18)), (uint8_t)L_23);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_25 = V_2;
NullCheck(L_25);
int32_t L_26 = ((int32_t)17);
uint8_t L_27 = (L_25)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
NullCheck(L_24);
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)19)), (uint8_t)L_27);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = V_2;
int16_t L_29 = V_3;
NullCheck(L_28);
(L_28)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)20)), (uint8_t)(((int32_t)((uint8_t)L_29))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_30 = V_2;
int16_t L_31 = V_3;
NullCheck(L_30);
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)21)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_31>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_32 = V_2;
int16_t L_33 = V_1;
NullCheck(L_32);
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)24)), (uint8_t)(((int32_t)((uint8_t)L_33))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_34 = V_2;
int16_t L_35 = V_1;
NullCheck(L_34);
(L_34)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)25)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_35>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_37 = V_2;
NullCheck(L_37);
int32_t L_38 = ((int32_t)24);
uint8_t L_39 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
NullCheck(L_36);
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)26)), (uint8_t)L_39);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_40 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_41 = V_2;
NullCheck(L_41);
int32_t L_42 = ((int32_t)25);
uint8_t L_43 = (L_41)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
NullCheck(L_40);
(L_40)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)27)), (uint8_t)L_43);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_44 = V_2;
NullCheck(L_44);
(L_44)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)28)), (uint8_t)((int32_t)32));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_45 = V_2;
NullCheck(L_45);
(L_45)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)29)), (uint8_t)0);
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_46 = Encoding_get_ASCII_m9B673AE3152AB04D07CADE6E5E142C785B5BC94E(/*hidden argument*/NULL);
String_t* L_47 = __this->get__host_3();
IL2CPP_RUNTIME_CLASS_INIT(CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_il2cpp_TypeInfo_var);
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_48 = CultureInfo_get_InvariantCulture_mF13B47F8A763CE6A9C8A8BB2EED33FF8F7A63A72(/*hidden argument*/NULL);
NullCheck(L_47);
String_t* L_49 = String_ToUpper_m8C69D974350ABA8BA0BC3A66996004CCEFD64293(L_47, L_48, /*hidden argument*/NULL);
NullCheck(L_46);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_50 = VirtFuncInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, String_t* >::Invoke(15 /* System.Byte[] System.Text.Encoding::GetBytes(System.String) */, L_46, L_49);
V_4 = L_50;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_51 = V_4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_52 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_53 = V_4;
NullCheck(L_53);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_51, 0, (RuntimeArray *)(RuntimeArray *)L_52, ((int32_t)32), (((int32_t)((int32_t)(((RuntimeArray*)L_53)->max_length)))), /*hidden argument*/NULL);
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_54 = Encoding_get_ASCII_m9B673AE3152AB04D07CADE6E5E142C785B5BC94E(/*hidden argument*/NULL);
String_t* L_55 = __this->get__domain_4();
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * L_56 = CultureInfo_get_InvariantCulture_mF13B47F8A763CE6A9C8A8BB2EED33FF8F7A63A72(/*hidden argument*/NULL);
NullCheck(L_55);
String_t* L_57 = String_ToUpper_m8C69D974350ABA8BA0BC3A66996004CCEFD64293(L_55, L_56, /*hidden argument*/NULL);
NullCheck(L_54);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_58 = VirtFuncInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, String_t* >::Invoke(15 /* System.Byte[] System.Text.Encoding::GetBytes(System.String) */, L_54, L_57);
V_5 = L_58;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_59 = V_5;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_60 = V_2;
int16_t L_61 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_62 = V_5;
NullCheck(L_62);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_59, 0, (RuntimeArray *)(RuntimeArray *)L_60, L_61, (((int32_t)((int32_t)(((RuntimeArray*)L_62)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_63 = V_2;
return L_63;
}
}
#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.Ntlm.Type2Message::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type2Message__ctor_m85E73F15F691FC25B93503B84B24D25805B5FBD9 (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___message0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type2Message__ctor_m85E73F15F691FC25B93503B84B24D25805B5FBD9_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var);
MessageBase__ctor_m32BA1280CB1020E88C6EF6DFA9C3ABABF3B36E59(__this, 2, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
__this->set__nonce_3(L_0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___message0;
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(4 /* System.Void Mono.Security.Protocol.Ntlm.MessageBase::Decode(System.Byte[]) */, __this, L_1);
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.Type2Message::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type2Message_Finalize_mD48F7AD79A227C07BA7A47B4056D0BA1FD785CAA (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * __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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get__nonce_3();
if (!L_0)
{
goto IL_001c;
}
}
IL_0008:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = __this->get__nonce_3();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = __this->get__nonce_3();
NullCheck(L_2);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))), /*hidden argument*/NULL);
}
IL_001c:
{
IL2CPP_LEAVE(0x25, FINALLY_001e);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_001e;
}
FINALLY_001e:
{ // begin finally (depth: 1)
Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380(__this, /*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:
{
return;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.Type2Message::get_Nonce()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* Type2Message_get_Nonce_mEE9D40B2B299766F6B789195174BC580BDAEB4E1 (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type2Message_get_Nonce_mEE9D40B2B299766F6B789195174BC580BDAEB4E1_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get__nonce_3();
NullCheck((RuntimeArray *)(RuntimeArray *)L_0);
RuntimeObject * L_1 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_0, /*hidden argument*/NULL);
return ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_1, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
}
}
// System.String Mono.Security.Protocol.Ntlm.Type2Message::get_TargetName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Type2Message_get_TargetName_m3B65DC156E863BC78E674D0D1BEF653B25F53B7D (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get__targetName_4();
return L_0;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.Type2Message::get_TargetInfo()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* Type2Message_get_TargetInfo_m5E0F0E5A6B32B7512393EDC2DFE9E8A6D79DB485 (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type2Message_get_TargetInfo_m5E0F0E5A6B32B7512393EDC2DFE9E8A6D79DB485_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get__targetInfo_5();
NullCheck((RuntimeArray *)(RuntimeArray *)L_0);
RuntimeObject * L_1 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_0, /*hidden argument*/NULL);
return ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_1, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
}
}
// System.Void Mono.Security.Protocol.Ntlm.Type2Message::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type2Message_Decode_m480774BBEA24F18E5C8765273C8DD6A641D9E441 (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___message0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type2Message_Decode_m480774BBEA24F18E5C8765273C8DD6A641D9E441_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint16_t V_0 = 0;
uint16_t V_1 = 0;
uint16_t V_2 = 0;
uint16_t V_3 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___message0;
MessageBase_Decode_m0994F2111010F3E105B94A83439BDBADA2E46537(__this, L_0, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___message0;
uint32_t L_2 = BitConverterLE_ToUInt32_m898E287439DDB0A31E4E39FF83DD032B1C43FA26(L_1, ((int32_t)20), /*hidden argument*/NULL);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, L_2, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ___message0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = __this->get__nonce_3();
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_3, ((int32_t)24), (RuntimeArray *)(RuntimeArray *)L_4, 0, 8, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = ___message0;
uint16_t L_6 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_5, ((int32_t)12), /*hidden argument*/NULL);
V_0 = L_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___message0;
uint16_t L_8 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_7, ((int32_t)16), /*hidden argument*/NULL);
V_1 = L_8;
uint16_t L_9 = V_0;
if ((((int32_t)L_9) <= ((int32_t)0)))
{
goto IL_006d;
}
}
{
int32_t L_10 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_10&(int32_t)2)))
{
goto IL_005a;
}
}
{
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_11 = Encoding_get_ASCII_m9B673AE3152AB04D07CADE6E5E142C785B5BC94E(/*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ___message0;
uint16_t L_13 = V_1;
uint16_t L_14 = V_0;
NullCheck(L_11);
String_t* L_15 = VirtFuncInvoker3< String_t*, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(32 /* System.String System.Text.Encoding::GetString(System.Byte[],System.Int32,System.Int32) */, L_11, L_12, L_13, L_14);
__this->set__targetName_4(L_15);
goto IL_006d;
}
IL_005a:
{
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_16 = Encoding_get_Unicode_m86CC470F70F9BB52DDB26721F0C0D6EDAFC318AA(/*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = ___message0;
uint16_t L_18 = V_1;
uint16_t L_19 = V_0;
NullCheck(L_16);
String_t* L_20 = VirtFuncInvoker3< String_t*, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(32 /* System.String System.Text.Encoding::GetString(System.Byte[],System.Int32,System.Int32) */, L_16, L_17, L_18, L_19);
__this->set__targetName_4(L_20);
}
IL_006d:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = ___message0;
NullCheck(L_21);
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_21)->max_length))))) < ((int32_t)((int32_t)48))))
{
goto IL_00a5;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = ___message0;
uint16_t L_23 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_22, ((int32_t)40), /*hidden argument*/NULL);
V_2 = L_23;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = ___message0;
uint16_t L_25 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_24, ((int32_t)44), /*hidden argument*/NULL);
V_3 = L_25;
uint16_t L_26 = V_2;
if ((((int32_t)L_26) <= ((int32_t)0)))
{
goto IL_00a5;
}
}
{
uint16_t L_27 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_27);
__this->set__targetInfo_5(L_28);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_29 = ___message0;
uint16_t L_30 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_31 = __this->get__targetInfo_5();
uint16_t L_32 = V_2;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_29, L_30, (RuntimeArray *)(RuntimeArray *)L_31, 0, L_32, /*hidden argument*/NULL);
}
IL_00a5:
{
return;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.Type2Message::GetBytes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* Type2Message_GetBytes_m91FFB26859C2D17A9D3830FF05458729F8B1AF63 (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * __this, const RuntimeMethod* method)
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
int16_t V_1 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = MessageBase_PrepareMessage_m6B0C0C463C16D086924EC49DB07C3ADE95C11958(__this, ((int32_t)40), /*hidden argument*/NULL);
V_0 = L_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = V_0;
NullCheck(L_1);
V_1 = (((int16_t)((int16_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = V_0;
int16_t L_3 = V_1;
NullCheck(L_2);
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)16)), (uint8_t)(((int32_t)((uint8_t)L_3))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = V_0;
int16_t L_5 = V_1;
NullCheck(L_4);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)17)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_5>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = V_0;
int32_t L_7 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)20)), (uint8_t)(((int32_t)((uint8_t)L_7))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = V_0;
int32_t L_9 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
NullCheck(L_8);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)21)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)L_9>>8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = V_0;
int32_t L_11 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
NullCheck(L_10);
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)22)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)L_11>>((int32_t)16)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = V_0;
int32_t L_13 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
NullCheck(L_12);
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)23)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)L_13>>((int32_t)24)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = __this->get__nonce_3();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = __this->get__nonce_3();
NullCheck(L_16);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_14, 0, (RuntimeArray *)(RuntimeArray *)L_15, ((int32_t)24), (((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = V_0;
return L_17;
}
}
#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.Ntlm.Type3Message::.ctor(Mono.Security.Protocol.Ntlm.Type2Message)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type3Message__ctor_mBA583598EA5F842A0076F882C4A3205B919419D6 (Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C * __this, Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * ___type20, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type3Message__ctor_mBA583598EA5F842A0076F882C4A3205B919419D6_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var);
MessageBase__ctor_m32BA1280CB1020E88C6EF6DFA9C3ABABF3B36E59(__this, 3, /*hidden argument*/NULL);
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_0 = ___type20;
__this->set__type2_9(L_0);
IL2CPP_RUNTIME_CLASS_INIT(NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009_il2cpp_TypeInfo_var);
int32_t L_1 = NtlmSettings_get_DefaultAuthLevel_m98EDE4292136121773A45127209BD926E1CF141A_inline(/*hidden argument*/NULL);
__this->set__level_3(L_1);
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_2 = ___type20;
NullCheck(L_2);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = Type2Message_get_Nonce_mEE9D40B2B299766F6B789195174BC580BDAEB4E1(L_2, /*hidden argument*/NULL);
NullCheck((RuntimeArray *)(RuntimeArray *)L_3);
RuntimeObject * L_4 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_3, /*hidden argument*/NULL);
__this->set__challenge_4(((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_4, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var)));
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_5 = ___type20;
NullCheck(L_5);
String_t* L_6 = Type2Message_get_TargetName_m3B65DC156E863BC78E674D0D1BEF653B25F53B7D_inline(L_5, /*hidden argument*/NULL);
__this->set__domain_6(L_6);
String_t* L_7 = Environment_get_MachineName_m0300D26C1A5348D90800793717D33B1F629AF10D(/*hidden argument*/NULL);
__this->set__host_5(L_7);
String_t* L_8 = Environment_get_UserName_m089F0073984A6341BC214F4EB3DE42ACD19D067B(/*hidden argument*/NULL);
__this->set__username_7(L_8);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, ((int32_t)33280), /*hidden argument*/NULL);
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_9 = ___type20;
NullCheck(L_9);
int32_t L_10 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(L_9, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_10&(int32_t)1)))
{
goto IL_0076;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var);
int32_t L_11 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, ((int32_t)((int32_t)L_11|(int32_t)1)), /*hidden argument*/NULL);
goto IL_0084;
}
IL_0076:
{
IL2CPP_RUNTIME_CLASS_INIT(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var);
int32_t L_12 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, ((int32_t)((int32_t)L_12|(int32_t)2)), /*hidden argument*/NULL);
}
IL_0084:
{
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_13 = ___type20;
NullCheck(L_13);
IL2CPP_RUNTIME_CLASS_INIT(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var);
int32_t L_14 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(L_13, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_14&(int32_t)((int32_t)524288))))
{
goto IL_00a4;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0_il2cpp_TypeInfo_var);
int32_t L_15 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, ((int32_t)((int32_t)L_15|(int32_t)((int32_t)524288))), /*hidden argument*/NULL);
}
IL_00a4:
{
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.Type3Message::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type3Message_Finalize_m3881D11D8E2CD25BE7DC27D8DE14B8824E9C5EE6 (Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C * __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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get__challenge_4();
if (!L_0)
{
goto IL_001c;
}
}
IL_0008:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = __this->get__challenge_4();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = __this->get__challenge_4();
NullCheck(L_2);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))), /*hidden argument*/NULL);
}
IL_001c:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = __this->get__lm_10();
if (!L_3)
{
goto IL_0038;
}
}
IL_0024:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = __this->get__lm_10();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = __this->get__lm_10();
NullCheck(L_5);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_4, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_5)->max_length)))), /*hidden argument*/NULL);
}
IL_0038:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = __this->get__nt_11();
if (!L_6)
{
goto IL_0054;
}
}
IL_0040:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = __this->get__nt_11();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = __this->get__nt_11();
NullCheck(L_8);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_7, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_8)->max_length)))), /*hidden argument*/NULL);
}
IL_0054:
{
IL2CPP_LEAVE(0x5D, FINALLY_0056);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0056;
}
FINALLY_0056:
{ // begin finally (depth: 1)
Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(86)
} // end finally (depth: 1)
IL2CPP_CLEANUP(86)
{
IL2CPP_JUMP_TBL(0x5D, IL_005d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_005d:
{
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.Type3Message::set_Domain(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type3Message_set_Domain_m04440D54FDAA49E5C82380E22C46DBF09C22DBF5 (Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C * __this, String_t* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type3Message_set_Domain_m04440D54FDAA49E5C82380E22C46DBF09C22DBF5_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___value0;
if (L_0)
{
goto IL_000a;
}
}
{
___value0 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
}
IL_000a:
{
String_t* L_1 = ___value0;
bool L_2 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_1, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_002b;
}
}
{
int32_t L_3 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, ((int32_t)((int32_t)L_3&(int32_t)((int32_t)-4097))), /*hidden argument*/NULL);
goto IL_003d;
}
IL_002b:
{
int32_t L_4 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, ((int32_t)((int32_t)L_4|(int32_t)((int32_t)4096))), /*hidden argument*/NULL);
}
IL_003d:
{
String_t* L_5 = ___value0;
__this->set__domain_6(L_5);
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.Type3Message::set_Password(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type3Message_set_Password_m5D12ECA751E4BFB7C0CA25963FE20235C6951ED2 (Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___value0;
__this->set__password_8(L_0);
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.Type3Message::set_Username(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type3Message_set_Username_m8FAFEC42286D8EEA3B826437340EA233EEB96D13 (Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___value0;
__this->set__username_7(L_0);
return;
}
}
// System.Void Mono.Security.Protocol.Ntlm.Type3Message::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Type3Message_Decode_m4624A3F2775E1E590627C69F188816C994270B6D (Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___message0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type3Message_Decode_m4624A3F2775E1E590627C69F188816C994270B6D_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;
int32_t V_5 = 0;
int32_t V_6 = 0;
int32_t V_7 = 0;
int32_t V_8 = 0;
int32_t V_9 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___message0;
MessageBase_Decode_m0994F2111010F3E105B94A83439BDBADA2E46537(__this, L_0, /*hidden argument*/NULL);
__this->set__password_8((String_t*)NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___message0;
NullCheck(L_1);
if ((((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))) < ((int32_t)((int32_t)64))))
{
goto IL_0025;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___message0;
uint32_t L_3 = BitConverterLE_ToUInt32_m898E287439DDB0A31E4E39FF83DD032B1C43FA26(L_2, ((int32_t)60), /*hidden argument*/NULL);
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, L_3, /*hidden argument*/NULL);
goto IL_0030;
}
IL_0025:
{
MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline(__this, ((int32_t)33281), /*hidden argument*/NULL);
}
IL_0030:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = ___message0;
uint16_t L_5 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_4, ((int32_t)12), /*hidden argument*/NULL);
V_0 = L_5;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ___message0;
uint16_t L_7 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_6, ((int32_t)16), /*hidden argument*/NULL);
V_1 = L_7;
int32_t L_8 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_8);
__this->set__lm_10(L_9);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = ___message0;
int32_t L_11 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = __this->get__lm_10();
int32_t L_13 = V_0;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_10, L_11, (RuntimeArray *)(RuntimeArray *)L_12, 0, L_13, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = ___message0;
uint16_t L_15 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_14, ((int32_t)20), /*hidden argument*/NULL);
V_2 = L_15;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = ___message0;
uint16_t L_17 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_16, ((int32_t)24), /*hidden argument*/NULL);
V_3 = L_17;
int32_t L_18 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_19 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_18);
__this->set__nt_11(L_19);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = ___message0;
int32_t L_21 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = __this->get__nt_11();
int32_t L_23 = V_2;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_20, L_21, (RuntimeArray *)(RuntimeArray *)L_22, 0, L_23, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = ___message0;
uint16_t L_25 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_24, ((int32_t)28), /*hidden argument*/NULL);
V_4 = L_25;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = ___message0;
uint16_t L_27 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_26, ((int32_t)32), /*hidden argument*/NULL);
V_5 = L_27;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = ___message0;
int32_t L_29 = V_5;
int32_t L_30 = V_4;
String_t* L_31 = Type3Message_DecodeString_mCB1797B1FA97CD96E788DCE096FDBC275685C42F(__this, L_28, L_29, L_30, /*hidden argument*/NULL);
__this->set__domain_6(L_31);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_32 = ___message0;
uint16_t L_33 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_32, ((int32_t)36), /*hidden argument*/NULL);
V_6 = L_33;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_34 = ___message0;
uint16_t L_35 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_34, ((int32_t)40), /*hidden argument*/NULL);
V_7 = L_35;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = ___message0;
int32_t L_37 = V_7;
int32_t L_38 = V_6;
String_t* L_39 = Type3Message_DecodeString_mCB1797B1FA97CD96E788DCE096FDBC275685C42F(__this, L_36, L_37, L_38, /*hidden argument*/NULL);
__this->set__username_7(L_39);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_40 = ___message0;
uint16_t L_41 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_40, ((int32_t)44), /*hidden argument*/NULL);
V_8 = L_41;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_42 = ___message0;
uint16_t L_43 = BitConverterLE_ToUInt16_mFC8811706681807666F91EE89A28ADF75DF6EFCC(L_42, ((int32_t)48), /*hidden argument*/NULL);
V_9 = L_43;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_44 = ___message0;
int32_t L_45 = V_9;
int32_t L_46 = V_8;
String_t* L_47 = Type3Message_DecodeString_mCB1797B1FA97CD96E788DCE096FDBC275685C42F(__this, L_44, L_45, L_46, /*hidden argument*/NULL);
__this->set__host_5(L_47);
return;
}
}
// System.String Mono.Security.Protocol.Ntlm.Type3Message::DecodeString(System.Byte[],System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Type3Message_DecodeString_mCB1797B1FA97CD96E788DCE096FDBC275685C42F (Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___buffer0, int32_t ___offset1, int32_t ___len2, const RuntimeMethod* method)
{
{
int32_t L_0 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_0&(int32_t)1)))
{
goto IL_0018;
}
}
{
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_1 = Encoding_get_Unicode_m86CC470F70F9BB52DDB26721F0C0D6EDAFC318AA(/*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___buffer0;
int32_t L_3 = ___offset1;
int32_t L_4 = ___len2;
NullCheck(L_1);
String_t* L_5 = VirtFuncInvoker3< String_t*, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(32 /* System.String System.Text.Encoding::GetString(System.Byte[],System.Int32,System.Int32) */, L_1, L_2, L_3, L_4);
return L_5;
}
IL_0018:
{
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_6 = Encoding_get_ASCII_m9B673AE3152AB04D07CADE6E5E142C785B5BC94E(/*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___buffer0;
int32_t L_8 = ___offset1;
int32_t L_9 = ___len2;
NullCheck(L_6);
String_t* L_10 = VirtFuncInvoker3< String_t*, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(32 /* System.String System.Text.Encoding::GetString(System.Byte[],System.Int32,System.Int32) */, L_6, L_7, L_8, L_9);
return L_10;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.Type3Message::EncodeString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* Type3Message_EncodeString_m431F1D808D738A2C9CE57DE1084F9A42C036AA5A (Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C * __this, String_t* ___text0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type3Message_EncodeString_m431F1D808D738A2C9CE57DE1084F9A42C036AA5A_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___text0;
if (L_0)
{
goto IL_000a;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)0);
return L_1;
}
IL_000a:
{
int32_t L_2 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_2&(int32_t)1)))
{
goto IL_0020;
}
}
{
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_3 = Encoding_get_Unicode_m86CC470F70F9BB52DDB26721F0C0D6EDAFC318AA(/*hidden argument*/NULL);
String_t* L_4 = ___text0;
NullCheck(L_3);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = VirtFuncInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, String_t* >::Invoke(15 /* System.Byte[] System.Text.Encoding::GetBytes(System.String) */, L_3, L_4);
return L_5;
}
IL_0020:
{
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_6 = Encoding_get_ASCII_m9B673AE3152AB04D07CADE6E5E142C785B5BC94E(/*hidden argument*/NULL);
String_t* L_7 = ___text0;
NullCheck(L_6);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = VirtFuncInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, String_t* >::Invoke(15 /* System.Byte[] System.Text.Encoding::GetBytes(System.String) */, L_6, L_7);
return L_8;
}
}
// System.Byte[] Mono.Security.Protocol.Ntlm.Type3Message::GetBytes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* Type3Message_GetBytes_m9C22065DB20CD016FCA226AA2A78952E111CF118 (Type3Message_t6D21CF9E3D56192F8D9B6E2B29474773E838846C * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Type3Message_GetBytes_m9C22065DB20CD016FCA226AA2A78952E111CF118_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_1 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_2 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_3 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_4 = NULL;
int32_t V_5 = 0;
int32_t V_6 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_7 = NULL;
int16_t V_8 = 0;
int16_t V_9 = 0;
int16_t V_10 = 0;
int16_t V_11 = 0;
int16_t V_12 = 0;
int16_t V_13 = 0;
int16_t V_14 = 0;
int16_t V_15 = 0;
int16_t V_16 = 0;
int32_t V_17 = 0;
ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * V_18 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
int32_t G_B12_0 = 0;
int32_t G_B15_0 = 0;
{
String_t* L_0 = __this->get__domain_6();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = Type3Message_EncodeString_m431F1D808D738A2C9CE57DE1084F9A42C036AA5A(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
String_t* L_2 = __this->get__username_7();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = Type3Message_EncodeString_m431F1D808D738A2C9CE57DE1084F9A42C036AA5A(__this, L_2, /*hidden argument*/NULL);
V_1 = L_3;
String_t* L_4 = __this->get__host_5();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = Type3Message_EncodeString_m431F1D808D738A2C9CE57DE1084F9A42C036AA5A(__this, L_4, /*hidden argument*/NULL);
V_2 = L_5;
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_6 = __this->get__type2_9();
if (L_6)
{
goto IL_0074;
}
}
{
int32_t L_7 = __this->get__level_3();
if (!L_7)
{
goto IL_0042;
}
}
{
InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 * L_8 = (InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1 *)il2cpp_codegen_object_new(InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m72027D5F1D513C25C05137E203EEED8FD8297706(L_8, _stringLiteral636C307C2499B64E58C024BD8EC39A968AF2D4A9, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, Type3Message_GetBytes_m9C22065DB20CD016FCA226AA2A78952E111CF118_RuntimeMethod_var);
}
IL_0042:
{
String_t* L_9 = __this->get__password_8();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = __this->get__challenge_4();
ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * L_11 = (ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B *)il2cpp_codegen_object_new(ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B_il2cpp_TypeInfo_var);
ChallengeResponse__ctor_mF80EAE315F35264F1DA0167B3ED7A8CD8E2D1FFA(L_11, L_9, L_10, /*hidden argument*/NULL);
V_18 = L_11;
}
IL_0055:
try
{ // begin try (depth: 1)
ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * L_12 = V_18;
NullCheck(L_12);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = ChallengeResponse_get_LM_m3916048E028CFCA867E801A83FEB949F7C089263(L_12, /*hidden argument*/NULL);
V_3 = L_13;
ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * L_14 = V_18;
NullCheck(L_14);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = ChallengeResponse_get_NT_mEC9F2FDFDB8FADF415D4BA8A1564A23024FC3437(L_14, /*hidden argument*/NULL);
V_4 = L_15;
IL2CPP_LEAVE(0x9B, 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)
{
ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * L_16 = V_18;
if (!L_16)
{
goto IL_0073;
}
}
IL_006c:
{
ChallengeResponse_t2A954E3C6AB2D638ECA50E1B8ACB99E8F28A048B * L_17 = V_18;
NullCheck(L_17);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_17);
}
IL_0073:
{
IL2CPP_END_FINALLY(104)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(104)
{
IL2CPP_JUMP_TBL(0x9B, IL_009b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0074:
{
Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * L_18 = __this->get__type2_9();
int32_t L_19 = __this->get__level_3();
String_t* L_20 = __this->get__username_7();
String_t* L_21 = __this->get__password_8();
String_t* L_22 = __this->get__domain_6();
IL2CPP_RUNTIME_CLASS_INIT(ChallengeResponse2_t2F5817D7717011A7F4C0DE0015D144A2292CAD77_il2cpp_TypeInfo_var);
ChallengeResponse2_Compute_mAA312CA925226C75A829516B6BDC2089840D389D(L_18, L_19, L_20, L_21, L_22, (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821**)(&V_3), (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821**)(&V_4), /*hidden argument*/NULL);
}
IL_009b:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = V_3;
if (L_23)
{
goto IL_00a1;
}
}
{
G_B12_0 = 0;
goto IL_00a4;
}
IL_00a1:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = V_3;
NullCheck(L_24);
G_B12_0 = (((int32_t)((int32_t)(((RuntimeArray*)L_24)->max_length))));
}
IL_00a4:
{
V_5 = G_B12_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_25 = V_4;
if (L_25)
{
goto IL_00ad;
}
}
{
G_B15_0 = 0;
goto IL_00b1;
}
IL_00ad:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_26 = V_4;
NullCheck(L_26);
G_B15_0 = (((int32_t)((int32_t)(((RuntimeArray*)L_26)->max_length))));
}
IL_00b1:
{
V_6 = G_B15_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_27 = V_0;
NullCheck(L_27);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = V_1;
NullCheck(L_28);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_29 = V_2;
NullCheck(L_29);
int32_t L_30 = V_5;
int32_t L_31 = V_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_32 = MessageBase_PrepareMessage_m6B0C0C463C16D086924EC49DB07C3ADE95C11958(__this, ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)64), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_27)->max_length)))))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_28)->max_length)))))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_29)->max_length)))))), (int32_t)L_30)), (int32_t)L_31)), /*hidden argument*/NULL);
V_7 = L_32;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_33 = V_0;
NullCheck(L_33);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_34 = V_1;
NullCheck(L_34);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_35 = V_2;
NullCheck(L_35);
V_8 = (((int16_t)((int16_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)64), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_33)->max_length)))))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_34)->max_length)))))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_35)->max_length)))))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = V_7;
int32_t L_37 = V_5;
NullCheck(L_36);
(L_36)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)12)), (uint8_t)(((int32_t)((uint8_t)L_37))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_38 = V_7;
NullCheck(L_38);
(L_38)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)13)), (uint8_t)0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_39 = V_7;
int32_t L_40 = V_5;
NullCheck(L_39);
(L_39)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)14)), (uint8_t)(((int32_t)((uint8_t)L_40))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_41 = V_7;
NullCheck(L_41);
(L_41)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)15)), (uint8_t)0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_42 = V_7;
int16_t L_43 = V_8;
NullCheck(L_42);
(L_42)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)16)), (uint8_t)(((int32_t)((uint8_t)L_43))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_44 = V_7;
int16_t L_45 = V_8;
NullCheck(L_44);
(L_44)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)17)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_45>>(int32_t)8))))));
int16_t L_46 = V_8;
int32_t L_47 = V_5;
V_9 = (((int16_t)((int16_t)((int32_t)il2cpp_codegen_add((int32_t)L_46, (int32_t)L_47)))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_48 = V_7;
int32_t L_49 = V_6;
NullCheck(L_48);
(L_48)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)20)), (uint8_t)(((int32_t)((uint8_t)L_49))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_50 = V_7;
int32_t L_51 = V_6;
NullCheck(L_50);
(L_50)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)21)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_51>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_52 = V_7;
int32_t L_53 = V_6;
NullCheck(L_52);
(L_52)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)22)), (uint8_t)(((int32_t)((uint8_t)L_53))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_54 = V_7;
int32_t L_55 = V_6;
NullCheck(L_54);
(L_54)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)23)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_55>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_56 = V_7;
int16_t L_57 = V_9;
NullCheck(L_56);
(L_56)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)24)), (uint8_t)(((int32_t)((uint8_t)L_57))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_58 = V_7;
int16_t L_59 = V_9;
NullCheck(L_58);
(L_58)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)25)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_59>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_60 = V_0;
NullCheck(L_60);
V_10 = (((int16_t)((int16_t)(((int32_t)((int32_t)(((RuntimeArray*)L_60)->max_length)))))));
V_11 = (int16_t)((int32_t)64);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_61 = V_7;
int16_t L_62 = V_10;
NullCheck(L_61);
(L_61)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)28)), (uint8_t)(((int32_t)((uint8_t)L_62))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_63 = V_7;
int16_t L_64 = V_10;
NullCheck(L_63);
(L_63)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)29)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_64>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_65 = V_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_66 = V_7;
NullCheck(L_66);
int32_t L_67 = ((int32_t)28);
uint8_t L_68 = (L_66)->GetAt(static_cast<il2cpp_array_size_t>(L_67));
NullCheck(L_65);
(L_65)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)30)), (uint8_t)L_68);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_69 = V_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_70 = V_7;
NullCheck(L_70);
int32_t L_71 = ((int32_t)29);
uint8_t L_72 = (L_70)->GetAt(static_cast<il2cpp_array_size_t>(L_71));
NullCheck(L_69);
(L_69)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)31)), (uint8_t)L_72);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_73 = V_7;
int16_t L_74 = V_11;
NullCheck(L_73);
(L_73)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)32)), (uint8_t)(((int32_t)((uint8_t)L_74))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_75 = V_7;
int16_t L_76 = V_11;
NullCheck(L_75);
(L_75)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)33)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_76>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_77 = V_1;
NullCheck(L_77);
V_12 = (((int16_t)((int16_t)(((int32_t)((int32_t)(((RuntimeArray*)L_77)->max_length)))))));
int16_t L_78 = V_11;
int16_t L_79 = V_10;
V_13 = (((int16_t)((int16_t)((int32_t)il2cpp_codegen_add((int32_t)L_78, (int32_t)L_79)))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_80 = V_7;
int16_t L_81 = V_12;
NullCheck(L_80);
(L_80)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)36)), (uint8_t)(((int32_t)((uint8_t)L_81))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_82 = V_7;
int16_t L_83 = V_12;
NullCheck(L_82);
(L_82)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)37)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_83>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_84 = V_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_85 = V_7;
NullCheck(L_85);
int32_t L_86 = ((int32_t)36);
uint8_t L_87 = (L_85)->GetAt(static_cast<il2cpp_array_size_t>(L_86));
NullCheck(L_84);
(L_84)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)38)), (uint8_t)L_87);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_88 = V_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_89 = V_7;
NullCheck(L_89);
int32_t L_90 = ((int32_t)37);
uint8_t L_91 = (L_89)->GetAt(static_cast<il2cpp_array_size_t>(L_90));
NullCheck(L_88);
(L_88)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)39)), (uint8_t)L_91);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_92 = V_7;
int16_t L_93 = V_13;
NullCheck(L_92);
(L_92)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)40)), (uint8_t)(((int32_t)((uint8_t)L_93))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_94 = V_7;
int16_t L_95 = V_13;
NullCheck(L_94);
(L_94)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)41)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_95>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_96 = V_2;
NullCheck(L_96);
V_14 = (((int16_t)((int16_t)(((int32_t)((int32_t)(((RuntimeArray*)L_96)->max_length)))))));
int16_t L_97 = V_13;
int16_t L_98 = V_12;
V_15 = (((int16_t)((int16_t)((int32_t)il2cpp_codegen_add((int32_t)L_97, (int32_t)L_98)))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_99 = V_7;
int16_t L_100 = V_14;
NullCheck(L_99);
(L_99)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)44)), (uint8_t)(((int32_t)((uint8_t)L_100))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_101 = V_7;
int16_t L_102 = V_14;
NullCheck(L_101);
(L_101)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)45)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_102>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_103 = V_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_104 = V_7;
NullCheck(L_104);
int32_t L_105 = ((int32_t)44);
uint8_t L_106 = (L_104)->GetAt(static_cast<il2cpp_array_size_t>(L_105));
NullCheck(L_103);
(L_103)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)46)), (uint8_t)L_106);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_107 = V_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_108 = V_7;
NullCheck(L_108);
int32_t L_109 = ((int32_t)45);
uint8_t L_110 = (L_108)->GetAt(static_cast<il2cpp_array_size_t>(L_109));
NullCheck(L_107);
(L_107)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)47)), (uint8_t)L_110);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_111 = V_7;
int16_t L_112 = V_15;
NullCheck(L_111);
(L_111)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)48)), (uint8_t)(((int32_t)((uint8_t)L_112))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_113 = V_7;
int16_t L_114 = V_15;
NullCheck(L_113);
(L_113)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)49)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_114>>(int32_t)8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_115 = V_7;
NullCheck(L_115);
V_16 = (((int16_t)((int16_t)(((int32_t)((int32_t)(((RuntimeArray*)L_115)->max_length)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_116 = V_7;
int16_t L_117 = V_16;
NullCheck(L_116);
(L_116)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)56)), (uint8_t)(((int32_t)((uint8_t)L_117))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_118 = V_7;
int16_t L_119 = V_16;
NullCheck(L_118);
(L_118)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)57)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)L_119>>(int32_t)8))))));
int32_t L_120 = MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline(__this, /*hidden argument*/NULL);
V_17 = L_120;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_121 = V_7;
int32_t L_122 = V_17;
NullCheck(L_121);
(L_121)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)60)), (uint8_t)(((int32_t)((uint8_t)L_122))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_123 = V_7;
int32_t L_124 = V_17;
NullCheck(L_123);
(L_123)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)61)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)L_124>>8))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_125 = V_7;
int32_t L_126 = V_17;
NullCheck(L_125);
(L_125)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)62)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)L_126>>((int32_t)16)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_127 = V_7;
int32_t L_128 = V_17;
NullCheck(L_127);
(L_127)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)63)), (uint8_t)(((int32_t)((uint8_t)((int32_t)((uint32_t)L_128>>((int32_t)24)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_129 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_130 = V_7;
int16_t L_131 = V_11;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_132 = V_0;
NullCheck(L_132);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_129, 0, (RuntimeArray *)(RuntimeArray *)L_130, L_131, (((int32_t)((int32_t)(((RuntimeArray*)L_132)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_133 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_134 = V_7;
int16_t L_135 = V_13;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_136 = V_1;
NullCheck(L_136);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_133, 0, (RuntimeArray *)(RuntimeArray *)L_134, L_135, (((int32_t)((int32_t)(((RuntimeArray*)L_136)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_137 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_138 = V_7;
int16_t L_139 = V_15;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_140 = V_2;
NullCheck(L_140);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_137, 0, (RuntimeArray *)(RuntimeArray *)L_138, L_139, (((int32_t)((int32_t)(((RuntimeArray*)L_140)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_141 = V_3;
if (!L_141)
{
goto IL_02a8;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_142 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_143 = V_7;
int16_t L_144 = V_8;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_145 = V_3;
NullCheck(L_145);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_142, 0, (RuntimeArray *)(RuntimeArray *)L_143, L_144, (((int32_t)((int32_t)(((RuntimeArray*)L_145)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_146 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_147 = V_3;
NullCheck(L_147);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_146, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_147)->max_length)))), /*hidden argument*/NULL);
}
IL_02a8:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_148 = V_4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_149 = V_7;
int16_t L_150 = V_9;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_151 = V_4;
NullCheck(L_151);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_148, 0, (RuntimeArray *)(RuntimeArray *)L_149, L_150, (((int32_t)((int32_t)(((RuntimeArray*)L_151)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_152 = V_4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_153 = V_4;
NullCheck(L_153);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_152, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_153)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_154 = V_7;
return L_154;
}
}
#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.X509.PKCS12::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12__ctor_mB6E3957A0DB6D7E17808EB1141909F9D1AEC162F (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12__ctor_mB6E3957A0DB6D7E17808EB1141909F9D1AEC162F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
__this->set__iterations_7(((int32_t)2000));
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_0 = (ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 *)il2cpp_codegen_object_new(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var);
ArrayList__ctor_m481FA7B37620B59B8C0434A764F5705A6ABDEAE6(L_0, /*hidden argument*/NULL);
__this->set__keyBags_1(L_0);
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_1 = (ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 *)il2cpp_codegen_object_new(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var);
ArrayList__ctor_m481FA7B37620B59B8C0434A764F5705A6ABDEAE6(L_1, /*hidden argument*/NULL);
__this->set__secretBags_2(L_1);
X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * L_2 = (X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A *)il2cpp_codegen_object_new(X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A_il2cpp_TypeInfo_var);
X509CertificateCollection__ctor_mC7C07103044E3520FC785CD5BF0018F27C3132EE(L_2, /*hidden argument*/NULL);
__this->set__certs_3(L_2);
__this->set__keyBagsChanged_4((bool)0);
__this->set__secretBagsChanged_5((bool)0);
__this->set__certsChanged_6((bool)0);
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_3 = (ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 *)il2cpp_codegen_object_new(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var);
ArrayList__ctor_m481FA7B37620B59B8C0434A764F5705A6ABDEAE6(L_3, /*hidden argument*/NULL);
__this->set__safeBags_8(L_3);
return;
}
}
// System.Void Mono.Security.X509.PKCS12::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12__ctor_mBE0BDBA0DD4C15F304D04F31E028CFFB31D7B8AB (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method)
{
{
PKCS12__ctor_mB6E3957A0DB6D7E17808EB1141909F9D1AEC162F(__this, /*hidden argument*/NULL);
PKCS12_set_Password_mE1814AD9981817AEB8B4DAD7AED8DEA6A17F1DB0(__this, (String_t*)NULL, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___data0;
PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12::.ctor(System.Byte[],System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12__ctor_m35A8D4C261B2A0B4B7BC677160AB1DF90B04B229 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, String_t* ___password1, const RuntimeMethod* method)
{
{
PKCS12__ctor_mB6E3957A0DB6D7E17808EB1141909F9D1AEC162F(__this, /*hidden argument*/NULL);
String_t* L_0 = ___password1;
PKCS12_set_Password_mE1814AD9981817AEB8B4DAD7AED8DEA6A17F1DB0(__this, L_0, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___data0;
PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7(__this, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_0 = NULL;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * V_1 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_2 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_3 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_4 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_5 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_6 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_7 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_8 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_9 = NULL;
int32_t V_10 = 0;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * V_11 = NULL;
String_t* V_12 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_13 = NULL;
EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * V_14 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_15 = NULL;
int32_t V_16 = 0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_17 = NULL;
int32_t V_18 = 0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_19 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B11_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B10_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B13_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B12_0 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___data0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_1 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA(L_1, L_0, /*hidden argument*/NULL);
V_0 = L_1;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_2 = V_0;
NullCheck(L_2);
uint8_t L_3 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) == ((int32_t)((int32_t)48))))
{
goto IL_001c;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_4 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_4, _stringLiteral88AF471A23DFDC103E67752DD56128AE77B8DEBE, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, NULL, PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_RuntimeMethod_var);
}
IL_001c:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_5 = V_0;
NullCheck(L_5);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_6 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_5, 0, /*hidden argument*/NULL);
NullCheck(L_6);
uint8_t L_7 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_6, /*hidden argument*/NULL);
if ((((int32_t)L_7) == ((int32_t)2)))
{
goto IL_0036;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_8 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_8, _stringLiteral099D7F4DF2D04C9F091C29CF417AB4B2A1888D38, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, NULL, PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_RuntimeMethod_var);
}
IL_0036:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_9 = V_0;
NullCheck(L_9);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_9, 1, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_11 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_m3AAF5EC77C4891BB1B6AF1F980C8623C0621852D(L_11, L_10, /*hidden argument*/NULL);
V_1 = L_11;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_12 = V_1;
NullCheck(L_12);
String_t* L_13 = ContentInfo_get_ContentType_m26D6492CA5D227AAC583CFC4A898C056ACEC8196_inline(L_12, /*hidden argument*/NULL);
bool L_14 = String_op_Inequality_m0BD184A74F453A72376E81CC6CAEE2556B80493E(L_13, _stringLiteral929E64373A1A3A451EAF8698A1D26A5C989E42EA, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_0060;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_15 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_15, _stringLiteral19D0B27B43EDD3905D1094D123383F92AE318631, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_15, NULL, PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_RuntimeMethod_var);
}
IL_0060:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_16 = V_0;
NullCheck(L_16);
int32_t L_17 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_16, /*hidden argument*/NULL);
if ((((int32_t)L_17) <= ((int32_t)2)))
{
goto IL_01b0;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_18 = V_0;
NullCheck(L_18);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_19 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_18, 2, /*hidden argument*/NULL);
V_3 = L_19;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_20 = V_3;
NullCheck(L_20);
uint8_t L_21 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_20, /*hidden argument*/NULL);
if ((((int32_t)L_21) == ((int32_t)((int32_t)48))))
{
goto IL_0089;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_22 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_22, _stringLiteral287560723F8A1FBF90A40EFAD7B0419130008627, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_22, NULL, PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_RuntimeMethod_var);
}
IL_0089:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_23 = V_3;
NullCheck(L_23);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_24 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_23, 0, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_25 = L_24;
NullCheck(L_25);
uint8_t L_26 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_25, /*hidden argument*/NULL);
G_B10_0 = L_25;
if ((((int32_t)L_26) == ((int32_t)((int32_t)48))))
{
G_B11_0 = L_25;
goto IL_00a5;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_27 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_27, _stringLiteral287560723F8A1FBF90A40EFAD7B0419130008627, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_27, NULL, PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_RuntimeMethod_var);
}
IL_00a5:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_28 = G_B11_0;
NullCheck(L_28);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_29 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_28, 0, /*hidden argument*/NULL);
NullCheck(L_29);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_30 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_29, 0, /*hidden argument*/NULL);
String_t* L_31 = ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A(L_30, /*hidden argument*/NULL);
bool L_32 = String_op_Inequality_m0BD184A74F453A72376E81CC6CAEE2556B80493E(L_31, _stringLiteralA12083BADD146F221E05419C3C15DC0CB7D1A0F6, /*hidden argument*/NULL);
G_B12_0 = L_28;
if (!L_32)
{
G_B13_0 = L_28;
goto IL_00ce;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_33 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_33, _stringLiteral44C55C338925A7EF2FA7FA48B516C92EF8DB9745, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_33, NULL, PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_RuntimeMethod_var);
}
IL_00ce:
{
NullCheck(G_B13_0);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_34 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(G_B13_0, 1, /*hidden argument*/NULL);
NullCheck(L_34);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_35 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_34, /*hidden argument*/NULL);
V_4 = L_35;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_36 = V_3;
NullCheck(L_36);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_37 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_36, 1, /*hidden argument*/NULL);
V_5 = L_37;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_38 = V_5;
NullCheck(L_38);
uint8_t L_39 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_38, /*hidden argument*/NULL);
if ((((int32_t)L_39) == ((int32_t)4)))
{
goto IL_00f9;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_40 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_40, _stringLiteral6DEA0A0DA8A093EC1AAF0430ED587E9E19F55290, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_40, NULL, PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_RuntimeMethod_var);
}
IL_00f9:
{
__this->set__iterations_7(1);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_41 = V_3;
NullCheck(L_41);
int32_t L_42 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_41, /*hidden argument*/NULL);
if ((((int32_t)L_42) <= ((int32_t)2)))
{
goto IL_0134;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_43 = V_3;
NullCheck(L_43);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_44 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_43, 2, /*hidden argument*/NULL);
V_8 = L_44;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_45 = V_8;
NullCheck(L_45);
uint8_t L_46 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_45, /*hidden argument*/NULL);
if ((((int32_t)L_46) == ((int32_t)2)))
{
goto IL_0127;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_47 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_47, _stringLiteral25D33207529D684D63435567C0BEAFD4F02CCF74, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_47, NULL, PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_RuntimeMethod_var);
}
IL_0127:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_48 = V_8;
int32_t L_49 = ASN1Convert_ToInt32_mA2A8761F965979408D46FBEB946DB59F36137A5E(L_48, /*hidden argument*/NULL);
__this->set__iterations_7(L_49);
}
IL_0134:
{
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_50 = V_1;
NullCheck(L_50);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_51 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(L_50, /*hidden argument*/NULL);
NullCheck(L_51);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_52 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_51, 0, /*hidden argument*/NULL);
NullCheck(L_52);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_53 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_52, /*hidden argument*/NULL);
V_6 = L_53;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_54 = __this->get__password_0();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_55 = V_5;
NullCheck(L_55);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_56 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_55, /*hidden argument*/NULL);
int32_t L_57 = __this->get__iterations_7();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_58 = V_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_59 = PKCS12_MAC_mA1250320B5F0B5C94D8532296AB59CC32B7A7E78(__this, L_54, L_56, L_57, L_58, /*hidden argument*/NULL);
V_7 = L_59;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_60 = V_4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_61 = V_7;
bool L_62 = PKCS12_Compare_m12F289CEDEFD3FCB171A1D84CFC3B38657041FDC(__this, L_60, L_61, /*hidden argument*/NULL);
if (L_62)
{
goto IL_01b0;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_63 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)2);
V_9 = L_63;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_64 = V_9;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_65 = V_5;
NullCheck(L_65);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_66 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_65, /*hidden argument*/NULL);
int32_t L_67 = __this->get__iterations_7();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_68 = V_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_69 = PKCS12_MAC_mA1250320B5F0B5C94D8532296AB59CC32B7A7E78(__this, L_64, L_66, L_67, L_68, /*hidden argument*/NULL);
V_7 = L_69;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_70 = V_4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_71 = V_7;
bool L_72 = PKCS12_Compare_m12F289CEDEFD3FCB171A1D84CFC3B38657041FDC(__this, L_70, L_71, /*hidden argument*/NULL);
if (L_72)
{
goto IL_01a8;
}
}
{
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_73 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_73, _stringLiteral3115DAFC73A9DE6DB80C4AC21E701A8A1C100369, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_73, NULL, PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_RuntimeMethod_var);
}
IL_01a8:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_74 = V_9;
__this->set__password_0(L_74);
}
IL_01b0:
{
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_75 = V_1;
NullCheck(L_75);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_76 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(L_75, /*hidden argument*/NULL);
NullCheck(L_76);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_77 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_76, 0, /*hidden argument*/NULL);
NullCheck(L_77);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_78 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_77, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_79 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA(L_79, L_78, /*hidden argument*/NULL);
V_2 = L_79;
V_10 = 0;
goto IL_02c7;
}
IL_01cf:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_80 = V_2;
int32_t L_81 = V_10;
NullCheck(L_80);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_82 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_80, L_81, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_83 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_m3AAF5EC77C4891BB1B6AF1F980C8623C0621852D(L_83, L_82, /*hidden argument*/NULL);
V_11 = L_83;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_84 = V_11;
NullCheck(L_84);
String_t* L_85 = ContentInfo_get_ContentType_m26D6492CA5D227AAC583CFC4A898C056ACEC8196_inline(L_84, /*hidden argument*/NULL);
V_12 = L_85;
String_t* L_86 = V_12;
bool L_87 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_86, _stringLiteral929E64373A1A3A451EAF8698A1D26A5C989E42EA, /*hidden argument*/NULL);
if (L_87)
{
goto IL_0219;
}
}
{
String_t* L_88 = V_12;
bool L_89 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_88, _stringLiteral796CC3E6D06777F1C198837519479B1D2F0024AD, /*hidden argument*/NULL);
if (L_89)
{
goto IL_025d;
}
}
{
String_t* L_90 = V_12;
bool L_91 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_90, _stringLiteralA475B0456F9E29FC0A863EA86E627DE0D6273626, /*hidden argument*/NULL);
if (L_91)
{
goto IL_02ab;
}
}
{
goto IL_02b6;
}
IL_0219:
{
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_92 = V_11;
NullCheck(L_92);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_93 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(L_92, /*hidden argument*/NULL);
NullCheck(L_93);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_94 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_93, 0, /*hidden argument*/NULL);
NullCheck(L_94);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_95 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_94, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_96 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA(L_96, L_95, /*hidden argument*/NULL);
V_13 = L_96;
V_16 = 0;
goto IL_0250;
}
IL_0237:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_97 = V_13;
int32_t L_98 = V_16;
NullCheck(L_97);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_99 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_97, L_98, /*hidden argument*/NULL);
V_17 = L_99;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_100 = V_17;
PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B(__this, L_100, /*hidden argument*/NULL);
int32_t L_101 = V_16;
V_16 = ((int32_t)il2cpp_codegen_add((int32_t)L_101, (int32_t)1));
}
IL_0250:
{
int32_t L_102 = V_16;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_103 = V_13;
NullCheck(L_103);
int32_t L_104 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_103, /*hidden argument*/NULL);
if ((((int32_t)L_102) < ((int32_t)L_104)))
{
goto IL_0237;
}
}
{
goto IL_02c1;
}
IL_025d:
{
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_105 = V_11;
NullCheck(L_105);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_106 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(L_105, /*hidden argument*/NULL);
NullCheck(L_106);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_107 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_106, 0, /*hidden argument*/NULL);
EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * L_108 = (EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B *)il2cpp_codegen_object_new(EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B_il2cpp_TypeInfo_var);
EncryptedData__ctor_m385361DAE06A76AA773E49EF242400DE7F02A8FD(L_108, L_107, /*hidden argument*/NULL);
V_14 = L_108;
EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * L_109 = V_14;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_110 = PKCS12_Decrypt_mBEC36809198C23CF1A3DDBABEC167DAF259763AC(__this, L_109, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_111 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mE005F52336402C3D41EAD9E28A95910B3C0865DA(L_111, L_110, /*hidden argument*/NULL);
V_15 = L_111;
V_18 = 0;
goto IL_029e;
}
IL_0285:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_112 = V_15;
int32_t L_113 = V_18;
NullCheck(L_112);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_114 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_112, L_113, /*hidden argument*/NULL);
V_19 = L_114;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_115 = V_19;
PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B(__this, L_115, /*hidden argument*/NULL);
int32_t L_116 = V_18;
V_18 = ((int32_t)il2cpp_codegen_add((int32_t)L_116, (int32_t)1));
}
IL_029e:
{
int32_t L_117 = V_18;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_118 = V_15;
NullCheck(L_118);
int32_t L_119 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_118, /*hidden argument*/NULL);
if ((((int32_t)L_117) < ((int32_t)L_119)))
{
goto IL_0285;
}
}
{
goto IL_02c1;
}
IL_02ab:
{
NotImplementedException_t8AD6EBE5FEDB0AEBECEE0961CF73C35B372EFFA4 * L_120 = (NotImplementedException_t8AD6EBE5FEDB0AEBECEE0961CF73C35B372EFFA4 *)il2cpp_codegen_object_new(NotImplementedException_t8AD6EBE5FEDB0AEBECEE0961CF73C35B372EFFA4_il2cpp_TypeInfo_var);
NotImplementedException__ctor_mEBAED0FCA8B8CCE7E96492474350BA35D14CF59C(L_120, _stringLiteral8979F67C086DEAF5044AC5C8AA93642B1431C146, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_120, NULL, PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_RuntimeMethod_var);
}
IL_02b6:
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_121 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_121, _stringLiteralB3C4276351B5F9013DC3E70B3FBC9174A0379575, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_121, NULL, PKCS12_Decode_m99D1E85A60263825BD361CFA623B088DE44FD2B7_RuntimeMethod_var);
}
IL_02c1:
{
int32_t L_122 = V_10;
V_10 = ((int32_t)il2cpp_codegen_add((int32_t)L_122, (int32_t)1));
}
IL_02c7:
{
int32_t L_123 = V_10;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_124 = V_2;
NullCheck(L_124);
int32_t L_125 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_124, /*hidden argument*/NULL);
if ((((int32_t)L_123) < ((int32_t)L_125)))
{
goto IL_01cf;
}
}
{
return;
}
}
// System.Void Mono.Security.X509.PKCS12::Finalize()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_Finalize_m7D328ECDF5448A300EC39922C23A7004AD9CE4D4 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
IL_0000:
try
{ // begin try (depth: 1)
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get__password_0();
if (!L_0)
{
goto IL_001c;
}
}
IL_0008:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = __this->get__password_0();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = __this->get__password_0();
NullCheck(L_2);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))), /*hidden argument*/NULL);
}
IL_001c:
{
__this->set__password_0((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)NULL);
IL2CPP_LEAVE(0x2C, FINALLY_0025);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0025;
}
FINALLY_0025:
{ // begin finally (depth: 1)
Object_Finalize_m4015B7D3A44DE125C5FE34D7276CD4697C06F380(__this, /*hidden argument*/NULL);
IL2CPP_END_FINALLY(37)
} // end finally (depth: 1)
IL2CPP_CLEANUP(37)
{
IL2CPP_JUMP_TBL(0x2C, IL_002c)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002c:
{
return;
}
}
// System.Void Mono.Security.X509.PKCS12::set_Password(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_set_Password_mE1814AD9981817AEB8B4DAD7AED8DEA6A17F1DB0 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, String_t* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_set_Password_mE1814AD9981817AEB8B4DAD7AED8DEA6A17F1DB0_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get__password_0();
if (!L_0)
{
goto IL_001c;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = __this->get__password_0();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = __this->get__password_0();
NullCheck(L_2);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_1, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)))), /*hidden argument*/NULL);
}
IL_001c:
{
__this->set__password_0((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)NULL);
String_t* L_3 = ___value0;
if (!L_3)
{
goto IL_0087;
}
}
{
String_t* L_4 = ___value0;
NullCheck(L_4);
int32_t L_5 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_4, /*hidden argument*/NULL);
if ((((int32_t)L_5) <= ((int32_t)0)))
{
goto IL_007b;
}
}
{
String_t* L_6 = ___value0;
NullCheck(L_6);
int32_t L_7 = String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline(L_6, /*hidden argument*/NULL);
V_0 = L_7;
V_1 = 0;
int32_t L_8 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_il2cpp_TypeInfo_var);
int32_t L_9 = PKCS12_get_MaximumPasswordLength_m456895C0914C8E686BC0548D036FAF11EB2AD266_inline(/*hidden argument*/NULL);
if ((((int32_t)L_8) >= ((int32_t)L_9)))
{
goto IL_004f;
}
}
{
String_t* L_10 = ___value0;
int32_t L_11 = V_0;
NullCheck(L_10);
Il2CppChar L_12 = String_get_Chars_m14308AC3B95F8C1D9F1D1055B116B37D595F1D96(L_10, ((int32_t)il2cpp_codegen_subtract((int32_t)L_11, (int32_t)1)), /*hidden argument*/NULL);
if (!L_12)
{
goto IL_0055;
}
}
{
V_1 = 1;
goto IL_0055;
}
IL_004f:
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_il2cpp_TypeInfo_var);
int32_t L_13 = PKCS12_get_MaximumPasswordLength_m456895C0914C8E686BC0548D036FAF11EB2AD266_inline(/*hidden argument*/NULL);
V_0 = L_13;
}
IL_0055:
{
int32_t L_14 = V_0;
int32_t L_15 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)L_15))<<(int32_t)1)));
__this->set__password_0(L_16);
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_17 = Encoding_get_BigEndianUnicode_m6CC17642A36943FE038F54729446D7E30D582BDD(/*hidden argument*/NULL);
String_t* L_18 = ___value0;
int32_t L_19 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = __this->get__password_0();
NullCheck(L_17);
VirtFuncInvoker5< int32_t, String_t*, int32_t, int32_t, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t >::Invoke(16 /* System.Int32 System.Text.Encoding::GetBytes(System.String,System.Int32,System.Int32,System.Byte[],System.Int32) */, L_17, L_18, 0, L_19, L_20, 0);
return;
}
IL_007b:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)2);
__this->set__password_0(L_21);
}
IL_0087:
{
return;
}
}
// System.Int32 Mono.Security.X509.PKCS12::get_IterationCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PKCS12_get_IterationCount_m85A4D92CA6130D1BC6818CA8C434C9A8CFD120EC (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get__iterations_7();
return L_0;
}
}
// System.Void Mono.Security.X509.PKCS12::set_IterationCount(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_set_IterationCount_m95AA7918C2940DFAA9AD540AEE484DD8E9A0DA43 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->set__iterations_7(L_0);
return;
}
}
// System.Collections.ArrayList Mono.Security.X509.PKCS12::get_Keys()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * PKCS12_get_Keys_mAAA961BD9580ED8EE3B394B702945FCB820E34AE (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_get_Keys_mAAA961BD9580ED8EE3B394B702945FCB820E34AE_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * V_1 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_2 = NULL;
uint8_t V_3 = 0x0;
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 V_4;
memset((&V_4), 0, sizeof(V_4));
EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * V_5 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_6 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_7 = NULL;
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 V_8;
memset((&V_8), 0, sizeof(V_8));
RuntimeObject* V_9 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
bool L_0 = __this->get__keyBagsChanged_4();
if (!L_0)
{
goto IL_0190;
}
}
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_1 = __this->get__keyBags_1();
NullCheck(L_1);
VirtActionInvoker0::Invoke(26 /* System.Void System.Collections.ArrayList::Clear() */, L_1);
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_2 = __this->get__safeBags_8();
NullCheck(L_2);
RuntimeObject* L_3 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_2);
V_0 = L_3;
}
IL_0022:
try
{ // begin try (depth: 1)
{
goto IL_0168;
}
IL_0027:
{
RuntimeObject* L_4 = V_0;
NullCheck(L_4);
RuntimeObject * L_5 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_4);
V_1 = ((SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 *)CastclassClass((RuntimeObject*)L_5, SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726_il2cpp_TypeInfo_var));
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_6 = V_1;
NullCheck(L_6);
String_t* L_7 = SafeBag_get_BagOID_m111CD6142B7D3C61FB45932B8EF9A635D80244B5_inline(L_6, /*hidden argument*/NULL);
NullCheck(L_7);
bool L_8 = String_Equals_m9C4D78DFA0979504FE31429B64A4C26DF48020D1(L_7, _stringLiteral2F280ADB68040B360D7B03B819A13379B799EFAB, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_00af;
}
}
IL_0045:
{
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_9 = V_1;
NullCheck(L_9);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = SafeBag_get_ASN1_m77708924A6B21495CB27668AB3CDCC844724AAD1_inline(L_9, /*hidden argument*/NULL);
NullCheck(L_10);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_11 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_10, 1, /*hidden argument*/NULL);
NullCheck(L_11);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_11, /*hidden argument*/NULL);
PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * L_13 = (PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 *)il2cpp_codegen_object_new(PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9_il2cpp_TypeInfo_var);
PrivateKeyInfo__ctor_m4FE1CE37466756FCCAD2C7320E6E8E8B0D4D603A(L_13, L_12, /*hidden argument*/NULL);
NullCheck(L_13);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = PrivateKeyInfo_get_PrivateKey_mC390394E64E5FE39B4A833E7D91CF20A899179FA(L_13, /*hidden argument*/NULL);
V_2 = L_14;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = V_2;
NullCheck(L_15);
int32_t L_16 = 0;
uint8_t L_17 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
V_3 = L_17;
uint8_t L_18 = V_3;
if ((((int32_t)L_18) == ((int32_t)2)))
{
goto IL_0070;
}
}
IL_0069:
{
uint8_t L_19 = V_3;
if ((((int32_t)L_19) == ((int32_t)((int32_t)48))))
{
goto IL_008e;
}
}
IL_006e:
{
goto IL_00a0;
}
IL_0070:
{
il2cpp_codegen_initobj((&V_4), sizeof(DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 ));
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_20 = __this->get__keyBags_1();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = V_2;
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 L_22 = V_4;
DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * L_23 = PrivateKeyInfo_DecodeDSA_m705D495634A3F9F97D73FA4FC995352DF5A3F5EF(L_21, L_22, /*hidden argument*/NULL);
NullCheck(L_20);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_20, L_23);
goto IL_00a0;
}
IL_008e:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_24 = __this->get__keyBags_1();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_25 = V_2;
RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * L_26 = PrivateKeyInfo_DecodeRSA_m47EEB9282E7E66ED9256F2097B4E5C757B79B080(L_25, /*hidden argument*/NULL);
NullCheck(L_24);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_24, L_26);
}
IL_00a0:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_27 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_28 = V_2;
NullCheck(L_28);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_27, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_28)->max_length)))), /*hidden argument*/NULL);
goto IL_0168;
}
IL_00af:
{
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_29 = V_1;
NullCheck(L_29);
String_t* L_30 = SafeBag_get_BagOID_m111CD6142B7D3C61FB45932B8EF9A635D80244B5_inline(L_29, /*hidden argument*/NULL);
NullCheck(L_30);
bool L_31 = String_Equals_m9C4D78DFA0979504FE31429B64A4C26DF48020D1(L_30, _stringLiteral3F556C2B89C9D40F8FCB8B45DB88D9BA3BDB25A7, /*hidden argument*/NULL);
if (!L_31)
{
goto IL_0168;
}
}
IL_00c4:
{
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_32 = V_1;
NullCheck(L_32);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_33 = SafeBag_get_ASN1_m77708924A6B21495CB27668AB3CDCC844724AAD1_inline(L_32, /*hidden argument*/NULL);
NullCheck(L_33);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_34 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_33, 1, /*hidden argument*/NULL);
NullCheck(L_34);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_35 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_34, /*hidden argument*/NULL);
EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * L_36 = (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D *)il2cpp_codegen_object_new(EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D_il2cpp_TypeInfo_var);
EncryptedPrivateKeyInfo__ctor_mB2FBC3DDB156046CBB737280E490994A3B20362A(L_36, L_35, /*hidden argument*/NULL);
V_5 = L_36;
EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * L_37 = V_5;
NullCheck(L_37);
String_t* L_38 = EncryptedPrivateKeyInfo_get_Algorithm_m93A361B3EE1EDF57B8D83ECF187CD75E6B45A9D9_inline(L_37, /*hidden argument*/NULL);
EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * L_39 = V_5;
NullCheck(L_39);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_40 = EncryptedPrivateKeyInfo_get_Salt_mF231C0F3BC06F402910179312CC9245911450C4B(L_39, /*hidden argument*/NULL);
EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * L_41 = V_5;
NullCheck(L_41);
int32_t L_42 = EncryptedPrivateKeyInfo_get_IterationCount_m3CD06665FBE6C8B3965AA0D870B702A4E6F833FC_inline(L_41, /*hidden argument*/NULL);
EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * L_43 = V_5;
NullCheck(L_43);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_44 = EncryptedPrivateKeyInfo_get_EncryptedData_m0EB3C77C669117FCB3E0A5DA1758F9B0A18573D3(L_43, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_45 = PKCS12_Decrypt_m31927063D7A8B21C5E2B81F0879117F269B2F340(__this, L_38, L_40, L_42, L_44, /*hidden argument*/NULL);
V_6 = L_45;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_46 = V_6;
PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * L_47 = (PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 *)il2cpp_codegen_object_new(PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9_il2cpp_TypeInfo_var);
PrivateKeyInfo__ctor_m4FE1CE37466756FCCAD2C7320E6E8E8B0D4D603A(L_47, L_46, /*hidden argument*/NULL);
NullCheck(L_47);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_48 = PrivateKeyInfo_get_PrivateKey_mC390394E64E5FE39B4A833E7D91CF20A899179FA(L_47, /*hidden argument*/NULL);
V_7 = L_48;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_49 = V_7;
NullCheck(L_49);
int32_t L_50 = 0;
uint8_t L_51 = (L_49)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
V_3 = L_51;
uint8_t L_52 = V_3;
if ((((int32_t)L_52) == ((int32_t)2)))
{
goto IL_011e;
}
}
IL_0117:
{
uint8_t L_53 = V_3;
if ((((int32_t)L_53) == ((int32_t)((int32_t)48))))
{
goto IL_013d;
}
}
IL_011c:
{
goto IL_0150;
}
IL_011e:
{
il2cpp_codegen_initobj((&V_8), sizeof(DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 ));
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_54 = __this->get__keyBags_1();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_55 = V_7;
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 L_56 = V_8;
DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * L_57 = PrivateKeyInfo_DecodeDSA_m705D495634A3F9F97D73FA4FC995352DF5A3F5EF(L_55, L_56, /*hidden argument*/NULL);
NullCheck(L_54);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_54, L_57);
goto IL_0150;
}
IL_013d:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_58 = __this->get__keyBags_1();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_59 = V_7;
RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * L_60 = PrivateKeyInfo_DecodeRSA_m47EEB9282E7E66ED9256F2097B4E5C757B79B080(L_59, /*hidden argument*/NULL);
NullCheck(L_58);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_58, L_60);
}
IL_0150:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_61 = V_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_62 = V_7;
NullCheck(L_62);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_61, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_62)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_63 = V_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_64 = V_6;
NullCheck(L_64);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_63, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_64)->max_length)))), /*hidden argument*/NULL);
}
IL_0168:
{
RuntimeObject* L_65 = V_0;
NullCheck(L_65);
bool L_66 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_65);
if (L_66)
{
goto IL_0027;
}
}
IL_0173:
{
IL2CPP_LEAVE(0x189, FINALLY_0175);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0175;
}
FINALLY_0175:
{ // begin finally (depth: 1)
{
RuntimeObject* L_67 = V_0;
V_9 = ((RuntimeObject*)IsInst((RuntimeObject*)L_67, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_68 = V_9;
if (!L_68)
{
goto IL_0188;
}
}
IL_0181:
{
RuntimeObject* L_69 = V_9;
NullCheck(L_69);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_69);
}
IL_0188:
{
IL2CPP_END_FINALLY(373)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(373)
{
IL2CPP_JUMP_TBL(0x189, IL_0189)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0189:
{
__this->set__keyBagsChanged_4((bool)0);
}
IL_0190:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_70 = __this->get__keyBags_1();
IL2CPP_RUNTIME_CLASS_INIT(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var);
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_71 = ArrayList_ReadOnly_m15C79B069370829463875D47C52859A0F539F90F(L_70, /*hidden argument*/NULL);
return L_71;
}
}
// Mono.Security.X509.X509CertificateCollection Mono.Security.X509.PKCS12::get_Certificates()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * PKCS12_get_Certificates_mB8B81E86E481809CAB88C4657FDFCA67FE5190F4 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_get_Certificates_mB8B81E86E481809CAB88C4657FDFCA67FE5190F4_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RuntimeObject* V_0 = NULL;
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * V_1 = NULL;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * 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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
bool L_0 = __this->get__certsChanged_6();
if (!L_0)
{
goto IL_009d;
}
}
{
X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * L_1 = __this->get__certs_3();
NullCheck(L_1);
CollectionBase_Clear_m532DA443B53F9D48FAC7184B5C405D8E725E554A(L_1, /*hidden argument*/NULL);
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_2 = __this->get__safeBags_8();
NullCheck(L_2);
RuntimeObject* L_3 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_2);
V_0 = L_3;
}
IL_0022:
try
{ // begin try (depth: 1)
{
goto IL_007b;
}
IL_0024:
{
RuntimeObject* L_4 = V_0;
NullCheck(L_4);
RuntimeObject * L_5 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_4);
V_1 = ((SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 *)CastclassClass((RuntimeObject*)L_5, SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726_il2cpp_TypeInfo_var));
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_6 = V_1;
NullCheck(L_6);
String_t* L_7 = SafeBag_get_BagOID_m111CD6142B7D3C61FB45932B8EF9A635D80244B5_inline(L_6, /*hidden argument*/NULL);
NullCheck(L_7);
bool L_8 = String_Equals_m9C4D78DFA0979504FE31429B64A4C26DF48020D1(L_7, _stringLiteralF02768AE02EDF48DA977F708A0513A95FDC0F733, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_007b;
}
}
IL_0042:
{
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_9 = V_1;
NullCheck(L_9);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = SafeBag_get_ASN1_m77708924A6B21495CB27668AB3CDCC844724AAD1_inline(L_9, /*hidden argument*/NULL);
NullCheck(L_10);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_11 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_10, 1, /*hidden argument*/NULL);
NullCheck(L_11);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_11, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_13 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_mFFDEEE8545287FC5A22740B7E06F6D64D401E196(L_13, L_12, /*hidden argument*/NULL);
V_2 = L_13;
X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * L_14 = __this->get__certs_3();
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_15 = V_2;
NullCheck(L_15);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_16 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(L_15, /*hidden argument*/NULL);
NullCheck(L_16);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_17 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_16, 0, /*hidden argument*/NULL);
NullCheck(L_17);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_17, /*hidden argument*/NULL);
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_19 = (X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B *)il2cpp_codegen_object_new(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B_il2cpp_TypeInfo_var);
X509Certificate__ctor_mE2BC6649D450A36E902A2D6BEB50C49130411129(L_19, L_18, /*hidden argument*/NULL);
NullCheck(L_14);
X509CertificateCollection_Add_mC060190867D9C5D182236A313FE912DFCCE1F785(L_14, L_19, /*hidden argument*/NULL);
}
IL_007b:
{
RuntimeObject* L_20 = V_0;
NullCheck(L_20);
bool L_21 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_20);
if (L_21)
{
goto IL_0024;
}
}
IL_0083:
{
IL2CPP_LEAVE(0x96, 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_22 = V_0;
V_3 = ((RuntimeObject*)IsInst((RuntimeObject*)L_22, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_23 = V_3;
if (!L_23)
{
goto IL_0095;
}
}
IL_008f:
{
RuntimeObject* L_24 = V_3;
NullCheck(L_24);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_24);
}
IL_0095:
{
IL2CPP_END_FINALLY(133)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(133)
{
IL2CPP_JUMP_TBL(0x96, IL_0096)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0096:
{
__this->set__certsChanged_6((bool)0);
}
IL_009d:
{
X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * L_25 = __this->get__certs_3();
return L_25;
}
}
// System.Security.Cryptography.RandomNumberGenerator Mono.Security.X509.PKCS12::get_RNG()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * PKCS12_get_RNG_m41E242AD5803360A10A8084A081F54F6D3402736 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method)
{
{
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_0 = __this->get__rng_9();
if (L_0)
{
goto IL_0013;
}
}
{
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_1 = RandomNumberGenerator_Create_mB84B1BA538B29D0679F310D3B574A7D5BAA890C4(/*hidden argument*/NULL);
__this->set__rng_9(L_1);
}
IL_0013:
{
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_2 = __this->get__rng_9();
return L_2;
}
}
// System.Boolean Mono.Security.X509.PKCS12::Compare(System.Byte[],System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PKCS12_Compare_m12F289CEDEFD3FCB171A1D84CFC3B38657041FDC (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___expected0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___actual1, const RuntimeMethod* method)
{
bool V_0 = false;
int32_t V_1 = 0;
{
V_0 = (bool)0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___expected0;
NullCheck(L_0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___actual1;
NullCheck(L_1);
if ((!(((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_0)->max_length))))) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length))))))))
{
goto IL_0024;
}
}
{
V_1 = 0;
goto IL_001c;
}
IL_000e:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___expected0;
int32_t L_3 = V_1;
NullCheck(L_2);
int32_t L_4 = L_3;
uint8_t L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ___actual1;
int32_t L_7 = V_1;
NullCheck(L_6);
int32_t L_8 = L_7;
uint8_t L_9 = (L_6)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
if ((((int32_t)L_5) == ((int32_t)L_9)))
{
goto IL_0018;
}
}
{
return (bool)0;
}
IL_0018:
{
int32_t L_10 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
}
IL_001c:
{
int32_t L_11 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ___expected0;
NullCheck(L_12);
if ((((int32_t)L_11) < ((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))))))
{
goto IL_000e;
}
}
{
V_0 = (bool)1;
}
IL_0024:
{
bool L_13 = V_0;
return L_13;
}
}
// System.Security.Cryptography.SymmetricAlgorithm Mono.Security.X509.PKCS12::GetSymmetricAlgorithm(System.String,System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * PKCS12_GetSymmetricAlgorithm_mD3F3C0B83D3F2F2F384895C287C95AEACC9D237B (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, String_t* ___algorithmOid0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___salt1, int32_t ___iterationCount2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_GetSymmetricAlgorithm_mD3F3C0B83D3F2F2F384895C287C95AEACC9D237B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * V_3 = NULL;
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * V_4 = NULL;
uint32_t V_5 = 0;
{
V_0 = (String_t*)NULL;
V_1 = 8;
V_2 = 8;
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_0 = (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D *)il2cpp_codegen_object_new(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_il2cpp_TypeInfo_var);
DeriveBytes__ctor_mCF98BD3EFADD4D2F34101977C2B49258932F19C2(L_0, /*hidden argument*/NULL);
V_3 = L_0;
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_1 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = __this->get__password_0();
NullCheck(L_1);
DeriveBytes_set_Password_m01796801BB8FD1E5F9D62F48A057F936CE0D0E4D(L_1, L_2, /*hidden argument*/NULL);
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_3 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = ___salt1;
NullCheck(L_3);
DeriveBytes_set_Salt_m259A4E6B31DF7C039E776B473B4C5208890E8C5E(L_3, L_4, /*hidden argument*/NULL);
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_5 = V_3;
int32_t L_6 = ___iterationCount2;
NullCheck(L_5);
DeriveBytes_set_IterationCount_mFE67702E80E2748EA2B61D15E2E58CB9A4173143_inline(L_5, L_6, /*hidden argument*/NULL);
String_t* L_7 = ___algorithmOid0;
uint32_t L_8 = U3CPrivateImplementationDetailsU3E_ComputeStringHash_m8375D44A8A75C7D8223EA98CF65C40C0BA8C7BEB(L_7, /*hidden argument*/NULL);
V_5 = L_8;
uint32_t L_9 = V_5;
if ((!(((uint32_t)L_9) <= ((uint32_t)((int32_t)-1345144596)))))
{
goto IL_0092;
}
}
{
uint32_t L_10 = V_5;
if ((!(((uint32_t)L_10) <= ((uint32_t)((int32_t)-1412255072)))))
{
goto IL_0069;
}
}
{
uint32_t L_11 = V_5;
if ((((int32_t)L_11) == ((int32_t)((int32_t)1314512600))))
{
goto IL_0135;
}
}
{
uint32_t L_12 = V_5;
if ((((int32_t)L_12) == ((int32_t)((int32_t)1331290219))))
{
goto IL_014a;
}
}
{
uint32_t L_13 = V_5;
if ((((int32_t)L_13) == ((int32_t)((int32_t)-1412255072))))
{
goto IL_01c8;
}
}
{
goto IL_02ed;
}
IL_0069:
{
uint32_t L_14 = V_5;
if ((((int32_t)L_14) == ((int32_t)((int32_t)-1378699834))))
{
goto IL_019e;
}
}
{
uint32_t L_15 = V_5;
if ((((int32_t)L_15) == ((int32_t)((int32_t)-1361922215))))
{
goto IL_01b3;
}
}
{
uint32_t L_16 = V_5;
if ((((int32_t)L_16) == ((int32_t)((int32_t)-1345144596))))
{
goto IL_0174;
}
}
{
goto IL_02ed;
}
IL_0092:
{
uint32_t L_17 = V_5;
if ((!(((uint32_t)L_17) <= ((uint32_t)((int32_t)-751088392)))))
{
goto IL_00c1;
}
}
{
uint32_t L_18 = V_5;
if ((((int32_t)L_18) == ((int32_t)((int32_t)-1328366977))))
{
goto IL_0189;
}
}
{
uint32_t L_19 = V_5;
if ((((int32_t)L_19) == ((int32_t)((int32_t)-1294811739))))
{
goto IL_015f;
}
}
{
uint32_t L_20 = V_5;
if ((((int32_t)L_20) == ((int32_t)((int32_t)-751088392))))
{
goto IL_00e1;
}
}
{
goto IL_02ed;
}
IL_00c1:
{
uint32_t L_21 = V_5;
if ((((int32_t)L_21) == ((int32_t)((int32_t)-717533154))))
{
goto IL_00f6;
}
}
{
uint32_t L_22 = V_5;
if ((((int32_t)L_22) == ((int32_t)((int32_t)-667200297))))
{
goto IL_010b;
}
}
{
uint32_t L_23 = V_5;
if ((((int32_t)L_23) == ((int32_t)((int32_t)-633645059))))
{
goto IL_0120;
}
}
{
goto IL_02ed;
}
IL_00e1:
{
String_t* L_24 = ___algorithmOid0;
bool L_25 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_24, _stringLiteral0425D7D3778CCF20AE9594EC58FAE88CACC94F5E, /*hidden argument*/NULL);
if (L_25)
{
goto IL_01dd;
}
}
{
goto IL_02ed;
}
IL_00f6:
{
String_t* L_26 = ___algorithmOid0;
bool L_27 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_26, _stringLiteralC438BA3DF76E517ADEB7757B01B707A8FD7C53B9, /*hidden argument*/NULL);
if (L_27)
{
goto IL_01f3;
}
}
{
goto IL_02ed;
}
IL_010b:
{
String_t* L_28 = ___algorithmOid0;
bool L_29 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_28, _stringLiteralDC7A4E51273DD99D30CC77D766CCBD48170C6CAC, /*hidden argument*/NULL);
if (L_29)
{
goto IL_0209;
}
}
{
goto IL_02ed;
}
IL_0120:
{
String_t* L_30 = ___algorithmOid0;
bool L_31 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_30, _stringLiteralA6D742824424B5CC45A579F1CBB3776F08DDB783, /*hidden argument*/NULL);
if (L_31)
{
goto IL_0221;
}
}
{
goto IL_02ed;
}
IL_0135:
{
String_t* L_32 = ___algorithmOid0;
bool L_33 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_32, _stringLiteral3B8985A7F6F3523C5194B27380C8B9A09D4E7286, /*hidden argument*/NULL);
if (L_33)
{
goto IL_0239;
}
}
{
goto IL_02ed;
}
IL_014a:
{
String_t* L_34 = ___algorithmOid0;
bool L_35 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_34, _stringLiteral4E803123E3F3ACF68327B5004FFBFE1BEA455372, /*hidden argument*/NULL);
if (L_35)
{
goto IL_024f;
}
}
{
goto IL_02ed;
}
IL_015f:
{
String_t* L_36 = ___algorithmOid0;
bool L_37 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_36, _stringLiteralE2A4A83E97480FEE533C17B7E9E66E07F7D508D4, /*hidden argument*/NULL);
if (L_37)
{
goto IL_0267;
}
}
{
goto IL_02ed;
}
IL_0174:
{
String_t* L_38 = ___algorithmOid0;
bool L_39 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_38, _stringLiteralC7B28B0B9455757301EFBE14A68ACEFE87C35B48, /*hidden argument*/NULL);
if (L_39)
{
goto IL_027f;
}
}
{
goto IL_02ed;
}
IL_0189:
{
String_t* L_40 = ___algorithmOid0;
bool L_41 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_40, _stringLiteral8123C11021D033CA8E67AEF3CA8B6BC4D85B977C, /*hidden argument*/NULL);
if (L_41)
{
goto IL_0296;
}
}
{
goto IL_02ed;
}
IL_019e:
{
String_t* L_42 = ___algorithmOid0;
bool L_43 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_42, _stringLiteral8E0BFE8117E07EBEF6C2CD100E3BCC63032D3607, /*hidden argument*/NULL);
if (L_43)
{
goto IL_02ac;
}
}
{
goto IL_02ed;
}
IL_01b3:
{
String_t* L_44 = ___algorithmOid0;
bool L_45 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_44, _stringLiteralD1CEA7B241EAF16F5C4A6E380E2B3624E7A80287, /*hidden argument*/NULL);
if (L_45)
{
goto IL_02c2;
}
}
{
goto IL_02ed;
}
IL_01c8:
{
String_t* L_46 = ___algorithmOid0;
bool L_47 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_46, _stringLiteralDC62B38EEB716E83A2EF7B3E3983DFF61AAFA8F1, /*hidden argument*/NULL);
if (L_47)
{
goto IL_02d8;
}
}
{
goto IL_02ed;
}
IL_01dd:
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_48 = V_3;
NullCheck(L_48);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_48, _stringLiteral83BD2260257D398076A738813A94BD2F37D6F282, /*hidden argument*/NULL);
V_0 = _stringLiteral26DB4ADFD18BEF9CD0D83082F02FA1E98DDA8B4D;
goto IL_02fe;
}
IL_01f3:
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_49 = V_3;
NullCheck(L_49);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_49, _stringLiteralB773BED04A48DE200B96981BB79467413A222066, /*hidden argument*/NULL);
V_0 = _stringLiteral26DB4ADFD18BEF9CD0D83082F02FA1E98DDA8B4D;
goto IL_02fe;
}
IL_0209:
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_50 = V_3;
NullCheck(L_50);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_50, _stringLiteral83BD2260257D398076A738813A94BD2F37D6F282, /*hidden argument*/NULL);
V_0 = _stringLiteral2B69EA076BD364D53AD2617C3A0BF3387013220C;
V_1 = 4;
goto IL_02fe;
}
IL_0221:
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_51 = V_3;
NullCheck(L_51);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_51, _stringLiteralB773BED04A48DE200B96981BB79467413A222066, /*hidden argument*/NULL);
V_0 = _stringLiteral2B69EA076BD364D53AD2617C3A0BF3387013220C;
V_1 = 4;
goto IL_02fe;
}
IL_0239:
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_52 = V_3;
NullCheck(L_52);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_52, _stringLiteralE1744A525099D9A53C0460EF9CB7AB0E4C4FC939, /*hidden argument*/NULL);
V_0 = _stringLiteral26DB4ADFD18BEF9CD0D83082F02FA1E98DDA8B4D;
goto IL_02fe;
}
IL_024f:
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_53 = V_3;
NullCheck(L_53);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_53, _stringLiteralE1744A525099D9A53C0460EF9CB7AB0E4C4FC939, /*hidden argument*/NULL);
V_0 = _stringLiteral2B69EA076BD364D53AD2617C3A0BF3387013220C;
V_1 = 4;
goto IL_02fe;
}
IL_0267:
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_54 = V_3;
NullCheck(L_54);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_54, _stringLiteralE1744A525099D9A53C0460EF9CB7AB0E4C4FC939, /*hidden argument*/NULL);
V_0 = _stringLiteral80C050AFCE55BDA39642CED27679D2CBB619663F;
V_1 = ((int32_t)16);
V_2 = 0;
goto IL_02fe;
}
IL_027f:
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_55 = V_3;
NullCheck(L_55);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_55, _stringLiteralE1744A525099D9A53C0460EF9CB7AB0E4C4FC939, /*hidden argument*/NULL);
V_0 = _stringLiteral80C050AFCE55BDA39642CED27679D2CBB619663F;
V_1 = 5;
V_2 = 0;
goto IL_02fe;
}
IL_0296:
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_56 = V_3;
NullCheck(L_56);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_56, _stringLiteralE1744A525099D9A53C0460EF9CB7AB0E4C4FC939, /*hidden argument*/NULL);
V_0 = _stringLiteral2113842AE751CFD206BA143B55BA46A421A7E07F;
V_1 = ((int32_t)24);
goto IL_02fe;
}
IL_02ac:
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_57 = V_3;
NullCheck(L_57);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_57, _stringLiteralE1744A525099D9A53C0460EF9CB7AB0E4C4FC939, /*hidden argument*/NULL);
V_0 = _stringLiteral2113842AE751CFD206BA143B55BA46A421A7E07F;
V_1 = ((int32_t)16);
goto IL_02fe;
}
IL_02c2:
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_58 = V_3;
NullCheck(L_58);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_58, _stringLiteralE1744A525099D9A53C0460EF9CB7AB0E4C4FC939, /*hidden argument*/NULL);
V_0 = _stringLiteral2B69EA076BD364D53AD2617C3A0BF3387013220C;
V_1 = ((int32_t)16);
goto IL_02fe;
}
IL_02d8:
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_59 = V_3;
NullCheck(L_59);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_59, _stringLiteralE1744A525099D9A53C0460EF9CB7AB0E4C4FC939, /*hidden argument*/NULL);
V_0 = _stringLiteral2B69EA076BD364D53AD2617C3A0BF3387013220C;
V_1 = 5;
goto IL_02fe;
}
IL_02ed:
{
String_t* L_60 = V_0;
String_t* L_61 = String_Concat_mB78D0094592718DA6D5DB6C712A9C225631666BE(_stringLiteral7CB21E3398253A9FD01555A78CDD038F46778484, L_60, /*hidden argument*/NULL);
NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 * L_62 = (NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 *)il2cpp_codegen_object_new(NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010_il2cpp_TypeInfo_var);
NotSupportedException__ctor_mD023A89A5C1F740F43F0A9CD6C49DC21230B3CEE(L_62, L_61, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_62, NULL, PKCS12_GetSymmetricAlgorithm_mD3F3C0B83D3F2F2F384895C287C95AEACC9D237B_RuntimeMethod_var);
}
IL_02fe:
{
V_4 = (SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 *)NULL;
String_t* L_63 = V_0;
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_64 = SymmetricAlgorithm_Create_m09E1B072260AEBCFF0850A7F4C129F529CC7D8A5(L_63, /*hidden argument*/NULL);
V_4 = L_64;
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_65 = V_4;
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_66 = V_3;
int32_t L_67 = V_1;
NullCheck(L_66);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_68 = DeriveBytes_DeriveKey_mDF33F048359AB75CC3F1F634A67EB4EDEF02E796(L_66, L_67, /*hidden argument*/NULL);
NullCheck(L_65);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(12 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Key(System.Byte[]) */, L_65, L_68);
int32_t L_69 = V_2;
if ((((int32_t)L_69) <= ((int32_t)0)))
{
goto IL_0331;
}
}
{
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_70 = V_4;
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_71 = V_3;
int32_t L_72 = V_2;
NullCheck(L_71);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_73 = DeriveBytes_DeriveIV_mEBA107DC29EA28DF2575F45EF7A0C55840BD8F03(L_71, L_72, /*hidden argument*/NULL);
NullCheck(L_70);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(10 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_IV(System.Byte[]) */, L_70, L_73);
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_74 = V_4;
NullCheck(L_74);
VirtActionInvoker1< int32_t >::Invoke(17 /* System.Void System.Security.Cryptography.SymmetricAlgorithm::set_Mode(System.Security.Cryptography.CipherMode) */, L_74, 1);
}
IL_0331:
{
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_75 = V_4;
return L_75;
}
}
// System.Byte[] Mono.Security.X509.PKCS12::Decrypt(System.String,System.Byte[],System.Int32,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PKCS12_Decrypt_m31927063D7A8B21C5E2B81F0879117F269B2F340 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, String_t* ___algorithmOid0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___salt1, int32_t ___iterationCount2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___encryptedData3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_Decrypt_m31927063D7A8B21C5E2B81F0879117F269B2F340_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * V_0 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* 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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
V_0 = (SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 *)NULL;
V_1 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)NULL;
}
IL_0004:
try
{ // begin try (depth: 1)
String_t* L_0 = ___algorithmOid0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___salt1;
int32_t L_2 = ___iterationCount2;
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_3 = PKCS12_GetSymmetricAlgorithm_mD3F3C0B83D3F2F2F384895C287C95AEACC9D237B(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_4 = V_0;
NullCheck(L_4);
RuntimeObject* L_5 = VirtFuncInvoker0< RuntimeObject* >::Invoke(22 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateDecryptor() */, L_4);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ___encryptedData3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___encryptedData3;
NullCheck(L_7);
NullCheck(L_5);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = InterfaceFuncInvoker3< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(4 /* System.Byte[] System.Security.Cryptography.ICryptoTransform::TransformFinalBlock(System.Byte[],System.Int32,System.Int32) */, ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var, L_5, L_6, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))));
V_1 = L_8;
IL2CPP_LEAVE(0x2D, FINALLY_0023);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0023;
}
FINALLY_0023:
{ // begin finally (depth: 1)
{
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_9 = V_0;
if (!L_9)
{
goto IL_002c;
}
}
IL_0026:
{
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_10 = V_0;
NullCheck(L_10);
SymmetricAlgorithm_Clear_m8487379B135918E72684597CFE388EF7FCA733D2(L_10, /*hidden argument*/NULL);
}
IL_002c:
{
IL2CPP_END_FINALLY(35)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(35)
{
IL2CPP_JUMP_TBL(0x2D, IL_002d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002d:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = V_1;
return L_11;
}
}
// System.Byte[] Mono.Security.X509.PKCS12::Decrypt(Mono.Security.PKCS7_EncryptedData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PKCS12_Decrypt_mBEC36809198C23CF1A3DDBABEC167DAF259763AC (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * ___ed0, const RuntimeMethod* method)
{
{
EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * L_0 = ___ed0;
NullCheck(L_0);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_1 = EncryptedData_get_EncryptionAlgorithm_m06B627AA11F08C1515676B6E58DEDDD43B4F380F_inline(L_0, /*hidden argument*/NULL);
NullCheck(L_1);
String_t* L_2 = ContentInfo_get_ContentType_m26D6492CA5D227AAC583CFC4A898C056ACEC8196_inline(L_1, /*hidden argument*/NULL);
EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * L_3 = ___ed0;
NullCheck(L_3);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_4 = EncryptedData_get_EncryptionAlgorithm_m06B627AA11F08C1515676B6E58DEDDD43B4F380F_inline(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_5 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(L_4, /*hidden argument*/NULL);
NullCheck(L_5);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_6 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_5, 0, /*hidden argument*/NULL);
NullCheck(L_6);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_6, /*hidden argument*/NULL);
EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * L_8 = ___ed0;
NullCheck(L_8);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_9 = EncryptedData_get_EncryptionAlgorithm_m06B627AA11F08C1515676B6E58DEDDD43B4F380F_inline(L_8, /*hidden argument*/NULL);
NullCheck(L_9);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(L_9, /*hidden argument*/NULL);
NullCheck(L_10);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_11 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_10, 1, /*hidden argument*/NULL);
int32_t L_12 = ASN1Convert_ToInt32_mA2A8761F965979408D46FBEB946DB59F36137A5E(L_11, /*hidden argument*/NULL);
EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * L_13 = ___ed0;
NullCheck(L_13);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = EncryptedData_get_EncryptedContent_m3C19AF07E7124131F08D7223E7B955AE67896BB8(L_13, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = PKCS12_Decrypt_m31927063D7A8B21C5E2B81F0879117F269B2F340(__this, L_2, L_7, L_12, L_14, /*hidden argument*/NULL);
return L_15;
}
}
// System.Byte[] Mono.Security.X509.PKCS12::Encrypt(System.String,System.Byte[],System.Int32,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PKCS12_Encrypt_m46E5121EFD2B8D707F1028204C59EE95955FA992 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, String_t* ___algorithmOid0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___salt1, int32_t ___iterationCount2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_Encrypt_m46E5121EFD2B8D707F1028204C59EE95955FA992_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * 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);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 1);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
V_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)NULL;
String_t* L_0 = ___algorithmOid0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___salt1;
int32_t L_2 = ___iterationCount2;
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_3 = PKCS12_GetSymmetricAlgorithm_mD3F3C0B83D3F2F2F384895C287C95AEACC9D237B(__this, L_0, L_1, L_2, /*hidden argument*/NULL);
V_1 = L_3;
}
IL_000c:
try
{ // begin try (depth: 1)
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_4 = V_1;
NullCheck(L_4);
RuntimeObject* L_5 = VirtFuncInvoker0< RuntimeObject* >::Invoke(20 /* System.Security.Cryptography.ICryptoTransform System.Security.Cryptography.SymmetricAlgorithm::CreateEncryptor() */, L_4);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ___data3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = ___data3;
NullCheck(L_7);
NullCheck(L_5);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_8 = InterfaceFuncInvoker3< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*, int32_t, int32_t >::Invoke(4 /* System.Byte[] System.Security.Cryptography.ICryptoTransform::TransformFinalBlock(System.Byte[],System.Int32,System.Int32) */, ICryptoTransform_t43C29A7F3A8C2DDAC9F3BF9BF739B03E4D5DE9A9_il2cpp_TypeInfo_var, L_5, L_6, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))));
V_0 = L_8;
IL2CPP_LEAVE(0x2B, FINALLY_0021);
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0021;
}
FINALLY_0021:
{ // begin finally (depth: 1)
{
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_9 = V_1;
if (!L_9)
{
goto IL_002a;
}
}
IL_0024:
{
SymmetricAlgorithm_t0A2EC7E7AD8B8976832B4F0AC432B691F862E789 * L_10 = V_1;
NullCheck(L_10);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_10);
}
IL_002a:
{
IL2CPP_END_FINALLY(33)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(33)
{
IL2CPP_JUMP_TBL(0x2B, IL_002b)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_002b:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = V_0;
return L_11;
}
}
// System.Security.Cryptography.DSAParameters Mono.Security.X509.PKCS12::GetExistingParameters(System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 PKCS12_GetExistingParameters_mA087BFAB5B05292523844A22873E72CAEBF5500F (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, bool* ___found0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_GetExistingParameters_mA087BFAB5B05292523844A22873E72CAEBF5500F_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * V_0 = NULL;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * V_1 = NULL;
DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * V_2 = NULL;
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 V_3;
memset((&V_3), 0, sizeof(V_3));
RuntimeObject* V_4 = NULL;
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 V_5;
memset((&V_5), 0, sizeof(V_5));
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * L_0 = PKCS12_get_Certificates_mB8B81E86E481809CAB88C4657FDFCA67FE5190F4(__this, /*hidden argument*/NULL);
NullCheck(L_0);
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * L_1 = X509CertificateCollection_GetEnumerator_mE786AA0C41503620161D81E4D9172932564BAB4C(L_0, /*hidden argument*/NULL);
V_0 = L_1;
}
IL_000c:
try
{ // begin try (depth: 1)
{
goto IL_0034;
}
IL_000e:
{
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * L_2 = V_0;
NullCheck(L_2);
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_3 = X509CertificateEnumerator_get_Current_m68306EF52C95B315E36054119C0422ACAF95C09F(L_2, /*hidden argument*/NULL);
V_1 = L_3;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_4 = V_1;
NullCheck(L_4);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(7 /* System.Byte[] Mono.Security.X509.X509Certificate::get_KeyAlgorithmParameters() */, L_4);
if (!L_5)
{
goto IL_0034;
}
}
IL_001d:
{
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_6 = V_1;
NullCheck(L_6);
DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * L_7 = X509Certificate_get_DSA_m7C3868DFAC7C067D09A324C348D7461D70E10F7F(L_6, /*hidden argument*/NULL);
V_2 = L_7;
DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * L_8 = V_2;
if (!L_8)
{
goto IL_0034;
}
}
IL_0027:
{
bool* L_9 = ___found0;
*((int8_t*)L_9) = (int8_t)1;
DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * L_10 = V_2;
NullCheck(L_10);
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 L_11 = VirtFuncInvoker1< DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 , bool >::Invoke(10 /* System.Security.Cryptography.DSAParameters System.Security.Cryptography.DSA::ExportParameters(System.Boolean) */, L_10, (bool)0);
V_3 = L_11;
IL2CPP_LEAVE(0x60, FINALLY_003e);
}
IL_0034:
{
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * L_12 = V_0;
NullCheck(L_12);
bool L_13 = X509CertificateEnumerator_MoveNext_m9E88A7C9685146F7E558267D7D828711C5E898F4(L_12, /*hidden argument*/NULL);
if (L_13)
{
goto IL_000e;
}
}
IL_003c:
{
IL2CPP_LEAVE(0x52, FINALLY_003e);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003e;
}
FINALLY_003e:
{ // begin finally (depth: 1)
{
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * L_14 = V_0;
V_4 = ((RuntimeObject*)IsInst((RuntimeObject*)L_14, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_15 = V_4;
if (!L_15)
{
goto IL_0051;
}
}
IL_004a:
{
RuntimeObject* L_16 = V_4;
NullCheck(L_16);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_16);
}
IL_0051:
{
IL2CPP_END_FINALLY(62)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(62)
{
IL2CPP_JUMP_TBL(0x60, IL_0060)
IL2CPP_JUMP_TBL(0x52, IL_0052)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0052:
{
bool* L_17 = ___found0;
*((int8_t*)L_17) = (int8_t)0;
il2cpp_codegen_initobj((&V_5), sizeof(DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 ));
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 L_18 = V_5;
return L_18;
}
IL_0060:
{
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 L_19 = V_3;
return L_19;
}
}
// System.Void Mono.Security.X509.PKCS12::AddPrivateKey(Mono.Security.Cryptography.PKCS8_PrivateKeyInfo)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_AddPrivateKey_m1197B452390B9CF1EB0E9F091AB0757EBF5A2697 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * ___pki0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_AddPrivateKey_m1197B452390B9CF1EB0E9F091AB0757EBF5A2697_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
uint8_t V_1 = 0x0;
bool V_2 = false;
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 V_3;
memset((&V_3), 0, sizeof(V_3));
{
PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * L_0 = ___pki0;
NullCheck(L_0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = PrivateKeyInfo_get_PrivateKey_mC390394E64E5FE39B4A833E7D91CF20A899179FA(L_0, /*hidden argument*/NULL);
V_0 = L_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = 0;
uint8_t L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
V_1 = L_4;
uint8_t L_5 = V_1;
if ((((int32_t)L_5) == ((int32_t)2)))
{
goto IL_0016;
}
}
{
uint8_t L_6 = V_1;
if ((((int32_t)L_6) == ((int32_t)((int32_t)48))))
{
goto IL_0037;
}
}
{
goto IL_004b;
}
IL_0016:
{
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 L_7 = PKCS12_GetExistingParameters_mA087BFAB5B05292523844A22873E72CAEBF5500F(__this, (bool*)(&V_2), /*hidden argument*/NULL);
V_3 = L_7;
bool L_8 = V_2;
if (!L_8)
{
goto IL_0060;
}
}
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_9 = __this->get__keyBags_1();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = V_0;
DSAParameters_tCA1A96A151F47B1904693C457243E3B919425AC6 L_11 = V_3;
DSA_t932F4A94DD2B782BFFC197544398826E6CDB64CF * L_12 = PrivateKeyInfo_DecodeDSA_m705D495634A3F9F97D73FA4FC995352DF5A3F5EF(L_10, L_11, /*hidden argument*/NULL);
NullCheck(L_9);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_9, L_12);
goto IL_0060;
}
IL_0037:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_13 = __this->get__keyBags_1();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = V_0;
RSA_tB6C4B434B2AC02E3F8981DB2908C2018E251D145 * L_15 = PrivateKeyInfo_DecodeRSA_m47EEB9282E7E66ED9256F2097B4E5C757B79B080(L_14, /*hidden argument*/NULL);
NullCheck(L_13);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_13, L_15);
goto IL_0060;
}
IL_004b:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = V_0;
NullCheck(L_17);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_16, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))), /*hidden argument*/NULL);
CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A * L_18 = (CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A *)il2cpp_codegen_object_new(CryptographicException_t67ABE4FAB48298C9DF4C5E37E4C8F20AA601F15A_il2cpp_TypeInfo_var);
CryptographicException__ctor_m0A5D357C12F9A830A9EBC51723094EBA5B854B98(L_18, _stringLiteral5946ACD155491E90D92E508F3BC09953839635A6, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_18, NULL, PKCS12_AddPrivateKey_m1197B452390B9CF1EB0E9F091AB0757EBF5A2697_RuntimeMethod_var);
}
IL_0060:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_19 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = V_0;
NullCheck(L_20);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_19, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_20)->max_length)))), /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12::ReadSafeBag(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___safeBag0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_0 = NULL;
String_t* V_1 = NULL;
EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * V_2 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_3 = NULL;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * V_4 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_5 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_6 = NULL;
int32_t V_7 = 0;
String_t* V_8 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_9 = NULL;
int32_t V_10 = 0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_11 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B4_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B3_0 = NULL;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * G_B15_0 = NULL;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * G_B14_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B24_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B23_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B26_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B26_1 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B25_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * G_B25_1 = NULL;
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = ___safeBag0;
NullCheck(L_0);
uint8_t L_1 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_0, /*hidden argument*/NULL);
if ((((int32_t)L_1) == ((int32_t)((int32_t)48))))
{
goto IL_0015;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_2 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_2, _stringLiteral2148F912D5521151B4B4FCF9E3FA7841DB561995, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, NULL, PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B_RuntimeMethod_var);
}
IL_0015:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_3 = ___safeBag0;
NullCheck(L_3);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_4 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_3, 0, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_5 = L_4;
NullCheck(L_5);
uint8_t L_6 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_5, /*hidden argument*/NULL);
G_B3_0 = L_5;
if ((((int32_t)L_6) == ((int32_t)6)))
{
G_B4_0 = L_5;
goto IL_0030;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_7 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_7, _stringLiteral43CE8C8760C0F57C8E735CF657FC12BA30A8B65B, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, NULL, PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B_RuntimeMethod_var);
}
IL_0030:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_8 = ___safeBag0;
NullCheck(L_8);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_9 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_8, 1, /*hidden argument*/NULL);
V_0 = L_9;
String_t* L_10 = ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A(G_B4_0, /*hidden argument*/NULL);
V_1 = L_10;
String_t* L_11 = V_1;
bool L_12 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_11, _stringLiteral2F280ADB68040B360D7B03B819A13379B799EFAB, /*hidden argument*/NULL);
if (L_12)
{
goto IL_009d;
}
}
{
String_t* L_13 = V_1;
bool L_14 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_13, _stringLiteral3F556C2B89C9D40F8FCB8B45DB88D9BA3BDB25A7, /*hidden argument*/NULL);
if (L_14)
{
goto IL_00b3;
}
}
{
String_t* L_15 = V_1;
bool L_16 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_15, _stringLiteralF02768AE02EDF48DA977F708A0513A95FDC0F733, /*hidden argument*/NULL);
if (L_16)
{
goto IL_00f6;
}
}
{
String_t* L_17 = V_1;
bool L_18 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_17, _stringLiteral2585FC37E8BD5E0ABA0AA8CAD9C47283C578EBD3, /*hidden argument*/NULL);
if (L_18)
{
goto IL_0168;
}
}
{
String_t* L_19 = V_1;
bool L_20 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_19, _stringLiteralD9D28254BE2512FBA8D1D209322E0B1B22D90CEE, /*hidden argument*/NULL);
if (L_20)
{
goto IL_0145;
}
}
{
String_t* L_21 = V_1;
bool L_22 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_21, _stringLiteralC2FFDAF1F4D54001A31179F5FE1D57F557C4FBDC, /*hidden argument*/NULL);
if (L_22)
{
goto IL_0168;
}
}
{
goto IL_015d;
}
IL_009d:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_23 = V_0;
NullCheck(L_23);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_23, /*hidden argument*/NULL);
PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * L_25 = (PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 *)il2cpp_codegen_object_new(PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9_il2cpp_TypeInfo_var);
PrivateKeyInfo__ctor_m4FE1CE37466756FCCAD2C7320E6E8E8B0D4D603A(L_25, L_24, /*hidden argument*/NULL);
PKCS12_AddPrivateKey_m1197B452390B9CF1EB0E9F091AB0757EBF5A2697(__this, L_25, /*hidden argument*/NULL);
goto IL_0168;
}
IL_00b3:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_26 = V_0;
NullCheck(L_26);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_27 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_26, /*hidden argument*/NULL);
EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * L_28 = (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D *)il2cpp_codegen_object_new(EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D_il2cpp_TypeInfo_var);
EncryptedPrivateKeyInfo__ctor_mB2FBC3DDB156046CBB737280E490994A3B20362A(L_28, L_27, /*hidden argument*/NULL);
V_2 = L_28;
EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * L_29 = V_2;
NullCheck(L_29);
String_t* L_30 = EncryptedPrivateKeyInfo_get_Algorithm_m93A361B3EE1EDF57B8D83ECF187CD75E6B45A9D9_inline(L_29, /*hidden argument*/NULL);
EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * L_31 = V_2;
NullCheck(L_31);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_32 = EncryptedPrivateKeyInfo_get_Salt_mF231C0F3BC06F402910179312CC9245911450C4B(L_31, /*hidden argument*/NULL);
EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * L_33 = V_2;
NullCheck(L_33);
int32_t L_34 = EncryptedPrivateKeyInfo_get_IterationCount_m3CD06665FBE6C8B3965AA0D870B702A4E6F833FC_inline(L_33, /*hidden argument*/NULL);
EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * L_35 = V_2;
NullCheck(L_35);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = EncryptedPrivateKeyInfo_get_EncryptedData_m0EB3C77C669117FCB3E0A5DA1758F9B0A18573D3(L_35, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_37 = PKCS12_Decrypt_m31927063D7A8B21C5E2B81F0879117F269B2F340(__this, L_30, L_32, L_34, L_36, /*hidden argument*/NULL);
V_3 = L_37;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_38 = V_3;
PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 * L_39 = (PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9 *)il2cpp_codegen_object_new(PrivateKeyInfo_t053A73C524EC661748073EC908D290E2856DB5B9_il2cpp_TypeInfo_var);
PrivateKeyInfo__ctor_m4FE1CE37466756FCCAD2C7320E6E8E8B0D4D603A(L_39, L_38, /*hidden argument*/NULL);
PKCS12_AddPrivateKey_m1197B452390B9CF1EB0E9F091AB0757EBF5A2697(__this, L_39, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_40 = V_3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_41 = V_3;
NullCheck(L_41);
Array_Clear_m174F4957D6DEDB6359835123005304B14E79132E((RuntimeArray *)(RuntimeArray *)L_40, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_41)->max_length)))), /*hidden argument*/NULL);
goto IL_0168;
}
IL_00f6:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_42 = V_0;
NullCheck(L_42);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_43 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_42, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_44 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_mFFDEEE8545287FC5A22740B7E06F6D64D401E196(L_44, L_43, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_45 = L_44;
NullCheck(L_45);
String_t* L_46 = ContentInfo_get_ContentType_m26D6492CA5D227AAC583CFC4A898C056ACEC8196_inline(L_45, /*hidden argument*/NULL);
bool L_47 = String_op_Inequality_m0BD184A74F453A72376E81CC6CAEE2556B80493E(L_46, _stringLiteralC99B45DFFF89CE2609C9C3C74B70826509B7E817, /*hidden argument*/NULL);
G_B14_0 = L_45;
if (!L_47)
{
G_B15_0 = L_45;
goto IL_011e;
}
}
{
NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 * L_48 = (NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010 *)il2cpp_codegen_object_new(NotSupportedException_tE75B318D6590A02A5D9B29FD97409B1750FA0010_il2cpp_TypeInfo_var);
NotSupportedException__ctor_mD023A89A5C1F740F43F0A9CD6C49DC21230B3CEE(L_48, _stringLiteral2CFD4072F8990E79EAEA6A6C2045E74F87B56352, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_48, NULL, PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B_RuntimeMethod_var);
}
IL_011e:
{
NullCheck(G_B15_0);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_49 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(G_B15_0, /*hidden argument*/NULL);
NullCheck(L_49);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_50 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_49, 0, /*hidden argument*/NULL);
NullCheck(L_50);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_51 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_50, /*hidden argument*/NULL);
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_52 = (X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B *)il2cpp_codegen_object_new(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B_il2cpp_TypeInfo_var);
X509Certificate__ctor_mE2BC6649D450A36E902A2D6BEB50C49130411129(L_52, L_51, /*hidden argument*/NULL);
V_4 = L_52;
X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * L_53 = __this->get__certs_3();
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_54 = V_4;
NullCheck(L_53);
X509CertificateCollection_Add_mC060190867D9C5D182236A313FE912DFCCE1F785(L_53, L_54, /*hidden argument*/NULL);
goto IL_0168;
}
IL_0145:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_55 = V_0;
NullCheck(L_55);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_56 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_55, /*hidden argument*/NULL);
V_5 = L_56;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_57 = __this->get__secretBags_2();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_58 = V_5;
NullCheck(L_57);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_57, (RuntimeObject *)(RuntimeObject *)L_58);
goto IL_0168;
}
IL_015d:
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_59 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_59, _stringLiteralAC52213E99AFDA01D46868C80010237AC135927B, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_59, NULL, PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B_RuntimeMethod_var);
}
IL_0168:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_60 = ___safeBag0;
NullCheck(L_60);
int32_t L_61 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_60, /*hidden argument*/NULL);
if ((((int32_t)L_61) <= ((int32_t)2)))
{
goto IL_0261;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_62 = ___safeBag0;
NullCheck(L_62);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_63 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_62, 2, /*hidden argument*/NULL);
V_6 = L_63;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_64 = V_6;
NullCheck(L_64);
uint8_t L_65 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_64, /*hidden argument*/NULL);
if ((((int32_t)L_65) == ((int32_t)((int32_t)49))))
{
goto IL_0193;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_66 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_66, _stringLiteral85C0C834CC0B9B381C0FF7F8BBAC9285AF308AB0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_66, NULL, PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B_RuntimeMethod_var);
}
IL_0193:
{
V_7 = 0;
goto IL_0253;
}
IL_019b:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_67 = V_6;
int32_t L_68 = V_7;
NullCheck(L_67);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_69 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_67, L_68, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_70 = L_69;
NullCheck(L_70);
uint8_t L_71 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_70, /*hidden argument*/NULL);
G_B23_0 = L_70;
if ((((int32_t)L_71) == ((int32_t)((int32_t)48))))
{
G_B24_0 = L_70;
goto IL_01b9;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_72 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_72, _stringLiteral471DB6AD83C76628B068C830D0269B041596AEAA, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_72, NULL, PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B_RuntimeMethod_var);
}
IL_01b9:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_73 = G_B24_0;
NullCheck(L_73);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_74 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_73, 0, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_75 = L_74;
NullCheck(L_75);
uint8_t L_76 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_75, /*hidden argument*/NULL);
G_B25_0 = L_75;
G_B25_1 = L_73;
if ((((int32_t)L_76) == ((int32_t)6)))
{
G_B26_0 = L_75;
G_B26_1 = L_73;
goto IL_01d4;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_77 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_77, _stringLiteral44E5C4B7066508335FF9B48BB0D5A05575F2001B, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_77, NULL, PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B_RuntimeMethod_var);
}
IL_01d4:
{
String_t* L_78 = ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A(G_B26_0, /*hidden argument*/NULL);
V_8 = L_78;
NullCheck(G_B26_1);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_79 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(G_B26_1, 1, /*hidden argument*/NULL);
V_9 = L_79;
V_10 = 0;
goto IL_0242;
}
IL_01e8:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_80 = V_9;
int32_t L_81 = V_10;
NullCheck(L_80);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_82 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_80, L_81, /*hidden argument*/NULL);
V_11 = L_82;
String_t* L_83 = V_8;
bool L_84 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_83, _stringLiteral475F6403296A11AD7C5C0A2C315474FAE9953448, /*hidden argument*/NULL);
if (L_84)
{
goto IL_0211;
}
}
{
String_t* L_85 = V_8;
bool L_86 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_85, _stringLiteral6CB177B80C57F442434FADF5878CCBB93AE352D6, /*hidden argument*/NULL);
if (L_86)
{
goto IL_0227;
}
}
{
goto IL_023c;
}
IL_0211:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_87 = V_11;
NullCheck(L_87);
uint8_t L_88 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_87, /*hidden argument*/NULL);
if ((((int32_t)L_88) == ((int32_t)((int32_t)30))))
{
goto IL_023c;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_89 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_89, _stringLiteral16B16DE39EAF0CBCF65105A574643EF876F34376, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_89, NULL, PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B_RuntimeMethod_var);
}
IL_0227:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_90 = V_11;
NullCheck(L_90);
uint8_t L_91 = ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline(L_90, /*hidden argument*/NULL);
if ((((int32_t)L_91) == ((int32_t)4)))
{
goto IL_023c;
}
}
{
ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 * L_92 = (ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1 *)il2cpp_codegen_object_new(ArgumentException_tEDCD16F20A09ECE461C3DA766C16EDA8864057D1_il2cpp_TypeInfo_var);
ArgumentException__ctor_m9A85EF7FEFEC21DDD525A67E831D77278E5165B7(L_92, _stringLiteral16B16DE39EAF0CBCF65105A574643EF876F34376, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_92, NULL, PKCS12_ReadSafeBag_m054D3F397B2D07EBD0ECDA6575D16EAA5AAE1B7B_RuntimeMethod_var);
}
IL_023c:
{
int32_t L_93 = V_10;
V_10 = ((int32_t)il2cpp_codegen_add((int32_t)L_93, (int32_t)1));
}
IL_0242:
{
int32_t L_94 = V_10;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_95 = V_9;
NullCheck(L_95);
int32_t L_96 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_95, /*hidden argument*/NULL);
if ((((int32_t)L_94) < ((int32_t)L_96)))
{
goto IL_01e8;
}
}
{
int32_t L_97 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_97, (int32_t)1));
}
IL_0253:
{
int32_t L_98 = V_7;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_99 = V_6;
NullCheck(L_99);
int32_t L_100 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_99, /*hidden argument*/NULL);
if ((((int32_t)L_98) < ((int32_t)L_100)))
{
goto IL_019b;
}
}
IL_0261:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_101 = __this->get__safeBags_8();
String_t* L_102 = V_1;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_103 = ___safeBag0;
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_104 = (SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 *)il2cpp_codegen_object_new(SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726_il2cpp_TypeInfo_var);
SafeBag__ctor_mA72466DEC40046A944E2120A27BEFD3D2EAD57B7(L_104, L_102, L_103, /*hidden argument*/NULL);
NullCheck(L_101);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_101, L_104);
return;
}
}
// Mono.Security.ASN1 Mono.Security.X509.PKCS12::CertificateSafeBag(Mono.Security.X509.X509Certificate,System.Collections.IDictionary)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * PKCS12_CertificateSafeBag_mD0DD83647F65C3ABAE16740304102EFD7495FB73 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * ___x5090, RuntimeObject* ___attributes1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_CertificateSafeBag_mD0DD83647F65C3ABAE16740304102EFD7495FB73_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_0 = NULL;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * V_1 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_2 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_3 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_4 = NULL;
RuntimeObject* V_5 = NULL;
String_t* V_6 = NULL;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * V_7 = NULL;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * V_8 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_9 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_10 = NULL;
RuntimeObject* V_11 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_12 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_13 = NULL;
RuntimeObject* V_14 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_15 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_16 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_17 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_18 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 2);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_0 = ___x5090;
NullCheck(L_0);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(11 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_0);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_2 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(L_2, (uint8_t)4, L_1, /*hidden argument*/NULL);
V_0 = L_2;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_3 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_mEE9D9E1E66FBF3DA3414423F0D4216E40C625BFA(L_3, /*hidden argument*/NULL);
V_1 = L_3;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_4 = V_1;
NullCheck(L_4);
ContentInfo_set_ContentType_m4FEE943D01600FC088408F7E20C5E1667CB5BA21_inline(L_4, _stringLiteralC99B45DFFF89CE2609C9C3C74B70826509B7E817, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_5 = V_1;
NullCheck(L_5);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_6 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(L_5, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_7 = V_0;
NullCheck(L_6);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_6, L_7, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_8 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_8, (uint8_t)((int32_t)160), /*hidden argument*/NULL);
V_2 = L_8;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_9 = V_2;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_10 = V_1;
NullCheck(L_10);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_11 = ContentInfo_get_ASN1_mE290789431E97C3AF43911BB56FBE15C6D799411(L_10, /*hidden argument*/NULL);
NullCheck(L_9);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_9, L_11, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_12 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_12, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_3 = L_12;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_13 = V_3;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_14 = ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462(_stringLiteralF02768AE02EDF48DA977F708A0513A95FDC0F733, /*hidden argument*/NULL);
NullCheck(L_13);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_13, L_14, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_15 = V_3;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_16 = V_2;
NullCheck(L_15);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_15, L_16, /*hidden argument*/NULL);
RuntimeObject* L_17 = ___attributes1;
if (!L_17)
{
goto IL_0225;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_18 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_18, (uint8_t)((int32_t)49), /*hidden argument*/NULL);
V_4 = L_18;
RuntimeObject* L_19 = ___attributes1;
NullCheck(L_19);
RuntimeObject* L_20 = InterfaceFuncInvoker0< RuntimeObject* >::Invoke(2 /* System.Collections.IDictionaryEnumerator System.Collections.IDictionary::GetEnumerator() */, IDictionary_t1BD5C1546718A374EA8122FBD6C6EE45331E8CE7_il2cpp_TypeInfo_var, L_19);
V_5 = L_20;
goto IL_0206;
}
IL_0080:
{
RuntimeObject* L_21 = V_5;
NullCheck(L_21);
RuntimeObject * L_22 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(0 /* System.Object System.Collections.IDictionaryEnumerator::get_Key() */, IDictionaryEnumerator_t456EB67407D2045A257B66A3A25A825E883FD027_il2cpp_TypeInfo_var, L_21);
V_6 = ((String_t*)CastclassSealed((RuntimeObject*)L_22, String_t_il2cpp_TypeInfo_var));
String_t* L_23 = V_6;
bool L_24 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_23, _stringLiteral475F6403296A11AD7C5C0A2C315474FAE9953448, /*hidden argument*/NULL);
if (L_24)
{
goto IL_00b2;
}
}
{
String_t* L_25 = V_6;
bool L_26 = String_op_Equality_m139F0E4195AE2F856019E63B241F36F016997FCE(L_25, _stringLiteral6CB177B80C57F442434FADF5878CCBB93AE352D6, /*hidden argument*/NULL);
if (L_26)
{
goto IL_015f;
}
}
{
goto IL_0206;
}
IL_00b2:
{
RuntimeObject* L_27 = V_5;
NullCheck(L_27);
RuntimeObject * L_28 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IDictionaryEnumerator::get_Value() */, IDictionaryEnumerator_t456EB67407D2045A257B66A3A25A825E883FD027_il2cpp_TypeInfo_var, L_27);
V_7 = ((ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 *)CastclassClass((RuntimeObject*)L_28, ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var));
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_29 = V_7;
NullCheck(L_29);
int32_t L_30 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_29);
if ((((int32_t)L_30) <= ((int32_t)0)))
{
goto IL_0206;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_31 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_31, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_9 = L_31;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_32 = V_9;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_33 = ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462(_stringLiteral475F6403296A11AD7C5C0A2C315474FAE9953448, /*hidden argument*/NULL);
NullCheck(L_32);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_32, L_33, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_34 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_34, (uint8_t)((int32_t)49), /*hidden argument*/NULL);
V_10 = L_34;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_35 = V_7;
NullCheck(L_35);
RuntimeObject* L_36 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_35);
V_11 = L_36;
}
IL_00fa:
try
{ // begin try (depth: 1)
{
goto IL_0126;
}
IL_00fc:
{
RuntimeObject* L_37 = V_11;
NullCheck(L_37);
RuntimeObject * L_38 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_37);
V_12 = ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_38, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_39 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_39, (uint8_t)((int32_t)30), /*hidden argument*/NULL);
V_13 = L_39;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_40 = V_13;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_41 = V_12;
NullCheck(L_40);
ASN1_set_Value_m225FF9AC03EA872809C7742070A34A264C58588E(L_40, L_41, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_42 = V_10;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_43 = V_13;
NullCheck(L_42);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_42, L_43, /*hidden argument*/NULL);
}
IL_0126:
{
RuntimeObject* L_44 = V_11;
NullCheck(L_44);
bool L_45 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_44);
if (L_45)
{
goto IL_00fc;
}
}
IL_012f:
{
IL2CPP_LEAVE(0x146, FINALLY_0131);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0131;
}
FINALLY_0131:
{ // begin finally (depth: 1)
{
RuntimeObject* L_46 = V_11;
V_14 = ((RuntimeObject*)IsInst((RuntimeObject*)L_46, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_47 = V_14;
if (!L_47)
{
goto IL_0145;
}
}
IL_013e:
{
RuntimeObject* L_48 = V_14;
NullCheck(L_48);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_48);
}
IL_0145:
{
IL2CPP_END_FINALLY(305)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(305)
{
IL2CPP_JUMP_TBL(0x146, IL_0146)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0146:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_49 = V_9;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_50 = V_10;
NullCheck(L_49);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_49, L_50, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_51 = V_4;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_52 = V_9;
NullCheck(L_51);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_51, L_52, /*hidden argument*/NULL);
goto IL_0206;
}
IL_015f:
{
RuntimeObject* L_53 = V_5;
NullCheck(L_53);
RuntimeObject * L_54 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IDictionaryEnumerator::get_Value() */, IDictionaryEnumerator_t456EB67407D2045A257B66A3A25A825E883FD027_il2cpp_TypeInfo_var, L_53);
V_8 = ((ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 *)CastclassClass((RuntimeObject*)L_54, ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var));
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_55 = V_8;
NullCheck(L_55);
int32_t L_56 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_55);
if ((((int32_t)L_56) <= ((int32_t)0)))
{
goto IL_0206;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_57 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_57, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_15 = L_57;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_58 = V_15;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_59 = ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462(_stringLiteral6CB177B80C57F442434FADF5878CCBB93AE352D6, /*hidden argument*/NULL);
NullCheck(L_58);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_58, L_59, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_60 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_60, (uint8_t)((int32_t)49), /*hidden argument*/NULL);
V_16 = L_60;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_61 = V_8;
NullCheck(L_61);
RuntimeObject* L_62 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_61);
V_11 = L_62;
}
IL_01a7:
try
{ // begin try (depth: 1)
{
goto IL_01d2;
}
IL_01a9:
{
RuntimeObject* L_63 = V_11;
NullCheck(L_63);
RuntimeObject * L_64 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_63);
V_17 = ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_64, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_65 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_65, (uint8_t)4, /*hidden argument*/NULL);
V_18 = L_65;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_66 = V_18;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_67 = V_17;
NullCheck(L_66);
ASN1_set_Value_m225FF9AC03EA872809C7742070A34A264C58588E(L_66, L_67, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_68 = V_16;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_69 = V_18;
NullCheck(L_68);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_68, L_69, /*hidden argument*/NULL);
}
IL_01d2:
{
RuntimeObject* L_70 = V_11;
NullCheck(L_70);
bool L_71 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_70);
if (L_71)
{
goto IL_01a9;
}
}
IL_01db:
{
IL2CPP_LEAVE(0x1F2, FINALLY_01dd);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01dd;
}
FINALLY_01dd:
{ // begin finally (depth: 1)
{
RuntimeObject* L_72 = V_11;
V_14 = ((RuntimeObject*)IsInst((RuntimeObject*)L_72, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_73 = V_14;
if (!L_73)
{
goto IL_01f1;
}
}
IL_01ea:
{
RuntimeObject* L_74 = V_14;
NullCheck(L_74);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_74);
}
IL_01f1:
{
IL2CPP_END_FINALLY(477)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(477)
{
IL2CPP_JUMP_TBL(0x1F2, IL_01f2)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01f2:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_75 = V_15;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_76 = V_16;
NullCheck(L_75);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_75, L_76, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_77 = V_4;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_78 = V_15;
NullCheck(L_77);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_77, L_78, /*hidden argument*/NULL);
}
IL_0206:
{
RuntimeObject* L_79 = V_5;
NullCheck(L_79);
bool L_80 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_79);
if (L_80)
{
goto IL_0080;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_81 = V_4;
NullCheck(L_81);
int32_t L_82 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_81, /*hidden argument*/NULL);
if ((((int32_t)L_82) <= ((int32_t)0)))
{
goto IL_0225;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_83 = V_3;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_84 = V_4;
NullCheck(L_83);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_83, L_84, /*hidden argument*/NULL);
}
IL_0225:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_85 = V_3;
return L_85;
}
}
// System.Byte[] Mono.Security.X509.PKCS12::MAC(System.Byte[],System.Byte[],System.Int32,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PKCS12_MAC_mA1250320B5F0B5C94D8532296AB59CC32B7A7E78 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___password0, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___salt1, int32_t ___iterations2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___data3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_MAC_mA1250320B5F0B5C94D8532296AB59CC32B7A7E78_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * V_0 = NULL;
{
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_0 = (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D *)il2cpp_codegen_object_new(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_il2cpp_TypeInfo_var);
DeriveBytes__ctor_mCF98BD3EFADD4D2F34101977C2B49258932F19C2(L_0, /*hidden argument*/NULL);
V_0 = L_0;
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_1 = V_0;
NullCheck(L_1);
DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline(L_1, _stringLiteralE1744A525099D9A53C0460EF9CB7AB0E4C4FC939, /*hidden argument*/NULL);
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_2 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = ___password0;
NullCheck(L_2);
DeriveBytes_set_Password_m01796801BB8FD1E5F9D62F48A057F936CE0D0E4D(L_2, L_3, /*hidden argument*/NULL);
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_4 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = ___salt1;
NullCheck(L_4);
DeriveBytes_set_Salt_m259A4E6B31DF7C039E776B473B4C5208890E8C5E(L_4, L_5, /*hidden argument*/NULL);
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_6 = V_0;
int32_t L_7 = ___iterations2;
NullCheck(L_6);
DeriveBytes_set_IterationCount_mFE67702E80E2748EA2B61D15E2E58CB9A4173143_inline(L_6, L_7, /*hidden argument*/NULL);
HMAC_t85BE56AD7946F3A3D42B52448301D8995DEB7C90 * L_8 = HMAC_Create_m865273728E60831137927C36E23E6F584383FD2B(/*hidden argument*/NULL);
HMACSHA1_t4E10C259BBC525A8E0ABEAE9EF01C8589F51FEE5 * L_9 = ((HMACSHA1_t4E10C259BBC525A8E0ABEAE9EF01C8589F51FEE5 *)CastclassClass((RuntimeObject*)L_8, HMACSHA1_t4E10C259BBC525A8E0ABEAE9EF01C8589F51FEE5_il2cpp_TypeInfo_var));
DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * L_10 = V_0;
NullCheck(L_10);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = DeriveBytes_DeriveMAC_mD54FB1F61CFC13258B46861CCE527A85CC62652D(L_10, ((int32_t)20), /*hidden argument*/NULL);
NullCheck(L_9);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(20 /* System.Void System.Security.Cryptography.KeyedHashAlgorithm::set_Key(System.Byte[]) */, L_9, L_11);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ___data3;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = ___data3;
NullCheck(L_13);
NullCheck(L_9);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = HashAlgorithm_ComputeHash_m944CD5B5BF66F170C9ACD2674E258E62ED297819(L_9, L_12, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))), /*hidden argument*/NULL);
return L_14;
}
}
// System.Byte[] Mono.Security.X509.PKCS12::GetBytes()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* PKCS12_GetBytes_m8621373F343293D4A64DED97DA2610BE6B6D7D73 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_GetBytes_m8621373F343293D4A64DED97DA2610BE6B6D7D73_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_0 = NULL;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * V_1 = NULL;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * V_2 = NULL;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * V_3 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_4 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_5 = NULL;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * V_6 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_7 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_8 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_9 = NULL;
RuntimeObject* V_10 = NULL;
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * V_11 = NULL;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * V_12 = NULL;
RuntimeObject* V_13 = NULL;
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * V_14 = NULL;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * V_15 = NULL;
bool V_16 = false;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * V_17 = NULL;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * V_18 = NULL;
bool V_19 = false;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * V_20 = NULL;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * V_21 = NULL;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * V_22 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_23 = NULL;
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * V_24 = NULL;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * V_25 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_26 = NULL;
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * V_27 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_28 = NULL;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * V_29 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_30 = NULL;
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * V_31 = NULL;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * V_32 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_33 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_34 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_35 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_36 = NULL;
Exception_t * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
void* __leave_targets_storage = alloca(sizeof(int32_t) * 10);
il2cpp::utils::LeaveTargetStack __leave_targets(__leave_targets_storage);
NO_UNUSED_WARNING (__leave_targets);
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_0, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_0 = L_0;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_1 = (ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 *)il2cpp_codegen_object_new(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var);
ArrayList__ctor_m481FA7B37620B59B8C0434A764F5705A6ABDEAE6(L_1, /*hidden argument*/NULL);
V_1 = L_1;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_2 = __this->get__safeBags_8();
NullCheck(L_2);
RuntimeObject* L_3 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_2);
V_10 = L_3;
}
IL_001b:
try
{ // begin try (depth: 1)
{
goto IL_0075;
}
IL_001d:
{
RuntimeObject* L_4 = V_10;
NullCheck(L_4);
RuntimeObject * L_5 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_4);
V_11 = ((SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 *)CastclassClass((RuntimeObject*)L_5, SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726_il2cpp_TypeInfo_var));
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_6 = V_11;
NullCheck(L_6);
String_t* L_7 = SafeBag_get_BagOID_m111CD6142B7D3C61FB45932B8EF9A635D80244B5_inline(L_6, /*hidden argument*/NULL);
NullCheck(L_7);
bool L_8 = String_Equals_m9C4D78DFA0979504FE31429B64A4C26DF48020D1(L_7, _stringLiteralF02768AE02EDF48DA977F708A0513A95FDC0F733, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0075;
}
}
IL_003e:
{
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_9 = V_11;
NullCheck(L_9);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = SafeBag_get_ASN1_m77708924A6B21495CB27668AB3CDCC844724AAD1_inline(L_9, /*hidden argument*/NULL);
NullCheck(L_10);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_11 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_10, 1, /*hidden argument*/NULL);
NullCheck(L_11);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_11, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_13 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_mFFDEEE8545287FC5A22740B7E06F6D64D401E196(L_13, L_12, /*hidden argument*/NULL);
V_12 = L_13;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_14 = V_1;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_15 = V_12;
NullCheck(L_15);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_16 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(L_15, /*hidden argument*/NULL);
NullCheck(L_16);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_17 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_16, 0, /*hidden argument*/NULL);
NullCheck(L_17);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_17, /*hidden argument*/NULL);
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_19 = (X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B *)il2cpp_codegen_object_new(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B_il2cpp_TypeInfo_var);
X509Certificate__ctor_mE2BC6649D450A36E902A2D6BEB50C49130411129(L_19, L_18, /*hidden argument*/NULL);
NullCheck(L_14);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_14, L_19);
}
IL_0075:
{
RuntimeObject* L_20 = V_10;
NullCheck(L_20);
bool L_21 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_20);
if (L_21)
{
goto IL_001d;
}
}
IL_007e:
{
IL2CPP_LEAVE(0x95, FINALLY_0080);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0080;
}
FINALLY_0080:
{ // begin finally (depth: 1)
{
RuntimeObject* L_22 = V_10;
V_13 = ((RuntimeObject*)IsInst((RuntimeObject*)L_22, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_23 = V_13;
if (!L_23)
{
goto IL_0094;
}
}
IL_008d:
{
RuntimeObject* L_24 = V_13;
NullCheck(L_24);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_24);
}
IL_0094:
{
IL2CPP_END_FINALLY(128)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(128)
{
IL2CPP_JUMP_TBL(0x95, IL_0095)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0095:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_25 = (ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 *)il2cpp_codegen_object_new(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var);
ArrayList__ctor_m481FA7B37620B59B8C0434A764F5705A6ABDEAE6(L_25, /*hidden argument*/NULL);
V_2 = L_25;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_26 = (ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 *)il2cpp_codegen_object_new(ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var);
ArrayList__ctor_m481FA7B37620B59B8C0434A764F5705A6ABDEAE6(L_26, /*hidden argument*/NULL);
V_3 = L_26;
X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * L_27 = PKCS12_get_Certificates_mB8B81E86E481809CAB88C4657FDFCA67FE5190F4(__this, /*hidden argument*/NULL);
NullCheck(L_27);
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * L_28 = X509CertificateCollection_GetEnumerator_mE786AA0C41503620161D81E4D9172932564BAB4C(L_27, /*hidden argument*/NULL);
V_14 = L_28;
}
IL_00ae:
try
{ // begin try (depth: 1)
{
goto IL_011a;
}
IL_00b0:
{
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * L_29 = V_14;
NullCheck(L_29);
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_30 = X509CertificateEnumerator_get_Current_m68306EF52C95B315E36054119C0422ACAF95C09F(L_29, /*hidden argument*/NULL);
V_15 = L_30;
V_16 = (bool)0;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_31 = V_1;
NullCheck(L_31);
RuntimeObject* L_32 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_31);
V_10 = L_32;
}
IL_00c4:
try
{ // begin try (depth: 2)
{
goto IL_00ed;
}
IL_00c6:
{
RuntimeObject* L_33 = V_10;
NullCheck(L_33);
RuntimeObject * L_34 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_33);
V_17 = ((X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B *)CastclassClass((RuntimeObject*)L_34, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B_il2cpp_TypeInfo_var));
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_35 = V_15;
NullCheck(L_35);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_36 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(11 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_35);
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_37 = V_17;
NullCheck(L_37);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_38 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(11 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_37);
bool L_39 = PKCS12_Compare_m12F289CEDEFD3FCB171A1D84CFC3B38657041FDC(__this, L_36, L_38, /*hidden argument*/NULL);
if (!L_39)
{
goto IL_00ed;
}
}
IL_00ea:
{
V_16 = (bool)1;
}
IL_00ed:
{
RuntimeObject* L_40 = V_10;
NullCheck(L_40);
bool L_41 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_40);
if (L_41)
{
goto IL_00c6;
}
}
IL_00f6:
{
IL2CPP_LEAVE(0x10D, FINALLY_00f8);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00f8;
}
FINALLY_00f8:
{ // begin finally (depth: 2)
{
RuntimeObject* L_42 = V_10;
V_13 = ((RuntimeObject*)IsInst((RuntimeObject*)L_42, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_43 = V_13;
if (!L_43)
{
goto IL_010c;
}
}
IL_0105:
{
RuntimeObject* L_44 = V_13;
NullCheck(L_44);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_44);
}
IL_010c:
{
IL2CPP_END_FINALLY(248)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(248)
{
IL2CPP_JUMP_TBL(0x10D, IL_010d)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_010d:
{
bool L_45 = V_16;
if (L_45)
{
goto IL_011a;
}
}
IL_0111:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_46 = V_2;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_47 = V_15;
NullCheck(L_46);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_46, L_47);
}
IL_011a:
{
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * L_48 = V_14;
NullCheck(L_48);
bool L_49 = X509CertificateEnumerator_MoveNext_m9E88A7C9685146F7E558267D7D828711C5E898F4(L_48, /*hidden argument*/NULL);
if (L_49)
{
goto IL_00b0;
}
}
IL_0123:
{
IL2CPP_LEAVE(0x13A, FINALLY_0125);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0125;
}
FINALLY_0125:
{ // begin finally (depth: 1)
{
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * L_50 = V_14;
V_13 = ((RuntimeObject*)IsInst((RuntimeObject*)L_50, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_51 = V_13;
if (!L_51)
{
goto IL_0139;
}
}
IL_0132:
{
RuntimeObject* L_52 = V_13;
NullCheck(L_52);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_52);
}
IL_0139:
{
IL2CPP_END_FINALLY(293)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(293)
{
IL2CPP_JUMP_TBL(0x13A, IL_013a)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_013a:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_53 = V_1;
NullCheck(L_53);
RuntimeObject* L_54 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_53);
V_10 = L_54;
}
IL_0142:
try
{ // begin try (depth: 1)
{
goto IL_01b3;
}
IL_0144:
{
RuntimeObject* L_55 = V_10;
NullCheck(L_55);
RuntimeObject * L_56 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_55);
V_18 = ((X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B *)CastclassClass((RuntimeObject*)L_56, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B_il2cpp_TypeInfo_var));
V_19 = (bool)0;
X509CertificateCollection_t423BA1B9FAA983BA745023994C648C6DAC3E5A1A * L_57 = PKCS12_get_Certificates_mB8B81E86E481809CAB88C4657FDFCA67FE5190F4(__this, /*hidden argument*/NULL);
NullCheck(L_57);
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * L_58 = X509CertificateCollection_GetEnumerator_mE786AA0C41503620161D81E4D9172932564BAB4C(L_57, /*hidden argument*/NULL);
V_14 = L_58;
}
IL_0162:
try
{ // begin try (depth: 2)
{
goto IL_0186;
}
IL_0164:
{
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * L_59 = V_14;
NullCheck(L_59);
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_60 = X509CertificateEnumerator_get_Current_m68306EF52C95B315E36054119C0422ACAF95C09F(L_59, /*hidden argument*/NULL);
V_20 = L_60;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_61 = V_18;
NullCheck(L_61);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_62 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(11 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_61);
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_63 = V_20;
NullCheck(L_63);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_64 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(11 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_63);
bool L_65 = PKCS12_Compare_m12F289CEDEFD3FCB171A1D84CFC3B38657041FDC(__this, L_62, L_64, /*hidden argument*/NULL);
if (!L_65)
{
goto IL_0186;
}
}
IL_0183:
{
V_19 = (bool)1;
}
IL_0186:
{
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * L_66 = V_14;
NullCheck(L_66);
bool L_67 = X509CertificateEnumerator_MoveNext_m9E88A7C9685146F7E558267D7D828711C5E898F4(L_66, /*hidden argument*/NULL);
if (L_67)
{
goto IL_0164;
}
}
IL_018f:
{
IL2CPP_LEAVE(0x1A6, FINALLY_0191);
}
} // end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0191;
}
FINALLY_0191:
{ // begin finally (depth: 2)
{
X509CertificateEnumerator_t1CBC050F10F4BE1E2A8552A1F22E705013EBF505 * L_68 = V_14;
V_13 = ((RuntimeObject*)IsInst((RuntimeObject*)L_68, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_69 = V_13;
if (!L_69)
{
goto IL_01a5;
}
}
IL_019e:
{
RuntimeObject* L_70 = V_13;
NullCheck(L_70);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_70);
}
IL_01a5:
{
IL2CPP_END_FINALLY(401)
}
} // end finally (depth: 2)
IL2CPP_CLEANUP(401)
{
IL2CPP_JUMP_TBL(0x1A6, IL_01a6)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01a6:
{
bool L_71 = V_19;
if (L_71)
{
goto IL_01b3;
}
}
IL_01aa:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_72 = V_3;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_73 = V_18;
NullCheck(L_72);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_72, L_73);
}
IL_01b3:
{
RuntimeObject* L_74 = V_10;
NullCheck(L_74);
bool L_75 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_74);
if (L_75)
{
goto IL_0144;
}
}
IL_01bc:
{
IL2CPP_LEAVE(0x1D3, FINALLY_01be);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01be;
}
FINALLY_01be:
{ // begin finally (depth: 1)
{
RuntimeObject* L_76 = V_10;
V_13 = ((RuntimeObject*)IsInst((RuntimeObject*)L_76, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_77 = V_13;
if (!L_77)
{
goto IL_01d2;
}
}
IL_01cb:
{
RuntimeObject* L_78 = V_13;
NullCheck(L_78);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_78);
}
IL_01d2:
{
IL2CPP_END_FINALLY(446)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(446)
{
IL2CPP_JUMP_TBL(0x1D3, IL_01d3)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_01d3:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_79 = V_3;
NullCheck(L_79);
RuntimeObject* L_80 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_79);
V_10 = L_80;
}
IL_01db:
try
{ // begin try (depth: 1)
{
goto IL_01f3;
}
IL_01dd:
{
RuntimeObject* L_81 = V_10;
NullCheck(L_81);
RuntimeObject * L_82 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_81);
V_21 = ((X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B *)CastclassClass((RuntimeObject*)L_82, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B_il2cpp_TypeInfo_var));
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_83 = V_21;
PKCS12_RemoveCertificate_mE3594A106A1E0771DF835725966BC529F738DFCE(__this, L_83, /*hidden argument*/NULL);
}
IL_01f3:
{
RuntimeObject* L_84 = V_10;
NullCheck(L_84);
bool L_85 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_84);
if (L_85)
{
goto IL_01dd;
}
}
IL_01fc:
{
IL2CPP_LEAVE(0x213, FINALLY_01fe);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_01fe;
}
FINALLY_01fe:
{ // begin finally (depth: 1)
{
RuntimeObject* L_86 = V_10;
V_13 = ((RuntimeObject*)IsInst((RuntimeObject*)L_86, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_87 = V_13;
if (!L_87)
{
goto IL_0212;
}
}
IL_020b:
{
RuntimeObject* L_88 = V_13;
NullCheck(L_88);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_88);
}
IL_0212:
{
IL2CPP_END_FINALLY(510)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(510)
{
IL2CPP_JUMP_TBL(0x213, IL_0213)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0213:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_89 = V_2;
NullCheck(L_89);
RuntimeObject* L_90 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_89);
V_10 = L_90;
}
IL_021b:
try
{ // begin try (depth: 1)
{
goto IL_0233;
}
IL_021d:
{
RuntimeObject* L_91 = V_10;
NullCheck(L_91);
RuntimeObject * L_92 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_91);
V_22 = ((X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B *)CastclassClass((RuntimeObject*)L_92, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B_il2cpp_TypeInfo_var));
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_93 = V_22;
PKCS12_AddCertificate_m9D6DE2BF285B6BFCE1F8314438969020F5C3005D(__this, L_93, /*hidden argument*/NULL);
}
IL_0233:
{
RuntimeObject* L_94 = V_10;
NullCheck(L_94);
bool L_95 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_94);
if (L_95)
{
goto IL_021d;
}
}
IL_023c:
{
IL2CPP_LEAVE(0x253, FINALLY_023e);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_023e;
}
FINALLY_023e:
{ // begin finally (depth: 1)
{
RuntimeObject* L_96 = V_10;
V_13 = ((RuntimeObject*)IsInst((RuntimeObject*)L_96, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_97 = V_13;
if (!L_97)
{
goto IL_0252;
}
}
IL_024b:
{
RuntimeObject* L_98 = V_13;
NullCheck(L_98);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_98);
}
IL_0252:
{
IL2CPP_END_FINALLY(574)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(574)
{
IL2CPP_JUMP_TBL(0x253, IL_0253)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0253:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_99 = __this->get__safeBags_8();
NullCheck(L_99);
int32_t L_100 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_99);
if ((((int32_t)L_100) <= ((int32_t)0)))
{
goto IL_02f3;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_101 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_101, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_23 = L_101;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_102 = __this->get__safeBags_8();
NullCheck(L_102);
RuntimeObject* L_103 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_102);
V_10 = L_103;
}
IL_027a:
try
{ // begin try (depth: 1)
{
goto IL_02ac;
}
IL_027c:
{
RuntimeObject* L_104 = V_10;
NullCheck(L_104);
RuntimeObject * L_105 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_104);
V_24 = ((SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 *)CastclassClass((RuntimeObject*)L_105, SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726_il2cpp_TypeInfo_var));
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_106 = V_24;
NullCheck(L_106);
String_t* L_107 = SafeBag_get_BagOID_m111CD6142B7D3C61FB45932B8EF9A635D80244B5_inline(L_106, /*hidden argument*/NULL);
NullCheck(L_107);
bool L_108 = String_Equals_m9C4D78DFA0979504FE31429B64A4C26DF48020D1(L_107, _stringLiteralF02768AE02EDF48DA977F708A0513A95FDC0F733, /*hidden argument*/NULL);
if (!L_108)
{
goto IL_02ac;
}
}
IL_029d:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_109 = V_23;
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_110 = V_24;
NullCheck(L_110);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_111 = SafeBag_get_ASN1_m77708924A6B21495CB27668AB3CDCC844724AAD1_inline(L_110, /*hidden argument*/NULL);
NullCheck(L_109);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_109, L_111, /*hidden argument*/NULL);
}
IL_02ac:
{
RuntimeObject* L_112 = V_10;
NullCheck(L_112);
bool L_113 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_112);
if (L_113)
{
goto IL_027c;
}
}
IL_02b5:
{
IL2CPP_LEAVE(0x2CC, FINALLY_02b7);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_02b7;
}
FINALLY_02b7:
{ // begin finally (depth: 1)
{
RuntimeObject* L_114 = V_10;
V_13 = ((RuntimeObject*)IsInst((RuntimeObject*)L_114, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_115 = V_13;
if (!L_115)
{
goto IL_02cb;
}
}
IL_02c4:
{
RuntimeObject* L_116 = V_13;
NullCheck(L_116);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_116);
}
IL_02cb:
{
IL2CPP_END_FINALLY(695)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(695)
{
IL2CPP_JUMP_TBL(0x2CC, IL_02cc)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_02cc:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_117 = V_23;
NullCheck(L_117);
int32_t L_118 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_117, /*hidden argument*/NULL);
if ((((int32_t)L_118) <= ((int32_t)0)))
{
goto IL_02f3;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_119 = V_23;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_120 = PKCS12_EncryptedContentInfo_m1E71931C47F151A7B5AC985929B78FAED83C5E89(__this, L_119, _stringLiteral8123C11021D033CA8E67AEF3CA8B6BC4D85B977C, /*hidden argument*/NULL);
V_25 = L_120;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_121 = V_0;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_122 = V_25;
NullCheck(L_122);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_123 = ContentInfo_get_ASN1_mE290789431E97C3AF43911BB56FBE15C6D799411(L_122, /*hidden argument*/NULL);
NullCheck(L_121);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_121, L_123, /*hidden argument*/NULL);
}
IL_02f3:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_124 = __this->get__safeBags_8();
NullCheck(L_124);
int32_t L_125 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_124);
if ((((int32_t)L_125) <= ((int32_t)0)))
{
goto IL_03cd;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_126 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_126, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_26 = L_126;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_127 = __this->get__safeBags_8();
NullCheck(L_127);
RuntimeObject* L_128 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_127);
V_10 = L_128;
}
IL_031a:
try
{ // begin try (depth: 1)
{
goto IL_035f;
}
IL_031c:
{
RuntimeObject* L_129 = V_10;
NullCheck(L_129);
RuntimeObject * L_130 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_129);
V_27 = ((SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 *)CastclassClass((RuntimeObject*)L_130, SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726_il2cpp_TypeInfo_var));
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_131 = V_27;
NullCheck(L_131);
String_t* L_132 = SafeBag_get_BagOID_m111CD6142B7D3C61FB45932B8EF9A635D80244B5_inline(L_131, /*hidden argument*/NULL);
NullCheck(L_132);
bool L_133 = String_Equals_m9C4D78DFA0979504FE31429B64A4C26DF48020D1(L_132, _stringLiteral2F280ADB68040B360D7B03B819A13379B799EFAB, /*hidden argument*/NULL);
if (L_133)
{
goto IL_0350;
}
}
IL_033d:
{
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_134 = V_27;
NullCheck(L_134);
String_t* L_135 = SafeBag_get_BagOID_m111CD6142B7D3C61FB45932B8EF9A635D80244B5_inline(L_134, /*hidden argument*/NULL);
NullCheck(L_135);
bool L_136 = String_Equals_m9C4D78DFA0979504FE31429B64A4C26DF48020D1(L_135, _stringLiteral3F556C2B89C9D40F8FCB8B45DB88D9BA3BDB25A7, /*hidden argument*/NULL);
if (!L_136)
{
goto IL_035f;
}
}
IL_0350:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_137 = V_26;
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_138 = V_27;
NullCheck(L_138);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_139 = SafeBag_get_ASN1_m77708924A6B21495CB27668AB3CDCC844724AAD1_inline(L_138, /*hidden argument*/NULL);
NullCheck(L_137);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_137, L_139, /*hidden argument*/NULL);
}
IL_035f:
{
RuntimeObject* L_140 = V_10;
NullCheck(L_140);
bool L_141 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_140);
if (L_141)
{
goto IL_031c;
}
}
IL_0368:
{
IL2CPP_LEAVE(0x37F, FINALLY_036a);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_036a;
}
FINALLY_036a:
{ // begin finally (depth: 1)
{
RuntimeObject* L_142 = V_10;
V_13 = ((RuntimeObject*)IsInst((RuntimeObject*)L_142, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_143 = V_13;
if (!L_143)
{
goto IL_037e;
}
}
IL_0377:
{
RuntimeObject* L_144 = V_13;
NullCheck(L_144);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_144);
}
IL_037e:
{
IL2CPP_END_FINALLY(874)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(874)
{
IL2CPP_JUMP_TBL(0x37F, IL_037f)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_037f:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_145 = V_26;
NullCheck(L_145);
int32_t L_146 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_145, /*hidden argument*/NULL);
if ((((int32_t)L_146) <= ((int32_t)0)))
{
goto IL_03cd;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_147 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_147, (uint8_t)((int32_t)160), /*hidden argument*/NULL);
V_28 = L_147;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_148 = V_28;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_149 = V_26;
NullCheck(L_149);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_150 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_149);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_151 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(L_151, (uint8_t)4, L_150, /*hidden argument*/NULL);
NullCheck(L_148);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_148, L_151, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_152 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_mF21B31604F01A686DB03E30FEAE859A53A0E084A(L_152, _stringLiteral929E64373A1A3A451EAF8698A1D26A5C989E42EA, /*hidden argument*/NULL);
V_29 = L_152;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_153 = V_29;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_154 = V_28;
NullCheck(L_153);
ContentInfo_set_Content_m15B5D9A61236E1C116A9B5A651E80C5D78FB2598_inline(L_153, L_154, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_155 = V_0;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_156 = V_29;
NullCheck(L_156);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_157 = ContentInfo_get_ASN1_mE290789431E97C3AF43911BB56FBE15C6D799411(L_156, /*hidden argument*/NULL);
NullCheck(L_155);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_155, L_157, /*hidden argument*/NULL);
}
IL_03cd:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_158 = __this->get__safeBags_8();
NullCheck(L_158);
int32_t L_159 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_158);
if ((((int32_t)L_159) <= ((int32_t)0)))
{
goto IL_046d;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_160 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_160, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_30 = L_160;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_161 = __this->get__safeBags_8();
NullCheck(L_161);
RuntimeObject* L_162 = VirtFuncInvoker0< RuntimeObject* >::Invoke(32 /* System.Collections.IEnumerator System.Collections.ArrayList::GetEnumerator() */, L_161);
V_10 = L_162;
}
IL_03f4:
try
{ // begin try (depth: 1)
{
goto IL_0426;
}
IL_03f6:
{
RuntimeObject* L_163 = V_10;
NullCheck(L_163);
RuntimeObject * L_164 = InterfaceFuncInvoker0< RuntimeObject * >::Invoke(1 /* System.Object System.Collections.IEnumerator::get_Current() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_163);
V_31 = ((SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 *)CastclassClass((RuntimeObject*)L_164, SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726_il2cpp_TypeInfo_var));
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_165 = V_31;
NullCheck(L_165);
String_t* L_166 = SafeBag_get_BagOID_m111CD6142B7D3C61FB45932B8EF9A635D80244B5_inline(L_165, /*hidden argument*/NULL);
NullCheck(L_166);
bool L_167 = String_Equals_m9C4D78DFA0979504FE31429B64A4C26DF48020D1(L_166, _stringLiteralD9D28254BE2512FBA8D1D209322E0B1B22D90CEE, /*hidden argument*/NULL);
if (!L_167)
{
goto IL_0426;
}
}
IL_0417:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_168 = V_30;
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_169 = V_31;
NullCheck(L_169);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_170 = SafeBag_get_ASN1_m77708924A6B21495CB27668AB3CDCC844724AAD1_inline(L_169, /*hidden argument*/NULL);
NullCheck(L_168);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_168, L_170, /*hidden argument*/NULL);
}
IL_0426:
{
RuntimeObject* L_171 = V_10;
NullCheck(L_171);
bool L_172 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean System.Collections.IEnumerator::MoveNext() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_171);
if (L_172)
{
goto IL_03f6;
}
}
IL_042f:
{
IL2CPP_LEAVE(0x446, FINALLY_0431);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0431;
}
FINALLY_0431:
{ // begin finally (depth: 1)
{
RuntimeObject* L_173 = V_10;
V_13 = ((RuntimeObject*)IsInst((RuntimeObject*)L_173, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var));
RuntimeObject* L_174 = V_13;
if (!L_174)
{
goto IL_0445;
}
}
IL_043e:
{
RuntimeObject* L_175 = V_13;
NullCheck(L_175);
InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t7218B22548186B208D65EA5B7870503810A2D15A_il2cpp_TypeInfo_var, L_175);
}
IL_0445:
{
IL2CPP_END_FINALLY(1073)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(1073)
{
IL2CPP_JUMP_TBL(0x446, IL_0446)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
}
IL_0446:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_176 = V_30;
NullCheck(L_176);
int32_t L_177 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_176, /*hidden argument*/NULL);
if ((((int32_t)L_177) <= ((int32_t)0)))
{
goto IL_046d;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_178 = V_30;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_179 = PKCS12_EncryptedContentInfo_m1E71931C47F151A7B5AC985929B78FAED83C5E89(__this, L_178, _stringLiteral8123C11021D033CA8E67AEF3CA8B6BC4D85B977C, /*hidden argument*/NULL);
V_32 = L_179;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_180 = V_0;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_181 = V_32;
NullCheck(L_181);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_182 = ContentInfo_get_ASN1_mE290789431E97C3AF43911BB56FBE15C6D799411(L_181, /*hidden argument*/NULL);
NullCheck(L_180);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_180, L_182, /*hidden argument*/NULL);
}
IL_046d:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_183 = V_0;
NullCheck(L_183);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_184 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_183);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_185 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(L_185, (uint8_t)4, L_184, /*hidden argument*/NULL);
V_4 = L_185;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_186 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_186, (uint8_t)((int32_t)160), /*hidden argument*/NULL);
V_5 = L_186;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_187 = V_5;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_188 = V_4;
NullCheck(L_187);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_187, L_188, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_189 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_mF21B31604F01A686DB03E30FEAE859A53A0E084A(L_189, _stringLiteral929E64373A1A3A451EAF8698A1D26A5C989E42EA, /*hidden argument*/NULL);
V_6 = L_189;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_190 = V_6;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_191 = V_5;
NullCheck(L_190);
ContentInfo_set_Content_m15B5D9A61236E1C116A9B5A651E80C5D78FB2598_inline(L_190, L_191, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_192 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_192, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_7 = L_192;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_193 = __this->get__password_0();
if (!L_193)
{
goto IL_0571;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_194 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)20));
V_33 = L_194;
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_195 = PKCS12_get_RNG_m41E242AD5803360A10A8084A081F54F6D3402736(__this, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_196 = V_33;
NullCheck(L_195);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(6 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_195, L_196);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_197 = __this->get__password_0();
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_198 = V_33;
int32_t L_199 = __this->get__iterations_7();
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_200 = V_6;
NullCheck(L_200);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_201 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(L_200, /*hidden argument*/NULL);
NullCheck(L_201);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_202 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_201, 0, /*hidden argument*/NULL);
NullCheck(L_202);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_203 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_202, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_204 = PKCS12_MAC_mA1250320B5F0B5C94D8532296AB59CC32B7A7E78(__this, L_197, L_198, L_199, L_203, /*hidden argument*/NULL);
V_34 = L_204;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_205 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_205, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_35 = L_205;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_206 = V_35;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_207 = ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462(_stringLiteralA12083BADD146F221E05419C3C15DC0CB7D1A0F6, /*hidden argument*/NULL);
NullCheck(L_206);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_206, L_207, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_208 = V_35;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_209 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_209, (uint8_t)5, /*hidden argument*/NULL);
NullCheck(L_208);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_208, L_209, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_210 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_210, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_36 = L_210;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_211 = V_36;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_212 = V_35;
NullCheck(L_211);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_211, L_212, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_213 = V_36;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_214 = V_34;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_215 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(L_215, (uint8_t)4, L_214, /*hidden argument*/NULL);
NullCheck(L_213);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_213, L_215, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_216 = V_7;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_217 = V_36;
NullCheck(L_216);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_216, L_217, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_218 = V_7;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_219 = V_33;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_220 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(L_220, (uint8_t)4, L_219, /*hidden argument*/NULL);
NullCheck(L_218);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_218, L_220, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_221 = V_7;
int32_t L_222 = __this->get__iterations_7();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_223 = ASN1Convert_FromInt32_m59FF0922659B0A323026CCC0876BC33020C4FC9A(L_222, /*hidden argument*/NULL);
NullCheck(L_221);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_221, L_223, /*hidden argument*/NULL);
}
IL_0571:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_224 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_225 = L_224;
NullCheck(L_225);
(L_225)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)3);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_226 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(L_226, (uint8_t)2, L_225, /*hidden argument*/NULL);
V_8 = L_226;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_227 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_227, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_9 = L_227;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_228 = V_9;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_229 = V_8;
NullCheck(L_228);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_228, L_229, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_230 = V_9;
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_231 = V_6;
NullCheck(L_231);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_232 = ContentInfo_get_ASN1_mE290789431E97C3AF43911BB56FBE15C6D799411(L_231, /*hidden argument*/NULL);
NullCheck(L_230);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_230, L_232, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_233 = V_7;
NullCheck(L_233);
int32_t L_234 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_233, /*hidden argument*/NULL);
if ((((int32_t)L_234) <= ((int32_t)0)))
{
goto IL_05b9;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_235 = V_9;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_236 = V_7;
NullCheck(L_235);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_235, L_236, /*hidden argument*/NULL);
}
IL_05b9:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_237 = V_9;
NullCheck(L_237);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_238 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_237);
return L_238;
}
}
// Mono.Security.PKCS7_ContentInfo Mono.Security.X509.PKCS12::EncryptedContentInfo(Mono.Security.ASN1,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * PKCS12_EncryptedContentInfo_m1E71931C47F151A7B5AC985929B78FAED83C5E89 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___safeBags0, String_t* ___algorithmOid1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_EncryptedContentInfo_m1E71931C47F151A7B5AC985929B78FAED83C5E89_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_0 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_1 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_2 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_3 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_4 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_5 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_6 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_7 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_8 = NULL;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)8);
V_0 = L_0;
RandomNumberGenerator_t12277F7F965BA79C54E4B3BFABD27A5FFB725EE2 * L_1 = PKCS12_get_RNG_m41E242AD5803360A10A8084A081F54F6D3402736(__this, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = V_0;
NullCheck(L_1);
VirtActionInvoker1< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(6 /* System.Void System.Security.Cryptography.RandomNumberGenerator::GetBytes(System.Byte[]) */, L_1, L_2);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_3 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_3, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_1 = L_3;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_4 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = V_0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_6 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(L_6, (uint8_t)4, L_5, /*hidden argument*/NULL);
NullCheck(L_4);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_4, L_6, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_7 = V_1;
int32_t L_8 = __this->get__iterations_7();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_9 = ASN1Convert_FromInt32_m59FF0922659B0A323026CCC0876BC33020C4FC9A(L_8, /*hidden argument*/NULL);
NullCheck(L_7);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_7, L_9, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_10 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_10, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_2 = L_10;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_11 = V_2;
String_t* L_12 = ___algorithmOid1;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_13 = ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462(L_12, /*hidden argument*/NULL);
NullCheck(L_11);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_11, L_13, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_14 = V_2;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_15 = V_1;
NullCheck(L_14);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_14, L_15, /*hidden argument*/NULL);
String_t* L_16 = ___algorithmOid1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = V_0;
int32_t L_18 = __this->get__iterations_7();
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_19 = ___safeBags0;
NullCheck(L_19);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_19);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_21 = PKCS12_Encrypt_m46E5121EFD2B8D707F1028204C59EE95955FA992(__this, L_16, L_17, L_18, L_20, /*hidden argument*/NULL);
V_3 = L_21;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = V_3;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_23 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(L_23, (uint8_t)((int32_t)128), L_22, /*hidden argument*/NULL);
V_4 = L_23;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_24 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_24, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_5 = L_24;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_25 = V_5;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_26 = ASN1Convert_FromOid_mC178E72357986C1AB75A1FFC9DA7687ECA20E462(_stringLiteral929E64373A1A3A451EAF8698A1D26A5C989E42EA, /*hidden argument*/NULL);
NullCheck(L_25);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_25, L_26, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_27 = V_5;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_28 = V_2;
NullCheck(L_27);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_27, L_28, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_29 = V_5;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_30 = V_4;
NullCheck(L_29);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_29, L_30, /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_31 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)1);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_32 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_mAB2593792CB61AD1542F4F9D6FB6E8BB96DE007E(L_32, (uint8_t)2, L_31, /*hidden argument*/NULL);
V_6 = L_32;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_33 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_33, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_7 = L_33;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_34 = V_7;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_35 = V_6;
NullCheck(L_34);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_34, L_35, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_36 = V_7;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_37 = V_5;
NullCheck(L_36);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_36, L_37, /*hidden argument*/NULL);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_38 = (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E *)il2cpp_codegen_object_new(ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E_il2cpp_TypeInfo_var);
ASN1__ctor_m6DD2E5BD0B12A6BFA95E1822A55B2294B8C237BC(L_38, (uint8_t)((int32_t)160), /*hidden argument*/NULL);
V_8 = L_38;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_39 = V_8;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_40 = V_7;
NullCheck(L_39);
ASN1_Add_mF6ED0416BB021A1C333F99E42F8B17AF8B26639B(L_39, L_40, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_41 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_mF21B31604F01A686DB03E30FEAE859A53A0E084A(L_41, _stringLiteral796CC3E6D06777F1C198837519479B1D2F0024AD, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_42 = L_41;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_43 = V_8;
NullCheck(L_42);
ContentInfo_set_Content_m15B5D9A61236E1C116A9B5A651E80C5D78FB2598_inline(L_42, L_43, /*hidden argument*/NULL);
return L_42;
}
}
// System.Void Mono.Security.X509.PKCS12::AddCertificate(Mono.Security.X509.X509Certificate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_AddCertificate_m9D6DE2BF285B6BFCE1F8314438969020F5C3005D (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * ___cert0, const RuntimeMethod* method)
{
{
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_0 = ___cert0;
PKCS12_AddCertificate_m17964E654DA9F739484806557EBD8CFE5331A198(__this, L_0, (RuntimeObject*)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12::AddCertificate(Mono.Security.X509.X509Certificate,System.Collections.IDictionary)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_AddCertificate_m17964E654DA9F739484806557EBD8CFE5331A198 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * ___cert0, RuntimeObject* ___attributes1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_AddCertificate_m17964E654DA9F739484806557EBD8CFE5331A198_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t V_1 = 0;
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * V_2 = NULL;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * V_3 = NULL;
{
V_0 = (bool)0;
V_1 = 0;
goto IL_0070;
}
IL_0006:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_0 = __this->get__safeBags_8();
int32_t L_1 = V_1;
NullCheck(L_0);
RuntimeObject * L_2 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(22 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_1);
V_2 = ((SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 *)CastclassClass((RuntimeObject*)L_2, SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726_il2cpp_TypeInfo_var));
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_3 = V_2;
NullCheck(L_3);
String_t* L_4 = SafeBag_get_BagOID_m111CD6142B7D3C61FB45932B8EF9A635D80244B5_inline(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
bool L_5 = String_Equals_m9C4D78DFA0979504FE31429B64A4C26DF48020D1(L_4, _stringLiteralF02768AE02EDF48DA977F708A0513A95FDC0F733, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_006c;
}
}
{
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_6 = V_2;
NullCheck(L_6);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_7 = SafeBag_get_ASN1_m77708924A6B21495CB27668AB3CDCC844724AAD1_inline(L_6, /*hidden argument*/NULL);
NullCheck(L_7);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_8 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_7, 1, /*hidden argument*/NULL);
NullCheck(L_8);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_8, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_10 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_mFFDEEE8545287FC5A22740B7E06F6D64D401E196(L_10, L_9, /*hidden argument*/NULL);
NullCheck(L_10);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_11 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(L_10, /*hidden argument*/NULL);
NullCheck(L_11);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_12 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_11, 0, /*hidden argument*/NULL);
NullCheck(L_12);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_12, /*hidden argument*/NULL);
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_14 = (X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B *)il2cpp_codegen_object_new(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B_il2cpp_TypeInfo_var);
X509Certificate__ctor_mE2BC6649D450A36E902A2D6BEB50C49130411129(L_14, L_13, /*hidden argument*/NULL);
V_3 = L_14;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_15 = ___cert0;
NullCheck(L_15);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(11 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_15);
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_17 = V_3;
NullCheck(L_17);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_18 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(11 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_17);
bool L_19 = PKCS12_Compare_m12F289CEDEFD3FCB171A1D84CFC3B38657041FDC(__this, L_16, L_18, /*hidden argument*/NULL);
if (!L_19)
{
goto IL_006c;
}
}
{
V_0 = (bool)1;
}
IL_006c:
{
int32_t L_20 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1));
}
IL_0070:
{
bool L_21 = V_0;
if (L_21)
{
goto IL_0081;
}
}
{
int32_t L_22 = V_1;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_23 = __this->get__safeBags_8();
NullCheck(L_23);
int32_t L_24 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_23);
if ((((int32_t)L_22) < ((int32_t)L_24)))
{
goto IL_0006;
}
}
IL_0081:
{
bool L_25 = V_0;
if (L_25)
{
goto IL_00a9;
}
}
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_26 = __this->get__safeBags_8();
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_27 = ___cert0;
RuntimeObject* L_28 = ___attributes1;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_29 = PKCS12_CertificateSafeBag_mD0DD83647F65C3ABAE16740304102EFD7495FB73(__this, L_27, L_28, /*hidden argument*/NULL);
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_30 = (SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 *)il2cpp_codegen_object_new(SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726_il2cpp_TypeInfo_var);
SafeBag__ctor_mA72466DEC40046A944E2120A27BEFD3D2EAD57B7(L_30, _stringLiteralF02768AE02EDF48DA977F708A0513A95FDC0F733, L_29, /*hidden argument*/NULL);
NullCheck(L_26);
VirtFuncInvoker1< int32_t, RuntimeObject * >::Invoke(24 /* System.Int32 System.Collections.ArrayList::Add(System.Object) */, L_26, L_30);
__this->set__certsChanged_6((bool)1);
}
IL_00a9:
{
return;
}
}
// System.Void Mono.Security.X509.PKCS12::RemoveCertificate(Mono.Security.X509.X509Certificate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_RemoveCertificate_mE3594A106A1E0771DF835725966BC529F738DFCE (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * ___cert0, const RuntimeMethod* method)
{
{
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_0 = ___cert0;
PKCS12_RemoveCertificate_mFD3A6ECA0F182AC1C74E2E7A56D4F6E3D4D300D2(__this, L_0, (RuntimeObject*)NULL, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12::RemoveCertificate(Mono.Security.X509.X509Certificate,System.Collections.IDictionary)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12_RemoveCertificate_mFD3A6ECA0F182AC1C74E2E7A56D4F6E3D4D300D2 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * ___cert0, RuntimeObject* ___attrs1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_RemoveCertificate_mFD3A6ECA0F182AC1C74E2E7A56D4F6E3D4D300D2_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * V_2 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_3 = NULL;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * V_4 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_5 = NULL;
int32_t V_6 = 0;
int32_t V_7 = 0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_8 = NULL;
String_t* V_9 = NULL;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * V_10 = NULL;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_11 = NULL;
int32_t V_12 = 0;
int32_t V_13 = 0;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * V_14 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_15 = NULL;
{
V_0 = (-1);
V_1 = 0;
goto IL_0169;
}
IL_0009:
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_0 = __this->get__safeBags_8();
int32_t L_1 = V_1;
NullCheck(L_0);
RuntimeObject * L_2 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(22 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_0, L_1);
V_2 = ((SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 *)CastclassClass((RuntimeObject*)L_2, SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726_il2cpp_TypeInfo_var));
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_3 = V_2;
NullCheck(L_3);
String_t* L_4 = SafeBag_get_BagOID_m111CD6142B7D3C61FB45932B8EF9A635D80244B5_inline(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
bool L_5 = String_Equals_m9C4D78DFA0979504FE31429B64A4C26DF48020D1(L_4, _stringLiteralF02768AE02EDF48DA977F708A0513A95FDC0F733, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0165;
}
}
{
SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * L_6 = V_2;
NullCheck(L_6);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_7 = SafeBag_get_ASN1_m77708924A6B21495CB27668AB3CDCC844724AAD1_inline(L_6, /*hidden argument*/NULL);
V_3 = L_7;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_8 = V_3;
NullCheck(L_8);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_9 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_8, 1, /*hidden argument*/NULL);
NullCheck(L_9);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_10 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_9, /*hidden argument*/NULL);
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_11 = (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E *)il2cpp_codegen_object_new(ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E_il2cpp_TypeInfo_var);
ContentInfo__ctor_mFFDEEE8545287FC5A22740B7E06F6D64D401E196(L_11, L_10, /*hidden argument*/NULL);
NullCheck(L_11);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_12 = ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline(L_11, /*hidden argument*/NULL);
NullCheck(L_12);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_13 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_12, 0, /*hidden argument*/NULL);
NullCheck(L_13);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_13, /*hidden argument*/NULL);
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_15 = (X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B *)il2cpp_codegen_object_new(X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B_il2cpp_TypeInfo_var);
X509Certificate__ctor_mE2BC6649D450A36E902A2D6BEB50C49130411129(L_15, L_14, /*hidden argument*/NULL);
V_4 = L_15;
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_16 = ___cert0;
NullCheck(L_16);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(11 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_16);
X509Certificate_t592E2574612B2C554C7B707754AEC3B66A4B476B * L_18 = V_4;
NullCheck(L_18);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_19 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(11 /* System.Byte[] Mono.Security.X509.X509Certificate::get_RawData() */, L_18);
bool L_20 = PKCS12_Compare_m12F289CEDEFD3FCB171A1D84CFC3B38657041FDC(__this, L_17, L_19, /*hidden argument*/NULL);
if (!L_20)
{
goto IL_0165;
}
}
{
RuntimeObject* L_21 = ___attrs1;
if (!L_21)
{
goto IL_0163;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_22 = V_3;
NullCheck(L_22);
int32_t L_23 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_22, /*hidden argument*/NULL);
if ((!(((uint32_t)L_23) == ((uint32_t)3))))
{
goto IL_0165;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_24 = V_3;
NullCheck(L_24);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_25 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_24, 2, /*hidden argument*/NULL);
V_5 = L_25;
V_6 = 0;
V_7 = 0;
goto IL_0146;
}
IL_009d:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_26 = V_5;
int32_t L_27 = V_7;
NullCheck(L_26);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_28 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_26, L_27, /*hidden argument*/NULL);
V_8 = L_28;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_29 = V_8;
NullCheck(L_29);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_30 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_29, 0, /*hidden argument*/NULL);
String_t* L_31 = ASN1Convert_ToOid_mFFA93B4BBEFCA8E4E86DAE87CDB998E78BFB2D5A(L_30, /*hidden argument*/NULL);
V_9 = L_31;
RuntimeObject* L_32 = ___attrs1;
String_t* L_33 = V_9;
NullCheck(L_32);
RuntimeObject * L_34 = InterfaceFuncInvoker1< RuntimeObject *, RuntimeObject * >::Invoke(0 /* System.Object System.Collections.IDictionary::get_Item(System.Object) */, IDictionary_t1BD5C1546718A374EA8122FBD6C6EE45331E8CE7_il2cpp_TypeInfo_var, L_32, L_33);
V_10 = ((ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 *)CastclassClass((RuntimeObject*)L_34, ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4_il2cpp_TypeInfo_var));
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_35 = V_10;
if (!L_35)
{
goto IL_0140;
}
}
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_36 = V_8;
NullCheck(L_36);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_37 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_36, 1, /*hidden argument*/NULL);
V_11 = L_37;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_38 = V_10;
NullCheck(L_38);
int32_t L_39 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_38);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_40 = V_11;
NullCheck(L_40);
int32_t L_41 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_40, /*hidden argument*/NULL);
if ((!(((uint32_t)L_39) == ((uint32_t)L_41))))
{
goto IL_0140;
}
}
{
V_12 = 0;
V_13 = 0;
goto IL_0124;
}
IL_00ec:
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_42 = V_11;
int32_t L_43 = V_13;
NullCheck(L_42);
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_44 = ASN1_get_Item_m88B75C57A7E130A02A709AE8FFD2E0972E71FC08(L_42, L_43, /*hidden argument*/NULL);
V_14 = L_44;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_45 = V_10;
int32_t L_46 = V_13;
NullCheck(L_45);
RuntimeObject * L_47 = VirtFuncInvoker1< RuntimeObject *, int32_t >::Invoke(22 /* System.Object System.Collections.ArrayList::get_Item(System.Int32) */, L_45, L_46);
V_15 = ((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_47, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_48 = V_15;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_49 = V_14;
NullCheck(L_49);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_50 = ASN1_get_Value_m9BD6239E12A6148AF9507C2F58058C6B8147A079(L_49, /*hidden argument*/NULL);
bool L_51 = PKCS12_Compare_m12F289CEDEFD3FCB171A1D84CFC3B38657041FDC(__this, L_48, L_50, /*hidden argument*/NULL);
if (!L_51)
{
goto IL_011e;
}
}
{
int32_t L_52 = V_12;
V_12 = ((int32_t)il2cpp_codegen_add((int32_t)L_52, (int32_t)1));
}
IL_011e:
{
int32_t L_53 = V_13;
V_13 = ((int32_t)il2cpp_codegen_add((int32_t)L_53, (int32_t)1));
}
IL_0124:
{
int32_t L_54 = V_13;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_55 = V_11;
NullCheck(L_55);
int32_t L_56 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_55, /*hidden argument*/NULL);
if ((((int32_t)L_54) < ((int32_t)L_56)))
{
goto IL_00ec;
}
}
{
int32_t L_57 = V_12;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_58 = V_11;
NullCheck(L_58);
int32_t L_59 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_58, /*hidden argument*/NULL);
if ((!(((uint32_t)L_57) == ((uint32_t)L_59))))
{
goto IL_0140;
}
}
{
int32_t L_60 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_60, (int32_t)1));
}
IL_0140:
{
int32_t L_61 = V_7;
V_7 = ((int32_t)il2cpp_codegen_add((int32_t)L_61, (int32_t)1));
}
IL_0146:
{
int32_t L_62 = V_7;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_63 = V_5;
NullCheck(L_63);
int32_t L_64 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_63, /*hidden argument*/NULL);
if ((((int32_t)L_62) < ((int32_t)L_64)))
{
goto IL_009d;
}
}
{
int32_t L_65 = V_6;
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_66 = V_5;
NullCheck(L_66);
int32_t L_67 = ASN1_get_Count_m5A0E71B4C4A2257C0875AE1041AAA953C5B12A19(L_66, /*hidden argument*/NULL);
if ((!(((uint32_t)L_65) == ((uint32_t)L_67))))
{
goto IL_0165;
}
}
{
int32_t L_68 = V_1;
V_0 = L_68;
goto IL_0165;
}
IL_0163:
{
int32_t L_69 = V_1;
V_0 = L_69;
}
IL_0165:
{
int32_t L_70 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_70, (int32_t)1));
}
IL_0169:
{
int32_t L_71 = V_0;
if ((!(((uint32_t)L_71) == ((uint32_t)(-1)))))
{
goto IL_017e;
}
}
{
int32_t L_72 = V_1;
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_73 = __this->get__safeBags_8();
NullCheck(L_73);
int32_t L_74 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 System.Collections.ArrayList::get_Count() */, L_73);
if ((((int32_t)L_72) < ((int32_t)L_74)))
{
goto IL_0009;
}
}
IL_017e:
{
int32_t L_75 = V_0;
if ((((int32_t)L_75) == ((int32_t)(-1))))
{
goto IL_0195;
}
}
{
ArrayList_t4131E0C29C7E1B9BC9DFE37BEC41A5EB1481ADF4 * L_76 = __this->get__safeBags_8();
int32_t L_77 = V_0;
NullCheck(L_76);
VirtActionInvoker1< int32_t >::Invoke(37 /* System.Void System.Collections.ArrayList::RemoveAt(System.Int32) */, L_76, L_77);
__this->set__certsChanged_6((bool)1);
}
IL_0195:
{
return;
}
}
// System.Object Mono.Security.X509.PKCS12::Clone()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * PKCS12_Clone_mCFFD83941C1E56BEFEFDF4CF4E04601B37564432 (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_Clone_mCFFD83941C1E56BEFEFDF4CF4E04601B37564432_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * V_0 = NULL;
{
V_0 = (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C *)NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = __this->get__password_0();
if (!L_0)
{
goto IL_0028;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = PKCS12_GetBytes_m8621373F343293D4A64DED97DA2610BE6B6D7D73(__this, /*hidden argument*/NULL);
Encoding_t7837A3C0F55EAE0E3959A53C6D6E88B113ED78A4 * L_2 = Encoding_get_BigEndianUnicode_m6CC17642A36943FE038F54729446D7E30D582BDD(/*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = __this->get__password_0();
NullCheck(L_2);
String_t* L_4 = VirtFuncInvoker1< String_t*, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(31 /* System.String System.Text.Encoding::GetString(System.Byte[]) */, L_2, L_3);
PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * L_5 = (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C *)il2cpp_codegen_object_new(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_il2cpp_TypeInfo_var);
PKCS12__ctor_m35A8D4C261B2A0B4B7BC677160AB1DF90B04B229(L_5, L_1, L_4, /*hidden argument*/NULL);
V_0 = L_5;
goto IL_0034;
}
IL_0028:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = PKCS12_GetBytes_m8621373F343293D4A64DED97DA2610BE6B6D7D73(__this, /*hidden argument*/NULL);
PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * L_7 = (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C *)il2cpp_codegen_object_new(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_il2cpp_TypeInfo_var);
PKCS12__ctor_mBE0BDBA0DD4C15F304D04F31E028CFFB31D7B8AB(L_7, L_6, /*hidden argument*/NULL);
V_0 = L_7;
}
IL_0034:
{
PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * L_8 = V_0;
int32_t L_9 = PKCS12_get_IterationCount_m85A4D92CA6130D1BC6818CA8C434C9A8CFD120EC_inline(__this, /*hidden argument*/NULL);
NullCheck(L_8);
PKCS12_set_IterationCount_m95AA7918C2940DFAA9AD540AEE484DD8E9A0DA43_inline(L_8, L_9, /*hidden argument*/NULL);
PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * L_10 = V_0;
return L_10;
}
}
// System.Int32 Mono.Security.X509.PKCS12::get_MaximumPasswordLength()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t PKCS12_get_MaximumPasswordLength_m456895C0914C8E686BC0548D036FAF11EB2AD266 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_get_MaximumPasswordLength_m456895C0914C8E686BC0548D036FAF11EB2AD266_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_il2cpp_TypeInfo_var);
int32_t L_0 = ((PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_StaticFields*)il2cpp_codegen_static_fields_for(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_il2cpp_TypeInfo_var))->get_password_max_length_10();
return L_0;
}
}
// System.Void Mono.Security.X509.PKCS12::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PKCS12__cctor_m6147652F39C9E084AC465598F872099A0E0B9CAB (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12__cctor_m6147652F39C9E084AC465598F872099A0E0B9CAB_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
((PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_StaticFields*)il2cpp_codegen_static_fields_for(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_il2cpp_TypeInfo_var))->set_password_max_length_10(((int32_t)2147483647LL));
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.X509.PKCS12_DeriveBytes::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeriveBytes__ctor_mCF98BD3EFADD4D2F34101977C2B49258932F19C2 (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, const RuntimeMethod* method)
{
{
Object__ctor_m925ECA5E85CA100E3FB86A4F9E15C120E9A184C0(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12_DeriveBytes::set_HashName(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72 (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___value0;
__this->set__hashName_3(L_0);
return;
}
}
// System.Void Mono.Security.X509.PKCS12_DeriveBytes::set_IterationCount(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeriveBytes_set_IterationCount_mFE67702E80E2748EA2B61D15E2E58CB9A4173143 (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->set__iterations_4(L_0);
return;
}
}
// System.Void Mono.Security.X509.PKCS12_DeriveBytes::set_Password(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeriveBytes_set_Password_m01796801BB8FD1E5F9D62F48A057F936CE0D0E4D (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DeriveBytes_set_Password_m01796801BB8FD1E5F9D62F48A057F936CE0D0E4D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___value0;
if (L_0)
{
goto IL_0010;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)0);
__this->set__password_5(L_1);
return;
}
IL_0010:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = ___value0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_2);
RuntimeObject * L_3 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_2, /*hidden argument*/NULL);
__this->set__password_5(((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_3, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var)));
return;
}
}
// System.Void Mono.Security.X509.PKCS12_DeriveBytes::set_Salt(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeriveBytes_set_Salt_m259A4E6B31DF7C039E776B473B4C5208890E8C5E (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___value0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DeriveBytes_set_Salt_m259A4E6B31DF7C039E776B473B4C5208890E8C5E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___value0;
if (!L_0)
{
goto IL_0015;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___value0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_1);
RuntimeObject * L_2 = Array_Clone_mE8C710213E323617A6F46F2B36DCDDD4C7CF5176((RuntimeArray *)(RuntimeArray *)L_1, /*hidden argument*/NULL);
__this->set__salt_6(((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)Castclass((RuntimeObject*)L_2, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var)));
return;
}
IL_0015:
{
__this->set__salt_6((ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)NULL);
return;
}
}
// System.Void Mono.Security.X509.PKCS12_DeriveBytes::Adjust(System.Byte[],System.Int32,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeriveBytes_Adjust_m62C31A3D1780C7E6278429908FAA52AC2280668F (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___a0, int32_t ___aOff1, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___b2, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ___b2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = ___b2;
NullCheck(L_1);
NullCheck(L_0);
int32_t L_2 = ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))), (int32_t)1));
uint8_t L_3 = (L_0)->GetAt(static_cast<il2cpp_array_size_t>(L_2));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = ___a0;
int32_t L_5 = ___aOff1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = ___b2;
NullCheck(L_6);
NullCheck(L_4);
int32_t L_7 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_5, (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))))), (int32_t)1));
uint8_t L_8 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_7));
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)255))), (int32_t)((int32_t)((int32_t)L_8&(int32_t)((int32_t)255))))), (int32_t)1));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = ___a0;
int32_t L_10 = ___aOff1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_11 = ___b2;
NullCheck(L_11);
int32_t L_12 = V_0;
NullCheck(L_9);
(L_9)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length)))))), (int32_t)1))), (uint8_t)(((int32_t)((uint8_t)L_12))));
int32_t L_13 = V_0;
V_0 = ((int32_t)((int32_t)L_13>>(int32_t)8));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_14 = ___b2;
NullCheck(L_14);
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length)))), (int32_t)2));
goto IL_005e;
}
IL_0037:
{
int32_t L_15 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_16 = ___b2;
int32_t L_17 = V_1;
NullCheck(L_16);
int32_t L_18 = L_17;
uint8_t L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_20 = ___a0;
int32_t L_21 = ___aOff1;
int32_t L_22 = V_1;
NullCheck(L_20);
int32_t L_23 = ((int32_t)il2cpp_codegen_add((int32_t)L_21, (int32_t)L_22));
uint8_t L_24 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_23));
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_15, (int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)((int32_t)L_19&(int32_t)((int32_t)255))), (int32_t)((int32_t)((int32_t)L_24&(int32_t)((int32_t)255)))))));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_25 = ___a0;
int32_t L_26 = ___aOff1;
int32_t L_27 = V_1;
int32_t L_28 = V_0;
NullCheck(L_25);
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)L_27))), (uint8_t)(((int32_t)((uint8_t)L_28))));
int32_t L_29 = V_0;
V_0 = ((int32_t)((int32_t)L_29>>(int32_t)8));
int32_t L_30 = V_1;
V_1 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_30, (int32_t)1));
}
IL_005e:
{
int32_t L_31 = V_1;
if ((((int32_t)L_31) >= ((int32_t)0)))
{
goto IL_0037;
}
}
{
return;
}
}
// System.Byte[] Mono.Security.X509.PKCS12_DeriveBytes::Derive(System.Byte[],System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* DeriveBytes_Derive_m77A53485FBE468A4F9698AEC0B36415699A9D72E (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* ___diversifier0, int32_t ___n1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DeriveBytes_Derive_m77A53485FBE468A4F9698AEC0B36415699A9D72E_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_3 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_4 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_5 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_6 = NULL;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_7 = NULL;
int32_t V_8 = 0;
int32_t V_9 = 0;
int32_t V_10 = 0;
int32_t V_11 = 0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* V_12 = NULL;
int32_t V_13 = 0;
int32_t V_14 = 0;
int32_t V_15 = 0;
{
String_t* L_0 = __this->get__hashName_3();
IL2CPP_RUNTIME_CLASS_INIT(PKCS1_t5ABACACDDA0FE1D9A3D2ECD6BEB8815C8431B222_il2cpp_TypeInfo_var);
HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * L_1 = PKCS1_CreateFromName_mB407B0358BF42A94FAA0A3B7DF68A731827C21BE(L_0, /*hidden argument*/NULL);
V_0 = L_1;
HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * L_2 = V_0;
NullCheck(L_2);
int32_t L_3 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 System.Security.Cryptography.HashAlgorithm::get_HashSize() */, L_2);
V_1 = ((int32_t)((int32_t)L_3>>(int32_t)3));
V_2 = ((int32_t)64);
int32_t L_4 = ___n1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_5 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_4);
V_3 = L_5;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = __this->get__salt_6();
if (!L_6)
{
goto IL_0073;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = __this->get__salt_6();
NullCheck(L_7);
if (!(((RuntimeArray*)L_7)->max_length))
{
goto IL_0073;
}
}
{
int32_t L_8 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_9 = __this->get__salt_6();
NullCheck(L_9);
int32_t L_10 = V_2;
int32_t L_11 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_12 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_8, (int32_t)((int32_t)((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_add((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_9)->max_length)))), (int32_t)L_10)), (int32_t)1))/(int32_t)L_11)))));
V_4 = L_12;
V_9 = 0;
goto IL_0069;
}
IL_004c:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_13 = V_4;
int32_t L_14 = V_9;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_15 = __this->get__salt_6();
int32_t L_16 = V_9;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_17 = __this->get__salt_6();
NullCheck(L_17);
NullCheck(L_15);
int32_t L_18 = ((int32_t)((int32_t)L_16%(int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length))))));
uint8_t L_19 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
NullCheck(L_13);
(L_13)->SetAt(static_cast<il2cpp_array_size_t>(L_14), (uint8_t)L_19);
int32_t L_20 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1));
}
IL_0069:
{
int32_t L_21 = V_9;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_22 = V_4;
NullCheck(L_22);
if ((!(((uint32_t)L_21) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length))))))))
{
goto IL_004c;
}
}
{
goto IL_007b;
}
IL_0073:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_23 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)0);
V_4 = L_23;
}
IL_007b:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_24 = __this->get__password_5();
if (!L_24)
{
goto IL_00cf;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_25 = __this->get__password_5();
NullCheck(L_25);
if (!(((RuntimeArray*)L_25)->max_length))
{
goto IL_00cf;
}
}
{
int32_t L_26 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_27 = __this->get__password_5();
NullCheck(L_27);
int32_t L_28 = V_2;
int32_t L_29 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_30 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_26, (int32_t)((int32_t)((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_add((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_27)->max_length)))), (int32_t)L_28)), (int32_t)1))/(int32_t)L_29)))));
V_5 = L_30;
V_10 = 0;
goto IL_00c5;
}
IL_00a8:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_31 = V_5;
int32_t L_32 = V_10;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_33 = __this->get__password_5();
int32_t L_34 = V_10;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_35 = __this->get__password_5();
NullCheck(L_35);
NullCheck(L_33);
int32_t L_36 = ((int32_t)((int32_t)L_34%(int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_35)->max_length))))));
uint8_t L_37 = (L_33)->GetAt(static_cast<il2cpp_array_size_t>(L_36));
NullCheck(L_31);
(L_31)->SetAt(static_cast<il2cpp_array_size_t>(L_32), (uint8_t)L_37);
int32_t L_38 = V_10;
V_10 = ((int32_t)il2cpp_codegen_add((int32_t)L_38, (int32_t)1));
}
IL_00c5:
{
int32_t L_39 = V_10;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_40 = V_5;
NullCheck(L_40);
if ((!(((uint32_t)L_39) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_40)->max_length))))))))
{
goto IL_00a8;
}
}
{
goto IL_00d7;
}
IL_00cf:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_41 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)0);
V_5 = L_41;
}
IL_00d7:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_42 = V_4;
NullCheck(L_42);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_43 = V_5;
NullCheck(L_43);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_44 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_42)->max_length)))), (int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_43)->max_length)))))));
V_6 = L_44;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_45 = V_4;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_46 = V_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_47 = V_4;
NullCheck(L_47);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_45, 0, (RuntimeArray *)(RuntimeArray *)L_46, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_47)->max_length)))), /*hidden argument*/NULL);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_48 = V_5;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_49 = V_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_50 = V_4;
NullCheck(L_50);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_51 = V_5;
NullCheck(L_51);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_48, 0, (RuntimeArray *)(RuntimeArray *)L_49, (((int32_t)((int32_t)(((RuntimeArray*)L_50)->max_length)))), (((int32_t)((int32_t)(((RuntimeArray*)L_51)->max_length)))), /*hidden argument*/NULL);
int32_t L_52 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_53 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)L_52);
V_7 = L_53;
int32_t L_54 = ___n1;
int32_t L_55 = V_1;
int32_t L_56 = V_1;
V_8 = ((int32_t)((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_54, (int32_t)L_55)), (int32_t)1))/(int32_t)L_56));
V_11 = 1;
goto IL_01ee;
}
IL_0121:
{
HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * L_57 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_58 = ___diversifier0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_59 = ___diversifier0;
NullCheck(L_59);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_60 = ___diversifier0;
NullCheck(L_57);
HashAlgorithm_TransformBlock_m500873E221BF1E4278C23D3DD113FA36711CBE22(L_57, L_58, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_59)->max_length)))), L_60, 0, /*hidden argument*/NULL);
HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * L_61 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_62 = V_6;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_63 = V_6;
NullCheck(L_63);
NullCheck(L_61);
HashAlgorithm_TransformFinalBlock_mC9CB1BD6A8E410BE986650C1478A93378F138177(L_61, L_62, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_63)->max_length)))), /*hidden argument*/NULL);
HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * L_64 = V_0;
NullCheck(L_64);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_65 = VirtFuncInvoker0< ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* >::Invoke(11 /* System.Byte[] System.Security.Cryptography.HashAlgorithm::get_Hash() */, L_64);
V_12 = L_65;
HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * L_66 = V_0;
NullCheck(L_66);
VirtActionInvoker0::Invoke(16 /* System.Void System.Security.Cryptography.HashAlgorithm::Initialize() */, L_66);
V_13 = 1;
goto IL_0165;
}
IL_0150:
{
HashAlgorithm_t65659695B16C0BBF05707BF45191A97DC156D6BA * L_67 = V_0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_68 = V_12;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_69 = V_12;
NullCheck(L_69);
NullCheck(L_67);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_70 = HashAlgorithm_ComputeHash_m944CD5B5BF66F170C9ACD2674E258E62ED297819(L_67, L_68, 0, (((int32_t)((int32_t)(((RuntimeArray*)L_69)->max_length)))), /*hidden argument*/NULL);
V_12 = L_70;
int32_t L_71 = V_13;
V_13 = ((int32_t)il2cpp_codegen_add((int32_t)L_71, (int32_t)1));
}
IL_0165:
{
int32_t L_72 = V_13;
int32_t L_73 = __this->get__iterations_4();
if ((!(((uint32_t)L_72) == ((uint32_t)L_73))))
{
goto IL_0150;
}
}
{
V_14 = 0;
goto IL_0189;
}
IL_0174:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_74 = V_7;
int32_t L_75 = V_14;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_76 = V_12;
int32_t L_77 = V_14;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_78 = V_12;
NullCheck(L_78);
NullCheck(L_76);
int32_t L_79 = ((int32_t)((int32_t)L_77%(int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_78)->max_length))))));
uint8_t L_80 = (L_76)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
NullCheck(L_74);
(L_74)->SetAt(static_cast<il2cpp_array_size_t>(L_75), (uint8_t)L_80);
int32_t L_81 = V_14;
V_14 = ((int32_t)il2cpp_codegen_add((int32_t)L_81, (int32_t)1));
}
IL_0189:
{
int32_t L_82 = V_14;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_83 = V_7;
NullCheck(L_83);
if ((!(((uint32_t)L_82) == ((uint32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_83)->max_length))))))))
{
goto IL_0174;
}
}
{
V_15 = 0;
goto IL_01aa;
}
IL_0196:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_84 = V_6;
int32_t L_85 = V_15;
int32_t L_86 = V_2;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_87 = V_7;
DeriveBytes_Adjust_m62C31A3D1780C7E6278429908FAA52AC2280668F(__this, L_84, ((int32_t)il2cpp_codegen_multiply((int32_t)L_85, (int32_t)L_86)), L_87, /*hidden argument*/NULL);
int32_t L_88 = V_15;
V_15 = ((int32_t)il2cpp_codegen_add((int32_t)L_88, (int32_t)1));
}
IL_01aa:
{
int32_t L_89 = V_15;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_90 = V_6;
NullCheck(L_90);
int32_t L_91 = V_2;
if ((!(((uint32_t)L_89) == ((uint32_t)((int32_t)((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_90)->max_length))))/(int32_t)L_91))))))
{
goto IL_0196;
}
}
{
int32_t L_92 = V_11;
int32_t L_93 = V_8;
if ((!(((uint32_t)L_92) == ((uint32_t)L_93))))
{
goto IL_01d5;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_94 = V_12;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_95 = V_3;
int32_t L_96 = V_11;
int32_t L_97 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_98 = V_3;
NullCheck(L_98);
int32_t L_99 = V_11;
int32_t L_100 = V_1;
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_94, 0, (RuntimeArray *)(RuntimeArray *)L_95, ((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_96, (int32_t)1)), (int32_t)L_97)), ((int32_t)il2cpp_codegen_subtract((int32_t)(((int32_t)((int32_t)(((RuntimeArray*)L_98)->max_length)))), (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_99, (int32_t)1)), (int32_t)L_100)))), /*hidden argument*/NULL);
goto IL_01e8;
}
IL_01d5:
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_101 = V_12;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_102 = V_3;
int32_t L_103 = V_11;
int32_t L_104 = V_1;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_105 = V_12;
NullCheck(L_105);
Buffer_BlockCopy_m1F882D595976063718AF6E405664FC761924D353((RuntimeArray *)(RuntimeArray *)L_101, 0, (RuntimeArray *)(RuntimeArray *)L_102, ((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_103, (int32_t)1)), (int32_t)L_104)), (((int32_t)((int32_t)(((RuntimeArray*)L_105)->max_length)))), /*hidden argument*/NULL);
}
IL_01e8:
{
int32_t L_106 = V_11;
V_11 = ((int32_t)il2cpp_codegen_add((int32_t)L_106, (int32_t)1));
}
IL_01ee:
{
int32_t L_107 = V_11;
int32_t L_108 = V_8;
if ((((int32_t)L_107) <= ((int32_t)L_108)))
{
goto IL_0121;
}
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_109 = V_3;
return L_109;
}
}
// System.Byte[] Mono.Security.X509.PKCS12_DeriveBytes::DeriveKey(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* DeriveBytes_DeriveKey_mDF33F048359AB75CC3F1F634A67EB4EDEF02E796 (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, int32_t ___size0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DeriveBytes_DeriveKey_mDF33F048359AB75CC3F1F634A67EB4EDEF02E796_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ((DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_StaticFields*)il2cpp_codegen_static_fields_for(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_il2cpp_TypeInfo_var))->get_keyDiversifier_0();
int32_t L_1 = ___size0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = DeriveBytes_Derive_m77A53485FBE468A4F9698AEC0B36415699A9D72E(__this, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Byte[] Mono.Security.X509.PKCS12_DeriveBytes::DeriveIV(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* DeriveBytes_DeriveIV_mEBA107DC29EA28DF2575F45EF7A0C55840BD8F03 (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, int32_t ___size0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DeriveBytes_DeriveIV_mEBA107DC29EA28DF2575F45EF7A0C55840BD8F03_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ((DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_StaticFields*)il2cpp_codegen_static_fields_for(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_il2cpp_TypeInfo_var))->get_ivDiversifier_1();
int32_t L_1 = ___size0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = DeriveBytes_Derive_m77A53485FBE468A4F9698AEC0B36415699A9D72E(__this, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Byte[] Mono.Security.X509.PKCS12_DeriveBytes::DeriveMAC(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* DeriveBytes_DeriveMAC_mD54FB1F61CFC13258B46861CCE527A85CC62652D (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, int32_t ___size0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DeriveBytes_DeriveMAC_mD54FB1F61CFC13258B46861CCE527A85CC62652D_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_il2cpp_TypeInfo_var);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = ((DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_StaticFields*)il2cpp_codegen_static_fields_for(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_il2cpp_TypeInfo_var))->get_macDiversifier_2();
int32_t L_1 = ___size0;
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_2 = DeriveBytes_Derive_m77A53485FBE468A4F9698AEC0B36415699A9D72E(__this, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Void Mono.Security.X509.PKCS12_DeriveBytes::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DeriveBytes__cctor_m9599099DAB452D213B5F996953DB05E43CBDD41B (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (DeriveBytes__cctor_m9599099DAB452D213B5F996953DB05E43CBDD41B_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_0 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_1 = L_0;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____320B018758ECE3752FFEDBAEB1A6DB67C80B9359_6_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_StaticFields*)il2cpp_codegen_static_fields_for(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_il2cpp_TypeInfo_var))->set_keyDiversifier_0(L_1);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_3 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_4 = L_3;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_5 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____CF0B42666EF5E37EDEA0AB8E173E42C196D03814_22_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_4, L_5, /*hidden argument*/NULL);
((DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_StaticFields*)il2cpp_codegen_static_fields_for(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_il2cpp_TypeInfo_var))->set_ivDiversifier_1(L_4);
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_6 = (ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821*)SZArrayNew(ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821_il2cpp_TypeInfo_var, (uint32_t)((int32_t)64));
ByteU5BU5D_tD06FDBE8142446525DF1C40351D523A228373821* L_7 = L_6;
RuntimeFieldHandle_t844BDF00E8E6FE69D9AEAA7657F09018B864F4EF L_8 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_tF21437707AFAA06797AEDEE07C84D4D3CC2837FA____9A9C3962CD4753376E3507C8CB5FD8FCC4B4EDB5_16_FieldInfo_var) };
RuntimeHelpers_InitializeArray_m29F50CDFEEE0AB868200291366253DD4737BC76A((RuntimeArray *)(RuntimeArray *)L_7, L_8, /*hidden argument*/NULL);
((DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_StaticFields*)il2cpp_codegen_static_fields_for(DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D_il2cpp_TypeInfo_var))->set_macDiversifier_2(L_7);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t String_get_Length_mD48C8A16A5CF1914F330DCE82D9BE15C3BEDD018_inline (String_t* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stringLength_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR uint8_t ASN1_get_Tag_m1346989AC839D85A9E0A211525A6B551974E4862_inline (ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_m_nTag_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t AsymmetricAlgorithm_get_KeySize_mE8C6882BD6C01D3721FAE2B622DFACD89072FB50_inline (AsymmetricAlgorithm_t9F811260245370BD8786A849DBF9F8054F97F4CB * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_KeySizeValue_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR uint8_t Alert_get_Level_m4D9BDC77286315A186F6517A3AE514DD7B31FBDC_inline (Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_level_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR uint8_t Alert_get_Description_m3FDF20086BFE900B014DB0EA960F27413326A11D_inline (Alert_tABF269545F2C583CCA47FF574E612DDAF232944E * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_description_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t MonoTlsConnectionInfo_get_ProtocolVersion_m63DA43DE02158D38E19EB7E5E93DD3E2EA6B87CA_inline (MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_U3CProtocolVersionU3Ek__BackingField_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR uint16_t MonoTlsConnectionInfo_get_CipherSuiteCode_m8C74B9FD02856309D7179AB0BE91B2F3F8BDF951_inline (MonoTlsConnectionInfo_tE32F709ECF061DD150F45384869CE8431BD7A74D * __this, const RuntimeMethod* method)
{
{
uint16_t L_0 = __this->get_U3CCipherSuiteCodeU3Ek__BackingField_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * MonoTlsSettings_get_RemoteCertificateValidationCallback_m1718C4B085FE8A31AFC7262616FFC5071072D737_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * L_0 = __this->get_U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_RemoteCertificateValidationCallback_mC9225CD237B10BBF4813A975D827B822DF970E21_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * ___value0, const RuntimeMethod* method)
{
{
MonoRemoteCertificateValidationCallback_t7A8DAD12B70CE3BB19BAAD04F587D5ED02385CC6 * L_0 = ___value0;
__this->set_U3CRemoteCertificateValidationCallbackU3Ek__BackingField_0(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * MonoTlsSettings_get_ClientCertificateSelectionCallback_mAD91A51A5228D02BF8F2B6F1F49A0646D029E1D0_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * L_0 = __this->get_U3CClientCertificateSelectionCallbackU3Ek__BackingField_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_ClientCertificateSelectionCallback_m815474865E0743103BE1BA06CCFC85588BAFBAA4_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * ___value0, const RuntimeMethod* method)
{
{
MonoLocalCertificateSelectionCallback_t657381EF916D4EDC456FA5A6AC948EFD7A481F0A * L_0 = ___value0;
__this->set_U3CClientCertificateSelectionCallbackU3Ek__BackingField_1(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_UseServicePointManagerCallback_m3982FDDB084256E77E18F9A3E42E91E65F6F699B_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793 ___value0, const RuntimeMethod* method)
{
{
Nullable_1_t9E6A67BECE376F0623B5C857F5674A0311C41793 L_0 = ___value0;
__this->set_useServicePointManagerCallback_12(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR RuntimeObject * MonoTlsSettings_get_UserSettings_m31F62282C588A3847737F11AF9158E493CD86E9A_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->get_U3CUserSettingsU3Ek__BackingField_4();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_UserSettings_mEC113D468C571102A4FF0327E617E7BA30D5D3F8_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, RuntimeObject * ___value0, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = ___value0;
__this->set_U3CUserSettingsU3Ek__BackingField_4(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 MonoTlsSettings_get_EnabledProtocols_mB290C2A19B7268559520FDF47925D20A4F9D8106_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 L_0 = __this->get_U3CEnabledProtocolsU3Ek__BackingField_7();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_EnabledProtocols_m88B942CBAB596E1F6FC91744D93F845862796A32_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 ___value0, const RuntimeMethod* method)
{
{
Nullable_1_t601798BE10C3F3F37B6755E475BB1B3760DCBB10 L_0 = ___value0;
__this->set_U3CEnabledProtocolsU3Ek__BackingField_7(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* MonoTlsSettings_get_EnabledCiphers_mB3F4FB0A332010BBCDF8EFF2B6B105C0CC92AF1D_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* L_0 = __this->get_U3CEnabledCiphersU3Ek__BackingField_8();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_EnabledCiphers_m27702EB1FBABCE66F73582F1F3B7DD14B4A95E12_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* ___value0, const RuntimeMethod* method)
{
{
CipherSuiteCodeU5BU5D_t0EC37AD4A25BB94BA9AB4A9C0C4802BD79A07CC4* L_0 = ___value0;
__this->set_U3CEnabledCiphersU3Ek__BackingField_8(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 MonoTlsSettings_get_CertificateValidationTime_m51F473A56D26B7FF38182524C3EF3250653181CD_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 L_0 = __this->get_U3CCertificateValidationTimeU3Ek__BackingField_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_CertificateValidationTime_mD081C06E0CCCCEF4230D2A7A70ED06F7E5D1717D_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 ___value0, const RuntimeMethod* method)
{
{
Nullable_1_t3290384E361396B3724B88B498CBF637D7E87B78 L_0 = ___value0;
__this->set_U3CCertificateValidationTimeU3Ek__BackingField_2(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR bool MonoTlsSettings_get_SendCloseNotify_m4E72508568F2055945A21AD19B1129AD2437C92F_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get_U3CSendCloseNotifyU3Ek__BackingField_6();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_SendCloseNotify_m292B72B22AC90DAC052BB0CB28D079F258803521_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, bool ___value0, const RuntimeMethod* method)
{
{
bool L_0 = ___value0;
__this->set_U3CSendCloseNotifyU3Ek__BackingField_6(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * MonoTlsSettings_get_TrustAnchors_mD6ADD8546ED8D9C0BA58A25F0ADA0BBB5127F28F_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * L_0 = __this->get_U3CTrustAnchorsU3Ek__BackingField_3();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_TrustAnchors_m96D71EF074D01C5CBF8159B392825679DADD9B2A_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * ___value0, const RuntimeMethod* method)
{
{
X509CertificateCollection_t824A6C58D0D1B4A7CAE30F26CE8EE4B23A8A1833 * L_0 = ___value0;
__this->set_U3CTrustAnchorsU3Ek__BackingField_3(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* MonoTlsSettings_get_CertificateSearchPaths_mE287996050CC9939D950713EAB5FC382FC64453B_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, const RuntimeMethod* method)
{
{
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_0 = __this->get_U3CCertificateSearchPathsU3Ek__BackingField_5();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MonoTlsSettings_set_CertificateSearchPaths_m7A42E0C25B12F9D923BEDE97E270433CD3C8A1D4_inline (MonoTlsSettings_t5905C7532C92A87F88C8F3440165DF8AA49A1BBF * __this, StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* ___value0, const RuntimeMethod* method)
{
{
StringU5BU5D_t933FB07893230EA91C40FF900D5400665E87B14E* L_0 = ___value0;
__this->set_U3CCertificateSearchPathsU3Ek__BackingField_5(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void ContentInfo_set_Content_m15B5D9A61236E1C116A9B5A651E80C5D78FB2598_inline (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ___value0, const RuntimeMethod* method)
{
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = ___value0;
__this->set_content_1(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t MessageBase_get_Flags_m226EB26B3AB8C91ADA936E7B45CC8968D0F4CA9E_inline (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get__flags_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void MessageBase_set_Flags_m0E8B48A02DB678CB59A3D3274AE51418732C864C_inline (MessageBase_t504D166CC4021DEB56DED308D5E82C67F47F26C0 * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->set__flags_2(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t NtlmSettings_get_DefaultAuthLevel_m98EDE4292136121773A45127209BD926E1CF141A_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (NtlmSettings_get_DefaultAuthLevel_m98EDE4292136121773A45127209BD926E1CF141AMono_Security_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009_il2cpp_TypeInfo_var);
int32_t L_0 = ((NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009_StaticFields*)il2cpp_codegen_static_fields_for(NtlmSettings_tC673E811873A17EA73FCA0EFD6D33839B5036009_il2cpp_TypeInfo_var))->get_defaultAuthLevel_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR String_t* Type2Message_get_TargetName_m3B65DC156E863BC78E674D0D1BEF653B25F53B7D_inline (Type2Message_t990283F48D41AECF1FFBDAA3A194CDE9C9078398 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get__targetName_4();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR String_t* ContentInfo_get_ContentType_m26D6492CA5D227AAC583CFC4A898C056ACEC8196_inline (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_contentType_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * ContentInfo_get_Content_mCF1CED122282F62BAA3453E585E487D50367289F_inline (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, const RuntimeMethod* method)
{
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = __this->get_content_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t PKCS12_get_MaximumPasswordLength_m456895C0914C8E686BC0548D036FAF11EB2AD266_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PKCS12_get_MaximumPasswordLength_m456895C0914C8E686BC0548D036FAF11EB2AD266Mono_Security_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_il2cpp_TypeInfo_var);
int32_t L_0 = ((PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_StaticFields*)il2cpp_codegen_static_fields_for(PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C_il2cpp_TypeInfo_var))->get_password_max_length_10();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR String_t* SafeBag_get_BagOID_m111CD6142B7D3C61FB45932B8EF9A635D80244B5_inline (SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get__bagOID_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * SafeBag_get_ASN1_m77708924A6B21495CB27668AB3CDCC844724AAD1_inline (SafeBag_t46FE0281DC1D6CAB5FD08FCDB3E57C2EA1859726 * __this, const RuntimeMethod* method)
{
{
ASN1_t2B883D12D3493F8395B31D1F0ABD93F43948B27E * L_0 = __this->get__asn1_1();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR String_t* EncryptedPrivateKeyInfo_get_Algorithm_m93A361B3EE1EDF57B8D83ECF187CD75E6B45A9D9_inline (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get__algorithm_0();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t EncryptedPrivateKeyInfo_get_IterationCount_m3CD06665FBE6C8B3965AA0D870B702A4E6F833FC_inline (EncryptedPrivateKeyInfo_tF582FAE09721F4F2BB353D5C2E28682FFB9C303D * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get__iterations_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void DeriveBytes_set_IterationCount_mFE67702E80E2748EA2B61D15E2E58CB9A4173143_inline (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->set__iterations_4(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void DeriveBytes_set_HashName_mBDFF79A4AAA347FC742CF1E25214854EF200DA72_inline (DeriveBytes_t0598E9AC1C9605E9316F9484BDC7B0CA00C2E84D * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___value0;
__this->set__hashName_3(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * EncryptedData_get_EncryptionAlgorithm_m06B627AA11F08C1515676B6E58DEDDD43B4F380F_inline (EncryptedData_tA100D7E93FCF1B7CBD486522E841F0A980CCE61B * __this, const RuntimeMethod* method)
{
{
ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * L_0 = __this->get__encryptionAlgorithm_2();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void ContentInfo_set_ContentType_m4FEE943D01600FC088408F7E20C5E1667CB5BA21_inline (ContentInfo_tA525061F73A00511E65350B7CCF8B08BFFAE746E * __this, String_t* ___value0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___value0;
__this->set_contentType_0(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR int32_t PKCS12_get_IterationCount_m85A4D92CA6130D1BC6818CA8C434C9A8CFD120EC_inline (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get__iterations_7();
return L_0;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR void PKCS12_set_IterationCount_m95AA7918C2940DFAA9AD540AEE484DD8E9A0DA43_inline (PKCS12_t98C7F0D647A3E34B93987FC7923DAA27A1AF576C * __this, int32_t ___value0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___value0;
__this->set__iterations_7(L_0);
return;
}
}
IL2CPP_EXTERN_C inline IL2CPP_METHOD_ATTR ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* Array_Empty_TisRuntimeObject_m9CF99326FAC8A01A4A25C90AA97F0799BA35ECAB_gshared_inline (const RuntimeMethod* method)
{
{
IL2CPP_RUNTIME_CLASS_INIT(IL2CPP_RGCTX_DATA(method->rgctx_data, 0));
ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* L_0 = ((EmptyArray_1_tCF137C88A5824F413EFB5A2F31664D8207E61D26_StaticFields*)il2cpp_codegen_static_fields_for(IL2CPP_RGCTX_DATA(method->rgctx_data, 0)))->get_Value_0();
return L_0;
}
}
| [
"kacias@daum.net"
] | kacias@daum.net |
b2bdae08b9d0cba516c2967cf40bf3312c6ddbce | ac66357e3e3bbf15637668b6b420da321411aca4 | /history.h | 94dba9de5990ff417d74ad65e00e369483a4db4d | [] | no_license | svaroslav/gameportal-api-client | 9a6b7c68f41f5ec08cc98be1e5ba0c2f469ef28b | 10b834dd62da47e82ad94471be1d9c6e0e4e258b | refs/heads/master | 2020-03-18T10:16:31.658132 | 2018-05-23T17:31:51 | 2018-05-23T17:31:51 | 134,604,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | h | #ifndef HISTORY_H
#define HISTORY_H
#include <QDialog>
#include <QObject>
namespace Ui {
class History;
}
class History : public QDialog
{
Q_OBJECT
signals:
void historyClicked();
public:
explicit History(QWidget *parent = 0);
~History();
void set(QStringList list);
QString getSelection() const;
private slots:
void on_comboBox_activated(const QString &arg1);
private:
Ui::History *ui;
QString selection;
};
#endif // HISTORY_H
| [
"svarovsky.jan7@gmail.com"
] | svarovsky.jan7@gmail.com |
1dfed45f8882b9e49db9e94d393bc95ba179eab5 | 1d415fdfabd9db522a4c3bca4ba66877ec5b8ef4 | /gui/ttcurrentframe.h | bd80bca6adbea4ff0db3ca1783a5c19920c32949 | [] | no_license | panjinan333/ttcut | 61b160c0c38c2ea6c8785ba258c2fa4b6d18ae1a | fc13ec3289ae4dbce6a888d83c25fbc9c3d21c1a | refs/heads/master | 2022-03-23T21:55:36.535233 | 2010-12-23T20:58:13 | 2010-12-23T20:58:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,333 | h | /*----------------------------------------------------------------------------*/
/* COPYRIGHT: TriTime (c) 2003/2008 / www.tritime.org */
/*----------------------------------------------------------------------------*/
/* PROJEKT : TTCUT 2006 */
/* FILE : ttcurrentframe.h */
/*----------------------------------------------------------------------------*/
/* AUTHOR : b. altendorf (E-Mail: b.altendorf@tritime.de) DATE: 02/19/2006 */
/*----------------------------------------------------------------------------*/
// ----------------------------------------------------------------------------
// TTCURRENTFRAME
// ----------------------------------------------------------------------------
/*----------------------------------------------------------------------------*/
/* This program is free software; you can redistribute it and/or modify it */
/* under the terms of the GNU General Public License as published by the Free */
/* Software Foundation; */
/* either version 2 of the License, or (at your option) any later version. */
/* */
/* This program is distributed in the hope that it will be useful, but WITHOUT*/
/* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or */
/* FITNESS FOR A PARTICULAR PURPOSE. */
/* See the GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License along */
/* with this program; if not, write to the Free Software Foundation, */
/* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */
/*----------------------------------------------------------------------------*/
#ifndef TTCURRENTFRAME_H
#define TTCURRENTFRAME_H
#include "ui_currentframewidget.h"
#include "../common/ttcut.h"
#include "../avstream//ttmpeg2videostream.h"
class TTAVItem;
class TTCurrentFrame: public QWidget, Ui::TTCurrentFrameWidget
{
Q_OBJECT
public:
TTCurrentFrame(QWidget* parent = 0);
void setTitle(const QString & title);
void controlEnabled(bool enabled);
int currentFramePos();
void saveCurrentFrame();
void closeVideoStream();
void wheelEvent(QWheelEvent * e);
public slots:
void onAVDataChanged(TTAVItem* avData);
void onPrevIFrame();
void onNextIFrame();
void onPrevPFrame();
void onNextPFrame();
void onPrevBFrame();
void onNextBFrame();
void onSetMarker();
void onGotoMarker(int markerPos);
void onSetCutIn(int cutInPos);
void onSetCutOut(int cutOutPos);
void onGotoCutIn(int pos);
void onGotoCutOut(int pos);
void onGotoFrame(int pos);
void onGotoFrame(int pos, int fast);
void onMoveNumSteps(int);
void onMoveToHome();
void onMoveToEnd();
signals:
void newFramePosition(int);
void prevFrame();
void nextFrame();
void setMarker(int);
private:
void updateCurrentPosition();
private:
bool isControlEnabled;
TTMpeg2VideoStream* mpeg2Stream;
};
#endif //TTCURRENTFRAME_H
| [
"b.altendorf@tritime.de"
] | b.altendorf@tritime.de |
2c5aee9c5cca5f6ca40c379c2d5b9aeebd80e058 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/WebKit/Source/core/page/SpatialNavigation.cpp | 5a41a5c66b6e95c404bc604dff779fdc3e285447 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 24,810 | cpp | /*
* Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies)
* Copyright (C) 2009 Antonio Gomes <tonikitoo@webkit.org>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``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 APPLE COMPUTER, INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "core/page/SpatialNavigation.h"
#include "core/HTMLNames.h"
#include "core/dom/NodeTraversal.h"
#include "core/frame/FrameView.h"
#include "core/frame/LocalFrame.h"
#include "core/frame/Settings.h"
#include "core/html/HTMLAreaElement.h"
#include "core/html/HTMLFrameOwnerElement.h"
#include "core/html/HTMLImageElement.h"
#include "core/layout/LayoutBox.h"
#include "core/page/FrameTree.h"
#include "core/page/Page.h"
#include "platform/geometry/IntRect.h"
namespace blink {
using namespace HTMLNames;
static void deflateIfOverlapped(LayoutRect&, LayoutRect&);
static LayoutRect rectToAbsoluteCoordinates(LocalFrame* initialFrame,
const LayoutRect&);
static bool isScrollableNode(const Node*);
FocusCandidate::FocusCandidate(Node* node, WebFocusType type)
: visibleNode(nullptr),
focusableNode(nullptr),
enclosingScrollableBox(nullptr),
distance(maxDistance()),
isOffscreen(true),
isOffscreenAfterScrolling(true) {
ASSERT(node);
ASSERT(node->isElementNode());
if (isHTMLAreaElement(*node)) {
HTMLAreaElement& area = toHTMLAreaElement(*node);
HTMLImageElement* image = area.imageElement();
if (!image || !image->layoutObject())
return;
visibleNode = image;
rect = virtualRectForAreaElementAndDirection(area, type);
} else {
if (!node->layoutObject())
return;
visibleNode = node;
rect = nodeRectInAbsoluteCoordinates(node, true /* ignore border */);
}
focusableNode = node;
isOffscreen = hasOffscreenRect(visibleNode);
isOffscreenAfterScrolling = hasOffscreenRect(visibleNode, type);
}
bool isSpatialNavigationEnabled(const LocalFrame* frame) {
return (frame && frame->settings() &&
frame->settings()->spatialNavigationEnabled());
}
bool spatialNavigationIgnoresEventHandlers(const LocalFrame* frame) {
return (frame && frame->settings() &&
frame->settings()->deviceSupportsTouch());
}
static bool rectsIntersectOnOrthogonalAxis(WebFocusType type,
const LayoutRect& a,
const LayoutRect& b) {
switch (type) {
case WebFocusTypeLeft:
case WebFocusTypeRight:
return a.maxY() > b.y() && a.y() < b.maxY();
case WebFocusTypeUp:
case WebFocusTypeDown:
return a.maxX() > b.x() && a.x() < b.maxX();
default:
ASSERT_NOT_REACHED();
return false;
}
}
// Return true if rect |a| is below |b|. False otherwise.
// For overlapping rects, |a| is considered to be below |b|
// if both edges of |a| are below the respective ones of |b|
static inline bool below(const LayoutRect& a, const LayoutRect& b) {
return a.y() >= b.maxY() || (a.y() >= b.y() && a.maxY() > b.maxY() &&
a.x() < b.maxX() && a.maxX() > b.x());
}
// Return true if rect |a| is on the right of |b|. False otherwise.
// For overlapping rects, |a| is considered to be on the right of |b|
// if both edges of |a| are on the right of the respective ones of |b|
static inline bool rightOf(const LayoutRect& a, const LayoutRect& b) {
return a.x() >= b.maxX() || (a.x() >= b.x() && a.maxX() > b.maxX() &&
a.y() < b.maxY() && a.maxY() > b.y());
}
static bool isRectInDirection(WebFocusType type,
const LayoutRect& curRect,
const LayoutRect& targetRect) {
switch (type) {
case WebFocusTypeLeft:
return rightOf(curRect, targetRect);
case WebFocusTypeRight:
return rightOf(targetRect, curRect);
case WebFocusTypeUp:
return below(curRect, targetRect);
case WebFocusTypeDown:
return below(targetRect, curRect);
default:
ASSERT_NOT_REACHED();
return false;
}
}
// Checks if |node| is offscreen the visible area (viewport) of its container
// document. In case it is, one can scroll in direction or take any different
// desired action later on.
bool hasOffscreenRect(Node* node, WebFocusType type) {
// Get the FrameView in which |node| is (which means the current viewport if
// |node| is not in an inner document), so we can check if its content rect is
// visible before we actually move the focus to it.
FrameView* frameView = node->document().view();
if (!frameView)
return true;
ASSERT(!frameView->needsLayout());
LayoutRect containerViewportRect(frameView->visibleContentRect());
// We want to select a node if it is currently off screen, but will be
// exposed after we scroll. Adjust the viewport to post-scrolling position.
// If the container has overflow:hidden, we cannot scroll, so we do not pass
// direction and we do not adjust for scrolling.
int pixelsPerLineStep =
ScrollableArea::pixelsPerLineStep(frameView->getHostWindow());
switch (type) {
case WebFocusTypeLeft:
containerViewportRect.setX(containerViewportRect.x() - pixelsPerLineStep);
containerViewportRect.setWidth(containerViewportRect.width() +
pixelsPerLineStep);
break;
case WebFocusTypeRight:
containerViewportRect.setWidth(containerViewportRect.width() +
pixelsPerLineStep);
break;
case WebFocusTypeUp:
containerViewportRect.setY(containerViewportRect.y() - pixelsPerLineStep);
containerViewportRect.setHeight(containerViewportRect.height() +
pixelsPerLineStep);
break;
case WebFocusTypeDown:
containerViewportRect.setHeight(containerViewportRect.height() +
pixelsPerLineStep);
break;
default:
break;
}
LayoutObject* layoutObject = node->layoutObject();
if (!layoutObject)
return true;
LayoutRect rect(layoutObject->absoluteClippedOverflowRect());
if (rect.isEmpty())
return true;
return !containerViewportRect.intersects(rect);
}
bool scrollInDirection(LocalFrame* frame, WebFocusType type) {
ASSERT(frame);
if (frame && canScrollInDirection(frame->document(), type)) {
int dx = 0;
int dy = 0;
int pixelsPerLineStep =
ScrollableArea::pixelsPerLineStep(frame->view()->getHostWindow());
switch (type) {
case WebFocusTypeLeft:
dx = -pixelsPerLineStep;
break;
case WebFocusTypeRight:
dx = pixelsPerLineStep;
break;
case WebFocusTypeUp:
dy = -pixelsPerLineStep;
break;
case WebFocusTypeDown:
dy = pixelsPerLineStep;
break;
default:
ASSERT_NOT_REACHED();
return false;
}
frame->view()->scrollBy(IntSize(dx, dy), UserScroll);
return true;
}
return false;
}
bool scrollInDirection(Node* container, WebFocusType type) {
ASSERT(container);
if (container->isDocumentNode())
return scrollInDirection(toDocument(container)->frame(), type);
if (!container->layoutBox())
return false;
if (canScrollInDirection(container, type)) {
int dx = 0;
int dy = 0;
// TODO(leviw): Why are these values truncated (toInt) instead of rounding?
FrameView* frameView = container->document().view();
int pixelsPerLineStep = ScrollableArea::pixelsPerLineStep(
frameView ? frameView->getHostWindow() : nullptr);
switch (type) {
case WebFocusTypeLeft:
dx = -pixelsPerLineStep;
break;
case WebFocusTypeRight:
ASSERT(container->layoutBox()->scrollWidth() >
(container->layoutBox()->scrollLeft() +
container->layoutBox()->clientWidth()));
dx = pixelsPerLineStep;
break;
case WebFocusTypeUp:
dy = -pixelsPerLineStep;
break;
case WebFocusTypeDown:
ASSERT(container->layoutBox()->scrollHeight() -
(container->layoutBox()->scrollTop() +
container->layoutBox()->clientHeight()));
dy = pixelsPerLineStep;
break;
default:
ASSERT_NOT_REACHED();
return false;
}
container->layoutBox()->scrollByRecursively(IntSize(dx, dy));
return true;
}
return false;
}
static void deflateIfOverlapped(LayoutRect& a, LayoutRect& b) {
if (!a.intersects(b) || a.contains(b) || b.contains(a))
return;
LayoutUnit deflateFactor = LayoutUnit(-fudgeFactor());
// Avoid negative width or height values.
if ((a.width() + 2 * deflateFactor > 0) &&
(a.height() + 2 * deflateFactor > 0))
a.inflate(deflateFactor);
if ((b.width() + 2 * deflateFactor > 0) &&
(b.height() + 2 * deflateFactor > 0))
b.inflate(deflateFactor);
}
bool isScrollableNode(const Node* node) {
ASSERT(!node->isDocumentNode());
if (!node)
return false;
if (LayoutObject* layoutObject = node->layoutObject())
return layoutObject->isBox() &&
toLayoutBox(layoutObject)->canBeScrolledAndHasScrollableArea() &&
node->hasChildren();
return false;
}
Node* scrollableEnclosingBoxOrParentFrameForNodeInDirection(WebFocusType type,
Node* node) {
ASSERT(node);
Node* parent = node;
do {
// FIXME: Spatial navigation is broken for OOPI.
if (parent->isDocumentNode())
parent = toDocument(parent)->frame()->deprecatedLocalOwner();
else
parent = parent->parentOrShadowHostNode();
} while (parent && !canScrollInDirection(parent, type) &&
!parent->isDocumentNode());
return parent;
}
bool canScrollInDirection(const Node* container, WebFocusType type) {
ASSERT(container);
if (container->isDocumentNode())
return canScrollInDirection(toDocument(container)->frame(), type);
if (!isScrollableNode(container))
return false;
switch (type) {
case WebFocusTypeLeft:
return (container->layoutObject()->style()->overflowX() !=
OverflowHidden &&
container->layoutBox()->scrollLeft() > 0);
case WebFocusTypeUp:
return (container->layoutObject()->style()->overflowY() !=
OverflowHidden &&
container->layoutBox()->scrollTop() > 0);
case WebFocusTypeRight:
return (container->layoutObject()->style()->overflowX() !=
OverflowHidden &&
container->layoutBox()->scrollLeft() +
container->layoutBox()->clientWidth() <
container->layoutBox()->scrollWidth());
case WebFocusTypeDown:
return (container->layoutObject()->style()->overflowY() !=
OverflowHidden &&
container->layoutBox()->scrollTop() +
container->layoutBox()->clientHeight() <
container->layoutBox()->scrollHeight());
default:
ASSERT_NOT_REACHED();
return false;
}
}
bool canScrollInDirection(const LocalFrame* frame, WebFocusType type) {
if (!frame->view())
return false;
ScrollbarMode verticalMode;
ScrollbarMode horizontalMode;
frame->view()->calculateScrollbarModes(horizontalMode, verticalMode);
if ((type == WebFocusTypeLeft || type == WebFocusTypeRight) &&
ScrollbarAlwaysOff == horizontalMode)
return false;
if ((type == WebFocusTypeUp || type == WebFocusTypeDown) &&
ScrollbarAlwaysOff == verticalMode)
return false;
LayoutSize size(frame->view()->contentsSize());
LayoutSize offset(frame->view()->scrollOffset());
LayoutRect rect(frame->view()->visibleContentRect(IncludeScrollbars));
switch (type) {
case WebFocusTypeLeft:
return offset.width() > 0;
case WebFocusTypeUp:
return offset.height() > 0;
case WebFocusTypeRight:
return rect.width() + offset.width() < size.width();
case WebFocusTypeDown:
return rect.height() + offset.height() < size.height();
default:
ASSERT_NOT_REACHED();
return false;
}
}
static LayoutRect rectToAbsoluteCoordinates(LocalFrame* initialFrame,
const LayoutRect& initialRect) {
LayoutRect rect = initialRect;
for (Frame* frame = initialFrame; frame; frame = frame->tree().parent()) {
if (!frame->isLocalFrame())
continue;
// FIXME: Spatial navigation is broken for OOPI.
Element* element = frame->deprecatedLocalOwner();
if (element) {
do {
rect.move(element->offsetLeft(), element->offsetTop());
LayoutObject* layoutObject = element->layoutObject();
element = layoutObject ? layoutObject->offsetParent() : nullptr;
} while (element);
rect.move((-toLocalFrame(frame)->view()->scrollOffset()));
}
}
return rect;
}
LayoutRect nodeRectInAbsoluteCoordinates(Node* node, bool ignoreBorder) {
ASSERT(node && node->layoutObject() &&
!node->document().view()->needsLayout());
if (node->isDocumentNode())
return frameRectInAbsoluteCoordinates(toDocument(node)->frame());
LayoutRect rect =
rectToAbsoluteCoordinates(node->document().frame(), node->boundingBox());
// For authors that use border instead of outline in their CSS, we compensate
// by ignoring the border when calculating the rect of the focused element.
if (ignoreBorder) {
rect.move(node->layoutObject()->style()->borderLeftWidth(),
node->layoutObject()->style()->borderTopWidth());
rect.setWidth(rect.width() -
node->layoutObject()->style()->borderLeftWidth() -
node->layoutObject()->style()->borderRightWidth());
rect.setHeight(rect.height() -
node->layoutObject()->style()->borderTopWidth() -
node->layoutObject()->style()->borderBottomWidth());
}
return rect;
}
LayoutRect frameRectInAbsoluteCoordinates(LocalFrame* frame) {
return rectToAbsoluteCoordinates(
frame, LayoutRect(frame->view()->visibleContentRect()));
}
// This method calculates the exitPoint from the startingRect and the entryPoint
// into the candidate rect. The line between those 2 points is the closest
// distance between the 2 rects. Takes care of overlapping rects, defining
// points so that the distance between them is zero where necessary
void entryAndExitPointsForDirection(WebFocusType type,
const LayoutRect& startingRect,
const LayoutRect& potentialRect,
LayoutPoint& exitPoint,
LayoutPoint& entryPoint) {
switch (type) {
case WebFocusTypeLeft:
exitPoint.setX(startingRect.x());
if (potentialRect.maxX() < startingRect.x())
entryPoint.setX(potentialRect.maxX());
else
entryPoint.setX(startingRect.x());
break;
case WebFocusTypeUp:
exitPoint.setY(startingRect.y());
if (potentialRect.maxY() < startingRect.y())
entryPoint.setY(potentialRect.maxY());
else
entryPoint.setY(startingRect.y());
break;
case WebFocusTypeRight:
exitPoint.setX(startingRect.maxX());
if (potentialRect.x() > startingRect.maxX())
entryPoint.setX(potentialRect.x());
else
entryPoint.setX(startingRect.maxX());
break;
case WebFocusTypeDown:
exitPoint.setY(startingRect.maxY());
if (potentialRect.y() > startingRect.maxY())
entryPoint.setY(potentialRect.y());
else
entryPoint.setY(startingRect.maxY());
break;
default:
ASSERT_NOT_REACHED();
}
switch (type) {
case WebFocusTypeLeft:
case WebFocusTypeRight:
if (below(startingRect, potentialRect)) {
exitPoint.setY(startingRect.y());
if (potentialRect.maxY() < startingRect.y())
entryPoint.setY(potentialRect.maxY());
else
entryPoint.setY(startingRect.y());
} else if (below(potentialRect, startingRect)) {
exitPoint.setY(startingRect.maxY());
if (potentialRect.y() > startingRect.maxY())
entryPoint.setY(potentialRect.y());
else
entryPoint.setY(startingRect.maxY());
} else {
exitPoint.setY(max(startingRect.y(), potentialRect.y()));
entryPoint.setY(exitPoint.y());
}
break;
case WebFocusTypeUp:
case WebFocusTypeDown:
if (rightOf(startingRect, potentialRect)) {
exitPoint.setX(startingRect.x());
if (potentialRect.maxX() < startingRect.x())
entryPoint.setX(potentialRect.maxX());
else
entryPoint.setX(startingRect.x());
} else if (rightOf(potentialRect, startingRect)) {
exitPoint.setX(startingRect.maxX());
if (potentialRect.x() > startingRect.maxX())
entryPoint.setX(potentialRect.x());
else
entryPoint.setX(startingRect.maxX());
} else {
exitPoint.setX(max(startingRect.x(), potentialRect.x()));
entryPoint.setX(exitPoint.x());
}
break;
default:
ASSERT_NOT_REACHED();
}
}
bool areElementsOnSameLine(const FocusCandidate& firstCandidate,
const FocusCandidate& secondCandidate) {
if (firstCandidate.isNull() || secondCandidate.isNull())
return false;
if (!firstCandidate.visibleNode->layoutObject() ||
!secondCandidate.visibleNode->layoutObject())
return false;
if (!firstCandidate.rect.intersects(secondCandidate.rect))
return false;
if (isHTMLAreaElement(*firstCandidate.focusableNode) ||
isHTMLAreaElement(*secondCandidate.focusableNode))
return false;
if (!firstCandidate.visibleNode->layoutObject()->isLayoutInline() ||
!secondCandidate.visibleNode->layoutObject()->isLayoutInline())
return false;
if (firstCandidate.visibleNode->layoutObject()->containingBlock() !=
secondCandidate.visibleNode->layoutObject()->containingBlock())
return false;
return true;
}
void distanceDataForNode(WebFocusType type,
const FocusCandidate& current,
FocusCandidate& candidate) {
if (!isRectInDirection(type, current.rect, candidate.rect))
return;
if (areElementsOnSameLine(current, candidate)) {
if ((type == WebFocusTypeUp && current.rect.y() > candidate.rect.y()) ||
(type == WebFocusTypeDown && candidate.rect.y() > current.rect.y())) {
candidate.distance = 0;
return;
}
}
LayoutRect nodeRect = candidate.rect;
LayoutRect currentRect = current.rect;
deflateIfOverlapped(currentRect, nodeRect);
LayoutPoint exitPoint;
LayoutPoint entryPoint;
entryAndExitPointsForDirection(type, currentRect, nodeRect, exitPoint,
entryPoint);
LayoutUnit xAxis = (exitPoint.x() - entryPoint.x()).abs();
LayoutUnit yAxis = (exitPoint.y() - entryPoint.y()).abs();
LayoutUnit navigationAxisDistance;
LayoutUnit weightedOrthogonalAxisDistance;
// Bias and weights are put to the orthogonal axis distance calculation
// so aligned candidates would have advantage over partially-aligned ones
// and then over not-aligned candidates. The bias is given to not-aligned
// candidates with respect to size of the current rect. The weight for
// left/right direction is given a higher value to allow navigation on
// common horizonally-aligned elements. The hardcoded values are based on
// tests and experiments.
const int orthogonalWeightForLeftRight = 30;
const int orthogonalWeightForUpDown = 2;
int orthogonalBias = 0;
switch (type) {
case WebFocusTypeLeft:
case WebFocusTypeRight:
navigationAxisDistance = xAxis;
if (!rectsIntersectOnOrthogonalAxis(type, currentRect, nodeRect))
orthogonalBias = (currentRect.height() / 2).toInt();
weightedOrthogonalAxisDistance =
(yAxis + orthogonalBias) * orthogonalWeightForLeftRight;
break;
case WebFocusTypeUp:
case WebFocusTypeDown:
navigationAxisDistance = yAxis;
if (!rectsIntersectOnOrthogonalAxis(type, currentRect, nodeRect))
orthogonalBias = (currentRect.width() / 2).toInt();
weightedOrthogonalAxisDistance =
(xAxis + orthogonalBias) * orthogonalWeightForUpDown;
break;
default:
ASSERT_NOT_REACHED();
return;
}
double euclidianDistancePow2 = (xAxis * xAxis + yAxis * yAxis).toDouble();
LayoutRect intersectionRect = intersection(currentRect, nodeRect);
double overlap =
(intersectionRect.width() * intersectionRect.height()).toDouble();
// Distance calculation is based on http://www.w3.org/TR/WICD/#focus-handling
candidate.distance = sqrt(euclidianDistancePow2) + navigationAxisDistance +
weightedOrthogonalAxisDistance - sqrt(overlap);
}
bool canBeScrolledIntoView(WebFocusType type, const FocusCandidate& candidate) {
ASSERT(candidate.visibleNode && candidate.isOffscreen);
LayoutRect candidateRect = candidate.rect;
for (Node& parentNode : NodeTraversal::ancestorsOf(*candidate.visibleNode)) {
LayoutRect parentRect = nodeRectInAbsoluteCoordinates(&parentNode);
if (!candidateRect.intersects(parentRect)) {
if (((type == WebFocusTypeLeft || type == WebFocusTypeRight) &&
parentNode.layoutObject()->style()->overflowX() == OverflowHidden) ||
((type == WebFocusTypeUp || type == WebFocusTypeDown) &&
parentNode.layoutObject()->style()->overflowY() == OverflowHidden))
return false;
}
if (parentNode == candidate.enclosingScrollableBox)
return canScrollInDirection(&parentNode, type);
}
return true;
}
// The starting rect is the rect of the focused node, in document coordinates.
// Compose a virtual starting rect if there is no focused node or if it is off
// screen. The virtual rect is the edge of the container or frame. We select
// which edge depending on the direction of the navigation.
LayoutRect virtualRectForDirection(WebFocusType type,
const LayoutRect& startingRect,
LayoutUnit width) {
LayoutRect virtualStartingRect = startingRect;
switch (type) {
case WebFocusTypeLeft:
virtualStartingRect.setX(virtualStartingRect.maxX() - width);
virtualStartingRect.setWidth(width);
break;
case WebFocusTypeUp:
virtualStartingRect.setY(virtualStartingRect.maxY() - width);
virtualStartingRect.setHeight(width);
break;
case WebFocusTypeRight:
virtualStartingRect.setWidth(width);
break;
case WebFocusTypeDown:
virtualStartingRect.setHeight(width);
break;
default:
ASSERT_NOT_REACHED();
}
return virtualStartingRect;
}
LayoutRect virtualRectForAreaElementAndDirection(HTMLAreaElement& area,
WebFocusType type) {
ASSERT(area.imageElement());
// Area elements tend to overlap more than other focusable elements. We
// flatten the rect of the area elements to minimize the effect of overlapping
// areas.
LayoutRect rect = virtualRectForDirection(
type, rectToAbsoluteCoordinates(
area.document().frame(),
area.computeAbsoluteRect(area.imageElement()->layoutObject())),
LayoutUnit(1));
return rect;
}
HTMLFrameOwnerElement* frameOwnerElement(FocusCandidate& candidate) {
return candidate.isFrameOwnerElement()
? toHTMLFrameOwnerElement(candidate.visibleNode)
: nullptr;
};
} // namespace blink
| [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
07705c779840a341b51030d6e0e9a129988afb60 | fc38a55144a0ad33bd94301e2d06abd65bd2da3c | /thirdparty/cgal/CGAL-4.13/include/CGAL/Nef_3/Halfedge.h | c972929d25fa0a29d42be778895e9142be0c4e56 | [
"LGPL-3.0-only",
"GPL-3.0-only",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"LicenseRef-scancode-free-unknown",
"LGPL-2.0-or-later",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"MIT-0",
"MIT",
"LGPL-3.0-or-later",
"LicenseRef-scancode-warranty-disc... | permissive | bobpepin/dust3d | 20fc2fa4380865bc6376724f0843100accd4b08d | 6dcc6b1675cb49ef3fac4a58845f9c9025aa4c9f | refs/heads/master | 2022-11-30T06:00:10.020207 | 2020-08-09T09:54:29 | 2020-08-09T09:54:29 | 286,051,200 | 0 | 0 | MIT | 2020-08-08T13:45:15 | 2020-08-08T13:45:14 | null | UTF-8 | C++ | false | false | 5,973 | h | // Copyright (c) 1997-2002 Max-Planck-Institute Saarbruecken (Germany).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// You can redistribute it and/or modify it under the terms of the GNU
// General Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at your option) any later version.
//
// Licensees holding a valid commercial license may use this file in
// accordance with the commercial license agreement provided with the software.
//
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
//
// $URL$
// $Id$
// SPDX-License-Identifier: GPL-3.0+
//
//
// Author(s) : Michael Seel <seel@mpi-sb.mpg.de>
// Miguel Granados <granados@mpi-sb.mpg.de>
// Susan Hert <hert@mpi-sb.mpg.de>
// Lutz Kettner <kettner@mpi-sb.mpg.de>
// Peter Hachenberger <hachenberger@mpi-sb.mpg.de>
#ifndef CGAL_NEF_HALFEDGE_H
#define CGAL_NEF_HALFEDGE_H
#include <CGAL/license/Nef_3.h>
#include <string>
#include <sstream>
#include <CGAL/IO/Verbose_ostream.h>
#include <CGAL/Nef_3/SNC_iteration.h>
#include <CGAL/Origin.h>
#undef CGAL_NEF_DEBUG
#define CGAL_NEF_DEBUG 83
#include <CGAL/Nef_2/debug.h>
#ifndef CGAL_I_DO_WANT_TO_USE_GENINFO
#include <boost/any.hpp>
#endif
namespace CGAL {
template <typename Refs>
class Halfedge_base
{ // == Halfedge
#ifdef CGAL_I_DO_WANT_TO_USE_GENINFO
typedef void* GenPtr;
#else
typedef boost::any GenPtr;
#endif
typedef typename Refs::Mark Mark;
typedef typename Refs::Vector_3 Vector_3;
typedef typename Refs::Sphere_point Sphere_point;
typedef typename Refs::Vertex_handle Vertex_handle;
typedef typename Refs::Halfedge_handle Halfedge_handle;
typedef typename Refs::SVertex_handle SVertex_handle;
typedef typename Refs::SHalfedge_handle SHalfedge_handle;
typedef typename Refs::SFace_handle SFace_handle;
typedef typename Refs::Vertex_const_handle Vertex_const_handle;
typedef typename Refs::Halfedge_const_handle Halfedge_const_handle;
typedef typename Refs::SVertex_const_handle SVertex_const_handle;
typedef typename Refs::SHalfedge_const_handle SHalfedge_const_handle;
typedef typename Refs::SFace_const_handle SFace_const_handle;
Vertex_handle center_vertex_;
Mark mark_;
SVertex_handle twin_;
SHalfedge_handle out_sedge_;
SFace_handle incident_sface_;
GenPtr info_;
Sphere_point point_;
public:
Halfedge_base() : center_vertex_(), mark_(), twin_(),
out_sedge_(), incident_sface_(),
info_(), point_() {}
Halfedge_base(Mark m) : center_vertex_(), mark_(m), twin_(),
out_sedge_(), incident_sface_(),
info_(), point_() {}
~Halfedge_base() {
CGAL_NEF_TRACEN(" destroying Halfedge item "<<&*this);
}
Halfedge_base(const Halfedge_base<Refs>& e)
{ center_vertex_ = e.center_vertex_;
point_ = e.point_;
mark_ = e.mark_;
twin_ = e.twin_;
out_sedge_ = e.out_sedge_;
incident_sface_ = e.incident_sface_;
info_ = 0;
}
Halfedge_base<Refs>& operator=(const Halfedge_base<Refs>& e)
{ center_vertex_ = e.center_vertex_;
point_ = e.point_;
mark_ = e.mark_;
twin_ = e.twin_;
out_sedge_ = e.out_sedge_;
incident_sface_ = e.incident_sface_;
info_ = 0;
return *this;
}
Vertex_handle& center_vertex() { return center_vertex_; }
Vertex_const_handle center_vertex() const { return center_vertex_; }
Vertex_handle& source() { return center_vertex_; }
Vertex_const_handle source() const { return center_vertex_; }
Vertex_handle& target() { return twin()->source(); }
Vertex_const_handle target() const { return twin()->source(); }
Mark& mark() { return mark_; }
const Mark& mark() const { return mark_; }
Vector_3 vector() const { return (point_ - CGAL::ORIGIN); }
Sphere_point& point(){ return point_; }
const Sphere_point& point() const { return point_; }
SVertex_handle& twin() { return twin_; }
SVertex_const_handle twin() const { return twin_; }
SHalfedge_handle& out_sedge() { return out_sedge_; }
SHalfedge_const_handle out_sedge() const { return out_sedge_; }
SFace_handle& incident_sface() { return incident_sface_; }
SFace_const_handle incident_sface() const { return incident_sface_; }
bool is_isolated() const { return (out_sedge() == SHalfedge_handle()); }
GenPtr& info() { return info_; }
const GenPtr& info() const { return info_; }
public:
std::string debug() const
{ std::stringstream os;
set_pretty_mode(os);
os<<"sv [ "<<point_
#ifdef CGAL_I_DO_WANT_TO_USE_GENINFO
<<info_
#endif
<<" ] ";
return os.str();
}
bool is_twin() const { return (&*twin_ < this); }
bool is_valid( bool verb = false, int level = 0) const {
Verbose_ostream verr(verb);
verr << "begin CGAL::SNC_items<...>::Halfedge_base::is_valid( verb=true, "
"level = " << level << "):" << std::endl;
bool valid = (center_vertex_ != NULL && center_vertex_ != Vertex_handle());
valid = valid && (twin_ != NULL && twin_ != SVertex_handle() &&
twin_ != SVertex_handle());
// valid = valid && (out_sedge_ != NULL);
// valid = valid && (incident_sface_ != SFace_handle());
// valid = valid &&((out_sedge_ != NULL && incident_sface_ == NULL) ||
// (out_sedge_ == NULL && incident_sface_ != NULL));
valid = valid && (out_sedge_ != NULL || incident_sface_ != NULL);
verr << "end of CGAL::SNC_items<...>::Halfedge_base::is_valid(): structure is "
<< ( valid ? "valid." : "NOT VALID.") << std::endl;
return valid;
}
}; // Halfedge_base
} //namespace CGAL
#endif //CGAL_NEF_HALFEDGE_H
| [
"huxingyi@msn.com"
] | huxingyi@msn.com |
64042f1443da3fa9d5ef5eb92bb68f38ec0b19b8 | a1dce8306153cc1bedf55e03e41a894328201c81 | /src/SDK/RH_PlayerPawn_classes.hpp | 14524bc10652face80a3f934c9067cdd099cca6d | [] | no_license | zanzo420/SDK-RadicalHeights | 97848bebd47baaa799e6a82546727fb9f829d7f1 | 0eeacd1418b2ee45c1522babed684baf4daf79a9 | refs/heads/master | 2020-03-29T22:22:00.257774 | 2018-04-20T14:11:36 | 2018-04-20T14:11:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68,604 | hpp | #pragma once
// Radical Heights (ALPHA-1-201356) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "RH_PlayerPawn_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// DynamicClass PlayerPawn.PlayerPawn_C
// 0x0690 (0x2020 - 0x1990)
class APlayerPawn_C : public AShooterCharacter
{
public:
class UShooterInteractComponent* ShooterInteract; // 0x1990(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class USkeletalMeshComponent* UpperBodyArmor; // 0x1998(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class USkeletalMeshComponent* FacialHair; // 0x19A0(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class USkeletalMeshComponent* hair; // 0x19A8(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class USkeletalMeshComponent* feet; // 0x19B0(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class USkeletalMeshComponent* hands; // 0x19B8(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class USkeletalMeshComponent* waist; // 0x19C0(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class USkeletalMeshComponent* LowerBody; // 0x19C8(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class USkeletalMeshComponent* UpperBody; // 0x19D0(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class USkeletalMeshComponent* head; // 0x19D8(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class USkeletalMeshComponent* face; // 0x19E0(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class UShooterWidgetComponent* ShooterNPCWidget; // 0x19E8(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class UShooterIconComponent* MarkedForDeath; // 0x19F0(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class UShooterIconComponent* LockOnIcon; // 0x19F8(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
class UShooterIconComponent* TargetingIcon; // 0x1A00(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
float Screen_Effect_Confetti_Start_Confetti_Anim_56A56D84419EE08BC27F87AFC5256E16;// 0x1A08(0x0004) (ZeroConstructor, IsPlainOldData)
TEnumAsByte<ETimelineDirection> Screen_Effect_Confetti_Start__Direction_56A56D84419EE08BC27F87AFC5256E16;// 0x1A0C(0x0001) (ZeroConstructor, IsPlainOldData)
unsigned char UnknownData00[0x3]; // 0x1A0D(0x0003) MISSED OFFSET
class UTimelineComponent* Screen_Effect_Confetti_Start; // 0x1A10(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
float Screen_Effect_Confetti_End_Confetti_Anim_58B4787B46E80C1FE8298D8477C049CD;// 0x1A18(0x0004) (ZeroConstructor, IsPlainOldData)
TEnumAsByte<ETimelineDirection> Screen_Effect_Confetti_End__Direction_58B4787B46E80C1FE8298D8477C049CD;// 0x1A1C(0x0001) (ZeroConstructor, IsPlainOldData)
unsigned char UnknownData01[0x3]; // 0x1A1D(0x0003) MISSED OFFSET
class UTimelineComponent* Screen_Effect_Confetti_End; // 0x1A20(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
float Timeline_0_DamageTimeline_8DC1833C4F99B8C8DA336BBA8C6CD578;// 0x1A28(0x0004) (ZeroConstructor, IsPlainOldData)
TEnumAsByte<ETimelineDirection> Timeline_0__Direction_8DC1833C4F99B8C8DA336BBA8C6CD578; // 0x1A2C(0x0001) (ZeroConstructor, IsPlainOldData)
unsigned char UnknownData02[0x3]; // 0x1A2D(0x0003) MISSED OFFSET
class UTimelineComponent* Timeline_1; // 0x1A30(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
float ScreenDirtTimeline_DirtScreenOpacityOverTime_D5E2FCDF4DA4F29D9E8ED790CC59FDDB;// 0x1A38(0x0004) (ZeroConstructor, IsPlainOldData)
TEnumAsByte<ETimelineDirection> ScreenDirtTimeline__Direction_D5E2FCDF4DA4F29D9E8ED790CC59FDDB;// 0x1A3C(0x0001) (ZeroConstructor, IsPlainOldData)
unsigned char UnknownData03[0x3]; // 0x1A3D(0x0003) MISSED OFFSET
class UTimelineComponent* ScreenDirtTimeline; // 0x1A40(0x0008) (BlueprintVisible, ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData)
float PreviousGravityParameterAudio; // 0x1A48(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float ScaledGravityParameterAudio; // 0x1A4C(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
int buff_fx_state; // 0x1A50(0x0004) (Edit, BlueprintVisible, Net, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float RadialBlurTransitionSpeed; // 0x1A54(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float ActorVelocityToUseRadialBlur; // 0x1A58(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData04[0x4]; // 0x1A5C(0x0004) MISSED OFFSET
class AS_Level_Music_C* LevelMusic; // 0x1A60(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UMaterialInstance* RadialBlurPostEffectMaterial; // 0x1A68(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool RadialBlurEffectIsActiveOnCamera; // 0x1A70(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool HaveAppliedEmpBuffEffect; // 0x1A71(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData05[0x6]; // 0x1A72(0x0006) MISSED OFFSET
class UMaterialInstance* EmpPostEffectMaterialInstance; // 0x1A78(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool haveAppliedDamagePostEffect; // 0x1A80(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData06[0x7]; // 0x1A81(0x0007) MISSED OFFSET
class UMaterialInstance* healthDamagedMaterial_Inst; // 0x1A88(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float deltaTimeSum; // 0x1A90(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float timeOfImpactFromDeltaSum; // 0x1A94(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float timeToKeepDamageEffectOnScreen; // 0x1A98(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData07[0x4]; // 0x1A9C(0x0004) MISSED OFFSET
class AShooterCharacter* SelfShooterCharRef; // 0x1AA0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
int SelectScreenDamageInstance; // 0x1AA8(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData08[0x4]; // 0x1AAC(0x0004) MISSED OFFSET
class UMaterialInstance* healthDamagedLight_Inst; // 0x1AB0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UCurveFloat* GravityTransitionCurve; // 0x1AB8(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
int lastGang; // 0x1AC0(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool AllowGravityTransitionSound; // 0x1AC4(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData09[0x3]; // 0x1AC5(0x0003) MISSED OFFSET
float DeltaSeconds; // 0x1AC8(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool GroundNormal; // 0x1ACC(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData10[0x3]; // 0x1ACD(0x0003) MISSED OFFSET
int NumGibBloodSplatters; // 0x1AD0(0x0004) (Edit, BlueprintVisible, ZeroConstructor, Transient, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData11[0x4]; // 0x1AD4(0x0004) MISSED OFFSET
class UMaterialInstance* friendlyTeamIsLawPostEffect; // 0x1AD8(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UMaterialInstance* friendlyTeamIsBreakersPostEffect; // 0x1AE0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UMaterialInstance* InGravityPostProcess; // 0x1AE8(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool InGravityFX; // 0x1AF0(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData12[0x3]; // 0x1AF1(0x0003) MISSED OFFSET
float EnterGravityTimeInSeconds; // 0x1AF4(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float GravityTransitionMaxSeconds; // 0x1AF8(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float GravityTransitionTimeNegative1to1; // 0x1AFC(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float ExitGravityTimeInSeconds; // 0x1B00(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
TEnumAsByte<EGravityEnterAndExitStates> LocalPlayerGravityTransitionState; // 0x1B04(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData13[0x3]; // 0x1B05(0x0003) MISSED OFFSET
class UMaterialInstance* ScreenDirtDamageMaterialInstance; // 0x1B08(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool bShouldApplyDirtToScreen; // 0x1B10(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData14[0x3]; // 0x1B11(0x0003) MISSED OFFSET
float SpawnInGameTimeInSeconds; // 0x1B14(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float HowLongShouldSpawnTransitionBe; // 0x1B18(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
TEnumAsByte<ESpawnInState> SpawnTransitionCurrentState; // 0x1B1C(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool bIsDead; // 0x1B1D(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData15[0x2]; // 0x1B1E(0x0002) MISSED OFFSET
float DeathTimeInSeconds; // 0x1B20(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
int LastFrameInventoryCountFp; // 0x1B24(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
int LastFrameInventoryCount3p; // 0x1B28(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool bHaveSetPostIndexForWeaponsForSpawnAndDissolve; // 0x1B2C(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData16[0x3]; // 0x1B2D(0x0003) MISSED OFFSET
float LastDealtDamageTimeInSecondsPrimary; // 0x1B30(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float FadeOutTimeForFirstPersonBlood; // 0x1B34(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UCurveFloat* FirstPersonBloodFadeCurve; // 0x1B38(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float WaterEventTimeInSeconds; // 0x1B40(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float HowLongWaterEffectsShouldStayOn; // 0x1B44(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UCurveFloat* FirstPersonCurve; // 0x1B48(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UCurveFloat* ThirdPersonCurve; // 0x1B50(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
TEnumAsByte<EPawnInWaterStates> StateOfPlayerInWater; // 0x1B58(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData17[0x3]; // 0x1B59(0x0003) MISSED OFFSET
float IKTraceDistance; // 0x1B5C(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float ScaleForIK; // 0x1B60(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData18[0x4]; // 0x1B64(0x0004) MISSED OFFSET
TArray<struct FName> SocketListOne; // 0x1B68(0x0010) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance)
TArray<struct FName> SocketListTwo; // 0x1B78(0x0010) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance)
float LocalPawnWaterSaturationAmount0to1; // 0x1B88(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool bHaveFoundLevelMusicActor; // 0x1B8C(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool LastFrameShouldHaveEnemyOutlinesEnabled; // 0x1B8D(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool bEnemyHighlightsAreEnabled; // 0x1B8E(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData19[0x1]; // 0x1B8F(0x0001) MISSED OFFSET
class UMaterialInstance* firstPersonBloodFromDamagePost; // 0x1B90(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool bHaveAppliedFirstPersonBloodPost; // 0x1B98(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData20[0x3]; // 0x1B99(0x0003) MISSED OFFSET
float HowCloseGibbedPawnMustBeToAffect; // 0x1B9C(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UMaterialInstance* GravityTransitionMaterialInstance; // 0x1BA0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
int FrameSum; // 0x1BA8(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData21[0x4]; // 0x1BAC(0x0004) MISSED OFFSET
class UAkAudioEvent* Spawn_Sound; // 0x1BB0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool PlayerGibbed; // 0x1BB8(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool GravityTransitionIsAppliedToScreen; // 0x1BB9(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool InGravityPostProcessEffectIsActive; // 0x1BBA(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData22[0x5]; // 0x1BBB(0x0005) MISSED OFFSET
class UMaterialInstance* DebugCharacterIndexMat; // 0x1BC0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool bShouldDebugCharacterIndex; // 0x1BC8(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData23[0x7]; // 0x1BC9(0x0007) MISSED OFFSET
class UParticleSystemComponent* P_Gravity_Streamers_USETHIS; // 0x1BD0(0x0008) (Edit, BlueprintVisible, ExportObject, ZeroConstructor, DisableEditOnInstance, InstancedReference, IsPlainOldData)
class UParticleSystemComponent* P_Shadow_Outline_USETHIS; // 0x1BD8(0x0008) (Edit, BlueprintVisible, ExportObject, ZeroConstructor, DisableEditOnInstance, InstancedReference, IsPlainOldData)
class UParticleSystemComponent* P_Player_Gravity_Ambience_USETHIS; // 0x1BE0(0x0008) (Edit, BlueprintVisible, ExportObject, ZeroConstructor, DisableEditOnInstance, InstancedReference, IsPlainOldData)
bool bPostIndicesDebugPostIsApplied; // 0x1BE8(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
TEnumAsByte<EHealingAndDebuffState> DebuffAndHealingState; // 0x1BE9(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData24[0x6]; // 0x1BEA(0x0006) MISSED OFFSET
class AEmitterCameraLensEffectBase* HealCameraLensFX; // 0x1BF0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UAkAudioEvent* DeSpawnSound; // 0x1BF8(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class AEmitterCameraLensEffectBase* ShieldCameraLensFX; // 0x1C00(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool bHighlightIsDisabledByGameplayCode; // 0x1C08(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool bWasKilledByLightingHands; // 0x1C09(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData25[0x2]; // 0x1C0A(0x0002) MISSED OFFSET
float BaseGravityScale; // 0x1C0C(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UAkAudioEvent* HealBegin; // 0x1C10(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UAkAudioEvent* HealLoop; // 0x1C18(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UAkAudioEvent* HealEnd; // 0x1C20(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UMaterialInstance* EnforcerBuffPost; // 0x1C28(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool bHaveBeenAbleToApplyPostIndicesToWeapons; // 0x1C30(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
unsigned char UnknownData26[0x7]; // 0x1C31(0x0007) MISSED OFFSET
class AShooterPlayerController* ShooterPlayerControllerRef; // 0x1C38(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
struct FPerspectiveFXData HealFX; // 0x1C40(0x0068) (Edit, BlueprintVisible, DisableEditOnInstance)
class UMaterialInstance* ScreenGravGrenadeDamageMaterialInstance; // 0x1CA8(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UMaterialInstance* RNRPostProcessInstance; // 0x1CB0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class UShooterWidgetComponent* ShooterNPCWidget_Safe; // 0x1CB8(0x0008) (Edit, BlueprintVisible, ExportObject, ZeroConstructor, DisableEditOnInstance, InstancedReference, IsPlainOldData)
class UMaterialInstance* Camera_Effect_Confetti; // 0x1CC0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool CallFunc_IsFirstPerson_ReturnValue; // 0x1CC8(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsThirdPersonPawn_bThisIsAThirdPersonPawn; // 0x1CC9(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData27[0x2]; // 0x1CCA(0x0002) MISSED OFFSET
float CallFunc_GetGameTimeInSeconds_ReturnValue; // 0x1CCC(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
struct FName CallFunc_GetBloodSplatMaterialParamaterName_firstPersonBloodSplatStrengthMaterialParamFName;// 0x1CD0(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsGoreEnabled_ReturnValue; // 0x1CD8(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
TEnumAsByte<EHealWidgetState> K2Node_Event_HealWidgetState; // 0x1CD9(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool K2Node_Event_bActive; // 0x1CDA(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool K2Node_SwitchEnum_CmpSuccess; // 0x1CDB(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_HasAuthority_ReturnValue; // 0x1CDC(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData28[0x3]; // 0x1CDD(0x0003) MISSED OFFSET
float CallFunc_GetGameTimeInSeconds_ReturnValue2; // 0x1CE0(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
float CallFunc_GetScalarParameterValue_ReturnValue; // 0x1CE4(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class AShooterCharacter* K2Node_Event_DamagedPlayer; // 0x1CE8(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UClass* K2Node_Event_DamageType; // 0x1CF0(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
int K2Node_Event_DamageDealt; // 0x1CF8(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
float K2Node_Event_HealthFraction; // 0x1CFC(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool K2Node_Event_bWasHeadShot; // 0x1D00(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData29[0x3]; // 0x1D01(0x0003) MISSED OFFSET
int CallFunc_FTrunc_ReturnValue; // 0x1D04(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_EqualEqual_ClassClass_ReturnValue; // 0x1D08(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData30[0x7]; // 0x1D09(0x0007) MISSED OFFSET
class UCameraComponent* CallFunc_GetFirstPersonCamera_ReturnValue; // 0x1D10(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue; // 0x1D18(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData31[0x7]; // 0x1D19(0x0007) MISSED OFFSET
class UCameraComponent* CallFunc_GetFirstPersonCamera_ReturnValue2; // 0x1D20(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue2; // 0x1D28(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData32[0x7]; // 0x1D29(0x0007) MISSED OFFSET
class APlayerController* CallFunc_GetLocalPlayerController_ReturnValue; // 0x1D30(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class AShooterPlayerController* K2Node_DynamicCast_AsShooter_Player_Controller; // 0x1D38(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool K2Node_DynamicCast_bSuccess; // 0x1D40(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData33[0x7]; // 0x1D41(0x0007) MISSED OFFSET
class AShooterCharacter* K2Node_CustomEvent_NewTarget; // 0x1D48(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_EqualEqual_ObjectObject_ReturnValue; // 0x1D50(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsDedicatedSpectator_ReturnValue; // 0x1D51(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData34[0x6]; // 0x1D52(0x0006) MISSED OFFSET
class UAkSoundInstance* CallFunc_PostEvent_ReturnValue; // 0x1D58(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class AShooterHUD* CallFunc_GetLocalHUD_ReturnValue; // 0x1D60(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UAkSoundInstance* CallFunc_PostEvent_ReturnValue2; // 0x1D68(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue3; // 0x1D70(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData35[0x7]; // 0x1D71(0x0007) MISSED OFFSET
class UShooterGameModeStatusWidget* CallFunc_GetGameModeStatusWidget_ReturnValue; // 0x1D78(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue4; // 0x1D80(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData36[0x7]; // 0x1D81(0x0007) MISSED OFFSET
class UAkSoundInstance* CallFunc_PostEvent_ReturnValue3; // 0x1D88(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsLocallyControlled_ReturnValue; // 0x1D90(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue5; // 0x1D91(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsEndMatchActive_ReturnValue; // 0x1D92(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue6; // 0x1D93(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue7; // 0x1D94(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData37[0x3]; // 0x1D95(0x0003) MISSED OFFSET
class UUserWidget* CallFunc_GetUserWidgetObject_ReturnValue; // 0x1D98(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UCameraComponent* CallFunc_GetThirdPersonCamera_ReturnValue; // 0x1DA0(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
class UShooterNPCMasterWidget* K2Node_DynamicCast_AsShooter_NPCMaster_Widget; // 0x1DA8(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool K2Node_DynamicCast_bSuccess2; // 0x1DB0(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData38[0x7]; // 0x1DB1(0x0007) MISSED OFFSET
class UShooterNPCNameWidget* CallFunc_GetNameWidget_ReturnValue; // 0x1DB8(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue8; // 0x1DC0(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData39[0x7]; // 0x1DC1(0x0007) MISSED OFFSET
class UShooterNPCHealthBar* CallFunc_GetHealthBarWidget_ReturnValue; // 0x1DC8(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UShooterNPCHealMeWidget* CallFunc_GetHealMeWidget_ReturnValue; // 0x1DD0(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue9; // 0x1DD8(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue10; // 0x1DD9(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData40[0x6]; // 0x1DDA(0x0006) MISSED OFFSET
class UCameraComponent* CallFunc_GetThirdPersonCamera_ReturnValue2; // 0x1DE0(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
bool K2Node_Event_bEntered; // 0x1DE8(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue11; // 0x1DE9(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData41[0x6]; // 0x1DEA(0x0006) MISSED OFFSET
class AShooterCharacter* CallFunc_GetLocallyControlledOrSpectatedCharacter_ReturnValue;// 0x1DF0(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class AShooterPlayerController* CallFunc_GetShooterPlayerController_ReturnValue; // 0x1DF8(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_EqualEqual_ObjectObject_ReturnValue2; // 0x1E00(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_BooleanAND_ReturnValue; // 0x1E01(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData42[0x6]; // 0x1E02(0x0006) MISSED OFFSET
class UCameraComponent* CallFunc_GetFirstPersonCamera_ReturnValue3; // 0x1E08(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue12; // 0x1E10(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData43[0x7]; // 0x1E11(0x0007) MISSED OFFSET
class UUserWidget* CallFunc_GetUserWidgetObject_ReturnValue2; // 0x1E18(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UShooterNPCMasterWidget* K2Node_DynamicCast_AsShooter_NPCMaster_Widget2; // 0x1E20(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool K2Node_DynamicCast_bSuccess3; // 0x1E28(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsAliveFirstPersonPawnNative_ReturnValue; // 0x1E29(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData44[0x2]; // 0x1E2A(0x0002) MISSED OFFSET
float K2Node_Event_Damage; // 0x1E2C(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UClass* K2Node_Event_DamageType2; // 0x1E30(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class APawn* K2Node_Event_InstigatingPawn; // 0x1E38(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class AActor* K2Node_Event_DamageCauser; // 0x1E40(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_EqualEqual_ClassClass_ReturnValue2; // 0x1E48(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_EqualEqual_ClassClass_ReturnValue3; // 0x1E49(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_EqualEqual_ClassClass_ReturnValue4; // 0x1E4A(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_BooleanOR_ReturnValue; // 0x1E4B(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_EqualEqual_ClassClass_ReturnValue5; // 0x1E4C(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
TEnumAsByte<EBluePrintBranchControl> CallFunc_BranchFloat_OutResult; // 0x1E4D(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_BooleanOR_ReturnValue2; // 0x1E4E(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool K2Node_SwitchEnum2_CmpSuccess; // 0x1E4F(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_BooleanOR_ReturnValue3; // 0x1E50(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData45[0x3]; // 0x1E51(0x0003) MISSED OFFSET
float CallFunc_GetGameTimeInSeconds_ReturnValue3; // 0x1E54(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
float CallFunc_NormalizeFloat0to1_Result0to1; // 0x1E58(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
float CallFunc_NormalizeFloat0to1_Result0to12; // 0x1E5C(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
float CallFunc_Multiply_FloatFloat_ReturnValue; // 0x1E60(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData46[0x4]; // 0x1E64(0x0004) MISSED OFFSET
TArray<class USkeletalMeshComponent*> CallFunc_GetComponentsByClass_ReturnValue; // 0x1E68(0x0010) (ExportObject, ZeroConstructor, Transient, DuplicateTransient)
bool CallFunc_IsGoreEnabled_ReturnValue2; // 0x1E78(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData47[0x3]; // 0x1E79(0x0003) MISSED OFFSET
int CallFunc_Array_Length_ReturnValue; // 0x1E7C(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
float CallFunc_SelectFloat_ReturnValue; // 0x1E80(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsAliveFirstPersonPawnNative_ReturnValue2; // 0x1E84(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData48[0x3]; // 0x1E85(0x0003) MISSED OFFSET
float CallFunc_GetGravityScaleIgnoreOverrides_ReturnValue; // 0x1E88(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
float CallFunc_GetGravityScaleNormalized_ReturnValue; // 0x1E8C(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UParticleSystemComponent* CallFunc_SpawnEmitterAttached_ReturnValue; // 0x1E90(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
int Temp_int_Array_Index_Variable; // 0x1E98(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData49[0x4]; // 0x1E9C(0x0004) MISSED OFFSET
class USkeletalMeshComponent* CallFunc_Array_Get_Item; // 0x1EA0(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
class UPawnMovementComponent* CallFunc_GetMovementComponent_ReturnValue; // 0x1EA8(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsMovingOnGround_ReturnValue; // 0x1EB0(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsLocallyControlled_ReturnValue2; // 0x1EB1(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsLocallyControlled_ReturnValue3; // 0x1EB2(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData50[0x1]; // 0x1EB3(0x0001) MISSED OFFSET
int CallFunc_Add_IntInt_ReturnValue; // 0x1EB4(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UAkSoundInstance* CallFunc_PostEvent_ReturnValue4; // 0x1EB8(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
float CallFunc_GetScalarParameterValue_ReturnValue2; // 0x1EC0(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
float CallFunc_Abs_ReturnValue; // 0x1EC4(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_Greater_FloatFloat_ReturnValue; // 0x1EC8(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData51[0x3]; // 0x1EC9(0x0003) MISSED OFFSET
struct FVector CallFunc_MakeVector_ReturnValue; // 0x1ECC(0x000C) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UAkSoundInstance* CallFunc_PostEvent_ReturnValue5; // 0x1ED8(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
TArray<class AShooterCharacter*> CallFunc_GetAllShooterCharacters_OutShooterCharacters; // 0x1EE0(0x0010) (ZeroConstructor, Transient, DuplicateTransient)
int CallFunc_Array_Length_ReturnValue2; // 0x1EF0(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
struct FVector CallFunc_K2_GetActorLocation_ReturnValue; // 0x1EF4(0x000C) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UParticleSystemComponent* CallFunc_SpawnEmitterAttached_ReturnValue2; // 0x1F00(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
class UCameraComponent* CallFunc_GetFirstPersonCamera_ReturnValue4; // 0x1F08(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsAliveOrDeadFirstPersonPawn_bThisIsAnAliveOrDeadFirstPersonPawn;// 0x1F10(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData52[0x3]; // 0x1F11(0x0003) MISSED OFFSET
struct FVector CallFunc_K2_GetActorLocation_ReturnValue2; // 0x1F14(0x000C) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UParticleSystemComponent* CallFunc_SpawnEmitterAtLocation_ReturnValue; // 0x1F20(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
class UClass* K2Node_Event_DamageType3; // 0x1F28(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_EqualEqual_ClassClass_ReturnValue6; // 0x1F30(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData53[0x7]; // 0x1F31(0x0007) MISSED OFFSET
class UCameraComponent* CallFunc_GetFirstPersonCamera_ReturnValue5; // 0x1F38(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
int Temp_int_Loop_Counter_Variable; // 0x1F40(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_Less_IntInt_ReturnValue; // 0x1F44(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData54[0x3]; // 0x1F45(0x0003) MISSED OFFSET
int CallFunc_Add_IntInt_ReturnValue2; // 0x1F48(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData55[0x4]; // 0x1F4C(0x0004) MISSED OFFSET
class UCameraComponent* CallFunc_GetFirstPersonCamera_ReturnValue6; // 0x1F50(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
class UCameraComponent* CallFunc_GetFirstPersonCamera_ReturnValue7; // 0x1F58(0x0008) (ExportObject, ZeroConstructor, Transient, InstancedReference, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue13; // 0x1F60(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue14; // 0x1F61(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData56[0x6]; // 0x1F62(0x0006) MISSED OFFSET
class AShooter_BuffBase* CallFunc_GetBuff_ReturnValue; // 0x1F68(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_IsValid_ReturnValue15; // 0x1F70(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData57[0x7]; // 0x1F71(0x0007) MISSED OFFSET
class UAkSoundInstance* CallFunc_PostEvent_ReturnValue6; // 0x1F78(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UAkSoundInstance* CallFunc_PostEvent_ReturnValue7; // 0x1F80(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UClass* K2Node_Event_DamageType4; // 0x1F88(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool K2Node_Event_bWasFirstPerson; // 0x1F90(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_EqualEqual_ClassClass_ReturnValue7; // 0x1F91(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_EqualEqual_ClassClass_ReturnValue8; // 0x1F92(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_BooleanOR_ReturnValue4; // 0x1F93(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
float K2Node_Event_DeltaSeconds; // 0x1F94(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
float CallFunc_Add_FloatFloat_ReturnValue; // 0x1F98(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_HasAuthority_ReturnValue2; // 0x1F9C(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool Temp_bool_IsClosed_Variable; // 0x1F9D(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool Temp_bool_Has_Been_Initd_Variable; // 0x1F9E(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool Temp_bool_IsClosed_Variable2; // 0x1F9F(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool Temp_bool_Has_Been_Initd_Variable2; // 0x1FA0(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool Temp_bool_IsClosed_Variable3; // 0x1FA1(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool Temp_bool_Has_Been_Initd_Variable3; // 0x1FA2(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_NearlyEqual_FloatFloat_ReturnValue; // 0x1FA3(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_NearlyEqual_FloatFloat_ReturnValue2; // 0x1FA4(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData58[0x3]; // 0x1FA5(0x0003) MISSED OFFSET
struct FScriptDelegate K2Node_CreateDelegate_OutputDelegate; // 0x1FA8(0x0014) (ZeroConstructor, Transient, InstancedReference, DuplicateTransient)
bool Temp_bool_IsClosed_Variable4; // 0x1FB8(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool Temp_bool_Has_Been_Initd_Variable4; // 0x1FB9(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData59[0x2]; // 0x1FBA(0x0002) MISSED OFFSET
float CallFunc_Subtract_FloatFloat_ReturnValue; // 0x1FBC(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
int Temp_int_Variable; // 0x1FC0(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData60[0x4]; // 0x1FC4(0x0004) MISSED OFFSET
class UMaterialInstance* K2Node_Select_Default; // 0x1FC8(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class UMaterialInstance* Temp_object_Variable; // 0x1FD0(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
TEnumAsByte<EBluePrintBranchControl> CallFunc_BranchInt_OutResult; // 0x1FD8(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool K2Node_SwitchEnum3_CmpSuccess; // 0x1FD9(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData61[0x2]; // 0x1FDA(0x0002) MISSED OFFSET
int Temp_int_Variable2; // 0x1FDC(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
int Temp_int_Loop_Counter_Variable2; // 0x1FE0(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool CallFunc_Less_IntInt_ReturnValue2; // 0x1FE4(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData62[0x3]; // 0x1FE5(0x0003) MISSED OFFSET
class UMaterialInstance* K2Node_Select2_Default; // 0x1FE8(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
int CallFunc_Add_IntInt_ReturnValue3; // 0x1FF0(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
int Temp_int_Array_Index_Variable2; // 0x1FF4(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class AShooterCharacter* CallFunc_Array_Get_Item2; // 0x1FF8(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
class APlayerPawn_C* K2Node_DynamicCast_AsPlayer_Pawn; // 0x2000(0x0008) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
bool K2Node_DynamicCast_bSuccess4; // 0x2008(0x0001) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData63[0x3]; // 0x2009(0x0003) MISSED OFFSET
float CallFunc_GetTeamIndexForPosts_PostScalar; // 0x200C(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
int CallFunc_FTrunc_ReturnValue2; // 0x2010(0x0004) (ZeroConstructor, Transient, DuplicateTransient, IsPlainOldData)
unsigned char UnknownData64[0xC]; // 0x2014(0x000C) MISSED OFFSET
static UClass* StaticClass()
{
static auto ptr = UObject::FindClass("DynamicClass PlayerPawn.PlayerPawn_C");
return ptr;
}
void UserConstructionScript();
void UpdateTickForJumpKickSounds();
void UpdateTickForGravityTransitions();
void UpdateTickFor3pAmmoDisplays();
void UpdateTeamHighlights();
void UpdateLastFrameVariables();
void UpdateInGravityPostProcessEvent();
void UpdateGravityTransitionPostEffect();
void UpdateGameplayFresnel();
void UpdateDebugPostIndices();
void UpdateAmmoData();
void Timeline_0__UpdateFunc();
void Timeline_0__FinishedFunc();
void Stop_Confetti_Buff();
void Start_Confetti_Buff();
void SetupSpawnStateForFX();
void SetRNRPostOnFirstAndThirdPersonCamera();
void SetPlayerSideAudioSwitch();
void SetLocalTeamNumberForFX();
void Screen_Effect_Confetti_Start__UpdateFunc();
void Screen_Effect_Confetti_Start__FinishedFunc();
void Screen_Effect_Confetti_End__UpdateFunc();
void Screen_Effect_Confetti_End__FinishedFunc();
void ScreenDirtTimeline__UpdateFunc();
void ScreenDirtTimeline__FinishedFunc();
void ResetRTPCValues();
void RequestUpdateToCharacterIndex3P();
void ReceiveTick(float bpp__DeltaSeconds__pf);
void ReceiveBeginPlay();
void OnStopSpectating();
void OnSpectatorTargetChanged(class AShooterCharacter* bpp__NewTarget__pf);
void OnSetPostIndiceForThirdPersonPawnEvent();
void OnLocalPlayerTookDamage(float bpp__Damage__pf, class UClass* bpp__DamageType__pf, class APawn* bpp__InstigatingPawn__pf, class AActor* bpp__DamageCauser__pf);
void OnLocalPlayerDealtDamage(class AShooterCharacter* bpp__DamagedPlayer__pf__const, class UClass* bpp__DamageType__pf, int bpp__DamageDealt__pf, float bpp__HealthFraction__pf, bool bpp__bWasHeadShot__pf);
void OnEndOfMatchOverlaySet();
void OnEndOfMatchOverlayCleared();
void OnCharacterCustomizationCompleted();
void GetBloodSplatMaterialParamaterName(struct FName* bpp__firstPersonBloodSplatStrengthMaterialParamFName__pf);
void GetAmmoInfo(int bpp__FirexMode__pfT, int* bpp__CurrentxAmmo__pfT, int* bpp__MaxxAmmo__pfT, bool* bpp__InfoIsValid__pf);
void FindLevelMusicActorIfNotAlreadyFound();
void ExecuteUbergraph_PlayerPawn_17(int bpp__EntryPoint__pf);
void ExecuteUbergraph_PlayerPawn_14(int bpp__EntryPoint__pf);
void ExecuteUbergraph_PlayerPawn_13(int bpp__EntryPoint__pf);
void EventOnHealWidgetUpdate(TEnumAsByte<EHealWidgetState> bpp__HealWidgetState__pf, bool bpp__bActive__pf);
void DampIIR(float bpp__NewValue__pf, float bpp__PreviousValue__pf, float bpp__DampFactor__pf, float bpp__DeltaTime__pf, float* bpp__DampedValue__pf);
void BPToggleDangerZone(bool bpp__bEntered__pf);
void BlueprintEventDeath(class UClass* bpp__DamageType__pf, bool bpp__bWasFirstPerson__pf);
void BeginDeathFX(class UClass* bpp__DamageType__pf);
void AdjustPostEffectsForLocalPlayerHealth();
void SpectatorTargetChanged__DelegateSignature(class AShooterCharacter* NewTarget);
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"aeonlucid@outlook.com"
] | aeonlucid@outlook.com |
8c454914cafa437dfbb74df19e8b1dc89bfe2f2f | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/FibrePortOnFCAdapter/UNIX_FibrePortOnFCAdapter_LINUX.hxx | 9302ac24cd3059b901bdd370296dc72bfd499a77 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136 | hxx | #ifdef PEGASUS_OS_LINUX
#ifndef __UNIX_FIBREPORTONFCADAPTER_PRIVATE_H
#define __UNIX_FIBREPORTONFCADAPTER_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
778980f7b0a8110e813bbd4d882b6122b89eacdc | 17633d1f00948a49ebf058df74863a4992ead4f5 | /94/P94/P94/main.cpp | 228f7a19c982c64d3841777332e6a6c59dec0d7a | [
"MIT"
] | permissive | swy20190/Leetcode-Cracker | 965ae2ce9c548dc39cbe3a082258c2373301248c | 3b80eacfa63983d5fcc50442f0813296d5c1af94 | refs/heads/main | 2023-07-01T15:06:57.827192 | 2021-08-12T07:30:23 | 2021-08-12T07:30:23 | 311,195,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | #include <vector>
#include <iostream>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode() : val(0), left(nullptr), right(nullptr) {}
TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), left(left), right(right) {}
};
class Solution {
vector<int> ans;
public:
vector<int> inorderTraversal(TreeNode* root) {
traverse(root);
return ans;
}
void traverse(TreeNode* curr) {
if (curr == nullptr) {
return;
}
else {
traverse(curr->left);
ans.push_back(curr->val);
traverse(curr->right);
}
}
}; | [
"midnightsun114514@gmail.com"
] | midnightsun114514@gmail.com |
e11e31abdc21ec8b67875a2d07fc67a409fe573d | 512990fffa0455b835e371b8e63b64559b477708 | /src/rpc/configget.hpp | f0eff7b0456eb5c6345a7ab2f55336f9b9deec3b | [] | no_license | ronioncloud/server-2 | 8977f1ba49a2eb4b77f6e670b51d94afdb6af22b | 3d32152f592e8a01576db81c4d41dc3c77a43a1b | refs/heads/main | 2023-06-11T09:59:24.771688 | 2021-06-25T18:53:13 | 2021-06-25T18:53:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | hpp | #pragma once
#include "command.hpp"
#include <sqlite3.h>
namespace pt::Server::RPC
{
class ConfigGetCommand : public Command
{
public:
ConfigGetCommand(sqlite3* db);
nlohmann::json Execute(nlohmann::json&) override;
private:
sqlite3* m_db;
};
}
| [
"viktor@viktorelofsson.se"
] | viktor@viktorelofsson.se |
b7c790d223e8bd488f8f8d7abcf3b8443026d6fe | 8cafa8e61792ca7571811f62a39a185baaf48fe1 | /tp1_GustavoMaia_LucasRenan/assembler/Swombat.h | 64f0110df024ecf9205a0ae7811c125b3db9e6c3 | [] | no_license | vmgustavo/assemblerSwombat | 79b3e047bd31ab662790b1c1b9ec6d63ac4df098 | e2015ef63d7043499792378b8af57344dd438735 | refs/heads/master | 2021-01-20T08:54:47.448846 | 2017-05-16T03:19:10 | 2017-05-16T03:19:10 | 90,202,421 | 0 | 1 | null | 2017-05-09T01:16:19 | 2017-05-03T23:38:13 | HTML | UTF-8 | C++ | false | false | 1,529 | h | #ifndef swombat_h
#define swombat_h
#include<iostream>
#include<stdlib.h>
#include<vector>
#include<bitset>
#include<map>
#include"tools.h"
using namespace std;
class Swombat{
private:
map<string,int> index_of_registers;//cada registrador tem um indice correspondente (uso geral de 0 a 7)
vector<int> memory;//conteudo da memoria
int mem_size;//tamanho da memoria
map<string,int> data_to_pos;//posicao da memoria relacionada a uma alocacao em .data
map<string,int> label_to_pos;//posicao da memoria relacionada a um label
int last_free;//proxima posicao livre para alocacao (decrescente)
public:
int next_instruction;//proxima posicao livre para guardar instrucao (crescente)
void generate_indexes();
void get_started();
bool islabel(string &s);
bool isdata(string &s);
int get_reg_index(string &s);
int get_addr_from_data(string &s);
int get_addr_from_label(string &s);
void store_instruction(string &label, int graphic);
void solve_pendencies(vector< pair< int, string> > &label_pendencies, vector< pair< int, string> > &data_pendencies);
void allocate(string &label, int num_bytes, int value);
void print();
};
void assemble(Swombat &OurMachine, string &label, string &instr, vector< pair< int, string > > &label_pendencies, vector< pair< int, string > > &data_pendencies);
bool read_instruction(Swombat &OurMachine, vector< pair< int, string > > &label_pendencies, vector< pair< int, string> > &data_pendencies);
#endif
| [
"lucas.renan.vieira@gmail.com"
] | lucas.renan.vieira@gmail.com |
7eec0ffd0bf30901fe2f510685075ecdfa4b31dd | dcc48d9d2c336b52a575aca3e6b289c8301de321 | /input.cpp | 3ceb2716ac6683767c75a32b166beb9596c217dd | [] | no_license | kamei-itsuki/Shooting_Game | 3a9f9ddec87b9adc0b4d2f69f37a5436bd041eed | b9b3d2a2e5ba2874184931c6303ab635e1191fa5 | refs/heads/master | 2020-09-04T20:54:15.982006 | 2019-11-12T08:54:10 | 2019-11-12T08:54:10 | 219,429,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | #include "main.h"
#include "input.h"
BYTE CInput::m_OldKeyState[256];
BYTE CInput::m_KeyState[256];
POINT CInput::m_MousePt;
void CInput::Init()
{
memset( m_OldKeyState, 0, 256 );
memset( m_KeyState, 0, 256 );
}
void CInput::Uninit()
{
}
void CInput::Update()
{
GetCursorPos(&m_MousePt);
memcpy( m_OldKeyState, m_KeyState, 256 );
GetKeyboardState( m_KeyState );
}
bool CInput::GetKeyPress(BYTE KeyCode)
{
return (m_KeyState[KeyCode] & 0x80);
}
bool CInput::GetKeyTrigger(BYTE KeyCode)
{
return ((m_KeyState[KeyCode] & 0x80) && !(m_OldKeyState[KeyCode] & 0x80));
}
float CInput::GetMousePosX()
{
return m_MousePt.x;
}
float CInput::GetMousePosY()
{
return m_MousePt.y;
}
void CInput::MouseReset()
{
SetCursorPos(GetSystemMetrics(SM_CXSCREEN) / 2, GetSystemMetrics(SM_CYSCREEN) / 2);
}
bool CInput::MouseLeftClick()
{
if (MOUSEEVENTF_LEFTDOWN == true)
{
return true;
}
else
{
return false;
}
}
| [
"48118057+kamesan420@users.noreply.github.com"
] | 48118057+kamesan420@users.noreply.github.com |
2088518c3f8405e2b1ee298b4f48e68f0d49e0c0 | 5499e8b91353ef910d2514c8a57a80565ba6f05b | /src/connectivity/wlan/lib/mlme/cpp/include/wlan/mlme/mesh/write_mp_action.h | 969ea96991093b7a592134e59b2f7ab82f31ad5b | [
"BSD-3-Clause"
] | permissive | winksaville/fuchsia | 410f451b8dfc671f6372cb3de6ff0165a2ef30ec | a0ec86f1d51ae8d2538ff3404dad46eb302f9b4f | refs/heads/master | 2022-11-01T11:57:38.343655 | 2019-11-01T17:06:19 | 2019-11-01T17:06:19 | 223,695,500 | 3 | 2 | BSD-3-Clause | 2022-10-13T13:47:02 | 2019-11-24T05:08:59 | C++ | UTF-8 | C++ | false | false | 981 | h | // Copyright 2018 The Fuchsia 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 SRC_CONNECTIVITY_WLAN_LIB_MLME_CPP_INCLUDE_WLAN_MLME_MESH_WRITE_MP_ACTION_H_
#define SRC_CONNECTIVITY_WLAN_LIB_MLME_CPP_INCLUDE_WLAN_MLME_MESH_WRITE_MP_ACTION_H_
#include <fuchsia/wlan/mlme/cpp/fidl.h>
#include <wlan/common/buffer_writer.h>
#include <wlan/common/macaddr.h>
#include <wlan/mlme/mac_header_writer.h>
namespace wlan {
void WriteMpOpenActionFrame(BufferWriter* w, const MacHeaderWriter& mac_header_writer,
const ::fuchsia::wlan::mlme::MeshPeeringOpenAction& action);
void WriteMpConfirmActionFrame(BufferWriter* w, const MacHeaderWriter& mac_header_writer,
const ::fuchsia::wlan::mlme::MeshPeeringConfirmAction& action);
} // namespace wlan
#endif // SRC_CONNECTIVITY_WLAN_LIB_MLME_CPP_INCLUDE_WLAN_MLME_MESH_WRITE_MP_ACTION_H_
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b77fba5fb17e7e14e2f48105d799699ff2e6d3ef | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_BoneModifiersContainer_ChibiMammoth_classes.hpp | 3d6017af4fb14a56dff7bdb307e009d0880216f6 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_BoneModifiersContainer_ChibiMammoth_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass BoneModifiersContainer_ChibiMammoth.BoneModifiersContainer_ChibiMammoth_C
// 0x0000 (0x0038 - 0x0038)
class UBoneModifiersContainer_ChibiMammoth_C : public UBoneModifiersContainer_C
{
public:
static UClass* StaticClass()
{
static auto ptr = UObject::FindClass("BlueprintGeneratedClass BoneModifiersContainer_ChibiMammoth.BoneModifiersContainer_ChibiMammoth_C");
return ptr;
}
void ExecuteUbergraph_BoneModifiersContainer_ChibiMammoth(int EntryPoint);
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
bbc590f909615e62cde7043b7eed2910a919d52f | c6e9e30cb39698c346eb24b3eeef7e3a5c570032 | /gnuradio/build_gdb/gr-trellis/lib/viterbi_b_impl.h | 350745375500c68821c8126a0fa3e193493cbe2f | [] | no_license | Darren2340/local_gnuradio | 283ae020e21a64607fd0721f0c54217dccb5655d | db05a74ab64a5dfae6bca70dfcf57019153c64b5 | refs/heads/master | 2021-01-20T11:25:54.372134 | 2014-07-14T23:42:55 | 2014-07-14T23:42:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,904 | h | /* -*- c++ -*- */
/*
* Copyright 2004,2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* GNU Radio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GNU Radio; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
// WARNING: this file is machine generated. Edits will be overwritten
#ifndef INCLUDED_TRELLIS_VITERBI_B_IMPL_H
#define INCLUDED_TRELLIS_VITERBI_B_IMPL_H
#include <gnuradio/trellis/viterbi_b.h>
namespace gr {
namespace trellis {
class viterbi_b_impl : public viterbi_b
{
private:
fsm d_FSM;
int d_K;
int d_S0;
int d_SK;
//std::vector<int> d_trace;
public:
viterbi_b_impl(const fsm &FSM, int K,
int S0, int SK);
~viterbi_b_impl();
fsm FSM() const { return d_FSM; }
int K() const { return d_K; }
int S0() const { return d_S0; }
int SK() const { return d_SK; }
//std::vector<int> trace () const { return d_trace; }
void forecast(int noutput_items,
gr_vector_int &ninput_items_required);
int general_work(int noutput_items,
gr_vector_int &ninput_items,
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);
};
} /* namespace trellis */
} /* namespace gr */
#endif /* INCLUDED_TRELLIS_VITERBI_B_IMPL_H */
| [
"rjmccabe@rockwellcollins.com"
] | rjmccabe@rockwellcollins.com |
fddf67ae97179a408f822b5e0bba0145b71e48a8 | a38672c055cadeb5668e9d2f84de343f3b74b497 | /UVa/109-1/12190/12190電費尬電.cpp | 662fcb3754f55e483d3c9c7f1ab0ada1a1d42c36 | [] | no_license | NickyHaHa/ProgramBox | fba751be8e0431538e27bba7ced3e00796535363 | 8370895419458c0b890fc0992adf566c506a8b7e | refs/heads/master | 2022-03-04T05:20:35.329417 | 2022-02-10T08:22:40 | 2022-02-10T08:22:40 | 249,462,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,916 | cpp | #include<bits/stdc++.h>
using namespace std;
//Interval of electricty
//cwh = 2*100, 3*9900, 5*990000
int cwh[ 3 ] = {200, 29700, 4950000};
int range[ 3 ] = {100, 9900, 990000};
int price[ 4 ] = {2, 3, 5, 7};
long long int consume(int x);
int main(){
//A = me and neighbor total bill
//B = neighbor bill - my bill
int A, B;
while(cin >> A >> B)
{
if(A == 0 && B == 0)break;
//Caculate A that how much cwh used
//EX: A=35515->A>200,total+100,A-200
//A=35315->A>29700,total+9900,A-29700
//A=5615->A/5=1123,total+1123=11123
int i;
long long int full = 0;
for(i = 0; i < 3; i++)
{
if(A > cwh[ i ])
{
full += range[ i ];
A -= cwh[ i ];
}
else break;
}
A /= price[ i ];
full += A;
//Use Bisection to find my cwh
long long int me, nei, L = 0, M, R = full;
while(L <= R)
{
M = (L+R)/2;
me = consume(M);
nei = consume(full-M);
//If neighbor bill - mine = B, that really my bill!
//Else if my bill > nei's OR nei's - mine < B, then R = M-1
//Else L = M+1
if(nei - me == B)
{
cout << me << endl;
break;
}
else if(me > nei || nei - me < B)
R = M - 1;
else L = M + 1;
}
}
}
long long int consume(int x){
//Give electicity used to find bill to pay
//EX: x=10123->x>100,cs+200,x-100
//x=10023->x>9900,cs+29700,x-9900
//x=123->cs+(123*5)=30515
int j;
long long int cs = 0;
for(j = 0; j < 3; j++)
{
if(x > range[ j ])
{
cs += cwh[ j ];
x -= range[ j ];
}
else break;
}
cs += x * price[ j ];
return cs;
}
| [
"nicky17345@gmail.com"
] | nicky17345@gmail.com |
eeae62daba3d79d94ac48ef85a96de3efc93d9db | 23e393f8c385a4e0f8f3d4b9e2d80f98657f4e1f | /孙鑫C++教程(全20讲)PPT讲义/lesson 8/Lesson8Code/Prop/Prop1.h | 9d4c83efa939428eb9cdaf4d92b26ae6d41876ad | [] | no_license | IgorYunusov/Mega-collection-cpp-1 | c7c09e3c76395bcbf95a304db6462a315db921ba | 42d07f16a379a8093b6ddc15675bf777eb10d480 | refs/heads/master | 2020-03-24T10:20:15.783034 | 2018-06-12T13:19:05 | 2018-06-12T13:19:05 | 142,653,486 | 3 | 1 | null | 2018-07-28T06:36:35 | 2018-07-28T06:36:35 | null | UTF-8 | C++ | false | false | 1,190 | h | #if !defined(AFX_PROP1_H__4DFD3DB8_24AD_471F_BAA7_7D0CC7151F6F__INCLUDED_)
#define AFX_PROP1_H__4DFD3DB8_24AD_471F_BAA7_7D0CC7151F6F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Prop1.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CProp1 dialog
class CProp1 : public CPropertyPage
{
DECLARE_DYNCREATE(CProp1)
// Construction
public:
CProp1();
~CProp1();
// Dialog Data
//{{AFX_DATA(CProp1)
enum { IDD = IDD_PROP1 };
int m_occupation;
CString m_workAddr;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CProp1)
public:
virtual BOOL OnSetActive();
virtual LRESULT OnWizardNext();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CProp1)
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROP1_H__4DFD3DB8_24AD_471F_BAA7_7D0CC7151F6F__INCLUDED_)
| [
"wyrover@gmail.com"
] | wyrover@gmail.com |
2f2f989d4d10ca425da77b6a8c6a935113b504df | b03fa03adafccd5e0ba0d2b6770f4d7264c13f03 | /tests/test_utils.cpp | cbb5471245cbb9a1d6991a59d3f0c7dd1f282837 | [] | no_license | bigdot123456/Ledger | b98962835b86c7c7795401b55ab462941efef621 | c8f4ccad3626411bcbde26d728b0bec280e712e7 | refs/heads/master | 2020-07-24T19:29:56.465394 | 2019-09-17T02:03:53 | 2019-09-17T02:03:53 | 208,024,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | cpp | /*******************************************************************************
* (c) 2018 ZondaX GmbH
*
* 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 <cctype>
#include <stdexcept>
#include <cstring>
#include "test_utils.h"
#include "keccak.h"
uint8_t hex2dec(char c) {
c = std::tolower(c);
if (!std::isxdigit(c)) {
throw std::invalid_argument("invalid hexdigit");
}
if (std::isdigit(c)) {
return c - '0';
}
return c - 'a' + 10;
}
size_t parseHexString(const char *s, uint8_t *out) {
size_t len = strlen(s);
if (len % 2 == 1) {
return 0;
}
for (int i = 0; i < len; i += 2) {
out[i >> 1u] = (hex2dec(s[i]) << 4u) + hex2dec(s[i + 1]);
}
return len >> 1u;
};
// https://github.com/debris/tiny-keccak
// Parameters are based on
// https://github.com/ethereum/solidity/blob/6bbedab383f7c8799ef7bcf4cad2bb008a7fcf2c/libdevcore/Keccak256.cpp
void keccak(uint8_t *out, size_t out_len, uint8_t *in, size_t in_len) {
keccak_hash(out, out_len, in, in_len, 136, 0x01);
}
| [
"billli@matrix.space"
] | billli@matrix.space |
f91826f026cb34de6a5587d02325fb88691d2a71 | 3b1c7561c8d3b9452fc0cdefe299b208e0db1853 | /src/core/SkAnnotationKeys.h | 6144bc46cd6369514ea9d805a5b3350e5ee91128 | [
"BSD-3-Clause"
] | permissive | NearTox/Skia | dee04fc980bd40c1861c424b5643e7873f656b01 | 4d0cd2b6deca44eb2255651c4f04396963688761 | refs/heads/master | 2022-12-24T02:01:41.138176 | 2022-08-27T14:32:37 | 2022-08-27T14:32:37 | 153,816,056 | 0 | 0 | BSD-3-Clause | 2022-12-13T23:42:44 | 2018-10-19T17:05:47 | C++ | UTF-8 | C++ | false | false | 701 | h | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkAnnotationKeys_DEFINED
#define SkAnnotationKeys_DEFINED
#include "include/core/SkTypes.h"
class SkAnnotationKeys {
public:
/**
* Returns the canonical key whose payload is a URL
*/
static const char* URL_Key();
/**
* Returns the canonical key whose payload is the name of a destination to
* be defined.
*/
static const char* Define_Named_Dest_Key();
/**
* Returns the canonical key whose payload is the name of a destination to
* be linked to.
*/
static const char* Link_Named_Dest_Key();
};
#endif
| [
"NearTox@outlook.com"
] | NearTox@outlook.com |
169b28963ce9ce29fe2eb9fbef9d52812080a60a | a15950e54e6775e6f7f7004bb90a5585405eade7 | /device/fido/make_credential_request_handler.h | 71f361d4d6a01bd0eca2142e4c7515d8241b9c60 | [
"BSD-3-Clause"
] | permissive | whycoding126/chromium | 19f6b44d0ec3e4f1b5ef61cc083cae587de3df73 | 9191e417b00328d59a7060fa6bbef061a3fe4ce4 | refs/heads/master | 2023-02-26T22:57:28.582142 | 2018-04-09T11:12:57 | 2018-04-09T11:12:57 | 128,760,157 | 1 | 0 | null | 2018-04-09T11:17:03 | 2018-04-09T11:17:03 | null | UTF-8 | C++ | false | false | 1,924 | h | // Copyright 2018 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 DEVICE_FIDO_MAKE_CREDENTIAL_REQUEST_HANDLER_H_
#define DEVICE_FIDO_MAKE_CREDENTIAL_REQUEST_HANDLER_H_
#include <memory>
#include "base/callback.h"
#include "base/component_export.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/optional.h"
#include "device/fido/authenticator_selection_criteria.h"
#include "device/fido/ctap_make_credential_request.h"
#include "device/fido/fido_constants.h"
#include "device/fido/fido_request_handler.h"
namespace service_manager {
class Connector;
}; // namespace service_manager
namespace device {
class FidoDevice;
class FidoTask;
class AuthenticatorMakeCredentialResponse;
using RegisterResponseCallback = base::OnceCallback<void(
FidoReturnCode status_code,
base::Optional<AuthenticatorMakeCredentialResponse> response_data)>;
class COMPONENT_EXPORT(DEVICE_FIDO) MakeCredentialRequestHandler
: public FidoRequestHandler<AuthenticatorMakeCredentialResponse> {
public:
MakeCredentialRequestHandler(
service_manager::Connector* connector,
const base::flat_set<U2fTransportProtocol>& protocols,
CtapMakeCredentialRequest request_parameter,
AuthenticatorSelectionCriteria authenticator_criteria,
RegisterResponseCallback completion_callback);
~MakeCredentialRequestHandler() override;
private:
// FidoRequestHandlerBase:
std::unique_ptr<FidoTask> CreateTaskForNewDevice(FidoDevice* device) final;
CtapMakeCredentialRequest request_parameter_;
AuthenticatorSelectionCriteria authenticator_selection_criteria_;
base::WeakPtrFactory<MakeCredentialRequestHandler> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(MakeCredentialRequestHandler);
};
} // namespace device
#endif // DEVICE_FIDO_MAKE_CREDENTIAL_REQUEST_HANDLER_H_
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f6974a75699e857fc41ba662a69e5ab2d7c2f598 | ca57210b9f533482b60fdf5bd0f0e981cd7e5de2 | /p33_2.cpp | 56f6c0dfad3850ed42302079a9165835d59939d3 | [] | no_license | finem50/lab03 | 2b1bdb6807cef74c1f41cc0dd91daa41708dabc9 | 33696d3b1a40e35ed08e47237c1df182edd98353 | refs/heads/master | 2020-03-27T19:53:54.709161 | 2018-09-03T01:53:07 | 2018-09-03T01:53:07 | 147,019,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,442 | cpp | //This program illustrates the local and global variables and call-by-value
//This program computes the side area and the cross section area of a cylinder
#include <iostream>
#include <cmath>
using namespace std;
double PI = 3.14159; //This variable is defined globally, known to all functions in this program as PI
double cross_area(double r); //Function prototype for function cross_area
double side_area(double r, double h); //Function prototype for function side_area
int main(void){
double h, r; //variable local to the main function
cout << "Enter the radius and the height of the cylinder in cm <Enter>: ";
cin >> r >> h;
cout << endl;
cout << "Before I do any computation or call any function, I want to let you know that \n";
cout << "I am planning to use inch, thus in the first function, I will convert r, and " << endl;
cout << "in the second one I will convert h \n";
cout << "The cross section area of the cylinder is " << cross_area(r) << " inch-sqr" << endl;
cout << "The side area of the cylinder is " << side_area(r,h) << " inch-sqr \n\n";
return 0;
}
double cross_area(double r){
//Cross section area includes the disks at the bottom and the prototype
r = r * 0.3937; //converting r to inch
return 2*PI*pow(r,2);
}
double side_area(double r, double h){
double area; //variable local to side_area functions
h = h * 0.3937; //converting h to inch
area = 2*PI*r*h;
return area;
}
| [
"Finem50@live.com"
] | Finem50@live.com |
b3ff0178213b5f1c42b92d6edc69f170bc45c98c | f5ecd45ff4c65f4805a580cfe9f58426bc610511 | /tests/CoreTests/Upgrade.cpp | 0e6bbda6e6bec1acff643d032b7debf9e0714362 | [
"MIT"
] | permissive | JacopoDT/numerare-core | 3d0f115f4f557439ce821842abb32e5a22fd99af | a98b32150a9b2e6ea7535d12b7e8e1aac0589e2f | refs/heads/master | 2021-06-28T08:32:45.221794 | 2020-08-30T23:50:22 | 2020-08-30T23:50:22 | 131,741,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,080 | cpp | /***
MIT License
Copyright (c) 2018 NUMERARE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Parts of this file are originally Copyright (c) 2012-2017 The CryptoNote developers, The Bytecoin developers
***/
#include "Upgrade.h"
using namespace CryptoNote;
namespace {
bool makeBlocks(std::vector<test_event_entry>& events, test_generator& generator, BlockTemplate& lastBlock,
const BlockTemplate& parentBlock, const CryptoNote::AccountBase& minerAcc, size_t count,
uint8_t majorVersion, uint8_t minorVersion) {
CryptoNote::BlockTemplate prevBlock = parentBlock;
for (size_t i = 0; i < count; ++i) {
CryptoNote::BlockTemplate b;
bool r = generator.constructBlockManually(b, prevBlock, minerAcc, test_generator::bf_major_ver | test_generator::bf_minor_ver,
majorVersion, minorVersion);
if (!r) {
return false;
} else {
prevBlock = b;
events.push_back(b);
}
}
lastBlock = prevBlock;
return true;
}
}
gen_upgrade::gen_upgrade() : m_invalidBlockIndex(0), m_checkBlockTemplateVersionCallCounter(0),
m_coinsInCirculationBeforeUpgrade(0), m_coinsInCirculationAfterUpgrade(0) {
CryptoNote::CurrencyBuilder currencyBuilder(m_logger);
currencyBuilder.maxBlockSizeInitial(std::numeric_limits<size_t>::max() / 2);
currencyBuilder.upgradeHeightV2(std::numeric_limits<uint32_t>::max());
// Disable voting and never upgrade to v.3.0
currencyBuilder.upgradeHeightV3(CryptoNote::parameters::CRYPTONOTE_MAX_BLOCK_NUMBER);
m_currency.reset(new Currency(currencyBuilder.currency()));
REGISTER_CALLBACK_METHOD(gen_upgrade, markInvalidBlock);
REGISTER_CALLBACK_METHOD(gen_upgrade, checkBlockTemplateVersionIsV1);
REGISTER_CALLBACK_METHOD(gen_upgrade, checkBlockTemplateVersionIsV2);
REGISTER_CALLBACK_METHOD(gen_upgrade, checkBlockRewardEqFee);
REGISTER_CALLBACK_METHOD(gen_upgrade, checkBlockRewardIsZero);
REGISTER_CALLBACK_METHOD(gen_upgrade, rememberCoinsInCirculationBeforeUpgrade);
REGISTER_CALLBACK_METHOD(gen_upgrade, rememberCoinsInCirculationAfterUpgrade);
}
bool gen_upgrade::generate(std::vector<test_event_entry>& events) const {
const uint64_t tsStart = 1338224400;
GENERATE_ACCOUNT(minerAccount);
MAKE_GENESIS_BLOCK(events, blk0, minerAccount, tsStart);
// Vote for upgrade
BlockTemplate blk1;
if (!makeBlocks(events, generator, blk1, blk0, minerAccount, m_currency->minNumberVotingBlocks(), BLOCK_MAJOR_VERSION_1, BLOCK_MINOR_VERSION_1)) {
return false;
}
if (!checkBeforeUpgrade(events, generator, blk1, minerAccount, true)) {
return false;
}
// Fill m_currency.upgradeVotingWindow()
BlockTemplate blk2;
if (!makeBlocks(events, generator, blk2, blk1, minerAccount, m_currency->upgradeVotingWindow() - m_currency->minNumberVotingBlocks() - 1,
BLOCK_MAJOR_VERSION_1, BLOCK_MINOR_VERSION_0)) {
return false;
}
// Upgrade voting complete!
uint32_t votingCompleteHeight = CachedBlock(blk2).getBlockIndex();
uint32_t upgradeHeight = m_currency->calculateUpgradeHeight(votingCompleteHeight);
if (!checkBeforeUpgrade(events, generator, blk2, minerAccount, true)) {
return false;
}
// Create blocks up to upgradeHeight
BlockTemplate blk3;
if (!makeBlocks(events, generator, blk3, blk2, minerAccount, upgradeHeight - votingCompleteHeight - 1, BLOCK_MAJOR_VERSION_1, BLOCK_MINOR_VERSION_0)) {
return false;
}
if (!checkBeforeUpgrade(events, generator, blk3, minerAccount, false)) {
return false;
}
// Create last block with version 1.x
BlockTemplate blk4;
if (!makeBlocks(events, generator, blk4, blk3, minerAccount, 1, BLOCK_MAJOR_VERSION_1, BLOCK_MINOR_VERSION_0)) {
return false;
}
generator.defaultMajorVersion = BLOCK_MAJOR_VERSION_2;
generator.defaultMinorVersion = BLOCK_MINOR_VERSION_0;
if (!checkAfterUpgrade(events, generator, blk4, minerAccount)) {
return false;
}
// Create a few blocks with version 2.0
BlockTemplate blk5;
if (!makeBlocks(events, generator, blk5, blk4, minerAccount, 3, BLOCK_MAJOR_VERSION_2, BLOCK_MINOR_VERSION_0)) {
return false;
}
if (!checkAfterUpgrade(events, generator, blk5, minerAccount)) {
return false;
}
return true;
}
bool gen_upgrade::checkBeforeUpgrade(std::vector<test_event_entry>& events, test_generator& generator,
const CryptoNote::BlockTemplate& parentBlock, const CryptoNote::AccountBase& minerAcc,
bool checkReward) const {
// Checking 1: get_block_templare returns block with major version 1
DO_CALLBACK(events, "checkBlockTemplateVersionIsV1");
// Checking 2: penalty doesn't apply to transactions fee
if (checkReward) {
// Add block to the blockchain, later it become an alternative
DO_CALLBACK(events, "rememberCoinsInCirculationBeforeUpgrade");
MAKE_TX_LIST_START(events, txs, minerAcc, minerAcc, MK_COINS(1), parentBlock);
BlockTemplate alternativeBlk;
if (!generator.constructMaxSizeBlock(alternativeBlk, parentBlock, minerAcc, m_currency->rewardBlocksWindow(), txs)) {
return false;
}
events.push_back(populateBlock(alternativeBlk, txs));
DO_CALLBACK(events, "checkBlockRewardEqFee");
}
// Checking 3: block with version 2.0 doesn't accepted
BlockTemplate badBlock;
DO_CALLBACK(events, "markInvalidBlock");
return makeBlocks(events, generator, badBlock, parentBlock, minerAcc, 1, BLOCK_MAJOR_VERSION_2, BLOCK_MINOR_VERSION_0);
}
bool gen_upgrade::checkAfterUpgrade(std::vector<test_event_entry>& events, test_generator& generator,
const CryptoNote::BlockTemplate& parentBlock, const CryptoNote::AccountBase& minerAcc) const {
// Checking 1: get_block_templare returns block with major version 2
DO_CALLBACK(events, "checkBlockTemplateVersionIsV2");
// Checking 2: penalty applies to transactions fee
// Add block to the blockchain, later it become an alternative
DO_CALLBACK(events, "rememberCoinsInCirculationAfterUpgrade");
MAKE_TX_LIST_START(events, txs, minerAcc, minerAcc, MK_COINS(1), parentBlock);
BlockTemplate alternativeBlk;
if (!generator.constructMaxSizeBlock(alternativeBlk, parentBlock, minerAcc, m_currency->rewardBlocksWindow(), txs)) {
return false;
}
events.push_back(populateBlock(alternativeBlk, txs));
DO_CALLBACK(events, "checkBlockRewardIsZero");
// Checking 3: block with version 1.0 doesn't accepted
BlockTemplate badBlock;
DO_CALLBACK(events, "markInvalidBlock");
if (!makeBlocks(events, generator, badBlock, parentBlock, minerAcc, 1, BLOCK_MAJOR_VERSION_1, BLOCK_MINOR_VERSION_0)) {
return false;
}
// Checking 2: block with version 1.1 doesn't accepted
DO_CALLBACK(events, "markInvalidBlock");
return makeBlocks(events, generator, badBlock, parentBlock, minerAcc, 1, BLOCK_MAJOR_VERSION_1, BLOCK_MINOR_VERSION_1);
}
bool gen_upgrade::check_block_verification_context(std::error_code bve, size_t eventIdx, const CryptoNote::BlockTemplate& /*blk*/) {
if (m_invalidBlockIndex == eventIdx) {
m_invalidBlockIndex = 0;
return blockWasNotAdded(bve);
} else {
return blockWasAdded(bve);
}
}
bool gen_upgrade::markInvalidBlock(CryptoNote::Core& /*c*/, size_t evIndex, const std::vector<test_event_entry>& /*events*/) {
m_invalidBlockIndex = evIndex + 1;
return true;
}
bool gen_upgrade::checkBlockTemplateVersionIsV1(CryptoNote::Core& c, size_t /*evIndex*/, const std::vector<test_event_entry>& /*events*/) {
DEFINE_TESTS_ERROR_CONTEXT("gen_upgrade::checkBlockTemplateVersionIsV1");
CHECK_TEST_CONDITION(checkBlockTemplateVersion(c, BLOCK_MAJOR_VERSION_1, BLOCK_MINOR_VERSION_1));
return true;
}
bool gen_upgrade::checkBlockTemplateVersionIsV2(CryptoNote::Core& c, size_t /*evIndex*/, const std::vector<test_event_entry>& /*events*/) {
DEFINE_TESTS_ERROR_CONTEXT("gen_upgrade::checkBlockTemplateVersionIsV2");
CHECK_TEST_CONDITION(checkBlockTemplateVersion(c, BLOCK_MAJOR_VERSION_2, BLOCK_MINOR_VERSION_0));
return true;
}
bool gen_upgrade::checkBlockTemplateVersion(CryptoNote::Core& c, uint8_t expectedMajorVersion, uint8_t expectedMinorVersion) {
DEFINE_TESTS_ERROR_CONTEXT("gen_upgrade::checkBlockTemplateVersion");
AccountBase account;
account.generate();
BlockTemplate b;
Difficulty difficulty;
uint32_t height;
CHECK_TEST_CONDITION(c.getBlockTemplate(b, account.getAccountKeys().address, BinaryArray(), difficulty, height));
CHECK_EQ(static_cast<int>(b.majorVersion), static_cast<int>(expectedMajorVersion));
CHECK_EQ(static_cast<int>(b.minorVersion), static_cast<int>(expectedMinorVersion));
return true;
}
bool gen_upgrade::checkBlockRewardEqFee(CryptoNote::Core& c, size_t evIndex, const std::vector<test_event_entry>& events) {
DEFINE_TESTS_ERROR_CONTEXT("gen_upgrade::checkBlockRewardEqFee");
BlockTemplate blk = boost::get<BlockTemplate>(events[evIndex - 1]);
uint64_t blockReward = getSummaryOutsAmount(blk.baseTransaction);
CHECK_EQ(blockReward, m_currency->minimumFee());
CHECK_EQ(m_coinsInCirculationBeforeUpgrade, c.getTotalGeneratedAmount());
return true;
}
bool gen_upgrade::checkBlockRewardIsZero(CryptoNote::Core& c, size_t evIndex, const std::vector<test_event_entry>& events) {
DEFINE_TESTS_ERROR_CONTEXT("gen_upgrade::checkBlockRewardIsZero");
BlockTemplate blk = boost::get<BlockTemplate>(events[evIndex - 1]);
uint64_t blockReward = getSummaryOutsAmount(blk.baseTransaction);
CHECK_EQ(blockReward, 0);
CHECK_EQ(m_coinsInCirculationAfterUpgrade - m_currency->minimumFee(), c.getTotalGeneratedAmount());
return true;
}
bool gen_upgrade::rememberCoinsInCirculationBeforeUpgrade(CryptoNote::Core& c, size_t /*evIndex*/, const std::vector<test_event_entry>& /*events*/) {
m_coinsInCirculationBeforeUpgrade = c.getTotalGeneratedAmount();
return true;
}
bool gen_upgrade::rememberCoinsInCirculationAfterUpgrade(CryptoNote::Core& c, size_t /*evIndex*/, const std::vector<test_event_entry>& /*events*/) {
m_coinsInCirculationAfterUpgrade = c.getTotalGeneratedAmount();
return true;
}
| [
"38866023+numerare@users.noreply.github.com"
] | 38866023+numerare@users.noreply.github.com |
9cde8113e275f47ff8464004129d11cae196135c | 7a6c99e37463e9eca0aaf57391e8ec2912060d34 | /t1/ethernet.cpp | 7d6e0b305f0046b1e2d24e1d930096a9047a8725 | [
"MIT"
] | permissive | taschetto/networksLab | 25e58ba8e0640f16fb78aa9f8c1e0edf83d005f6 | 4dcdb35e5a97a1605a631fabcc879f17b418f346 | refs/heads/master | 2021-01-23T00:10:00.453371 | 2014-11-28T20:08:06 | 2014-11-28T20:08:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,041 | cpp | #include <cstring>
#include <iomanip>
#include <sstream>
#include <string>
#include "colors.h"
#include "ethernet.h"
#include "helpers.h"
using namespace Colors;
Ethernet::Ethernet(BYTE* by)
{
MakeMAC(&by[0], &destination[0]);
MakeMAC(&by[6], &source[0]);
etherType = MakeWord(&by[12]);
}
Ethernet::~Ethernet()
{
}
int Ethernet::ToBuffer(BYTE* buffer) const
{
int index = 0;
memcpy(&buffer[index], &destination, HLEN); index += HLEN;
memcpy(&buffer[index], &source, HLEN); index += HLEN;
buffer[index++] = HiByte(etherType);
buffer[index++] = LoByte(etherType);
return index;
}
std::string Ethernet::ToString() const
{
std::ostringstream oss;
oss.fill('0');
oss << blue << "# Ethernet Packet #" << std::endl;
oss << blue << "Destination MAC: " << reset << MACToStr(destination) << std::endl;
oss << blue << " Source MAC: " << reset << MACToStr(source) << std::endl;
oss << blue << " Ether Type: " << reset << std::setw(4) << std::hex << etherType << std::endl;
return oss.str();
}
| [
"gtaschetto@gmail.com"
] | gtaschetto@gmail.com |
9643c1d28af59fd52e230c10d2a6e2273f2d7f0b | 5053265dcc44ae065da1472cd9a7603dd319b1af | /code_snips/code/tag_of_tuple.cpp | b48c198dac3499bf7cb3fa695890d10976724c6e | [] | no_license | ricejasonf/cppnow17_nbdl | a2c04c1585f57c3d989226756f92599d9128dfb7 | 2c0a648d4914e4753185783b441aabf569b74e0a | refs/heads/master | 2021-01-19T23:00:10.788446 | 2018-04-25T00:15:53 | 2018-04-26T04:52:36 | 88,905,034 | 4 | 1 | null | 2018-04-26T04:52:38 | 2017-04-20T19:53:47 | JavaScript | UTF-8 | C++ | false | false | 110 | cpp | static_assert(std::is_same<
hana::tag_of_t<hana::tuple<int, char, double>>,
hana::tuple_tag
>::value);
| [
"ricejasonf@gmail.com"
] | ricejasonf@gmail.com |
df7f98ff4d9a93801b5a9efbb92baa0c946ad963 | 93a9e7ab724bcf20071079d0c994f892ff0b6cff | /Lib/OakModel/NodeQuerySiblings.h | 036e2c9c7b69847900af6b89e0d10ae16bc5a829 | [
"MIT"
] | permissive | MNL82/oakmodelview | d28737efb64365ab833253171e4bf4f053368180 | 916f271dbca26f774828ad0fc512d260f14bfb04 | refs/heads/master | 2021-01-04T02:32:38.981381 | 2019-05-15T09:50:41 | 2019-05-15T09:50:41 | 100,886,958 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,217 | h | /**
* oakmodelview - version 0.1.0
* --------------------------------------------------------
* Copyright (C) 2017, by Mikkel Nøhr Løvgreen (mikkel@oakmodelview.com)
* Report bugs and download new versions at http://oakmodelview.com/
*
* This library is distributed under the MIT License.
* See accompanying file LICENSE in the root folder.
*/
#pragma once
#include "NodeQuery.h"
namespace Oak::Model {
// =============================================================================
// Class definition
// =============================================================================
class NodeQuerySiblings : public NodeQuery
{
public:
NodeQuerySiblings();
NodeQuerySiblings(const NodeQuerySiblings& copy);
NodeQuerySiblings(NodeQuerySiblings&& move);
protected:
virtual Node first(const Node &refNode) const override;
virtual Node last(const Node &refNode) const override;
virtual Node next(const Node &refNode, const Node &cNode) const override;
virtual Node previous(const Node &refNode, const Node &cNode) const override;
virtual const NodeDef * _nodeDef(const NodeDef *nDef) const override;
protected:
mutable Node m_parent;
};
} // namespace Oak::Model
| [
"m_loevgreen@hotmail.com"
] | m_loevgreen@hotmail.com |
93305441ebaeb99fb0dd4beef0eef997ac75b128 | 75da0db5bfde99720ddb22692594241308be967e | /DuiLib/Control/UIActiveX.cpp | fcf09531882f0d19b47d5d3cbbcc2b5aced5b1a6 | [] | no_license | 021xcy/BrowserDll | f6bd549e26828f5950b769e4232511e101696263 | a071a3c364d18b704ccaec5b74467237cd157900 | refs/heads/master | 2023-06-25T18:51:02.224423 | 2017-03-20T03:06:15 | 2017-03-20T03:06:15 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 43,472 | cpp | #include "StdAfx.h"
#include <vector>
#include <comutil.h>
namespace DuiLib {
/////////////////////////////////////////////////////////////////////////////////////
//
//
class CActiveXCtrl;
/////////////////////////////////////////////////////////////////////////////////////
//
//
class CActiveXWnd : public CWindowWnd
{
public:
HWND Init(CActiveXCtrl* pOwner, HWND hWndParent);
LPCTSTR GetWindowClassName() const;
void OnFinalMessage(HWND hWnd);
LRESULT HandleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam);
protected:
void DoVerb(LONG iVerb);
LRESULT OnMouseActivate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
LRESULT OnSetFocus(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
LRESULT OnKillFocus(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
LRESULT OnEraseBkgnd(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
LRESULT OnPaint(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
protected:
CActiveXCtrl* m_pOwner;
};
/////////////////////////////////////////////////////////////////////////////////////
//
//
class CActiveXEnum : public IEnumUnknown
{
public:
CActiveXEnum(IUnknown* pUnk) : m_pUnk(pUnk), m_dwRef(1), m_iPos(0)
{
m_pUnk->AddRef();
}
~CActiveXEnum()
{
m_pUnk->Release();
}
LONG m_iPos;
ULONG m_dwRef;
IUnknown* m_pUnk;
STDMETHOD_(ULONG,AddRef)()
{
return ++m_dwRef;
}
STDMETHOD_(ULONG,Release)()
{
LONG lRef = --m_dwRef;
if( lRef == 0 ) delete this;
return lRef;
}
STDMETHOD(QueryInterface)(REFIID riid, LPVOID *ppvObject)
{
*ppvObject = NULL;
if( riid == IID_IUnknown ) *ppvObject = static_cast<IEnumUnknown*>(this);
else if( riid == IID_IEnumUnknown ) *ppvObject = static_cast<IEnumUnknown*>(this);
if( *ppvObject != NULL ) AddRef();
return *ppvObject == NULL ? E_NOINTERFACE : S_OK;
}
STDMETHOD(Next)(ULONG celt, IUnknown **rgelt, ULONG *pceltFetched)
{
if( pceltFetched != NULL ) *pceltFetched = 0;
if( ++m_iPos > 1 ) return S_FALSE;
*rgelt = m_pUnk;
(*rgelt)->AddRef();
if( pceltFetched != NULL ) *pceltFetched = 1;
return S_OK;
}
STDMETHOD(Skip)(ULONG celt)
{
m_iPos += celt;
return S_OK;
}
STDMETHOD(Reset)(void)
{
m_iPos = 0;
return S_OK;
}
STDMETHOD(Clone)(IEnumUnknown **ppenum)
{
return E_NOTIMPL;
}
};
/////////////////////////////////////////////////////////////////////////////////////
//
//
class CActiveXFrameWnd : public IOleInPlaceFrame
{
public:
CActiveXFrameWnd(CActiveXUI* pOwner) : m_dwRef(1), m_pOwner(pOwner), m_pActiveObject(NULL)
{
}
~CActiveXFrameWnd()
{
if( m_pActiveObject != NULL ) m_pActiveObject->Release();
}
ULONG m_dwRef;
CActiveXUI* m_pOwner;
IOleInPlaceActiveObject* m_pActiveObject;
// IUnknown
STDMETHOD_(ULONG,AddRef)()
{
return ++m_dwRef;
}
STDMETHOD_(ULONG,Release)()
{
ULONG lRef = --m_dwRef;
if( lRef == 0 ) delete this;
return lRef;
}
STDMETHOD(QueryInterface)(REFIID riid, LPVOID *ppvObject)
{
*ppvObject = NULL;
if( riid == IID_IUnknown ) *ppvObject = static_cast<IOleInPlaceFrame*>(this);
else if( riid == IID_IOleWindow ) *ppvObject = static_cast<IOleWindow*>(this);
else if( riid == IID_IOleInPlaceFrame ) *ppvObject = static_cast<IOleInPlaceFrame*>(this);
else if( riid == IID_IOleInPlaceUIWindow ) *ppvObject = static_cast<IOleInPlaceUIWindow*>(this);
if( *ppvObject != NULL ) AddRef();
return *ppvObject == NULL ? E_NOINTERFACE : S_OK;
}
// IOleInPlaceFrameWindow
STDMETHOD(InsertMenus)(HMENU /*hmenuShared*/, LPOLEMENUGROUPWIDTHS /*lpMenuWidths*/)
{
return S_OK;
}
STDMETHOD(SetMenu)(HMENU /*hmenuShared*/, HOLEMENU /*holemenu*/, HWND /*hwndActiveObject*/)
{
return S_OK;
}
STDMETHOD(RemoveMenus)(HMENU /*hmenuShared*/)
{
return S_OK;
}
STDMETHOD(SetStatusText)(LPCOLESTR /*pszStatusText*/)
{
return S_OK;
}
STDMETHOD(EnableModeless)(BOOL /*fEnable*/)
{
return S_OK;
}
STDMETHOD(TranslateAccelerator)(LPMSG /*lpMsg*/, WORD /*wID*/)
{
return S_FALSE;
}
// IOleWindow
STDMETHOD(GetWindow)(HWND* phwnd)
{
if( m_pOwner == NULL ) return E_UNEXPECTED;
*phwnd = m_pOwner->GetManager()->GetPaintWindow();
return S_OK;
}
STDMETHOD(ContextSensitiveHelp)(BOOL /*fEnterMode*/)
{
return S_OK;
}
// IOleInPlaceUIWindow
STDMETHOD(GetBorder)(LPRECT /*lprectBorder*/)
{
return S_OK;
}
STDMETHOD(RequestBorderSpace)(LPCBORDERWIDTHS /*pborderwidths*/)
{
return INPLACE_E_NOTOOLSPACE;
}
STDMETHOD(SetBorderSpace)(LPCBORDERWIDTHS /*pborderwidths*/)
{
return S_OK;
}
STDMETHOD(SetActiveObject)(IOleInPlaceActiveObject* pActiveObject, LPCOLESTR /*pszObjName*/)
{
if( pActiveObject != NULL ) pActiveObject->AddRef();
if( m_pActiveObject != NULL ) m_pActiveObject->Release();
m_pActiveObject = pActiveObject;
return S_OK;
}
};
CActiveXCtrl::CActiveXCtrl() :
m_dwRef(1),
m_pOwner(NULL),
m_pWindow(NULL),
m_pUnkSite(NULL),
m_pViewObject(NULL),
m_pInPlaceObject(NULL),
m_bLocked(false),
m_bFocused(false),
m_bCaptured(false),
m_bWindowless(true),
m_bUIActivated(false),
m_bInPlaceActive(false)
{
OleInitialize(NULL);
}
CActiveXCtrl::~CActiveXCtrl()
{
if( m_pWindow != NULL ) {
::DestroyWindow(*m_pWindow);
delete m_pWindow;
}
if( m_pUnkSite != NULL ) m_pUnkSite->Release();
if( m_pViewObject != NULL ) m_pViewObject->Release();
if( m_pInPlaceObject != NULL ) m_pInPlaceObject->Release();
OleUninitialize();
}
STDMETHODIMP CActiveXCtrl::QueryInterface(REFIID riid, LPVOID *ppvObject)
{
*ppvObject = NULL;
if( riid == IID_IUnknown ) *ppvObject = static_cast<IOleWindow*>(this);
else if( riid == IID_IOleClientSite ) *ppvObject = static_cast<IOleClientSite*>(this);
else if( riid == IID_IOleInPlaceSiteWindowless ) *ppvObject = static_cast<IOleInPlaceSiteWindowless*>(this);
else if( riid == IID_IOleInPlaceSiteEx ) *ppvObject = static_cast<IOleInPlaceSiteEx*>(this);
else if( riid == IID_IOleInPlaceSite ) *ppvObject = static_cast<IOleInPlaceSite*>(this);
else if( riid == IID_IOleWindow ) *ppvObject = static_cast<IOleWindow*>(this);
else if( riid == IID_IOleControlSite ) *ppvObject = static_cast<IOleControlSite*>(this);
else if( riid == IID_IOleContainer ) *ppvObject = static_cast<IOleContainer*>(this);
else if( riid == IID_IObjectWithSite ) *ppvObject = static_cast<IObjectWithSite*>(this);
else if( riid == IID_IDocHostUIHandler ) *ppvObject = static_cast<IDocHostUIHandler*>(this);
else if( riid == IID_IOleCommandTarget ) *ppvObject = static_cast<IOleCommandTarget*>(this);
else if(m_pOwner)
{//注意, Owner 不应再调用getcontrol返回-----死循环
m_pOwner->QueryInterface(riid,ppvObject);
}
if( *ppvObject != NULL ) AddRef();
return *ppvObject == NULL ? E_NOINTERFACE : S_OK;
}
STDMETHODIMP_(ULONG) CActiveXCtrl::AddRef()
{
return ++m_dwRef;
}
STDMETHODIMP_(ULONG) CActiveXCtrl::Release()
{
LONG lRef = --m_dwRef;
if( lRef == 0 ) delete this;
return lRef;
}
STDMETHODIMP CActiveXCtrl::SetSite(IUnknown *pUnkSite)
{
// DUITRACE(_T("AX: CActiveXCtrl::SetSite"));
if( m_pUnkSite != NULL ) {
m_pUnkSite->Release();
m_pUnkSite = NULL;
}
if( pUnkSite != NULL ) {
m_pUnkSite = pUnkSite;
m_pUnkSite->AddRef();
}
return S_OK;
}
STDMETHODIMP CActiveXCtrl::GetSite(REFIID riid, LPVOID* ppvSite)
{
// DUITRACE(_T("AX: CActiveXCtrl::GetSite"));
if( ppvSite == NULL ) return E_POINTER;
*ppvSite = NULL;
if( m_pUnkSite == NULL ) return E_FAIL;
return m_pUnkSite->QueryInterface(riid, ppvSite);
}
STDMETHODIMP CActiveXCtrl::SaveObject(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::SaveObject"));
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::GetMoniker(DWORD dwAssign, DWORD dwWhichMoniker, IMoniker** ppmk)
{
// DUITRACE(_T("AX: CActiveXCtrl::GetMoniker"));
if( ppmk != NULL ) *ppmk = NULL;
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::GetContainer(IOleContainer** ppContainer)
{
// DUITRACE(_T("AX: CActiveXCtrl::GetContainer"));
if( ppContainer == NULL ) return E_POINTER;
*ppContainer = NULL;
HRESULT Hr = E_NOTIMPL;
if( m_pUnkSite != NULL ) Hr = m_pUnkSite->QueryInterface(IID_IOleContainer, (LPVOID*) ppContainer);
if( FAILED(Hr) ) Hr = QueryInterface(IID_IOleContainer, (LPVOID*) ppContainer);
return Hr;
}
STDMETHODIMP CActiveXCtrl::ShowObject(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::ShowObject"));
if( m_pOwner == NULL ) return E_UNEXPECTED;
HDC hDC = ::GetDC(m_pOwner->m_hwndHost);
if( hDC == NULL ) return E_FAIL;
if( m_pViewObject != NULL ) m_pViewObject->Draw(DVASPECT_CONTENT, -1, NULL, NULL, NULL, hDC, (RECTL*) &m_pOwner->m_rcItem, (RECTL*) &m_pOwner->m_rcItem, NULL, NULL);
::ReleaseDC(m_pOwner->m_hwndHost, hDC);
return S_OK;
}
STDMETHODIMP CActiveXCtrl::OnShowWindow(BOOL fShow)
{
// DUITRACE(_T("AX: CActiveXCtrl::OnShowWindow"));
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::RequestNewObjectLayout(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::RequestNewObjectLayout"));
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::CanWindowlessActivate(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::CanWindowlessActivate"));
return S_OK; // Yes, we can!!
}
STDMETHODIMP CActiveXCtrl::GetCapture(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::GetCapture"));
if( m_pOwner == NULL ) return E_UNEXPECTED;
return m_bCaptured ? S_OK : S_FALSE;
}
STDMETHODIMP CActiveXCtrl::SetCapture(BOOL fCapture)
{
// DUITRACE(_T("AX: CActiveXCtrl::SetCapture"));
if( m_pOwner == NULL ) return E_UNEXPECTED;
m_bCaptured = (fCapture == TRUE);
if( fCapture ) ::SetCapture(m_pOwner->m_hwndHost); else ::ReleaseCapture();
return S_OK;
}
STDMETHODIMP CActiveXCtrl::GetFocus(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::GetFocus"));
if( m_pOwner == NULL ) return E_UNEXPECTED;
return m_bFocused ? S_OK : S_FALSE;
}
STDMETHODIMP CActiveXCtrl::SetFocus(BOOL fFocus)
{
// DUITRACE(_T("AX: CActiveXCtrl::SetFocus"));
if( m_pOwner == NULL ) return E_UNEXPECTED;
if( fFocus ) m_pOwner->SetFocus();
m_bFocused = (fFocus == TRUE);
return S_OK;
}
STDMETHODIMP CActiveXCtrl::GetDC(LPCRECT pRect, DWORD grfFlags, HDC* phDC)
{
// DUITRACE(_T("AX: CActiveXCtrl::GetDC"));
if( phDC == NULL ) return E_POINTER;
if( m_pOwner == NULL ) return E_UNEXPECTED;
*phDC = ::GetDC(m_pOwner->m_hwndHost);
if( (grfFlags & OLEDC_PAINTBKGND) != 0 ) {
CDuiRect rcItem = m_pOwner->GetPos();
if( !m_bWindowless ) rcItem.ResetOffset();
::FillRect(*phDC, &rcItem, (HBRUSH) (COLOR_WINDOW + 1));
}
return S_OK;
}
STDMETHODIMP CActiveXCtrl::ReleaseDC(HDC hDC)
{
// DUITRACE(_T("AX: CActiveXCtrl::ReleaseDC"));
if( m_pOwner == NULL ) return E_UNEXPECTED;
::ReleaseDC(m_pOwner->m_hwndHost, hDC);
return S_OK;
}
STDMETHODIMP CActiveXCtrl::InvalidateRect(LPCRECT pRect, BOOL fErase)
{
// DUITRACE(_T("AX: CActiveXCtrl::InvalidateRect"));
if( m_pOwner == NULL ) return E_UNEXPECTED;
if( m_pOwner->m_hwndHost == NULL ) return E_FAIL;
return ::InvalidateRect(m_pOwner->m_hwndHost, pRect, fErase) ? S_OK : E_FAIL;
}
STDMETHODIMP CActiveXCtrl::InvalidateRgn(HRGN hRGN, BOOL fErase)
{
// DUITRACE(_T("AX: CActiveXCtrl::InvalidateRgn"));
if( m_pOwner == NULL ) return E_UNEXPECTED;
return ::InvalidateRgn(m_pOwner->m_hwndHost, hRGN, fErase) ? S_OK : E_FAIL;
}
STDMETHODIMP CActiveXCtrl::ScrollRect(INT dx, INT dy, LPCRECT pRectScroll, LPCRECT pRectClip)
{
// DUITRACE(_T("AX: CActiveXCtrl::ScrollRect"));
return S_OK;
}
STDMETHODIMP CActiveXCtrl::AdjustRect(LPRECT prc)
{
// DUITRACE(_T("AX: CActiveXCtrl::AdjustRect"));
return S_OK;
}
STDMETHODIMP CActiveXCtrl::OnDefWindowMessage(UINT msg, WPARAM wParam, LPARAM lParam, LRESULT* plResult)
{
// DUITRACE(_T("AX: CActiveXCtrl::OnDefWindowMessage"));
if( m_pOwner == NULL ) return E_UNEXPECTED;
*plResult = ::DefWindowProc(m_pOwner->m_hwndHost, msg, wParam, lParam);
return S_OK;
}
STDMETHODIMP CActiveXCtrl::OnInPlaceActivateEx(BOOL* pfNoRedraw, DWORD dwFlags)
{
// DUITRACE(_T("AX: CActiveXCtrl::OnInPlaceActivateEx"));
ASSERT(m_pInPlaceObject==NULL);
if( m_pOwner == NULL ) return E_UNEXPECTED;
if( m_pOwner->m_pUnk == NULL ) return E_UNEXPECTED;
::OleLockRunning(m_pOwner->m_pUnk, TRUE, FALSE);
HWND hWndFrame = m_pOwner->GetManager()->GetPaintWindow();
HRESULT Hr = E_FAIL;
if( (dwFlags & ACTIVATE_WINDOWLESS) != 0 ) {
m_bWindowless = true;
Hr = m_pOwner->m_pUnk->QueryInterface(IID_IOleInPlaceObjectWindowless, (LPVOID*) &m_pInPlaceObject);
m_pOwner->m_hwndHost = hWndFrame;
m_pOwner->GetManager()->AddMessageFilter(m_pOwner);
}
if( FAILED(Hr) ) {
m_bWindowless = false;
Hr = CreateActiveXWnd();
if( FAILED(Hr) ) return Hr;
Hr = m_pOwner->m_pUnk->QueryInterface(IID_IOleInPlaceObject, (LPVOID*) &m_pInPlaceObject);
}
if( m_pInPlaceObject != NULL ) {
CDuiRect rcItem = m_pOwner->m_rcItem;
if( !m_bWindowless ) rcItem.ResetOffset();
m_pInPlaceObject->SetObjectRects(&rcItem, &rcItem);
}
m_bInPlaceActive = SUCCEEDED(Hr);
return Hr;
}
STDMETHODIMP CActiveXCtrl::OnInPlaceDeactivateEx(BOOL fNoRedraw)
{
// DUITRACE(_T("AX: CActiveXCtrl::OnInPlaceDeactivateEx"));
m_bInPlaceActive = false;
if( m_pInPlaceObject != NULL ) {
m_pInPlaceObject->Release();
m_pInPlaceObject = NULL;
}
if( m_pWindow != NULL ) {
::DestroyWindow(*m_pWindow);
delete m_pWindow;
m_pWindow = NULL;
}
return S_OK;
}
STDMETHODIMP CActiveXCtrl::RequestUIActivate(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::RequestUIActivate"));
return S_OK;
}
STDMETHODIMP CActiveXCtrl::CanInPlaceActivate(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::CanInPlaceActivate"));
return S_OK;
}
STDMETHODIMP CActiveXCtrl::OnInPlaceActivate(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::OnInPlaceActivate"));
BOOL bDummy = FALSE;
return OnInPlaceActivateEx(&bDummy, 0);
}
STDMETHODIMP CActiveXCtrl::OnUIActivate(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::OnUIActivate"));
m_bUIActivated = true;
return S_OK;
}
STDMETHODIMP CActiveXCtrl::GetWindowContext(IOleInPlaceFrame** ppFrame, IOleInPlaceUIWindow** ppDoc, LPRECT lprcPosRect, LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
{
// DUITRACE(_T("AX: CActiveXCtrl::GetWindowContext"));
if( ppDoc == NULL ) return E_POINTER;
if( ppFrame == NULL ) return E_POINTER;
if( lprcPosRect == NULL ) return E_POINTER;
if( lprcClipRect == NULL ) return E_POINTER;
if (m_pWindow)
{
::GetClientRect(m_pWindow->GetHWND(),lprcPosRect);
::GetClientRect(m_pWindow->GetHWND(),lprcClipRect);
}
else
{
RECT rcItem = m_pOwner->GetPos();
memcpy(lprcPosRect, &rcItem, sizeof(rcItem));
memcpy(lprcClipRect, &rcItem, sizeof(rcItem));
}
*ppFrame = new CActiveXFrameWnd(m_pOwner);
*ppDoc = NULL;
ACCEL ac = { 0 };
HACCEL hac = ::CreateAcceleratorTable(&ac, 1);
lpFrameInfo->cb = sizeof(OLEINPLACEFRAMEINFO);
lpFrameInfo->fMDIApp = FALSE;
lpFrameInfo->hwndFrame = m_pOwner->GetManager()->GetPaintWindow();
lpFrameInfo->haccel = hac;
lpFrameInfo->cAccelEntries = 1;
return S_OK;
}
STDMETHODIMP CActiveXCtrl::Scroll(SIZE scrollExtant)
{
// DUITRACE(_T("AX: CActiveXCtrl::Scroll"));
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::OnUIDeactivate(BOOL fUndoable)
{
// DUITRACE(_T("AX: CActiveXCtrl::OnUIDeactivate"));
m_bUIActivated = false;
return S_OK;
}
STDMETHODIMP CActiveXCtrl::OnInPlaceDeactivate(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::OnInPlaceDeactivate"));
return OnInPlaceDeactivateEx(TRUE);
}
STDMETHODIMP CActiveXCtrl::DiscardUndoState(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::DiscardUndoState"));
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::DeactivateAndUndo(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::DeactivateAndUndo"));
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::OnPosRectChange(LPCRECT lprcPosRect)
{
// DUITRACE(_T("AX: CActiveXCtrl::OnPosRectChange"));
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::GetWindow(HWND* phwnd)
{
// DUITRACE(_T("AX: CActiveXCtrl::GetWindow"));
if( m_pOwner == NULL ) return E_UNEXPECTED;
if( m_pOwner->m_hwndHost == NULL ) CreateActiveXWnd();
if( m_pOwner->m_hwndHost == NULL ) return E_FAIL;
*phwnd = m_pOwner->m_hwndHost;
return S_OK;
}
STDMETHODIMP CActiveXCtrl::ContextSensitiveHelp(BOOL fEnterMode)
{
// DUITRACE(_T("AX: CActiveXCtrl::ContextSensitiveHelp"));
return S_OK;
}
STDMETHODIMP CActiveXCtrl::OnControlInfoChanged(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::OnControlInfoChanged"));
return S_OK;
}
STDMETHODIMP CActiveXCtrl::LockInPlaceActive(BOOL fLock)
{
// DUITRACE(_T("AX: CActiveXCtrl::LockInPlaceActive"));
return S_OK;
}
STDMETHODIMP CActiveXCtrl::GetExtendedControl(IDispatch** ppDisp)
{
// DUITRACE(_T("AX: CActiveXCtrl::GetExtendedControl"));
if( ppDisp == NULL ) return E_POINTER;
if( m_pOwner == NULL ) return E_UNEXPECTED;
if( m_pOwner->m_pUnk == NULL ) return E_UNEXPECTED;
return m_pOwner->m_pUnk->QueryInterface(IID_IDispatch, (LPVOID*) ppDisp);
}
STDMETHODIMP CActiveXCtrl::TransformCoords(POINTL* pPtlHimetric, POINTF* pPtfContainer, DWORD dwFlags)
{
// DUITRACE(_T("AX: CActiveXCtrl::TransformCoords"));
return S_OK;
}
STDMETHODIMP CActiveXCtrl::TranslateAccelerator(MSG *pMsg, DWORD grfModifiers)
{
// DUITRACE(_T("AX: CActiveXCtrl::TranslateAccelerator"));
return S_FALSE;
}
STDMETHODIMP CActiveXCtrl::OnFocus(BOOL fGotFocus)
{
// DUITRACE(_T("AX: CActiveXCtrl::OnFocus"));
m_bFocused = (fGotFocus == TRUE);
return S_OK;
}
STDMETHODIMP CActiveXCtrl::ShowPropertyFrame(void)
{
// DUITRACE(_T("AX: CActiveXCtrl::ShowPropertyFrame"));
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::EnumObjects(DWORD grfFlags, IEnumUnknown** ppenum)
{
// DUITRACE(_T("AX: CActiveXCtrl::EnumObjects"));
if( ppenum == NULL ) return E_POINTER;
if( m_pOwner == NULL ) return E_UNEXPECTED;
*ppenum = new CActiveXEnum(m_pOwner->m_pUnk);
return S_OK;
}
STDMETHODIMP CActiveXCtrl::LockContainer(BOOL fLock)
{
// DUITRACE(_T("AX: CActiveXCtrl::LockContainer"));
m_bLocked = fLock != FALSE;
return S_OK;
}
STDMETHODIMP CActiveXCtrl::ParseDisplayName(IBindCtx *pbc, LPOLESTR pszDisplayName, ULONG* pchEaten, IMoniker** ppmkOut)
{
// DUITRACE(_T("AX: CActiveXCtrl::ParseDisplayName"));
return E_NOTIMPL;
}
HRESULT CActiveXCtrl::CreateActiveXWnd()
{
if( m_pWindow != NULL ) return S_OK;
m_pWindow = new CActiveXWnd;
if( m_pWindow == NULL ) return E_OUTOFMEMORY;
m_pOwner->m_hwndHost = m_pWindow->Init(this, m_pOwner->GetManager()->GetPaintWindow());
return S_OK;
}
// IDocHostUIHandler
STDMETHODIMP CActiveXCtrl::ShowContextMenu( DWORD dwID, POINT* pptPosition, IUnknown* pCommandTarget, IDispatch* pDispatchObjectHit )
{
// DUITRACE(_T("AX: CActiveXCtrl::ShowContextMenu"));
return E_NOTIMPL;
// return S_FALSE;
}
STDMETHODIMP CActiveXCtrl::GetHostInfo( DOCHOSTUIINFO* pInfo )
{
if (pInfo != NULL)
{
pInfo->dwFlags |= DOCHOSTUIFLAG_NO3DBORDER;
}
return S_OK;
}
STDMETHODIMP CActiveXCtrl::ShowUI( DWORD dwID, IOleInPlaceActiveObject* pActiveObject, IOleCommandTarget* pCommandTarget, IOleInPlaceFrame* pFrame, IOleInPlaceUIWindow* pDoc )
{
//// DUITRACE(_T("AX: CActiveXCtrl::ShowUI"));
return S_OK;
}
STDMETHODIMP CActiveXCtrl::HideUI()
{
//// DUITRACE(_T("AX: CActiveXCtrl::ShowUI"));
return S_OK;
}
STDMETHODIMP CActiveXCtrl::UpdateUI()
{
// DUITRACE(_T("AX: CActiveXCtrl::UpdateUI"));
return S_OK;
}
STDMETHODIMP CActiveXCtrl::EnableModeless( BOOL fEnable )
{
// DUITRACE(_T("AX: CActiveXCtrl::EnableModeless"));
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::OnDocWindowActivate( BOOL fActivate )
{
// DUITRACE(_T("AX: CActiveXCtrl::OnDocWindowActivate"));
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::OnFrameWindowActivate( BOOL fActivate )
{
// DUITRACE(_T("AX: CActiveXCtrl::OnFrameWindowActivate"));
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::ResizeBorder( LPCRECT prcBorder, IOleInPlaceUIWindow* pUIWindow, BOOL fFrameWindow )
{
// DUITRACE(_T("AX: CActiveXCtrl::ResizeBorder"));
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::TranslateAccelerator( LPMSG lpMsg, const GUID* pguidCmdGroup, DWORD nCmdID )
{
// DUITRACE(_T("AX: CActiveXCtrl::TranslateAccelerator"));
return S_FALSE;
}
STDMETHODIMP CActiveXCtrl::GetOptionKeyPath( LPOLESTR* pchKey, DWORD dwReserved )
{
// DUITRACE(_T("AX: CActiveXCtrl::GetOptionKeyPath"));
*pchKey = NULL;
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::GetDropTarget( IDropTarget* pDropTarget, IDropTarget** ppDropTarget )
{
// DUITRACE(_T("AX: CActiveXCtrl::GetDropTarget"));
return E_NOTIMPL;
// return S_FALSE; // 使用系统拖拽
}
STDMETHODIMP CActiveXCtrl::GetExternal( IDispatch** ppDispatch )
{
// DUITRACE(_T("AX: CActiveXCtrl::GetExternal"));
if ( ppDispatch == NULL )
return E_POINTER;
*ppDispatch = NULL;
if(m_pOwner)
{
// *ppDispatch = static_cast<IDispatch*>(m_pOwner->GetInterface(_T("ExternalCall")));
return m_pOwner->GetExternalCall((void**)ppDispatch);
//return m_pOwner->QueryInterface(IID_IDispatch, (void**)ppDispatch);
//return ppDispatch != NULL ? S_OK : S_FALSE;
}
return S_FALSE;
}
STDMETHODIMP CActiveXCtrl::TranslateUrl( DWORD dwTranslate, OLECHAR* pchURLIn, OLECHAR** ppchURLOut )
{
// DUITRACE(_T("AX: CActiveXCtrl::TranslateUrl"));
if(ppchURLOut == NULL)
return E_POINTER;
static std::vector<std::string> vec_url;
char* pUrl = _com_util::ConvertBSTRToString(pchURLIn);
vec_url.push_back(pUrl);
delete[]pUrl;
*ppchURLOut = 0;
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::FilterDataObject( IDataObject* pDO, IDataObject** ppDORet )
{
// DUITRACE(_T("AX: CActiveXCtrl::FilterDataObject"));
if(ppDORet == NULL)
return E_POINTER;
*ppDORet = 0;
return E_NOTIMPL;
}
STDMETHODIMP CActiveXCtrl::QueryStatus( __RPC__in_opt const GUID *pguidCmdGroup, ULONG cCmds, __RPC__inout_ecount_full(cCmds ) OLECMD prgCmds[ ], __RPC__inout_opt OLECMDTEXT *pCmdText )
{
// DUITRACE(_T("AX: CActiveXCtrl::QueryStatus"));
return OLECMDERR_E_NOTSUPPORTED;
HRESULT hr = OLECMDERR_E_NOTSUPPORTED;
return hr;
}
STDMETHODIMP CActiveXCtrl::Exec( __RPC__in_opt const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, __RPC__in_opt VARIANT *pvaIn, __RPC__inout_opt VARIANT *pvaOut )
{
HRESULT hr = S_OK;
if (pguidCmdGroup && IsEqualGUID(*pguidCmdGroup, CGID_DocHostCommandHandler))
{
if( (nCmdID == OLECMDID_SHOWSCRIPTERROR) )
{
//For an example of how to get the error info, go to KB article
//http://support.microsoft.com/kb/261003
(*pvaOut).vt = VT_BOOL;
{
//stop running scripts on the page
(*pvaOut).boolVal = VARIANT_FALSE;
}
}
else
hr = OLECMDERR_E_NOTSUPPORTED;
}
else
{
hr = OLECMDERR_E_UNKNOWNGROUP;
}
return hr;
// // DUITRACE(_T("AX: CActiveXCtrl::Exec"));
// HRESULT hr = S_OK;
if (pguidCmdGroup && IsEqualGUID(*pguidCmdGroup, CGID_DocHostCommandHandler))
{
switch (nCmdID)
{
case OLECMDID_SHOWSCRIPTERROR:
{
IHTMLDocument2* pDoc = NULL;
IHTMLWindow2* pWindow = NULL;
IHTMLEventObj* pEventObj = NULL;
BSTR rgwszNames[5] =
{
SysAllocString(L"errorLine"),
SysAllocString(L"errorCharacter"),
SysAllocString(L"errorCode"),
SysAllocString(L"errorMessage"),
SysAllocString(L"errorUrl")
};
DISPID rgDispIDs[5];
VARIANT rgvaEventInfo[5];
DISPPARAMS params;
BOOL fContinueRunningScripts = true;
int i;
params.cArgs = 0;
params.cNamedArgs = 0;
// Get the document that is currently being viewed.
hr = pvaIn->punkVal->QueryInterface(IID_IHTMLDocument2, (void **) &pDoc);
// Get document.parentWindow.
hr = pDoc->get_parentWindow(&pWindow);
pDoc->Release();
// Get the window.event object.
hr = pWindow->get_event(&pEventObj);
// Get the error info from the window.event object.
for (i = 0; i < 5; i++)
{
// Get the property's dispID.
hr = pEventObj->GetIDsOfNames(IID_NULL, &rgwszNames[i], 1,
LOCALE_SYSTEM_DEFAULT, &rgDispIDs[i]);
// Get the value of the property.
hr = pEventObj->Invoke(rgDispIDs[i], IID_NULL,
LOCALE_SYSTEM_DEFAULT,
DISPATCH_PROPERTYGET, ¶ms, &rgvaEventInfo[i],
NULL, NULL);
SysFreeString(rgwszNames[i]);
}
// At this point, you would normally alert the user with
// the information about the error, which is now contained
// in rgvaEventInfo[]. Or, you could just exit silently.
(*pvaOut).vt = VT_BOOL;
if (fContinueRunningScripts)
{
// Continue running scripts on the page.
(*pvaOut).boolVal = VARIANT_TRUE;
}
else
{
// Stop running scripts on the page.
(*pvaOut).boolVal = VARIANT_FALSE;
}
break;
}
default:
hr = OLECMDERR_E_NOTSUPPORTED;
break;
}
}
else
{
hr = OLECMDERR_E_UNKNOWNGROUP;
}
return (hr);
}
STDMETHODIMP CActiveXCtrl::ShowMessage(
/* [in] */ HWND hwnd,
/* [annotation][in] */
_In_ LPOLESTR lpstrText,
/* [annotation][in] */
_In_ LPOLESTR lpstrCaption,
/* [in] */ DWORD dwType,
/* [annotation][in] */
_In_ LPOLESTR lpstrHelpFile,
/* [in] */ DWORD dwHelpContext,
/* [out] */ LRESULT *plResult)
{
USES_CONVERSION;
TCHAR pBuffer[50];
// resource identifier for window caption "Microsoft Internet Explorer"
#define IDS_MESSAGE_BOX_TITLE 2213
// Load Shdoclc.dll and the IE message box title string
HINSTANCE hinstSHDOCLC = LoadLibrary(TEXT("SHDOCLC.DLL"));
if (hinstSHDOCLC == NULL)
{
// Error loading module -- fail as securely as possible
return S_FALSE;
}
LoadString(hinstSHDOCLC, IDS_MESSAGE_BOX_TITLE, pBuffer, 50);
// Compare the IE message box title string with lpstrCaption
// If they're the same, substitute your own Caption
if (_tcscmp(OLE2T(lpstrCaption), pBuffer) == 0)
lpstrCaption = L"XGamer游戏浏览器";
// Create your own message box and display it
*plResult = ::MessageBox(hwnd, OLE2T(lpstrText), OLE2T(lpstrCaption), dwType);
// Unload Shdoclc.dll and return
FreeLibrary(hinstSHDOCLC);
return S_OK;
}
STDMETHODIMP CActiveXCtrl::ShowHelp(
/* [in] */ HWND hwnd,
/* [annotation][in] */
_In_ LPOLESTR pszHelpFile,
/* [in] */ UINT uCommand,
/* [in] */ DWORD dwData,
/* [in] */ POINT ptMouse,
/* [out] */ IDispatch *pDispatchObjectHit)
{
return E_NOTIMPL;
}
//STDMETHODIMP CActiveXCtrl::Download(IMoniker *pmk,IBindCtx *pbc,DWORD dwBindVerb,LONG grfBINDF,BINDINFO *pBindInfo,
// LPCOLESTR pszHeaders,LPCOLESTR pszRedir,UINT uiCP)
//{
// if(m_pOwner)
// {
// return m_pOwner->Download(pmk,pbc,dwBindVerb,grfBINDF,pBindInfo,pszHeaders,pszRedir,uiCP);
// }
// return S_FALSE;
//}
/////////////////////////////////////////////////////////////////////////////////////
//
//
HWND CActiveXWnd::Init(CActiveXCtrl* pOwner, HWND hWndParent)
{
m_pOwner = pOwner;
UINT uStyle = WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN;
Create(hWndParent, _T("UIActiveX"), uStyle, 0L, 0,0,0,0, NULL);
return m_hWnd;
}
LPCTSTR CActiveXWnd::GetWindowClassName() const
{
return _T("ActiveXWnd");
}
void CActiveXWnd::OnFinalMessage(HWND hWnd)
{
//delete this; // 这里不需要清理,CActiveXUI会清理的
}
void CActiveXWnd::DoVerb(LONG iVerb)
{
if( m_pOwner == NULL ) return;
if( m_pOwner->m_pOwner == NULL ) return;
IOleObject* pUnk = NULL;
m_pOwner->m_pOwner->GetControl(IID_IOleObject, (LPVOID*) &pUnk);
if( pUnk == NULL ) return;
CSafeRelease<IOleObject> RefOleObject = pUnk;
IOleClientSite* pOleClientSite = NULL;
m_pOwner->QueryInterface(IID_IOleClientSite, (LPVOID*) &pOleClientSite);
CSafeRelease<IOleClientSite> RefOleClientSite = pOleClientSite;
pUnk->DoVerb(iVerb, NULL, pOleClientSite, 0, m_hWnd, &m_pOwner->m_pOwner->GetPos());
}
LRESULT CActiveXWnd::HandleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam)
{
LRESULT lRes=0;
BOOL bHandled = TRUE;
switch( uMsg ) {
case WM_PAINT: lRes = OnPaint(uMsg, wParam, lParam, bHandled); break;
case WM_SETFOCUS: lRes = OnSetFocus(uMsg, wParam, lParam, bHandled); break;
case WM_KILLFOCUS: lRes = OnKillFocus(uMsg, wParam, lParam, bHandled); break;
case WM_ERASEBKGND: lRes = OnEraseBkgnd(uMsg, wParam, lParam, bHandled); break;
case WM_MOUSEACTIVATE: lRes = OnMouseActivate(uMsg, wParam, lParam, bHandled); break;
case WM_MOUSEWHEEL: break;
default:
bHandled = FALSE;
}
if( !bHandled ) return CWindowWnd::HandleMessage(uMsg, wParam, lParam);
return lRes;
}
LRESULT CActiveXWnd::OnEraseBkgnd(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
if( m_pOwner->m_pViewObject == NULL ) bHandled = FALSE;
return 1;
}
LRESULT CActiveXWnd::OnMouseActivate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
IOleObject* pUnk = NULL;
m_pOwner->m_pOwner->GetControl(IID_IOleObject, (LPVOID*) &pUnk);
if( pUnk == NULL ) return 0;
CSafeRelease<IOleObject> RefOleObject = pUnk;
DWORD dwMiscStatus = 0;
pUnk->GetMiscStatus(DVASPECT_CONTENT, &dwMiscStatus);
if( (dwMiscStatus & OLEMISC_NOUIACTIVATE) != 0 ) return 0;
if( !m_pOwner->m_bInPlaceActive ) DoVerb(OLEIVERB_INPLACEACTIVATE);
bHandled = FALSE;
return 0;
}
LRESULT CActiveXWnd::OnSetFocus(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
bHandled = FALSE;
m_pOwner->m_bFocused = true;
if( !m_pOwner->m_bUIActivated ) DoVerb(OLEIVERB_UIACTIVATE);
return 0;
}
LRESULT CActiveXWnd::OnKillFocus(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
bHandled = FALSE;
m_pOwner->m_bFocused = false;
return 0;
}
LRESULT CActiveXWnd::OnPaint(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
PAINTSTRUCT ps = { 0 };
::BeginPaint(m_hWnd, &ps);
::EndPaint(m_hWnd, &ps);
return 1;
}
/////////////////////////////////////////////////////////////////////////////////////
//
//
CActiveXUI::CActiveXUI() : m_pUnk(NULL), m_pControl(NULL), m_hwndHost(NULL), m_bCreated(false), m_bDelayCreate(true)
{
m_clsid = IID_NULL;
}
CActiveXUI::~CActiveXUI()
{
ReleaseControl();
}
LPCTSTR CActiveXUI::GetClass() const
{
return _T("ActiveXUI");
}
LPVOID CActiveXUI::GetInterface(LPCTSTR pstrName)
{
if( _tcscmp(pstrName, DUI_CTR_ACTIVEX) == 0 ) return static_cast<CActiveXUI*>(this);
return CControlUI::GetInterface(pstrName);
}
void CActiveXUI::SetHostWindow(HWND hHostWnd)
{
m_hwndHost = hHostWnd;
}
HWND CActiveXUI::GetHostWindow() const
{
return m_hwndHost;
}
static void PixelToHiMetric(const SIZEL* lpSizeInPix, LPSIZEL lpSizeInHiMetric)
{
#define HIMETRIC_PER_INCH 2540
#define MAP_PIX_TO_LOGHIM(x,ppli) MulDiv(HIMETRIC_PER_INCH, (x), (ppli))
#define MAP_LOGHIM_TO_PIX(x,ppli) MulDiv((ppli), (x), HIMETRIC_PER_INCH)
int nPixelsPerInchX; // Pixels per logical inch along width
int nPixelsPerInchY; // Pixels per logical inch along height
HDC hDCScreen = ::GetDC(NULL);
nPixelsPerInchX = ::GetDeviceCaps(hDCScreen, LOGPIXELSX);
nPixelsPerInchY = ::GetDeviceCaps(hDCScreen, LOGPIXELSY);
::ReleaseDC(NULL, hDCScreen);
lpSizeInHiMetric->cx = MAP_PIX_TO_LOGHIM(lpSizeInPix->cx, nPixelsPerInchX);
lpSizeInHiMetric->cy = MAP_PIX_TO_LOGHIM(lpSizeInPix->cy, nPixelsPerInchY);
}
void CActiveXUI::SetVisible(bool bVisible)
{
CControlUI::SetVisible(bVisible);
if( m_hwndHost != NULL && !m_pControl->m_bWindowless )
::ShowWindow(m_hwndHost, IsVisible() ? SW_SHOW : SW_HIDE);
}
void CActiveXUI::SetInternVisible(bool bVisible)
{
CControlUI::SetInternVisible(bVisible);
if( m_hwndHost != NULL && !m_pControl->m_bWindowless )
::ShowWindow(m_hwndHost, IsVisible() ? SW_SHOW : SW_HIDE);
}
void CActiveXUI::SetPos(RECT rc)
{
CControlUI::SetPos(rc);
if( m_pUnk == NULL ) return;
if( m_pControl == NULL ) return;
SIZEL hmSize = { 0 };
SIZEL pxSize = { 0 };
pxSize.cx = m_rcItem.right - m_rcItem.left;
pxSize.cy = m_rcItem.bottom - m_rcItem.top;
PixelToHiMetric(&pxSize, &hmSize);
if( m_pUnk != NULL ) {
m_pUnk->SetExtent(DVASPECT_CONTENT, &hmSize);
}
if( m_pControl->m_pInPlaceObject != NULL ) {
CDuiRect rcItem = m_rcItem;
if( !m_pControl->m_bWindowless ) rcItem.ResetOffset();
m_pControl->m_pInPlaceObject->SetObjectRects(&rcItem, &rcItem);
}
if( !m_pControl->m_bWindowless ) {
ASSERT(m_pControl->m_pWindow);
::MoveWindow(*m_pControl->m_pWindow, m_rcItem.left, m_rcItem.top, m_rcItem.right - m_rcItem.left, m_rcItem.bottom - m_rcItem.top, TRUE);
}
}
void CActiveXUI::DoPaint(HDC hDC, const RECT& rcPaint)
{
if( !::IntersectRect(&m_rcPaint, &rcPaint, &m_rcItem) ) return;
if( m_pControl != NULL && m_pControl->m_bWindowless && m_pControl->m_pViewObject != NULL )
{
m_pControl->m_pViewObject->Draw(DVASPECT_CONTENT, -1, NULL, NULL, NULL, hDC, (RECTL*) &m_rcItem, (RECTL*) &m_rcItem, NULL, NULL);
}
}
void CActiveXUI::SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue)
{
if( _tcscmp(pstrName, _T("clsid")) == 0 ) CreateControl(pstrValue);
else if( _tcscmp(pstrName, _T("modulename")) == 0 ) SetModuleName(pstrValue);
else if( _tcscmp(pstrName, _T("delaycreate")) == 0 ) SetDelayCreate(_tcscmp(pstrValue, _T("true")) == 0);
else CControlUI::SetAttribute(pstrName, pstrValue);
}
LRESULT CActiveXUI::MessageHandler(UINT uMsg, WPARAM wParam, LPARAM lParam, bool& bHandled)
{
if( m_pControl == NULL ) return 0;
ASSERT(m_pControl->m_bWindowless);
if( !m_pControl->m_bInPlaceActive ) return 0;
if( m_pControl->m_pInPlaceObject == NULL ) return 0;
if( !IsMouseEnabled() && uMsg >= WM_MOUSEFIRST && uMsg <= WM_MOUSELAST ) return 0;
bool bWasHandled = true;
if( (uMsg >= WM_MOUSEFIRST && uMsg <= WM_MOUSELAST) || uMsg == WM_SETCURSOR ) {
// Mouse message only go when captured or inside rect
DWORD dwHitResult = m_pControl->m_bCaptured ? HITRESULT_HIT : HITRESULT_OUTSIDE;
if( dwHitResult == HITRESULT_OUTSIDE && m_pControl->m_pViewObject != NULL ) {
IViewObjectEx* pViewEx = NULL;
m_pControl->m_pViewObject->QueryInterface(IID_IViewObjectEx, (LPVOID*) &pViewEx);
if( pViewEx != NULL ) {
POINT ptMouse = { GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam) };
pViewEx->QueryHitPoint(DVASPECT_CONTENT, &m_rcItem, ptMouse, 0, &dwHitResult);
pViewEx->Release();
}
}
if( dwHitResult != HITRESULT_HIT ) return 0;
if( uMsg == WM_SETCURSOR ) bWasHandled = false;
}
else if( uMsg >= WM_KEYFIRST && uMsg <= WM_KEYLAST ) {
// Keyboard messages just go when we have focus
if( !IsFocused() ) return 0;
}
else {
switch( uMsg ) {
case WM_HELP:
case WM_CONTEXTMENU:
bWasHandled = false;
break;
default:
return 0;
}
}
LRESULT lResult = 0;
HRESULT Hr = m_pControl->m_pInPlaceObject->OnWindowMessage(uMsg, wParam, lParam, &lResult);
if( Hr == S_OK ) bHandled = bWasHandled;
return lResult;
}
bool CActiveXUI::IsDelayCreate() const
{
return m_bDelayCreate;
}
void CActiveXUI::SetDelayCreate(bool bDelayCreate)
{
if( m_bDelayCreate == bDelayCreate ) return;
if( bDelayCreate == false ) {
if( m_bCreated == false && m_clsid != IID_NULL ) DoCreateControl();
}
m_bDelayCreate = bDelayCreate;
}
bool CActiveXUI::CreateControl(LPCTSTR pstrCLSID)
{
CLSID clsid = { 0 };
OLECHAR szCLSID[100] = { 0 };
#ifndef _UNICODE
::MultiByteToWideChar(::GetACP(), 0, pstrCLSID, -1, szCLSID, lengthof(szCLSID) - 1);
#else
_tcsncpy(szCLSID, pstrCLSID, lengthof(szCLSID) - 1);
#endif
if( pstrCLSID[0] == '{' ) ::CLSIDFromString(szCLSID, &clsid);
else ::CLSIDFromProgID(szCLSID, &clsid);
return CreateControl(clsid);
}
bool CActiveXUI::CreateControl(const CLSID clsid)
{
ASSERT(clsid!=IID_NULL);
if( clsid == IID_NULL ) return false;
m_bCreated = false;
m_clsid = clsid;
if( !m_bDelayCreate ) DoCreateControl();
return true;
}
void CActiveXUI::ReleaseControl()
{
m_hwndHost = NULL;
if( m_pUnk != NULL ) {
IObjectWithSite* pSite = NULL;
m_pUnk->QueryInterface(IID_IObjectWithSite, (LPVOID*) &pSite);
if( pSite != NULL ) {
pSite->SetSite(NULL);
pSite->Release();
}
m_pUnk->Close(OLECLOSE_NOSAVE);
m_pUnk->SetClientSite(NULL);
m_pUnk->Release();
m_pUnk = NULL;
}
if( m_pControl != NULL ) {
m_pControl->m_pOwner = NULL;
m_pControl->Release();
m_pControl = NULL;
}
m_pManager->RemoveMessageFilter(this);
}
typedef HRESULT (__stdcall *DllGetClassObjectFunc)(REFCLSID rclsid, REFIID riid, LPVOID* ppv);
bool CActiveXUI::DoCreateControl()
{
ReleaseControl();
// At this point we'll create the ActiveX control
m_bCreated = true;
IOleControl* pOleControl = NULL;
HRESULT Hr = -1;
if( !m_sModuleName.IsEmpty() ) {
HMODULE hModule = ::LoadLibrary((LPCTSTR)m_sModuleName);
if( hModule != NULL ) {
IClassFactory* aClassFactory = NULL;
DllGetClassObjectFunc aDllGetClassObjectFunc = (DllGetClassObjectFunc)::GetProcAddress(hModule, "DllGetClassObject");
Hr = aDllGetClassObjectFunc(m_clsid, IID_IClassFactory, (LPVOID*)&aClassFactory);
if( SUCCEEDED(Hr) ) {
Hr = aClassFactory->CreateInstance(NULL, IID_IOleObject, (LPVOID*)&pOleControl);
}
aClassFactory->Release();
}
}
if( FAILED(Hr) ) {
Hr = ::CoCreateInstance(m_clsid, NULL, CLSCTX_ALL, IID_IOleControl, (LPVOID*)&pOleControl);
}
ASSERT(SUCCEEDED(Hr));
if( FAILED(Hr) ) return false;
pOleControl->QueryInterface(IID_IOleObject, (LPVOID*) &m_pUnk);
pOleControl->Release();
if( m_pUnk == NULL ) return false;
// Create the host too
m_pControl = new CActiveXCtrl();
m_pControl->m_pOwner = this;
// More control creation stuff
DWORD dwMiscStatus = 0;
m_pUnk->GetMiscStatus(DVASPECT_CONTENT, &dwMiscStatus);
IOleClientSite* pOleClientSite = NULL;
m_pControl->QueryInterface(IID_IOleClientSite, (LPVOID*) &pOleClientSite);
CSafeRelease<IOleClientSite> RefOleClientSite = pOleClientSite;
// Initialize control
if( (dwMiscStatus & OLEMISC_SETCLIENTSITEFIRST) != 0 ) m_pUnk->SetClientSite(pOleClientSite);
IPersistStreamInit* pPersistStreamInit = NULL;
m_pUnk->QueryInterface(IID_IPersistStreamInit, (LPVOID*) &pPersistStreamInit);
if( pPersistStreamInit != NULL ) {
Hr = pPersistStreamInit->InitNew();
pPersistStreamInit->Release();
}
if( FAILED(Hr) ) return false;
if( (dwMiscStatus & OLEMISC_SETCLIENTSITEFIRST) == 0 ) m_pUnk->SetClientSite(pOleClientSite);
// Grab the view...
Hr = m_pUnk->QueryInterface(IID_IViewObjectEx, (LPVOID*) &m_pControl->m_pViewObject);
if( FAILED(Hr) ) Hr = m_pUnk->QueryInterface(IID_IViewObject2, (LPVOID*) &m_pControl->m_pViewObject);
if( FAILED(Hr) ) Hr = m_pUnk->QueryInterface(IID_IViewObject, (LPVOID*) &m_pControl->m_pViewObject);
// Activate and done...
m_pUnk->SetHostNames(OLESTR("UIActiveX"), NULL);
if( m_pManager != NULL ) m_pManager->SendNotify((CControlUI*)this, DUI_MSGTYPE_SHOWACTIVEX, 0, 0, false);
if( (dwMiscStatus & OLEMISC_INVISIBLEATRUNTIME) == 0 ) {
Hr = m_pUnk->DoVerb(OLEIVERB_INPLACEACTIVATE, NULL, pOleClientSite, 0, m_pManager->GetPaintWindow(), &m_rcItem);
//::RedrawWindow(m_pManager->GetPaintWindow(), &m_rcItem, NULL, RDW_INVALIDATE | RDW_UPDATENOW | RDW_ERASE | RDW_INTERNALPAINT | RDW_FRAME);
}
IObjectWithSite* pSite = NULL;
m_pUnk->QueryInterface(IID_IObjectWithSite, (LPVOID*) &pSite);
if( pSite != NULL ) {
pSite->SetSite(static_cast<IOleClientSite*>(m_pControl));
pSite->Release();
}
return SUCCEEDED(Hr);
}
HRESULT CActiveXUI::GetControl(const IID iid, LPVOID* ppRet)
{
ASSERT(ppRet!=NULL);
//ASSERT(*ppRet==NULL);
if( ppRet == NULL ) return E_POINTER;
*ppRet = NULL;
if( m_pUnk == NULL ) return E_PENDING;
return m_pUnk->QueryInterface(iid, (LPVOID*) ppRet);
}
HRESULT CActiveXUI::GetExternalCall(LPVOID* ppRet)
{
return E_NOTIMPL;
}
STDMETHODIMP CActiveXUI::QueryInterface(REFIID iid, void ** ppvObject)
{
return E_NOTIMPL;
}
//HRESULT CActiveXUI::Download(IMoniker *pmk,IBindCtx *pbc,DWORD dwBindVerb,LONG grfBINDF,BINDINFO *pBindInfo,
// LPCOLESTR pszHeaders,LPCOLESTR pszRedir,UINT uiCP)
//{
// return S_FALSE;
//}
CLSID CActiveXUI::GetClisd() const
{
return m_clsid;
}
CDuiString CActiveXUI::GetModuleName() const
{
return m_sModuleName;
}
void CActiveXUI::SetModuleName(LPCTSTR pstrText)
{
m_sModuleName = pstrText;
}
} // namespace DuiLib | [
"x583194811l@gmail.com"
] | x583194811l@gmail.com |
a280d3758867049e7692c395d20f9e50c36206c4 | 0abef26a612ddfad627000e3280f310a978e8d04 | /ARPhysics-master/Engine/GravityToPointForceGenerator.h | cd473f209d415109c4a2b810a54dde56fc2f7c69 | [
"MIT"
] | permissive | AugustRush/2017demo | 98fef3954c325029e65ac48fd29f778869a62af6 | 79070ea13fd9813fb0904511ef89c8f01ff86ef6 | refs/heads/master | 2021-01-20T12:51:52.335872 | 2017-09-21T06:59:58 | 2017-09-21T06:59:58 | 101,727,546 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 700 | h | //
// GravityToPointForceGenerator.h
//
// Created by Adrian Russell on 02/04/2014.
// Copyright (c) 2014 Adrian Russell. All rights reserved.
//
#ifndef __ARPhysics__GravityToPointForceGenerator_H_
#define __ARPhysics__GravityToPointForceGenerator_H_
#include "GroupForceGenerator.h"
class GravityToPointForceGenerator : public GroupForceGenerator {
public:
GravityToPointForceGenerator(float f, Vector2 point);
void applyToBody(Body *b, float dt);
void setPoint(Vector2 point);
void setForce(float force);
Vector2 position() { return _point; };
float force() {return _force; };
private:
float _force;
Vector2 _point;
};
#endif
| [
"liupingwei30@gmail.com"
] | liupingwei30@gmail.com |
ea66634dc66295a13f6e62721f48a1f8ee2080f5 | f3d4af6083ab0983993f575e503d356930fe88c0 | /src/ml/learning_rate.cpp | 719524405f2ef5951a3c0948933973e8143b9be3 | [
"Apache-2.0"
] | permissive | hanling14/graphchi-ltr | a4c1637943ce14d4d8320bda9d4504bc76a562ba | fb05675fb256ebd14797f778c56607bc4bcbd51e | refs/heads/master | 2020-12-31T01:02:42.930041 | 2013-11-04T16:07:18 | 2013-11-04T16:07:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,884 | cpp | #include "ml/learning_rate.h"
#include <cstdio> // sscanf
#include <algorithm> // copy_if, for_each
#include <iterator> // back_inserter
#include <sstream> // istringstream
#include <iostream>
LearningRate::LearningRate(double learning_rate_)
: learning_rate(learning_rate_) {}
ConstantLearningRate::ConstantLearningRate(double learning_rate_)
throw (std::invalid_argument) : LearningRate(learning_rate_) {
if (learning_rate <= 0) {
throw (std::invalid_argument("learning_rate must be greater than 0"));
}
}
ConstantLearningRate* ConstantLearningRate::clone() {
return new ConstantLearningRate(*this);
}
LinearLearningRate::LinearLearningRate(double starting_value_, double decrease_,
double ending_value_)
throw (std::invalid_argument) : LearningRate(starting_value_),
start_point(starting_value_),
decrease(decrease_),
end_point(ending_value_) {
if (starting_value_ <= 0) {
throw (std::invalid_argument("starting_value must be greater than 0"));
}
if (ending_value_ < 0) {
throw (std::invalid_argument("ending_value must not be less than 0"));
}
if (ending_value_ >= starting_value_) {
throw (std::invalid_argument(
"ending_value must be less than starting_value"));
}
}
LinearLearningRate* LinearLearningRate::clone() {
return new LinearLearningRate(*this);
}
bool LinearLearningRate::advance() {
learning_rate -= decrease;
if (learning_rate < end_point) {
learning_rate = end_point;
return false;
} else {
return true;
}
}
void LinearLearningRate::reset() {
learning_rate = start_point;
}
CompositeLearningRate::CompositeLearningRate(std::vector<LearningRate*> parts_)
throw (std::invalid_argument) : index(0) {
std::copy_if(parts_.begin(), parts_.end(), std::back_inserter(parts),
[] (LearningRate* p) { return p != NULL; });
if (parts.size() == 0) {
throw (std::invalid_argument("no valid learning rate functions specified"));
}
learning_rate = parts[index]->get();
}
CompositeLearningRate::CompositeLearningRate(CompositeLearningRate& orig)
: LearningRate(orig), index(orig.index) {
parts.resize(orig.parts.size());
for (size_t i = 0; i < parts.size(); i++) {
parts[i] = orig.parts[i]->clone();
}
}
CompositeLearningRate* CompositeLearningRate::clone() {
return new CompositeLearningRate(*this);
}
bool CompositeLearningRate::advance() {
if (index >= parts.size()) {
return false;
} else {
bool ret = parts[index]->advance();
learning_rate = parts[index]->get();
if (!ret) {
index++;
}
return true;
}
}
void CompositeLearningRate::reset() {
std::for_each(parts.begin(), parts.end(), std::mem_fun(&LearningRate::reset));
index = 0;
learning_rate = parts[index]->get();
}
LearningRate* create_learning_rate_function(const std::string& reflection_name)
throw (std::invalid_argument) {
std::istringstream ss(reflection_name);
std::string name;
std::getline(ss, name, ':');
if (name == "LinearLearningRate" || name == "linear") {
std::string params;
std::getline(ss, params, '\n');
double start = 0;
double step = 0;
double end = 0;
sscanf(params.c_str(), "%lf:%lf:%lf", &start, &step, &end);
return new LinearLearningRate(start, step, end);
} else if (name == "ConstantLearningRate" || name == "constant") {
double c = 0;
ss >> c;
return new ConstantLearningRate(c);
} else if (name == "CompositeLearningRate" || name == "composite") {
std::vector<LearningRate*> parts;
while (ss.good()) {
std::getline(ss, name, ';');
if (!ss.fail() && !ss.bad()) {
parts.push_back(create_learning_rate_function(name));
}
}
return new CompositeLearningRate(parts);
} else {
return NULL;
}
}
//int main(int argc, char* argv[]) {
// std::vector<LearningRate*> v;
//// v.push_back(new LinearLearningRate(0.9, 0.1, 0.15));
// //v.push_back(create_learning_rate_function("linear:0.9:0.1:0.15"));
//// v.push_back(new LinearLearningRate(0.9, 0.2, 0.15));
//// v.push_back(create_learning_rate_function("constant:0.5"));
// //v.push_back(new ConstantLearningRate(0.5));
//// CompositeLearningRate clr(v);
// //LearningRate* clr = create_learning_rate_function("composite:linear:0.9:0.1:0.15;constant:0.5");
// LearningRate* clr = create_learning_rate_function("composite:linear:0.9:0.1:0.15;linear:0.9:0.1:0.15");
// for (size_t i = 0; i < 15; i++) {
// std::cout << "Learning rate " << clr->get() << std::endl;
// if (!clr->advance()) break;
// }
// clr->reset();
// std::cout << std::endl;
// for (size_t i = 0; i < 15; i++) {
// std::cout << "Learning rate " << clr->get() << std::endl;
// if (!clr->advance()) break;
// }
//}
| [
"nemeskey.david@sztaki.mta.hu"
] | nemeskey.david@sztaki.mta.hu |
d751bfbd3c2c5ff00da9fd8d8b3401f3ee70806b | 927442d1aadd124d1ec5b5a56b3c442ba2735841 | /08_cocos2d-x/day08/Demo1/BombHero/BombHero/Classes/SelectLevelButton.h | e23cc943dd993b8fc8fa44d07ff42b7151639ae0 | [] | no_license | yitian630/Tarena | 2dc2fd276e1404330222d28fb10ddd0116eca74b | 49b587ab58cb5e173d6dcd2701ea6db3b35cdf0b | refs/heads/master | 2021-01-22T02:49:19.160833 | 2015-03-12T06:58:26 | 2015-03-12T06:58:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | h | //
// SelectLevelButton.h
// BombHero
//
// Created by tarena on 14-6-12.
//
//
#ifndef __BombHero__SelectLevelButton__
#define __BombHero__SelectLevelButton__
#include <iostream>
#include "cocos2d.h"
#include "GameScene.h"
USING_NS_CC;
class SelectLevelButton : public CCNode , public CCTargetedTouchDelegate{
public:
static SelectLevelButton* createButton(int Level);
bool initButton(int Level);
void onEnter();
void onExit();
//解锁
void openLock();
private:
CCSprite *m_showSprite;
int m_level;
virtual bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent);
virtual void ccTouchMoved(CCTouch *pTouch, CCEvent *pEvent);
virtual void ccTouchEnded(CCTouch *pTouch, CCEvent *pEvent);
//判断 点 是否在 背景精灵上
bool isTouchInside(CCTouch *pTouch);
bool m_isUnLock;
};
#endif /* defined(__BombHero__SelectLevelButton__) */
| [
"yitian630@163.com"
] | yitian630@163.com |
6206674fdfe150866f4864555240e1249d78a30b | f35bf9ff7405c179289f049fad4396198b4a0ef8 | /JAN2019_LONG/Distinct_Pairs.cpp | cbe74034a66a8ede45332d0035bbc4c50fe2121b | [] | no_license | proRamLOGO/Competitive_Programming | d19fc542e9f10faba9a23f4ef3335f367ccc125a | 06e59ba95c3804cae10120ac7eda6482c3d72088 | refs/heads/master | 2023-01-03T07:27:25.960619 | 2020-10-29T19:15:53 | 2020-10-29T19:15:53 | 151,049,005 | 0 | 7 | null | 2020-10-29T19:15:54 | 2018-10-01T07:05:55 | C++ | UTF-8 | C++ | false | false | 441 | cpp | #include <iostream>
#include <vector>
using namespace std ;
int main() {
int n, m ;
cin >> n >> m ;
vector< int > a(n), b(m) ;
for ( auto i = 0 ; i < n ; ++i )
cin >> a[i] ;
for ( auto i = 0 ; i < m ; ++i )
cin >> b[i] ;
for ( auto i = 1 ; i < m ; ++i ) {
cout << n-1 << ' ' << i << endl ;
}
for ( auto i = 0 ; i < n ; ++i ) {
cout << i << ' ' << 0 << endl ;
}
} | [
"kapilgupta547@outlook.com"
] | kapilgupta547@outlook.com |
85a9c92ed6e369dcc477151b2f4456734498eec0 | 9240ceb15f7b5abb1e4e4644f59d209b83d70066 | /sp/src/game/server/ai_squad.cpp | 1733729bfaed4741411d4deb5a017d9e1d2af895 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Margen67/blamod | 13e5cd9f7f94d1612eb3f44a2803bf2f02a3dcbe | d59b5f968264121d013a81ae1ba1f51432030170 | refs/heads/master | 2023-04-16T12:05:12.130933 | 2019-02-20T10:23:04 | 2019-02-20T10:23:04 | 264,556,156 | 2 | 0 | NOASSERTION | 2020-05-17T00:47:56 | 2020-05-17T00:47:55 | null | UTF-8 | C++ | false | false | 19,954 | cpp | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Squad classes
//
//=============================================================================//
#include "cbase.h"
#include "ai_squad.h"
#include "ai_squadslot.h"
#include "ai_basenpc.h"
#include "saverestore_bitstring.h"
#include "saverestore_utlvector.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
//-----------------------------------------------------------------------------
CAI_SquadManager g_AI_SquadManager;
//-----------------------------------------------------------------------------
// CAI_SquadManager
//
// Purpose: Manages all the squads in the system
//
//-----------------------------------------------------------------------------
CAI_Squad *CAI_SquadManager::FindSquad( string_t squadName )
{
CAI_Squad* pSquad = m_pSquads;
while (pSquad)
{
if (FStrEq(STRING(squadName),pSquad->GetName()))
{
return pSquad;
}
pSquad = pSquad->m_pNextSquad;
}
return NULL;
}
//-------------------------------------
CAI_Squad *CAI_SquadManager::CreateSquad(string_t squadName)
{
CAI_Squad *pResult = new CAI_Squad(squadName);
// ---------------------------------
// Only named squads get added to the squad list
if ( squadName != NULL_STRING )
{
pResult->m_pNextSquad = m_pSquads;
m_pSquads = pResult;
}
else
pResult->m_pNextSquad = NULL;
return pResult;
}
//-------------------------------------
int CAI_SquadManager::NumSquads()
{
int nSquads = 0;
CAI_Squad* pSquad = m_pSquads;
while (pSquad)
{
nSquads++;
pSquad = pSquad->GetNext();
}
return nSquads;
}
//-------------------------------------
void CAI_SquadManager::DeleteSquad( CAI_Squad *pSquad )
{
CAI_Squad *pCurSquad = m_pSquads;
if (pCurSquad == pSquad)
{
g_AI_SquadManager.m_pSquads = pCurSquad->m_pNextSquad;
}
else
{
while (pCurSquad)
{
if (pCurSquad->m_pNextSquad == pSquad)
{
pCurSquad->m_pNextSquad = pCurSquad->m_pNextSquad->m_pNextSquad;
break;
}
pCurSquad= pCurSquad->m_pNextSquad;
}
}
delete pSquad;
}
//-------------------------------------
// Purpose: Delete all the squads (called between levels / loads)
//-------------------------------------
void CAI_SquadManager::DeleteAllSquads(void)
{
CAI_Squad *squad = CAI_SquadManager::m_pSquads;
while (squad)
{
CAI_Squad *temp = squad->m_pNextSquad;
delete squad;
squad = temp;
}
CAI_SquadManager::m_pSquads = NULL;
}
//-----------------------------------------------------------------------------
// CAI_Squad
//
// Purpose: Tracks enemies, squad slots, squad members
//
//-----------------------------------------------------------------------------
#ifdef PER_ENEMY_SQUADSLOTS
BEGIN_SIMPLE_DATADESC( AISquadEnemyInfo_t )
DEFINE_FIELD( hEnemy, FIELD_EHANDLE ),
DEFINE_BITSTRING( slots),
END_DATADESC()
#endif
BEGIN_SIMPLE_DATADESC( CAI_Squad )
// m_pNextSquad (rebuilt)
// m_Name (rebuilt)
// m_SquadMembers (rebuilt)
// m_SquadMembers.Count() (rebuilt)
DEFINE_FIELD( m_flSquadSoundWaitTime, FIELD_TIME ),
DEFINE_FIELD( m_nSquadSoundPriority, FIELD_INTEGER ),
DEFINE_FIELD( m_hSquadInflictor, FIELD_EHANDLE ),
DEFINE_AUTO_ARRAY( m_SquadData, FIELD_INTEGER ),
// m_pLastFoundEnemyInfo (think transient)
#ifdef PER_ENEMY_SQUADSLOTS
DEFINE_UTLVECTOR(m_EnemyInfos, FIELD_EMBEDDED ),
DEFINE_FIELD( m_flEnemyInfoCleanupTime, FIELD_TIME ),
#else
DEFINE_EMBEDDED( m_squadSlotsUsed ),
#endif
END_DATADESC()
//-------------------------------------
CAI_Squad::CAI_Squad(string_t newName)
#ifndef PER_ENEMY_SQUADSLOTS
: m_squadSlotsUsed(MAX_SQUADSLOTS)
#endif
{
Init( newName );
}
//-------------------------------------
CAI_Squad::CAI_Squad()
#ifndef PER_ENEMY_SQUADSLOTS
: m_squadSlotsUsed(MAX_SQUADSLOTS)
#endif
{
Init( NULL_STRING );
}
//-------------------------------------
void CAI_Squad::Init(string_t newName)
{
m_Name = AllocPooledString( STRING(newName) );
m_pNextSquad = NULL;
m_flSquadSoundWaitTime = 0;
m_SquadMembers.RemoveAll();
m_flSquadSoundWaitTime = 0;
SetSquadInflictor( NULL );
#ifdef PER_ENEMY_SQUADSLOTS
m_flEnemyInfoCleanupTime = 0;
m_pLastFoundEnemyInfo = NULL;
#endif
}
//-------------------------------------
CAI_Squad::~CAI_Squad(void)
{
}
//-------------------------------------
bool CAI_Squad::IsSilentMember( const CAI_BaseNPC *pNPC )
{
if ( !pNPC || ( pNPC->GetMoveType() == MOVETYPE_NONE && pNPC->GetSolid() == SOLID_NONE ) ) // a.k.a., enemy finder
return true;
return pNPC->IsSilentSquadMember();
}
//-------------------------------------
// Purpose: Removes an NPC from a squad
//-------------------------------------
void CAI_Squad::RemoveFromSquad( CAI_BaseNPC *pNPC, bool bDeath )
{
if ( !pNPC )
return;
// Find the index of this squad member
int member;
int myIndex = m_SquadMembers.Find(pNPC);
if (myIndex == -1)
{
DevMsg("ERROR: Attempting to remove non-existing squad membmer!\n");
return;
}
m_SquadMembers.Remove(myIndex);
// Notify squad members of death
if ( bDeath )
{
for (member = 0; member < m_SquadMembers.Count(); member++)
{
CAI_BaseNPC* pSquadMem = m_SquadMembers[member];
if (pSquadMem)
{
pSquadMem->NotifyDeadFriend(pNPC);
}
}
}
pNPC->SetSquad(NULL);
pNPC->SetSquadName( NULL_STRING );
}
//-------------------------------------
// Purpose: Addes the given NPC to the squad
//-------------------------------------
void CAI_Squad::AddToSquad(CAI_BaseNPC *pNPC)
{
if ( !pNPC || !pNPC->IsAlive() )
{
Assert(0);
return;
}
if ( pNPC->GetSquad() == this )
return;
if ( pNPC->GetSquad() )
{
pNPC->GetSquad()->RemoveFromSquad(pNPC);
}
if (m_SquadMembers.Count() == MAX_SQUAD_MEMBERS)
{
DevMsg("Error!! Squad %s is too big!!! Replacing last member\n", STRING( this->m_Name ));
m_SquadMembers.Remove(m_SquadMembers.Count()-1);
}
m_SquadMembers.AddToTail(pNPC);
pNPC->SetSquad( this );
pNPC->SetSquadName( m_Name );
if ( m_SquadMembers.Count() > 1 )
{
CAI_BaseNPC *pCopyFrom = m_SquadMembers[0];
CAI_Enemies *pEnemies = pCopyFrom->GetEnemies();
AIEnemiesIter_t iter;
AI_EnemyInfo_t *pInfo = pEnemies->GetFirst( &iter );
while ( pInfo )
{
pNPC->UpdateEnemyMemory( pInfo->hEnemy, pInfo->vLastKnownLocation, pCopyFrom );
pInfo = pEnemies->GetNext( &iter );
}
}
}
//-------------------------------------
CAI_BaseNPC *CAI_Squad::SquadMemberInRange( const Vector &vecLocation, float flDist )
{
for (int i = 0; i < m_SquadMembers.Count(); i++)
{
if (m_SquadMembers[i] != NULL && (vecLocation - m_SquadMembers[i]->GetAbsOrigin() ).Length2D() <= flDist)
return m_SquadMembers[i];
}
return NULL;
}
//-------------------------------------
// Purpose: Returns the nearest squad member to the given squad member
//-------------------------------------
CAI_BaseNPC *CAI_Squad::NearestSquadMember( CAI_BaseNPC *pMember )
{
float fBestDist = MAX_COORD_RANGE;
CAI_BaseNPC *fNearestEnt = NULL;
Vector fStartLoc = pMember->GetAbsOrigin();
for (int i = 0; i < m_SquadMembers.Count(); i++)
{
if (m_SquadMembers[i] != NULL)
{
float fDist = (fStartLoc - m_SquadMembers[i]->GetAbsOrigin()).Length();
if (m_SquadMembers[i] != pMember &&
fDist < fBestDist )
{
fBestDist = fDist;
fNearestEnt = m_SquadMembers[i];
}
}
}
return fNearestEnt;
}
//-------------------------------------
// Purpose: Return the number of squad members visible to the specified member
//-------------------------------------
int CAI_Squad::GetVisibleSquadMembers( CAI_BaseNPC *pMember )
{
int iCount = 0;
for (int i = 0; i < m_SquadMembers.Count(); i++)
{
// Make sure it's not the specified member
if ( m_SquadMembers[i] != NULL && pMember != m_SquadMembers[i] )
{
if ( pMember->FVisible( m_SquadMembers[i] ) )
{
iCount++;
}
}
}
return iCount;
}
//-------------------------------------
//
//-------------------------------------
CAI_BaseNPC *CAI_Squad::GetSquadMemberNearestTo( const Vector &vecLocation )
{
CAI_BaseNPC *pNearest = NULL;
float flNearest = FLT_MAX;
for ( int i = 0; i < m_SquadMembers.Count(); i++ )
{
float flDist;
flDist = m_SquadMembers[i]->GetAbsOrigin().DistToSqr( vecLocation );
if( flDist < flNearest )
{
flNearest = flDist;
pNearest = m_SquadMembers[i];
}
}
Assert( pNearest != NULL );
return pNearest;
}
//-------------------------------------
// Purpose: Returns true if given entity is in the squad
//-------------------------------------
bool CAI_Squad::SquadIsMember( CBaseEntity *pMember )
{
CAI_BaseNPC *pNPC = pMember->MyNPCPointer();
if ( pNPC && pNPC->GetSquad() == this )
return true;
return false;
}
//-------------------------------------
bool CAI_Squad::IsLeader( CAI_BaseNPC *pNPC )
{
if ( IsSilentMember( pNPC ) )
return false;
if ( !pNPC )
return false;
if ( GetLeader() == pNPC )
return true;
return false;
}
//-------------------------------------
CAI_BaseNPC *CAI_Squad::GetLeader( void )
{
CAI_BaseNPC *pLeader = NULL;
int nSilentMembers = 0;
for ( int i = 0; i < m_SquadMembers.Count(); i++ )
{
if ( !IsSilentMember( m_SquadMembers[i] ) )
{
if ( !pLeader )
pLeader = m_SquadMembers[i];
}
else
{
nSilentMembers++;
}
}
return ( m_SquadMembers.Count() - nSilentMembers > 1) ? pLeader : NULL;
}
//-----------------------------------------------------------------------------
CAI_BaseNPC *CAI_Squad::GetFirstMember( AISquadIter_t *pIter, bool bIgnoreSilentMembers )
{
int i = 0;
if ( bIgnoreSilentMembers )
{
for ( ; i < m_SquadMembers.Count(); i++ )
{
if ( !IsSilentMember( m_SquadMembers[i] ) )
break;
}
}
if ( pIter )
*pIter = (AISquadIter_t)i;
if ( i >= m_SquadMembers.Count() )
return NULL;
return m_SquadMembers[i];
}
//-------------------------------------
CAI_BaseNPC *CAI_Squad::GetNextMember( AISquadIter_t *pIter, bool bIgnoreSilentMembers )
{
int &i = (int &)*pIter;
i++;
if ( bIgnoreSilentMembers )
{
for ( ; i < m_SquadMembers.Count(); i++ )
{
if ( !IsSilentMember( m_SquadMembers[i] ) )
break;
}
}
if ( i >= m_SquadMembers.Count() )
return NULL;
return m_SquadMembers[i];
}
//-------------------------------------
// Purpose: Alert everyone in the squad to the presence of a new enmey
//-------------------------------------
int CAI_Squad::NumMembers( bool bIgnoreSilentMembers )
{
int nSilentMembers = 0;
if ( bIgnoreSilentMembers )
{
for ( int i = 0; i < m_SquadMembers.Count(); i++ )
{
if ( IsSilentMember( m_SquadMembers[i] ) )
nSilentMembers++;
}
}
return ( m_SquadMembers.Count() - nSilentMembers );
}
//-------------------------------------
// Purpose: Alert everyone in the squad to the presence of a new enmey
//-------------------------------------
void CAI_Squad::SquadNewEnemy( CBaseEntity *pEnemy )
{
if ( !pEnemy )
{
DevMsg( "ERROR: SquadNewEnemy() - pEnemy is NULL!\n" );
return;
}
for (int i = 0; i < m_SquadMembers.Count(); i++)
{
CAI_BaseNPC *pMember = m_SquadMembers[i];
if (pMember)
{
// reset members who aren't activly engaged in fighting (only do this if the NPC's using the squad memory, or it'll fail)
if ( !pMember->GetEnemy() ||
( pMember->GetEnemy() != pEnemy &&
!pMember->HasCondition( COND_SEE_ENEMY) &&
gpGlobals->curtime - pMember->GetEnemyLastTimeSeen() > 3.0 ) )
{
// give them a new enemy
if( !hl2_episodic.GetBool() || pMember->IsValidEnemy(pEnemy) )
{
pMember->SetEnemy( pEnemy );
}
// pMember->SetLastAttackTime( 0 );
}
}
}
}
//-------------------------------------
// Purpose: Broadcast a message to all squad members
// Input: messageID - generic message handle
// data - generic data handle
// sender - who sent the message (NULL by default, if not, will not resend to the sender)
//-------------------------------------
int CAI_Squad::BroadcastInteraction( int interactionType, void *data, CBaseCombatCharacter *sender )
{
//Must have a squad
if ( m_SquadMembers.Count() == 0 )
return false;
//Broadcast to all members of the squad
for ( int i = 0; i < m_SquadMembers.Count(); i++ )
{
CAI_BaseNPC *pMember = m_SquadMembers[i]->MyNPCPointer();
//Validate and don't send again to the sender
if ( ( pMember != NULL) && ( pMember != sender ) )
{
//Send it
pMember->DispatchInteraction( interactionType, data, sender );
}
}
return true;
}
//-----------------------------------------------------------------------------
// Purpose: is it ok to make a sound of the given priority? Check for conflicts
// Input : soundPriority -
// Output : Returns true on success, false on failure.
//-----------------------------------------------------------------------------
bool CAI_Squad::FOkToMakeSound( int soundPriority )
{
if (gpGlobals->curtime <= m_flSquadSoundWaitTime)
{
if ( soundPriority <= m_nSquadSoundPriority )
return false;
}
return true;
}
//-----------------------------------------------------------------------------
// Purpose: A squad member made an exclusive sound. Keep track so other squad
// members don't talk over it
// Input : soundPriority - for sorting
// time -
//-----------------------------------------------------------------------------
void CAI_Squad::JustMadeSound( int soundPriority, float time )
{
m_flSquadSoundWaitTime = time;
m_nSquadSoundPriority = soundPriority;
}
//-----------------------------------------------------------------------------
// Purpose: Try to get one of a contiguous range of slots
// Input : slotIDStart - start of slot range
// slotIDEnd - end of slot range
// hEnemy - enemy this slot is for
// Output : Returns true on success, false on failure.
//-----------------------------------------------------------------------------
bool CAI_Squad::OccupyStrategySlotRange( CBaseEntity *pEnemy, int slotIDStart, int slotIDEnd, int *pSlot )
{
#ifndef PER_ENEMY_SQUADSLOTS
// FIXME: combat slots need to be per enemy, not per squad.
// As it is, once a squad is occupied it stops making even simple attacks to other things nearby.
// This code may make soldiers too aggressive
if (GetLeader() && pEnemy != GetLeader()->GetEnemy())
{
*pSlot = SQUAD_SLOT_NONE;
return true;
}
#endif
// If I'm already occupying this slot
if ( *pSlot >= slotIDStart && *pSlot <= slotIDEnd)
return true;
for ( int i = slotIDStart; i <= slotIDEnd; i++ )
{
// Check enemy to see if slot already occupied
if (!IsSlotOccupied(pEnemy, i))
{
// Clear any previous spot;
if (*pSlot != SQUAD_SLOT_NONE)
{
// As a debug measure check to see if slot was filled
if (!IsSlotOccupied(pEnemy, *pSlot))
{
DevMsg( "ERROR! Vacating an empty slot!\n");
}
// Free the slot
VacateSlot(pEnemy, *pSlot);
}
// Fill the slot
OccupySlot(pEnemy, i);
*pSlot = i;
return true;
}
}
return false;
}
//------------------------------------------------------------------------------
bool CAI_Squad::IsStrategySlotRangeOccupied( CBaseEntity *pEnemy, int slotIDStart, int slotIDEnd )
{
for ( int i = slotIDStart; i <= slotIDEnd; i++ )
{
if (!IsSlotOccupied(pEnemy, i))
return false;
}
return true;
}
//------------------------------------------------------------------------------
void CAI_Squad::VacateStrategySlot( CBaseEntity *pEnemy, int slot)
{
// If I wasn't taking up a squad slot I'm done
if (slot == SQUAD_SLOT_NONE)
return;
// As a debug measure check to see if slot was filled
if (!IsSlotOccupied(pEnemy, slot))
{
DevMsg( "ERROR! Vacating an empty slot!\n");
}
// Free the slot
VacateSlot(pEnemy, slot);
}
//------------------------------------------------------------------------------
void CAI_Squad::UpdateEnemyMemory( CAI_BaseNPC *pUpdater, CBaseEntity *pEnemy, const Vector &position )
{
//Broadcast to all members of the squad
for ( int i = 0; i < m_SquadMembers.Count(); i++ )
{
if ( m_SquadMembers[i] != pUpdater )
{
m_SquadMembers[i]->UpdateEnemyMemory( pEnemy, position, pUpdater );
}
}
}
//------------------------------------------------------------------------------
#ifdef PER_ENEMY_SQUADSLOTS
AISquadEnemyInfo_t *CAI_Squad::FindEnemyInfo( CBaseEntity *pEnemy )
{
int i;
if ( gpGlobals->curtime > m_flEnemyInfoCleanupTime )
{
if ( m_EnemyInfos.Count() )
{
m_pLastFoundEnemyInfo = NULL;
CUtlRBTree<CBaseEntity *> activeEnemies;
SetDefLessFunc( activeEnemies );
// Gather up the set of active enemies
for ( i = 0; i < m_SquadMembers.Count(); i++ )
{
CBaseEntity *pMemberEnemy = m_SquadMembers[i]->GetEnemy();
if ( pMemberEnemy && activeEnemies.Find( pMemberEnemy ) == activeEnemies.InvalidIndex() )
{
activeEnemies.Insert( pMemberEnemy );
}
}
// Remove the records for deleted or unused enemies
for ( i = m_EnemyInfos.Count() - 1; i >= 0; --i )
{
if ( m_EnemyInfos[i].hEnemy == NULL || activeEnemies.Find( m_EnemyInfos[i].hEnemy ) == activeEnemies.InvalidIndex() )
{
m_EnemyInfos.FastRemove( i );
}
}
}
m_flEnemyInfoCleanupTime = gpGlobals->curtime + 30;
}
if ( m_pLastFoundEnemyInfo && m_pLastFoundEnemyInfo->hEnemy == pEnemy )
return m_pLastFoundEnemyInfo;
for ( i = 0; i < m_EnemyInfos.Count(); i++ )
{
if ( m_EnemyInfos[i].hEnemy == pEnemy )
{
m_pLastFoundEnemyInfo = &m_EnemyInfos[i];
return &m_EnemyInfos[i];
}
}
m_pLastFoundEnemyInfo = NULL;
i = m_EnemyInfos.AddToTail();
m_EnemyInfos[i].hEnemy = pEnemy;
m_pLastFoundEnemyInfo = &m_EnemyInfos[i];
return &m_EnemyInfos[i];
}
#endif
//------------------------------------------------------------------------------
void CAI_Squad::OccupySlot( CBaseEntity *pEnemy, int i )
{
#ifdef PER_ENEMY_SQUADSLOTS
AISquadEnemyInfo_t *pInfo = FindEnemyInfo( pEnemy );
pInfo->slots.Set(i);
#else
m_squadSlotsUsed.Set(i);
#endif
}
//------------------------------------------------------------------------------
void CAI_Squad::VacateSlot( CBaseEntity *pEnemy, int i )
{
#ifdef PER_ENEMY_SQUADSLOTS
AISquadEnemyInfo_t *pInfo = FindEnemyInfo( pEnemy );
pInfo->slots.Clear(i);
#else
m_squadSlotsUsed.Clear(i);
#endif
}
//------------------------------------------------------------------------------
bool CAI_Squad::IsSlotOccupied( CBaseEntity *pEnemy, int i ) const
{
#ifdef PER_ENEMY_SQUADSLOTS
const AISquadEnemyInfo_t *pInfo = FindEnemyInfo( pEnemy );
return pInfo->slots.IsBitSet(i);
#else
return m_squadSlotsUsed.IsBitSet(i);
#endif
}
void CAI_Squad::SquadRemember( int iMemory )
{
for (int i = 0; i < m_SquadMembers.Count(); i++)
{
if (m_SquadMembers[i] != NULL )
{
m_SquadMembers[i]->Remember( iMemory );
}
}
}
//------------------------------------------------------------------------------
void CAI_Squad::SetSquadInflictor( CBaseEntity *pInflictor )
{
m_hSquadInflictor.Set(pInflictor);
}
//------------------------------------------------------------------------------
bool CAI_Squad::IsSquadInflictor( CBaseEntity *pInflictor )
{
return (m_hSquadInflictor.Get() == pInflictor);
}
//=============================================================================
| [
"joe@valvesoftware.com"
] | joe@valvesoftware.com |
c4c4aa249f765219b7aca96a75c4a70bf02699ee | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/91/132.c | 45c1bb69ad94aed508027cfb8689459eddacd7a4 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | c | void main()
{
int n,i;
char a[300],b;
gets(a);
n=strlen(a);
b=a[0];
for(i=0;i<n-1;i++)
*(a+i)=*(a+i)+*(a+i+1);
*(a+n-1)=*(a+n-1)+b;
puts(a);
}
| [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
7ff974f6b8335d4d432918daa16ceb7093db0916 | fb2228001ecc5994a47367255824f5ace3c3e4f8 | /source/CGLMesh.cpp | d1650bbf0170a5abf3977897f9cca945ce1e11e6 | [] | no_license | wtrsltnk/Sunset3d | 4b9ba20b3a57b82d49959508daadf6a936930e10 | bbd8588ba5bb6ede74c65136da88755c95ee27bc | refs/heads/master | 2021-01-21T14:16:57.919641 | 2017-06-25T22:01:36 | 2017-06-25T22:01:36 | 95,262,420 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,072 | cpp | #include "CGLMesh.h"
#include <fstream>
CGLMesh::CGLMesh()
{
cClassType = "mesh";
Mesh.nNumVertices = 3;
Mesh.pVertices = new msVertex[3];
Mesh.pVertices[0].Vertex[0] = -1.0f;
Mesh.pVertices[0].Vertex[1] = -1.0f;
Mesh.pVertices[0].Vertex[2] = 0.0f;
Mesh.pVertices[1].Vertex[0] = 1.0f;
Mesh.pVertices[1].Vertex[1] = -1.0f;
Mesh.pVertices[1].Vertex[2] = 0.0f;
Mesh.pVertices[2].Vertex[0] = 0.0f;
Mesh.pVertices[2].Vertex[1] = 1.0f;
Mesh.pVertices[2].Vertex[2] = 0.0f;
Mesh.nNumTriangles = 1;
Mesh.pTriangles = new msTriangle;
Mesh.pTriangles->nVertexIndices[0] = 0;
Mesh.pTriangles->nVertexIndices[1] = 1;
Mesh.pTriangles->nVertexIndices[2] = 2;
ComputeMinMax();
}
CGLMesh::~CGLMesh()
{
}
void CGLMesh::ComputeMinMax()
{
min[0] = 99999.99f;
min[1] = 99999.99f;
min[2] = 99999.99f;
max[0] = -99999.99f;
max[1] = -99999.99f;
max[2] = -99999.99f;
for ( int i = 0; i < Mesh.nNumVertices; i++ )
{
if ( Mesh.pVertices[i].Vertex[0] <= min[0] )
min[0] = Mesh.pVertices[i].Vertex[0];
if ( Mesh.pVertices[i].Vertex[1] <= min[1] )
min[1] = Mesh.pVertices[i].Vertex[1];
if ( Mesh.pVertices[i].Vertex[2] <= min[2] )
min[2] = Mesh.pVertices[i].Vertex[2];
if ( Mesh.pVertices[i].Vertex[0] >= max[0] )
max[0] = Mesh.pVertices[i].Vertex[0];
if ( Mesh.pVertices[i].Vertex[1] >= max[1] )
max[1] = Mesh.pVertices[i].Vertex[1];
if ( Mesh.pVertices[i].Vertex[2] >= max[2] )
max[2] = Mesh.pVertices[i].Vertex[2];
}
}
void CGLMesh::Render(GLenum mode)
{
glPushMatrix(); // Bewaard e huidige matrix in de stack
if ( m_bSelected )
{
DrawGizmo();
}
// Loop alle mtriangles in de Mesh af
for ( int i = 0; i < Mesh.nNumTriangles; i++ )
{
// Vraag een pointer naar de triangle op
msTriangle* pTriangle = &Mesh.pTriangles[i];
glBegin(GL_TRIANGLES); // Start met het teken van triangles
for ( int j = 0; j < 3; j++ )
{
// Vraag een pointer naar de vertex op
msVertex* pVertex = &Mesh.pVertices[pTriangle->nVertexIndices[j]];
glVertex3fv(pVertex->Vertex); // Teken de vertex in de opgegeven vector
}
glEnd(); // Einde teken van triangles
}
glPopMatrix(); // Haal de vorige matrix weer op uit de stack
}
void CGLMesh::DrawGizmo()
{
glDisable(GL_LIGHTING);
glBegin(GL_LINES);
glColor3f(0.0f, 0.0f, 1.0f);
glVertex3f(min[0]-0.02f, min[1]-0.02f, min[2]-0.02f);
glVertex3f(max[0]+0.02f, min[1]-0.02f, min[2]-0.02f);
glVertex3f(min[0]-0.02f, min[1]-0.02f, min[2]-0.02f);
glVertex3f(min[0]-0.02f, max[1]+0.02f, min[2]-0.02f);
glVertex3f(min[0]-0.02f, min[1]-0.02f, min[2]-0.02f);
glVertex3f(min[0]-0.02f, min[1]-0.02f, max[2]+0.02f);
glColor3f(0.0f, 1.0f, 0.0f);
glVertex3f(max[0]+0.02f, max[1]+0.02f, max[2]+0.02f);
glVertex3f(min[0]-0.02f, max[1]+0.02f, max[2]+0.02f);
glVertex3f(max[0]+0.02f, max[1]+0.02f, max[2]+0.02f);
glVertex3f(max[0]+0.02f, min[1]-0.02f, max[2]+0.02f);
glVertex3f(max[0]+0.02f, max[1]+0.02f, max[2]+0.02f);
glVertex3f(max[0]+0.02f, max[1]+0.02f, min[2]-0.02f);
glEnd();
glEnable(GL_LIGHTING);
}
| [
"wouter.saaltink@gmail.com"
] | wouter.saaltink@gmail.com |
829b1a3b239c4a2c114b60e496b640258c3e90ba | 329bcf648013e2d2e67d4bcd2b872e69107238bb | /src/HC_SR04_Ultrasonic.cpp | 7a86a3f791339dc8a5761d5af678a811d637799c | [] | no_license | somaveszelovszki/micro-utils | 2cf1157a95ee420a572e5537d90c80c10f506883 | 7c491ac6be89eb04f6d295ce05816bb1c8dda787 | refs/heads/master | 2023-08-31T01:50:29.854830 | 2023-08-29T18:54:14 | 2023-08-29T18:54:14 | 196,206,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | cpp | #include <micro/hw/HC_SR04_Ultrasonic.hpp>
#include <micro/math/unit_utils.hpp>
#include <micro/port/timer.hpp>
namespace micro {
namespace hw {
HC_SR04_Ultrasonic::HC_SR04_Ultrasonic(const gpio_t& gpio_trigger, const gpio_t& gpio_echo)
: gpio_trigger_(gpio_trigger)
, gpio_echo_(gpio_echo) {}
void HC_SR04_Ultrasonic::initialize() {
gpio_write(this->gpio_trigger_, gpioPinState_t::RESET);
}
meter_t HC_SR04_Ultrasonic::readDistance() {
static constexpr microsecond_t ECHO_OVERHEAD = microsecond_t(450); // Overhead before echo.
static constexpr meter_t MAX_DIST = meter_t(2);
static constexpr m_per_sec_t SOUND_SPEED = m_per_sec_t(343);
meter_t distance = micro::numeric_limits<meter_t>::infinity();
const microsecond_t triggerTime = getExactTime();
gpio_write(this->gpio_trigger_, gpioPinState_t::SET);
while(getExactTime() - triggerTime < microsecond_t(10)) {}
gpio_write(this->gpio_trigger_, gpioPinState_t::RESET);
if (this->echoSemaphore_.take(millisecond_t(20))) {
if (this->echoTime_ - triggerTime > ECHO_OVERHEAD) {
distance = (this->echoTime_ - triggerTime - ECHO_OVERHEAD) * SOUND_SPEED / 2;
}
if (distance > MAX_DIST) {
distance = micro::numeric_limits<meter_t>::infinity();
}
}
return distance;
}
void HC_SR04_Ultrasonic::onEchoReceived() {
this->echoTime_ = micro::getExactTime();
this->echoSemaphore_.give();
}
} // namespace hw
} // namespace micro
| [
"soma.veszelovszki@gmail.com"
] | soma.veszelovszki@gmail.com |
a70f63510d60b160c7fe5eba3970d047c9c4ace2 | 99a8670571aa65255df2028a0df136facbd8a255 | /c++/08_Conti.cpp | 8f1fb5a553417107872277a87002f95006cc4a45 | [] | no_license | Omkarkale0002/Developer | d2d148fd7b5ff5e48f06128e38b5e357a4e039a8 | 53c74122386ff0a5f07b45311da714d25c0b74ea | refs/heads/main | 2023-07-08T22:26:20.416715 | 2021-08-10T04:50:13 | 2021-08-10T04:50:13 | 391,560,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | cpp | /*Performing Continue and Break statement program*/
#include<iostream>
using namespace std;
int main()
{
int a=10;
do
{
if(a==15) //a = 15 condition
{
a=a+1; //incr a
//break; //use ofbreak
continue; //use of continue
}
cout<<"The value of a is"<<a<<endl;
a++;
}while(a<20); //while condition check
}
| [
"noreply@github.com"
] | Omkarkale0002.noreply@github.com |
dc57fca94b93620c43694cb6110f271e8205c75d | 569d64661f9e6557022cc45428b89eefad9a6984 | /code/gameholder/vip_gift_config.h | 7d55371284081067d2e5769d4a96f3bfd4326eda | [] | no_license | dgkang/ROG | a2a3c8233c903fa416df81a8261aab2d8d9ac449 | 115d8d952a32cca7fb7ff01b63939769b7bfb984 | refs/heads/master | 2020-05-25T02:44:44.555599 | 2019-05-20T08:33:51 | 2019-05-20T08:33:51 | 187,584,950 | 0 | 1 | null | 2019-05-20T06:59:06 | 2019-05-20T06:59:05 | null | WINDOWS-1252 | C++ | false | false | 544 | h | #ifndef vip_gift_config_h
#define vip_gift_config_h
class Player;
class VipGiftConfig
{
public:
VipGiftConfig(void);
~VipGiftConfig(void);
DECLARE_SINGLETON(VipGiftConfig)
void Clear(); ///< Çå¿Õ
bool LoadConfig(const char* path); ///< ¼ÓÔØÅäÖÃÎļþ
int32 GetRewardItemList(int32 level);
bool AddVipGift(Player* player, int32 level);
private:
typedef std::vector<REWARD_ITEM> RewardItemList;
std::map<uint32, REWARD_TABLE> vip_git_list;
};
#endif
| [
"judge23253@sina.com"
] | judge23253@sina.com |
dedcade0ed6069c41d3d3dee8f05cd6e9a71be53 | c239d63ebac20f08205fd18a5e93a3b11da10f03 | /Algorithm/CPP/add_two_numbers.cpp | e79105472ce6b9defe4828dfca02019c4b89df1b | [] | no_license | chaojunhou/LeetCode | ff0f8b9a548e49518ed5f11a65f1e2fadd519852 | 86c6c091f7fd4b361f873967e25e4afa20a21e99 | refs/heads/master | 2016-08-05T14:25:14.024655 | 2015-09-08T02:27:37 | 2015-09-08T02:27:37 | 34,740,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,515 | cpp | # include <stdio.h>
# include <iostream>
# include <vector>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class solution {
public:
ListNode *addTwoNumbers(ListNode* l1, ListNode * l2)
{
auto dummy = new ListNode(-1);
auto q = dummy;
auto carry = 0;
while (l1 && l2)
{
q->next = new ListNode((l1->val + l2->val + carry) % 10);
carry = (l1->val + l2->val+carry) / 10;
q = q->next;
l1 = l1->next;
l2 = l2->next;
}
while (l1)
{
q->next = new ListNode((l1->val + carry)%10);
carry = (l1->val+carry)/10;
l1 = l1->next;
q = q->next;
if (carry == 0)
{
q->next = l1;
return dummy->next;
}
}
while (l2)
{
q->next = new ListNode((l2->val + carry)%10);
carry = (l2->val + carry) / 10;
l2 = l2->next;
q = q->next;
if (carry == 0)
{
q->next = l2;
return dummy->next;
}
}
if (carry)
{
q->next = new ListNode(1);
q = q->next;
}
q->next = NULL;
return dummy->next;
}
};
int main()
{
ListNode *heada = new ListNode(2);
auto p = heada;
vector<int> vec{ 4,5,9 };
for (auto x : vec)
{
p->next = new ListNode(x);
p = p->next;
}
p->next = NULL;
auto headb = new ListNode(5);
auto q = headb;
q->next = new ListNode(6);
q = q->next;
q->next = new ListNode(4);
q->next->next = NULL;
solution sol;
auto tmp = sol.addTwoNumbers(heada, headb);
while (tmp)
{
cout << tmp->val << endl;
tmp = tmp ->next;
}
cin.get();
return 0;
}
| [
"cjhou1984@gmail.com"
] | cjhou1984@gmail.com |
f7d0939a1dd013f435708fb8847ab54e73b39a7e | 7093b336114451a4da7d285f75b29563f1a2b16e | /Includes/Art/Response.h | ba015100660265469fc5f8153767f7a9a8dd75c3 | [
"MIT"
] | permissive | ArselonHub/ArtCore-stm32f4 | bca3990870070d5b2d4a5879c4059952f0e61f19 | 78954fd823d477674d47ce30ab6df63ea47538f7 | refs/heads/master | 2021-09-06T14:41:32.710992 | 2018-02-07T16:46:44 | 2018-02-07T16:46:44 | 113,226,086 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | h | /*
* Response.h
*
* Created on: Dec 6, 2016
* Author: denizcan
*/
#ifndef ART_RESPONSE_H_
#define ART_RESPONSE_H_
#include <Art/Types.h>
namespace Art
{
class Response
{
public:
void clear();
Word value();
Bool isPending();
void setValue(Word value);
void setValueSvc(Word value);
private:
virtual void clearTrigger() = 0;
virtual void trigger() = 0;
virtual void triggerSvc() = 0;
Bool m_pending;
Word m_value;
};
inline Word Response::value()
{
return m_value;
}
inline Bool Response::isPending()
{
return m_pending;
}
} /* namespace Art */
#endif /* SOURCE_ART_RESPONSE_H_ */
| [
"denizcan@arselon.com"
] | denizcan@arselon.com |
d4bbeaf97ff4c39335b8c703b2ebc1045ab5629c | c5d3827ba948811a56caf311b9c3b10680647e26 | /Chapter08/Abbrevia/source/hpp/iOSDevice32/Debug/AbZipKit.hpp | 8880462c157a84006d4f271aca1f8cca9f2396db | [
"MIT"
] | permissive | anomous/Mastering-Delphi-Programming-A-Complete-Reference-Guide | f9d8d9721608988b80916aa5de2a9b0edbdf104f | 886f8488f3c193e9f59106be35eea74a7add3ac2 | refs/heads/master | 2020-12-22T06:22:20.364175 | 2019-11-22T07:56:01 | 2019-11-22T07:56:01 | 236,694,923 | 1 | 0 | MIT | 2020-01-28T09:02:29 | 2020-01-28T09:02:29 | null | UTF-8 | C++ | false | false | 4,927 | hpp | // CodeGear C++Builder
// Copyright (c) 1995, 2016 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'AbZipKit.pas' rev: 31.00 (iOS)
#ifndef AbzipkitHPP
#define AbzipkitHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <System.Classes.hpp>
#include <AbZipper.hpp>
#include <AbArcTyp.hpp>
#include <AbZipTyp.hpp>
#include <AbZBrows.hpp>
#include <AbBrowse.hpp>
#include <AbBase.hpp>
//-- user supplied -----------------------------------------------------------
namespace Abzipkit
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TAbCustomZipKit;
class DELPHICLASS TAbZipKit;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TAbCustomZipKit : public Abzipper::TAbCustomZipper
{
typedef Abzipper::TAbCustomZipper inherited;
protected:
Abarctyp::TAbExtractOptions FExtractOptions;
Abarctyp::TAbConfirmOverwriteEvent FOnConfirmOverwrite;
Abziptyp::TAbNeedPasswordEvent FOnNeedPassword;
System::Byte FPasswordRetries;
virtual void __fastcall DoConfirmOverwrite(System::UnicodeString &Name, bool &Confirm);
virtual void __fastcall DoNeedPassword(System::TObject* Sender, System::UnicodeString &NewPassword);
virtual void __fastcall InitArchive(void);
void __fastcall SetExtractOptions(Abarctyp::TAbExtractOptions Value);
void __fastcall SetPasswordRetries(System::Byte Value);
void __fastcall UnzipProc(System::TObject* Sender, Abarctyp::TAbArchiveItem* Item, const System::UnicodeString NewName);
void __fastcall UnzipToStreamProc(System::TObject* Sender, Abarctyp::TAbArchiveItem* Item, System::Classes::TStream* OutStream);
void __fastcall TestItemProc(System::TObject* Sender, Abarctyp::TAbArchiveItem* Item);
__property Abarctyp::TAbExtractOptions ExtractOptions = {read=FExtractOptions, write=SetExtractOptions, default=1};
__property System::Byte PasswordRetries = {read=FPasswordRetries, write=SetPasswordRetries, default=3};
__property Abarctyp::TAbConfirmOverwriteEvent OnConfirmOverwrite = {read=FOnConfirmOverwrite, write=FOnConfirmOverwrite};
__property Abziptyp::TAbNeedPasswordEvent OnNeedPassword = {read=FOnNeedPassword, write=FOnNeedPassword};
public:
__fastcall virtual TAbCustomZipKit(System::Classes::TComponent* AOwner);
__fastcall virtual ~TAbCustomZipKit(void);
void __fastcall ExtractAt(int Index, const System::UnicodeString NewName);
void __fastcall ExtractFiles(const System::UnicodeString FileMask);
void __fastcall ExtractFilesEx(const System::UnicodeString FileMask, const System::UnicodeString ExclusionMask);
void __fastcall ExtractTaggedItems(void);
void __fastcall ExtractToStream(const System::UnicodeString aFileName, System::Classes::TStream* ToStream);
void __fastcall TestTaggedItems(void);
__property Spanned;
};
#pragma pack(pop)
#pragma pack(push,4)
class PASCALIMPLEMENTATION TAbZipKit : public TAbCustomZipKit
{
typedef TAbCustomZipKit inherited;
__published:
__property ArchiveProgressMeter;
__property ArchiveSaveProgressMeter;
__property AutoSave;
__property BaseDirectory = {default=0};
__property CompressionMethodToUse = {default=2};
__property DeflationOption = {default=1};
__property ExtractOptions = {default=1};
__property SpanningThreshold = {default=0};
__property ItemProgressMeter;
__property LogFile = {default=0};
__property Logging = {default=0};
__property OnArchiveProgress;
__property OnArchiveSaveProgress;
__property OnArchiveItemProgress;
__property OnChange;
__property OnConfirmOverwrite;
__property OnConfirmProcessItem;
__property OnConfirmSave;
__property OnLoad;
__property OnNeedPassword;
__property OnProcessItemFailure;
__property OnRequestBlankDisk;
__property OnRequestImage;
__property OnRequestLastDisk;
__property OnRequestNthDisk;
__property OnSave;
__property Password = {default=0};
__property PasswordRetries = {default=3};
__property StoreOptions = {default=5};
__property TempDirectory = {default=0};
__property Version = {default=0};
__property FileName = {default=0};
public:
/* TAbCustomZipKit.Create */ inline __fastcall virtual TAbZipKit(System::Classes::TComponent* AOwner) : TAbCustomZipKit(AOwner) { }
/* TAbCustomZipKit.Destroy */ inline __fastcall virtual ~TAbZipKit(void) { }
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Abzipkit */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_ABZIPKIT)
using namespace Abzipkit;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // AbzipkitHPP
| [
"adityaks95@gmail.com"
] | adityaks95@gmail.com |
d1bbfbed6d0ede99a6e0091959dd41082f3e9a1a | da86d9f9cf875db42fd912e3366cfe9e0aa392c6 | /2017/solutions/A/IDA-Pleven/number.cpp | 395f60d13de6e75d17d52c0680bff694cbc04706 | [] | no_license | Alaxe/noi2-ranking | 0c98ea9af9fc3bd22798cab523f38fd75ed97634 | bb671bacd369b0924a1bfa313acb259f97947d05 | refs/heads/master | 2021-01-22T23:33:43.481107 | 2020-02-15T17:33:25 | 2020-02-15T17:33:25 | 85,631,202 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 725 | cpp | #include<iostream>
#include<cstdio>
#include<algorithm>
#include<cmath>
using namespace std;
long long A,B;
long long calculate1(long long x){
double y1=(-1+sqrt(1+4*x))/2;
long long y=y1;
if(y*(y+1)<x)y++;
if(y*(y+1)>=A && y*(y+1)<=B){
return y;
}
return 0;
}
long long calculate2(long long x){
double y1=(-1+sqrt(1+4*x))/2;
long long y=y1;
if((y+1)*(y+2)<x)y++;
if(y*(y+1)>=A && y*(y+1)<=B){
return y;
}
return 0;
}
long long a1,a2;
int main(){
cin>>A>>B;
a1=calculate1(A);
a2=calculate2(B);
if(a1==0 || a2==0){
cout<<0<<endl;
}
else
cout<<a2-a1+1<<endl;
return 0;
}
| [
"aleks.tcr@gmail.com"
] | aleks.tcr@gmail.com |
5453569353d55118a7a1dddde738a8fe42161b49 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5731331665297408_1/C++/Azras/C.cpp | d0a48acd126b343b4ccb87699de3390dc7afdbe7 | [] | 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 | 3,824 | cpp | #include <iostream>
#include <algorithm>
#include <map>
#define F first
#define S second
using namespace std;
int n, m;
pair<string, int> ids[50];
bool graph[50][50];
int whoNum[51];
map<string, int> tNum;
map<int, string> tNumRev;
bool visited[50];
bool active[50];
bool wasThere[50];
//bool debug;
void DFScore(int v) {
//cout<<"dfs "<<v<<"\n";
visited[v] = true;
for (int v2 = 0; v2 < n; v2++) {
if (!visited[v2] && graph[v][v2] && active[v2]) {
DFScore(v2);
}
}
}
bool DFS(int v) {
for (int i = 0; i < n; i++) {
visited[i] = false;
}
DFScore(v);
for (int i = 0; i < n; i++) {
if ((!wasThere[i]) && (!visited[i])) {
//cout<<"fail "<<i<<"\n";
return false;
}
}
return true;
}
vector<int> perm;
vector<int> stack;
void solve() {
stack.clear();
perm.clear();
for (int i = 0; i < n; i++) {
active[i] = true;
wasThere[i] = false;
}
stack.push_back(0);
perm.push_back(0);
wasThere[0] = true;
while (perm.size() < n) {
for (int v = 0; v < n; v++) {
if (!wasThere[v]) {
//if (debug) cout<<"try "<<v<<"\n";
bool possible = false;
int possibleFrom = -1;
for (int pos = stack.size() - 1; pos >= 0; pos--) {
int hippo = stack[pos];
//if (debug) cout<<"hippo="<<hippo<<"\n";
if (graph[hippo][v]) {
//cout<<"jest edge\n";
for (int j = pos + 1; j < stack.size(); j++) {
active[stack[j]] = false;
// cout<<"disactive "<<stack[j]<<"\n";
}
if (DFS(v)) {
possible = true;
possibleFrom = pos;
}
for (int j = pos + 1; j < stack.size(); j++) {
active[stack[j]] = true;
}
}
if (possible) {
break;
}
}
if (possible) { //nawalamy
wasThere[v] = true;
//if (debug) cout<<"add "<<v<<"--------------\n";
for (int j = stack.size() - 1; j > possibleFrom; j--) {
active[stack[j]] = false;
stack.pop_back();
}
perm.push_back(v);
stack.push_back(v);
break;
}
}
}
}
}
int main() {
ios_base::sync_with_stdio(0);
//debug = false;
int t;
cin>>t;
for (int test = 1; test <= t; test++) {
tNum.clear();
tNumRev.clear();
cin>>n;
cin>>m;
for (int i = 0; i < n; i++) {
cin>>ids[i].F;
ids[i].S = i;
}
sort(ids, ids + n);
for (int i = 0; i < n; i++) {
whoNum[ids[i].S] = i;
tNum[ids[i].F] = i;
tNumRev[i] = ids[i].F;
}
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
graph[i][j] = false;
}
}
for (int i = 0; i < m; i++) {
int a, b;
cin>>a>>b;
a--; b--;
a = whoNum[a];
b = whoNum[b];
graph[a][b] = true;
graph[b][a] = true;
//cout<<"edge "<<a<<" "<<b<<"\n";
}
solve();
cout<<"Case #"<<test<<": ";
for (int i = 0; i < n; i++) {
cout<<tNumRev[perm[i]];
//cout<<perm[i]<<" ";
}
cout<<"\n";
}
return 0;
}
| [
"eewestman@gmail.com"
] | eewestman@gmail.com |
43f116031cf89cb9d6bbf444cdf7eb0b0a07d007 | 8d23a0360b9ca5ea949d77ce0fbc21dabafc100b | /src/tools.cpp | af407f665285065d620ce491dea0133366be8e4b | [
"MIT"
] | permissive | sundarseswaran/unscented-kalman-filter | b96cf03994386fa8caf2542699f97c3c9572616f | f58c8ec9385fe434f826597b6df6360688f829ba | refs/heads/master | 2020-03-15T20:20:32.456901 | 2018-05-06T11:37:14 | 2018-05-06T11:37:14 | 132,330,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include <iostream>
#include "tools.h"
using Eigen::VectorXd;
using Eigen::MatrixXd;
using std::vector;
Tools::Tools() {}
Tools::~Tools() {}
VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations,
const vector<VectorXd> &ground_truth) {
VectorXd rmse(4);
rmse << 0,0,0,0;
if(estimations.size() == 0){
return rmse;
}
if(ground_truth.size() == 0){
return rmse;
}
unsigned int n = estimations.size();
if(n != ground_truth.size()){
return rmse;
}
for(unsigned int i=0; i < estimations.size(); ++i){
VectorXd diff = estimations[i] - ground_truth[i];
diff = diff.array()*diff.array();
rmse += diff;
}
rmse = rmse / n;
rmse = rmse.array().sqrt();
return rmse;
} | [
"sundar@SundarearansMBP.attlocal.net"
] | sundar@SundarearansMBP.attlocal.net |
1ea00bcc15fade83df064a469c2a5c0dd87a9cec | 3ffdab04e0f74dd1ac9a51032d8a9a67277dad60 | /src/Logger.hpp | 20ac00d8ef0aa97b6fdae958cf6182eed96346f6 | [] | no_license | TheZorg/Zorgster | 23529498666cc64b60f8bfcedb9a416261759103 | 09a3271d00c786f051e41d70b08eed79df2e9fbc | refs/heads/master | 2020-04-05T23:41:39.166316 | 2011-12-30T06:16:52 | 2011-12-30T06:16:52 | 3,002,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | hpp | #ifndef ZORGSTER_LOGGER_HPP
#define ZORGSTER_LOGGER_HPP
#include <iostream>
#include <fstream>
#include <Singleton.hpp>
const int LOG_APP = 1;
class Logger : public Singleton<Logger> {
public:
Logger();
virtual ~Logger();
bool Init();
void Write(int target, const char* msg, ...);
protected:
std::ofstream mLogStream;
};
#endif
| [
"reumontf@gmail.com"
] | reumontf@gmail.com |
e24f7d50a129e05f63d95eefc3210057ccca1552 | 9468bd4617cc806ee1c372a204cbed0da4495322 | /src/init.cpp | d2b53e381294768a816d97caf8a91a380024e17e | [
"MIT"
] | permissive | ProPoint/RickCoin | 195e01d6f3a89a3cf987a48583c6d104b69997a7 | 5bf0bb949ee9cf1756ae174c5e8ce683b0bcdd90 | refs/heads/master | 2021-01-13T02:30:31.731385 | 2014-01-04T18:06:53 | 2014-01-04T18:06:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,170 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "db.h"
#include "walletdb.h"
#include "bitcoinrpc.h"
#include "net.h"
#include "init.h"
#include "util.h"
#include "ui_interface.h"
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/filesystem/convenience.hpp>
#include <boost/interprocess/sync/file_lock.hpp>
#include <boost/algorithm/string/predicate.hpp>
#ifndef WIN32
#include <signal.h>
#endif
using namespace std;
using namespace boost;
CWallet* pwalletMain;
CClientUIInterface uiInterface;
//////////////////////////////////////////////////////////////////////////////
//
// Shutdown
//
void ExitTimeout(void* parg)
{
#ifdef WIN32
Sleep(5000);
ExitProcess(0);
#endif
}
void StartShutdown()
{
#ifdef QT_GUI
// ensure we leave the Qt main loop for a clean GUI exit (Shutdown() is called in bitcoin.cpp afterwards)
uiInterface.QueueShutdown();
#else
// Without UI, Shutdown() can simply be started in a new thread
CreateThread(Shutdown, NULL);
#endif
}
void Shutdown(void* parg)
{
static CCriticalSection cs_Shutdown;
static bool fTaken;
// Make this thread recognisable as the shutdown thread
RenameThread("bitcoin-shutoff");
bool fFirstThread = false;
{
TRY_LOCK(cs_Shutdown, lockShutdown);
if (lockShutdown)
{
fFirstThread = !fTaken;
fTaken = true;
}
}
static bool fExit;
if (fFirstThread)
{
fShutdown = true;
nTransactionsUpdated++;
bitdb.Flush(false);
StopNode();
bitdb.Flush(true);
boost::filesystem::remove(GetPidFile());
UnregisterWallet(pwalletMain);
delete pwalletMain;
CreateThread(ExitTimeout, NULL);
Sleep(50);
printf("RickCoin exited\n\n");
fExit = true;
#ifndef QT_GUI
// ensure non UI client get's exited here, but let Bitcoin-Qt reach return 0; in bitcoin.cpp
exit(0);
#endif
}
else
{
while (!fExit)
Sleep(500);
Sleep(100);
ExitThread(0);
}
}
void HandleSIGTERM(int)
{
fRequestShutdown = true;
}
void HandleSIGHUP(int)
{
fReopenDebugLog = true;
}
//////////////////////////////////////////////////////////////////////////////
//
// Start
//
#if !defined(QT_GUI)
bool AppInit(int argc, char* argv[])
{
bool fRet = false;
try
{
//
// Parameters
//
// If Qt is used, parameters/litecoin.conf are parsed in qt/bitcoin.cpp's main()
ParseParameters(argc, argv);
if (!boost::filesystem::is_directory(GetDataDir(false)))
{
fprintf(stderr, "Error: Specified directory does not exist\n");
Shutdown(NULL);
}
ReadConfigFile(mapArgs, mapMultiArgs);
if (mapArgs.count("-?") || mapArgs.count("--help"))
{
// First part of help message is specific to RickCoin server / RPC client
std::string strUsage = _("RickCoin version") + " " + FormatFullVersion() + "\n\n" +
_("Usage:") + "\n" +
" RickCoin [options] " + "\n" +
" RickCoin [options] <command> [params] " + _("Send command to -server or RickCoin") + "\n" +
" RickCoin [options] help " + _("List commands") + "\n" +
" RickCoin [options] help <command> " + _("Get help for a command") + "\n";
strUsage += "\n" + HelpMessage();
fprintf(stderr, "%s", strUsage.c_str());
return false;
}
// Command-line RPC
for (int i = 1; i < argc; i++)
if (!IsSwitchChar(argv[i][0]) && !boost::algorithm::istarts_with(argv[i], "RickCoin:"))
fCommandLine = true;
if (fCommandLine)
{
int ret = CommandLineRPC(argc, argv);
exit(ret);
}
fRet = AppInit2();
}
catch (std::exception& e) {
PrintException(&e, "AppInit()");
} catch (...) {
PrintException(NULL, "AppInit()");
}
if (!fRet)
Shutdown(NULL);
return fRet;
}
extern void noui_connect();
int main(int argc, char* argv[])
{
bool fRet = false;
// Connect signal handlers
noui_connect();
fRet = AppInit(argc, argv);
if (fRet && fDaemon)
return 0;
return 1;
}
#endif
bool static InitError(const std::string &str)
{
uiInterface.ThreadSafeMessageBox(str, _("RickCoin"), CClientUIInterface::OK | CClientUIInterface::MODAL);
return false;
}
bool static InitWarning(const std::string &str)
{
uiInterface.ThreadSafeMessageBox(str, _("RickCoin"), CClientUIInterface::OK | CClientUIInterface::ICON_EXCLAMATION | CClientUIInterface::MODAL);
return true;
}
bool static Bind(const CService &addr, bool fError = true) {
if (IsLimited(addr))
return false;
std::string strError;
if (!BindListenPort(addr, strError)) {
if (fError)
return InitError(strError);
return false;
}
return true;
}
/* import from bitcoinrpc.cpp */
extern double GetDifficulty(const CBlockIndex* blockindex = NULL);
// Core-specific options shared between UI and daemon
std::string HelpMessage()
{
string strUsage = _("Options:") + "\n" +
" -conf=<file> " + _("Specify configuration file (default: RickCoin.conf)") + "\n" +
" -pid=<file> " + _("Specify pid file (default: RickCoin.pid)") + "\n" +
" -gen " + _("Generate coins") + "\n" +
" -gen=0 " + _("Don't generate coins") + "\n" +
" -datadir=<dir> " + _("Specify data directory") + "\n" +
" -dbcache=<n> " + _("Set database cache size in megabytes (default: 25)") + "\n" +
" -dblogsize=<n> " + _("Set database disk log size in megabytes (default: 100)") + "\n" +
" -timeout=<n> " + _("Specify connection timeout (in milliseconds)") + "\n" +
" -proxy=<ip:port> " + _("Connect through socks proxy") + "\n" +
" -socks=<n> " + _("Select the version of socks proxy to use (4-5, default: 5)") + "\n" +
" -tor=<ip:port> " + _("Use proxy to reach tor hidden services (default: same as -proxy)") + "\n"
" -dns " + _("Allow DNS lookups for -addnode, -seednode and -connect") + "\n" +
" -port=<port> " + _("Listen for connections on <port> (default: 55998 or testnet: 45885)") + "\n" +
" -maxconnections=<n> " + _("Maintain at most <n> connections to peers (default: 125)") + "\n" +
" -addnode=<ip> " + _("Add a node to connect to and attempt to keep the connection open") + "\n" +
" -connect=<ip> " + _("Connect only to the specified node(s)") + "\n" +
" -seednode=<ip> " + _("Connect to a node to retrieve peer addresses, and disconnect") + "\n" +
" -externalip=<ip> " + _("Specify your own public address") + "\n" +
" -onlynet=<net> " + _("Only connect to nodes in network <net> (IPv4, IPv6 or Tor)") + "\n" +
" -discover " + _("Discover own IP address (default: 1 when listening and no -externalip)") + "\n" +
" -irc " + _("Find peers using internet relay chat (default: 0)") + "\n" +
" -listen " + _("Accept connections from outside (default: 1 if no -proxy or -connect)") + "\n" +
" -bind=<addr> " + _("Bind to given address. Use [host]:port notation for IPv6") + "\n" +
" -dnsseed " + _("Find peers using DNS lookup (default: 1 unless -connect)") + "\n" +
" -banscore=<n> " + _("Threshold for disconnecting misbehaving peers (default: 100)") + "\n" +
" -bantime=<n> " + _("Number of seconds to keep misbehaving peers from reconnecting (default: 86400)") + "\n" +
" -maxreceivebuffer=<n> " + _("Maximum per-connection receive buffer, <n>*1000 bytes (default: 5000)") + "\n" +
" -maxsendbuffer=<n> " + _("Maximum per-connection send buffer, <n>*1000 bytes (default: 1000)") + "\n" +
" -detachdb " + _("Detach block and address databases. Increases shutdown time (default: 0)") + "\n" +
" -paytxfee=<amt> " + _("Fee per KB to add to transactions you send") + "\n" +
" -mininput=<amt> " + _("When creating transactions, ignore inputs with value less than this (default: 0.0001)") + "\n" +
#ifdef QT_GUI
" -server " + _("Accept command line and JSON-RPC commands") + "\n" +
#endif
#if !defined(WIN32) && !defined(QT_GUI)
" -daemon " + _("Run in the background as a daemon and accept commands") + "\n" +
#endif
" -testnet " + _("Use the test network") + "\n" +
" -debug " + _("Output extra debugging information. Implies all other -debug* options") + "\n" +
" -debugnet " + _("Output extra network debugging information") + "\n" +
" -logtimestamps " + _("Prepend debug output with timestamp") + "\n" +
" -printtoconsole " + _("Send trace/debug info to console instead of debug.log file") + "\n" +
#ifdef WIN32
" -printtodebugger " + _("Send trace/debug info to debugger") + "\n" +
#endif
" -rpcuser=<user> " + _("Username for JSON-RPC connections") + "\n" +
" -rpcpassword=<pw> " + _("Password for JSON-RPC connections") + "\n" +
" -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 55999)") + "\n" +
" -rpcallowip=<ip> " + _("Allow JSON-RPC connections from specified IP address") + "\n" +
" -rpcconnect=<ip> " + _("Send commands to node running on <ip> (default: 127.0.0.1)") + "\n" +
" -blocknotify=<cmd> " + _("Execute command when the best block changes (%s in cmd is replaced by block hash)") + "\n" +
" -upgradewallet " + _("Upgrade wallet to latest format") + "\n" +
" -keypool=<n> " + _("Set key pool size to <n> (default: 100)") + "\n" +
" -rescan " + _("Rescan the block chain for missing wallet transactions") + "\n" +
" -checkblocks=<n> " + _("How many blocks to check at startup (default: 2500, 0 = all)") + "\n" +
" -checklevel=<n> " + _("How thorough the block verification is (0-6, default: 1)") + "\n" +
" -loadblock=<file> " + _("Imports blocks from external blk000?.dat file") + "\n" +
" -? " + _("This help message") + "\n";
strUsage += string() +
_("\nSSL options: (see the Bitcoin Wiki for SSL setup instructions)") + "\n" +
" -rpcssl " + _("Use OpenSSL (https) for JSON-RPC connections") + "\n" +
" -rpcsslcertificatechainfile=<file.cert> " + _("Server certificate file (default: server.cert)") + "\n" +
" -rpcsslprivatekeyfile=<file.pem> " + _("Server private key (default: server.pem)") + "\n" +
" -rpcsslciphers=<ciphers> " + _("Acceptable ciphers (default: TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH)") + "\n";
return strUsage;
}
/** Initialize RickCoin.
* @pre Parameters should be parsed and config file should be read.
*/
bool AppInit2()
{
// ********************************************************* Step 1: setup
#ifdef _MSC_VER
// Turn off microsoft heap dump noise
_CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE);
_CrtSetReportFile(_CRT_WARN, CreateFileA("NUL", GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, 0));
#endif
#if _MSC_VER >= 1400
// Disable confusing "helpful" text message on abort, ctrl-c
_set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);
#endif
#ifndef WIN32
umask(077);
#endif
#ifndef WIN32
// Clean shutdown on SIGTERM
struct sigaction sa;
sa.sa_handler = HandleSIGTERM;
sigemptyset(&sa.sa_mask);
sa.sa_flags = 0;
sigaction(SIGTERM, &sa, NULL);
sigaction(SIGINT, &sa, NULL);
// Reopen debug.log on SIGHUP
struct sigaction sa_hup;
sa_hup.sa_handler = HandleSIGHUP;
sigemptyset(&sa_hup.sa_mask);
sa_hup.sa_flags = 0;
sigaction(SIGHUP, &sa_hup, NULL);
#endif
// ********************************************************* Step 2: parameter interactions
fTestNet = GetBoolArg("-testnet");
// Keep irc seeding on by default for now.
// if (fTestNet)
// {
SoftSetBoolArg("-irc", true);
// }
if (mapArgs.count("-bind")) {
// when specifying an explicit binding address, you want to listen on it
// even when -connect or -proxy is specified
SoftSetBoolArg("-listen", true);
}
if (mapArgs.count("-connect")) {
// when only connecting to trusted nodes, do not seed via DNS, or listen by default
SoftSetBoolArg("-dnsseed", false);
SoftSetBoolArg("-listen", false);
}
if (mapArgs.count("-proxy")) {
// to protect privacy, do not listen by default if a proxy server is specified
SoftSetBoolArg("-listen", false);
}
if (!GetBoolArg("-listen", true)) {
// do not map ports or try to retrieve public IP when not listening (pointless)
SoftSetBoolArg("-upnp", false);
SoftSetBoolArg("-discover", false);
}
if (mapArgs.count("-externalip")) {
// if an explicit public IP is specified, do not try to find others
SoftSetBoolArg("-discover", false);
}
// ********************************************************* Step 3: parameter-to-internal-flags
fDebug = GetBoolArg("-debug");
// -debug implies fDebug*
if (fDebug)
fDebugNet = true;
else
fDebugNet = GetBoolArg("-debugnet");
bitdb.SetDetach(GetBoolArg("-detachdb", false));
#if !defined(WIN32) && !defined(QT_GUI)
fDaemon = GetBoolArg("-daemon");
#else
fDaemon = false;
#endif
if (fDaemon)
fServer = true;
else
fServer = GetBoolArg("-server");
/* force fServer when running without GUI */
#if !defined(QT_GUI)
fServer = true;
#endif
fPrintToConsole = GetBoolArg("-printtoconsole");
fPrintToDebugger = GetBoolArg("-printtodebugger");
fLogTimestamps = GetBoolArg("-logtimestamps");
if (mapArgs.count("-timeout"))
{
int nNewTimeout = GetArg("-timeout", 5000);
if (nNewTimeout > 0 && nNewTimeout < 600000)
nConnectTimeout = nNewTimeout;
}
// Continue to put "/P2SH/" in the coinbase to monitor
// BIP16 support.
// This can be removed eventually...
const char* pszP2SH = "/P2SH/";
COINBASE_FLAGS << std::vector<unsigned char>(pszP2SH, pszP2SH+strlen(pszP2SH));
if (mapArgs.count("-paytxfee"))
{
if (!ParseMoney(mapArgs["-paytxfee"], nTransactionFee))
return InitError(strprintf(_("Invalid amount for -paytxfee=<amount>: '%s'"), mapArgs["-paytxfee"].c_str()));
if (nTransactionFee > 0.25 * COIN)
InitWarning(_("Warning: -paytxfee is set very high. This is the transaction fee you will pay if you send a transaction."));
}
if (mapArgs.count("-mininput"))
{
if (!ParseMoney(mapArgs["-mininput"], nMinimumInputValue))
return InitError(strprintf(_("Invalid amount for -mininput=<amount>: '%s'"), mapArgs["-mininput"].c_str()));
}
// ********************************************************* Step 4: application initialization: dir lock, daemonize, pidfile, debug log
// Make sure only a single RickCoin process is using the data directory.
boost::filesystem::path pathLockFile = GetDataDir() / ".lock";
FILE* file = fopen(pathLockFile.string().c_str(), "a"); // empty lock file; created if it doesn't exist.
if (file) fclose(file);
static boost::interprocess::file_lock lock(pathLockFile.string().c_str());
if (!lock.try_lock())
return InitError(strprintf(_("Cannot obtain a lock on data directory %s. RickCoin is probably already running."), GetDataDir().string().c_str()));
#if !defined(WIN32) && !defined(QT_GUI)
if (fDaemon)
{
// Daemonize
pid_t pid = fork();
if (pid < 0)
{
fprintf(stderr, "Error: fork() returned %d errno %d\n", pid, errno);
return false;
}
if (pid > 0)
{
CreatePidFile(GetPidFile(), pid);
return true;
}
pid_t sid = setsid();
if (sid < 0)
fprintf(stderr, "Error: setsid() returned %d errno %d\n", sid, errno);
}
#endif
if (!fDebug)
ShrinkDebugFile();
printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
printf("RickCoin version %s (%s)\n", FormatFullVersion().c_str(), CLIENT_DATE.c_str());
printf("Startup time: %s\n", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str());
printf("Default data directory %s\n", GetDefaultDataDir().string().c_str());
printf("Used data directory %s\n", GetDataDir().string().c_str());
std::ostringstream strErrors;
if (fDaemon)
fprintf(stdout, "RickCoin server starting\n");
int64 nStart;
// ********************************************************* Step 5: network initialization
int nSocksVersion = GetArg("-socks", 5);
if (nSocksVersion != 4 && nSocksVersion != 5)
return InitError(strprintf(_("Unknown -socks proxy version requested: %i"), nSocksVersion));
if (mapArgs.count("-onlynet")) {
std::set<enum Network> nets;
BOOST_FOREACH(std::string snet, mapMultiArgs["-onlynet"]) {
enum Network net = ParseNetwork(snet);
if (net == NET_UNROUTABLE)
return InitError(strprintf(_("Unknown network specified in -onlynet: '%s'"), snet.c_str()));
nets.insert(net);
}
for (int n = 0; n < NET_MAX; n++) {
enum Network net = (enum Network)n;
if (!nets.count(net))
SetLimited(net);
}
}
CService addrProxy;
bool fProxy = false;
if (mapArgs.count("-proxy")) {
addrProxy = CService(mapArgs["-proxy"], 9050);
if (!addrProxy.IsValid())
return InitError(strprintf(_("Invalid -proxy address: '%s'"), mapArgs["-proxy"].c_str()));
if (!IsLimited(NET_IPV4))
SetProxy(NET_IPV4, addrProxy, nSocksVersion);
if (nSocksVersion > 4) {
#ifdef USE_IPV6
if (!IsLimited(NET_IPV6))
SetProxy(NET_IPV6, addrProxy, nSocksVersion);
#endif
SetNameProxy(addrProxy, nSocksVersion);
}
fProxy = true;
}
// -tor can override normal proxy, -notor disables tor entirely
if (!(mapArgs.count("-tor") && mapArgs["-tor"] == "0") && (fProxy || mapArgs.count("-tor"))) {
CService addrOnion;
if (!mapArgs.count("-tor"))
addrOnion = addrProxy;
else
addrOnion = CService(mapArgs["-tor"], 9050);
if (!addrOnion.IsValid())
return InitError(strprintf(_("Invalid -tor address: '%s'"), mapArgs["-tor"].c_str()));
SetProxy(NET_TOR, addrOnion, 5);
SetReachable(NET_TOR);
}
// see Step 2: parameter interactions for more information about these
fNoListen = !GetBoolArg("-listen", true);
fDiscover = GetBoolArg("-discover", true);
fNameLookup = GetBoolArg("-dns", true);
bool fBound = false;
if (!fNoListen)
{
std::string strError;
if (mapArgs.count("-bind")) {
BOOST_FOREACH(std::string strBind, mapMultiArgs["-bind"]) {
CService addrBind;
if (!Lookup(strBind.c_str(), addrBind, GetListenPort(), false))
return InitError(strprintf(_("Cannot resolve -bind address: '%s'"), strBind.c_str()));
fBound |= Bind(addrBind);
}
} else {
struct in_addr inaddr_any;
inaddr_any.s_addr = INADDR_ANY;
#ifdef USE_IPV6
if (!IsLimited(NET_IPV6))
fBound |= Bind(CService(in6addr_any, GetListenPort()), false);
#endif
if (!IsLimited(NET_IPV4))
fBound |= Bind(CService(inaddr_any, GetListenPort()), !fBound);
}
if (!fBound)
return InitError(_("Failed to listen on any port. Use -listen=0 if you want this."));
}
if (mapArgs.count("-externalip"))
{
BOOST_FOREACH(string strAddr, mapMultiArgs["-externalip"]) {
CService addrLocal(strAddr, GetListenPort(), fNameLookup);
if (!addrLocal.IsValid())
return InitError(strprintf(_("Cannot resolve -externalip address: '%s'"), strAddr.c_str()));
AddLocal(CService(strAddr, GetListenPort(), fNameLookup), LOCAL_MANUAL);
}
}
BOOST_FOREACH(string strDest, mapMultiArgs["-seednode"])
AddOneShot(strDest);
// ********************************************************* Step 6: load blockchain
if (GetBoolArg("-loadblockindextest"))
{
CTxDB txdb("r");
txdb.LoadBlockIndex();
PrintBlockTree();
return false;
}
uiInterface.InitMessage(_("Loading block index..."));
printf("Loading block index...\n");
nStart = GetTimeMillis();
if (!LoadBlockIndex())
strErrors << _("Error loading blkindex.dat") << "\n";
// as LoadBlockIndex can take several minutes, it's possible the user
// requested to kill RickCoin-qt during the last operation. If so, exit.
// As the program has not fully started yet, Shutdown() is possibly overkill.
if (fRequestShutdown)
{
printf("Shutdown requested. Exiting.\n");
return false;
}
printf(" block index %15"PRI64d"ms\n", GetTimeMillis() - nStart);
if (GetBoolArg("-printblockindex") || GetBoolArg("-printblocktree"))
{
PrintBlockTree();
return false;
}
if (mapArgs.count("-printblock"))
{
string strMatch = mapArgs["-printblock"];
int nFound = 0;
for (map<uint256, CBlockIndex*>::iterator mi = mapBlockIndex.begin(); mi != mapBlockIndex.end(); ++mi)
{
uint256 hash = (*mi).first;
if (strncmp(hash.ToString().c_str(), strMatch.c_str(), strMatch.size()) == 0)
{
CBlockIndex* pindex = (*mi).second;
CBlock block;
block.ReadFromDisk(pindex);
block.BuildMerkleTree();
block.print();
printf("\n");
nFound++;
}
}
if (nFound == 0)
printf("No blocks matching %s were found\n", strMatch.c_str());
return false;
}
if (mapArgs.count("-exportStatData"))
{
FILE* file = fopen((GetDataDir() / "blockstat.dat").string().c_str(), "w");
if (!file)
return false;
for (map<uint256, CBlockIndex*>::iterator mi = mapBlockIndex.begin(); mi != mapBlockIndex.end(); ++mi)
{
CBlockIndex* pindex = (*mi).second;
CBlock block;
block.ReadFromDisk(pindex);
block.BuildMerkleTree();
fprintf(file, "%d,%s,%s,%d,%f,%u\n",
pindex->nHeight, /* todo: height */
block.GetHash().ToString().c_str(),
block.GetPoWHash().ToString().c_str(),
block.nVersion,
//CBigNum().SetCompact(block.nBits).getuint256().ToString().c_str(),
GetDifficulty(pindex),
block.nTime
);
}
fclose(file);
return false;
}
// ********************************************************* Step 7: load wallet
uiInterface.InitMessage(_("Loading wallet..."));
printf("Loading wallet...\n");
nStart = GetTimeMillis();
bool fFirstRun;
pwalletMain = new CWallet("wallet.dat");
int nLoadWalletRet = pwalletMain->LoadWallet(fFirstRun);
if (nLoadWalletRet != DB_LOAD_OK)
{
if (nLoadWalletRet == DB_CORRUPT)
strErrors << _("Error loading wallet.dat: Wallet corrupted") << "\n";
else if (nLoadWalletRet == DB_TOO_NEW)
strErrors << _("Error loading wallet.dat: Wallet requires newer version of RickCoin") << "\n";
else if (nLoadWalletRet == DB_NEED_REWRITE)
{
strErrors << _("Wallet needed to be rewritten: restart RickCoin to complete") << "\n";
printf("%s", strErrors.str().c_str());
return InitError(strErrors.str());
}
else
strErrors << _("Error loading wallet.dat") << "\n";
}
if (GetBoolArg("-upgradewallet", fFirstRun))
{
int nMaxVersion = GetArg("-upgradewallet", 0);
if (nMaxVersion == 0) // the -upgradewallet without argument case
{
printf("Performing wallet upgrade to %i\n", FEATURE_LATEST);
nMaxVersion = CLIENT_VERSION;
pwalletMain->SetMinVersion(FEATURE_LATEST); // permanently upgrade the wallet immediately
}
else
printf("Allowing wallet upgrade up to %i\n", nMaxVersion);
if (nMaxVersion < pwalletMain->GetVersion())
strErrors << _("Cannot downgrade wallet") << "\n";
pwalletMain->SetMaxVersion(nMaxVersion);
}
if (fFirstRun)
{
// Create new keyUser and set as default key
RandAddSeedPerfmon();
CPubKey newDefaultKey;
if (!pwalletMain->GetKeyFromPool(newDefaultKey, false))
strErrors << _("Cannot initialize keypool") << "\n";
pwalletMain->SetDefaultKey(newDefaultKey);
if (!pwalletMain->SetAddressBookName(pwalletMain->vchDefaultKey.GetID(), ""))
strErrors << _("Cannot write default address") << "\n";
}
printf("%s", strErrors.str().c_str());
printf(" wallet %15"PRI64d"ms\n", GetTimeMillis() - nStart);
RegisterWallet(pwalletMain);
CBlockIndex *pindexRescan = pindexBest;
if (GetBoolArg("-rescan"))
pindexRescan = pindexGenesisBlock;
else
{
CWalletDB walletdb("wallet.dat");
CBlockLocator locator;
if (walletdb.ReadBestBlock(locator))
pindexRescan = locator.GetBlockIndex();
}
if (pindexBest != pindexRescan)
{
uiInterface.InitMessage(_("Rescanning..."));
printf("Rescanning last %i blocks (from block %i)...\n", pindexBest->nHeight - pindexRescan->nHeight, pindexRescan->nHeight);
nStart = GetTimeMillis();
pwalletMain->ScanForWalletTransactions(pindexRescan, true);
printf(" rescan %15"PRI64d"ms\n", GetTimeMillis() - nStart);
}
// ********************************************************* Step 8: import blocks
if (mapArgs.count("-loadblock"))
{
BOOST_FOREACH(string strFile, mapMultiArgs["-loadblock"])
{
FILE *file = fopen(strFile.c_str(), "rb");
if (file)
LoadExternalBlockFile(file);
}
}
// ********************************************************* Step 9: load peers
uiInterface.InitMessage(_("Loading addresses..."));
printf("Loading addresses...\n");
nStart = GetTimeMillis();
{
CAddrDB adb;
if (!adb.Read(addrman))
printf("Invalid or missing peers.dat; recreating\n");
}
printf("Loaded %i addresses from peers.dat %"PRI64d"ms\n",
addrman.size(), GetTimeMillis() - nStart);
// ********************************************************* Step 10: start node
if (!CheckDiskSpace())
return false;
RandAddSeedPerfmon();
//// debug print
printf("mapBlockIndex.size() = %d\n", mapBlockIndex.size());
printf("nBestHeight = %d\n", nBestHeight);
printf("setKeyPool.size() = %d\n", pwalletMain->setKeyPool.size());
printf("mapWallet.size() = %d\n", pwalletMain->mapWallet.size());
printf("mapAddressBook.size() = %d\n", pwalletMain->mapAddressBook.size());
if (!CreateThread(StartNode, NULL))
InitError(_("Error: could not start node"));
if (fServer)
CreateThread(ThreadRPCServer, NULL);
// ********************************************************* Step 11: finished
uiInterface.InitMessage(_("Done loading"));
printf("Done loading\n");
if (!strErrors.str().empty())
return InitError(strErrors.str());
// Add wallet transactions that aren't already in a block to mapTransactions
pwalletMain->ReacceptWalletTransactions();
#if !defined(QT_GUI)
// Loop until process is exit()ed from shutdown() function,
// called from ThreadRPCServer thread when a "stop" command is received.
while (1)
Sleep(5000);
#endif
return true;
}
| [
"root@raspberrypi.(none)"
] | root@raspberrypi.(none) |
60db6f85dbc608aa06d774b03bcadf660e067025 | f0359060bc80eb07ea5383ab2ffd47f2cfb17f99 | /SequenciableIPRepository/HSVColorClusterEstimation.h | 31a260f83d1c903968ebdbe72acd191ba517a086 | [] | no_license | nagyistoce/sequenciable | f78c858f263d51203c970ee2fd1e3eb554aa2c28 | c03fdc2725dc9cb266f0778818e3261f0c95525d | refs/heads/master | 2021-01-19T13:33:30.599079 | 2012-12-28T21:33:46 | 2012-12-28T21:33:46 | 32,746,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,068 | h | /*
* HSVColorClusterEstimation.h
*
* Created on: Jul 7, 2011
* Author: claudio
*/
#ifndef HSVCOLORCLUSTERESTIMATION_H_
#define HSVCOLORCLUSTERESTIMATION_H_
#include <HSVVecListener.h>
#include <HSVVecEvent.h>
#include <Sequenciable.h>
#include <ShortCircuitException.h>
#include <IplEvent.h>
#include <HSVListener.h>
class HSVColorClusterEstimation : public HSVVecListener, public Sequenciable {
public:
HSVColorClusterEstimation(int neighbor);
virtual ~HSVColorClusterEstimation();
virtual void processingCore();
virtual void actionPerformed(Event* e);
// virtual void addHSVListener(HSVListener* _hsvlis){
// if(_hsvlis==this)
// throw new ShortCircuitException();
// hsvlis.clear();
// hsvlis.push_back(_hsvlis);
// };
// virtual void addHSVVecListener(HSVVecListener* _hsvveclis) {
// // if(_rgblis==this)
// // throw new ShortCircuitException();
// hsvveclis.clear();
// hsvveclis.push_back(_hsvveclis);
// };
virtual vector<HSVColor> getOutputHSVColorVector();
// virtual bool verifyInputCompatibility(Sequenciable* s){
// return dynamic_cast<HSVVecGenerator*>(s);
// };
virtual bool verifyOutputCompatibility(Sequenciable *lis){
return dynamic_cast<HSVVecListener*>(lis);
};
virtual bool verifyInputCompatibility(Sequenciable *lis){
return dynamic_cast<HSVListener*>(lis);
};
virtual bool addSequenciableListener(Sequenciable *_hsvveclis){
if(_hsvveclis==this)
throw new ShortCircuitException();
if(verifyOutputCompatibility(_hsvveclis)){
listeners.push_back(_hsvveclis);
return true;
}
else
return false;
};
private:
int neighborhoodEstimation;
vector<HSVColor> input;
vector<HSVColor> cores;
int greyExclusionType;
vector<HSVColor> estimateClustersForHSV(vector<HSVColor> cores, int neighboorhood);
bool processed;
};
#endif /* HSVCOLORCLUSTERESTIMATION_H_ */
| [
"csvcc@copin.ufcg.edu.br@f2eb23fe-ef7d-4792-4157-f68be8e4a5ee"
] | csvcc@copin.ufcg.edu.br@f2eb23fe-ef7d-4792-4157-f68be8e4a5ee |
36acf223d0506013a0d61b0741bc74070c47f8c2 | 0b07611f6d5cb10de6791a6c452a4ad4e88eb605 | /LinearSearch.CPP | 89a93cfdbbacacf7aafed8a4fad0607f0b6b0563 | [] | no_license | Monu-Ruhela/DAA-Program | e0e9b0511038c03c7420b5dbd98acda815b140cb | ffebdfba40813433966d23a2889ff0f5eeeb150a | refs/heads/master | 2023-07-23T17:27:13.988792 | 2021-09-06T11:43:19 | 2021-09-06T11:43:19 | 299,561,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | #include<stdio.h>
#include<conio.h>
void main()
{
int count=0,i,n,search,a[100],found=0;
clrscr();
printf("Enter the size of array=");
scanf("%d",&n);
printf("enter the values in list=\n");
count++;
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
}
printf("Enter the search element=");
scanf("%d",&search);
count++;
for(i=0;i<n;i++)
{
count++;
if(a[i]==search)
{
count++;
found=1;
count++;
break;
}
}
count++;
if(found==0)
{
printf("elemnt is not found");
}
else
{
printf("element is found");
}
printf("\n count=%d",count);
getch();
}
| [
"noreply@github.com"
] | Monu-Ruhela.noreply@github.com |
1887ca33678d8004c8aa4db28c17fd1b8e5a4916 | 15e5840cf17575416614ee4a4af00b4c93a3c246 | /3rd-party/stab/VideoStabilization/VideoStabilization/GUI/CameraDialog.cpp | e806bde61ffa16f7b23d0e251366c8bdf47dcb37 | [] | no_license | projedi/stabilization | 6babca368dca7d23a06698678c13b2054e274eb2 | 66c07d2bab1b0337ae552e028b08195e247121cf | refs/heads/master | 2021-01-01T18:06:53.020954 | 2012-09-10T08:45:25 | 2012-09-10T08:45:25 | 4,792,360 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | #include "stdafx.h"
#include "resource.h"
#include "CameraDialog.h"
IMPLEMENT_DYNAMIC(CCameraDlg, CDialog)
CCameraDlg::CCameraDlg(CWnd* pParent /*=NULL*/)
: CDialog(CCameraDlg::IDD, pParent)
{
}
void CCameraDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
int panasonicInt = panasonic;
DDX_Check(pDX, IDC_DISTORTION_COMPENSATE, panasonicInt);
panasonic = panasonicInt == 0 ? false : true;
CString ip = camIp.c_str();
DDX_Text(pDX, IDC_EDIT_CAM_IP, ip);
CT2CA pszConvertedAnsiString (ip);
camIp = std::string(pszConvertedAnsiString);
}
BEGIN_MESSAGE_MAP(CCameraDlg, CDialog)
END_MESSAGE_MAP()
| [
"shabalyn.a@gmail.com"
] | shabalyn.a@gmail.com |
3487c38eddd96c32f4ed4e5464b97e46131386b6 | b9e249ddd765a9e67dd16b71c6039f1f71d66fb4 | /Game/headers/Game.h | e4e23756740efe29e41ef6b8c388b9a0e5c55e87 | [] | no_license | ZdrzalikPrzemyslaw/Tetris_CPP | 02d4a53081993c76fb360e8706d90c6ad231aa42 | 081add458ea759a876ecce50ac3836b4be38f0cb | refs/heads/master | 2022-12-21T23:30:21.314189 | 2020-09-16T19:50:05 | 2020-09-16T19:50:05 | 294,108,524 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | h | //
// Created by Przemek on 09.09.2020.
//
#ifndef TETRIS_GAME_H
#define TETRIS_GAME_H
#include <Board.h>
#include "SDL2/SDL.h"
#include "TetrisDisplay.h"
#undef main
// todo : https://www.youtube.com/playlist?list=PLhfAbcv9cehhkG7ZQK0nfIGJC_C-wSLrx - tutoriale
class Game {
public:
Game();
~Game();
void init(const char *title, int xpos, int ypos, int width, int height, bool fullscreen);
void update();
void render();
void clean();
void handle_events();
[[nodiscard]] bool get_is_running() const;
private:
Board *board;
bool is_running;
SDL_Window *window;
SDL_Renderer *renderer;
TetrisDisplay tetrisDisplay;
Uint32 lastTetrisDownMove;
int fall_delay = 1000;
void handleInput(const Uint8 *keyboard_state_array);
void handleInputKeyUp(const Uint8 *keyboard_state_array);
};
#endif //TETRIS_GAME_H
| [
"57731778+zdrzalik-przemek@users.noreply.github.com"
] | 57731778+zdrzalik-przemek@users.noreply.github.com |
89e51595f469596ac5f55acdc9f40e94b5102cf1 | 2dad85cbc253010d650e205ebdcf413c3c9d7494 | /program to find subarray with given sum(nonneagtive numbers)/main.cpp | 13b5925d7d9321da802a7b8f14796266fda72213 | [] | no_license | ashutosh0305/Geeks-for-Geeks-Must-do-coding-Questions-Bootcamp | e70bac635bd19123f32ca8c679e6a0e03c385b83 | a83aaa624c0ba5bd287319b89182522b3e9390a4 | refs/heads/master | 2023-02-12T02:43:56.911014 | 2021-01-13T15:45:41 | 2021-01-13T15:45:41 | 328,281,009 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | cpp | #include <iostream>
using namespace std;
void subarrays(int arr[],int n,int sum)
{
for(int i=0;i<n;i++)
{
int currentsum=arr[i];
for(int j=i+1;j<=n;j++)
{
if(sum==currentsum)
{
cout<<"sum found between the indexes"<<i<<"and"<<j-1;
return ;
}
if(currentsum<sum)
{
currentsum=currentsum+arr[j];
}
}
if((currentsum!=sum) && (i==n))
{
cout<<"there is no any subarray";
break;
}
}
}
int main()
{
int arr[]={15,2,4,8,9,5,10,23};
int n=sizeof(arr)/sizeof(arr[0]);
int sum=23;
subarrays(arr,n,sum);
return 0;
}
| [
"ashutoshbisht0305@gmail.com"
] | ashutoshbisht0305@gmail.com |
a3cbe345cf23094dfaf5ac4c6e0dbb87a9d3492e | 637180a02f20aaea1396f5942cbdc60fa0225970 | /Checkers/TestCheckerBoard.h | afd1fee5b341f557731449cb734f182eda26aae4 | [] | no_license | kevinchahine/Checkers | 5c5c94d19119b82a7dd924cf0ce956bc72f68638 | d31dcfc40d04ada27d1e5cb7d413d05181075fa6 | refs/heads/master | 2020-05-18T05:05:12.700357 | 2019-05-20T03:17:24 | 2019-05-20T03:17:24 | 184,193,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 158 | h | #pragma once
#include "CheckerBoard.h"
class TestCheckerBoard :
public CheckerBoard
{
public:
TestCheckerBoard();
~TestCheckerBoard();
void print();
};
| [
"kchahine17@gmail.com"
] | kchahine17@gmail.com |
0048e22aecec37d2178d0c9750224dadcdcc5b1a | 38c10c01007624cd2056884f25e0d6ab85442194 | /base/memory/weak_ptr_unittest.cc | 20e5c7b05c2d533b75eabc191054ad85669c2003 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 18,117 | 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 "base/memory/weak_ptr.h"
#include <string>
#include "base/bind.h"
#include "base/debug/leak_annotations.h"
#include "base/location.h"
#include "base/memory/scoped_ptr.h"
#include "base/single_thread_task_runner.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace {
template <class T>
class OffThreadObjectCreator {
public:
static T* NewObject() {
T* result;
{
Thread creator_thread("creator_thread");
creator_thread.Start();
creator_thread.task_runner()->PostTask(
FROM_HERE, base::Bind(OffThreadObjectCreator::CreateObject, &result));
}
DCHECK(result); // We synchronized on thread destruction above.
return result;
}
private:
static void CreateObject(T** result) {
*result = new T;
}
};
struct Base {
std::string member;
};
struct Derived : public Base {};
struct TargetBase {};
struct Target : public TargetBase, public SupportsWeakPtr<Target> {
virtual ~Target() {}
};
struct DerivedTarget : public Target {};
struct Arrow {
WeakPtr<Target> target;
};
struct TargetWithFactory : public Target {
TargetWithFactory() : factory(this) {}
WeakPtrFactory<Target> factory;
};
// Helper class to create and destroy weak pointer copies
// and delete objects on a background thread.
class BackgroundThread : public Thread {
public:
BackgroundThread() : Thread("owner_thread") {}
~BackgroundThread() override { Stop(); }
void CreateArrowFromTarget(Arrow** arrow, Target* target) {
WaitableEvent completion(true, false);
task_runner()->PostTask(
FROM_HERE, base::Bind(&BackgroundThread::DoCreateArrowFromTarget, arrow,
target, &completion));
completion.Wait();
}
void CreateArrowFromArrow(Arrow** arrow, const Arrow* other) {
WaitableEvent completion(true, false);
task_runner()->PostTask(
FROM_HERE, base::Bind(&BackgroundThread::DoCreateArrowFromArrow, arrow,
other, &completion));
completion.Wait();
}
void DeleteTarget(Target* object) {
WaitableEvent completion(true, false);
task_runner()->PostTask(
FROM_HERE,
base::Bind(&BackgroundThread::DoDeleteTarget, object, &completion));
completion.Wait();
}
void CopyAndAssignArrow(Arrow* object) {
WaitableEvent completion(true, false);
task_runner()->PostTask(
FROM_HERE, base::Bind(&BackgroundThread::DoCopyAndAssignArrow, object,
&completion));
completion.Wait();
}
void CopyAndAssignArrowBase(Arrow* object) {
WaitableEvent completion(true, false);
task_runner()->PostTask(
FROM_HERE, base::Bind(&BackgroundThread::DoCopyAndAssignArrowBase,
object, &completion));
completion.Wait();
}
void DeleteArrow(Arrow* object) {
WaitableEvent completion(true, false);
task_runner()->PostTask(
FROM_HERE,
base::Bind(&BackgroundThread::DoDeleteArrow, object, &completion));
completion.Wait();
}
Target* DeRef(const Arrow* arrow) {
WaitableEvent completion(true, false);
Target* result = NULL;
task_runner()->PostTask(FROM_HERE, base::Bind(&BackgroundThread::DoDeRef,
arrow, &result, &completion));
completion.Wait();
return result;
}
protected:
static void DoCreateArrowFromArrow(Arrow** arrow,
const Arrow* other,
WaitableEvent* completion) {
*arrow = new Arrow;
**arrow = *other;
completion->Signal();
}
static void DoCreateArrowFromTarget(Arrow** arrow,
Target* target,
WaitableEvent* completion) {
*arrow = new Arrow;
(*arrow)->target = target->AsWeakPtr();
completion->Signal();
}
static void DoDeRef(const Arrow* arrow,
Target** result,
WaitableEvent* completion) {
*result = arrow->target.get();
completion->Signal();
}
static void DoDeleteTarget(Target* object, WaitableEvent* completion) {
delete object;
completion->Signal();
}
static void DoCopyAndAssignArrow(Arrow* object, WaitableEvent* completion) {
// Copy constructor.
Arrow a = *object;
// Assignment operator.
*object = a;
completion->Signal();
}
static void DoCopyAndAssignArrowBase(
Arrow* object,
WaitableEvent* completion) {
// Copy constructor.
WeakPtr<TargetBase> b = object->target;
// Assignment operator.
WeakPtr<TargetBase> c;
c = object->target;
completion->Signal();
}
static void DoDeleteArrow(Arrow* object, WaitableEvent* completion) {
delete object;
completion->Signal();
}
};
} // namespace
TEST(WeakPtrFactoryTest, Basic) {
int data;
WeakPtrFactory<int> factory(&data);
WeakPtr<int> ptr = factory.GetWeakPtr();
EXPECT_EQ(&data, ptr.get());
}
TEST(WeakPtrFactoryTest, Comparison) {
int data;
WeakPtrFactory<int> factory(&data);
WeakPtr<int> ptr = factory.GetWeakPtr();
WeakPtr<int> ptr2 = ptr;
EXPECT_EQ(ptr.get(), ptr2.get());
}
TEST(WeakPtrFactoryTest, OutOfScope) {
WeakPtr<int> ptr;
EXPECT_EQ(NULL, ptr.get());
{
int data;
WeakPtrFactory<int> factory(&data);
ptr = factory.GetWeakPtr();
}
EXPECT_EQ(NULL, ptr.get());
}
TEST(WeakPtrFactoryTest, Multiple) {
WeakPtr<int> a, b;
{
int data;
WeakPtrFactory<int> factory(&data);
a = factory.GetWeakPtr();
b = factory.GetWeakPtr();
EXPECT_EQ(&data, a.get());
EXPECT_EQ(&data, b.get());
}
EXPECT_EQ(NULL, a.get());
EXPECT_EQ(NULL, b.get());
}
TEST(WeakPtrFactoryTest, MultipleStaged) {
WeakPtr<int> a;
{
int data;
WeakPtrFactory<int> factory(&data);
a = factory.GetWeakPtr();
{
WeakPtr<int> b = factory.GetWeakPtr();
}
EXPECT_TRUE(NULL != a.get());
}
EXPECT_EQ(NULL, a.get());
}
TEST(WeakPtrFactoryTest, Dereference) {
Base data;
data.member = "123456";
WeakPtrFactory<Base> factory(&data);
WeakPtr<Base> ptr = factory.GetWeakPtr();
EXPECT_EQ(&data, ptr.get());
EXPECT_EQ(data.member, (*ptr).member);
EXPECT_EQ(data.member, ptr->member);
}
TEST(WeakPtrFactoryTest, UpCast) {
Derived data;
WeakPtrFactory<Derived> factory(&data);
WeakPtr<Base> ptr = factory.GetWeakPtr();
ptr = factory.GetWeakPtr();
EXPECT_EQ(ptr.get(), &data);
}
TEST(WeakPtrTest, SupportsWeakPtr) {
Target target;
WeakPtr<Target> ptr = target.AsWeakPtr();
EXPECT_EQ(&target, ptr.get());
}
TEST(WeakPtrTest, DerivedTarget) {
DerivedTarget target;
WeakPtr<DerivedTarget> ptr = AsWeakPtr(&target);
EXPECT_EQ(&target, ptr.get());
}
TEST(WeakPtrTest, InvalidateWeakPtrs) {
int data;
WeakPtrFactory<int> factory(&data);
WeakPtr<int> ptr = factory.GetWeakPtr();
EXPECT_EQ(&data, ptr.get());
EXPECT_TRUE(factory.HasWeakPtrs());
factory.InvalidateWeakPtrs();
EXPECT_EQ(NULL, ptr.get());
EXPECT_FALSE(factory.HasWeakPtrs());
// Test that the factory can create new weak pointers after a
// InvalidateWeakPtrs call, and they remain valid until the next
// InvalidateWeakPtrs call.
WeakPtr<int> ptr2 = factory.GetWeakPtr();
EXPECT_EQ(&data, ptr2.get());
EXPECT_TRUE(factory.HasWeakPtrs());
factory.InvalidateWeakPtrs();
EXPECT_EQ(NULL, ptr2.get());
EXPECT_FALSE(factory.HasWeakPtrs());
}
TEST(WeakPtrTest, HasWeakPtrs) {
int data;
WeakPtrFactory<int> factory(&data);
{
WeakPtr<int> ptr = factory.GetWeakPtr();
EXPECT_TRUE(factory.HasWeakPtrs());
}
EXPECT_FALSE(factory.HasWeakPtrs());
}
TEST(WeakPtrTest, ObjectAndWeakPtrOnDifferentThreads) {
// Test that it is OK to create an object that supports WeakPtr on one thread,
// but use it on another. This tests that we do not trip runtime checks that
// ensure that a WeakPtr is not used by multiple threads.
scoped_ptr<Target> target(OffThreadObjectCreator<Target>::NewObject());
WeakPtr<Target> weak_ptr = target->AsWeakPtr();
EXPECT_EQ(target.get(), weak_ptr.get());
}
TEST(WeakPtrTest, WeakPtrInitiateAndUseOnDifferentThreads) {
// Test that it is OK to create an object that has a WeakPtr member on one
// thread, but use it on another. This tests that we do not trip runtime
// checks that ensure that a WeakPtr is not used by multiple threads.
scoped_ptr<Arrow> arrow(OffThreadObjectCreator<Arrow>::NewObject());
Target target;
arrow->target = target.AsWeakPtr();
EXPECT_EQ(&target, arrow->target.get());
}
TEST(WeakPtrTest, MoveOwnershipImplicitly) {
// Move object ownership to another thread by releasing all weak pointers
// on the original thread first, and then establish WeakPtr on a different
// thread.
BackgroundThread background;
background.Start();
Target* target = new Target();
{
WeakPtr<Target> weak_ptr = target->AsWeakPtr();
// Main thread deletes the WeakPtr, then the thread ownership of the
// object can be implicitly moved.
}
Arrow* arrow;
// Background thread creates WeakPtr(and implicitly owns the object).
background.CreateArrowFromTarget(&arrow, target);
EXPECT_EQ(background.DeRef(arrow), target);
{
// Main thread creates another WeakPtr, but this does not trigger implicitly
// thread ownership move.
Arrow arrow;
arrow.target = target->AsWeakPtr();
// The new WeakPtr is owned by background thread.
EXPECT_EQ(target, background.DeRef(&arrow));
}
// Target can only be deleted on background thread.
background.DeleteTarget(target);
background.DeleteArrow(arrow);
}
TEST(WeakPtrTest, MoveOwnershipOfUnreferencedObject) {
BackgroundThread background;
background.Start();
Arrow* arrow;
{
Target target;
// Background thread creates WeakPtr.
background.CreateArrowFromTarget(&arrow, &target);
// Bind to background thread.
EXPECT_EQ(&target, background.DeRef(arrow));
// Release the only WeakPtr.
arrow->target.reset();
// Now we should be able to create a new reference from this thread.
arrow->target = target.AsWeakPtr();
// Re-bind to main thread.
EXPECT_EQ(&target, arrow->target.get());
// And the main thread can now delete the target.
}
delete arrow;
}
TEST(WeakPtrTest, MoveOwnershipAfterInvalidate) {
BackgroundThread background;
background.Start();
Arrow arrow;
scoped_ptr<TargetWithFactory> target(new TargetWithFactory);
// Bind to main thread.
arrow.target = target->factory.GetWeakPtr();
EXPECT_EQ(target.get(), arrow.target.get());
target->factory.InvalidateWeakPtrs();
EXPECT_EQ(NULL, arrow.target.get());
arrow.target = target->factory.GetWeakPtr();
// Re-bind to background thread.
EXPECT_EQ(target.get(), background.DeRef(&arrow));
// And the background thread can now delete the target.
background.DeleteTarget(target.release());
}
TEST(WeakPtrTest, MainThreadRefOutlivesBackgroundThreadRef) {
// Originating thread has a WeakPtr that outlives others.
// - Main thread creates a WeakPtr
// - Background thread creates a WeakPtr copy from the one in main thread
// - Destruct the WeakPtr on background thread
// - Destruct the WeakPtr on main thread
BackgroundThread background;
background.Start();
Target target;
Arrow arrow;
arrow.target = target.AsWeakPtr();
Arrow* arrow_copy;
background.CreateArrowFromArrow(&arrow_copy, &arrow);
EXPECT_EQ(arrow_copy->target.get(), &target);
background.DeleteArrow(arrow_copy);
}
TEST(WeakPtrTest, BackgroundThreadRefOutlivesMainThreadRef) {
// Originating thread drops all references before another thread.
// - Main thread creates a WeakPtr and passes copy to background thread
// - Destruct the pointer on main thread
// - Destruct the pointer on background thread
BackgroundThread background;
background.Start();
Target target;
Arrow* arrow_copy;
{
Arrow arrow;
arrow.target = target.AsWeakPtr();
background.CreateArrowFromArrow(&arrow_copy, &arrow);
}
EXPECT_EQ(arrow_copy->target.get(), &target);
background.DeleteArrow(arrow_copy);
}
TEST(WeakPtrTest, OwnerThreadDeletesObject) {
// Originating thread invalidates WeakPtrs while its held by other thread.
// - Main thread creates WeakPtr and passes Copy to background thread
// - Object gets destroyed on main thread
// (invalidates WeakPtr on background thread)
// - WeakPtr gets destroyed on Thread B
BackgroundThread background;
background.Start();
Arrow* arrow_copy;
{
Target target;
Arrow arrow;
arrow.target = target.AsWeakPtr();
background.CreateArrowFromArrow(&arrow_copy, &arrow);
}
EXPECT_EQ(NULL, arrow_copy->target.get());
background.DeleteArrow(arrow_copy);
}
TEST(WeakPtrTest, NonOwnerThreadCanCopyAndAssignWeakPtr) {
// Main thread creates a Target object.
Target target;
// Main thread creates an arrow referencing the Target.
Arrow *arrow = new Arrow();
arrow->target = target.AsWeakPtr();
// Background can copy and assign arrow (as well as the WeakPtr inside).
BackgroundThread background;
background.Start();
background.CopyAndAssignArrow(arrow);
background.DeleteArrow(arrow);
}
TEST(WeakPtrTest, NonOwnerThreadCanCopyAndAssignWeakPtrBase) {
// Main thread creates a Target object.
Target target;
// Main thread creates an arrow referencing the Target.
Arrow *arrow = new Arrow();
arrow->target = target.AsWeakPtr();
// Background can copy and assign arrow's WeakPtr to a base class WeakPtr.
BackgroundThread background;
background.Start();
background.CopyAndAssignArrowBase(arrow);
background.DeleteArrow(arrow);
}
TEST(WeakPtrTest, NonOwnerThreadCanDeleteWeakPtr) {
// Main thread creates a Target object.
Target target;
// Main thread creates an arrow referencing the Target.
Arrow* arrow = new Arrow();
arrow->target = target.AsWeakPtr();
// Background can delete arrow (as well as the WeakPtr inside).
BackgroundThread background;
background.Start();
background.DeleteArrow(arrow);
}
#if (!defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)) && GTEST_HAS_DEATH_TEST
TEST(WeakPtrDeathTest, WeakPtrCopyDoesNotChangeThreadBinding) {
// The default style "fast" does not support multi-threaded tests
// (introduces deadlock on Linux).
::testing::FLAGS_gtest_death_test_style = "threadsafe";
BackgroundThread background;
background.Start();
// Main thread creates a Target object.
Target target;
// Main thread creates an arrow referencing the Target.
Arrow arrow;
arrow.target = target.AsWeakPtr();
// Background copies the WeakPtr.
Arrow* arrow_copy;
background.CreateArrowFromArrow(&arrow_copy, &arrow);
// The copy is still bound to main thread so I can deref.
EXPECT_EQ(arrow.target.get(), arrow_copy->target.get());
// Although background thread created the copy, it can not deref the copied
// WeakPtr.
ASSERT_DEATH(background.DeRef(arrow_copy), "");
background.DeleteArrow(arrow_copy);
}
TEST(WeakPtrDeathTest, NonOwnerThreadDereferencesWeakPtrAfterReference) {
// The default style "fast" does not support multi-threaded tests
// (introduces deadlock on Linux).
::testing::FLAGS_gtest_death_test_style = "threadsafe";
// Main thread creates a Target object.
Target target;
// Main thread creates an arrow referencing the Target (so target's
// thread ownership can not be implicitly moved).
Arrow arrow;
arrow.target = target.AsWeakPtr();
arrow.target.get();
// Background thread tries to deref target, which violates thread ownership.
BackgroundThread background;
background.Start();
ASSERT_DEATH(background.DeRef(&arrow), "");
}
TEST(WeakPtrDeathTest, NonOwnerThreadDeletesWeakPtrAfterReference) {
// The default style "fast" does not support multi-threaded tests
// (introduces deadlock on Linux).
::testing::FLAGS_gtest_death_test_style = "threadsafe";
scoped_ptr<Target> target(new Target());
// Main thread creates an arrow referencing the Target.
Arrow arrow;
arrow.target = target->AsWeakPtr();
// Background thread tries to deref target, binding it to the thread.
BackgroundThread background;
background.Start();
background.DeRef(&arrow);
// Main thread deletes Target, violating thread binding.
ASSERT_DEATH(target.reset(), "");
// |target.reset()| died so |target| still holds the object, so we
// must pass it to the background thread to teardown.
background.DeleteTarget(target.release());
}
TEST(WeakPtrDeathTest, NonOwnerThreadDeletesObjectAfterReference) {
// The default style "fast" does not support multi-threaded tests
// (introduces deadlock on Linux).
::testing::FLAGS_gtest_death_test_style = "threadsafe";
scoped_ptr<Target> target(new Target());
// Main thread creates an arrow referencing the Target, and references it, so
// that it becomes bound to the thread.
Arrow arrow;
arrow.target = target->AsWeakPtr();
arrow.target.get();
// Background thread tries to delete target, volating thread binding.
BackgroundThread background;
background.Start();
ASSERT_DEATH(background.DeleteTarget(target.release()), "");
}
TEST(WeakPtrDeathTest, NonOwnerThreadReferencesObjectAfterDeletion) {
// The default style "fast" does not support multi-threaded tests
// (introduces deadlock on Linux).
::testing::FLAGS_gtest_death_test_style = "threadsafe";
scoped_ptr<Target> target(new Target());
// Main thread creates an arrow referencing the Target.
Arrow arrow;
arrow.target = target->AsWeakPtr();
// Background thread tries to delete target, binding the object to the thread.
BackgroundThread background;
background.Start();
background.DeleteTarget(target.release());
// Main thread attempts to dereference the target, violating thread binding.
ASSERT_DEATH(arrow.target.get(), "");
}
#endif
} // namespace base
| [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
864d6df6f215523fe3af538d6f3a3ab19a557e8c | b122f870e0c78f2fddc2a6f10419955e4ad8f0ea | /baek_2629.cpp | 25eaaed1b4adfc278c85bbad1b5a878475668837 | [] | no_license | eastclo/boj | 2b3c68aa47f823129b42e5e792f8c9bc7b771cbb | 9735f10cdcfa2615d14722d448b5f91fac9adfba | refs/heads/master | 2021-07-09T01:47:54.604804 | 2021-04-23T00:12:25 | 2021-04-23T00:12:25 | 243,021,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MN = 31;
const int MW = 40101;
int dp[MN][MW];
int arr[MN], N;
void dfs(int i, int x) {
if(i > N) return;
if(dp[i][x]) return;
dp[i][x] = 1;
dfs(i+1, x + arr[i]);
dfs(i+1, x);
dfs(i+1, abs(x-arr[i]));
}
int main(void)
{
ios::sync_with_stdio(false); cin.tie(NULL);
cin >> N;
for(int i = 0; i < N; i++)
cin >> arr[i];
dfs(0, 0);
int T; cin >> T;
while(T--) {
int a; cin >> a;
cout << (dp[N][a] ? "Y " : "N ");
}
}
| [
"goldeastcloud@gmail.com"
] | goldeastcloud@gmail.com |
dfbfd189991dc68cb38efdfbd3c3728d4c6ce013 | 41808f71f0a7823529b2d764fb0d8d750939db65 | /src/qt/addressbookpage.cpp | d0f67f6bc9cc35083a9632540861cb22e46bbc07 | [
"MIT"
] | permissive | octacoin-project/beta | 2e3c0b945e67655cb4b552119c82c400818687b3 | df2f1e5aab25c992a7dd2d6ce7c5c75d83f4cbcd | refs/heads/master | 2016-08-07T07:01:01.578572 | 2015-08-24T07:13:59 | 2015-08-24T07:13:59 | 41,288,029 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,692 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
#endif
#include "addressbookpage.h"
#include "ui_addressbookpage.h"
#include "addresstablemodel.h"
#include "bitcoingui.h"
#include "csvmodelwriter.h"
#include "editaddressdialog.h"
#include "guiutil.h"
#include <QIcon>
#include <QMenu>
#include <QMessageBox>
#include <QSortFilterProxyModel>
AddressBookPage::AddressBookPage(Mode mode, Tabs tab, QWidget *parent) :
QDialog(parent),
ui(new Ui::AddressBookPage),
model(0),
mode(mode),
tab(tab)
{
ui->setupUi(this);
#ifdef Q_OS_MAC // Icons on push buttons are very uncommon on Mac
ui->newAddress->setIcon(QIcon());
ui->copyAddress->setIcon(QIcon());
ui->deleteAddress->setIcon(QIcon());
ui->exportButton->setIcon(QIcon());
#endif
switch(mode)
{
case ForSelection:
switch(tab)
{
case SendingTab: setWindowTitle(tr("Choose the address to send coins to")); break;
case ReceivingTab: setWindowTitle(tr("Choose the address to receive coins with")); break;
}
connect(ui->tableView, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(accept()));
ui->tableView->setEditTriggers(QAbstractItemView::NoEditTriggers);
ui->tableView->setFocus();
ui->closeButton->setText(tr("C&hoose"));
ui->exportButton->hide();
break;
case ForEditing:
switch(tab)
{
case SendingTab: setWindowTitle(tr("Sending addresses")); break;
case ReceivingTab: setWindowTitle(tr("Receiving addresses")); break;
}
break;
}
switch(tab)
{
case SendingTab:
ui->labelExplanation->setText(tr("These are your Octacoin addresses for sending payments. Always check the amount and the receiving address before sending coins."));
ui->deleteAddress->setVisible(true);
break;
case ReceivingTab:
ui->labelExplanation->setText(tr("These are your Octacoin addresses for receiving payments. It is recommended to use a new receiving address for each transaction."));
ui->deleteAddress->setVisible(false);
break;
}
// Context menu actions
QAction *copyAddressAction = new QAction(tr("&Copy Address"), this);
QAction *copyLabelAction = new QAction(tr("Copy &Label"), this);
QAction *editAction = new QAction(tr("&Edit"), this);
deleteAction = new QAction(ui->deleteAddress->text(), this);
// Build context menu
contextMenu = new QMenu();
contextMenu->addAction(copyAddressAction);
contextMenu->addAction(copyLabelAction);
contextMenu->addAction(editAction);
if(tab == SendingTab)
contextMenu->addAction(deleteAction);
contextMenu->addSeparator();
// Connect signals for context menu actions
connect(copyAddressAction, SIGNAL(triggered()), this, SLOT(on_copyAddress_clicked()));
connect(copyLabelAction, SIGNAL(triggered()), this, SLOT(onCopyLabelAction()));
connect(editAction, SIGNAL(triggered()), this, SLOT(onEditAction()));
connect(deleteAction, SIGNAL(triggered()), this, SLOT(on_deleteAddress_clicked()));
connect(ui->tableView, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(contextualMenu(QPoint)));
connect(ui->closeButton, SIGNAL(clicked()), this, SLOT(accept()));
}
AddressBookPage::~AddressBookPage()
{
delete ui;
}
void AddressBookPage::setModel(AddressTableModel *model)
{
this->model = model;
if(!model)
return;
proxyModel = new QSortFilterProxyModel(this);
proxyModel->setSourceModel(model);
proxyModel->setDynamicSortFilter(true);
proxyModel->setSortCaseSensitivity(Qt::CaseInsensitive);
proxyModel->setFilterCaseSensitivity(Qt::CaseInsensitive);
switch(tab)
{
case ReceivingTab:
// Receive filter
proxyModel->setFilterRole(AddressTableModel::TypeRole);
proxyModel->setFilterFixedString(AddressTableModel::Receive);
break;
case SendingTab:
// Send filter
proxyModel->setFilterRole(AddressTableModel::TypeRole);
proxyModel->setFilterFixedString(AddressTableModel::Send);
break;
}
ui->tableView->setModel(proxyModel);
ui->tableView->sortByColumn(0, Qt::AscendingOrder);
// Set column widths
#if QT_VERSION < 0x050000
ui->tableView->horizontalHeader()->setResizeMode(AddressTableModel::Label, QHeaderView::Stretch);
ui->tableView->horizontalHeader()->setResizeMode(AddressTableModel::Address, QHeaderView::ResizeToContents);
#else
ui->tableView->horizontalHeader()->setSectionResizeMode(AddressTableModel::Label, QHeaderView::Stretch);
ui->tableView->horizontalHeader()->setSectionResizeMode(AddressTableModel::Address, QHeaderView::ResizeToContents);
#endif
connect(ui->tableView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
this, SLOT(selectionChanged()));
// Select row for newly created address
connect(model, SIGNAL(rowsInserted(QModelIndex,int,int)), this, SLOT(selectNewAddress(QModelIndex,int,int)));
selectionChanged();
}
void AddressBookPage::on_copyAddress_clicked()
{
GUIUtil::copyEntryData(ui->tableView, AddressTableModel::Address);
}
void AddressBookPage::onCopyLabelAction()
{
GUIUtil::copyEntryData(ui->tableView, AddressTableModel::Label);
}
void AddressBookPage::onEditAction()
{
if(!model)
return;
if(!ui->tableView->selectionModel())
return;
QModelIndexList indexes = ui->tableView->selectionModel()->selectedRows();
if(indexes.isEmpty())
return;
EditAddressDialog dlg(
tab == SendingTab ?
EditAddressDialog::EditSendingAddress :
EditAddressDialog::EditReceivingAddress, this);
dlg.setModel(model);
QModelIndex origIndex = proxyModel->mapToSource(indexes.at(0));
dlg.loadRow(origIndex.row());
dlg.exec();
}
void AddressBookPage::on_newAddress_clicked()
{
if(!model)
return;
EditAddressDialog dlg(
tab == SendingTab ?
EditAddressDialog::NewSendingAddress :
EditAddressDialog::NewReceivingAddress, this);
dlg.setModel(model);
if(dlg.exec())
{
newAddressToSelect = dlg.getAddress();
}
}
void AddressBookPage::on_deleteAddress_clicked()
{
QTableView *table = ui->tableView;
if(!table->selectionModel())
return;
QModelIndexList indexes = table->selectionModel()->selectedRows();
if(!indexes.isEmpty())
{
table->model()->removeRow(indexes.at(0).row());
}
}
void AddressBookPage::selectionChanged()
{
// Set button states based on selected tab and selection
QTableView *table = ui->tableView;
if(!table->selectionModel())
return;
if(table->selectionModel()->hasSelection())
{
switch(tab)
{
case SendingTab:
// In sending tab, allow deletion of selection
ui->deleteAddress->setEnabled(true);
ui->deleteAddress->setVisible(true);
deleteAction->setEnabled(true);
break;
case ReceivingTab:
// Deleting receiving addresses, however, is not allowed
ui->deleteAddress->setEnabled(false);
ui->deleteAddress->setVisible(false);
deleteAction->setEnabled(false);
break;
}
ui->copyAddress->setEnabled(true);
}
else
{
ui->deleteAddress->setEnabled(false);
ui->copyAddress->setEnabled(false);
}
}
void AddressBookPage::done(int retval)
{
QTableView *table = ui->tableView;
if(!table->selectionModel() || !table->model())
return;
// Figure out which address was selected, and return it
QModelIndexList indexes = table->selectionModel()->selectedRows(AddressTableModel::Address);
foreach (QModelIndex index, indexes)
{
QVariant address = table->model()->data(index);
returnValue = address.toString();
}
if(returnValue.isEmpty())
{
// If no address entry selected, return rejected
retval = Rejected;
}
QDialog::done(retval);
}
void AddressBookPage::on_exportButton_clicked()
{
// CSV is currently the only supported format
QString filename = GUIUtil::getSaveFileName(this,
tr("Export Address List"), QString(),
tr("Comma separated file (*.csv)"), NULL);
if (filename.isNull())
return;
CSVModelWriter writer(filename);
// name, column, role
writer.setModel(proxyModel);
writer.addColumn("Label", AddressTableModel::Label, Qt::EditRole);
writer.addColumn("Address", AddressTableModel::Address, Qt::EditRole);
if(!writer.write()) {
QMessageBox::critical(this, tr("Exporting Failed"),
tr("There was an error trying to save the address list to %1. Please try again.").arg(filename));
}
}
void AddressBookPage::contextualMenu(const QPoint &point)
{
QModelIndex index = ui->tableView->indexAt(point);
if(index.isValid())
{
contextMenu->exec(QCursor::pos());
}
}
void AddressBookPage::selectNewAddress(const QModelIndex &parent, int begin, int /*end*/)
{
QModelIndex idx = proxyModel->mapFromSource(model->index(begin, AddressTableModel::Address, parent));
if(idx.isValid() && (idx.data(Qt::EditRole).toString() == newAddressToSelect))
{
// Select row of newly created address, once
ui->tableView->setFocus();
ui->tableView->selectRow(idx.row());
newAddressToSelect.clear();
}
}
| [
"kevin@crypto888.club"
] | kevin@crypto888.club |
c2ac2f6d5c76411682e7662ea3c52a49fe252886 | 67a33c0af5da6cf28707e40b2802790944b24f71 | /GameSDLDemo/GameSDLDemo/Common_Function.cpp | 98e7c5bcd3e51e4dcef21dbd6d45a7f7534b2e15 | [] | no_license | kiyuu10/Game | f642effe9ae7f3029ed72e96578f98ae60b8f1ef | 1ebcfffac4f2dbc5a85bbd30fc280de493a9a8f9 | refs/heads/master | 2020-08-05T22:16:04.170789 | 2019-10-05T11:34:26 | 2019-10-05T11:34:26 | 212,730,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | cpp | #include "Common_Function.h"
SDL_Surface* SDLCommonFunc::LoadImage(std::string file_path)
{
SDL_Surface* load_image = NULL;
SDL_Surface* optimize_image = NULL;
load_image = IMG_Load(file_path.c_str());
if (load_image != NULL)
{
optimize_image = SDL_DisplayFormat(load_image);
SDL_FreeSurface(load_image);
UINT32 color_key = SDL_MapRGB(optimize_image->format, 0, 0xFF, 0xFF);
SDL_SetColorKey(optimize_image, SDL_SRCCOLORKEY, color_key);
}
return optimize_image;
}
void SDLCommonFunc::ApplySurface(SDL_Surface* src, SDL_Surface* des, int x, int y)
{
SDL_Rect offset;
offset.x = x;
offset.y = y;
SDL_BlitSurface(src, NULL, des, &offset);
}
void SDLCommonFunc::CleanUp()
{
SDL_FreeSurface(g_screen);
SDL_FreeSurface(g_bkground);
} | [
"htl.ice14@gmail.com"
] | htl.ice14@gmail.com |
87519d4aa763aabdaa960edd25ec73479e741bd1 | ea0e89c6079c49c0287f0f13cd6669510fb6c59a | /temperature.cpp | e3598b6e10202958666670dcb093acda92171f62 | [] | no_license | franco-m9/Temperature | 3a63d32be316a772b43e12fa5f1c5bb0e484ebd4 | 24f2f9dd4374c61aa1e58f68063cf07aaa8fc1c5 | refs/heads/master | 2021-10-22T01:48:53.324302 | 2018-09-09T19:42:23 | 2018-09-09T19:42:23 | 148,059,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,646 | cpp | #include <iostream>
#include <iomanip>
#include <string>
#include "temperature.h"
using namespace std;
Temperature::Temperature()
{
degree=0; // sets to default format,scale, and degree
formsoftemp='C';
format='D';
}
Temperature::Temperature(double degr, char temptype)
{
if(temptype!='F'&&temptype!='f'&&temptype!='C'&&temptype!='c'&&temptype!='K'&&temptype!='k') // sets to default if not correct parameters
{
degree=0;
formsoftemp='C';
format='D';
}
else if(temptype=='C' || temptype=='c') // sets to either default or correct parameters
{
if(degr<-273.15)
{
degree=0;
formsoftemp='C';
format='D';
}
else
{
degree=degr;
formsoftemp='C';
format='D';
}
}
else if(temptype=='F' || temptype=='f') // sets to either default or correct parameters based off scale/degree
{
if(degr<-459.56)
{
degree=0;
formsoftemp='C';
format='D';
}
else
{
degree=degr;
formsoftemp='F';
format='D';
}
}
else if(temptype=='K' || temptype=='k') // sets to either default or correct parameters based off scale/degree
{
if(degr<0)
{
degree=0;
formsoftemp='C';
format='D';
}
else
{
degree=degr;
formsoftemp='K';
format='D';
}
}
}
void Temperature::Input()
{
int errorcheck; // counter for loop
double tempdeg; // temporary degrees and scale
char tempform;
do // do while loop to run while incorrect input
{
cout << "Enter a temperature: ";
cin >> tempdeg >> tempform;
if(tempform!='F' && tempform!='f' && tempform!='C' && tempform!='c' && tempform!='K' && tempform!='k')
{
cout << "Invalid form of temperature, try again: " << endl;
errorcheck=0;
}
else
{
if(tempform=='F' || tempform=='f')
{
if(tempdeg<-459.67)
{
cout << "Invalid temperature degree, try again: " << endl;
errorcheck=0;
}
else
{
formsoftemp=tempform;
degree=tempdeg;
errorcheck=1;
}
}
else if(tempform=='C' || tempform=='c')
{
if(tempdeg<-273.15)
{
cout << "Invalid temperature degree, try again: " << endl;
errorcheck=0;
}
else
{
formsoftemp=tempform;
degree=tempdeg;
errorcheck=1;
}
}
else if(tempform=='K' || tempform=='k')
{
if(tempdeg<0)
{
cout << "Invalid temperature degree, try again: " << endl;
errorcheck=0;
}
else
{
formsoftemp=tempform;
degree=tempdeg;
errorcheck=1;
}
}
}
}
while(errorcheck==0);
}
void Temperature::Show() const
{
char CelA[]="Celsius"; // arrays to store scale words
char FahA[]="Fahrenheit";
char KelA[]="Kelvin";
int oldprecision=cout.precision(); // to reset precision for future runs
if(format=='D')
cout << degree << " " << formsoftemp << endl;
else if(format=='P')
{
cout << fixed << setprecision(1) << degree << " " << formsoftemp << endl; // 1 decimal place
}
else if(format=='L')
{
if(formsoftemp=='C'||formsoftemp=='c')
cout << degree << " " << CelA << endl;
else if(formsoftemp=='F'||formsoftemp=='f')
cout << degree << " " << FahA << endl;
else if(formsoftemp=='K' || formsoftemp=='k')
cout << degree << " " << KelA << endl;
}
cout.precision(oldprecision); // resets set precision and fixed
cout << resetiosflags(ios::fixed);
}
bool Temperature::Set(double deg, char s) // same as void input but bool with error checking
{
if(s!='F'&&s!='f'&&s!='C'&&s!='c'&&s!='K'&&s!='k')
return false;
else if(s=='C' || s=='c')
{
if(deg<-273.15)
return false;
else
{
degree=deg;
formsoftemp='C';
return true;
}
}
else if(s=='F' || s=='f')
{
if(deg<-459.67)
return false;
else
{
degree=deg;
formsoftemp='F';
return true;
}
}
else if(s=='K' || s=='k')
{
if(deg<0)
return false;
else
{
degree=deg;
formsoftemp='K';
return true;
}
}
}
double Temperature::GetDegrees() const // returns degrees
{
return degree;
}
char Temperature::GetScale() const // returns scale
{
return formsoftemp;
}
bool Temperature::SetFormat(char f) // sets format of void Show()
{
if(f=='D' || f=='P' || f=='L')
{
format=f;
return true;
}
else
return false;
}
bool Temperature::Convert(char sc) // converts temperatures C,F,K with various formulas
{
if(sc!='F'&&sc!='f'&&sc!='C'&&sc!='c'&&sc!='K'&&sc!='k')
return false;
else if(sc=='C' || sc=='c')
{
if(formsoftemp=='F' || formsoftemp=='f')
{
degree=(degree-32)*(5/9.0);
formsoftemp='C';
return true;
}
else if(formsoftemp=='K'||formsoftemp=='k')
{
degree=degree-273.15;
formsoftemp='C';
return true;
}
}
else if(sc=='F' || sc=='f')
{
if(formsoftemp=='C' || formsoftemp=='c')
{
degree=degree*1.8+32;
formsoftemp='F';
return true;
}
else if(formsoftemp=='K' || formsoftemp=='k')
{
degree=1.8*(degree-273.15)+32;
formsoftemp='F';
return true;
}
}
else if(sc=='K' || sc=='k')
{
if(formsoftemp=='C' || formsoftemp=='c')
{
degree=degree+273.15;
formsoftemp='K';
return true;
}
else if(formsoftemp=='F' || formsoftemp=='f')
{
degree=(degree-32)/1.8+273.15;
formsoftemp='K';
return true;
}
}
}
int Temperature::Compare(const Temperature& d) const // compares which temperature object is a lower temperature,same,greater
{
if(CompareUtility()<d.CompareUtility())
return -1;
else if(CompareUtility()==d.CompareUtility())
return 0;
else if(d.CompareUtility()<CompareUtility())
return 1;
}
void Temperature::Increment(int deg, char sc) // converts temperature to current stored degree and then adds
{
if(formsoftemp=='F'||formsoftemp=='f')
{
if(sc=='C'||sc=='c')
degree=degree+(deg*1.8+32);
else if(sc=='K'||sc=='k')
degree=degree+(1.8*(deg-273.15)+32);
else if(sc=='F'||sc=='f')
degree=degree+deg;
}
else if(formsoftemp=='C'||formsoftemp=='c')
{
if(sc=='F'||sc=='f')
degree=degree+((deg-32)*(5/9.0));
else if(sc=='K'||sc=='k')
degree=degree+(deg-273.15);
else if(sc=='C'||sc=='c')
degree=degree+deg;
}
else if(formsoftemp=='K'||formsoftemp=='k')
{
if(sc=='C'||sc=='c')
degree=degree+(deg+273.15);
else if(sc=='F'||sc=='f')
degree=degree+((deg-32)/1.8+273.15);
else if(sc=='K'||sc=='k')
degree=degree+deg;
}
}
double Temperature::CompareUtility() const // personal function which turns every degree to kevlin for compare function
{
double utility=degree;
if(formsoftemp=='C' || formsoftemp=='c')
utility=degree+273.15;
else if(formsoftemp=='F' || formsoftemp=='f')
utility=(degree-32)*1.8+273.15;
return utility;
}
| [
"noreply@github.com"
] | franco-m9.noreply@github.com |
a2b7ee9497b0dab09157872a6b925f93d4309ec5 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /Opt5PL/inst/testfiles/dd11/dd11_DeepState_TestHarness.cpp | b58118954da4d2d3720425f0add5f81e359b7b72 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,421 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// dd11_DeepState_TestHarness_generation.cpp and dd11_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepState.hpp>
double dd11(NumericVector T, double x1, double x2, double xl, NumericMatrix inv, NumericMatrix inv1, int order);
TEST(Opt5PL_deepstate_test,dd11_test){
RInside R;
std::cout << "input starts" << std::endl;
NumericVector T = RcppDeepState_NumericVector();
qs::c_qsave(T,"/home/akhila/fuzzer_packages/fuzzedpackages/Opt5PL/inst/testfiles/dd11/inputs/T.qs",
"high", "zstd", 1, 15, true, 1);
std::cout << "T values: "<< T << std::endl;
NumericVector x1(1);
x1[0] = RcppDeepState_double();
qs::c_qsave(x1,"/home/akhila/fuzzer_packages/fuzzedpackages/Opt5PL/inst/testfiles/dd11/inputs/x1.qs",
"high", "zstd", 1, 15, true, 1);
std::cout << "x1 values: "<< x1 << std::endl;
NumericVector x2(1);
x2[0] = RcppDeepState_double();
qs::c_qsave(x2,"/home/akhila/fuzzer_packages/fuzzedpackages/Opt5PL/inst/testfiles/dd11/inputs/x2.qs",
"high", "zstd", 1, 15, true, 1);
std::cout << "x2 values: "<< x2 << std::endl;
NumericVector xl(1);
xl[0] = RcppDeepState_double();
qs::c_qsave(xl,"/home/akhila/fuzzer_packages/fuzzedpackages/Opt5PL/inst/testfiles/dd11/inputs/xl.qs",
"high", "zstd", 1, 15, true, 1);
std::cout << "xl values: "<< xl << std::endl;
NumericMatrix inv = RcppDeepState_NumericMatrix();
qs::c_qsave(inv,"/home/akhila/fuzzer_packages/fuzzedpackages/Opt5PL/inst/testfiles/dd11/inputs/inv.qs",
"high", "zstd", 1, 15, true, 1);
std::cout << "inv values: "<< inv << std::endl;
NumericMatrix inv1 = RcppDeepState_NumericMatrix();
qs::c_qsave(inv1,"/home/akhila/fuzzer_packages/fuzzedpackages/Opt5PL/inst/testfiles/dd11/inputs/inv1.qs",
"high", "zstd", 1, 15, true, 1);
std::cout << "inv1 values: "<< inv1 << std::endl;
IntegerVector order(1);
order[0] = RcppDeepState_int();
qs::c_qsave(order,"/home/akhila/fuzzer_packages/fuzzedpackages/Opt5PL/inst/testfiles/dd11/inputs/order.qs",
"high", "zstd", 1, 15, true, 1);
std::cout << "order values: "<< order << std::endl;
std::cout << "input ends" << std::endl;
try{
dd11(T,x1[0],x2[0],xl[0],inv,inv1,order[0]);
}
catch(Rcpp::exception& e){
std::cout<<"Exception Handled"<<std::endl;
}
}
| [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
b615cc6439b1953084feaa59a53eab59fdef9e2e | 9e3c37a965ce8657bbdc9cd1ab2aaa61a1d7373c | /chap-26/tcp_server.cpp | 7d780a50af3a6df5a085fc5e5c7d612f8e44f4e6 | [] | no_license | zzjianhui/network_programming | ec150a773f7ec90a8b82c03a03a0085c4e44f714 | 6d3f527dd2b6f1aa57263231b3fd2655a26b041b | refs/heads/master | 2020-08-08T09:35:15.361735 | 2019-10-14T00:24:25 | 2019-10-14T00:24:25 | 213,805,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,172 | cpp | //多线程+阻塞I/o
#include<stdio.h>
#include<sys/socket.h>
#include<netinet/in.h>
#include<string.h>
#include<error.h>
#include<errno.h>
#include<stdlib.h>
#include<unistd.h>
#include<thread>
#define SERV_PORT 43211
#define LISTENQ 1024
#define MAX_LINE 1024
int tcp_server_listen(int port){
int listen_fd;
listen_fd=socket(AF_INET,SOCK_STREAM,0);
struct sockaddr_in server_addr;
bzero(&server_addr,sizeof(server_addr));
server_addr.sin_family=AF_INET;
server_addr.sin_addr.s_addr=htonl(INADDR_ANY);
server_addr.sin_port=htons(SERV_PORT);
if(bind(listen_fd,(struct sockaddr *)&server_addr,sizeof(server_addr))<0){
error(1,errno,"bind failed");
}
if(listen(listen_fd,LISTENQ)<0){
error(1,errno,"bind failed");
}
return listen_fd;
}
//将字符c的位置往前移动13位或往后移动13位。
char rot13_char(char c) {
if ((c >= 'a' && c <= 'm') || (c >= 'A' && c <= 'M'))
return c + 13;
else if ((c >= 'n' && c <= 'z') || (c >= 'N' && c <= 'Z'))
return c - 13;
else
return c;
}
void loop_echo(int fd){
char outbuf[MAX_LINE + 1];
size_t outbuf_used = 0;
ssize_t result;
while (1) {
char ch;
result = recv(fd, &ch, 1, 0);
//断开连接或者出错
if (result == 0) {
break;
} else if (result == -1) {
error(1, errno, "read error");
break;
}
if (outbuf_used < sizeof(outbuf)) {
outbuf[outbuf_used++] = rot13_char(ch);
}
if (ch == '\n') {
send(fd, outbuf, outbuf_used, 0);
outbuf_used = 0;
continue;
}
}
}
void thread_run(int fd){
loop_echo(fd);
}
int main(int argc,char **argv){
int listen_fd=tcp_server_listen(SERV_PORT);
while(1){
struct sockaddr_storage ss;
socklen_t slen=sizeof(ss);
int fd=accept(listen_fd,(struct sockaddr *)&ss,&slen);
if(fd<0){
error(1,errno,"accept failed");
exit(1);
}
std::thread new_thread(thread_run,fd);
new_thread.detach();
}
return 0;
} | [
"zhoujianhui@shu.edu.cn"
] | zhoujianhui@shu.edu.cn |
aa3116e72bf37b99217a784bf4703ec93c3e8b68 | c157ae97762cdef9805d7fdbb6be36f998ed02ba | /src/recipe_storage.cpp | dd180f91dbd0473ef67b2dfa4f5bf1cafb427ac4 | [] | no_license | Chirurgus/cookbox_server_cpp | 50a9868a38888c7c50681043172c562770d31053 | b45414ed22854e371c437b7dc58249e0dd8c4fad | refs/heads/master | 2021-04-12T09:03:18.876128 | 2018-06-07T19:06:52 | 2018-06-07T19:06:52 | 126,232,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,052 | cpp | /*
* Created by Alexander Sorochynskyi
* on 6/04/18
*
*/
#include <recipe_storage.h>
namespace storage {
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::recipe_tbl {"recipe"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::id_col {"id"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::name_col {"name"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::short_desc_col {"short_description"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::long_desc_col {"long_description"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::tgt_qty_col {"target_quantity"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::tgt_desc_col {"target_description"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::prep_time_col {"preparation_time"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::src_col {"source"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::ing_tbl {"ingredient_list"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::ing_id_col {"recipe_id"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::ing_qty_col {"quantity"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::ing_desc_col {"description"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::ing_other_col {"other_recipe"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::ins_tbl {"instruction_list"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::ins_id_col {"recipe_id"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::ins_ins_col {"position"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::ins_pos_col {"instruction"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::cmnt_tbl {"comment_list"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::cmnt_id_col {"recipe_id"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::cmnt_cmnt_col {"comment"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::tag_list_tbl {"tag"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::tag_list_tag_id {"id"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::tag_list_tag {"tag"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::tag_tbl {"tag_list"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::tag_tag_id {"tag_id"};
const RecipeDatabaseHelper::string_type RecipeDatabaseHelper::tag_recipe_id {"recipe_id"};
};// namespace storage
recipe::Recipe storage::Db_recipe::toRecipe() const
{
recipe::Recipe r{};
r.id = id;
r.name = name;
r.short_description = short_description;
r.long_description = long_description;
r.target_quantity = target_quantity;
r.target_description = target_description;
r.preparation_time = preparation_time;
r.source = source;
return r;
}
recipe::Recipe::Ingredient storage::Db_ingredient::toIngredient() const
{
return recipe::Recipe::Ingredient {
quantity,
description,
other_recipe
};
}
constexpr storage::RecipeDatabaseHelper::id_type storage::RecipeDatabaseHelper::no_id;
storage::RecipeDatabase::RecipeDatabase(const std::string& path_to_db)
: _database {std::make_shared<storage_type>(storage::get_storage(path_to_db))}
{
get_database()->sync_schema();
}
std::shared_ptr<typename storage::RecipeDatabase::storage_type>
storage::RecipeDatabase::get_database()
{
return _database;
}
recipe::Recipe storage::RecipeDatabase::get(RecipeDatabase::id_type id) try
{
using namespace sqlite_orm;
Recipe ret {get_database()->get<Db_recipe>(id).toRecipe()};
auto ingredients = get_database()->get_all<Db_ingredient>(
where(c(&Db_ingredient::recipe_id) == id)
);
for (const auto& i : ingredients) {
ret.ingredient_list.push_back(i.toIngredient());
}
auto instructions = get_database()->get_all<Db_instruction>(
where(c(&Db_instruction::recipe_id) == id),
order_by(&Db_instruction::position)
);
for (const auto& i : instructions) {
ret.instruction_list.push_back(i.instruction);
}
auto comments = get_database()->get_all<Db_comment>(
where(c(&Db_comment::recipe_id) == id)
);
for (const auto& c : comments) {
ret.comment_list.push_back(c.comment);
}
return ret;
}
catch (std::system_error& e) {
throw Not_found_error {e};
}
catch (std::runtime_error& e) {
throw Database_error {e};
}
typename storage::RecipeDatabase::id_type
storage::RecipeDatabase::put(const recipe::Recipe& recipe) try
{
using namespace sqlite_orm;
auto transaction_guard {get_database()->transaction_guard()};
int ret;
if (get_database()->
count<Db_recipe>(where(c(&Db_recipe::id) == recipe.id)) == 0
)
{
ret = insert(recipe);
}
else {
update(recipe);
ret = recipe.id;
}
transaction_guard.commit();// rollback() is called if an exception is thrown
return ret;
} catch (std::runtime_error& e) {
throw Database_error {e};
}
typename storage::RecipeDatabase::id_type
storage::RecipeDatabase::insert(recipe::Recipe recipe)
{
const Recipe::id_type id {get_database()->insert(Db_recipe {recipe})};
recipe.id = id;
update(recipe);
return id;
}
void storage::RecipeDatabase::update(const recipe::Recipe& recipe)
{
using namespace sqlite_orm;
get_database()->update(Db_recipe {recipe});
get_database()->remove_all<Db_ingredient>(
where(c(&Db_ingredient::recipe_id) == recipe.id)
);
for (const auto& i : recipe.ingredient_list) {
Db_ingredient ing {
recipe.id,
i.quantity,
i.description,
i.other_recipe
};
get_database()->insert(ing);
}
get_database()->remove_all<Db_instruction>(
where(c(&Db_instruction::recipe_id) == recipe.id)
);
for (std::vector<std::string>::size_type i {0};
i < recipe.instruction_list.size();
++i)
{
get_database()->insert(
Db_instruction {recipe.id,i,recipe.instruction_list[i]}
);
}
get_database()->remove_all<Db_comment>(
where(c(&Db_comment::recipe_id) == recipe.id)
);
for (const auto& cmnt : recipe.comment_list) {
get_database()->insert(
Db_comment {recipe.id, cmnt}
);
}
}
void storage::RecipeDatabase::remove(id_type id) try
{
using namespace sqlite_orm;
auto transaction_guard {get_database()->transaction_guard()};
get_database()->remove_all<Db_ingredient>(
where(c(&Db_ingredient::recipe_id) == id)
);
get_database()->remove_all<Db_instruction>(
where(c(&Db_instruction::recipe_id) == id)
);
get_database()->remove_all<Db_comment>(
where(c(&Db_comment::recipe_id) == id)
);
get_database()->remove_all<Db_recipe>(
where(c(&Db_recipe::id) == id)
);
transaction_guard.commit();// rollback() is called in destructor if an exception is thrown
} catch (std::runtime_error& e) {
throw Database_error {e};
}
/*
std::vector<typename storage::RecipeDatabase::id_type> storage::RecipeDatabase::ids()
try {
using namespace sqlite_orm;
std::vector<id_type> ret {};
for (auto& r : get_database()->iterate<Db_recipe>()) {
ret.push_back(r.id);
}
return ret;
}
catch (std::runtime_error& e) {
throw Database_error {e};
}
*/
| [
"sasha.sashaxl@gmail.com"
] | sasha.sashaxl@gmail.com |
bfd54f610d50ffa4c8b892117ec90aed9144e58d | f5b936c57a82a479983a2adc71c2abe7d6b3ec9b | /URI/iso.cpp | 8433c3e0819b5f59b96a836442f43903813404bc | [] | no_license | FranciscoThiesen/OldProblems | 002e2099fcb7f0c874f3d8927a60d1644521bbdf | 809747fceb5a75127aae832697d6f91b63d234f5 | refs/heads/master | 2021-08-31T16:20:28.969377 | 2017-12-22T02:07:05 | 2017-12-22T02:07:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,612 | cpp | #include <cmath>
#include <climits>
#include <queue>
#include <vector>
#include <map>
#include <cstdlib>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <sstream> // istringstream buffer(myString);
#include <stack>
#include <algorithm>
#include <cstring>
#include <cassert>
using namespace std;
#define gcd __gcd
#define OR |
#define AND &
#define XOR ^
#define bit(x,i) (x&(1<<i)) //select the bit of position i of x
#define lowbit(x) ((x)&((x)^((x)-1))) //get the lowest bit of x
#define hBit(msb,n) asm("bsrl %1,%0" : "=r"(msb) : "r"(n)) //get the highest bit of x, maybe the fastest
#define max(a,b) (a<b?b:a)
#define IN(i,l,r) (l<i&&i<r) //the next for are for checking bound
#define LINR(i,l,r) (l<=i&&i<=r)
#define LIN(i,l,r) (l<=i&&i<r)
#define INR(i,l,r) (l<i&&i<=r)
#define F(i,L,R) for (int i = L; i < R; i++) //next four are for "for loops"
#define FE(i,L,R) for (int i = L; i <= R; i++)
#define FF(i,L,R) for (int i = L; i > R; i--)
#define FFE(i,L,R) for (int i = L; i >= R; i--)
#define getI(a) scanf("%d", &a) //next three are handy ways to get ints, it's also force you to use '&' sign
#define getII(a,b) scanf("%d%d", &a, &b)
#define getIII(a,b,c) scanf("%d%d%d", &a, &b, &c)
#define wez(n) int (n); scanf("%d",&(n)) //handy if the input is right after the definition of a variable
#define wez2(n,m) int (n),(m); scanf("%d %d",&(n),&(m))
#define wez3(n,m,k) int (n),(m),(k); scanf("%d %d %d",&(n),&(m),&(k))
#define TESTS wez(testow)while(testow--) //for multilple cases problems
#define whileZ int T; getI(T); while(T--) // the same as above
#define getS(x) scanf("%s", x) //get a char* string
#define clr(a,x) memset(a,x,sizeof(a)) //set elements of array to some value
#define char2Int(c) (c-'0')
#define lastEle(vec) vec[vec.size()-1]
#define SZ(x) ((int)((x).size()))
#define REMAX(a,b) (a)=max((a),(b)) // set a to the maximum of a and b
#define REMIN(a,b) (a)=min((a),(b));
#define FOREACH(i,t) for (typeof(t.begin()) i=t.begin(); i!=t.end(); i++) // traverse an STL data structure
#define ALL(c) (c).begin(),(c).end() //handy for function like "sort()"
#define PRESENT(c,x) ((c).find(x) != (c).end())
#define CPRESENT(c,x) (find(ALL(c),x) != (c).end())
#define ll long long //data types used often, but you don't want to type them time by time
#define ull unsigned long long
#define ui unsigned int
#define us unsigned short
#define IOS ios_base::sync_with_stdio(0); //to synchronize the input of cin and scanf
#define INF 100000001
#define PI 3.1415926535897932384626
//for map, pair
#define mp make_pair
#define fi first
#define se second
// for debug
inline void pisz(int n) { printf("%d\n",n); }
#define DBG(vari) cerr<<#vari<<" = "<<(vari)<<endl;
#define printA(a,L,R) FE(i,L,R) cout << a[i] << (i==R?'\n':' ')
#define printV(a) printA(a,0,a.size()-1)
#define MAXN 2001
//for vectors
#define pb push_back
typedef int elem_t;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int,int> ii;
typedef vector<ii> vii;
typedef vector<vii> vpii;
vii Points(MAXN);
const double EPS = 1e-10;
inline int cmp(double x, double y = 0, double tol = EPS) {
return (x <= y + tol) ? (x + tol < y) ? -1 : 0 : 1;
}
//vector<double> Dist(MAXN, -1);
double Dst(int x1, int y1, int x2, int y2)
{
double deltaX = abs(x1 - x2);
double deltaY = abs(y1 - y2);
return sqrt((deltaX * deltaX) + (deltaY * deltaY));
}
int main()
{
int d = 1;
while(true)
{
int nodes;
unsigned long long int total = 0;
getI(nodes);
if(!nodes)
break;
vector<vector<double> > Distance(nodes, vector<double>(nodes,INF));
F(j,0,nodes)
{
int x, y;
cin >> x >> y;
Points[j] = mp(x,y);
}
F(k,0, nodes)
{
F(y,0, nodes)
{
if(k == y)
Distance[k][y] = 0;
else if(Distance[k][y] == INF && Distance[y][k] == INF)
{
Distance[k][y] = Dst(Points[k].fi, Points[k].se,Points[y].fi, Points[y].se);
}
else
Distance[k][y] = Distance[y][k];
}
}
F(e, 0, nodes)
{
sort(Distance[e].begin(), Distance[e].end());
double LastNum = Distance[e][0];
int seq = 1;
F(z,1,nodes)
{
if(cmp(Distance[e][z],LastNum) == 0 && z == nodes-1)
{
seq++;
total += ((1+ (seq-1))/2.0) * (seq-1);
break;
}
else if(cmp(Distance[e][z], LastNum) == 0 && Distance[e][z] != 0)
{
seq++;
}
else//(Distance[e][z] != LastNum)
{
total += (seq * (seq-1))/2;
LastNum = Distance[e][z];
seq = 1;
}
}
fill(Distance[e].begin(), Distance[e].end(),INF);
}
Points.clear();
cout << total << endl;
d++;
}
return 0;
}
| [
"franciscogthiesen@gmail.com"
] | franciscogthiesen@gmail.com |
a97b43a8c5535d897c3eb782d6107a70eb96f4a1 | 0463665bc035967e3d2319d9e5cc80f65c9ac625 | /opensc.cpp | b2f6c05cc3d7e10fbea8bf3b1441d5e9006a0313 | [] | no_license | sshen3/opensc | 6dbb3ed586bf4db72a3b88bf731fa01ccaf2d987 | cf6f39201f6eba530eb4d5a72b5994ce7baf6fc5 | refs/heads/master | 2021-01-10T03:43:51.930996 | 2015-12-09T02:37:58 | 2015-12-09T02:37:58 | 47,663,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,340 | cpp | #include "opensc.h"
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
vector < string > cutToken(string input, string ss){
vector < string > token;
int len = input.length() + 1;
char *line = new char[len];
memcpy(line, input.c_str(), len);
char* word = strtok(line, ss.c_str());
while(word){
string newWord(word);
token.push_back(newWord);
word = strtok(NULL, ss.c_str());
}
delete line;
return token;
}
opensc::opensc(string _server_ip){
server_ip = _server_ip;
}
int opensc::openSock(){
int sock;
struct sockaddr_in server_addr;
struct hostent* host = gethostbyname(server_ip.c_str());
/* Open a socket to connect to the controller. */
if ((sock = socket(AF_INET, SOCK_STREAM, 0)) == -1) {
perror("Socket");
exit(1);
}
server_addr.sin_family = AF_INET;
server_addr.sin_port = htons(5405);
server_addr.sin_addr = *((struct in_addr *)host->h_addr);
bzero(&(server_addr.sin_zero),8);
if (connect(sock, (struct sockaddr *)&server_addr,
sizeof(struct sockaddr)) == -1) {
perror("Connect");
exit(1);
}
return sock;
}
int opensc::closeSock(int sock){
close(sock);
return 0;
}
vector < struct host_info > opensc::get_host_list(){
int sock = openSock();
string cmd = "get_host_list";
vector < struct host_info > hosts;
char ret_data[255];
vector < string > tokens;
struct host_info current_host;
current_host.host_addr = 0;
send(sock, cmd.c_str(), cmd.length(), 0);
recv(sock, ret_data, 255, 0);
tokens = cutToken(ret_data, "\t");
for(int i = 0; i < tokens.size(); i++){
int label = atoi(tokens[i].c_str());
if(label == 1){
if(current_host.host_addr != 0) hosts.push_back(current_host);
for(int j = 0; j < MAX_NUM_NF; j++) current_host.active_nf[j].nf_id = -1;
current_host.host_addr = inet_addr(tokens[i + 1].c_str());
i++;
}
else if(label == 2){
strcpy(current_host.mac_addr, tokens[i + 1].c_str());
}
else if(label == 3){
int nf_num = atoi(tokens[i + 1].c_str());
int nf_index = atoi(tokens[i + 2].c_str());
struct nf_info nf;
nf.nf_id = nf_num - 1;
current_host.active_nf[nf_index] = nf;
i += 2;
}
}
if(current_host.host_addr != 0) hosts.push_back(current_host);
closeSock(sock);
return hosts;
}
void opensc::disconnect_host(int host_ID){
int sock = openSock();
char cmd[1024];
sprintf(cmd, "disconnect_host %d", host_ID + 1);
send(sock, cmd, 1024, 0);
closeSock(sock);
}
void opensc::add_nf(int host_num, int nf_num){
int sock = openSock();
char cmd[1024];
sprintf(cmd, "add_nf %d %d", host_num + 1, nf_num + 1);
send(sock, cmd, 1024, 0);
closeSock(sock);
}
void opensc::add_flow(string src_mac, string dst_mac, string src_ip, string dst_ip
, string src_port, string dst_port){
int sock = openSock();
char cmd[1024];
sprintf(cmd, "add_flow %s %s %s %s %s %s", src_ip.c_str(), dst_ip.c_str()
, src_port.c_str(), dst_port.c_str(), src_mac.c_str(), dst_mac.c_str());
send(sock, cmd, 1024, 0);
closeSock(sock);
}
vector < struct flow_info > opensc::get_flow(){
int sock = openSock();
char cmd[1024];
char ret_data[255];
vector < struct flow_info > flows;
struct flow_info current_flow;
vector < string > tokens;
sprintf(cmd, "get_flow");
send(sock, cmd, 1024, 0);
recv(sock, ret_data, 255, 0);
tokens = cutToken(ret_data, " ");
for(int i = 0; i + 6 < tokens.size(); i+=5){
inet_aton(tokens[i + 1].c_str(), ¤t_flow.src_ip.sin_addr);
inet_aton(tokens[i + 2].c_str(), ¤t_flow.dst_ip.sin_addr);
current_flow.src_port = atoi(tokens[i + 3].c_str());
current_flow.dst_port = atoi(tokens[i + 4].c_str());
strcpy(current_flow.src_mac, tokens[i + 5].c_str());
strcpy(current_flow.dst_mac, tokens[i + 6].c_str());
flows.push_back(current_flow);
}
closeSock(sock);
return flows;
}
void opensc::add_service(int service_i, int host_i, int nf_i){
int sock = openSock();
char cmd[1024];
sprintf(cmd, "add_service %d %d %d", service_i + 1, host_i + 1, nf_i);
send(sock, cmd, 1024, 0);
closeSock(sock);
}
| [
"sunhsung@yahoo.com.tw"
] | sunhsung@yahoo.com.tw |
7037adde812ee5ed1fc972c1f91fd3a7019a89d0 | dc23eb8e14659ab8bb62001a3b3323cb50c2a8ef | /system/tools/aidl/aidl_language.cpp | 547816aedf2ca89e478beb4157917990bdcb293f | [
"Apache-2.0"
] | permissive | wudeven/cells-android10 | e49c0c830da7041313289349e160385df5d12ef8 | d18dfa3ab597a37b8b71a14f094ba5b8afc75a93 | refs/heads/master | 2023-08-16T06:47:55.804251 | 2021-10-16T05:41:01 | 2021-10-16T05:41:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,716 | cpp | #include "aidl_language.h"
#include "aidl_typenames.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <algorithm>
#include <cassert>
#include <iostream>
#include <set>
#include <sstream>
#include <string>
#include <utility>
#include <android-base/parsedouble.h>
#include <android-base/parseint.h>
#include <android-base/strings.h>
#include "aidl_language_y.h"
#include "logging.h"
#include "type_java.h"
#include "type_namespace.h"
#ifdef _WIN32
int isatty(int fd)
{
return (fd == 0);
}
#endif
using android::aidl::IoDelegate;
using android::base::Join;
using android::base::Split;
using std::cerr;
using std::endl;
using std::pair;
using std::set;
using std::string;
using std::unique_ptr;
using std::vector;
void yylex_init(void **);
void yylex_destroy(void *);
void yyset_in(FILE *f, void *);
int yyparse(Parser*);
YY_BUFFER_STATE yy_scan_buffer(char *, size_t, void *);
void yy_delete_buffer(YY_BUFFER_STATE, void *);
AidlToken::AidlToken(const std::string& text, const std::string& comments)
: text_(text),
comments_(comments) {}
AidlLocation::AidlLocation(const std::string& file, Point begin, Point end)
: file_(file), begin_(begin), end_(end) {}
std::ostream& operator<<(std::ostream& os, const AidlLocation& l) {
os << l.file_ << ":" << l.begin_.line << "." << l.begin_.column << "-";
if (l.begin_.line != l.end_.line) {
os << l.end_.line << ".";
}
os << l.end_.column;
return os;
}
AidlNode::AidlNode(const AidlLocation& location) : location_(location) {}
std::string AidlNode::PrintLocation() const {
std::stringstream ss;
ss << location_.file_ << ":" << location_.begin_.line;
return ss.str();
}
AidlError::AidlError(bool fatal) : os_(std::cerr), fatal_(fatal) {
os_ << "ERROR: ";
}
static const string kNullable("nullable");
static const string kUtf8InCpp("utf8InCpp");
static const string kUnsupportedAppUsage("UnsupportedAppUsage");
static const string kSystemApi("SystemApi");
static const string kStableParcelable("JavaOnlyStableParcelable");
static const set<string> kAnnotationNames{kNullable, kUtf8InCpp, kUnsupportedAppUsage, kSystemApi,
kStableParcelable};
AidlAnnotation* AidlAnnotation::Parse(const AidlLocation& location, const string& name) {
if (kAnnotationNames.find(name) == kAnnotationNames.end()) {
std::ostringstream stream;
stream << "'" << name << "' is not a recognized annotation. ";
stream << "It must be one of:";
for (const string& kv : kAnnotationNames) {
stream << " " << kv;
}
stream << ".";
AIDL_ERROR(location) << stream.str();
return nullptr;
}
return new AidlAnnotation(location, name);
}
AidlAnnotation::AidlAnnotation(const AidlLocation& location, const string& name)
: AidlNode(location), name_(name) {}
static bool HasAnnotation(const vector<AidlAnnotation>& annotations, const string& name) {
for (const auto& a : annotations) {
if (a.GetName() == name) {
return true;
}
}
return false;
}
AidlAnnotatable::AidlAnnotatable(const AidlLocation& location) : AidlNode(location) {}
bool AidlAnnotatable::IsNullable() const {
return HasAnnotation(annotations_, kNullable);
}
bool AidlAnnotatable::IsUtf8InCpp() const {
return HasAnnotation(annotations_, kUtf8InCpp);
}
bool AidlAnnotatable::IsUnsupportedAppUsage() const {
return HasAnnotation(annotations_, kUnsupportedAppUsage);
}
bool AidlAnnotatable::IsSystemApi() const {
return HasAnnotation(annotations_, kSystemApi);
}
bool AidlAnnotatable::IsStableParcelable() const {
return HasAnnotation(annotations_, kStableParcelable);
}
string AidlAnnotatable::ToString() const {
vector<string> ret;
for (const auto& a : annotations_) {
ret.emplace_back(a.ToString());
}
std::sort(ret.begin(), ret.end());
return Join(ret, " ");
}
AidlTypeSpecifier::AidlTypeSpecifier(const AidlLocation& location, const string& unresolved_name,
bool is_array,
vector<unique_ptr<AidlTypeSpecifier>>* type_params,
const string& comments)
: AidlAnnotatable(location),
unresolved_name_(unresolved_name),
is_array_(is_array),
type_params_(type_params),
comments_(comments) {}
AidlTypeSpecifier AidlTypeSpecifier::ArrayBase() const {
AIDL_FATAL_IF(!is_array_, this);
AidlTypeSpecifier arrayBase = *this;
arrayBase.is_array_ = false;
return arrayBase;
}
string AidlTypeSpecifier::ToString() const {
string ret = GetName();
if (IsGeneric()) {
vector<string> arg_names;
for (const auto& ta : GetTypeParameters()) {
arg_names.emplace_back(ta->ToString());
}
ret += "<" + Join(arg_names, ",") + ">";
}
if (IsArray()) {
ret += "[]";
}
return ret;
}
string AidlTypeSpecifier::Signature() const {
string ret = ToString();
string annotations = AidlAnnotatable::ToString();
if (annotations != "") {
ret = annotations + " " + ret;
}
return ret;
}
bool AidlTypeSpecifier::Resolve(android::aidl::AidlTypenames& typenames) {
assert(!IsResolved());
pair<string, bool> result = typenames.ResolveTypename(unresolved_name_);
if (result.second) {
fully_qualified_name_ = result.first;
}
return result.second;
}
bool AidlTypeSpecifier::CheckValid(const AidlTypenames& typenames) const {
if (IsGeneric()) {
const string& type_name = GetName();
const int num = GetTypeParameters().size();
if (type_name == "List") {
if (num > 1) {
AIDL_ERROR(this) << " List cannot have type parameters more than one, but got "
<< "'" << ToString() << "'";
return false;
}
} else if (type_name == "Map") {
if (num != 0 && num != 2) {
AIDL_ERROR(this) << "Map must have 0 or 2 type parameters, but got "
<< "'" << ToString() << "'";
return false;
}
}
}
if (GetName() == "void") {
if (IsArray() || IsNullable() || IsUtf8InCpp()) {
AIDL_ERROR(this) << "void type cannot be an array or nullable or utf8 string";
return false;
}
}
if (IsArray()) {
const auto definedType = typenames.TryGetDefinedType(GetName());
if (definedType != nullptr && definedType->AsInterface() != nullptr) {
AIDL_ERROR(this) << "Binder type cannot be an array";
return false;
}
}
if (IsNullable()) {
if (AidlTypenames::IsPrimitiveTypename(GetName()) && !IsArray()) {
AIDL_ERROR(this) << "Primitive type cannot get nullable annotation";
return false;
}
}
return true;
}
std::string AidlConstantValueDecorator(const AidlTypeSpecifier& /*type*/,
const std::string& raw_value) {
return raw_value;
}
AidlVariableDeclaration::AidlVariableDeclaration(const AidlLocation& location,
AidlTypeSpecifier* type, const std::string& name)
: AidlVariableDeclaration(location, type, name, nullptr /*default_value*/) {}
AidlVariableDeclaration::AidlVariableDeclaration(const AidlLocation& location,
AidlTypeSpecifier* type, const std::string& name,
AidlConstantValue* default_value)
: AidlNode(location), type_(type), name_(name), default_value_(default_value) {}
bool AidlVariableDeclaration::CheckValid(const AidlTypenames& typenames) const {
bool valid = true;
valid &= type_->CheckValid(typenames);
if (default_value_ == nullptr) return valid;
valid &= default_value_->CheckValid();
if (!valid) return false;
return !ValueString(AidlConstantValueDecorator).empty();
}
string AidlVariableDeclaration::ToString() const {
string ret = type_->Signature() + " " + name_;
if (default_value_ != nullptr) {
ret += " = " + ValueString(AidlConstantValueDecorator);
}
return ret;
}
string AidlVariableDeclaration::Signature() const {
return type_->Signature() + " " + name_;
}
std::string AidlVariableDeclaration::ValueString(const ConstantValueDecorator& decorator) const {
if (default_value_ != nullptr) {
return GetDefaultValue()->As(GetType(), decorator);
} else {
return "";
}
}
AidlArgument::AidlArgument(const AidlLocation& location, AidlArgument::Direction direction,
AidlTypeSpecifier* type, const std::string& name)
: AidlVariableDeclaration(location, type, name),
direction_(direction),
direction_specified_(true) {}
AidlArgument::AidlArgument(const AidlLocation& location, AidlTypeSpecifier* type,
const std::string& name)
: AidlVariableDeclaration(location, type, name),
direction_(AidlArgument::IN_DIR),
direction_specified_(false) {}
string AidlArgument::GetDirectionSpecifier() const {
string ret;
if (direction_specified_) {
switch(direction_) {
case AidlArgument::IN_DIR:
ret += "in ";
break;
case AidlArgument::OUT_DIR:
ret += "out ";
break;
case AidlArgument::INOUT_DIR:
ret += "inout ";
break;
}
}
return ret;
}
string AidlArgument::ToString() const {
return GetDirectionSpecifier() + AidlVariableDeclaration::ToString();
}
std::string AidlArgument::Signature() const {
class AidlInterface;
class AidlInterface;
class AidlParcelable;
class AidlStructuredParcelable;
class AidlParcelable;
class AidlStructuredParcelable;
return GetDirectionSpecifier() + AidlVariableDeclaration::Signature();
}
AidlMember::AidlMember(const AidlLocation& location) : AidlNode(location) {}
AidlConstantValue::AidlConstantValue(const AidlLocation& location, Type type,
const std::string& checked_value)
: AidlNode(location), type_(type), value_(checked_value) {
CHECK(!value_.empty() || type_ == Type::ERROR);
CHECK(type_ != Type::ARRAY);
}
AidlConstantValue::AidlConstantValue(const AidlLocation& location, Type type,
std::vector<std::unique_ptr<AidlConstantValue>>* values)
: AidlNode(location), type_(type), values_(std::move(*values)) {}
static bool isValidLiteralChar(char c) {
return !(c <= 0x1f || // control characters are < 0x20
c >= 0x7f || // DEL is 0x7f
c == '\\'); // Disallow backslashes for future proofing.
}
AidlConstantValue* AidlConstantValue::Boolean(const AidlLocation& location, bool value) {
return new AidlConstantValue(location, Type::BOOLEAN, value ? "true" : "false");
}
AidlConstantValue* AidlConstantValue::Character(const AidlLocation& location, char value) {
if (!isValidLiteralChar(value)) {
AIDL_ERROR(location) << "Invalid character literal " << value;
return new AidlConstantValue(location, Type::ERROR, "");
}
return new AidlConstantValue(location, Type::CHARACTER, std::string("'") + value + "'");
}
AidlConstantValue* AidlConstantValue::Floating(const AidlLocation& location,
const std::string& value) {
return new AidlConstantValue(location, Type::FLOATING, value);
}
AidlConstantValue* AidlConstantValue::Hex(const AidlLocation& location, const std::string& value) {
return new AidlConstantValue(location, Type::HEXIDECIMAL, value);
}
AidlConstantValue* AidlConstantValue::Integral(const AidlLocation& location,
const std::string& value) {
return new AidlConstantValue(location, Type::INTEGRAL, value);
}
AidlConstantValue* AidlConstantValue::Array(
const AidlLocation& location, std::vector<std::unique_ptr<AidlConstantValue>>* values) {
return new AidlConstantValue(location, Type::ARRAY, values);
}
AidlConstantValue* AidlConstantValue::String(const AidlLocation& location,
const std::string& value) {
for (size_t i = 0; i < value.length(); ++i) {
if (!isValidLiteralChar(value[i])) {
AIDL_ERROR(location) << "Found invalid character at index " << i << " in string constant '"
<< value << "'";
return new AidlConstantValue(location, Type::ERROR, "");
}
}
return new AidlConstantValue(location, Type::STRING, value);
}
bool AidlConstantValue::CheckValid() const {
// error always logged during creation
return type_ != AidlConstantValue::Type::ERROR;
}
static string TrimIfSuffix(const string& str, const string& suffix) {
if (str.size() > suffix.size() &&
0 == str.compare(str.size() - suffix.size(), suffix.size(), suffix)) {
return str.substr(0, str.size() - suffix.size());
}
return str;
}
string AidlConstantValue::As(const AidlTypeSpecifier& type,
const ConstantValueDecorator& decorator) const {
if (type.IsGeneric()) {
AIDL_ERROR(type) << "Generic type cannot be specified with a constant literal.";
return "";
}
const std::string& type_string = type.GetName();
if ((type_ == Type::ARRAY) != type.IsArray()) {
goto mismatch_error;
}
switch (type_) {
case AidlConstantValue::Type::ARRAY: {
vector<string> raw_values;
raw_values.reserve(values_.size());
bool success = true;
for (const auto& value : values_) {
const AidlTypeSpecifier& array_base = type.ArrayBase();
const std::string raw_value = value->As(array_base, decorator);
success &= !raw_value.empty();
raw_values.push_back(decorator(array_base, raw_value));
}
if (!success) {
AIDL_ERROR(this) << "Default value must be a literal array of " << type_string << ".";
return "";
}
return decorator(type, "{" + Join(raw_values, ", ") + "}");
}
case AidlConstantValue::Type::BOOLEAN:
if (type_string == "boolean") return decorator(type, value_);
goto mismatch_error;
case AidlConstantValue::Type::CHARACTER:
if (type_string == "char") return decorator(type, value_);
goto mismatch_error;
case AidlConstantValue::Type::FLOATING: {
bool is_float_literal = value_.back() == 'f';
const std::string raw_value = TrimIfSuffix(value_, "f");
if (type_string == "double") {
double parsed_value;
if (!android::base::ParseDouble(raw_value, &parsed_value)) goto parse_error;
return decorator(type, std::to_string(parsed_value));
}
if (is_float_literal && type_string == "float") {
float parsed_value;
if (!android::base::ParseFloat(raw_value, &parsed_value)) goto parse_error;
return decorator(type, std::to_string(parsed_value) + "f");
}
goto mismatch_error;
}
case AidlConstantValue::Type::HEXIDECIMAL:
// For historical reasons, a hexidecimal int needs to have the specified bits interpreted
// as the signed type, so the other types are made consistent with it.
if (type_string == "byte") {
uint8_t unsigned_value;
if (!android::base::ParseUint<uint8_t>(value_, &unsigned_value)) goto parse_error;
return decorator(type, std::to_string((int8_t)unsigned_value));
}
if (type_string == "int") {
uint32_t unsigned_value;
if (!android::base::ParseUint<uint32_t>(value_, &unsigned_value)) goto parse_error;
return decorator(type, std::to_string((int32_t)unsigned_value));
}
if (type_string == "long") {
uint64_t unsigned_value;
if (!android::base::ParseUint<uint64_t>(value_, &unsigned_value)) goto parse_error;
return decorator(type, std::to_string((int64_t)unsigned_value));
}
goto mismatch_error;
case AidlConstantValue::Type::INTEGRAL:
if (type_string == "byte") {
if (!android::base::ParseInt<int8_t>(value_, nullptr)) goto parse_error;
return decorator(type, value_);
}
if (type_string == "int") {
if (!android::base::ParseInt<int32_t>(value_, nullptr)) goto parse_error;
return decorator(type, value_);
}
if (type_string == "long") {
if (!android::base::ParseInt<int64_t>(value_, nullptr)) goto parse_error;
return decorator(type, value_);
}
goto mismatch_error;
case AidlConstantValue::Type::STRING:
if (type_string == "String") return decorator(type, value_);
goto mismatch_error;
default:
AIDL_FATAL(this) << "Unrecognized constant value type";
}
mismatch_error:
AIDL_ERROR(this) << "Expecting type " << type_string << " but constant is " << ToString(type_);
return "";
parse_error:
AIDL_ERROR(this) << "Could not parse " << value_ << " as " << type_string;
return "";
}
string AidlConstantValue::ToString(Type type) {
switch (type) {
case Type::ARRAY:
return "a literal array";
case Type::BOOLEAN:
return "a literal boolean";
case Type::CHARACTER:
return "a literal char";
case Type::FLOATING:
return "a floating-point literal";
case Type::HEXIDECIMAL:
return "a hexidecimal literal";
case Type::INTEGRAL:
return "an integral literal";
case Type::STRING:
return "a literal string";
case Type::ERROR:
LOG(FATAL) << "aidl internal error: error type failed to halt program";
return "";
default:
LOG(FATAL) << "aidl internal error: unknown constant type: " << static_cast<int>(type);
return ""; // not reached
}
}
AidlConstantDeclaration::AidlConstantDeclaration(const AidlLocation& location,
AidlTypeSpecifier* type, const std::string& name,
AidlConstantValue* value)
: AidlMember(location), type_(type), name_(name), value_(value) {}
bool AidlConstantDeclaration::CheckValid(const AidlTypenames& typenames) const {
bool valid = true;
valid &= type_->CheckValid(typenames);
valid &= value_->CheckValid();
if (!valid) return false;
const static set<string> kSupportedConstTypes = {"String", "int"};
if (kSupportedConstTypes.find(type_->ToString()) == kSupportedConstTypes.end()) {
AIDL_ERROR(this) << "Constant of type " << type_->ToString() << " is not supported.";
return false;
}
return !ValueString(AidlConstantValueDecorator).empty();
}
string AidlConstantDeclaration::ToString() const {
return "const " + type_->ToString() + " " + name_ + " = " +
ValueString(AidlConstantValueDecorator);
}
string AidlConstantDeclaration::Signature() const {
return type_->Signature() + " " + name_;
}
AidlMethod::AidlMethod(const AidlLocation& location, bool oneway, AidlTypeSpecifier* type,
const std::string& name, std::vector<std::unique_ptr<AidlArgument>>* args,
const std::string& comments)
: AidlMethod(location, oneway, type, name, args, comments, 0, true) {
has_id_ = false;
}
AidlMethod::AidlMethod(const AidlLocation& location, bool oneway, AidlTypeSpecifier* type,
const std::string& name, std::vector<std::unique_ptr<AidlArgument>>* args,
const std::string& comments, int id, bool is_user_defined)
: AidlMember(location),
oneway_(oneway),
comments_(comments),
type_(type),
name_(name),
arguments_(std::move(*args)),
id_(id),
is_user_defined_(is_user_defined) {
has_id_ = true;
delete args;
for (const unique_ptr<AidlArgument>& a : arguments_) {
if (a->IsIn()) { in_arguments_.push_back(a.get()); }
if (a->IsOut()) { out_arguments_.push_back(a.get()); }
}
}
string AidlMethod::Signature() const {
vector<string> arg_signatures;
for (const auto& arg : GetArguments()) {
arg_signatures.emplace_back(arg->GetType().ToString());
}
return GetName() + "(" + Join(arg_signatures, ", ") + ")";
}
string AidlMethod::ToString() const {
vector<string> arg_strings;
for (const auto& arg : GetArguments()) {
arg_strings.emplace_back(arg->Signature());
}
string ret = (IsOneway() ? "oneway " : "") + GetType().Signature() + " " + GetName() + "(" +
Join(arg_strings, ", ") + ")";
if (HasId()) {
ret += " = " + std::to_string(GetId());
}
return ret;
}
AidlDefinedType::AidlDefinedType(const AidlLocation& location, const std::string& name,
const std::string& comments,
const std::vector<std::string>& package)
: AidlAnnotatable(location), name_(name), comments_(comments), package_(package) {}
std::string AidlDefinedType::GetPackage() const {
return Join(package_, '.');
}
std::string AidlDefinedType::GetCanonicalName() const {
if (package_.empty()) {
return GetName();
}
return GetPackage() + "." + GetName();
}
AidlParcelable::AidlParcelable(const AidlLocation& location, AidlQualifiedName* name,
const std::vector<std::string>& package, const std::string& comments,
const std::string& cpp_header)
: AidlDefinedType(location, name->GetDotName(), comments, package),
name_(name),
cpp_header_(cpp_header) {
// Strip off quotation marks if we actually have a cpp header.
if (cpp_header_.length() >= 2) {
cpp_header_ = cpp_header_.substr(1, cpp_header_.length() - 2);
}
}
bool AidlParcelable::CheckValid(const AidlTypenames&) const {
static const std::set<string> allowed{kStableParcelable};
for (const auto& v : GetAnnotations()) {
if (allowed.find(v.GetName()) == allowed.end()) {
std::ostringstream stream;
stream << "Unstructured parcelable can contain only";
for (const string& kv : allowed) {
stream << " " << kv;
}
stream << ".";
AIDL_ERROR(this) << stream.str();
return false;
}
}
return true;
}
void AidlParcelable::Write(CodeWriter* writer) const {
writer->Write("parcelable %s ;\n", GetName().c_str());
}
AidlStructuredParcelable::AidlStructuredParcelable(
const AidlLocation& location, AidlQualifiedName* name, const std::vector<std::string>& package,
const std::string& comments, std::vector<std::unique_ptr<AidlVariableDeclaration>>* variables)
: AidlParcelable(location, name, package, comments, "" /*cpp_header*/),
variables_(std::move(*variables)) {}
void AidlStructuredParcelable::Write(CodeWriter* writer) const {
writer->Write("parcelable %s {\n", GetName().c_str());
writer->Indent();
for (const auto& field : GetFields()) {
writer->Write("%s;\n", field->ToString().c_str());
}
writer->Dedent();
writer->Write("}\n");
}
bool AidlStructuredParcelable::CheckValid(const AidlTypenames& typenames) const {
for (const auto& v : GetFields()) {
if (!(v->CheckValid(typenames))) {
return false;
}
}
return true;
}
AidlInterface::AidlInterface(const AidlLocation& location, const std::string& name,
const std::string& comments, bool oneway,
std::vector<std::unique_ptr<AidlMember>>* members,
const std::vector<std::string>& package)
: AidlDefinedType(location, name, comments, package) {
for (auto& member : *members) {
AidlMember* local = member.release();
AidlMethod* method = local->AsMethod();
AidlConstantDeclaration* constant = local->AsConstantDeclaration();
CHECK(method == nullptr || constant == nullptr);
if (method) {
method->ApplyInterfaceOneway(oneway);
methods_.emplace_back(method);
} else if (constant) {
constants_.emplace_back(constant);
} else {
AIDL_FATAL(this) << "Member is neither method nor constant!";
}
}
delete members;
}
void AidlInterface::Write(CodeWriter* writer) const {
writer->Write("interface %s {\n", GetName().c_str());
writer->Indent();
for (const auto& method : GetMethods()) {
writer->Write("%s;\n", method->ToString().c_str());
}
for (const auto& constdecl : GetConstantDeclarations()) {
writer->Write("%s;\n", constdecl->ToString().c_str());
}
writer->Dedent();
writer->Write("}\n");
}
bool AidlInterface::CheckValid(const AidlTypenames& typenames) const {
// Has to be a pointer due to deleting copy constructor. No idea why.
map<string, const AidlMethod*> method_names;
for (const auto& m : GetMethods()) {
if (!m->GetType().CheckValid(typenames)) {
return false;
}
if (m->IsOneway() && m->GetType().GetName() != "void") {
AIDL_ERROR(m) << "oneway method '" << m->GetName() << "' cannot return a value";
return false;
}
set<string> argument_names;
for (const auto& arg : m->GetArguments()) {
auto it = argument_names.find(arg->GetName());
if (it != argument_names.end()) {
AIDL_ERROR(m) << "method '" << m->GetName() << "' has duplicate argument name '"
<< arg->GetName() << "'";
return false;
}
argument_names.insert(arg->GetName());
if (!arg->GetType().CheckValid(typenames)) {
return false;
}
if (m->IsOneway() && arg->IsOut()) {
AIDL_ERROR(m) << "oneway method '" << m->GetName() << "' cannot have out parameters";
return false;
}
}
auto it = method_names.find(m->GetName());
// prevent duplicate methods
if (it == method_names.end()) {
method_names[m->GetName()] = m.get();
} else {
AIDL_ERROR(m) << "attempt to redefine method " << m->GetName() << ":";
AIDL_ERROR(it->second) << "previously defined here.";
return false;
}
static set<string> reserved_methods{"asBinder()", "getInterfaceVersion()",
"getTransactionName(int)"};
if (reserved_methods.find(m->Signature()) != reserved_methods.end()) {
AIDL_ERROR(m) << " method " << m->Signature() << " is reserved for internal use." << endl;
return false;
}
}
bool success = true;
set<string> constant_names;
for (const std::unique_ptr<AidlConstantDeclaration>& constant : GetConstantDeclarations()) {
if (constant_names.count(constant->GetName()) > 0) {
LOG(ERROR) << "Found duplicate constant name '" << constant->GetName() << "'";
success = false;
}
constant_names.insert(constant->GetName());
success = success && constant->CheckValid(typenames);
}
return success;
}
AidlQualifiedName::AidlQualifiedName(const AidlLocation& location, const std::string& term,
const std::string& comments)
: AidlNode(location), terms_({term}), comments_(comments) {
if (term.find('.') != string::npos) {
terms_ = Split(term, ".");
for (const auto& subterm : terms_) {
if (subterm.empty()) {
AIDL_FATAL(this) << "Malformed qualified identifier: '" << term << "'";
}
}
}
}
void AidlQualifiedName::AddTerm(const std::string& term) {
terms_.push_back(term);
}
AidlImport::AidlImport(const AidlLocation& location, const std::string& needed_class)
: AidlNode(location), needed_class_(needed_class) {}
std::unique_ptr<Parser> Parser::Parse(const std::string& filename,
const android::aidl::IoDelegate& io_delegate,
AidlTypenames& typenames) {
// Make sure we can read the file first, before trashing previous state.
unique_ptr<string> raw_buffer = io_delegate.GetFileContents(filename);
if (raw_buffer == nullptr) {
AIDL_ERROR(filename) << "Error while opening file for parsing";
return nullptr;
}
// We're going to scan this buffer in place, and yacc demands we put two
// nulls at the end.
raw_buffer->append(2u, '\0');
std::unique_ptr<Parser> parser(new Parser(filename, *raw_buffer, typenames));
if (yy::parser(parser.get()).parse() != 0 || parser->HasError()) return nullptr;
return parser;
}
std::vector<std::string> Parser::Package() const {
if (!package_) {
return {};
}
return package_->GetTerms();
}
void Parser::AddImport(AidlImport* import) {
imports_.emplace_back(import);
}
bool Parser::Resolve() {
bool success = true;
for (AidlTypeSpecifier* typespec : unresolved_typespecs_) {
if (!typespec->Resolve(typenames_)) {
AIDL_ERROR(typespec) << "Failed to resolve '" << typespec->GetUnresolvedName() << "'";
success = false;
// don't stop to show more errors if any
}
}
return success;
}
Parser::Parser(const std::string& filename, std::string& raw_buffer,
android::aidl::AidlTypenames& typenames)
: filename_(filename), typenames_(typenames) {
yylex_init(&scanner_);
buffer_ = yy_scan_buffer(&raw_buffer[0], raw_buffer.length(), scanner_);
}
Parser::~Parser() {
yy_delete_buffer(buffer_, scanner_);
yylex_destroy(scanner_);
}
| [
"jianglin@xdja.com"
] | jianglin@xdja.com |
f35dbbc44f6c737ead813572f017bf60848c5d69 | e4433aae783f1d842d061a3d2d48566bf76e70aa | /src/asmjit/src/asmjit/x86/x86regalloc.cpp | e548757d7e6c5d5cb87da0b99163d2315f4cfe66 | [
"Zlib",
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | cedar-lang/cedar | bd33d33706ed19861b9760ad88333679a7afd738 | 04b13546d8520dcd7a01983a4a88408348a245f8 | refs/heads/master | 2020-04-10T21:11:23.053728 | 2019-04-20T01:16:20 | 2019-04-20T01:16:20 | 161,290,172 | 3 | 0 | MIT | 2019-03-17T19:58:34 | 2018-12-11T06:51:32 | C++ | UTF-8 | C++ | false | false | 135,085 | cpp | // [AsmJit]
// Complete x86/x64 JIT and Remote Assembler for C++.
//
// [License]
// Zlib - See LICENSE.md file in the package.
// [Export]
#define ASMJIT_EXPORTS
// [Guard]
#include "../asmjit_build.h"
#if defined(ASMJIT_BUILD_X86) && !defined(ASMJIT_DISABLE_COMPILER)
// [Dependencies]
#include "../base/cpuinfo.h"
#include "../base/utils.h"
#include "../x86/x86assembler.h"
#include "../x86/x86compiler.h"
#include "../x86/x86internal_p.h"
#include "../x86/x86regalloc_p.h"
// [Api-Begin]
#include "../asmjit_apibegin.h"
namespace asmjit {
// ============================================================================
// [Forward Declarations]
// ============================================================================
enum { kCompilerDefaultLookAhead = 64 };
static Error X86RAPass_translateOperands(X86RAPass* self, Operand_* opArray, uint32_t opCount);
// ============================================================================
// [asmjit::X86RAPass - SpecialInst]
// ============================================================================
struct X86SpecialInst {
uint8_t inReg;
uint8_t outReg;
uint16_t flags;
};
static ASMJIT_INLINE const X86SpecialInst* X86SpecialInst_get(uint32_t instId, const Operand* opArray, uint32_t opCount) noexcept {
enum { kAny = Globals::kInvalidRegId };
#define R(ri) { uint8_t(ri) , uint8_t(kAny), uint16_t(TiedReg::kRReg) }
#define W(ri) { uint8_t(kAny), uint8_t(ri) , uint16_t(TiedReg::kWReg) }
#define X(ri) { uint8_t(ri) , uint8_t(ri) , uint16_t(TiedReg::kXReg) }
#define NONE() { uint8_t(kAny), uint8_t(kAny), 0 }
static const X86SpecialInst instCpuid[] = { X(X86Gp::kIdAx), W(X86Gp::kIdBx), X(X86Gp::kIdCx), W(X86Gp::kIdDx) };
static const X86SpecialInst instCbwCdqeCwde[] = { X(X86Gp::kIdAx) };
static const X86SpecialInst instCdqCwdCqo[] = { W(X86Gp::kIdDx), R(X86Gp::kIdAx) };
static const X86SpecialInst instCmpxchg[] = { X(kAny), R(kAny), X(X86Gp::kIdAx) };
static const X86SpecialInst instCmpxchg8b16b[] = { NONE(), X(X86Gp::kIdDx), X(X86Gp::kIdAx), R(X86Gp::kIdCx), R(X86Gp::kIdBx) };
static const X86SpecialInst instDaaDas[] = { X(X86Gp::kIdAx) };
static const X86SpecialInst instDiv2[] = { X(X86Gp::kIdAx), R(kAny) };
static const X86SpecialInst instDiv3[] = { X(X86Gp::kIdDx), X(X86Gp::kIdAx), R(kAny) };
static const X86SpecialInst instJecxz[] = { R(X86Gp::kIdCx) };
static const X86SpecialInst instMul2[] = { X(X86Gp::kIdAx), R(kAny) };
static const X86SpecialInst instMul3[] = { W(X86Gp::kIdDx), X(X86Gp::kIdAx), R(kAny) };
static const X86SpecialInst instMulx[] = { W(kAny), W(kAny), R(kAny), R(X86Gp::kIdDx) };
static const X86SpecialInst instLahf[] = { W(X86Gp::kIdAx) };
static const X86SpecialInst instSahf[] = { R(X86Gp::kIdAx) };
static const X86SpecialInst instMaskmovq[] = { R(kAny), R(kAny), R(X86Gp::kIdDi) };
static const X86SpecialInst instRdtscRdtscp[] = { W(X86Gp::kIdDx), W(X86Gp::kIdAx), W(X86Gp::kIdCx) };
static const X86SpecialInst instRot[] = { X(kAny), R(X86Gp::kIdCx) };
static const X86SpecialInst instShldShrd[] = { X(kAny), R(kAny), R(X86Gp::kIdCx) };
static const X86SpecialInst instThirdXMM0[] = { W(kAny), R(kAny), R(0) };
static const X86SpecialInst instPcmpestri[] = { R(kAny), R(kAny), NONE(), W(X86Gp::kIdCx) };
static const X86SpecialInst instPcmpestrm[] = { R(kAny), R(kAny), NONE(), W(0) };
static const X86SpecialInst instPcmpistri[] = { R(kAny), R(kAny), NONE(), W(X86Gp::kIdCx), R(X86Gp::kIdAx), R(X86Gp::kIdDx) };
static const X86SpecialInst instPcmpistrm[] = { R(kAny), R(kAny), NONE(), W(0) , R(X86Gp::kIdAx), R(X86Gp::kIdDx) };
static const X86SpecialInst instXsaveXrstor[] = { W(kAny), R(X86Gp::kIdDx), R(X86Gp::kIdAx) };
static const X86SpecialInst instReadMR[] = { W(X86Gp::kIdDx), W(X86Gp::kIdAx), R(X86Gp::kIdCx) };
static const X86SpecialInst instWriteMR[] = { R(X86Gp::kIdDx), R(X86Gp::kIdAx), R(X86Gp::kIdCx) };
static const X86SpecialInst instCmps[] = { X(X86Gp::kIdSi), X(X86Gp::kIdDi) };
static const X86SpecialInst instLods[] = { W(X86Gp::kIdAx), X(X86Gp::kIdSi) };
static const X86SpecialInst instMovs[] = { X(X86Gp::kIdDi), X(X86Gp::kIdSi) };
static const X86SpecialInst instScas[] = { X(X86Gp::kIdDi), R(X86Gp::kIdAx) };
static const X86SpecialInst instStos[] = { X(X86Gp::kIdDi), R(X86Gp::kIdAx) };
#undef NONE
#undef X
#undef W
#undef R
switch (instId) {
case X86Inst::kIdCpuid : return instCpuid;
case X86Inst::kIdCbw :
case X86Inst::kIdCdqe :
case X86Inst::kIdCwde : return instCbwCdqeCwde;
case X86Inst::kIdCdq :
case X86Inst::kIdCwd :
case X86Inst::kIdCqo : return instCdqCwdCqo;
case X86Inst::kIdCmps : return instCmps;
case X86Inst::kIdCmpxchg : return instCmpxchg;
case X86Inst::kIdCmpxchg8b :
case X86Inst::kIdCmpxchg16b : return instCmpxchg8b16b;
case X86Inst::kIdDaa :
case X86Inst::kIdDas : return instDaaDas;
case X86Inst::kIdDiv : return (opCount == 2) ? instDiv2 : instDiv3;
case X86Inst::kIdIdiv : return (opCount == 2) ? instDiv2 : instDiv3;
case X86Inst::kIdImul : if (opCount == 2) return nullptr;
if (opCount == 3 && !(opArray[0].isReg() && opArray[1].isReg() && opArray[2].isRegOrMem())) return nullptr;
ASMJIT_FALLTHROUGH;
case X86Inst::kIdMul : return (opCount == 2) ? instMul2 : instMul3;
case X86Inst::kIdMulx : return instMulx;
case X86Inst::kIdJecxz : return instJecxz;
case X86Inst::kIdLods : return instLods;
case X86Inst::kIdMovs : return instMovs;
case X86Inst::kIdLahf : return instLahf;
case X86Inst::kIdSahf : return instSahf;
case X86Inst::kIdMaskmovq :
case X86Inst::kIdMaskmovdqu :
case X86Inst::kIdVmaskmovdqu: return instMaskmovq;
case X86Inst::kIdEnter : return nullptr; // Not supported.
case X86Inst::kIdLeave : return nullptr; // Not supported.
case X86Inst::kIdRet : return nullptr; // Not supported.
case X86Inst::kIdMonitor : return nullptr; // TODO: [COMPILER] Monitor/MWait.
case X86Inst::kIdMwait : return nullptr; // TODO: [COMPILER] Monitor/MWait.
case X86Inst::kIdPop : return nullptr; // TODO: [COMPILER] Pop/Push.
case X86Inst::kIdPush : return nullptr; // TODO: [COMPILER] Pop/Push.
case X86Inst::kIdPopa : return nullptr; // Not supported.
case X86Inst::kIdPopf : return nullptr; // Not supported.
case X86Inst::kIdPusha : return nullptr; // Not supported.
case X86Inst::kIdPushf : return nullptr; // Not supported.
case X86Inst::kIdRcl :
case X86Inst::kIdRcr :
case X86Inst::kIdRol :
case X86Inst::kIdRor :
case X86Inst::kIdSal :
case X86Inst::kIdSar :
case X86Inst::kIdShl : // Rot instruction is special only if the last operand is a variable.
case X86Inst::kIdShr : if (!opArray[1].isReg()) return nullptr;
return instRot;
case X86Inst::kIdShld : // Shld/Shrd instruction is special only if the last operand is a variable.
case X86Inst::kIdShrd : if (!opArray[2].isReg()) return nullptr;
return instShldShrd;
case X86Inst::kIdRdtsc :
case X86Inst::kIdRdtscp : return instRdtscRdtscp;
case X86Inst::kIdScas : return instScas;
case X86Inst::kIdStos : return instStos;
case X86Inst::kIdBlendvpd :
case X86Inst::kIdBlendvps :
case X86Inst::kIdPblendvb :
case X86Inst::kIdSha256rnds2: return instThirdXMM0;
case X86Inst::kIdPcmpestri :
case X86Inst::kIdVpcmpestri : return instPcmpestri;
case X86Inst::kIdPcmpistri :
case X86Inst::kIdVpcmpistri : return instPcmpistri;
case X86Inst::kIdPcmpestrm :
case X86Inst::kIdVpcmpestrm : return instPcmpestrm;
case X86Inst::kIdPcmpistrm :
case X86Inst::kIdVpcmpistrm : return instPcmpistrm;
case X86Inst::kIdXrstor :
case X86Inst::kIdXrstor64 :
case X86Inst::kIdXsave :
case X86Inst::kIdXsave64 :
case X86Inst::kIdXsaveopt :
case X86Inst::kIdXsaveopt64 : return instXsaveXrstor;
case X86Inst::kIdRdmsr :
case X86Inst::kIdRdpmc :
case X86Inst::kIdXgetbv : return instReadMR;
case X86Inst::kIdWrmsr :
case X86Inst::kIdXsetbv : return instWriteMR;
default : return nullptr;
}
}
// ============================================================================
// [asmjit::X86RAPass - Construction / Destruction]
// ============================================================================
X86RAPass::X86RAPass() noexcept : RAPass() {
_state = &_x86State;
_varMapToVaListOffset = ASMJIT_OFFSET_OF(X86RAData, tiedArray);
}
X86RAPass::~X86RAPass() noexcept {}
// ============================================================================
// [asmjit::X86RAPass - Interface]
// ============================================================================
Error X86RAPass::process(Zone* zone) noexcept {
return Base::process(zone);
}
Error X86RAPass::prepare(CCFunc* func) noexcept {
ASMJIT_PROPAGATE(Base::prepare(func));
uint32_t archType = cc()->getArchType();
_regCount._gp = archType == ArchInfo::kTypeX86 ? 8 : 16;
_regCount._mm = 8;
_regCount._k = 8;
_regCount._vec = archType == ArchInfo::kTypeX86 ? 8 : 16;
_zsp = cc()->zsp();
_zbp = cc()->zbp();
_gaRegs[X86Reg::kKindGp ] = Utils::bits(_regCount.getGp()) & ~Utils::mask(X86Gp::kIdSp);
_gaRegs[X86Reg::kKindMm ] = Utils::bits(_regCount.getMm());
_gaRegs[X86Reg::kKindK ] = Utils::bits(_regCount.getK());
_gaRegs[X86Reg::kKindVec] = Utils::bits(_regCount.getVec());
_x86State.reset(0);
_clobberedRegs.reset();
_avxEnabled = false;
_varBaseRegId = Globals::kInvalidRegId; // Used by patcher.
_varBaseOffset = 0; // Used by patcher.
return kErrorOk;
}
// ============================================================================
// [asmjit::X86RAPass - Emit]
// ============================================================================
Error X86RAPass::emitMove(VirtReg* vReg, uint32_t dstId, uint32_t srcId, const char* reason) {
const char* comment = nullptr;
if (_emitComments) {
_stringBuilder.setFormat("[%s] %s", reason, vReg->getName());
comment = _stringBuilder.getData();
}
X86Reg dst(X86Reg::fromSignature(vReg->getSignature(), dstId));
X86Reg src(X86Reg::fromSignature(vReg->getSignature(), srcId));
return X86Internal::emitRegMove(reinterpret_cast<X86Emitter*>(cc()), dst, src, vReg->getTypeId(), _avxEnabled, comment);
}
Error X86RAPass::emitLoad(VirtReg* vReg, uint32_t id, const char* reason) {
const char* comment = nullptr;
if (_emitComments) {
_stringBuilder.setFormat("[%s] %s", reason, vReg->getName());
comment = _stringBuilder.getData();
}
X86Reg dst(X86Reg::fromSignature(vReg->getSignature(), id));
X86Mem src(getVarMem(vReg));
return X86Internal::emitRegMove(reinterpret_cast<X86Emitter*>(cc()), dst, src, vReg->getTypeId(), _avxEnabled, comment);
}
Error X86RAPass::emitSave(VirtReg* vReg, uint32_t id, const char* reason) {
const char* comment = nullptr;
if (_emitComments) {
_stringBuilder.setFormat("[%s] %s", reason, vReg->getName());
comment = _stringBuilder.getData();
}
X86Mem dst(getVarMem(vReg));
X86Reg src(X86Reg::fromSignature(vReg->getSignature(), id));
return X86Internal::emitRegMove(reinterpret_cast<X86Emitter*>(cc()), dst, src, vReg->getTypeId(), _avxEnabled, comment);
}
Error X86RAPass::emitSwapGp(VirtReg* dstReg, VirtReg* srcReg, uint32_t dstPhysId, uint32_t srcPhysId, const char* reason) noexcept {
ASMJIT_ASSERT(dstPhysId != Globals::kInvalidRegId);
ASMJIT_ASSERT(srcPhysId != Globals::kInvalidRegId);
uint32_t is64 = std::max(dstReg->getTypeId(), srcReg->getTypeId()) >= TypeId::kI64;
uint32_t sign = is64 ? uint32_t(X86RegTraits<X86Reg::kRegGpq>::kSignature)
: uint32_t(X86RegTraits<X86Reg::kRegGpd>::kSignature);
X86Reg a = X86Reg::fromSignature(sign, dstPhysId);
X86Reg b = X86Reg::fromSignature(sign, srcPhysId);
ASMJIT_PROPAGATE(cc()->emit(X86Inst::kIdXchg, a, b));
if (_emitComments)
cc()->getCursor()->setInlineComment(cc()->_cbDataZone.sformat("[%s] %s, %s", reason, dstReg->getName(), srcReg->getName()));
return kErrorOk;
}
Error X86RAPass::emitImmToReg(uint32_t dstTypeId, uint32_t dstPhysId, const Imm* src) noexcept {
ASMJIT_ASSERT(dstPhysId != Globals::kInvalidRegId);
X86Reg r0;
Imm imm(*src);
switch (dstTypeId) {
case TypeId::kI8:
case TypeId::kU8:
imm.truncateTo8Bits();
ASMJIT_FALLTHROUGH;
case TypeId::kI16:
case TypeId::kU16:
imm.truncateTo16Bits();
ASMJIT_FALLTHROUGH;
case TypeId::kI32:
case TypeId::kU32:
Mov32Truncate:
imm.truncateTo32Bits();
r0.setX86RegT<X86Reg::kRegGpd>(dstPhysId);
cc()->emit(X86Inst::kIdMov, r0, imm);
break;
case TypeId::kI64:
case TypeId::kU64:
// Move to GPD register will also clear the high DWORD of GPQ
// register in 64-bit mode.
if (imm.isUInt32())
goto Mov32Truncate;
r0.setX86RegT<X86Reg::kRegGpq>(dstPhysId);
cc()->emit(X86Inst::kIdMov, r0, imm);
break;
case TypeId::kF32:
case TypeId::kF64:
// Compiler doesn't manage FPU stack.
ASMJIT_NOT_REACHED();
break;
case TypeId::kMmx32:
case TypeId::kMmx64:
// TODO: [COMPILER] EmitMoveImmToReg.
break;
default:
// TODO: [COMPILER] EmitMoveImmToReg.
break;
}
return kErrorOk;
}
Error X86RAPass::emitImmToStack(uint32_t dstTypeId, const X86Mem* dst, const Imm* src) noexcept {
X86Mem mem(*dst);
Imm imm(*src);
// One stack entry has the same size as the native register size. That means
// that if we want to move a 32-bit integer on the stack in 64-bit mode, we
// need to extend it to a 64-bit integer first. In 32-bit mode, pushing a
// 64-bit on stack is done in two steps by pushing low and high parts
// separately.
uint32_t gpSize = cc()->getGpSize();
switch (dstTypeId) {
case TypeId::kI8:
case TypeId::kU8:
imm.truncateTo8Bits();
ASMJIT_FALLTHROUGH;
case TypeId::kI16:
case TypeId::kU16:
imm.truncateTo16Bits();
ASMJIT_FALLTHROUGH;
case TypeId::kI32:
case TypeId::kU32:
case TypeId::kF32:
mem.setSize(4);
imm.truncateTo32Bits();
cc()->emit(X86Inst::kIdMov, mem, imm);
break;
case TypeId::kI64:
case TypeId::kU64:
case TypeId::kF64:
case TypeId::kMmx32:
case TypeId::kMmx64:
if (gpSize == 4) {
uint32_t hi = imm.getUInt32Hi();
// Lo-Part.
mem.setSize(4);
imm.truncateTo32Bits();
cc()->emit(X86Inst::kIdMov, mem, imm);
mem.addOffsetLo32(gpSize);
// Hi-Part.
imm.setUInt32(hi);
cc()->emit(X86Inst::kIdMov, mem, imm);
}
else {
mem.setSize(8);
cc()->emit(X86Inst::kIdMov, mem, imm);
}
break;
default:
return DebugUtils::errored(kErrorInvalidState);
}
return kErrorOk;
}
Error X86RAPass::emitRegToStack(uint32_t dstTypeId, const X86Mem* dst, uint32_t srcTypeId, uint32_t srcPhysId) noexcept {
ASMJIT_ASSERT(srcPhysId != Globals::kInvalidRegId);
X86Mem m0(*dst);
X86Reg r0, r1;
uint32_t gpSize = cc()->getGpSize();
uint32_t instId = 0;
switch (dstTypeId) {
case TypeId::kI64:
case TypeId::kU64:
// Extend BYTE->QWORD (GP).
if (TypeId::isGpb(srcTypeId)) {
r1.setX86RegT<X86Reg::kRegGpbLo>(srcPhysId);
instId = (dstTypeId == TypeId::kI64 && srcTypeId == TypeId::kI8) ? X86Inst::kIdMovsx : X86Inst::kIdMovzx;
goto _ExtendMovGpXQ;
}
// Extend WORD->QWORD (GP).
if (TypeId::isGpw(srcTypeId)) {
r1.setX86RegT<X86Reg::kRegGpw>(srcPhysId);
instId = (dstTypeId == TypeId::kI64 && srcTypeId == TypeId::kI16) ? X86Inst::kIdMovsx : X86Inst::kIdMovzx;
goto _ExtendMovGpXQ;
}
// Extend DWORD->QWORD (GP).
if (TypeId::isGpd(srcTypeId)) {
r1.setX86RegT<X86Reg::kRegGpd>(srcPhysId);
instId = X86Inst::kIdMovsxd;
if (dstTypeId == TypeId::kI64 && srcTypeId == TypeId::kI32)
goto _ExtendMovGpXQ;
else
goto _ZeroExtendGpDQ;
}
// Move QWORD (GP).
if (TypeId::isGpq(srcTypeId)) goto MovGpQ;
if (TypeId::isMmx(srcTypeId)) goto MovMmQ;
if (TypeId::isVec(srcTypeId)) goto MovXmmQ;
break;
case TypeId::kI32:
case TypeId::kU32:
case TypeId::kI16:
case TypeId::kU16:
// DWORD <- WORD (Zero|Sign Extend).
if (TypeId::isGpw(srcTypeId)) {
bool isDstSigned = dstTypeId == TypeId::kI16 || dstTypeId == TypeId::kI32;
bool isSrcSigned = srcTypeId == TypeId::kI8 || srcTypeId == TypeId::kI16;
r1.setX86RegT<X86Reg::kRegGpw>(srcPhysId);
instId = isDstSigned && isSrcSigned ? X86Inst::kIdMovsx : X86Inst::kIdMovzx;
goto _ExtendMovGpD;
}
// DWORD <- BYTE (Zero|Sign Extend).
if (TypeId::isGpb(srcTypeId)) {
bool isDstSigned = dstTypeId == TypeId::kI16 || dstTypeId == TypeId::kI32;
bool isSrcSigned = srcTypeId == TypeId::kI8 || srcTypeId == TypeId::kI16;
r1.setX86RegT<X86Reg::kRegGpbLo>(srcPhysId);
instId = isDstSigned && isSrcSigned ? X86Inst::kIdMovsx : X86Inst::kIdMovzx;
goto _ExtendMovGpD;
}
ASMJIT_FALLTHROUGH;
case TypeId::kI8:
case TypeId::kU8:
if (TypeId::isInt(srcTypeId)) goto MovGpD;
if (TypeId::isMmx(srcTypeId)) goto MovMmD;
if (TypeId::isVec(srcTypeId)) goto MovXmmD;
break;
case TypeId::kMmx32:
case TypeId::kMmx64:
// Extend BYTE->QWORD (GP).
if (TypeId::isGpb(srcTypeId)) {
r1.setX86RegT<X86Reg::kRegGpbLo>(srcPhysId);
instId = X86Inst::kIdMovzx;
goto _ExtendMovGpXQ;
}
// Extend WORD->QWORD (GP).
if (TypeId::isGpw(srcTypeId)) {
r1.setX86RegT<X86Reg::kRegGpw>(srcPhysId);
instId = X86Inst::kIdMovzx;
goto _ExtendMovGpXQ;
}
if (TypeId::isGpd(srcTypeId)) goto _ExtendMovGpDQ;
if (TypeId::isGpq(srcTypeId)) goto MovGpQ;
if (TypeId::isMmx(srcTypeId)) goto MovMmQ;
if (TypeId::isVec(srcTypeId)) goto MovXmmQ;
break;
case TypeId::kF32:
case TypeId::kF32x1:
if (TypeId::isVec(srcTypeId)) goto MovXmmD;
break;
case TypeId::kF64:
case TypeId::kF64x1:
if (TypeId::isVec(srcTypeId)) goto MovXmmQ;
break;
default:
// TODO: Vector types by stack.
break;
}
return DebugUtils::errored(kErrorInvalidState);
// Extend+Move Gp.
_ExtendMovGpD:
m0.setSize(4);
r0.setX86RegT<X86Reg::kRegGpd>(srcPhysId);
cc()->emit(instId, r0, r1);
cc()->emit(X86Inst::kIdMov, m0, r0);
return kErrorOk;
_ExtendMovGpXQ:
if (gpSize == 8) {
m0.setSize(8);
r0.setX86RegT<X86Reg::kRegGpq>(srcPhysId);
cc()->emit(instId, r0, r1);
cc()->emit(X86Inst::kIdMov, m0, r0);
}
else {
m0.setSize(4);
r0.setX86RegT<X86Reg::kRegGpd>(srcPhysId);
cc()->emit(instId, r0, r1);
_ExtendMovGpDQ:
cc()->emit(X86Inst::kIdMov, m0, r0);
m0.addOffsetLo32(4);
cc()->emit(X86Inst::kIdAnd, m0, 0);
}
return kErrorOk;
_ZeroExtendGpDQ:
m0.setSize(4);
r0.setX86RegT<X86Reg::kRegGpd>(srcPhysId);
goto _ExtendMovGpDQ;
// Move Gp.
MovGpD:
m0.setSize(4);
r0.setX86RegT<X86Reg::kRegGpd>(srcPhysId);
return cc()->emit(X86Inst::kIdMov, m0, r0);
MovGpQ:
m0.setSize(8);
r0.setX86RegT<X86Reg::kRegGpq>(srcPhysId);
return cc()->emit(X86Inst::kIdMov, m0, r0);
// Move Mm.
MovMmD:
m0.setSize(4);
r0.setX86RegT<X86Reg::kRegMm>(srcPhysId);
return cc()->emit(X86Inst::kIdMovd, m0, r0);
MovMmQ:
m0.setSize(8);
r0.setX86RegT<X86Reg::kRegMm>(srcPhysId);
return cc()->emit(X86Inst::kIdMovq, m0, r0);
// Move XMM.
MovXmmD:
m0.setSize(4);
r0.setX86RegT<X86Reg::kRegXmm>(srcPhysId);
return cc()->emit(X86Inst::kIdMovss, m0, r0);
MovXmmQ:
m0.setSize(8);
r0.setX86RegT<X86Reg::kRegXmm>(srcPhysId);
return cc()->emit(X86Inst::kIdMovlps, m0, r0);
}
// ============================================================================
// [asmjit::X86RAPass - Register Management]
// ============================================================================
#if defined(ASMJIT_DEBUG)
template<int C>
static ASMJIT_INLINE void X86RAPass_checkStateVars(X86RAPass* self) {
X86RAState* state = self->getState();
VirtReg** sVars = state->getListByKind(C);
uint32_t physId;
uint32_t regMask;
uint32_t regCount = self->_regCount.get(C);
uint32_t occupied = state->_occupied.get(C);
uint32_t modified = state->_modified.get(C);
for (physId = 0, regMask = 1; physId < regCount; physId++, regMask <<= 1) {
VirtReg* vreg = sVars[physId];
if (!vreg) {
ASMJIT_ASSERT((occupied & regMask) == 0);
ASMJIT_ASSERT((modified & regMask) == 0);
}
else {
ASMJIT_ASSERT((occupied & regMask) != 0);
ASMJIT_ASSERT((modified & regMask) == (static_cast<uint32_t>(vreg->isModified()) << physId));
ASMJIT_ASSERT(vreg->getKind() == C);
ASMJIT_ASSERT(vreg->getState() == VirtReg::kStateReg);
ASMJIT_ASSERT(vreg->getPhysId() == physId);
}
}
}
void X86RAPass::_checkState() {
X86RAPass_checkStateVars<X86Reg::kKindGp >(this);
X86RAPass_checkStateVars<X86Reg::kKindMm >(this);
X86RAPass_checkStateVars<X86Reg::kKindVec>(this);
}
#else
void X86RAPass::_checkState() {}
#endif // ASMJIT_DEBUG
// ============================================================================
// [asmjit::X86RAPass - State - Load]
// ============================================================================
template<int C>
static ASMJIT_INLINE void X86RAPass_loadStateVars(X86RAPass* self, X86RAState* src) {
X86RAState* cur = self->getState();
VirtReg** cVars = cur->getListByKind(C);
VirtReg** sVars = src->getListByKind(C);
uint32_t physId;
uint32_t modified = src->_modified.get(C);
uint32_t regCount = self->_regCount.get(C);
for (physId = 0; physId < regCount; physId++, modified >>= 1) {
VirtReg* vreg = sVars[physId];
cVars[physId] = vreg;
if (!vreg) continue;
vreg->setState(VirtReg::kStateReg);
vreg->setPhysId(physId);
vreg->setModified(modified & 0x1);
}
}
void X86RAPass::loadState(RAState* src_) {
X86RAState* cur = getState();
X86RAState* src = static_cast<X86RAState*>(src_);
VirtReg** vregs = _contextVd.getData();
uint32_t count = static_cast<uint32_t>(_contextVd.getLength());
// Load allocated variables.
X86RAPass_loadStateVars<X86Reg::kKindGp >(this, src);
X86RAPass_loadStateVars<X86Reg::kKindMm >(this, src);
X86RAPass_loadStateVars<X86Reg::kKindVec>(this, src);
// Load masks.
cur->_occupied = src->_occupied;
cur->_modified = src->_modified;
// Load states of other variables and clear their 'Modified' flags.
for (uint32_t i = 0; i < count; i++) {
uint32_t vState = src->_cells[i].getState();
if (vState == VirtReg::kStateReg)
continue;
vregs[i]->setState(vState);
vregs[i]->setPhysId(Globals::kInvalidRegId);
vregs[i]->setModified(false);
}
ASMJIT_X86_CHECK_STATE
}
// ============================================================================
// [asmjit::X86RAPass - State - Save]
// ============================================================================
RAState* X86RAPass::saveState() {
VirtReg** vregs = _contextVd.getData();
uint32_t count = static_cast<uint32_t>(_contextVd.getLength());
size_t size = Utils::alignTo<size_t>(
sizeof(X86RAState) + count * sizeof(X86StateCell), sizeof(void*));
X86RAState* cur = getState();
X86RAState* dst = _zone->allocT<X86RAState>(size);
if (!dst) return nullptr;
// Store links.
::memcpy(dst->_list, cur->_list, X86RAState::kAllCount * sizeof(VirtReg*));
// Store masks.
dst->_occupied = cur->_occupied;
dst->_modified = cur->_modified;
// Store cells.
for (uint32_t i = 0; i < count; i++) {
VirtReg* vreg = static_cast<VirtReg*>(vregs[i]);
X86StateCell& cell = dst->_cells[i];
cell.reset();
cell.setState(vreg->getState());
}
return dst;
}
// ============================================================================
// [asmjit::X86RAPass - State - Switch]
// ============================================================================
template<int C>
static ASMJIT_INLINE void X86RAPass_switchStateVars(X86RAPass* self, X86RAState* src) {
X86RAState* dst = self->getState();
VirtReg** dVars = dst->getListByKind(C);
VirtReg** sVars = src->getListByKind(C);
X86StateCell* cells = src->_cells;
uint32_t regCount = self->_regCount.get(C);
bool didWork;
do {
didWork = false;
for (uint32_t physId = 0, regMask = 0x1; physId < regCount; physId++, regMask <<= 1) {
VirtReg* dVReg = dVars[physId];
VirtReg* sVd = sVars[physId];
if (dVReg == sVd) continue;
if (dVReg) {
const X86StateCell& cell = cells[dVReg->_raId];
if (cell.getState() != VirtReg::kStateReg) {
if (cell.getState() == VirtReg::kStateMem)
self->spill<C>(dVReg);
else
self->unuse<C>(dVReg);
dVReg = nullptr;
didWork = true;
if (!sVd) continue;
}
}
if (!dVReg && sVd) {
_MoveOrLoad:
if (sVd->getPhysId() != Globals::kInvalidRegId)
self->move<C>(sVd, physId);
else
self->load<C>(sVd, physId);
didWork = true;
continue;
}
if (dVReg) {
const X86StateCell& cell = cells[dVReg->_raId];
if (!sVd) {
if (cell.getState() == VirtReg::kStateReg)
continue;
if (cell.getState() == VirtReg::kStateMem)
self->spill<C>(dVReg);
else
self->unuse<C>(dVReg);
didWork = true;
continue;
}
else {
if (cell.getState() == VirtReg::kStateReg) {
if (dVReg->getPhysId() != Globals::kInvalidRegId && sVd->getPhysId() != Globals::kInvalidRegId) {
if (C == X86Reg::kKindGp) {
self->swapGp(dVReg, sVd);
}
else {
self->spill<C>(dVReg);
self->move<C>(sVd, physId);
}
didWork = true;
continue;
}
else {
didWork = true;
continue;
}
}
if (cell.getState() == VirtReg::kStateMem)
self->spill<C>(dVReg);
else
self->unuse<C>(dVReg);
goto _MoveOrLoad;
}
}
}
} while (didWork);
uint32_t dModified = dst->_modified.get(C);
uint32_t sModified = src->_modified.get(C);
if (dModified != sModified) {
for (uint32_t physId = 0, regMask = 0x1; physId < regCount; physId++, regMask <<= 1) {
VirtReg* vreg = dVars[physId];
if (!vreg) continue;
if ((dModified & regMask) && !(sModified & regMask)) {
self->save<C>(vreg);
continue;
}
if (!(dModified & regMask) && (sModified & regMask)) {
self->modify<C>(vreg);
continue;
}
}
}
}
void X86RAPass::switchState(RAState* src_) {
ASMJIT_ASSERT(src_ != nullptr);
X86RAState* cur = getState();
X86RAState* src = static_cast<X86RAState*>(src_);
// Ignore if both states are equal.
if (cur == src)
return;
// Switch variables.
X86RAPass_switchStateVars<X86Reg::kKindGp >(this, src);
X86RAPass_switchStateVars<X86Reg::kKindMm >(this, src);
X86RAPass_switchStateVars<X86Reg::kKindVec>(this, src);
// Calculate changed state.
VirtReg** vregs = _contextVd.getData();
uint32_t count = static_cast<uint32_t>(_contextVd.getLength());
X86StateCell* cells = src->_cells;
for (uint32_t i = 0; i < count; i++) {
VirtReg* vreg = static_cast<VirtReg*>(vregs[i]);
const X86StateCell& cell = cells[i];
uint32_t vState = cell.getState();
if (vState != VirtReg::kStateReg) {
vreg->setState(vState);
vreg->setModified(false);
}
}
ASMJIT_X86_CHECK_STATE
}
// ============================================================================
// [asmjit::X86RAPass - State - Intersect]
// ============================================================================
// The algorithm is actually not so smart, but tries to find an intersection od
// `a` and `b` and tries to move/alloc a variable into that location if it's
// possible. It also finds out which variables will be spilled/unused by `a`
// and `b` and performs that action here. It may improve the switch state code
// in certain cases, but doesn't necessarily do the best job possible.
template<int C>
static ASMJIT_INLINE void X86RAPass_intersectStateVars(X86RAPass* self, X86RAState* a, X86RAState* b) {
X86RAState* dst = self->getState();
VirtReg** dVars = dst->getListByKind(C);
VirtReg** aVars = a->getListByKind(C);
X86StateCell* aCells = a->_cells;
X86StateCell* bCells = b->_cells;
uint32_t regCount = self->_regCount.get(C);
bool didWork;
// Similar to `switchStateVars()`, we iterate over and over until there is
// no work to be done.
do {
didWork = false;
for (uint32_t physId = 0, regMask = 0x1; physId < regCount; physId++, regMask <<= 1) {
VirtReg* dVReg = dVars[physId]; // Destination reg.
VirtReg* aVReg = aVars[physId]; // State-a reg.
if (dVReg == aVReg) continue;
if (dVReg) {
const X86StateCell& aCell = aCells[dVReg->_raId];
const X86StateCell& bCell = bCells[dVReg->_raId];
if (aCell.getState() != VirtReg::kStateReg && bCell.getState() != VirtReg::kStateReg) {
if (aCell.getState() == VirtReg::kStateMem || bCell.getState() == VirtReg::kStateMem)
self->spill<C>(dVReg);
else
self->unuse<C>(dVReg);
dVReg = nullptr;
didWork = true;
if (!aVReg) continue;
}
}
if (!dVReg && aVReg) {
if (aVReg->getPhysId() != Globals::kInvalidRegId)
self->move<C>(aVReg, physId);
else
self->load<C>(aVReg, physId);
didWork = true;
continue;
}
if (dVReg) {
const X86StateCell& aCell = aCells[dVReg->_raId];
const X86StateCell& bCell = bCells[dVReg->_raId];
if (!aVReg) {
if (aCell.getState() == VirtReg::kStateReg || bCell.getState() == VirtReg::kStateReg)
continue;
if (aCell.getState() == VirtReg::kStateMem || bCell.getState() == VirtReg::kStateMem)
self->spill<C>(dVReg);
else
self->unuse<C>(dVReg);
didWork = true;
continue;
}
else if (C == X86Reg::kKindGp) {
if (aCell.getState() == VirtReg::kStateReg) {
if (dVReg->getPhysId() != Globals::kInvalidRegId && aVReg->getPhysId() != Globals::kInvalidRegId) {
self->swapGp(dVReg, aVReg);
didWork = true;
continue;
}
}
}
}
}
} while (didWork);
uint32_t dModified = dst->_modified.get(C);
uint32_t aModified = a->_modified.get(C);
if (dModified != aModified) {
for (uint32_t physId = 0, regMask = 0x1; physId < regCount; physId++, regMask <<= 1) {
VirtReg* vreg = dVars[physId];
if (!vreg) continue;
const X86StateCell& aCell = aCells[vreg->_raId];
if ((dModified & regMask) && !(aModified & regMask) && aCell.getState() == VirtReg::kStateReg)
self->save<C>(vreg);
}
}
}
void X86RAPass::intersectStates(RAState* a_, RAState* b_) {
X86RAState* a = static_cast<X86RAState*>(a_);
X86RAState* b = static_cast<X86RAState*>(b_);
ASMJIT_ASSERT(a != nullptr);
ASMJIT_ASSERT(b != nullptr);
X86RAPass_intersectStateVars<X86Reg::kKindGp >(this, a, b);
X86RAPass_intersectStateVars<X86Reg::kKindMm >(this, a, b);
X86RAPass_intersectStateVars<X86Reg::kKindVec>(this, a, b);
ASMJIT_X86_CHECK_STATE
}
// ============================================================================
// [asmjit::X86RAPass - GetJccFlow / GetOppositeJccFlow]
// ============================================================================
//! \internal
static ASMJIT_INLINE CBNode* X86RAPass_getJccFlow(CBJump* jNode) {
if (jNode->isTaken())
return jNode->getTarget();
else
return jNode->getNext();
}
//! \internal
static ASMJIT_INLINE CBNode* X86RAPass_getOppositeJccFlow(CBJump* jNode) {
if (jNode->isTaken())
return jNode->getNext();
else
return jNode->getTarget();
}
// ============================================================================
// [asmjit::X86RAPass - SingleVarInst]
// ============================================================================
//! \internal
static void X86RAPass_prepareSingleVarInst(uint32_t instId, TiedReg* tr) {
switch (instId) {
// - andn reg, reg ; Set all bits in reg to 0.
// - xor/pxor reg, reg ; Set all bits in reg to 0.
// - sub/psub reg, reg ; Set all bits in reg to 0.
// - pcmpgt reg, reg ; Set all bits in reg to 0.
// - pcmpeq reg, reg ; Set all bits in reg to 1.
case X86Inst::kIdPandn :
case X86Inst::kIdXor : case X86Inst::kIdXorpd : case X86Inst::kIdXorps : case X86Inst::kIdPxor :
case X86Inst::kIdSub:
case X86Inst::kIdPsubb : case X86Inst::kIdPsubw : case X86Inst::kIdPsubd : case X86Inst::kIdPsubq :
case X86Inst::kIdPsubsb : case X86Inst::kIdPsubsw : case X86Inst::kIdPsubusb : case X86Inst::kIdPsubusw :
case X86Inst::kIdPcmpeqb : case X86Inst::kIdPcmpeqw : case X86Inst::kIdPcmpeqd : case X86Inst::kIdPcmpeqq :
case X86Inst::kIdPcmpgtb : case X86Inst::kIdPcmpgtw : case X86Inst::kIdPcmpgtd : case X86Inst::kIdPcmpgtq :
tr->flags &= ~TiedReg::kRReg;
break;
// - and reg, reg ; Nop.
// - or reg, reg ; Nop.
// - xchg reg, reg ; Nop.
case X86Inst::kIdAnd : case X86Inst::kIdAndpd : case X86Inst::kIdAndps : case X86Inst::kIdPand :
case X86Inst::kIdOr : case X86Inst::kIdOrpd : case X86Inst::kIdOrps : case X86Inst::kIdPor :
case X86Inst::kIdXchg :
tr->flags &= ~TiedReg::kWReg;
break;
}
}
// ============================================================================
// [asmjit::X86RAPass - Helpers]
// ============================================================================
static void X86RAPass_assignStackArgsRegId(X86RAPass* self, CCFunc* func) {
const FuncDetail& fd = func->getDetail();
FuncFrameInfo& ffi = func->getFrameInfo();
// Select some register which will contain the base address of function
// arguments and return address. The algorithm tries to select registers
// which are saved or not preserved by default, if not successful it picks
// any other register and adds it to `_savedRegs`.
uint32_t stackArgsRegId;
if (ffi.hasPreservedFP()) {
stackArgsRegId = X86Gp::kIdBp;
}
else {
// Passed registers as defined by the calling convention.
uint32_t passed = fd.getPassedRegs(X86Reg::kKindGp);
// Registers actually used to pass function arguments (related to this
// function signature) with ESP|RSP included as this register can't be
// used in general to hold anything bug stack pointer.
uint32_t used = fd.getUsedRegs(X86Reg::kKindGp) | Utils::mask(X86Gp::kIdSp);
// First try register that is defined to pass a function argument by the
// calling convention, but is not used by this function. This will most
// likely fail in 32-bit mode, but there is a high chance that it will
// pass in 64-bit mode if the function doesn't use so many arguments.
uint32_t regs = passed & ~used;
// Pick any other register if that didn't work out.
if (!regs) regs = ~passed & ~used;
stackArgsRegId = Utils::findFirstBit(regs);
ASMJIT_ASSERT(stackArgsRegId < self->cc()->getGpCount());
}
ffi.setStackArgsRegId(stackArgsRegId);
}
// ============================================================================
// [asmjit::X86RAPass - SArg Insertion]
// ============================================================================
struct SArgData {
VirtReg* sVd;
VirtReg* cVd;
CCPushArg* sArg;
uint32_t aType;
};
static ASMJIT_INLINE bool X86RAPass_mustConvertSArg(X86RAPass* self, uint32_t dstTypeId, uint32_t srcTypeId) noexcept{
uint32_t dstFloatSize = dstTypeId == TypeId::kF32 ? 4 :
dstTypeId == TypeId::kF64 ? 8 : 0;
uint32_t srcFloatSize = srcTypeId == TypeId::kF32 ? 4 :
srcTypeId == TypeId::kF32x1 ? 4 :
srcTypeId == TypeId::kF64 ? 8 :
srcTypeId == TypeId::kF64x1 ? 8 : 0;
if (dstFloatSize && srcFloatSize)
return dstFloatSize != srcFloatSize;
else
return false;
}
static ASMJIT_INLINE uint32_t X86RAPass_typeOfConvertedSArg(X86RAPass* self, uint32_t dstTypeId, uint32_t srcTypeId) noexcept {
ASMJIT_ASSERT(X86RAPass_mustConvertSArg(self, dstTypeId, srcTypeId));
return dstTypeId == TypeId::kF32 ? TypeId::kF32x1 : TypeId::kF64x1;
}
static ASMJIT_INLINE Error X86RAPass_insertPushArg(
X86RAPass* self, CCFuncCall* call,
VirtReg* sReg, const uint32_t* gaRegs,
const FuncDetail::Value& arg, uint32_t argIndex,
SArgData* sArgList, uint32_t& sArgCount) {
X86Compiler* cc = self->cc();
uint32_t i;
uint32_t dstTypeId = arg.getTypeId();
uint32_t srcTypeId = sReg->getTypeId();
// First locate or create sArgBase.
for (i = 0; i < sArgCount; i++)
if (sArgList[i].sVd == sReg && !sArgList[i].cVd)
break;
SArgData* sArgData = &sArgList[i];
if (i == sArgCount) {
sArgData->sVd = sReg;
sArgData->cVd = nullptr;
sArgData->sArg = nullptr;
sArgData->aType = 0xFF;
sArgCount++;
}
uint32_t srcRegKind = sReg->getKind();
// Only handles float<->double conversion.
if (X86RAPass_mustConvertSArg(self, dstTypeId, srcTypeId)) {
uint32_t cvtTypeId = X86RAPass_typeOfConvertedSArg(self, dstTypeId, srcTypeId);
uint32_t cvtRegKind = X86Reg::kKindVec;
while (++i < sArgCount) {
sArgData = &sArgList[i];
if (sArgData->sVd != sReg)
break;
if (sArgData->cVd->getTypeId() != cvtTypeId || sArgData->aType != dstTypeId)
continue;
sArgData->sArg->_args |= Utils::mask(argIndex);
return kErrorOk;
}
VirtReg* cReg = cc->newVirtReg(dstTypeId, x86OpData.archRegs.regInfo[X86Reg::kRegXmm].getSignature(), nullptr);
if (!cReg) return DebugUtils::errored(kErrorNoHeapMemory);
CCPushArg* sArg = cc->newNodeT<CCPushArg>(call, sReg, cReg);
if (!sArg) return DebugUtils::errored(kErrorNoHeapMemory);
X86RAData* raData = self->newRAData(2);
if (!raData) return DebugUtils::errored(kErrorNoHeapMemory);
ASMJIT_PROPAGATE(self->assignRAId(cReg));
ASMJIT_PROPAGATE(self->assignRAId(sReg));
raData->tiedTotal = 2;
raData->tiedCount.reset();
raData->tiedCount.add(srcRegKind);
raData->tiedCount.add(cvtRegKind);
raData->tiedIndex.reset();
raData->inRegs.reset();
raData->outRegs.reset();
raData->clobberedRegs.reset();
if (srcRegKind <= cvtRegKind) {
raData->tiedArray[0].init(sReg, TiedReg::kRReg, 0, gaRegs[srcRegKind]);
raData->tiedArray[1].init(cReg, TiedReg::kWReg, 0, gaRegs[cvtRegKind]);
raData->tiedIndex.set(cvtRegKind, srcRegKind != cvtRegKind);
}
else {
raData->tiedArray[0].init(cReg, TiedReg::kWReg, 0, gaRegs[cvtRegKind]);
raData->tiedArray[1].init(sReg, TiedReg::kRReg, 0, gaRegs[srcRegKind]);
raData->tiedIndex.set(srcRegKind, 1);
}
sArg->setPassData(raData);
sArg->_args |= Utils::mask(argIndex);
cc->addBefore(sArg, call);
::memmove(sArgData + 1, sArgData, (sArgCount - i) * sizeof(SArgData));
sArgData->sVd = sReg;
sArgData->cVd = cReg;
sArgData->sArg = sArg;
sArgData->aType = dstTypeId;
sArgCount++;
return kErrorOk;
}
else {
CCPushArg* sArg = sArgData->sArg;
ASMJIT_PROPAGATE(self->assignRAId(sReg));
if (!sArg) {
sArg = cc->newNodeT<CCPushArg>(call, sReg, (VirtReg*)nullptr);
if (!sArg) return DebugUtils::errored(kErrorNoHeapMemory);
X86RAData* raData = self->newRAData(1);
if (!raData) return DebugUtils::errored(kErrorNoHeapMemory);
raData->tiedTotal = 1;
raData->tiedIndex.reset();
raData->tiedCount.reset();
raData->tiedCount.add(srcRegKind);
raData->inRegs.reset();
raData->outRegs.reset();
raData->clobberedRegs.reset();
raData->tiedArray[0].init(sReg, TiedReg::kRReg, 0, gaRegs[srcRegKind]);
sArg->setPassData(raData);
sArgData->sArg = sArg;
cc->addBefore(sArg, call);
}
sArg->_args |= Utils::mask(argIndex);
return kErrorOk;
}
}
// ============================================================================
// [asmjit::X86RAPass - Fetch]
// ============================================================================
//! \internal
//!
//! Prepare the given function `func`.
//!
//! For each node:
//! - Create and assign groupId and position.
//! - Collect all variables and merge them to vaList.
Error X86RAPass::fetch() {
uint32_t archType = cc()->getArchType();
CCFunc* func = getFunc();
CBNode* node_ = func;
CBNode* next = nullptr;
CBNode* stop = getStop();
TiedReg agTmp[80];
SArgData sArgList[80];
uint32_t position = 0;
ZoneList<CBNode*>::Link* jLink = nullptr;
// Global allocable registers.
uint32_t* gaRegs = _gaRegs;
if (func->getFrameInfo().hasPreservedFP())
gaRegs[X86Reg::kKindGp] &= ~Utils::mask(X86Gp::kIdBp);
// Allowed index registers (GP/XMM/YMM).
const uint32_t indexMask = Utils::bits(_regCount.getGp()) & ~(Utils::mask(4));
// --------------------------------------------------------------------------
// [VI Macros]
// --------------------------------------------------------------------------
#define RA_POPULATE(NODE) \
do { \
X86RAData* raData = newRAData(0); \
if (!raData) goto NoMem; \
NODE->setPassData(raData); \
} while (0)
#define RA_DECLARE() \
do { \
X86RegCount tiedCount; \
X86RegCount tiedIndex; \
uint32_t tiedTotal = 0; \
\
X86RegMask inRegs; \
X86RegMask outRegs; \
X86RegMask clobberedRegs; \
\
tiedCount.reset(); \
inRegs.reset(); \
outRegs.reset(); \
clobberedRegs.reset()
#define RA_FINALIZE(NODE) \
{ \
X86RAData* raData = newRAData(tiedTotal); \
if (!raData) goto NoMem; \
\
tiedIndex.indexFromRegCount(tiedCount); \
raData->tiedCount = tiedCount; \
raData->tiedIndex = tiedIndex; \
\
raData->inRegs = inRegs; \
raData->outRegs = outRegs; \
raData->clobberedRegs = clobberedRegs; \
\
TiedReg* tied = agTmp; \
while (tiedTotal) { \
VirtReg* vreg = tied->vreg; \
\
uint32_t _kind = vreg->getKind(); \
uint32_t _index = tiedIndex.get(_kind); \
\
tiedIndex.add(_kind); \
if (tied->inRegs) \
tied->allocableRegs = tied->inRegs; \
else if (tied->outPhysId != Globals::kInvalidRegId) \
tied->allocableRegs = Utils::mask(tied->outPhysId); \
else \
tied->allocableRegs &= ~inRegs.get(_kind); \
\
vreg->_tied = nullptr; \
raData->setTiedAt(_index, *tied); \
\
tied++; \
tiedTotal--; \
} \
NODE->setPassData(raData); \
} \
} while (0)
#define RA_INSERT(REG, TIED, FLAGS, NEW_ALLOCABLE) \
do { \
ASMJIT_ASSERT(REG->_tied == nullptr); \
TIED = &agTmp[tiedTotal++]; \
TIED->init(REG, FLAGS, 0, NEW_ALLOCABLE); \
TIED->refCount++; \
REG->_tied = TIED; \
\
if (assignRAId(REG) != kErrorOk) goto NoMem; \
tiedCount.add(REG->getKind()); \
} while (0)
#define RA_MERGE(REG, TIED, FLAGS, NEW_ALLOCABLE) \
do { \
TIED = REG->_tied; \
\
if (!TIED) { \
TIED = &agTmp[tiedTotal++]; \
TIED->init(REG, 0, 0, NEW_ALLOCABLE); \
REG->_tied = TIED; \
\
if (assignRAId(REG) != kErrorOk) goto NoMem; \
tiedCount.add(REG->getKind()); \
} \
\
TIED->flags |= FLAGS; \
TIED->refCount++; \
} while (0)
// --------------------------------------------------------------------------
// [Loop]
// --------------------------------------------------------------------------
do {
_Do:
while (node_->hasPassData()) {
_NextGroup:
if (!jLink)
jLink = _jccList.getFirst();
else
jLink = jLink->getNext();
if (!jLink) goto _Done;
node_ = X86RAPass_getOppositeJccFlow(static_cast<CBJump*>(jLink->getValue()));
}
position++;
next = node_->getNext();
node_->setPosition(position);
switch (node_->getType()) {
// ----------------------------------------------------------------------
// [Align/Embed]
// ----------------------------------------------------------------------
case CBNode::kNodeAlign:
case CBNode::kNodeData:
default:
RA_POPULATE(node_);
break;
// ----------------------------------------------------------------------
// [Hint]
// ----------------------------------------------------------------------
case CBNode::kNodeHint: {
CCHint* node = static_cast<CCHint*>(node_);
RA_DECLARE();
if (node->getHint() == CCHint::kHintAlloc) {
uint32_t remain[Globals::kMaxVRegKinds];
CCHint* cur = node;
remain[X86Reg::kKindGp ] = _regCount.getGp() - 1 - func->getFrameInfo().hasPreservedFP();
remain[X86Reg::kKindMm ] = _regCount.getMm();
remain[X86Reg::kKindK ] = _regCount.getK();
remain[X86Reg::kKindVec] = _regCount.getVec();
// Merge as many alloc-hints as possible.
for (;;) {
VirtReg* vreg = static_cast<VirtReg*>(cur->getVReg());
TiedReg* tied = vreg->_tied;
uint32_t kind = vreg->getKind();
uint32_t physId = cur->getValue();
uint32_t regMask = 0;
// We handle both kInvalidReg and kInvalidValue.
if (physId < Globals::kInvalidRegId)
regMask = Utils::mask(physId);
if (!tied) {
if (inRegs.has(kind, regMask) || remain[kind] == 0)
break;
RA_INSERT(vreg, tied, TiedReg::kRReg, gaRegs[kind]);
if (regMask != 0) {
inRegs.xor_(kind, regMask);
tied->inRegs = regMask;
tied->setInPhysId(physId);
}
remain[kind]--;
}
else if (regMask != 0) {
if (inRegs.has(kind, regMask) && tied->inRegs != regMask)
break;
inRegs.xor_(kind, tied->inRegs | regMask);
tied->inRegs = regMask;
tied->setInPhysId(physId);
}
if (cur != node)
cc()->removeNode(cur);
cur = static_cast<CCHint*>(node->getNext());
if (!cur || cur->getType() != CBNode::kNodeHint || cur->getHint() != CCHint::kHintAlloc)
break;
}
next = node->getNext();
}
else {
VirtReg* vreg = static_cast<VirtReg*>(node->getVReg());
TiedReg* tied;
uint32_t flags = 0;
switch (node->getHint()) {
case CCHint::kHintSpill : flags = TiedReg::kRMem | TiedReg::kSpill; break;
case CCHint::kHintSave : flags = TiedReg::kRMem ; break;
case CCHint::kHintSaveAndUnuse: flags = TiedReg::kRMem | TiedReg::kUnuse; break;
case CCHint::kHintUnuse : flags = TiedReg::kUnuse ; break;
}
RA_INSERT(vreg, tied, flags, 0);
}
RA_FINALIZE(node_);
break;
}
// ----------------------------------------------------------------------
// [Label]
// ----------------------------------------------------------------------
case CBNode::kNodeLabel: {
RA_POPULATE(node_);
if (node_ == func->getExitNode()) {
ASMJIT_PROPAGATE(addReturningNode(node_));
goto _NextGroup;
}
break;
}
// ----------------------------------------------------------------------
// [Inst]
// ----------------------------------------------------------------------
case CBNode::kNodeInst: {
CBInst* node = static_cast<CBInst*>(node_);
uint32_t instId = node->getInstId();
uint32_t flags = node->getFlags();
uint32_t options = node->getOptions();
uint32_t gpAllowedMask = 0xFFFFFFFF;
Operand* opArray = node->getOpArray();
uint32_t opCount = node->getOpCount();
RA_DECLARE();
if (opCount) {
const X86Inst& inst = X86Inst::getInst(instId);
const X86Inst::CommonData& commonData = inst.getCommonData();
const X86SpecialInst* special = nullptr;
// Collect instruction flags and merge all 'TiedReg's.
if (commonData.isFpu())
flags |= CBNode::kFlagIsFp;
if (commonData.hasFixedRM() && (special = X86SpecialInst_get(instId, opArray, opCount)) != nullptr)
flags |= CBNode::kFlagIsSpecial;
for (uint32_t i = 0; i < opCount; i++) {
Operand* op = &opArray[i];
VirtReg* vreg;
TiedReg* tied;
if (op->isVirtReg()) {
vreg = cc()->getVirtRegById(op->getId());
if (vreg->isFixed()) continue;
RA_MERGE(vreg, tied, 0, gaRegs[vreg->getKind()] & gpAllowedMask);
if (static_cast<X86Reg*>(op)->isGpb()) {
tied->flags |= static_cast<X86Gp*>(op)->isGpbLo() ? TiedReg::kX86GpbLo : TiedReg::kX86GpbHi;
if (archType == ArchInfo::kTypeX86) {
// If a byte register is accessed in 32-bit mode we have to limit
// all allocable registers for that variable to eax/ebx/ecx/edx.
// Other variables are not affected.
tied->allocableRegs &= 0x0F;
}
else {
// It's fine if lo-byte register is accessed in 64-bit mode;
// however, hi-byte has to be checked and if it's used all
// registers (GP/XMM) could be only allocated in the lower eight
// half. To do that, we patch 'allocableRegs' of all variables
// we collected until now and change the allocable restriction
// for variables that come after.
if (static_cast<X86Gp*>(op)->isGpbHi()) {
tied->allocableRegs &= 0x0F;
if (gpAllowedMask != 0xFF) {
for (uint32_t j = 0; j < i; j++)
agTmp[j].allocableRegs &= (agTmp[j].flags & TiedReg::kX86GpbHi) ? 0x0F : 0xFF;
gpAllowedMask = 0xFF;
}
}
}
}
if (special) {
uint32_t inReg = special[i].inReg;
uint32_t outReg = special[i].outReg;
uint32_t c;
if (static_cast<const X86Reg*>(op)->isGp())
c = X86Reg::kKindGp;
else
c = X86Reg::kKindVec;
if (inReg != Globals::kInvalidRegId) {
uint32_t mask = Utils::mask(inReg);
inRegs.or_(c, mask);
tied->inRegs |= mask;
}
if (outReg != Globals::kInvalidRegId) {
uint32_t mask = Utils::mask(outReg);
outRegs.or_(c, mask);
tied->setOutPhysId(outReg);
}
tied->flags |= special[i].flags;
}
else {
uint32_t inFlags = TiedReg::kRReg;
uint32_t outFlags = TiedReg::kWReg;
uint32_t combinedFlags;
if (i == 0) {
// Read/Write is usually the combination of the first operand.
combinedFlags = inFlags | outFlags;
if (node->getOptions() & CodeEmitter::kOptionOverwrite) {
// Manually forcing write-only.
combinedFlags = outFlags;
}
else if (commonData.isUseW()) {
// Write-only instruction.
uint32_t movSize = commonData.getWriteSize();
uint32_t regSize = vreg->getSize();
// Exception - If the source operand is a memory location
// promote move size into 16 bytes.
if (opArray[1].isMem() && inst.getOperationData().isMovSsSd())
movSize = 16;
if (static_cast<const X86Reg*>(op)->isGp()) {
uint32_t opSize = static_cast<const X86Reg*>(op)->getSize();
// Move size is zero in case that it should be determined
// from the destination register.
if (movSize == 0)
movSize = opSize;
// Handle the case that a 32-bit operation in 64-bit mode
// always clears the rest of the destination register and
// the case that move size is actually greater than or
// equal to the size of the variable.
if (movSize >= 4 || movSize >= regSize)
combinedFlags = outFlags;
}
else if (movSize == 0 || movSize >= regSize) {
// If move size is greater than or equal to the size of
// the variable there is nothing to do, because the move
// will overwrite the variable in all cases.
combinedFlags = outFlags;
}
}
else if (commonData.isUseR()) {
// Comparison/Test instructions don't modify any operand.
combinedFlags = inFlags;
}
else if (instId == X86Inst::kIdImul && opCount == 3) {
// Imul.
combinedFlags = outFlags;
}
}
else {
// Read-Only is usualy the combination of the second/third/fourth operands.
combinedFlags = inFlags;
// Idiv is a special instruction, never handled here.
ASMJIT_ASSERT(instId != X86Inst::kIdIdiv);
// Xchg/Xadd/Imul.
if (commonData.isUseXX() || (instId == X86Inst::kIdImul && opCount == 3 && i == 1))
combinedFlags = inFlags | outFlags;
}
tied->flags |= combinedFlags;
}
}
else if (op->isMem()) {
X86Mem* m = static_cast<X86Mem*>(op);
node->setMemOpIndex(i);
uint32_t specBase = special ? uint32_t(special[i].inReg) : uint32_t(Globals::kInvalidRegId);
if (m->hasBaseReg()) {
uint32_t id = m->getBaseId();
if (cc()->isVirtRegValid(id)) {
vreg = cc()->getVirtRegById(id);
if (!vreg->isStack() && !vreg->isFixed()) {
RA_MERGE(vreg, tied, 0, gaRegs[vreg->getKind()] & gpAllowedMask);
if (m->isRegHome()) {
uint32_t inFlags = TiedReg::kRMem;
uint32_t outFlags = TiedReg::kWMem;
uint32_t combinedFlags;
if (i == 0) {
// Default for the first operand.
combinedFlags = inFlags | outFlags;
if (commonData.isUseW()) {
// Move to memory - setting the right flags is important
// as if it's just move to the register. It's just a bit
// simpler as there are no special cases.
uint32_t movSize = std::max<uint32_t>(commonData.getWriteSize(), m->getSize());
uint32_t regSize = vreg->getSize();
if (movSize >= regSize)
combinedFlags = outFlags;
}
else if (commonData.isUseR()) {
// Comparison/Test instructions don't modify any operand.
combinedFlags = inFlags;
}
}
else {
// Default for the second operand.
combinedFlags = inFlags;
// Handle Xchg instruction (modifies both operands).
if (commonData.isUseXX())
combinedFlags = inFlags | outFlags;
}
tied->flags |= combinedFlags;
}
else {
if (specBase != Globals::kInvalidRegId) {
uint32_t mask = Utils::mask(specBase);
inRegs.or_(vreg->getKind(), mask);
outRegs.or_(vreg->getKind(), mask);
tied->inRegs |= mask;
tied->setOutPhysId(specBase);
tied->flags |= special[i].flags;
}
else {
tied->flags |= TiedReg::kRReg;
}
}
}
}
}
if (m->hasIndexReg()) {
uint32_t id = m->getIndexId();
if (cc()->isVirtRegValid(id)) {
// Restrict allocation to all registers except ESP|RSP.
vreg = cc()->getVirtRegById(m->getIndexId());
if (!vreg->isFixed()) {
// TODO: AVX vector operands support.
RA_MERGE(vreg, tied, 0, gaRegs[X86Reg::kKindGp] & gpAllowedMask);
tied->allocableRegs &= indexMask;
tied->flags |= TiedReg::kRReg;
}
}
}
}
}
node->setFlags(flags);
if (tiedTotal) {
// Handle instructions which result in zeros/ones or nop if used with the
// same destination and source operand.
if (tiedTotal == 1 && opCount >= 2 && opArray[0].isVirtReg() && opArray[1].isVirtReg() && !node->hasMemOp())
X86RAPass_prepareSingleVarInst(instId, &agTmp[0]);
}
// Turn on AVX if the instruction operates on XMM|YMM|ZMM registers and uses VEX|EVEX prefix.
if (tiedCount.getVec() && commonData.hasFlag(X86Inst::kFlagVex | X86Inst::kFlagEvex))
_avxEnabled = true;
}
const RegOnly& extraReg = node->getExtraReg();
if (extraReg.isValid()) {
uint32_t id = extraReg.getId();
if (cc()->isVirtRegValid(id)) {
VirtReg* vreg = cc()->getVirtRegById(id);
TiedReg* tied;
RA_MERGE(vreg, tied, 0, gaRegs[vreg->getKind()] & gpAllowedMask);
if (options & (X86Inst::kOptionRep | X86Inst::kOptionRepnz)) {
tied->allocableRegs = Utils::mask(X86Gp::kIdCx);
tied->flags |= TiedReg::kXReg;
}
else {
tied->flags |= TiedReg::kRReg;
}
}
}
RA_FINALIZE(node_);
// Handle conditional/unconditional jump.
if (node->isJmpOrJcc()) {
CBJump* jNode = static_cast<CBJump*>(node);
CBLabel* jTarget = jNode->getTarget();
// If this jump is unconditional we put next node to unreachable node
// list so we can eliminate possible dead code. We have to do this in
// all cases since we are unable to translate without fetch() step.
//
// We also advance our node pointer to the target node to simulate
// natural flow of the function.
if (jNode->isJmp()) {
if (next && !next->hasPassData())
ASMJIT_PROPAGATE(addUnreachableNode(next));
// Jump not followed.
if (!jTarget) {
ASMJIT_PROPAGATE(addReturningNode(jNode));
goto _NextGroup;
}
node_ = jTarget;
goto _Do;
}
else {
// Jump not followed.
if (!jTarget) break;
if (jTarget->hasPassData()) {
uint32_t jTargetPosition = jTarget->getPosition();
// Update CBNode::kFlagIsTaken to true if this is a conditional
// backward jump. This behavior can be overridden by using
// `X86Inst::kOptionTaken` when the instruction is created.
if (!jNode->isTaken() && opCount == 1 && jTargetPosition <= position) {
jNode->_flags |= CBNode::kFlagIsTaken;
}
}
else if (next->hasPassData()) {
node_ = jTarget;
goto _Do;
}
else {
ASMJIT_PROPAGATE(addJccNode(jNode));
node_ = X86RAPass_getJccFlow(jNode);
goto _Do;
}
}
}
break;
}
// ----------------------------------------------------------------------
// [Func-Entry]
// ----------------------------------------------------------------------
case CBNode::kNodeFunc: {
ASMJIT_ASSERT(node_ == func);
X86RAPass_assignStackArgsRegId(this, func);
FuncDetail& fd = func->getDetail();
TiedReg* tied;
RA_DECLARE();
cc()->setCursor(node_);
X86Gp saReg;
uint32_t argCount = fd.getArgCount();
for (uint32_t i = 0; i < argCount; i++) {
const FuncDetail::Value& arg = fd.getArg(i);
VirtReg* vReg = func->getArg(i);
if (!vReg) continue;
// Overlapped function arguments.
if (vReg->_tied)
return DebugUtils::errored(kErrorOverlappedRegs);
uint32_t aKind = X86Reg::kindOf(arg.getRegType());
uint32_t vKind = vReg->getKind();
if (arg.byReg()) {
if (aKind == vKind) {
RA_INSERT(vReg, tied, TiedReg::kWReg, 0);
tied->setOutPhysId(arg.getRegId());
}
else {
X86Reg rTmp = cc()->newReg(arg.getTypeId(), "arg%u", i);
VirtReg* vTmp = cc()->getVirtReg(rTmp);
RA_INSERT(vTmp, tied, TiedReg::kWReg, 0);
tied->setOutPhysId(arg.getRegId());
X86Reg dstReg(X86Reg::fromSignature(vReg->getSignature(), vReg->getId()));
X86Reg srcReg(X86Reg::fromSignature(vTmp->getSignature(), vTmp->getId()));
// Emit conversion after the prolog.
return X86Internal::emitArgMove(reinterpret_cast<X86Emitter*>(cc()),
dstReg, vReg->getTypeId(),
srcReg, vTmp->getTypeId(), _avxEnabled);
}
}
else {
// Instead of complicating the prolog allocation we create a virtual
// register that holds the base address to all arguments passed by
// stack and then insert nodes that copy these arguments to registers.
if (!saReg.isValid()) {
saReg = cc()->newGpz("__args");
if (!saReg.isValid()) goto NoMem;
VirtReg* saBase = cc()->getVirtReg(saReg);
RA_INSERT(saBase, tied, TiedReg::kWReg, 0);
if (func->getFrameInfo().hasPreservedFP())
saBase->_isFixed = true;
tied->setOutPhysId(func->getFrameInfo().getStackArgsRegId());
}
// Argument passed by stack is handled after the prolog.
X86Gp aReg = X86Gp::fromSignature(vReg->getSignature(), vReg->getId());
X86Mem aMem = x86::ptr(saReg, arg.getStackOffset());
aMem.setArgHome();
ASMJIT_PROPAGATE(
X86Internal::emitArgMove(reinterpret_cast<X86Emitter*>(cc()),
aReg, vReg->getTypeId(), aMem, arg.getTypeId(), _avxEnabled));
}
}
// If saReg is not needed, clear it also from FuncFrameInfo.
if (!saReg.isValid())
func->getFrameInfo().setStackArgsRegId(Globals::kInvalidRegId);
RA_FINALIZE(node_);
next = node_->getNext();
break;
}
// ----------------------------------------------------------------------
// [End]
// ----------------------------------------------------------------------
case CBNode::kNodeSentinel: {
RA_POPULATE(node_);
ASMJIT_PROPAGATE(addReturningNode(node_));
goto _NextGroup;
}
// ----------------------------------------------------------------------
// [Func-Exit]
// ----------------------------------------------------------------------
case CBNode::kNodeFuncExit: {
CCFuncRet* node = static_cast<CCFuncRet*>(node_);
ASMJIT_PROPAGATE(addReturningNode(node));
FuncDetail& fd = func->getDetail();
RA_DECLARE();
if (fd.hasRet()) {
const FuncDetail::Value& ret = fd.getRet(0);
uint32_t retKind = X86Reg::kindOf(ret.getRegType());
for (uint32_t i = 0; i < 2; i++) {
Operand_* op = &node->_ret[i];
if (op->isVirtReg()) {
VirtReg* vreg = cc()->getVirtRegById(op->getId());
TiedReg* tied;
RA_MERGE(vreg, tied, 0, 0);
if (retKind == vreg->getKind()) {
tied->flags |= TiedReg::kRReg;
tied->inRegs = Utils::mask(ret.getRegId());
inRegs.or_(retKind, tied->inRegs);
}
else if (retKind == X86Reg::kKindFp) {
uint32_t fldFlag = ret.getTypeId() == TypeId::kF32 ? TiedReg::kX86Fld4 : TiedReg::kX86Fld8;
tied->flags |= TiedReg::kRMem | fldFlag;
}
else {
// TODO: Fix possible other return type conversions.
ASMJIT_NOT_REACHED();
}
}
}
}
RA_FINALIZE(node_);
if (!next->hasPassData())
ASMJIT_PROPAGATE(addUnreachableNode(next));
goto _NextGroup;
}
// ----------------------------------------------------------------------
// [Func-Call]
// ----------------------------------------------------------------------
case CBNode::kNodeFuncCall: {
CCFuncCall* node = static_cast<CCFuncCall*>(node_);
FuncDetail& fd = node->getDetail();
Operand_* target = node->_opArray;
Operand_* args = node->_args;
Operand_* rets = node->_ret;
func->getFrameInfo().enableCalls();
func->getFrameInfo().mergeCallFrameSize(fd.getArgStackSize());
// TODO: Each function frame should also define its stack arguments' alignment.
// func->getFrameInfo().mergeCallFrameAlignment();
uint32_t i;
uint32_t argCount = fd.getArgCount();
uint32_t sArgCount = 0;
uint32_t gpAllocableMask = gaRegs[X86Reg::kKindGp] & ~node->getDetail().getUsedRegs(X86Reg::kKindGp);
VirtReg* vreg;
TiedReg* tied;
RA_DECLARE();
// Function-call operand.
if (target->isVirtReg()) {
vreg = cc()->getVirtRegById(target->getId());
RA_MERGE(vreg, tied, 0, 0);
tied->flags |= TiedReg::kRReg | TiedReg::kRCall;
if (tied->inRegs == 0)
tied->allocableRegs |= gpAllocableMask;
}
else if (target->isMem()) {
X86Mem* m = static_cast<X86Mem*>(target);
if (m->hasBaseReg() && Operand::isPackedId(m->getBaseId())) {
vreg = cc()->getVirtRegById(m->getBaseId());
if (!vreg->isStack()) {
RA_MERGE(vreg, tied, 0, 0);
if (m->isRegHome()) {
tied->flags |= TiedReg::kRMem | TiedReg::kRCall;
}
else {
tied->flags |= TiedReg::kRReg | TiedReg::kRCall;
if (tied->inRegs == 0)
tied->allocableRegs |= gpAllocableMask;
}
}
}
if (m->hasIndexReg() && Operand::isPackedId(m->getIndexId())) {
// Restrict allocation to all registers except ESP/RSP.
vreg = cc()->getVirtRegById(m->getIndexId());
RA_MERGE(vreg, tied, 0, 0);
tied->flags |= TiedReg::kRReg | TiedReg::kRCall;
if ((tied->inRegs & ~indexMask) == 0)
tied->allocableRegs &= gpAllocableMask & indexMask;
}
}
// Function-call arguments.
for (i = 0; i < argCount; i++) {
Operand_* op = &args[i];
if (!op->isVirtReg()) continue;
vreg = cc()->getVirtRegById(op->getId());
const FuncDetail::Value& arg = fd.getArg(i);
if (arg.byReg()) {
RA_MERGE(vreg, tied, 0, 0);
uint32_t argClass = X86Reg::kindOf(arg.getRegType());
if (vreg->getKind() == argClass) {
tied->inRegs |= Utils::mask(arg.getRegId());
tied->flags |= TiedReg::kRReg | TiedReg::kRFunc;
}
else {
// TODO: Function-call argument conversion.
}
}
// If this is a stack-based argument we insert CCPushArg instead of
// using TiedReg. It improves the code, because the argument can be
// moved onto stack as soon as it is ready and the register used by
// the variable can be reused for something else. It is also much
// easier to handle argument conversions, because there will be at
// most only one node per conversion.
else {
if (X86RAPass_insertPushArg(this, node, vreg, gaRegs, arg, i, sArgList, sArgCount) != kErrorOk)
goto NoMem;
}
}
// Function-call returns.
for (i = 0; i < 2; i++) {
Operand_* op = &rets[i];
if (!op->isVirtReg()) continue;
const FuncDetail::Value& ret = fd.getRet(i);
if (ret.byReg()) {
uint32_t retKind = X86Reg::kindOf(ret.getRegType());
vreg = cc()->getVirtRegById(op->getId());
RA_MERGE(vreg, tied, 0, 0);
if (vreg->getKind() == retKind) {
tied->setOutPhysId(ret.getRegId());
tied->flags |= TiedReg::kWReg | TiedReg::kWFunc;
}
else {
// TODO: Function-call return value conversion.
}
}
}
// Init clobbered.
clobberedRegs.set(X86Reg::kKindGp , Utils::bits(_regCount.getGp()) & (fd.getPassedRegs(X86Reg::kKindGp ) | ~fd.getPreservedRegs(X86Reg::kKindGp )));
clobberedRegs.set(X86Reg::kKindMm , Utils::bits(_regCount.getMm()) & (fd.getPassedRegs(X86Reg::kKindMm ) | ~fd.getPreservedRegs(X86Reg::kKindMm )));
clobberedRegs.set(X86Reg::kKindK , Utils::bits(_regCount.getK()) & (fd.getPassedRegs(X86Reg::kKindK ) | ~fd.getPreservedRegs(X86Reg::kKindK )));
clobberedRegs.set(X86Reg::kKindVec, Utils::bits(_regCount.getVec()) & (fd.getPassedRegs(X86Reg::kKindVec) | ~fd.getPreservedRegs(X86Reg::kKindVec)));
RA_FINALIZE(node_);
break;
}
}
node_ = next;
} while (node_ != stop);
_Done:
// Mark exit label and end node as fetched, otherwise they can be removed by
// `removeUnreachableCode()`, which could lead to a crash in some later step.
node_ = func->getEnd();
if (!node_->hasPassData()) {
CBLabel* fExit = func->getExitNode();
RA_POPULATE(fExit);
fExit->setPosition(++position);
RA_POPULATE(node_);
node_->setPosition(++position);
}
return kErrorOk;
// --------------------------------------------------------------------------
// [Failure]
// --------------------------------------------------------------------------
NoMem:
return DebugUtils::errored(kErrorNoHeapMemory);
}
// ============================================================================
// [asmjit::X86RAPass - Annotate]
// ============================================================================
Error X86RAPass::annotate() {
#if !defined(ASMJIT_DISABLE_LOGGING)
CCFunc* func = getFunc();
CBNode* node_ = func;
CBNode* end = func->getEnd();
Zone& dataZone = cc()->_cbDataZone;
StringBuilderTmp<256> sb;
uint32_t maxLen = 0;
while (node_ && node_ != end) {
if (!node_->hasInlineComment()) {
if (node_->getType() == CBNode::kNodeInst) {
CBInst* node = static_cast<CBInst*>(node_);
Logging::formatInstruction(
sb,
0,
cc(),
cc()->getArchType(),
node->getInstDetail(), node->getOpArray(), node->getOpCount());
node_->setInlineComment(
static_cast<char*>(dataZone.dup(sb.getData(), sb.getLength(), true)));
maxLen = std::max<uint32_t>(maxLen, static_cast<uint32_t>(sb.getLength()));
sb.clear();
}
}
node_ = node_->getNext();
}
_annotationLength = maxLen + 1;
#endif // !ASMJIT_DISABLE_LOGGING
return kErrorOk;
}
// ============================================================================
// [asmjit::X86BaseAlloc]
// ============================================================================
struct X86BaseAlloc {
// --------------------------------------------------------------------------
// [Construction / Destruction]
// --------------------------------------------------------------------------
ASMJIT_INLINE X86BaseAlloc(X86RAPass* context) {
_context = context;
_cc = context->cc();
}
ASMJIT_INLINE ~X86BaseAlloc() {}
// --------------------------------------------------------------------------
// [Accessors]
// --------------------------------------------------------------------------
//! Get the context.
ASMJIT_INLINE X86RAPass* getContext() const { return _context; }
//! Get the current state (always the same instance as X86RAPass::_x86State).
ASMJIT_INLINE X86RAState* getState() const { return _context->getState(); }
//! Get the node.
ASMJIT_INLINE CBNode* getNode() const { return _node; }
//! Get TiedReg list (all).
ASMJIT_INLINE TiedReg* getTiedArray() const { return _tiedArray[0]; }
//! Get TiedReg list (per class).
ASMJIT_INLINE TiedReg* getTiedArrayByKind(uint32_t kind) const { return _tiedArray[kind]; }
//! Get TiedReg count (all).
ASMJIT_INLINE uint32_t getTiedCount() const { return _tiedTotal; }
//! Get TiedReg count (per class).
ASMJIT_INLINE uint32_t getTiedCountByKind(uint32_t kind) const { return _tiedCount.get(kind); }
//! Get if all variables of the given register `kind` are done.
ASMJIT_INLINE bool isTiedDone(uint32_t kind) const { return _tiedDone.get(kind) == _tiedCount.get(kind); }
//! Get how many variables have been allocated.
ASMJIT_INLINE uint32_t getTiedDone(uint32_t kind) const { return _tiedDone.get(kind); }
//! Add to the count of variables allocated.
ASMJIT_INLINE void addTiedDone(uint32_t kind, uint32_t n = 1) { _tiedDone.add(kind, n); }
//! Get number of allocable registers per class.
ASMJIT_INLINE uint32_t getGaRegs(uint32_t kind) const {
return _context->_gaRegs[kind];
}
// --------------------------------------------------------------------------
// [Init / Cleanup]
// --------------------------------------------------------------------------
protected:
// Just to prevent calling these methods by X86RAPass::translate().
ASMJIT_INLINE void init(CBNode* node, X86RAData* map);
ASMJIT_INLINE void cleanup();
// --------------------------------------------------------------------------
// [Unuse]
// --------------------------------------------------------------------------
template<int C>
ASMJIT_INLINE void unuseBefore();
template<int C>
ASMJIT_INLINE void unuseAfter();
// --------------------------------------------------------------------------
// [Members]
// --------------------------------------------------------------------------
//! RA context.
X86RAPass* _context;
//! Compiler.
X86Compiler* _cc;
//! Node.
CBNode* _node;
//! Register allocator (RA) data.
X86RAData* _raData;
//! TiedReg list (per register kind).
TiedReg* _tiedArray[Globals::kMaxVRegKinds];
//! Count of all TiedReg's.
uint32_t _tiedTotal;
//! TiedReg's total counter.
X86RegCount _tiedCount;
//! TiedReg's done counter.
X86RegCount _tiedDone;
};
// ============================================================================
// [asmjit::X86BaseAlloc - Init / Cleanup]
// ============================================================================
ASMJIT_INLINE void X86BaseAlloc::init(CBNode* node, X86RAData* raData) {
_node = node;
_raData = raData;
// We have to set the correct cursor in case any instruction is emitted
// during the allocation phase; it has to be emitted before the current
// instruction.
_cc->_setCursor(node->getPrev());
// Setup the lists of variables.
{
TiedReg* tied = raData->getTiedArray();
_tiedArray[X86Reg::kKindGp ] = tied;
_tiedArray[X86Reg::kKindMm ] = tied + raData->getTiedStart(X86Reg::kKindMm );
_tiedArray[X86Reg::kKindK ] = tied + raData->getTiedStart(X86Reg::kKindK );
_tiedArray[X86Reg::kKindVec] = tied + raData->getTiedStart(X86Reg::kKindVec);
}
// Setup counters.
_tiedTotal = raData->tiedTotal;
_tiedCount = raData->tiedCount;
_tiedDone.reset();
// Connect VREG->TIED.
for (uint32_t i = 0; i < _tiedTotal; i++) {
TiedReg* tied = &_tiedArray[0][i];
VirtReg* vreg = tied->vreg;
vreg->_tied = tied;
}
}
ASMJIT_INLINE void X86BaseAlloc::cleanup() {
// Disconnect VREG->TIED.
for (uint32_t i = 0; i < _tiedTotal; i++) {
TiedReg* tied = &_tiedArray[0][i];
VirtReg* vreg = tied->vreg;
vreg->_tied = nullptr;
}
}
// ============================================================================
// [asmjit::X86BaseAlloc - Unuse]
// ============================================================================
template<int C>
ASMJIT_INLINE void X86BaseAlloc::unuseBefore() {
TiedReg* tiedArray = getTiedArrayByKind(C);
uint32_t tiedCount = getTiedCountByKind(C);
const uint32_t checkFlags = TiedReg::kXReg |
TiedReg::kRMem |
TiedReg::kRFunc |
TiedReg::kRCall ;
for (uint32_t i = 0; i < tiedCount; i++) {
TiedReg* tied = &tiedArray[i];
if ((tied->flags & checkFlags) == TiedReg::kWReg)
_context->unuse<C>(tied->vreg);
}
}
template<int C>
ASMJIT_INLINE void X86BaseAlloc::unuseAfter() {
TiedReg* tiedArray = getTiedArrayByKind(C);
uint32_t tiedCount = getTiedCountByKind(C);
for (uint32_t i = 0; i < tiedCount; i++) {
TiedReg* tied = &tiedArray[i];
if (tied->flags & TiedReg::kUnuse)
_context->unuse<C>(tied->vreg);
}
}
// ============================================================================
// [asmjit::X86VarAlloc]
// ============================================================================
//! \internal
//!
//! Register allocator context (asm instructions).
struct X86VarAlloc : public X86BaseAlloc {
// --------------------------------------------------------------------------
// [Construction / Destruction]
// --------------------------------------------------------------------------
ASMJIT_INLINE X86VarAlloc(X86RAPass* context) : X86BaseAlloc(context) {}
ASMJIT_INLINE ~X86VarAlloc() {}
// --------------------------------------------------------------------------
// [Run]
// --------------------------------------------------------------------------
Error run(CBNode* node);
// --------------------------------------------------------------------------
// [Init / Cleanup]
// --------------------------------------------------------------------------
protected:
// Just to prevent calling these methods by X86RAPass::translate().
ASMJIT_INLINE void init(CBNode* node, X86RAData* map);
ASMJIT_INLINE void cleanup();
// --------------------------------------------------------------------------
// [Plan / Spill / Alloc]
// --------------------------------------------------------------------------
template<int C>
ASMJIT_INLINE void plan();
template<int C>
ASMJIT_INLINE void spill();
template<int C>
ASMJIT_INLINE void alloc();
// --------------------------------------------------------------------------
// [GuessAlloc / GuessSpill]
// --------------------------------------------------------------------------
//! Guess which register is the best candidate for `vreg` from `allocableRegs`.
//!
//! The guess is based on looking ahead and inspecting register allocator
//! instructions. The main reason is to prevent allocation to a register
//! which is needed by next instruction(s). The guess look tries to go as far
//! as possible, after the remaining registers are zero, the mask of previous
//! registers (called 'safeRegs') is returned.
template<int C>
ASMJIT_INLINE uint32_t guessAlloc(VirtReg* vreg, uint32_t allocableRegs);
//! Guess whether to move the given `vreg` instead of spill.
template<int C>
ASMJIT_INLINE uint32_t guessSpill(VirtReg* vreg, uint32_t allocableRegs);
// --------------------------------------------------------------------------
// [Modified]
// --------------------------------------------------------------------------
template<int C>
ASMJIT_INLINE void modified();
// --------------------------------------------------------------------------
// [Members]
// --------------------------------------------------------------------------
//! Will alloc to these registers.
X86RegMask _willAlloc;
//! Will spill these registers.
X86RegMask _willSpill;
};
// ============================================================================
// [asmjit::X86VarAlloc - Run]
// ============================================================================
Error X86VarAlloc::run(CBNode* node_) {
// Initialize.
X86RAData* raData = node_->getPassData<X86RAData>();
// Initialize the allocator; connect Vd->Va.
init(node_, raData);
if (raData->tiedTotal != 0) {
// Unuse overwritten variables.
unuseBefore<X86Reg::kKindGp>();
unuseBefore<X86Reg::kKindMm>();
unuseBefore<X86Reg::kKindVec>();
// Plan the allocation. Planner assigns input/output registers for each
// variable and decides whether to allocate it in register or stack.
plan<X86Reg::kKindGp>();
plan<X86Reg::kKindMm>();
plan<X86Reg::kKindVec>();
// Spill all variables marked by plan().
spill<X86Reg::kKindGp>();
spill<X86Reg::kKindMm>();
spill<X86Reg::kKindVec>();
// Alloc all variables marked by plan().
alloc<X86Reg::kKindGp>();
alloc<X86Reg::kKindMm>();
alloc<X86Reg::kKindVec>();
// Translate node operands.
if (node_->getType() == CBNode::kNodeInst) {
CBInst* node = static_cast<CBInst*>(node_);
if (node->hasExtraReg()) {
Reg reg = node->getExtraReg().toReg<Reg>();
ASMJIT_PROPAGATE(X86RAPass_translateOperands(_context, ®, 1));
node->setExtraReg(reg);
}
ASMJIT_PROPAGATE(X86RAPass_translateOperands(_context, node->getOpArray(), node->getOpCount()));
}
else if (node_->getType() == CBNode::kNodePushArg) {
CCPushArg* node = static_cast<CCPushArg*>(node_);
CCFuncCall* call = static_cast<CCFuncCall*>(node->getCall());
FuncDetail& fd = call->getDetail();
uint32_t argIndex = 0;
uint32_t argMask = node->_args;
VirtReg* cvtReg = node->getCvtReg();
VirtReg* srcReg = node->getSrcReg();
// Convert first.
ASMJIT_ASSERT(srcReg->getPhysId() != Globals::kInvalidRegId);
if (cvtReg) {
ASMJIT_ASSERT(cvtReg->getPhysId() != Globals::kInvalidRegId);
X86Reg dstOp(X86Reg::fromSignature(cvtReg->getSignature(), cvtReg->getId()));
X86Reg srcOp(X86Reg::fromSignature(srcReg->getSignature(), srcReg->getId()));
// Emit conversion after the prolog.
X86Internal::emitArgMove(reinterpret_cast<X86Emitter*>(_context->cc()),
dstOp, cvtReg->getTypeId(),
srcOp, srcReg->getTypeId(), _context->_avxEnabled);
srcReg = cvtReg;
}
while (argMask != 0) {
if (argMask & 0x1) {
FuncDetail::Value& arg = fd.getArg(argIndex);
ASMJIT_ASSERT(arg.byStack());
X86Mem dst = x86::ptr(_context->_zsp, -static_cast<int>(_context->getGpSize()) + arg.getStackOffset());
_context->emitRegToStack(arg.getTypeId(), &dst, srcReg->getTypeId(), srcReg->getPhysId());
}
argIndex++;
argMask >>= 1;
}
}
// Mark variables as modified.
modified<X86Reg::kKindGp>();
modified<X86Reg::kKindMm>();
modified<X86Reg::kKindVec>();
// Cleanup; disconnect Vd->Va.
cleanup();
// Update clobbered mask.
_context->_clobberedRegs.or_(_willAlloc);
}
// Update clobbered mask.
_context->_clobberedRegs.or_(raData->clobberedRegs);
// Unuse.
if (raData->tiedTotal != 0) {
unuseAfter<X86Reg::kKindGp>();
unuseAfter<X86Reg::kKindMm>();
unuseAfter<X86Reg::kKindVec>();
}
return kErrorOk;
}
// ============================================================================
// [asmjit::X86VarAlloc - Init / Cleanup]
// ============================================================================
ASMJIT_INLINE void X86VarAlloc::init(CBNode* node, X86RAData* raData) {
X86BaseAlloc::init(node, raData);
// These will block planner from assigning them during planning. Planner will
// add more registers when assigning registers to variables that don't need
// any specific register.
_willAlloc = raData->inRegs;
_willAlloc.or_(raData->outRegs);
_willSpill.reset();
}
ASMJIT_INLINE void X86VarAlloc::cleanup() {
X86BaseAlloc::cleanup();
}
// ============================================================================
// [asmjit::X86VarAlloc - Plan / Spill / Alloc]
// ============================================================================
template<int C>
ASMJIT_INLINE void X86VarAlloc::plan() {
if (isTiedDone(C)) return;
uint32_t i;
uint32_t willAlloc = _willAlloc.get(C);
uint32_t willFree = 0;
TiedReg* tiedArray = getTiedArrayByKind(C);
uint32_t tiedCount = getTiedCountByKind(C);
X86RAState* state = getState();
// Calculate 'willAlloc' and 'willFree' masks based on mandatory masks.
for (i = 0; i < tiedCount; i++) {
TiedReg* tied = &tiedArray[i];
VirtReg* vreg = tied->vreg;
uint32_t vaFlags = tied->flags;
uint32_t physId = vreg->getPhysId();
uint32_t regMask = (physId != Globals::kInvalidRegId) ? Utils::mask(physId) : 0;
if ((vaFlags & TiedReg::kXReg) != 0) {
// Planning register allocation. First check whether the variable is
// already allocated in register and if it can stay allocated there.
//
// The following conditions may happen:
//
// a) Allocated register is one of the mandatoryRegs.
// b) Allocated register is one of the allocableRegs.
uint32_t mandatoryRegs = tied->inRegs;
uint32_t allocableRegs = tied->allocableRegs;
if (regMask != 0) {
// Special path for planning output-only registers.
if ((vaFlags & TiedReg::kXReg) == TiedReg::kWReg) {
uint32_t outPhysId = tied->outPhysId;
mandatoryRegs = (outPhysId != Globals::kInvalidRegId) ? Utils::mask(outPhysId) : 0;
if ((mandatoryRegs | allocableRegs) & regMask) {
tied->setOutPhysId(physId);
tied->flags |= TiedReg::kWDone;
if (mandatoryRegs & regMask) {
// Case 'a' - 'willAlloc' contains initially all inRegs from all TiedReg's.
ASMJIT_ASSERT((willAlloc & regMask) != 0);
}
else {
// Case 'b'.
tied->setOutPhysId(physId);
willAlloc |= regMask;
}
addTiedDone(C);
continue;
}
}
else {
if ((mandatoryRegs | allocableRegs) & regMask) {
tied->setInPhysId(physId);
tied->flags |= TiedReg::kRDone;
if (mandatoryRegs & regMask) {
// Case 'a' - 'willAlloc' contains initially all inRegs from all TiedReg's.
ASMJIT_ASSERT((willAlloc & regMask) != 0);
}
else {
// Case 'b'.
tied->inRegs |= regMask;
willAlloc |= regMask;
}
addTiedDone(C);
continue;
}
}
}
// Variable is not allocated or allocated in register that doesn't
// match inRegs or allocableRegs. The next step is to pick the best
// register for this variable. If `inRegs` contains any register the
// decision is simple - we have to follow, in other case will use
// the advantage of `guessAlloc()` to find a register (or registers)
// by looking ahead. But the best way to find a good register is not
// here since now we have no information about the registers that
// will be freed. So instead of finding register here, we just mark
// the current register (if variable is allocated) as `willFree` so
// the planner can use this information in the second step to plan the
// allocation as a whole.
willFree |= regMask;
continue;
}
else {
if (regMask != 0) {
willFree |= regMask;
continue;
}
else {
tied->flags |= TiedReg::kRDone;
addTiedDone(C);
continue;
}
}
}
// Occupied registers without 'willFree' registers; contains basically
// all the registers we can use to allocate variables without inRegs
// specified.
uint32_t occupied = state->_occupied.get(C) & ~willFree;
uint32_t willSpill = 0;
// Find the best registers for variables that are not allocated yet.
for (i = 0; i < tiedCount; i++) {
TiedReg* tied = &tiedArray[i];
VirtReg* vreg = tied->vreg;
uint32_t vaFlags = tied->flags;
if ((vaFlags & TiedReg::kXReg) != 0) {
if ((vaFlags & TiedReg::kXReg) == TiedReg::kWReg) {
if (vaFlags & TiedReg::kWDone)
continue;
// Skip all registers that have assigned outPhysId. Spill if occupied.
if (tied->hasOutPhysId()) {
uint32_t outRegs = Utils::mask(tied->outPhysId);
willSpill |= occupied & outRegs;
continue;
}
}
else {
if (vaFlags & TiedReg::kRDone)
continue;
// We skip all registers that have assigned inPhysId, indicates that
// the register to allocate in is known.
if (tied->hasInPhysId()) {
uint32_t inRegs = tied->inRegs;
willSpill |= occupied & inRegs;
continue;
}
}
uint32_t m = tied->inRegs;
if (tied->hasOutPhysId())
m |= Utils::mask(tied->outPhysId);
m = tied->allocableRegs & ~(willAlloc ^ m);
m = guessAlloc<C>(vreg, m);
ASMJIT_ASSERT(m != 0);
uint32_t candidateRegs = m & ~occupied;
uint32_t homeMask = vreg->getHomeMask();
uint32_t physId;
uint32_t regMask;
if (candidateRegs == 0) {
candidateRegs = m & occupied & ~state->_modified.get(C);
if (candidateRegs == 0)
candidateRegs = m;
}
if (candidateRegs & homeMask) candidateRegs &= homeMask;
physId = Utils::findFirstBit(candidateRegs);
regMask = Utils::mask(physId);
if ((vaFlags & TiedReg::kXReg) == TiedReg::kWReg) {
tied->setOutPhysId(physId);
}
else {
tied->setInPhysId(physId);
tied->inRegs = regMask;
}
willAlloc |= regMask;
willSpill |= regMask & occupied;
willFree &=~regMask;
occupied |= regMask;
continue;
}
else if ((vaFlags & TiedReg::kXMem) != 0) {
uint32_t physId = vreg->getPhysId();
if (physId != Globals::kInvalidRegId && (vaFlags & TiedReg::kXMem) != TiedReg::kWMem) {
willSpill |= Utils::mask(physId);
}
}
}
// Set calculated masks back to the allocator; needed by spill() and alloc().
_willSpill.set(C, willSpill);
_willAlloc.set(C, willAlloc);
}
template<int C>
ASMJIT_INLINE void X86VarAlloc::spill() {
uint32_t m = _willSpill.get(C);
uint32_t i = static_cast<uint32_t>(0) - 1;
if (m == 0) return;
X86RAState* state = getState();
VirtReg** vregs = state->getListByKind(C);
// Available registers for decision if move has any benefit over spill.
uint32_t availableRegs = getGaRegs(C) & ~(state->_occupied.get(C) | m | _willAlloc.get(C));
do {
// We always advance one more to destroy the bit that we have found.
uint32_t bitIndex = Utils::findFirstBit(m) + 1;
i += bitIndex;
m >>= bitIndex;
VirtReg* vreg = vregs[i];
ASMJIT_ASSERT(vreg);
TiedReg* tied = vreg->_tied;
ASMJIT_ASSERT(!tied || (tied->flags & TiedReg::kXReg) == 0);
if (vreg->isModified() && availableRegs) {
// Don't check for alternatives if the variable has to be spilled.
if (!tied || (tied->flags & TiedReg::kSpill) == 0) {
uint32_t altRegs = guessSpill<C>(vreg, availableRegs);
if (altRegs != 0) {
uint32_t physId = Utils::findFirstBit(altRegs);
uint32_t regMask = Utils::mask(physId);
_context->move<C>(vreg, physId);
availableRegs ^= regMask;
continue;
}
}
}
_context->spill<C>(vreg);
} while (m != 0);
}
template<int C>
ASMJIT_INLINE void X86VarAlloc::alloc() {
if (isTiedDone(C)) return;
uint32_t i;
bool didWork;
TiedReg* tiedArray = getTiedArrayByKind(C);
uint32_t tiedCount = getTiedCountByKind(C);
// Alloc `in` regs.
do {
didWork = false;
for (i = 0; i < tiedCount; i++) {
TiedReg* aTied = &tiedArray[i];
VirtReg* aVReg = aTied->vreg;
if ((aTied->flags & (TiedReg::kRReg | TiedReg::kRDone)) != TiedReg::kRReg)
continue;
uint32_t aPhysId = aVReg->getPhysId();
uint32_t bPhysId = aTied->inPhysId;
// Shouldn't be the same.
ASMJIT_ASSERT(aPhysId != bPhysId);
VirtReg* bVReg = getState()->getListByKind(C)[bPhysId];
if (bVReg) {
// Gp registers only - Swap two registers if we can solve two
// allocation tasks by a single 'xchg' instruction, swapping
// two registers required by the instruction/node or one register
// required with another non-required.
if (C == X86Reg::kKindGp && aPhysId != Globals::kInvalidRegId) {
TiedReg* bTied = bVReg->_tied;
_context->swapGp(aVReg, bVReg);
aTied->flags |= TiedReg::kRDone;
addTiedDone(C);
// Double-hit, two registers allocated by a single xchg.
if (bTied && bTied->inPhysId == aPhysId) {
bTied->flags |= TiedReg::kRDone;
addTiedDone(C);
}
didWork = true;
continue;
}
}
else if (aPhysId != Globals::kInvalidRegId) {
_context->move<C>(aVReg, bPhysId);
aTied->flags |= TiedReg::kRDone;
addTiedDone(C);
didWork = true;
continue;
}
else {
_context->alloc<C>(aVReg, bPhysId);
aTied->flags |= TiedReg::kRDone;
addTiedDone(C);
didWork = true;
continue;
}
}
} while (didWork);
// Alloc 'out' regs.
for (i = 0; i < tiedCount; i++) {
TiedReg* tied = &tiedArray[i];
VirtReg* vreg = tied->vreg;
if ((tied->flags & (TiedReg::kXReg | TiedReg::kWDone)) != TiedReg::kWReg)
continue;
uint32_t physId = tied->outPhysId;
ASMJIT_ASSERT(physId != Globals::kInvalidRegId);
if (vreg->getPhysId() != physId) {
ASMJIT_ASSERT(getState()->getListByKind(C)[physId] == nullptr);
_context->attach<C>(vreg, physId, false);
}
tied->flags |= TiedReg::kWDone;
addTiedDone(C);
}
}
// ============================================================================
// [asmjit::X86VarAlloc - GuessAlloc / GuessSpill]
// ============================================================================
template<int C>
ASMJIT_INLINE uint32_t X86VarAlloc::guessAlloc(VirtReg* vreg, uint32_t allocableRegs) {
ASMJIT_ASSERT(allocableRegs != 0);
// Stop now if there is only one bit (register) set in `allocableRegs` mask.
if (Utils::isPowerOf2(allocableRegs)) return allocableRegs;
uint32_t raId = vreg->_raId;
uint32_t safeRegs = allocableRegs;
uint32_t i;
uint32_t maxLookAhead = kCompilerDefaultLookAhead;
// Look ahead and calculate mask of special registers on both - input/output.
CBNode* node = _node;
for (i = 0; i < maxLookAhead; i++) {
X86RAData* raData = node->getPassData<X86RAData>();
RABits* liveness = raData ? raData->liveness : static_cast<RABits*>(nullptr);
// If the variable becomes dead it doesn't make sense to continue.
if (liveness && !liveness->getBit(raId)) break;
// Stop on `CBSentinel` and `CCFuncRet`.
if (node->hasFlag(CBNode::kFlagIsRet)) break;
// Stop on conditional jump, we don't follow them.
if (node->hasFlag(CBNode::kFlagIsJcc)) break;
// Advance on non-conditional jump.
if (node->hasFlag(CBNode::kFlagIsJmp)) {
node = static_cast<CBJump*>(node)->getTarget();
// Stop on jump that is not followed.
if (!node) break;
}
node = node->getNext();
ASMJIT_ASSERT(node != nullptr);
raData = node->getPassData<X86RAData>();
if (raData) {
TiedReg* tied = raData->findTiedByKind(C, vreg);
uint32_t mask;
if (tied) {
// If the variable is overwritten it doesn't make sense to continue.
if ((tied->flags & TiedReg::kRAll) == 0)
break;
mask = tied->allocableRegs;
if (mask != 0) {
allocableRegs &= mask;
if (allocableRegs == 0) break;
safeRegs = allocableRegs;
}
mask = tied->inRegs;
if (mask != 0) {
allocableRegs &= mask;
if (allocableRegs == 0) break;
safeRegs = allocableRegs;
break;
}
allocableRegs &= ~(raData->outRegs.get(C) | raData->clobberedRegs.get(C));
if (allocableRegs == 0) break;
}
else {
allocableRegs &= ~(raData->inRegs.get(C) | raData->outRegs.get(C) | raData->clobberedRegs.get(C));
if (allocableRegs == 0) break;
}
safeRegs = allocableRegs;
}
}
return safeRegs;
}
template<int C>
ASMJIT_INLINE uint32_t X86VarAlloc::guessSpill(VirtReg* vreg, uint32_t allocableRegs) {
ASMJIT_ASSERT(allocableRegs != 0);
return 0;
}
// ============================================================================
// [asmjit::X86VarAlloc - Modified]
// ============================================================================
template<int C>
ASMJIT_INLINE void X86VarAlloc::modified() {
TiedReg* tiedArray = getTiedArrayByKind(C);
uint32_t tiedCount = getTiedCountByKind(C);
for (uint32_t i = 0; i < tiedCount; i++) {
TiedReg* tied = &tiedArray[i];
if (tied->flags & TiedReg::kWReg) {
VirtReg* vreg = tied->vreg;
uint32_t physId = vreg->getPhysId();
uint32_t regMask = Utils::mask(physId);
vreg->setModified(true);
_context->_x86State._modified.or_(C, regMask);
}
}
}
// ============================================================================
// [asmjit::X86CallAlloc]
// ============================================================================
//! \internal
//!
//! Register allocator context (function call).
struct X86CallAlloc : public X86BaseAlloc {
// --------------------------------------------------------------------------
// [Construction / Destruction]
// --------------------------------------------------------------------------
ASMJIT_INLINE X86CallAlloc(X86RAPass* context) : X86BaseAlloc(context) {}
ASMJIT_INLINE ~X86CallAlloc() {}
// --------------------------------------------------------------------------
// [Accessors]
// --------------------------------------------------------------------------
//! Get the node.
ASMJIT_INLINE CCFuncCall* getNode() const { return static_cast<CCFuncCall*>(_node); }
// --------------------------------------------------------------------------
// [Run]
// --------------------------------------------------------------------------
Error run(CCFuncCall* node);
// --------------------------------------------------------------------------
// [Init / Cleanup]
// --------------------------------------------------------------------------
protected:
// Just to prevent calling these methods from X86RAPass::translate().
ASMJIT_INLINE void init(CCFuncCall* node, X86RAData* raData);
ASMJIT_INLINE void cleanup();
// --------------------------------------------------------------------------
// [Plan / Alloc / Spill / Move]
// --------------------------------------------------------------------------
template<int C>
ASMJIT_INLINE void plan();
template<int C>
ASMJIT_INLINE void spill();
template<int C>
ASMJIT_INLINE void alloc();
// --------------------------------------------------------------------------
// [AllocImmsOnStack]
// --------------------------------------------------------------------------
ASMJIT_INLINE void allocImmsOnStack();
// --------------------------------------------------------------------------
// [Duplicate]
// --------------------------------------------------------------------------
template<int C>
ASMJIT_INLINE void duplicate();
// --------------------------------------------------------------------------
// [GuessAlloc / GuessSpill]
// --------------------------------------------------------------------------
template<int C>
ASMJIT_INLINE uint32_t guessAlloc(VirtReg* vreg, uint32_t allocableRegs);
template<int C>
ASMJIT_INLINE uint32_t guessSpill(VirtReg* vreg, uint32_t allocableRegs);
// --------------------------------------------------------------------------
// [Save]
// --------------------------------------------------------------------------
template<int C>
ASMJIT_INLINE void save();
// --------------------------------------------------------------------------
// [Clobber]
// --------------------------------------------------------------------------
template<int C>
ASMJIT_INLINE void clobber();
// --------------------------------------------------------------------------
// [Ret]
// --------------------------------------------------------------------------
ASMJIT_INLINE void ret();
// --------------------------------------------------------------------------
// [Members]
// --------------------------------------------------------------------------
//! Will alloc to these registers.
X86RegMask _willAlloc;
//! Will spill these registers.
X86RegMask _willSpill;
};
// ============================================================================
// [asmjit::X86CallAlloc - Run]
// ============================================================================
Error X86CallAlloc::run(CCFuncCall* node) {
// Initialize the allocator; prepare basics and connect Vd->Va.
X86RAData* raData = node->getPassData<X86RAData>();
init(node, raData);
// Plan register allocation. Planner is only able to assign one register per
// variable. If any variable is used multiple times it will be handled later.
plan<X86Reg::kKindGp >();
plan<X86Reg::kKindMm >();
plan<X86Reg::kKindVec>();
// Spill.
spill<X86Reg::kKindGp >();
spill<X86Reg::kKindMm >();
spill<X86Reg::kKindVec>();
// Alloc.
alloc<X86Reg::kKindGp >();
alloc<X86Reg::kKindMm >();
alloc<X86Reg::kKindVec>();
// Unuse clobbered registers that are not used to pass function arguments and
// save variables used to pass function arguments that will be reused later on.
save<X86Reg::kKindGp >();
save<X86Reg::kKindMm >();
save<X86Reg::kKindVec>();
// Allocate immediates in registers and on the stack.
allocImmsOnStack();
// Duplicate.
duplicate<X86Reg::kKindGp >();
duplicate<X86Reg::kKindMm >();
duplicate<X86Reg::kKindVec>();
// Translate call operand.
ASMJIT_PROPAGATE(X86RAPass_translateOperands(_context, node->getOpArray(), node->getOpCount()));
// To emit instructions after call.
_cc->_setCursor(node);
// If the callee pops stack it has to be manually adjusted back.
FuncDetail& fd = node->getDetail();
if (fd.hasFlag(CallConv::kFlagCalleePopsStack) && fd.getArgStackSize() != 0)
_cc->emit(X86Inst::kIdSub, _context->_zsp, static_cast<int>(fd.getArgStackSize()));
// Clobber.
clobber<X86Reg::kKindGp >();
clobber<X86Reg::kKindMm >();
clobber<X86Reg::kKindVec>();
// Return.
ret();
// Unuse.
unuseAfter<X86Reg::kKindGp >();
unuseAfter<X86Reg::kKindMm >();
unuseAfter<X86Reg::kKindVec>();
// Cleanup; disconnect Vd->Va.
cleanup();
return kErrorOk;
}
// ============================================================================
// [asmjit::X86CallAlloc - Init / Cleanup]
// ============================================================================
ASMJIT_INLINE void X86CallAlloc::init(CCFuncCall* node, X86RAData* raData) {
X86BaseAlloc::init(node, raData);
// Create mask of all registers that will be used to pass function arguments.
_willAlloc.reset();
_willAlloc.set(X86Reg::kKindGp , node->getDetail().getUsedRegs(X86Reg::kKindGp ));
_willAlloc.set(X86Reg::kKindMm , node->getDetail().getUsedRegs(X86Reg::kKindMm ));
_willAlloc.set(X86Reg::kKindK , node->getDetail().getUsedRegs(X86Reg::kKindK ));
_willAlloc.set(X86Reg::kKindVec, node->getDetail().getUsedRegs(X86Reg::kKindVec));
_willSpill.reset();
}
ASMJIT_INLINE void X86CallAlloc::cleanup() {
X86BaseAlloc::cleanup();
}
// ============================================================================
// [asmjit::X86CallAlloc - Plan / Spill / Alloc]
// ============================================================================
template<int C>
ASMJIT_INLINE void X86CallAlloc::plan() {
uint32_t i;
uint32_t clobbered = _raData->clobberedRegs.get(C);
uint32_t willAlloc = _willAlloc.get(C);
uint32_t willFree = clobbered & ~willAlloc;
TiedReg* tiedArray = getTiedArrayByKind(C);
uint32_t tiedCount = getTiedCountByKind(C);
X86RAState* state = getState();
// Calculate 'willAlloc' and 'willFree' masks based on mandatory masks.
for (i = 0; i < tiedCount; i++) {
TiedReg* tied = &tiedArray[i];
VirtReg* vreg = tied->vreg;
uint32_t vaFlags = tied->flags;
uint32_t physId = vreg->getPhysId();
uint32_t regMask = (physId != Globals::kInvalidRegId) ? Utils::mask(physId) : 0;
if ((vaFlags & TiedReg::kRReg) != 0) {
// Planning register allocation. First check whether the variable is
// already allocated in register and if it can stay there. Function
// arguments are passed either in a specific register or in stack so
// we care mostly of mandatory registers.
uint32_t inRegs = tied->inRegs;
if (inRegs == 0) {
inRegs = tied->allocableRegs;
}
// Optimize situation where the variable has to be allocated in a
// mandatory register, but it's already allocated in register that
// is not clobbered (i.e. it will survive function call).
if ((regMask & inRegs) != 0 || ((regMask & ~clobbered) != 0 && (vaFlags & TiedReg::kUnuse) == 0)) {
tied->setInPhysId(physId);
tied->flags |= TiedReg::kRDone;
addTiedDone(C);
}
else {
willFree |= regMask;
}
}
else {
// Memory access - if variable is allocated it has to be freed.
if (regMask != 0) {
willFree |= regMask;
}
else {
tied->flags |= TiedReg::kRDone;
addTiedDone(C);
}
}
}
// Occupied registers without 'willFree' registers; contains basically
// all the registers we can use to allocate variables without inRegs
// speficied.
uint32_t occupied = state->_occupied.get(C) & ~willFree;
uint32_t willSpill = 0;
// Find the best registers for variables that are not allocated yet. Only
// useful for Gp registers used as call operand.
for (i = 0; i < tiedCount; i++) {
TiedReg* tied = &tiedArray[i];
VirtReg* vreg = tied->vreg;
uint32_t vaFlags = tied->flags;
if ((vaFlags & TiedReg::kRDone) != 0 || (vaFlags & TiedReg::kRReg) == 0)
continue;
// All registers except Gp used by call itself must have inPhysId.
uint32_t m = tied->inRegs;
if (C != X86Reg::kKindGp || m) {
ASMJIT_ASSERT(m != 0);
tied->setInPhysId(Utils::findFirstBit(m));
willSpill |= occupied & m;
continue;
}
m = tied->allocableRegs & ~(willAlloc ^ m);
m = guessAlloc<C>(vreg, m);
ASMJIT_ASSERT(m != 0);
uint32_t candidateRegs = m & ~occupied;
if (candidateRegs == 0) {
candidateRegs = m & occupied & ~state->_modified.get(C);
if (candidateRegs == 0)
candidateRegs = m;
}
if (!(vaFlags & (TiedReg::kWReg | TiedReg::kUnuse)) && (candidateRegs & ~clobbered))
candidateRegs &= ~clobbered;
uint32_t physId = Utils::findFirstBit(candidateRegs);
uint32_t regMask = Utils::mask(physId);
tied->setInPhysId(physId);
tied->inRegs = regMask;
willAlloc |= regMask;
willSpill |= regMask & occupied;
willFree &= ~regMask;
occupied |= regMask;
continue;
}
// Set calculated masks back to the allocator; needed by spill() and alloc().
_willSpill.set(C, willSpill);
_willAlloc.set(C, willAlloc);
}
template<int C>
ASMJIT_INLINE void X86CallAlloc::spill() {
uint32_t m = _willSpill.get(C);
uint32_t i = static_cast<uint32_t>(0) - 1;
if (m == 0)
return;
X86RAState* state = getState();
VirtReg** sVars = state->getListByKind(C);
// Available registers for decision if move has any benefit over spill.
uint32_t availableRegs = getGaRegs(C) & ~(state->_occupied.get(C) | m | _willAlloc.get(C));
do {
// We always advance one more to destroy the bit that we have found.
uint32_t bitIndex = Utils::findFirstBit(m) + 1;
i += bitIndex;
m >>= bitIndex;
VirtReg* vreg = sVars[i];
ASMJIT_ASSERT(vreg && !vreg->_tied);
if (vreg->isModified() && availableRegs) {
uint32_t available = guessSpill<C>(vreg, availableRegs);
if (available != 0) {
uint32_t physId = Utils::findFirstBit(available);
uint32_t regMask = Utils::mask(physId);
_context->move<C>(vreg, physId);
availableRegs ^= regMask;
continue;
}
}
_context->spill<C>(vreg);
} while (m != 0);
}
template<int C>
ASMJIT_INLINE void X86CallAlloc::alloc() {
if (isTiedDone(C)) return;
TiedReg* tiedArray = getTiedArrayByKind(C);
uint32_t tiedCount = getTiedCountByKind(C);
uint32_t i;
bool didWork;
do {
didWork = false;
for (i = 0; i < tiedCount; i++) {
TiedReg* aTied = &tiedArray[i];
VirtReg* aVReg = aTied->vreg;
if ((aTied->flags & (TiedReg::kRReg | TiedReg::kRDone)) != TiedReg::kRReg) continue;
uint32_t sPhysId = aVReg->getPhysId();
uint32_t bPhysId = aTied->inPhysId;
// Shouldn't be the same.
ASMJIT_ASSERT(sPhysId != bPhysId);
VirtReg* bVReg = getState()->getListByKind(C)[bPhysId];
if (bVReg) {
TiedReg* bTied = bVReg->_tied;
// GP registers only - Swap two registers if we can solve two
// allocation tasks by a single 'xchg' instruction, swapping
// two registers required by the instruction/node or one register
// required with another non-required.
if (C == X86Reg::kKindGp) {
_context->swapGp(aVReg, bVReg);
aTied->flags |= TiedReg::kRDone;
addTiedDone(C);
// Double-hit, two registers allocated by a single swap.
if (bTied && bTied->inPhysId == sPhysId) {
bTied->flags |= TiedReg::kRDone;
addTiedDone(C);
}
didWork = true;
continue;
}
}
else if (sPhysId != Globals::kInvalidRegId) {
_context->move<C>(aVReg, bPhysId);
_context->_clobberedRegs.or_(C, Utils::mask(bPhysId));
aTied->flags |= TiedReg::kRDone;
addTiedDone(C);
didWork = true;
continue;
}
else {
_context->alloc<C>(aVReg, bPhysId);
_context->_clobberedRegs.or_(C, Utils::mask(bPhysId));
aTied->flags |= TiedReg::kRDone;
addTiedDone(C);
didWork = true;
continue;
}
}
} while (didWork);
}
// ============================================================================
// [asmjit::X86CallAlloc - AllocImmsOnStack]
// ============================================================================
ASMJIT_INLINE void X86CallAlloc::allocImmsOnStack() {
CCFuncCall* node = getNode();
FuncDetail& fd = node->getDetail();
uint32_t argCount = fd.getArgCount();
Operand_* args = node->_args;
for (uint32_t i = 0; i < argCount; i++) {
Operand_& op = args[i];
if (!op.isImm()) continue;
const Imm& imm = static_cast<const Imm&>(op);
const FuncDetail::Value& arg = fd.getArg(i);
uint32_t varType = arg.getTypeId();
if (arg.byReg()) {
_context->emitImmToReg(varType, arg.getRegId(), &imm);
}
else {
X86Mem dst = x86::ptr(_context->_zsp, -static_cast<int>(_context->getGpSize()) + arg.getStackOffset());
_context->emitImmToStack(varType, &dst, &imm);
}
}
}
// ============================================================================
// [asmjit::X86CallAlloc - Duplicate]
// ============================================================================
template<int C>
ASMJIT_INLINE void X86CallAlloc::duplicate() {
TiedReg* tiedArray = getTiedArrayByKind(C);
uint32_t tiedCount = getTiedCountByKind(C);
for (uint32_t i = 0; i < tiedCount; i++) {
TiedReg* tied = &tiedArray[i];
if ((tied->flags & TiedReg::kRReg) == 0) continue;
uint32_t inRegs = tied->inRegs;
if (!inRegs) continue;
VirtReg* vreg = tied->vreg;
uint32_t physId = vreg->getPhysId();
ASMJIT_ASSERT(physId != Globals::kInvalidRegId);
inRegs &= ~Utils::mask(physId);
if (!inRegs) continue;
for (uint32_t dupIndex = 0; inRegs != 0; dupIndex++, inRegs >>= 1) {
if (inRegs & 0x1) {
_context->emitMove(vreg, dupIndex, physId, "Duplicate");
_context->_clobberedRegs.or_(C, Utils::mask(dupIndex));
}
}
}
}
// ============================================================================
// [asmjit::X86CallAlloc - GuessAlloc / GuessSpill]
// ============================================================================
template<int C>
ASMJIT_INLINE uint32_t X86CallAlloc::guessAlloc(VirtReg* vreg, uint32_t allocableRegs) {
ASMJIT_ASSERT(allocableRegs != 0);
// Stop now if there is only one bit (register) set in 'allocableRegs' mask.
if (Utils::isPowerOf2(allocableRegs))
return allocableRegs;
uint32_t i;
uint32_t safeRegs = allocableRegs;
uint32_t maxLookAhead = kCompilerDefaultLookAhead;
// Look ahead and calculate mask of special registers on both - input/output.
CBNode* node = _node;
for (i = 0; i < maxLookAhead; i++) {
// Stop on `CCFuncRet` and `CBSentinel`.
if (node->hasFlag(CBNode::kFlagIsRet))
break;
// Stop on conditional jump, we don't follow them.
if (node->hasFlag(CBNode::kFlagIsJcc))
break;
// Advance on non-conditional jump.
if (node->hasFlag(CBNode::kFlagIsJmp)) {
node = static_cast<CBJump*>(node)->getTarget();
// Stop on jump that is not followed.
if (!node) break;
}
node = node->getNext();
ASMJIT_ASSERT(node != nullptr);
X86RAData* raData = node->getPassData<X86RAData>();
if (raData) {
TiedReg* tied = raData->findTiedByKind(C, vreg);
if (tied) {
uint32_t inRegs = tied->inRegs;
if (inRegs != 0) {
safeRegs = allocableRegs;
allocableRegs &= inRegs;
if (allocableRegs == 0)
goto _UseSafeRegs;
else
return allocableRegs;
}
}
safeRegs = allocableRegs;
allocableRegs &= ~(raData->inRegs.get(C) | raData->outRegs.get(C) | raData->clobberedRegs.get(C));
if (allocableRegs == 0)
break;
}
}
_UseSafeRegs:
return safeRegs;
}
template<int C>
ASMJIT_INLINE uint32_t X86CallAlloc::guessSpill(VirtReg* vreg, uint32_t allocableRegs) {
ASMJIT_ASSERT(allocableRegs != 0);
return 0;
}
// ============================================================================
// [asmjit::X86CallAlloc - Save]
// ============================================================================
template<int C>
ASMJIT_INLINE void X86CallAlloc::save() {
X86RAState* state = getState();
VirtReg** sVars = state->getListByKind(C);
uint32_t i;
uint32_t affected = _raData->clobberedRegs.get(C) & state->_occupied.get(C) & state->_modified.get(C);
for (i = 0; affected != 0; i++, affected >>= 1) {
if (affected & 0x1) {
VirtReg* vreg = sVars[i];
ASMJIT_ASSERT(vreg != nullptr);
ASMJIT_ASSERT(vreg->isModified());
TiedReg* tied = vreg->_tied;
if (!tied || (tied->flags & (TiedReg::kWReg | TiedReg::kUnuse)) == 0)
_context->save<C>(vreg);
}
}
}
// ============================================================================
// [asmjit::X86CallAlloc - Clobber]
// ============================================================================
template<int C>
ASMJIT_INLINE void X86CallAlloc::clobber() {
X86RAState* state = getState();
VirtReg** sVars = state->getListByKind(C);
uint32_t i;
uint32_t affected = _raData->clobberedRegs.get(C) & state->_occupied.get(C);
for (i = 0; affected != 0; i++, affected >>= 1) {
if (affected & 0x1) {
VirtReg* vreg = sVars[i];
ASMJIT_ASSERT(vreg != nullptr);
TiedReg* tied = vreg->_tied;
uint32_t vdState = VirtReg::kStateNone;
if (!vreg->isModified() || (tied && (tied->flags & (TiedReg::kWAll | TiedReg::kUnuse)) != 0))
vdState = VirtReg::kStateMem;
_context->unuse<C>(vreg, vdState);
}
}
}
// ============================================================================
// [asmjit::X86CallAlloc - Ret]
// ============================================================================
ASMJIT_INLINE void X86CallAlloc::ret() {
CCFuncCall* node = getNode();
FuncDetail& fd = node->getDetail();
Operand_* rets = node->_ret;
for (uint32_t i = 0; i < 2; i++) {
const FuncDetail::Value& ret = fd.getRet(i);
Operand_* op = &rets[i];
if (!ret.byReg() || !op->isVirtReg())
continue;
VirtReg* vreg = _cc->getVirtRegById(op->getId());
uint32_t regId = ret.getRegId();
switch (vreg->getKind()) {
case X86Reg::kKindGp:
_context->unuse<X86Reg::kKindGp>(vreg);
_context->attach<X86Reg::kKindGp>(vreg, regId, true);
break;
case X86Reg::kKindMm:
_context->unuse<X86Reg::kKindMm>(vreg);
_context->attach<X86Reg::kKindMm>(vreg, regId, true);
break;
case X86Reg::kKindVec:
if (X86Reg::kindOf(ret.getRegType()) == X86Reg::kKindVec) {
_context->unuse<X86Reg::kKindVec>(vreg);
_context->attach<X86Reg::kKindVec>(vreg, regId, true);
}
else {
uint32_t elementId = TypeId::elementOf(vreg->getTypeId());
uint32_t size = (elementId == TypeId::kF32) ? 4 : 8;
X86Mem m = _context->getVarMem(vreg);
m.setSize(size);
_context->unuse<X86Reg::kKindVec>(vreg, VirtReg::kStateMem);
_cc->fstp(m);
}
break;
}
}
}
// ============================================================================
// [asmjit::X86RAPass - TranslateOperands]
// ============================================================================
//! \internal
static Error X86RAPass_translateOperands(X86RAPass* self, Operand_* opArray, uint32_t opCount) {
X86Compiler* cc = self->cc();
// Translate variables into registers.
for (uint32_t i = 0; i < opCount; i++) {
Operand_* op = &opArray[i];
if (op->isVirtReg()) {
VirtReg* vreg = cc->getVirtRegById(op->getId());
ASMJIT_ASSERT(vreg != nullptr);
ASMJIT_ASSERT(vreg->getPhysId() != Globals::kInvalidRegId);
op->_reg.id = vreg->getPhysId();
}
else if (op->isMem()) {
X86Mem* m = static_cast<X86Mem*>(op);
if (m->hasBaseReg() && cc->isVirtRegValid(m->getBaseId())) {
VirtReg* vreg = cc->getVirtRegById(m->getBaseId());
if (m->isRegHome()) {
self->getVarCell(vreg);
}
else {
ASMJIT_ASSERT(vreg->getPhysId() != Globals::kInvalidRegId);
op->_mem.base = vreg->getPhysId();
}
}
if (m->hasIndexReg() && cc->isVirtRegValid(m->getIndexId())) {
VirtReg* vreg = cc->getVirtRegById(m->getIndexId());
op->_mem.index = vreg->getPhysId();
}
}
}
return kErrorOk;
}
// ============================================================================
// [asmjit::X86RAPass - TranslatePrologEpilog]
// ============================================================================
//! \internal
static Error X86RAPass_prepareFuncFrame(X86RAPass* self, CCFunc* func) {
FuncFrameInfo& ffi = func->getFrameInfo();
X86RegMask& clobberedRegs = self->_clobberedRegs;
// Initialize dirty registers.
ffi.setDirtyRegs(X86Reg::kKindGp , clobberedRegs.get(X86Reg::kKindGp ));
ffi.setDirtyRegs(X86Reg::kKindMm , clobberedRegs.get(X86Reg::kKindMm ));
ffi.setDirtyRegs(X86Reg::kKindK , clobberedRegs.get(X86Reg::kKindK ));
ffi.setDirtyRegs(X86Reg::kKindVec, clobberedRegs.get(X86Reg::kKindVec));
// Initialize stack size & alignment.
ffi.setStackFrameSize(self->_memAllTotal);
ffi.setStackFrameAlignment(self->_memMaxAlign);
return kErrorOk;
}
//! \internal
static Error X86RAPass_patchFuncMem(X86RAPass* self, CCFunc* func, CBNode* stop, FuncFrameLayout& layout) {
X86Compiler* cc = self->cc();
CBNode* node = func;
do {
if (node->getType() == CBNode::kNodeInst) {
CBInst* iNode = static_cast<CBInst*>(node);
if (iNode->hasMemOp()) {
X86Mem* m = iNode->getMemOp<X86Mem>();
if (m->isArgHome()) {
m->addOffsetLo32(layout.getStackArgsOffset());
m->clearArgHome();
}
if (m->isRegHome() && Operand::isPackedId(m->getBaseId())) {
VirtReg* vreg = cc->getVirtRegById(m->getBaseId());
ASMJIT_ASSERT(vreg != nullptr);
RACell* cell = vreg->getMemCell();
ASMJIT_ASSERT(cell != nullptr);
m->_setBase(cc->_nativeGpReg.getType(), self->_varBaseRegId);
m->addOffsetLo32(self->_varBaseOffset + cell->offset);
m->clearRegHome();
}
}
}
node = node->getNext();
} while (node != stop);
return kErrorOk;
}
// ============================================================================
// [asmjit::X86RAPass - Translate - Jump]
// ============================================================================
//! \internal
static void X86RAPass_translateJump(X86RAPass* self, CBJump* jNode, CBLabel* jTarget) {
X86Compiler* cc = self->cc();
CBNode* injectRef = self->getFunc()->getEnd()->getPrev();
CBNode* prevCursor = cc->setCursor(injectRef);
self->switchState(jTarget->getPassData<RAData>()->state);
// Any code necessary to `switchState()` will be added at the end of the function.
if (cc->getCursor() != injectRef) {
// TODO: Can fail.
CBLabel* injectLabel = cc->newLabelNode();
// Add the jump to the target.
cc->jmp(jTarget->getLabel());
// Inject the label.
cc->_setCursor(injectRef);
cc->addNode(injectLabel);
// Finally, patch `jNode` target.
ASMJIT_ASSERT(jNode->getOpCount() > 0);
jNode->_opArray[jNode->getOpCount() - 1] = injectLabel->getLabel();
jNode->_target = injectLabel;
// If we injected any code it may not satisfy short form anymore.
jNode->delOptions(X86Inst::kOptionShortForm);
}
cc->_setCursor(prevCursor);
self->loadState(jNode->getPassData<RAData>()->state);
}
// ============================================================================
// [asmjit::X86RAPass - Translate - Ret]
// ============================================================================
static Error X86RAPass_translateRet(X86RAPass* self, CCFuncRet* rNode, CBLabel* exitTarget) {
X86Compiler* cc = self->cc();
CBNode* node = rNode->getNext();
// 32-bit mode requires to push floating point return value(s), handle it
// here as it's a special case.
X86RAData* raData = rNode->getPassData<X86RAData>();
if (raData) {
TiedReg* tiedArray = raData->tiedArray;
uint32_t tiedTotal = raData->tiedTotal;
for (uint32_t i = 0; i < tiedTotal; i++) {
TiedReg* tied = &tiedArray[i];
if (tied->flags & (TiedReg::kX86Fld4 | TiedReg::kX86Fld8)) {
VirtReg* vreg = tied->vreg;
X86Mem m(self->getVarMem(vreg));
uint32_t elementId = TypeId::elementOf(vreg->getTypeId());
m.setSize(elementId == TypeId::kF32 ? 4 :
elementId == TypeId::kF64 ? 8 :
(tied->flags & TiedReg::kX86Fld4) ? 4 : 8);
cc->fld(m);
}
}
}
// Decide whether to `jmp` or not in case we are next to the return label.
while (node) {
switch (node->getType()) {
// If we have found an exit label we just return, there is no need to
// emit jump to that.
case CBNode::kNodeLabel:
if (static_cast<CBLabel*>(node) == exitTarget)
return kErrorOk;
goto _EmitRet;
case CBNode::kNodeData:
case CBNode::kNodeInst:
case CBNode::kNodeFuncCall:
case CBNode::kNodeFuncExit:
goto _EmitRet;
// Continue iterating.
case CBNode::kNodeComment:
case CBNode::kNodeAlign:
case CBNode::kNodeHint:
break;
// Invalid node to be here.
case CBNode::kNodeFunc:
return DebugUtils::errored(kErrorInvalidState);
// We can't go forward from here.
case CBNode::kNodeSentinel:
return kErrorOk;
}
node = node->getNext();
}
_EmitRet:
{
cc->_setCursor(rNode);
cc->jmp(exitTarget->getLabel());
}
return kErrorOk;
}
// ============================================================================
// [asmjit::X86RAPass - Translate - Func]
// ============================================================================
Error X86RAPass::translate() {
X86Compiler* cc = this->cc();
CCFunc* func = getFunc();
// Register allocator contexts.
X86VarAlloc vAlloc(this);
X86CallAlloc cAlloc(this);
// Flow.
CBNode* node_ = func;
CBNode* next = nullptr;
CBNode* stop = getStop();
ZoneList<CBNode*>::Link* jLink = _jccList.getFirst();
for (;;) {
while (node_->isTranslated()) {
// Switch state if we went to a node that is already translated.
if (node_->getType() == CBNode::kNodeLabel) {
CBLabel* node = static_cast<CBLabel*>(node_);
cc->_setCursor(node->getPrev());
switchState(node->getPassData<RAData>()->state);
}
_NextGroup:
if (!jLink) {
goto _Done;
}
else {
node_ = jLink->getValue();
jLink = jLink->getNext();
CBNode* jFlow = X86RAPass_getOppositeJccFlow(static_cast<CBJump*>(node_));
loadState(node_->getPassData<RAData>()->state);
if (jFlow->hasPassData() && jFlow->getPassData<RAData>()->state) {
X86RAPass_translateJump(this, static_cast<CBJump*>(node_), static_cast<CBLabel*>(jFlow));
node_ = jFlow;
if (node_->isTranslated())
goto _NextGroup;
}
else {
node_ = jFlow;
}
break;
}
}
next = node_->getNext();
node_->_flags |= CBNode::kFlagIsTranslated;
if (node_->hasPassData()) {
switch (node_->getType()) {
// --------------------------------------------------------------------
// [Align / Embed]
// --------------------------------------------------------------------
case CBNode::kNodeAlign:
case CBNode::kNodeData:
break;
// --------------------------------------------------------------------
// [Label]
// --------------------------------------------------------------------
case CBNode::kNodeLabel: {
CBLabel* node = static_cast<CBLabel*>(node_);
ASMJIT_ASSERT(node->getPassData<RAData>()->state == nullptr);
node->getPassData<RAData>()->state = saveState();
if (node == func->getExitNode())
goto _NextGroup;
break;
}
// --------------------------------------------------------------------
// [Inst/Call/SArg/Ret]
// --------------------------------------------------------------------
case CBNode::kNodeInst:
case CBNode::kNodeFunc:
case CBNode::kNodeFuncCall:
case CBNode::kNodePushArg:
// Update TiedReg's unuse flags based on liveness of the next node.
if (!node_->isJcc()) {
X86RAData* raData = node_->getPassData<X86RAData>();
RABits* liveness;
if (raData && next && next->hasPassData() && (liveness = next->getPassData<RAData>()->liveness)) {
TiedReg* tiedArray = raData->tiedArray;
uint32_t tiedTotal = raData->tiedTotal;
for (uint32_t i = 0; i < tiedTotal; i++) {
TiedReg* tied = &tiedArray[i];
VirtReg* vreg = tied->vreg;
if (!liveness->getBit(vreg->_raId) && !vreg->isFixed())
tied->flags |= TiedReg::kUnuse;
}
}
}
if (node_->getType() == CBNode::kNodeFuncCall) {
ASMJIT_PROPAGATE(cAlloc.run(static_cast<CCFuncCall*>(node_)));
break;
}
ASMJIT_FALLTHROUGH;
case CBNode::kNodeHint:
case CBNode::kNodeFuncExit: {
ASMJIT_PROPAGATE(vAlloc.run(node_));
// Handle conditional/unconditional jump.
if (node_->isJmpOrJcc()) {
CBJump* node = static_cast<CBJump*>(node_);
CBLabel* jTarget = node->getTarget();
// Target not followed.
if (!jTarget) {
if (node->isJmp())
goto _NextGroup;
else
break;
}
if (node->isJmp()) {
if (jTarget->hasPassData() && jTarget->getPassData<RAData>()->state) {
cc->_setCursor(node->getPrev());
switchState(jTarget->getPassData<RAData>()->state);
goto _NextGroup;
}
else {
next = jTarget;
}
}
else {
CBNode* jNext = node->getNext();
if (jTarget->isTranslated()) {
if (jNext->isTranslated()) {
ASMJIT_ASSERT(jNext->getType() == CBNode::kNodeLabel);
cc->_setCursor(node->getPrev());
intersectStates(
jTarget->getPassData<RAData>()->state,
jNext->getPassData<RAData>()->state);
}
RAState* savedState = saveState();
node->getPassData<RAData>()->state = savedState;
X86RAPass_translateJump(this, node, jTarget);
next = jNext;
}
else if (jNext->isTranslated()) {
ASMJIT_ASSERT(jNext->getType() == CBNode::kNodeLabel);
RAState* savedState = saveState();
node->getPassData<RAData>()->state = savedState;
cc->_setCursor(node);
switchState(jNext->getPassData<RAData>()->state);
next = jTarget;
}
else {
node->getPassData<RAData>()->state = saveState();
next = X86RAPass_getJccFlow(node);
}
}
}
else if (node_->isRet()) {
ASMJIT_PROPAGATE(
X86RAPass_translateRet(this, static_cast<CCFuncRet*>(node_), func->getExitNode()));
goto _NextGroup;
}
break;
}
// --------------------------------------------------------------------
// [End]
// --------------------------------------------------------------------
case CBNode::kNodeSentinel: {
goto _NextGroup;
}
default:
break;
}
}
if (next == stop)
goto _NextGroup;
node_ = next;
}
_Done:
{
ASMJIT_PROPAGATE(resolveCellOffsets());
ASMJIT_PROPAGATE(X86RAPass_prepareFuncFrame(this, func));
FuncFrameLayout layout;
ASMJIT_PROPAGATE(layout.init(func->getDetail(), func->getFrameInfo()));
_varBaseRegId = layout._stackBaseRegId;
_varBaseOffset = layout._stackBaseOffset;
ASMJIT_PROPAGATE(X86RAPass_patchFuncMem(this, func, stop, layout));
cc->_setCursor(func);
ASMJIT_PROPAGATE(FuncUtils::emitProlog(this->cc(), layout));
cc->_setCursor(func->getExitNode());
ASMJIT_PROPAGATE(FuncUtils::emitEpilog(this->cc(), layout));
}
return kErrorOk;
}
} // asmjit namespace
// [Api-End]
#include "../asmjit_apiend.h"
// [Guard]
#endif // ASMJIT_BUILD_X86 && !ASMJIT_DISABLE_COMPILER
| [
"nickwanninger@gmail.com"
] | nickwanninger@gmail.com |
750fa5950ebcbb7c494ec3906416b0b1e336252b | 3624e9f0a026b57ebdafa4e842b93f56e5a8504d | /SPOJ/Random/NUMTSN/brute.cc | 631f55e16662052ac1397f583774918ea7931884 | [
"MIT"
] | permissive | ailyanlu1/Competitive-Programming-2 | 54109c8644d3ac02715dc4570916b212412c25c0 | 6c990656178fb0cd33354cbe5508164207012f24 | refs/heads/master | 2020-03-23T07:48:20.560283 | 2018-02-15T06:49:49 | 2018-02-15T06:49:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,685 | cc |
#include <bits/stdc++.h>
#define sd(x) scanf("%d",&x)
#define sd2(x,y) scanf("%d%d",&x,&y)
#define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z)
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define foreach(it, v) for(auto it=(v).begin(); it != (v).end(); ++it)
#define _ ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define __ freopen("input.txt","r",stdin);freopen("output.txt","w",stdout);
#define tr(...) cout<<__FUNCTION__<<' '<<__LINE__<<" = ";trace(#__VA_ARGS__, __VA_ARGS__)
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int,int> pii;
template<typename S, typename T>
ostream& operator<<(ostream& out,pair<S,T> const& p){out<<'('<<p.fi<<", "<<p.se<<')';return out;}
template<typename T>
ostream& operator<<(ostream& out,vector<T> const& v){
int l=v.size();for(int i=0;i<l-1;i++)out<<v[i]<<' ';if(l>0)out<<v[l-1];return out;}
template<typename T>
void trace(const char* name, T&& arg1){cout<<name<<" : "<<arg1<<endl;}
template<typename T, typename... Args>
void trace(const char* names, T&& arg1, Args&&... args){
const char* comma = strchr(names + 1, ',');cout.write(names, comma-names)<<" : "<<arg1<<" | ";trace(comma+1,args...);}
const ld PI = 3.1415926535897932384626433832795;
int get(int y, int x){
int ans = 0;
for(int i = y; i <= x; i++){
int a = 0, b = 0, c = 0;
int tmp = i;
while(tmp){
int d = tmp % 10;
tmp /= 10;
if(d == 3) a++; else if(d == 6) b++; else if(d == 9) c++;
}
if(a == b and b == c and c > 0) ans++;
}
return ans;
}
int main(){
int t;
cin >> t;
while(t--){
int a, b;
cin >> a >> b;
cout << get(a,b) << endl;
}
return 0;
}
| [
"adityapaliwal95@gmail.com"
] | adityapaliwal95@gmail.com |
c409c1e35e04cbb67adea281bdf5f897ec279a3d | 836b7863ef6cd5e181cbd3a2b7fbcd15c8236ced | /cyclops/Skybox.h | a746f239133c14951d6706c4de6d82c859f32d25 | [] | no_license | omega-hub/cyclops | 54773e4e8bd772f45c4458ec9a0356b2664b385a | 2ad0c7546756a9f52a12cd16c4b8b40522b78d94 | refs/heads/master | 2021-01-18T22:41:32.044056 | 2016-05-20T22:51:49 | 2016-05-20T22:51:49 | 13,288,353 | 2 | 2 | null | 2014-07-13T01:22:04 | 2013-10-03T02:10:26 | C++ | UTF-8 | C++ | false | false | 3,185 | h | /**************************************************************************************************
* THE OMEGA LIB PROJECT
*-------------------------------------------------------------------------------------------------
* Copyright 2010-2015 Electronic Visualization Laboratory, University of Illinois at Chicago
* Authors:
* Alessandro Febretti febret@gmail.com
*-------------------------------------------------------------------------------------------------
* Copyright (c) 2010-2015, Electronic Visualization Laboratory, University of Illinois at Chicago
* All rights reserved.
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of conditions
* and the following disclaimer. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the documentation and/or other
* materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 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 __CY_SKY_BOX__
#define __CY_SKY_BOX__
#include <osg/TextureCubeMap>
#include "cyclopsConfig.h"
#define OMEGA_NO_GL_HEADERS
#include <omega.h>
#include <omegaOsg/omegaOsg.h>
#include <omegaToolkit.h>
//! @internal Forward decl. Internal class Defined in Skybox.cpp
class MoveSkyWithEyePointTransform;
namespace cyclops {
using namespace omega;
using namespace omegaOsg;
///////////////////////////////////////////////////////////////////////////////////////////////
class CY_API Skybox: public ReferenceType
{
public:
Skybox();
virtual ~Skybox();
void initialize(osg::StateSet* rootStateSet);
//! Loads cube map images from the specified directory.
//! Images must be named posx, negx, posy, negy, posz, negz and have the specified file extension.
bool loadCubeMap(const String& cubemapDir, const String& extension);
osg::Node* getNode() { return myNode; }
private:
osg::Node* createSkyBox();
void updateSkyBox();
private:
Ref<osg::StateSet> myRootStateSet;
Ref<osg::Texture> myTexture;
Ref<osg::Node> myNode;
Ref<osg::Geode> myGeode;
Ref<osg::Uniform> myTextureUniform;
Ref<MoveSkyWithEyePointTransform> myTransform;
};
};
#endif
| [
"febret@gmail.com"
] | febret@gmail.com |
f5fdcec401468ca182e5a9a847267d98d42523c3 | a53f8d2859477f837c81f943c81ceed56cf37238 | /IDTF/Common/ModelNode.h | 188ac9d5d1b240bbb6ca74b63de24e983c05fa1c | [
"Apache-2.0"
] | permissive | ClinicalGraphics/u3d | ffd062630cde8c27a0792370c158966d51182d4d | a2dc4bf9ead5400939f698d5834b7c5d43dbf42a | refs/heads/master | 2023-04-13T17:25:55.126360 | 2023-03-30T07:34:12 | 2023-03-31T18:20:43 | 61,121,064 | 11 | 5 | Apache-2.0 | 2023-09-01T04:23:31 | 2016-06-14T12:29:13 | C++ | UTF-8 | C++ | false | false | 3,057 | h | //***************************************************************************
//
// Copyright (c) 1999 - 2006 Intel Corporation
//
// 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.
//
//***************************************************************************
/**
@file ModelNode.h
This header defines the ... functionality.
@note
*/
#ifndef ModelNode_H
#define ModelNode_H
//***************************************************************************
// Includes
//***************************************************************************
#include "Node.h"
#include "IFXString.h"
namespace U3D_IDTF
{
//***************************************************************************
// Defines
//***************************************************************************
//***************************************************************************
// Constants
//***************************************************************************
//***************************************************************************
// Enumerations
//***************************************************************************
//***************************************************************************
// Classes, structures and types
//***************************************************************************
/**
This is the implementation of a class that is used to @todo: usage.
It supports the following interfaces: @todo: interfaces.
*/
class ModelNode : public Node
{
public:
ModelNode();
virtual ~ModelNode() {};
void SetVisibility( const IFXString& rVisibility );
const IFXString& GetVisibility() const;
private:
IFXString m_visibility;
};
//***************************************************************************
// Inline functions
//***************************************************************************
IFXFORCEINLINE ModelNode::ModelNode()
: m_visibility( L"FRONT" )
{
}
IFXFORCEINLINE void ModelNode::SetVisibility( const IFXString& rVisibility )
{
m_visibility = rVisibility;
}
IFXFORCEINLINE const IFXString& ModelNode::GetVisibility() const
{
return m_visibility;
}
//***************************************************************************
// Global function prototypes
//***************************************************************************
//***************************************************************************
// Global data
//***************************************************************************
}
#endif
| [
"ningfei.li@gmail.com"
] | ningfei.li@gmail.com |
b4d99e1903ded8fe6a371c2fa292c5980931ffa1 | 51662fcd667b3661e12a4f785bfd9c5880d23f54 | /exemplos/8_Apontadores/valores.cpp | b04c9b359c4a5d6e682c9c79187c4ecf68a292ea | [
"CC0-1.0"
] | permissive | danielgs83/cpe-unb | eb26390c6c5a5c11a47c3afe86329320abc6bcb7 | f958d2a4899a8d4d5c1465637d1d1b10610661e4 | refs/heads/main | 2023-06-23T09:16:23.113919 | 2021-07-14T22:36:51 | 2021-07-14T22:36:51 | 386,026,268 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | cpp | #include <iostream>
using namespace std;
int main() {
int x;
int *ap_x = &x;
x = 100;
cout << "Valor de x = " << *ap_x << endl;
*ap_x = 200;
cout << "Valor de x = " << *ap_x << endl;
cout << "Valor de x = " << x << endl;
return 0;
}
| [
"danielgs@MacBook-Pro-de-Daniel.local"
] | danielgs@MacBook-Pro-de-Daniel.local |
86d145580eb028d9ce2d48114800fe7ca99ad06d | ba2e95dc3bfc554df4d27fa6aa95e96b08a24f04 | /common.h | 466f838a0ba3c190e768027210fe3ca4aa6d1ada | [] | no_license | JIHYEPA/LINBO | 4c913f0fee1b56ddac786c9a838a933b11bc3126 | 6c929315fd9c79d0e6273d625139bf855bb8fbb5 | refs/heads/master | 2021-05-19T23:42:01.178991 | 2020-04-01T06:26:15 | 2020-04-01T06:26:15 | 252,088,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,777 | h | #pragma once
#include <string>
enum ECheckPoint
{
eCheckPoint1,
eCheckPoint2,
eCheckPoint3,
eCheckPoint4,
eCheckPoint5
};
enum ETag
{
eTag_Player,
eTag_Grass, //id = 1
eTag_Collider, //id = 2
eTag_Trap, //id =3
eTag_AutoMovement, // id = 4
eTag_Niddle,
eTag_Spider,
eTag_Rock,
eTag_Corpse,
eTag_SquareRock,
eTag_FallenTrap,
eTag_FallenRock,
eTag_Rope,
eTag_Trap_Black
};
static enum EPlayerState
{
eState_Idle = 0,
eState_Run = 1,
eState_Jump = 2,
eState_Die = 3,
eState_Interaction = 4,
eState_InteractionMove = 5,
};
enum ESpiderState
{
eSpiderState_Idle,
eSpiderState_Down,
eSpiderState_Up
};
enum ERotateRockState
{
eRotateRock_Idle,
eRotateRock_Move,
eRotateRock_Stop
};
enum EEvent
{
eEvent_PlayerDie,
eEvent_ResetGameScene,
eEvent_MoveReady,
eEvent_CutRope
};
static struct SFileImgName
{
public:
std::string Player = "Player.png";
};
enum ESceneTag
{
eIntroScene,
eGameScene,
eEndScene
};
enum EObjectNum
{
eCorpse = 0,
eGeer = 1,
eGrass = 2,
eMovement1 = 3,
eMovement2 = 4,
eMovement3 = 5,
eOwl = 6,
eRabbit = 7,
eRotateRock = 8,
eRock1 = 9,
eRock2 = 10,
eSquareTrap = 11,
eFallTrap = 12
};
enum ESound
{
sound_walk,
sound_Dead,
sound_GameScene,
sound_Cave,
sound_Rock,
sound_Rope,
sound_Slide,
sound_FallenRock,
sound_FelledTrap,
sound_Spider
};
struct Defines
{
public:
int playerWidth = 61;
int playerHeight = 86;
int screenSizeX = 1024;
int screenSizeY = 576;
int mapImgSizeX = 1024;
int mapImgSizeY = 1024;
int playerWidth_Die = 80;
int playerHeight_Die = 120;
int playerWidth_InterMove = 80;
int playerHeight_InterMove = 65;
std::string img_Player_Idle = "Player_Idle.png";
//std::wstring s = std::TEXT(img_Player_Idle);
};
static Defines defines;
SFileImgName fileImgName; | [
"50563805+JIHYEPA@users.noreply.github.com"
] | 50563805+JIHYEPA@users.noreply.github.com |
1101dc67afa157c1e6f852c5d430339f6e61d9f9 | 98d28b3a48b6e5e21c92b37031dd864fe3adec25 | /src/tools/instrumenter/scorep_instrumenter_cuda.hpp | 8f61f01195d2f5430ce2a46690d78cd2ea9457d8 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jplehr/score-p-v6 | 3301b6cbb4deabffafe424ea32c288cd82879ce4 | cc6028b152086f4ffce0bef4ab2547966bfa7955 | refs/heads/main | 2022-11-28T05:17:22.290022 | 2022-02-22T16:24:29 | 2022-02-22T16:24:29 | 229,740,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,386 | hpp | /*
* This file is part of the Score-P software (http://www.score-p.org)
*
* Copyright (c) 2013,
* Forschungszentrum Juelich GmbH, Germany
*
* This software may be modified and distributed under the terms of
* a BSD-style license. See the COPYING file in the package base
* directory for details.
*
*/
#ifndef SCOREP_INSTRUMENTER_CUDA_HPP
#define SCOREP_INSTRUMENTER_CUDA_HPP
/**
* @file
*
* Defines the class for cuda instrumentation.
*/
#include "scorep_instrumenter_adapter.hpp"
/* **************************************************************************************
* class SCOREP_Instrumenter_CudaAdapter
* *************************************************************************************/
/**
* This class represents the Cuda support.
*/
class SCOREP_Instrumenter_CudaAdapter : public SCOREP_Instrumenter_Adapter
{
public:
SCOREP_Instrumenter_CudaAdapter( void );
virtual void
printHelp( void );
virtual void
checkCompilerName( const std::string& compiler );
virtual bool
checkCommand( const std::string& current,
const std::string& next );
virtual std::string
getConfigToolFlag( SCOREP_Instrumenter_CmdLine& cmdLine );
bool
isNvcc( void );
private:
/* Is the nvcc compiler used to drive the compilation/linking */
bool m_nvcc_compiler;
};
#endif // SCOREP_INSTRUMENTER_CUDA_HPP
| [
"jp.lehr@gmail.com"
] | jp.lehr@gmail.com |
630cac37066ae0e879a151a208bbc0b457b30b65 | b5ad428abd2dd1f541a2d442e2246e98653ecfd4 | /third_party/mlir/lib/TableGen/Constraint.cpp | 96f49bf12cae9b348d1315a1cff02393e33dfdae | [
"Apache-2.0"
] | permissive | Yasserrahim/tensorflow | 3e6ff4e59b4312c6fbb14d39f887a828dd3be0a0 | 6f2672744a91d78a5a4a289b65805ffd0c14ffe8 | refs/heads/master | 2020-06-27T19:52:53.555660 | 2019-08-01T09:58:01 | 2019-08-01T10:04:13 | 200,027,678 | 1 | 0 | Apache-2.0 | 2019-08-01T10:12:46 | 2019-08-01T10:12:45 | null | UTF-8 | C++ | false | false | 2,235 | cpp | //===- Constraint.cpp - Constraint class ----------------------------------===//
//
// Copyright 2019 The MLIR Authors.
//
// 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.
// =============================================================================
//
// Constraint wrapper to simplify using TableGen Record for constraints.
//
//===----------------------------------------------------------------------===//
#include "mlir/TableGen/Constraint.h"
#include "llvm/TableGen/Record.h"
using namespace mlir::tblgen;
Constraint::Constraint(const llvm::Record *record)
: def(record), kind(CK_Uncategorized) {
if (record->isSubClassOf("TypeConstraint")) {
kind = CK_Type;
} else if (record->isSubClassOf("AttrConstraint")) {
kind = CK_Attr;
} else if (record->isSubClassOf("RegionConstraint")) {
kind = CK_Region;
} else {
assert(record->isSubClassOf("Constraint"));
}
}
Constraint::Constraint(Kind kind, const llvm::Record *record)
: def(record), kind(kind) {}
Pred Constraint::getPredicate() const {
auto *val = def->getValue("predicate");
// If no predicate is specified, then return the null predicate (which
// corresponds to true).
if (!val)
return Pred();
const auto *pred = dyn_cast<llvm::DefInit>(val->getValue());
return Pred(pred);
}
std::string Constraint::getConditionTemplate() const {
return getPredicate().getCondition();
}
llvm::StringRef Constraint::getDescription() const {
auto doc = def->getValueAsString("description");
if (doc.empty())
return def->getName();
return doc;
}
AppliedConstraint::AppliedConstraint(Constraint &&c,
std::vector<std::string> &&e)
: constraint(c), entities(std::move(e)) {}
| [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
20c01936389e20b770b50a1e7a173ceed1f6aba9 | 4de50e7c9d2f23ab0a377e1448023324cacb20af | /trunk/Shared/src/multview.cpp | a9f30f2c5e3bc75ab93a2c558830afc2ec9d427e | [
"BSD-3-Clause"
] | permissive | letoh/microwindows | 45d7287a8916a80963471c424d3ce6fa47e894ad | ffff257aeca33bc13ffebcba25e04e9c5d70dcff | refs/heads/master | 2021-06-21T13:08:20.490367 | 2017-07-21T13:33:02 | 2017-07-21T13:33:02 | 97,950,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,124 | cpp | //
// Micro Windows Implementation
// multview.cpp
//
// $Revision: 1.4 $
// $Source: P:/MWINDOWS/LIB/rcs/multview.cpp $
// $Date: 1993/11/27 09:53:32 $
//
#include "multview.h"
#include "viewlist.h"
#include "message.h"
#include "model.h"
#include "global.h"
#include "shape.h"
MultiView::MultiView (Rect *prect, View *pparent, Model *client,
BOOL attach, BOOL killModel)
:View (prect, pparent, client, FALSE, killModel)
{
subviewList = new ViewList;
activeView = NULL;
borderUsing = FALSE;
borderHitted = FALSE;
borderView = NULL;
attachPort = NULL;
if (attach && parent) parent->attachSubview (this);
}
MultiView::~MultiView ()
{
if (attachPort) delete attachPort;
}
void MultiView::draw (FreeArea *area)
{
viewPort->draw (NULL);
clientPort->draw (NULL);
if (attachPort) attachPort->draw (NULL);
FreeAreaBegin(area)
View::draw (area_tmp);
FreeAreaEnd
}
void MultiView::draw (Rect *area)
{
viewPort->draw (NULL);
clientPort->draw (NULL);
if (attachPort) attachPort->draw (NULL);
View::draw (area);
}
BOOL MultiView::close (BOOL immediate)
{
if (View::close(immediate) == FALSE)
{
activeView = (View*)subviewList->first ();
if (activeView)
{
bringTop (activeView);
activeView->activate();
}
return (FALSE);
}
activeView = NULL;
return (TRUE);
}
void MultiView::resize (int width, int height, View *pparent)
{
View::resize (width, height, pparent);
if (attachPort)
{
attachPort->resize (clientRect.width(), clientRect.height());
}
if (clientPort == viewPort) return;
Rect tmpRect;
View *tmp = (View*)subviewList->first();
do
{
if (tmp == NULL) break;
tmp->getViewRect (&tmpRect);
tmpRect.move (clientRect.x1, clientRect.y1);
clientPort->hide (&tmpRect);
tmp = (View*)subviewList->next();
} while (1);
}
Port *MultiView::getAttachPort ()
{
if (attachPort == NULL)
{
attachPort = new ViewPort (&clientRect, viewPort);
}
attachPort->draw (NULL);
return (attachPort);
}
Port *MultiView::getClientPort ()
{
viewPort->draw (NULL);
clientPort->draw (NULL);
if (attachPort) attachPort->draw (NULL);
return (clientPort);
}
void MultiView::dispatchMouse (Message *msg)
{
if (msg->extra == Mouse_Dispatch
&& viewRect.inside (&(msg->pnt)) == FALSE) return;
(msg->pnt).move (- viewRect.x1, - viewRect.y1);
Rect tmpRect;
View *tmp;
if (activeView && borderUsing == FALSE &&
clientRect.inside (&(msg->pnt)) )
{
Point tmpPnt = msg->pnt;
tmpPnt.move (- clientRect.x1, - clientRect.y1);
if ((activeView->getViewRect (&tmpRect))->inside (&tmpPnt) == TRUE)
{
msg->pnt = tmpPnt;
activeView->dispatchMouse (msg);
return;
}
if (msg->type != MSG_LeftButtonDown)
{
tmp = NULL;
}
else
{
tmp = (View*)subviewList->first ();
}
do
{
if (tmp == NULL) break;
if ((tmp->getViewRect (&tmpRect))->inside (&tmpPnt) == TRUE)
{
View *oldActive = activeView;
bringTop (tmp);
activateSubview (tmp);
msg->pnt = tmpPnt;
tmp->dispatchMouse (msg);
oldActive->deactivate ();
return;
}
tmp = (View*)subviewList->next ();
} while (1);
}
selfMouse (msg);
}
void MultiView::attachSubview (View *subview)
{
if (subviewList->find (subview) == TRUE) return;
Rect svRect;
selfHide (subview->getViewRect (&svRect));
subview->hide (this, NULL); // hide all
subviewList->last();
subviewList->put (subview);
bringTop (subview);
activateSubview (subview);
}
void MultiView::removeSubview (View *subview)
{
if (subviewList->find (subview) == FALSE) return;
Rect oldRect;
subview->getViewRect (&oldRect);
calcOverlapping (subview, NULL, &oldRect);
subviewList->find (subview);
subviewList->remove ();
activeView = (View*)subviewList->first ();
if (activeView)
{
bringTop (activeView);
activeView->activate();
}
}
void MultiView::moveSubview (View *subview, Point *offset)
{
if (subviewList->find (subview) == FALSE) return;
if (!offset->x && !offset->y) return;
Rect oldRect, newRect;
subview->getViewRect (&oldRect);
subview->move (offset, this);
subview->getViewRect (&newRect);
calcOverlapping (subview, &newRect, &oldRect);
}
void MultiView::resizeSubview (View *subview, int width, int height)
{
if (subviewList->find (subview) == FALSE) return;
Rect oldRect, newRect;
subview->getViewRect (&oldRect);
subview->resize (width, height, this);
subview->getViewRect (&newRect);
calcOverlapping (subview, &newRect, &oldRect);
}
void MultiView::moveResizeSubview (View *subview, Point *offset,
int width, int height)
{
if (subviewList->find (subview) == FALSE) return;
Rect oldRect, newRect;
subview->getViewRect (&oldRect);
subview->move (offset, this);
subview->resize (width, height, this);
subview->getViewRect (&newRect);
calcOverlapping (subview, &newRect, &oldRect);
}
void MultiView::bringTop (View *subview)
{
if (subviewList->find (subview) == FALSE) return;
subviewList->bringTop ();
FreeArea invisible;
((ViewPort*)subview->getViewPort())->getInvisibleArea (&invisible);
subview->show (this, NULL);
subview->draw (&invisible);
Rect svRect, dvRect, toHide;
subview->getViewRect (&svRect);
View *dv = (View*)subviewList->first();
while ((dv = (View*)subviewList->next()) != NULL)
{
if (svRect.intersection (dv->getViewRect (&dvRect), &toHide)
== TRUE)
{
dv->hide (this, &toHide);
}
}
}
void MultiView::beginMove (View *subview)
{
if (subviewList->find (subview) == FALSE) return;
borderHitted = FALSE;
borderUsing = TRUE;
borderType = MVBdr_Move;
borderView = subview;
subview->getViewRect (&borderRect);
drawBorder();
}
void MultiView::beginResize (View *subview, ResizePlace rp)
{
if (subviewList->find (subview) == FALSE) return;
borderHitted = FALSE;
borderUsing = TRUE;
borderType = MVBdr_Resize;
borderView = subview;
borderPlace = rp;
subview->getViewRect (&borderRect);
drawBorder();
}
void MultiView::hide (View *pparent, Rect *area)
{
View::hide (pparent, area);
viewPort->draw (NULL);
clientPort->draw (NULL);
if (attachPort) attachPort->draw (NULL);
}
void MultiView::show (View *pparent, Rect *area)
{
View::show (pparent, area);
viewPort->draw (NULL);
clientPort->draw (NULL);
if (attachPort) attachPort->draw (NULL);
}
void MultiView::activateSubview (View *subview)
{
if (subview != NULL)
{
if (subviewList->find (subview) == FALSE) return;
}
if (activeView) activeView->deactivate();
activeView = subview;
if (activeView) activeView->activate();
}
// -----------------------------------------------------------------
//
// a "changed" (resized/moved/vanished) subview is given here,
// with a new location that it occupied (newRect == NULL if the
// subview is destroyed), and the old location it occupied.
// the calcOverlapping function computes THE CHANGE AMONG
// SUBVIEWS, and then do REQUIRED PROCESSING (send DRAW
// message to EXPOSED VIEW, send HIDE message to OVERLAPPED VIEW)
// a figure:
// upper 1
// upper 2
// oldRect ---> newRect
// lower 1
// lower 2
//
// (1) computes the difference between old and new rect
// (i.e. exposeArea = newRect - oldRect)
// (2) computes the upper region
// (i.e. realExposedArea = exposeArea - upperArea)
// (3) computes the difference between realExposedArea and lower views:
// (a) if realExposedArea and view has intersection,
// the intersection should be hided
// (b) if not, but the view was originally hided,
// now the area is exposed, it should be repainted.
// (c) do (a) and (b) until the bottom of viewList
// (4) and surely don't forget the parent's attachPort, etc....
//
// --------------------------------------------------------------------
// comment: so why should I comment on this member function?
// this is the most MYSTERIOUS part of overlapped window interface... :)
void MultiView::calcOverlapping (View *subview, Rect *newRect,
Rect *oldRect)
{
View *topView = (View*)subviewList->first();
FreeArea exposed;
exposed.add (oldRect);
if (newRect) exposed.cut (newRect);
Rect tmpRect;
FreeArea upper;
View *tmpView = topView;
do
{
if (tmpView == subview) break;
upper.add (tmpView->getViewRect (&tmpRect));
tmpView = (View*)subviewList->next();
} while (1);
// now tmpView == subview, next...
FreeArea toshow;
if (newRect)
{
toshow.add (&exposed);
toshow.cut (&upper);
freeAreaHide (subview, &upper);
if (subview == topView)
{
subview->show (this, NULL);
subview->draw ();
}
else
{
freeAreaShow (subview, &toshow);
subview->draw (&toshow);
}
upper.add (newRect);
}
tmpView = (View*)subviewList->next();
do
{
if (tmpView == NULL) break;
toshow.purge ();
toshow.add (&exposed);
toshow.cut (&upper);
freeAreaShow (tmpView, &toshow);
if (newRect) tmpView->hide (this, newRect);
tmpView->draw (&toshow);
upper.add (tmpView->getViewRect (&tmpRect));
tmpView = (View*)subviewList->next ();
} while (1);
toshow.purge ();
toshow.add (&exposed);
toshow.cut (&upper);
toshow.move (clientRect.x1, clientRect.y1);
if (newRect) selfHide (newRect);
selfShowDraw (&toshow);
}
void MultiView::selfMouse (Message *msg)
{
Rect origRect;
if (borderUsing == FALSE)
{
View::selfMouse (msg);
return;
}
(msg->pnt).move (- clientRect.x1, - clientRect.y1);
//
// deal with move/resize borders
//
switch (msg->type)
{
case MSG_MouseMove:
drawBorder();
break;
//
// mouse button hitted, lock mouse and perform
// "border" functions.
//
case MSG_LeftButtonDown:
if (borderHitted == FALSE)
{
borderHitted = TRUE;
mouse->lock (this);
borderSpot = msg->pnt;
return;
}
drawBorder ();
switch (borderType)
{
case MVBdr_Move:
borderRect.move ((msg->pnt).x - borderSpot.x,
(msg->pnt).y - borderSpot.y);
borderSpot = msg->pnt;
break;
case MVBdr_Resize:
if (borderRect.width() < 40 || borderRect.height()
< 40)
{
borderSpot = msg->pnt;
borderRect.resize (40, 40);
}
int ox = (msg->pnt).x - borderSpot.x,
oy = (msg->pnt).y - borderSpot.y;
Point orig (borderRect.x1, borderRect.y1);
Point dest (borderRect.x2, borderRect.y2);
if (borderPlace & MVRP_Top) orig.y += oy;
if (borderPlace & MVRP_Bottom) dest.y += oy;
if (borderPlace & MVRP_Left) orig.x += ox;
if (borderPlace & MVRP_Right) dest.x += ox;
borderRect.set (&orig, &dest);
borderSpot = msg->pnt;
break;
}
drawBorder ();
return;
//
// mouse released, perform necessary change
//
case MSG_LeftButtonUp:
if (borderUsing) borderUsing = FALSE;
drawBorder();
if (borderHitted == FALSE) return;
switch (borderType)
{
case MVBdr_Move:
borderView->getViewRect (&origRect);
moveSubview (borderView,
&Point (borderRect.x1 - origRect.x1,
borderRect.y1 - origRect.y1));
break;
case MVBdr_Resize:
borderView->getViewRect (&origRect);
moveResizeSubview (borderView,
&Point (borderRect.x1 - origRect.x1,
borderRect.y1 - origRect.y1),
borderRect.width(),
borderRect.height());
break;
}
borderHitted = FALSE;
mouse->unlock ();
return;
}
}
void MultiView::drawBorder ()
{
Port *pp;
if (attachPort) pp = attachPort; else pp = clientPort;
PortPenMode p = pp->getPenMode ();
PortPenColor c = pp->getPenColor ();
Rectangle a (&borderRect);
Rectangle b (borderRect.x1 +2, borderRect.y1 +2,
borderRect.x2 -2, borderRect.y2 -2);
pp->setPenMode (PPM_XOR);
pp->setPenColor (PPC_White);
pp->draw (&a);
pp->setPenColor (PPC_Gray);
pp->draw (&b);
pp->setPenColor (c);
pp->setPenMode (p);
}
void MultiView::freeAreaHide (View *subview, FreeArea *area)
{
FreeAreaBegin(area)
subview->hide (this, area_tmp);
FreeAreaEnd
}
void MultiView::freeAreaShow (View *subview, FreeArea *area)
{
FreeAreaBegin(area)
subview->show (this, area_tmp);
FreeAreaEnd
}
void MultiView::selfShowDraw (FreeArea *area)
{
FreeAreaBegin(area)
clientPort->show (area_tmp);
selfDraw (viewPort, area_tmp);
clientDraw (area_tmp);
FreeAreaEnd
}
void MultiView::selfHide (Rect *area)
{
Rect realHide = *area;
realHide.move (clientRect.x1, clientRect.y1);
if (clientPort != viewPort) clientPort->hide (&realHide);
}
| [
"letoh.tw@gmail.com"
] | letoh.tw@gmail.com |
6ea6e558e07f739e9c0e56b0740b569bba9d28c6 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/14_7515_25.cpp | 1b82470595b2a011670b9441b17592b3f8a1bde6 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,100 | cpp | #include<iostream>
#include<vector>
using namespace std;
int main()
{
int T;
int N = 4;
cin >> T;
for (int tCase = 1; tCase <= T; tCase++)
{
int row1;
cin >> row1;
vector<int> values = vector<int>(N);
for (int i = 0; i < N; ++i)
{
for (int j = 0; j < N; ++j)
{
int v;
cin >> v;
if (i + 1 != row1) continue;
values[j] = v;
}
}
int row2;
cin >> row2;
int sol;
int found = 0;
for (int i = 0; i < N; ++i)
{
for (int j = 0; j < N; ++j)
{
int v;
cin >> v;
if (i + 1 != row2 || found > 1) continue;
for(int k = 0; k < N; ++k)
{
if (values[k] == v)
{
sol = v;
found++;
break;
}
}
}
}
if (found == 0)
{
cout << "Case #" << tCase << ": Volunteer cheated!" << endl;
}
else if(found == 1)
{
cout << "Case #" << tCase << ": " << sol << endl;
}
else
{
cout << "Case #" << tCase << ": Bad magician!" << endl;
}
}
return 0;
}
| [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
54351b08c79b90b9133fa5ed3f04b0fbf40e1cfd | 939e2bf9da21ef16f60d418b21ef91601ae03cff | /src/Api/AckToDevicePacket.h | 43690f2e933ad4e883d5b42b3e9bdab1d9b2b105 | [] | no_license | ThingifyIOT/ThingifyEsp | 3820418a3c4adfc610f75135fc84b7efcad97a64 | 1844dd196b4e02266be0a888b46ecab2e2440829 | refs/heads/master | 2023-08-07T04:30:43.798009 | 2023-07-30T14:55:30 | 2023-07-30T14:55:30 | 203,222,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | h | #ifndef _ACK_TO_DEVICE_PACKET_H
#define _ACK_TO_DEVICE_PACKET_H
#include "PacketBase.h"
class AckToDevicePacket : public PacketBase
{
public:
ThingifyPacketType PacketType() override
{
return ThingifyPacketType::AckToDevice;
}
int PacketId;
};
#endif
| [
"toomasz@gmail.com"
] | toomasz@gmail.com |
6f0aa36f80eec5dc973a6a3ee6f3be06ee9282e3 | 914bd16dc57beb03fcd8ca0ebc88e713df673c3f | /squiggleHairSkel/src/hair.hpp | a83aea819cf85a583ff754608b6ea7ee88c7d6e0 | [] | no_license | mattvisco/squiggle | f80f4835a73f9e37cce51578a8d8d791fc8ad8fc | 1b57d42f6e854848c3fd6b3ffe4581fb02c10902 | refs/heads/master | 2020-04-06T06:53:40.084131 | 2016-09-14T16:03:30 | 2016-09-14T16:03:30 | 65,639,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | hpp | //
// hair.hpp
// squiggleHairSkel
//
// Created by Matthew Visco on 9/7/16.
//
//
#ifndef hair_hpp
#define hair_hpp
#include "ofMain.h"
#include "particle.h"
struct CircleObj {
ofPoint origin;
int radius;
};
class hair{
public:
hair();
void setup(int num, float d, ofPoint pos);
void addForce(ofPoint f);
void setFirstPosition(ofPoint pos);
void update();
void update(vector<CircleObj> objects);
void draw();
public:
float len;
vector<particle> particles;
ofPoint color;
};
#endif /* hair_hpp */
| [
"mattvisco@mac.com"
] | mattvisco@mac.com |
52b9f46436c1485770f87aedf274ba0165572e88 | 7f72126a279fd065403081a768d4fe55b1c834c8 | /examples/kortex_api/include/common/KDetailedException.h | 37326be42b25877f01d2994678a644e2efa05295 | [
"BSD-3-Clause"
] | permissive | xiaoyaozi2005/api_cpp | 29aa12245f0a36d997a206419aeebefaa16481bd | 8ea2b5657f3560ae8f34f226c112e1e31faa3aa2 | refs/heads/master | 2022-12-23T21:44:33.799870 | 2020-09-20T09:58:46 | 2020-09-20T09:58:46 | 297,042,240 | 1 | 0 | null | 2020-09-20T09:58:48 | 2020-09-20T09:26:31 | C++ | UTF-8 | C++ | false | false | 788 | h | #ifndef KINOVASERVEREXCEPTION_H
#define KINOVASERVEREXCEPTION_H
#include <string>
#include <sstream>
#include "KBasicException.h"
#include <Frame.pb.h>
#include "KError.h"
#include "HeaderInfo.h"
namespace Kinova
{
namespace Api
{
class KDetailedException : public KBasicException
{
public:
KDetailedException(const KError& error);
KDetailedException(const KDetailedException &other);
virtual const char* what() const throw() override;
virtual std::string toString() override;
KError& getErrorInfo() { return m_error; }
private:
void init(const HeaderInfo& header, const Error& error);
KError m_error;
std::string m_errorStr;
};
} // namespace Api
} // namespace Kinova
#endif
| [
"zdbdtc8888@gmail.com"
] | zdbdtc8888@gmail.com |
99a89334346df4d17ad502b67adc95dc8e247ad4 | ec68c973b7cd3821dd70ed6787497a0f808e18e1 | /Cpp/SDK/ArmorSkill_TriggerOnHit_classes.h | ac9d519ce84e110bfb63fa7f8f59f43a1d09757e | [] | no_license | Hengle/zRemnant-SDK | 05be5801567a8cf67e8b03c50010f590d4e2599d | be2d99fb54f44a09ca52abc5f898e665964a24cb | refs/heads/main | 2023-07-16T04:44:43.113226 | 2021-08-27T14:26:40 | 2021-08-27T14:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | h | #pragma once
// Name: Remnant, Version: 1.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass ArmorSkill_TriggerOnHit.ArmorSkill_TriggerOnHit_C
// 0x0000
class UArmorSkill_TriggerOnHit_C : public UArmorSkill_Base_C
{
public:
static UClass* StaticClass()
{
static auto ptr = UObject::FindClass("BlueprintGeneratedClass ArmorSkill_TriggerOnHit.ArmorSkill_TriggerOnHit_C");
return ptr;
}
void Trigger();
void OnTakeDamage();
void ExecuteUbergraph_ArmorSkill_TriggerOnHit();
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
3c55cde8874ea5db4f8d55e13df41686c1e58735 | 62469c88a05841625d06cb251b20038bec8f9c7d | /Lab1/countOnes.cpp | 9792d48eeea3877abc495355e96e062fe57d58ae | [] | no_license | Roxanne1225/Verilog-C | 5b066f21e9dfd10666c76e8f39a3557c6cfe26f3 | d16e87e38974349d5f26ea612373ab9fdb767d25 | refs/heads/master | 2020-07-26T12:44:44.437866 | 2019-09-15T19:49:11 | 2019-09-15T19:49:11 | 208,648,340 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | cpp | /**
* @file
* Contains an implementation of the countOnes function.
*/
unsigned countOnes(unsigned input) {
// TODO: write your code here
unsigned right1 = 0x55555555;
unsigned left1 = 0xAAAAAAAA;
unsigned right2 = 0x33333333;
unsigned left2 = 0xCCCCCCCC;
unsigned right3 = 0x0F0F0F0F;
unsigned left3 = 0xF0F0F0F0;
unsigned right4 = 0x00FF00FF;
unsigned left4 = 0xFF00FF00;
unsigned right5 = 0x0000FFFF;
unsigned left5 = 0xFFFF0000;
unsigned right_counter = input & right1;
unsigned left_counter = input & left1;
unsigned shifted_left = left_counter >> 1;
input = shifted_left + right_counter;
right_counter = input & right2;
left_counter = input & left2;
shifted_left = left_counter >> 2;
input = shifted_left + right_counter;
right_counter = input & right3;
left_counter = input & left3;
shifted_left = left_counter >> 4;
input = shifted_left + right_counter;
right_counter = input & right4;
left_counter = input & left4;
shifted_left = left_counter >> 8;
input = shifted_left + right_counter;
right_counter = input & right5;
left_counter = input & left5;
shifted_left = left_counter >> 16;
input = shifted_left + right_counter;
return input;
}
| [
"noreply@github.com"
] | Roxanne1225.noreply@github.com |
01eb7c8c8781f5c8abf8113c1266f32004aee88e | 1c5007b5a36445c63176f2c23964afd4cb82880c | /SDL_Tmplt/SDL_Tmplt/main.cpp | 10f81780b05a48c53deeae366d6a80183ba1a403 | [] | no_license | lbandy/runeGame | 2d9a9616bec40685f567c300924a354bd9144298 | bad2f019ac8532bae00194a2ee6af62d41dbaf5b | refs/heads/master | 2021-01-06T20:36:52.572122 | 2012-12-23T22:13:50 | 2012-12-23T22:13:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | // SDL_Tmplt.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
Core theApp;
return theApp.OnExecute();
}
| [
"lbandy3@gmail.com"
] | lbandy3@gmail.com |
dea67a765a102b5638c57ab8b2db36cf709444a4 | 9ec67e83200f643f9f55ed90e0b2cae4581ebcb6 | /TestLib/Words.h | 825f37b096cb0550797655dca7826d3542cfdd6c | [] | no_license | andrewpaterson/Codaphela.Library | 465770eaf2839589fc305660725abb38033f8aa2 | 2a4722ba0a4b98a304a297a9d74c9b6811fa4ac5 | refs/heads/master | 2023-05-25T13:01:45.587888 | 2023-05-14T11:46:36 | 2023-05-14T11:46:36 | 3,248,841 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 527 | h | #ifndef __WORDS_H__
#define __WORDS_H__
#include "BaseLib/ArrayChars.h"
extern CArrayChars gaszArchaicWords;
extern CArrayChars gaszArchaicDefinitions;
extern CArrayChars gaszCommonWords;
class CRandom;
void GetArchaicDefinitions(CArrayChars* pasz);
void GetArchaicWords(CArrayChars* pasz);
void GetCommonWords(CArrayChars* pasz);
void PrintRandomWords(CChars* psz, CRandom* pcRandom, bool bIncludeArchaic, int iWordCount);
void WordsInit(void);
void WordsKill(void);
#endif // !__WORDS_H__
| [
"andrew.ian.paterson@gmail.com"
] | andrew.ian.paterson@gmail.com |
e516090016b5191cb50f89a750af4fd04f8b692c | 4c7490613294bd5dd3e7b0ab87781a8d234e948d | /source/Events/MouseClickEvent.cpp | 79c84be5107c2da5112e61ffea45700e66da7ae8 | [] | no_license | atwamahmoud/tears_engine | 55fc481dfbd7f133820dd5a8e9b09a0471015b23 | b1407db961377ace2d69b50deef67e509d0209d1 | refs/heads/master | 2023-02-01T23:34:58.133003 | 2020-12-07T09:00:27 | 2020-12-07T09:00:27 | 309,471,756 | 0 | 0 | null | 2020-12-07T09:00:28 | 2020-11-02T19:18:37 | Makefile | UTF-8 | C++ | false | false | 539 | cpp | //
// Created by atwa on 11/7/20.
//
#include "MouseClickEvent.h"
MouseClickEvent::MouseClickEvent() = default;
int MouseClickEvent::addCallback(std::function<void(EntityManager &, int)> func) {
this->callbacks[count] = func;
return this->count++;
}
void MouseClickEvent::trigger(int key, EntityManager &manager) {
for (std::pair<int, std::function<void(EntityManager &, int)>> element :
this->callbacks) {
element.second(manager, key);
}
}
void MouseClickEvent::removeCallback(int i) { this->callbacks.erase(i); }
| [
"m.atwa@hotmail.com"
] | m.atwa@hotmail.com |
07e4c165f091f2806c7f6b8d9bcc26c4242ba381 | 59f22160c25102edbae50773c5df601a98a74a04 | /GFG-GeeksForGeeks/Nuts and Bolts Problem.cpp | 9aaa6c92fe505eda87cb4b6117aa25a29dde5978 | [] | no_license | Brehm1983/Coding-Tree | 1826f5701548223683735566122c7aa192f2eefa | c3a5c6ec98e9f06786fdc440563b333d662d2e94 | refs/heads/master | 2023-07-06T14:37:42.174220 | 2020-10-22T17:12:37 | 2020-10-22T17:12:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--){
int n;
cin>>n;
char nut[10];
char bolt[10];
for(int i=0;i<n;i++){
cin >> nut[i];
}
for(int i=0;i<n;i++){
cin >> bolt[i];
}
sort(nut,nut+n);
sort(bolt,bolt+n);
for(int i=0;i<n;i++){
cout << nut[i] << " ";
}
cout << endl;
for(int i=0;i<n;i++){
cout << bolt[i] << " ";
}
cout << endl;
}
return 0;
} | [
"noreply@github.com"
] | Brehm1983.noreply@github.com |
89139363684e915b94406ea663abce28d5041196 | b4d8f2fa73b124c32193bf7cdb2b8aeff7699bc5 | /src/main.cpp | 95fcd68f1087e84acd3094d4836bf57c6eaa5d52 | [] | no_license | AntonNM/RedBird | 4e2e6dad4cc423127f5e7505e4685b188e257ea5 | 3943177326dc51b1778bdb3f65fd238b71928689 | refs/heads/master | 2022-03-21T00:01:15.647818 | 2022-02-19T23:10:13 | 2022-02-19T23:10:13 | 233,654,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,735 | cpp | /*
* main.cpp
*
* Created on: March 4, 2021
* Author: Anton Mladenov
*/
#include <iostream>
#include <stdio.h>
#include <vector>
#include "board.h"
#include "Piece.h"
#include "PositionVector.h"
#include "pathVector.h"
#include "node.h"
#include <time.h>
using namespace std;
class engine {
node currentBoard;
vector<pathVector> evaluatingPath;
//tranposition table
//alphabeta pruning
//progressive deepening3.
};
int main2(){
board * start = new board(true);
start->print();
return 0;
}
int main(){
clock_t tStart = clock();
int depth =4;
board *start = new board(true);
node *gameNode = new node(start);
/*
vector<pathVector> possibleMoves;
pathVector firstMove= { PositionVector {1, 4}, PositionVector {3, 4}, 'p' };
pathVector secondMove={ PositionVector {6, 3}, PositionVector {4, 3}, 'p' };
pathVector thirdMove= { PositionVector {3, 4}, PositionVector {4, 3}, 'p' };
pathVector fourthMove= { PositionVector {6, 7}, PositionVector {4, 7}, 'p' };
board* first = new board(start, &firstMove);
first->print();
board* second = new board(first, &secondMove);
second->print();
board* third = new board(second, &thirdMove);
third->print();
board* fourth = new board(third, &fourthMove);
//start->print();
fourth->print();
*/
/*
for(Piece* piece = third->Head->Next;piece!=third->Middle;piece=piece->Next){
piece->print();
}
for(Piece* piece = third->Tail->Previous;piece!=third->Middle;piece=piece->Previous){
piece->print();
}
*/
/*
start->nextPositions(&possibleMoves);
//for
for(auto move:possibleMoves){
move.print();
board* next = new board(start,&(move));
//next->print();
}
*/
int numboards = 0;
gameNode->minimax(depth, &numboards).print();//.print();//.print();
//node *Next;
std::cout<<((double)(clock()-tStart))/CLOCKS_PER_SEC;
std::cout<<"\n"<<numboards;
//start->Head;
/*for(Piece* pointer=start->Head->Next;pointer!=start->Middle;pointer=pointer->Next){
pointer->printPieceId();
}*/
//std::cout<<start->position[4][0]->pieceId;
//gameNode->getChildren();
//gameNode->print();
//pathVector bestMove = gameNode->getBestMove(depth);
/*
char input;
while (true){
gameNode->current.evaluate();
cout<<"evaluation: "<<gameNode->current.evaluation<<"\n";
cout<<"Next?";
cin>>input;
bestMove = gameNode->getBestMove(depth);
// best move needs to be randomized if multiple equal moves are produced.
// Piece evaluations should be affected by a position matrix
//alpha beta pruning
//Deincentives repititions
Next = new node(&gameNode->current, bestMove);
delete gameNode;
gameNode = Next;
gameNode->print();
}
delete gameNode;
delete start;
*/
return 0;
}
| [
"anton.mladenov@gmail.com"
] | anton.mladenov@gmail.com |
dc87cd38b5501d544bf03c828dc37db0b9adf6ed | 860ccb2a02d6269b1de1bec6e289f65c03c9d55a | /projects/caesar/aead/shell/shellaes128v1d8n80/shellaes128v1d8n80_shellaes.cpp | ab875c1c76a3dd7d3e930ad873dbea769f20511b | [] | no_license | Vieteg/EACirc | bf536a80a09cb3b9d8202bf2948f3f65aa105226 | b69f5f970f0d8ec26668262519306fc2837758f4 | refs/heads/master | 2020-12-27T12:02:43.760581 | 2015-09-18T17:19:05 | 2015-09-18T17:19:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,046 | cpp | namespace Shellaes128v1d8n80_raw {
int numRounds = -1;
/*
* SHELL-AES Reference C Implementation
*
* Copyright 2014:
* Lei Wang <wang.lei@ntu.edu.sg>
* <shellaemode@gmail.com>
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*
*/
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<stdint.h>
#include "aes.h"
#include "shellaes.h"
/*print a byte string b[]. blen is the length of b[].*/
void printf_byte_string(const u8 b[], unsigned long long int blen){
unsigned long long int i;
for(i=0; i<blen; ++i){
printf("%3x", b[i]);
if(i%16==15&&i!=0){
printf("\n");
}
}
printf("\n");
}
/*xor the first blen bytes of two byte string byte1[] and byte2[],
and save the result byte string to the first blen bytes of byte2[]*/
void xor_byte_string(const u8 byte1[], u8 byte2[], unsigned long long int blen){
unsigned long long int i;
for(i=0; i<blen; ++i){
byte2[i]^=byte1[i];
}
}
/*compute the XOR checksum of a set of 128-bit state stored in a byte string byte1[]*/
void checksum_state_string(const u8 byte1[], u8 checksum[], unsigned long long int blen){
memset(checksum, 0x00, 16);
while(blen!=0){
xor_byte_string(byte1, checksum, 16);
byte1+=16;
blen-=16;
}
}
/*compute 2*maskstate over GF(2^128) with f(x)=x^128+x^7+x^2+x+1*/
void double_mask(u8 maskstate[]){
int i;
u8 msb;
u8 tempbyte;
msb=(maskstate[0] & 0x80)?1:0;
u8 carry=0;
for(i=15; i>=0; --i){
tempbyte=maskstate[i];
maskstate[i]=(tempbyte<<1)|carry;
carry=tempbyte>>7;
}
if(msb){
maskstate[15]^=0x87;
}
}
/*MIX function used in XLS*/
void MIX(u8 byte1[], u8 byte2[], unsigned int blen){
u8 temp[blen];
u8 tempbyte;
int i;
u8 carry;
memcpy(temp, byte1, blen);
xor_byte_string(byte2, temp, blen);
/*left rotate temp[] by one bit*/
carry=temp[0]>>7;
for(i=blen-1; i>=0; --i){
tempbyte=temp[i];
temp[i]=tempbyte<<1;
temp[i]|=carry;
carry=tempbyte>>7;
}
xor_byte_string(temp, byte1, blen);
xor_byte_string(temp, byte2, blen);
}
/*Setup the encryption key materials including mask key, and subkeys for SHELL-AES*/
void KeySetupEnc(u32 mk[], u32 sk[], u8 L[], u8 Lprime[], u8 keyprime[], const u32 rk[], const u8 key[]){
u8 pt[16];
u8 ct[16];
int i;
/* generate Keyprime for CENC*/
for(i=0; i<16; ++i){
keyprime[i]=key[i]^0xF0;
}
/* produce L for masks of AES*/
memset(pt, 0x00, 16);
aesEncrypt(rk, pt, L);
/*produce the subkeys for auxiliary permutations*/
for(i=1; i<=3*d; ++i){
pt[15]=i;
aesEncrypt(rk, pt, ct);
sk[0]=GETU32(ct);
sk[1]=GETU32(ct+4);
sk[2]=GETU32(ct+8);
sk[3]=GETU32(ct+12);
sk=sk+4;
}
/*produce the mask keys for auxiliary permutations*/
for(i=3*d+1; i<=4*d; ++i){
pt[15]=i;
aesEncrypt(rk, pt, ct);
mk[0]=GETU32(ct);
mk[1]=GETU32(ct+4);
mk[2]=GETU32(ct+8);
mk[3]=GETU32(ct+12);
mk=mk+4;
}
/*produce Lprime for XEX layer*/
memset(pt, 0xFF, 16);
aesEncrypt(rk, pt, Lprime);
}
/*Setup the decryption key materials including mask key, and subkey for SHELL-AES*/
void KeySetupDec(u32 mk[], u32 sk[], u32 isk[], u8 L[], u8 Lprime[], u8 keyprime[], const u32 rk[], const u8 key[]){
int i;
u32 temp;
KeySetupEnc(mk, sk, L, Lprime, keyprime, rk, key);
memcpy(isk, sk, 48*d);
/*inverse the order of round keys for each auxiliary permutation */
for(i=0; i<d; ++i){
temp=isk[12*i ]; isk[12*i ]=isk[12*i+ 8]; isk[12*i+ 8]=temp;
temp=isk[12*i+1]; isk[12*i+1]=isk[12*i+ 9]; isk[12*i+ 9]=temp;
temp=isk[12*i+2]; isk[12*i+2]=isk[12*i+10]; isk[12*i+10]=temp;
temp=isk[12*i+3]; isk[12*i+3]=isk[12*i+11]; isk[12*i+11]=temp;
}
/*apply inverse mixcolumn to the round keys*/
for(i=0; i< 12*d; ++i){
isk[i] =
Td0[Te4[(isk[i] >> 24) ] & 0xff] ^
Td1[Te4[(isk[i] >> 16) & 0xff] & 0xff] ^
Td2[Te4[(isk[i] >> 8) & 0xff] & 0xff] ^
Td3[Te4[(isk[i] ) & 0xff] & 0xff];
}
}
/*PX-MAC to process associated data*/
void PXMAC(const u32 mk[], const u32 sk[], const u8 L[], u8 V[], const u32 rk[], const u8 ad[], unsigned long long int adlen){
int i=0;
u8 pt[16], ct[16];
u8 final_block_mask[16];
memset(pt, 0, 16);
memset(ct, 0, 16);
/*process associated data except the last block*/
memset(V, 0x00, 16);
while(adlen>16){
aesReducedEnc(mk+4*i, sk+12*i, ad, ct);
xor_byte_string(ct, V, 16);
++i;
ad+=16;
adlen-=16;
if(i==d){
aesEncrypt(rk, V, ct);
memcpy(V, ct, 16);
i=0;
}
}
/*process the last block*/
memcpy(final_block_mask, L, 16);
double_mask(final_block_mask);
memcpy(pt, ad, adlen);
if(adlen!=16){
double_mask(final_block_mask);
pt[adlen]=0x80;
memset(pt+adlen+1, 0x00, 15-adlen);
}
aesReducedEnc(mk+4*i, sk+12*i, pt, ct);
xor_byte_string(ct, V, 16);
xor_byte_string(final_block_mask, V, 16);
/*the finalization AES*/
aesEncrypt(rk, V, ct);
memcpy(V, ct, 16);
}
/*CENC to process nonce*/
void CENC(const u32 rkprime[], u8 S[], u8 F[], const u8 nonce[], unsigned long long int ptlen){
u8 ctr[16];
u8 G[16];
u8 ct[16];
int i, j=0;
/*initialize ctr*/
memset(ctr, 0, 16);
memcpy(ctr, nonce, byte_length_nonce);
/*produce the output S except the last block*/
aesEncrypt(rkprime, ctr, G);
while(ptlen>16){
/*increase ctr by adding 1*/
if(++ctr[15]==0){
i=14;
while(++ctr[i]==0){
--i;
}
}
/*update the value of G*/
if(j==w){
aesEncrypt(rkprime, ctr, G);
j=0;
continue;
}
aesEncrypt(rkprime, ctr, S);
xor_byte_string(G, S, 16);
S+=16;
ptlen-=16;
++j;
}
/*produce the last block of S*/
if(++ctr[15]==0){
i=14;
while(++ctr[i]==0){
--i;
}
}
if(j==w){
aesEncrypt(rkprime, ctr, G);
j=0;
if(++ctr[15]==0){
i=14;
while(++ctr[i]==0){
--i;
}
}
}
aesEncrypt(rkprime, ctr, ct);
xor_byte_string(G, ct, 16);
memcpy(S, ct, ptlen);
++j;
/*produce the value of F*/
if(++ctr[15]==0){
i=14;
while(++ctr[i]==0){
--i;
}
}
if(j==w){
aesEncrypt(rkprime, ctr, G);
j=0;
if(++ctr[15]==0){
i=14;
while(++ctr[i]==0){
--i;
}
}
}
aesEncrypt(rkprime, ctr, F);
xor_byte_string(G, F, 16);
}
/*PXENC layer*/
void PXENC(const u32 mk[], const u32 sk[], const u8 L[], u8 V[], u8 Z[], const u32 rk[], const u8 I[], unsigned long long int ptlen){
int i=0;
u8 ct[16];
u8 final_block_mask[16];
/*process I[] except the last block*/
while(ptlen>16){
aesReducedEnc(mk+4*i, sk+12*i, I, ct);
xor_byte_string(ct, V, 16);
memcpy(Z, V, 16);
Z+=16;
I+=16;
ptlen-=16;
++i;
if(i==d){
aesEncrypt(rk, V, ct);
memcpy(V, ct, 16);
i=0;
}
}
/*process the last block of I[]*/
aesReducedEnc(mk+4*i, sk+12*i, I, ct);
xor_byte_string(ct, V, 16);
memcpy(final_block_mask, L, 16);
double_mask(final_block_mask);
double_mask(final_block_mask);
double_mask(final_block_mask);
xor_byte_string(final_block_mask, V, 16);
memcpy(Z, V, 16);
/*the finalization AES*/
aesEncrypt(rk, V, ct);
memcpy(V, ct, 16);
}
/*PXDEC layer: the decryption of PXENC*/
void PXDEC(const u32 mk[], const u32 isk[], const u8 L[], u8 V[], const u8 Z[], const u32 rk[], u8 I[], unsigned long long int ctlen){
int i=0;
u8 ct[16];
u8 final_block_mask[16];
/*process the output Z[] of XEXLayerDec except the last block*/
while(ctlen>16){
xor_byte_string(Z, V, 16);
aesReducedDec(mk+4*i, isk+12*i, V, ct);
memcpy(I, ct, 16);
memcpy(V, Z, 16);
Z+=16;
I+=16;
ctlen-=16;
++i;
if(i==d){
i=0;
aesEncrypt(rk, V, ct);
memcpy(V, ct, 16);
}
}
/*process the last block*/
memcpy(final_block_mask, L, 16);
double_mask(final_block_mask);
double_mask(final_block_mask);
double_mask(final_block_mask);
xor_byte_string(Z, V, 16);
xor_byte_string(final_block_mask, V, 16);
aesReducedDec(mk+4*i, isk+12*i, V, I);
/*apply the finalization AES*/
memcpy(V, Z, 16);
aesEncrypt(rk, V, ct);
memcpy(V, ct, 16);
}
/* XEX layer to produce ciphertext*/
void XEXLayerEnc(const u32 rk[], const u8 Lprime[], const u8 Z[], u8 C[], unsigned long long int ctlen){
u8 mask[16];
u8 temp[16];
u8 ct[16];
memcpy(mask, Lprime, 16);
while(ctlen!=0){
double_mask(mask);
memcpy(temp, Z, 16);
xor_byte_string(mask, temp, 16);
aesEncrypt(rk, temp, ct);
xor_byte_string(mask, ct, 16);
memcpy(C, ct, 16);
C+=16;
Z+=16;
ctlen-=16;
}
}
/*decryption of XEX layer*/
void XEXLayerDec(const u32 irk[], const u8 Lprime[], const u8 C[], u8 Z[], unsigned long long int ctlen){
u8 mask[16];
u8 temp[16];
u8 pt[16];
memcpy(mask, Lprime, 16);
while(ctlen!=0){
double_mask(mask);
memcpy(temp, C, 16);
xor_byte_string(mask, temp, 16);
aesDecrypt(irk, temp, pt);
xor_byte_string(mask, pt, 16);
memcpy(Z, pt, 16);
C+=16;
Z+=16;
ctlen-=16;
}
}
/*generate tag for plaintext with multiple block length*/
void tagGen(const u32 rk[], const u8 checksum[], const u8 Lprime[], const u8 U[], const u8 F[], u8 T[], unsigned long long int ptlen){
u8 mask1[16], mask2[16];
u8 temp[16];
/*generate 3*Lprime and 7*Lprime and store them in mask1[] and mask2[] respectively*/
memcpy(mask1, Lprime, 16);
double_mask(mask1);
memcpy(mask2, mask1, 16);
xor_byte_string(Lprime, mask1, 16);
double_mask(mask2);
xor_byte_string(mask1, mask2, 16);
/*generate 2^{lm+1}*3*Lprime and 2^{lm+1}*7*Lprime and store them in mask1[] and mask2[] respectively*/
while(ptlen!=0){
double_mask(mask1);
double_mask(mask2);
ptlen-=16;
}
double_mask(mask1);
double_mask(mask2);
/*produce the tag value*/
xor_byte_string(checksum, mask1, 16);
aesEncrypt(rk, mask1, temp);
xor_byte_string(U, temp, 16);
xor_byte_string(mask2, temp, 16);
aesEncrypt(rk, temp, T);
xor_byte_string(mask2, T, 16);
xor_byte_string(F, T, 16);
}
/*verify the validness of the tag T[]*/
int tagVef(const u32 rk[], const u8 checksum[], const u8 Lprime[], const u8 U[], const u8 F[], const u8 T[], unsigned long long int ptlen){
u8 tempT[16];
int flag=1;
int i;
tagGen(rk, checksum, Lprime, U, F, tempT, ptlen);
for(i=0; i<16; ++i){
if(tempT[i]!=T[i]){
flag=0;
}
}
return flag;
}
/*SHELL-AES encryption for plaintexts of mutiple blocks long:
parameters follow those of function shellaesEnc
*/
void shellaesEnc_fb(const u8 key[], const u8 nonce[], const u8 ad[], unsigned long long int adlen, const u8 p[], unsigned long long int ptlen, u8 c[], u8 tag[]){
u8 V[16], U[16], checksum[16], F[16], keyprime[16], L[16], Lprime[16];
u8* S;
u8* I;
u8* Z;
S= (u8 *) malloc(ptlen);
I= (u8 *) malloc(ptlen);
Z= (u8 *) malloc(ptlen);
memset(V, 0, 16);
memset(U, 0, 16);
memset(checksum, 0, 16);
memset(keyprime, 0, 16);
memset(F, 0, 16);
memset(L, 0, 16);
memset(Lprime, 0, 16);
u32 mk[4*d], sk[12*d], rk[44], rkprime[44];
/* key setup */
aesKeySetupEnc(rk, key);
KeySetupEnc(mk, sk, L, Lprime, keyprime, rk, key);
aesKeySetupEnc(rkprime, keyprime);
/*PXMAC: process associated data, and save output to V[]*/
PXMAC(mk, sk, L, V, rk, ad, adlen);
/*CENC: process nonce, and save output to S[] and F[]*/
CENC(rkprime, S, F, nonce, ptlen);
/*mask plaintext by xoring the output S[] of CENC, and save it to I[]*/
memcpy(I, S, ptlen);
xor_byte_string(p, I, ptlen);
/*PXENC: save outputs to Z[] and U[] */
PXENC(mk, sk, L, V, Z, rk, I, ptlen);
memcpy(U, V, 16);
/*XEX: produce the ciphertext*/
XEXLayerEnc(rk, Lprime, Z, c, ptlen);
/*generate tag*/
checksum_state_string(I, checksum, ptlen);
tagGen(rk, checksum, Lprime, U, F, tag, ptlen);
/*
printf("ciphertext is: \n");
printf_byte_string(c, ptlen);
printf("tag value is: \n");
printf_byte_string(tag, 16);
*/
free(I);
free(Z);
free(S);
}
/*SHELL-AES decryption for plaintexts of mutiple blocks long:
parameters follow those of function shellaesEnc
*/
int shellaesDecVef_fb(const u8 key[], const u8 nonce[], const u8 ad[], unsigned long long int adlen, const u8 c[], unsigned long long int ctlen, u8 p[], const u8 tag[]){
u8 V[16], U[16], checksum[16], keyprime[16], F[16], L[16], Lprime[16];
u8* S;
u8* I;
u8* Z;
S=(u8 *) malloc(ctlen);
I=(u8 *) malloc(ctlen);
Z=(u8 *) malloc(ctlen);
memset(V, 0, 16);
memset(U, 0, 16);
memset(checksum, 0, 16);
memset(keyprime, 0, 16);
memset(F, 0, 16);
memset(L, 0, 16);
memset(Lprime, 0, 16);
u32 mk[4*d], sk[12*d], isk[12*d], rk[44], irk[44], rkprime[44];
/*setup key materials*/
aesKeySetupEnc(rk, key);
aesKeySetupDec(irk, key);
KeySetupDec(mk, sk, isk, L, Lprime, keyprime, rk, key);
aesKeySetupEnc(rkprime, keyprime);
/*process associated data*/
PXMAC(mk, sk, L, V, rk, ad, adlen);
/*decryption of XEX layer*/
XEXLayerDec(irk, Lprime, c, Z, ctlen);
/*decryption of PXENC layer*/
PXDEC(mk, isk, L, V, Z, rk, I, ctlen);
/*CENC layer*/
CENC(rkprime, S, F, nonce, ctlen);
/*produce the plaintext*/
memcpy(p, S, ctlen);
xor_byte_string(I, p, ctlen);
/*verify the validness of tag*/
int flag;
memcpy(U, V, 16);
checksum_state_string(I, checksum, ctlen);
flag=tagVef(rk, checksum, Lprime, U, F, tag, ctlen);
/*
if(flag){
printf("the plaintext is:\n");
printf_byte_string(p, ctlen);
}
else{
printf("the tag is invalid!");
}
*/
free(I);
free(S);
free(Z);
return flag;
}
/*SHELL-AES decryption for plaintexts with a length longer than one block but not a multiple of block length:
shellaesDec_fb is used to decrypt of the ciphertext without the last non-full block;
parameters follow those of function shellaesEnc
*/
void shellaesDec_fb(const u8 key[], const u8 nonce[], const u8 ad[], unsigned long long int adlen, const u8 c[], unsigned long long int ctlen, u8 p[], u8 tag[]){
u8 V[16], U[16], checksum[16], keyprime[16], F[16], L[16], Lprime[16];
u8* S;
u8* I;
u8* Z;
S=(u8 *) malloc(ctlen);
I=(u8 *) malloc(ctlen);
Z=(u8 *) malloc(ctlen);
memset(V, 0, 16);
memset(U, 0, 16);
memset(checksum, 0, 16);
memset(keyprime, 0, 16);
memset(F, 0, 16);
memset(L, 0, 16);
memset(Lprime, 0, 16);
u32 mk[4*d], sk[12*d], isk[12*d], rk[44], irk[44], rkprime[44];
aesKeySetupEnc(rk, key);
aesKeySetupDec(irk, key);
KeySetupDec(mk, sk, isk, L, Lprime, keyprime, rk, key);
aesKeySetupEnc(rkprime, keyprime);
PXMAC(mk, sk, L, V, rk, ad, adlen);
XEXLayerDec(irk, Lprime, c, Z, ctlen);
PXDEC(mk, isk, L, V, Z, rk, I, ctlen);
memcpy(U, V, 16);
checksum_state_string(I, checksum, ctlen);
CENC(rkprime, S, F, nonce, ctlen);
memcpy(p, S, ctlen);
xor_byte_string(I, p, ctlen);
tagGen(rk, checksum, Lprime, U, F, tag, ctlen);
free(I);
free(S);
free(Z);
}
/*
SHELL-AES encryption for plaintexts shorter than one blocks long:
parameters follow those of function shellaesEnc
*/
void shellaesEnc_short(const u8 key[], const u8 nonce[], const u8 ad[], unsigned long long int adlen, const u8 p[], unsigned long long int ptlen, u8 c[], u8 tag[]){
u8 V[16], F[16], keyprime[16], L[16], Lprime[16], S[16], I[16];
u32 mk[4*d], sk[12*d], rk[44], rkprime[44];
u8 pt[16], pt1[16], pt2[16], ct1[16], ct2[16];
u8 mask[16];
u8 temp[16];
int i;
/*key setup*/
aesKeySetupEnc(rk, key);
KeySetupEnc(mk, sk, L, Lprime, keyprime, rk, key);
aesKeySetupEnc(rkprime, keyprime);
/*PXMAC: process the associated data and save output to V[]*/
memset(V, 0, 16);
PXMAC(mk, sk, L, V, rk, ad, adlen);
/*CENC: process nonce and save the output to S[] and F[]*/
CENC(rkprime, S, F, nonce, 16);
/*pad p[] to a full block and save it to pt[]*/
memset(pt, 0, 16);
memcpy(pt, p, ptlen);
pt[ptlen]=0x80;
/*mask pt[] by xoring the output S[] of CENC, and save it to I[] */
memcpy(I, S, 16);
xor_byte_string(pt, I, 16);
/*compute 3^3*Lprime and save it to mask[]*/
memcpy(mask, Lprime, 16);
for(i=0; i<3; ++i){
memcpy(temp, mask, 16);
double_mask(mask);
xor_byte_string(temp, mask, 16);
}
/*compute XEX cipher with tweak of 3^3*Lprime and input I[], and save the output to ct1[]*/
memcpy(pt1, I, 16);
xor_byte_string(mask, pt1, 16);
aesEncrypt(rk, pt1, ct1);
xor_byte_string(mask, ct1, 16);
/*compute XEX cipher with tweak of 2*3^3*Lprime and input I[], and save the output to ct2[]*/
double_mask(mask);
memcpy(pt2, I, 16);
xor_byte_string(mask, pt2, 16);
aesEncrypt(rk, pt2, ct2);
xor_byte_string(mask, ct2, 16);
/*compute XEX cipher with tweak of 2^2*3^3*Lprime and input of xoring ct1 and the output V of PX-MAC,
and save the output to ct1[]*/
xor_byte_string(ct1, V, 16);
memcpy(pt1, V, 16);
double_mask(mask);
xor_byte_string(mask, pt1, 16);
aesEncrypt(rk, pt1, ct1);
xor_byte_string(mask, ct1, 16);
/*compute XEX cipher with tweak of 2^3*3^3*Lprime and input of xoring ct2 and the updated V,
and save the output to ct2[]*/
xor_byte_string(ct2, V, 16);
memcpy(pt2, V, 16);
double_mask(mask);
xor_byte_string(mask, pt2, 16);
aesEncrypt(rk, pt2, ct2);
xor_byte_string(mask, ct2, 16);
/*xor ct2 with the output F of CENC*/
xor_byte_string(F, ct2, 16);
/*tag splitting:
produce the ciphertext and tag from ct1 and ct2*/
memcpy(c, ct1, ptlen);
for(i=ptlen; i<16; ++i){
tag[i-ptlen]=ct1[i];
}
for(i=0; i<ptlen; ++i){
tag[16-ptlen+i]=ct2[i];
}
/*
printf("ciphertext is: \n");
printf_byte_string(c, ptlen);
printf("tag value is: \n");
printf_byte_string(tag, 16);
*/
}
/*
SHELL-AES decryption for plaintexts shorter than one blocks long:
parameters follow those of function shellaesEnc
*/
int shellaesDec_short(const u8 key[], const u8 nonce[], const u8 ad[], unsigned long long int adlen, const u8 c[], unsigned long long int ctlen, u8 p[], const u8 tag[]){
u8 V[16], F[16], keyprime[16], L[16], Lprime[16], S[16], I[16];
u32 mk[4*d], sk[12*d], rk[44], irk[44], rkprime[44];
u8 pt1[16], pt2[16], ct1[16], ct2[16];
u8 mask[16], mask1[16];
u8 temp[16];
int i, flag;
/* key setup */
aesKeySetupEnc(rk, key);
KeySetupEnc(mk, sk, L, Lprime, keyprime, rk, key);
aesKeySetupDec(irk, key);
aesKeySetupEnc(rkprime, keyprime);
memset(V, 0, 16);
/*PX-MAC*/
PXMAC(mk, sk, L, V, rk, ad, adlen);
/*derive the block of ciphertext and save it to ct1[]*/
memcpy(ct1, c, ctlen);
for(i=ctlen; i<16; ++i){
ct1[i]=tag[i-ctlen];
}
/*produce mask 3^3*Lprime*/
memcpy(mask, Lprime, 16);
for(i=0; i<3; ++i){
memcpy(temp, mask, 16);
double_mask(mask);
xor_byte_string(temp, mask, 16);
}
/*produce mask 2^2*3^3*Lprime*/
memcpy(mask1, mask, 16);
double_mask(mask1);
double_mask(mask1);
/*decrypt to obtain I[]*/
xor_byte_string(mask1, ct1, 16);
aesDecrypt(irk, ct1, pt1);
xor_byte_string(mask1, pt1, 16);
xor_byte_string(V, pt1, 16);
memcpy(ct1, pt1, 16);
xor_byte_string(ct1, V, 16);
xor_byte_string(mask, ct1, 16);
aesDecrypt(irk, ct1, pt1);
xor_byte_string(mask, pt1, 16);
memcpy(I, pt1, 16);
/*decrypt the plaintext*/
CENC(rkprime, S, F, nonce, 16);
xor_byte_string(S, pt1, 16);
memcpy(p, pt1, ctlen);
/*verify the validness of tag*/
memcpy(pt2, I, 16);
double_mask(mask);
xor_byte_string(mask, pt2, 16);
aesEncrypt(rk, pt2, ct2);
xor_byte_string(mask, ct2, 16);
xor_byte_string(V, ct2, 16);
memcpy(pt2, ct2, 16);
double_mask(mask1);
xor_byte_string(mask1, pt2, 16);
aesEncrypt(rk, pt2, ct2);
xor_byte_string(mask1, ct2, 16);
xor_byte_string(F, ct2, 16);
flag=1;
if(pt1[ctlen]!=0x80){
flag=0;
}
for(i=ctlen+1; i<16; ++i){
if(pt1[i]!=0){
flag=0;
}
}
for(i=0; i<ctlen; ++i){
if(ct2[i]!=tag[i+16-ctlen]){
flag=0;
}
}
/*
if(flag){
printf("the plaintext is:\n");
printf_byte_string(p, ctlen);
}
else{
printf("the tag is invalid!");
}
*/
return flag;
}
/*XLS function to process the non-full last block of plaintexts*/
void XLS(const u32 rk[], const u8 Lprime[], const u8 p[], unsigned long long int fb_ptlen, unsigned int nfb_ptlen, u8 c[], u8 tag[]){
u8 mask1[16], mask2[16];
u8 temp[16];
u8 pt[16], ct[16], byte1[nfb_ptlen], byte2[nfb_ptlen];
int i;
/*produce mask 3^2*Lprime, and save it to mask1[]*/
memcpy(mask1, Lprime, 16);
for(i=0; i<2; ++i){
memcpy(temp, mask1, 16);
double_mask(mask1);
xor_byte_string(temp, mask1, 16);
}
/*produce mask 7^2*Lprime, and save it to mask2[]*/
memcpy(mask2, Lprime, 16);
for(i=0; i<2; ++i){
memcpy(temp, mask2, 16);
double_mask(mask2);
xor_byte_string(mask2, temp, 16);
double_mask(mask2);
xor_byte_string(temp, mask2, 16);
}
/*produce the masks for E' and E'', and save them to mask1[] and mask2[] respectively*/
while(fb_ptlen!=0){
double_mask(mask1);
double_mask(mask2);
fb_ptlen-=16;
}
double_mask(mask1);
double_mask(mask2);
/*First round of XLS*/
memcpy(pt, p, nfb_ptlen);
memcpy(pt+nfb_ptlen, tag, 16-nfb_ptlen);
/*apply E'*/
xor_byte_string(mask1, pt, 16);
aesEncrypt(rk, pt, ct);
xor_byte_string(mask1, ct, 16);
/*flip one bit*/
ct[15-nfb_ptlen]^=0x01;
memcpy(byte1, ct+16-nfb_ptlen, nfb_ptlen);
memcpy(byte2, tag+16-nfb_ptlen, nfb_ptlen);
/*MIX function*/
MIX(byte1, byte2, nfb_ptlen);
memcpy(ct+16-nfb_ptlen, byte1, nfb_ptlen);
memcpy(pt, ct, 16);
/*Second round of XLS*/
/*apply E''*/
xor_byte_string(mask2, pt, 16);
aesEncrypt(rk, pt, ct);
xor_byte_string(mask2, ct, 16);
ct[15-nfb_ptlen]^=0x01;
memcpy(byte1, ct+16-nfb_ptlen, nfb_ptlen);
MIX(byte1, byte2, nfb_ptlen);
memcpy(ct+16-nfb_ptlen, byte1, nfb_ptlen);
memcpy(pt, ct, 16);
/*the third round of XLS*/
xor_byte_string(mask1, pt, 16);
aesEncrypt(rk, pt, ct);
xor_byte_string(mask1, ct, 16);
/*produce ciphertext and tag*/
memcpy(c, ct, nfb_ptlen);
memcpy(tag, ct+nfb_ptlen, 16-nfb_ptlen);
memcpy(tag+16-nfb_ptlen, byte2, nfb_ptlen);
}
/*inverse of XLS*/
void XLSInv(const u32 irk[], const u8 Lprime[], const u8 c[], unsigned long long fb_ctlen, unsigned int nfb_ctlen, u8 p[], u8 tag[]){
u8 pt[16], ct[16];
u8 temp[16];
u8 mask1[16], mask2[16];
u8 byte1[nfb_ctlen], byte2[nfb_ctlen];
int i;
/*produce mask 3^2*Lprime, and save it to mask1[]*/
memcpy(mask1, Lprime, 16);
for(i=0; i<2; ++i){
memcpy(temp, mask1, 16);
double_mask(mask1);
xor_byte_string(temp, mask1, 16);
}
/*produce mask 7^2*Lprime, and save it to mask2[]*/
memcpy(mask2, Lprime, 16);
for(i=0; i<2; ++i){
memcpy(temp, mask2, 16);
double_mask(mask2);
xor_byte_string(mask2, temp, 16);
double_mask(mask2);
xor_byte_string(temp, mask2, 16);
}
/*produce the masks for E' and E'', and save them to mask1[] and mask2[] respectively*/
while(fb_ctlen!=0){
double_mask(mask1);
double_mask(mask2);
fb_ctlen-=16;
}
double_mask(mask1);
double_mask(mask2);
memcpy(ct, c, nfb_ctlen);
memcpy(ct+nfb_ctlen, tag, 16-nfb_ctlen);
memcpy(byte2, tag+16-nfb_ctlen, nfb_ctlen);
/*the first round */
xor_byte_string(mask1, ct, 16);
aesDecrypt(irk, ct, pt);
xor_byte_string(mask1, pt, 16);
pt[15-nfb_ctlen]^=0x01;
memcpy(byte1, pt+16-nfb_ctlen, nfb_ctlen);
MIX(byte1, byte2, nfb_ctlen);
memcpy(pt+16-nfb_ctlen, byte1, nfb_ctlen);
memcpy(ct, pt, 16);
/*The second round*/
xor_byte_string(mask2, ct, 16);
aesDecrypt(irk, ct, pt);
xor_byte_string(mask2, pt, 16);
pt[15-nfb_ctlen]^=0x01;
memcpy(byte1, pt+16-nfb_ctlen, nfb_ctlen);
MIX(byte1, byte2, nfb_ctlen);
memcpy(pt+16-nfb_ctlen, byte1, nfb_ctlen);
memcpy(ct, pt, 16);
/*the third round */
xor_byte_string(mask1, ct, 16);
aesDecrypt(irk, ct, pt);
xor_byte_string(mask1, pt, 16);
/*separate the output to plaintext and tag*/
memcpy(p, pt, nfb_ctlen);
memcpy(tag, pt+nfb_ctlen, 16-nfb_ctlen);
memcpy(tag+16-nfb_ctlen, byte2, nfb_ctlen);
}
/*SHELL-AES encryption for plaintexts with a length longer than one block but not a multiple of block length:
parameters follow those of function shellaesEnc
*/
void shellaesEnc_nfb(const u8 key[], const u8 nonce[], const u8 ad[], unsigned long long int adlen, const u8 p[], unsigned long long int ptlen, u8 c[], u8 tag[]){
u8 V[16], U[16], checksum[16], F[16], keyprime[16], L[16], Lprime[16];
u8* S;
u8* I;
u8* Z;
unsigned long long int pt_fblen;
unsigned int pt_nfblen;
pt_nfblen=ptlen%16;
pt_fblen=ptlen-pt_nfblen;
S= (u8 *) malloc(ptlen);
I= (u8 *) malloc(ptlen);
Z= (u8 *) malloc(pt_fblen);
memset(V, 0, 16);
memset(U, 0, 16);
memset(checksum, 0, 16);
memset(keyprime, 0, 16);
memset(F, 0, 16);
memset(L, 0, 16);
memset(Lprime, 0, 16);
u32 mk[4*d], sk[12*d], rk[44], rkprime[44];
/*key setup*/
aesKeySetupEnc(rk, key);
KeySetupEnc(mk, sk, L, Lprime, keyprime, rk, key);
aesKeySetupEnc(rkprime, keyprime);
/*process the plaintext except the last non-full block*/
PXMAC(mk, sk, L, V, rk, ad, adlen);
CENC(rkprime, S, F, nonce, ptlen);
memcpy(I, p, ptlen);
xor_byte_string(S, I, ptlen);
checksum_state_string(I, checksum, pt_fblen);
PXENC(mk, sk, L, V, Z, rk, I, pt_fblen);
memcpy(U, V, 16);
XEXLayerEnc(rk, Lprime, Z, c, pt_fblen);
tagGen(rk, checksum, Lprime, U, F, tag, pt_fblen);
/*XLS: process the last non-full block*/
XLS(rk, Lprime, p+pt_fblen, pt_fblen, pt_nfblen, c+pt_fblen, tag);
/*
printf("ciphertext is: \n");
printf_byte_string(c, ptlen);
printf("tag value is: \n");
printf_byte_string(tag, 16);
*/
free(I);
free(Z);
free(S);
}
/*SHELL-AES decryption for ciphertexts with a length longer than one block but not a multiple of block length:
parameters follow those of function shellaesEnc
*/
int shellaesDec_nfb(const u8 key[], const u8 nonce[], const u8 ad[], unsigned long long int adlen, const u8 c[], unsigned long long int ctlen, u8 p[], const u8 tag[]){
u8 V[16], U[16], checksum[16], F[16], keyprime[16], L[16], Lprime[16];
u8* S;
u8* I;
u8* Z;
u8 tempTag[16], tempTag2[16];
int i, flag;
unsigned long long int ct_fblen;
unsigned int ct_nfblen;
ct_nfblen=ctlen%16;
ct_fblen=ctlen-ct_nfblen;
S= (u8 *) malloc(ctlen);
I= (u8 *) malloc(ctlen);
Z= (u8 *) malloc(ct_fblen);
memset(V, 0, 16);
memset(U, 0, 16);
memset(checksum, 0, 16);
memset(keyprime, 0, 16);
memset(F, 0, 16);
memset(L, 0, 16);
memset(Lprime, 0, 16);
u32 mk[4*d], sk[12*d], isk[12*d], rk[44], irk[44], rkprime[44];
/*setup key*/
aesKeySetupEnc(rk, key);
aesKeySetupDec(irk, key);
KeySetupDec(mk, sk, isk, L, Lprime, keyprime, rk, key);
aesKeySetupEnc(rkprime, keyprime);
/*decrypt the last non-full block*/
memcpy(tempTag, tag, 16);
XLSInv(irk, Lprime, c+ct_fblen, ct_fblen, ct_nfblen, p+ct_fblen, tempTag);
/*process associated data*/
PXMAC(mk, sk, L, V, rk, ad, adlen);
/*decryption of XEX layer*/
XEXLayerDec(irk, Lprime, c, Z, ct_fblen);
/*decryption of PXENC layer*/
PXDEC(mk, isk, L, V, Z, rk, I, ct_fblen);
memcpy(U, V, 16);
/*process nonce*/
CENC(rkprime, S, F, nonce, ctlen);
/*produce plaintext*/
memcpy(p, I, ct_fblen);
xor_byte_string(S, p, ct_fblen);
/*verify the validness of tag*/
checksum_state_string(I, checksum, ct_fblen);
tagGen(rk, checksum, Lprime, U, F, tempTag2, ct_fblen);
flag=1;
for(i=0; i<16; ++i){
if(tempTag[i]!=tempTag2[i]){
flag=0;
}
}
/*
if(flag){
printf("the plaintext is: \n");
printf_byte_string(p, ctlen);
}
else{
printf("the tag is invalid!");
}
*/
return flag;
}
/*
the encryption procedure of SHELL-AES:
key[] is the secret key;
nonce[] is the nonce;
ad[] is associated data;
adlen is the byte length of associated data;
p[] is the plaintext;
ptlen is the byte length of plaintext;
c[] is the ciphertext to be produced;
ctlen is the byte length of ciphertext.
*/
void shellaesEnc(const u8 key[], const u8 nonce[], const u8 ad[], unsigned long long int adlen, const u8 p[], unsigned long long int ptlen, u8 c[], unsigned long long int ctlen){
u8 tag[16];
if(ptlen<16){
/*plaintext is shorter than one block*/
shellaesEnc_short(key, nonce, ad, adlen, p, ptlen, c, tag);
}
else if (ptlen%16==0){
/*plaintext is multiple blocks long */
shellaesEnc_fb(key, nonce, ad, adlen, p, ptlen, c, tag);
}
else{
/*plaintext is longer than one block, and has a length that is not a mutiple of block length */
shellaesEnc_nfb(key, nonce, ad, adlen, p, ptlen, c, tag);
}
/*append the tag to ciphertext*/
memcpy(c+ptlen, tag, 16);
/*
printf("the ciphertext and the tag is \n");
printf_byte_string(c, ctlen);
*/
}
/*
the encryption procedure of SHELL-AES:
parameters follow those of function shellaesEnc
*/
int shellaesDec(const u8 key[], const u8 nonce[], const u8 ad[], unsigned long long int adlen, const u8 c[], unsigned long long int ctlen, u8 p[], unsigned long long int ptlen){
u8 tag[16];
int flag;
memcpy(tag, c+ptlen, 16);
if(ptlen<16){
/*plaintext is shorter than one block*/
flag=shellaesDec_short(key, nonce, ad, adlen, c, ptlen, p, tag);
}
else if (ptlen%16==0){
/*plaintext is multiple blocks long */
flag=shellaesDecVef_fb(key, nonce, ad, adlen, c, ptlen, p, tag);
}
else{
/*plaintext is longer than one block, and has a length that is not a mutiple of block length */
flag=shellaesDec_nfb(key, nonce, ad, adlen, c, ptlen, p, tag);
}
return flag;
}
} // namespace Shellaes128v1d8n80_raw
| [
"mukrop@mail.muni.cz"
] | mukrop@mail.muni.cz |
233adcf00704d12da29d6958d25d889b6d061d6e | 5107e9eccb45fcce5def7c4ecbec3281226242db | /compres.cpp | 287f5b0c34328d5cfdf31fddf54dd5f8e5b56f8a | [] | no_license | qbolec/c | 1b2b0276497f60f5b117c1393d828b8c4dc16dc2 | 52a6144c68def40748f37e8862edde16d23a4e1d | refs/heads/master | 2020-06-08T23:07:37.339071 | 2009-09-30T07:29:00 | 2009-09-30T07:29:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,932 | cpp | #include <iostream.h>
#include <fstream.h>
ifstream qin;
ofstream qout;
struct treenode
{
treenode * child[2];
unsigned long stats;
unsigned char character;
};
struct dictform
{
unsigned char fullbyte[32];
unsigned char fbc;
unsigned char bits[8];
unsigned char bc;
};
unsigned char stackbits[256];
treenode * cox[257];
treenode * D3;
dictform dictionary[256];
int incox=0;
unsigned char bigmem[16000000];
unsigned long stats[256];
unsigned char * wb;
unsigned char qrentbyte=0;
unsigned char bmlt=128;
void BIT(int x)
{
if(x)qrentbyte|=bmlt;
bmlt>>=1;
if(bmlt==0)
{
qout.put(qrentbyte);
qrentbyte=0;
bmlt=128;
}
}
void BYTE(unsigned char x)
{
if(bmlt==128)
qout.put(x);
else
for(int mt=128;mt;mt>>=1)
BIT(x & mt);
}
void filesset()
{
char filename[256];
cout << endl;
cout << endl;
cout << " .......................................... " <<endl;
cout << ".:welcome 2 the first q.compressor for dos:." <<endl ;
cout << " :........................................: " <<endl;
cout << ".:type name of file to compress::";
cin >> filename;
cout << " :........................................: " <<endl;
qin.open(filename,ios::bin);
cout << ".:type name of output with <.qmp> ext::";
cin >> filename;
cout << " :........................................: " <<endl;
qout.open(filename,ios::bin);
}
void cash()
{
wb=bigmem;
while(!qin.eof())
*wb++= qin.get();
wb--;
qout.put( (unsigned char) (((wb-bigmem)>>24) & 255) );
qout.put( (unsigned char) (((wb-bigmem)>>16) & 255) );
qout.put( (unsigned char) (((wb-bigmem)>>8) & 255) );
qout.put( (unsigned char) (((wb-bigmem)>>0) & 255) );
cout << ".:cashing done:.\n";
}
void statsgether()
{
for(unsigned char * rb=bigmem;rb<wb;rb++)
stats[*rb]++;
cout << ".:stats gethering done:.\n";
}
inline void swap(int a,int b)
{
treenode *swp=cox[a];
cox[a]=cox[b];
cox[b]=swp;
}
void coxinsert(treenode * c)
{
incox++;
cox[incox]=c;
int id=incox;
while(id>1)
{
if(cox[id]->stats < cox[id>>1]->stats)
{
swap(id,id>>1);
id>>=1;
}
else
break;
}
}
treenode * coxgive()
{
treenode * out;
out=cox[1];
cox[1]=cox[incox];
incox--;
if(incox<2)return out;
int id=1;
while((id<<1)<incox)
{
if( (cox[id]->stats > cox[id<<1]->stats) &&
(cox[(id<<1)+1]->stats >= cox[id<<1]->stats) )
{
swap(id,id<<1);
id<<=1;
}
else
if( (cox[id]->stats > cox[(id<<1)+1]->stats) &&
(cox[(id<<1)+1]->stats <= cox[id<<1]->stats) )
{
swap(id,(id<<1)+1);
id=(id<<1) + 1;
}
else
break;
}
if(id<<1==incox)
if( (cox[id]->stats > cox[id<<1]->stats) )
swap(id,id<<1);
return out;
}
void treegen()
{
for(unsigned int i=0;i<256;i++)
if(stats[i])
{
treenode* c=new treenode;
c->character=i;
c->stats=stats[i];
c->child[0]=0;
c->child[1]=0;
coxinsert(c);
}
while(incox>1)
{
treenode* a=coxgive();
treenode* b=coxgive();
treenode* c=new treenode;
c->stats=a->stats+b->stats;
c->child[0]=a;
c->child[1]=b;
coxinsert(c);
}
D3=cox[1];
cout << ".:tree generation done:.\n";cout.flush();
}
void clearing()
{
for(unsigned int i=0;i<256;i++)
{
cox[i]=0;
stats[i]=0;
}
qin.close();
cout << ".:clearing done:.\n";
}
void save3(treenode * c)
{
if(c->child[0])
{
BIT(1);
save3(c->child[0]);
save3(c->child[1]);
}
else
{
BIT(0);
BYTE(c->character);
}
}
void cr8dict(treenode * c,int stackpos)
{
if(c->child[0])
{
stackbits[stackpos]=0;
cr8dict(c->child[0],stackpos+1);
stackbits[stackpos]=1;
cr8dict(c->child[1],stackpos+1);
}
else
{
dictionary[c->character].fbc=stackpos>>3;
int bp=0;
for(int i=0;i<dictionary[c->character].fbc;i++)
{
for(int mt=128;mt;mt>>=1)
if(stackbits[bp++])
dictionary[c->character].fullbyte[i]|=mt;
}
dictionary[c->character].bc=stackpos-bp;
for(int i=0;i<dictionary[c->character].bc;i++)
dictionary[c->character].bits[i]=stackbits[bp++];
}
}
void savetreeinfo()
{
save3(D3);
cout<< ".:saving tree done:.\n";
}
void treetodict()
{
cr8dict(D3,0);
cout << ".:dictionary creation done:.\n";
}
void compressing()
{
for( unsigned char * rb=bigmem;rb<wb;rb++)
{
for(unsigned char i=0;dictionary[*rb].fbc>i;i++)
BYTE(dictionary[*rb].fullbyte[i]);
for(unsigned char i=0;dictionary[*rb].bc>i;i++)
BIT(dictionary[*rb].bits[i]);
}
cout << ".:compressing done:.\n";
}
int main()
{
filesset();cout.flush();
cash();cout.flush();
statsgether();cout.flush();
treegen();cout.flush();
clearing();cout.flush();
savetreeinfo();cout.flush();
treetodict();cout.flush();
compressing();cout.flush();
if(bmlt!=128)qout.put(qrentbyte);
qout.flush();
return 0;
}
| [
"qbolec@gmail.com"
] | qbolec@gmail.com |
61720405cf177cab52a93db74c7b10f308a21845 | 8931697264e278b16fb4dea9e533a02bb16733ae | /UI-Library/ringsdk/include/ringlist.h | af1b9fecdf18b424ba0ae160ca7ba62b82592bc0 | [] | no_license | yyq453/UI-Library | 434870a721b7c733c62185b5a7c51447caff504b | b1ffafdb00f8386c3fe0c4e63cb0c065c49cffd7 | refs/heads/master | 2020-05-26T21:55:25.442599 | 2015-12-02T05:24:04 | 2015-12-02T05:24:04 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,554 | h | /**********************************************************************
//
//
// ########## ###### ######### # ###### #
// ############# ########### ######### ######### ###
// ######## # ### ## ############# ## ## ##### # ####
// #### ## ## ### ### ### # # ##### #####
// # ### # # ## ## ## ## ###
// ## ###### ## ## #### #### # # ##
// ######### ### ## ### ####### ###### ## ## ###
// ###### ## ###### ## ## #### # ## ####
// ####### ## ###### ## ### ## ## ### ######
// ######### ## ###### ## ###### ### ## ### # #####
// ## ###### ####### ### #### ## ## ####### ######## ## ####
// ## #### ### # ### ### ## ########## ###### ## ####
// ## ## ## ######### #### # ##
// # ###
// ##
// ###
// ##
//
//
// RingSDK程序界面类库 ringdows.lib
//作者:临风
//
//版本:1.0
//
//声明:本类库可以自由使用而不须对作者作出任何回报,但作者希望能得到
// 你的鼓励和支持。你可以对类库源码作出修改和改进,但希望你能在
// 修改的同时给作者一份同样的副本。
// 本类库不得用于任何商业用途,如确实需要,请与作者联系。
//
//e-mail:ringphone@sina.com
//
//原文件名:ringlist.h
//
//说明:对列表控件的封装
//
**********************************************************************/
#ifndef _INC_RINGLIST
#define _INC_RINGLIST
class RingListBox:public RingControls
{
public:
RingListBox();
~RingListBox();
//virtual LRESULT OnDrawItem(HWND,UINT,LONG);
LPCTSTR WndClassName(){return "ListBox";}
//字符串操作
virtual int AddString(LPCTSTR lpString,LONG lData=0);
//加入多个子项,格式:item1|item2|item3|...
int AddStrings(LPCTSTR lpstr);
virtual int InsertString(LPCTSTR lpString,int index,LONG lData=0);
BOOL SetValue(int val,int index=INDEX_CURSEL);
BOOL SetValue(LPCTSTR lpszVal,int index=INDEX_CURSEL);
void SetOwnerDraw(BOOL bParentDraw=FALSE)
{RingControls::SetOwnerDraw(bParentDraw,LBS_OWNERDRAWFIXED);}
//消息封装(不完全,以后逐步添加)
int Select(int index){return SendMessage(m_hWnd,LB_SETCURSEL,index,0);}
int Select(LPCTSTR lpStr,int index=-1){return SendMessage(m_hWnd,LB_SELECTSTRING,index,(LPARAM)lpStr);}
int GetCurSel(){return SendMessage(m_hWnd,LB_GETCURSEL,0,0);}
BOOL SetCurSel(int index){return (SendMessage(m_hWnd,LB_SETCURSEL,index,0) != LB_ERR);}
BOOL IsSelected(int index){return (BOOL)(SendMessage(m_hWnd,LB_GETSEL,index,0) > 0);}
int GetTextLen(int index){return SendMessage(m_hWnd,LB_GETTEXTLEN,index,0);}
virtual LONG GetData(int index){return SendMessage(m_hWnd,LB_GETITEMDATA,index,0);}
virtual BOOL SetData(int index,LPARAM lpData){return (SendMessage(m_hWnd,LB_SETITEMDATA,index,lpData) != LB_ERR);}
BOOL Clear(){SendMessage(m_hWnd,LB_RESETCONTENT,0,0);return TRUE;}
int DelString(int index){return SendMessage(m_hWnd,LB_DELETESTRING,index,0);}
int DelString(LPCTSTR lpString){return DelString(FindString(lpString));}
int FindString(LPCTSTR lpszSearch,int nStart=-1){return SendMessage(m_hWnd,LB_FINDSTRING,nStart,(LPARAM)lpszSearch);}
int FindMatchString(LPCTSTR lpszSearch,int nStart=-1)
{return SendMessage(m_hWnd,LB_FINDSTRINGEXACT,nStart,(LPARAM)lpszSearch);}
int GetCount(){return SendMessage(m_hWnd,LB_GETCOUNT,0,0);}
int GetTopIndex(){return SendMessage(m_hWnd,LB_GETTOPINDEX,0,0);}
int SetTopIndex(int index){return SendMessage(m_hWnd,LB_SETTOPINDEX,index,0);}
int GetItemHeight(int index=0){return SendMessage(m_hWnd,LB_GETITEMHEIGHT,index,0);}
BOOL SetItemHeight(int height,int index=0){return (SendMessage(m_hWnd,LB_SETITEMHEIGHT,index,height) != LB_ERR);}
BOOL GetItemRect(int index,LPRECT lprc);
int ItemFromPoint(int x,int y){return SendMessage(m_hWnd,LB_ITEMFROMPOINT,0,MAKELONG(x,y));}
int Dir(UINT flag,LPCTSTR lpszFile){return SendMessage(m_hWnd,LB_DIR,flag,(LPARAM)lpszFile);}
protected:
LRESULT OnBkColor(UINT,HDC);
int GetItemText(int index,LPTSTR lpBuf,int size);
//int m_style;
//virtual LRESULT RingdowProc(HWND,UINT,UINT,LONG);
private:
//BOOL bPainted;
};
#endif
| [
"tianjigezhuhn@aliyun.com"
] | tianjigezhuhn@aliyun.com |
66857b750b3a35e9b02795d2e649d1be043a20c7 | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/Engine/CameraModifier_CameraShake.generated.h | 82e937758f2f148b159dcd0acdca9169e059b973 | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 6,185 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
===========================================================================*/
#include "UObject/ObjectMacros.h"
#include "UObject/ScriptMacros.h"
PRAGMA_DISABLE_DEPRECATION_WARNINGS
#ifdef ENGINE_CameraModifier_CameraShake_generated_h
#error "CameraModifier_CameraShake.generated.h already included, missing '#pragma once' in CameraModifier_CameraShake.h"
#endif
#define ENGINE_CameraModifier_CameraShake_generated_h
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_31_GENERATED_BODY \
friend struct Z_Construct_UScriptStruct_FActiveCameraShakeInfo_Statics; \
ENGINE_API static class UScriptStruct* StaticStruct();
template<> ENGINE_API UScriptStruct* StaticStruct<struct FActiveCameraShakeInfo>();
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_22_GENERATED_BODY \
friend struct Z_Construct_UScriptStruct_FPooledCameraShakes_Statics; \
ENGINE_API static class UScriptStruct* StaticStruct();
template<> ENGINE_API UScriptStruct* StaticStruct<struct FPooledCameraShakes>();
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_SPARSE_DATA
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_RPC_WRAPPERS
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_RPC_WRAPPERS_NO_PURE_DECLS
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_INCLASS_NO_PURE_DECLS \
private: \
static void StaticRegisterNativesUCameraModifier_CameraShake(); \
friend struct Z_Construct_UClass_UCameraModifier_CameraShake_Statics; \
public: \
DECLARE_CLASS(UCameraModifier_CameraShake, UCameraModifier, COMPILED_IN_FLAGS(0), CASTCLASS_None, TEXT("/Script/Engine"), NO_API) \
DECLARE_SERIALIZER(UCameraModifier_CameraShake) \
static const TCHAR* StaticConfigName() {return TEXT("Camera");} \
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_INCLASS \
private: \
static void StaticRegisterNativesUCameraModifier_CameraShake(); \
friend struct Z_Construct_UClass_UCameraModifier_CameraShake_Statics; \
public: \
DECLARE_CLASS(UCameraModifier_CameraShake, UCameraModifier, COMPILED_IN_FLAGS(0), CASTCLASS_None, TEXT("/Script/Engine"), NO_API) \
DECLARE_SERIALIZER(UCameraModifier_CameraShake) \
static const TCHAR* StaticConfigName() {return TEXT("Camera");} \
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_STANDARD_CONSTRUCTORS \
/** Standard constructor, called after all reflected properties have been initialized */ \
NO_API UCameraModifier_CameraShake(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get()); \
DEFINE_DEFAULT_OBJECT_INITIALIZER_CONSTRUCTOR_CALL(UCameraModifier_CameraShake) \
DECLARE_VTABLE_PTR_HELPER_CTOR(NO_API, UCameraModifier_CameraShake); \
DEFINE_VTABLE_PTR_HELPER_CTOR_CALLER(UCameraModifier_CameraShake); \
private: \
/** Private move- and copy-constructors, should never be used */ \
NO_API UCameraModifier_CameraShake(UCameraModifier_CameraShake&&); \
NO_API UCameraModifier_CameraShake(const UCameraModifier_CameraShake&); \
public:
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_ENHANCED_CONSTRUCTORS \
private: \
/** Private move- and copy-constructors, should never be used */ \
NO_API UCameraModifier_CameraShake(UCameraModifier_CameraShake&&); \
NO_API UCameraModifier_CameraShake(const UCameraModifier_CameraShake&); \
public: \
DECLARE_VTABLE_PTR_HELPER_CTOR(NO_API, UCameraModifier_CameraShake); \
DEFINE_VTABLE_PTR_HELPER_CTOR_CALLER(UCameraModifier_CameraShake); \
DEFINE_DEFAULT_OBJECT_INITIALIZER_CONSTRUCTOR_CALL(UCameraModifier_CameraShake)
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_PRIVATE_PROPERTY_OFFSET \
FORCEINLINE static uint32 __PPO__ActiveShakes() { return STRUCT_OFFSET(UCameraModifier_CameraShake, ActiveShakes); } \
FORCEINLINE static uint32 __PPO__ExpiredPooledShakesMap() { return STRUCT_OFFSET(UCameraModifier_CameraShake, ExpiredPooledShakesMap); } \
FORCEINLINE static uint32 __PPO__SplitScreenShakeScale() { return STRUCT_OFFSET(UCameraModifier_CameraShake, SplitScreenShakeScale); }
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_62_PROLOG
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_GENERATED_BODY_LEGACY \
PRAGMA_DISABLE_DEPRECATION_WARNINGS \
public: \
Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_PRIVATE_PROPERTY_OFFSET \
Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_SPARSE_DATA \
Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_RPC_WRAPPERS \
Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_INCLASS \
Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_STANDARD_CONSTRUCTORS \
public: \
PRAGMA_ENABLE_DEPRECATION_WARNINGS
#define Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_GENERATED_BODY \
PRAGMA_DISABLE_DEPRECATION_WARNINGS \
public: \
Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_PRIVATE_PROPERTY_OFFSET \
Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_SPARSE_DATA \
Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_RPC_WRAPPERS_NO_PURE_DECLS \
Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_INCLASS_NO_PURE_DECLS \
Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h_65_ENHANCED_CONSTRUCTORS \
private: \
PRAGMA_ENABLE_DEPRECATION_WARNINGS
template<> ENGINE_API UClass* StaticClass<class UCameraModifier_CameraShake>();
#undef CURRENT_FILE_ID
#define CURRENT_FILE_ID Engine_Source_Runtime_Engine_Classes_Camera_CameraModifier_CameraShake_h
PRAGMA_ENABLE_DEPRECATION_WARNINGS
| [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
2b5a1dff129a7f375dbb25b5fad43802dbd36e93 | 84ef3bfcad59d8483cc67ad7d8f5bf5c2d3359a5 | /C++/GameStudy/MetalMax/mimo_game_state_machine.h | ab7b6fb2633044d163f6df37d0beb8fdb6b2645b | [] | no_license | OkabeRintarou/syl | 5a1d1d82e27862ceb6228e3d1b1c6dc758e4716d | 29ba8dc6f8cc15e0d152afa2ad9f73ac03273e02 | refs/heads/master | 2022-11-12T16:02:08.642890 | 2022-09-17T14:56:42 | 2022-09-17T14:56:42 | 19,501,094 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 502 | h | #ifndef _MIMO_GAME_STATE_MACHINE_
#define _MIMO_GAME_STATE_MACHINE_
#include "mimo_include.h"
#include "mimo_game_state.h"
namespace mimo{
class game_state_machine
{
public:
void push_state(game_state * state);
void change_state(game_state * state);
void pop_state(void);
void update(void);
void render(void);
static game_state_machine * instance();
private:
std::vector<game_state*> _game_states;
static game_state_machine * _instance;
};
}
#endif //_MIMO_GAME_STATE_MACHINE_ | [
"2496773493@qq.com"
] | 2496773493@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.