blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
905 values
visit_date
timestamp[us]date
2015-08-09 11:21:18
2023-09-06 10:45:07
revision_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-17 19:19:19
committer_date
timestamp[us]date
1997-09-14 05:04:47
2023-09-06 06:22:19
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-07 00:51:45
2023-09-14 21:58:39
gha_created_at
timestamp[us]date
2008-03-27 23:40:48
2023-08-21 23:17:38
gha_language
stringclasses
141 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
115 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
23da82116054ccd29853916c41a55a2af76c0785
71ea10c6e495914524f83d70f663313ec85575b9
/Engine/Engine/InitDirect3DApp.cpp
ffb79ae616513dd1e1f8a00b76422944af3ebd4f
[]
no_license
dastyk/Engine
1f05593d0cd686ba62c5bd76eb3177a8478f6d8c
994fca58dafe421e287ee849694890138dfe8dc9
refs/heads/master
2020-04-19T08:44:47.299984
2018-08-08T09:06:18
2018-08-08T09:06:18
27,827,631
1
0
null
2014-12-12T14:09:10
2014-12-10T16:07:56
C++
UTF-8
C++
false
false
16,058
cpp
#include "InitDirect3DApp.h" int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow) { #if defined(DEBUG) | defined(_DEBUG) _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); #endif InitDirect3DApp app(hInstance); if (!app.Init()) return 0; return app.Run(); } InitDirect3DApp::InitDirect3DApp(HINSTANCE hInstance) : D3DApp(hInstance) { mColorShader = 0; mTexShader = 0; mLightShader = 0; mTerrainShader = 0; mParticleShader = 0; mFirework = 0; mModel = 0; mQuadModel = 0; for (int i = 0; i < BUFFER_COUNT; i++) { mRTQ[i] = 0; } mObject = 0; mNRofObjects = 0; mSun = 0; mTerrain = 0; mTerrainModel = 0; mQuadTree = 0; mDrawDistFog = 0; mCamera = 0; mDeferredBuffer = nullptr; mDeferredShader = nullptr; mEnable4xMsaa = false; m4xMsaaQuality = 1; mLightCount = 0; srand((UINT)time(NULL)); mShadowmapShader = 0; mBoundingBoxShader = 0; mDCShader = 0; } InitDirect3DApp::~InitDirect3DApp() { if (mCamera) { delete mCamera; mCamera = 0; } if (mLightShader) { delete mLightShader; mLightShader = 0; } if (mTexShader) { delete mTexShader; mTexShader = 0; } if (mColorShader) { delete mColorShader; mColorShader = 0; } if (mModel) { delete mModel; mModel = 0; } if (mObject) { for (UINT i = 0; i < mNRofObjects; i++) { if (mObject[i]) { delete mObject[i]; mObject[i] = 0; } } delete[] mObject; mObject = 0; } if (mDrawDistFog) { delete mDrawDistFog; mDrawDistFog = 0; } if (mSun) { delete mSun; mSun = 0; } if (mQuadTree) { delete mQuadTree; mQuadTree = 0; } if (mTerrain) { delete mTerrain; mTerrain = 0; } if (mTerrainModel) { delete mTerrainModel; mTerrainModel = 0; } if (mTerrainShader) { delete mTerrainShader; mTerrainShader = 0; } if (mParticleShader) { delete mParticleShader; mParticleShader = 0; } if (mFirework) { delete mFirework; mFirework = 0; } if (mDeferredBuffer) { delete mDeferredBuffer; mDeferredBuffer = 0; } if (mDeferredShader) { delete mDeferredShader; mDeferredShader = 0; } if (mPointLight.size() > 0) { for (UINT i = 0; i < mLightCount; i++) { if (mPointLight[i]) { delete mPointLight[i]; mPointLight[i] = 0; } } } for (int i = 0; i < BUFFER_COUNT; i++) { delete mRTQ[i]; mRTQ[i] = 0; } if (mQuadModel) { delete mQuadModel; mQuadModel = 0; } if (mShadowmapShader) { delete mShadowmapShader; mShadowmapShader = 0; } if (mBoundingBoxShader) { delete mBoundingBoxShader; mBoundingBoxShader = 0; } if (mDCShader) { delete mDCShader; mDCShader = 0; } } bool InitDirect3DApp::Init() { bool result; if (!D3DApp::Init()) return false; mCamera = new CameraClass(); if (!mCamera) return false; mCamera->SetProjMatrix(mFoV, AspectRatio(), mNearPlane, mFarPlane, mClientWidth, mClientHeight); XMFLOAT3 pos(128, 0, 128);// pos(0.0f, 0.0f, 0.0f); mCamera->SetPosition(pos); mCamera->SetMoveSpeed(50); mTexShader = new TextureShaderClass(); if (!mTexShader) return false; result = mTexShader->Init(mDevice); if (!result) return false; //mColorShader = new ColorShaderClass(); //if (!mColorShader) // return false; //result = mColorShader->Init(mDevice); //if (!result) // return false; // //mLightShader = new LightShaderClass(); //if (!mLightShader) // return false; //result = mLightShader->Init(mDevice); //if (!result) // return false; mModel = new ModelClass(); if (!mModel) return false; result = mModel->createModel(mDevice,"data/resources/soldier.smf"); if (!result) return false; mNRofObjects = 100; mObject = new ObjectClass*[mNRofObjects]; if (!mObject) return false; for (UINT i = 0; i < mNRofObjects; i++) { mObject[i] = new ObjectClass(mModel); TransformationClass* t = mObject[i]->GetTransformation(); t->SetPosition(XMFLOAT3(rand() % 256*2.0f, 0.0f, rand() % 256*2.0f)); t->SetScale(XMFLOAT3(0.1f, 0.1f, 0.1f)); } //mDrawDistFog = new FogClass(XMFLOAT3(0, 0, 0), XMFLOAT3(0.4f, 0.4f, 0.9f), 10); //if (!mDrawDistFog) // return false; //mSun = new LightObjectClass(); //if (!mSun) // return false; //XMFLOAT3 dir = XMFLOAT3(-1, 0, 0); //mSun->GetDiffuseLight()->SetLightDir(dir); mTerrainModel = new TerrainClass(); if (!mTerrainModel) return false; result = mTerrainModel->Init(mDevice, &mQuadTree); if (!result) return false; mTerrain = new ObjectClass(mTerrainModel); if (!mTerrain) return false; mTerrainShader = new TerrainShaderClass(); if (!mTerrainShader) return false; result = mTerrainShader->Init(mDevice); if (!result) return false; mParticleShader = new ParticleShaderClass; if (!mParticleShader) return false; result = mParticleShader->Init(mDevice); if (!result) return false; mFirework = new FireworkEffect(); if (!mFirework) return false; result = mFirework->Init(mDevice); if (!result) return false; mDeferredBuffer = new DeferredBufferClass(); if (!mDeferredBuffer) return false; result = mDeferredBuffer->Init(mDevice, mClientWidth, mClientHeight); if (!result) { MessageBox(0, L"Failed init defferedBuffer", 0, 0); return false; } mDeferredShader = new DeferredShaderClass(); if (!mDeferredShader) return false; result = mDeferredShader->Init(mDevice); if (!result) { MessageBox(0, L"Failed init defferedshader", 0, 0); return false; } mLightCount = 150; //mPointLight = new PointLightClass*[mLightCount]; //if (!mPointLight) // return false; mPointLight.push_back(new PointLightClass(XMFLOAT3(0.3f, 0.3f, 0.3f), XMFLOAT3(-128.0f, 256.0f, 256.0f), 10000.0f)); mPointLight[0]->SetLightDir(XMFLOAT3(1, -1, 0)); mPointLight[0]->SetProjMatrix(mFoV, AspectRatio(), mNearPlane, mFarPlane); mPointLight.push_back(new PointLightClass(XMFLOAT3(0.5, 0.5, 0.5), XMFLOAT3(0, 0, 0), 50)); for (UINT i = 2; i < mLightCount; i++) { float l = rand() % 10 / 10.0f; XMFLOAT3 lp = XMFLOAT3(rand() % 256 * 2.0f, 0, rand() % 256 * 2.0f); lp.y = mTerrainModel->getHeightAtPoint(lp) + 5; mPointLight.push_back(new PointLightClass(XMFLOAT3(rand() % 10 / 10.0f, rand() % 10 / 10.0f, rand() % 10 / 10.0f), lp, (float)(rand() % 25))); XMVECTOR dir = XMVectorSet(rand() % 10 - 5.0f, 0, rand() % 10 - 5.0f, 0.0f); dir = XMVector3Normalize(dir); XMFLOAT3 fdir; XMStoreFloat3(&fdir, dir); mPointLight[i]->SetLightDir(fdir); } mQuadModel = new ModelClass(); if (!mQuadModel) return false; result = mQuadModel->createModel(mDevice, "data/resources/quad.smf"); if (!result) { return false; } for (int i = 0; i < BUFFER_COUNT; i++) { mRTQ[i] = new ObjectClass(mQuadModel); TransformationClass* t = mRTQ[i]->GetTransformation(); t->SetPosition(XMFLOAT3(-0.666666f + 0.666666f*i, -0.666666f, 0.0f)); } mShadowmapShader = new ShadowMapClass(); if (!mDeferredShader) return false; result = mShadowmapShader->Init(mDevice, (float)mClientWidth, (float)mClientHeight); if (!result) { MessageBox(0, L"Failed init shadowmap shader", 0, 0); return false; } /* mBoundingBoxShader = new BoundingBoxShader(); if (!mBoundingBoxShader) return false; result = mBoundingBoxShader->Init(mDevice); if (!result) { MessageBox(0, L"Failed init boundingbox shader", 0, 0); return false; } */ TransformationClass* temp; for (UINT i = 0; i < mNRofObjects; i++) { temp = mObject[i]->GetTransformation(); pos = temp->GetPosition(); pos.y = mTerrainModel->getHeightAtPoint(pos) + 0.5f; temp->SetPosition(pos); } mQuadTree->AddModels(mObject, mNRofObjects); mQuadTree->AddLights(&mPointLight[0], mLightCount); mQuadTree->AddSnow(mDevice); mDCShader = new DeferredComputeShaderClass; if (!mDCShader) return false; result = mDCShader->Init(mDevice, mSwapChain); if (!result) return false; pos = mCamera->GetPosition(); pos.y = mTerrainModel->getHeightAtPoint(pos) + 4.0f; mCamera->SetPosition(pos); #if TIME for (UINT i = 0; i < GPU_TIMER_COUNT; i++) { mGPUTimer[i].Init(mDevice); } #endif return true; } void InitDirect3DApp::OnResize() { D3DApp::OnResize(); if (mCamera) mCamera->SetProjMatrix(mFoV, AspectRatio(), mNearPlane, mFarPlane, mClientWidth, mClientHeight); } void InitDirect3DApp::UpdateScene(float dt) { mCamera->SetUpdateTime(dt); TransformationClass* temp = 0; XMFLOAT3 rot; XMFLOAT3 pos; for (UINT i = 0; i < mNRofObjects; i++) { temp = mObject[i]->GetTransformation(); rot = temp->GetRotation(); pos = temp->GetPosition(); rot.y += dt*100; pos.y = mTerrainModel->getHeightAtPoint(pos)+ 0.15f; temp->SetRotation(rot); temp->SetPosition(pos); mObject[i]->Update(); } for (UINT i = 2; i < mLightCount; i++) { pos = mPointLight[i]->GetLightPos(); XMVECTOR dir = XMLoadFloat3(& mPointLight[i]->GetLightDir()); XMVECTOR vPos = XMLoadFloat3(&pos); vPos += dir*dt * 50; float temp = (XMVectorGetX(vPos) > 256.0f*2) ? -XMVectorGetX(dir) : XMVectorGetX(dir); dir = XMVectorSetX(dir, temp); temp = (XMVectorGetX(vPos) < 0.0f) ? -XMVectorGetX(dir) : XMVectorGetX(dir); dir = XMVectorSetX(dir, temp); temp = (XMVectorGetZ(vPos) > 256.0f*2) ? -XMVectorGetZ(dir) : XMVectorGetZ(dir); dir = XMVectorSetZ(dir, temp); temp = (XMVectorGetZ(vPos) < 0.0f) ? -XMVectorGetZ(dir) : XMVectorGetZ(dir); dir = XMVectorSetZ(dir, temp); pos.y = mTerrainModel->getHeightAtPoint(pos) + 5.0f; XMStoreFloat3(&pos, vPos); XMFLOAT3 fdir; XMStoreFloat3(&fdir, dir); mPointLight[i]->SetLightPos(pos); mPointLight[i]->SetLightDir(fdir); } pos = mCamera->GetPosition(); mPointLight[1]->SetLightPos(pos); mPointLight[0]->CalcViewMatrix(); pos.y = mTerrainModel->getHeightAtPoint(pos) + 4.0f; if (!mInput->isKeyDown(VK_F)) mCamera->SetPosition(pos); /*std::wostringstream outs; outs.precision(6); outs << mMainWndCaption << mFirework->GetAliveParticles() + mSnow->GetAliveParticles(); SetWindowText(mhMainWnd, outs.str().c_str());*/ //mFirework->Update(dt); mCamera->CalcViewMatrix(); mQuadTree->Update(dt, mCamera); } void InitDirect3DApp::handleInput() { mCamera->MoveForward(mInput->isKeyDown(VK_W)); mCamera->MoveBackward(mInput->isKeyDown(VK_S)); mCamera->MoveRight(mInput->isKeyDown(VK_D)); mCamera->MoveLeft(mInput->isKeyDown(VK_A)); mCamera->MoveUpward(mInput->isKeyDown(VK_SPACE)); mCamera->MoveDownward(mInput->isKeyDown(VK_SHIFT)); if (mInput->isKeyDown(VK_ESCAPE)) { PostQuitMessage(0); } mCamera->SetDC(mInput->isKeyDown(VK_C)); if (mInput->isKeyDown(VK_L)) { float l = rand() % 10 / 10.0f; XMFLOAT3 lp = XMFLOAT3(rand() % 256*2.0f, 0, rand() % 256*2.0f); lp.y = mTerrainModel->getHeightAtPoint(lp) + 5.0f; mPointLight.push_back(new PointLightClass(XMFLOAT3(rand() % 10 / 10.0f, rand() % 10 / 10.0f, rand() % 10 / 10.0f), lp, (float)(rand() % 25))); XMVECTOR dir = XMVectorSet(rand() % 10 - 5.0f, 0.0f, rand() % 10 - 5.0f, 0.0f); dir = XMVector3Normalize(dir); XMFLOAT3 fdir; XMStoreFloat3(&fdir, dir); mPointLight[mLightCount]->SetLightDir(fdir); mLightCount++; } } void InitDirect3DApp::DrawScene() { HRESULT hr; bool result; int counter = 0; assert(mDeviceContext); assert(mSwapChain); BoundingFrustum f = mCamera->GetBoundingFrustum(); BoundingFrustum f2 = mPointLight[0]->GetBoundingFrustum(); UINT count = 0; #if TIME mGPUTimer[0].TimeStart(mDeviceContext); #endif mShadowmapShader->SetRTV(mDeviceContext); mShadowmapShader->ClearRTV(mDeviceContext); for (UINT i = 0; i < mNRofObjects; i++) { mObject[i]->SetAsObjectToBeDrawn(mDeviceContext, 0); result = mShadowmapShader->CreateShadowMap(mDeviceContext, mObject[i], mPointLight[0]); if (!result) { MessageBox(0, L"Failed to Render Shaders", 0, 0); return; } } mShadowmapShader->UnbindRTV(mDeviceContext); #if TIME mGPUTimer[0].TimeEnd(mDeviceContext); mGPUTimer[1].TimeStart(mDeviceContext); #endif // Set the depth stencil state. mDeviceContext->OMSetDepthStencilState(mDepthStencilState, 1); mDeferredBuffer->SetRenderTargets(mDeviceContext); mDeferredBuffer->ClearRenderTargets(mDeviceContext, 0.0f, 0.0f, 0.0f, 0.0f); counter = mQuadTree->RenderAgainsQuadTree( mDeviceContext, mTerrainShader, mDeferredShader, mTerrain, mCamera, mPointLight[0], mShadowmapShader->GetShaderResourceView()); mDeferredBuffer->UnsetRenderTargets(mDeviceContext); #if TIME mGPUTimer[1].TimeEnd(mDeviceContext); mGPUTimer[2].TimeStart(mDeviceContext); #endif mDeferredBuffer->SetLightRT(mDeviceContext); //mDeferredShader->SetLP(mDeviceContext, mCamera, mDeferredBuffer); result = mDeferredShader->RenderLights(mDeviceContext, mCamera, mDeferredBuffer, &mPointLight[0], mLightCount); if (!result) { MessageBox(0, L"Failed to Render Shaders", 0, 0); return; } //mQuadTree->RenderLightsAgainsQuadTree(mDeviceContext, mDeferredBuffer, mDeferredShader, mCamera); //mDeferredShader->UnSetLP(mDeviceContext); mDeferredBuffer->UnsetRenderTargets(mDeviceContext); float color[4] = { 0.0f }; mDeviceContext->OMSetBlendState(mBlendingState, color, 0xffffffff); #if TIME mGPUTimer[2].TimeEnd(mDeviceContext); #endif #if TIME mGPUTimer[3].TimeStart(mDeviceContext); #endif //mDeferredShader->Render(mDeviceContext, mDeferredBuffer); mDCShader->Compute(mDeviceContext, mDeferredBuffer, COMPUTE_X, COMPUTE_Y); #if TIME mGPUTimer[3].TimeEnd(mDeviceContext); #endif mDeviceContext->OMSetRenderTargets(1, &mRenderTargetView, mDepthStencilView); ////// Clear back buffer blue. //float clearColor[] = { 0.4f, 0.4f, 0.9f, 1.0f }; //mDeviceContext->ClearRenderTargetView(mRenderTargetView, clearColor); //// Clear depth buffer to 1.0f and stencil buffer to 0. mDeviceContext->ClearDepthStencilView(mDepthStencilView, D3D11_CLEAR_DEPTH, 1.0f, 0); // mQuadTree->RenderSnow(mDeviceContext, mParticleShader, mCamera); // // // // for (int i = 0; i < BUFFER_COUNT-2; i++) { mRTQ[i]->SetAsObjectToBeDrawn(mDeviceContext, 0); mTexShader->Render(mDeviceContext, mRTQ[i]->GetIndexCount(0), mRTQ[i]->GetWorldMatrix(), mCamera->GetViewMatrix(), mCamera->GetProjMatrix(), mCamera->GetForward(), mDeferredBuffer->GetShaderResourceView(i)); } mRTQ[2]->SetAsObjectToBeDrawn(mDeviceContext, 0); mTexShader->Render(mDeviceContext, mRTQ[2]->GetIndexCount(0), mRTQ[2]->GetWorldMatrix(), mCamera->GetViewMatrix(), mCamera->GetProjMatrix(), mCamera->GetForward(), mDeferredBuffer->GetLightSRV()); // // Present the back buffer to the screen hr = mSwapChain->Present(0, 0); if (FAILED(hr)) { MessageBox(0, L"Failed to swap back buffer", 0, 0); return; } static int frameCnt = 0; static float timeElapsed = 0.0f; frameCnt++; if ((mTimer.TotalTime() - timeElapsed) >= 1.0f) { float fps = (float)frameCnt; float mspf = 1000.0f / fps; std::wostringstream outs; outs.precision(6); outs << mMainWndCaption << L"Fps: " << fps << L" Total Time: " << mspf << L" ms" << " Lights: " << mLightCount << " Terrain: " << counter; #if TIME for (UINT i = 0; i < GPU_TIMER_COUNT; i++) { double t = mGPUTimer[i].GetTime(mDeviceContext); outs << " GPU Time" << i << ": " << t; } #endif SetWindowText(mhMainWnd, outs.str().c_str()); frameCnt = 0; timeElapsed += 1.0f; } } void InitDirect3DApp::OnMouseDown(WPARAM btnState, int x, int y) { if ((btnState & MK_LBUTTON) != 0) { //mCamera->MoveForward(true); } else if ((btnState & MK_RBUTTON) != 0) { /*XMFLOAT3 pos = mCamera->GetPosition(); pos.z -= 1; mCamera->SetPosition(pos);*/ } mLastMousePos.x = x; mLastMousePos.y = y; SetCapture(mhMainWnd); } void InitDirect3DApp::OnMouseUp(WPARAM btnState, int x, int y) { ReleaseCapture(); } void InitDirect3DApp::OnMouseMove(WPARAM btnState, int x, int y) { if (btnState) { float dx = (float)(x - mLastMousePos.x); float dy = (float)(y - mLastMousePos.y); XMFLOAT3 rot = mCamera->GetRotation(); rot.x += dx / 10; rot.y += dy / 10; mCamera->SetRotation(rot); } mLastMousePos.x = x; mLastMousePos.y = y; }
[ "dastykill@gmail.com" ]
dastykill@gmail.com
cfbf3497d95974c107af56e1d6d9694c979ddd5d
3d0812c2af1eb8279b0fcff502466797e5dbfd0c
/MazeGUI.cpp
10c27287556655159809114feb4f8eab75c5d5b7
[]
no_license
djfrost/Lab06ForBoshart
60912d9256541223a4a15479375f38ff8636374d
28c2f44a9fdd41a936e48251fdb0aa3b4c93b99e
refs/heads/master
2021-01-19T03:24:13.807474
2014-10-06T01:06:58
2014-10-06T01:06:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,895
cpp
#include "MazeGUI.h" #include "Matrix.h" #include <gtkmm/main.h> #include <gtkmm/table.h> #include <gtkmm/window.h> #include <gtkmm/button.h> #include <iostream> using namespace std; #include <windows.h> DWORD WINAPI traverseMaze(LPVOID* parameters) { MazeGUI* maze_gui = (MazeGUI*) (parameters[0]); maze_gui->solve(); } void MazeGUI::startMazeThread() { //start a new thread to solve the maze LPVOID* params = new LPVOID[1]; params[0] = this; CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE) traverseMaze, params, 0, NULL); } MazeGUI::MazeGUI(int w, int h, Maze* mz) : DrawPanel(w, h, mz) { maze = mz; maze->addListener(this); } MazeGUI::~MazeGUI() { //the maze is deleted in DrawPanel } void MazeGUI::update() { render(); } void MazeGUI::solve() { maze->solve(); } void MazeGUI::on_maze_button_click_event() { startMazeThread(); } int main(int argc, char** argv) { Matrix* mat = Matrix::readMatrix("maze.txt"); Gtk::Main kit(argc, argv); Gtk::Window win; win.set_title("Maze!"); win.set_position(Gtk::WIN_POS_CENTER); //the size of the window int width = 875; int height = 445; win.set_size_request(width, height); win.set_resizable(false); Gtk::Table tbl(10, 1, true); int rows = tbl.property_n_rows(); int button_height = (int) (((double) height)/rows + 0.5); Maze* maze = new Maze(mat); MazeGUI mg(width, height - button_height, maze); //needs to know its own dimensions Gdk::Color c("#FF0000"); Gtk::Button btnMaze("Solve!"); btnMaze.signal_clicked().connect(sigc::mem_fun(mg, &MazeGUI::on_maze_button_click_event)); tbl.attach(mg, 0, 1, 0, 9, Gtk::FILL | Gtk::EXPAND, Gtk::FILL | Gtk::EXPAND, 0, 0); tbl.attach(btnMaze, 0, 1, 9, 10, Gtk::FILL | Gtk::EXPAND, Gtk::FILL | Gtk::EXPAND, 0, 0); win.add(tbl); win.show_all_children(); Gtk::Main::run(win); return 0; }
[ "cody.sorrell@gmail.com" ]
cody.sorrell@gmail.com
7a34d84763fe14ce86d224b031f065ee1c48c9e7
191460258090bcabe392785948025887696ccd1b
/src/xenia/gpu/graphics_system.cc
22600cc5d01f8a51078d42f645e45660e063f967
[]
no_license
DrChat/xenia
1b81ab13298229cb568c1385774f47792a802767
0dc06a7e6fedaa4dd7bbe4e3c34bc288a58f6c49
refs/heads/master
2020-04-05T18:29:57.710202
2015-05-20T05:31:37
2015-05-20T05:31:37
34,922,300
5
5
null
2015-05-01T20:21:14
2015-05-01T20:21:14
null
UTF-8
C++
false
false
2,218
cc
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. * * Released under the BSD license - see LICENSE in the root for more details. * ****************************************************************************** */ #include "xenia/gpu/graphics_system.h" #include "xenia/base/logging.h" #include "xenia/base/math.h" #include "xenia/cpu/processor.h" #include "xenia/gpu/gpu-private.h" namespace xe { namespace gpu { GraphicsSystem::GraphicsSystem() : memory_(nullptr), processor_(nullptr), target_loop_(nullptr), target_window_(nullptr), interrupt_callback_(0), interrupt_callback_data_(0) {} GraphicsSystem::~GraphicsSystem() = default; X_STATUS GraphicsSystem::Setup(cpu::Processor* processor, ui::PlatformLoop* target_loop, ui::PlatformWindow* target_window) { processor_ = processor; memory_ = processor->memory(); target_loop_ = target_loop; target_window_ = target_window; return X_STATUS_SUCCESS; } void GraphicsSystem::Shutdown() {} void GraphicsSystem::SetInterruptCallback(uint32_t callback, uint32_t user_data) { interrupt_callback_ = callback; interrupt_callback_data_ = user_data; XELOGGPU("SetInterruptCallback(%.4X, %.4X)", callback, user_data); } void GraphicsSystem::DispatchInterruptCallback(uint32_t source, uint32_t cpu) { if (!interrupt_callback_) { return; } // Pick a CPU, if needed. We're going to guess 2. Because. if (cpu == 0xFFFFFFFF) { cpu = 2; } // XELOGGPU("Dispatching GPU interrupt at %.8X w/ mode %d on cpu %d", // interrupt_callback_, source, cpu); // NOTE: we may be executing in some random thread. uint64_t args[] = {source, interrupt_callback_data_}; processor_->ExecuteInterrupt(cpu, interrupt_callback_, args, xe::countof(args)); } } // namespace gpu } // namespace xe
[ "ben.vanik@gmail.com" ]
ben.vanik@gmail.com
3ec9809ea769b63307f272d4eea82230cfe3251c
be6546772980ddb35542ef237eba7e57f9998b9c
/es_face_tracking/kf_eye.h
2f8aab1794badc3bef68fbcfee9c9f66cc60c668
[]
no_license
marcoxsurf/Eye-Tracking-by-means-of-gradients
d95958ab939f81c92da38ee5494e6b8ea072d11f
0181121557a8322b9307d030b6df54e04d2b8d83
refs/heads/master
2020-05-29T14:40:16.634674
2016-06-22T11:16:15
2016-06-22T11:16:15
61,026,196
4
0
null
null
null
null
UTF-8
C++
false
false
692
h
#pragma once #include <opencv2\opencv.hpp> #include <iostream> using namespace std; using namespace cv; class KF { int stateSize; int measSize; int contrSize; //CV_32F is float - the pixel can have any value between 0-1.0 unsigned int type; KalmanFilter kf; Mat state, meas; bool found; int notFoundCount; public: KF(); KF(int _stateSize, int _measSize, int _contrSize, unsigned int _type); ~KF(); void setDT(double dt); Mat getState(); Rect getPredRect(); Point getCenter(); void setMeas(Rect rect); void incNotFound(); void resetNotFoundCount(); bool getFound(); void setFound(bool _found); private: void initSMNMatrix(); void predict(); void setVars(); };
[ "fantasia.marco@gmail.com" ]
fantasia.marco@gmail.com
df25b4b1197114d5140cca2170b87fa05654426e
90047daeb462598a924d76ddf4288e832e86417c
/media/gpu/video_encode_accelerator_unittest.cc
cdb9984aa44e992106c82837ec796268213b55aa
[ "BSD-3-Clause" ]
permissive
massbrowser/android
99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080
a9c4371682c9443d6e1d66005d4db61a24a9617c
refs/heads/master
2022-11-04T21:15:50.656802
2017-06-08T12:31:39
2017-06-08T12:31:39
93,747,579
2
2
BSD-3-Clause
2022-10-31T10:34:25
2017-06-08T12:36:07
null
UTF-8
C++
false
false
87,356
cc
// Copyright 2013 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 <inttypes.h> #include <stddef.h> #include <stdint.h> #include <algorithm> #include <memory> #include <queue> #include <string> #include <utility> #include "base/at_exit.h" #include "base/bind.h" #include "base/bits.h" #include "base/command_line.h" #include "base/files/file_util.h" #include "base/macros.h" #include "base/memory/aligned_memory.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_vector.h" #include "base/memory/weak_ptr.h" #include "base/message_loop/message_loop.h" #include "base/numerics/safe_conversions.h" #include "base/process/process_handle.h" #include "base/single_thread_task_runner.h" #include "base/strings/string_number_conversions.h" #include "base/strings/string_split.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" #include "base/threading/thread.h" #include "base/threading/thread_checker.h" #include "base/time/time.h" #include "base/timer/timer.h" #include "build/build_config.h" #include "media/base/bind_to_current_loop.h" #include "media/base/bitstream_buffer.h" #include "media/base/cdm_context.h" #include "media/base/decoder_buffer.h" #include "media/base/media_log.h" #include "media/base/media_util.h" #include "media/base/test_data_util.h" #include "media/base/video_decoder.h" #include "media/base/video_frame.h" #include "media/filters/ffmpeg_glue.h" #include "media/filters/ffmpeg_video_decoder.h" #include "media/filters/h264_parser.h" #include "media/filters/ivf_parser.h" #include "media/gpu/video_accelerator_unittest_helpers.h" #include "media/video/fake_video_encode_accelerator.h" #include "media/video/video_encode_accelerator.h" #include "testing/gtest/include/gtest/gtest.h" #if defined(OS_CHROMEOS) #if defined(USE_V4L2_CODEC) #include "base/threading/thread_task_runner_handle.h" #include "media/gpu/v4l2_video_encode_accelerator.h" #endif #if defined(ARCH_CPU_X86_FAMILY) #include "media/gpu/vaapi_video_encode_accelerator.h" #include "media/gpu/vaapi_wrapper.h" // Status has been defined as int in Xlib.h. #undef Status #endif // defined(ARCH_CPU_X86_FAMILY) #elif defined(OS_MACOSX) #include "media/gpu/vt_video_encode_accelerator_mac.h" #elif defined(OS_WIN) #include "media/gpu/media_foundation_video_encode_accelerator_win.h" #else #error The VideoEncodeAcceleratorUnittest is not supported on this platform. #endif namespace media { namespace { const VideoPixelFormat kInputFormat = PIXEL_FORMAT_I420; // The absolute differences between original frame and decoded frame usually // ranges aroud 1 ~ 7. So we pick 10 as an extreme value to detect abnormal // decoded frames. const double kDecodeSimilarityThreshold = 10.0; // Arbitrarily chosen to add some depth to the pipeline. const unsigned int kNumOutputBuffers = 4; const unsigned int kNumExtraInputFrames = 4; // Maximum delay between requesting a keyframe and receiving one, in frames. // Arbitrarily chosen as a reasonable requirement. const unsigned int kMaxKeyframeDelay = 4; // Default initial bitrate. const uint32_t kDefaultBitrate = 2000000; // Default ratio of requested_subsequent_bitrate to initial_bitrate // (see test parameters below) if one is not provided. const double kDefaultSubsequentBitrateRatio = 2.0; // Default initial framerate. const uint32_t kDefaultFramerate = 30; // Default ratio of requested_subsequent_framerate to initial_framerate // (see test parameters below) if one is not provided. const double kDefaultSubsequentFramerateRatio = 0.1; // Tolerance factor for how encoded bitrate can differ from requested bitrate. const double kBitrateTolerance = 0.1; // Minimum required FPS throughput for the basic performance test. const uint32_t kMinPerfFPS = 30; // Minimum (arbitrary) number of frames required to enforce bitrate requirements // over. Streams shorter than this may be too short to realistically require // an encoder to be able to converge to the requested bitrate over. // The input stream will be looped as many times as needed in bitrate tests // to reach at least this number of frames before calculating final bitrate. const unsigned int kMinFramesForBitrateTests = 300; // The percentiles to measure for encode latency. const unsigned int kLoggedLatencyPercentiles[] = {50, 75, 95}; // The syntax of multiple test streams is: // test-stream1;test-stream2;test-stream3 // The syntax of each test stream is: // "in_filename:width:height:profile:out_filename:requested_bitrate // :requested_framerate:requested_subsequent_bitrate // :requested_subsequent_framerate" // Instead of ":", "," can be used as a seperator as well. Note that ":" does // not work on Windows as it interferes with file paths. // - |in_filename| must be an I420 (YUV planar) raw stream // (see http://www.fourcc.org/yuv.php#IYUV). // - |width| and |height| are in pixels. // - |profile| to encode into (values of VideoCodecProfile). // - |out_filename| filename to save the encoded stream to (optional). The // format for H264 is Annex-B byte stream. The format for VP8 is IVF. Output // stream is saved for the simple encode test only. H264 raw stream and IVF // can be used as input of VDA unittest. H264 raw stream can be played by // "mplayer -fps 25 out.h264" and IVF can be played by mplayer directly. // Helpful description: http://wiki.multimedia.cx/index.php?title=IVF // Further parameters are optional (need to provide preceding positional // parameters if a specific subsequent parameter is required): // - |requested_bitrate| requested bitrate in bits per second. // - |requested_framerate| requested initial framerate. // - |requested_subsequent_bitrate| bitrate to switch to in the middle of the // stream. // - |requested_subsequent_framerate| framerate to switch to in the middle // of the stream. // Bitrate is only forced for tests that test bitrate. const char* g_default_in_filename = "bear_320x192_40frames.yuv"; #if defined(OS_CHROMEOS) const base::FilePath::CharType* g_default_in_parameters = FILE_PATH_LITERAL(":320:192:1:out.h264:200000"); #elif defined(OS_MACOSX) || defined(OS_WIN) const base::FilePath::CharType* g_default_in_parameters = FILE_PATH_LITERAL(",320,192,0,out.h264,200000"); #endif // defined(OS_CHROMEOS) // Enabled by including a --fake_encoder flag to the command line invoking the // test. bool g_fake_encoder = false; // Environment to store test stream data for all test cases. class VideoEncodeAcceleratorTestEnvironment; VideoEncodeAcceleratorTestEnvironment* g_env; // The number of frames to be encoded. This variable is set by the switch // "--num_frames_to_encode". Ignored if 0. int g_num_frames_to_encode = 0; #ifdef ARCH_CPU_ARMEL // ARM performs CPU cache management with CPU cache line granularity. We thus // need to ensure our buffers are CPU cache line-aligned (64 byte-aligned). // Otherwise newer kernels will refuse to accept them, and on older kernels // we'll be treating ourselves to random corruption. // Moreover, some hardware codecs require 128-byte alignment for physical // buffers. const size_t kPlatformBufferAlignment = 128; #else const size_t kPlatformBufferAlignment = 8; #endif inline static size_t AlignToPlatformRequirements(size_t value) { return base::bits::Align(value, kPlatformBufferAlignment); } // An aligned STL allocator. template <typename T, size_t ByteAlignment> class AlignedAllocator : public std::allocator<T> { public: typedef size_t size_type; typedef T* pointer; template <class T1> struct rebind { typedef AlignedAllocator<T1, ByteAlignment> other; }; AlignedAllocator() {} explicit AlignedAllocator(const AlignedAllocator&) {} template <class T1> explicit AlignedAllocator(const AlignedAllocator<T1, ByteAlignment>&) {} ~AlignedAllocator() {} pointer allocate(size_type n, const void* = 0) { return static_cast<pointer>(base::AlignedAlloc(n, ByteAlignment)); } void deallocate(pointer p, size_type n) { base::AlignedFree(static_cast<void*>(p)); } size_type max_size() const { return std::numeric_limits<size_t>::max() / sizeof(T); } }; struct TestStream { TestStream() : num_frames(0), aligned_buffer_size(0), requested_bitrate(0), requested_framerate(0), requested_subsequent_bitrate(0), requested_subsequent_framerate(0) {} ~TestStream() {} gfx::Size visible_size; gfx::Size coded_size; unsigned int num_frames; // Original unaligned input file name provided as an argument to the test. // And the file must be an I420 (YUV planar) raw stream. std::string in_filename; // A vector used to prepare aligned input buffers of |in_filename|. This // makes sure starting addresses of YUV planes are aligned to // kPlatformBufferAlignment bytes. std::vector<char, AlignedAllocator<char, kPlatformBufferAlignment>> aligned_in_file_data; // Byte size of a frame of |aligned_in_file_data|. size_t aligned_buffer_size; // Byte size for each aligned plane of a frame. std::vector<size_t> aligned_plane_size; std::string out_filename; VideoCodecProfile requested_profile; unsigned int requested_bitrate; unsigned int requested_framerate; unsigned int requested_subsequent_bitrate; unsigned int requested_subsequent_framerate; }; // Return the |percentile| from a sorted vector. static base::TimeDelta Percentile( const std::vector<base::TimeDelta>& sorted_values, unsigned int percentile) { size_t size = sorted_values.size(); LOG_ASSERT(size > 0UL); LOG_ASSERT(percentile <= 100UL); // Use Nearest Rank method in http://en.wikipedia.org/wiki/Percentile. int index = std::max(static_cast<int>(ceil(0.01f * percentile * size)) - 1, 0); return sorted_values[index]; } static bool IsH264(VideoCodecProfile profile) { return profile >= H264PROFILE_MIN && profile <= H264PROFILE_MAX; } static bool IsVP8(VideoCodecProfile profile) { return profile >= VP8PROFILE_MIN && profile <= VP8PROFILE_MAX; } // Helper functions to do string conversions. static base::FilePath::StringType StringToFilePathStringType( const std::string& str) { #if defined(OS_WIN) return base::UTF8ToWide(str); #else return str; #endif // defined(OS_WIN) } static std::string FilePathStringTypeToString( const base::FilePath::StringType& str) { #if defined(OS_WIN) return base::WideToUTF8(str); #else return str; #endif // defined(OS_WIN) } // Some platforms may have requirements on physical memory buffer alignment. // Since we are just mapping and passing chunks of the input file directly to // the VEA as input frames, to avoid copying large chunks of raw data on each // frame, and thus affecting performance measurements, we have to prepare a // temporary file with all planes aligned to the required alignment beforehand. static void CreateAlignedInputStreamFile(const gfx::Size& coded_size, TestStream* test_stream) { // Test case may have many encoders and memory should be prepared once. if (test_stream->coded_size == coded_size && !test_stream->aligned_in_file_data.empty()) return; // All encoders in multiple encoder test reuse the same test_stream, make // sure they requested the same coded_size ASSERT_TRUE(test_stream->aligned_in_file_data.empty() || coded_size == test_stream->coded_size); test_stream->coded_size = coded_size; size_t num_planes = VideoFrame::NumPlanes(kInputFormat); std::vector<size_t> padding_sizes(num_planes); std::vector<size_t> coded_bpl(num_planes); std::vector<size_t> visible_bpl(num_planes); std::vector<size_t> visible_plane_rows(num_planes); // Calculate padding in bytes to be added after each plane required to keep // starting addresses of all planes at a byte boundary required by the // platform. This padding will be added after each plane when copying to the // temporary file. // At the same time we also need to take into account coded_size requested by // the VEA; each row of visible_bpl bytes in the original file needs to be // copied into a row of coded_bpl bytes in the aligned file. for (size_t i = 0; i < num_planes; i++) { const size_t size = VideoFrame::PlaneSize(kInputFormat, i, coded_size).GetArea(); test_stream->aligned_plane_size.push_back( AlignToPlatformRequirements(size)); test_stream->aligned_buffer_size += test_stream->aligned_plane_size.back(); coded_bpl[i] = VideoFrame::RowBytes(i, kInputFormat, coded_size.width()); visible_bpl[i] = VideoFrame::RowBytes(i, kInputFormat, test_stream->visible_size.width()); visible_plane_rows[i] = VideoFrame::Rows(i, kInputFormat, test_stream->visible_size.height()); const size_t padding_rows = VideoFrame::Rows(i, kInputFormat, coded_size.height()) - visible_plane_rows[i]; padding_sizes[i] = padding_rows * coded_bpl[i] + AlignToPlatformRequirements(size) - size; } base::FilePath src_file(StringToFilePathStringType(test_stream->in_filename)); int64_t src_file_size = 0; LOG_ASSERT(base::GetFileSize(src_file, &src_file_size)); size_t visible_buffer_size = VideoFrame::AllocationSize(kInputFormat, test_stream->visible_size); LOG_ASSERT(src_file_size % visible_buffer_size == 0U) << "Stream byte size is not a product of calculated frame byte size"; test_stream->num_frames = static_cast<unsigned int>(src_file_size / visible_buffer_size); LOG_ASSERT(test_stream->aligned_buffer_size > 0UL); test_stream->aligned_in_file_data.resize(test_stream->aligned_buffer_size * test_stream->num_frames); base::File src(src_file, base::File::FLAG_OPEN | base::File::FLAG_READ); std::vector<char> src_data(visible_buffer_size); off_t src_offset = 0, dest_offset = 0; for (size_t frame = 0; frame < test_stream->num_frames; frame++) { LOG_ASSERT(src.Read(src_offset, &src_data[0], static_cast<int>(visible_buffer_size)) == static_cast<int>(visible_buffer_size)); const char* src_ptr = &src_data[0]; for (size_t i = 0; i < num_planes; i++) { // Assert that each plane of frame starts at required byte boundary. ASSERT_EQ(0u, dest_offset & (kPlatformBufferAlignment - 1)) << "Planes of frame should be mapped per platform requirements"; for (size_t j = 0; j < visible_plane_rows[i]; j++) { memcpy(&test_stream->aligned_in_file_data[dest_offset], src_ptr, visible_bpl[i]); src_ptr += visible_bpl[i]; dest_offset += static_cast<off_t>(coded_bpl[i]); } dest_offset += static_cast<off_t>(padding_sizes[i]); } src_offset += static_cast<off_t>(visible_buffer_size); } src.Close(); LOG_ASSERT(test_stream->num_frames > 0UL); } // Parse |data| into its constituent parts, set the various output fields // accordingly, read in video stream, and store them to |test_streams|. static void ParseAndReadTestStreamData(const base::FilePath::StringType& data, ScopedVector<TestStream>* test_streams) { // Split the string to individual test stream data. std::vector<base::FilePath::StringType> test_streams_data = base::SplitString(data, base::FilePath::StringType(1, ';'), base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); LOG_ASSERT(test_streams_data.size() >= 1U) << data; // Parse each test stream data and read the input file. for (size_t index = 0; index < test_streams_data.size(); ++index) { std::vector<base::FilePath::StringType> fields = base::SplitString( test_streams_data[index], base::FilePath::StringType(1, ','), base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); // Try using ":" as the seperator if "," isn't used. if (fields.size() == 1U) { fields = base::SplitString(test_streams_data[index], base::FilePath::StringType(1, ':'), base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); } LOG_ASSERT(fields.size() >= 4U) << data; LOG_ASSERT(fields.size() <= 9U) << data; TestStream* test_stream = new TestStream(); test_stream->in_filename = FilePathStringTypeToString(fields[0]); int width, height; bool result = base::StringToInt(fields[1], &width); LOG_ASSERT(result); result = base::StringToInt(fields[2], &height); LOG_ASSERT(result); test_stream->visible_size = gfx::Size(width, height); LOG_ASSERT(!test_stream->visible_size.IsEmpty()); int profile; result = base::StringToInt(fields[3], &profile); LOG_ASSERT(result); LOG_ASSERT(profile > VIDEO_CODEC_PROFILE_UNKNOWN); LOG_ASSERT(profile <= VIDEO_CODEC_PROFILE_MAX); test_stream->requested_profile = static_cast<VideoCodecProfile>(profile); if (fields.size() >= 5 && !fields[4].empty()) test_stream->out_filename = FilePathStringTypeToString(fields[4]); if (fields.size() >= 6 && !fields[5].empty()) LOG_ASSERT( base::StringToUint(fields[5], &test_stream->requested_bitrate)); if (fields.size() >= 7 && !fields[6].empty()) LOG_ASSERT( base::StringToUint(fields[6], &test_stream->requested_framerate)); if (fields.size() >= 8 && !fields[7].empty()) { LOG_ASSERT(base::StringToUint( fields[7], &test_stream->requested_subsequent_bitrate)); } if (fields.size() >= 9 && !fields[8].empty()) { LOG_ASSERT(base::StringToUint( fields[8], &test_stream->requested_subsequent_framerate)); } test_streams->push_back(test_stream); } } static std::unique_ptr<VideoEncodeAccelerator> CreateFakeVEA() { std::unique_ptr<VideoEncodeAccelerator> encoder; if (g_fake_encoder) { encoder.reset(new FakeVideoEncodeAccelerator( scoped_refptr<base::SingleThreadTaskRunner>( base::ThreadTaskRunnerHandle::Get()))); } return encoder; } static std::unique_ptr<VideoEncodeAccelerator> CreateV4L2VEA() { std::unique_ptr<VideoEncodeAccelerator> encoder; #if defined(OS_CHROMEOS) && defined(USE_V4L2_CODEC) scoped_refptr<V4L2Device> device = V4L2Device::Create(); if (device) encoder.reset(new V4L2VideoEncodeAccelerator(device)); #endif return encoder; } static std::unique_ptr<VideoEncodeAccelerator> CreateVaapiVEA() { std::unique_ptr<VideoEncodeAccelerator> encoder; #if defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) encoder.reset(new VaapiVideoEncodeAccelerator()); #endif return encoder; } static std::unique_ptr<VideoEncodeAccelerator> CreateVTVEA() { std::unique_ptr<VideoEncodeAccelerator> encoder; #if defined(OS_MACOSX) encoder.reset(new VTVideoEncodeAccelerator()); #endif return encoder; } static std::unique_ptr<VideoEncodeAccelerator> CreateMFVEA() { std::unique_ptr<VideoEncodeAccelerator> encoder; #if defined(OS_WIN) MediaFoundationVideoEncodeAccelerator::PreSandboxInitialization(); encoder.reset(new MediaFoundationVideoEncodeAccelerator()); #endif return encoder; } // Basic test environment shared across multiple test cases. We only need to // setup it once for all test cases. // It helps // - maintain test stream data and other test settings. // - clean up temporary aligned files. // - output log to file. class VideoEncodeAcceleratorTestEnvironment : public ::testing::Environment { public: VideoEncodeAcceleratorTestEnvironment( std::unique_ptr<base::FilePath::StringType> data, const base::FilePath& log_path, bool run_at_fps, bool needs_encode_latency, bool verify_all_output) : test_stream_data_(std::move(data)), log_path_(log_path), run_at_fps_(run_at_fps), needs_encode_latency_(needs_encode_latency), verify_all_output_(verify_all_output) {} virtual void SetUp() { if (!log_path_.empty()) { log_file_.reset(new base::File( log_path_, base::File::FLAG_CREATE_ALWAYS | base::File::FLAG_WRITE)); LOG_ASSERT(log_file_->IsValid()); } ParseAndReadTestStreamData(*test_stream_data_, &test_streams_); } virtual void TearDown() { log_file_.reset(); } // Log one entry of machine-readable data to file and LOG(INFO). // The log has one data entry per line in the format of "<key>: <value>". // Note that Chrome OS video_VEAPerf autotest parses the output key and value // pairs. Be sure to keep the autotest in sync. void LogToFile(const std::string& key, const std::string& value) { std::string s = base::StringPrintf("%s: %s\n", key.c_str(), value.c_str()); LOG(INFO) << s; if (log_file_) { log_file_->WriteAtCurrentPos(s.data(), static_cast<int>(s.length())); } } // Feed the encoder with the input buffers at the requested framerate. If // false, feed as fast as possible. This is set by the command line switch // "--run_at_fps". bool run_at_fps() const { return run_at_fps_; } // Whether to measure encode latency. This is set by the command line switch // "--measure_latency". bool needs_encode_latency() const { return needs_encode_latency_; } // Verify the encoder output of all testcases. This is set by the command line // switch "--verify_all_output". bool verify_all_output() const { return verify_all_output_; } ScopedVector<TestStream> test_streams_; private: std::unique_ptr<base::FilePath::StringType> test_stream_data_; base::FilePath log_path_; std::unique_ptr<base::File> log_file_; bool run_at_fps_; bool needs_encode_latency_; bool verify_all_output_; }; enum ClientState { CS_CREATED, CS_INITIALIZED, CS_ENCODING, // Encoding has finished. CS_FINISHED, // Encoded frame quality has been validated. CS_VALIDATED, CS_ERROR, }; // Performs basic, codec-specific sanity checks on the stream buffers passed // to ProcessStreamBuffer(): whether we've seen keyframes before non-keyframes, // correct sequences of H.264 NALUs (SPS before PPS and before slices), etc. // Calls given FrameFoundCallback when a complete frame is found while // processing. class StreamValidator { public: // To be called when a complete frame is found while processing a stream // buffer, passing true if the frame is a keyframe. Returns false if we // are not interested in more frames and further processing should be aborted. typedef base::Callback<bool(bool)> FrameFoundCallback; virtual ~StreamValidator() {} // Provide a StreamValidator instance for the given |profile|. static std::unique_ptr<StreamValidator> Create( VideoCodecProfile profile, const FrameFoundCallback& frame_cb); // Process and verify contents of a bitstream buffer. virtual void ProcessStreamBuffer(const uint8_t* stream, size_t size) = 0; protected: explicit StreamValidator(const FrameFoundCallback& frame_cb) : frame_cb_(frame_cb) {} FrameFoundCallback frame_cb_; }; class H264Validator : public StreamValidator { public: explicit H264Validator(const FrameFoundCallback& frame_cb) : StreamValidator(frame_cb), seen_sps_(false), seen_pps_(false), seen_idr_(false) {} void ProcessStreamBuffer(const uint8_t* stream, size_t size) override; private: // Set to true when encoder provides us with the corresponding NALU type. bool seen_sps_; bool seen_pps_; bool seen_idr_; H264Parser h264_parser_; }; void H264Validator::ProcessStreamBuffer(const uint8_t* stream, size_t size) { h264_parser_.SetStream(stream, static_cast<off_t>(size)); while (1) { H264NALU nalu; H264Parser::Result result; result = h264_parser_.AdvanceToNextNALU(&nalu); if (result == H264Parser::kEOStream) break; ASSERT_EQ(H264Parser::kOk, result); bool keyframe = false; switch (nalu.nal_unit_type) { case H264NALU::kIDRSlice: ASSERT_TRUE(seen_sps_); ASSERT_TRUE(seen_pps_); seen_idr_ = true; keyframe = true; // fallthrough case H264NALU::kNonIDRSlice: { ASSERT_TRUE(seen_idr_); seen_sps_ = seen_pps_ = false; if (!frame_cb_.Run(keyframe)) return; break; } case H264NALU::kSPS: { int sps_id; ASSERT_EQ(H264Parser::kOk, h264_parser_.ParseSPS(&sps_id)); seen_sps_ = true; break; } case H264NALU::kPPS: { ASSERT_TRUE(seen_sps_); int pps_id; ASSERT_EQ(H264Parser::kOk, h264_parser_.ParsePPS(&pps_id)); seen_pps_ = true; break; } default: break; } } } class VP8Validator : public StreamValidator { public: explicit VP8Validator(const FrameFoundCallback& frame_cb) : StreamValidator(frame_cb), seen_keyframe_(false) {} void ProcessStreamBuffer(const uint8_t* stream, size_t size) override; private: // Have we already got a keyframe in the stream? bool seen_keyframe_; }; void VP8Validator::ProcessStreamBuffer(const uint8_t* stream, size_t size) { bool keyframe = !(stream[0] & 0x01); if (keyframe) seen_keyframe_ = true; EXPECT_TRUE(seen_keyframe_); frame_cb_.Run(keyframe); // TODO(posciak): We could be getting more frames in the buffer, but there is // no simple way to detect this. We'd need to parse the frames and go through // partition numbers/sizes. For now assume one frame per buffer. } // static std::unique_ptr<StreamValidator> StreamValidator::Create( VideoCodecProfile profile, const FrameFoundCallback& frame_cb) { std::unique_ptr<StreamValidator> validator; if (IsH264(profile)) { validator.reset(new H264Validator(frame_cb)); } else if (IsVP8(profile)) { validator.reset(new VP8Validator(frame_cb)); } else { LOG(FATAL) << "Unsupported profile: " << GetProfileName(profile); } return validator; } class VideoFrameQualityValidator : public base::SupportsWeakPtr<VideoFrameQualityValidator> { public: VideoFrameQualityValidator(const VideoCodecProfile profile, const base::Closure& flush_complete_cb, const base::Closure& decode_error_cb); void Initialize(const gfx::Size& coded_size, const gfx::Rect& visible_size); // Save original YUV frame to compare it with the decoded frame later. void AddOriginalFrame(scoped_refptr<VideoFrame> frame); void AddDecodeBuffer(const scoped_refptr<DecoderBuffer>& buffer); // Flush the decoder. void Flush(); private: void InitializeCB(bool success); void DecodeDone(DecodeStatus status); void FlushDone(DecodeStatus status); void VerifyOutputFrame(const scoped_refptr<VideoFrame>& output_frame); void Decode(); enum State { UNINITIALIZED, INITIALIZED, DECODING, DECODER_ERROR }; MediaLog media_log_; const VideoCodecProfile profile_; std::unique_ptr<FFmpegVideoDecoder> decoder_; VideoDecoder::DecodeCB decode_cb_; // Decode callback of an EOS buffer. VideoDecoder::DecodeCB eos_decode_cb_; // Callback of Flush(). Called after all frames are decoded. const base::Closure flush_complete_cb_; const base::Closure decode_error_cb_; State decoder_state_; std::queue<scoped_refptr<VideoFrame>> original_frames_; std::queue<scoped_refptr<DecoderBuffer>> decode_buffers_; base::ThreadChecker thread_checker_; }; VideoFrameQualityValidator::VideoFrameQualityValidator( const VideoCodecProfile profile, const base::Closure& flush_complete_cb, const base::Closure& decode_error_cb) : profile_(profile), decoder_(new FFmpegVideoDecoder(&media_log_)), decode_cb_( base::Bind(&VideoFrameQualityValidator::DecodeDone, AsWeakPtr())), eos_decode_cb_( base::Bind(&VideoFrameQualityValidator::FlushDone, AsWeakPtr())), flush_complete_cb_(flush_complete_cb), decode_error_cb_(decode_error_cb), decoder_state_(UNINITIALIZED) { // Allow decoding of individual NALU. Entire frames are required by default. decoder_->set_decode_nalus(true); } void VideoFrameQualityValidator::Initialize(const gfx::Size& coded_size, const gfx::Rect& visible_size) { DCHECK(thread_checker_.CalledOnValidThread()); FFmpegGlue::InitializeFFmpeg(); gfx::Size natural_size(visible_size.size()); // The default output format of ffmpeg video decoder is YV12. VideoDecoderConfig config; if (IsVP8(profile_)) config.Initialize(kCodecVP8, VP8PROFILE_ANY, kInputFormat, COLOR_SPACE_UNSPECIFIED, coded_size, visible_size, natural_size, EmptyExtraData(), Unencrypted()); else if (IsH264(profile_)) config.Initialize(kCodecH264, H264PROFILE_MAIN, kInputFormat, COLOR_SPACE_UNSPECIFIED, coded_size, visible_size, natural_size, EmptyExtraData(), Unencrypted()); else LOG_ASSERT(0) << "Invalid profile " << GetProfileName(profile_); decoder_->Initialize( config, false, nullptr, base::Bind(&VideoFrameQualityValidator::InitializeCB, base::Unretained(this)), base::Bind(&VideoFrameQualityValidator::VerifyOutputFrame, base::Unretained(this))); } void VideoFrameQualityValidator::InitializeCB(bool success) { DCHECK(thread_checker_.CalledOnValidThread()); if (success) { decoder_state_ = INITIALIZED; Decode(); } else { decoder_state_ = DECODER_ERROR; if (IsH264(profile_)) LOG(ERROR) << "Chromium does not support H264 decode. Try Chrome."; decode_error_cb_.Run(); FAIL() << "Decoder initialization error"; } } void VideoFrameQualityValidator::AddOriginalFrame( scoped_refptr<VideoFrame> frame) { DCHECK(thread_checker_.CalledOnValidThread()); original_frames_.push(frame); } void VideoFrameQualityValidator::DecodeDone(DecodeStatus status) { DCHECK(thread_checker_.CalledOnValidThread()); if (status == DecodeStatus::OK) { decoder_state_ = INITIALIZED; Decode(); } else { decoder_state_ = DECODER_ERROR; decode_error_cb_.Run(); FAIL() << "Unexpected decode status = " << status << ". Stop decoding."; } } void VideoFrameQualityValidator::FlushDone(DecodeStatus status) { DCHECK(thread_checker_.CalledOnValidThread()); flush_complete_cb_.Run(); } void VideoFrameQualityValidator::Flush() { DCHECK(thread_checker_.CalledOnValidThread()); if (decoder_state_ != DECODER_ERROR) { decode_buffers_.push(DecoderBuffer::CreateEOSBuffer()); Decode(); } } void VideoFrameQualityValidator::AddDecodeBuffer( const scoped_refptr<DecoderBuffer>& buffer) { DCHECK(thread_checker_.CalledOnValidThread()); if (decoder_state_ != DECODER_ERROR) { decode_buffers_.push(buffer); Decode(); } } void VideoFrameQualityValidator::Decode() { DCHECK(thread_checker_.CalledOnValidThread()); if (decoder_state_ == INITIALIZED && !decode_buffers_.empty()) { scoped_refptr<DecoderBuffer> next_buffer = decode_buffers_.front(); decode_buffers_.pop(); decoder_state_ = DECODING; if (next_buffer->end_of_stream()) decoder_->Decode(next_buffer, eos_decode_cb_); else decoder_->Decode(next_buffer, decode_cb_); } } void VideoFrameQualityValidator::VerifyOutputFrame( const scoped_refptr<VideoFrame>& output_frame) { DCHECK(thread_checker_.CalledOnValidThread()); scoped_refptr<VideoFrame> original_frame = original_frames_.front(); original_frames_.pop(); gfx::Size visible_size = original_frame->visible_rect().size(); int planes[] = {VideoFrame::kYPlane, VideoFrame::kUPlane, VideoFrame::kVPlane}; double difference = 0; for (int plane : planes) { uint8_t* original_plane = original_frame->data(plane); uint8_t* output_plane = output_frame->data(plane); size_t rows = VideoFrame::Rows(plane, kInputFormat, visible_size.height()); size_t columns = VideoFrame::Columns(plane, kInputFormat, visible_size.width()); size_t stride = original_frame->stride(plane); for (size_t i = 0; i < rows; i++) { for (size_t j = 0; j < columns; j++) { difference += std::abs(original_plane[stride * i + j] - output_plane[stride * i + j]); } } } // Divide the difference by the size of frame. difference /= VideoFrame::AllocationSize(kInputFormat, visible_size); EXPECT_TRUE(difference <= kDecodeSimilarityThreshold) << "difference = " << difference << " > decode similarity threshold"; } // Base class for all VEA Clients in this file class VEAClientBase : public VideoEncodeAccelerator::Client { public: ~VEAClientBase() override { LOG_ASSERT(!has_encoder()); } void NotifyError(VideoEncodeAccelerator::Error error) override { DCHECK(thread_checker_.CalledOnValidThread()); SetState(CS_ERROR); } protected: VEAClientBase(ClientStateNotification<ClientState>* note) : note_(note), next_output_buffer_id_(0) {} bool has_encoder() { return encoder_.get(); } virtual void SetState(ClientState new_state) = 0; std::unique_ptr<VideoEncodeAccelerator> encoder_; // Used to notify another thread about the state. VEAClientBase does not own // this. ClientStateNotification<ClientState>* note_; // All methods of this class should be run on the same thread. base::ThreadChecker thread_checker_; ScopedVector<base::SharedMemory> output_shms_; int32_t next_output_buffer_id_; }; class VEAClient : public VEAClientBase { public: VEAClient(TestStream* test_stream, ClientStateNotification<ClientState>* note, bool save_to_file, unsigned int keyframe_period, bool force_bitrate, bool test_perf, bool mid_stream_bitrate_switch, bool mid_stream_framerate_switch, bool verify_output, bool verify_output_timestamp); void CreateEncoder(); void DestroyEncoder(); void TryToSetupEncodeOnSeparateThread(); void DestroyEncodeOnSeparateThread(); // VideoDecodeAccelerator::Client implementation. void RequireBitstreamBuffers(unsigned int input_count, const gfx::Size& input_coded_size, size_t output_buffer_size) override; void BitstreamBufferReady(int32_t bitstream_buffer_id, size_t payload_size, bool key_frame, base::TimeDelta timestamp) override; private: void BitstreamBufferReadyOnVeaClientThread(int32_t bitstream_buffer_id, size_t payload_size, bool key_frame, base::TimeDelta timestamp); // Return the number of encoded frames per second. double frames_per_second(); void SetState(ClientState new_state) override; // Set current stream parameters to given |bitrate| at |framerate|. void SetStreamParameters(unsigned int bitrate, unsigned int framerate); // Called when encoder is done with a VideoFrame. void InputNoLongerNeededCallback(int32_t input_id); // Feed the encoder with one input frame. void FeedEncoderWithOneInput(); // Provide the encoder with a new output buffer. void FeedEncoderWithOutput(base::SharedMemory* shm); // Called on finding a complete frame (with |keyframe| set to true for // keyframes) in the stream, to perform codec-independent, per-frame checks // and accounting. Returns false once we have collected all frames we needed. bool HandleEncodedFrame(bool keyframe); // Verify the minimum FPS requirement. void VerifyMinFPS(); // Verify that stream bitrate has been close to current_requested_bitrate_, // assuming current_framerate_ since the last time VerifyStreamProperties() // was called. Fail the test if |force_bitrate_| is true and the bitrate // is not within kBitrateTolerance. void VerifyStreamProperties(); // Log the performance data. void LogPerf(); // Write IVF file header to test_stream_->out_filename. void WriteIvfFileHeader(); // Write an IVF frame header to test_stream_->out_filename. void WriteIvfFrameHeader(int frame_index, size_t frame_size); // Create and return a VideoFrame wrapping the data at |position| bytes in the // input stream. scoped_refptr<VideoFrame> CreateFrame(off_t position); // Prepare and return a frame wrapping the data at |position| bytes in the // input stream, ready to be sent to encoder. // The input frame id is returned in |input_id|. scoped_refptr<VideoFrame> PrepareInputFrame(off_t position, int32_t* input_id); // Update the parameters according to |mid_stream_bitrate_switch| and // |mid_stream_framerate_switch|. void UpdateTestStreamData(bool mid_stream_bitrate_switch, bool mid_stream_framerate_switch); // Callback function of the |input_timer_|. void OnInputTimer(); // Called when the quality validator has decoded all the frames. void DecodeCompleted(); // Called when the quality validator fails to decode a frame. void DecodeFailed(); // Verify that the output timestamp matches input timestamp. void VerifyOutputTimestamp(base::TimeDelta timestamp); ClientState state_; TestStream* test_stream_; // Ids assigned to VideoFrames. std::set<int32_t> inputs_at_client_; int32_t next_input_id_; // Encode start time of all encoded frames. The position in the vector is the // frame input id. std::vector<base::TimeTicks> encode_start_time_; // The encode latencies of all encoded frames. We define encode latency as the // time delay from input of each VideoFrame (VEA::Encode()) to output of the // corresponding BitstreamBuffer (VEA::Client::BitstreamBufferReady()). std::vector<base::TimeDelta> encode_latencies_; // Ids for output BitstreamBuffers. typedef std::map<int32_t, base::SharedMemory*> IdToSHM; IdToSHM output_buffers_at_client_; // Current offset into input stream. off_t pos_in_input_stream_; gfx::Size input_coded_size_; // Requested by encoder. unsigned int num_required_input_buffers_; size_t output_buffer_size_; // Number of frames to encode. This may differ from the number of frames in // stream if we need more frames for bitrate tests. unsigned int num_frames_to_encode_; // Number of encoded frames we've got from the encoder thus far. unsigned int num_encoded_frames_; // Frames since last bitrate verification. unsigned int num_frames_since_last_check_; // True if received a keyframe while processing current bitstream buffer. bool seen_keyframe_in_this_buffer_; // True if we are to save the encoded stream to a file. bool save_to_file_; // Request a keyframe every keyframe_period_ frames. const unsigned int keyframe_period_; // Number of keyframes requested by now. unsigned int num_keyframes_requested_; // Next keyframe expected before next_keyframe_at_ + kMaxKeyframeDelay. unsigned int next_keyframe_at_; // True if we are asking encoder for a particular bitrate. bool force_bitrate_; // Current requested bitrate. unsigned int current_requested_bitrate_; // Current expected framerate. unsigned int current_framerate_; // Byte size of the encoded stream (for bitrate calculation) since last // time we checked bitrate. size_t encoded_stream_size_since_last_check_; // If true, verify performance at the end of the test. bool test_perf_; // Check the output frame quality of the encoder. bool verify_output_; // Check whether the output timestamps match input timestamps. bool verify_output_timestamp_; // Used to perform codec-specific sanity checks on the stream. std::unique_ptr<StreamValidator> stream_validator_; // Used to validate the encoded frame quality. std::unique_ptr<VideoFrameQualityValidator> quality_validator_; // The time when the first frame is submitted for encode. base::TimeTicks first_frame_start_time_; // The time when the last encoded frame is ready. base::TimeTicks last_frame_ready_time_; // Requested bitrate in bits per second. unsigned int requested_bitrate_; // Requested initial framerate. unsigned int requested_framerate_; // Bitrate to switch to in the middle of the stream. unsigned int requested_subsequent_bitrate_; // Framerate to switch to in the middle of the stream. unsigned int requested_subsequent_framerate_; // The timer used to feed the encoder with the input frames. std::unique_ptr<base::RepeatingTimer> input_timer_; // The timestamps for each frame in the order of CreateFrame() invocation. std::queue<base::TimeDelta> frame_timestamps_; // The last timestamp popped from |frame_timestamps_|. base::TimeDelta previous_timestamp_; // Dummy thread used to redirect encode tasks, represents GPU IO thread. base::Thread io_thread_; // Task runner on which |encoder_| is created. // Most of VEA and VEA::Client functions are running on this thread. See // comment of VEA::TryToSetupEncodeOnSeparateThread for exceptions. scoped_refptr<base::SingleThreadTaskRunner> vea_client_task_runner_; // Task runner used for posting encode tasks. If // TryToSetupEncodeOnSeparateThread() is true, |io_thread|'s task runner is // used, otherwise |vea_client_task_runner_|. scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner_; // Weak factory used for posting tasks on |encode_task_runner_|. std::unique_ptr<base::WeakPtrFactory<VideoEncodeAccelerator>> encoder_weak_factory_; // Weak factory used for TryToSetupEncodeOnSeparateThread(). base::WeakPtrFactory<VEAClient> client_weak_factory_for_io_; }; VEAClient::VEAClient(TestStream* test_stream, ClientStateNotification<ClientState>* note, bool save_to_file, unsigned int keyframe_period, bool force_bitrate, bool test_perf, bool mid_stream_bitrate_switch, bool mid_stream_framerate_switch, bool verify_output, bool verify_output_timestamp) : VEAClientBase(note), state_(CS_CREATED), test_stream_(test_stream), next_input_id_(0), pos_in_input_stream_(0), num_required_input_buffers_(0), output_buffer_size_(0), num_frames_to_encode_(0), num_encoded_frames_(0), num_frames_since_last_check_(0), seen_keyframe_in_this_buffer_(false), save_to_file_(save_to_file), keyframe_period_(keyframe_period), num_keyframes_requested_(0), next_keyframe_at_(0), force_bitrate_(force_bitrate), current_requested_bitrate_(0), current_framerate_(0), encoded_stream_size_since_last_check_(0), test_perf_(test_perf), verify_output_(verify_output), verify_output_timestamp_(verify_output_timestamp), requested_bitrate_(0), requested_framerate_(0), requested_subsequent_bitrate_(0), requested_subsequent_framerate_(0), io_thread_("IOThread"), client_weak_factory_for_io_(this) { if (keyframe_period_) LOG_ASSERT(kMaxKeyframeDelay < keyframe_period_); // Fake encoder produces an invalid stream, so skip validating it. if (!g_fake_encoder) { stream_validator_ = StreamValidator::Create( test_stream_->requested_profile, base::Bind(&VEAClient::HandleEncodedFrame, base::Unretained(this))); CHECK(stream_validator_); } if (save_to_file_) { LOG_ASSERT(!test_stream_->out_filename.empty()); #if defined(OS_POSIX) base::FilePath out_filename(test_stream_->out_filename); #elif defined(OS_WIN) base::FilePath out_filename(base::UTF8ToWide(test_stream_->out_filename)); #endif // This creates or truncates out_filename. // Without it, AppendToFile() will not work. EXPECT_EQ(0, base::WriteFile(out_filename, NULL, 0)); } // Initialize the parameters of the test streams. UpdateTestStreamData(mid_stream_bitrate_switch, mid_stream_framerate_switch); thread_checker_.DetachFromThread(); } void VEAClient::CreateEncoder() { DCHECK(thread_checker_.CalledOnValidThread()); LOG_ASSERT(!has_encoder()); vea_client_task_runner_ = base::ThreadTaskRunnerHandle::Get(); encode_task_runner_ = vea_client_task_runner_; std::unique_ptr<VideoEncodeAccelerator> encoders[] = { CreateFakeVEA(), CreateV4L2VEA(), CreateVaapiVEA(), CreateVTVEA(), CreateMFVEA()}; DVLOG(1) << "Profile: " << test_stream_->requested_profile << ", initial bitrate: " << requested_bitrate_; for (size_t i = 0; i < arraysize(encoders); ++i) { if (!encoders[i]) continue; encoder_ = std::move(encoders[i]); if (encoder_->Initialize(kInputFormat, test_stream_->visible_size, test_stream_->requested_profile, requested_bitrate_, this)) { encoder_weak_factory_.reset( new base::WeakPtrFactory<VideoEncodeAccelerator>(encoder_.get())); TryToSetupEncodeOnSeparateThread(); SetStreamParameters(requested_bitrate_, requested_framerate_); SetState(CS_INITIALIZED); if (verify_output_ && !g_fake_encoder) quality_validator_.reset(new VideoFrameQualityValidator( test_stream_->requested_profile, base::Bind(&VEAClient::DecodeCompleted, base::Unretained(this)), base::Bind(&VEAClient::DecodeFailed, base::Unretained(this)))); return; } } encoder_.reset(); LOG(ERROR) << "VideoEncodeAccelerator::Initialize() failed"; SetState(CS_ERROR); } void VEAClient::DecodeCompleted() { DCHECK(thread_checker_.CalledOnValidThread()); SetState(CS_VALIDATED); } void VEAClient::TryToSetupEncodeOnSeparateThread() { DCHECK(thread_checker_.CalledOnValidThread()); // Start dummy thread if not started already. if (!io_thread_.IsRunning()) ASSERT_TRUE(io_thread_.Start()); if (!encoder_->TryToSetupEncodeOnSeparateThread( client_weak_factory_for_io_.GetWeakPtr(), io_thread_.task_runner())) { io_thread_.Stop(); return; } encode_task_runner_ = io_thread_.task_runner(); } void VEAClient::DecodeFailed() { DCHECK(thread_checker_.CalledOnValidThread()); SetState(CS_ERROR); } void VEAClient::DestroyEncoder() { DCHECK(thread_checker_.CalledOnValidThread()); if (!has_encoder()) return; if (io_thread_.IsRunning()) { encode_task_runner_->PostTask( FROM_HERE, base::Bind(&VEAClient::DestroyEncodeOnSeparateThread, client_weak_factory_for_io_.GetWeakPtr())); io_thread_.Stop(); } else { DestroyEncodeOnSeparateThread(); } // Clear the objects that should be destroyed on the same thread as creation. encoder_.reset(); input_timer_.reset(); quality_validator_.reset(); } void VEAClient::DestroyEncodeOnSeparateThread() { encoder_weak_factory_->InvalidateWeakPtrs(); // |client_weak_factory_for_io_| is used only when // TryToSetupEncodeOnSeparateThread() returns true, in order to have weak // pointers to use when posting tasks on |io_thread_|. It is safe to // invalidate here because |encode_task_runner_| points to |io_thread_| in // this case. If not, it is safe to invalidate it on // |vea_client_task_runner_| as no weak pointers are used. client_weak_factory_for_io_.InvalidateWeakPtrs(); } void VEAClient::UpdateTestStreamData(bool mid_stream_bitrate_switch, bool mid_stream_framerate_switch) { // Use defaults for bitrate/framerate if they are not provided. if (test_stream_->requested_bitrate == 0) requested_bitrate_ = kDefaultBitrate; else requested_bitrate_ = test_stream_->requested_bitrate; if (test_stream_->requested_framerate == 0) requested_framerate_ = kDefaultFramerate; else requested_framerate_ = test_stream_->requested_framerate; // If bitrate/framerate switch is requested, use the subsequent values if // provided, or, if not, calculate them from their initial values using // the default ratios. // Otherwise, if a switch is not requested, keep the initial values. if (mid_stream_bitrate_switch) { if (test_stream_->requested_subsequent_bitrate == 0) requested_subsequent_bitrate_ = requested_bitrate_ * kDefaultSubsequentBitrateRatio; else requested_subsequent_bitrate_ = test_stream_->requested_subsequent_bitrate; } else { requested_subsequent_bitrate_ = requested_bitrate_; } if (requested_subsequent_bitrate_ == 0) requested_subsequent_bitrate_ = 1; if (mid_stream_framerate_switch) { if (test_stream_->requested_subsequent_framerate == 0) requested_subsequent_framerate_ = requested_framerate_ * kDefaultSubsequentFramerateRatio; else requested_subsequent_framerate_ = test_stream_->requested_subsequent_framerate; } else { requested_subsequent_framerate_ = requested_framerate_; } if (requested_subsequent_framerate_ == 0) requested_subsequent_framerate_ = 1; } double VEAClient::frames_per_second() { LOG_ASSERT(num_encoded_frames_ != 0UL); base::TimeDelta duration = last_frame_ready_time_ - first_frame_start_time_; return num_encoded_frames_ / duration.InSecondsF(); } void VEAClient::RequireBitstreamBuffers(unsigned int input_count, const gfx::Size& input_coded_size, size_t output_size) { DCHECK(thread_checker_.CalledOnValidThread()); ASSERT_EQ(CS_INITIALIZED, state_); SetState(CS_ENCODING); if (quality_validator_) quality_validator_->Initialize(input_coded_size, gfx::Rect(test_stream_->visible_size)); CreateAlignedInputStreamFile(input_coded_size, test_stream_); num_frames_to_encode_ = test_stream_->num_frames; if (g_num_frames_to_encode > 0) num_frames_to_encode_ = g_num_frames_to_encode; // We may need to loop over the stream more than once if more frames than // provided is required for bitrate tests. if (force_bitrate_ && num_frames_to_encode_ < kMinFramesForBitrateTests) { DVLOG(1) << "Stream too short for bitrate test (" << test_stream_->num_frames << " frames), will loop it to reach " << kMinFramesForBitrateTests << " frames"; num_frames_to_encode_ = kMinFramesForBitrateTests; } if (save_to_file_ && IsVP8(test_stream_->requested_profile)) WriteIvfFileHeader(); input_coded_size_ = input_coded_size; num_required_input_buffers_ = input_count; ASSERT_GT(num_required_input_buffers_, 0UL); output_buffer_size_ = output_size; ASSERT_GT(output_buffer_size_, 0UL); for (unsigned int i = 0; i < kNumOutputBuffers; ++i) { base::SharedMemory* shm = new base::SharedMemory(); LOG_ASSERT(shm->CreateAndMapAnonymous(output_buffer_size_)); output_shms_.push_back(shm); FeedEncoderWithOutput(shm); } if (g_env->run_at_fps()) { input_timer_.reset(new base::RepeatingTimer()); input_timer_->Start( FROM_HERE, base::TimeDelta::FromSeconds(1) / current_framerate_, base::Bind(&VEAClient::OnInputTimer, base::Unretained(this))); } else { while (inputs_at_client_.size() < num_required_input_buffers_ + kNumExtraInputFrames) FeedEncoderWithOneInput(); } } void VEAClient::VerifyOutputTimestamp(base::TimeDelta timestamp) { // One input frame may be mapped to multiple output frames, so the current // timestamp should be equal to previous timestamp or the top of // frame_timestamps_. if (timestamp != previous_timestamp_) { ASSERT_TRUE(!frame_timestamps_.empty()); EXPECT_EQ(frame_timestamps_.front(), timestamp); previous_timestamp_ = frame_timestamps_.front(); frame_timestamps_.pop(); } } void VEAClient::BitstreamBufferReady(int32_t bitstream_buffer_id, size_t payload_size, bool key_frame, base::TimeDelta timestamp) { ASSERT_TRUE(encode_task_runner_->BelongsToCurrentThread()); vea_client_task_runner_->PostTask( FROM_HERE, base::Bind(&VEAClient::BitstreamBufferReadyOnVeaClientThread, base::Unretained(this), bitstream_buffer_id, payload_size, key_frame, timestamp)); } void VEAClient::BitstreamBufferReadyOnVeaClientThread( int32_t bitstream_buffer_id, size_t payload_size, bool key_frame, base::TimeDelta timestamp) { DCHECK(thread_checker_.CalledOnValidThread()); ASSERT_LE(payload_size, output_buffer_size_); IdToSHM::iterator it = output_buffers_at_client_.find(bitstream_buffer_id); ASSERT_NE(it, output_buffers_at_client_.end()); base::SharedMemory* shm = it->second; output_buffers_at_client_.erase(it); if (state_ == CS_FINISHED || state_ == CS_VALIDATED) return; if (verify_output_timestamp_) { VerifyOutputTimestamp(timestamp); } encoded_stream_size_since_last_check_ += payload_size; const uint8_t* stream_ptr = static_cast<const uint8_t*>(shm->memory()); if (payload_size > 0) { if (stream_validator_) { stream_validator_->ProcessStreamBuffer(stream_ptr, payload_size); } else { HandleEncodedFrame(key_frame); } if (quality_validator_) { scoped_refptr<DecoderBuffer> buffer(DecoderBuffer::CopyFrom( reinterpret_cast<const uint8_t*>(shm->memory()), static_cast<int>(payload_size))); quality_validator_->AddDecodeBuffer(buffer); // Insert EOS buffer to flush the decoder. if (num_encoded_frames_ == num_frames_to_encode_) quality_validator_->Flush(); } if (save_to_file_) { if (IsVP8(test_stream_->requested_profile)) WriteIvfFrameHeader(num_encoded_frames_ - 1, payload_size); EXPECT_TRUE(base::AppendToFile( base::FilePath::FromUTF8Unsafe(test_stream_->out_filename), static_cast<char*>(shm->memory()), base::checked_cast<int>(payload_size))); } } EXPECT_EQ(key_frame, seen_keyframe_in_this_buffer_); seen_keyframe_in_this_buffer_ = false; FeedEncoderWithOutput(shm); } void VEAClient::SetState(ClientState new_state) { DCHECK(thread_checker_.CalledOnValidThread()); DVLOG(4) << "Changing state " << state_ << "->" << new_state; note_->Notify(new_state); state_ = new_state; } void VEAClient::SetStreamParameters(unsigned int bitrate, unsigned int framerate) { DCHECK(thread_checker_.CalledOnValidThread()); current_requested_bitrate_ = bitrate; current_framerate_ = framerate; LOG_ASSERT(current_requested_bitrate_ > 0UL); LOG_ASSERT(current_framerate_ > 0UL); encode_task_runner_->PostTask( FROM_HERE, base::Bind(&VideoEncodeAccelerator::RequestEncodingParametersChange, encoder_weak_factory_->GetWeakPtr(), bitrate, framerate)); DVLOG(1) << "Switched parameters to " << current_requested_bitrate_ << " bps @ " << current_framerate_ << " FPS"; } void VEAClient::InputNoLongerNeededCallback(int32_t input_id) { DCHECK(thread_checker_.CalledOnValidThread()); std::set<int32_t>::iterator it = inputs_at_client_.find(input_id); ASSERT_NE(it, inputs_at_client_.end()); inputs_at_client_.erase(it); if (!g_env->run_at_fps()) FeedEncoderWithOneInput(); } scoped_refptr<VideoFrame> VEAClient::CreateFrame(off_t position) { DCHECK(thread_checker_.CalledOnValidThread()); uint8_t* frame_data_y = reinterpret_cast<uint8_t*>(&test_stream_->aligned_in_file_data[0]) + position; uint8_t* frame_data_u = frame_data_y + test_stream_->aligned_plane_size[0]; uint8_t* frame_data_v = frame_data_u + test_stream_->aligned_plane_size[1]; CHECK_GT(current_framerate_, 0U); scoped_refptr<VideoFrame> video_frame = VideoFrame::WrapExternalYuvData( kInputFormat, input_coded_size_, gfx::Rect(test_stream_->visible_size), test_stream_->visible_size, input_coded_size_.width(), input_coded_size_.width() / 2, input_coded_size_.width() / 2, frame_data_y, frame_data_u, frame_data_v, // Timestamp needs to avoid starting from 0. base::TimeDelta().FromMilliseconds((next_input_id_ + 1) * base::Time::kMillisecondsPerSecond / current_framerate_)); EXPECT_NE(nullptr, video_frame.get()); return video_frame; } scoped_refptr<VideoFrame> VEAClient::PrepareInputFrame(off_t position, int32_t* input_id) { DCHECK(thread_checker_.CalledOnValidThread()); CHECK_LE(position + test_stream_->aligned_buffer_size, test_stream_->aligned_in_file_data.size()); scoped_refptr<VideoFrame> frame = CreateFrame(position); EXPECT_TRUE(frame); frame->AddDestructionObserver( BindToCurrentLoop(base::Bind(&VEAClient::InputNoLongerNeededCallback, base::Unretained(this), next_input_id_))); LOG_ASSERT(inputs_at_client_.insert(next_input_id_).second); *input_id = next_input_id_++; return frame; } void VEAClient::OnInputTimer() { DCHECK(thread_checker_.CalledOnValidThread()); if (!has_encoder() || state_ != CS_ENCODING) input_timer_.reset(); else if (inputs_at_client_.size() < num_required_input_buffers_ + kNumExtraInputFrames) FeedEncoderWithOneInput(); else DVLOG(1) << "Dropping input frame"; } void VEAClient::FeedEncoderWithOneInput() { DCHECK(thread_checker_.CalledOnValidThread()); if (!has_encoder() || state_ != CS_ENCODING) return; size_t bytes_left = test_stream_->aligned_in_file_data.size() - pos_in_input_stream_; if (bytes_left < test_stream_->aligned_buffer_size) { DCHECK_EQ(bytes_left, 0UL); // Rewind if at the end of stream and we are still encoding. // This is to flush the encoder with additional frames from the beginning // of the stream, or if the stream is shorter that the number of frames // we require for bitrate tests. pos_in_input_stream_ = 0; } if (quality_validator_) quality_validator_->AddOriginalFrame(CreateFrame(pos_in_input_stream_)); int32_t input_id; scoped_refptr<VideoFrame> video_frame = PrepareInputFrame(pos_in_input_stream_, &input_id); frame_timestamps_.push(video_frame->timestamp()); pos_in_input_stream_ += static_cast<off_t>(test_stream_->aligned_buffer_size); bool force_keyframe = false; if (keyframe_period_ && input_id % keyframe_period_ == 0) { force_keyframe = true; ++num_keyframes_requested_; } if (input_id == 0) { first_frame_start_time_ = base::TimeTicks::Now(); } if (g_env->needs_encode_latency()) { LOG_ASSERT(input_id == static_cast<int32_t>(encode_start_time_.size())); encode_start_time_.push_back(base::TimeTicks::Now()); } encode_task_runner_->PostTask( FROM_HERE, base::Bind(&VideoEncodeAccelerator::Encode, encoder_weak_factory_->GetWeakPtr(), video_frame, force_keyframe)); } void VEAClient::FeedEncoderWithOutput(base::SharedMemory* shm) { DCHECK(thread_checker_.CalledOnValidThread()); if (!has_encoder()) return; if (state_ != CS_ENCODING) return; base::SharedMemoryHandle dup_handle = shm->handle().Duplicate(); LOG_ASSERT(dup_handle.IsValid()); // TODO(erikchen): This may leak the SharedMemoryHandle. // https://crbug.com/640840. BitstreamBuffer bitstream_buffer(next_output_buffer_id_++, dup_handle, output_buffer_size_); LOG_ASSERT(output_buffers_at_client_ .insert(std::make_pair(bitstream_buffer.id(), shm)) .second); encode_task_runner_->PostTask( FROM_HERE, base::Bind(&VideoEncodeAccelerator::UseOutputBitstreamBuffer, encoder_weak_factory_->GetWeakPtr(), bitstream_buffer)); } bool VEAClient::HandleEncodedFrame(bool keyframe) { DCHECK(thread_checker_.CalledOnValidThread()); // This would be a bug in the test, which should not ignore false // return value from this method. LOG_ASSERT(num_encoded_frames_ <= num_frames_to_encode_); last_frame_ready_time_ = base::TimeTicks::Now(); if (g_env->needs_encode_latency()) { LOG_ASSERT(num_encoded_frames_ < encode_start_time_.size()); base::TimeTicks start_time = encode_start_time_[num_encoded_frames_]; LOG_ASSERT(!start_time.is_null()); encode_latencies_.push_back(last_frame_ready_time_ - start_time); } ++num_encoded_frames_; ++num_frames_since_last_check_; // Because the keyframe behavior requirements are loose, we give // the encoder more freedom here. It could either deliver a keyframe // immediately after we requested it, which could be for a frame number // before the one we requested it for (if the keyframe request // is asynchronous, i.e. not bound to any concrete frame, and because // the pipeline can be deeper than one frame), at that frame, or after. // So the only constraints we put here is that we get a keyframe not // earlier than we requested one (in time), and not later than // kMaxKeyframeDelay frames after the frame, for which we requested // it, comes back encoded. if (keyframe) { if (num_keyframes_requested_ > 0) { --num_keyframes_requested_; next_keyframe_at_ += keyframe_period_; } seen_keyframe_in_this_buffer_ = true; } if (num_keyframes_requested_ > 0) EXPECT_LE(num_encoded_frames_, next_keyframe_at_ + kMaxKeyframeDelay); if (num_encoded_frames_ == num_frames_to_encode_ / 2) { VerifyStreamProperties(); if (requested_subsequent_bitrate_ != current_requested_bitrate_ || requested_subsequent_framerate_ != current_framerate_) { SetStreamParameters(requested_subsequent_bitrate_, requested_subsequent_framerate_); if (g_env->run_at_fps() && input_timer_) input_timer_->Start( FROM_HERE, base::TimeDelta::FromSeconds(1) / current_framerate_, base::Bind(&VEAClient::OnInputTimer, base::Unretained(this))); } } else if (num_encoded_frames_ == num_frames_to_encode_) { LogPerf(); VerifyMinFPS(); VerifyStreamProperties(); SetState(CS_FINISHED); if (!quality_validator_) SetState(CS_VALIDATED); if (verify_output_timestamp_) { // There may be some timestamps left because we push extra frames to flush // encoder. EXPECT_LE(frame_timestamps_.size(), static_cast<size_t>(next_input_id_ - num_frames_to_encode_)); } return false; } return true; } void VEAClient::LogPerf() { g_env->LogToFile("Measured encoder FPS", base::StringPrintf("%.3f", frames_per_second())); // Log encode latencies. if (g_env->needs_encode_latency()) { std::sort(encode_latencies_.begin(), encode_latencies_.end()); for (const auto& percentile : kLoggedLatencyPercentiles) { base::TimeDelta latency = Percentile(encode_latencies_, percentile); g_env->LogToFile( base::StringPrintf("Encode latency for the %dth percentile", percentile), base::StringPrintf("%" PRId64 " us", latency.InMicroseconds())); } } } void VEAClient::VerifyMinFPS() { if (test_perf_) EXPECT_GE(frames_per_second(), kMinPerfFPS); } void VEAClient::VerifyStreamProperties() { LOG_ASSERT(num_frames_since_last_check_ > 0UL); LOG_ASSERT(encoded_stream_size_since_last_check_ > 0UL); unsigned int bitrate = static_cast<unsigned int>( encoded_stream_size_since_last_check_ * 8 * current_framerate_ / num_frames_since_last_check_); DVLOG(1) << "Current chunk's bitrate: " << bitrate << " (expected: " << current_requested_bitrate_ << " @ " << current_framerate_ << " FPS," << " num frames in chunk: " << num_frames_since_last_check_; num_frames_since_last_check_ = 0; encoded_stream_size_since_last_check_ = 0; if (force_bitrate_) { EXPECT_NEAR(bitrate, current_requested_bitrate_, kBitrateTolerance * current_requested_bitrate_); } // All requested keyframes should've been provided. Allow the last requested // frame to remain undelivered if we haven't reached the maximum frame number // by which it should have arrived. if (num_encoded_frames_ < next_keyframe_at_ + kMaxKeyframeDelay) EXPECT_LE(num_keyframes_requested_, 1UL); else EXPECT_EQ(0UL, num_keyframes_requested_); } void VEAClient::WriteIvfFileHeader() { IvfFileHeader header = {}; memcpy(header.signature, kIvfHeaderSignature, sizeof(header.signature)); header.version = 0; header.header_size = sizeof(header); header.fourcc = 0x30385056; // VP80 header.width = base::checked_cast<uint16_t>(test_stream_->visible_size.width()); header.height = base::checked_cast<uint16_t>(test_stream_->visible_size.height()); header.timebase_denum = requested_framerate_; header.timebase_num = 1; header.num_frames = num_frames_to_encode_; header.ByteSwap(); EXPECT_TRUE(base::AppendToFile( base::FilePath::FromUTF8Unsafe(test_stream_->out_filename), reinterpret_cast<char*>(&header), sizeof(header))); } void VEAClient::WriteIvfFrameHeader(int frame_index, size_t frame_size) { IvfFrameHeader header = {}; header.frame_size = static_cast<uint32_t>(frame_size); header.timestamp = frame_index; header.ByteSwap(); EXPECT_TRUE(base::AppendToFile( base::FilePath::FromUTF8Unsafe(test_stream_->out_filename), reinterpret_cast<char*>(&header), sizeof(header))); } // Base class for simple VEA Clients class SimpleVEAClientBase : public VEAClientBase { public: void CreateEncoder(); void DestroyEncoder(); // VideoDecodeAccelerator::Client implementation. void RequireBitstreamBuffers(unsigned int input_count, const gfx::Size& input_coded_size, size_t output_buffer_size) override; protected: SimpleVEAClientBase(ClientStateNotification<ClientState>* note, const int width, const int height); void SetState(ClientState new_state) override; // Provide the encoder with a new output buffer. void FeedEncoderWithOutput(base::SharedMemory* shm, size_t output_size); const int width_; const int height_; const int bitrate_; const int fps_; }; SimpleVEAClientBase::SimpleVEAClientBase( ClientStateNotification<ClientState>* note, const int width, const int height) : VEAClientBase(note), width_(width), height_(height), bitrate_(200000), fps_(30) { thread_checker_.DetachFromThread(); } void SimpleVEAClientBase::CreateEncoder() { DCHECK(thread_checker_.CalledOnValidThread()); LOG_ASSERT(!has_encoder()); LOG_ASSERT(g_env->test_streams_.size()); std::unique_ptr<VideoEncodeAccelerator> encoders[] = { CreateFakeVEA(), CreateV4L2VEA(), CreateVaapiVEA(), CreateVTVEA(), CreateMFVEA()}; gfx::Size visible_size(width_, height_); for (auto& encoder : encoders) { if (!encoder) continue; encoder_ = std::move(encoder); if (encoder_->Initialize(kInputFormat, visible_size, g_env->test_streams_[0]->requested_profile, bitrate_, this)) { encoder_->RequestEncodingParametersChange(bitrate_, fps_); SetState(CS_INITIALIZED); return; } } encoder_.reset(); LOG(ERROR) << "VideoEncodeAccelerator::Initialize() failed"; SetState(CS_ERROR); } void SimpleVEAClientBase::DestroyEncoder() { DCHECK(thread_checker_.CalledOnValidThread()); if (!has_encoder()) return; // Clear the objects that should be destroyed on the same thread as creation. encoder_.reset(); } void SimpleVEAClientBase::SetState(ClientState new_state) { DVLOG(4) << "Changing state to " << new_state; note_->Notify(new_state); } void SimpleVEAClientBase::RequireBitstreamBuffers( unsigned int input_count, const gfx::Size& input_coded_size, size_t output_size) { DCHECK(thread_checker_.CalledOnValidThread()); SetState(CS_ENCODING); ASSERT_GT(output_size, 0UL); for (unsigned int i = 0; i < kNumOutputBuffers; ++i) { base::SharedMemory* shm = new base::SharedMemory(); LOG_ASSERT(shm->CreateAndMapAnonymous(output_size)); output_shms_.push_back(shm); FeedEncoderWithOutput(shm, output_size); } } void SimpleVEAClientBase::FeedEncoderWithOutput(base::SharedMemory* shm, size_t output_size) { if (!has_encoder()) return; base::SharedMemoryHandle dup_handle = shm->handle().Duplicate(); LOG_ASSERT(dup_handle.IsValid()); BitstreamBuffer bitstream_buffer(next_output_buffer_id_++, dup_handle, output_size); encoder_->UseOutputBitstreamBuffer(bitstream_buffer); } // This client is only used to make sure the encoder does not return an encoded // frame before getting any input. class VEANoInputClient : public SimpleVEAClientBase { public: explicit VEANoInputClient(ClientStateNotification<ClientState>* note); void DestroyEncoder(); // VideoDecodeAccelerator::Client implementation. void RequireBitstreamBuffers(unsigned int input_count, const gfx::Size& input_coded_size, size_t output_buffer_size) override; void BitstreamBufferReady(int32_t bitstream_buffer_id, size_t payload_size, bool key_frame, base::TimeDelta timestamp) override; private: // The timer used to monitor the encoder doesn't return an output buffer in // a period of time. std::unique_ptr<base::Timer> timer_; }; VEANoInputClient::VEANoInputClient(ClientStateNotification<ClientState>* note) : SimpleVEAClientBase(note, 320, 240) {} void VEANoInputClient::DestroyEncoder() { SimpleVEAClientBase::DestroyEncoder(); // Clear the objects that should be destroyed on the same thread as creation. timer_.reset(); } void VEANoInputClient::RequireBitstreamBuffers( unsigned int input_count, const gfx::Size& input_coded_size, size_t output_size) { DCHECK(thread_checker_.CalledOnValidThread()); SimpleVEAClientBase::RequireBitstreamBuffers(input_count, input_coded_size, output_size); // Timer is used to make sure there is no output frame in 100ms. timer_.reset(new base::Timer(FROM_HERE, base::TimeDelta::FromMilliseconds(100), base::Bind(&VEANoInputClient::SetState, base::Unretained(this), CS_FINISHED), false)); timer_->Reset(); } void VEANoInputClient::BitstreamBufferReady(int32_t bitstream_buffer_id, size_t payload_size, bool key_frame, base::TimeDelta timestamp) { DCHECK(thread_checker_.CalledOnValidThread()); SetState(CS_ERROR); } // This client is only used to test input frame with the size of U and V planes // unaligned to cache line. // To have both width and height divisible by 16 but not 32 will make the size // of U/V plane (width * height / 4) unaligned to 128-byte cache line. class VEACacheLineUnalignedInputClient : public SimpleVEAClientBase { public: explicit VEACacheLineUnalignedInputClient( ClientStateNotification<ClientState>* note); // VideoDecodeAccelerator::Client implementation. void RequireBitstreamBuffers(unsigned int input_count, const gfx::Size& input_coded_size, size_t output_buffer_size) override; void BitstreamBufferReady(int32_t bitstream_buffer_id, size_t payload_size, bool key_frame, base::TimeDelta timestamp) override; private: // Feed the encoder with one input frame. void FeedEncoderWithOneInput(const gfx::Size& input_coded_size); }; VEACacheLineUnalignedInputClient::VEACacheLineUnalignedInputClient( ClientStateNotification<ClientState>* note) : SimpleVEAClientBase(note, 368, 368) { } // 368 is divisible by 16 but not 32 void VEACacheLineUnalignedInputClient::RequireBitstreamBuffers( unsigned int input_count, const gfx::Size& input_coded_size, size_t output_size) { DCHECK(thread_checker_.CalledOnValidThread()); SimpleVEAClientBase::RequireBitstreamBuffers(input_count, input_coded_size, output_size); FeedEncoderWithOneInput(input_coded_size); } void VEACacheLineUnalignedInputClient::BitstreamBufferReady( int32_t bitstream_buffer_id, size_t payload_size, bool key_frame, base::TimeDelta timestamp) { DCHECK(thread_checker_.CalledOnValidThread()); // It's enough to encode just one frame. If plane size is not aligned, // VideoEncodeAccelerator::Encode will fail. SetState(CS_FINISHED); } void VEACacheLineUnalignedInputClient::FeedEncoderWithOneInput( const gfx::Size& input_coded_size) { DCHECK(thread_checker_.CalledOnValidThread()); if (!has_encoder()) return; std::vector<char, AlignedAllocator<char, kPlatformBufferAlignment>> aligned_data_y, aligned_data_u, aligned_data_v; aligned_data_y.resize( VideoFrame::PlaneSize(kInputFormat, 0, input_coded_size).GetArea()); aligned_data_u.resize( VideoFrame::PlaneSize(kInputFormat, 1, input_coded_size).GetArea()); aligned_data_v.resize( VideoFrame::PlaneSize(kInputFormat, 2, input_coded_size).GetArea()); uint8_t* frame_data_y = reinterpret_cast<uint8_t*>(&aligned_data_y[0]); uint8_t* frame_data_u = reinterpret_cast<uint8_t*>(&aligned_data_u[0]); uint8_t* frame_data_v = reinterpret_cast<uint8_t*>(&aligned_data_v[0]); scoped_refptr<VideoFrame> video_frame = VideoFrame::WrapExternalYuvData( kInputFormat, input_coded_size, gfx::Rect(input_coded_size), input_coded_size, input_coded_size.width(), input_coded_size.width() / 2, input_coded_size.width() / 2, frame_data_y, frame_data_u, frame_data_v, base::TimeDelta().FromMilliseconds(base::Time::kMillisecondsPerSecond / fps_)); encoder_->Encode(video_frame, false); } // Test parameters: // - Number of concurrent encoders. The value takes effect when there is only // one input stream; otherwise, one encoder per input stream will be // instantiated. // - If true, save output to file (provided an output filename was supplied). // - Force a keyframe every n frames. // - Force bitrate; the actual required value is provided as a property // of the input stream, because it depends on stream type/resolution/etc. // - If true, measure performance. // - If true, switch bitrate mid-stream. // - If true, switch framerate mid-stream. // - If true, verify the output frames of encoder. // - If true, verify the timestamps of output frames. class VideoEncodeAcceleratorTest : public ::testing::TestWithParam< std::tuple<int, bool, int, bool, bool, bool, bool, bool, bool>> {}; TEST_P(VideoEncodeAcceleratorTest, TestSimpleEncode) { size_t num_concurrent_encoders = std::get<0>(GetParam()); const bool save_to_file = std::get<1>(GetParam()); const unsigned int keyframe_period = std::get<2>(GetParam()); const bool force_bitrate = std::get<3>(GetParam()); const bool test_perf = std::get<4>(GetParam()); const bool mid_stream_bitrate_switch = std::get<5>(GetParam()); const bool mid_stream_framerate_switch = std::get<6>(GetParam()); const bool verify_output = std::get<7>(GetParam()) || g_env->verify_all_output(); const bool verify_output_timestamp = std::get<8>(GetParam()); ScopedVector<ClientStateNotification<ClientState>> notes; ScopedVector<VEAClient> clients; base::Thread vea_client_thread("EncoderClientThread"); ASSERT_TRUE(vea_client_thread.Start()); if (g_env->test_streams_.size() > 1) num_concurrent_encoders = g_env->test_streams_.size(); // Create all encoders. for (size_t i = 0; i < num_concurrent_encoders; i++) { size_t test_stream_index = i % g_env->test_streams_.size(); // Disregard save_to_file if we didn't get an output filename. bool encoder_save_to_file = (save_to_file && !g_env->test_streams_[test_stream_index]->out_filename.empty()); notes.push_back(new ClientStateNotification<ClientState>()); clients.push_back(new VEAClient( g_env->test_streams_[test_stream_index], notes.back(), encoder_save_to_file, keyframe_period, force_bitrate, test_perf, mid_stream_bitrate_switch, mid_stream_framerate_switch, verify_output, verify_output_timestamp)); vea_client_thread.task_runner()->PostTask( FROM_HERE, base::Bind(&VEAClient::CreateEncoder, base::Unretained(clients.back()))); } // All encoders must pass through states in this order. enum ClientState state_transitions[] = {CS_INITIALIZED, CS_ENCODING, CS_FINISHED, CS_VALIDATED}; // Wait for all encoders to go through all states and finish. // Do this by waiting for all encoders to advance to state n before checking // state n+1, to verify that they are able to operate concurrently. // It also simulates the real-world usage better, as the main thread, on which // encoders are created/destroyed, is a single GPU Process ChildThread. // Moreover, we can't have proper multithreading on X11, so this could cause // hard to debug issues there, if there were multiple "ChildThreads". for (const auto& state : state_transitions) { for (size_t i = 0; i < num_concurrent_encoders && !HasFailure(); i++) { EXPECT_EQ(state, notes[i]->Wait()); } if (HasFailure()) { break; } } for (size_t i = 0; i < num_concurrent_encoders; ++i) { vea_client_thread.task_runner()->PostTask( FROM_HERE, base::Bind(&VEAClient::DestroyEncoder, base::Unretained(clients[i]))); } // This ensures all tasks have finished. vea_client_thread.Stop(); } // Test parameters: // - Test type // 0: No input test // 1: Cache line-unaligned test class VideoEncodeAcceleratorSimpleTest : public ::testing::TestWithParam<int> { }; template <class TestClient> void SimpleTestFunc() { std::unique_ptr<ClientStateNotification<ClientState>> note( new ClientStateNotification<ClientState>()); std::unique_ptr<TestClient> client(new TestClient(note.get())); base::Thread vea_client_thread("EncoderClientThread"); ASSERT_TRUE(vea_client_thread.Start()); vea_client_thread.task_runner()->PostTask( FROM_HERE, base::Bind(&TestClient::CreateEncoder, base::Unretained(client.get()))); // Encoder must pass through states in this order. enum ClientState state_transitions[] = {CS_INITIALIZED, CS_ENCODING, CS_FINISHED}; for (const auto& state : state_transitions) { EXPECT_EQ(state, note->Wait()); if (testing::Test::HasFailure()) { break; } } vea_client_thread.task_runner()->PostTask( FROM_HERE, base::Bind(&TestClient::DestroyEncoder, base::Unretained(client.get()))); // This ensures all tasks have finished. vea_client_thread.Stop(); } TEST_P(VideoEncodeAcceleratorSimpleTest, TestSimpleEncode) { const int test_type = GetParam(); ASSERT_LT(test_type, 2) << "Invalid test type=" << test_type; if (test_type == 0) SimpleTestFunc<VEANoInputClient>(); else if (test_type == 1) SimpleTestFunc<VEACacheLineUnalignedInputClient>(); } #if defined(OS_CHROMEOS) // TODO(kcwu): add back test of verify_output=true after crbug.com/694131 fixed. INSTANTIATE_TEST_CASE_P( SimpleEncode, VideoEncodeAcceleratorTest, ::testing::Values( std::make_tuple(1, true, 0, false, false, false, false, false, false))); INSTANTIATE_TEST_CASE_P( EncoderPerf, VideoEncodeAcceleratorTest, ::testing::Values( std::make_tuple(1, false, 0, false, true, false, false, false, false))); INSTANTIATE_TEST_CASE_P(ForceKeyframes, VideoEncodeAcceleratorTest, ::testing::Values(std::make_tuple(1, false, 10, false, false, false, false, false, false))); INSTANTIATE_TEST_CASE_P( ForceBitrate, VideoEncodeAcceleratorTest, ::testing::Values( std::make_tuple(1, false, 0, true, false, false, false, false, false))); INSTANTIATE_TEST_CASE_P( MidStreamParamSwitchBitrate, VideoEncodeAcceleratorTest, ::testing::Values( std::make_tuple(1, false, 0, true, false, true, false, false, false))); // TODO(kcwu): add back bitrate test after crbug.com/693336 fixed. INSTANTIATE_TEST_CASE_P( DISABLED_MidStreamParamSwitchFPS, VideoEncodeAcceleratorTest, ::testing::Values( std::make_tuple(1, false, 0, true, false, false, true, false, false))); INSTANTIATE_TEST_CASE_P( MultipleEncoders, VideoEncodeAcceleratorTest, ::testing::Values( std::make_tuple(3, false, 0, false, false, false, false, false, false), std::make_tuple(3, false, 0, true, false, true, false, false, false))); INSTANTIATE_TEST_CASE_P( VerifyTimestamp, VideoEncodeAcceleratorTest, ::testing::Values( std::make_tuple(1, false, 0, false, false, false, false, false, true))); INSTANTIATE_TEST_CASE_P(NoInputTest, VideoEncodeAcceleratorSimpleTest, ::testing::Values(0)); INSTANTIATE_TEST_CASE_P(CacheLineUnalignedInputTest, VideoEncodeAcceleratorSimpleTest, ::testing::Values(1)); #elif defined(OS_MACOSX) || defined(OS_WIN) INSTANTIATE_TEST_CASE_P( SimpleEncode, VideoEncodeAcceleratorTest, ::testing::Values( std::make_tuple(1, true, 0, false, false, false, false, false, false), std::make_tuple(1, true, 0, false, false, false, false, true, false))); INSTANTIATE_TEST_CASE_P( EncoderPerf, VideoEncodeAcceleratorTest, ::testing::Values( std::make_tuple(1, false, 0, false, true, false, false, false, false))); INSTANTIATE_TEST_CASE_P(MultipleEncoders, VideoEncodeAcceleratorTest, ::testing::Values(std::make_tuple(3, false, 0, false, false, false, false, false, false))); #if defined(OS_WIN) INSTANTIATE_TEST_CASE_P( ForceBitrate, VideoEncodeAcceleratorTest, ::testing::Values( std::make_tuple(1, false, 0, true, false, false, false, false, false))); #endif // defined(OS_WIN) #endif // defined(OS_CHROMEOS) // TODO(posciak): more tests: // - async FeedEncoderWithOutput // - out-of-order return of outputs to encoder // - multiple encoders + decoders // - mid-stream encoder_->Destroy() } // namespace } // namespace media int main(int argc, char** argv) { testing::InitGoogleTest(&argc, argv); // Removes gtest-specific args. base::CommandLine::Init(argc, argv); base::ShadowingAtExitManager at_exit_manager; base::MessageLoop main_loop; std::unique_ptr<base::FilePath::StringType> test_stream_data( new base::FilePath::StringType( media::GetTestDataFilePath(media::g_default_in_filename).value())); test_stream_data->append(media::g_default_in_parameters); // Needed to enable DVLOG through --vmodule. logging::LoggingSettings settings; settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; LOG_ASSERT(logging::InitLogging(settings)); const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); DCHECK(cmd_line); bool run_at_fps = false; bool needs_encode_latency = false; bool verify_all_output = false; base::FilePath log_path; base::CommandLine::SwitchMap switches = cmd_line->GetSwitches(); for (base::CommandLine::SwitchMap::const_iterator it = switches.begin(); it != switches.end(); ++it) { if (it->first == "test_stream_data") { test_stream_data->assign(it->second.c_str()); continue; } // Output machine-readable logs with fixed formats to a file. if (it->first == "output_log") { log_path = base::FilePath( base::FilePath::StringType(it->second.begin(), it->second.end())); continue; } if (it->first == "num_frames_to_encode") { std::string input(it->second.begin(), it->second.end()); LOG_ASSERT(base::StringToInt(input, &media::g_num_frames_to_encode)); continue; } if (it->first == "measure_latency") { needs_encode_latency = true; continue; } if (it->first == "fake_encoder") { media::g_fake_encoder = true; continue; } if (it->first == "run_at_fps") { run_at_fps = true; continue; } if (it->first == "verify_all_output") { verify_all_output = true; continue; } if (it->first == "v" || it->first == "vmodule") continue; if (it->first == "ozone-platform" || it->first == "ozone-use-surfaceless") continue; LOG(FATAL) << "Unexpected switch: " << it->first << ":" << it->second; } if (needs_encode_latency && !run_at_fps) { // Encode latency can only be measured with --run_at_fps. Otherwise, we get // skewed results since it may queue too many frames at once with the same // encode start time. LOG(FATAL) << "--measure_latency requires --run_at_fps enabled to work."; } #if defined(OS_CHROMEOS) && defined(ARCH_CPU_X86_FAMILY) media::VaapiWrapper::PreSandboxInitialization(); #endif media::g_env = reinterpret_cast<media::VideoEncodeAcceleratorTestEnvironment*>( testing::AddGlobalTestEnvironment( new media::VideoEncodeAcceleratorTestEnvironment( std::move(test_stream_data), log_path, run_at_fps, needs_encode_latency, verify_all_output))); return RUN_ALL_TESTS(); }
[ "xElvis89x@gmail.com" ]
xElvis89x@gmail.com
ee426a469e8cd60c0249d210d01f3ba254f27b1b
6657186600feaec8228f8f92a9c3dec33d089d2b
/onnxruntime/core/providers/cuda/tensor/squeeze.h
aa3fbfb8e6b4e6864d1a29eed4644ef2e5497cc0
[ "MIT" ]
permissive
microsoft/onnxruntime-openenclave
4da64801290ff0f89497a6cfbfccd79e1584f81b
a6ad144bfbe4d91277c33180e65768e843a9f053
refs/heads/openenclave-public
2023-07-06T02:33:46.183271
2022-08-17T02:56:57
2022-08-17T02:56:57
290,272,833
34
21
MIT
2022-12-12T16:28:23
2020-08-25T16:58:14
C++
UTF-8
C++
false
false
570
h
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/common/common.h" #include "core/framework/op_kernel.h" #include "core/providers/cuda/cuda_common.h" #include "core/providers/cpu/tensor/squeeze.h" namespace onnxruntime { namespace cuda { class Squeeze final : public SqueezeBase, public CudaKernel { public: Squeeze(const OpKernelInfo& info) : SqueezeBase(info), CudaKernel(info) {} Status ComputeInternal(OpKernelContext* context) const override; }; } // namespace cuda } // namespace onnxruntime
[ "prs@microsoft.com" ]
prs@microsoft.com
0651b377a42acf891f2e14ebf1f938f7442179fa
994dde7fae0dc6bb430e00c0822fc05a2cbf2132
/sample/bindclass/main.cpp
8b17b67f82cf3bd9b1666a48e5f6c524363068b5
[]
no_license
zapline/libscript_lua
c50327d5a291398b7a348bbb990a1465381d62c5
3d8d74196bde48711fe91b9bed26ef617bbe2240
refs/heads/master
2020-04-06T06:15:27.419577
2014-10-27T03:49:22
2014-10-27T03:49:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,462
cpp
#include "libscript.h" class MyClass { public: MyClass() { n = 256; } MyClass(int num) { n = num; } ~MyClass() { std::cout << "free" << std::endl; } void foo() { std::cout << "foo"<<std::endl; } int foo2() { return 0; } int n; }; int main() { { Script script; BindClass<MyClass>(script) .create_forward("MyClass", [](Args& arg)->MyClass*{ switch (arg.count()) { case 0: return new MyClass(); case 1: return new MyClass(arg[1].toInteger()); default: return nullptr; } }) .destroy("__gc") .destroy("free") .method("foo2", &MyClass::foo2) .method_forward("foo", [](MyClass* _this, Args& args, Pusher& pusher)->int{ std::cout << _this->n << std::endl; _this->n++; return 0; }); ; script.execString(R"( a = MyClass() a:foo() a:foo() a:foo() b = MyClass(0) b:foo() b:foo() b:foo() a:free() b:free() c = MyClass(0) )"); std::cout << "stack top:"<< script.gettop() << std::endl; } std::cout << ":)" << std::endl; }
[ "buzichang@vip.qq.com" ]
buzichang@vip.qq.com
15e88dcd05bf943db4a8570e68ce545ee04242e4
c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64
/Engine/Source/Editor/UnrealEd/Private/ReferenceInfoUtils.h
c98e5eac679997b5ec2597749af923dbbe6846c7
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
windystrife/UnrealEngine_NVIDIAGameWorks
c3c7863083653caf1bc67d3ef104fb4b9f302e2a
b50e6338a7c5b26374d66306ebc7807541ff815e
refs/heads/4.18-GameWorks
2023-03-11T02:50:08.471040
2022-01-13T20:50:29
2022-01-13T20:50:29
124,100,479
262
179
MIT
2022-12-16T05:36:38
2018-03-06T15:44:09
C++
UTF-8
C++
false
false
275
h
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" namespace ReferenceInfoUtils { /** * Outputs reference info to a log file */ void GenerateOutput(UWorld* InWorld, int32 Depth, bool bShowDefault, bool bShowScript); }
[ "tungnt.rec@gmail.com" ]
tungnt.rec@gmail.com
0ef358df1bdcfd122e7f4bc710a36380f449b3c4
d0c44dd3da2ef8c0ff835982a437946cbf4d2940
/cmake-build-debug/programs_tiling/function14321/function14321_schedule_29/function14321_schedule_29.cpp
9e8ae0460c5c9b36a23fa853b69f7c1599864b64
[]
no_license
IsraMekki/tiramisu_code_generator
8b3f1d63cff62ba9f5242c019058d5a3119184a3
5a259d8e244af452e5301126683fa4320c2047a3
refs/heads/master
2020-04-29T17:27:57.987172
2019-04-23T16:50:32
2019-04-23T16:50:32
176,297,755
1
2
null
null
null
null
UTF-8
C++
false
false
1,112
cpp
#include <tiramisu/tiramisu.h> using namespace tiramisu; int main(int argc, char **argv){ tiramisu::init("function14321_schedule_29"); constant c0("c0", 512), c1("c1", 128), c2("c2", 1024); var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i100("i100", 2, c0 - 2), i101("i101", 2, c1 - 2), i102("i102", 2, c2 - 2), i01("i01"), i02("i02"), i03("i03"), i04("i04"), i05("i05"), i06("i06"); input input0("input0", {i0, i1, i2}, p_int32); computation comp0("comp0", {i100, i101, i102}, (input0(i100, i101, i102) - input0(i100 + 1, i101, i102) + input0(i100 + 2, i101, i102) - input0(i100 - 1, i101, i102) - input0(i100 - 2, i101, i102))); comp0.tile(i100, i101, i102, 128, 64, 128, i01, i02, i03, i04, i05, i06); comp0.parallelize(i01); buffer buf00("buf00", {512, 128, 1024}, p_int32, a_input); buffer buf0("buf0", {512, 128, 1024}, p_int32, a_output); input0.store_in(&buf00); comp0.store_in(&buf0); tiramisu::codegen({&buf00, &buf0}, "../data/programs/function14321/function14321_schedule_29/function14321_schedule_29.o"); return 0; }
[ "ei_mekki@esi.dz" ]
ei_mekki@esi.dz
8a22cdb360580dbcdbc77b87f11565fc289f63e7
ce44c972e50fb6b16ba3026951c470c8c5e537d8
/CodeChef/CHSERVE.cpp
f8c79f4935259400ed1ef488630f948eaf1250f8
[]
no_license
kawal2266/DS-and-Algorithms
60e394fb35b16a1278f97aba02be0ea1bd038899
b2af944ddf6a697783862990c2e0b96a336c2c45
refs/heads/master
2020-03-27T03:42:55.316097
2018-10-30T17:51:25
2018-10-30T17:51:25
145,883,720
0
6
null
2018-10-30T17:51:26
2018-08-23T17:03:11
Java
UTF-8
C++
false
false
337
cpp
#include <iostream> using namespace std; string nextTurn(int n1,int n2,int k){ int s=n1+n2; return (s/k)%2==0?"CHEF":"COOK"; } int main() { // your code goes here int t; cin>>t; while(t!=0){ int n1,n2,k; cin>>n1>>n2>>k; string result=nextTurn(n1,n2,k); cout<<result<<"\n"; t--; } return 0; }
[ "vandanakumari13998@gmail.com" ]
vandanakumari13998@gmail.com
9afe8406d045f08405827c7353475294222ce441
17e32121c8e8ffbe114ec438466afca7ed8f316b
/touhou/SDLEngine/ShooterRect.h
f2c71e1b6c80fa4302a72bd25c9d888304acb298
[ "MIT" ]
permissive
axt32/tohoxp
ee21a46de62f579f10a6927d2741c7bacb960c8b
1dee92da45f8adb2d6475154bd73f940d30e8cf3
refs/heads/master
2022-10-17T18:29:41.550294
2020-06-14T09:51:23
2020-06-14T09:51:23
272,163,237
0
0
null
null
null
null
UTF-8
C++
false
false
493
h
#pragma once #include "../MemoryLeakChecker.h" #include "../SDL/include/SDL.h" class ShooterRect { private: SDL_Rect MyRect; public: ShooterRect(); ShooterRect(int IN_x, int IN_y); ShooterRect(int IN_x, int IN_y, int IN_w, int IN_h); void Set_X(int IN_x); void Set_Y(int IN_y); void Set_W(int IN_w); void Set_H(int IN_h); int Get_X(); int Get_Y(); int Get_W(); int Get_H(); SDL_Rect * GetRect(); bool CheckSame(ShooterRect * IN_Rect); void Duplicate(ShooterRect * OUT_Rect); };
[ "axt32@naver.com" ]
axt32@naver.com
7eb6ad3f79fae08b96930e5487834af8738aa2aa
9f7a5e5c6dfce8daa9c6c748c61851a5e8b1464b
/自行撰寫文章/Ubuntu X-Window Qt4程式設計系列/Ubuntu X-Window Qt4程式設計07/程式碼/5-3/ImageProcess5-3_02/build/moc_imagewidget.cpp
e7d74a23cbfbd4c3f05b9653b7400798fc9c9508
[]
no_license
jash-git/Jash_QT
fdaf4eb2d6575d19ed17f35c57af25940f80554d
5e44333512e048649e6b7038428487348fda52aa
refs/heads/master
2023-05-28T11:24:23.585919
2021-06-06T12:43:10
2021-06-06T12:43:10
372,838,837
0
0
null
null
null
null
UTF-8
C++
false
false
2,074
cpp
/**************************************************************************** ** Meta object code from reading C++ file 'imagewidget.h' ** ** Created: Wed Dec 8 22:02:16 2010 ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.0) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../src/imagewidget.h" #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'imagewidget.h' doesn't include <QObject>." #elif Q_MOC_OUTPUT_REVISION != 62 #error "This file was generated using the moc from 4.7.0. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif QT_BEGIN_MOC_NAMESPACE static const uint qt_meta_data_ImageWidget[] = { // content: 5, // revision 0, // classname 0, 0, // classinfo 0, 0, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 0, // signalCount 0 // eod }; static const char qt_meta_stringdata_ImageWidget[] = { "ImageWidget\0" }; const QMetaObject ImageWidget::staticMetaObject = { { &QWidget::staticMetaObject, qt_meta_stringdata_ImageWidget, qt_meta_data_ImageWidget, 0 } }; #ifdef Q_NO_DATA_RELOCATION const QMetaObject &ImageWidget::getStaticMetaObject() { return staticMetaObject; } #endif //Q_NO_DATA_RELOCATION const QMetaObject *ImageWidget::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; } void *ImageWidget::qt_metacast(const char *_clname) { if (!_clname) return 0; if (!strcmp(_clname, qt_meta_stringdata_ImageWidget)) return static_cast<void*>(const_cast< ImageWidget*>(this)); return QWidget::qt_metacast(_clname); } int ImageWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QWidget::qt_metacall(_c, _id, _a); if (_id < 0) return _id; return _id; } QT_END_MOC_NAMESPACE
[ "jash.liao@gmail.com" ]
jash.liao@gmail.com
30246d4df0a2c96b6f0071a3ef758049ad9a51e0
18d3c64df62247ca95259132d677b802fb0d6018
/ExampleService/ExampleService.cpp
04ac76291e2bda5010854879a88f6a6af8f504d8
[]
no_license
wushuo8/WindowServiceExample
a27218c3de478b914e99919c175b92ea7a7bd59d
0cee752a106dc65e0b8cc0ced81da04ab474941f
refs/heads/master
2022-01-21T21:18:45.426995
2019-07-26T11:28:13
2019-07-26T11:28:13
null
0
0
null
null
null
null
GB18030
C++
false
false
4,240
cpp
// ExampleService.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <Windows.h> SERVICE_STATUS_HANDLE ssh=NULL; SERVICE_STATUS ss = {0}; void PrintError(wchar_t *err) { printf("%s ErrorCode : %d\r\n",err,GetLastError()); } BOOL InstallService() { wchar_t DirBuf[1024]={0},SysDir[1024]={0}; GetCurrentDirectory(1024,DirBuf); GetModuleFileName(NULL,DirBuf,sizeof(DirBuf)); GetSystemDirectory(SysDir,sizeof(SysDir)); wcscat_s(SysDir,L"\\ExampleService.exe"); if(!CopyFile(DirBuf,SysDir,FALSE)) { PrintError(L"CopyFile Fail"); return FALSE; } SC_HANDLE sch = OpenSCManager(NULL,NULL,SC_MANAGER_ALL_ACCESS); if(!sch) { PrintError(L"OpenSCManager Failed"); return FALSE; } SC_HANDLE schNewSrv = CreateService(sch,L"ExampleService",L"SampleServiceApp",SERVICE_ALL_ACCESS,SERVICE_WIN32_OWN_PROCESS,SERVICE_AUTO_START, SERVICE_ERROR_NORMAL,SysDir,NULL,NULL,NULL,NULL,NULL); if(!schNewSrv) { PrintError(L"CreateService Failed"); return FALSE; } SERVICE_DESCRIPTION sd; sd.lpDescription = L"A Sample Service , Test Example"; ChangeServiceConfig2(schNewSrv,SERVICE_CONFIG_DESCRIPTION,&sd); CloseServiceHandle(schNewSrv); CloseServiceHandle(sch); printf("Install Service Success!"); return TRUE; } BOOL UnInstallService() { SC_HANDLE scm = OpenSCManager(NULL,NULL,SC_MANAGER_ALL_ACCESS); if(!scm) { PrintError(L"OpenSCManager Failed"); return FALSE; } SC_HANDLE scml = OpenService(scm,L"ExampleService",SC_MANAGER_ALL_ACCESS); if(!scml) { PrintError(L"OpenService Failed"); return FALSE; } SERVICE_STATUS ss; if(!QueryServiceStatus(scml,&ss)) { PrintError(L"QueryServiceStatus Failed"); return FALSE; } if(ss.dwCurrentState != SERVICE_STOPPED) { if(!ControlService(scml,SERVICE_CONTROL_STOP,&ss) && ss.dwCurrentState !=SERVICE_CONTROL_STOP) { PrintError(L"ControlService Stop Failed"); return FALSE; } } if(!DeleteService(scml)) { PrintError(L"DeleteService Failed"); return FALSE; } printf("Delete Service Success!"); return TRUE; } void WINAPI ServiceCtrlHandler(DWORD dwOpcode) { switch(dwOpcode) { case SERVICE_CONTROL_STOP: ss.dwCurrentState = SERVICE_STOPPED; break; case SERVICE_CONTROL_PAUSE: ss.dwCurrentState = SERVICE_PAUSED; break; case SERVICE_CONTROL_CONTINUE: ss.dwCurrentState = SERVICE_CONTINUE_PENDING; break; case SERVICE_CONTROL_INTERROGATE: break; case SERVICE_CONTROL_SHUTDOWN: break; default: PrintError(L"bad service request"); } SetServiceStatus(ssh,&ss); } VOID WINAPI ServiceMain( DWORD dwArgc, // number of arguments LPTSTR *lpszArgv // array of arguments ) { ss.dwServiceType = SERVICE_WIN32_OWN_PROCESS; ss.dwCurrentState = SERVICE_START_PENDING; ss.dwControlsAccepted = SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_PAUSE_CONTINUE; ss.dwCheckPoint = 0; ss.dwServiceSpecificExitCode = 0; ss.dwWaitHint = 0; ss.dwWin32ExitCode = 0; ssh = RegisterServiceCtrlHandler(L"ExampleService",ServiceCtrlHandler); if(!ssh) { PrintError(L"RegisterService Fail"); return; } if(!SetServiceStatus(ssh,&ss)) { PrintError(L"SetServiceStatus 0x01 Fail"); return; } ss.dwWin32ExitCode = S_OK; ss.dwCheckPoint = 0; ss.dwWaitHint = 0; ss.dwCurrentState = SERVICE_RUNNING; if(!SetServiceStatus(ssh,&ss)) { PrintError(L"SetServiceStatus 0x02 Fail"); return; } //SC_HANDLE scm = OpenSCManager(NULL,NULL,SC_MANAGER_ALL_ACCESS); //SC_HANDLE scml = OpenService(scm,L"ExampleService",SC_MANAGER_ALL_ACCESS); //StartService(scml,0,NULL); //CloseServiceHandle(scml); //CloseServiceHandle(scm); while(1) { //do something } } void usage() { printf("[[-i Install],[-r UnInstall]]"); } int _tmain(int argc, _TCHAR* argv[]) { if(argc == 2) { //if arguments has 2 wchar_t buf[10]={0}; wcscpy_s(buf,argv[1]); if(0 == wcscmp(buf,L"-i")) { if(!InstallService()) { PrintError(L"Install Service Failed"); return -1; } } else if(0 == wcscmp(buf,L"-r")) { if(!UnInstallService()) return -1; else return 0; } } else if(argc > 2) { usage(); return -1; } SERVICE_TABLE_ENTRY srvEntry[] = { {L"ExampleService",ServiceMain}, {NULL,NULL} }; StartServiceCtrlDispatcher(srvEntry); return 0; }
[ "2303186535@qq.com" ]
2303186535@qq.com
6bb009e298dc7adb8f32e709a27589ecf7ae578a
9604dc98c1e744505bb3b435ea93886bb87b4d4c
/hphp/vixl/a64/macro-assembler-a64.h
105a40f576e6861fe40b9e95d9f00609da55396c
[ "PHP-3.01", "Zend-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
victorreyesh/hiphop-php
2f83a4935e589e7da54353748df3c28ab6f81055
5c7ac5db43c047e54e14be8ee111af751602cf73
refs/heads/master
2021-01-18T07:14:38.242232
2013-09-04T07:42:08
2013-09-04T07:41:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
38,560
h
// Copyright 2013, ARM Limited // 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 ARM Limited 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 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 VIXL_A64_MACRO_ASSEMBLER_A64_H_ #define VIXL_A64_MACRO_ASSEMBLER_A64_H_ #include "hphp/vixl/globals.h" #include "hphp/vixl/a64/assembler-a64.h" #include "hphp/vixl/a64/debugger-a64.h" #define LS_MACRO_LIST(V) \ V(Ldrb, Register&, rt, LDRB_w) \ V(Strb, Register&, rt, STRB_w) \ V(Ldrsb, Register&, rt, rt.Is64Bits() ? LDRSB_x : LDRSB_w) \ V(Ldrh, Register&, rt, LDRH_w) \ V(Strh, Register&, rt, STRH_w) \ V(Ldrsh, Register&, rt, rt.Is64Bits() ? LDRSH_x : LDRSH_w) \ V(Ldr, CPURegister&, rt, LoadOpFor(rt)) \ V(Str, CPURegister&, rt, StoreOpFor(rt)) \ V(Ldrsw, Register&, rt, LDRSW_x) namespace vixl { class MacroAssembler : public Assembler { public: MacroAssembler(byte * buffer, unsigned buffer_size) : Assembler(buffer, buffer_size), #ifdef DEBUG allow_macro_instructions_(true), #endif sp_(sp), tmp0_(ip0), tmp1_(ip1), fptmp0_(d31) {} // Logical macros. void And(const Register& rd, const Register& rn, const Operand& operand, FlagsUpdate S = LeaveFlags); void Bic(const Register& rd, const Register& rn, const Operand& operand, FlagsUpdate S = LeaveFlags); void Orr(const Register& rd, const Register& rn, const Operand& operand); void Orn(const Register& rd, const Register& rn, const Operand& operand); void Eor(const Register& rd, const Register& rn, const Operand& operand); void Eon(const Register& rd, const Register& rn, const Operand& operand); void Tst(const Register& rn, const Operand& operand); void LogicalMacro(const Register& rd, const Register& rn, const Operand& operand, LogicalOp op); // Add and sub macros. void Add(const Register& rd, const Register& rn, const Operand& operand, FlagsUpdate S = LeaveFlags); void Sub(const Register& rd, const Register& rn, const Operand& operand, FlagsUpdate S = LeaveFlags); void Cmn(const Register& rn, const Operand& operand); void Cmp(const Register& rn, const Operand& operand); void Neg(const Register& rd, const Operand& operand, FlagsUpdate S = LeaveFlags); void AddSubMacro(const Register& rd, const Register& rn, const Operand& operand, FlagsUpdate S, AddSubOp op); // Add/sub with carry macros. void Adc(const Register& rd, const Register& rn, const Operand& operand, FlagsUpdate S = LeaveFlags); void Sbc(const Register& rd, const Register& rn, const Operand& operand, FlagsUpdate S = LeaveFlags); void Ngc(const Register& rd, const Operand& operand, FlagsUpdate S = LeaveFlags); void AddSubWithCarryMacro(const Register& rd, const Register& rn, const Operand& operand, FlagsUpdate S, AddSubWithCarryOp op); // Move macros. void Mov(const Register& rd, uint64_t imm); void Mov(const Register& rd, const Operand& operand); void Mvn(const Register& rd, uint64_t imm) { Mov(rd, ~imm); }; void Mvn(const Register& rd, const Operand& operand); bool IsImmMovn(uint64_t imm, unsigned reg_size); bool IsImmMovz(uint64_t imm, unsigned reg_size); // Conditional compare macros. void Ccmp(const Register& rn, const Operand& operand, StatusFlags nzcv, Condition cond); void Ccmn(const Register& rn, const Operand& operand, StatusFlags nzcv, Condition cond); void ConditionalCompareMacro(const Register& rn, const Operand& operand, StatusFlags nzcv, Condition cond, ConditionalCompareOp op); // Load/store macros. #define DECLARE_FUNCTION(FN, REGTYPE, REG, OP) \ void FN(const REGTYPE REG, const MemOperand& addr); LS_MACRO_LIST(DECLARE_FUNCTION) #undef DECLARE_FUNCTION void LoadStoreMacro(const CPURegister& rt, const MemOperand& addr, LoadStoreOp op); // Push or pop up to 4 registers of the same width to or from the stack, // using the current stack pointer as set by SetStackPointer. // // If an argument register is 'NoReg', all further arguments are also assumed // to be 'NoReg', and are thus not pushed or popped. // // Arguments are ordered such that "Push(a, b);" is functionally equivalent // to "Push(a); Push(b);". // // It is valid to push the same register more than once, and there is no // restriction on the order in which registers are specified. // // It is not valid to pop into the same register more than once in one // operation, not even into the zero register. // // If the current stack pointer (as set by SetStackPointer) is sp, then it // must be aligned to 16 bytes on entry and the total size of the specified // registers must also be a multiple of 16 bytes. // // Even if the current stack pointer is not the system stack pointer (sp), // Push (and derived methods) will still modify the system stack pointer in // order to comply with ABI rules about accessing memory below the system // stack pointer. // // Other than the registers passed into Pop, the stack pointer and (possibly) // the system stack pointer, these methods do not modify any other registers. // Scratch registers such as Tmp0() and Tmp1() are preserved. void Push(const CPURegister& src0, const CPURegister& src1 = NoReg, const CPURegister& src2 = NoReg, const CPURegister& src3 = NoReg); void Pop(const CPURegister& dst0, const CPURegister& dst1 = NoReg, const CPURegister& dst2 = NoReg, const CPURegister& dst3 = NoReg); // Alternative forms of Push and Pop, taking a RegList or CPURegList that // specifies the registers that are to be pushed or popped. Higher-numbered // registers are associated with higher memory addresses (as in the A32 push // and pop instructions). // // (Push|Pop)SizeRegList allow you to specify the register size as a // parameter. Only kXRegSize, kWRegSize, kDRegSize and kSRegSize are // supported. // // Otherwise, (Push|Pop)(CPU|X|W|D|S)RegList is preferred. void PushCPURegList(CPURegList registers); void PopCPURegList(CPURegList registers); void PushSizeRegList(RegList registers, unsigned reg_size, CPURegister::RegisterType type = CPURegister::kRegister) { PushCPURegList(CPURegList(type, reg_size, registers)); } void PopSizeRegList(RegList registers, unsigned reg_size, CPURegister::RegisterType type = CPURegister::kRegister) { PopCPURegList(CPURegList(type, reg_size, registers)); } void PushXRegList(RegList regs) { PushSizeRegList(regs, kXRegSize); } void PopXRegList(RegList regs) { PopSizeRegList(regs, kXRegSize); } void PushWRegList(RegList regs) { PushSizeRegList(regs, kWRegSize); } void PopWRegList(RegList regs) { PopSizeRegList(regs, kWRegSize); } inline void PushDRegList(RegList regs) { PushSizeRegList(regs, kDRegSize, CPURegister::kFPRegister); } inline void PopDRegList(RegList regs) { PopSizeRegList(regs, kDRegSize, CPURegister::kFPRegister); } inline void PushSRegList(RegList regs) { PushSizeRegList(regs, kSRegSize, CPURegister::kFPRegister); } inline void PopSRegList(RegList regs) { PopSizeRegList(regs, kSRegSize, CPURegister::kFPRegister); } // Push the specified register 'count' times. void PushMultipleTimes(int count, Register src); // Poke 'src' onto the stack. The offset is in bytes. // // If the current stack pointer (as set by SetStackPointer) is sp, then sp // must be aligned to 16 bytes. void Poke(const Register& src, const Operand& offset); // Peek at a value on the stack, and put it in 'dst'. The offset is in bytes. // // If the current stack pointer (as set by SetStackPointer) is sp, then sp // must be aligned to 16 bytes. void Peek(const Register& dst, const Operand& offset); // Claim or drop stack space without actually accessing memory. // // If the current stack pointer (as set by SetStackPointer) is sp, then it // must be aligned to 16 bytes and the size claimed or dropped must be a // multiple of 16 bytes. void Claim(const Operand& size); void Drop(const Operand& size); // Preserve the callee-saved registers (as defined by AAPCS64). // // Higher-numbered registers are pushed before lower-numbered registers, and // thus get higher addresses. // Floating-point registers are pushed before general-purpose registers, and // thus get higher addresses. // // This method must not be called unless StackPointer() is sp, and it is // aligned to 16 bytes. void PushCalleeSavedRegisters(); // Restore the callee-saved registers (as defined by AAPCS64). // // Higher-numbered registers are popped after lower-numbered registers, and // thus come from higher addresses. // Floating-point registers are popped after general-purpose registers, and // thus come from higher addresses. // // This method must not be called unless StackPointer() is sp, and it is // aligned to 16 bytes. void PopCalleeSavedRegisters(); // Remaining instructions are simple pass-through calls to the assembler. void Adr(const Register& rd, Label* label) { assert(allow_macro_instructions_); assert(!rd.IsZero()); adr(rd, label); } void Asr(const Register& rd, const Register& rn, unsigned shift) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); asr(rd, rn, shift); } void Asr(const Register& rd, const Register& rn, const Register& rm) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); asrv(rd, rn, rm); } void B(Label* label, Condition cond = al) { assert(allow_macro_instructions_); b(label, cond); } void Bfi(const Register& rd, const Register& rn, unsigned lsb, unsigned width) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); bfi(rd, rn, lsb, width); } void Bfxil(const Register& rd, const Register& rn, unsigned lsb, unsigned width) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); bfxil(rd, rn, lsb, width); } void Bind(Label* label) { assert(allow_macro_instructions_); bind(label); } void Bl(Label* label) { assert(allow_macro_instructions_); bl(label); } void Blr(const Register& xn) { assert(allow_macro_instructions_); assert(!xn.IsZero()); blr(xn); } void Br(const Register& xn) { assert(allow_macro_instructions_); assert(!xn.IsZero()); br(xn); } void Brk(int code = 0) { assert(allow_macro_instructions_); brk(code); } void Cbnz(const Register& rt, Label* label) { assert(allow_macro_instructions_); assert(!rt.IsZero()); cbnz(rt, label); } void Cbz(const Register& rt, Label* label) { assert(allow_macro_instructions_); assert(!rt.IsZero()); cbz(rt, label); } void Cinc(const Register& rd, const Register& rn, Condition cond) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); cinc(rd, rn, cond); } void Cinv(const Register& rd, const Register& rn, Condition cond) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); cinv(rd, rn, cond); } void Cls(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); cls(rd, rn); } void Clz(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); clz(rd, rn); } void Cneg(const Register& rd, const Register& rn, Condition cond) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); cneg(rd, rn, cond); } void Csel(const Register& rd, const Register& rn, const Register& rm, Condition cond) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); csel(rd, rn, rm, cond); } void Cset(const Register& rd, Condition cond) { assert(allow_macro_instructions_); assert(!rd.IsZero()); cset(rd, cond); } void Csetm(const Register& rd, Condition cond) { assert(allow_macro_instructions_); assert(!rd.IsZero()); csetm(rd, cond); } void Csinc(const Register& rd, const Register& rn, const Register& rm, Condition cond) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); csinc(rd, rn, rm, cond); } void Csinv(const Register& rd, const Register& rn, const Register& rm, Condition cond) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); csinv(rd, rn, rm, cond); } void Csneg(const Register& rd, const Register& rn, const Register& rm, Condition cond) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); csneg(rd, rn, rm, cond); } void Extr(const Register& rd, const Register& rn, const Register& rm, unsigned lsb) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); extr(rd, rn, rm, lsb); } void Fabs(const FPRegister& fd, const FPRegister& fn) { assert(allow_macro_instructions_); fabs(fd, fn); } void Fadd(const FPRegister& fd, const FPRegister& fn, const FPRegister& fm) { assert(allow_macro_instructions_); fadd(fd, fn, fm); } void Fccmp(const FPRegister& fn, const FPRegister& fm, StatusFlags nzcv, Condition cond) { assert(allow_macro_instructions_); fccmp(fn, fm, nzcv, cond); } void Fcmp(const FPRegister& fn, const FPRegister& fm) { assert(allow_macro_instructions_); fcmp(fn, fm); } void Fcmp(const FPRegister& fn, double value) { assert(allow_macro_instructions_); if (value != 0.0) { FPRegister tmp = AppropriateTempFor(fn); Fmov(tmp, value); fcmp(fn, tmp); } else { fcmp(fn, value); } } void Fcsel(const FPRegister& fd, const FPRegister& fn, const FPRegister& fm, Condition cond) { assert(allow_macro_instructions_); fcsel(fd, fn, fm, cond); } void Fcvtms(const Register& rd, const FPRegister& fn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); fcvtms(rd, fn); } void Fcvtmu(const Register& rd, const FPRegister& fn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); fcvtmu(rd, fn); } void Fcvtns(const Register& rd, const FPRegister& fn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); fcvtns(rd, fn); } void Fcvtnu(const Register& rd, const FPRegister& fn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); fcvtnu(rd, fn); } void Fcvtzs(const Register& rd, const FPRegister& fn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); fcvtzs(rd, fn); } void Fcvtzu(const Register& rd, const FPRegister& fn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); fcvtzu(rd, fn); } void Fdiv(const FPRegister& fd, const FPRegister& fn, const FPRegister& fm) { assert(allow_macro_instructions_); fdiv(fd, fn, fm); } void Fmax(const FPRegister& fd, const FPRegister& fn, const FPRegister& fm) { assert(allow_macro_instructions_); fmax(fd, fn, fm); } void Fmin(const FPRegister& fd, const FPRegister& fn, const FPRegister& fm) { assert(allow_macro_instructions_); fmin(fd, fn, fm); } void Fmov(FPRegister fd, FPRegister fn) { assert(allow_macro_instructions_); // Only emit an instruction if fd and fn are different, and they are both D // registers. fmov(s0, s0) is not a no-op because it clears the top word of // d0. Technically, fmov(d0, d0) is not a no-op either because it clears // the top of q0, but FPRegister does not currently support Q registers. if (!fd.Is(fn) || !fd.Is64Bits()) { fmov(fd, fn); } } void Fmov(FPRegister fd, Register rn) { assert(allow_macro_instructions_); assert(!rn.IsZero()); fmov(fd, rn); } void Fmov(FPRegister fd, double imm) { assert(allow_macro_instructions_); fmov(fd, imm); } void Fmov(Register rd, FPRegister fn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); fmov(rd, fn); } void Fmul(const FPRegister& fd, const FPRegister& fn, const FPRegister& fm) { assert(allow_macro_instructions_); fmul(fd, fn, fm); } void Fmsub(const FPRegister& fd, const FPRegister& fn, const FPRegister& fm, const FPRegister& fa) { assert(allow_macro_instructions_); fmsub(fd, fn, fm, fa); } void Fneg(const FPRegister& fd, const FPRegister& fn) { assert(allow_macro_instructions_); fneg(fd, fn); } void Frintn(const FPRegister& fd, const FPRegister& fn) { assert(allow_macro_instructions_); frintn(fd, fn); } void Frintz(const FPRegister& fd, const FPRegister& fn) { assert(allow_macro_instructions_); frintz(fd, fn); } void Fsqrt(const FPRegister& fd, const FPRegister& fn) { assert(allow_macro_instructions_); fsqrt(fd, fn); } void Fcvt(const FPRegister& fd, const FPRegister& fn) { assert(allow_macro_instructions_); fcvt(fd, fn); } void Fsub(const FPRegister& fd, const FPRegister& fn, const FPRegister& fm) { assert(allow_macro_instructions_); fsub(fd, fn, fm); } void Hint(SystemHint code) { assert(allow_macro_instructions_); hint(code); } void Hlt(int code) { assert(allow_macro_instructions_); hlt(code); } void Ldnp(const CPURegister& rt, const CPURegister& rt2, const MemOperand& src) { assert(allow_macro_instructions_); ldnp(rt, rt2, src); } void Ldp(const CPURegister& rt, const CPURegister& rt2, const MemOperand& src) { assert(allow_macro_instructions_); ldp(rt, rt2, src); } void Ldpsw(const Register& rt, const Register& rt2, const MemOperand& src) { assert(allow_macro_instructions_); ldpsw(rt, rt2, src); } void Ldr(const FPRegister& ft, double imm) { assert(allow_macro_instructions_); ldr(ft, imm); } void Ldr(const Register& rt, uint64_t imm) { assert(allow_macro_instructions_); assert(!rt.IsZero()); ldr(rt, imm); } void Lsl(const Register& rd, const Register& rn, unsigned shift) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); lsl(rd, rn, shift); } void Lsl(const Register& rd, const Register& rn, const Register& rm) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); lslv(rd, rn, rm); } void Lsr(const Register& rd, const Register& rn, unsigned shift) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); lsr(rd, rn, shift); } void Lsr(const Register& rd, const Register& rn, const Register& rm) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); lsrv(rd, rn, rm); } void Madd(const Register& rd, const Register& rn, const Register& rm, const Register& ra) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); assert(!ra.IsZero()); madd(rd, rn, rm, ra); } void Mneg(const Register& rd, const Register& rn, const Register& rm) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); mneg(rd, rn, rm); } void Mov(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); mov(rd, rn); } void Mrs(const Register& rt, SystemRegister sysreg) { assert(allow_macro_instructions_); assert(!rt.IsZero()); mrs(rt, sysreg); } void Msr(SystemRegister sysreg, const Register& rt) { assert(allow_macro_instructions_); assert(!rt.IsZero()); msr(sysreg, rt); } void Msub(const Register& rd, const Register& rn, const Register& rm, const Register& ra) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); assert(!ra.IsZero()); msub(rd, rn, rm, ra); } void Mul(const Register& rd, const Register& rn, const Register& rm) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); mul(rd, rn, rm); } void Nop() { assert(allow_macro_instructions_); nop(); } void Rbit(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); rbit(rd, rn); } void Ret(const Register& xn = lr) { assert(allow_macro_instructions_); assert(!xn.IsZero()); ret(xn); } void Rev(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); rev(rd, rn); } void Rev16(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); rev16(rd, rn); } void Rev32(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); rev32(rd, rn); } void Ror(const Register& rd, const Register& rs, unsigned shift) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rs.IsZero()); ror(rd, rs, shift); } void Ror(const Register& rd, const Register& rn, const Register& rm) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); rorv(rd, rn, rm); } void Sbfiz(const Register& rd, const Register& rn, unsigned lsb, unsigned width) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); sbfiz(rd, rn, lsb, width); } void Sbfx(const Register& rd, const Register& rn, unsigned lsb, unsigned width) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); sbfx(rd, rn, lsb, width); } void Scvtf(const FPRegister& fd, const Register& rn, unsigned fbits = 0) { assert(allow_macro_instructions_); assert(!rn.IsZero()); scvtf(fd, rn, fbits); } void Sdiv(const Register& rd, const Register& rn, const Register& rm) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); sdiv(rd, rn, rm); } void Smaddl(const Register& rd, const Register& rn, const Register& rm, const Register& ra) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); assert(!ra.IsZero()); smaddl(rd, rn, rm, ra); } void Smsubl(const Register& rd, const Register& rn, const Register& rm, const Register& ra) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); assert(!ra.IsZero()); smsubl(rd, rn, rm, ra); } void Smull(const Register& rd, const Register& rn, const Register& rm) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); smull(rd, rn, rm); } void Smulh(const Register& xd, const Register& xn, const Register& xm) { assert(allow_macro_instructions_); assert(!xd.IsZero()); assert(!xn.IsZero()); assert(!xm.IsZero()); smulh(xd, xn, xm); } void Stnp(const CPURegister& rt, const CPURegister& rt2, const MemOperand& dst) { assert(allow_macro_instructions_); stnp(rt, rt2, dst); } void Stp(const CPURegister& rt, const CPURegister& rt2, const MemOperand& dst) { assert(allow_macro_instructions_); stp(rt, rt2, dst); } void Sxtb(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); sxtb(rd, rn); } void Sxth(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); sxth(rd, rn); } void Sxtw(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); sxtw(rd, rn); } void Tbnz(const Register& rt, unsigned bit_pos, Label* label) { assert(allow_macro_instructions_); assert(!rt.IsZero()); tbnz(rt, bit_pos, label); } void Tbz(const Register& rt, unsigned bit_pos, Label* label) { assert(allow_macro_instructions_); assert(!rt.IsZero()); tbz(rt, bit_pos, label); } void Ubfiz(const Register& rd, const Register& rn, unsigned lsb, unsigned width) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); ubfiz(rd, rn, lsb, width); } void Ubfx(const Register& rd, const Register& rn, unsigned lsb, unsigned width) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); ubfx(rd, rn, lsb, width); } void Ucvtf(const FPRegister& fd, const Register& rn, unsigned fbits = 0) { assert(allow_macro_instructions_); assert(!rn.IsZero()); ucvtf(fd, rn, fbits); } void Udiv(const Register& rd, const Register& rn, const Register& rm) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); udiv(rd, rn, rm); } void Umaddl(const Register& rd, const Register& rn, const Register& rm, const Register& ra) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); assert(!ra.IsZero()); umaddl(rd, rn, rm, ra); } void Umsubl(const Register& rd, const Register& rn, const Register& rm, const Register& ra) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); assert(!rm.IsZero()); assert(!ra.IsZero()); umsubl(rd, rn, rm, ra); } void Unreachable() { assert(allow_macro_instructions_); #ifdef USE_SIMULATOR hlt(kUnreachableOpcode); #else // Branch to 0 to generate a segfault. // lr - kInstructionSize is the address of the offending instruction. blr(xzr); #endif } void Uxtb(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); uxtb(rd, rn); } void Uxth(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); uxth(rd, rn); } void Uxtw(const Register& rd, const Register& rn) { assert(allow_macro_instructions_); assert(!rd.IsZero()); assert(!rn.IsZero()); uxtw(rd, rn); } // Push the system stack pointer (sp) down to allow the same to be done to // the current stack pointer (according to StackPointer()). This must be // called _before_ accessing the memory. // // This is necessary when pushing or otherwise adding things to the stack, to // satisfy the AAPCS64 constraint that the memory below the system stack // pointer is not accessed. // // This method asserts that StackPointer() is not sp, since the call does // not make sense in that context. // // TODO: This method can only accept values of 'space' that can be encoded in // one instruction. Refer to the implementation for details. void BumpSystemStackPointer(const Operand& space); #if DEBUG void SetAllowMacroInstructions(bool value) { allow_macro_instructions_ = value; } bool AllowMacroInstructions() const { return allow_macro_instructions_; } #endif // Set the current stack pointer, but don't generate any code. // Note that this does not directly affect LastStackPointer(). void SetStackPointer(const Register& stack_pointer) { assert(!AreAliased(stack_pointer, Tmp0(), Tmp1())); sp_ = stack_pointer; } // Return the current stack pointer, as set by SetStackPointer. const Register& StackPointer() const { return sp_; } // Set the registers used internally by the MacroAssembler as scratch // registers. These registers are used to implement behaviours which are not // directly supported by A64, and where an intermediate result is required. // // Both tmp0 and tmp1 may be set to any X register except for xzr, sp, // and StackPointer(). Also, they must not be the same register (though they // may both be NoReg). // // It is valid to set either or both of these registers to NoReg if you don't // want the MacroAssembler to use any scratch registers. In a debug build, the // Assembler will assert that any registers it uses are valid. Be aware that // this check is not present in release builds. If this is a problem, use the // Assembler directly. void SetScratchRegisters(const Register& tmp0, const Register& tmp1) { assert(!AreAliased(xzr, sp, tmp0, tmp1)); assert(!AreAliased(StackPointer(), tmp0, tmp1)); tmp0_ = tmp0; tmp1_ = tmp1; } const Register& Tmp0() const { return tmp0_; } const Register& Tmp1() const { return tmp1_; } void SetFPScratchRegister(const FPRegister& fptmp0) { fptmp0_ = fptmp0; } const FPRegister& FPTmp0() const { return fptmp0_; } const Register AppropriateTempFor( const Register& target, const CPURegister& forbidden = NoCPUReg) const { Register candidate = forbidden.Is(Tmp0()) ? Tmp1() : Tmp0(); assert(!candidate.Is(target)); return Register(candidate.code(), target.size()); } const FPRegister AppropriateTempFor( const FPRegister& target, const CPURegister& forbidden = NoCPUReg) const { USE(forbidden); FPRegister candidate = FPTmp0(); assert(!candidate.Is(forbidden)); assert(!candidate.Is(target)); return FPRegister(candidate.code(), target.size()); } // Like printf, but print at run-time from generated code. // // The caller must ensure that arguments for floating-point placeholders // (such as %e, %f or %g) are FPRegisters, and that arguments for integer // placeholders are Registers. // // A maximum of four arguments may be given to any single Printf call. The // arguments must be of the same type, but they do not need to have the same // size. // // The following registers cannot be printed: // Tmp0(), Tmp1(), StackPointer(), sp. // // This function automatically preserves caller-saved registers so that // calling code can use Printf at any point without having to worry about // corruption. The preservation mechanism generates a lot of code. If this is // a problem, preserve the important registers manually and then call // PrintfNoPreserve. Callee-saved registers are not used by Printf, and are // implicitly preserved. // // This function assumes (and asserts) that the current stack pointer is // callee-saved, not caller-saved. This is most likely the case anyway, as a // caller-saved stack pointer doesn't make a lot of sense. void Printf(const char * format, const CPURegister& arg0 = NoCPUReg, const CPURegister& arg1 = NoCPUReg, const CPURegister& arg2 = NoCPUReg, const CPURegister& arg3 = NoCPUReg); // Like Printf, but don't preserve any caller-saved registers, not even 'lr'. // // The return code from the system printf call will be returned in x0. void PrintfNoPreserve(const char * format, const CPURegister& arg0 = NoCPUReg, const CPURegister& arg1 = NoCPUReg, const CPURegister& arg2 = NoCPUReg, const CPURegister& arg3 = NoCPUReg); // Trace control when running the debug simulator. // // For example: // // __ Trace(LOG_REGS, TRACE_ENABLE); // Will add registers to the trace if it wasn't already the case. // // __ Trace(LOG_DISASM, TRACE_DISABLE); // Will stop logging disassembly. It has no effect if the disassembly wasn't // already being logged. void Trace(TraceParameters parameters, TraceCommand command); // Log the requested data independently of what is being traced. // // For example: // // __ Log(LOG_FLAGS) // Will output the flags. void Log(TraceParameters parameters); // Pseudo-instruction that will call a function made of host machine code // using host calling conventions. It will take the function address from x16 // (inter-procedural scratch reg). Arguments will be taken from simulated // registers in the usual sequence, and the return value will be put in // simulated x0. All caller-saved registers will be smashed. void HostCall(uint8_t argc); private: // The actual Push and Pop implementations. These don't generate any code // other than that required for the push or pop. This allows // (Push|Pop)CPURegList to bundle together setup code for a large block of // registers. // // Note that size is per register, and is specified in bytes. void PushHelper(int count, int size, const CPURegister& src0, const CPURegister& src1, const CPURegister& src2, const CPURegister& src3); void PopHelper(int count, int size, const CPURegister& dst0, const CPURegister& dst1, const CPURegister& dst2, const CPURegister& dst3); // Perform necessary maintenance operations before a push or pop. // // Note that size is per register, and is specified in bytes. void PrepareForPush(int count, int size); void PrepareForPop(int count, int size); #if DEBUG // Tell whether any of the macro instruction can be used. When false the // MacroAssembler will assert if a method which can emit a variable number // of instructions is called. bool allow_macro_instructions_; #endif // The register to use as a stack pointer for stack operations. Register sp_; // Scratch registers used internally by the MacroAssembler. Register tmp0_; Register tmp1_; FPRegister fptmp0_; }; // Use this scope when you need a one-to-one mapping between methods and // instructions. This scope prevents the MacroAssembler from being called and // literal pools from being emitted. It also asserts the number of instructions // emitted is what you specified when creating the scope. class InstructionAccurateScope { public: explicit InstructionAccurateScope(MacroAssembler* masm) : masm_(masm), size_(0) { masm_->BlockLiteralPool(); #ifdef DEBUG old_allow_macro_instructions_ = masm_->AllowMacroInstructions(); masm_->SetAllowMacroInstructions(false); #endif } InstructionAccurateScope(MacroAssembler* masm, int count) : masm_(masm), size_(count * kInstructionSize) { masm_->BlockLiteralPool(); #ifdef DEBUG masm_->bind(&start_); old_allow_macro_instructions_ = masm_->AllowMacroInstructions(); masm_->SetAllowMacroInstructions(false); #endif } ~InstructionAccurateScope() { masm_->ReleaseLiteralPool(); #ifdef DEBUG if (start_.IsBound()) { assert(masm_->SizeOfCodeGeneratedSince(&start_) == size_); } masm_->SetAllowMacroInstructions(old_allow_macro_instructions_); #endif } private: MacroAssembler* masm_; uint64_t size_; #ifdef DEBUG Label start_; bool old_allow_macro_instructions_; #endif }; } // namespace vixl #endif // VIXL_A64_MACRO_ASSEMBLER_A64_H_
[ "sgolemon@fb.com" ]
sgolemon@fb.com
e7a5a96aba981fd280ebd416d9e53159f01ce429
209df429dff295d838b1f376564c0285cd74414f
/TouchGFX/generated/fonts/src/Font_verdana_20_4bpp_0.cpp
b4a20a5fe718d611018adbd6d703b8482eb341fc
[]
no_license
debenzhang/STM32LTCD
f69cd8cb8930b7631043d719d5ff25cc3c4857a4
bc5a65e14b98cd711ba68b904a6ff9267f326eca
refs/heads/main
2023-01-30T18:03:59.687185
2020-12-02T03:38:01
2020-12-02T03:38:01
307,630,286
0
0
null
null
null
null
UTF-8
C++
false
false
4,702
cpp
#include <touchgfx/hal/Types.hpp> FONT_GLYPH_LOCATION_FLASH_PRAGMA KEEP extern const uint8_t unicodes_verdana_20_4bpp_0[] FONT_GLYPH_LOCATION_FLASH_ATTRIBUTE = { // Unicode: [0x0032] 0x50, 0xDA, 0xFF, 0x8D, 0x01, 0x00, 0xF1, 0xDF, 0xBA, 0xFE, 0x1D, 0x00, 0x91, 0x02, 0x00, 0xB1, 0x9F, 0x00, 0x00, 0x00, 0x00, 0x40, 0xBF, 0x00, 0x00, 0x00, 0x00, 0x40, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x90, 0x6F, 0x00, 0x00, 0x00, 0x00, 0xF4, 0x1D, 0x00, 0x00, 0x00, 0x30, 0xEE, 0x03, 0x00, 0x00, 0x00, 0xE4, 0x3E, 0x00, 0x00, 0x00, 0x50, 0xDF, 0x03, 0x00, 0x00, 0x00, 0xF8, 0x1C, 0x00, 0x00, 0x00, 0xB1, 0x9F, 0x00, 0x00, 0x00, 0x00, 0xF6, 0xAE, 0xAA, 0xAA, 0xAA, 0x04, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0x06, // Unicode: [0x003F] 0x93, 0xEC, 0xDE, 0x29, 0x00, 0xF7, 0xAD, 0xDA, 0xEF, 0x02, 0x33, 0x00, 0x00, 0xF9, 0x0A, 0x00, 0x00, 0x00, 0xF3, 0x0C, 0x00, 0x00, 0x00, 0xF5, 0x0A, 0x00, 0x00, 0x10, 0xFD, 0x03, 0x00, 0x00, 0xD5, 0x6F, 0x00, 0x00, 0xB0, 0xCF, 0x03, 0x00, 0x00, 0xE0, 0x0C, 0x00, 0x00, 0x00, 0xE0, 0x0C, 0x00, 0x00, 0x00, 0x40, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0x0E, 0x00, 0x00, 0x00, 0xF0, 0x0E, 0x00, 0x00, // Unicode: [0x0048] 0xF1, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0x01, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0x01, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0x01, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0x01, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0x01, 0xF1, 0xAF, 0xAA, 0xAA, 0xAA, 0xFE, 0x01, 0xF1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0x01, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0x01, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0x01, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0x01, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0x01, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0x01, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0xFD, 0x01, // Unicode: [0x0050] 0xF1, 0xFF, 0xFF, 0xAD, 0x03, 0x00, 0xF1, 0x9E, 0xA9, 0xFC, 0x7F, 0x00, 0xF1, 0x0D, 0x00, 0x40, 0xFF, 0x02, 0xF1, 0x0D, 0x00, 0x00, 0xFA, 0x06, 0xF1, 0x0D, 0x00, 0x00, 0xF9, 0x06, 0xF1, 0x0D, 0x00, 0x00, 0xFD, 0x03, 0xF1, 0x0D, 0x10, 0xB4, 0xBF, 0x00, 0xF1, 0xFF, 0xFF, 0xFF, 0x1B, 0x00, 0xF1, 0x9E, 0x99, 0x37, 0x00, 0x00, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0x00, 0xF1, 0x0D, 0x00, 0x00, 0x00, 0x00, // Unicode: [0x0061] 0x90, 0xEC, 0xEF, 0x7C, 0x00, 0xF0, 0xBD, 0xA9, 0xFE, 0x0A, 0x30, 0x00, 0x00, 0xD1, 0x2F, 0x00, 0x00, 0x00, 0xA1, 0x4F, 0x20, 0xC8, 0xFE, 0xFF, 0x4F, 0xE3, 0xBF, 0x68, 0xA5, 0x4F, 0xFC, 0x05, 0x00, 0x80, 0x4F, 0xEE, 0x00, 0x00, 0x80, 0x4F, 0xFD, 0x03, 0x00, 0xD5, 0x4F, 0xF6, 0xBF, 0xDB, 0xEF, 0x4F, 0x50, 0xFC, 0xAE, 0x83, 0x4F, // Unicode: [0x0065] 0x00, 0xB4, 0xFE, 0x9D, 0x02, 0x70, 0xDF, 0x89, 0xFA, 0x2E, 0xF3, 0x09, 0x00, 0x50, 0x9F, 0xFA, 0x12, 0x11, 0x11, 0xDE, 0xFD, 0xFF, 0xFF, 0xFF, 0xEF, 0xEE, 0x44, 0x44, 0x44, 0x44, 0xFD, 0x01, 0x00, 0x00, 0x00, 0xFA, 0x06, 0x00, 0x00, 0x00, 0xF4, 0x4E, 0x00, 0x00, 0x84, 0x70, 0xFF, 0x9C, 0xDA, 0xBF, 0x00, 0xA4, 0xFD, 0xCE, 0x28, // Unicode: [0x0067] 0x00, 0xB4, 0xFE, 0x9C, 0xAF, 0x70, 0xFF, 0xAB, 0xFC, 0xAF, 0xF3, 0x2D, 0x00, 0x40, 0xAF, 0xF9, 0x06, 0x00, 0x30, 0xAF, 0xFD, 0x01, 0x00, 0x30, 0xAF, 0xFE, 0x00, 0x00, 0x30, 0xAF, 0xFD, 0x01, 0x00, 0x30, 0xAF, 0xFB, 0x04, 0x00, 0x30, 0xAF, 0xF6, 0x1B, 0x00, 0xA2, 0xAF, 0xC0, 0xEF, 0xCB, 0xEF, 0xAF, 0x10, 0xE9, 0xDF, 0x48, 0x9F, 0x00, 0x00, 0x00, 0x50, 0x7F, 0x20, 0x00, 0x00, 0xC1, 0x2F, 0xC0, 0xBE, 0xAA, 0xFE, 0x08, 0x80, 0xEC, 0xEF, 0x5B, 0x00, // Unicode: [0x006D] 0xF3, 0x2A, 0xEA, 0xBE, 0x03, 0xA3, 0xFE, 0x4C, 0x00, 0xF3, 0xFD, 0xBE, 0xFD, 0x8E, 0xEF, 0xCB, 0xFF, 0x02, 0xF3, 0x7F, 0x00, 0x90, 0xFF, 0x18, 0x00, 0xF9, 0x07, 0xF3, 0x0A, 0x00, 0x40, 0xAF, 0x00, 0x00, 0xF3, 0x0A, 0xF3, 0x0A, 0x00, 0x30, 0xAF, 0x00, 0x00, 0xF2, 0x0B, 0xF3, 0x0A, 0x00, 0x20, 0xAF, 0x00, 0x00, 0xF2, 0x0B, 0xF3, 0x0A, 0x00, 0x20, 0xAF, 0x00, 0x00, 0xF2, 0x0B, 0xF3, 0x0A, 0x00, 0x20, 0xAF, 0x00, 0x00, 0xF2, 0x0B, 0xF3, 0x0A, 0x00, 0x20, 0xAF, 0x00, 0x00, 0xF2, 0x0B, 0xF3, 0x0A, 0x00, 0x20, 0xAF, 0x00, 0x00, 0xF2, 0x0B, 0xF3, 0x0A, 0x00, 0x20, 0xAF, 0x00, 0x00, 0xF2, 0x0B, // Unicode: [0x006F] 0x00, 0xC5, 0xEE, 0x6C, 0x00, 0x00, 0x90, 0xEF, 0xAA, 0xFD, 0x0A, 0x00, 0xF4, 0x1C, 0x00, 0xB1, 0x6F, 0x00, 0xFA, 0x04, 0x00, 0x20, 0xCF, 0x00, 0xFD, 0x00, 0x00, 0x00, 0xFD, 0x00, 0xEE, 0x00, 0x00, 0x00, 0xFC, 0x01, 0xFD, 0x01, 0x00, 0x00, 0xFE, 0x00, 0xFA, 0x04, 0x00, 0x20, 0xCF, 0x00, 0xF4, 0x1C, 0x00, 0xB1, 0x6F, 0x00, 0x90, 0xEF, 0x9A, 0xFD, 0x0B, 0x00, 0x00, 0xC5, 0xFE, 0x7C, 0x00, 0x00 };
[ "laoxizi@gmail.com" ]
laoxizi@gmail.com
c8f7d460dd031041a8cd5a788a080db9ce476cf3
23a338119b693b3c9dcf39377e395b6b17d25367
/LeetCode/162.cpp
eefe3a0243a02654d8c036e51186d67752a332fe
[]
no_license
REO-RAO/coding
84c2adbd08ffe61b16df335882bad1c57131517e
9dae0b8a0df6bb9df60e8a8c9a1f963382a03abb
refs/heads/master
2022-01-12T14:16:24.768842
2016-09-03T02:57:09
2016-09-03T02:57:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
840
cpp
//Find Peak Element class Solution { public: int dfs(vector<int>& nums, int start, int end) { if (end < start) return -1; int mid = (start + end) / 2; if (mid == 0) { if (nums[0] > nums[1]) return 0; else return -1; } else if (mid == nums.size() - 1) { if (nums[mid] > nums[mid - 1]) return mid; else return -1; } else { if (nums[mid - 1] < nums[mid] && nums[mid] > nums[mid + 1]) return mid; if (nums[mid - 1] > nums[mid]) return dfs(nums, start, mid); if (nums[mid] < nums[mid + 1]) return dfs(nums, mid + 1, end); } } int findPeakElement(vector<int>& nums) { if (nums.size() == 0) return -1; if (nums.size() == 1) return 0; if (nums.size() == 2) if (nums[0] > nums[1]) return 0; else return 1; return dfs(nums, 0, nums.size() - 1); } };
[ "zhenanlin@outlook.com" ]
zhenanlin@outlook.com
949074c4cc21c42ad610882273617dba6c0ae1f4
9499246f32adf51c8b5a327f56be402a9b59abbc
/tests/07-Materials/main.cpp
87e55edad94babee4643344988918a553d420c7e
[]
no_license
atoxiam/Graphics_Library
af83a7480c638b31cb5889ad4f060a03b67ebf8b
8d83211bedf54fb4be2b9dd6dbd26780acc29585
refs/heads/master
2021-01-18T20:11:47.513868
2017-10-26T21:57:39
2017-10-26T21:57:39
100,545,830
0
0
null
null
null
null
UTF-8
C++
false
false
2,747
cpp
#include "graphics\Context.h" #include "graphics\draw.h" #include "graphics\Gameobjects.h" #include "graphics\Load.h" #include "graphics\RenderObjects.h" #include "graphics\Vertex.h" #include "glm\ext.hpp" int main() { Context context; context.init(1280, 720); Vertex vquad[] = { { { -1,-1,0,1 },{},{ 0,0 },{ 0,0,1,0 } }, { { 1,-1,0,1 },{},{ 1,0 },{ 0,0,1,0 } }, { { 1, 1,0,1 },{},{ 1,1 },{ 0,0,1,0 } }, { { -1, 1,0,1 },{},{ 0,1 },{ 0,0,1,0 } } }; unsigned quadidx[] = { 0,1,3, 1,2,3 }; solveTangents(vquad, 4, quadidx, 6); Geometry quad = makeGeometry(vquad, 4, quadidx, 6); Shader standard = loadShader("../../resources/shaders/standard.vert", "../../resources/shaders/standard.frag"); Framebuffer screen = { 0, 1280, 720 }; /// Model Data SpecGloss sceneObjects[2]; sceneObjects[0].geo = loadGeometry("../../resources/models/soulspear.obj"); sceneObjects[0].normal = loadTexture("../../resources/textures/soulspear_normal.tga"); sceneObjects[0].diffuse = loadTexture("../../resources/textures/soulspear_diffuse.tga"); sceneObjects[0].specular = loadTexture("../../resources/textures/soulspear_specular.tga"); sceneObjects[0].gloss = 4.0f; sceneObjects[1] = sceneObjects[0]; sceneObjects[1].model = glm::rotate(90.f, glm::vec3(0, 1, 0)); // Second Model // Camera Data Camera cam; glm::mat4 cam_view = glm::lookAt(glm::vec3(0, 2, 3), glm::vec3(0, 2, 0), glm::vec3(0, 1, 0)); cam.proj = glm::perspective(45.f, 1280.f / 720.f, 1.f, 5.f); // Light StandardLight l; l.dir = glm::normalize(glm::vec3(.2, -1, -1)); l.color = glm::vec4(1.0, .5, 1.0, 1); l.intensity = 4.0; l.ambient = glm::vec4(.2, .5, .1, 1); l.type = 0; Framebuffer fBuffer = makeFramebuffer(1280, 720, 4, true, 3, 1); Shader fsq_shader = loadShader("../../resources/shaders/quad.vert", "../../resources/shaders/quad.frag"); while (context.step()) { float time = context.getTime(); //Frame Buffer Pass clearFramebuffer(fBuffer); setFlags(RenderFlag::DEPTH); int loc , slot; for (int i = 0; i < 2; ++i) { loc = 0, slot = 0; setUniforms(standard, loc, slot, cam.proj, cam_view, // Camera data! sceneObjects[i].model, sceneObjects[i].diffuse, sceneObjects[i].specular, sceneObjects[i].normal, sceneObjects[i].gloss, // model data! l.dir, l.color, l.intensity, l.ambient, l.type); // light data! s0_draw(fBuffer, standard, sceneObjects[i].geo); } sceneObjects[0].model = glm::rotate(time, glm::vec3(0, 1, 0)); // Screen Pass clearFramebuffer(screen); loc = 0, slot = 0; setUniforms(fsq_shader, loc, slot, fBuffer.targets[1], fBuffer.targets[2], fBuffer.targets[3], time); s0_draw(screen, fsq_shader, quad); } context.term(); return 0; }
[ "melton.xavier98@gmail.com" ]
melton.xavier98@gmail.com
fa926e834b376d0f7a5be5414d5fc87f0d4e7aa4
0fbcb43b7e5a135d600a5aceea9a2658fcc215f1
/Slave_Controller/Slave_Controller.cpp
e25618c36cd1ba3f7d3bf3ab6825c93d227969b0
[]
no_license
xiaooquanwu/Physical-layer-implementation-of-IoT-architecture-H-AMN
32802e2f0e8153d439bd5fe4af410616a677a62b
db185e16cb44972a0348fdb56b2fc531dfbdc9c6
refs/heads/master
2021-01-22T00:20:01.566764
2014-07-23T22:15:14
2014-07-23T22:15:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,750
cpp
//=============================================================================== // Name : Slave_Controller.cpp // Author : Armia Wagdy // Copyright : 1.3 // Description : This code contain the definition of the class members which // implements the behaviour of the slave controller. //================================================================================ #include "Slave_Controller.h" #include <SoftwareSerial.h> #include <cmath> //*****************************************************************************************************************// void Router :: get_data(unsigned char length) { //Getting data length_of_info = length - 5; //Length of information in the Data Frame pin_number = Serial.read(); pin_type = Serial.read(); data_type = Serial.read(); baudrate = Serial.read(); mode = Serial.read(); for(register unsigned char i = 0 ; i < length_of_info ; i++) { info[i] = Serial.read(); } #if DEBUG Serial.write(0xcc); Serial.write(length_of_info); Serial.write(pin_number); Serial.write(pin_type); Serial.write(data_type); Serial.write(baudrate); Serial.write(mode); for(register unsigned char i = 0 ; i < length_of_info ; i++) { Serial.write(info[i]); } #endif return; } //*****************************************************************************************************************// void Router :: process_data(void) { if(mode == 'W') { if(baudrate == 0) { Set_Pin_To_Value(); return; } else { Send_Serial_Data(); return; } } else if(mode = 'R') { if(baudrate == 0) { Read_Value_On_Pin(); return; } else { Receive_Serial_Data(); return; } } return; } //*****************************************************************************************************************// void Router :: Set_Pin_To_Value(void) { if(pin_type == DIGITAL) { if(is_in_digital_pins(pin_number)) { pinMode(pin_number,OUTPUT); digitalWrite(pin_number,info[0] > 127); send_ack(OK); } else { send_ack(FAIL); } } else if(pin_type == PWM || pin_type == ANALOG) { if(is_in_pwm_pins(pin_number)) { pinMode(pin_number,OUTPUT); analogWrite(pin_number,info[0]); send_ack(OK); } else { send_ack(FAIL); } } return; } //*****************************************************************************************************************// bool Router :: is_in_digital_pins(unsigned char pin_no) { #ifdef ARDUINO_UNO unsigned char allowable_digital_pins[] = {2,3,4,5,6,7,8,9,10,11,12,13}; #endif for(register unsigned char i = 0; i < 12 ; i++) { if(pin_no == allowable_digital_pins[i]) { return 1; } else { continue; } } return 0; } //*****************************************************************************************************************// void Router :: send_ack(unsigned char ack) { Serial.write(RESPONSE); Serial.write(ack); return; } //*****************************************************************************************************************// bool Router :: is_in_pwm_pins(unsigned char pin_no) { #ifdef ARDUINO_UNO unsigned char allowable_pwm_pins[] = {3,5,6,7,9,10,11}; #endif for(register unsigned char i = 0; i < 7 ; i++) { if(pin_no == allowable_pwm_pins[i]) { return 1; } else { continue; } } return 0; } //*****************************************************************************************************************// void Router :: Send_Serial_Data(void) { if(is_in_digital_pins(pin_number)) { tx = pin_number; rx = 255; //unused SoftwareSerial device(rx,tx); device.begin(map_Baudrate(baudrate)); //device.listen(); //redundant for(register unsigned char i = 0; i < length_of_info; i++) { device.write(info[i]); } send_ack(OK); } else { send_ack(FAIL); } return; } //****************************************************************************************************************// unsigned long int Router :: map_Baudrate(unsigned char BaudRate) { switch(BaudRate) { case (0x30): return 300; case (0x31): return 600; case (0x32): return 1200; case (0x33): return 2400; case (0x34): return 4800; case (0x35): return 9600; case (0x36): return 14400; case (0x37): return 19200; case (0x38): return 28800; case (0x39): return 38400; case (0x3A): return 57600; case (0x3B): return 115200; default: return 9600; } } //****************************************************************************************************************// void Router :: Read_Value_On_Pin(void) { if(pin_type == DIGITAL) { if(is_in_digital_pins(pin_number)) { send_data(digitalRead(pin_number)); } else { send_ack(FAIL); } } else if(pin_type == ANALOG) { if(is_in_analog_pins(pin_number)) { send_data(map(analogRead(pin_number),0,1023,0,255)); } else { send_ack(FAIL); } } else if(pin_type == PWM) { if(is_in_pwm_pins(pin_number)) { #ifdef ARDUINO_UNO switch (pin_number) { /* pin 5 and pin 6 have a PWM signals with frequency 988 Hz * Hint: This frequency is obtained by repeated experiments. * Which means the cycle takes 1012 microseconds So the half-cycle will take 506 microseconds */ case 5: case 6: send_data((round(pulseIn(pin_number, HIGH) * 127) / 506)); break; /* The other PWM pins(3,9,10,11) have PWM signals with frequency 497 Hz * (This frequency is obtained by repeated experiments) * which means the cycle takes 2012 microseconds * so the half-cycle will take 1006 microseconds. */ default: send_data((round(pulseIn(pin_number, HIGH) * 127) / 1006)); } #endif } else { send_ack(FAIL); } } } //****************************************************************************************************************// bool Router :: is_in_analog_pins(unsigned char pin_no) { #ifdef ARDUINO_UNO unsigned char allowable_analog_pins[] = {14,15,16,17,18,19}; #endif for(register unsigned char i = 0; i < 6 ; i++) { if(pin_no == allowable_analog_pins[i]) { return 1; } else { continue; } } return 0; } //****************************************************************************************************************// void Router :: send_data(unsigned char data) { Serial.write(DATA); Serial.write(data); return; } //****************************************************************************************************************// void Router :: Receive_Serial_Data(void) { rx = pin_number; tx = 255; //unused SoftwareSerial device(rx,tx); device.listen(); while(device.available() < MAX_NUMBER_OF_READ_BYTES); number_of_read_bytes = device.available(); //Serial.write(number_of_read_bytes); if(number_of_read_bytes > MAX_NUMBER_OF_READ_BYTES) { number_of_read_bytes = MAX_NUMBER_OF_READ_BYTES; } for(register int i = 0; i < number_of_read_bytes; i++) { read_bytes[i] = device.read(); } delay(1000); while(device.available() > 0) { device.read(); } device.read(); for(register int i = 0; i < number_of_read_bytes; i++) { //Serial.write(read_bytes[i]); } Serial.write(DATA); } //****************************************************************************************************************//
[ "armia.wagdy@gmail.com" ]
armia.wagdy@gmail.com
186a900b399d98234795811e6bc54a1de8aae236
3b65a58e02023cecd40e6e2db99198d6bd9c8fc2
/Sanitize/trace-pc/trace-pc.cc
76bb9fe556f3fd6a9d3a2cb8ee1f47497f51d0c2
[]
no_license
ytlvy/CTest
5eba5a6631ec9b2226ca982828ebe8c6a1c305da
a11b39a3540156e21641d0fe01d5d595c098c4ff
refs/heads/master
2023-01-23T15:07:06.533033
2023-01-22T13:33:58
2023-01-22T13:33:58
77,416,431
0
0
null
null
null
null
UTF-8
C++
false
false
675
cc
//clang++ -fsanitize-coverage=trace-pc -fsanitize=address -g trace-pc.cc -o trace // ./trace // ./trace foo #include <stdint.h> #include <stdio.h> #include <dlfcn.h> #include <sanitizer/coverage_interface.h> extern "C" void __sanitizer_cov_trace_pc() { void *pc = __builtin_return_address(0); char PcDesr[1024]; __sanitizer_symbolize_pc(pc, "%p %F %L", PcDesr, sizeof(PcDesr)); printf("PC %s ", PcDesr); Dl_info info = {0}; dladdr(pc, &info); if (info.dli_sname) { printf("function %s\n", info.dli_sname); } printf("\n"); } void foo() {} int main(int argc, char **argv) { if(argc>1) { foo(); } return 0; }
[ "yanjie.guo@kuwo.cn" ]
yanjie.guo@kuwo.cn
4cb9363d30b29fecde20a972098d2be0894e9613
1fc630a1974f0f8ff4a9fb8740f468e416619a1c
/src/glux_engine/BoundingSphere.cpp
97af615a26d2e5142a2c215d1f4a48f6eb18fda2
[]
no_license
inavratil/fit-renderer-sandbox
8b322c4b3c56a54cb2f16e49b81c22e6976b2748
abf555578f914f8f0fabaf6616a09e65de73559d
refs/heads/master
2020-05-16T21:43:46.240345
2012-11-30T08:13:43
2012-11-30T08:13:43
30,955,046
0
0
null
null
null
null
UTF-8
C++
false
false
170
cpp
#include "BoundingSphere.h" BoundingSphere::BoundingSphere(void) { radius = 0.0f; center = glm::vec3(0.0f, 0.0f, 0.0f); } BoundingSphere::~BoundingSphere(void) { }
[ "nmanjofo@pretaktovanie.sk" ]
nmanjofo@pretaktovanie.sk
e2bb35982082bb4a289859d2d792e88714bcc258
62dab2a898c65b47b1eb22bc2a9ce329574d2db9
/src/ECS/entity_system.cpp
000839e0dc46e040bfb8d2cf96a235d86c4b40b5
[ "MIT" ]
permissive
kevin-jugg/project42
9649a2fcc97d189ecf296ae3e85b0888e0e55630
6b4ee7310e4cbb334983658adfcf5ad6b2b2de4d
refs/heads/master
2022-04-23T12:02:12.493951
2020-04-17T16:46:15
2020-04-17T16:46:15
256,208,982
0
0
null
null
null
null
UTF-8
C++
false
false
611
cpp
#include "ECS/entity_system.hpp" #include <memory> using namespace std; void EntitySystem::setup(shared_ptr<EntityManager> em, shared_ptr<EventManager> ev, bool can_be_paused) { entity_manager = em; event_manager = ev; this->can_be_paused = can_be_paused; init(); } void EntitySystem::add_query(shared_ptr<EntityQuery> query) { m_queries.push_back(query); } void EntitySystem::update_queries(Entity e, ComponentSet component_set) { for (auto it = m_queries.begin(); it != m_queries.end(); ++it) { auto query = *it; query->update_query(e, component_set); } }
[ "55257311+kevin-jugg@users.noreply.github.com" ]
55257311+kevin-jugg@users.noreply.github.com
3fb010d5c1fe067e286aafe52acc8ca6b9060e2d
6a6193dc6dc8a49cf92846d8011c1f37c7c1fb48
/test/correctness/tracing_broadcast.cpp
2bba2370cd6ec98229bd4a895ad7178c555f214e
[ "MIT" ]
permissive
StanfordAHA/Halide-to-Hardware
ac10c68fea5a295a8556284bec67dbd1ab8feffc
135c5da2587e6f6b17b2e9352a456a645367ad4e
refs/heads/master
2023-08-31T07:00:40.869746
2021-10-20T19:16:51
2021-10-20T19:17:08
167,240,813
76
14
NOASSERTION
2023-09-06T00:09:25
2019-01-23T19:25:20
C++
UTF-8
C++
false
false
761
cpp
#include "Halide.h" #include <stdio.h> using namespace Halide; int my_trace(void *user_context, const halide_trace_event_t *e) { if (e->event == halide_trace_store) { for (int i = 0; i < e->type.lanes; ++i) { int val = ((const int *)(e->value))[i]; if (val != 1234567890) { printf("All values stored should have been 1234567890\n" "Instead they are: %d\n", val); exit(-1); } } } return 0; } int main(int argc, char **argv) { Func f("f"); Var x("x"), y("y"); f(x, y) = 1234567890; f.vectorize(x, 8); f.trace_stores(); f.set_custom_trace(&my_trace); f.realize(8, 8); printf("Success!\n"); return 0; }
[ "psuriana@google.com" ]
psuriana@google.com
541c9f0812d0805506b57fd4681b308846d1bfb2
40aaf3d9ac27dcbfd51d3988d8a9497ec9f2651a
/proyectos/basureo_inteligente/codigo_arduino/codigo_modulos_separados/compresor/compresor_v2.ino
9ec21dc0921ad7cebd3b6c9422be4a4cf67c531c
[]
no_license
randyma01/SOA4ID-RANDY
5f007282cf39af8867edcdcebd6dbfc049c57174
38b3524c96eb1f60c00ac52cb18e1d4bc88305a9
refs/heads/master
2020-04-21T12:53:35.217819
2019-04-08T22:47:36
2019-04-08T22:47:36
169,579,402
0
0
null
null
null
null
UTF-8
C++
false
false
2,624
ino
/* * Estudiantes: Randy Martínez y Gustavo Fallas * Carnets: 2014047395 y 2014035394 * Proyecto #1: IoT - Basurero Inteligente * Descripción: El siguiente código forma parte del módulo del motor DC que acciona el movimiento del compresor de basura. * Nota: El código original es propiedad de Adrìa García llamado: "Control velocidad y sentido motor DC" tomado del siguient enlace: http://diymakers.es/control-velocidad-y-sentido-de-motor-dc/. * Aclaración: El código fue ajustado y modificado por Randy y Gustavo por las necesidades del proyecto respectivamente. */ int pinA = 8; int pinB = 9; //int valorpote; //int pwm1; //int pwm2; //bool estadoLed = false; int periodo = 5000; unsigned long tiempoAnterior = 0; const int analogInPin = A1; const int OutPin = 13; int sensorValue = 0; void motor() { if (millis() >= 2 * periodo) { Serial.println("Se bajo y subio el compresor!!..."); return; } //se espera el tiempo del perido en ms mientras baja //transcurrido el tiempo necesario para llegar abajo se cambia la booleana bajando -> subiendo if (millis() <= periodo) { //si ha transcurrido el periodo programado //se inicia el motor con la direccion 0 (P.D: probar que direccion es el valor cero) //valueDirectionCompressor = 0; Serial.println("bajando..."); } else if (millis() >= periodo && millis() <= 2 * periodo) { //se le da la direccion para que el compresor suba //valueDirectionCompressor = 1023; Serial.println("subiendo..."); } Serial.print("tiempo transcurrido: "); Serial.println(tiempo); /*Se le manda el valor al motor*/ pwm1 = map(directionCompressor, 0, 1023, 0, 255); pwm2 = map(directionCompressor, 0, 1023, 255, 0); analogWrite(pinA, pwm1); analogWrite(pinB, pwm2); /* //al pasar 5000ms(tiempo estimado en lo que dura en hacer media vuelta, sea bajar o subir) se cambia la direccion del motor con el valor 1023 if(millis() - tiempoAnterior >= periodo){ //si ha transcurrido el periodo programado directionCompressor = 1023; //cambia el estado del led cada 100ms tiempoAnterior = millis(); //guarda el tiempo actual como referencia } */ } void LedIR() { sensorValue = analogRead(analogInPin); if (sensorValue > 900) { Serial.println("Deteccion > 900"); Motor(); } else { Serial.println("Deteccion < 900"); } Serial.print("sensor = "); Serial.println(sensorValue); delay(100); } void setup() { //Inicializamos los pins de salida Serial.begin(9600); pinMode(pin2, OUTPUT); pinMode(pin7, OUTPUT); } void loop() { motor(); }
[ "randyma01@gmail.com" ]
randyma01@gmail.com
5b53f72d7a4f9b16fa5ee12c267d040bb12d5bd3
65d2bb047bad2a308a4b3ad955a7a18383b9091a
/xunit-test/TransactionTest/TransactionTest.h
4b2ed04bbb73349933a4b57c97e5a6b40101208b
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
infinispan/cpp-client
6bf9cdcedaa795bea1f0751fefe6c4bd73ef4111
0d7f6b7bc2190ec1ece399c1b5d97e1d2770081b
refs/heads/main
2023-09-06T00:05:18.273183
2023-04-18T16:01:43
2023-04-18T16:01:43
9,675,051
7
11
NOASSERTION
2023-04-06T08:00:59
2013-04-25T15:33:11
C++
UTF-8
C++
false
false
981
h
#include "gtest/gtest.h" #include <memory> namespace infinispan { namespace hotrod { class RemoteCacheManager; } } // The fixture for testing class Foo. class TransactionTest : public ::testing::Test { public: static std::unique_ptr<infinispan::hotrod::RemoteCacheManager> remoteCacheManager; static std::unique_ptr<infinispan::hotrod::RemoteCacheManager>nontxRemoteCacheManager; protected: // You can do set-up work for each test here. TransactionTest(); // You can do clean-up work that doesn't throw exceptions here. virtual ~TransactionTest() {} ; // If the constructor and destructor are not enough for setting up // and cleaning up each test, you can define the following methods: // Code here will be called immediately after the constructor (right // before each test). virtual void SetUp(); // Code here will be called immediately after each test (right // before the destructor). virtual void TearDown(); };
[ "afield@redhat.com" ]
afield@redhat.com
6f08320c6a6dbb1bc3ee47e5c1969e5aae8e9ed4
10feb03257f099f3e02a10d0b665d82079337a7e
/robot/src/drivers/wpb_home/wpb_home_bringup/src/wpb_home_core.cpp
edaab8ad20cd3b822fd9ffbb25b3b27e52b0b078
[ "MIT" ]
permissive
SilenceX12138/ROS-Intelligent-Service-Robot
1c8533563cc0e444e3d280043147c8ebabc92bc4
9d042940d602fc62d129a05b4f107acb800d24aa
refs/heads/master
2023-08-25T23:27:02.252004
2021-10-13T00:44:12
2021-10-13T00:44:12
403,973,317
63
1
null
null
null
null
UTF-8
C++
false
false
14,461
cpp
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2017-2020, Waterplus http://www.6-robot.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials provided * with the distribution. * * Neither the name of the WaterPlus 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, * FOOTPRINTAL, 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 ZhangWanjie ********************************************************************/ #include <ros/ros.h> #include <tf/transform_broadcaster.h> #include <nav_msgs/Odometry.h> #include <sensor_msgs/Imu.h> #include <geometry_msgs/Pose2D.h> #include <geometry_msgs/Twist.h> #include <sensor_msgs/JointState.h> #include <std_msgs/String.h> #include <std_msgs/Int32MultiArray.h> #include "driver/WPB_Home_driver.h" #include <math.h> static CWPB_Home_driver m_wpb_home; static int nLastMotorPos[3]; static bool ad_publish_enable = true; static std_msgs::Int32MultiArray ad_msg; static bool input_publish_enable = true; static std_msgs::Int32MultiArray input_msg; static int arOutput[8]; void CmdVelCallback(const geometry_msgs::Twist::ConstPtr& msg) { //ROS_INFO("[wpb_home] liner(%.2f %.2f) angular(%.2f)", msg->linear.x,msg->linear.y,msg->angular.z); m_wpb_home.Velocity(msg->linear.x,msg->linear.y,msg->angular.z); } static float kForearm = 1.57/11200; static float fLiftValue = 0; static float fLiftVelocity = 0; static float fGripperValue = 0; static float fGripperVelocity = 0; void ManiCtrlCallback(const sensor_msgs::JointState::ConstPtr& msg) { int nNumJoint = msg->position.size(); // for(int i=0;i<nNumJoint;i++) // { // ROS_INFO("[wpb_home] %d - %s = %.2f vel= %.2f", i, msg->name[i].c_str(),msg->position[i],msg->velocity[i]); // } //高度升降 fLiftValue = msg->position[0]; fLiftVelocity = msg->velocity[0]; //手爪 fGripperValue = msg->position[1]; fGripperVelocity = msg->velocity[1]; m_wpb_home.ManiCmd(fLiftValue, fLiftVelocity, fGripperValue, fGripperVelocity); } static geometry_msgs::Pose2D pose_diff_msg; void CtrlCallback(const std_msgs::String::ConstPtr &msg) { int nFindIndex = 0; nFindIndex = msg->data.find("pose_diff reset"); if( nFindIndex >= 0 ) { pose_diff_msg.x = 0; pose_diff_msg.y = 0; pose_diff_msg.theta = 0; //ROS_WARN("[pose_diff reset]"); } nFindIndex = msg->data.find("motor encoder"); if( nFindIndex >= 0 ) { printf("\n[电机码盘位置] 电机1= %d 电机2= %d 电机3= %d\n", m_wpb_home.arMotorPos[0], m_wpb_home.arMotorPos[1], m_wpb_home.arMotorPos[2]); } } void OutputCallback(const std_msgs::Int32MultiArray::ConstPtr &msg) { int nNumOutput = msg->data.size(); if(nNumOutput > 8) nNumOutput = 8; for(int i=0;i<nNumOutput;i++) { arOutput[i] = msg->data[i]; } m_wpb_home.Output(arOutput); } static float fKVx = 1.0f/sqrt(3.0f); static float fKVy = 2.0f/3.0f; static float fKVz = 1.0f/3.0f; static float fSumX =0; static float fSumY =0; static float fSumZ =0; static float fOdomX =0; static float fOdomY =0; static float fOdomZ =0; static geometry_msgs::Pose2D lastPose; static geometry_msgs::Twist lastVel; int main(int argc, char** argv) { ros::init(argc,argv,"wpb_home_core"); ros::NodeHandle n; ros::Subscriber cmd_vel_sub = n.subscribe("cmd_vel",10,&CmdVelCallback); ros::Subscriber mani_ctrl_sub = n.subscribe("/wpb_home/mani_ctrl",30,&ManiCtrlCallback); ros::Publisher imu_pub = n.advertise<sensor_msgs::Imu >("imu/data_raw", 100); ros::Publisher ad_pub = n.advertise<std_msgs::Int32MultiArray>("/wpb_home/ad", 10); ros::Publisher input_pub = n.advertise<std_msgs::Int32MultiArray>("/wpb_home/input", 10); for(int i=0;i<8;i++) arOutput[i] = 0; ros::Subscriber output_sub = n.subscribe("/wpb_home/output",10,&OutputCallback); ros::NodeHandle n_param("~"); std::string strSerialPort; n_param.param<std::string>("serial_port", strSerialPort, "/dev/ttyUSB0"); m_wpb_home.Open(strSerialPort.c_str(),115200); bool bImuOdom; n_param.param<bool>("imu_odom", bImuOdom, false); ros::Time current_time, last_time; current_time = ros::Time::now(); last_time = ros::Time::now(); ros::Rate r(100.0); ros::Publisher joint_state_pub = n.advertise<sensor_msgs::JointState>("/joint_states",100); sensor_msgs::JointState joint_msg; std::vector<std::string> joint_name(6); std::vector<double> joint_pos(6); joint_name[0] = "mani_base"; joint_name[1] = "elbow_forearm"; joint_name[2] = "forearm_left_finger"; joint_name[3] = "forearm_right_finger"; joint_name[4] = "kinect_height"; joint_name[5] = "kinect_pitch"; joint_pos[0] = 0.0f; joint_pos[1] = 0.0f; joint_pos[2] = 0.0f; joint_pos[3] = 0.0f; joint_pos[4] = 0.0f; joint_pos[5] = 0.0f; n_param.getParam("zeros/kinect_height", joint_pos[4]); n_param.getParam("zeros/kinect_pitch", joint_pos[5]); ros::Publisher odom_pub; geometry_msgs::TransformStamped odom_trans; tf::TransformBroadcaster broadcaster; nav_msgs::Odometry odom; geometry_msgs::Quaternion odom_quat; odom_pub = n.advertise<nav_msgs::Odometry>("odom",2); odom_trans.header.frame_id = "odom"; odom_trans.child_frame_id = "base_footprint"; odom.header.frame_id = "odom"; odom.child_frame_id = "base_footprint"; odom_trans.transform.translation.x = 0; odom_trans.transform.translation.y = 0; odom_trans.transform.translation.z = 0; odom_trans.transform.rotation = tf::createQuaternionMsgFromYaw(0); odom.pose.pose.position.x = 0; odom.pose.pose.position.y = 0; odom.pose.pose.position.z = 0.0; odom.pose.pose.orientation = odom_quat; odom.twist.twist.linear.x = 0; odom.twist.twist.linear.y = 0; odom.twist.twist.linear.z = 0; odom.twist.twist.angular.x = 0; odom.twist.twist.angular.y = 0; odom.twist.twist.angular.z = 0; ros::Subscriber ctrl_sub = n.subscribe("/wpb_home/ctrl",10,&CtrlCallback); ros::Publisher pose_diff_pub = n.advertise<geometry_msgs::Pose2D>("/wpb_home/pose_diff",1); pose_diff_msg.x = 0; pose_diff_msg.y = 0; pose_diff_msg.theta = 0; lastPose.x = lastPose.y = lastPose.theta = 0; lastVel.linear.x = lastVel.linear.y = lastVel.linear.z = lastVel.angular.x = lastVel.angular.y = lastVel.angular.z = 0; nLastMotorPos[0] = nLastMotorPos[1] = nLastMotorPos[2] = 0; while(n.ok()) { m_wpb_home.ReadNewData(); m_wpb_home.nParseCount ++; //ROS_INFO("[m_wpb_home.nParseCount]= %d",m_wpb_home.nParseCount); if(m_wpb_home.nParseCount > 100) { m_wpb_home.arMotorPos[0] =0; nLastMotorPos[0] = 0; m_wpb_home.arMotorPos[1] =0; nLastMotorPos[1] = 0; m_wpb_home.arMotorPos[2] =0; nLastMotorPos[2] = 0; m_wpb_home.nParseCount = 0; //ROS_INFO("empty"); } last_time = current_time; current_time = ros::Time::now(); if(bImuOdom == false) { double fVx,fVy,fVz; double fPosDiff[3]; if(nLastMotorPos[0] != m_wpb_home.arMotorPos[0] || nLastMotorPos[1] != m_wpb_home.arMotorPos[1] || nLastMotorPos[2] != m_wpb_home.arMotorPos[2]) { fPosDiff[0] = (double)(m_wpb_home.arMotorPos[0] - nLastMotorPos[0]); fPosDiff[1] = (double)(m_wpb_home.arMotorPos[1] - nLastMotorPos[1]); fPosDiff[2] = (double)(m_wpb_home.arMotorPos[2] - nLastMotorPos[2]); fVx = (fPosDiff[1] - fPosDiff[0]) * fKVx; fVy = (fPosDiff[0] + fPosDiff[1]) - (fPosDiff[0] + fPosDiff[1] + fPosDiff[2])*fKVy; fVz = (fPosDiff[0] + fPosDiff[1] + fPosDiff[2])*fKVz; double fTimeDur = current_time.toSec() - last_time.toSec(); fVx = fVx/(fTimeDur*9100); fVy = fVy/(fTimeDur*9100); fVz = fVz/(fTimeDur*1840); double dx = (lastVel.linear.x*cos(lastPose.theta) - lastVel.linear.y*sin(lastPose.theta))*fTimeDur; double dy = (lastVel.linear.x*sin(lastPose.theta) + lastVel.linear.y*cos(lastPose.theta))*fTimeDur; lastPose.x += dx; lastPose.y += dy; lastPose.theta += (fVz*fTimeDur); double pd_dx = (lastVel.linear.x*cos(pose_diff_msg.theta) - lastVel.linear.y*sin(pose_diff_msg.theta))*fTimeDur; double pd_dy = (lastVel.linear.x*sin(pose_diff_msg.theta) + lastVel.linear.y*cos(pose_diff_msg.theta))*fTimeDur; pose_diff_msg.x += pd_dx; pose_diff_msg.y += pd_dy; pose_diff_msg.theta += (fVz*fTimeDur); odom_quat = tf::createQuaternionMsgFromRollPitchYaw(0,0,lastPose.theta); //updata transform odom_trans.header.stamp = current_time; odom_trans.transform.translation.x = lastPose.x; odom_trans.transform.translation.y = lastPose.y; odom_trans.transform.translation.z = 0; odom_trans.transform.rotation = tf::createQuaternionMsgFromYaw(lastPose.theta); //filling the odometry odom.header.stamp = current_time; //position odom.pose.pose.position.x = lastPose.x; odom.pose.pose.position.y = lastPose.y; odom.pose.pose.position.z = 0.0; odom.pose.pose.orientation = odom_quat; //velocity odom.twist.twist.linear.x = fVx; odom.twist.twist.linear.y = fVy; odom.twist.twist.linear.z = 0; odom.twist.twist.angular.x = 0; odom.twist.twist.angular.y = 0; odom.twist.twist.angular.z = fVz; //plublishing the odometry and new tf broadcaster.sendTransform(odom_trans); odom_pub.publish(odom); lastVel.linear.x = fVx; lastVel.linear.y = fVy; lastVel.angular.z = fVz; nLastMotorPos[0] = m_wpb_home.arMotorPos[0]; nLastMotorPos[1] = m_wpb_home.arMotorPos[1]; nLastMotorPos[2] = m_wpb_home.arMotorPos[2]; } else { odom_trans.header.stamp = ros::Time::now(); //plublishing the odometry and new tf broadcaster.sendTransform(odom_trans); odom.header.stamp = ros::Time::now(); odom_pub.publish(odom); //ROS_INFO("[odom] zero"); } pose_diff_pub.publish(pose_diff_msg); //ROS_INFO("[pose_diff_msg] x= %.2f y=%.2f th= %.2f", pose_diff_msg.x,pose_diff_msg.y,pose_diff_msg.theta); } else { //imu sensor_msgs::Imu imu_msg = sensor_msgs::Imu(); imu_msg.header.stamp = ros::Time::now(); imu_msg.header.frame_id = "imu"; imu_msg.orientation.x = m_wpb_home.fQuatX; imu_msg.orientation.y = m_wpb_home.fQuatY; imu_msg.orientation.z = m_wpb_home.fQuatZ; imu_msg.orientation.w = m_wpb_home.fQuatW; imu_msg.angular_velocity.x = m_wpb_home.fGyroX; imu_msg.angular_velocity.y = m_wpb_home.fGyroY; imu_msg.angular_velocity.z = m_wpb_home.fGyroZ; imu_msg.linear_acceleration.x = m_wpb_home.fAccX; imu_msg.linear_acceleration.y = m_wpb_home.fAccY; imu_msg.linear_acceleration.z = m_wpb_home.fAccZ; imu_pub.publish(imu_msg); } // mani tf joint_msg.header.stamp = ros::Time::now(); joint_msg.header.seq ++; joint_pos[0] = m_wpb_home.arMotorPos[4] * 0.00001304; if(m_wpb_home.arMotorPos[4] < 11200) { joint_pos[1] = m_wpb_home.arMotorPos[4]*kForearm; } else { joint_pos[1] = 1.57; } joint_pos[2] = (47998 - m_wpb_home.arMotorPos[5]) * 0.00001635; joint_pos[3] = joint_pos[2]; joint_msg.name = joint_name; joint_msg.position = joint_pos; joint_state_pub.publish(joint_msg); // ad if(ad_publish_enable == true) { ad_msg.data.clear(); for(int i=0;i<15;i++) { ad_msg.data.push_back(m_wpb_home.arValAD[i]); } ad_pub.publish(ad_msg); } //input if(input_publish_enable == true) { input_msg.data.clear(); for(int i=0;i<4;i++) { input_msg.data.push_back(m_wpb_home.arValIOInput[i]); } input_pub.publish(input_msg); } ros::spinOnce(); r.sleep(); } }
[ "silencejiang12138@gmail.com" ]
silencejiang12138@gmail.com
6df3132de1df5f5a60dac5d28d6060f3a9eaf0a6
76dc9901e663f42e8968fc4093bc4914b1fdbaa8
/contrib/classlib_impl/ParallelImp.cpp
e131b2592d2b8b91d89489047ac3632a3bd8a893
[ "Apache-2.0" ]
permissive
mballance/psi
0d0390c527c7bb1f064f07e81c01914f38429712
7f71df1c29ff36a4f6dfab46cccf38d10bd70902
refs/heads/master
2020-04-03T20:54:26.897465
2017-02-15T01:58:38
2017-02-15T01:58:38
57,248,329
2
3
null
2016-08-04T18:37:37
2016-04-27T21:11:50
C++
UTF-8
C++
false
false
1,267
cpp
/* * parallel.cpp * * Copyright 2016 Mentor Graphics Corporation * All Rights Reserved Worldwide * * 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. * * * Created on: May 5, 2016 * Author: ballance */ #include "classlib/parallel.h" #include "classlib/expr_list.h" #include "ExprImp.h" #include "ExprCore.h" namespace pss { parallel::parallel(const expr_list &body) : expr(body.imp()) { imp().ptr()->setOp(ExprImp::GraphParallel); } parallel::~parallel() { // TODO Auto-generated destructor stub } expr_list_builder parallel::operator,(const expr &rhs) { return expr_list_builder(*this, rhs); } expr_list_builder parallel::operator,(const expr_list_builder &rhs) { return expr_list_builder(*this, rhs); } } /* namespace pss */
[ "matt.ballance@gmail.com" ]
matt.ballance@gmail.com
02f6644c19fa588a4b7aaafd8861c433431224d0
9fad4848e43f4487730185e4f50e05a044f865ab
/src/chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.cc
d7a27b21958554a3848d796789ff30832f2a5153
[ "BSD-3-Clause" ]
permissive
dummas2008/chromium
d1b30da64f0630823cb97f58ec82825998dbb93e
82d2e84ce3ed8a00dc26c948219192c3229dfdaa
refs/heads/master
2020-12-31T07:18:45.026190
2016-04-14T03:17:45
2016-04-14T03:17:45
56,194,439
4
0
null
null
null
null
UTF-8
C++
false
false
1,172
cc
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.h" #include <utility> #include "chrome/browser/renderer_context_menu/render_view_context_menu.h" #include "chrome/browser/ui/apps/chrome_app_delegate.h" #include "components/renderer_context_menu/context_menu_delegate.h" namespace extensions { ChromeAppViewGuestDelegate::ChromeAppViewGuestDelegate() { } ChromeAppViewGuestDelegate::~ChromeAppViewGuestDelegate() { } bool ChromeAppViewGuestDelegate::HandleContextMenu( content::WebContents* web_contents, const content::ContextMenuParams& params) { ContextMenuDelegate* menu_delegate = ContextMenuDelegate::FromWebContents(web_contents); DCHECK(menu_delegate); scoped_ptr<RenderViewContextMenuBase> menu = menu_delegate->BuildMenu(web_contents, params); menu_delegate->ShowMenu(std::move(menu)); return true; } AppDelegate* ChromeAppViewGuestDelegate::CreateAppDelegate() { return new ChromeAppDelegate(true); } } // namespace extensions
[ "dummas@163.com" ]
dummas@163.com
762517686414e07a7936feacdf0d74cf768c8ac2
6cebaa003ed783df5f2650260d9f6b0255e3ced7
/Visual Styles/PresentationTheme.Aero/Source/UxThemeEx/UxThemeFile.cpp
4d104a1a6aaf5f8318049dd5d10922f9acab7aa3
[ "MIT", "MS-PL" ]
permissive
alexdesign001/UX
ed0ec39affd8b75837cd3e1dfd6785056ff65742
1709446a82a8f2c01c0e6d95a29ac512439df1b2
refs/heads/master
2022-04-09T17:04:25.271357
2020-02-08T17:06:58
2020-02-08T17:06:58
255,529,224
2
0
NOASSERTION
2020-04-14T06:33:03
2020-04-14T06:33:02
null
UTF-8
C++
false
false
5,407
cpp
#include "UxThemeFile.h" #include "Sections.h" #include "Utils.h" #include <cassert> #include <strsafe.h> #include <winternl.h> #include <memoryapi.h> namespace uxtheme { CUxThemeFile::CUxThemeFile() : _pbSharableData(nullptr) , _hSharableSection(nullptr) , _pbNonSharableData(nullptr) , _hNonSharableSection(nullptr) , _Debug_Generation(-1) , _Debug_ChangeID(-1) { StringCchCopyA(_szHead, 8, "thmfile"); StringCchCopyA(_szTail, 4, "end"); } CUxThemeFile::~CUxThemeFile() { if (_pbSharableData || _hSharableSection || _pbNonSharableData || _hNonSharableSection) CloseFile(); StringCchCopyA(_szHead, 8, "deleted"); } HRESULT CUxThemeFile::CreateFileW( wchar_t* pszSharableSectionName, unsigned cchSharableSectionName, int iSharableSectionLength, wchar_t* pszNonSharableSectionName, unsigned cchNonSharableSectionName, int iNonSharableSectionLength, bool fReserve) { DWORD flags = PAGE_READWRITE; if (fReserve) flags |= SEC_RESERVE; _hSharableSection = CreateFileMappingW(INVALID_HANDLE_VALUE, nullptr, flags, 0, iSharableSectionLength, nullptr); _pbSharableData = (THEMEHDR*)MapViewOfFile(_hSharableSection, FILE_MAP_ALL_ACCESS, 0, 0, 0); _cbSharableData = iSharableSectionLength; _hNonSharableSection = CreateFileMappingW(INVALID_HANDLE_VALUE, nullptr, flags, 0, iNonSharableSectionLength, nullptr); _pbNonSharableData = (BYTE*)MapViewOfFile(_hNonSharableSection, FILE_MAP_ALL_ACCESS, 0, 0, 0); _cbNonSharableData = iNonSharableSectionLength; return S_OK; } void CUxThemeFile::CloseFile() { if (_hSharableSection && _hNonSharableSection && _pbNonSharableData) { if (*_pbNonSharableData & 4 && (!_pbNonSharableData || !(*_pbNonSharableData & 2))) { // ClearStockObjects(_hNonSharableSection, 0); } } if (_pbSharableData) UnmapViewOfFile(_pbSharableData); if (_hSharableSection) CloseHandle(_hSharableSection); if (_pbNonSharableData) UnmapViewOfFile(_pbNonSharableData); if (_hNonSharableSection) CloseHandle(_hNonSharableSection); _pbSharableData = nullptr; _hSharableSection = nullptr; _pbNonSharableData = nullptr; _hNonSharableSection = nullptr; } HRESULT CUxThemeFile::OpenFromHandle(HANDLE hSharableSection, HANDLE hNonSharableSection, DWORD desiredAccess, bool cleanupOnFailure) { if (_pbSharableData || _pbNonSharableData) CloseFile(); HRESULT hr = S_OK; _pbSharableData = (THEMEHDR*)MapViewOfFile(hSharableSection, desiredAccess, 0, 0, 0); _hSharableSection = hSharableSection; if (!_pbSharableData) hr = MakeErrorLast(); _pbNonSharableData = (BYTE*)MapViewOfFile(hNonSharableSection, desiredAccess, 0, 0, 0); _hNonSharableSection = hNonSharableSection; if (!_pbNonSharableData) hr = MakeErrorLast(); if (SUCCEEDED(hr)) { hr = ValidateThemeData(true); if (FAILED(hr)) { CloseFile(); hr = HRESULT_FROM_WIN32(ERROR_BAD_FORMAT); } } if (FAILED(hr) && cleanupOnFailure) { _pbSharableData = nullptr; _hSharableSection = nullptr; _pbNonSharableData = nullptr; _hNonSharableSection = nullptr; } return hr; } HRESULT CUxThemeFile::ValidateThemeData(bool fullCheck) const { if (!ValidateObj()) return HRESULT_FROM_WIN32(ERROR_INTERNAL_ERROR); auto hdr = _pbSharableData; if (!hdr || memcmp(hdr->szSignature, "BEGINTHM", 8) != 0 || hdr->dwVersion != 65543 || !_pbNonSharableData || !(*_pbNonSharableData & 1)) return HRESULT_FROM_WIN32(ERROR_BAD_FORMAT); return S_OK; } bool CUxThemeFile::ValidateObj() const { return memcmp(_szHead, "thmfile\0", 8) == 0 && memcmp(_szTail, "end\0", 4) == 0; } LOGFONTW const* CUxThemeFile::GetFontByIndex(unsigned short index) const { if (index >= _pbSharableData->cFonts) assert("FRE: index < pHeader->cFonts"); auto ptr = reinterpret_cast<BYTE*>(&_pbSharableData[index]) + _pbSharableData->iFontsOffset; return reinterpret_cast<LOGFONTW const*>(ptr); } HRESULT CUxThemeFile::GetGlobalTheme(HANDLE* phSharableSection, HANDLE* phNonSharableSection) { *phSharableSection = nullptr; *phNonSharableSection = nullptr; PEB* peb = NtCurrentTeb()->ProcessEnvironmentBlock; RootSection rootSection(peb->SessionId, FILE_MAP_READ, FILE_MAP_READ); DataSection sharableSection(FILE_MAP_READ, FILE_MAP_READ); DataSection nonSharableSection(FILE_MAP_READ, FILE_MAP_READ); ROOTSECTION* pRootSection = nullptr; ENSURE_HR(rootSection.GetRootSectionData(&pRootSection)); if (!pRootSection->szSharableSectionName[0] || !pRootSection->szNonSharableSectionName[0]) return HRESULT_FROM_WIN32(ERROR_NOT_FOUND); ENSURE_HR(sharableSection.Open(pRootSection->szSharableSectionName, false)); ENSURE_HR(nonSharableSection.Open(pRootSection->szNonSharableSectionName, false)); sharableSection.DetachSectionHandle(phSharableSection); nonSharableSection.DetachSectionHandle(phNonSharableSection); return S_OK; } } // namespace uxtheme
[ "jdm7dv@gmail.com" ]
jdm7dv@gmail.com
9907861a9f80a39bbf86cae0fb5f4a656a0037fe
f4542854fd7a1fdea4f7f1c0aebabf0eddb93f15
/src/include/imgUtils.hxx
81104a6225b49e81575cd390e884b4ac5204a6c9
[]
no_license
Hdbcoding/sdl_tutorials
609faab777f27ecdfac8b6a0ccedd687c3dd899c
f778942e66b01d4b7b9dcf1a5e6a28881b3e7bbf
refs/heads/main
2023-02-05T09:15:21.858190
2020-12-22T02:10:10
2020-12-22T02:10:10
310,889,027
0
0
null
null
null
null
UTF-8
C++
false
false
339
hxx
#pragma once #include <string> #include "SDL.h" #include "SDL_image.h" bool initIMGPng(Uint32 flags = IMG_INIT_PNG); SDL_Surface *loadImage(const std::string &filename); SDL_Surface *loadImageOptimized(const std::string &filename, const SDL_Surface *source); SDL_Texture *loadImageTexture(const std::string &filename, SDL_Renderer *ren);
[ "henry.byrd@claricode.com" ]
henry.byrd@claricode.com
6fbbe942487555a1a4729360352ce2656b878d69
5456502f97627278cbd6e16d002d50f1de3da7bb
/chrome/browser/extensions/extension_error_ui_default.cc
42adc7fcb944c8d7824866a8251de30232f18931
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/Chromium_7C66
72d108a413909eb3bd36c73a6c2f98de1573b6e5
c8649ab2a0f5a747369ed50351209a42f59672ee
refs/heads/master
2023-03-16T12:51:40.231959
2017-12-20T10:38:26
2017-12-20T10:38:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,469
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 "chrome/browser/extensions/extension_error_ui_default.h" #include "base/logging.h" #include "base/strings/string_util.h" #include "chrome/browser/extensions/extension_service.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_finder.h" #include "chrome/browser/ui/chrome_pages.h" #include "chrome/browser/ui/global_error/global_error_bubble_view_base.h" namespace extensions { ExtensionErrorUIDefault::ExtensionErrorUIDefault( ExtensionErrorUI::Delegate* delegate) : ExtensionErrorUI(delegate), profile_(Profile::FromBrowserContext(delegate->GetContext())), browser_(NULL), global_error_(new ExtensionGlobalError(this)) { } ExtensionErrorUIDefault::~ExtensionErrorUIDefault() { } bool ExtensionErrorUIDefault::ShowErrorInBubbleView() { Browser* browser = chrome::FindLastActiveWithProfile(profile_); if (!browser) return false; browser_ = browser; global_error_->ShowBubbleView(browser); return true; } void ExtensionErrorUIDefault::ShowExtensions() { DCHECK(browser_); chrome::ShowExtensions(browser_, std::string()); } void ExtensionErrorUIDefault::Close() { if (global_error_->HasShownBubbleView()) { // Will end up calling into |global_error_|->OnBubbleViewDidClose, // possibly synchronously. global_error_->GetBubbleView()->CloseBubbleView(); } } ExtensionErrorUIDefault::ExtensionGlobalError::ExtensionGlobalError( ExtensionErrorUIDefault* error_ui) : error_ui_(error_ui) { } bool ExtensionErrorUIDefault::ExtensionGlobalError::HasMenuItem() { return false; } int ExtensionErrorUIDefault::ExtensionGlobalError::MenuItemCommandID() { NOTREACHED(); return 0; } base::string16 ExtensionErrorUIDefault::ExtensionGlobalError::MenuItemLabel() { NOTREACHED(); return NULL; } void ExtensionErrorUIDefault::ExtensionGlobalError::ExecuteMenuItem( Browser* browser) { NOTREACHED(); } base::string16 ExtensionErrorUIDefault::ExtensionGlobalError::GetBubbleViewTitle() { return error_ui_->GetBubbleViewTitle(); } std::vector<base::string16> ExtensionErrorUIDefault::ExtensionGlobalError::GetBubbleViewMessages() { return error_ui_->GetBubbleViewMessages(); } base::string16 ExtensionErrorUIDefault::ExtensionGlobalError:: GetBubbleViewAcceptButtonLabel() { return error_ui_->GetBubbleViewAcceptButtonLabel(); } base::string16 ExtensionErrorUIDefault::ExtensionGlobalError:: GetBubbleViewCancelButtonLabel() { return error_ui_->GetBubbleViewCancelButtonLabel(); } void ExtensionErrorUIDefault::ExtensionGlobalError::OnBubbleViewDidClose( Browser* browser) { error_ui_->BubbleViewDidClose(); } void ExtensionErrorUIDefault::ExtensionGlobalError:: BubbleViewAcceptButtonPressed(Browser* browser) { error_ui_->BubbleViewAcceptButtonPressed(); } void ExtensionErrorUIDefault::ExtensionGlobalError:: BubbleViewCancelButtonPressed(Browser* browser) { error_ui_->BubbleViewCancelButtonPressed(); } // static ExtensionErrorUI* ExtensionErrorUI::Create( ExtensionErrorUI::Delegate* delegate) { return new ExtensionErrorUIDefault(delegate); } } // namespace extensions
[ "lixiaodonglove7@aliyun.com" ]
lixiaodonglove7@aliyun.com
eb110b2c6f65c62bf5d3084959f9abba00cade0d
0b63b7b9afc7272044d9fb53b65c1a5800b2b136
/framework/src/framework/utility/algebrahelpers.cpp
697db6e5165fb8f632ff63dffd38bb93283d580b
[]
no_license
Kibande/zombie-framework
edb99c875289674815314d06636c63082b93c033
2517d2a5c5243e17a69c85f9f6d04cf827880c8c
refs/heads/master
2020-04-14T22:10:49.527378
2018-11-08T22:10:38
2018-11-08T22:10:38
164,153,682
1
0
null
2019-01-04T20:53:03
2019-01-04T20:53:02
null
UTF-8
C++
false
false
1,098
cpp
#include <framework/utility/algebrahelpers.hpp> namespace zfw { Float3 AlgebraHelpers::TransformVec(const Float4& v, const glm::mat4x4& m) { const float w_scale = 1.0f / (m[0][3] * v.x + m[1][3] * v.y + m[2][3] * v.z + m[3][3] * v.w); return Float3( m[0][0] * v.x + m[1][0] * v.y + m[2][0] * v.z + m[3][0] * v.w, m[0][1] * v.x + m[1][1] * v.y + m[2][1] * v.z + m[3][1] * v.w, m[0][2] * v.x + m[1][2] * v.y + m[2][2] * v.z + m[3][2] * v.w ) * w_scale; } bool AlgebraHelpers::TransformVec(const Float4& v, const glm::mat4x4& m, Float3& v_out) { const float w = m[0][3] * v.x + m[1][3] * v.y + m[2][3] * v.z + m[3][3] * v.w; if (fabs(w) < 10e-5f) return false; v_out = Float3( m[0][0] * v.x + m[1][0] * v.y + m[2][0] * v.z + m[3][0] * v.w, m[0][1] * v.x + m[1][1] * v.y + m[2][1] * v.z + m[3][1] * v.w, m[0][2] * v.x + m[1][2] * v.y + m[2][2] * v.z + m[3][2] * v.w ) * (1.0f / w); return true; } }
[ "minexew@gmail.com" ]
minexew@gmail.com
877c5d9af7faad8d90d1a5c7d5d99ddecb1801db
d3dc696122e13deef94ed66a4423765afb27da70
/TroyCrypt/src/stage/BlockCipherStage.cpp
c4dcc0edd961a1bc11d12a7f7cd59e0147589565
[]
no_license
TroyNeubauer/TroyCrypt
09b022017639ed6e5c60d5ae2ee030dce34a2309
21efe6976fb266dd4832251584caf9d69ca3c30b
refs/heads/master
2022-02-12T15:27:20.710742
2019-07-25T02:11:47
2019-07-25T02:11:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
718
cpp
#include "BlockCipherStage.h" #include <string> namespace TroyCrypt { void BlockCipherStage::operate(TroyContext* context) { BlockContext* c = dynamic_cast<BlockContext*>(context); if (c == nullptr) { throw std::string("Invalid context type in ").append(__FILE__).append("::").append(__func__).append(" line ").append(std::to_string(__LINE__)); } else { operate_BlockCipher(c); } } void BlockCipherStage::inverse(TroyContext* context) { BlockContext* c = dynamic_cast<BlockContext*>(context); if (c == nullptr) { throw std::string("Invalid context type in ").append(__FILE__).append("::").append(__func__).append(" line ").append(std::to_string(__LINE__)); } else { inverse_BlockCipher(c); } } }
[ "troyneubauer@gmail.com" ]
troyneubauer@gmail.com
5d401fb3f6c3f5efcdadbd1936c57e7bd7a44cfc
831d8c82fb203aa798f996abd79fff7bb93eea5b
/src/ArduinoSerialServer.ino
a98d98b98f4f5c40e3019d15319043bf56cbecdc
[]
no_license
ChildrensMuseumOfSouthernMinnesota/ARSandboxMods
64a8a3585e1f6cf4f364278b4ab4a081cd0bb290
971020fdbcf0ecd10cccfc3831fd1a8cc8b428f4
refs/heads/master
2016-09-13T13:49:29.519811
2016-05-14T20:57:18
2016-05-14T20:57:18
58,334,596
0
0
null
null
null
null
UTF-8
C++
false
false
958
ino
bool sent = false; void setup() { Serial.begin(9600); pinMode(2, INPUT_PULLUP); pinMode(3, INPUT_PULLUP); pinMode(4, INPUT_PULLUP); pinMode(5, INPUT_PULLUP); pinMode(6, INPUT_PULLUP); pinMode(7, INPUT_PULLUP); pinMode(8, INPUT_PULLUP); } void loop() { if (!digitalRead(2)) { if (!sent) { Serial.println("On"); } sent = true; } else if (!digitalRead(3)) { if (!sent) { Serial.println("Off"); } sent = true; } else if (!digitalRead(4)) { if (!sent) { Serial.println("Shutdown"); } sent = true; } else if (!digitalRead(5)) { if (!sent) { Serial.println("Kinect"); } sent = true; } else if (!digitalRead(6)) { if (!sent) { Serial.println("Projector"); } sent = true; } else if (!digitalRead(7)) { if (!sent) { Serial.println("Capture"); } sent = true; } else if (!digitalRead(8)) { if (!sent) { Serial.println("ResetBG"); } sent = true; } else { sent = false; } delay(10); }
[ "hejohnson@wpi.edu" ]
hejohnson@wpi.edu
e885ebf559eace8d1269712c0bf3909d41aede0c
cb7b1d3ffbf4941063aafbb89d5155df9106db4d
/LibreSTR/gui/MultiSelectionPanel.cpp
541b4b1286bddf7df0b14d89f84c53dd271e1033
[ "MIT" ]
permissive
jordsti/LibreSTR
153cd44fac93612691399a4fac1b2018c597fba6
f3ad913d333663211aa55379494aac6c898e079e
refs/heads/master
2020-06-05T00:54:11.197107
2015-05-15T20:49:46
2015-05-15T20:49:46
24,216,449
2
0
null
null
null
null
UTF-8
C++
false
false
936
cpp
#include "MultiSelectionPanel.h" #include "GamePath.h" using namespace StiGame; using namespace Gui; MultiSelectionPanel::MultiSelectionPanel() : Item("MultiSelectionPanel") { height = 120; width = 200; assets = nullptr; } MultiSelectionPanel::~MultiSelectionPanel() { } StiGame::Surface* MultiSelectionPanel::render(void) { //todo Surface *buffer = new Surface(width, height); buffer->fill(background); return buffer; } void MultiSelectionPanel::setAssets(AssetManager *m_assets) { assets = m_assets; //loading icon GroundUnitIdentity *worker = assets->getWorkerIdentity(); Surface *icon = new Surface(GamePath::getFilepath(AssetRoot, worker->getIcon())); unitIcons.insert(std::make_pair(worker->getName(), icon)); } void MultiSelectionPanel::clearSelection(void) { units.clear(); } void MultiSelectionPanel::addGroundUnit(GroundUnit *unit) { units.push_back(unit); }
[ "jord52@gmail.com" ]
jord52@gmail.com
96fb1bfbff9943abe7367cc0f8257a9f463b5a92
171339d3be07a40f906cf1096a99c5e4704d6465
/Visualization/Source/Turtle.cpp
9743c283c099542436c68d07444c3985d7b0da85
[]
no_license
ArnoldNunez/ArduinoCar
e3bba24268a0c4388604f727f116dab2aac2810f
157762f2e20d54ec5cfed5c4674ee70c2bbf846d
refs/heads/master
2023-02-11T18:06:12.329360
2021-01-10T00:03:20
2021-01-10T00:03:20
286,122,574
0
0
null
null
null
null
UTF-8
C++
false
false
169
cpp
#include "..\Header\Turtle.h" using namespace ArduinoCar_Visualization; Turtle::Turtle() { } Turtle::~Turtle() { } void Turtle::Draw(SpriteRenderer& renderer) { }
[ "nunezarn@msu.edu" ]
nunezarn@msu.edu
60341881138af6fba37ebdae44e320d6fe63707b
96e7347db30d3ae35f2df119a18472cf5b251fa2
/Classes/Native/System_System_Text_RegularExpressions_Syntax_Parse2484350393.h
b8fed871395ebd074f9c0774673e879fd3b96571
[]
no_license
Henry0285/abcwriting
04b111887489d9255fd2697a4ea8d9971dc17d89
ed2e4da72fbbad85d9e0e9d912e73ddd33bc91ec
refs/heads/master
2021-01-20T14:16:48.025648
2017-05-08T06:00:06
2017-05-08T06:00:06
90,583,162
0
0
null
null
null
null
UTF-8
C++
false
false
3,460
h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> // System.String struct String_t; // System.Collections.ArrayList struct ArrayList_t1468494371; // System.Collections.Hashtable struct Hashtable_t1312997718; #include "mscorlib_System_Object707969140.h" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Text.RegularExpressions.Syntax.Parser struct Parser_t2484350393 : public Il2CppObject { public: // System.String System.Text.RegularExpressions.Syntax.Parser::pattern String_t* ___pattern_0; // System.Int32 System.Text.RegularExpressions.Syntax.Parser::ptr int32_t ___ptr_1; // System.Collections.ArrayList System.Text.RegularExpressions.Syntax.Parser::caps ArrayList_t1468494371 * ___caps_2; // System.Collections.Hashtable System.Text.RegularExpressions.Syntax.Parser::refs Hashtable_t1312997718 * ___refs_3; // System.Int32 System.Text.RegularExpressions.Syntax.Parser::num_groups int32_t ___num_groups_4; // System.Int32 System.Text.RegularExpressions.Syntax.Parser::gap int32_t ___gap_5; public: inline static int32_t get_offset_of_pattern_0() { return static_cast<int32_t>(offsetof(Parser_t2484350393, ___pattern_0)); } inline String_t* get_pattern_0() const { return ___pattern_0; } inline String_t** get_address_of_pattern_0() { return &___pattern_0; } inline void set_pattern_0(String_t* value) { ___pattern_0 = value; Il2CppCodeGenWriteBarrier(&___pattern_0, value); } inline static int32_t get_offset_of_ptr_1() { return static_cast<int32_t>(offsetof(Parser_t2484350393, ___ptr_1)); } inline int32_t get_ptr_1() const { return ___ptr_1; } inline int32_t* get_address_of_ptr_1() { return &___ptr_1; } inline void set_ptr_1(int32_t value) { ___ptr_1 = value; } inline static int32_t get_offset_of_caps_2() { return static_cast<int32_t>(offsetof(Parser_t2484350393, ___caps_2)); } inline ArrayList_t1468494371 * get_caps_2() const { return ___caps_2; } inline ArrayList_t1468494371 ** get_address_of_caps_2() { return &___caps_2; } inline void set_caps_2(ArrayList_t1468494371 * value) { ___caps_2 = value; Il2CppCodeGenWriteBarrier(&___caps_2, value); } inline static int32_t get_offset_of_refs_3() { return static_cast<int32_t>(offsetof(Parser_t2484350393, ___refs_3)); } inline Hashtable_t1312997718 * get_refs_3() const { return ___refs_3; } inline Hashtable_t1312997718 ** get_address_of_refs_3() { return &___refs_3; } inline void set_refs_3(Hashtable_t1312997718 * value) { ___refs_3 = value; Il2CppCodeGenWriteBarrier(&___refs_3, value); } inline static int32_t get_offset_of_num_groups_4() { return static_cast<int32_t>(offsetof(Parser_t2484350393, ___num_groups_4)); } inline int32_t get_num_groups_4() const { return ___num_groups_4; } inline int32_t* get_address_of_num_groups_4() { return &___num_groups_4; } inline void set_num_groups_4(int32_t value) { ___num_groups_4 = value; } inline static int32_t get_offset_of_gap_5() { return static_cast<int32_t>(offsetof(Parser_t2484350393, ___gap_5)); } inline int32_t get_gap_5() const { return ___gap_5; } inline int32_t* get_address_of_gap_5() { return &___gap_5; } inline void set_gap_5(int32_t value) { ___gap_5 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif
[ "phamnguyentruc@yahoo.com" ]
phamnguyentruc@yahoo.com
0a2df7fb5abf1ab1977d7e8b9edb69e654a381e4
49a6a01ca6db3590d6a6f07af3e5572023082ff9
/GameProperties.h
381a9cdedbd44d34183c005f78ab6537895051ce
[]
no_license
RaduSoare/Skyroads
4c7f845116bb7c6786cbaf40e09125b87a10f23f
875c785334748ccdf6e9515d0fa7ffb59d14f207
refs/heads/main
2023-01-22T20:43:23.557814
2020-12-06T18:30:33
2020-12-06T18:30:33
317,346,080
0
0
null
null
null
null
UTF-8
C++
false
false
1,653
h
#pragma once #include "Platform.h" using namespace std; bool endGame = false; float endGameGravity = 0; float cameraSpeed = 2.0f; float jumpSpeed = 1.5f; float airTime = 0; glm::vec3 redColor = glm::vec3(1, 0, 0); glm::vec3 orangeColor = glm::vec3(1, 0.65f, 0); glm::vec3 yellowColor = glm::vec3(1, 1, 0); glm::vec3 greenColor = glm::vec3(0, 1, 0); glm::vec3 purpleColor = glm::vec3(0.5f, 0, 0.5f); glm::vec3 blueColor = glm::vec3(0, 0, 1.f); glm::vec3 whiteColor = glm::vec3(1.f, 1.f, 1.f); const char* str_rPlatform = "redPlatform"; const char* str_yPlatform = "yellowPlatform"; const char* str_oPlatform = "orangePlatform"; const char* str_gPlatform = "greenPlatform"; const char* str_pPlatform = "purplePlatform"; const char* str_bPlatform = "bluePlatform"; const char* str_backgroundFuelbar = "backgroundFuelbar"; const char* str_foregroundFuelbar = "foregroundFuelbar"; float xCameraInitial = 0, yCameraInitial = 2, zCameraInitial = 3.5f; float xCamera = 0, yCamera = 0, zCamera = 0; float xPlayerInitial, yPlayerInitial, zPlayerInitial; float xPlayer, yPlayer, zPlayer; float angularSpeedPlayer = 0; bool goingUp = false, goingDown = false; const int platformsNumberPerRow = 10; float platformSpeed = 4.f; Platform** platforms; int minPlatformLength = 3; int maxPlatformLength = 6; float spaceBetweenPlatform = 2.f; float platformWidth = 1.f; int xCenterPlatforms = 0; int xLeftPlatforms = -1; int xRightPlatforms = 1; int numberOfPlatformsRows = 5; float fuel = 100; float fuelConsumption = 5.f; float fuelLostOnYellow = 10.f; float fuelGainedOnGreen = 20.f; float orangeEffectActive = false; float orangeEffectDuration = 30.f;
[ "radu.soare23@yahoo.com" ]
radu.soare23@yahoo.com
4bba37086abe6df7c931581f74ad0fa52e62c20c
62875284d29806edb7beb27190b373d37d9a5722
/src/archive/types/binary.cpp
1deda519cb1c19f996f4078a92ea3c81d4799fe5
[]
no_license
AyoubOuarrak/Kairos
826d397384130f0dda1712bc7fe7db0f63a9567b
a1b52bef7de03a8d20b809a4d68e06685ad7910f
refs/heads/master
2020-05-29T18:49:25.330393
2016-10-25T16:02:03
2016-10-25T16:02:03
53,171,474
7
0
null
null
null
null
UTF-8
C++
false
false
2,805
cpp
#include "../../../include/floating_point.h" #include <iostream> #include <archive.h> #include <types/binary.h> namespace kairos { namespace archive { /** * Default construct of the text archive */ BinaryArchive::BinaryArchive() : Archive() { } /** * Constructor that open an input archive with the given fileName */ BinaryArchive::BinaryArchive(std::string fileName) : Archive(fileName) { openInStream(fileName, std::ios::in | std::ios::binary); } /** * Read sz bytes from the archive */ void BinaryArchive::get(char* p, std::size_t sz) { inStream.read(p, sz); } /** * Write sz bytes to the archive */ void BinaryArchive::put(char* p, std::size_t sz) { outStream.write(p, sz); } /** * Put int in the Binary archive */ void BinaryArchive::put(int src) { put((char*)&src, sizeof(src)); } /** * Put long in the Binary archive */ void BinaryArchive::put(long src) { put((char*)&src, sizeof(src)); } /** * Put long long in the Binary archive */ void BinaryArchive::put(long long src) { put((char*)&src, sizeof(src)); } /** * Put double in the Binary archive */ void BinaryArchive::put(double src) { uint64_t buffer = to_uint64(src); put((char*)&buffer, sizeof(buffer)); } /** * Put float from archive */ void BinaryArchive::put(float src) { uint32_t buffer = to_uint32(src); put((char*)&buffer, sizeof(buffer)); } /** * Put char in the Binary archive */ void BinaryArchive::put(char src) { outStream.write(&src, sizeof(char)); } /** * Put string in the Binary archive */ void BinaryArchive::put(std::string src) { put((char*)&src, sizeof(src)); } /** * Put bool in the Binary archive */ void BinaryArchive::put(bool src) { put((char*)&src, sizeof(src)); } /** * Get int from the archive */ void BinaryArchive::get(int& dst) { get((char*)dst, sizeof(dst)); } /** * Get long from the archive */ void BinaryArchive::get(long& dst) { get((char*)dst, sizeof(dst)); } /** * Get long long from the archive */ void BinaryArchive::get(long long& dst) { get((char*)dst, sizeof(dst)); } /** * Get double from the archive */ void BinaryArchive::get(double& dst) { uint64_t buffer; get((char*)&buffer, sizeof(dst)); dst = from_uint64((uint64_t)buffer); } /** * Get float from archive */ void BinaryArchive::get(float& dst) { uint32_t buffer; get((char*)&buffer, sizeof(buffer)); dst = from_uint32((uint32_t)buffer); } /** * Get bool from the archive */ void BinaryArchive::get(bool& dst) { get((char*)dst, sizeof(dst)); } /** * Get bool from the archive */ void BinaryArchive::get(char& dst) { inStream.read(&dst, sizeof(char)); } /** * Get string from the archive */ void BinaryArchive::get(std::string& dst) { get((char*)dst.c_str(), sizeof(dst)); } } }
[ "andreyvondorcon@gmail.com" ]
andreyvondorcon@gmail.com
83c6d0442b003cdd4c84129f2448794c4ae4013d
bd1fea86d862456a2ec9f56d57f8948456d55ee6
/000/096/233/CWE36_Absolute_Path_Traversal__char_environment_w32CreateFile_34.cpp
e2c112a48c26ada1a200eefc4254c19f5ec93411
[]
no_license
CU-0xff/juliet-cpp
d62b8485104d8a9160f29213368324c946f38274
d8586a217bc94cbcfeeec5d39b12d02e9c6045a2
refs/heads/master
2021-03-07T15:44:19.446957
2020-03-10T12:45:40
2020-03-10T12:45:40
246,275,244
0
1
null
null
null
null
UTF-8
C++
false
false
4,143
cpp
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE36_Absolute_Path_Traversal__char_environment_w32CreateFile_34.cpp Label Definition File: CWE36_Absolute_Path_Traversal.label.xml Template File: sources-sink-34.tmpl.cpp */ /* * @description * CWE: 36 Absolute Path Traversal * BadSource: environment Read input from an environment variable * GoodSource: Full path and file name * Sinks: w32CreateFile * BadSink : Open the file named in data using CreateFile() * Flow Variant: 34 Data flow: use of a union containing two methods of accessing the same data (within the same function) * * */ #include "std_testcase.h" #ifndef _WIN32 #include <wchar.h> #endif #define ENV_VARIABLE "ADD" #ifdef _WIN32 #define GETENV getenv #else #define GETENV getenv #endif #include <windows.h> namespace CWE36_Absolute_Path_Traversal__char_environment_w32CreateFile_34 { typedef union { char * unionFirst; char * unionSecond; } unionType; #ifndef OMITBAD void bad() { char * data; unionType myUnion; char dataBuffer[FILENAME_MAX] = ""; data = dataBuffer; { /* Append input from an environment variable to data */ size_t dataLen = strlen(data); char * environment = GETENV(ENV_VARIABLE); /* If there is data in the environment variable */ if (environment != NULL) { /* POTENTIAL FLAW: Read data from an environment variable */ strncat(data+dataLen, environment, FILENAME_MAX-dataLen-1); } } myUnion.unionFirst = data; { char * data = myUnion.unionSecond; { HANDLE hFile; /* POTENTIAL FLAW: Possibly creating and opening a file without validating the file name or path */ hFile = CreateFileA(data, (GENERIC_WRITE|GENERIC_READ), 0, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); if (hFile != INVALID_HANDLE_VALUE) { CloseHandle(hFile); } } } } #endif /* OMITBAD */ #ifndef OMITGOOD /* goodG2B() uses the GoodSource with the BadSink */ static void goodG2B() { char * data; unionType myUnion; char dataBuffer[FILENAME_MAX] = ""; data = dataBuffer; #ifdef _WIN32 /* FIX: Use a fixed, full path and file name */ strcat(data, "c:\\temp\\file.txt"); #else /* FIX: Use a fixed, full path and file name */ strcat(data, "/tmp/file.txt"); #endif myUnion.unionFirst = data; { char * data = myUnion.unionSecond; { HANDLE hFile; /* POTENTIAL FLAW: Possibly creating and opening a file without validating the file name or path */ hFile = CreateFileA(data, (GENERIC_WRITE|GENERIC_READ), 0, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); if (hFile != INVALID_HANDLE_VALUE) { CloseHandle(hFile); } } } } void good() { goodG2B(); } #endif /* OMITGOOD */ } /* close namespace */ /* Below is the main(). It is only used when building this testcase on its own for testing or for building a binary to use in testing binary analysis tools. It is not used when compiling all the testcases as one application, which is how source code analysis tools are tested. */ #ifdef INCLUDEMAIN using namespace CWE36_Absolute_Path_Traversal__char_environment_w32CreateFile_34; /* so that we can use good and bad easily */ int main(int argc, char * argv[]) { /* seed randomness */ srand( (unsigned)time(NULL) ); #ifndef OMITGOOD printLine("Calling good()..."); good(); printLine("Finished good()"); #endif /* OMITGOOD */ #ifndef OMITBAD printLine("Calling bad()..."); bad(); printLine("Finished bad()"); #endif /* OMITBAD */ return 0; } #endif
[ "frank@fischer.com.mt" ]
frank@fischer.com.mt
7c6314bb7886236f05eb86e9b07867b1e31d2d8e
a11aa0a45ffd68ba87e9381c2615d08fc31b3f51
/Atlas Engine/Source/Shared/S_Vendor/S_Bullet/BulletCollision/CollisionDispatch/btCollisionObject.h
4406a200f3f934f97ab69db1a37339cf3c5a328c
[]
no_license
YanniSperon/Atlas-Engine
7e2c17ddd84cdb0800054ec24f64e3cd67fd62d4
b6f12e445e8342c2c5625d023a7fca8e253d78a5
refs/heads/master
2023-01-31T01:40:34.648755
2020-12-07T10:58:57
2020-12-07T10:58:57
277,727,067
0
0
null
null
null
null
UTF-8
C++
false
false
18,456
h
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/ This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #ifndef BT_COLLISION_OBJECT_H #define BT_COLLISION_OBJECT_H #include "Shared/S_Vendor/S_Bullet/LinearMath/btTransform.h" //island management, m_activationState1 #define ACTIVE_TAG 1 #define ISLAND_SLEEPING 2 #define WANTS_DEACTIVATION 3 #define DISABLE_DEACTIVATION 4 #define DISABLE_SIMULATION 5 struct btBroadphaseProxy; class btCollisionShape; struct btCollisionShapeData; #include "Shared/S_Vendor/S_Bullet/LinearMath/btMotionState.h" #include "Shared/S_Vendor/S_Bullet/LinearMath/btAlignedAllocator.h" #include "Shared/S_Vendor/S_Bullet/LinearMath/btAlignedObjectArray.h" typedef btAlignedObjectArray<class btCollisionObject*> btCollisionObjectArray; #ifdef BT_USE_DOUBLE_PRECISION #define btCollisionObjectData btCollisionObjectDoubleData #define btCollisionObjectDataName "btCollisionObjectDoubleData" #else #define btCollisionObjectData btCollisionObjectFloatData #define btCollisionObjectDataName "btCollisionObjectFloatData" #endif /// btCollisionObject can be used to manage collision detection objects. /// btCollisionObject maintains all information that is needed for a collision detection: Shape, Transform and AABB proxy. /// They can be added to the btCollisionWorld. ATTRIBUTE_ALIGNED16(class) btCollisionObject { protected: btTransform m_worldTransform; ///m_interpolationWorldTransform is used for CCD and interpolation ///it can be either previous or future (predicted) transform btTransform m_interpolationWorldTransform; //those two are experimental: just added for bullet time effect, so you can still apply impulses (directly modifying velocities) //without destroying the continuous interpolated motion (which uses this interpolation velocities) btVector3 m_interpolationLinearVelocity; btVector3 m_interpolationAngularVelocity; btVector3 m_anisotropicFriction; int m_hasAnisotropicFriction; btScalar m_contactProcessingThreshold; btBroadphaseProxy* m_broadphaseHandle; btCollisionShape* m_collisionShape; ///m_extensionPointer is used by some internal low-level Bullet extensions. void* m_extensionPointer; ///m_rootCollisionShape is temporarily used to store the original collision shape ///The m_collisionShape might be temporarily replaced by a child collision shape during collision detection purposes ///If it is nullptr, the m_collisionShape is not temporarily replaced. btCollisionShape* m_rootCollisionShape; int m_collisionFlags; int m_islandTag1; int m_companionId; int m_worldArrayIndex; // index of object in world's collisionObjects array mutable int m_activationState1; mutable btScalar m_deactivationTime; btScalar m_friction; btScalar m_restitution; btScalar m_rollingFriction; //torsional friction orthogonal to contact normal (useful to stop spheres rolling forever) btScalar m_spinningFriction; // torsional friction around the contact normal (useful for grasping) btScalar m_contactDamping; btScalar m_contactStiffness; ///m_internalType is reserved to distinguish Bullet's btCollisionObject, btRigidBody, btSoftBody, btGhostObject etc. ///do not assign your own m_internalType unless you write a new dynamics object class. int m_internalType; ///users can point to their objects, m_userPointer is not used by Bullet, see setUserPointer/getUserPointer void* m_userObjectPointer; int m_userIndex2; int m_userIndex; ///time of impact calculation btScalar m_hitFraction; ///Swept sphere radius (0.0 by default), see btConvexConvexAlgorithm:: btScalar m_ccdSweptSphereRadius; /// Don't do continuous collision detection if the motion (in one step) is less then m_ccdMotionThreshold btScalar m_ccdMotionThreshold; /// If some object should have elaborate collision filtering by sub-classes int m_checkCollideWith; btAlignedObjectArray<const btCollisionObject*> m_objectsWithoutCollisionCheck; ///internal update revision number. It will be increased when the object changes. This allows some subsystems to perform lazy evaluation. int m_updateRevision; btVector3 m_customDebugColorRGB; public: BT_DECLARE_ALIGNED_ALLOCATOR(); enum CollisionFlags { CF_STATIC_OBJECT = 1, CF_KINEMATIC_OBJECT = 2, CF_NO_CONTACT_RESPONSE = 4, CF_CUSTOM_MATERIAL_CALLBACK = 8, //this allows per-triangle material (friction/restitution) CF_CHARACTER_OBJECT = 16, CF_DISABLE_VISUALIZE_OBJECT = 32, //disable debug drawing CF_DISABLE_SPU_COLLISION_PROCESSING = 64, //disable parallel/SPU processing CF_HAS_CONTACT_STIFFNESS_DAMPING = 128, CF_HAS_CUSTOM_DEBUG_RENDERING_COLOR = 256, CF_HAS_FRICTION_ANCHOR = 512, CF_HAS_COLLISION_SOUND_TRIGGER = 1024 }; enum CollisionObjectTypes { CO_COLLISION_OBJECT = 1, CO_RIGID_BODY = 2, ///CO_GHOST_OBJECT keeps track of all objects overlapping its AABB and that pass its collision filter ///It is useful for collision sensors, explosion objects, character controller etc. CO_GHOST_OBJECT = 4, CO_SOFT_BODY = 8, CO_HF_FLUID = 16, CO_USER_TYPE = 32, CO_FEATHERSTONE_LINK = 64 }; enum AnisotropicFrictionFlags { CF_ANISOTROPIC_FRICTION_DISABLED = 0, CF_ANISOTROPIC_FRICTION = 1, CF_ANISOTROPIC_ROLLING_FRICTION = 2 }; SIMD_FORCE_INLINE bool mergesSimulationIslands() const { ///static objects, kinematic and object without contact response don't merge islands return ((m_collisionFlags & (CF_STATIC_OBJECT | CF_KINEMATIC_OBJECT | CF_NO_CONTACT_RESPONSE)) == 0); } const btVector3& getAnisotropicFriction() const { return m_anisotropicFriction; } void setAnisotropicFriction(const btVector3& anisotropicFriction, int frictionMode = CF_ANISOTROPIC_FRICTION) { m_anisotropicFriction = anisotropicFriction; bool isUnity = (anisotropicFriction[0] != 1.f) || (anisotropicFriction[1] != 1.f) || (anisotropicFriction[2] != 1.f); m_hasAnisotropicFriction = isUnity ? frictionMode : 0; } bool hasAnisotropicFriction(int frictionMode = CF_ANISOTROPIC_FRICTION) const { return (m_hasAnisotropicFriction & frictionMode) != 0; } ///the constraint solver can discard solving contacts, if the distance is above this threshold. 0 by default. ///Note that using contacts with positive distance can improve stability. It increases, however, the chance of colliding with degerate contacts, such as 'interior' triangle edges void setContactProcessingThreshold(btScalar contactProcessingThreshold) { m_contactProcessingThreshold = contactProcessingThreshold; } btScalar getContactProcessingThreshold() const { return m_contactProcessingThreshold; } SIMD_FORCE_INLINE bool isStaticObject() const { return (m_collisionFlags & CF_STATIC_OBJECT) != 0; } SIMD_FORCE_INLINE bool isKinematicObject() const { return (m_collisionFlags & CF_KINEMATIC_OBJECT) != 0; } SIMD_FORCE_INLINE bool isStaticOrKinematicObject() const { return (m_collisionFlags & (CF_KINEMATIC_OBJECT | CF_STATIC_OBJECT)) != 0; } SIMD_FORCE_INLINE bool hasContactResponse() const { return (m_collisionFlags & CF_NO_CONTACT_RESPONSE) == 0; } btCollisionObject(); virtual ~btCollisionObject(); virtual void setCollisionShape(btCollisionShape * collisionShape) { m_updateRevision++; m_collisionShape = collisionShape; m_rootCollisionShape = collisionShape; } SIMD_FORCE_INLINE const btCollisionShape* getCollisionShape() const { return m_collisionShape; } SIMD_FORCE_INLINE btCollisionShape* getCollisionShape() { return m_collisionShape; } void setIgnoreCollisionCheck(const btCollisionObject* co, bool ignoreCollisionCheck) { if (ignoreCollisionCheck) { //We don't check for duplicates. Is it ok to leave that up to the user of this API? //int index = m_objectsWithoutCollisionCheck.findLinearSearch(co); //if (index == m_objectsWithoutCollisionCheck.size()) //{ m_objectsWithoutCollisionCheck.push_back(co); //} } else { m_objectsWithoutCollisionCheck.remove(co); } m_checkCollideWith = m_objectsWithoutCollisionCheck.size() > 0; } virtual bool checkCollideWithOverride(const btCollisionObject* co) const { int index = m_objectsWithoutCollisionCheck.findLinearSearch(co); if (index < m_objectsWithoutCollisionCheck.size()) { return false; } return true; } ///Avoid using this internal API call, the extension pointer is used by some Bullet extensions. ///If you need to store your own user pointer, use 'setUserPointer/getUserPointer' instead. void* internalGetExtensionPointer() const { return m_extensionPointer; } ///Avoid using this internal API call, the extension pointer is used by some Bullet extensions ///If you need to store your own user pointer, use 'setUserPointer/getUserPointer' instead. void internalSetExtensionPointer(void* pointer) { m_extensionPointer = pointer; } SIMD_FORCE_INLINE int getActivationState() const { return m_activationState1; } void setActivationState(int newState) const; void setDeactivationTime(btScalar time) { m_deactivationTime = time; } btScalar getDeactivationTime() const { return m_deactivationTime; } void forceActivationState(int newState) const; void activate(bool forceActivation = false) const; SIMD_FORCE_INLINE bool isActive() const { return ((getActivationState() != ISLAND_SLEEPING) && (getActivationState() != DISABLE_SIMULATION)); } void setRestitution(btScalar rest) { m_updateRevision++; m_restitution = rest; } btScalar getRestitution() const { return m_restitution; } void setFriction(btScalar frict) { m_updateRevision++; m_friction = frict; } btScalar getFriction() const { return m_friction; } void setRollingFriction(btScalar frict) { m_updateRevision++; m_rollingFriction = frict; } btScalar getRollingFriction() const { return m_rollingFriction; } void setSpinningFriction(btScalar frict) { m_updateRevision++; m_spinningFriction = frict; } btScalar getSpinningFriction() const { return m_spinningFriction; } void setContactStiffnessAndDamping(btScalar stiffness, btScalar damping) { m_updateRevision++; m_contactStiffness = stiffness; m_contactDamping = damping; m_collisionFlags |= CF_HAS_CONTACT_STIFFNESS_DAMPING; //avoid divisions by zero... if (m_contactStiffness < SIMD_EPSILON) { m_contactStiffness = SIMD_EPSILON; } } btScalar getContactStiffness() const { return m_contactStiffness; } btScalar getContactDamping() const { return m_contactDamping; } ///reserved for Bullet internal usage int getInternalType() const { return m_internalType; } btTransform& getWorldTransform() { return m_worldTransform; } const btTransform& getWorldTransform() const { return m_worldTransform; } void setWorldTransform(const btTransform& worldTrans) { m_updateRevision++; m_worldTransform = worldTrans; } SIMD_FORCE_INLINE btBroadphaseProxy* getBroadphaseHandle() { return m_broadphaseHandle; } SIMD_FORCE_INLINE const btBroadphaseProxy* getBroadphaseHandle() const { return m_broadphaseHandle; } void setBroadphaseHandle(btBroadphaseProxy * handle) { m_broadphaseHandle = handle; } const btTransform& getInterpolationWorldTransform() const { return m_interpolationWorldTransform; } btTransform& getInterpolationWorldTransform() { return m_interpolationWorldTransform; } void setInterpolationWorldTransform(const btTransform& trans) { m_updateRevision++; m_interpolationWorldTransform = trans; } void setInterpolationLinearVelocity(const btVector3& linvel) { m_updateRevision++; m_interpolationLinearVelocity = linvel; } void setInterpolationAngularVelocity(const btVector3& angvel) { m_updateRevision++; m_interpolationAngularVelocity = angvel; } const btVector3& getInterpolationLinearVelocity() const { return m_interpolationLinearVelocity; } const btVector3& getInterpolationAngularVelocity() const { return m_interpolationAngularVelocity; } SIMD_FORCE_INLINE int getIslandTag() const { return m_islandTag1; } void setIslandTag(int tag) { m_islandTag1 = tag; } SIMD_FORCE_INLINE int getCompanionId() const { return m_companionId; } void setCompanionId(int id) { m_companionId = id; } SIMD_FORCE_INLINE int getWorldArrayIndex() const { return m_worldArrayIndex; } // only should be called by CollisionWorld void setWorldArrayIndex(int ix) { m_worldArrayIndex = ix; } SIMD_FORCE_INLINE btScalar getHitFraction() const { return m_hitFraction; } void setHitFraction(btScalar hitFraction) { m_hitFraction = hitFraction; } SIMD_FORCE_INLINE int getCollisionFlags() const { return m_collisionFlags; } void setCollisionFlags(int flags) { m_collisionFlags = flags; } ///Swept sphere radius (0.0 by default), see btConvexConvexAlgorithm:: btScalar getCcdSweptSphereRadius() const { return m_ccdSweptSphereRadius; } ///Swept sphere radius (0.0 by default), see btConvexConvexAlgorithm:: void setCcdSweptSphereRadius(btScalar radius) { m_ccdSweptSphereRadius = radius; } btScalar getCcdMotionThreshold() const { return m_ccdMotionThreshold; } btScalar getCcdSquareMotionThreshold() const { return m_ccdMotionThreshold * m_ccdMotionThreshold; } /// Don't do continuous collision detection if the motion (in one step) is less then m_ccdMotionThreshold void setCcdMotionThreshold(btScalar ccdMotionThreshold) { m_ccdMotionThreshold = ccdMotionThreshold; } ///users can point to their objects, userPointer is not used by Bullet void* getUserPointer() const { return m_userObjectPointer; } int getUserIndex() const { return m_userIndex; } int getUserIndex2() const { return m_userIndex2; } ///users can point to their objects, userPointer is not used by Bullet void setUserPointer(void* userPointer) { m_userObjectPointer = userPointer; } ///users can point to their objects, userPointer is not used by Bullet void setUserIndex(int index) { m_userIndex = index; } void setUserIndex2(int index) { m_userIndex2 = index; } int getUpdateRevisionInternal() const { return m_updateRevision; } void setCustomDebugColor(const btVector3& colorRGB) { m_customDebugColorRGB = colorRGB; m_collisionFlags |= CF_HAS_CUSTOM_DEBUG_RENDERING_COLOR; } void removeCustomDebugColor() { m_collisionFlags &= ~CF_HAS_CUSTOM_DEBUG_RENDERING_COLOR; } bool getCustomDebugColor(btVector3 & colorRGB) const { bool hasCustomColor = (0 != (m_collisionFlags & CF_HAS_CUSTOM_DEBUG_RENDERING_COLOR)); if (hasCustomColor) { colorRGB = m_customDebugColorRGB; } return hasCustomColor; } inline bool checkCollideWith(const btCollisionObject* co) const { if (m_checkCollideWith) return checkCollideWithOverride(co); return true; } virtual int calculateSerializeBufferSize() const; ///fills the dataBuffer and returns the struct name (and 0 on failure) virtual const char* serialize(void* dataBuffer, class btSerializer* serializer) const; virtual void serializeSingleObject(class btSerializer * serializer) const; }; // clang-format off ///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 struct btCollisionObjectDoubleData { void *m_broadphaseHandle; void *m_collisionShape; btCollisionShapeData *m_rootCollisionShape; char *m_name; btTransformDoubleData m_worldTransform; btTransformDoubleData m_interpolationWorldTransform; btVector3DoubleData m_interpolationLinearVelocity; btVector3DoubleData m_interpolationAngularVelocity; btVector3DoubleData m_anisotropicFriction; double m_contactProcessingThreshold; double m_deactivationTime; double m_friction; double m_rollingFriction; double m_contactDamping; double m_contactStiffness; double m_restitution; double m_hitFraction; double m_ccdSweptSphereRadius; double m_ccdMotionThreshold; int m_hasAnisotropicFriction; int m_collisionFlags; int m_islandTag1; int m_companionId; int m_activationState1; int m_internalType; int m_checkCollideWith; int m_collisionFilterGroup; int m_collisionFilterMask; int m_uniqueId;//m_uniqueId is introduced for paircache. could get rid of this, by calculating the address offset etc. }; ///do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64 struct btCollisionObjectFloatData { void *m_broadphaseHandle; void *m_collisionShape; btCollisionShapeData *m_rootCollisionShape; char *m_name; btTransformFloatData m_worldTransform; btTransformFloatData m_interpolationWorldTransform; btVector3FloatData m_interpolationLinearVelocity; btVector3FloatData m_interpolationAngularVelocity; btVector3FloatData m_anisotropicFriction; float m_contactProcessingThreshold; float m_deactivationTime; float m_friction; float m_rollingFriction; float m_contactDamping; float m_contactStiffness; float m_restitution; float m_hitFraction; float m_ccdSweptSphereRadius; float m_ccdMotionThreshold; int m_hasAnisotropicFriction; int m_collisionFlags; int m_islandTag1; int m_companionId; int m_activationState1; int m_internalType; int m_checkCollideWith; int m_collisionFilterGroup; int m_collisionFilterMask; int m_uniqueId; }; // clang-format on SIMD_FORCE_INLINE int btCollisionObject::calculateSerializeBufferSize() const { return sizeof(btCollisionObjectData); } #endif //BT_COLLISION_OBJECT_H
[ "yannisperon@gmail.com" ]
yannisperon@gmail.com
203bdab2c6ff2834f9509ca84968b9f367b1f0d6
71428f7dafeb6ea3722b2fff76645e66fa7a2920
/src/cpp/runtime/provider/predicate/EqualityPredicateProvider.h
76c187f6cb69a4b4e5c63158f84166dc8cec3a68
[ "Apache-2.0", "BSL-1.0" ]
permissive
codeaudit/myriad-toolkit
586928d3c698f61c1c69d547ae8eb02bc88da78b
5f7610e10b11e05591d6e2dc030c3ca5dc2a90b4
refs/heads/master
2021-01-18T11:01:34.068795
2014-10-28T15:12:41
2014-10-28T15:12:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,487
h
/* * Copyright 2010-2013 DIMA Research Group, TU Berlin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ #ifndef EQUALITYPREDICATEPROVIDER_H_ #define EQUALITYPREDICATEPROVIDER_H_ #include "runtime/provider/predicate/EqualityPredicateFieldBinder.h" using namespace Poco; namespace Myriad { /** * @addtogroup runtime_provider_predicate * @{*/ /** * A provider for equality predicates. * * This implementation uses between one and four field binders, which are * applied in turn to bind the corresponding fields to the equality predicate * associated with the \p RecordType template type. * * @author: Alexander Alexandrov <alexander.alexandrov@tu-berlin.de> */ template<class RecordType, class CxtRecordType> class EqualityPredicateProvider { public: /** * The type of the abstract field binder for the current \p RecordType, * \p CxtRecordType pair. */ typedef AbstractFieldBinder<RecordType, CxtRecordType> AbstractBinderType; /** * An alias of the factory type associated with the current \p RecordType. */ typedef typename RecordTraits<RecordType>::FactoryType RecordFactoryType; /** * An alias of the equality predicate for the current \p RecordType. */ typedef EqualityPredicate<RecordType> EqualityPredicateType; /** * Constructor. * * @param recordFactory A recordFactory instance required by the * EqualityPredicateType constructor. * @param b1 A field binder to be applied when constructing the predicate. */ EqualityPredicateProvider(const RecordFactoryType& recordFactory, AbstractBinderType& b1) : _predicate(recordFactory), _bindersSize(1), _binders(new AbstractBinderType*[_bindersSize]) { _binders[0] = &b1; } /** * Constructor. * * @param recordFactory A recordFactory instance required by the * EqualityPredicateType constructor. * @param b1 A field binder to be applied when constructing the predicate. * @param b2 A field binder to be applied when constructing the predicate. */ EqualityPredicateProvider(const RecordFactoryType& recordFactory, AbstractBinderType& b1, AbstractBinderType& b2) : _predicate(recordFactory), _bindersSize(2), _binders(new AbstractBinderType*[_bindersSize]) { _binders[0] = &b1; _binders[1] = &b2; } /** * Constructor. * * @param recordFactory A recordFactory instance required by the * EqualityPredicateType constructor. * @param b1 A field binder to be applied when constructing the predicate. * @param b2 A field binder to be applied when constructing the predicate. * @param b3 A field binder to be applied when constructing the predicate. */ EqualityPredicateProvider(const RecordFactoryType& recordFactory, AbstractBinderType& b1, AbstractBinderType& b2, AbstractBinderType& b3) : _predicate(recordFactory), _bindersSize(3), _binders(new AbstractBinderType*[_bindersSize]) { _binders[0] = &b1; _binders[1] = &b2; _binders[2] = &b3; } /** * Constructor. * * @param recordFactory A recordFactory instance required by the * EqualityPredicateType constructor. * @param b1 A field binder to be applied when constructing the predicate. * @param b2 A field binder to be applied when constructing the predicate. * @param b3 A field binder to be applied when constructing the predicate. * @param b4 A field binder to be applied when constructing the predicate. */ EqualityPredicateProvider(const RecordFactoryType& recordFactory, AbstractBinderType& b1, AbstractBinderType& b2, AbstractBinderType& b3, AbstractBinderType& b4) : _predicate(recordFactory), _bindersSize(4), _binders(new AbstractBinderType*[_bindersSize]) { _binders[0] = &b1; _binders[1] = &b2; _binders[2] = &b3; _binders[3] = &b4; } /** * Copy constructor. */ EqualityPredicateProvider(const EqualityPredicateProvider& other) : _predicate(other._predicate), _bindersSize(other._bindersSize), _binders(new AbstractBinderType*[_bindersSize]) { for (size_t i = 0; i < _bindersSize; i++) { _binders[i] = other._binders[i]; } } /** * Destructor. */ ~EqualityPredicateProvider() { delete[] _binders; _binders = NULL; _bindersSize = 0; } /** * Assignment operator. */ EqualityPredicateProvider& operator=(const EqualityPredicateProvider& rhs) { delete[] _binders; _predicate(rhs._predicate); _bindersSize(rhs._bindersSize); _binders(new AbstractBinderType*[_bindersSize]); for (size_t i = 0; i < _bindersSize; i++) { _binders[i] = rhs._binders[i]; } _predicate.reset(); return *this; } /** * Functor method. Applies all binders using the given \p cxtRecordPtr and * \p random stream and returns the bound EqualityPredicateType. * * @param cxtRecordPtr A context record that provides the value to be bound. * @param random The random stream associated with the \p RecordType random * sequence. * @return The bound predicate. */ const EqualityPredicateType& operator()(AutoPtr<CxtRecordType>& cxtRecordPtr, RandomStream& random) { _predicate.reset(); for (size_t i = 0; i < _bindersSize; i++) { (*_binders[i])(_predicate, cxtRecordPtr, random); } return _predicate; } private: EqualityPredicateType _predicate; size_t _bindersSize; AbstractBinderType** _binders; }; /** @}*/// add to runtime_provider_predicate group } // namespace Myriad #endif /* EQUALITYPREDICATEPROVIDER_H_ */
[ "alexander.s.alexandrov@gmail.com" ]
alexander.s.alexandrov@gmail.com
864438a0cacd8314f3c8be7dc47785daf6b2895d
10a47b100d6bc7c06da4a95556764d761dd1f9c5
/v8/src/wasm/module-decoder.cc
58be26f8453cf68d27d450f3475dd26089d6b07f
[ "BSD-3-Clause", "bzip2-1.0.6", "Apache-2.0", "SunPro" ]
permissive
yourWaifu/v8-cmake
a10e67c38075152f7d4a82bd6fc427a8daa92f72
d3c05a7de2f679a1f986512a540331d00875a38a
refs/heads/master
2022-12-17T20:27:49.386878
2020-06-02T15:50:44
2020-06-02T15:50:44
295,308,677
0
0
BSD-3-Clause
2020-09-14T05:01:20
2020-09-14T05:01:19
null
UTF-8
C++
false
false
86,102
cc
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/wasm/module-decoder.h" #include "src/base/functional.h" #include "src/base/platform/platform.h" #include "src/flags/flags.h" #include "src/init/v8.h" #include "src/logging/counters.h" #include "src/objects/objects-inl.h" #include "src/utils/ostreams.h" #include "src/wasm/decoder.h" #include "src/wasm/function-body-decoder-impl.h" #include "src/wasm/wasm-engine.h" #include "src/wasm/wasm-limits.h" namespace v8 { namespace internal { namespace wasm { #define TRACE(...) \ do { \ if (FLAG_trace_wasm_decoder) PrintF(__VA_ARGS__); \ } while (false) namespace { constexpr char kNameString[] = "name"; constexpr char kSourceMappingURLString[] = "sourceMappingURL"; constexpr char kCompilationHintsString[] = "compilationHints"; constexpr char kDebugInfoString[] = ".debug_info"; template <size_t N> constexpr size_t num_chars(const char (&)[N]) { return N - 1; // remove null character at end. } const char* ExternalKindName(ImportExportKindCode kind) { switch (kind) { case kExternalFunction: return "function"; case kExternalTable: return "table"; case kExternalMemory: return "memory"; case kExternalGlobal: return "global"; case kExternalException: return "exception"; } return "unknown"; } } // namespace const char* SectionName(SectionCode code) { switch (code) { case kUnknownSectionCode: return "Unknown"; case kTypeSectionCode: return "Type"; case kImportSectionCode: return "Import"; case kFunctionSectionCode: return "Function"; case kTableSectionCode: return "Table"; case kMemorySectionCode: return "Memory"; case kGlobalSectionCode: return "Global"; case kExportSectionCode: return "Export"; case kStartSectionCode: return "Start"; case kCodeSectionCode: return "Code"; case kElementSectionCode: return "Element"; case kDataSectionCode: return "Data"; case kExceptionSectionCode: return "Exception"; case kDataCountSectionCode: return "DataCount"; case kNameSectionCode: return kNameString; case kSourceMappingURLSectionCode: return kSourceMappingURLString; case kDebugInfoSectionCode: return kDebugInfoString; case kCompilationHintsSectionCode: return kCompilationHintsString; default: return "<unknown>"; } } namespace { bool validate_utf8(Decoder* decoder, WireBytesRef string) { return unibrow::Utf8::ValidateEncoding( decoder->start() + decoder->GetBufferRelativeOffset(string.offset()), string.length()); } ValueType TypeOf(const WasmModule* module, const WasmInitExpr& expr) { switch (expr.kind) { case WasmInitExpr::kNone: return kWasmStmt; case WasmInitExpr::kGlobalIndex: return expr.val.global_index < module->globals.size() ? module->globals[expr.val.global_index].type : kWasmStmt; case WasmInitExpr::kI32Const: return kWasmI32; case WasmInitExpr::kI64Const: return kWasmI64; case WasmInitExpr::kF32Const: return kWasmF32; case WasmInitExpr::kF64Const: return kWasmF64; case WasmInitExpr::kRefNullConst: return kWasmNullRef; case WasmInitExpr::kRefFuncConst: return kWasmFuncRef; default: UNREACHABLE(); } } // Reads a length-prefixed string, checking that it is within bounds. Returns // the offset of the string, and the length as an out parameter. WireBytesRef consume_string(Decoder* decoder, bool validate_utf8, const char* name) { uint32_t length = decoder->consume_u32v("string length"); uint32_t offset = decoder->pc_offset(); const byte* string_start = decoder->pc(); // Consume bytes before validation to guarantee that the string is not oob. if (length > 0) { decoder->consume_bytes(length, name); if (decoder->ok() && validate_utf8 && !unibrow::Utf8::ValidateEncoding(string_start, length)) { decoder->errorf(string_start, "%s: no valid UTF-8 string", name); } } return {offset, decoder->failed() ? 0 : length}; } namespace { SectionCode IdentifyUnknownSectionInternal(Decoder* decoder) { WireBytesRef string = consume_string(decoder, true, "section name"); if (decoder->failed()) { return kUnknownSectionCode; } const byte* section_name_start = decoder->start() + decoder->GetBufferRelativeOffset(string.offset()); TRACE(" +%d section name : \"%.*s\"\n", static_cast<int>(section_name_start - decoder->start()), string.length() < 20 ? string.length() : 20, section_name_start); if (string.length() == num_chars(kNameString) && strncmp(reinterpret_cast<const char*>(section_name_start), kNameString, num_chars(kNameString)) == 0) { return kNameSectionCode; } else if (string.length() == num_chars(kSourceMappingURLString) && strncmp(reinterpret_cast<const char*>(section_name_start), kSourceMappingURLString, num_chars(kSourceMappingURLString)) == 0) { return kSourceMappingURLSectionCode; } else if (string.length() == num_chars(kCompilationHintsString) && strncmp(reinterpret_cast<const char*>(section_name_start), kCompilationHintsString, num_chars(kCompilationHintsString)) == 0) { return kCompilationHintsSectionCode; } else if (string.length() == num_chars(kDebugInfoString) && strncmp(reinterpret_cast<const char*>(section_name_start), kDebugInfoString, num_chars(kDebugInfoString)) == 0) { return kDebugInfoSectionCode; } return kUnknownSectionCode; } } // namespace // An iterator over the sections in a wasm binary module. // Automatically skips all unknown sections. class WasmSectionIterator { public: explicit WasmSectionIterator(Decoder* decoder) : decoder_(decoder), section_code_(kUnknownSectionCode), section_start_(decoder->pc()), section_end_(decoder->pc()) { next(); } inline bool more() const { return decoder_->ok() && decoder_->more(); } inline SectionCode section_code() const { return section_code_; } inline const byte* section_start() const { return section_start_; } inline uint32_t section_length() const { return static_cast<uint32_t>(section_end_ - section_start_); } inline Vector<const uint8_t> payload() const { return {payload_start_, payload_length()}; } inline const byte* payload_start() const { return payload_start_; } inline uint32_t payload_length() const { return static_cast<uint32_t>(section_end_ - payload_start_); } inline const byte* section_end() const { return section_end_; } // Advances to the next section, checking that decoding the current section // stopped at {section_end_}. void advance(bool move_to_section_end = false) { if (move_to_section_end && decoder_->pc() < section_end_) { decoder_->consume_bytes( static_cast<uint32_t>(section_end_ - decoder_->pc())); } if (decoder_->pc() != section_end_) { const char* msg = decoder_->pc() < section_end_ ? "shorter" : "longer"; decoder_->errorf(decoder_->pc(), "section was %s than expected size " "(%u bytes expected, %zu decoded)", msg, section_length(), static_cast<size_t>(decoder_->pc() - section_start_)); } next(); } private: Decoder* decoder_; SectionCode section_code_; const byte* section_start_; const byte* payload_start_; const byte* section_end_; // Reads the section code/name at the current position and sets up // the embedder fields. void next() { if (!decoder_->more()) { section_code_ = kUnknownSectionCode; return; } section_start_ = decoder_->pc(); uint8_t section_code = decoder_->consume_u8("section code"); // Read and check the section size. uint32_t section_length = decoder_->consume_u32v("section length"); payload_start_ = decoder_->pc(); if (decoder_->checkAvailable(section_length)) { // Get the limit of the section within the module. section_end_ = payload_start_ + section_length; } else { // The section would extend beyond the end of the module. section_end_ = payload_start_; } if (section_code == kUnknownSectionCode) { // Check for the known "name", "sourceMappingURL", or "compilationHints" // section. // To identify the unknown section we set the end of the decoder bytes to // the end of the custom section, so that we do not read the section name // beyond the end of the section. const byte* module_end = decoder_->end(); decoder_->set_end(section_end_); section_code = IdentifyUnknownSectionInternal(decoder_); if (decoder_->ok()) decoder_->set_end(module_end); // As a side effect, the above function will forward the decoder to after // the identifier string. payload_start_ = decoder_->pc(); } else if (!IsValidSectionCode(section_code)) { decoder_->errorf(decoder_->pc(), "unknown section code #0x%02x", section_code); section_code = kUnknownSectionCode; } section_code_ = decoder_->failed() ? kUnknownSectionCode : static_cast<SectionCode>(section_code); if (section_code_ == kUnknownSectionCode && section_end_ > decoder_->pc()) { // skip to the end of the unknown section. uint32_t remaining = static_cast<uint32_t>(section_end_ - decoder_->pc()); decoder_->consume_bytes(remaining, "section payload"); } } }; } // namespace // The main logic for decoding the bytes of a module. class ModuleDecoderImpl : public Decoder { public: explicit ModuleDecoderImpl(const WasmFeatures& enabled, ModuleOrigin origin) : Decoder(nullptr, nullptr), enabled_features_(enabled), origin_(FLAG_assume_asmjs_origin ? kAsmJsSloppyOrigin : origin) {} ModuleDecoderImpl(const WasmFeatures& enabled, const byte* module_start, const byte* module_end, ModuleOrigin origin) : Decoder(module_start, module_end), enabled_features_(enabled), origin_(FLAG_assume_asmjs_origin ? kAsmJsSloppyOrigin : origin) { if (end_ < start_) { error(start_, "end is less than start"); end_ = start_; } module_start_ = module_start; module_end_ = module_end; } void onFirstError() override { pc_ = end_; // On error, terminate section decoding loop. } void DumpModule(const Vector<const byte> module_bytes) { std::string path; if (FLAG_dump_wasm_module_path) { path = FLAG_dump_wasm_module_path; if (path.size() && !base::OS::isDirectorySeparator(path[path.size() - 1])) { path += base::OS::DirectorySeparator(); } } // File are named `HASH.{ok,failed}.wasm`. size_t hash = base::hash_range(module_bytes.begin(), module_bytes.end()); EmbeddedVector<char, 32> buf; SNPrintF(buf, "%016zx.%s.wasm", hash, ok() ? "ok" : "failed"); path += buf.begin(); size_t rv = 0; if (FILE* file = base::OS::FOpen(path.c_str(), "wb")) { rv = fwrite(module_bytes.begin(), module_bytes.length(), 1, file); fclose(file); } if (rv != 1) { OFStream os(stderr); os << "Error while dumping wasm file to " << path << std::endl; } } void StartDecoding(Counters* counters, AccountingAllocator* allocator) { CHECK_NULL(module_); SetCounters(counters); module_.reset( new WasmModule(std::make_unique<Zone>(allocator, "signatures"))); module_->initial_pages = 0; module_->maximum_pages = 0; module_->mem_export = false; module_->origin = origin_; } void DecodeModuleHeader(Vector<const uint8_t> bytes, uint8_t offset) { if (failed()) return; Reset(bytes, offset); const byte* pos = pc_; uint32_t magic_word = consume_u32("wasm magic"); #define BYTES(x) (x & 0xFF), (x >> 8) & 0xFF, (x >> 16) & 0xFF, (x >> 24) & 0xFF if (magic_word != kWasmMagic) { errorf(pos, "expected magic word %02x %02x %02x %02x, " "found %02x %02x %02x %02x", BYTES(kWasmMagic), BYTES(magic_word)); } pos = pc_; { uint32_t magic_version = consume_u32("wasm version"); if (magic_version != kWasmVersion) { errorf(pos, "expected version %02x %02x %02x %02x, " "found %02x %02x %02x %02x", BYTES(kWasmVersion), BYTES(magic_version)); } } #undef BYTES } bool CheckSectionOrder(SectionCode section_code, SectionCode prev_section_code, SectionCode next_section_code) { if (next_ordered_section_ > next_section_code) { errorf(pc(), "The %s section must appear before the %s section", SectionName(section_code), SectionName(next_section_code)); return false; } if (next_ordered_section_ <= prev_section_code) { next_ordered_section_ = prev_section_code + 1; } return true; } bool CheckUnorderedSection(SectionCode section_code) { if (has_seen_unordered_section(section_code)) { errorf(pc(), "Multiple %s sections not allowed", SectionName(section_code)); return false; } set_seen_unordered_section(section_code); return true; } void DecodeSection(SectionCode section_code, Vector<const uint8_t> bytes, uint32_t offset, bool verify_functions = true) { VerifyFunctionDeclarations(section_code); if (failed()) return; Reset(bytes, offset); TRACE("Section: %s\n", SectionName(section_code)); TRACE("Decode Section %p - %p\n", bytes.begin(), bytes.end()); // Check if the section is out-of-order. if (section_code < next_ordered_section_ && section_code < kFirstUnorderedSection) { errorf(pc(), "unexpected section <%s>", SectionName(section_code)); return; } switch (section_code) { case kUnknownSectionCode: break; case kDataCountSectionCode: if (!CheckUnorderedSection(section_code)) return; if (!CheckSectionOrder(section_code, kElementSectionCode, kCodeSectionCode)) return; break; case kExceptionSectionCode: if (!CheckUnorderedSection(section_code)) return; if (!CheckSectionOrder(section_code, kMemorySectionCode, kGlobalSectionCode)) return; break; case kNameSectionCode: // TODO(titzer): report out of place name section as a warning. // Be lenient with placement of name section. All except first // occurrence are ignored. case kSourceMappingURLSectionCode: // sourceMappingURL is a custom section and currently can occur anywhere // in the module. In case of multiple sourceMappingURL sections, all // except the first occurrence are ignored. case kDebugInfoSectionCode: // .debug_info is a custom section containing core DWARF information // if produced by compiler. Its presence likely means that Wasm was // built in a debug mode. case kCompilationHintsSectionCode: // TODO(frgossen): report out of place compilation hints section as a // warning. // Be lenient with placement of compilation hints section. All except // first occurrence after function section and before code section are // ignored. break; default: next_ordered_section_ = section_code + 1; break; } switch (section_code) { case kUnknownSectionCode: break; case kTypeSectionCode: DecodeTypeSection(); break; case kImportSectionCode: DecodeImportSection(); break; case kFunctionSectionCode: DecodeFunctionSection(); break; case kTableSectionCode: DecodeTableSection(); break; case kMemorySectionCode: DecodeMemorySection(); break; case kGlobalSectionCode: DecodeGlobalSection(); break; case kExportSectionCode: DecodeExportSection(); break; case kStartSectionCode: DecodeStartSection(); break; case kCodeSectionCode: DecodeCodeSection(verify_functions); break; case kElementSectionCode: DecodeElementSection(); break; case kDataSectionCode: DecodeDataSection(); break; case kNameSectionCode: DecodeNameSection(); break; case kSourceMappingURLSectionCode: DecodeSourceMappingURLSection(); break; case kDebugInfoSectionCode: // If there is an explicit source map, prefer it over DWARF info. if (!has_seen_unordered_section(kSourceMappingURLSectionCode)) { module_->source_map_url.assign("wasm://dwarf"); } consume_bytes(static_cast<uint32_t>(end_ - start_), ".debug_info"); break; case kCompilationHintsSectionCode: if (enabled_features_.has_compilation_hints()) { DecodeCompilationHintsSection(); } else { // Ignore this section when feature was disabled. It is an optional // custom section anyways. consume_bytes(static_cast<uint32_t>(end_ - start_), nullptr); } break; case kDataCountSectionCode: if (enabled_features_.has_bulk_memory()) { DecodeDataCountSection(); } else { errorf(pc(), "unexpected section <%s>", SectionName(section_code)); } break; case kExceptionSectionCode: if (enabled_features_.has_eh()) { DecodeExceptionSection(); } else { errorf(pc(), "unexpected section <%s>", SectionName(section_code)); } break; default: errorf(pc(), "unexpected section <%s>", SectionName(section_code)); return; } if (pc() != bytes.end()) { const char* msg = pc() < bytes.end() ? "shorter" : "longer"; errorf(pc(), "section was %s than expected size " "(%zu bytes expected, %zu decoded)", msg, bytes.size(), static_cast<size_t>(pc() - bytes.begin())); } } void DecodeTypeSection() { uint32_t signatures_count = consume_count("types count", kV8MaxWasmTypes); module_->signatures.reserve(signatures_count); for (uint32_t i = 0; ok() && i < signatures_count; ++i) { TRACE("DecodeSignature[%d] module+%d\n", i, static_cast<int>(pc_ - start_)); const FunctionSig* s = consume_sig(module_->signature_zone.get()); module_->signatures.push_back(s); uint32_t id = s ? module_->signature_map.FindOrInsert(*s) : 0; module_->signature_ids.push_back(id); } module_->signature_map.Freeze(); } void DecodeImportSection() { uint32_t import_table_count = consume_count("imports count", kV8MaxWasmImports); module_->import_table.reserve(import_table_count); for (uint32_t i = 0; ok() && i < import_table_count; ++i) { TRACE("DecodeImportTable[%d] module+%d\n", i, static_cast<int>(pc_ - start_)); module_->import_table.push_back({ {0, 0}, // module_name {0, 0}, // field_name kExternalFunction, // kind 0 // index }); WasmImport* import = &module_->import_table.back(); const byte* pos = pc_; import->module_name = consume_string(this, true, "module name"); import->field_name = consume_string(this, true, "field name"); import->kind = static_cast<ImportExportKindCode>(consume_u8("import kind")); switch (import->kind) { case kExternalFunction: { // ===== Imported function =========================================== import->index = static_cast<uint32_t>(module_->functions.size()); module_->num_imported_functions++; module_->functions.push_back({nullptr, // sig import->index, // func_index 0, // sig_index {0, 0}, // code true, // imported false, // exported false}); // declared WasmFunction* function = &module_->functions.back(); function->sig_index = consume_sig_index(module_.get(), &function->sig); break; } case kExternalTable: { // ===== Imported table ============================================== if (!AddTable(module_.get())) break; import->index = static_cast<uint32_t>(module_->tables.size()); module_->num_imported_tables++; module_->tables.emplace_back(); WasmTable* table = &module_->tables.back(); table->imported = true; ValueType type = consume_reference_type(); if (!enabled_features_.has_anyref()) { if (type != kWasmFuncRef) { error(pc_ - 1, "invalid table type"); break; } } table->type = type; uint8_t flags = validate_table_flags("element count"); consume_resizable_limits( "element count", "elements", FLAG_wasm_max_table_size, &table->initial_size, &table->has_maximum_size, FLAG_wasm_max_table_size, &table->maximum_size, flags); break; } case kExternalMemory: { // ===== Imported memory ============================================= if (!AddMemory(module_.get())) break; uint8_t flags = validate_memory_flags(&module_->has_shared_memory); consume_resizable_limits( "memory", "pages", max_initial_mem_pages(), &module_->initial_pages, &module_->has_maximum_pages, max_maximum_mem_pages(), &module_->maximum_pages, flags); break; } case kExternalGlobal: { // ===== Imported global ============================================= import->index = static_cast<uint32_t>(module_->globals.size()); module_->globals.push_back( {kWasmStmt, false, WasmInitExpr(), {0}, true, false}); WasmGlobal* global = &module_->globals.back(); global->type = consume_value_type(); global->mutability = consume_mutability(); if (global->mutability) { module_->num_imported_mutable_globals++; } break; } case kExternalException: { // ===== Imported exception ========================================== if (!enabled_features_.has_eh()) { errorf(pos, "unknown import kind 0x%02x", import->kind); break; } import->index = static_cast<uint32_t>(module_->exceptions.size()); const WasmExceptionSig* exception_sig = nullptr; consume_exception_attribute(); // Attribute ignored for now. consume_exception_sig_index(module_.get(), &exception_sig); module_->exceptions.emplace_back(exception_sig); break; } default: errorf(pos, "unknown import kind 0x%02x", import->kind); break; } } } void DecodeFunctionSection() { uint32_t functions_count = consume_count("functions count", kV8MaxWasmFunctions); auto counter = SELECT_WASM_COUNTER(GetCounters(), origin_, wasm_functions_per, module); counter->AddSample(static_cast<int>(functions_count)); DCHECK_EQ(module_->functions.size(), module_->num_imported_functions); uint32_t total_function_count = module_->num_imported_functions + functions_count; module_->functions.reserve(total_function_count); module_->num_declared_functions = functions_count; for (uint32_t i = 0; i < functions_count; ++i) { uint32_t func_index = static_cast<uint32_t>(module_->functions.size()); module_->functions.push_back({nullptr, // sig func_index, // func_index 0, // sig_index {0, 0}, // code false, // imported false, // exported false}); // declared WasmFunction* function = &module_->functions.back(); function->sig_index = consume_sig_index(module_.get(), &function->sig); if (!ok()) return; } DCHECK_EQ(module_->functions.size(), total_function_count); } void DecodeTableSection() { // TODO(ahaas): Set the correct limit to {kV8MaxWasmTables} once the // implementation of AnyRef landed. uint32_t max_count = enabled_features_.has_anyref() ? 100000 : kV8MaxWasmTables; uint32_t table_count = consume_count("table count", max_count); for (uint32_t i = 0; ok() && i < table_count; i++) { if (!AddTable(module_.get())) break; module_->tables.emplace_back(); WasmTable* table = &module_->tables.back(); table->type = consume_reference_type(); uint8_t flags = validate_table_flags("table elements"); consume_resizable_limits( "table elements", "elements", FLAG_wasm_max_table_size, &table->initial_size, &table->has_maximum_size, FLAG_wasm_max_table_size, &table->maximum_size, flags); } } void DecodeMemorySection() { uint32_t memory_count = consume_count("memory count", kV8MaxWasmMemories); for (uint32_t i = 0; ok() && i < memory_count; i++) { if (!AddMemory(module_.get())) break; uint8_t flags = validate_memory_flags(&module_->has_shared_memory); consume_resizable_limits( "memory", "pages", max_initial_mem_pages(), &module_->initial_pages, &module_->has_maximum_pages, max_maximum_mem_pages(), &module_->maximum_pages, flags); } } void DecodeGlobalSection() { uint32_t globals_count = consume_count("globals count", kV8MaxWasmGlobals); uint32_t imported_globals = static_cast<uint32_t>(module_->globals.size()); module_->globals.reserve(imported_globals + globals_count); for (uint32_t i = 0; ok() && i < globals_count; ++i) { TRACE("DecodeGlobal[%d] module+%d\n", i, static_cast<int>(pc_ - start_)); // Add an uninitialized global and pass a pointer to it. module_->globals.push_back( {kWasmStmt, false, WasmInitExpr(), {0}, false, false}); WasmGlobal* global = &module_->globals.back(); DecodeGlobalInModule(module_.get(), i + imported_globals, global); } if (ok()) CalculateGlobalOffsets(module_.get()); } void DecodeExportSection() { uint32_t export_table_count = consume_count("exports count", kV8MaxWasmExports); module_->export_table.reserve(export_table_count); for (uint32_t i = 0; ok() && i < export_table_count; ++i) { TRACE("DecodeExportTable[%d] module+%d\n", i, static_cast<int>(pc_ - start_)); module_->export_table.push_back({ {0, 0}, // name kExternalFunction, // kind 0 // index }); WasmExport* exp = &module_->export_table.back(); exp->name = consume_string(this, true, "field name"); const byte* pos = pc(); exp->kind = static_cast<ImportExportKindCode>(consume_u8("export kind")); switch (exp->kind) { case kExternalFunction: { WasmFunction* func = nullptr; exp->index = consume_func_index(module_.get(), &func, "export function index"); module_->num_exported_functions++; if (func) func->exported = true; break; } case kExternalTable: { WasmTable* table = nullptr; exp->index = consume_table_index(module_.get(), &table); if (table) table->exported = true; break; } case kExternalMemory: { uint32_t index = consume_u32v("memory index"); // TODO(titzer): This should become more regular // once we support multiple memories. if (!module_->has_memory || index != 0) { error("invalid memory index != 0"); } module_->mem_export = true; break; } case kExternalGlobal: { WasmGlobal* global = nullptr; exp->index = consume_global_index(module_.get(), &global); if (global) { global->exported = true; } break; } case kExternalException: { if (!enabled_features_.has_eh()) { errorf(pos, "invalid export kind 0x%02x", exp->kind); break; } WasmException* exception = nullptr; exp->index = consume_exception_index(module_.get(), &exception); break; } default: errorf(pos, "invalid export kind 0x%02x", exp->kind); break; } } // Check for duplicate exports (except for asm.js). if (ok() && origin_ == kWasmOrigin && module_->export_table.size() > 1) { std::vector<WasmExport> sorted_exports(module_->export_table); auto cmp_less = [this](const WasmExport& a, const WasmExport& b) { // Return true if a < b. if (a.name.length() != b.name.length()) { return a.name.length() < b.name.length(); } const byte* left = start() + GetBufferRelativeOffset(a.name.offset()); const byte* right = start() + GetBufferRelativeOffset(b.name.offset()); return memcmp(left, right, a.name.length()) < 0; }; std::stable_sort(sorted_exports.begin(), sorted_exports.end(), cmp_less); auto it = sorted_exports.begin(); WasmExport* last = &*it++; for (auto end = sorted_exports.end(); it != end; last = &*it++) { DCHECK(!cmp_less(*it, *last)); // Vector must be sorted. if (!cmp_less(*last, *it)) { const byte* pc = start() + GetBufferRelativeOffset(it->name.offset()); TruncatedUserString<> name(pc, it->name.length()); errorf(pc, "Duplicate export name '%.*s' for %s %d and %s %d", name.length(), name.start(), ExternalKindName(last->kind), last->index, ExternalKindName(it->kind), it->index); break; } } } } void DecodeStartSection() { WasmFunction* func; const byte* pos = pc_; module_->start_function_index = consume_func_index(module_.get(), &func, "start function index"); if (func && (func->sig->parameter_count() > 0 || func->sig->return_count() > 0)) { error(pos, "invalid start function: non-zero parameter or return count"); } } void DecodeElementSection() { uint32_t element_count = consume_count("element count", FLAG_wasm_max_table_size); for (uint32_t i = 0; ok() && i < element_count; ++i) { const byte* pos = pc(); WasmElemSegment::Status status; bool functions_as_elements; uint32_t table_index; WasmInitExpr offset; ValueType type = kWasmBottom; consume_element_segment_header(&status, &functions_as_elements, &type, &table_index, &offset); if (failed()) return; DCHECK_NE(type, kWasmBottom); if (status == WasmElemSegment::kStatusActive) { if (table_index >= module_->tables.size()) { errorf(pos, "out of bounds table index %u", table_index); break; } if (!type.IsSubTypeOf(module_->tables[table_index].type)) { errorf(pos, "Invalid element segment. Table %u is not a super-type of %s", table_index, type.type_name()); break; } } uint32_t num_elem = consume_count("number of elements", max_table_init_entries()); if (status == WasmElemSegment::kStatusActive) { module_->elem_segments.emplace_back(table_index, offset); } else { module_->elem_segments.emplace_back( status == WasmElemSegment::kStatusDeclarative); } WasmElemSegment* init = &module_->elem_segments.back(); init->type = type; for (uint32_t j = 0; j < num_elem; j++) { uint32_t index = functions_as_elements ? consume_element_expr() : consume_element_func_index(); if (failed()) break; init->entries.push_back(index); } } } void DecodeCodeSection(bool verify_functions) { uint32_t pos = pc_offset(); uint32_t functions_count = consume_u32v("functions count"); CheckFunctionsCount(functions_count, pos); for (uint32_t i = 0; ok() && i < functions_count; ++i) { const byte* pos = pc(); uint32_t size = consume_u32v("body size"); if (size > kV8MaxWasmFunctionSize) { errorf(pos, "size %u > maximum function size %zu", size, kV8MaxWasmFunctionSize); return; } uint32_t offset = pc_offset(); consume_bytes(size, "function body"); if (failed()) break; DecodeFunctionBody(i, size, offset, verify_functions); } DCHECK_GE(pc_offset(), pos); set_code_section(pos, pc_offset() - pos); } bool CheckFunctionsCount(uint32_t functions_count, uint32_t offset) { if (functions_count != module_->num_declared_functions) { Reset(nullptr, nullptr, offset); errorf(nullptr, "function body count %u mismatch (%u expected)", functions_count, module_->num_declared_functions); return false; } return true; } void DecodeFunctionBody(uint32_t index, uint32_t length, uint32_t offset, bool verify_functions) { WasmFunction* function = &module_->functions[index + module_->num_imported_functions]; function->code = {offset, length}; if (verify_functions) { ModuleWireBytes bytes(module_start_, module_end_); VerifyFunctionBody(module_->signature_zone->allocator(), index + module_->num_imported_functions, bytes, module_.get(), function); } } bool CheckDataSegmentsCount(uint32_t data_segments_count) { if (has_seen_unordered_section(kDataCountSectionCode) && data_segments_count != module_->num_declared_data_segments) { errorf(pc(), "data segments count %u mismatch (%u expected)", data_segments_count, module_->num_declared_data_segments); return false; } return true; } void DecodeDataSection() { uint32_t data_segments_count = consume_count("data segments count", kV8MaxWasmDataSegments); if (!CheckDataSegmentsCount(data_segments_count)) return; module_->data_segments.reserve(data_segments_count); for (uint32_t i = 0; ok() && i < data_segments_count; ++i) { const byte* pos = pc(); TRACE("DecodeDataSegment[%d] module+%d\n", i, static_cast<int>(pc_ - start_)); bool is_active; uint32_t memory_index; WasmInitExpr dest_addr; consume_data_segment_header(&is_active, &memory_index, &dest_addr); if (failed()) break; if (is_active) { if (!module_->has_memory) { error("cannot load data without memory"); break; } if (memory_index != 0) { errorf(pos, "illegal memory index %u != 0", memory_index); break; } } uint32_t source_length = consume_u32v("source size"); uint32_t source_offset = pc_offset(); if (is_active) { module_->data_segments.emplace_back(dest_addr); } else { module_->data_segments.emplace_back(); } WasmDataSegment* segment = &module_->data_segments.back(); consume_bytes(source_length, "segment data"); if (failed()) break; segment->source = {source_offset, source_length}; } } void DecodeNameSection() { // TODO(titzer): find a way to report name errors as warnings. // Ignore all but the first occurrence of name section. if (!has_seen_unordered_section(kNameSectionCode)) { set_seen_unordered_section(kNameSectionCode); // Use an inner decoder so that errors don't fail the outer decoder. Decoder inner(start_, pc_, end_, buffer_offset_); // Decode all name subsections. // Be lenient with their order. while (inner.ok() && inner.more()) { uint8_t name_type = inner.consume_u8("name type"); if (name_type & 0x80) inner.error("name type if not varuint7"); uint32_t name_payload_len = inner.consume_u32v("name payload length"); if (!inner.checkAvailable(name_payload_len)) break; // Decode module name, ignore the rest. // Function and local names will be decoded when needed. if (name_type == NameSectionKindCode::kModule) { WireBytesRef name = consume_string(&inner, false, "module name"); if (inner.ok() && validate_utf8(&inner, name)) { module_->name = name; } } else { inner.consume_bytes(name_payload_len, "name subsection payload"); } } } // Skip the whole names section in the outer decoder. consume_bytes(static_cast<uint32_t>(end_ - start_), nullptr); } void DecodeSourceMappingURLSection() { Decoder inner(start_, pc_, end_, buffer_offset_); WireBytesRef url = wasm::consume_string(&inner, true, "module name"); if (inner.ok() && !has_seen_unordered_section(kSourceMappingURLSectionCode)) { const byte* url_start = inner.start() + inner.GetBufferRelativeOffset(url.offset()); module_->source_map_url.assign(reinterpret_cast<const char*>(url_start), url.length()); set_seen_unordered_section(kSourceMappingURLSectionCode); } consume_bytes(static_cast<uint32_t>(end_ - start_), nullptr); } void DecodeCompilationHintsSection() { TRACE("DecodeCompilationHints module+%d\n", static_cast<int>(pc_ - start_)); // TODO(frgossen): Find a way to report compilation hint errors as warnings. // All except first occurrence after function section and before code // section are ignored. const bool before_function_section = next_ordered_section_ <= kFunctionSectionCode; const bool after_code_section = next_ordered_section_ > kCodeSectionCode; if (before_function_section || after_code_section || has_seen_unordered_section(kCompilationHintsSectionCode)) { return; } set_seen_unordered_section(kCompilationHintsSectionCode); // TODO(frgossen) Propagate errors to outer decoder in experimental phase. // We should use an inner decoder later and propagate its errors as // warnings. Decoder& decoder = *this; // Decoder decoder(start_, pc_, end_, buffer_offset_); // Ensure exactly one compilation hint per function. uint32_t hint_count = decoder.consume_u32v("compilation hint count"); if (hint_count != module_->num_declared_functions) { decoder.errorf(decoder.pc(), "Expected %u compilation hints (%u found)", module_->num_declared_functions, hint_count); } // Decode sequence of compilation hints. if (decoder.ok()) { module_->compilation_hints.reserve(hint_count); } for (uint32_t i = 0; decoder.ok() && i < hint_count; i++) { TRACE("DecodeCompilationHints[%d] module+%d\n", i, static_cast<int>(pc_ - start_)); // Compilation hints are encoded in one byte each. // +-------+----------+---------------+----------+ // | 2 bit | 2 bit | 2 bit | 2 bit | // | ... | Top tier | Baseline tier | Strategy | // +-------+----------+---------------+----------+ uint8_t hint_byte = decoder.consume_u8("compilation hint"); if (!decoder.ok()) break; // Decode compilation hint. WasmCompilationHint hint; hint.strategy = static_cast<WasmCompilationHintStrategy>(hint_byte & 0x03); hint.baseline_tier = static_cast<WasmCompilationHintTier>(hint_byte >> 2 & 0x3); hint.top_tier = static_cast<WasmCompilationHintTier>(hint_byte >> 4 & 0x3); // Ensure that the top tier never downgrades a compilation result. // If baseline and top tier are the same compilation will be invoked only // once. if (hint.top_tier < hint.baseline_tier && hint.top_tier != WasmCompilationHintTier::kDefault) { decoder.errorf(decoder.pc(), "Invalid compilation hint %#x (forbidden downgrade)", hint_byte); } // Happily accept compilation hint. if (decoder.ok()) { module_->compilation_hints.push_back(std::move(hint)); } } // If section was invalid reset compilation hints. if (decoder.failed()) { module_->compilation_hints.clear(); } // @TODO(frgossen) Skip the whole compilation hints section in the outer // decoder if inner decoder was used. // consume_bytes(static_cast<uint32_t>(end_ - start_), nullptr); } void DecodeDataCountSection() { module_->num_declared_data_segments = consume_count("data segments count", kV8MaxWasmDataSegments); } void DecodeExceptionSection() { uint32_t exception_count = consume_count("exception count", kV8MaxWasmExceptions); for (uint32_t i = 0; ok() && i < exception_count; ++i) { TRACE("DecodeException[%d] module+%d\n", i, static_cast<int>(pc_ - start_)); const WasmExceptionSig* exception_sig = nullptr; consume_exception_attribute(); // Attribute ignored for now. consume_exception_sig_index(module_.get(), &exception_sig); module_->exceptions.emplace_back(exception_sig); } } bool CheckMismatchedCounts() { // The declared vs. defined function count is normally checked when // decoding the code section, but we have to check it here too in case the // code section is absent. if (module_->num_declared_functions != 0) { DCHECK_LT(module_->num_imported_functions, module_->functions.size()); // We know that the code section has been decoded if the first // non-imported function has its code set. if (!module_->functions[module_->num_imported_functions].code.is_set()) { errorf(pc(), "function count is %u, but code section is absent", module_->num_declared_functions); return false; } } // Perform a similar check for the DataCount and Data sections, where data // segments are declared but the Data section is absent. if (!CheckDataSegmentsCount( static_cast<uint32_t>(module_->data_segments.size()))) { return false; } return true; } void VerifyFunctionDeclarations(SectionCode section_code) { // Since we will only know if a function was properly declared after all the // element sections have been parsed, but we need to verify the proper use // within global initialization, we are deferring those checks. if (deferred_funcref_error_offsets_.empty()) { // No verifications to do be done. return; } if (!ok()) { // Previous errors exist. return; } // TODO(ecmziegler): Adjust logic if module order changes (e.g. event // section). if (section_code <= kElementSectionCode && section_code != kUnknownSectionCode) { // Before the element section and not at end of decoding. return; } for (auto& func_offset : deferred_funcref_error_offsets_) { DCHECK_LT(func_offset.first, module_->functions.size()); if (!module_->functions[func_offset.first].declared) { errorf(func_offset.second, "undeclared reference to function #%u", func_offset.first); break; } } deferred_funcref_error_offsets_.clear(); } ModuleResult FinishDecoding(bool verify_functions = true) { // Ensure that function verifications were done even if no section followed // the global section. VerifyFunctionDeclarations(kUnknownSectionCode); if (ok() && CheckMismatchedCounts()) { CalculateGlobalOffsets(module_.get()); } ModuleResult result = toResult(std::move(module_)); if (verify_functions && result.ok() && intermediate_error_.has_error()) { // Copy error message and location. return ModuleResult{std::move(intermediate_error_)}; } return result; } void set_code_section(uint32_t offset, uint32_t size) { module_->code = {offset, size}; } // Decodes an entire module. ModuleResult DecodeModule(Counters* counters, AccountingAllocator* allocator, bool verify_functions = true) { StartDecoding(counters, allocator); uint32_t offset = 0; Vector<const byte> orig_bytes(start(), end() - start()); DecodeModuleHeader(VectorOf(start(), end() - start()), offset); if (failed()) { return FinishDecoding(verify_functions); } // Size of the module header. offset += 8; Decoder decoder(start_ + offset, end_, offset); WasmSectionIterator section_iter(&decoder); while (ok() && section_iter.more()) { // Shift the offset by the section header length offset += section_iter.payload_start() - section_iter.section_start(); if (section_iter.section_code() != SectionCode::kUnknownSectionCode) { DecodeSection(section_iter.section_code(), section_iter.payload(), offset, verify_functions); } // Shift the offset by the remaining section payload offset += section_iter.payload_length(); section_iter.advance(true); } if (FLAG_dump_wasm_module) DumpModule(orig_bytes); if (decoder.failed()) { return decoder.toResult<std::unique_ptr<WasmModule>>(nullptr); } return FinishDecoding(verify_functions); } // Decodes a single anonymous function starting at {start_}. FunctionResult DecodeSingleFunction(Zone* zone, const ModuleWireBytes& wire_bytes, const WasmModule* module, std::unique_ptr<WasmFunction> function) { pc_ = start_; function->sig = consume_sig(zone); function->code = {off(pc_), static_cast<uint32_t>(end_ - pc_)}; if (ok()) VerifyFunctionBody(zone->allocator(), 0, wire_bytes, module, function.get()); if (intermediate_error_.has_error()) { return FunctionResult{std::move(intermediate_error_)}; } return FunctionResult(std::move(function)); } // Decodes a single function signature at {start}. const FunctionSig* DecodeFunctionSignature(Zone* zone, const byte* start) { pc_ = start; const FunctionSig* result = consume_sig(zone); return ok() ? result : nullptr; } WasmInitExpr DecodeInitExpr(const byte* start) { pc_ = start; return consume_init_expr(nullptr, kWasmStmt); } const std::shared_ptr<WasmModule>& shared_module() const { return module_; } Counters* GetCounters() const { DCHECK_NOT_NULL(counters_); return counters_; } void SetCounters(Counters* counters) { DCHECK_NULL(counters_); counters_ = counters; } private: const WasmFeatures enabled_features_; std::shared_ptr<WasmModule> module_; const byte* module_start_; const byte* module_end_; Counters* counters_ = nullptr; // The type section is the first section in a module. uint8_t next_ordered_section_ = kFirstSectionInModule; // We store next_ordered_section_ as uint8_t instead of SectionCode so that // we can increment it. This static_assert should make sure that SectionCode // does not get bigger than uint8_t accidentially. static_assert(sizeof(ModuleDecoderImpl::next_ordered_section_) == sizeof(SectionCode), "type mismatch"); uint32_t seen_unordered_sections_ = 0; static_assert(kBitsPerByte * sizeof(ModuleDecoderImpl::seen_unordered_sections_) > kLastKnownModuleSection, "not enough bits"); WasmError intermediate_error_; // Map from function index to wire byte offset of first funcref initialization // in global section. Used for deferred checking and proper error reporting if // these were not properly declared in the element section. std::unordered_map<uint32_t, int> deferred_funcref_error_offsets_; ModuleOrigin origin_; bool has_seen_unordered_section(SectionCode section_code) { return seen_unordered_sections_ & (1 << section_code); } void set_seen_unordered_section(SectionCode section_code) { seen_unordered_sections_ |= 1 << section_code; } uint32_t off(const byte* ptr) { return static_cast<uint32_t>(ptr - start_) + buffer_offset_; } bool AddTable(WasmModule* module) { if (enabled_features_.has_anyref()) return true; if (module->tables.size() > 0) { error("At most one table is supported"); return false; } else { return true; } } bool AddMemory(WasmModule* module) { if (module->has_memory) { error("At most one memory is supported"); return false; } else { module->has_memory = true; return true; } } // Decodes a single global entry inside a module starting at {pc_}. void DecodeGlobalInModule(WasmModule* module, uint32_t index, WasmGlobal* global) { global->type = consume_value_type(); global->mutability = consume_mutability(); const byte* pos = pc(); global->init = consume_init_expr(module, kWasmStmt); if (global->init.kind == WasmInitExpr::kGlobalIndex) { uint32_t other_index = global->init.val.global_index; if (other_index >= index) { errorf(pos, "invalid global index in init expression, " "index %u, other_index %u", index, other_index); } else if (module->globals[other_index].type != global->type) { errorf(pos, "type mismatch in global initialization " "(from global #%u), expected %s, got %s", other_index, global->type.type_name(), module->globals[other_index].type.type_name()); } } else { if (!TypeOf(module, global->init).IsSubTypeOf(global->type)) { errorf(pos, "type error in global initialization, expected %s, got %s", global->type.type_name(), TypeOf(module, global->init).type_name()); } } } // Calculate individual global offsets and total size of globals table. void CalculateGlobalOffsets(WasmModule* module) { uint32_t untagged_offset = 0; uint32_t tagged_offset = 0; uint32_t num_imported_mutable_globals = 0; for (WasmGlobal& global : module->globals) { if (global.mutability && global.imported) { global.index = num_imported_mutable_globals++; } else if (global.type.IsReferenceType()) { global.offset = tagged_offset; // All entries in the tagged_globals_buffer have size 1. tagged_offset++; } else { int size = global.type.element_size_bytes(); untagged_offset = (untagged_offset + size - 1) & ~(size - 1); // align global.offset = untagged_offset; untagged_offset += size; } } module->untagged_globals_buffer_size = untagged_offset; module->tagged_globals_buffer_size = tagged_offset; } // Verifies the body (code) of a given function. void VerifyFunctionBody(AccountingAllocator* allocator, uint32_t func_num, const ModuleWireBytes& wire_bytes, const WasmModule* module, WasmFunction* function) { WasmFunctionName func_name(function, wire_bytes.GetNameOrNull(function, module)); if (FLAG_trace_wasm_decoder) { StdoutStream{} << "Verifying wasm function " << func_name << std::endl; } FunctionBody body = { function->sig, function->code.offset(), start_ + GetBufferRelativeOffset(function->code.offset()), start_ + GetBufferRelativeOffset(function->code.end_offset())}; WasmFeatures unused_detected_features = WasmFeatures::None(); DecodeResult result = VerifyWasmCode(allocator, enabled_features_, module, &unused_detected_features, body); // If the decode failed and this is the first error, set error code and // location. if (result.failed() && intermediate_error_.empty()) { // Wrap the error message from the function decoder. std::ostringstream error_msg; error_msg << "in function " << func_name << ": " << result.error().message(); intermediate_error_ = WasmError{result.error().offset(), error_msg.str()}; } } uint32_t consume_sig_index(WasmModule* module, const FunctionSig** sig) { const byte* pos = pc_; uint32_t sig_index = consume_u32v("signature index"); if (sig_index >= module->signatures.size()) { errorf(pos, "signature index %u out of bounds (%d signatures)", sig_index, static_cast<int>(module->signatures.size())); *sig = nullptr; return 0; } *sig = module->signatures[sig_index]; return sig_index; } uint32_t consume_exception_sig_index(WasmModule* module, const FunctionSig** sig) { const byte* pos = pc_; uint32_t sig_index = consume_sig_index(module, sig); if (*sig && (*sig)->return_count() != 0) { errorf(pos, "exception signature %u has non-void return", sig_index); *sig = nullptr; return 0; } return sig_index; } uint32_t consume_count(const char* name, size_t maximum) { const byte* p = pc_; uint32_t count = consume_u32v(name); if (count > maximum) { errorf(p, "%s of %u exceeds internal limit of %zu", name, count, maximum); return static_cast<uint32_t>(maximum); } return count; } uint32_t consume_func_index(WasmModule* module, WasmFunction** func, const char* name) { return consume_index(name, &module->functions, func); } uint32_t consume_global_index(WasmModule* module, WasmGlobal** global) { return consume_index("global index", &module->globals, global); } uint32_t consume_table_index(WasmModule* module, WasmTable** table) { return consume_index("table index", &module->tables, table); } uint32_t consume_exception_index(WasmModule* module, WasmException** except) { return consume_index("exception index", &module->exceptions, except); } template <typename T> uint32_t consume_index(const char* name, std::vector<T>* vector, T** ptr) { const byte* pos = pc_; uint32_t index = consume_u32v(name); if (index >= vector->size()) { errorf(pos, "%s %u out of bounds (%d entr%s)", name, index, static_cast<int>(vector->size()), vector->size() == 1 ? "y" : "ies"); *ptr = nullptr; return 0; } *ptr = &(*vector)[index]; return index; } uint8_t validate_table_flags(const char* name) { uint8_t flags = consume_u8("resizable limits flags"); const byte* pos = pc(); if (flags & 0xFE) { errorf(pos - 1, "invalid %s limits flags", name); } return flags; } uint8_t validate_memory_flags(bool* has_shared_memory) { uint8_t flags = consume_u8("resizable limits flags"); const byte* pos = pc(); *has_shared_memory = false; if (enabled_features_.has_threads()) { if (flags & 0xFC) { errorf(pos - 1, "invalid memory limits flags"); } else if (flags == 3) { DCHECK_NOT_NULL(has_shared_memory); *has_shared_memory = true; } else if (flags == 2) { errorf(pos - 1, "memory limits flags should have maximum defined if shared is " "true"); } } else { if (flags & 0xFE) { errorf(pos - 1, "invalid memory limits flags"); } } return flags; } void consume_resizable_limits(const char* name, const char* units, uint32_t max_initial, uint32_t* initial, bool* has_max, uint32_t max_maximum, uint32_t* maximum, uint8_t flags) { const byte* pos = pc(); *initial = consume_u32v("initial size"); *has_max = false; if (*initial > max_initial) { errorf(pos, "initial %s size (%u %s) is larger than implementation limit (%u)", name, *initial, units, max_initial); } if (flags & 1) { *has_max = true; pos = pc(); *maximum = consume_u32v("maximum size"); if (*maximum > max_maximum) { errorf( pos, "maximum %s size (%u %s) is larger than implementation limit (%u)", name, *maximum, units, max_maximum); } if (*maximum < *initial) { errorf(pos, "maximum %s size (%u %s) is less than initial (%u %s)", name, *maximum, units, *initial, units); } } else { *has_max = false; *maximum = max_initial; } } bool expect_u8(const char* name, uint8_t expected) { const byte* pos = pc(); uint8_t value = consume_u8(name); if (value != expected) { errorf(pos, "expected %s 0x%02x, got 0x%02x", name, expected, value); return false; } return true; } WasmInitExpr consume_init_expr(WasmModule* module, ValueType expected) { const byte* pos = pc(); uint8_t opcode = consume_u8("opcode"); WasmInitExpr expr; uint32_t len = 0; switch (opcode) { case kExprGlobalGet: { GlobalIndexImmediate<Decoder::kValidate> imm(this, pc() - 1); if (module->globals.size() <= imm.index) { error("global index is out of bounds"); expr.kind = WasmInitExpr::kNone; expr.val.i32_const = 0; break; } WasmGlobal* global = &module->globals[imm.index]; if (global->mutability || !global->imported) { error( "only immutable imported globals can be used in initializer " "expressions"); expr.kind = WasmInitExpr::kNone; expr.val.i32_const = 0; break; } expr.kind = WasmInitExpr::kGlobalIndex; expr.val.global_index = imm.index; len = imm.length; break; } case kExprI32Const: { ImmI32Immediate<Decoder::kValidate> imm(this, pc() - 1); expr.kind = WasmInitExpr::kI32Const; expr.val.i32_const = imm.value; len = imm.length; break; } case kExprF32Const: { ImmF32Immediate<Decoder::kValidate> imm(this, pc() - 1); expr.kind = WasmInitExpr::kF32Const; expr.val.f32_const = imm.value; len = imm.length; break; } case kExprI64Const: { ImmI64Immediate<Decoder::kValidate> imm(this, pc() - 1); expr.kind = WasmInitExpr::kI64Const; expr.val.i64_const = imm.value; len = imm.length; break; } case kExprF64Const: { ImmF64Immediate<Decoder::kValidate> imm(this, pc() - 1); expr.kind = WasmInitExpr::kF64Const; expr.val.f64_const = imm.value; len = imm.length; break; } case kExprRefNull: { if (enabled_features_.has_anyref() || enabled_features_.has_eh()) { expr.kind = WasmInitExpr::kRefNullConst; len = 0; break; } V8_FALLTHROUGH; } case kExprRefFunc: { if (enabled_features_.has_anyref()) { FunctionIndexImmediate<Decoder::kValidate> imm(this, pc() - 1); if (module->functions.size() <= imm.index) { errorf(pc() - 1, "invalid function index: %u", imm.index); break; } // Defer check for declaration of function reference. deferred_funcref_error_offsets_.emplace(imm.index, pc_offset()); expr.kind = WasmInitExpr::kRefFuncConst; expr.val.function_index = imm.index; len = imm.length; break; } V8_FALLTHROUGH; } default: { error("invalid opcode in initialization expression"); expr.kind = WasmInitExpr::kNone; expr.val.i32_const = 0; } } consume_bytes(len, "init code"); if (!expect_u8("end opcode", kExprEnd)) { expr.kind = WasmInitExpr::kNone; } if (expected != kWasmStmt && TypeOf(module, expr) != kWasmI32) { errorf(pos, "type error in init expression, expected %s, got %s", expected.type_name(), TypeOf(module, expr).type_name()); } return expr; } // Read a mutability flag bool consume_mutability() { byte val = consume_u8("mutability"); if (val > 1) error(pc_ - 1, "invalid mutability"); return val != 0; } // Reads a single 8-bit integer, interpreting it as a local type. ValueType consume_value_type() { byte val = consume_u8("value type"); ValueTypeCode t = static_cast<ValueTypeCode>(val); switch (t) { case kLocalI32: return kWasmI32; case kLocalI64: return kWasmI64; case kLocalF32: return kWasmF32; case kLocalF64: return kWasmF64; default: if (origin_ == kWasmOrigin) { switch (t) { case kLocalS128: if (enabled_features_.has_simd()) return kWasmS128; break; case kLocalFuncRef: if (enabled_features_.has_anyref()) return kWasmFuncRef; break; case kLocalAnyRef: if (enabled_features_.has_anyref()) return kWasmAnyRef; break; case kLocalNullRef: if (enabled_features_.has_anyref()) return kWasmNullRef; break; case kLocalExnRef: if (enabled_features_.has_eh()) return kWasmExnRef; break; default: break; } } error(pc_ - 1, "invalid local type"); return kWasmStmt; } } // Reads a single 8-bit integer, interpreting it as a reference type. ValueType consume_reference_type() { byte val = consume_u8("reference type"); ValueTypeCode t = static_cast<ValueTypeCode>(val); switch (t) { case kLocalFuncRef: return kWasmFuncRef; case kLocalAnyRef: if (!enabled_features_.has_anyref()) { error(pc_ - 1, "Invalid type. Set --experimental-wasm-anyref to use 'AnyRef'"); } return kWasmAnyRef; case kLocalNullRef: if (!enabled_features_.has_anyref()) { error( pc_ - 1, "Invalid type. Set --experimental-wasm-anyref to use 'NullRef'"); } return kWasmNullRef; case kLocalExnRef: if (!enabled_features_.has_eh()) { error(pc_ - 1, "Invalid type. Set --experimental-wasm-eh to use 'ExnRef'"); } return kWasmExnRef; default: break; } error(pc_ - 1, "invalid reference type"); return kWasmStmt; } const FunctionSig* consume_sig(Zone* zone) { if (!expect_u8("type form", kWasmFunctionTypeCode)) return nullptr; // parse parameter types uint32_t param_count = consume_count("param count", kV8MaxWasmFunctionParams); if (failed()) return nullptr; std::vector<ValueType> params; for (uint32_t i = 0; ok() && i < param_count; ++i) { ValueType param = consume_value_type(); params.push_back(param); } std::vector<ValueType> returns; // parse return types const size_t max_return_count = enabled_features_.has_mv() ? kV8MaxWasmFunctionMultiReturns : kV8MaxWasmFunctionReturns; uint32_t return_count = consume_count("return count", max_return_count); if (failed()) return nullptr; for (uint32_t i = 0; ok() && i < return_count; ++i) { ValueType ret = consume_value_type(); returns.push_back(ret); } if (failed()) return nullptr; // FunctionSig stores the return types first. ValueType* buffer = zone->NewArray<ValueType>(param_count + return_count); uint32_t b = 0; for (uint32_t i = 0; i < return_count; ++i) buffer[b++] = returns[i]; for (uint32_t i = 0; i < param_count; ++i) buffer[b++] = params[i]; return new (zone) FunctionSig(return_count, param_count, buffer); } // Consume the attribute field of an exception. uint32_t consume_exception_attribute() { const byte* pos = pc_; uint32_t attribute = consume_u32v("exception attribute"); if (attribute != kExceptionAttribute) { errorf(pos, "exception attribute %u not supported", attribute); return 0; } return attribute; } void consume_element_segment_header(WasmElemSegment::Status* status, bool* functions_as_elements, ValueType* type, uint32_t* table_index, WasmInitExpr* offset) { const byte* pos = pc(); uint8_t flag; if (enabled_features_.has_bulk_memory() || enabled_features_.has_anyref()) { flag = consume_u8("flag"); } else { uint32_t table_index = consume_u32v("table index"); // The only valid flag value without bulk_memory or anyref is '0'. if (table_index != 0) { error( "Element segments with table indices require " "--experimental-wasm-bulk-memory or --experimental-wasm-anyref"); return; } flag = 0; } // The mask for the bit in the flag which indicates if the segment is // active or not. constexpr uint8_t kIsPassiveMask = 0x01; // The mask for the bit in the flag which indicates if the segment has an // explicit table index field. constexpr uint8_t kHasTableIndexMask = 0x02; // The mask for the bit in the flag which indicates if the functions of this // segment are defined as function indices (=0) or elements(=1). constexpr uint8_t kFunctionsAsElementsMask = 0x04; constexpr uint8_t kFullMask = kIsPassiveMask | kHasTableIndexMask | kFunctionsAsElementsMask; bool is_passive = flag & kIsPassiveMask; if (!is_passive) { *status = WasmElemSegment::kStatusActive; if (module_->tables.size() == 0) { error(pc_, "Active element sections require a table"); } } else if ((flag & kHasTableIndexMask)) { // Special bit combination for // declarative segments. *status = WasmElemSegment::kStatusDeclarative; } else { *status = WasmElemSegment::kStatusPassive; } *functions_as_elements = flag & kFunctionsAsElementsMask; bool has_table_index = (flag & kHasTableIndexMask) && *status == WasmElemSegment::kStatusActive; if (*status == WasmElemSegment::kStatusDeclarative && !enabled_features_.has_anyref()) { error("Declarative element segments require --experimental-wasm-anyref"); return; } if (*status == WasmElemSegment::kStatusPassive && !enabled_features_.has_bulk_memory()) { error("Passive element segments require --experimental-wasm-bulk-memory"); return; } if (*functions_as_elements && !enabled_features_.has_bulk_memory()) { error( "Illegal segment flag. Did you forget " "--experimental-wasm-bulk-memory?"); return; } if (flag != 0 && !enabled_features_.has_bulk_memory() && !enabled_features_.has_anyref()) { error( "Invalid segment flag. Did you forget " "--experimental-wasm-bulk-memory or --experimental-wasm-anyref?"); return; } if ((flag & kFullMask) != flag) { errorf(pos, "illegal flag value %u. Must be between 0 and 7", flag); } if (has_table_index) { *table_index = consume_u32v("table index"); } else { *table_index = 0; } if (*status == WasmElemSegment::kStatusActive) { *offset = consume_init_expr(module_.get(), kWasmI32); } if (*status == WasmElemSegment::kStatusActive && !has_table_index) { // Active segments without table indices are a special case for backwards // compatibility. These cases have an implicit element kind or element // type, so we are done already with the segment header. *type = kWasmFuncRef; return; } if (*functions_as_elements) { *type = consume_reference_type(); } else { // We have to check that there is an element kind of type Function. All // other element kinds are not valid yet. uint8_t val = consume_u8("element kind"); ImportExportKindCode kind = static_cast<ImportExportKindCode>(val); if (kind != kExternalFunction) { errorf(pos, "illegal element kind %x. Must be 0x00", val); return; } *type = kWasmFuncRef; } } void consume_data_segment_header(bool* is_active, uint32_t* index, WasmInitExpr* offset) { const byte* pos = pc(); uint32_t flag = consume_u32v("flag"); // Some flag values are only valid for specific proposals. if (flag == SegmentFlags::kPassive) { if (!enabled_features_.has_bulk_memory()) { error( "Passive element segments require --experimental-wasm-bulk-memory"); return; } } else if (flag == SegmentFlags::kActiveWithIndex) { if (!(enabled_features_.has_bulk_memory() || enabled_features_.has_anyref())) { error( "Element segments with table indices require " "--experimental-wasm-bulk-memory or --experimental-wasm-anyref"); return; } } else if (flag != SegmentFlags::kActiveNoIndex) { errorf(pos, "illegal flag value %u. Must be 0, 1, or 2", flag); return; } // We know now that the flag is valid. Time to read the rest. if (flag == SegmentFlags::kActiveNoIndex) { *is_active = true; *index = 0; *offset = consume_init_expr(module_.get(), kWasmI32); return; } if (flag == SegmentFlags::kPassive) { *is_active = false; return; } if (flag == SegmentFlags::kActiveWithIndex) { *is_active = true; *index = consume_u32v("memory index"); *offset = consume_init_expr(module_.get(), kWasmI32); } } uint32_t consume_element_func_index() { WasmFunction* func = nullptr; uint32_t index = consume_func_index(module_.get(), &func, "element function index"); if (failed()) return index; func->declared = true; DCHECK_NE(func, nullptr); DCHECK_EQ(index, func->func_index); DCHECK_NE(index, WasmElemSegment::kNullIndex); return index; } uint32_t consume_element_expr() { uint32_t index = WasmElemSegment::kNullIndex; uint8_t opcode = consume_u8("element opcode"); if (failed()) return index; switch (opcode) { case kExprRefNull: index = WasmElemSegment::kNullIndex; break; case kExprRefFunc: index = consume_element_func_index(); if (failed()) return index; break; default: error("invalid opcode in element"); break; } expect_u8("end opcode", kExprEnd); return index; } }; ModuleResult DecodeWasmModule(const WasmFeatures& enabled, const byte* module_start, const byte* module_end, bool verify_functions, ModuleOrigin origin, Counters* counters, AccountingAllocator* allocator) { size_t size = module_end - module_start; CHECK_LE(module_start, module_end); if (size >= kV8MaxWasmModuleSize) { return ModuleResult{WasmError{0, "size > maximum module size (%zu): %zu", kV8MaxWasmModuleSize, size}}; } // TODO(bradnelson): Improve histogram handling of size_t. auto size_counter = SELECT_WASM_COUNTER(counters, origin, wasm, module_size_bytes); size_counter->AddSample(static_cast<int>(size)); // Signatures are stored in zone memory, which have the same lifetime // as the {module}. ModuleDecoderImpl decoder(enabled, module_start, module_end, origin); return decoder.DecodeModule(counters, allocator, verify_functions); } ModuleDecoder::ModuleDecoder(const WasmFeatures& enabled) : enabled_features_(enabled) {} ModuleDecoder::~ModuleDecoder() = default; const std::shared_ptr<WasmModule>& ModuleDecoder::shared_module() const { return impl_->shared_module(); } void ModuleDecoder::StartDecoding(Counters* counters, AccountingAllocator* allocator, ModuleOrigin origin) { DCHECK_NULL(impl_); impl_.reset(new ModuleDecoderImpl(enabled_features_, origin)); impl_->StartDecoding(counters, allocator); } void ModuleDecoder::DecodeModuleHeader(Vector<const uint8_t> bytes, uint32_t offset) { impl_->DecodeModuleHeader(bytes, offset); } void ModuleDecoder::DecodeSection(SectionCode section_code, Vector<const uint8_t> bytes, uint32_t offset, bool verify_functions) { impl_->DecodeSection(section_code, bytes, offset, verify_functions); } void ModuleDecoder::DecodeFunctionBody(uint32_t index, uint32_t length, uint32_t offset, bool verify_functions) { impl_->DecodeFunctionBody(index, length, offset, verify_functions); } bool ModuleDecoder::CheckFunctionsCount(uint32_t functions_count, uint32_t offset) { return impl_->CheckFunctionsCount(functions_count, offset); } ModuleResult ModuleDecoder::FinishDecoding(bool verify_functions) { return impl_->FinishDecoding(verify_functions); } void ModuleDecoder::set_code_section(uint32_t offset, uint32_t size) { return impl_->set_code_section(offset, size); } size_t ModuleDecoder::IdentifyUnknownSection(ModuleDecoder* decoder, Vector<const uint8_t> bytes, uint32_t offset, SectionCode* result) { if (!decoder->ok()) return 0; decoder->impl_->Reset(bytes, offset); *result = IdentifyUnknownSectionInternal(decoder->impl_.get()); return decoder->impl_->pc() - bytes.begin(); } bool ModuleDecoder::ok() { return impl_->ok(); } const FunctionSig* DecodeWasmSignatureForTesting(const WasmFeatures& enabled, Zone* zone, const byte* start, const byte* end) { ModuleDecoderImpl decoder(enabled, start, end, kWasmOrigin); return decoder.DecodeFunctionSignature(zone, start); } WasmInitExpr DecodeWasmInitExprForTesting(const WasmFeatures& enabled, const byte* start, const byte* end) { AccountingAllocator allocator; ModuleDecoderImpl decoder(enabled, start, end, kWasmOrigin); return decoder.DecodeInitExpr(start); } FunctionResult DecodeWasmFunctionForTesting( const WasmFeatures& enabled, Zone* zone, const ModuleWireBytes& wire_bytes, const WasmModule* module, const byte* function_start, const byte* function_end, Counters* counters) { size_t size = function_end - function_start; CHECK_LE(function_start, function_end); auto size_histogram = SELECT_WASM_COUNTER(counters, module->origin, wasm, function_size_bytes); // TODO(bradnelson): Improve histogram handling of ptrdiff_t. size_histogram->AddSample(static_cast<int>(size)); if (size > kV8MaxWasmFunctionSize) { return FunctionResult{WasmError{0, "size > maximum function size (%zu): %zu", kV8MaxWasmFunctionSize, size}}; } ModuleDecoderImpl decoder(enabled, function_start, function_end, kWasmOrigin); decoder.SetCounters(counters); return decoder.DecodeSingleFunction(zone, wire_bytes, module, std::make_unique<WasmFunction>()); } AsmJsOffsetsResult DecodeAsmJsOffsets(Vector<const uint8_t> encoded_offsets) { std::vector<AsmJsOffsetFunctionEntries> functions; Decoder decoder(encoded_offsets); uint32_t functions_count = decoder.consume_u32v("functions count"); // Sanity check. DCHECK_GE(encoded_offsets.size(), functions_count); functions.reserve(functions_count); for (uint32_t i = 0; i < functions_count; ++i) { uint32_t size = decoder.consume_u32v("table size"); if (size == 0) { functions.emplace_back(); continue; } DCHECK(decoder.checkAvailable(size)); const byte* table_end = decoder.pc() + size; uint32_t locals_size = decoder.consume_u32v("locals size"); int function_start_position = decoder.consume_u32v("function start pos"); int function_end_position = function_start_position; int last_byte_offset = locals_size; int last_asm_position = function_start_position; std::vector<AsmJsOffsetEntry> func_asm_offsets; func_asm_offsets.reserve(size / 4); // conservative estimation // Add an entry for the stack check, associated with position 0. func_asm_offsets.push_back( {0, function_start_position, function_start_position}); while (decoder.pc() < table_end) { DCHECK(decoder.ok()); last_byte_offset += decoder.consume_u32v("byte offset delta"); int call_position = last_asm_position + decoder.consume_i32v("call position delta"); int to_number_position = call_position + decoder.consume_i32v("to_number position delta"); last_asm_position = to_number_position; if (decoder.pc() == table_end) { // The last entry is the function end marker. DCHECK_EQ(call_position, to_number_position); function_end_position = call_position; } else { func_asm_offsets.push_back( {last_byte_offset, call_position, to_number_position}); } } DCHECK_EQ(decoder.pc(), table_end); functions.emplace_back(AsmJsOffsetFunctionEntries{ function_start_position, function_end_position, std::move(func_asm_offsets)}); } DCHECK(decoder.ok()); DCHECK(!decoder.more()); return decoder.toResult(AsmJsOffsets{std::move(functions)}); } std::vector<CustomSectionOffset> DecodeCustomSections(const byte* start, const byte* end) { Decoder decoder(start, end); decoder.consume_bytes(4, "wasm magic"); decoder.consume_bytes(4, "wasm version"); std::vector<CustomSectionOffset> result; while (decoder.more()) { byte section_code = decoder.consume_u8("section code"); uint32_t section_length = decoder.consume_u32v("section length"); uint32_t section_start = decoder.pc_offset(); if (section_code != 0) { // Skip known sections. decoder.consume_bytes(section_length, "section bytes"); continue; } uint32_t name_length = decoder.consume_u32v("name length"); uint32_t name_offset = decoder.pc_offset(); decoder.consume_bytes(name_length, "section name"); uint32_t payload_offset = decoder.pc_offset(); if (section_length < (payload_offset - section_start)) { decoder.error("invalid section length"); break; } uint32_t payload_length = section_length - (payload_offset - section_start); decoder.consume_bytes(payload_length); if (decoder.failed()) break; result.push_back({{section_start, section_length}, {name_offset, name_length}, {payload_offset, payload_length}}); } return result; } namespace { bool FindNameSection(Decoder* decoder) { static constexpr int kModuleHeaderSize = 8; decoder->consume_bytes(kModuleHeaderSize, "module header"); WasmSectionIterator section_iter(decoder); while (decoder->ok() && section_iter.more() && section_iter.section_code() != kNameSectionCode) { section_iter.advance(true); } if (!section_iter.more()) return false; // Reset the decoder to not read beyond the name section end. decoder->Reset(section_iter.payload(), decoder->pc_offset()); return true; } } // namespace void DecodeFunctionNames(const byte* module_start, const byte* module_end, std::unordered_map<uint32_t, WireBytesRef>* names, const Vector<const WasmExport> export_table) { DCHECK_NOT_NULL(names); DCHECK(names->empty()); Decoder decoder(module_start, module_end); if (FindNameSection(&decoder)) { while (decoder.ok() && decoder.more()) { uint8_t name_type = decoder.consume_u8("name type"); if (name_type & 0x80) break; // no varuint7 uint32_t name_payload_len = decoder.consume_u32v("name payload length"); if (!decoder.checkAvailable(name_payload_len)) break; if (name_type != NameSectionKindCode::kFunction) { decoder.consume_bytes(name_payload_len, "name subsection payload"); continue; } uint32_t functions_count = decoder.consume_u32v("functions count"); for (; decoder.ok() && functions_count > 0; --functions_count) { uint32_t function_index = decoder.consume_u32v("function index"); WireBytesRef name = consume_string(&decoder, false, "function name"); // Be lenient with errors in the name section: Ignore non-UTF8 names. // You can even assign to the same function multiple times (last valid // one wins). if (decoder.ok() && validate_utf8(&decoder, name)) { names->insert(std::make_pair(function_index, name)); } } } } // Extract from export table. for (const WasmExport& exp : export_table) { switch (exp.kind) { case kExternalFunction: if (names->count(exp.index) == 0) { names->insert(std::make_pair(exp.index, exp.name)); } break; default: break; } } } void DecodeGlobalNames( const Vector<const WasmImport> import_table, const Vector<const WasmExport> export_table, std::unordered_map<uint32_t, std::pair<WireBytesRef, WireBytesRef>>* names) { DCHECK_NOT_NULL(names); DCHECK(names->empty()); // Extract from import table. for (const WasmImport& imp : import_table) { if (imp.kind != kExternalGlobal) continue; if (!imp.module_name.is_set() || !imp.field_name.is_set()) continue; if (names->count(imp.index) == 0) { names->insert(std::make_pair( imp.index, std::make_pair(imp.module_name, imp.field_name))); } } // Extract from export table. for (const WasmExport& exp : export_table) { if (exp.kind != kExternalGlobal) continue; if (!exp.name.is_set()) continue; if (names->count(exp.index) == 0) { names->insert( std::make_pair(exp.index, std::make_pair(WireBytesRef(), exp.name))); } } } LocalNames DecodeLocalNames(Vector<const uint8_t> module_bytes) { Decoder decoder(module_bytes); if (!FindNameSection(&decoder)) return LocalNames{{}}; std::vector<LocalNamesPerFunction> functions; while (decoder.ok() && decoder.more()) { uint8_t name_type = decoder.consume_u8("name type"); if (name_type & 0x80) break; // no varuint7 uint32_t name_payload_len = decoder.consume_u32v("name payload length"); if (!decoder.checkAvailable(name_payload_len)) break; if (name_type != NameSectionKindCode::kLocal) { decoder.consume_bytes(name_payload_len, "name subsection payload"); continue; } uint32_t local_names_count = decoder.consume_u32v("local names count"); for (uint32_t i = 0; i < local_names_count; ++i) { uint32_t func_index = decoder.consume_u32v("function index"); if (func_index > kMaxInt) continue; std::vector<LocalName> names; uint32_t num_names = decoder.consume_u32v("namings count"); for (uint32_t k = 0; k < num_names; ++k) { uint32_t local_index = decoder.consume_u32v("local index"); WireBytesRef name = consume_string(&decoder, false, "local name"); if (!decoder.ok()) break; if (local_index > kMaxInt) continue; // Ignore non-utf8 names. if (!validate_utf8(&decoder, name)) continue; names.emplace_back(static_cast<int>(local_index), name); } // Use stable sort to get deterministic names (the first one declared) // even in the presence of duplicates. std::stable_sort(names.begin(), names.end(), LocalName::IndexLess{}); functions.emplace_back(static_cast<int>(func_index), std::move(names)); } } std::stable_sort(functions.begin(), functions.end(), LocalNamesPerFunction::FunctionIndexLess{}); return LocalNames{std::move(functions)}; } #undef TRACE } // namespace wasm } // namespace internal } // namespace v8
[ "info@bnoordhuis.nl" ]
info@bnoordhuis.nl
371793abf121fa4d5d1eebfedb9643bbfb2d6878
51ea90619a4754faaf5ade355b5191dfd2d696a4
/Labyrint kopio/labyball/Classes/Native/Bulk_UnityEngine.UI_0.cpp
722259b0bae4ae8bdf1d69fdeeda3f4a4081d5f1
[]
no_license
mimietti/MySandbox-
0baecb7bbd9fa9cd642b1f080a26a62b18ba1dff
2600b9ab03979b4dd5a37bc81c4c818de8d1c6d3
refs/heads/master
2021-01-22T17:34:03.440543
2016-12-20T13:16:27
2016-12-20T13:16:27
63,416,433
0
0
null
null
null
null
UTF-8
C++
false
false
1,650,937
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> // <PrivateImplementationDetails> struct U3CPrivateImplementationDetailsU3E_t3053238937; // UnityEngine.EventSystems.AbstractEventData struct AbstractEventData_t419992509; // UnityEngine.EventSystems.AxisEventData struct AxisEventData_t552897310; // UnityEngine.EventSystems.EventSystem struct EventSystem_t409518532; // UnityEngine.EventSystems.BaseEventData struct BaseEventData_t3547103726; // UnityEngine.EventSystems.BaseInputModule struct BaseInputModule_t3800378272; // UnityEngine.GameObject struct GameObject_t4012695102; // System.Object struct Il2CppObject; // System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult> struct List_1_t1756857658; // UnityEngine.EventSystems.PointerEventData struct PointerEventData_t3205101634; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IPointerExitHandler> struct EventFunction_1_t2213608131; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<System.Object> struct EventFunction_1_t3885370180; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IPointerEnterHandler> struct EventFunction_1_t176292337; // UnityEngine.EventSystems.BaseRaycaster struct BaseRaycaster_t3819875680; // System.String struct String_t; // System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule> struct List_1_t302369945; // System.Collections.Generic.List`1<System.Object> struct List_1_t1634065389; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IDeselectHandler> struct EventFunction_1_t97608975; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.ISelectHandler> struct EventFunction_1_t1347291568; // UnityEngine.EventSystems.EventTrigger struct EventTrigger_t2937500249; // System.Collections.Generic.List`1<UnityEngine.EventSystems.EventTrigger/Entry> struct List_1_t864074059; // UnityEngine.EventSystems.EventTrigger/Entry struct Entry_t67115090; // UnityEngine.EventSystems.EventTrigger/TriggerEvent struct TriggerEvent_t516183010; // UnityEngine.EventSystems.IPointerEnterHandler struct IPointerEnterHandler_t1422995873; // UnityEngine.EventSystems.IPointerExitHandler struct IPointerExitHandler_t3460311667; // UnityEngine.EventSystems.IPointerDownHandler struct IPointerDownHandler_t1329431151; // UnityEngine.EventSystems.IPointerUpHandler struct IPointerUpHandler_t2146474326; // UnityEngine.EventSystems.IPointerClickHandler struct IPointerClickHandler_t2630585585; // UnityEngine.EventSystems.IInitializePotentialDragHandler struct IInitializePotentialDragHandler_t922544972; // UnityEngine.EventSystems.IBeginDragHandler struct IBeginDragHandler_t666849777; // UnityEngine.EventSystems.IDragHandler struct IDragHandler_t3145479144; // UnityEngine.EventSystems.IEndDragHandler struct IEndDragHandler_t2279478463; // UnityEngine.EventSystems.IDropHandler struct IDropHandler_t2116344269; // UnityEngine.EventSystems.IScrollHandler struct IScrollHandler_t2329086575; // UnityEngine.EventSystems.IUpdateSelectedHandler struct IUpdateSelectedHandler_t3113961432; // UnityEngine.EventSystems.ISelectHandler struct ISelectHandler_t2593995104; // UnityEngine.EventSystems.IDeselectHandler struct IDeselectHandler_t1344312511; // UnityEngine.EventSystems.IMoveHandler struct IMoveHandler_t1954867883; // UnityEngine.EventSystems.ISubmitHandler struct ISubmitHandler_t1622062788; // UnityEngine.EventSystems.ICancelHandler struct ICancelHandler_t3193714210; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IPointerDownHandler> struct EventFunction_1_t82727615; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IPointerUpHandler> struct EventFunction_1_t899770790; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IPointerClickHandler> struct EventFunction_1_t1383882049; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IInitializePotentialDragHandler> struct EventFunction_1_t3970808732; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IBeginDragHandler> struct EventFunction_1_t3715113537; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IDragHandler> struct EventFunction_1_t1898775608; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IEndDragHandler> struct EventFunction_1_t1032774927; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IDropHandler> struct EventFunction_1_t869640733; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IScrollHandler> struct EventFunction_1_t1082383039; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IUpdateSelectedHandler> struct EventFunction_1_t1867257896; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IMoveHandler> struct EventFunction_1_t708164347; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.ISubmitHandler> struct EventFunction_1_t375359252; // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.ICancelHandler> struct EventFunction_1_t1947010674; // System.Collections.Generic.IList`1<UnityEngine.Transform> struct IList_1_t2451045427; // System.Collections.Generic.List`1<UnityEngine.EventSystems.IEventSystemHandler> struct List_1_t1916216126; // UnityEngine.EventSystems.Physics2DRaycaster struct Physics2DRaycaster_t3013235352; // UnityEngine.SpriteRenderer struct SpriteRenderer_t2223784725; // UnityEngine.EventSystems.PhysicsRaycaster struct PhysicsRaycaster_t2526406378; // UnityEngine.Camera struct Camera_t3533968274; // UnityEngine.RaycastHit[] struct RaycastHitU5BU5D_t1365728750; // System.Comparison`1<UnityEngine.RaycastHit> struct Comparison_1_t2749896403; // UnityEngine.EventSystems.PointerInputModule struct PointerInputModule_t1553882356; // UnityEngine.EventSystems.PointerInputModule/MouseState struct MouseState_t2990183180; // UnityEngine.EventSystems.PointerInputModule/ButtonState struct ButtonState_t4192339039; // UnityEngine.EventSystems.PointerInputModule/MouseButtonEventData struct MouseButtonEventData_t3739491085; // System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseRaycaster> struct List_1_t321867353; // UnityEngine.EventSystems.StandaloneInputModule struct StandaloneInputModule_t3152099756; // UnityEngine.EventSystems.TouchInputModule struct TouchInputModule_t2251026098; // UnityEngine.EventSystems.UIBehaviour struct UIBehaviour_t644839684; // UnityEngine.UI.AnimationTriggers struct AnimationTriggers_t513475400; // UnityEngine.UI.AspectRatioFitter struct AspectRatioFitter_t834996428; // UnityEngine.RectTransform struct RectTransform_t3317474837; // UnityEngine.UI.BaseMeshEffect struct BaseMeshEffect_t770218424; // UnityEngine.UI.Graphic struct Graphic_t933884113; // UnityEngine.Mesh struct Mesh_t1525280346; // UnityEngine.UI.BaseVertexEffect struct BaseVertexEffect_t381296623; // UnityEngine.UI.Button struct Button_t990034267; // UnityEngine.UI.Button/ButtonClickedEvent struct ButtonClickedEvent_t962981669; // System.Collections.IEnumerator struct IEnumerator_t287207039; // UnityEngine.UI.Button/<OnFinishSubmit>c__Iterator1 struct U3COnFinishSubmitU3Ec__Iterator1_t2305455320; // UnityEngine.UI.CanvasScaler struct CanvasScaler_t872225289; // UnityEngine.Canvas struct Canvas_t3534013893; // UnityEngine.UI.CanvasUpdateRegistry struct CanvasUpdateRegistry_t2591544775; // UnityEngine.UI.ICanvasElement struct ICanvasElement_t4007944900; // UnityEngine.Transform struct Transform_t284553113; // UnityEngine.UI.ClipperRegistry struct ClipperRegistry_t694640915; // UnityEngine.UI.IClipper struct IClipper_t4185560397; // System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D> struct List_1_t1595633764; // UnityEngine.UI.ContentSizeFitter struct ContentSizeFitter_t1683351827; // UnityEngine.Events.UnityAction`1<UnityEngine.Color> struct UnityAction_1_t1568637665; // UnityEngine.UI.CoroutineTween.ColorTween/ColorTweenCallback struct ColorTweenCallback_t3305784653; // UnityEngine.Events.UnityAction`1<System.Single> struct UnityAction_1_t938670926; // UnityEngine.UI.CoroutineTween.FloatTween/FloatTweenCallback struct FloatTweenCallback_t2670964468; // UnityEngine.UI.Text struct Text_t3286458198; // UnityEngine.UI.Selectable struct Selectable_t3621744255; // UnityEngine.UI.Image struct Image_t3354615620; // UnityEngine.UI.RawImage struct RawImage_t3831555132; // UnityEngine.UI.Slider struct Slider_t1468074762; // UnityEngine.UI.Scrollbar struct Scrollbar_t1410649103; // UnityEngine.UI.Toggle struct Toggle_t1499417981; // UnityEngine.UI.InputField struct InputField_t2345609593; // UnityEngine.UI.ScrollRect struct ScrollRect_t1048578170; // UnityEngine.UI.Mask struct Mask_t3286245653; // UnityEngine.UI.Dropdown struct Dropdown_t2916437562; // System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData> struct List_1_t4163512024; // UnityEngine.UI.Dropdown/DropdownEvent struct DropdownEvent_t2203078889; // System.Collections.Generic.List`1<System.String> struct List_1_t1765447871; // System.Collections.Generic.List`1<UnityEngine.Sprite> struct List_1_t508032043; // UnityEngine.UI.Dropdown/DropdownItem struct DropdownItem_t2010846948; // UnityEngine.UI.GraphicRaycaster struct GraphicRaycaster_t2033008887; // UnityEngine.CanvasGroup struct CanvasGroup_t1295922228; // System.Collections.Generic.List`1<UnityEngine.Canvas> struct List_1_t36005566; // UnityEngine.UI.Dropdown/OptionData struct OptionData_t3366553055; // System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem> struct List_1_t2807805917; // UnityEngine.UI.Dropdown/<DelayedDestroyDropdownList>c__Iterator2 struct U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372; // UnityEngine.UI.Dropdown/<Show>c__AnonStorey6 struct U3CShowU3Ec__AnonStorey6_t3327131860; // UnityEngine.Sprite struct Sprite_t4006040370; // UnityEngine.UI.Dropdown/OptionDataList struct OptionDataList_t2865341213; // UnityEngine.UI.FontData struct FontData_t3713645250; // UnityEngine.Font struct Font_t1525081276; // UnityEngine.Material struct Material_t1886596500; // UnityEngine.CanvasRenderer struct CanvasRenderer_t3626201768; // UnityEngine.Texture struct Texture_t1769722184; // System.Collections.Generic.List`1<UnityEngine.UIVertex> struct List_1_t3057020574; // UnityEngine.UI.VertexHelper struct VertexHelper_t1471929499; // System.Collections.Generic.List`1<UnityEngine.Component> struct List_1_t2923905571; // UnityEngine.Events.UnityAction struct UnityAction_t909267611; // System.Collections.Generic.List`1<UnityEngine.UI.Graphic> struct List_1_t1730843082; // UnityEngine.UI.GraphicRegistry struct GraphicRegistry_t3790421294; // System.Collections.Generic.IList`1<UnityEngine.UI.Graphic> struct IList_1_t3100376427; // UnityEngine.UI.GridLayoutGroup struct GridLayoutGroup_t4084811832; // UnityEngine.UI.HorizontalLayoutGroup struct HorizontalLayoutGroup_t2687518874; // UnityEngine.UI.HorizontalOrVerticalLayoutGroup struct HorizontalOrVerticalLayoutGroup_t2416992609; // UnityEngine.Vector3[] struct Vector3U5BU5D_t3227571696; // UnityEngine.TextGenerator struct TextGenerator_t2883685459; // UnityEngine.UI.InputField/SubmitEvent struct SubmitEvent_t1697462594; // UnityEngine.UI.InputField/OnChangeEvent struct OnChangeEvent_t3894605131; // UnityEngine.UI.InputField/OnValidateInput struct OnValidateInput_t3303221397; // UnityEngine.Event struct Event_t1590224583; struct Event_t1590224583_marshaled_pinvoke; // UnityEngine.UI.LayoutElement struct LayoutElement_t2655817307; // UnityEngine.UI.InputField/ContentType[] struct ContentTypeU5BU5D_t2225613474; // UnityEngine.UI.InputField/<CaretBlink>c__Iterator3 struct U3CCaretBlinkU3Ec__Iterator3_t2286509995; // UnityEngine.UI.InputField/<MouseDragOutsideRect>c__Iterator4 struct U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509; // System.IAsyncResult struct IAsyncResult_t537683269; // System.AsyncCallback struct AsyncCallback_t1363551830; // UnityEngine.UI.LayoutGroup struct LayoutGroup_t2646131550; // UnityEngine.RectOffset struct RectOffset_t3394170884; // System.Collections.Generic.List`1<UnityEngine.RectTransform> struct List_1_t4114433806; // UnityEngine.UI.LayoutRebuilder struct LayoutRebuilder_t1563460583; // UnityEngine.Events.UnityAction`1<UnityEngine.Component> struct UnityAction_1_t2107408507; // UnityEngine.Component struct Component_t2126946602; // System.Func`2<UnityEngine.UI.ILayoutElement,System.Single> struct Func_2_t4205183563; // UnityEngine.UI.ILayoutElement struct ILayoutElement_t109776050; #include "class-internals.h" #include "codegen/il2cpp-codegen.h" #include "mscorlib_System_Array2840145358.h" #include "UnityEngine_UI_U3CModuleU3E86524790.h" #include "UnityEngine_UI_U3CModuleU3E86524790MethodDeclarations.h" #include "UnityEngine_UI_U3CPrivateImplementationDetailsU3E3053238933.h" #include "UnityEngine_UI_U3CPrivateImplementationDetailsU3E3053238933MethodDeclarations.h" #include "mscorlib_System_Void2779279689.h" #include "mscorlib_System_Object837106420MethodDeclarations.h" #include "UnityEngine_UI_U3CPrivateImplementationDetailsU3E_U214874486.h" #include "UnityEngine_UI_U3CPrivateImplementationDetailsU3E_U214874486MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_AbstractEve419992509.h" #include "UnityEngine_UI_UnityEngine_EventSystems_AbstractEve419992509MethodDeclarations.h" #include "mscorlib_System_Boolean211005341.h" #include "UnityEngine_UI_UnityEngine_EventSystems_AxisEventDa552897310.h" #include "UnityEngine_UI_UnityEngine_EventSystems_AxisEventDa552897310MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_EventSystem409518532.h" #include "UnityEngine_UI_UnityEngine_EventSystems_BaseEventD3547103726MethodDeclarations.h" #include "UnityEngine_UnityEngine_Vector23525329788MethodDeclarations.h" #include "UnityEngine_UnityEngine_Vector23525329788.h" #include "UnityEngine_UI_UnityEngine_EventSystems_MoveDirectio37419785.h" #include "UnityEngine_UI_UnityEngine_EventSystems_BaseEventD3547103726.h" #include "UnityEngine_UI_UnityEngine_EventSystems_BaseInputM3800378272.h" #include "UnityEngine_UI_UnityEngine_EventSystems_EventSystem409518532MethodDeclarations.h" #include "UnityEngine_UnityEngine_GameObject4012695102.h" #include "UnityEngine_UI_UnityEngine_EventSystems_BaseInputM3800378272MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen1756857658MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_UIBehaviour644839684MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen1756857658.h" #include "UnityEngine_UnityEngine_Component2126946602MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_UIBehaviour644839684.h" #include "UnityEngine_UnityEngine_Component2126946602.h" #include "UnityEngine_UI_UnityEngine_EventSystems_RaycastResu959898689.h" #include "UnityEngine_UI_UnityEngine_EventSystems_RaycastResu959898689MethodDeclarations.h" #include "UnityEngine_UnityEngine_Object3878351788MethodDeclarations.h" #include "mscorlib_System_Int322847414787.h" #include "UnityEngine_UnityEngine_Object3878351788.h" #include "mscorlib_System_Single958209021.h" #include "UnityEngine_UnityEngine_Mathf1597001355MethodDeclarations.h" #include "UnityEngine_UnityEngine_GameObject4012695102MethodDeclarations.h" #include "UnityEngine_UnityEngine_Transform284553113MethodDeclarations.h" #include "UnityEngine_UnityEngine_Transform284553113.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerEve3205101634.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerEve3205101634MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve4196265289MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen514686775.h" #include "mscorlib_System_Collections_Generic_List_1_gen514686775MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve2213608131.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve4196265289.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEven176292337.h" #include "UnityEngine_UnityEngine_Behaviour3120504042MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_BaseRaycas3819875680.h" #include "UnityEngine_UI_UnityEngine_EventSystems_BaseRaycas3819875680MethodDeclarations.h" #include "mscorlib_System_String968488902.h" #include "mscorlib_System_String968488902MethodDeclarations.h" #include "mscorlib_ArrayTypes.h" #include "mscorlib_System_Object837106420.h" #include "UnityEngine_UnityEngine_Camera3533968274.h" #include "UnityEngine_UI_UnityEngine_EventSystems_RaycasterM3461082770MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_EventHandle72269245.h" #include "UnityEngine_UI_UnityEngine_EventSystems_EventHandle72269245MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen302369945MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen302369945.h" #include "mscorlib_System_Comparison_1_gen3663573565MethodDeclarations.h" #include "mscorlib_System_Comparison_1_gen3663573565.h" #include "mscorlib_System_IntPtr676692020.h" #include "UnityEngine_UnityEngine_Debug1588791936MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEvent97608975.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1347291568.h" #include "UnityEngine_UnityEngine_Camera3533968274MethodDeclarations.h" #include "mscorlib_System_Int322847414787MethodDeclarations.h" #include "UnityEngine_UnityEngine_SortingLayer1789336218MethodDeclarations.h" #include "mscorlib_System_Single958209021MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen321867353.h" #include "mscorlib_System_Collections_Generic_List_1_gen321867353MethodDeclarations.h" #include "mscorlib_System_Text_StringBuilder3822575854MethodDeclarations.h" #include "mscorlib_System_Text_StringBuilder3822575854.h" #include "UnityEngine_UI_UnityEngine_EventSystems_EventTrigg2937500249.h" #include "UnityEngine_UI_UnityEngine_EventSystems_EventTrigg2937500249MethodDeclarations.h" #include "UnityEngine_UnityEngine_MonoBehaviour3012272455MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen864074059.h" #include "mscorlib_System_Collections_Generic_List_1_gen864074059MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_EventTrigge904435379.h" #include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen2489558537MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_EventTrigger67115090.h" #include "UnityEngine_UI_UnityEngine_EventSystems_EventTrigge516183010.h" #include "UnityEngine_UI_UnityEngine_EventSystems_EventTrigger67115090MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_EventTrigge516183010MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_EventTrigge904435379MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEven176292337MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve2213608131MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEvent82727615MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEven899770790MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1383882049MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve3970808732MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve3715113537MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1898775608MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1032774927MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEven869640733MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1082383039MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1867257896MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1347291568MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEvent97608975MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEven708164347MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEven375359252MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1947010674MethodDeclarations.h" #include "UnityEngine_UnityEngine_Events_UnityAction_1_gen1896678031MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_ObjectPool_1_gen4033705008MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen1081512082MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEvent82727615.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEven899770790.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1383882049.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve3970808732.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve3715113537.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1898775608.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1032774927.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEven869640733.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1082383039.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1867257896.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEven708164347.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEven375359252.h" #include "UnityEngine_UI_UnityEngine_EventSystems_ExecuteEve1947010674.h" #include "UnityEngine_UnityEngine_Events_UnityAction_1_gen1896678031.h" #include "mscorlib_System_Collections_Generic_List_1_gen1916216126.h" #include "UnityEngine_UI_UnityEngine_UI_ObjectPool_1_gen4033705008.h" #include "mscorlib_System_Collections_Generic_List_1_gen1081512082.h" #include "mscorlib_System_Collections_Generic_List_1_gen1916216126MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_MoveDirectio37419785MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_Physics2DR3013235352.h" #include "UnityEngine_UI_UnityEngine_EventSystems_Physics2DR3013235352MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PhysicsRay2526406378MethodDeclarations.h" #include "UnityEngine_UnityEngine_Physics2D2930244358MethodDeclarations.h" #include "UnityEngine_UnityEngine_RaycastHit2D4082783401MethodDeclarations.h" #include "UnityEngine_UnityEngine_Vector33525329789MethodDeclarations.h" #include "UnityEngine_UnityEngine_Renderer1092684080MethodDeclarations.h" #include "UnityEngine_UnityEngine_Ray1522967639.h" #include "UnityEngine_ArrayTypes.h" #include "UnityEngine_UnityEngine_RaycastHit2D4082783401.h" #include "UnityEngine_UnityEngine_SpriteRenderer2223784725.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PhysicsRay2526406378.h" #include "UnityEngine_UnityEngine_Vector33525329789.h" #include "UnityEngine_UnityEngine_Collider2D1890038195.h" #include "UnityEngine_UnityEngine_LayerMask1862190090MethodDeclarations.h" #include "UnityEngine_UnityEngine_LayerMask1862190090.h" #include "UnityEngine_UnityEngine_Physics2601443956MethodDeclarations.h" #include "mscorlib_System_Comparison_1_gen2749896403MethodDeclarations.h" #include "mscorlib_System_Array2840145358MethodDeclarations.h" #include "UnityEngine_UnityEngine_RaycastHit46221527MethodDeclarations.h" #include "UnityEngine_UnityEngine_RaycastHit46221527.h" #include "mscorlib_System_Comparison_1_gen2749896403.h" #include "UnityEngine_UnityEngine_Collider955670625.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerEven876188540.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerEve1895529275.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerEve1895529275MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerEven876188540MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerInp1553882356.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerInp1553882356MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_g3695912417MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerInp2990183180MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_g3695912417.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerInp2990183180.h" #include "UnityEngine_UnityEngine_Touch1603883884.h" #include "UnityEngine_UnityEngine_Touch1603883884MethodDeclarations.h" #include "UnityEngine_UnityEngine_TouchPhase1905076713.h" #include "UnityEngine_UnityEngine_Input1593691127MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_V1323082215MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_V3462940358MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_V3462940358.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_V1323082215.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_E3462940358MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_KeyValuePair_23184443715MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_KeyValuePair_23184443715.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_E3462940358.h" #include "mscorlib_System_Type2779229935.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerInp4192339039.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerInp4192339039MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerInp3739491085.h" #include "UnityEngine_UI_UnityEngine_EventSystems_PointerInp3739491085MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen694330712MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen694330712.h" #include "UnityEngine_UI_UnityEngine_EventSystems_RaycasterM3461082770.h" #include "UnityEngine_UI_UnityEngine_EventSystems_Standalone3152099756.h" #include "UnityEngine_UI_UnityEngine_EventSystems_Standalone3152099756MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_Standalone3710726253.h" #include "UnityEngine_UnityEngine_TouchType3890655046.h" #include "UnityEngine_UnityEngine_Time1525492538MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_Standalone3710726253MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_EventSystems_TouchInput2251026098.h" #include "UnityEngine_UI_UnityEngine_EventSystems_TouchInput2251026098MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_AnimationTriggers513475400.h" #include "UnityEngine_UI_UnityEngine_UI_AnimationTriggers513475400MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_AspectRatioFitter834996428.h" #include "UnityEngine_UI_UnityEngine_UI_AspectRatioFitter834996428MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_AspectRatioFitter_As2721296955.h" #include "UnityEngine_UI_UnityEngine_UI_SetPropertyUtility633327422MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_SetPropertyUtility633327422.h" #include "UnityEngine_UnityEngine_RectTransform3317474837.h" #include "UnityEngine_UnityEngine_DrivenRectTransformTracker3675273953MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_LayoutRebuilder1563460583MethodDeclarations.h" #include "UnityEngine_UnityEngine_DrivenRectTransformTracker3675273953.h" #include "UnityEngine_UnityEngine_RectTransform3317474837MethodDeclarations.h" #include "UnityEngine_UnityEngine_Rect1525428817MethodDeclarations.h" #include "UnityEngine_UnityEngine_Rect1525428817.h" #include "UnityEngine_UnityEngine_DrivenTransformProperties4209874728.h" #include "UnityEngine_UnityEngine_RectTransform_Axis2055105.h" #include "UnityEngine_UI_UnityEngine_UI_AspectRatioFitter_As2721296955MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_BaseMeshEffect770218424.h" #include "UnityEngine_UI_UnityEngine_UI_BaseMeshEffect770218424MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Graphic933884113.h" #include "UnityEngine_UI_UnityEngine_UI_Graphic933884113MethodDeclarations.h" #include "UnityEngine_UnityEngine_Mesh1525280346.h" #include "UnityEngine_UI_UnityEngine_UI_VertexHelper1471929499MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_VertexHelper1471929499.h" #include "UnityEngine_UI_UnityEngine_UI_BaseVertexEffect381296623.h" #include "UnityEngine_UI_UnityEngine_UI_BaseVertexEffect381296623MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Button990034267.h" #include "UnityEngine_UI_UnityEngine_UI_Button990034267MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Button_ButtonClickedE962981669MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Selectable3621744255MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Button_ButtonClickedE962981669.h" #include "UnityEngine_UnityEngine_Events_UnityEvent2938797301MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Selectable3621744255.h" #include "UnityEngine_UI_UnityEngine_UI_Selectable_Selection1155221125.h" #include "UnityEngine_UnityEngine_Coroutine2246592261.h" #include "UnityEngine_UI_UnityEngine_UI_Button_U3COnFinishSu2305455320MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Button_U3COnFinishSu2305455320.h" #include "UnityEngine_UI_UnityEngine_UI_ColorBlock2245020947MethodDeclarations.h" #include "mscorlib_System_UInt32985925326.h" #include "UnityEngine_UI_UnityEngine_UI_ColorBlock2245020947.h" #include "mscorlib_System_NotSupportedException1374155497MethodDeclarations.h" #include "mscorlib_System_NotSupportedException1374155497.h" #include "UnityEngine_UI_UnityEngine_UI_CanvasScaler872225289.h" #include "UnityEngine_UI_UnityEngine_UI_CanvasScaler872225289MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CanvasScaler_Unit2641316.h" #include "UnityEngine_UI_UnityEngine_UI_CanvasScaler_ScaleMod125837805.h" #include "UnityEngine_UI_UnityEngine_UI_CanvasScaler_ScreenMa204008924.h" #include "UnityEngine_UnityEngine_Canvas3534013893.h" #include "UnityEngine_UnityEngine_Canvas3534013893MethodDeclarations.h" #include "UnityEngine_UnityEngine_RenderMode415265990.h" #include "UnityEngine_UnityEngine_Screen3994030297MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CanvasScaler_ScaleMod125837805MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CanvasScaler_ScreenMa204008924MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CanvasScaler_Unit2641316MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CanvasUpdate941568618.h" #include "UnityEngine_UI_UnityEngine_UI_CanvasUpdate941568618MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CanvasUpdateRegistry2591544775.h" #include "UnityEngine_UI_UnityEngine_UI_CanvasUpdateRegistry2591544775MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Collections_IndexedS3233689201MethodDeclarations.h" #include "UnityEngine_UnityEngine_Canvas_WillRenderCanvases1153522766MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Collections_IndexedS3233689201.h" #include "UnityEngine_UnityEngine_Canvas_WillRenderCanvases1153522766.h" #include "mscorlib_System_Comparison_1_gen2416652480MethodDeclarations.h" #include "mscorlib_System_Comparison_1_gen2416652480.h" #include "UnityEngine_UI_UnityEngine_UI_ClipperRegistry694640915MethodDeclarations.h" #include "mscorlib_System_Exception1967233988.h" #include "UnityEngine_UI_UnityEngine_UI_ClipperRegistry694640915.h" #include "UnityEngine_UI_UnityEngine_UI_Collections_IndexedS3411304698MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_g2460062704.h" #include "UnityEngine_UI_UnityEngine_UI_Collections_IndexedS3411304698.h" #include "UnityEngine_UI_UnityEngine_UI_Clipping4267116267.h" #include "UnityEngine_UI_UnityEngine_UI_Clipping4267116267MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen1595633764.h" #include "UnityEngine_UI_UnityEngine_UI_RectMask2D798674795MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen1595633764MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_RectMask2D798674795.h" #include "UnityEngine_UnityEngine_Color1588175760.h" #include "UnityEngine_UnityEngine_Color324137084207MethodDeclarations.h" #include "UnityEngine_UnityEngine_Color324137084207.h" #include "mscorlib_System_Byte2778693821.h" #include "UnityEngine_UnityEngine_Color1588175760MethodDeclarations.h" #include "mscorlib_System_ValueType4014882752MethodDeclarations.h" #include "mscorlib_System_ValueType4014882752.h" #include "UnityEngine_UI_UnityEngine_UI_ContentSizeFitter1683351827.h" #include "UnityEngine_UI_UnityEngine_UI_ContentSizeFitter1683351827MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_ContentSizeFitter_Fit816341300.h" #include "UnityEngine_UI_UnityEngine_UI_LayoutUtility4203675851MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_ContentSizeFitter_Fit816341300MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_Color2894377818.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_Color2894377818MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_Color2687312555.h" #include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen530630571MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_Color3305784653.h" #include "UnityEngine_UnityEngine_Events_UnityAction_1_gen1568637665.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_Color3305784653MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_Color2687312555MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_FloatT587838465.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_FloatT587838465MethodDeclarations.h" #include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen4195631128MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_Float2670964468.h" #include "UnityEngine_UnityEngine_Events_UnityAction_1_gen938670926.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_Float2670964468MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_DefaultControls3717991936.h" #include "UnityEngine_UI_UnityEngine_UI_DefaultControls3717991936MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Text3286458198.h" #include "UnityEngine_UI_UnityEngine_UI_DefaultControls_Resour20897285.h" #include "UnityEngine_UI_UnityEngine_UI_Image3354615620MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Image3354615620.h" #include "UnityEngine_UnityEngine_Sprite4006040370.h" #include "UnityEngine_UI_UnityEngine_UI_Image_Type2622298.h" #include "UnityEngine_UI_UnityEngine_UI_Text3286458198MethodDeclarations.h" #include "UnityEngine_UnityEngine_TextAnchor551935663.h" #include "UnityEngine_UI_UnityEngine_UI_RawImage3831555132.h" #include "UnityEngine_UI_UnityEngine_UI_Slider1468074762MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Slider1468074762.h" #include "UnityEngine_UI_UnityEngine_UI_Slider_Direction1041377119.h" #include "UnityEngine_UI_UnityEngine_UI_Scrollbar1410649103MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Scrollbar1410649103.h" #include "UnityEngine_UI_UnityEngine_UI_Toggle1499417981MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Toggle1499417981.h" #include "UnityEngine_UI_UnityEngine_UI_InputField2345609593MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_InputField2345609593.h" #include "UnityEngine_UnityEngine_FontStyle1975910095.h" #include "UnityEngine_UI_UnityEngine_UI_ScrollRect1048578170MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Mask3286245653MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown2916437562MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown_OptionData3366553055MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_ScrollRect1048578170.h" #include "UnityEngine_UI_UnityEngine_UI_Mask3286245653.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown2916437562.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown_OptionData3366553055.h" #include "UnityEngine_UI_UnityEngine_UI_Scrollbar_Direction1041377119.h" #include "UnityEngine_UI_UnityEngine_UI_ScrollRect_MovementT3563546793.h" #include "UnityEngine_UI_UnityEngine_UI_ScrollRect_ScrollbarV260445624.h" #include "mscorlib_System_Collections_Generic_List_1_gen4163512024.h" #include "mscorlib_System_Collections_Generic_List_1_gen4163512024MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_DefaultControls_Resour20897285MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown_OptionDataL2865341213MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown_DropdownEve2203078889MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen2807805917MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown_OptionDataL2865341213.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown_DropdownEve2203078889.h" #include "mscorlib_System_Collections_Generic_List_1_gen2807805917.h" #include "UnityEngine_UnityEngine_Application450040189MethodDeclarations.h" #include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen1789869598MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_Tween3422778292MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_Tween3422778292.h" #include "UnityEngine_UnityEngine_MonoBehaviour3012272455.h" #include "mscorlib_System_Collections_Generic_List_1_gen1765447871.h" #include "mscorlib_System_Collections_Generic_List_1_gen1765447871MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen508032043.h" #include "mscorlib_System_Collections_Generic_List_1_gen508032043MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown_DropdownIte2010846948MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown_DropdownIte2010846948.h" #include "UnityEngine_UI_UnityEngine_UI_GraphicRaycaster2033008887.h" #include "UnityEngine_UnityEngine_CanvasGroup1295922228.h" #include "UnityEngine_UI_UnityEngine_UI_ListPool_1_gen3148029054MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown_U3CShowU3Ec3327131860MethodDeclarations.h" #include "UnityEngine_UnityEngine_Events_UnityAction_1_gen191467246MethodDeclarations.h" #include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen3448427448MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Navigation2845019197MethodDeclarations.h" #include "UnityEngine_UnityEngine_RectTransformUtility2895919825MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen36005566.h" #include "UnityEngine_UI_UnityEngine_UI_Navigation2845019197.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown_U3CShowU3Ec3327131860.h" #include "mscorlib_System_Collections_Generic_List_1_gen36005566MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Toggle_ToggleEvent998400902.h" #include "UnityEngine_UnityEngine_Events_UnityAction_1_gen191467246.h" #include "UnityEngine_UI_UnityEngine_UI_Navigation_Mode2403779.h" #include "UnityEngine_UnityEngine_Events_UnityAction909267611MethodDeclarations.h" #include "UnityEngine_UnityEngine_Events_UnityAction909267611.h" #include "UnityEngine_UnityEngine_CanvasGroup1295922228MethodDeclarations.h" #include "UnityEngine_UnityEngine_Events_UnityAction_1_gen938670926MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown_U3CDelayedD1911489372MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Dropdown_U3CDelayedD1911489372.h" #include "UnityEngine_UI_UnityEngine_UI_FontData3713645250.h" #include "UnityEngine_UI_UnityEngine_UI_FontData3713645250MethodDeclarations.h" #include "UnityEngine_UnityEngine_HorizontalWrapMode1685321150.h" #include "UnityEngine_UnityEngine_VerticalWrapMode2656823056.h" #include "UnityEngine_UnityEngine_Font1525081276.h" #include "UnityEngine_UI_UnityEngine_UI_FontUpdateTracker738866185.h" #include "UnityEngine_UI_UnityEngine_UI_FontUpdateTracker738866185MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_g1956621361MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_g1956621361.h" #include "mscorlib_System_Action_1_gen1673533981MethodDeclarations.h" #include "UnityEngine_UnityEngine_Font1525081276MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen4083417167MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen4083417167.h" #include "mscorlib_System_Action_1_gen1673533981.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_Tween1434350349MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_CoroutineTween_Tween1434350349.h" #include "UnityEngine_UnityEngine_Material1886596500.h" #include "UnityEngine_UnityEngine_Texture2D2509538522.h" #include "UnityEngine_UI_UnityEngine_UI_GraphicRegistry3790421294MethodDeclarations.h" #include "UnityEngine_UnityEngine_CanvasRenderer3626201768MethodDeclarations.h" #include "UnityEngine_UnityEngine_CanvasRenderer3626201768.h" #include "UnityEngine_UI_UnityEngine_UI_ListPool_1_gen1740961763MethodDeclarations.h" #include "mscorlib_System_Type2779229935MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen2923905571.h" #include "mscorlib_System_RuntimeTypeHandle1864875887.h" #include "mscorlib_System_Collections_Generic_List_1_gen2923905571MethodDeclarations.h" #include "UnityEngine_UnityEngine_Texture1769722184.h" #include "UnityEngine_UnityEngine_Texture2D2509538522MethodDeclarations.h" #include "UnityEngine_UnityEngine_Mesh1525280346MethodDeclarations.h" #include "UnityEngine_UnityEngine_HideFlags62234258.h" #include "mscorlib_System_Collections_Generic_List_1_gen3057020574.h" #include "UnityEngine_UnityEngine_Vector43525329790MethodDeclarations.h" #include "UnityEngine_UnityEngine_Vector43525329790.h" #include "UnityEngine_UnityEngine_Events_UnityAction_1_gen1568637665MethodDeclarations.h" #include "mscorlib_System_Delegate3660574010MethodDeclarations.h" #include "mscorlib_System_Delegate3660574010.h" #include "UnityEngine_UI_UnityEngine_UI_GraphicRaycaster2033008887MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen1730843082MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen1730843082.h" #include "UnityEngine_UI_UnityEngine_UI_GraphicRaycaster_Blo3349705471.h" #include "UnityEngine_UnityEngine_Ray1522967639MethodDeclarations.h" #include "UnityEngine_UnityEngine_Quaternion1891715979MethodDeclarations.h" #include "UnityEngine_UnityEngine_Quaternion1891715979.h" #include "mscorlib_System_Comparison_1_gen3637558989MethodDeclarations.h" #include "mscorlib_System_Comparison_1_gen3637558989.h" #include "UnityEngine_UI_UnityEngine_UI_GraphicRaycaster_Blo3349705471MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_GraphicRegistry3790421294.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_g3781205267MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_g2348180956.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_ge576693949.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_g3781205267.h" #include "UnityEngine_UI_UnityEngine_UI_Collections_IndexedSe159628414MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Collections_IndexedSe159628414.h" #include "UnityEngine_UI_UnityEngine_UI_GridLayoutGroup4084811832.h" #include "UnityEngine_UI_UnityEngine_UI_GridLayoutGroup4084811832MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_LayoutGroup2646131550MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_GridLayoutGroup_Corn2024169077.h" #include "UnityEngine_UI_UnityEngine_UI_LayoutGroup2646131550.h" #include "UnityEngine_UI_UnityEngine_UI_GridLayoutGroup_Axis2055105.h" #include "UnityEngine_UI_UnityEngine_UI_GridLayoutGroup_Cons1803088381.h" #include "UnityEngine_UnityEngine_RectOffset3394170884MethodDeclarations.h" #include "mscorlib_System_Collections_Generic_List_1_gen4114433806.h" #include "mscorlib_System_Collections_Generic_List_1_gen4114433806MethodDeclarations.h" #include "UnityEngine_UnityEngine_RectOffset3394170884.h" #include "UnityEngine_UI_UnityEngine_UI_GridLayoutGroup_Axis2055105MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_GridLayoutGroup_Cons1803088381MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_GridLayoutGroup_Corn2024169077MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_HorizontalLayoutGrou2687518874.h" #include "UnityEngine_UI_UnityEngine_UI_HorizontalLayoutGrou2687518874MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_HorizontalOrVertical2416992609MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_HorizontalOrVertical2416992609.h" #include "UnityEngine_UI_UnityEngine_UI_MaskableGraphic2806572971MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Image_FillMethod1232150628.h" #include "UnityEngine_UnityEngine_Material1886596500MethodDeclarations.h" #include "UnityEngine_UnityEngine_Sprite4006040370MethodDeclarations.h" #include "UnityEngine_UnityEngine_Sprites_DataUtility4121269839MethodDeclarations.h" #include "UnityEngine_UnityEngine_UIVertex2260061605.h" #include "UnityEngine_UnityEngine_UIVertex2260061605MethodDeclarations.h" #include "UnityEngine_UnityEngine_UnityException3148635335.h" #include "UnityEngine_UnityEngine_Texture1769722184MethodDeclarations.h" #include "mscorlib_System_Exception1967233988MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Image_FillMethod1232150628MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Image_Origin1801804604899.h" #include "UnityEngine_UI_UnityEngine_UI_Image_Origin1801804604899MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Image_Origin3601804606759.h" #include "UnityEngine_UI_UnityEngine_UI_Image_Origin3601804606759MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Image_Origin901443686621.h" #include "UnityEngine_UI_UnityEngine_UI_Image_Origin901443686621MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Image_OriginHorizonta638657546.h" #include "UnityEngine_UI_UnityEngine_UI_Image_OriginHorizonta638657546MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Image_OriginVertical1858650332.h" #include "UnityEngine_UI_UnityEngine_UI_Image_OriginVertical1858650332MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_Image_Type2622298MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_SubmitEve1697462594MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_OnChangeE3894605131MethodDeclarations.h" #include "UnityEngine_UnityEngine_Event1590224583MethodDeclarations.h" #include "mscorlib_System_Char2778706699.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_SubmitEve1697462594.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_OnChangeE3894605131.h" #include "UnityEngine_UnityEngine_Event1590224583.h" #include "mscorlib_System_Runtime_CompilerServices_RuntimeHe1695827251MethodDeclarations.h" #include "mscorlib_System_RuntimeFieldHandle3184214143.h" #include "UnityEngine_UnityEngine_TextGenerator2883685459.h" #include "UnityEngine_UnityEngine_TextGenerator2883685459MethodDeclarations.h" #include "UnityEngine_UnityEngine_RuntimePlatform1574985880.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_OnValidat3303221397MethodDeclarations.h" #include "mscorlib_System_Math2778998461MethodDeclarations.h" #include "UnityEngine_UnityEngine_TouchScreenKeyboard2269718975MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_OnValidat3303221397.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_Character4120610914.h" #include "UnityEngine_UnityEngine_TouchScreenKeyboard2269718975.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_ContentTy1278737203.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_LineType1253309806.h" #include "UnityEngine.UI_ArrayTypes.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_InputType3710944772.h" #include "UnityEngine_UnityEngine_TouchScreenKeyboardType1816994841.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_U3CCaretB2286509995MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_U3CCaretB2286509995.h" #include "UnityEngine_UnityEngine_GUIUtility1366332446MethodDeclarations.h" #include "UnityEngine_UnityEngine_Plane1600081545MethodDeclarations.h" #include "UnityEngine_UnityEngine_Plane1600081545.h" #include "UnityEngine_UnityEngine_UILineInfo156921283.h" #include "UnityEngine_UnityEngine_UICharInfo403820581.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_U3CMouseD2254979509MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_U3CMouseD2254979509.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_EditState126860423.h" #include "UnityEngine_UnityEngine_EventModifiers3870720879.h" #include "UnityEngine_UnityEngine_KeyCode2371581209.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_ge190145395MethodDeclarations.h" #include "UnityEngine_UnityEngine_EventType3558284577.h" #include "mscorlib_System_Collections_Generic_Dictionary_2_ge190145395.h" #include "mscorlib_System_Char2778706699MethodDeclarations.h" #include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen4205911009MethodDeclarations.h" #include "UnityEngine_UnityEngine_TextGenerationSettings1897607637.h" #include "UnityEngine_UI_UnityEngine_UI_LayoutElement2655817307.h" #include "UnityEngine_UI_UnityEngine_UI_LayoutElement2655817307MethodDeclarations.h" #include "UnityEngine_UnityEngine_IMECompositionMode2066545881.h" #include "UnityEngine_UnityEngine_WaitForSeconds1291133240MethodDeclarations.h" #include "UnityEngine_UnityEngine_WaitForSeconds1291133240.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_Character4120610914MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_ContentTy1278737203MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_EditState126860423MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_InputType3710944772MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_InputField_LineType1253309806MethodDeclarations.h" #include "mscorlib_System_AsyncCallback1363551830.h" #include "UnityEngine_UnityEngine_RectTransform_Edge2154973.h" #include "UnityEngine_UI_UnityEngine_UI_LayoutRebuilder1563460583.h" #include "UnityEngine_UnityEngine_Events_UnityAction_1_gen1543922488MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_ObjectPool_1_gen3680949465MethodDeclarations.h" #include "UnityEngine_UnityEngine_RectTransform_ReapplyDrive3247703954MethodDeclarations.h" #include "UnityEngine_UnityEngine_Events_UnityAction_1_gen1543922488.h" #include "UnityEngine_UI_UnityEngine_UI_ObjectPool_1_gen3680949465.h" #include "UnityEngine_UnityEngine_RectTransform_ReapplyDrive3247703954.h" #include "mscorlib_System_Predicate_1_gen2697910500MethodDeclarations.h" #include "mscorlib_System_Predicate_1_gen2697910500.h" #include "UnityEngine_UnityEngine_Events_UnityAction_1_gen2107408507MethodDeclarations.h" #include "UnityEngine_UnityEngine_Events_UnityAction_1_gen2107408507.h" #include "UnityEngine_UnityEngine_Behaviour3120504042.h" #include "UnityEngine_UI_UnityEngine_UI_LayoutUtility4203675851.h" #include "System_Core_System_Func_2_gen4205183563MethodDeclarations.h" #include "System_Core_System_Func_2_gen4205183563.h" #include "UnityEngine_UI_UnityEngine_UI_MaskUtilities643542887MethodDeclarations.h" #include "UnityEngine_UI_UnityEngine_UI_StencilMaterial260192492MethodDeclarations.h" #include "UnityEngine_UnityEngine_Rendering_StencilOp3002996980.h" #include "UnityEngine_UnityEngine_Rendering_CompareFunction1446377492.h" #include "UnityEngine_UnityEngine_Rendering_ColorWriteMask819857343.h" // !!0 UnityEngine.Component::GetComponent<System.Object>() extern "C" Il2CppObject * Component_GetComponent_TisIl2CppObject_m267839954_gshared (Component_t2126946602 * __this, const MethodInfo* method); #define Component_GetComponent_TisIl2CppObject_m267839954(__this, method) (( Il2CppObject * (*) (Component_t2126946602 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m267839954_gshared)(__this, method) // !!0 UnityEngine.Component::GetComponent<UnityEngine.EventSystems.EventSystem>() #define Component_GetComponent_TisEventSystem_t409518532_m4052960422(__this, method) (( EventSystem_t409518532 * (*) (Component_t2126946602 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m267839954_gshared)(__this, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<System.Object>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) extern "C" bool ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared (Il2CppObject * __this /* static, unused */, GameObject_t4012695102 * p0, BaseEventData_t3547103726 * p1, EventFunction_1_t3885370180 * p2, const MethodInfo* method); #define ExecuteEvents_Execute_TisIl2CppObject_m1533897725(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t3885370180 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.IPointerExitHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisIPointerExitHandler_t3460311667_m2461322220(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t2213608131 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.IPointerEnterHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisIPointerEnterHandler_t1422995873_m847551666(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t176292337 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Void UnityEngine.Component::GetComponents<System.Object>(System.Collections.Generic.List`1<!!0>) extern "C" void Component_GetComponents_TisIl2CppObject_m4263137760_gshared (Component_t2126946602 * __this, List_1_t1634065389 * p0, const MethodInfo* method); #define Component_GetComponents_TisIl2CppObject_m4263137760(__this, p0, method) (( void (*) (Component_t2126946602 *, List_1_t1634065389 *, const MethodInfo*))Component_GetComponents_TisIl2CppObject_m4263137760_gshared)(__this, p0, method) // System.Void UnityEngine.Component::GetComponents<UnityEngine.EventSystems.BaseInputModule>(System.Collections.Generic.List`1<!!0>) #define Component_GetComponents_TisBaseInputModule_t3800378272_m3872319664(__this, p0, method) (( void (*) (Component_t2126946602 *, List_1_t302369945 *, const MethodInfo*))Component_GetComponents_TisIl2CppObject_m4263137760_gshared)(__this, p0, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.IDeselectHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisIDeselectHandler_t1344312511_m1644463312(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t97608975 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.ISelectHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisISelectHandler_t2593995104_m4187473137(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t1347291568 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // !!0 UnityEngine.EventSystems.ExecuteEvents::ValidateEventData<System.Object>(UnityEngine.EventSystems.BaseEventData) extern "C" Il2CppObject * ExecuteEvents_ValidateEventData_TisIl2CppObject_m1498065176_gshared (Il2CppObject * __this /* static, unused */, BaseEventData_t3547103726 * p0, const MethodInfo* method); #define ExecuteEvents_ValidateEventData_TisIl2CppObject_m1498065176(__this /* static, unused */, p0, method) (( Il2CppObject * (*) (Il2CppObject * /* static, unused */, BaseEventData_t3547103726 *, const MethodInfo*))ExecuteEvents_ValidateEventData_TisIl2CppObject_m1498065176_gshared)(__this /* static, unused */, p0, method) // !!0 UnityEngine.EventSystems.ExecuteEvents::ValidateEventData<UnityEngine.EventSystems.PointerEventData>(UnityEngine.EventSystems.BaseEventData) #define ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090(__this /* static, unused */, p0, method) (( PointerEventData_t3205101634 * (*) (Il2CppObject * /* static, unused */, BaseEventData_t3547103726 *, const MethodInfo*))ExecuteEvents_ValidateEventData_TisIl2CppObject_m1498065176_gshared)(__this /* static, unused */, p0, method) // !!0 UnityEngine.EventSystems.ExecuteEvents::ValidateEventData<UnityEngine.EventSystems.AxisEventData>(UnityEngine.EventSystems.BaseEventData) #define ExecuteEvents_ValidateEventData_TisAxisEventData_t552897310_m3402980230(__this /* static, unused */, p0, method) (( AxisEventData_t552897310 * (*) (Il2CppObject * /* static, unused */, BaseEventData_t3547103726 *, const MethodInfo*))ExecuteEvents_ValidateEventData_TisIl2CppObject_m1498065176_gshared)(__this /* static, unused */, p0, method) // !!0 UnityEngine.GameObject::GetComponent<System.Object>() extern "C" Il2CppObject * GameObject_GetComponent_TisIl2CppObject_m2447772384_gshared (GameObject_t4012695102 * __this, const MethodInfo* method); #define GameObject_GetComponent_TisIl2CppObject_m2447772384(__this, method) (( Il2CppObject * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_GetComponent_TisIl2CppObject_m2447772384_gshared)(__this, method) // !!0 UnityEngine.GameObject::GetComponent<UnityEngine.SpriteRenderer>() #define GameObject_GetComponent_TisSpriteRenderer_t2223784725_m3588502113(__this, method) (( SpriteRenderer_t2223784725 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_GetComponent_TisIl2CppObject_m2447772384_gshared)(__this, method) // !!0 UnityEngine.Component::GetComponent<UnityEngine.Camera>() #define Component_GetComponent_TisCamera_t3533968274_m3804104198(__this, method) (( Camera_t3533968274 * (*) (Component_t2126946602 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m267839954_gshared)(__this, method) // System.Void System.Array::Sort<UnityEngine.RaycastHit>(!!0[],System.Comparison`1<!!0>) extern "C" void Array_Sort_TisRaycastHit_t46221527_m3458836826_gshared (Il2CppObject * __this /* static, unused */, RaycastHitU5BU5D_t1365728750* p0, Comparison_1_t2749896403 * p1, const MethodInfo* method); #define Array_Sort_TisRaycastHit_t46221527_m3458836826(__this /* static, unused */, p0, p1, method) (( void (*) (Il2CppObject * /* static, unused */, RaycastHitU5BU5D_t1365728750*, Comparison_1_t2749896403 *, const MethodInfo*))Array_Sort_TisRaycastHit_t46221527_m3458836826_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.IBeginDragHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisIBeginDragHandler_t666849777_m3355733866(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t3715113537 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.IPointerUpHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t899770790 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.IDragHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisIDragHandler_t3145479144_m1320007289(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t1898775608 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // UnityEngine.GameObject UnityEngine.EventSystems.ExecuteEvents::GetEventHandler<System.Object>(UnityEngine.GameObject) extern "C" GameObject_t4012695102 * ExecuteEvents_GetEventHandler_TisIl2CppObject_m2285942506_gshared (Il2CppObject * __this /* static, unused */, GameObject_t4012695102 * p0, const MethodInfo* method); #define ExecuteEvents_GetEventHandler_TisIl2CppObject_m2285942506(__this /* static, unused */, p0, method) (( GameObject_t4012695102 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, const MethodInfo*))ExecuteEvents_GetEventHandler_TisIl2CppObject_m2285942506_gshared)(__this /* static, unused */, p0, method) // UnityEngine.GameObject UnityEngine.EventSystems.ExecuteEvents::GetEventHandler<UnityEngine.EventSystems.ISelectHandler>(UnityEngine.GameObject) #define ExecuteEvents_GetEventHandler_TisISelectHandler_t2593995104_m1904676470(__this /* static, unused */, p0, method) (( GameObject_t4012695102 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, const MethodInfo*))ExecuteEvents_GetEventHandler_TisIl2CppObject_m2285942506_gshared)(__this /* static, unused */, p0, method) // UnityEngine.GameObject UnityEngine.EventSystems.ExecuteEvents::ExecuteHierarchy<System.Object>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) extern "C" GameObject_t4012695102 * ExecuteEvents_ExecuteHierarchy_TisIl2CppObject_m2445823293_gshared (Il2CppObject * __this /* static, unused */, GameObject_t4012695102 * p0, BaseEventData_t3547103726 * p1, EventFunction_1_t3885370180 * p2, const MethodInfo* method); #define ExecuteEvents_ExecuteHierarchy_TisIl2CppObject_m2445823293(__this /* static, unused */, p0, p1, p2, method) (( GameObject_t4012695102 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t3885370180 *, const MethodInfo*))ExecuteEvents_ExecuteHierarchy_TisIl2CppObject_m2445823293_gshared)(__this /* static, unused */, p0, p1, p2, method) // UnityEngine.GameObject UnityEngine.EventSystems.ExecuteEvents::ExecuteHierarchy<UnityEngine.EventSystems.IPointerDownHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_ExecuteHierarchy_TisIPointerDownHandler_t1329431151_m1903343784(__this /* static, unused */, p0, p1, p2, method) (( GameObject_t4012695102 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t82727615 *, const MethodInfo*))ExecuteEvents_ExecuteHierarchy_TisIl2CppObject_m2445823293_gshared)(__this /* static, unused */, p0, p1, p2, method) // UnityEngine.GameObject UnityEngine.EventSystems.ExecuteEvents::GetEventHandler<UnityEngine.EventSystems.IPointerClickHandler>(UnityEngine.GameObject) #define ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237(__this /* static, unused */, p0, method) (( GameObject_t4012695102 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, const MethodInfo*))ExecuteEvents_GetEventHandler_TisIl2CppObject_m2285942506_gshared)(__this /* static, unused */, p0, method) // UnityEngine.GameObject UnityEngine.EventSystems.ExecuteEvents::GetEventHandler<UnityEngine.EventSystems.IDragHandler>(UnityEngine.GameObject) #define ExecuteEvents_GetEventHandler_TisIDragHandler_t3145479144_m1708367342(__this /* static, unused */, p0, method) (( GameObject_t4012695102 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, const MethodInfo*))ExecuteEvents_GetEventHandler_TisIl2CppObject_m2285942506_gshared)(__this /* static, unused */, p0, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.IInitializePotentialDragHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisIInitializePotentialDragHandler_t922544972_m2010514245(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t3970808732 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.IPointerClickHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisIPointerClickHandler_t2630585585_m109846530(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t1383882049 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // UnityEngine.GameObject UnityEngine.EventSystems.ExecuteEvents::ExecuteHierarchy<UnityEngine.EventSystems.IDropHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_ExecuteHierarchy_TisIDropHandler_t2116344269_m4226213918(__this /* static, unused */, p0, p1, p2, method) (( GameObject_t4012695102 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t869640733 *, const MethodInfo*))ExecuteEvents_ExecuteHierarchy_TisIl2CppObject_m2445823293_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.IEndDragHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t1032774927 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // UnityEngine.GameObject UnityEngine.EventSystems.ExecuteEvents::ExecuteHierarchy<UnityEngine.EventSystems.IPointerExitHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_ExecuteHierarchy_TisIPointerExitHandler_t3460311667_m2236465836(__this /* static, unused */, p0, p1, p2, method) (( GameObject_t4012695102 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t2213608131 *, const MethodInfo*))ExecuteEvents_ExecuteHierarchy_TisIl2CppObject_m2445823293_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.ISubmitHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisISubmitHandler_t1622062788_m3746387029(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t375359252 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.ICancelHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisICancelHandler_t3193714210_m724128435(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t1947010674 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.IMoveHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisIMoveHandler_t1954867883_m684136124(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t708164347 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // UnityEngine.GameObject UnityEngine.EventSystems.ExecuteEvents::GetEventHandler<UnityEngine.EventSystems.IScrollHandler>(UnityEngine.GameObject) #define ExecuteEvents_GetEventHandler_TisIScrollHandler_t2329086575_m1066024007(__this /* static, unused */, p0, method) (( GameObject_t4012695102 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, const MethodInfo*))ExecuteEvents_GetEventHandler_TisIl2CppObject_m2285942506_gshared)(__this /* static, unused */, p0, method) // UnityEngine.GameObject UnityEngine.EventSystems.ExecuteEvents::ExecuteHierarchy<UnityEngine.EventSystems.IScrollHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_ExecuteHierarchy_TisIScrollHandler_t2329086575_m1128683200(__this /* static, unused */, p0, p1, p2, method) (( GameObject_t4012695102 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t1082383039 *, const MethodInfo*))ExecuteEvents_ExecuteHierarchy_TisIl2CppObject_m2445823293_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Boolean UnityEngine.EventSystems.ExecuteEvents::Execute<UnityEngine.EventSystems.IUpdateSelectedHandler>(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData,UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<!!0>) #define ExecuteEvents_Execute_TisIUpdateSelectedHandler_t3113961432_m1772356457(__this /* static, unused */, p0, p1, p2, method) (( bool (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, BaseEventData_t3547103726 *, EventFunction_1_t1867257896 *, const MethodInfo*))ExecuteEvents_Execute_TisIl2CppObject_m1533897725_gshared)(__this /* static, unused */, p0, p1, p2, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.AspectRatioFitter/AspectMode>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisAspectMode_t2721296955_m800854655_gshared (Il2CppObject * __this /* static, unused */, int32_t* p0, int32_t p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisAspectMode_t2721296955_m800854655(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisAspectMode_t2721296955_m800854655_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<System.Single>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_gshared (Il2CppObject * __this /* static, unused */, float* p0, float p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, float*, float, const MethodInfo*))SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_gshared)(__this /* static, unused */, p0, p1, method) // !!0 UnityEngine.Component::GetComponent<UnityEngine.RectTransform>() #define Component_GetComponent_TisRectTransform_t3317474837_m1940403147(__this, method) (( RectTransform_t3317474837 * (*) (Component_t2126946602 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m267839954_gshared)(__this, method) // !!0 UnityEngine.Component::GetComponent<UnityEngine.UI.Graphic>() #define Component_GetComponent_TisGraphic_t933884113_m908906813(__this, method) (( Graphic_t933884113 * (*) (Component_t2126946602 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m267839954_gshared)(__this, method) // !!0 UnityEngine.Component::GetComponent<UnityEngine.Canvas>() #define Component_GetComponent_TisCanvas_t3534013893_m868172531(__this, method) (( Canvas_t3534013893 * (*) (Component_t2126946602 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m267839954_gshared)(__this, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.ContentSizeFitter/FitMode>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisFitMode_t816341300_m3401974325_gshared (Il2CppObject * __this /* static, unused */, int32_t* p0, int32_t p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisFitMode_t816341300_m3401974325(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisFitMode_t816341300_m3401974325_gshared)(__this /* static, unused */, p0, p1, method) // !!0 UnityEngine.GameObject::AddComponent<System.Object>() extern "C" Il2CppObject * GameObject_AddComponent_TisIl2CppObject_m337943659_gshared (GameObject_t4012695102 * __this, const MethodInfo* method); #define GameObject_AddComponent_TisIl2CppObject_m337943659(__this, method) (( Il2CppObject * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.RectTransform>() #define GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000(__this, method) (( RectTransform_t3317474837 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::GetComponent<UnityEngine.RectTransform>() #define GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(__this, method) (( RectTransform_t3317474837 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_GetComponent_TisIl2CppObject_m2447772384_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.Image>() #define GameObject_AddComponent_TisImage_t3354615620_m3664949437(__this, method) (( Image_t3354615620 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.Button>() #define GameObject_AddComponent_TisButton_t990034267_m2834709044(__this, method) (( Button_t990034267 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.Text>() #define GameObject_AddComponent_TisText_t3286458198_m3161596953(__this, method) (( Text_t3286458198 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.RawImage>() #define GameObject_AddComponent_TisRawImage_t3831555132_m1228665331(__this, method) (( RawImage_t3831555132 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.Slider>() #define GameObject_AddComponent_TisSlider_t1468074762_m2027542053(__this, method) (( Slider_t1468074762 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.Scrollbar>() #define GameObject_AddComponent_TisScrollbar_t1410649103_m567367570(__this, method) (( Scrollbar_t1410649103 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.Toggle>() #define GameObject_AddComponent_TisToggle_t1499417981_m3765476050(__this, method) (( Toggle_t1499417981 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.InputField>() #define GameObject_AddComponent_TisInputField_t2345609593_m1532989910(__this, method) (( InputField_t2345609593 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::GetComponent<UnityEngine.UI.Scrollbar>() #define GameObject_GetComponent_TisScrollbar_t1410649103_m179289597(__this, method) (( Scrollbar_t1410649103 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_GetComponent_TisIl2CppObject_m2447772384_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.ScrollRect>() #define GameObject_AddComponent_TisScrollRect_t1048578170_m3490629429(__this, method) (( ScrollRect_t1048578170 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.Mask>() #define GameObject_AddComponent_TisMask_t3286245653_m1124636154(__this, method) (( Mask_t3286245653 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.Dropdown>() #define GameObject_AddComponent_TisDropdown_t2916437562_m3413532469(__this, method) (( Dropdown_t2916437562 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.Component::GetComponentInChildren<System.Object>() extern "C" Il2CppObject * Component_GetComponentInChildren_TisIl2CppObject_m900797242_gshared (Component_t2126946602 * __this, const MethodInfo* method); #define Component_GetComponentInChildren_TisIl2CppObject_m900797242(__this, method) (( Il2CppObject * (*) (Component_t2126946602 *, const MethodInfo*))Component_GetComponentInChildren_TisIl2CppObject_m900797242_gshared)(__this, method) // !!0 UnityEngine.Component::GetComponentInChildren<UnityEngine.UI.Toggle>() #define Component_GetComponentInChildren_TisToggle_t1499417981_m612160161(__this, method) (( Toggle_t1499417981 * (*) (Component_t2126946602 *, const MethodInfo*))Component_GetComponentInChildren_TisIl2CppObject_m900797242_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.Dropdown/DropdownItem>() #define GameObject_AddComponent_TisDropdownItem_t2010846948_m1733990038(__this, method) (( DropdownItem_t2010846948 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.UI.Dropdown::GetOrAddComponent<System.Object>(UnityEngine.GameObject) extern "C" Il2CppObject * Dropdown_GetOrAddComponent_TisIl2CppObject_m4155558758_gshared (Il2CppObject * __this /* static, unused */, GameObject_t4012695102 * p0, const MethodInfo* method); #define Dropdown_GetOrAddComponent_TisIl2CppObject_m4155558758(__this /* static, unused */, p0, method) (( Il2CppObject * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, const MethodInfo*))Dropdown_GetOrAddComponent_TisIl2CppObject_m4155558758_gshared)(__this /* static, unused */, p0, method) // !!0 UnityEngine.UI.Dropdown::GetOrAddComponent<UnityEngine.Canvas>(UnityEngine.GameObject) #define Dropdown_GetOrAddComponent_TisCanvas_t3534013893_m773939227(__this /* static, unused */, p0, method) (( Canvas_t3534013893 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, const MethodInfo*))Dropdown_GetOrAddComponent_TisIl2CppObject_m4155558758_gshared)(__this /* static, unused */, p0, method) // !!0 UnityEngine.UI.Dropdown::GetOrAddComponent<UnityEngine.UI.GraphicRaycaster>(UnityEngine.GameObject) #define Dropdown_GetOrAddComponent_TisGraphicRaycaster_t2033008887_m2789205203(__this /* static, unused */, p0, method) (( GraphicRaycaster_t2033008887 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, const MethodInfo*))Dropdown_GetOrAddComponent_TisIl2CppObject_m4155558758_gshared)(__this /* static, unused */, p0, method) // !!0 UnityEngine.UI.Dropdown::GetOrAddComponent<UnityEngine.CanvasGroup>(UnityEngine.GameObject) #define Dropdown_GetOrAddComponent_TisCanvasGroup_t1295922228_m3602714836(__this /* static, unused */, p0, method) (( CanvasGroup_t1295922228 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, const MethodInfo*))Dropdown_GetOrAddComponent_TisIl2CppObject_m4155558758_gshared)(__this /* static, unused */, p0, method) // System.Void UnityEngine.GameObject::GetComponentsInParent<System.Object>(System.Boolean,System.Collections.Generic.List`1<!!0>) extern "C" void GameObject_GetComponentsInParent_TisIl2CppObject_m3568912686_gshared (GameObject_t4012695102 * __this, bool p0, List_1_t1634065389 * p1, const MethodInfo* method); #define GameObject_GetComponentsInParent_TisIl2CppObject_m3568912686(__this, p0, p1, method) (( void (*) (GameObject_t4012695102 *, bool, List_1_t1634065389 *, const MethodInfo*))GameObject_GetComponentsInParent_TisIl2CppObject_m3568912686_gshared)(__this, p0, p1, method) // System.Void UnityEngine.GameObject::GetComponentsInParent<UnityEngine.Canvas>(System.Boolean,System.Collections.Generic.List`1<!!0>) #define GameObject_GetComponentsInParent_TisCanvas_t3534013893_m3002356423(__this, p0, p1, method) (( void (*) (GameObject_t4012695102 *, bool, List_1_t36005566 *, const MethodInfo*))GameObject_GetComponentsInParent_TisIl2CppObject_m3568912686_gshared)(__this, p0, p1, method) // !!0 UnityEngine.GameObject::GetComponentInChildren<System.Object>() extern "C" Il2CppObject * GameObject_GetComponentInChildren_TisIl2CppObject_m782999868_gshared (GameObject_t4012695102 * __this, const MethodInfo* method); #define GameObject_GetComponentInChildren_TisIl2CppObject_m782999868(__this, method) (( Il2CppObject * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_GetComponentInChildren_TisIl2CppObject_m782999868_gshared)(__this, method) // !!0 UnityEngine.GameObject::GetComponentInChildren<UnityEngine.UI.Dropdown/DropdownItem>() #define GameObject_GetComponentInChildren_TisDropdownItem_t2010846948_m678737573(__this, method) (( DropdownItem_t2010846948 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_GetComponentInChildren_TisIl2CppObject_m782999868_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.Canvas>() #define GameObject_AddComponent_TisCanvas_t3534013893_m2137401606(__this, method) (( Canvas_t3534013893 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::GetComponent<UnityEngine.Canvas>() #define GameObject_GetComponent_TisCanvas_t3534013893_m4009786289(__this, method) (( Canvas_t3534013893 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_GetComponent_TisIl2CppObject_m2447772384_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.GraphicRaycaster>() #define GameObject_AddComponent_TisGraphicRaycaster_t2033008887_m3633242200(__this, method) (( GraphicRaycaster_t2033008887 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.Object::Instantiate<System.Object>(!!0) extern "C" Il2CppObject * Object_Instantiate_TisIl2CppObject_m3133387403_gshared (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, const MethodInfo* method); #define Object_Instantiate_TisIl2CppObject_m3133387403(__this /* static, unused */, p0, method) (( Il2CppObject * (*) (Il2CppObject * /* static, unused */, Il2CppObject *, const MethodInfo*))Object_Instantiate_TisIl2CppObject_m3133387403_gshared)(__this /* static, unused */, p0, method) // !!0 UnityEngine.Object::Instantiate<UnityEngine.GameObject>(!!0) #define Object_Instantiate_TisGameObject_t4012695102_m3917608929(__this /* static, unused */, p0, method) (( GameObject_t4012695102 * (*) (Il2CppObject * /* static, unused */, GameObject_t4012695102 *, const MethodInfo*))Object_Instantiate_TisIl2CppObject_m3133387403_gshared)(__this /* static, unused */, p0, method) // !!0 UnityEngine.Object::Instantiate<UnityEngine.UI.Dropdown/DropdownItem>(!!0) #define Object_Instantiate_TisDropdownItem_t2010846948_m3370007064(__this /* static, unused */, p0, method) (( DropdownItem_t2010846948 * (*) (Il2CppObject * /* static, unused */, DropdownItem_t2010846948 *, const MethodInfo*))Object_Instantiate_TisIl2CppObject_m3133387403_gshared)(__this /* static, unused */, p0, method) // !!0 UnityEngine.GameObject::GetComponent<UnityEngine.CanvasGroup>() #define GameObject_GetComponent_TisCanvasGroup_t1295922228_m4071469134(__this, method) (( CanvasGroup_t1295922228 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_GetComponent_TisIl2CppObject_m2447772384_gshared)(__this, method) // !!0 UnityEngine.Component::GetComponentInParent<System.Object>() extern "C" Il2CppObject * Component_GetComponentInParent_TisIl2CppObject_m1297875695_gshared (Component_t2126946602 * __this, const MethodInfo* method); #define Component_GetComponentInParent_TisIl2CppObject_m1297875695(__this, method) (( Il2CppObject * (*) (Component_t2126946602 *, const MethodInfo*))Component_GetComponentInParent_TisIl2CppObject_m1297875695_gshared)(__this, method) // !!0 UnityEngine.Component::GetComponentInParent<UnityEngine.UI.Dropdown>() #define Component_GetComponentInParent_TisDropdown_t2916437562_m286421177(__this, method) (( Dropdown_t2916437562 * (*) (Component_t2126946602 *, const MethodInfo*))Component_GetComponentInParent_TisIl2CppObject_m1297875695_gshared)(__this, method) // !!0 UnityEngine.Component::GetComponent<UnityEngine.CanvasRenderer>() #define Component_GetComponent_TisCanvasRenderer_t3626201768_m1866062640(__this, method) (( CanvasRenderer_t3626201768 * (*) (Component_t2126946602 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m267839954_gshared)(__this, method) // System.Void UnityEngine.Component::GetComponents<UnityEngine.Component>(System.Collections.Generic.List`1<!!0>) #define Component_GetComponents_TisComponent_t2126946602_m407995928(__this, p0, method) (( void (*) (Component_t2126946602 *, List_1_t2923905571 *, const MethodInfo*))Component_GetComponents_TisIl2CppObject_m4263137760_gshared)(__this, p0, method) // System.Void UnityEngine.UI.LayoutGroup::SetProperty<UnityEngine.UI.GridLayoutGroup/Corner>(!!0&,!!0) extern "C" void LayoutGroup_SetProperty_TisCorner_t2024169077_m1217402351_gshared (LayoutGroup_t2646131550 * __this, int32_t* p0, int32_t p1, const MethodInfo* method); #define LayoutGroup_SetProperty_TisCorner_t2024169077_m1217402351(__this, p0, p1, method) (( void (*) (LayoutGroup_t2646131550 *, int32_t*, int32_t, const MethodInfo*))LayoutGroup_SetProperty_TisCorner_t2024169077_m1217402351_gshared)(__this, p0, p1, method) // System.Void UnityEngine.UI.LayoutGroup::SetProperty<UnityEngine.UI.GridLayoutGroup/Axis>(!!0&,!!0) extern "C" void LayoutGroup_SetProperty_TisAxis_t2055107_m2246182115_gshared (LayoutGroup_t2646131550 * __this, int32_t* p0, int32_t p1, const MethodInfo* method); #define LayoutGroup_SetProperty_TisAxis_t2055107_m2246182115(__this, p0, p1, method) (( void (*) (LayoutGroup_t2646131550 *, int32_t*, int32_t, const MethodInfo*))LayoutGroup_SetProperty_TisAxis_t2055107_m2246182115_gshared)(__this, p0, p1, method) // System.Void UnityEngine.UI.LayoutGroup::SetProperty<UnityEngine.Vector2>(!!0&,!!0) extern "C" void LayoutGroup_SetProperty_TisVector2_t3525329788_m91581935_gshared (LayoutGroup_t2646131550 * __this, Vector2_t3525329788 * p0, Vector2_t3525329788 p1, const MethodInfo* method); #define LayoutGroup_SetProperty_TisVector2_t3525329788_m91581935(__this, p0, p1, method) (( void (*) (LayoutGroup_t2646131550 *, Vector2_t3525329788 *, Vector2_t3525329788 , const MethodInfo*))LayoutGroup_SetProperty_TisVector2_t3525329788_m91581935_gshared)(__this, p0, p1, method) // System.Void UnityEngine.UI.LayoutGroup::SetProperty<UnityEngine.UI.GridLayoutGroup/Constraint>(!!0&,!!0) extern "C" void LayoutGroup_SetProperty_TisConstraint_t1803088381_m2766497255_gshared (LayoutGroup_t2646131550 * __this, int32_t* p0, int32_t p1, const MethodInfo* method); #define LayoutGroup_SetProperty_TisConstraint_t1803088381_m2766497255(__this, p0, p1, method) (( void (*) (LayoutGroup_t2646131550 *, int32_t*, int32_t, const MethodInfo*))LayoutGroup_SetProperty_TisConstraint_t1803088381_m2766497255_gshared)(__this, p0, p1, method) // System.Void UnityEngine.UI.LayoutGroup::SetProperty<System.Int32>(!!0&,!!0) extern "C" void LayoutGroup_SetProperty_TisInt32_t2847414787_m1661492404_gshared (LayoutGroup_t2646131550 * __this, int32_t* p0, int32_t p1, const MethodInfo* method); #define LayoutGroup_SetProperty_TisInt32_t2847414787_m1661492404(__this, p0, p1, method) (( void (*) (LayoutGroup_t2646131550 *, int32_t*, int32_t, const MethodInfo*))LayoutGroup_SetProperty_TisInt32_t2847414787_m1661492404_gshared)(__this, p0, p1, method) // System.Void UnityEngine.UI.LayoutGroup::SetProperty<System.Single>(!!0&,!!0) extern "C" void LayoutGroup_SetProperty_TisSingle_t958209021_m591957344_gshared (LayoutGroup_t2646131550 * __this, float* p0, float p1, const MethodInfo* method); #define LayoutGroup_SetProperty_TisSingle_t958209021_m591957344(__this, p0, p1, method) (( void (*) (LayoutGroup_t2646131550 *, float*, float, const MethodInfo*))LayoutGroup_SetProperty_TisSingle_t958209021_m591957344_gshared)(__this, p0, p1, method) // System.Void UnityEngine.UI.LayoutGroup::SetProperty<System.Boolean>(!!0&,!!0) extern "C" void LayoutGroup_SetProperty_TisBoolean_t211005341_m3019210650_gshared (LayoutGroup_t2646131550 * __this, bool* p0, bool p1, const MethodInfo* method); #define LayoutGroup_SetProperty_TisBoolean_t211005341_m3019210650(__this, p0, p1, method) (( void (*) (LayoutGroup_t2646131550 *, bool*, bool, const MethodInfo*))LayoutGroup_SetProperty_TisBoolean_t211005341_m3019210650_gshared)(__this, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetClass<System.Object>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetClass_TisIl2CppObject_m3004757678_gshared (Il2CppObject * __this /* static, unused */, Il2CppObject ** p0, Il2CppObject * p1, const MethodInfo* method); #define SetPropertyUtility_SetClass_TisIl2CppObject_m3004757678(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, Il2CppObject **, Il2CppObject *, const MethodInfo*))SetPropertyUtility_SetClass_TisIl2CppObject_m3004757678_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetClass<UnityEngine.Sprite>(!!0&,!!0) #define SetPropertyUtility_SetClass_TisSprite_t4006040370_m3233747426(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, Sprite_t4006040370 **, Sprite_t4006040370 *, const MethodInfo*))SetPropertyUtility_SetClass_TisIl2CppObject_m3004757678_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.Image/Type>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisType_t2622298_m3981732792_gshared (Il2CppObject * __this /* static, unused */, int32_t* p0, int32_t p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisType_t2622298_m3981732792(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisType_t2622298_m3981732792_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<System.Boolean>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768_gshared (Il2CppObject * __this /* static, unused */, bool* p0, bool p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, bool*, bool, const MethodInfo*))SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.Image/FillMethod>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisFillMethod_t1232150628_m1922094766_gshared (Il2CppObject * __this /* static, unused */, int32_t* p0, int32_t p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisFillMethod_t1232150628_m1922094766(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisFillMethod_t1232150628_m1922094766_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<System.Int32>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisInt32_t2847414787_m3219417906_gshared (Il2CppObject * __this /* static, unused */, int32_t* p0, int32_t p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisInt32_t2847414787_m3219417906(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisInt32_t2847414787_m3219417906_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetClass<UnityEngine.UI.Text>(!!0&,!!0) #define SetPropertyUtility_SetClass_TisText_t3286458198_m3467566748(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, Text_t3286458198 **, Text_t3286458198 *, const MethodInfo*))SetPropertyUtility_SetClass_TisIl2CppObject_m3004757678_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetClass<UnityEngine.UI.Graphic>(!!0&,!!0) #define SetPropertyUtility_SetClass_TisGraphic_t933884113_m4232752825(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, Graphic_t933884113 **, Graphic_t933884113 *, const MethodInfo*))SetPropertyUtility_SetClass_TisIl2CppObject_m3004757678_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetClass<UnityEngine.UI.InputField/SubmitEvent>(!!0&,!!0) #define SetPropertyUtility_SetClass_TisSubmitEvent_t1697462594_m2813455366(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, SubmitEvent_t1697462594 **, SubmitEvent_t1697462594 *, const MethodInfo*))SetPropertyUtility_SetClass_TisIl2CppObject_m3004757678_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetClass<UnityEngine.UI.InputField/OnChangeEvent>(!!0&,!!0) #define SetPropertyUtility_SetClass_TisOnChangeEvent_t3894605131_m3330853789(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, OnChangeEvent_t3894605131 **, OnChangeEvent_t3894605131 *, const MethodInfo*))SetPropertyUtility_SetClass_TisIl2CppObject_m3004757678_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetClass<UnityEngine.UI.InputField/OnValidateInput>(!!0&,!!0) #define SetPropertyUtility_SetClass_TisOnValidateInput_t3303221397_m1336541523(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, OnValidateInput_t3303221397 **, OnValidateInput_t3303221397 *, const MethodInfo*))SetPropertyUtility_SetClass_TisIl2CppObject_m3004757678_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.InputField/ContentType>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisContentType_t1278737203_m3459087122_gshared (Il2CppObject * __this /* static, unused */, int32_t* p0, int32_t p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisContentType_t1278737203_m3459087122(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisContentType_t1278737203_m3459087122_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.InputField/LineType>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisLineType_t1253309806_m1761448119_gshared (Il2CppObject * __this /* static, unused */, int32_t* p0, int32_t p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisLineType_t1253309806_m1761448119(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisLineType_t1253309806_m1761448119_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.InputField/InputType>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisInputType_t3710944772_m2495306657_gshared (Il2CppObject * __this /* static, unused */, int32_t* p0, int32_t p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisInputType_t3710944772_m2495306657(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisInputType_t3710944772_m2495306657_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.TouchScreenKeyboardType>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisTouchScreenKeyboardType_t1816994841_m1392536308_gshared (Il2CppObject * __this /* static, unused */, int32_t* p0, int32_t p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisTouchScreenKeyboardType_t1816994841_m1392536308(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisTouchScreenKeyboardType_t1816994841_m1392536308_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.InputField/CharacterValidation>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisCharacterValidation_t4120610914_m3080620675_gshared (Il2CppObject * __this /* static, unused */, int32_t* p0, int32_t p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisCharacterValidation_t4120610914_m3080620675(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisCharacterValidation_t4120610914_m3080620675_gshared)(__this /* static, unused */, p0, p1, method) // System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<System.Char>(!!0&,!!0) extern "C" bool SetPropertyUtility_SetStruct_TisChar_t2778706699_m1002094612_gshared (Il2CppObject * __this /* static, unused */, uint16_t* p0, uint16_t p1, const MethodInfo* method); #define SetPropertyUtility_SetStruct_TisChar_t2778706699_m1002094612(__this /* static, unused */, p0, p1, method) (( bool (*) (Il2CppObject * /* static, unused */, uint16_t*, uint16_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisChar_t2778706699_m1002094612_gshared)(__this /* static, unused */, p0, p1, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.CanvasRenderer>() #define GameObject_AddComponent_TisCanvasRenderer_t3626201768_m833551939(__this, method) (( CanvasRenderer_t3626201768 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.LayoutElement>() #define GameObject_AddComponent_TisLayoutElement_t2655817307_m1822846278(__this, method) (( LayoutElement_t2655817307 * (*) (GameObject_t4012695102 *, const MethodInfo*))GameObject_AddComponent_TisIl2CppObject_m337943659_gshared)(__this, method) // System.Void UnityEngine.UI.LayoutGroup::SetProperty<System.Object>(!!0&,!!0) extern "C" void LayoutGroup_SetProperty_TisIl2CppObject_m2605202953_gshared (LayoutGroup_t2646131550 * __this, Il2CppObject ** p0, Il2CppObject * p1, const MethodInfo* method); #define LayoutGroup_SetProperty_TisIl2CppObject_m2605202953(__this, p0, p1, method) (( void (*) (LayoutGroup_t2646131550 *, Il2CppObject **, Il2CppObject *, const MethodInfo*))LayoutGroup_SetProperty_TisIl2CppObject_m2605202953_gshared)(__this, p0, p1, method) // System.Void UnityEngine.UI.LayoutGroup::SetProperty<UnityEngine.RectOffset>(!!0&,!!0) #define LayoutGroup_SetProperty_TisRectOffset_t3394170884_m3131010005(__this, p0, p1, method) (( void (*) (LayoutGroup_t2646131550 *, RectOffset_t3394170884 **, RectOffset_t3394170884 *, const MethodInfo*))LayoutGroup_SetProperty_TisIl2CppObject_m2605202953_gshared)(__this, p0, p1, method) // System.Void UnityEngine.UI.LayoutGroup::SetProperty<UnityEngine.TextAnchor>(!!0&,!!0) extern "C" void LayoutGroup_SetProperty_TisTextAnchor_t551935663_m3585160266_gshared (LayoutGroup_t2646131550 * __this, int32_t* p0, int32_t p1, const MethodInfo* method); #define LayoutGroup_SetProperty_TisTextAnchor_t551935663_m3585160266(__this, p0, p1, method) (( void (*) (LayoutGroup_t2646131550 *, int32_t*, int32_t, const MethodInfo*))LayoutGroup_SetProperty_TisTextAnchor_t551935663_m3585160266_gshared)(__this, p0, p1, method) #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Void <PrivateImplementationDetails>::.ctor() extern "C" void U3CPrivateImplementationDetailsU3E__ctor_m2615655811 (U3CPrivateImplementationDetailsU3E_t3053238937 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$12 extern "C" void U24ArrayTypeU2412_t214874489_marshal_pinvoke(const U24ArrayTypeU2412_t214874489& unmarshaled, U24ArrayTypeU2412_t214874489_marshaled_pinvoke& marshaled) { } extern "C" void U24ArrayTypeU2412_t214874489_marshal_pinvoke_back(const U24ArrayTypeU2412_t214874489_marshaled_pinvoke& marshaled, U24ArrayTypeU2412_t214874489& unmarshaled) { } // Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$12 extern "C" void U24ArrayTypeU2412_t214874489_marshal_pinvoke_cleanup(U24ArrayTypeU2412_t214874489_marshaled_pinvoke& marshaled) { } // Conversion methods for marshalling of: <PrivateImplementationDetails>/$ArrayType$12 extern "C" void U24ArrayTypeU2412_t214874489_marshal_com(const U24ArrayTypeU2412_t214874489& unmarshaled, U24ArrayTypeU2412_t214874489_marshaled_com& marshaled) { } extern "C" void U24ArrayTypeU2412_t214874489_marshal_com_back(const U24ArrayTypeU2412_t214874489_marshaled_com& marshaled, U24ArrayTypeU2412_t214874489& unmarshaled) { } // Conversion method for clean up from marshalling of: <PrivateImplementationDetails>/$ArrayType$12 extern "C" void U24ArrayTypeU2412_t214874489_marshal_com_cleanup(U24ArrayTypeU2412_t214874489_marshaled_com& marshaled) { } // System.Void UnityEngine.EventSystems.AbstractEventData::.ctor() extern "C" void AbstractEventData__ctor_m3016870691 (AbstractEventData_t419992509 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.AbstractEventData::Reset() extern "C" void AbstractEventData_Reset_m663303632 (AbstractEventData_t419992509 * __this, const MethodInfo* method) { { __this->set_m_Used_0((bool)0); return; } } // System.Void UnityEngine.EventSystems.AbstractEventData::Use() extern "C" void AbstractEventData_Use_m245202952 (AbstractEventData_t419992509 * __this, const MethodInfo* method) { { __this->set_m_Used_0((bool)1); return; } } // System.Boolean UnityEngine.EventSystems.AbstractEventData::get_used() extern "C" bool AbstractEventData_get_used_m4054984437 (AbstractEventData_t419992509 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_Used_0(); return L_0; } } // System.Void UnityEngine.EventSystems.AxisEventData::.ctor(UnityEngine.EventSystems.EventSystem) extern "C" void AxisEventData__ctor_m3411840806 (AxisEventData_t552897310 * __this, EventSystem_t409518532 * ___eventSystem0, const MethodInfo* method) { { EventSystem_t409518532 * L_0 = ___eventSystem0; BaseEventData__ctor_m3246352982(__this, L_0, /*hidden argument*/NULL); Vector2_t3525329788 L_1 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); AxisEventData_set_moveVector_m286185191(__this, L_1, /*hidden argument*/NULL); AxisEventData_set_moveDir_m2213568926(__this, 4, /*hidden argument*/NULL); return; } } // UnityEngine.Vector2 UnityEngine.EventSystems.AxisEventData::get_moveVector() extern "C" Vector2_t3525329788 AxisEventData_get_moveVector_m2997093594 (AxisEventData_t552897310 * __this, const MethodInfo* method) { { Vector2_t3525329788 L_0 = __this->get_U3CmoveVectorU3Ek__BackingField_2(); return L_0; } } // System.Void UnityEngine.EventSystems.AxisEventData::set_moveVector(UnityEngine.Vector2) extern "C" void AxisEventData_set_moveVector_m286185191 (AxisEventData_t552897310 * __this, Vector2_t3525329788 ___value0, const MethodInfo* method) { { Vector2_t3525329788 L_0 = ___value0; __this->set_U3CmoveVectorU3Ek__BackingField_2(L_0); return; } } // UnityEngine.EventSystems.MoveDirection UnityEngine.EventSystems.AxisEventData::get_moveDir() extern "C" int32_t AxisEventData_get_moveDir_m2739466109 (AxisEventData_t552897310 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_U3CmoveDirU3Ek__BackingField_3(); return L_0; } } // System.Void UnityEngine.EventSystems.AxisEventData::set_moveDir(UnityEngine.EventSystems.MoveDirection) extern "C" void AxisEventData_set_moveDir_m2213568926 (AxisEventData_t552897310 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_U3CmoveDirU3Ek__BackingField_3(L_0); return; } } // System.Void UnityEngine.EventSystems.BaseEventData::.ctor(UnityEngine.EventSystems.EventSystem) extern "C" void BaseEventData__ctor_m3246352982 (BaseEventData_t3547103726 * __this, EventSystem_t409518532 * ___eventSystem0, const MethodInfo* method) { { AbstractEventData__ctor_m3016870691(__this, /*hidden argument*/NULL); EventSystem_t409518532 * L_0 = ___eventSystem0; __this->set_m_EventSystem_1(L_0); return; } } // UnityEngine.EventSystems.BaseInputModule UnityEngine.EventSystems.BaseEventData::get_currentInputModule() extern "C" BaseInputModule_t3800378272 * BaseEventData_get_currentInputModule_m502779959 (BaseEventData_t3547103726 * __this, const MethodInfo* method) { { EventSystem_t409518532 * L_0 = __this->get_m_EventSystem_1(); NullCheck(L_0); BaseInputModule_t3800378272 * L_1 = EventSystem_get_currentInputModule_m1694913485(L_0, /*hidden argument*/NULL); return L_1; } } // UnityEngine.GameObject UnityEngine.EventSystems.BaseEventData::get_selectedObject() extern "C" GameObject_t4012695102 * BaseEventData_get_selectedObject_m2003968484 (BaseEventData_t3547103726 * __this, const MethodInfo* method) { { EventSystem_t409518532 * L_0 = __this->get_m_EventSystem_1(); NullCheck(L_0); GameObject_t4012695102 * L_1 = EventSystem_get_currentSelectedGameObject_m4236083783(L_0, /*hidden argument*/NULL); return L_1; } } // System.Void UnityEngine.EventSystems.BaseEventData::set_selectedObject(UnityEngine.GameObject) extern "C" void BaseEventData_set_selectedObject_m3912430657 (BaseEventData_t3547103726 * __this, GameObject_t4012695102 * ___value0, const MethodInfo* method) { { EventSystem_t409518532 * L_0 = __this->get_m_EventSystem_1(); GameObject_t4012695102 * L_1 = ___value0; NullCheck(L_0); EventSystem_SetSelectedGameObject_m2116591616(L_0, L_1, __this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.BaseInputModule::.ctor() extern Il2CppClass* List_1_t1756857658_il2cpp_TypeInfo_var; extern const MethodInfo* List_1__ctor_m2373821799_MethodInfo_var; extern const uint32_t BaseInputModule__ctor_m2920801056_MetadataUsageId; extern "C" void BaseInputModule__ctor_m2920801056 (BaseInputModule_t3800378272 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BaseInputModule__ctor_m2920801056_MetadataUsageId); s_Il2CppMethodIntialized = true; } { List_1_t1756857658 * L_0 = (List_1_t1756857658 *)il2cpp_codegen_object_new(List_1_t1756857658_il2cpp_TypeInfo_var); List_1__ctor_m2373821799(L_0, /*hidden argument*/List_1__ctor_m2373821799_MethodInfo_var); __this->set_m_RaycastResultCache_2(L_0); UIBehaviour__ctor_m1261553468(__this, /*hidden argument*/NULL); return; } } // UnityEngine.EventSystems.EventSystem UnityEngine.EventSystems.BaseInputModule::get_eventSystem() extern "C" EventSystem_t409518532 * BaseInputModule_get_eventSystem_m3949125731 (BaseInputModule_t3800378272 * __this, const MethodInfo* method) { { EventSystem_t409518532 * L_0 = __this->get_m_EventSystem_4(); return L_0; } } // System.Void UnityEngine.EventSystems.BaseInputModule::OnEnable() extern const MethodInfo* Component_GetComponent_TisEventSystem_t409518532_m4052960422_MethodInfo_var; extern const uint32_t BaseInputModule_OnEnable_m3913388134_MetadataUsageId; extern "C" void BaseInputModule_OnEnable_m3913388134 (BaseInputModule_t3800378272 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BaseInputModule_OnEnable_m3913388134_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UIBehaviour_OnEnable_m4047103690(__this, /*hidden argument*/NULL); EventSystem_t409518532 * L_0 = Component_GetComponent_TisEventSystem_t409518532_m4052960422(__this, /*hidden argument*/Component_GetComponent_TisEventSystem_t409518532_m4052960422_MethodInfo_var); __this->set_m_EventSystem_4(L_0); EventSystem_t409518532 * L_1 = __this->get_m_EventSystem_4(); NullCheck(L_1); EventSystem_UpdateModules_m2696555928(L_1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.BaseInputModule::OnDisable() extern "C" void BaseInputModule_OnDisable_m1496885127 (BaseInputModule_t3800378272 * __this, const MethodInfo* method) { { EventSystem_t409518532 * L_0 = __this->get_m_EventSystem_4(); NullCheck(L_0); EventSystem_UpdateModules_m2696555928(L_0, /*hidden argument*/NULL); UIBehaviour_OnDisable_m1347100067(__this, /*hidden argument*/NULL); return; } } // UnityEngine.EventSystems.RaycastResult UnityEngine.EventSystems.BaseInputModule::FindFirstRaycast(System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>) extern Il2CppClass* RaycastResult_t959898689_il2cpp_TypeInfo_var; extern const uint32_t BaseInputModule_FindFirstRaycast_m3775114583_MetadataUsageId; extern "C" RaycastResult_t959898689 BaseInputModule_FindFirstRaycast_m3775114583 (Il2CppObject * __this /* static, unused */, List_1_t1756857658 * ___candidates0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BaseInputModule_FindFirstRaycast_m3775114583_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; RaycastResult_t959898689 V_1; memset(&V_1, 0, sizeof(V_1)); RaycastResult_t959898689 V_2; memset(&V_2, 0, sizeof(V_2)); { V_0 = 0; goto IL_0032; } IL_0007: { List_1_t1756857658 * L_0 = ___candidates0; int32_t L_1 = V_0; NullCheck(L_0); RaycastResult_t959898689 L_2 = VirtFuncInvoker1< RaycastResult_t959898689 , int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::get_Item(System.Int32) */, L_0, L_1); V_1 = L_2; GameObject_t4012695102 * L_3 = RaycastResult_get_gameObject_m1138099278((&V_1), /*hidden argument*/NULL); bool L_4 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_3, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_4) { goto IL_0026; } } { goto IL_002e; } IL_0026: { List_1_t1756857658 * L_5 = ___candidates0; int32_t L_6 = V_0; NullCheck(L_5); RaycastResult_t959898689 L_7 = VirtFuncInvoker1< RaycastResult_t959898689 , int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::get_Item(System.Int32) */, L_5, L_6); return L_7; } IL_002e: { int32_t L_8 = V_0; V_0 = ((int32_t)((int32_t)L_8+(int32_t)1)); } IL_0032: { int32_t L_9 = V_0; List_1_t1756857658 * L_10 = ___candidates0; NullCheck(L_10); int32_t L_11 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::get_Count() */, L_10); if ((((int32_t)L_9) < ((int32_t)L_11))) { goto IL_0007; } } { Initobj (RaycastResult_t959898689_il2cpp_TypeInfo_var, (&V_2)); RaycastResult_t959898689 L_12 = V_2; return L_12; } } // UnityEngine.EventSystems.MoveDirection UnityEngine.EventSystems.BaseInputModule::DetermineMoveDirection(System.Single,System.Single) extern "C" int32_t BaseInputModule_DetermineMoveDirection_m1298463611 (Il2CppObject * __this /* static, unused */, float ___x0, float ___y1, const MethodInfo* method) { { float L_0 = ___x0; float L_1 = ___y1; int32_t L_2 = BaseInputModule_DetermineMoveDirection_m1501057824(NULL /*static, unused*/, L_0, L_1, (0.6f), /*hidden argument*/NULL); return L_2; } } // UnityEngine.EventSystems.MoveDirection UnityEngine.EventSystems.BaseInputModule::DetermineMoveDirection(System.Single,System.Single,System.Single) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t BaseInputModule_DetermineMoveDirection_m1501057824_MetadataUsageId; extern "C" int32_t BaseInputModule_DetermineMoveDirection_m1501057824 (Il2CppObject * __this /* static, unused */, float ___x0, float ___y1, float ___deadZone2, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BaseInputModule_DetermineMoveDirection_m1501057824_MetadataUsageId); s_Il2CppMethodIntialized = true; } Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); { float L_0 = ___x0; float L_1 = ___y1; Vector2__ctor_m1517109030((&V_0), L_0, L_1, /*hidden argument*/NULL); float L_2 = Vector2_get_sqrMagnitude_m996072851((&V_0), /*hidden argument*/NULL); float L_3 = ___deadZone2; float L_4 = ___deadZone2; if ((!(((float)L_2) < ((float)((float)((float)L_3*(float)L_4)))))) { goto IL_001a; } } { return (int32_t)(4); } IL_001a: { float L_5 = ___x0; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_6 = fabsf(L_5); float L_7 = ___y1; float L_8 = fabsf(L_7); if ((!(((float)L_6) > ((float)L_8)))) { goto IL_003a; } } { float L_9 = ___x0; if ((!(((float)L_9) > ((float)(0.0f))))) { goto IL_0038; } } { return (int32_t)(2); } IL_0038: { return (int32_t)(0); } IL_003a: { float L_10 = ___y1; if ((!(((float)L_10) > ((float)(0.0f))))) { goto IL_0047; } } { return (int32_t)(1); } IL_0047: { return (int32_t)(3); } } // UnityEngine.GameObject UnityEngine.EventSystems.BaseInputModule::FindCommonRoot(UnityEngine.GameObject,UnityEngine.GameObject) extern "C" GameObject_t4012695102 * BaseInputModule_FindCommonRoot_m1904275501 (Il2CppObject * __this /* static, unused */, GameObject_t4012695102 * ___g10, GameObject_t4012695102 * ___g21, const MethodInfo* method) { Transform_t284553113 * V_0 = NULL; Transform_t284553113 * V_1 = NULL; { GameObject_t4012695102 * L_0 = ___g10; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_1) { goto IL_0018; } } { GameObject_t4012695102 * L_2 = ___g21; bool L_3 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_2, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_3) { goto IL_001a; } } IL_0018: { return (GameObject_t4012695102 *)NULL; } IL_001a: { GameObject_t4012695102 * L_4 = ___g10; NullCheck(L_4); Transform_t284553113 * L_5 = GameObject_get_transform_m1278640159(L_4, /*hidden argument*/NULL); V_0 = L_5; goto IL_005f; } IL_0026: { GameObject_t4012695102 * L_6 = ___g21; NullCheck(L_6); Transform_t284553113 * L_7 = GameObject_get_transform_m1278640159(L_6, /*hidden argument*/NULL); V_1 = L_7; goto IL_004c; } IL_0032: { Transform_t284553113 * L_8 = V_0; Transform_t284553113 * L_9 = V_1; bool L_10 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL); if (!L_10) { goto IL_0045; } } { Transform_t284553113 * L_11 = V_0; NullCheck(L_11); GameObject_t4012695102 * L_12 = Component_get_gameObject_m1170635899(L_11, /*hidden argument*/NULL); return L_12; } IL_0045: { Transform_t284553113 * L_13 = V_1; NullCheck(L_13); Transform_t284553113 * L_14 = Transform_get_parent_m2236876972(L_13, /*hidden argument*/NULL); V_1 = L_14; } IL_004c: { Transform_t284553113 * L_15 = V_1; bool L_16 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_15, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_16) { goto IL_0032; } } { Transform_t284553113 * L_17 = V_0; NullCheck(L_17); Transform_t284553113 * L_18 = Transform_get_parent_m2236876972(L_17, /*hidden argument*/NULL); V_0 = L_18; } IL_005f: { Transform_t284553113 * L_19 = V_0; bool L_20 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_19, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_20) { goto IL_0026; } } { return (GameObject_t4012695102 *)NULL; } } // System.Void UnityEngine.EventSystems.BaseInputModule::HandlePointerExitAndEnter(UnityEngine.EventSystems.PointerEventData,UnityEngine.GameObject) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIPointerExitHandler_t3460311667_m2461322220_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIPointerEnterHandler_t1422995873_m847551666_MethodInfo_var; extern const uint32_t BaseInputModule_HandlePointerExitAndEnter_m779127058_MetadataUsageId; extern "C" void BaseInputModule_HandlePointerExitAndEnter_m779127058 (BaseInputModule_t3800378272 * __this, PointerEventData_t3205101634 * ___currentPointerData0, GameObject_t4012695102 * ___newEnterTarget1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BaseInputModule_HandlePointerExitAndEnter_m779127058_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; GameObject_t4012695102 * V_1 = NULL; Transform_t284553113 * V_2 = NULL; Transform_t284553113 * V_3 = NULL; { GameObject_t4012695102 * L_0 = ___newEnterTarget1; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_1) { goto IL_001d; } } { PointerEventData_t3205101634 * L_2 = ___currentPointerData0; NullCheck(L_2); GameObject_t4012695102 * L_3 = PointerEventData_get_pointerEnter_m1754340511(L_2, /*hidden argument*/NULL); bool L_4 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_3, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_4) { goto IL_0070; } } IL_001d: { V_0 = 0; goto IL_0040; } IL_0024: { PointerEventData_t3205101634 * L_5 = ___currentPointerData0; NullCheck(L_5); List_1_t514686775 * L_6 = L_5->get_hovered_3(); int32_t L_7 = V_0; NullCheck(L_6); GameObject_t4012695102 * L_8 = VirtFuncInvoker1< GameObject_t4012695102 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.GameObject>::get_Item(System.Int32) */, L_6, L_7); PointerEventData_t3205101634 * L_9 = ___currentPointerData0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t2213608131 * L_10 = ExecuteEvents_get_pointerExitHandler_m509229616(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIPointerExitHandler_t3460311667_m2461322220(NULL /*static, unused*/, L_8, L_9, L_10, /*hidden argument*/ExecuteEvents_Execute_TisIPointerExitHandler_t3460311667_m2461322220_MethodInfo_var); int32_t L_11 = V_0; V_0 = ((int32_t)((int32_t)L_11+(int32_t)1)); } IL_0040: { int32_t L_12 = V_0; PointerEventData_t3205101634 * L_13 = ___currentPointerData0; NullCheck(L_13); List_1_t514686775 * L_14 = L_13->get_hovered_3(); NullCheck(L_14); int32_t L_15 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.GameObject>::get_Count() */, L_14); if ((((int32_t)L_12) < ((int32_t)L_15))) { goto IL_0024; } } { PointerEventData_t3205101634 * L_16 = ___currentPointerData0; NullCheck(L_16); List_1_t514686775 * L_17 = L_16->get_hovered_3(); NullCheck(L_17); VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.GameObject>::Clear() */, L_17); GameObject_t4012695102 * L_18 = ___newEnterTarget1; bool L_19 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_18, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_19) { goto IL_0070; } } { PointerEventData_t3205101634 * L_20 = ___currentPointerData0; GameObject_t4012695102 * L_21 = ___newEnterTarget1; NullCheck(L_20); PointerEventData_set_pointerEnter_m3909544698(L_20, L_21, /*hidden argument*/NULL); return; } IL_0070: { PointerEventData_t3205101634 * L_22 = ___currentPointerData0; NullCheck(L_22); GameObject_t4012695102 * L_23 = PointerEventData_get_pointerEnter_m1754340511(L_22, /*hidden argument*/NULL); GameObject_t4012695102 * L_24 = ___newEnterTarget1; bool L_25 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_23, L_24, /*hidden argument*/NULL); if (!L_25) { goto IL_008d; } } { GameObject_t4012695102 * L_26 = ___newEnterTarget1; bool L_27 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_26, /*hidden argument*/NULL); if (!L_27) { goto IL_008d; } } { return; } IL_008d: { PointerEventData_t3205101634 * L_28 = ___currentPointerData0; NullCheck(L_28); GameObject_t4012695102 * L_29 = PointerEventData_get_pointerEnter_m1754340511(L_28, /*hidden argument*/NULL); GameObject_t4012695102 * L_30 = ___newEnterTarget1; GameObject_t4012695102 * L_31 = BaseInputModule_FindCommonRoot_m1904275501(NULL /*static, unused*/, L_29, L_30, /*hidden argument*/NULL); V_1 = L_31; PointerEventData_t3205101634 * L_32 = ___currentPointerData0; NullCheck(L_32); GameObject_t4012695102 * L_33 = PointerEventData_get_pointerEnter_m1754340511(L_32, /*hidden argument*/NULL); bool L_34 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_33, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_34) { goto IL_0115; } } { PointerEventData_t3205101634 * L_35 = ___currentPointerData0; NullCheck(L_35); GameObject_t4012695102 * L_36 = PointerEventData_get_pointerEnter_m1754340511(L_35, /*hidden argument*/NULL); NullCheck(L_36); Transform_t284553113 * L_37 = GameObject_get_transform_m1278640159(L_36, /*hidden argument*/NULL); V_2 = L_37; goto IL_0109; } IL_00bc: { GameObject_t4012695102 * L_38 = V_1; bool L_39 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_38, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_39) { goto IL_00de; } } { GameObject_t4012695102 * L_40 = V_1; NullCheck(L_40); Transform_t284553113 * L_41 = GameObject_get_transform_m1278640159(L_40, /*hidden argument*/NULL); Transform_t284553113 * L_42 = V_2; bool L_43 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_41, L_42, /*hidden argument*/NULL); if (!L_43) { goto IL_00de; } } { goto IL_0115; } IL_00de: { Transform_t284553113 * L_44 = V_2; NullCheck(L_44); GameObject_t4012695102 * L_45 = Component_get_gameObject_m1170635899(L_44, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_46 = ___currentPointerData0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t2213608131 * L_47 = ExecuteEvents_get_pointerExitHandler_m509229616(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIPointerExitHandler_t3460311667_m2461322220(NULL /*static, unused*/, L_45, L_46, L_47, /*hidden argument*/ExecuteEvents_Execute_TisIPointerExitHandler_t3460311667_m2461322220_MethodInfo_var); PointerEventData_t3205101634 * L_48 = ___currentPointerData0; NullCheck(L_48); List_1_t514686775 * L_49 = L_48->get_hovered_3(); Transform_t284553113 * L_50 = V_2; NullCheck(L_50); GameObject_t4012695102 * L_51 = Component_get_gameObject_m1170635899(L_50, /*hidden argument*/NULL); NullCheck(L_49); VirtFuncInvoker1< bool, GameObject_t4012695102 * >::Invoke(26 /* System.Boolean System.Collections.Generic.List`1<UnityEngine.GameObject>::Remove(!0) */, L_49, L_51); Transform_t284553113 * L_52 = V_2; NullCheck(L_52); Transform_t284553113 * L_53 = Transform_get_parent_m2236876972(L_52, /*hidden argument*/NULL); V_2 = L_53; } IL_0109: { Transform_t284553113 * L_54 = V_2; bool L_55 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_54, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_55) { goto IL_00bc; } } IL_0115: { PointerEventData_t3205101634 * L_56 = ___currentPointerData0; GameObject_t4012695102 * L_57 = ___newEnterTarget1; NullCheck(L_56); PointerEventData_set_pointerEnter_m3909544698(L_56, L_57, /*hidden argument*/NULL); GameObject_t4012695102 * L_58 = ___newEnterTarget1; bool L_59 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_58, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_59) { goto IL_017b; } } { GameObject_t4012695102 * L_60 = ___newEnterTarget1; NullCheck(L_60); Transform_t284553113 * L_61 = GameObject_get_transform_m1278640159(L_60, /*hidden argument*/NULL); V_3 = L_61; goto IL_015e; } IL_0134: { Transform_t284553113 * L_62 = V_3; NullCheck(L_62); GameObject_t4012695102 * L_63 = Component_get_gameObject_m1170635899(L_62, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_64 = ___currentPointerData0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t176292337 * L_65 = ExecuteEvents_get_pointerEnterHandler_m2954525018(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIPointerEnterHandler_t1422995873_m847551666(NULL /*static, unused*/, L_63, L_64, L_65, /*hidden argument*/ExecuteEvents_Execute_TisIPointerEnterHandler_t1422995873_m847551666_MethodInfo_var); PointerEventData_t3205101634 * L_66 = ___currentPointerData0; NullCheck(L_66); List_1_t514686775 * L_67 = L_66->get_hovered_3(); Transform_t284553113 * L_68 = V_3; NullCheck(L_68); GameObject_t4012695102 * L_69 = Component_get_gameObject_m1170635899(L_68, /*hidden argument*/NULL); NullCheck(L_67); VirtActionInvoker1< GameObject_t4012695102 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.GameObject>::Add(!0) */, L_67, L_69); Transform_t284553113 * L_70 = V_3; NullCheck(L_70); Transform_t284553113 * L_71 = Transform_get_parent_m2236876972(L_70, /*hidden argument*/NULL); V_3 = L_71; } IL_015e: { Transform_t284553113 * L_72 = V_3; bool L_73 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_72, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_73) { goto IL_017b; } } { Transform_t284553113 * L_74 = V_3; NullCheck(L_74); GameObject_t4012695102 * L_75 = Component_get_gameObject_m1170635899(L_74, /*hidden argument*/NULL); GameObject_t4012695102 * L_76 = V_1; bool L_77 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_75, L_76, /*hidden argument*/NULL); if (L_77) { goto IL_0134; } } IL_017b: { return; } } // UnityEngine.EventSystems.AxisEventData UnityEngine.EventSystems.BaseInputModule::GetAxisEventData(System.Single,System.Single,System.Single) extern Il2CppClass* AxisEventData_t552897310_il2cpp_TypeInfo_var; extern const uint32_t BaseInputModule_GetAxisEventData_m3789039491_MetadataUsageId; extern "C" AxisEventData_t552897310 * BaseInputModule_GetAxisEventData_m3789039491 (BaseInputModule_t3800378272 * __this, float ___x0, float ___y1, float ___moveDeadZone2, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BaseInputModule_GetAxisEventData_m3789039491_MetadataUsageId); s_Il2CppMethodIntialized = true; } { AxisEventData_t552897310 * L_0 = __this->get_m_AxisEventData_3(); if (L_0) { goto IL_001c; } } { EventSystem_t409518532 * L_1 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); AxisEventData_t552897310 * L_2 = (AxisEventData_t552897310 *)il2cpp_codegen_object_new(AxisEventData_t552897310_il2cpp_TypeInfo_var); AxisEventData__ctor_m3411840806(L_2, L_1, /*hidden argument*/NULL); __this->set_m_AxisEventData_3(L_2); } IL_001c: { AxisEventData_t552897310 * L_3 = __this->get_m_AxisEventData_3(); NullCheck(L_3); VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.EventSystems.AbstractEventData::Reset() */, L_3); AxisEventData_t552897310 * L_4 = __this->get_m_AxisEventData_3(); float L_5 = ___x0; float L_6 = ___y1; Vector2_t3525329788 L_7; memset(&L_7, 0, sizeof(L_7)); Vector2__ctor_m1517109030(&L_7, L_5, L_6, /*hidden argument*/NULL); NullCheck(L_4); AxisEventData_set_moveVector_m286185191(L_4, L_7, /*hidden argument*/NULL); AxisEventData_t552897310 * L_8 = __this->get_m_AxisEventData_3(); float L_9 = ___x0; float L_10 = ___y1; float L_11 = ___moveDeadZone2; int32_t L_12 = BaseInputModule_DetermineMoveDirection_m1501057824(NULL /*static, unused*/, L_9, L_10, L_11, /*hidden argument*/NULL); NullCheck(L_8); AxisEventData_set_moveDir_m2213568926(L_8, L_12, /*hidden argument*/NULL); AxisEventData_t552897310 * L_13 = __this->get_m_AxisEventData_3(); return L_13; } } // UnityEngine.EventSystems.BaseEventData UnityEngine.EventSystems.BaseInputModule::GetBaseEventData() extern Il2CppClass* BaseEventData_t3547103726_il2cpp_TypeInfo_var; extern const uint32_t BaseInputModule_GetBaseEventData_m1707430642_MetadataUsageId; extern "C" BaseEventData_t3547103726 * BaseInputModule_GetBaseEventData_m1707430642 (BaseInputModule_t3800378272 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BaseInputModule_GetBaseEventData_m1707430642_MetadataUsageId); s_Il2CppMethodIntialized = true; } { BaseEventData_t3547103726 * L_0 = __this->get_m_BaseEventData_5(); if (L_0) { goto IL_001c; } } { EventSystem_t409518532 * L_1 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); BaseEventData_t3547103726 * L_2 = (BaseEventData_t3547103726 *)il2cpp_codegen_object_new(BaseEventData_t3547103726_il2cpp_TypeInfo_var); BaseEventData__ctor_m3246352982(L_2, L_1, /*hidden argument*/NULL); __this->set_m_BaseEventData_5(L_2); } IL_001c: { BaseEventData_t3547103726 * L_3 = __this->get_m_BaseEventData_5(); NullCheck(L_3); VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.EventSystems.AbstractEventData::Reset() */, L_3); BaseEventData_t3547103726 * L_4 = __this->get_m_BaseEventData_5(); return L_4; } } // System.Boolean UnityEngine.EventSystems.BaseInputModule::IsPointerOverGameObject(System.Int32) extern "C" bool BaseInputModule_IsPointerOverGameObject_m674758553 (BaseInputModule_t3800378272 * __this, int32_t ___pointerId0, const MethodInfo* method) { { return (bool)0; } } // System.Boolean UnityEngine.EventSystems.BaseInputModule::ShouldActivateModule() extern "C" bool BaseInputModule_ShouldActivateModule_m222600132 (BaseInputModule_t3800378272 * __this, const MethodInfo* method) { int32_t G_B3_0 = 0; { bool L_0 = Behaviour_get_enabled_m1239363704(__this, /*hidden argument*/NULL); if (!L_0) { goto IL_0018; } } { GameObject_t4012695102 * L_1 = Component_get_gameObject_m1170635899(__this, /*hidden argument*/NULL); NullCheck(L_1); bool L_2 = GameObject_get_activeInHierarchy_m612450965(L_1, /*hidden argument*/NULL); G_B3_0 = ((int32_t)(L_2)); goto IL_0019; } IL_0018: { G_B3_0 = 0; } IL_0019: { return (bool)G_B3_0; } } // System.Void UnityEngine.EventSystems.BaseInputModule::DeactivateModule() extern "C" void BaseInputModule_DeactivateModule_m2572518820 (BaseInputModule_t3800378272 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.EventSystems.BaseInputModule::ActivateModule() extern "C" void BaseInputModule_ActivateModule_m1091790819 (BaseInputModule_t3800378272 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.EventSystems.BaseInputModule::UpdateModule() extern "C" void BaseInputModule_UpdateModule_m2691994233 (BaseInputModule_t3800378272 * __this, const MethodInfo* method) { { return; } } // System.Boolean UnityEngine.EventSystems.BaseInputModule::IsModuleSupported() extern "C" bool BaseInputModule_IsModuleSupported_m4245324872 (BaseInputModule_t3800378272 * __this, const MethodInfo* method) { { return (bool)1; } } // System.Void UnityEngine.EventSystems.BaseRaycaster::.ctor() extern "C" void BaseRaycaster__ctor_m2197027296 (BaseRaycaster_t3819875680 * __this, const MethodInfo* method) { { UIBehaviour__ctor_m1261553468(__this, /*hidden argument*/NULL); return; } } // System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_priority() extern "C" int32_t BaseRaycaster_get_priority_m2850487385 (BaseRaycaster_t3819875680 * __this, const MethodInfo* method) { { return 0; } } // System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_sortOrderPriority() extern "C" int32_t BaseRaycaster_get_sortOrderPriority_m1812907489 (BaseRaycaster_t3819875680 * __this, const MethodInfo* method) { { return ((int32_t)-2147483648LL); } } // System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_renderOrderPriority() extern "C" int32_t BaseRaycaster_get_renderOrderPriority_m486229993 (BaseRaycaster_t3819875680 * __this, const MethodInfo* method) { { return ((int32_t)-2147483648LL); } } // System.String UnityEngine.EventSystems.BaseRaycaster::ToString() extern Il2CppClass* ObjectU5BU5D_t11523773_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2847414787_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2326001425; extern Il2CppCodeGenString* _stringLiteral1475940859; extern Il2CppCodeGenString* _stringLiteral1335047152; extern Il2CppCodeGenString* _stringLiteral823419768; extern const uint32_t BaseRaycaster_ToString_m540855283_MetadataUsageId; extern "C" String_t* BaseRaycaster_ToString_m540855283 (BaseRaycaster_t3819875680 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BaseRaycaster_ToString_m540855283_MetadataUsageId); s_Il2CppMethodIntialized = true; } { ObjectU5BU5D_t11523773* L_0 = ((ObjectU5BU5D_t11523773*)SZArrayNew(ObjectU5BU5D_t11523773_il2cpp_TypeInfo_var, (uint32_t)8)); NullCheck(L_0); IL2CPP_ARRAY_BOUNDS_CHECK(L_0, 0); ArrayElementTypeCheck (L_0, _stringLiteral2326001425); (L_0)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)_stringLiteral2326001425); ObjectU5BU5D_t11523773* L_1 = L_0; GameObject_t4012695102 * L_2 = Component_get_gameObject_m1170635899(__this, /*hidden argument*/NULL); NullCheck(L_1); IL2CPP_ARRAY_BOUNDS_CHECK(L_1, 1); ArrayElementTypeCheck (L_1, L_2); (L_1)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_2); ObjectU5BU5D_t11523773* L_3 = L_1; NullCheck(L_3); IL2CPP_ARRAY_BOUNDS_CHECK(L_3, 2); ArrayElementTypeCheck (L_3, _stringLiteral1475940859); (L_3)->SetAt(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)_stringLiteral1475940859); ObjectU5BU5D_t11523773* L_4 = L_3; Camera_t3533968274 * L_5 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.BaseRaycaster::get_eventCamera() */, __this); NullCheck(L_4); IL2CPP_ARRAY_BOUNDS_CHECK(L_4, 3); ArrayElementTypeCheck (L_4, L_5); (L_4)->SetAt(static_cast<il2cpp_array_size_t>(3), (Il2CppObject *)L_5); ObjectU5BU5D_t11523773* L_6 = L_4; NullCheck(L_6); IL2CPP_ARRAY_BOUNDS_CHECK(L_6, 4); ArrayElementTypeCheck (L_6, _stringLiteral1335047152); (L_6)->SetAt(static_cast<il2cpp_array_size_t>(4), (Il2CppObject *)_stringLiteral1335047152); ObjectU5BU5D_t11523773* L_7 = L_6; int32_t L_8 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_sortOrderPriority() */, __this); int32_t L_9 = L_8; Il2CppObject * L_10 = Box(Int32_t2847414787_il2cpp_TypeInfo_var, &L_9); NullCheck(L_7); IL2CPP_ARRAY_BOUNDS_CHECK(L_7, 5); ArrayElementTypeCheck (L_7, L_10); (L_7)->SetAt(static_cast<il2cpp_array_size_t>(5), (Il2CppObject *)L_10); ObjectU5BU5D_t11523773* L_11 = L_7; NullCheck(L_11); IL2CPP_ARRAY_BOUNDS_CHECK(L_11, 6); ArrayElementTypeCheck (L_11, _stringLiteral823419768); (L_11)->SetAt(static_cast<il2cpp_array_size_t>(6), (Il2CppObject *)_stringLiteral823419768); ObjectU5BU5D_t11523773* L_12 = L_11; int32_t L_13 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_renderOrderPriority() */, __this); int32_t L_14 = L_13; Il2CppObject * L_15 = Box(Int32_t2847414787_il2cpp_TypeInfo_var, &L_14); NullCheck(L_12); IL2CPP_ARRAY_BOUNDS_CHECK(L_12, 7); ArrayElementTypeCheck (L_12, L_15); (L_12)->SetAt(static_cast<il2cpp_array_size_t>(7), (Il2CppObject *)L_15); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_16 = String_Concat_m3016520001(NULL /*static, unused*/, L_12, /*hidden argument*/NULL); return L_16; } } // System.Void UnityEngine.EventSystems.BaseRaycaster::OnEnable() extern Il2CppClass* RaycasterManager_t3461082770_il2cpp_TypeInfo_var; extern const uint32_t BaseRaycaster_OnEnable_m2705129894_MetadataUsageId; extern "C" void BaseRaycaster_OnEnable_m2705129894 (BaseRaycaster_t3819875680 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BaseRaycaster_OnEnable_m2705129894_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UIBehaviour_OnEnable_m4047103690(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(RaycasterManager_t3461082770_il2cpp_TypeInfo_var); RaycasterManager_AddRaycaster_m4159868023(NULL /*static, unused*/, __this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.BaseRaycaster::OnDisable() extern Il2CppClass* RaycasterManager_t3461082770_il2cpp_TypeInfo_var; extern const uint32_t BaseRaycaster_OnDisable_m2695585351_MetadataUsageId; extern "C" void BaseRaycaster_OnDisable_m2695585351 (BaseRaycaster_t3819875680 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BaseRaycaster_OnDisable_m2695585351_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(RaycasterManager_t3461082770_il2cpp_TypeInfo_var); RaycasterManager_RemoveRaycasters_m4290330819(NULL /*static, unused*/, __this, /*hidden argument*/NULL); UIBehaviour_OnDisable_m1347100067(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventSystem::.ctor() extern Il2CppClass* List_1_t302369945_il2cpp_TypeInfo_var; extern const MethodInfo* List_1__ctor_m595340038_MethodInfo_var; extern const uint32_t EventSystem__ctor_m1614698108_MetadataUsageId; extern "C" void EventSystem__ctor_m1614698108 (EventSystem_t409518532 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventSystem__ctor_m1614698108_MetadataUsageId); s_Il2CppMethodIntialized = true; } { List_1_t302369945 * L_0 = (List_1_t302369945 *)il2cpp_codegen_object_new(List_1_t302369945_il2cpp_TypeInfo_var); List_1__ctor_m595340038(L_0, /*hidden argument*/List_1__ctor_m595340038_MethodInfo_var); __this->set_m_SystemInputModules_2(L_0); __this->set_m_sendNavigationEvents_5((bool)1); __this->set_m_DragThreshold_6(5); UIBehaviour__ctor_m1261553468(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventSystem::.cctor() extern Il2CppClass* Comparison_1_t3663573565_il2cpp_TypeInfo_var; extern Il2CppClass* EventSystem_t409518532_il2cpp_TypeInfo_var; extern const MethodInfo* EventSystem_RaycastComparer_m3178660990_MethodInfo_var; extern const MethodInfo* Comparison_1__ctor_m818957270_MethodInfo_var; extern const uint32_t EventSystem__cctor_m2328904881_MetadataUsageId; extern "C" void EventSystem__cctor_m2328904881 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventSystem__cctor_m2328904881_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IntPtr_t L_0; L_0.set_m_value_0((void*)(void*)EventSystem_RaycastComparer_m3178660990_MethodInfo_var); Comparison_1_t3663573565 * L_1 = (Comparison_1_t3663573565 *)il2cpp_codegen_object_new(Comparison_1_t3663573565_il2cpp_TypeInfo_var); Comparison_1__ctor_m818957270(L_1, NULL, L_0, /*hidden argument*/Comparison_1__ctor_m818957270_MethodInfo_var); ((EventSystem_t409518532_StaticFields*)EventSystem_t409518532_il2cpp_TypeInfo_var->static_fields)->set_s_RaycastComparer_10(L_1); return; } } // UnityEngine.EventSystems.EventSystem UnityEngine.EventSystems.EventSystem::get_current() extern Il2CppClass* EventSystem_t409518532_il2cpp_TypeInfo_var; extern const uint32_t EventSystem_get_current_m3483537871_MetadataUsageId; extern "C" EventSystem_t409518532 * EventSystem_get_current_m3483537871 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventSystem_get_current_m3483537871_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); EventSystem_t409518532 * L_0 = ((EventSystem_t409518532_StaticFields*)EventSystem_t409518532_il2cpp_TypeInfo_var->static_fields)->get_U3CcurrentU3Ek__BackingField_11(); return L_0; } } // System.Void UnityEngine.EventSystems.EventSystem::set_current(UnityEngine.EventSystems.EventSystem) extern Il2CppClass* EventSystem_t409518532_il2cpp_TypeInfo_var; extern const uint32_t EventSystem_set_current_m3070848986_MetadataUsageId; extern "C" void EventSystem_set_current_m3070848986 (Il2CppObject * __this /* static, unused */, EventSystem_t409518532 * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventSystem_set_current_m3070848986_MetadataUsageId); s_Il2CppMethodIntialized = true; } { EventSystem_t409518532 * L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); ((EventSystem_t409518532_StaticFields*)EventSystem_t409518532_il2cpp_TypeInfo_var->static_fields)->set_U3CcurrentU3Ek__BackingField_11(L_0); return; } } // System.Boolean UnityEngine.EventSystems.EventSystem::get_sendNavigationEvents() extern "C" bool EventSystem_get_sendNavigationEvents_m2758658484 (EventSystem_t409518532 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_sendNavigationEvents_5(); return L_0; } } // System.Void UnityEngine.EventSystems.EventSystem::set_sendNavigationEvents(System.Boolean) extern "C" void EventSystem_set_sendNavigationEvents_m332228817 (EventSystem_t409518532 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_sendNavigationEvents_5(L_0); return; } } // System.Int32 UnityEngine.EventSystems.EventSystem::get_pixelDragThreshold() extern "C" int32_t EventSystem_get_pixelDragThreshold_m3269248010 (EventSystem_t409518532 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_DragThreshold_6(); return L_0; } } // System.Void UnityEngine.EventSystems.EventSystem::set_pixelDragThreshold(System.Int32) extern "C" void EventSystem_set_pixelDragThreshold_m3094844391 (EventSystem_t409518532 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_DragThreshold_6(L_0); return; } } // UnityEngine.EventSystems.BaseInputModule UnityEngine.EventSystems.EventSystem::get_currentInputModule() extern "C" BaseInputModule_t3800378272 * EventSystem_get_currentInputModule_m1694913485 (EventSystem_t409518532 * __this, const MethodInfo* method) { { BaseInputModule_t3800378272 * L_0 = __this->get_m_CurrentInputModule_3(); return L_0; } } // UnityEngine.GameObject UnityEngine.EventSystems.EventSystem::get_firstSelectedGameObject() extern "C" GameObject_t4012695102 * EventSystem_get_firstSelectedGameObject_m540473918 (EventSystem_t409518532 * __this, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = __this->get_m_FirstSelected_4(); return L_0; } } // System.Void UnityEngine.EventSystems.EventSystem::set_firstSelectedGameObject(UnityEngine.GameObject) extern "C" void EventSystem_set_firstSelectedGameObject_m1040716465 (EventSystem_t409518532 * __this, GameObject_t4012695102 * ___value0, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = ___value0; __this->set_m_FirstSelected_4(L_0); return; } } // UnityEngine.GameObject UnityEngine.EventSystems.EventSystem::get_currentSelectedGameObject() extern "C" GameObject_t4012695102 * EventSystem_get_currentSelectedGameObject_m4236083783 (EventSystem_t409518532 * __this, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = __this->get_m_CurrentSelected_7(); return L_0; } } // UnityEngine.GameObject UnityEngine.EventSystems.EventSystem::get_lastSelectedGameObject() extern "C" GameObject_t4012695102 * EventSystem_get_lastSelectedGameObject_m2351525314 (EventSystem_t409518532 * __this, const MethodInfo* method) { { return (GameObject_t4012695102 *)NULL; } } // System.Void UnityEngine.EventSystems.EventSystem::UpdateModules() extern const MethodInfo* Component_GetComponents_TisBaseInputModule_t3800378272_m3872319664_MethodInfo_var; extern const uint32_t EventSystem_UpdateModules_m2696555928_MetadataUsageId; extern "C" void EventSystem_UpdateModules_m2696555928 (EventSystem_t409518532 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventSystem_UpdateModules_m2696555928_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; { List_1_t302369945 * L_0 = __this->get_m_SystemInputModules_2(); Component_GetComponents_TisBaseInputModule_t3800378272_m3872319664(__this, L_0, /*hidden argument*/Component_GetComponents_TisBaseInputModule_t3800378272_m3872319664_MethodInfo_var); List_1_t302369945 * L_1 = __this->get_m_SystemInputModules_2(); NullCheck(L_1); int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule>::get_Count() */, L_1); V_0 = ((int32_t)((int32_t)L_2-(int32_t)1)); goto IL_0060; } IL_001f: { List_1_t302369945 * L_3 = __this->get_m_SystemInputModules_2(); int32_t L_4 = V_0; NullCheck(L_3); BaseInputModule_t3800378272 * L_5 = VirtFuncInvoker1< BaseInputModule_t3800378272 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule>::get_Item(System.Int32) */, L_3, L_4); bool L_6 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); if (!L_6) { goto IL_0050; } } { List_1_t302369945 * L_7 = __this->get_m_SystemInputModules_2(); int32_t L_8 = V_0; NullCheck(L_7); BaseInputModule_t3800378272 * L_9 = VirtFuncInvoker1< BaseInputModule_t3800378272 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule>::get_Item(System.Int32) */, L_7, L_8); NullCheck(L_9); bool L_10 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, L_9); if (!L_10) { goto IL_0050; } } { goto IL_005c; } IL_0050: { List_1_t302369945 * L_11 = __this->get_m_SystemInputModules_2(); int32_t L_12 = V_0; NullCheck(L_11); VirtActionInvoker1< int32_t >::Invoke(30 /* System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule>::RemoveAt(System.Int32) */, L_11, L_12); } IL_005c: { int32_t L_13 = V_0; V_0 = ((int32_t)((int32_t)L_13-(int32_t)1)); } IL_0060: { int32_t L_14 = V_0; if ((((int32_t)L_14) >= ((int32_t)0))) { goto IL_001f; } } { return; } } // System.Boolean UnityEngine.EventSystems.EventSystem::get_alreadySelecting() extern "C" bool EventSystem_get_alreadySelecting_m3074958957 (EventSystem_t409518532 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_SelectionGuard_8(); return L_0; } } // System.Void UnityEngine.EventSystems.EventSystem::SetSelectedGameObject(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Debug_t1588791936_il2cpp_TypeInfo_var; extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIDeselectHandler_t1344312511_m1644463312_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisISelectHandler_t2593995104_m4187473137_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral3906175210; extern Il2CppCodeGenString* _stringLiteral1176813613; extern const uint32_t EventSystem_SetSelectedGameObject_m2116591616_MetadataUsageId; extern "C" void EventSystem_SetSelectedGameObject_m2116591616 (EventSystem_t409518532 * __this, GameObject_t4012695102 * ___selected0, BaseEventData_t3547103726 * ___pointer1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventSystem_SetSelectedGameObject_m2116591616_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = __this->get_m_SelectionGuard_8(); if (!L_0) { goto IL_0021; } } { GameObject_t4012695102 * L_1 = ___selected0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_2 = String_Concat_m2809334143(NULL /*static, unused*/, _stringLiteral3906175210, L_1, _stringLiteral1176813613, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogError_m4127342994(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); return; } IL_0021: { __this->set_m_SelectionGuard_8((bool)1); GameObject_t4012695102 * L_3 = ___selected0; GameObject_t4012695102 * L_4 = __this->get_m_CurrentSelected_7(); bool L_5 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0041; } } { __this->set_m_SelectionGuard_8((bool)0); return; } IL_0041: { GameObject_t4012695102 * L_6 = __this->get_m_CurrentSelected_7(); BaseEventData_t3547103726 * L_7 = ___pointer1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t97608975 * L_8 = ExecuteEvents_get_deselectHandler_m2539146650(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIDeselectHandler_t1344312511_m1644463312(NULL /*static, unused*/, L_6, L_7, L_8, /*hidden argument*/ExecuteEvents_Execute_TisIDeselectHandler_t1344312511_m1644463312_MethodInfo_var); GameObject_t4012695102 * L_9 = ___selected0; __this->set_m_CurrentSelected_7(L_9); GameObject_t4012695102 * L_10 = __this->get_m_CurrentSelected_7(); BaseEventData_t3547103726 * L_11 = ___pointer1; EventFunction_1_t1347291568 * L_12 = ExecuteEvents_get_selectHandler_m1963257146(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisISelectHandler_t2593995104_m4187473137(NULL /*static, unused*/, L_10, L_11, L_12, /*hidden argument*/ExecuteEvents_Execute_TisISelectHandler_t2593995104_m4187473137_MethodInfo_var); __this->set_m_SelectionGuard_8((bool)0); return; } } // UnityEngine.EventSystems.BaseEventData UnityEngine.EventSystems.EventSystem::get_baseEventDataCache() extern Il2CppClass* BaseEventData_t3547103726_il2cpp_TypeInfo_var; extern const uint32_t EventSystem_get_baseEventDataCache_m1763003665_MetadataUsageId; extern "C" BaseEventData_t3547103726 * EventSystem_get_baseEventDataCache_m1763003665 (EventSystem_t409518532 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventSystem_get_baseEventDataCache_m1763003665_MetadataUsageId); s_Il2CppMethodIntialized = true; } { BaseEventData_t3547103726 * L_0 = __this->get_m_DummyData_9(); if (L_0) { goto IL_0017; } } { BaseEventData_t3547103726 * L_1 = (BaseEventData_t3547103726 *)il2cpp_codegen_object_new(BaseEventData_t3547103726_il2cpp_TypeInfo_var); BaseEventData__ctor_m3246352982(L_1, __this, /*hidden argument*/NULL); __this->set_m_DummyData_9(L_1); } IL_0017: { BaseEventData_t3547103726 * L_2 = __this->get_m_DummyData_9(); return L_2; } } // System.Void UnityEngine.EventSystems.EventSystem::SetSelectedGameObject(UnityEngine.GameObject) extern "C" void EventSystem_SetSelectedGameObject_m1869236832 (EventSystem_t409518532 * __this, GameObject_t4012695102 * ___selected0, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = ___selected0; BaseEventData_t3547103726 * L_1 = EventSystem_get_baseEventDataCache_m1763003665(__this, /*hidden argument*/NULL); EventSystem_SetSelectedGameObject_m2116591616(__this, L_0, L_1, /*hidden argument*/NULL); return; } } // System.Int32 UnityEngine.EventSystems.EventSystem::RaycastComparer(UnityEngine.EventSystems.RaycastResult,UnityEngine.EventSystems.RaycastResult) extern "C" int32_t EventSystem_RaycastComparer_m3178660990 (Il2CppObject * __this /* static, unused */, RaycastResult_t959898689 ___lhs0, RaycastResult_t959898689 ___rhs1, const MethodInfo* method) { int32_t V_0 = 0; int32_t V_1 = 0; int32_t V_2 = 0; int32_t V_3 = 0; { BaseRaycaster_t3819875680 * L_0 = (&___lhs0)->get_module_1(); BaseRaycaster_t3819875680 * L_1 = (&___rhs1)->get_module_1(); bool L_2 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_013d; } } { BaseRaycaster_t3819875680 * L_3 = (&___lhs0)->get_module_1(); NullCheck(L_3); Camera_t3533968274 * L_4 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.BaseRaycaster::get_eventCamera() */, L_3); bool L_5 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_4, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_5) { goto IL_00c1; } } { BaseRaycaster_t3819875680 * L_6 = (&___rhs1)->get_module_1(); NullCheck(L_6); Camera_t3533968274 * L_7 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.BaseRaycaster::get_eventCamera() */, L_6); bool L_8 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_7, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_8) { goto IL_00c1; } } { BaseRaycaster_t3819875680 * L_9 = (&___lhs0)->get_module_1(); NullCheck(L_9); Camera_t3533968274 * L_10 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.BaseRaycaster::get_eventCamera() */, L_9); NullCheck(L_10); float L_11 = Camera_get_depth_m3642810036(L_10, /*hidden argument*/NULL); BaseRaycaster_t3819875680 * L_12 = (&___rhs1)->get_module_1(); NullCheck(L_12); Camera_t3533968274 * L_13 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.BaseRaycaster::get_eventCamera() */, L_12); NullCheck(L_13); float L_14 = Camera_get_depth_m3642810036(L_13, /*hidden argument*/NULL); if ((((float)L_11) == ((float)L_14))) { goto IL_00c1; } } { BaseRaycaster_t3819875680 * L_15 = (&___lhs0)->get_module_1(); NullCheck(L_15); Camera_t3533968274 * L_16 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.BaseRaycaster::get_eventCamera() */, L_15); NullCheck(L_16); float L_17 = Camera_get_depth_m3642810036(L_16, /*hidden argument*/NULL); BaseRaycaster_t3819875680 * L_18 = (&___rhs1)->get_module_1(); NullCheck(L_18); Camera_t3533968274 * L_19 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.BaseRaycaster::get_eventCamera() */, L_18); NullCheck(L_19); float L_20 = Camera_get_depth_m3642810036(L_19, /*hidden argument*/NULL); if ((!(((float)L_17) < ((float)L_20)))) { goto IL_0096; } } { return 1; } IL_0096: { BaseRaycaster_t3819875680 * L_21 = (&___lhs0)->get_module_1(); NullCheck(L_21); Camera_t3533968274 * L_22 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.BaseRaycaster::get_eventCamera() */, L_21); NullCheck(L_22); float L_23 = Camera_get_depth_m3642810036(L_22, /*hidden argument*/NULL); BaseRaycaster_t3819875680 * L_24 = (&___rhs1)->get_module_1(); NullCheck(L_24); Camera_t3533968274 * L_25 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.BaseRaycaster::get_eventCamera() */, L_24); NullCheck(L_25); float L_26 = Camera_get_depth_m3642810036(L_25, /*hidden argument*/NULL); if ((!(((float)L_23) == ((float)L_26)))) { goto IL_00bf; } } { return 0; } IL_00bf: { return (-1); } IL_00c1: { BaseRaycaster_t3819875680 * L_27 = (&___lhs0)->get_module_1(); NullCheck(L_27); int32_t L_28 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_sortOrderPriority() */, L_27); BaseRaycaster_t3819875680 * L_29 = (&___rhs1)->get_module_1(); NullCheck(L_29); int32_t L_30 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_sortOrderPriority() */, L_29); if ((((int32_t)L_28) == ((int32_t)L_30))) { goto IL_00ff; } } { BaseRaycaster_t3819875680 * L_31 = (&___rhs1)->get_module_1(); NullCheck(L_31); int32_t L_32 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_sortOrderPriority() */, L_31); V_2 = L_32; BaseRaycaster_t3819875680 * L_33 = (&___lhs0)->get_module_1(); NullCheck(L_33); int32_t L_34 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_sortOrderPriority() */, L_33); int32_t L_35 = Int32_CompareTo_m2558537238((&V_2), L_34, /*hidden argument*/NULL); return L_35; } IL_00ff: { BaseRaycaster_t3819875680 * L_36 = (&___lhs0)->get_module_1(); NullCheck(L_36); int32_t L_37 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_renderOrderPriority() */, L_36); BaseRaycaster_t3819875680 * L_38 = (&___rhs1)->get_module_1(); NullCheck(L_38); int32_t L_39 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_renderOrderPriority() */, L_38); if ((((int32_t)L_37) == ((int32_t)L_39))) { goto IL_013d; } } { BaseRaycaster_t3819875680 * L_40 = (&___rhs1)->get_module_1(); NullCheck(L_40); int32_t L_41 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_renderOrderPriority() */, L_40); V_3 = L_41; BaseRaycaster_t3819875680 * L_42 = (&___lhs0)->get_module_1(); NullCheck(L_42); int32_t L_43 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_renderOrderPriority() */, L_42); int32_t L_44 = Int32_CompareTo_m2558537238((&V_3), L_43, /*hidden argument*/NULL); return L_44; } IL_013d: { int32_t L_45 = (&___lhs0)->get_sortingLayer_5(); int32_t L_46 = (&___rhs1)->get_sortingLayer_5(); if ((((int32_t)L_45) == ((int32_t)L_46))) { goto IL_0173; } } { int32_t L_47 = (&___rhs1)->get_sortingLayer_5(); int32_t L_48 = SortingLayer_GetLayerValueFromID_m2560954442(NULL /*static, unused*/, L_47, /*hidden argument*/NULL); V_0 = L_48; int32_t L_49 = (&___lhs0)->get_sortingLayer_5(); int32_t L_50 = SortingLayer_GetLayerValueFromID_m2560954442(NULL /*static, unused*/, L_49, /*hidden argument*/NULL); V_1 = L_50; int32_t L_51 = V_1; int32_t L_52 = Int32_CompareTo_m2558537238((&V_0), L_51, /*hidden argument*/NULL); return L_52; } IL_0173: { int32_t L_53 = (&___lhs0)->get_sortingOrder_6(); int32_t L_54 = (&___rhs1)->get_sortingOrder_6(); if ((((int32_t)L_53) == ((int32_t)L_54))) { goto IL_019a; } } { int32_t* L_55 = (&___rhs1)->get_address_of_sortingOrder_6(); int32_t L_56 = (&___lhs0)->get_sortingOrder_6(); int32_t L_57 = Int32_CompareTo_m2558537238(L_55, L_56, /*hidden argument*/NULL); return L_57; } IL_019a: { int32_t L_58 = (&___lhs0)->get_depth_4(); int32_t L_59 = (&___rhs1)->get_depth_4(); if ((((int32_t)L_58) == ((int32_t)L_59))) { goto IL_01c1; } } { int32_t* L_60 = (&___rhs1)->get_address_of_depth_4(); int32_t L_61 = (&___lhs0)->get_depth_4(); int32_t L_62 = Int32_CompareTo_m2558537238(L_60, L_61, /*hidden argument*/NULL); return L_62; } IL_01c1: { float L_63 = (&___lhs0)->get_distance_2(); float L_64 = (&___rhs1)->get_distance_2(); if ((((float)L_63) == ((float)L_64))) { goto IL_01e8; } } { float* L_65 = (&___lhs0)->get_address_of_distance_2(); float L_66 = (&___rhs1)->get_distance_2(); int32_t L_67 = Single_CompareTo_m3518345828(L_65, L_66, /*hidden argument*/NULL); return L_67; } IL_01e8: { float* L_68 = (&___lhs0)->get_address_of_index_3(); float L_69 = (&___rhs1)->get_index_3(); int32_t L_70 = Single_CompareTo_m3518345828(L_68, L_69, /*hidden argument*/NULL); return L_70; } } // System.Void UnityEngine.EventSystems.EventSystem::RaycastAll(UnityEngine.EventSystems.PointerEventData,System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>) extern Il2CppClass* RaycasterManager_t3461082770_il2cpp_TypeInfo_var; extern Il2CppClass* EventSystem_t409518532_il2cpp_TypeInfo_var; extern const MethodInfo* List_1_Sort_m3081456075_MethodInfo_var; extern const uint32_t EventSystem_RaycastAll_m538533603_MetadataUsageId; extern "C" void EventSystem_RaycastAll_m538533603 (EventSystem_t409518532 * __this, PointerEventData_t3205101634 * ___eventData0, List_1_t1756857658 * ___raycastResults1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventSystem_RaycastAll_m538533603_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t321867353 * V_0 = NULL; int32_t V_1 = 0; BaseRaycaster_t3819875680 * V_2 = NULL; { List_1_t1756857658 * L_0 = ___raycastResults1; NullCheck(L_0); VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Clear() */, L_0); IL2CPP_RUNTIME_CLASS_INIT(RaycasterManager_t3461082770_il2cpp_TypeInfo_var); List_1_t321867353 * L_1 = RaycasterManager_GetRaycasters_m4152256966(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_1; V_1 = 0; goto IL_0043; } IL_0013: { List_1_t321867353 * L_2 = V_0; int32_t L_3 = V_1; NullCheck(L_2); BaseRaycaster_t3819875680 * L_4 = VirtFuncInvoker1< BaseRaycaster_t3819875680 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseRaycaster>::get_Item(System.Int32) */, L_2, L_3); V_2 = L_4; BaseRaycaster_t3819875680 * L_5 = V_2; bool L_6 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_5, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_6) { goto IL_0032; } } { BaseRaycaster_t3819875680 * L_7 = V_2; NullCheck(L_7); bool L_8 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, L_7); if (L_8) { goto IL_0037; } } IL_0032: { goto IL_003f; } IL_0037: { BaseRaycaster_t3819875680 * L_9 = V_2; PointerEventData_t3205101634 * L_10 = ___eventData0; List_1_t1756857658 * L_11 = ___raycastResults1; NullCheck(L_9); VirtActionInvoker2< PointerEventData_t3205101634 *, List_1_t1756857658 * >::Invoke(16 /* System.Void UnityEngine.EventSystems.BaseRaycaster::Raycast(UnityEngine.EventSystems.PointerEventData,System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>) */, L_9, L_10, L_11); } IL_003f: { int32_t L_12 = V_1; V_1 = ((int32_t)((int32_t)L_12+(int32_t)1)); } IL_0043: { int32_t L_13 = V_1; List_1_t321867353 * L_14 = V_0; NullCheck(L_14); int32_t L_15 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseRaycaster>::get_Count() */, L_14); if ((((int32_t)L_13) < ((int32_t)L_15))) { goto IL_0013; } } { List_1_t1756857658 * L_16 = ___raycastResults1; IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); Comparison_1_t3663573565 * L_17 = ((EventSystem_t409518532_StaticFields*)EventSystem_t409518532_il2cpp_TypeInfo_var->static_fields)->get_s_RaycastComparer_10(); NullCheck(L_16); List_1_Sort_m3081456075(L_16, L_17, /*hidden argument*/List_1_Sort_m3081456075_MethodInfo_var); return; } } // System.Boolean UnityEngine.EventSystems.EventSystem::IsPointerOverGameObject() extern "C" bool EventSystem_IsPointerOverGameObject_m4276458404 (EventSystem_t409518532 * __this, const MethodInfo* method) { { bool L_0 = EventSystem_IsPointerOverGameObject_m4003394293(__this, (-1), /*hidden argument*/NULL); return L_0; } } // System.Boolean UnityEngine.EventSystems.EventSystem::IsPointerOverGameObject(System.Int32) extern "C" bool EventSystem_IsPointerOverGameObject_m4003394293 (EventSystem_t409518532 * __this, int32_t ___pointerId0, const MethodInfo* method) { { BaseInputModule_t3800378272 * L_0 = __this->get_m_CurrentInputModule_3(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0013; } } { return (bool)0; } IL_0013: { BaseInputModule_t3800378272 * L_2 = __this->get_m_CurrentInputModule_3(); int32_t L_3 = ___pointerId0; NullCheck(L_2); bool L_4 = VirtFuncInvoker1< bool, int32_t >::Invoke(19 /* System.Boolean UnityEngine.EventSystems.BaseInputModule::IsPointerOverGameObject(System.Int32) */, L_2, L_3); return L_4; } } // System.Void UnityEngine.EventSystems.EventSystem::OnEnable() extern Il2CppClass* EventSystem_t409518532_il2cpp_TypeInfo_var; extern const uint32_t EventSystem_OnEnable_m1909198730_MetadataUsageId; extern "C" void EventSystem_OnEnable_m1909198730 (EventSystem_t409518532 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventSystem_OnEnable_m1909198730_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UIBehaviour_OnEnable_m4047103690(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); EventSystem_t409518532 * L_0 = EventSystem_get_current_m3483537871(NULL /*static, unused*/, /*hidden argument*/NULL); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001c; } } { IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); EventSystem_set_current_m3070848986(NULL /*static, unused*/, __this, /*hidden argument*/NULL); } IL_001c: { return; } } // System.Void UnityEngine.EventSystems.EventSystem::OnDisable() extern Il2CppClass* EventSystem_t409518532_il2cpp_TypeInfo_var; extern const uint32_t EventSystem_OnDisable_m3791523043_MetadataUsageId; extern "C" void EventSystem_OnDisable_m3791523043 (EventSystem_t409518532 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventSystem_OnDisable_m3791523043_MetadataUsageId); s_Il2CppMethodIntialized = true; } { BaseInputModule_t3800378272 * L_0 = __this->get_m_CurrentInputModule_3(); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0023; } } { BaseInputModule_t3800378272 * L_2 = __this->get_m_CurrentInputModule_3(); NullCheck(L_2); VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.EventSystems.BaseInputModule::DeactivateModule() */, L_2); __this->set_m_CurrentInputModule_3((BaseInputModule_t3800378272 *)NULL); } IL_0023: { IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); EventSystem_t409518532 * L_3 = EventSystem_get_current_m3483537871(NULL /*static, unused*/, /*hidden argument*/NULL); bool L_4 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_3, __this, /*hidden argument*/NULL); if (!L_4) { goto IL_0039; } } { IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); EventSystem_set_current_m3070848986(NULL /*static, unused*/, (EventSystem_t409518532 *)NULL, /*hidden argument*/NULL); } IL_0039: { UIBehaviour_OnDisable_m1347100067(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventSystem::TickModules() extern "C" void EventSystem_TickModules_m4074329476 (EventSystem_t409518532 * __this, const MethodInfo* method) { int32_t V_0 = 0; { V_0 = 0; goto IL_0033; } IL_0007: { List_1_t302369945 * L_0 = __this->get_m_SystemInputModules_2(); int32_t L_1 = V_0; NullCheck(L_0); BaseInputModule_t3800378272 * L_2 = VirtFuncInvoker1< BaseInputModule_t3800378272 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule>::get_Item(System.Int32) */, L_0, L_1); bool L_3 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_2, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_3) { goto IL_002f; } } { List_1_t302369945 * L_4 = __this->get_m_SystemInputModules_2(); int32_t L_5 = V_0; NullCheck(L_4); BaseInputModule_t3800378272 * L_6 = VirtFuncInvoker1< BaseInputModule_t3800378272 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule>::get_Item(System.Int32) */, L_4, L_5); NullCheck(L_6); VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.EventSystems.BaseInputModule::UpdateModule() */, L_6); } IL_002f: { int32_t L_7 = V_0; V_0 = ((int32_t)((int32_t)L_7+(int32_t)1)); } IL_0033: { int32_t L_8 = V_0; List_1_t302369945 * L_9 = __this->get_m_SystemInputModules_2(); NullCheck(L_9); int32_t L_10 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule>::get_Count() */, L_9); if ((((int32_t)L_8) < ((int32_t)L_10))) { goto IL_0007; } } { return; } } // System.Void UnityEngine.EventSystems.EventSystem::Update() extern Il2CppClass* EventSystem_t409518532_il2cpp_TypeInfo_var; extern const uint32_t EventSystem_Update_m242895889_MetadataUsageId; extern "C" void EventSystem_Update_m242895889 (EventSystem_t409518532 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventSystem_Update_m242895889_MetadataUsageId); s_Il2CppMethodIntialized = true; } bool V_0 = false; int32_t V_1 = 0; BaseInputModule_t3800378272 * V_2 = NULL; int32_t V_3 = 0; BaseInputModule_t3800378272 * V_4 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); EventSystem_t409518532 * L_0 = EventSystem_get_current_m3483537871(NULL /*static, unused*/, /*hidden argument*/NULL); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, __this, /*hidden argument*/NULL); if (!L_1) { goto IL_0011; } } { return; } IL_0011: { EventSystem_TickModules_m4074329476(__this, /*hidden argument*/NULL); V_0 = (bool)0; V_1 = 0; goto IL_0066; } IL_0020: { List_1_t302369945 * L_2 = __this->get_m_SystemInputModules_2(); int32_t L_3 = V_1; NullCheck(L_2); BaseInputModule_t3800378272 * L_4 = VirtFuncInvoker1< BaseInputModule_t3800378272 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule>::get_Item(System.Int32) */, L_2, L_3); V_2 = L_4; BaseInputModule_t3800378272 * L_5 = V_2; NullCheck(L_5); bool L_6 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.EventSystems.BaseInputModule::IsModuleSupported() */, L_5); if (!L_6) { goto IL_0062; } } { BaseInputModule_t3800378272 * L_7 = V_2; NullCheck(L_7); bool L_8 = VirtFuncInvoker0< bool >::Invoke(20 /* System.Boolean UnityEngine.EventSystems.BaseInputModule::ShouldActivateModule() */, L_7); if (!L_8) { goto IL_0062; } } { BaseInputModule_t3800378272 * L_9 = __this->get_m_CurrentInputModule_3(); BaseInputModule_t3800378272 * L_10 = V_2; bool L_11 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_9, L_10, /*hidden argument*/NULL); if (!L_11) { goto IL_005d; } } { BaseInputModule_t3800378272 * L_12 = V_2; EventSystem_ChangeEventModule_m1717769816(__this, L_12, /*hidden argument*/NULL); V_0 = (bool)1; } IL_005d: { goto IL_0077; } IL_0062: { int32_t L_13 = V_1; V_1 = ((int32_t)((int32_t)L_13+(int32_t)1)); } IL_0066: { int32_t L_14 = V_1; List_1_t302369945 * L_15 = __this->get_m_SystemInputModules_2(); NullCheck(L_15); int32_t L_16 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule>::get_Count() */, L_15); if ((((int32_t)L_14) < ((int32_t)L_16))) { goto IL_0020; } } IL_0077: { BaseInputModule_t3800378272 * L_17 = __this->get_m_CurrentInputModule_3(); bool L_18 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_17, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_18) { goto IL_00cd; } } { V_3 = 0; goto IL_00bc; } IL_008f: { List_1_t302369945 * L_19 = __this->get_m_SystemInputModules_2(); int32_t L_20 = V_3; NullCheck(L_19); BaseInputModule_t3800378272 * L_21 = VirtFuncInvoker1< BaseInputModule_t3800378272 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule>::get_Item(System.Int32) */, L_19, L_20); V_4 = L_21; BaseInputModule_t3800378272 * L_22 = V_4; NullCheck(L_22); bool L_23 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.EventSystems.BaseInputModule::IsModuleSupported() */, L_22); if (!L_23) { goto IL_00b8; } } { BaseInputModule_t3800378272 * L_24 = V_4; EventSystem_ChangeEventModule_m1717769816(__this, L_24, /*hidden argument*/NULL); V_0 = (bool)1; goto IL_00cd; } IL_00b8: { int32_t L_25 = V_3; V_3 = ((int32_t)((int32_t)L_25+(int32_t)1)); } IL_00bc: { int32_t L_26 = V_3; List_1_t302369945 * L_27 = __this->get_m_SystemInputModules_2(); NullCheck(L_27); int32_t L_28 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseInputModule>::get_Count() */, L_27); if ((((int32_t)L_26) < ((int32_t)L_28))) { goto IL_008f; } } IL_00cd: { bool L_29 = V_0; if (L_29) { goto IL_00ef; } } { BaseInputModule_t3800378272 * L_30 = __this->get_m_CurrentInputModule_3(); bool L_31 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_30, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_31) { goto IL_00ef; } } { BaseInputModule_t3800378272 * L_32 = __this->get_m_CurrentInputModule_3(); NullCheck(L_32); VirtActionInvoker0::Invoke(16 /* System.Void UnityEngine.EventSystems.BaseInputModule::Process() */, L_32); } IL_00ef: { return; } } // System.Void UnityEngine.EventSystems.EventSystem::ChangeEventModule(UnityEngine.EventSystems.BaseInputModule) extern "C" void EventSystem_ChangeEventModule_m1717769816 (EventSystem_t409518532 * __this, BaseInputModule_t3800378272 * ___module0, const MethodInfo* method) { { BaseInputModule_t3800378272 * L_0 = __this->get_m_CurrentInputModule_3(); BaseInputModule_t3800378272 * L_1 = ___module0; bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_0012; } } { return; } IL_0012: { BaseInputModule_t3800378272 * L_3 = __this->get_m_CurrentInputModule_3(); bool L_4 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_3, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_4) { goto IL_002e; } } { BaseInputModule_t3800378272 * L_5 = __this->get_m_CurrentInputModule_3(); NullCheck(L_5); VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.EventSystems.BaseInputModule::DeactivateModule() */, L_5); } IL_002e: { BaseInputModule_t3800378272 * L_6 = ___module0; bool L_7 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_6, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_7) { goto IL_0040; } } { BaseInputModule_t3800378272 * L_8 = ___module0; NullCheck(L_8); VirtActionInvoker0::Invoke(22 /* System.Void UnityEngine.EventSystems.BaseInputModule::ActivateModule() */, L_8); } IL_0040: { BaseInputModule_t3800378272 * L_9 = ___module0; __this->set_m_CurrentInputModule_3(L_9); return; } } // System.String UnityEngine.EventSystems.EventSystem::ToString() extern Il2CppClass* StringBuilder_t3822575854_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2083683798; extern Il2CppCodeGenString* _stringLiteral2492421515; extern const uint32_t EventSystem_ToString_m3844548247_MetadataUsageId; extern "C" String_t* EventSystem_ToString_m3844548247 (EventSystem_t409518532 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventSystem_ToString_m3844548247_MetadataUsageId); s_Il2CppMethodIntialized = true; } StringBuilder_t3822575854 * V_0 = NULL; StringBuilder_t3822575854 * G_B2_0 = NULL; StringBuilder_t3822575854 * G_B1_0 = NULL; String_t* G_B3_0 = NULL; StringBuilder_t3822575854 * G_B3_1 = NULL; { StringBuilder_t3822575854 * L_0 = (StringBuilder_t3822575854 *)il2cpp_codegen_object_new(StringBuilder_t3822575854_il2cpp_TypeInfo_var); StringBuilder__ctor_m135953004(L_0, /*hidden argument*/NULL); V_0 = L_0; StringBuilder_t3822575854 * L_1 = V_0; GameObject_t4012695102 * L_2 = EventSystem_get_currentSelectedGameObject_m4236083783(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_3 = String_Concat_m389863537(NULL /*static, unused*/, _stringLiteral2083683798, L_2, /*hidden argument*/NULL); NullCheck(L_1); StringBuilder_AppendLine_m655025863(L_1, L_3, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_4 = V_0; NullCheck(L_4); StringBuilder_AppendLine_m568622107(L_4, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_5 = V_0; NullCheck(L_5); StringBuilder_AppendLine_m568622107(L_5, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_6 = V_0; BaseInputModule_t3800378272 * L_7 = __this->get_m_CurrentInputModule_3(); bool L_8 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_7, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); G_B1_0 = L_6; if (!L_8) { G_B2_0 = L_6; goto IL_004d; } } { BaseInputModule_t3800378272 * L_9 = __this->get_m_CurrentInputModule_3(); NullCheck(L_9); String_t* L_10 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String UnityEngine.Object::ToString() */, L_9); G_B3_0 = L_10; G_B3_1 = G_B1_0; goto IL_0052; } IL_004d: { G_B3_0 = _stringLiteral2492421515; G_B3_1 = G_B2_0; } IL_0052: { NullCheck(G_B3_1); StringBuilder_AppendLine_m655025863(G_B3_1, G_B3_0, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_11 = V_0; NullCheck(L_11); String_t* L_12 = StringBuilder_ToString_m350379841(L_11, /*hidden argument*/NULL); return L_12; } } // System.Void UnityEngine.EventSystems.EventTrigger::.ctor() extern "C" void EventTrigger__ctor_m3410186115 (EventTrigger_t2937500249 * __this, const MethodInfo* method) { { MonoBehaviour__ctor_m2022291967(__this, /*hidden argument*/NULL); return; } } // System.Collections.Generic.List`1<UnityEngine.EventSystems.EventTrigger/Entry> UnityEngine.EventSystems.EventTrigger::get_triggers() extern Il2CppClass* List_1_t864074059_il2cpp_TypeInfo_var; extern const MethodInfo* List_1__ctor_m1265020938_MethodInfo_var; extern const uint32_t EventTrigger_get_triggers_m900961340_MetadataUsageId; extern "C" List_1_t864074059 * EventTrigger_get_triggers_m900961340 (EventTrigger_t2937500249 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventTrigger_get_triggers_m900961340_MetadataUsageId); s_Il2CppMethodIntialized = true; } { List_1_t864074059 * L_0 = __this->get_m_Delegates_2(); if (L_0) { goto IL_0016; } } { List_1_t864074059 * L_1 = (List_1_t864074059 *)il2cpp_codegen_object_new(List_1_t864074059_il2cpp_TypeInfo_var); List_1__ctor_m1265020938(L_1, /*hidden argument*/List_1__ctor_m1265020938_MethodInfo_var); __this->set_m_Delegates_2(L_1); } IL_0016: { List_1_t864074059 * L_2 = __this->get_m_Delegates_2(); return L_2; } } // System.Void UnityEngine.EventSystems.EventTrigger::set_triggers(System.Collections.Generic.List`1<UnityEngine.EventSystems.EventTrigger/Entry>) extern "C" void EventTrigger_set_triggers_m2956640203 (EventTrigger_t2937500249 * __this, List_1_t864074059 * ___value0, const MethodInfo* method) { { List_1_t864074059 * L_0 = ___value0; __this->set_m_Delegates_2(L_0); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::Execute(UnityEngine.EventSystems.EventTriggerType,UnityEngine.EventSystems.BaseEventData) extern const MethodInfo* UnityEvent_1_Invoke_m313465871_MethodInfo_var; extern const uint32_t EventTrigger_Execute_m1768335209_MetadataUsageId; extern "C" void EventTrigger_Execute_m1768335209 (EventTrigger_t2937500249 * __this, int32_t ___id0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (EventTrigger_Execute_m1768335209_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; Entry_t67115090 * V_2 = NULL; { V_0 = 0; List_1_t864074059 * L_0 = EventTrigger_get_triggers_m900961340(__this, /*hidden argument*/NULL); NullCheck(L_0); int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.EventTrigger/Entry>::get_Count() */, L_0); V_1 = L_1; goto IL_0047; } IL_0013: { List_1_t864074059 * L_2 = EventTrigger_get_triggers_m900961340(__this, /*hidden argument*/NULL); int32_t L_3 = V_0; NullCheck(L_2); Entry_t67115090 * L_4 = VirtFuncInvoker1< Entry_t67115090 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.EventTrigger/Entry>::get_Item(System.Int32) */, L_2, L_3); V_2 = L_4; Entry_t67115090 * L_5 = V_2; NullCheck(L_5); int32_t L_6 = L_5->get_eventID_0(); int32_t L_7 = ___id0; if ((!(((uint32_t)L_6) == ((uint32_t)L_7)))) { goto IL_0043; } } { Entry_t67115090 * L_8 = V_2; NullCheck(L_8); TriggerEvent_t516183010 * L_9 = L_8->get_callback_1(); if (!L_9) { goto IL_0043; } } { Entry_t67115090 * L_10 = V_2; NullCheck(L_10); TriggerEvent_t516183010 * L_11 = L_10->get_callback_1(); BaseEventData_t3547103726 * L_12 = ___eventData1; NullCheck(L_11); UnityEvent_1_Invoke_m313465871(L_11, L_12, /*hidden argument*/UnityEvent_1_Invoke_m313465871_MethodInfo_var); } IL_0043: { int32_t L_13 = V_0; V_0 = ((int32_t)((int32_t)L_13+(int32_t)1)); } IL_0047: { int32_t L_14 = V_0; int32_t L_15 = V_1; if ((((int32_t)L_14) < ((int32_t)L_15))) { goto IL_0013; } } { return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnPointerEnter(UnityEngine.EventSystems.PointerEventData) extern "C" void EventTrigger_OnPointerEnter_m3698974435 (EventTrigger_t2937500249 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, 0, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnPointerExit(UnityEngine.EventSystems.PointerEventData) extern "C" void EventTrigger_OnPointerExit_m4069405409 (EventTrigger_t2937500249 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, 1, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnDrag(UnityEngine.EventSystems.PointerEventData) extern "C" void EventTrigger_OnDrag_m621966250 (EventTrigger_t2937500249 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, 5, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnDrop(UnityEngine.EventSystems.PointerEventData) extern "C" void EventTrigger_OnDrop_m1949092623 (EventTrigger_t2937500249 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, 6, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnPointerDown(UnityEngine.EventSystems.PointerEventData) extern "C" void EventTrigger_OnPointerDown_m3676323037 (EventTrigger_t2937500249 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, 2, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnPointerUp(UnityEngine.EventSystems.PointerEventData) extern "C" void EventTrigger_OnPointerUp_m902762948 (EventTrigger_t2937500249 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, 3, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnPointerClick(UnityEngine.EventSystems.PointerEventData) extern "C" void EventTrigger_OnPointerClick_m4229222963 (EventTrigger_t2937500249 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, 4, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnSelect(UnityEngine.EventSystems.BaseEventData) extern "C" void EventTrigger_OnSelect_m3604185014 (EventTrigger_t2937500249 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { { BaseEventData_t3547103726 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, ((int32_t)9), L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnDeselect(UnityEngine.EventSystems.BaseEventData) extern "C" void EventTrigger_OnDeselect_m1138247351 (EventTrigger_t2937500249 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { { BaseEventData_t3547103726 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, ((int32_t)10), L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnScroll(UnityEngine.EventSystems.PointerEventData) extern "C" void EventTrigger_OnScroll_m2448369713 (EventTrigger_t2937500249 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, 7, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnMove(UnityEngine.EventSystems.AxisEventData) extern "C" void EventTrigger_OnMove_m4043957787 (EventTrigger_t2937500249 * __this, AxisEventData_t552897310 * ___eventData0, const MethodInfo* method) { { AxisEventData_t552897310 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, ((int32_t)11), L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnUpdateSelected(UnityEngine.EventSystems.BaseEventData) extern "C" void EventTrigger_OnUpdateSelected_m1400064574 (EventTrigger_t2937500249 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { { BaseEventData_t3547103726 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, 8, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnInitializePotentialDrag(UnityEngine.EventSystems.PointerEventData) extern "C" void EventTrigger_OnInitializePotentialDrag_m802339386 (EventTrigger_t2937500249 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, ((int32_t)12), L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnBeginDrag(UnityEngine.EventSystems.PointerEventData) extern "C" void EventTrigger_OnBeginDrag_m356440287 (EventTrigger_t2937500249 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, ((int32_t)13), L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnEndDrag(UnityEngine.EventSystems.PointerEventData) extern "C" void EventTrigger_OnEndDrag_m168497709 (EventTrigger_t2937500249 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, ((int32_t)14), L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnSubmit(UnityEngine.EventSystems.BaseEventData) extern "C" void EventTrigger_OnSubmit_m974012114 (EventTrigger_t2937500249 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { { BaseEventData_t3547103726 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, ((int32_t)15), L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger::OnCancel(UnityEngine.EventSystems.BaseEventData) extern "C" void EventTrigger_OnCancel_m972464948 (EventTrigger_t2937500249 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { { BaseEventData_t3547103726 * L_0 = ___eventData0; EventTrigger_Execute_m1768335209(__this, ((int32_t)16), L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger/Entry::.ctor() extern Il2CppClass* TriggerEvent_t516183010_il2cpp_TypeInfo_var; extern const uint32_t Entry__ctor_m515618144_MetadataUsageId; extern "C" void Entry__ctor_m515618144 (Entry_t67115090 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Entry__ctor_m515618144_MetadataUsageId); s_Il2CppMethodIntialized = true; } { __this->set_eventID_0(4); TriggerEvent_t516183010 * L_0 = (TriggerEvent_t516183010 *)il2cpp_codegen_object_new(TriggerEvent_t516183010_il2cpp_TypeInfo_var); TriggerEvent__ctor_m1729711890(L_0, /*hidden argument*/NULL); __this->set_callback_1(L_0); Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.EventTrigger/TriggerEvent::.ctor() extern const MethodInfo* UnityEvent_1__ctor_m2675961630_MethodInfo_var; extern const uint32_t TriggerEvent__ctor_m1729711890_MetadataUsageId; extern "C" void TriggerEvent__ctor_m1729711890 (TriggerEvent_t516183010 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (TriggerEvent__ctor_m1729711890_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UnityEvent_1__ctor_m2675961630(__this, /*hidden argument*/UnityEvent_1__ctor_m2675961630_MethodInfo_var); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::.cctor() extern Il2CppClass* EventFunction_1_t176292337_il2cpp_TypeInfo_var; extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t2213608131_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t82727615_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t899770790_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t1383882049_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t3970808732_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t3715113537_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t1898775608_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t1032774927_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t869640733_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t1082383039_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t1867257896_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t1347291568_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t97608975_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t708164347_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t375359252_il2cpp_TypeInfo_var; extern Il2CppClass* EventFunction_1_t1947010674_il2cpp_TypeInfo_var; extern Il2CppClass* UnityAction_1_t1896678031_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectPool_1_t4033705008_il2cpp_TypeInfo_var; extern Il2CppClass* List_1_t1081512082_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m3788527851_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m199577702_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m2062412449_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m3696027478_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m1462933149_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m100408538_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m225834756_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m3270752915_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m153166907_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m3752380182_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m3770536826_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m2025683101_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m2468788383_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m3514619608_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m1192678962_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m3584048511_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m1674228205_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m2961050890_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m1220342551_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m1775293114_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m1271506489_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m4031023000_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m3050600610_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m1445013711_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m1947619370_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m1302629191_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m279235849_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m671213448_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m1420971509_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m2128516252_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m951556494_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m150101091_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_m3179930348_MethodInfo_var; extern const MethodInfo* EventFunction_1__ctor_m1533919173_MethodInfo_var; extern const MethodInfo* ExecuteEvents_U3Cs_HandlerListPoolU3Em__0_m1727672693_MethodInfo_var; extern const MethodInfo* UnityAction_1__ctor_m1484676941_MethodInfo_var; extern const MethodInfo* ObjectPool_1__ctor_m865653406_MethodInfo_var; extern const MethodInfo* List_1__ctor_m3277986146_MethodInfo_var; extern const uint32_t ExecuteEvents__cctor_m2728541814_MetadataUsageId; extern "C" void ExecuteEvents__cctor_m2728541814 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents__cctor_m2728541814_MetadataUsageId); s_Il2CppMethodIntialized = true; } Il2CppObject * G_B2_0 = NULL; Il2CppObject * G_B1_0 = NULL; { IntPtr_t L_0; L_0.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m3788527851_MethodInfo_var); EventFunction_1_t176292337 * L_1 = (EventFunction_1_t176292337 *)il2cpp_codegen_object_new(EventFunction_1_t176292337_il2cpp_TypeInfo_var); EventFunction_1__ctor_m199577702(L_1, NULL, L_0, /*hidden argument*/EventFunction_1__ctor_m199577702_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_PointerEnterHandler_0(L_1); IntPtr_t L_2; L_2.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m2062412449_MethodInfo_var); EventFunction_1_t2213608131 * L_3 = (EventFunction_1_t2213608131 *)il2cpp_codegen_object_new(EventFunction_1_t2213608131_il2cpp_TypeInfo_var); EventFunction_1__ctor_m3696027478(L_3, NULL, L_2, /*hidden argument*/EventFunction_1__ctor_m3696027478_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_PointerExitHandler_1(L_3); IntPtr_t L_4; L_4.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m1462933149_MethodInfo_var); EventFunction_1_t82727615 * L_5 = (EventFunction_1_t82727615 *)il2cpp_codegen_object_new(EventFunction_1_t82727615_il2cpp_TypeInfo_var); EventFunction_1__ctor_m100408538(L_5, NULL, L_4, /*hidden argument*/EventFunction_1__ctor_m100408538_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_PointerDownHandler_2(L_5); IntPtr_t L_6; L_6.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m225834756_MethodInfo_var); EventFunction_1_t899770790 * L_7 = (EventFunction_1_t899770790 *)il2cpp_codegen_object_new(EventFunction_1_t899770790_il2cpp_TypeInfo_var); EventFunction_1__ctor_m3270752915(L_7, NULL, L_6, /*hidden argument*/EventFunction_1__ctor_m3270752915_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_PointerUpHandler_3(L_7); IntPtr_t L_8; L_8.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m153166907_MethodInfo_var); EventFunction_1_t1383882049 * L_9 = (EventFunction_1_t1383882049 *)il2cpp_codegen_object_new(EventFunction_1_t1383882049_il2cpp_TypeInfo_var); EventFunction_1__ctor_m3752380182(L_9, NULL, L_8, /*hidden argument*/EventFunction_1__ctor_m3752380182_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_PointerClickHandler_4(L_9); IntPtr_t L_10; L_10.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m3770536826_MethodInfo_var); EventFunction_1_t3970808732 * L_11 = (EventFunction_1_t3970808732 *)il2cpp_codegen_object_new(EventFunction_1_t3970808732_il2cpp_TypeInfo_var); EventFunction_1__ctor_m2025683101(L_11, NULL, L_10, /*hidden argument*/EventFunction_1__ctor_m2025683101_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_InitializePotentialDragHandler_5(L_11); IntPtr_t L_12; L_12.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m2468788383_MethodInfo_var); EventFunction_1_t3715113537 * L_13 = (EventFunction_1_t3715113537 *)il2cpp_codegen_object_new(EventFunction_1_t3715113537_il2cpp_TypeInfo_var); EventFunction_1__ctor_m3514619608(L_13, NULL, L_12, /*hidden argument*/EventFunction_1__ctor_m3514619608_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_BeginDragHandler_6(L_13); IntPtr_t L_14; L_14.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m1192678962_MethodInfo_var); EventFunction_1_t1898775608 * L_15 = (EventFunction_1_t1898775608 *)il2cpp_codegen_object_new(EventFunction_1_t1898775608_il2cpp_TypeInfo_var); EventFunction_1__ctor_m3584048511(L_15, NULL, L_14, /*hidden argument*/EventFunction_1__ctor_m3584048511_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_DragHandler_7(L_15); IntPtr_t L_16; L_16.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m1674228205_MethodInfo_var); EventFunction_1_t1032774927 * L_17 = (EventFunction_1_t1032774927 *)il2cpp_codegen_object_new(EventFunction_1_t1032774927_il2cpp_TypeInfo_var); EventFunction_1__ctor_m2961050890(L_17, NULL, L_16, /*hidden argument*/EventFunction_1__ctor_m2961050890_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_EndDragHandler_8(L_17); IntPtr_t L_18; L_18.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m1220342551_MethodInfo_var); EventFunction_1_t869640733 * L_19 = (EventFunction_1_t869640733 *)il2cpp_codegen_object_new(EventFunction_1_t869640733_il2cpp_TypeInfo_var); EventFunction_1__ctor_m1775293114(L_19, NULL, L_18, /*hidden argument*/EventFunction_1__ctor_m1775293114_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_DropHandler_9(L_19); IntPtr_t L_20; L_20.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m1271506489_MethodInfo_var); EventFunction_1_t1082383039 * L_21 = (EventFunction_1_t1082383039 *)il2cpp_codegen_object_new(EventFunction_1_t1082383039_il2cpp_TypeInfo_var); EventFunction_1__ctor_m4031023000(L_21, NULL, L_20, /*hidden argument*/EventFunction_1__ctor_m4031023000_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_ScrollHandler_10(L_21); IntPtr_t L_22; L_22.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m3050600610_MethodInfo_var); EventFunction_1_t1867257896 * L_23 = (EventFunction_1_t1867257896 *)il2cpp_codegen_object_new(EventFunction_1_t1867257896_il2cpp_TypeInfo_var); EventFunction_1__ctor_m1445013711(L_23, NULL, L_22, /*hidden argument*/EventFunction_1__ctor_m1445013711_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_UpdateSelectedHandler_11(L_23); IntPtr_t L_24; L_24.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m1947619370_MethodInfo_var); EventFunction_1_t1347291568 * L_25 = (EventFunction_1_t1347291568 *)il2cpp_codegen_object_new(EventFunction_1_t1347291568_il2cpp_TypeInfo_var); EventFunction_1__ctor_m1302629191(L_25, NULL, L_24, /*hidden argument*/EventFunction_1__ctor_m1302629191_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_SelectHandler_12(L_25); IntPtr_t L_26; L_26.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m279235849_MethodInfo_var); EventFunction_1_t97608975 * L_27 = (EventFunction_1_t97608975 *)il2cpp_codegen_object_new(EventFunction_1_t97608975_il2cpp_TypeInfo_var); EventFunction_1__ctor_m671213448(L_27, NULL, L_26, /*hidden argument*/EventFunction_1__ctor_m671213448_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_DeselectHandler_13(L_27); IntPtr_t L_28; L_28.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m1420971509_MethodInfo_var); EventFunction_1_t708164347 * L_29 = (EventFunction_1_t708164347 *)il2cpp_codegen_object_new(EventFunction_1_t708164347_il2cpp_TypeInfo_var); EventFunction_1__ctor_m2128516252(L_29, NULL, L_28, /*hidden argument*/EventFunction_1__ctor_m2128516252_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_MoveHandler_14(L_29); IntPtr_t L_30; L_30.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m951556494_MethodInfo_var); EventFunction_1_t375359252 * L_31 = (EventFunction_1_t375359252 *)il2cpp_codegen_object_new(EventFunction_1_t375359252_il2cpp_TypeInfo_var); EventFunction_1__ctor_m150101091(L_31, NULL, L_30, /*hidden argument*/EventFunction_1__ctor_m150101091_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_SubmitHandler_15(L_31); IntPtr_t L_32; L_32.set_m_value_0((void*)(void*)ExecuteEvents_Execute_m3179930348_MethodInfo_var); EventFunction_1_t1947010674 * L_33 = (EventFunction_1_t1947010674 *)il2cpp_codegen_object_new(EventFunction_1_t1947010674_il2cpp_TypeInfo_var); EventFunction_1__ctor_m1533919173(L_33, NULL, L_32, /*hidden argument*/EventFunction_1__ctor_m1533919173_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_CancelHandler_16(L_33); UnityAction_1_t1896678031 * L_34 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache13_19(); G_B1_0 = NULL; if (L_34) { G_B2_0 = NULL; goto IL_013a; } } { IntPtr_t L_35; L_35.set_m_value_0((void*)(void*)ExecuteEvents_U3Cs_HandlerListPoolU3Em__0_m1727672693_MethodInfo_var); UnityAction_1_t1896678031 * L_36 = (UnityAction_1_t1896678031 *)il2cpp_codegen_object_new(UnityAction_1_t1896678031_il2cpp_TypeInfo_var); UnityAction_1__ctor_m1484676941(L_36, NULL, L_35, /*hidden argument*/UnityAction_1__ctor_m1484676941_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache13_19(L_36); G_B2_0 = G_B1_0; } IL_013a: { UnityAction_1_t1896678031 * L_37 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache13_19(); ObjectPool_1_t4033705008 * L_38 = (ObjectPool_1_t4033705008 *)il2cpp_codegen_object_new(ObjectPool_1_t4033705008_il2cpp_TypeInfo_var); ObjectPool_1__ctor_m865653406(L_38, (UnityAction_1_t1896678031 *)G_B2_0, L_37, /*hidden argument*/ObjectPool_1__ctor_m865653406_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_HandlerListPool_17(L_38); List_1_t1081512082 * L_39 = (List_1_t1081512082 *)il2cpp_codegen_object_new(List_1_t1081512082_il2cpp_TypeInfo_var); List_1__ctor_m3277986146(L_39, ((int32_t)30), /*hidden argument*/List_1__ctor_m3277986146_MethodInfo_var); ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->set_s_InternalTransformList_18(L_39); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IPointerEnterHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* IPointerEnterHandler_t1422995873_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var; extern const uint32_t ExecuteEvents_Execute_m3788527851_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m3788527851 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m3788527851_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); PointerEventData_t3205101634 * L_2 = ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var); NullCheck(L_0); InterfaceActionInvoker1< PointerEventData_t3205101634 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IPointerEnterHandler::OnPointerEnter(UnityEngine.EventSystems.PointerEventData) */, IPointerEnterHandler_t1422995873_il2cpp_TypeInfo_var, L_0, L_2); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IPointerExitHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* IPointerExitHandler_t3460311667_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var; extern const uint32_t ExecuteEvents_Execute_m2062412449_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m2062412449 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m2062412449_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); PointerEventData_t3205101634 * L_2 = ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var); NullCheck(L_0); InterfaceActionInvoker1< PointerEventData_t3205101634 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IPointerExitHandler::OnPointerExit(UnityEngine.EventSystems.PointerEventData) */, IPointerExitHandler_t3460311667_il2cpp_TypeInfo_var, L_0, L_2); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IPointerDownHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* IPointerDownHandler_t1329431151_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var; extern const uint32_t ExecuteEvents_Execute_m1462933149_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m1462933149 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m1462933149_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); PointerEventData_t3205101634 * L_2 = ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var); NullCheck(L_0); InterfaceActionInvoker1< PointerEventData_t3205101634 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IPointerDownHandler::OnPointerDown(UnityEngine.EventSystems.PointerEventData) */, IPointerDownHandler_t1329431151_il2cpp_TypeInfo_var, L_0, L_2); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IPointerUpHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* IPointerUpHandler_t2146474326_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var; extern const uint32_t ExecuteEvents_Execute_m225834756_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m225834756 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m225834756_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); PointerEventData_t3205101634 * L_2 = ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var); NullCheck(L_0); InterfaceActionInvoker1< PointerEventData_t3205101634 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IPointerUpHandler::OnPointerUp(UnityEngine.EventSystems.PointerEventData) */, IPointerUpHandler_t2146474326_il2cpp_TypeInfo_var, L_0, L_2); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IPointerClickHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* IPointerClickHandler_t2630585585_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var; extern const uint32_t ExecuteEvents_Execute_m153166907_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m153166907 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m153166907_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); PointerEventData_t3205101634 * L_2 = ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var); NullCheck(L_0); InterfaceActionInvoker1< PointerEventData_t3205101634 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IPointerClickHandler::OnPointerClick(UnityEngine.EventSystems.PointerEventData) */, IPointerClickHandler_t2630585585_il2cpp_TypeInfo_var, L_0, L_2); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IInitializePotentialDragHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* IInitializePotentialDragHandler_t922544972_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var; extern const uint32_t ExecuteEvents_Execute_m3770536826_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m3770536826 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m3770536826_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); PointerEventData_t3205101634 * L_2 = ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var); NullCheck(L_0); InterfaceActionInvoker1< PointerEventData_t3205101634 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IInitializePotentialDragHandler::OnInitializePotentialDrag(UnityEngine.EventSystems.PointerEventData) */, IInitializePotentialDragHandler_t922544972_il2cpp_TypeInfo_var, L_0, L_2); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IBeginDragHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* IBeginDragHandler_t666849777_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var; extern const uint32_t ExecuteEvents_Execute_m2468788383_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m2468788383 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m2468788383_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); PointerEventData_t3205101634 * L_2 = ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var); NullCheck(L_0); InterfaceActionInvoker1< PointerEventData_t3205101634 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IBeginDragHandler::OnBeginDrag(UnityEngine.EventSystems.PointerEventData) */, IBeginDragHandler_t666849777_il2cpp_TypeInfo_var, L_0, L_2); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IDragHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* IDragHandler_t3145479144_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var; extern const uint32_t ExecuteEvents_Execute_m1192678962_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m1192678962 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m1192678962_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); PointerEventData_t3205101634 * L_2 = ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var); NullCheck(L_0); InterfaceActionInvoker1< PointerEventData_t3205101634 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IDragHandler::OnDrag(UnityEngine.EventSystems.PointerEventData) */, IDragHandler_t3145479144_il2cpp_TypeInfo_var, L_0, L_2); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IEndDragHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* IEndDragHandler_t2279478463_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var; extern const uint32_t ExecuteEvents_Execute_m1674228205_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m1674228205 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m1674228205_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); PointerEventData_t3205101634 * L_2 = ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var); NullCheck(L_0); InterfaceActionInvoker1< PointerEventData_t3205101634 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IEndDragHandler::OnEndDrag(UnityEngine.EventSystems.PointerEventData) */, IEndDragHandler_t2279478463_il2cpp_TypeInfo_var, L_0, L_2); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IDropHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* IDropHandler_t2116344269_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var; extern const uint32_t ExecuteEvents_Execute_m1220342551_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m1220342551 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m1220342551_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); PointerEventData_t3205101634 * L_2 = ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var); NullCheck(L_0); InterfaceActionInvoker1< PointerEventData_t3205101634 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IDropHandler::OnDrop(UnityEngine.EventSystems.PointerEventData) */, IDropHandler_t2116344269_il2cpp_TypeInfo_var, L_0, L_2); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IScrollHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* IScrollHandler_t2329086575_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var; extern const uint32_t ExecuteEvents_Execute_m1271506489_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m1271506489 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m1271506489_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); PointerEventData_t3205101634 * L_2 = ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisPointerEventData_t3205101634_m3845113090_MethodInfo_var); NullCheck(L_0); InterfaceActionInvoker1< PointerEventData_t3205101634 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IScrollHandler::OnScroll(UnityEngine.EventSystems.PointerEventData) */, IScrollHandler_t2329086575_il2cpp_TypeInfo_var, L_0, L_2); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IUpdateSelectedHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* IUpdateSelectedHandler_t3113961432_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_Execute_m3050600610_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m3050600610 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m3050600610_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; NullCheck(L_0); InterfaceActionInvoker1< BaseEventData_t3547103726 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IUpdateSelectedHandler::OnUpdateSelected(UnityEngine.EventSystems.BaseEventData) */, IUpdateSelectedHandler_t3113961432_il2cpp_TypeInfo_var, L_0, L_1); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.ISelectHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ISelectHandler_t2593995104_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_Execute_m1947619370_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m1947619370 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m1947619370_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; NullCheck(L_0); InterfaceActionInvoker1< BaseEventData_t3547103726 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.ISelectHandler::OnSelect(UnityEngine.EventSystems.BaseEventData) */, ISelectHandler_t2593995104_il2cpp_TypeInfo_var, L_0, L_1); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IDeselectHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* IDeselectHandler_t1344312511_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_Execute_m279235849_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m279235849 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m279235849_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; NullCheck(L_0); InterfaceActionInvoker1< BaseEventData_t3547103726 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IDeselectHandler::OnDeselect(UnityEngine.EventSystems.BaseEventData) */, IDeselectHandler_t1344312511_il2cpp_TypeInfo_var, L_0, L_1); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.IMoveHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern Il2CppClass* IMoveHandler_t1954867883_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ValidateEventData_TisAxisEventData_t552897310_m3402980230_MethodInfo_var; extern const uint32_t ExecuteEvents_Execute_m1420971509_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m1420971509 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m1420971509_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); AxisEventData_t552897310 * L_2 = ExecuteEvents_ValidateEventData_TisAxisEventData_t552897310_m3402980230(NULL /*static, unused*/, L_1, /*hidden argument*/ExecuteEvents_ValidateEventData_TisAxisEventData_t552897310_m3402980230_MethodInfo_var); NullCheck(L_0); InterfaceActionInvoker1< AxisEventData_t552897310 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.IMoveHandler::OnMove(UnityEngine.EventSystems.AxisEventData) */, IMoveHandler_t1954867883_il2cpp_TypeInfo_var, L_0, L_2); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.ISubmitHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ISubmitHandler_t1622062788_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_Execute_m951556494_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m951556494 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m951556494_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; NullCheck(L_0); InterfaceActionInvoker1< BaseEventData_t3547103726 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.ISubmitHandler::OnSubmit(UnityEngine.EventSystems.BaseEventData) */, ISubmitHandler_t1622062788_il2cpp_TypeInfo_var, L_0, L_1); return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::Execute(UnityEngine.EventSystems.ICancelHandler,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ICancelHandler_t3193714210_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_Execute_m3179930348_MetadataUsageId; extern "C" void ExecuteEvents_Execute_m3179930348 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___handler0, BaseEventData_t3547103726 * ___eventData1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_Execute_m3179930348_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___handler0; BaseEventData_t3547103726 * L_1 = ___eventData1; NullCheck(L_0); InterfaceActionInvoker1< BaseEventData_t3547103726 * >::Invoke(0 /* System.Void UnityEngine.EventSystems.ICancelHandler::OnCancel(UnityEngine.EventSystems.BaseEventData) */, ICancelHandler_t3193714210_il2cpp_TypeInfo_var, L_0, L_1); return; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IPointerEnterHandler> UnityEngine.EventSystems.ExecuteEvents::get_pointerEnterHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_pointerEnterHandler_m2954525018_MetadataUsageId; extern "C" EventFunction_1_t176292337 * ExecuteEvents_get_pointerEnterHandler_m2954525018 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_pointerEnterHandler_m2954525018_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t176292337 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_PointerEnterHandler_0(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IPointerExitHandler> UnityEngine.EventSystems.ExecuteEvents::get_pointerExitHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_pointerExitHandler_m509229616_MetadataUsageId; extern "C" EventFunction_1_t2213608131 * ExecuteEvents_get_pointerExitHandler_m509229616 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_pointerExitHandler_m509229616_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t2213608131 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_PointerExitHandler_1(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IPointerDownHandler> UnityEngine.EventSystems.ExecuteEvents::get_pointerDownHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_pointerDownHandler_m916646952_MetadataUsageId; extern "C" EventFunction_1_t82727615 * ExecuteEvents_get_pointerDownHandler_m916646952 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_pointerDownHandler_m916646952_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t82727615 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_PointerDownHandler_2(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IPointerUpHandler> UnityEngine.EventSystems.ExecuteEvents::get_pointerUpHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_pointerUpHandler_m1834169334_MetadataUsageId; extern "C" EventFunction_1_t899770790 * ExecuteEvents_get_pointerUpHandler_m1834169334 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_pointerUpHandler_m1834169334_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t899770790 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_PointerUpHandler_3(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IPointerClickHandler> UnityEngine.EventSystems.ExecuteEvents::get_pointerClickHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_pointerClickHandler_m2881872730_MetadataUsageId; extern "C" EventFunction_1_t1383882049 * ExecuteEvents_get_pointerClickHandler_m2881872730 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_pointerClickHandler_m2881872730_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1383882049 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_PointerClickHandler_4(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IInitializePotentialDragHandler> UnityEngine.EventSystems.ExecuteEvents::get_initializePotentialDrag() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_initializePotentialDrag_m3514083626_MetadataUsageId; extern "C" EventFunction_1_t3970808732 * ExecuteEvents_get_initializePotentialDrag_m3514083626 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_initializePotentialDrag_m3514083626_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t3970808732 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_InitializePotentialDragHandler_5(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IBeginDragHandler> UnityEngine.EventSystems.ExecuteEvents::get_beginDragHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_beginDragHandler_m1163039340_MetadataUsageId; extern "C" EventFunction_1_t3715113537 * ExecuteEvents_get_beginDragHandler_m1163039340 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_beginDragHandler_m1163039340_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t3715113537 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_BeginDragHandler_6(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IDragHandler> UnityEngine.EventSystems.ExecuteEvents::get_dragHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_dragHandler_m1884359226_MetadataUsageId; extern "C" EventFunction_1_t1898775608 * ExecuteEvents_get_dragHandler_m1884359226 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_dragHandler_m1884359226_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1898775608 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_DragHandler_7(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IEndDragHandler> UnityEngine.EventSystems.ExecuteEvents::get_endDragHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_endDragHandler_m811393096_MetadataUsageId; extern "C" EventFunction_1_t1032774927 * ExecuteEvents_get_endDragHandler_m811393096 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_endDragHandler_m811393096_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1032774927 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_EndDragHandler_8(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IDropHandler> UnityEngine.EventSystems.ExecuteEvents::get_dropHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_dropHandler_m1933111770_MetadataUsageId; extern "C" EventFunction_1_t869640733 * ExecuteEvents_get_dropHandler_m1933111770 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_dropHandler_m1933111770_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t869640733 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_DropHandler_9(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IScrollHandler> UnityEngine.EventSystems.ExecuteEvents::get_scrollHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_scrollHandler_m62853082_MetadataUsageId; extern "C" EventFunction_1_t1082383039 * ExecuteEvents_get_scrollHandler_m62853082 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_scrollHandler_m62853082_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1082383039 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_ScrollHandler_10(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IUpdateSelectedHandler> UnityEngine.EventSystems.ExecuteEvents::get_updateSelectedHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_updateSelectedHandler_m2735401530_MetadataUsageId; extern "C" EventFunction_1_t1867257896 * ExecuteEvents_get_updateSelectedHandler_m2735401530 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_updateSelectedHandler_m2735401530_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1867257896 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_UpdateSelectedHandler_11(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.ISelectHandler> UnityEngine.EventSystems.ExecuteEvents::get_selectHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_selectHandler_m1963257146_MetadataUsageId; extern "C" EventFunction_1_t1347291568 * ExecuteEvents_get_selectHandler_m1963257146 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_selectHandler_m1963257146_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1347291568 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_SelectHandler_12(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IDeselectHandler> UnityEngine.EventSystems.ExecuteEvents::get_deselectHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_deselectHandler_m2539146650_MetadataUsageId; extern "C" EventFunction_1_t97608975 * ExecuteEvents_get_deselectHandler_m2539146650 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_deselectHandler_m2539146650_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t97608975 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_DeselectHandler_13(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.IMoveHandler> UnityEngine.EventSystems.ExecuteEvents::get_moveHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_moveHandler_m1400410010_MetadataUsageId; extern "C" EventFunction_1_t708164347 * ExecuteEvents_get_moveHandler_m1400410010 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_moveHandler_m1400410010_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t708164347 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_MoveHandler_14(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.ISubmitHandler> UnityEngine.EventSystems.ExecuteEvents::get_submitHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_submitHandler_m3307200186_MetadataUsageId; extern "C" EventFunction_1_t375359252 * ExecuteEvents_get_submitHandler_m3307200186 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_submitHandler_m3307200186_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t375359252 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_SubmitHandler_15(); return L_0; } } // UnityEngine.EventSystems.ExecuteEvents/EventFunction`1<UnityEngine.EventSystems.ICancelHandler> UnityEngine.EventSystems.ExecuteEvents::get_cancelHandler() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_get_cancelHandler_m120249338_MetadataUsageId; extern "C" EventFunction_1_t1947010674 * ExecuteEvents_get_cancelHandler_m120249338 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_get_cancelHandler_m120249338_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1947010674 * L_0 = ((ExecuteEvents_t4196265289_StaticFields*)ExecuteEvents_t4196265289_il2cpp_TypeInfo_var->static_fields)->get_s_CancelHandler_16(); return L_0; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::GetEventChain(UnityEngine.GameObject,System.Collections.Generic.IList`1<UnityEngine.Transform>) extern Il2CppClass* ICollection_1_t750384499_il2cpp_TypeInfo_var; extern const uint32_t ExecuteEvents_GetEventChain_m1321751930_MetadataUsageId; extern "C" void ExecuteEvents_GetEventChain_m1321751930 (Il2CppObject * __this /* static, unused */, GameObject_t4012695102 * ___root0, Il2CppObject* ___eventChain1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ExecuteEvents_GetEventChain_m1321751930_MetadataUsageId); s_Il2CppMethodIntialized = true; } Transform_t284553113 * V_0 = NULL; { Il2CppObject* L_0 = ___eventChain1; NullCheck(L_0); InterfaceActionInvoker0::Invoke(3 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.Transform>::Clear() */, ICollection_1_t750384499_il2cpp_TypeInfo_var, L_0); GameObject_t4012695102 * L_1 = ___root0; bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_1, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_0013; } } { return; } IL_0013: { GameObject_t4012695102 * L_3 = ___root0; NullCheck(L_3); Transform_t284553113 * L_4 = GameObject_get_transform_m1278640159(L_3, /*hidden argument*/NULL); V_0 = L_4; goto IL_002d; } IL_001f: { Il2CppObject* L_5 = ___eventChain1; Transform_t284553113 * L_6 = V_0; NullCheck(L_5); InterfaceActionInvoker1< Transform_t284553113 * >::Invoke(2 /* System.Void System.Collections.Generic.ICollection`1<UnityEngine.Transform>::Add(!0) */, ICollection_1_t750384499_il2cpp_TypeInfo_var, L_5, L_6); Transform_t284553113 * L_7 = V_0; NullCheck(L_7); Transform_t284553113 * L_8 = Transform_get_parent_m2236876972(L_7, /*hidden argument*/NULL); V_0 = L_8; } IL_002d: { Transform_t284553113 * L_9 = V_0; bool L_10 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_9, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_10) { goto IL_001f; } } { return; } } // System.Void UnityEngine.EventSystems.ExecuteEvents::<s_HandlerListPool>m__0(System.Collections.Generic.List`1<UnityEngine.EventSystems.IEventSystemHandler>) extern "C" void ExecuteEvents_U3Cs_HandlerListPoolU3Em__0_m1727672693 (Il2CppObject * __this /* static, unused */, List_1_t1916216126 * ___l0, const MethodInfo* method) { { List_1_t1916216126 * L_0 = ___l0; NullCheck(L_0); VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.IEventSystemHandler>::Clear() */, L_0); return; } } // System.Void UnityEngine.EventSystems.Physics2DRaycaster::.ctor() extern "C" void Physics2DRaycaster__ctor_m3212916644 (Physics2DRaycaster_t3013235352 * __this, const MethodInfo* method) { { PhysicsRaycaster__ctor_m4288212754(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.Physics2DRaycaster::Raycast(UnityEngine.EventSystems.PointerEventData,System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>) extern Il2CppClass* Physics2D_t2930244358_il2cpp_TypeInfo_var; extern Il2CppClass* RaycastResult_t959898689_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_GetComponent_TisSpriteRenderer_t2223784725_m3588502113_MethodInfo_var; extern const uint32_t Physics2DRaycaster_Raycast_m4133606104_MetadataUsageId; extern "C" void Physics2DRaycaster_Raycast_m4133606104 (Physics2DRaycaster_t3013235352 * __this, PointerEventData_t3205101634 * ___eventData0, List_1_t1756857658 * ___resultAppendList1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Physics2DRaycaster_Raycast_m4133606104_MetadataUsageId); s_Il2CppMethodIntialized = true; } Ray_t1522967639 V_0; memset(&V_0, 0, sizeof(V_0)); float V_1 = 0.0f; RaycastHit2DU5BU5D_t2162384532* V_2 = NULL; int32_t V_3 = 0; int32_t V_4 = 0; SpriteRenderer_t2223784725 * V_5 = NULL; RaycastResult_t959898689 V_6; memset(&V_6, 0, sizeof(V_6)); RaycastResult_t959898689 V_7; memset(&V_7, 0, sizeof(V_7)); RaycastResult_t959898689 * G_B6_0 = NULL; RaycastResult_t959898689 * G_B5_0 = NULL; int32_t G_B7_0 = 0; RaycastResult_t959898689 * G_B7_1 = NULL; RaycastResult_t959898689 * G_B9_0 = NULL; RaycastResult_t959898689 * G_B8_0 = NULL; int32_t G_B10_0 = 0; RaycastResult_t959898689 * G_B10_1 = NULL; { Camera_t3533968274 * L_0 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0012; } } { return; } IL_0012: { Camera_t3533968274 * L_2 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); PointerEventData_t3205101634 * L_3 = ___eventData0; NullCheck(L_3); Vector2_t3525329788 L_4 = PointerEventData_get_position_m2263123361(L_3, /*hidden argument*/NULL); Vector3_t3525329789 L_5 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); NullCheck(L_2); Ray_t1522967639 L_6 = Camera_ScreenPointToRay_m1733083890(L_2, L_5, /*hidden argument*/NULL); V_0 = L_6; Camera_t3533968274 * L_7 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); NullCheck(L_7); float L_8 = Camera_get_farClipPlane_m388706726(L_7, /*hidden argument*/NULL); Camera_t3533968274 * L_9 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); NullCheck(L_9); float L_10 = Camera_get_nearClipPlane_m4074655061(L_9, /*hidden argument*/NULL); V_1 = ((float)((float)L_8-(float)L_10)); Ray_t1522967639 L_11 = V_0; float L_12 = V_1; int32_t L_13 = PhysicsRaycaster_get_finalEventMask_m2246936003(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t2930244358_il2cpp_TypeInfo_var); RaycastHit2DU5BU5D_t2162384532* L_14 = Physics2D_GetRayIntersectionAll_m2520210479(NULL /*static, unused*/, L_11, L_12, L_13, /*hidden argument*/NULL); V_2 = L_14; RaycastHit2DU5BU5D_t2162384532* L_15 = V_2; NullCheck(L_15); if (!(((int32_t)((int32_t)(((Il2CppArray *)L_15)->max_length))))) { goto IL_0179; } } { V_3 = 0; RaycastHit2DU5BU5D_t2162384532* L_16 = V_2; NullCheck(L_16); V_4 = (((int32_t)((int32_t)(((Il2CppArray *)L_16)->max_length)))); goto IL_0171; } IL_0063: { RaycastHit2DU5BU5D_t2162384532* L_17 = V_2; int32_t L_18 = V_3; NullCheck(L_17); IL2CPP_ARRAY_BOUNDS_CHECK(L_17, L_18); Collider2D_t1890038195 * L_19 = RaycastHit2D_get_collider_m789902306(((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_18))), /*hidden argument*/NULL); NullCheck(L_19); GameObject_t4012695102 * L_20 = Component_get_gameObject_m1170635899(L_19, /*hidden argument*/NULL); NullCheck(L_20); SpriteRenderer_t2223784725 * L_21 = GameObject_GetComponent_TisSpriteRenderer_t2223784725_m3588502113(L_20, /*hidden argument*/GameObject_GetComponent_TisSpriteRenderer_t2223784725_m3588502113_MethodInfo_var); V_5 = L_21; Initobj (RaycastResult_t959898689_il2cpp_TypeInfo_var, (&V_6)); RaycastResult_t959898689 L_22 = V_6; V_7 = L_22; RaycastHit2DU5BU5D_t2162384532* L_23 = V_2; int32_t L_24 = V_3; NullCheck(L_23); IL2CPP_ARRAY_BOUNDS_CHECK(L_23, L_24); Collider2D_t1890038195 * L_25 = RaycastHit2D_get_collider_m789902306(((L_23)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_24))), /*hidden argument*/NULL); NullCheck(L_25); GameObject_t4012695102 * L_26 = Component_get_gameObject_m1170635899(L_25, /*hidden argument*/NULL); RaycastResult_set_gameObject_m726369707((&V_7), L_26, /*hidden argument*/NULL); (&V_7)->set_module_1(__this); Camera_t3533968274 * L_27 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); NullCheck(L_27); Transform_t284553113 * L_28 = Component_get_transform_m4257140443(L_27, /*hidden argument*/NULL); NullCheck(L_28); Vector3_t3525329789 L_29 = Transform_get_position_m2211398607(L_28, /*hidden argument*/NULL); RaycastHit2DU5BU5D_t2162384532* L_30 = V_2; int32_t L_31 = V_3; NullCheck(L_30); IL2CPP_ARRAY_BOUNDS_CHECK(L_30, L_31); Transform_t284553113 * L_32 = RaycastHit2D_get_transform_m1318597140(((L_30)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_31))), /*hidden argument*/NULL); NullCheck(L_32); Vector3_t3525329789 L_33 = Transform_get_position_m2211398607(L_32, /*hidden argument*/NULL); float L_34 = Vector3_Distance_m3366690344(NULL /*static, unused*/, L_29, L_33, /*hidden argument*/NULL); (&V_7)->set_distance_2(L_34); RaycastHit2DU5BU5D_t2162384532* L_35 = V_2; int32_t L_36 = V_3; NullCheck(L_35); IL2CPP_ARRAY_BOUNDS_CHECK(L_35, L_36); Vector2_t3525329788 L_37 = RaycastHit2D_get_point_m2072691227(((L_35)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_36))), /*hidden argument*/NULL); Vector3_t3525329789 L_38 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_37, /*hidden argument*/NULL); (&V_7)->set_worldPosition_7(L_38); RaycastHit2DU5BU5D_t2162384532* L_39 = V_2; int32_t L_40 = V_3; NullCheck(L_39); IL2CPP_ARRAY_BOUNDS_CHECK(L_39, L_40); Vector2_t3525329788 L_41 = RaycastHit2D_get_normal_m894503390(((L_39)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_40))), /*hidden argument*/NULL); Vector3_t3525329789 L_42 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_41, /*hidden argument*/NULL); (&V_7)->set_worldNormal_8(L_42); PointerEventData_t3205101634 * L_43 = ___eventData0; NullCheck(L_43); Vector2_t3525329788 L_44 = PointerEventData_get_position_m2263123361(L_43, /*hidden argument*/NULL); (&V_7)->set_screenPosition_9(L_44); List_1_t1756857658 * L_45 = ___resultAppendList1; NullCheck(L_45); int32_t L_46 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::get_Count() */, L_45); (&V_7)->set_index_3((((float)((float)L_46)))); SpriteRenderer_t2223784725 * L_47 = V_5; bool L_48 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_47, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); G_B5_0 = (&V_7); if (!L_48) { G_B6_0 = (&V_7); goto IL_013a; } } { SpriteRenderer_t2223784725 * L_49 = V_5; NullCheck(L_49); int32_t L_50 = Renderer_get_sortingLayerID_m1954594923(L_49, /*hidden argument*/NULL); G_B7_0 = L_50; G_B7_1 = G_B5_0; goto IL_013b; } IL_013a: { G_B7_0 = 0; G_B7_1 = G_B6_0; } IL_013b: { G_B7_1->set_sortingLayer_5(G_B7_0); SpriteRenderer_t2223784725 * L_51 = V_5; bool L_52 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_51, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); G_B8_0 = (&V_7); if (!L_52) { G_B9_0 = (&V_7); goto IL_015b; } } { SpriteRenderer_t2223784725 * L_53 = V_5; NullCheck(L_53); int32_t L_54 = Renderer_get_sortingOrder_m3623465101(L_53, /*hidden argument*/NULL); G_B10_0 = L_54; G_B10_1 = G_B8_0; goto IL_015c; } IL_015b: { G_B10_0 = 0; G_B10_1 = G_B9_0; } IL_015c: { G_B10_1->set_sortingOrder_6(G_B10_0); RaycastResult_t959898689 L_55 = V_7; V_6 = L_55; List_1_t1756857658 * L_56 = ___resultAppendList1; RaycastResult_t959898689 L_57 = V_6; NullCheck(L_56); VirtActionInvoker1< RaycastResult_t959898689 >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Add(!0) */, L_56, L_57); int32_t L_58 = V_3; V_3 = ((int32_t)((int32_t)L_58+(int32_t)1)); } IL_0171: { int32_t L_59 = V_3; int32_t L_60 = V_4; if ((((int32_t)L_59) < ((int32_t)L_60))) { goto IL_0063; } } IL_0179: { return; } } // System.Void UnityEngine.EventSystems.PhysicsRaycaster::.ctor() extern "C" void PhysicsRaycaster__ctor_m4288212754 (PhysicsRaycaster_t2526406378 * __this, const MethodInfo* method) { { LayerMask_t1862190090 L_0 = LayerMask_op_Implicit_m2608572187(NULL /*static, unused*/, (-1), /*hidden argument*/NULL); __this->set_m_EventMask_4(L_0); BaseRaycaster__ctor_m2197027296(__this, /*hidden argument*/NULL); return; } } // UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() extern const MethodInfo* Component_GetComponent_TisCamera_t3533968274_m3804104198_MethodInfo_var; extern const uint32_t PhysicsRaycaster_get_eventCamera_m810838145_MetadataUsageId; extern "C" Camera_t3533968274 * PhysicsRaycaster_get_eventCamera_m810838145 (PhysicsRaycaster_t2526406378 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (PhysicsRaycaster_get_eventCamera_m810838145_MetadataUsageId); s_Il2CppMethodIntialized = true; } Camera_t3533968274 * G_B4_0 = NULL; Camera_t3533968274 * G_B3_0 = NULL; { Camera_t3533968274 * L_0 = __this->get_m_EventCamera_3(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001d; } } { Camera_t3533968274 * L_2 = Component_GetComponent_TisCamera_t3533968274_m3804104198(__this, /*hidden argument*/Component_GetComponent_TisCamera_t3533968274_m3804104198_MethodInfo_var); __this->set_m_EventCamera_3(L_2); } IL_001d: { Camera_t3533968274 * L_3 = __this->get_m_EventCamera_3(); Camera_t3533968274 * L_4 = L_3; G_B3_0 = L_4; if (L_4) { G_B4_0 = L_4; goto IL_002f; } } { Camera_t3533968274 * L_5 = Camera_get_main_m671815697(NULL /*static, unused*/, /*hidden argument*/NULL); G_B4_0 = L_5; } IL_002f: { return G_B4_0; } } // System.Int32 UnityEngine.EventSystems.PhysicsRaycaster::get_depth() extern "C" int32_t PhysicsRaycaster_get_depth_m589853138 (PhysicsRaycaster_t2526406378 * __this, const MethodInfo* method) { int32_t G_B3_0 = 0; { Camera_t3533968274 * L_0 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0022; } } { Camera_t3533968274 * L_2 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); NullCheck(L_2); float L_3 = Camera_get_depth_m3642810036(L_2, /*hidden argument*/NULL); G_B3_0 = (((int32_t)((int32_t)L_3))); goto IL_0027; } IL_0022: { G_B3_0 = ((int32_t)16777215); } IL_0027: { return G_B3_0; } } // System.Int32 UnityEngine.EventSystems.PhysicsRaycaster::get_finalEventMask() extern "C" int32_t PhysicsRaycaster_get_finalEventMask_m2246936003 (PhysicsRaycaster_t2526406378 * __this, const MethodInfo* method) { int32_t G_B3_0 = 0; { Camera_t3533968274 * L_0 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_002d; } } { Camera_t3533968274 * L_2 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); NullCheck(L_2); int32_t L_3 = Camera_get_cullingMask_m1045975289(L_2, /*hidden argument*/NULL); LayerMask_t1862190090 L_4 = __this->get_m_EventMask_4(); int32_t L_5 = LayerMask_op_Implicit_m1595580047(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); G_B3_0 = ((int32_t)((int32_t)L_3&(int32_t)L_5)); goto IL_002e; } IL_002d: { G_B3_0 = (-1); } IL_002e: { return G_B3_0; } } // UnityEngine.LayerMask UnityEngine.EventSystems.PhysicsRaycaster::get_eventMask() extern "C" LayerMask_t1862190090 PhysicsRaycaster_get_eventMask_m610257178 (PhysicsRaycaster_t2526406378 * __this, const MethodInfo* method) { { LayerMask_t1862190090 L_0 = __this->get_m_EventMask_4(); return L_0; } } // System.Void UnityEngine.EventSystems.PhysicsRaycaster::set_eventMask(UnityEngine.LayerMask) extern "C" void PhysicsRaycaster_set_eventMask_m3869486707 (PhysicsRaycaster_t2526406378 * __this, LayerMask_t1862190090 ___value0, const MethodInfo* method) { { LayerMask_t1862190090 L_0 = ___value0; __this->set_m_EventMask_4(L_0); return; } } // System.Void UnityEngine.EventSystems.PhysicsRaycaster::Raycast(UnityEngine.EventSystems.PointerEventData,System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>) extern Il2CppClass* PhysicsRaycaster_t2526406378_il2cpp_TypeInfo_var; extern Il2CppClass* Comparison_1_t2749896403_il2cpp_TypeInfo_var; extern Il2CppClass* RaycastResult_t959898689_il2cpp_TypeInfo_var; extern const MethodInfo* PhysicsRaycaster_U3CRaycastU3Em__1_m3832860601_MethodInfo_var; extern const MethodInfo* Comparison_1__ctor_m2670394222_MethodInfo_var; extern const MethodInfo* Array_Sort_TisRaycastHit_t46221527_m3458836826_MethodInfo_var; extern const uint32_t PhysicsRaycaster_Raycast_m743134250_MetadataUsageId; extern "C" void PhysicsRaycaster_Raycast_m743134250 (PhysicsRaycaster_t2526406378 * __this, PointerEventData_t3205101634 * ___eventData0, List_1_t1756857658 * ___resultAppendList1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (PhysicsRaycaster_Raycast_m743134250_MetadataUsageId); s_Il2CppMethodIntialized = true; } Ray_t1522967639 V_0; memset(&V_0, 0, sizeof(V_0)); float V_1 = 0.0f; RaycastHitU5BU5D_t1365728750* V_2 = NULL; int32_t V_3 = 0; int32_t V_4 = 0; RaycastResult_t959898689 V_5; memset(&V_5, 0, sizeof(V_5)); RaycastResult_t959898689 V_6; memset(&V_6, 0, sizeof(V_6)); RaycastHitU5BU5D_t1365728750* G_B5_0 = NULL; RaycastHitU5BU5D_t1365728750* G_B4_0 = NULL; { Camera_t3533968274 * L_0 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0012; } } { return; } IL_0012: { Camera_t3533968274 * L_2 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); PointerEventData_t3205101634 * L_3 = ___eventData0; NullCheck(L_3); Vector2_t3525329788 L_4 = PointerEventData_get_position_m2263123361(L_3, /*hidden argument*/NULL); Vector3_t3525329789 L_5 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); NullCheck(L_2); Ray_t1522967639 L_6 = Camera_ScreenPointToRay_m1733083890(L_2, L_5, /*hidden argument*/NULL); V_0 = L_6; Camera_t3533968274 * L_7 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); NullCheck(L_7); float L_8 = Camera_get_farClipPlane_m388706726(L_7, /*hidden argument*/NULL); Camera_t3533968274 * L_9 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.PhysicsRaycaster::get_eventCamera() */, __this); NullCheck(L_9); float L_10 = Camera_get_nearClipPlane_m4074655061(L_9, /*hidden argument*/NULL); V_1 = ((float)((float)L_8-(float)L_10)); Ray_t1522967639 L_11 = V_0; float L_12 = V_1; int32_t L_13 = PhysicsRaycaster_get_finalEventMask_m2246936003(__this, /*hidden argument*/NULL); RaycastHitU5BU5D_t1365728750* L_14 = Physics_RaycastAll_m1771931441(NULL /*static, unused*/, L_11, L_12, L_13, /*hidden argument*/NULL); V_2 = L_14; RaycastHitU5BU5D_t1365728750* L_15 = V_2; NullCheck(L_15); if ((((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_15)->max_length))))) <= ((int32_t)1))) { goto IL_007b; } } { RaycastHitU5BU5D_t1365728750* L_16 = V_2; Comparison_1_t2749896403 * L_17 = ((PhysicsRaycaster_t2526406378_StaticFields*)PhysicsRaycaster_t2526406378_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache2_5(); G_B4_0 = L_16; if (L_17) { G_B5_0 = L_16; goto IL_0071; } } { IntPtr_t L_18; L_18.set_m_value_0((void*)(void*)PhysicsRaycaster_U3CRaycastU3Em__1_m3832860601_MethodInfo_var); Comparison_1_t2749896403 * L_19 = (Comparison_1_t2749896403 *)il2cpp_codegen_object_new(Comparison_1_t2749896403_il2cpp_TypeInfo_var); Comparison_1__ctor_m2670394222(L_19, NULL, L_18, /*hidden argument*/Comparison_1__ctor_m2670394222_MethodInfo_var); ((PhysicsRaycaster_t2526406378_StaticFields*)PhysicsRaycaster_t2526406378_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache2_5(L_19); G_B5_0 = G_B4_0; } IL_0071: { Comparison_1_t2749896403 * L_20 = ((PhysicsRaycaster_t2526406378_StaticFields*)PhysicsRaycaster_t2526406378_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache2_5(); Array_Sort_TisRaycastHit_t46221527_m3458836826(NULL /*static, unused*/, G_B5_0, L_20, /*hidden argument*/Array_Sort_TisRaycastHit_t46221527_m3458836826_MethodInfo_var); } IL_007b: { RaycastHitU5BU5D_t1365728750* L_21 = V_2; NullCheck(L_21); if (!(((int32_t)((int32_t)(((Il2CppArray *)L_21)->max_length))))) { goto IL_0137; } } { V_3 = 0; RaycastHitU5BU5D_t1365728750* L_22 = V_2; NullCheck(L_22); V_4 = (((int32_t)((int32_t)(((Il2CppArray *)L_22)->max_length)))); goto IL_012f; } IL_008f: { Initobj (RaycastResult_t959898689_il2cpp_TypeInfo_var, (&V_5)); RaycastResult_t959898689 L_23 = V_5; V_6 = L_23; RaycastHitU5BU5D_t1365728750* L_24 = V_2; int32_t L_25 = V_3; NullCheck(L_24); IL2CPP_ARRAY_BOUNDS_CHECK(L_24, L_25); Collider_t955670625 * L_26 = RaycastHit_get_collider_m3116882274(((L_24)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_25))), /*hidden argument*/NULL); NullCheck(L_26); GameObject_t4012695102 * L_27 = Component_get_gameObject_m1170635899(L_26, /*hidden argument*/NULL); RaycastResult_set_gameObject_m726369707((&V_6), L_27, /*hidden argument*/NULL); (&V_6)->set_module_1(__this); RaycastHitU5BU5D_t1365728750* L_28 = V_2; int32_t L_29 = V_3; NullCheck(L_28); IL2CPP_ARRAY_BOUNDS_CHECK(L_28, L_29); float L_30 = RaycastHit_get_distance_m800944203(((L_28)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_29))), /*hidden argument*/NULL); (&V_6)->set_distance_2(L_30); RaycastHitU5BU5D_t1365728750* L_31 = V_2; int32_t L_32 = V_3; NullCheck(L_31); IL2CPP_ARRAY_BOUNDS_CHECK(L_31, L_32); Vector3_t3525329789 L_33 = RaycastHit_get_point_m4165497838(((L_31)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_32))), /*hidden argument*/NULL); (&V_6)->set_worldPosition_7(L_33); RaycastHitU5BU5D_t1365728750* L_34 = V_2; int32_t L_35 = V_3; NullCheck(L_34); IL2CPP_ARRAY_BOUNDS_CHECK(L_34, L_35); Vector3_t3525329789 L_36 = RaycastHit_get_normal_m1346998891(((L_34)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_35))), /*hidden argument*/NULL); (&V_6)->set_worldNormal_8(L_36); PointerEventData_t3205101634 * L_37 = ___eventData0; NullCheck(L_37); Vector2_t3525329788 L_38 = PointerEventData_get_position_m2263123361(L_37, /*hidden argument*/NULL); (&V_6)->set_screenPosition_9(L_38); List_1_t1756857658 * L_39 = ___resultAppendList1; NullCheck(L_39); int32_t L_40 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::get_Count() */, L_39); (&V_6)->set_index_3((((float)((float)L_40)))); (&V_6)->set_sortingLayer_5(0); (&V_6)->set_sortingOrder_6(0); RaycastResult_t959898689 L_41 = V_6; V_5 = L_41; List_1_t1756857658 * L_42 = ___resultAppendList1; RaycastResult_t959898689 L_43 = V_5; NullCheck(L_42); VirtActionInvoker1< RaycastResult_t959898689 >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Add(!0) */, L_42, L_43); int32_t L_44 = V_3; V_3 = ((int32_t)((int32_t)L_44+(int32_t)1)); } IL_012f: { int32_t L_45 = V_3; int32_t L_46 = V_4; if ((((int32_t)L_45) < ((int32_t)L_46))) { goto IL_008f; } } IL_0137: { return; } } // System.Int32 UnityEngine.EventSystems.PhysicsRaycaster::<Raycast>m__1(UnityEngine.RaycastHit,UnityEngine.RaycastHit) extern "C" int32_t PhysicsRaycaster_U3CRaycastU3Em__1_m3832860601 (Il2CppObject * __this /* static, unused */, RaycastHit_t46221527 ___r10, RaycastHit_t46221527 ___r21, const MethodInfo* method) { float V_0 = 0.0f; { float L_0 = RaycastHit_get_distance_m800944203((&___r10), /*hidden argument*/NULL); V_0 = L_0; float L_1 = RaycastHit_get_distance_m800944203((&___r21), /*hidden argument*/NULL); int32_t L_2 = Single_CompareTo_m3518345828((&V_0), L_1, /*hidden argument*/NULL); return L_2; } } // System.Void UnityEngine.EventSystems.PointerEventData::.ctor(UnityEngine.EventSystems.EventSystem) extern Il2CppClass* List_1_t514686775_il2cpp_TypeInfo_var; extern const MethodInfo* List_1__ctor_m2397334390_MethodInfo_var; extern const uint32_t PointerEventData__ctor_m82194942_MetadataUsageId; extern "C" void PointerEventData__ctor_m82194942 (PointerEventData_t3205101634 * __this, EventSystem_t409518532 * ___eventSystem0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (PointerEventData__ctor_m82194942_MetadataUsageId); s_Il2CppMethodIntialized = true; } { List_1_t514686775 * L_0 = (List_1_t514686775 *)il2cpp_codegen_object_new(List_1_t514686775_il2cpp_TypeInfo_var); List_1__ctor_m2397334390(L_0, /*hidden argument*/List_1__ctor_m2397334390_MethodInfo_var); __this->set_hovered_3(L_0); EventSystem_t409518532 * L_1 = ___eventSystem0; BaseEventData__ctor_m3246352982(__this, L_1, /*hidden argument*/NULL); PointerEventData_set_eligibleForClick_m4124670100(__this, (bool)0, /*hidden argument*/NULL); PointerEventData_set_pointerId_m204336548(__this, (-1), /*hidden argument*/NULL); Vector2_t3525329788 L_2 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); PointerEventData_set_position_m1287828138(__this, L_2, /*hidden argument*/NULL); Vector2_t3525329788 L_3 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); PointerEventData_set_delta_m3480102791(__this, L_3, /*hidden argument*/NULL); Vector2_t3525329788 L_4 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); PointerEventData_set_pressPosition_m3056630579(__this, L_4, /*hidden argument*/NULL); PointerEventData_set_clickTime_m3487651291(__this, (0.0f), /*hidden argument*/NULL); PointerEventData_set_clickCount_m2279104927(__this, 0, /*hidden argument*/NULL); Vector2_t3525329788 L_5 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); PointerEventData_set_scrollDelta_m3507625908(__this, L_5, /*hidden argument*/NULL); PointerEventData_set_useDragThreshold_m2530254510(__this, (bool)1, /*hidden argument*/NULL); PointerEventData_set_dragging_m1730892973(__this, (bool)0, /*hidden argument*/NULL); PointerEventData_set_button_m2720287992(__this, 0, /*hidden argument*/NULL); return; } } // UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::get_pointerEnter() extern "C" GameObject_t4012695102 * PointerEventData_get_pointerEnter_m1754340511 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = __this->get_U3CpointerEnterU3Ek__BackingField_4(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_pointerEnter(UnityEngine.GameObject) extern "C" void PointerEventData_set_pointerEnter_m3909544698 (PointerEventData_t3205101634 * __this, GameObject_t4012695102 * ___value0, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = ___value0; __this->set_U3CpointerEnterU3Ek__BackingField_4(L_0); return; } } // UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::get_lastPress() extern "C" GameObject_t4012695102 * PointerEventData_get_lastPress_m3682396203 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = __this->get_U3ClastPressU3Ek__BackingField_5(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_lastPress(UnityEngine.GameObject) extern "C" void PointerEventData_set_lastPress_m1523028000 (PointerEventData_t3205101634 * __this, GameObject_t4012695102 * ___value0, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = ___value0; __this->set_U3ClastPressU3Ek__BackingField_5(L_0); return; } } // UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::get_rawPointerPress() extern "C" GameObject_t4012695102 * PointerEventData_get_rawPointerPress_m4005541676 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = __this->get_U3CrawPointerPressU3Ek__BackingField_6(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_rawPointerPress(UnityEngine.GameObject) extern "C" void PointerEventData_set_rawPointerPress_m505214625 (PointerEventData_t3205101634 * __this, GameObject_t4012695102 * ___value0, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = ___value0; __this->set_U3CrawPointerPressU3Ek__BackingField_6(L_0); return; } } // UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::get_pointerDrag() extern "C" GameObject_t4012695102 * PointerEventData_get_pointerDrag_m2109300143 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = __this->get_U3CpointerDragU3Ek__BackingField_7(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_pointerDrag(UnityEngine.GameObject) extern "C" void PointerEventData_set_pointerDrag_m1194168164 (PointerEventData_t3205101634 * __this, GameObject_t4012695102 * ___value0, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = ___value0; __this->set_U3CpointerDragU3Ek__BackingField_7(L_0); return; } } // UnityEngine.EventSystems.RaycastResult UnityEngine.EventSystems.PointerEventData::get_pointerCurrentRaycast() extern "C" RaycastResult_t959898689 PointerEventData_get_pointerCurrentRaycast_m874132826 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { RaycastResult_t959898689 L_0 = __this->get_U3CpointerCurrentRaycastU3Ek__BackingField_8(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_pointerCurrentRaycast(UnityEngine.EventSystems.RaycastResult) extern "C" void PointerEventData_set_pointerCurrentRaycast_m2884097807 (PointerEventData_t3205101634 * __this, RaycastResult_t959898689 ___value0, const MethodInfo* method) { { RaycastResult_t959898689 L_0 = ___value0; __this->set_U3CpointerCurrentRaycastU3Ek__BackingField_8(L_0); return; } } // UnityEngine.EventSystems.RaycastResult UnityEngine.EventSystems.PointerEventData::get_pointerPressRaycast() extern "C" RaycastResult_t959898689 PointerEventData_get_pointerPressRaycast_m990488592 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { RaycastResult_t959898689 L_0 = __this->get_U3CpointerPressRaycastU3Ek__BackingField_9(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_pointerPressRaycast(UnityEngine.EventSystems.RaycastResult) extern "C" void PointerEventData_set_pointerPressRaycast_m126348485 (PointerEventData_t3205101634 * __this, RaycastResult_t959898689 ___value0, const MethodInfo* method) { { RaycastResult_t959898689 L_0 = ___value0; __this->set_U3CpointerPressRaycastU3Ek__BackingField_9(L_0); return; } } // System.Boolean UnityEngine.EventSystems.PointerEventData::get_eligibleForClick() extern "C" bool PointerEventData_get_eligibleForClick_m804806107 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { bool L_0 = __this->get_U3CeligibleForClickU3Ek__BackingField_10(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_eligibleForClick(System.Boolean) extern "C" void PointerEventData_set_eligibleForClick_m4124670100 (PointerEventData_t3205101634 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_U3CeligibleForClickU3Ek__BackingField_10(L_0); return; } } // System.Int32 UnityEngine.EventSystems.PointerEventData::get_pointerId() extern "C" int32_t PointerEventData_get_pointerId_m315063471 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_U3CpointerIdU3Ek__BackingField_11(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_pointerId(System.Int32) extern "C" void PointerEventData_set_pointerId_m204336548 (PointerEventData_t3205101634 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_U3CpointerIdU3Ek__BackingField_11(L_0); return; } } // UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::get_position() extern "C" Vector2_t3525329788 PointerEventData_get_position_m2263123361 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { Vector2_t3525329788 L_0 = __this->get_U3CpositionU3Ek__BackingField_12(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_position(UnityEngine.Vector2) extern "C" void PointerEventData_set_position_m1287828138 (PointerEventData_t3205101634 * __this, Vector2_t3525329788 ___value0, const MethodInfo* method) { { Vector2_t3525329788 L_0 = ___value0; __this->set_U3CpositionU3Ek__BackingField_12(L_0); return; } } // UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::get_delta() extern "C" Vector2_t3525329788 PointerEventData_get_delta_m4112242786 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { Vector2_t3525329788 L_0 = __this->get_U3CdeltaU3Ek__BackingField_13(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_delta(UnityEngine.Vector2) extern "C" void PointerEventData_set_delta_m3480102791 (PointerEventData_t3205101634 * __this, Vector2_t3525329788 ___value0, const MethodInfo* method) { { Vector2_t3525329788 L_0 = ___value0; __this->set_U3CdeltaU3Ek__BackingField_13(L_0); return; } } // UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::get_pressPosition() extern "C" Vector2_t3525329788 PointerEventData_get_pressPosition_m2718149942 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { Vector2_t3525329788 L_0 = __this->get_U3CpressPositionU3Ek__BackingField_14(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_pressPosition(UnityEngine.Vector2) extern "C" void PointerEventData_set_pressPosition_m3056630579 (PointerEventData_t3205101634 * __this, Vector2_t3525329788 ___value0, const MethodInfo* method) { { Vector2_t3525329788 L_0 = ___value0; __this->set_U3CpressPositionU3Ek__BackingField_14(L_0); return; } } // UnityEngine.Vector3 UnityEngine.EventSystems.PointerEventData::get_worldPosition() extern "C" Vector3_t3525329789 PointerEventData_get_worldPosition_m489722276 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { Vector3_t3525329789 L_0 = __this->get_U3CworldPositionU3Ek__BackingField_15(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_worldPosition(UnityEngine.Vector3) extern "C" void PointerEventData_set_worldPosition_m914315875 (PointerEventData_t3205101634 * __this, Vector3_t3525329789 ___value0, const MethodInfo* method) { { Vector3_t3525329789 L_0 = ___value0; __this->set_U3CworldPositionU3Ek__BackingField_15(L_0); return; } } // UnityEngine.Vector3 UnityEngine.EventSystems.PointerEventData::get_worldNormal() extern "C" Vector3_t3525329789 PointerEventData_get_worldNormal_m3470386274 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { Vector3_t3525329789 L_0 = __this->get_U3CworldNormalU3Ek__BackingField_16(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_worldNormal(UnityEngine.Vector3) extern "C" void PointerEventData_set_worldNormal_m2060170853 (PointerEventData_t3205101634 * __this, Vector3_t3525329789 ___value0, const MethodInfo* method) { { Vector3_t3525329789 L_0 = ___value0; __this->set_U3CworldNormalU3Ek__BackingField_16(L_0); return; } } // System.Single UnityEngine.EventSystems.PointerEventData::get_clickTime() extern "C" float PointerEventData_get_clickTime_m2529670096 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { float L_0 = __this->get_U3CclickTimeU3Ek__BackingField_17(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_clickTime(System.Single) extern "C" void PointerEventData_set_clickTime_m3487651291 (PointerEventData_t3205101634 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_U3CclickTimeU3Ek__BackingField_17(L_0); return; } } // System.Int32 UnityEngine.EventSystems.PointerEventData::get_clickCount() extern "C" int32_t PointerEventData_get_clickCount_m341347570 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_U3CclickCountU3Ek__BackingField_18(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_clickCount(System.Int32) extern "C" void PointerEventData_set_clickCount_m2279104927 (PointerEventData_t3205101634 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_U3CclickCountU3Ek__BackingField_18(L_0); return; } } // UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::get_scrollDelta() extern "C" Vector2_t3525329788 PointerEventData_get_scrollDelta_m3602781717 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { Vector2_t3525329788 L_0 = __this->get_U3CscrollDeltaU3Ek__BackingField_19(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_scrollDelta(UnityEngine.Vector2) extern "C" void PointerEventData_set_scrollDelta_m3507625908 (PointerEventData_t3205101634 * __this, Vector2_t3525329788 ___value0, const MethodInfo* method) { { Vector2_t3525329788 L_0 = ___value0; __this->set_U3CscrollDeltaU3Ek__BackingField_19(L_0); return; } } // System.Boolean UnityEngine.EventSystems.PointerEventData::get_useDragThreshold() extern "C" bool PointerEventData_get_useDragThreshold_m2749684085 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { bool L_0 = __this->get_U3CuseDragThresholdU3Ek__BackingField_20(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_useDragThreshold(System.Boolean) extern "C" void PointerEventData_set_useDragThreshold_m2530254510 (PointerEventData_t3205101634 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_U3CuseDragThresholdU3Ek__BackingField_20(L_0); return; } } // System.Boolean UnityEngine.EventSystems.PointerEventData::get_dragging() extern "C" bool PointerEventData_get_dragging_m3319220148 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { bool L_0 = __this->get_U3CdraggingU3Ek__BackingField_21(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_dragging(System.Boolean) extern "C" void PointerEventData_set_dragging_m1730892973 (PointerEventData_t3205101634 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_U3CdraggingU3Ek__BackingField_21(L_0); return; } } // UnityEngine.EventSystems.PointerEventData/InputButton UnityEngine.EventSystems.PointerEventData::get_button() extern "C" int32_t PointerEventData_get_button_m796143251 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_U3CbuttonU3Ek__BackingField_22(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_button(UnityEngine.EventSystems.PointerEventData/InputButton) extern "C" void PointerEventData_set_button_m2720287992 (PointerEventData_t3205101634 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_U3CbuttonU3Ek__BackingField_22(L_0); return; } } // System.Boolean UnityEngine.EventSystems.PointerEventData::IsPointerMoving() extern "C" bool PointerEventData_IsPointerMoving_m1462208007 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); { Vector2_t3525329788 L_0 = PointerEventData_get_delta_m4112242786(__this, /*hidden argument*/NULL); V_0 = L_0; float L_1 = Vector2_get_sqrMagnitude_m996072851((&V_0), /*hidden argument*/NULL); return (bool)((((float)L_1) > ((float)(0.0f)))? 1 : 0); } } // System.Boolean UnityEngine.EventSystems.PointerEventData::IsScrolling() extern "C" bool PointerEventData_IsScrolling_m2052637201 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); { Vector2_t3525329788 L_0 = PointerEventData_get_scrollDelta_m3602781717(__this, /*hidden argument*/NULL); V_0 = L_0; float L_1 = Vector2_get_sqrMagnitude_m996072851((&V_0), /*hidden argument*/NULL); return (bool)((((float)L_1) > ((float)(0.0f)))? 1 : 0); } } // UnityEngine.Camera UnityEngine.EventSystems.PointerEventData::get_enterEventCamera() extern "C" Camera_t3533968274 * PointerEventData_get_enterEventCamera_m1535306943 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { RaycastResult_t959898689 V_0; memset(&V_0, 0, sizeof(V_0)); RaycastResult_t959898689 V_1; memset(&V_1, 0, sizeof(V_1)); Camera_t3533968274 * G_B3_0 = NULL; { RaycastResult_t959898689 L_0 = PointerEventData_get_pointerCurrentRaycast_m874132826(__this, /*hidden argument*/NULL); V_0 = L_0; BaseRaycaster_t3819875680 * L_1 = (&V_0)->get_module_1(); bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_1, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_001f; } } { G_B3_0 = ((Camera_t3533968274 *)(NULL)); goto IL_0032; } IL_001f: { RaycastResult_t959898689 L_3 = PointerEventData_get_pointerCurrentRaycast_m874132826(__this, /*hidden argument*/NULL); V_1 = L_3; BaseRaycaster_t3819875680 * L_4 = (&V_1)->get_module_1(); NullCheck(L_4); Camera_t3533968274 * L_5 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.BaseRaycaster::get_eventCamera() */, L_4); G_B3_0 = L_5; } IL_0032: { return G_B3_0; } } // UnityEngine.Camera UnityEngine.EventSystems.PointerEventData::get_pressEventCamera() extern "C" Camera_t3533968274 * PointerEventData_get_pressEventCamera_m2764092724 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { RaycastResult_t959898689 V_0; memset(&V_0, 0, sizeof(V_0)); RaycastResult_t959898689 V_1; memset(&V_1, 0, sizeof(V_1)); Camera_t3533968274 * G_B3_0 = NULL; { RaycastResult_t959898689 L_0 = PointerEventData_get_pointerPressRaycast_m990488592(__this, /*hidden argument*/NULL); V_0 = L_0; BaseRaycaster_t3819875680 * L_1 = (&V_0)->get_module_1(); bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_1, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_001f; } } { G_B3_0 = ((Camera_t3533968274 *)(NULL)); goto IL_0032; } IL_001f: { RaycastResult_t959898689 L_3 = PointerEventData_get_pointerPressRaycast_m990488592(__this, /*hidden argument*/NULL); V_1 = L_3; BaseRaycaster_t3819875680 * L_4 = (&V_1)->get_module_1(); NullCheck(L_4); Camera_t3533968274 * L_5 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.EventSystems.BaseRaycaster::get_eventCamera() */, L_4); G_B3_0 = L_5; } IL_0032: { return G_B3_0; } } // UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::get_pointerPress() extern "C" GameObject_t4012695102 * PointerEventData_get_pointerPress_m3028028234 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = __this->get_m_PointerPress_2(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerEventData::set_pointerPress(UnityEngine.GameObject) extern "C" void PointerEventData_set_pointerPress_m3037509477 (PointerEventData_t3205101634 * __this, GameObject_t4012695102 * ___value0, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = __this->get_m_PointerPress_2(); GameObject_t4012695102 * L_1 = ___value0; bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_0012; } } { return; } IL_0012: { GameObject_t4012695102 * L_3 = __this->get_m_PointerPress_2(); PointerEventData_set_lastPress_m1523028000(__this, L_3, /*hidden argument*/NULL); GameObject_t4012695102 * L_4 = ___value0; __this->set_m_PointerPress_2(L_4); return; } } // System.String UnityEngine.EventSystems.PointerEventData::ToString() extern Il2CppClass* StringBuilder_t3822575854_il2cpp_TypeInfo_var; extern Il2CppClass* Vector2_t3525329788_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Boolean_t211005341_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral999516182; extern Il2CppCodeGenString* _stringLiteral3099815829; extern Il2CppCodeGenString* _stringLiteral3507216963; extern Il2CppCodeGenString* _stringLiteral2762764264; extern Il2CppCodeGenString* _stringLiteral249172243; extern Il2CppCodeGenString* _stringLiteral1052883529; extern Il2CppCodeGenString* _stringLiteral62564398; extern Il2CppCodeGenString* _stringLiteral3676579301; extern Il2CppCodeGenString* _stringLiteral1154619954; extern Il2CppCodeGenString* _stringLiteral2352309244; extern const uint32_t PointerEventData_ToString_m746384051_MetadataUsageId; extern "C" String_t* PointerEventData_ToString_m746384051 (PointerEventData_t3205101634 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (PointerEventData_ToString_m746384051_MetadataUsageId); s_Il2CppMethodIntialized = true; } StringBuilder_t3822575854 * V_0 = NULL; RaycastResult_t959898689 V_1; memset(&V_1, 0, sizeof(V_1)); RaycastResult_t959898689 V_2; memset(&V_2, 0, sizeof(V_2)); { StringBuilder_t3822575854 * L_0 = (StringBuilder_t3822575854 *)il2cpp_codegen_object_new(StringBuilder_t3822575854_il2cpp_TypeInfo_var); StringBuilder__ctor_m135953004(L_0, /*hidden argument*/NULL); V_0 = L_0; StringBuilder_t3822575854 * L_1 = V_0; Vector2_t3525329788 L_2 = PointerEventData_get_position_m2263123361(__this, /*hidden argument*/NULL); Vector2_t3525329788 L_3 = L_2; Il2CppObject * L_4 = Box(Vector2_t3525329788_il2cpp_TypeInfo_var, &L_3); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_5 = String_Concat_m389863537(NULL /*static, unused*/, _stringLiteral999516182, L_4, /*hidden argument*/NULL); NullCheck(L_1); StringBuilder_AppendLine_m655025863(L_1, L_5, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_6 = V_0; Vector2_t3525329788 L_7 = PointerEventData_get_delta_m4112242786(__this, /*hidden argument*/NULL); Vector2_t3525329788 L_8 = L_7; Il2CppObject * L_9 = Box(Vector2_t3525329788_il2cpp_TypeInfo_var, &L_8); String_t* L_10 = String_Concat_m389863537(NULL /*static, unused*/, _stringLiteral3099815829, L_9, /*hidden argument*/NULL); NullCheck(L_6); StringBuilder_AppendLine_m655025863(L_6, L_10, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_11 = V_0; bool L_12 = PointerEventData_get_eligibleForClick_m804806107(__this, /*hidden argument*/NULL); bool L_13 = L_12; Il2CppObject * L_14 = Box(Boolean_t211005341_il2cpp_TypeInfo_var, &L_13); String_t* L_15 = String_Concat_m389863537(NULL /*static, unused*/, _stringLiteral3507216963, L_14, /*hidden argument*/NULL); NullCheck(L_11); StringBuilder_AppendLine_m655025863(L_11, L_15, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_16 = V_0; GameObject_t4012695102 * L_17 = PointerEventData_get_pointerEnter_m1754340511(__this, /*hidden argument*/NULL); String_t* L_18 = String_Concat_m389863537(NULL /*static, unused*/, _stringLiteral2762764264, L_17, /*hidden argument*/NULL); NullCheck(L_16); StringBuilder_AppendLine_m655025863(L_16, L_18, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_19 = V_0; GameObject_t4012695102 * L_20 = PointerEventData_get_pointerPress_m3028028234(__this, /*hidden argument*/NULL); String_t* L_21 = String_Concat_m389863537(NULL /*static, unused*/, _stringLiteral249172243, L_20, /*hidden argument*/NULL); NullCheck(L_19); StringBuilder_AppendLine_m655025863(L_19, L_21, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_22 = V_0; GameObject_t4012695102 * L_23 = PointerEventData_get_lastPress_m3682396203(__this, /*hidden argument*/NULL); String_t* L_24 = String_Concat_m389863537(NULL /*static, unused*/, _stringLiteral1052883529, L_23, /*hidden argument*/NULL); NullCheck(L_22); StringBuilder_AppendLine_m655025863(L_22, L_24, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_25 = V_0; GameObject_t4012695102 * L_26 = PointerEventData_get_pointerDrag_m2109300143(__this, /*hidden argument*/NULL); String_t* L_27 = String_Concat_m389863537(NULL /*static, unused*/, _stringLiteral62564398, L_26, /*hidden argument*/NULL); NullCheck(L_25); StringBuilder_AppendLine_m655025863(L_25, L_27, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_28 = V_0; bool L_29 = PointerEventData_get_useDragThreshold_m2749684085(__this, /*hidden argument*/NULL); bool L_30 = L_29; Il2CppObject * L_31 = Box(Boolean_t211005341_il2cpp_TypeInfo_var, &L_30); String_t* L_32 = String_Concat_m389863537(NULL /*static, unused*/, _stringLiteral3676579301, L_31, /*hidden argument*/NULL); NullCheck(L_28); StringBuilder_AppendLine_m655025863(L_28, L_32, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_33 = V_0; NullCheck(L_33); StringBuilder_AppendLine_m655025863(L_33, _stringLiteral1154619954, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_34 = V_0; RaycastResult_t959898689 L_35 = PointerEventData_get_pointerCurrentRaycast_m874132826(__this, /*hidden argument*/NULL); V_1 = L_35; String_t* L_36 = RaycastResult_ToString_m2924263764((&V_1), /*hidden argument*/NULL); NullCheck(L_34); StringBuilder_AppendLine_m655025863(L_34, L_36, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_37 = V_0; NullCheck(L_37); StringBuilder_AppendLine_m655025863(L_37, _stringLiteral2352309244, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_38 = V_0; RaycastResult_t959898689 L_39 = PointerEventData_get_pointerPressRaycast_m990488592(__this, /*hidden argument*/NULL); V_2 = L_39; String_t* L_40 = RaycastResult_ToString_m2924263764((&V_2), /*hidden argument*/NULL); NullCheck(L_38); StringBuilder_AppendLine_m655025863(L_38, L_40, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_41 = V_0; NullCheck(L_41); String_t* L_42 = StringBuilder_ToString_m350379841(L_41, /*hidden argument*/NULL); return L_42; } } // System.Void UnityEngine.EventSystems.PointerInputModule::.ctor() extern Il2CppClass* Dictionary_2_t3695912417_il2cpp_TypeInfo_var; extern Il2CppClass* MouseState_t2990183180_il2cpp_TypeInfo_var; extern const MethodInfo* Dictionary_2__ctor_m2150136428_MethodInfo_var; extern const uint32_t PointerInputModule__ctor_m2748126408_MetadataUsageId; extern "C" void PointerInputModule__ctor_m2748126408 (PointerInputModule_t1553882356 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (PointerInputModule__ctor_m2748126408_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Dictionary_2_t3695912417 * L_0 = (Dictionary_2_t3695912417 *)il2cpp_codegen_object_new(Dictionary_2_t3695912417_il2cpp_TypeInfo_var); Dictionary_2__ctor_m2150136428(L_0, /*hidden argument*/Dictionary_2__ctor_m2150136428_MethodInfo_var); __this->set_m_PointerData_10(L_0); MouseState_t2990183180 * L_1 = (MouseState_t2990183180 *)il2cpp_codegen_object_new(MouseState_t2990183180_il2cpp_TypeInfo_var); MouseState__ctor_m2621211907(L_1, /*hidden argument*/NULL); __this->set_m_MouseState_11(L_1); BaseInputModule__ctor_m2920801056(__this, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.EventSystems.PointerInputModule::GetPointerData(System.Int32,UnityEngine.EventSystems.PointerEventData&,System.Boolean) extern Il2CppClass* PointerEventData_t3205101634_il2cpp_TypeInfo_var; extern const uint32_t PointerInputModule_GetPointerData_m1554981113_MetadataUsageId; extern "C" bool PointerInputModule_GetPointerData_m1554981113 (PointerInputModule_t1553882356 * __this, int32_t ___id0, PointerEventData_t3205101634 ** ___data1, bool ___create2, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (PointerInputModule_GetPointerData_m1554981113_MetadataUsageId); s_Il2CppMethodIntialized = true; } PointerEventData_t3205101634 * V_0 = NULL; { Dictionary_2_t3695912417 * L_0 = __this->get_m_PointerData_10(); int32_t L_1 = ___id0; PointerEventData_t3205101634 ** L_2 = ___data1; NullCheck(L_0); bool L_3 = VirtFuncInvoker2< bool, int32_t, PointerEventData_t3205101634 ** >::Invoke(32 /* System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.EventSystems.PointerEventData>::TryGetValue(!0,!1&) */, L_0, L_1, L_2); if (L_3) { goto IL_003e; } } { bool L_4 = ___create2; if (!L_4) { goto IL_003e; } } { PointerEventData_t3205101634 ** L_5 = ___data1; EventSystem_t409518532 * L_6 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_7 = (PointerEventData_t3205101634 *)il2cpp_codegen_object_new(PointerEventData_t3205101634_il2cpp_TypeInfo_var); PointerEventData__ctor_m82194942(L_7, L_6, /*hidden argument*/NULL); V_0 = L_7; PointerEventData_t3205101634 * L_8 = V_0; int32_t L_9 = ___id0; NullCheck(L_8); PointerEventData_set_pointerId_m204336548(L_8, L_9, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_10 = V_0; *((Il2CppObject **)(L_5)) = (Il2CppObject *)L_10; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_5), (Il2CppObject *)L_10); Dictionary_2_t3695912417 * L_11 = __this->get_m_PointerData_10(); int32_t L_12 = ___id0; PointerEventData_t3205101634 ** L_13 = ___data1; NullCheck(L_11); VirtActionInvoker2< int32_t, PointerEventData_t3205101634 * >::Invoke(27 /* System.Void System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.EventSystems.PointerEventData>::Add(!0,!1) */, L_11, L_12, (*((PointerEventData_t3205101634 **)L_13))); return (bool)1; } IL_003e: { return (bool)0; } } // System.Void UnityEngine.EventSystems.PointerInputModule::RemovePointerData(UnityEngine.EventSystems.PointerEventData) extern "C" void PointerInputModule_RemovePointerData_m3101459861 (PointerInputModule_t1553882356 * __this, PointerEventData_t3205101634 * ___data0, const MethodInfo* method) { { Dictionary_2_t3695912417 * L_0 = __this->get_m_PointerData_10(); PointerEventData_t3205101634 * L_1 = ___data0; NullCheck(L_1); int32_t L_2 = PointerEventData_get_pointerId_m315063471(L_1, /*hidden argument*/NULL); NullCheck(L_0); VirtFuncInvoker1< bool, int32_t >::Invoke(31 /* System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.EventSystems.PointerEventData>::Remove(!0) */, L_0, L_2); return; } } // UnityEngine.EventSystems.PointerEventData UnityEngine.EventSystems.PointerInputModule::GetTouchPointerEventData(UnityEngine.Touch,System.Boolean&,System.Boolean&) extern "C" PointerEventData_t3205101634 * PointerInputModule_GetTouchPointerEventData_m2194758459 (PointerInputModule_t1553882356 * __this, Touch_t1603883884 ___input0, bool* ___pressed1, bool* ___released2, const MethodInfo* method) { PointerEventData_t3205101634 * V_0 = NULL; bool V_1 = false; RaycastResult_t959898689 V_2; memset(&V_2, 0, sizeof(V_2)); bool* G_B2_0 = NULL; bool* G_B1_0 = NULL; int32_t G_B3_0 = 0; bool* G_B3_1 = NULL; bool* G_B5_0 = NULL; bool* G_B4_0 = NULL; int32_t G_B6_0 = 0; bool* G_B6_1 = NULL; { int32_t L_0 = Touch_get_fingerId_m1427167959((&___input0), /*hidden argument*/NULL); bool L_1 = PointerInputModule_GetPointerData_m1554981113(__this, L_0, (&V_0), (bool)1, /*hidden argument*/NULL); V_1 = L_1; PointerEventData_t3205101634 * L_2 = V_0; NullCheck(L_2); VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.EventSystems.AbstractEventData::Reset() */, L_2); bool* L_3 = ___pressed1; bool L_4 = V_1; G_B1_0 = L_3; if (L_4) { G_B2_0 = L_3; goto IL_002a; } } { int32_t L_5 = Touch_get_phase_m3314549414((&___input0), /*hidden argument*/NULL); G_B3_0 = ((((int32_t)L_5) == ((int32_t)0))? 1 : 0); G_B3_1 = G_B1_0; goto IL_002b; } IL_002a: { G_B3_0 = 1; G_B3_1 = G_B2_0; } IL_002b: { *((int8_t*)(G_B3_1)) = (int8_t)G_B3_0; bool* L_6 = ___released2; int32_t L_7 = Touch_get_phase_m3314549414((&___input0), /*hidden argument*/NULL); G_B4_0 = L_6; if ((((int32_t)L_7) == ((int32_t)4))) { G_B5_0 = L_6; goto IL_0046; } } { int32_t L_8 = Touch_get_phase_m3314549414((&___input0), /*hidden argument*/NULL); G_B6_0 = ((((int32_t)L_8) == ((int32_t)3))? 1 : 0); G_B6_1 = G_B4_0; goto IL_0047; } IL_0046: { G_B6_0 = 1; G_B6_1 = G_B5_0; } IL_0047: { *((int8_t*)(G_B6_1)) = (int8_t)G_B6_0; bool L_9 = V_1; if (!L_9) { goto IL_005b; } } { PointerEventData_t3205101634 * L_10 = V_0; Vector2_t3525329788 L_11 = Touch_get_position_m1943849441((&___input0), /*hidden argument*/NULL); NullCheck(L_10); PointerEventData_set_position_m1287828138(L_10, L_11, /*hidden argument*/NULL); } IL_005b: { bool* L_12 = ___pressed1; if (!(*((int8_t*)L_12))) { goto IL_0072; } } { PointerEventData_t3205101634 * L_13 = V_0; Vector2_t3525329788 L_14 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_13); PointerEventData_set_delta_m3480102791(L_13, L_14, /*hidden argument*/NULL); goto IL_008a; } IL_0072: { PointerEventData_t3205101634 * L_15 = V_0; Vector2_t3525329788 L_16 = Touch_get_position_m1943849441((&___input0), /*hidden argument*/NULL); PointerEventData_t3205101634 * L_17 = V_0; NullCheck(L_17); Vector2_t3525329788 L_18 = PointerEventData_get_position_m2263123361(L_17, /*hidden argument*/NULL); Vector2_t3525329788 L_19 = Vector2_op_Subtraction_m2097149401(NULL /*static, unused*/, L_16, L_18, /*hidden argument*/NULL); NullCheck(L_15); PointerEventData_set_delta_m3480102791(L_15, L_19, /*hidden argument*/NULL); } IL_008a: { PointerEventData_t3205101634 * L_20 = V_0; Vector2_t3525329788 L_21 = Touch_get_position_m1943849441((&___input0), /*hidden argument*/NULL); NullCheck(L_20); PointerEventData_set_position_m1287828138(L_20, L_21, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_22 = V_0; NullCheck(L_22); PointerEventData_set_button_m2720287992(L_22, 0, /*hidden argument*/NULL); EventSystem_t409518532 * L_23 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_24 = V_0; List_1_t1756857658 * L_25 = ((BaseInputModule_t3800378272 *)__this)->get_m_RaycastResultCache_2(); NullCheck(L_23); EventSystem_RaycastAll_m538533603(L_23, L_24, L_25, /*hidden argument*/NULL); List_1_t1756857658 * L_26 = ((BaseInputModule_t3800378272 *)__this)->get_m_RaycastResultCache_2(); RaycastResult_t959898689 L_27 = BaseInputModule_FindFirstRaycast_m3775114583(NULL /*static, unused*/, L_26, /*hidden argument*/NULL); V_2 = L_27; PointerEventData_t3205101634 * L_28 = V_0; RaycastResult_t959898689 L_29 = V_2; NullCheck(L_28); PointerEventData_set_pointerCurrentRaycast_m2884097807(L_28, L_29, /*hidden argument*/NULL); List_1_t1756857658 * L_30 = ((BaseInputModule_t3800378272 *)__this)->get_m_RaycastResultCache_2(); NullCheck(L_30); VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Clear() */, L_30); PointerEventData_t3205101634 * L_31 = V_0; return L_31; } } // System.Void UnityEngine.EventSystems.PointerInputModule::CopyFromTo(UnityEngine.EventSystems.PointerEventData,UnityEngine.EventSystems.PointerEventData) extern "C" void PointerInputModule_CopyFromTo_m431867808 (PointerInputModule_t1553882356 * __this, PointerEventData_t3205101634 * ___from0, PointerEventData_t3205101634 * ___to1, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___to1; PointerEventData_t3205101634 * L_1 = ___from0; NullCheck(L_1); Vector2_t3525329788 L_2 = PointerEventData_get_position_m2263123361(L_1, /*hidden argument*/NULL); NullCheck(L_0); PointerEventData_set_position_m1287828138(L_0, L_2, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_3 = ___to1; PointerEventData_t3205101634 * L_4 = ___from0; NullCheck(L_4); Vector2_t3525329788 L_5 = PointerEventData_get_delta_m4112242786(L_4, /*hidden argument*/NULL); NullCheck(L_3); PointerEventData_set_delta_m3480102791(L_3, L_5, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_6 = ___to1; PointerEventData_t3205101634 * L_7 = ___from0; NullCheck(L_7); Vector2_t3525329788 L_8 = PointerEventData_get_scrollDelta_m3602781717(L_7, /*hidden argument*/NULL); NullCheck(L_6); PointerEventData_set_scrollDelta_m3507625908(L_6, L_8, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_9 = ___to1; PointerEventData_t3205101634 * L_10 = ___from0; NullCheck(L_10); RaycastResult_t959898689 L_11 = PointerEventData_get_pointerCurrentRaycast_m874132826(L_10, /*hidden argument*/NULL); NullCheck(L_9); PointerEventData_set_pointerCurrentRaycast_m2884097807(L_9, L_11, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_12 = ___to1; PointerEventData_t3205101634 * L_13 = ___from0; NullCheck(L_13); GameObject_t4012695102 * L_14 = PointerEventData_get_pointerEnter_m1754340511(L_13, /*hidden argument*/NULL); NullCheck(L_12); PointerEventData_set_pointerEnter_m3909544698(L_12, L_14, /*hidden argument*/NULL); return; } } // UnityEngine.EventSystems.PointerEventData/FramePressState UnityEngine.EventSystems.PointerInputModule::StateForMouseButton(System.Int32) extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t PointerInputModule_StateForMouseButton_m1241430345_MetadataUsageId; extern "C" int32_t PointerInputModule_StateForMouseButton_m1241430345 (Il2CppObject * __this /* static, unused */, int32_t ___buttonId0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (PointerInputModule_StateForMouseButton_m1241430345_MetadataUsageId); s_Il2CppMethodIntialized = true; } bool V_0 = false; bool V_1 = false; { int32_t L_0 = ___buttonId0; IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_1 = Input_GetMouseButtonDown_m2031691843(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; int32_t L_2 = ___buttonId0; bool L_3 = Input_GetMouseButtonUp_m2588144188(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); V_1 = L_3; bool L_4 = V_0; if (!L_4) { goto IL_001c; } } { bool L_5 = V_1; if (!L_5) { goto IL_001c; } } { return (int32_t)(2); } IL_001c: { bool L_6 = V_0; if (!L_6) { goto IL_0024; } } { return (int32_t)(0); } IL_0024: { bool L_7 = V_1; if (!L_7) { goto IL_002c; } } { return (int32_t)(1); } IL_002c: { return (int32_t)(3); } } // UnityEngine.EventSystems.PointerInputModule/MouseState UnityEngine.EventSystems.PointerInputModule::GetMousePointerEventData() extern "C" MouseState_t2990183180 * PointerInputModule_GetMousePointerEventData_m1489718224 (PointerInputModule_t1553882356 * __this, const MethodInfo* method) { { MouseState_t2990183180 * L_0 = VirtFuncInvoker1< MouseState_t2990183180 *, int32_t >::Invoke(26 /* UnityEngine.EventSystems.PointerInputModule/MouseState UnityEngine.EventSystems.PointerInputModule::GetMousePointerEventData(System.Int32) */, __this, 0); return L_0; } } // UnityEngine.EventSystems.PointerInputModule/MouseState UnityEngine.EventSystems.PointerInputModule::GetMousePointerEventData(System.Int32) extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t PointerInputModule_GetMousePointerEventData_m3291859233_MetadataUsageId; extern "C" MouseState_t2990183180 * PointerInputModule_GetMousePointerEventData_m3291859233 (PointerInputModule_t1553882356 * __this, int32_t ___id0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (PointerInputModule_GetMousePointerEventData_m3291859233_MetadataUsageId); s_Il2CppMethodIntialized = true; } PointerEventData_t3205101634 * V_0 = NULL; bool V_1 = false; Vector2_t3525329788 V_2; memset(&V_2, 0, sizeof(V_2)); RaycastResult_t959898689 V_3; memset(&V_3, 0, sizeof(V_3)); PointerEventData_t3205101634 * V_4 = NULL; PointerEventData_t3205101634 * V_5 = NULL; { bool L_0 = PointerInputModule_GetPointerData_m1554981113(__this, (-1), (&V_0), (bool)1, /*hidden argument*/NULL); V_1 = L_0; PointerEventData_t3205101634 * L_1 = V_0; NullCheck(L_1); VirtActionInvoker0::Invoke(4 /* System.Void UnityEngine.EventSystems.AbstractEventData::Reset() */, L_1); bool L_2 = V_1; if (!L_2) { goto IL_0027; } } { PointerEventData_t3205101634 * L_3 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); Vector3_t3525329789 L_4 = Input_get_mousePosition_m4020233228(NULL /*static, unused*/, /*hidden argument*/NULL); Vector2_t3525329788 L_5 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); NullCheck(L_3); PointerEventData_set_position_m1287828138(L_3, L_5, /*hidden argument*/NULL); } IL_0027: { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); Vector3_t3525329789 L_6 = Input_get_mousePosition_m4020233228(NULL /*static, unused*/, /*hidden argument*/NULL); Vector2_t3525329788 L_7 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); V_2 = L_7; PointerEventData_t3205101634 * L_8 = V_0; Vector2_t3525329788 L_9 = V_2; PointerEventData_t3205101634 * L_10 = V_0; NullCheck(L_10); Vector2_t3525329788 L_11 = PointerEventData_get_position_m2263123361(L_10, /*hidden argument*/NULL); Vector2_t3525329788 L_12 = Vector2_op_Subtraction_m2097149401(NULL /*static, unused*/, L_9, L_11, /*hidden argument*/NULL); NullCheck(L_8); PointerEventData_set_delta_m3480102791(L_8, L_12, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_13 = V_0; Vector2_t3525329788 L_14 = V_2; NullCheck(L_13); PointerEventData_set_position_m1287828138(L_13, L_14, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_15 = V_0; Vector2_t3525329788 L_16 = Input_get_mouseScrollDelta_m3050122505(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_15); PointerEventData_set_scrollDelta_m3507625908(L_15, L_16, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_17 = V_0; NullCheck(L_17); PointerEventData_set_button_m2720287992(L_17, 0, /*hidden argument*/NULL); EventSystem_t409518532 * L_18 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_19 = V_0; List_1_t1756857658 * L_20 = ((BaseInputModule_t3800378272 *)__this)->get_m_RaycastResultCache_2(); NullCheck(L_18); EventSystem_RaycastAll_m538533603(L_18, L_19, L_20, /*hidden argument*/NULL); List_1_t1756857658 * L_21 = ((BaseInputModule_t3800378272 *)__this)->get_m_RaycastResultCache_2(); RaycastResult_t959898689 L_22 = BaseInputModule_FindFirstRaycast_m3775114583(NULL /*static, unused*/, L_21, /*hidden argument*/NULL); V_3 = L_22; PointerEventData_t3205101634 * L_23 = V_0; RaycastResult_t959898689 L_24 = V_3; NullCheck(L_23); PointerEventData_set_pointerCurrentRaycast_m2884097807(L_23, L_24, /*hidden argument*/NULL); List_1_t1756857658 * L_25 = ((BaseInputModule_t3800378272 *)__this)->get_m_RaycastResultCache_2(); NullCheck(L_25); VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Clear() */, L_25); PointerInputModule_GetPointerData_m1554981113(__this, ((int32_t)-2), (&V_4), (bool)1, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_26 = V_0; PointerEventData_t3205101634 * L_27 = V_4; PointerInputModule_CopyFromTo_m431867808(__this, L_26, L_27, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_28 = V_4; NullCheck(L_28); PointerEventData_set_button_m2720287992(L_28, 1, /*hidden argument*/NULL); PointerInputModule_GetPointerData_m1554981113(__this, ((int32_t)-3), (&V_5), (bool)1, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_29 = V_0; PointerEventData_t3205101634 * L_30 = V_5; PointerInputModule_CopyFromTo_m431867808(__this, L_29, L_30, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_31 = V_5; NullCheck(L_31); PointerEventData_set_button_m2720287992(L_31, 2, /*hidden argument*/NULL); MouseState_t2990183180 * L_32 = __this->get_m_MouseState_11(); int32_t L_33 = PointerInputModule_StateForMouseButton_m1241430345(NULL /*static, unused*/, 0, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_34 = V_0; NullCheck(L_32); MouseState_SetButtonState_m3470421591(L_32, 0, L_33, L_34, /*hidden argument*/NULL); MouseState_t2990183180 * L_35 = __this->get_m_MouseState_11(); int32_t L_36 = PointerInputModule_StateForMouseButton_m1241430345(NULL /*static, unused*/, 1, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_37 = V_4; NullCheck(L_35); MouseState_SetButtonState_m3470421591(L_35, 1, L_36, L_37, /*hidden argument*/NULL); MouseState_t2990183180 * L_38 = __this->get_m_MouseState_11(); int32_t L_39 = PointerInputModule_StateForMouseButton_m1241430345(NULL /*static, unused*/, 2, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_40 = V_5; NullCheck(L_38); MouseState_SetButtonState_m3470421591(L_38, 2, L_39, L_40, /*hidden argument*/NULL); MouseState_t2990183180 * L_41 = __this->get_m_MouseState_11(); return L_41; } } // UnityEngine.EventSystems.PointerEventData UnityEngine.EventSystems.PointerInputModule::GetLastPointerEventData(System.Int32) extern "C" PointerEventData_t3205101634 * PointerInputModule_GetLastPointerEventData_m238778665 (PointerInputModule_t1553882356 * __this, int32_t ___id0, const MethodInfo* method) { PointerEventData_t3205101634 * V_0 = NULL; { int32_t L_0 = ___id0; PointerInputModule_GetPointerData_m1554981113(__this, L_0, (&V_0), (bool)0, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_1 = V_0; return L_1; } } // System.Boolean UnityEngine.EventSystems.PointerInputModule::ShouldStartDrag(UnityEngine.Vector2,UnityEngine.Vector2,System.Single,System.Boolean) extern "C" bool PointerInputModule_ShouldStartDrag_m1910083073 (Il2CppObject * __this /* static, unused */, Vector2_t3525329788 ___pressPos0, Vector2_t3525329788 ___currentPos1, float ___threshold2, bool ___useDragThreshold3, const MethodInfo* method) { Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); { bool L_0 = ___useDragThreshold3; if (L_0) { goto IL_0008; } } { return (bool)1; } IL_0008: { Vector2_t3525329788 L_1 = ___pressPos0; Vector2_t3525329788 L_2 = ___currentPos1; Vector2_t3525329788 L_3 = Vector2_op_Subtraction_m2097149401(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL); V_0 = L_3; float L_4 = Vector2_get_sqrMagnitude_m996072851((&V_0), /*hidden argument*/NULL); float L_5 = ___threshold2; float L_6 = ___threshold2; return (bool)((((int32_t)((!(((float)L_4) >= ((float)((float)((float)L_5*(float)L_6)))))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Void UnityEngine.EventSystems.PointerInputModule::ProcessMove(UnityEngine.EventSystems.PointerEventData) extern "C" void PointerInputModule_ProcessMove_m2382689080 (PointerInputModule_t1553882356 * __this, PointerEventData_t3205101634 * ___pointerEvent0, const MethodInfo* method) { GameObject_t4012695102 * V_0 = NULL; RaycastResult_t959898689 V_1; memset(&V_1, 0, sizeof(V_1)); { PointerEventData_t3205101634 * L_0 = ___pointerEvent0; NullCheck(L_0); RaycastResult_t959898689 L_1 = PointerEventData_get_pointerCurrentRaycast_m874132826(L_0, /*hidden argument*/NULL); V_1 = L_1; GameObject_t4012695102 * L_2 = RaycastResult_get_gameObject_m1138099278((&V_1), /*hidden argument*/NULL); V_0 = L_2; PointerEventData_t3205101634 * L_3 = ___pointerEvent0; GameObject_t4012695102 * L_4 = V_0; BaseInputModule_HandlePointerExitAndEnter_m779127058(__this, L_3, L_4, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.PointerInputModule::ProcessDrag(UnityEngine.EventSystems.PointerEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIBeginDragHandler_t666849777_m3355733866_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIDragHandler_t3145479144_m1320007289_MethodInfo_var; extern const uint32_t PointerInputModule_ProcessDrag_m1875452405_MetadataUsageId; extern "C" void PointerInputModule_ProcessDrag_m1875452405 (PointerInputModule_t1553882356 * __this, PointerEventData_t3205101634 * ___pointerEvent0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (PointerInputModule_ProcessDrag_m1875452405_MetadataUsageId); s_Il2CppMethodIntialized = true; } bool V_0 = false; { PointerEventData_t3205101634 * L_0 = ___pointerEvent0; NullCheck(L_0); bool L_1 = PointerEventData_IsPointerMoving_m1462208007(L_0, /*hidden argument*/NULL); V_0 = L_1; bool L_2 = V_0; if (!L_2) { goto IL_006a; } } { PointerEventData_t3205101634 * L_3 = ___pointerEvent0; NullCheck(L_3); GameObject_t4012695102 * L_4 = PointerEventData_get_pointerDrag_m2109300143(L_3, /*hidden argument*/NULL); bool L_5 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_4, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_5) { goto IL_006a; } } { PointerEventData_t3205101634 * L_6 = ___pointerEvent0; NullCheck(L_6); bool L_7 = PointerEventData_get_dragging_m3319220148(L_6, /*hidden argument*/NULL); if (L_7) { goto IL_006a; } } { PointerEventData_t3205101634 * L_8 = ___pointerEvent0; NullCheck(L_8); Vector2_t3525329788 L_9 = PointerEventData_get_pressPosition_m2718149942(L_8, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_10 = ___pointerEvent0; NullCheck(L_10); Vector2_t3525329788 L_11 = PointerEventData_get_position_m2263123361(L_10, /*hidden argument*/NULL); EventSystem_t409518532 * L_12 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); NullCheck(L_12); int32_t L_13 = EventSystem_get_pixelDragThreshold_m3269248010(L_12, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_14 = ___pointerEvent0; NullCheck(L_14); bool L_15 = PointerEventData_get_useDragThreshold_m2749684085(L_14, /*hidden argument*/NULL); bool L_16 = PointerInputModule_ShouldStartDrag_m1910083073(NULL /*static, unused*/, L_9, L_11, (((float)((float)L_13))), L_15, /*hidden argument*/NULL); if (!L_16) { goto IL_006a; } } { PointerEventData_t3205101634 * L_17 = ___pointerEvent0; NullCheck(L_17); GameObject_t4012695102 * L_18 = PointerEventData_get_pointerDrag_m2109300143(L_17, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_19 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t3715113537 * L_20 = ExecuteEvents_get_beginDragHandler_m1163039340(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIBeginDragHandler_t666849777_m3355733866(NULL /*static, unused*/, L_18, L_19, L_20, /*hidden argument*/ExecuteEvents_Execute_TisIBeginDragHandler_t666849777_m3355733866_MethodInfo_var); PointerEventData_t3205101634 * L_21 = ___pointerEvent0; NullCheck(L_21); PointerEventData_set_dragging_m1730892973(L_21, (bool)1, /*hidden argument*/NULL); } IL_006a: { PointerEventData_t3205101634 * L_22 = ___pointerEvent0; NullCheck(L_22); bool L_23 = PointerEventData_get_dragging_m3319220148(L_22, /*hidden argument*/NULL); if (!L_23) { goto IL_00db; } } { bool L_24 = V_0; if (!L_24) { goto IL_00db; } } { PointerEventData_t3205101634 * L_25 = ___pointerEvent0; NullCheck(L_25); GameObject_t4012695102 * L_26 = PointerEventData_get_pointerDrag_m2109300143(L_25, /*hidden argument*/NULL); bool L_27 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_26, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_27) { goto IL_00db; } } { PointerEventData_t3205101634 * L_28 = ___pointerEvent0; NullCheck(L_28); GameObject_t4012695102 * L_29 = PointerEventData_get_pointerPress_m3028028234(L_28, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_30 = ___pointerEvent0; NullCheck(L_30); GameObject_t4012695102 * L_31 = PointerEventData_get_pointerDrag_m2109300143(L_30, /*hidden argument*/NULL); bool L_32 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_29, L_31, /*hidden argument*/NULL); if (!L_32) { goto IL_00c9; } } { PointerEventData_t3205101634 * L_33 = ___pointerEvent0; NullCheck(L_33); GameObject_t4012695102 * L_34 = PointerEventData_get_pointerPress_m3028028234(L_33, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_35 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t899770790 * L_36 = ExecuteEvents_get_pointerUpHandler_m1834169334(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071(NULL /*static, unused*/, L_34, L_35, L_36, /*hidden argument*/ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071_MethodInfo_var); PointerEventData_t3205101634 * L_37 = ___pointerEvent0; NullCheck(L_37); PointerEventData_set_eligibleForClick_m4124670100(L_37, (bool)0, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_38 = ___pointerEvent0; NullCheck(L_38); PointerEventData_set_pointerPress_m3037509477(L_38, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_39 = ___pointerEvent0; NullCheck(L_39); PointerEventData_set_rawPointerPress_m505214625(L_39, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); } IL_00c9: { PointerEventData_t3205101634 * L_40 = ___pointerEvent0; NullCheck(L_40); GameObject_t4012695102 * L_41 = PointerEventData_get_pointerDrag_m2109300143(L_40, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_42 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1898775608 * L_43 = ExecuteEvents_get_dragHandler_m1884359226(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIDragHandler_t3145479144_m1320007289(NULL /*static, unused*/, L_41, L_42, L_43, /*hidden argument*/ExecuteEvents_Execute_TisIDragHandler_t3145479144_m1320007289_MethodInfo_var); } IL_00db: { return; } } // System.Boolean UnityEngine.EventSystems.PointerInputModule::IsPointerOverGameObject(System.Int32) extern "C" bool PointerInputModule_IsPointerOverGameObject_m1132541469 (PointerInputModule_t1553882356 * __this, int32_t ___pointerId0, const MethodInfo* method) { PointerEventData_t3205101634 * V_0 = NULL; { int32_t L_0 = ___pointerId0; PointerEventData_t3205101634 * L_1 = PointerInputModule_GetLastPointerEventData_m238778665(__this, L_0, /*hidden argument*/NULL); V_0 = L_1; PointerEventData_t3205101634 * L_2 = V_0; if (!L_2) { goto IL_001b; } } { PointerEventData_t3205101634 * L_3 = V_0; NullCheck(L_3); GameObject_t4012695102 * L_4 = PointerEventData_get_pointerEnter_m1754340511(L_3, /*hidden argument*/NULL); bool L_5 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_4, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); return L_5; } IL_001b: { return (bool)0; } } // System.Void UnityEngine.EventSystems.PointerInputModule::ClearSelection() extern Il2CppClass* Enumerator_t3462940358_il2cpp_TypeInfo_var; extern Il2CppClass* IDisposable_t1628921374_il2cpp_TypeInfo_var; extern const MethodInfo* Dictionary_2_get_Values_m2322114306_MethodInfo_var; extern const MethodInfo* ValueCollection_GetEnumerator_m2405991206_MethodInfo_var; extern const MethodInfo* Enumerator_get_Current_m1031388728_MethodInfo_var; extern const MethodInfo* Enumerator_MoveNext_m1597918149_MethodInfo_var; extern const uint32_t PointerInputModule_ClearSelection_m1490775995_MetadataUsageId; extern "C" void PointerInputModule_ClearSelection_m1490775995 (PointerInputModule_t1553882356 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (PointerInputModule_ClearSelection_m1490775995_MetadataUsageId); s_Il2CppMethodIntialized = true; } BaseEventData_t3547103726 * V_0 = NULL; PointerEventData_t3205101634 * V_1 = NULL; Enumerator_t3462940358 V_2; memset(&V_2, 0, sizeof(V_2)); Exception_t1967233988 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1967233988 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { BaseEventData_t3547103726 * L_0 = VirtFuncInvoker0< BaseEventData_t3547103726 * >::Invoke(18 /* UnityEngine.EventSystems.BaseEventData UnityEngine.EventSystems.BaseInputModule::GetBaseEventData() */, __this); V_0 = L_0; Dictionary_2_t3695912417 * L_1 = __this->get_m_PointerData_10(); NullCheck(L_1); ValueCollection_t1323082215 * L_2 = Dictionary_2_get_Values_m2322114306(L_1, /*hidden argument*/Dictionary_2_get_Values_m2322114306_MethodInfo_var); NullCheck(L_2); Enumerator_t3462940358 L_3 = ValueCollection_GetEnumerator_m2405991206(L_2, /*hidden argument*/ValueCollection_GetEnumerator_m2405991206_MethodInfo_var); V_2 = L_3; } IL_0018: try { // begin try (depth: 1) { goto IL_002d; } IL_001d: { PointerEventData_t3205101634 * L_4 = Enumerator_get_Current_m1031388728((&V_2), /*hidden argument*/Enumerator_get_Current_m1031388728_MethodInfo_var); V_1 = L_4; PointerEventData_t3205101634 * L_5 = V_1; BaseInputModule_HandlePointerExitAndEnter_m779127058(__this, L_5, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); } IL_002d: { bool L_6 = Enumerator_MoveNext_m1597918149((&V_2), /*hidden argument*/Enumerator_MoveNext_m1597918149_MethodInfo_var); if (L_6) { goto IL_001d; } } IL_0039: { IL2CPP_LEAVE(0x4A, FINALLY_003e); } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1967233988 *)e.ex; goto FINALLY_003e; } FINALLY_003e: { // begin finally (depth: 1) Enumerator_t3462940358 L_7 = V_2; Enumerator_t3462940358 L_8 = L_7; Il2CppObject * L_9 = Box(Enumerator_t3462940358_il2cpp_TypeInfo_var, &L_8); NullCheck((Il2CppObject *)L_9); InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t1628921374_il2cpp_TypeInfo_var, (Il2CppObject *)L_9); IL2CPP_END_FINALLY(62) } // end finally (depth: 1) IL2CPP_CLEANUP(62) { IL2CPP_JUMP_TBL(0x4A, IL_004a) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1967233988 *) } IL_004a: { Dictionary_2_t3695912417 * L_10 = __this->get_m_PointerData_10(); NullCheck(L_10); VirtActionInvoker0::Invoke(13 /* System.Void System.Collections.Generic.Dictionary`2<System.Int32,UnityEngine.EventSystems.PointerEventData>::Clear() */, L_10); EventSystem_t409518532 * L_11 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); BaseEventData_t3547103726 * L_12 = V_0; NullCheck(L_11); EventSystem_SetSelectedGameObject_m2116591616(L_11, (GameObject_t4012695102 *)NULL, L_12, /*hidden argument*/NULL); return; } } // System.String UnityEngine.EventSystems.PointerInputModule::ToString() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* StringBuilder_t3822575854_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2847414787_il2cpp_TypeInfo_var; extern Il2CppClass* Enumerator_t3462940359_il2cpp_TypeInfo_var; extern Il2CppClass* IDisposable_t1628921374_il2cpp_TypeInfo_var; extern const MethodInfo* Dictionary_2_GetEnumerator_m4148128422_MethodInfo_var; extern const MethodInfo* Enumerator_get_Current_m309197704_MethodInfo_var; extern const MethodInfo* KeyValuePair_2_get_Value_m858975747_MethodInfo_var; extern const MethodInfo* KeyValuePair_2_get_Key_m1550393874_MethodInfo_var; extern const MethodInfo* Enumerator_MoveNext_m2421218949_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral2031335413; extern Il2CppCodeGenString* _stringLiteral3297358108; extern const uint32_t PointerInputModule_ToString_m1837754533_MetadataUsageId; extern "C" String_t* PointerInputModule_ToString_m1837754533 (PointerInputModule_t1553882356 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (PointerInputModule_ToString_m1837754533_MetadataUsageId); s_Il2CppMethodIntialized = true; } StringBuilder_t3822575854 * V_0 = NULL; KeyValuePair_2_t3184443715 V_1; memset(&V_1, 0, sizeof(V_1)); Enumerator_t3462940359 V_2; memset(&V_2, 0, sizeof(V_2)); Exception_t1967233988 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1967233988 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Type_t * L_0 = Object_GetType_m2022236990(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_1 = String_Concat_m389863537(NULL /*static, unused*/, _stringLiteral2031335413, L_0, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_2 = (StringBuilder_t3822575854 *)il2cpp_codegen_object_new(StringBuilder_t3822575854_il2cpp_TypeInfo_var); StringBuilder__ctor_m1143895062(L_2, L_1, /*hidden argument*/NULL); V_0 = L_2; StringBuilder_t3822575854 * L_3 = V_0; NullCheck(L_3); StringBuilder_AppendLine_m568622107(L_3, /*hidden argument*/NULL); Dictionary_2_t3695912417 * L_4 = __this->get_m_PointerData_10(); NullCheck(L_4); Enumerator_t3462940359 L_5 = Dictionary_2_GetEnumerator_m4148128422(L_4, /*hidden argument*/Dictionary_2_GetEnumerator_m4148128422_MethodInfo_var); V_2 = L_5; } IL_0029: try { // begin try (depth: 1) { goto IL_0077; } IL_002e: { KeyValuePair_2_t3184443715 L_6 = Enumerator_get_Current_m309197704((&V_2), /*hidden argument*/Enumerator_get_Current_m309197704_MethodInfo_var); V_1 = L_6; PointerEventData_t3205101634 * L_7 = KeyValuePair_2_get_Value_m858975747((&V_1), /*hidden argument*/KeyValuePair_2_get_Value_m858975747_MethodInfo_var); if (L_7) { goto IL_0047; } } IL_0042: { goto IL_0077; } IL_0047: { StringBuilder_t3822575854 * L_8 = V_0; int32_t L_9 = KeyValuePair_2_get_Key_m1550393874((&V_1), /*hidden argument*/KeyValuePair_2_get_Key_m1550393874_MethodInfo_var); int32_t L_10 = L_9; Il2CppObject * L_11 = Box(Int32_t2847414787_il2cpp_TypeInfo_var, &L_10); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_12 = String_Concat_m389863537(NULL /*static, unused*/, _stringLiteral3297358108, L_11, /*hidden argument*/NULL); NullCheck(L_8); StringBuilder_AppendLine_m655025863(L_8, L_12, /*hidden argument*/NULL); StringBuilder_t3822575854 * L_13 = V_0; PointerEventData_t3205101634 * L_14 = KeyValuePair_2_get_Value_m858975747((&V_1), /*hidden argument*/KeyValuePair_2_get_Value_m858975747_MethodInfo_var); NullCheck(L_14); String_t* L_15 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String UnityEngine.EventSystems.PointerEventData::ToString() */, L_14); NullCheck(L_13); StringBuilder_AppendLine_m655025863(L_13, L_15, /*hidden argument*/NULL); } IL_0077: { bool L_16 = Enumerator_MoveNext_m2421218949((&V_2), /*hidden argument*/Enumerator_MoveNext_m2421218949_MethodInfo_var); if (L_16) { goto IL_002e; } } IL_0083: { IL2CPP_LEAVE(0x94, FINALLY_0088); } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1967233988 *)e.ex; goto FINALLY_0088; } FINALLY_0088: { // begin finally (depth: 1) Enumerator_t3462940359 L_17 = V_2; Enumerator_t3462940359 L_18 = L_17; Il2CppObject * L_19 = Box(Enumerator_t3462940359_il2cpp_TypeInfo_var, &L_18); NullCheck((Il2CppObject *)L_19); InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t1628921374_il2cpp_TypeInfo_var, (Il2CppObject *)L_19); IL2CPP_END_FINALLY(136) } // end finally (depth: 1) IL2CPP_CLEANUP(136) { IL2CPP_JUMP_TBL(0x94, IL_0094) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1967233988 *) } IL_0094: { StringBuilder_t3822575854 * L_20 = V_0; NullCheck(L_20); String_t* L_21 = StringBuilder_ToString_m350379841(L_20, /*hidden argument*/NULL); return L_21; } } // System.Void UnityEngine.EventSystems.PointerInputModule::DeselectIfSelectionChanged(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_GetEventHandler_TisISelectHandler_t2593995104_m1904676470_MethodInfo_var; extern const uint32_t PointerInputModule_DeselectIfSelectionChanged_m522880394_MetadataUsageId; extern "C" void PointerInputModule_DeselectIfSelectionChanged_m522880394 (PointerInputModule_t1553882356 * __this, GameObject_t4012695102 * ___currentOverGo0, BaseEventData_t3547103726 * ___pointerEvent1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (PointerInputModule_DeselectIfSelectionChanged_m522880394_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; { GameObject_t4012695102 * L_0 = ___currentOverGo0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); GameObject_t4012695102 * L_1 = ExecuteEvents_GetEventHandler_TisISelectHandler_t2593995104_m1904676470(NULL /*static, unused*/, L_0, /*hidden argument*/ExecuteEvents_GetEventHandler_TisISelectHandler_t2593995104_m1904676470_MethodInfo_var); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; EventSystem_t409518532 * L_3 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); NullCheck(L_3); GameObject_t4012695102 * L_4 = EventSystem_get_currentSelectedGameObject_m4236083783(L_3, /*hidden argument*/NULL); bool L_5 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_2, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_002a; } } { EventSystem_t409518532 * L_6 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); BaseEventData_t3547103726 * L_7 = ___pointerEvent1; NullCheck(L_6); EventSystem_SetSelectedGameObject_m2116591616(L_6, (GameObject_t4012695102 *)NULL, L_7, /*hidden argument*/NULL); } IL_002a: { return; } } // System.Void UnityEngine.EventSystems.PointerInputModule/ButtonState::.ctor() extern "C" void ButtonState__ctor_m858021496 (ButtonState_t4192339039 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // UnityEngine.EventSystems.PointerInputModule/MouseButtonEventData UnityEngine.EventSystems.PointerInputModule/ButtonState::get_eventData() extern "C" MouseButtonEventData_t3739491085 * ButtonState_get_eventData_m3874795698 (ButtonState_t4192339039 * __this, const MethodInfo* method) { { MouseButtonEventData_t3739491085 * L_0 = __this->get_m_EventData_1(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerInputModule/ButtonState::set_eventData(UnityEngine.EventSystems.PointerInputModule/MouseButtonEventData) extern "C" void ButtonState_set_eventData_m471696551 (ButtonState_t4192339039 * __this, MouseButtonEventData_t3739491085 * ___value0, const MethodInfo* method) { { MouseButtonEventData_t3739491085 * L_0 = ___value0; __this->set_m_EventData_1(L_0); return; } } // UnityEngine.EventSystems.PointerEventData/InputButton UnityEngine.EventSystems.PointerInputModule/ButtonState::get_button() extern "C" int32_t ButtonState_get_button_m3169210133 (ButtonState_t4192339039 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_Button_0(); return L_0; } } // System.Void UnityEngine.EventSystems.PointerInputModule/ButtonState::set_button(UnityEngine.EventSystems.PointerEventData/InputButton) extern "C" void ButtonState_set_button_m2005500214 (ButtonState_t4192339039 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_Button_0(L_0); return; } } // System.Void UnityEngine.EventSystems.PointerInputModule/MouseButtonEventData::.ctor() extern "C" void MouseButtonEventData__ctor_m4233842466 (MouseButtonEventData_t3739491085 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.EventSystems.PointerInputModule/MouseButtonEventData::PressedThisFrame() extern "C" bool MouseButtonEventData_PressedThisFrame_m3377699805 (MouseButtonEventData_t3739491085 * __this, const MethodInfo* method) { int32_t G_B3_0 = 0; { int32_t L_0 = __this->get_buttonState_0(); if (!L_0) { goto IL_0016; } } { int32_t L_1 = __this->get_buttonState_0(); G_B3_0 = ((((int32_t)L_1) == ((int32_t)2))? 1 : 0); goto IL_0017; } IL_0016: { G_B3_0 = 1; } IL_0017: { return (bool)G_B3_0; } } // System.Boolean UnityEngine.EventSystems.PointerInputModule/MouseButtonEventData::ReleasedThisFrame() extern "C" bool MouseButtonEventData_ReleasedThisFrame_m949274724 (MouseButtonEventData_t3739491085 * __this, const MethodInfo* method) { int32_t G_B3_0 = 0; { int32_t L_0 = __this->get_buttonState_0(); if ((((int32_t)L_0) == ((int32_t)1))) { goto IL_0017; } } { int32_t L_1 = __this->get_buttonState_0(); G_B3_0 = ((((int32_t)L_1) == ((int32_t)2))? 1 : 0); goto IL_0018; } IL_0017: { G_B3_0 = 1; } IL_0018: { return (bool)G_B3_0; } } // System.Void UnityEngine.EventSystems.PointerInputModule/MouseState::.ctor() extern Il2CppClass* List_1_t694330712_il2cpp_TypeInfo_var; extern const MethodInfo* List_1__ctor_m2683721458_MethodInfo_var; extern const uint32_t MouseState__ctor_m2621211907_MetadataUsageId; extern "C" void MouseState__ctor_m2621211907 (MouseState_t2990183180 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (MouseState__ctor_m2621211907_MetadataUsageId); s_Il2CppMethodIntialized = true; } { List_1_t694330712 * L_0 = (List_1_t694330712 *)il2cpp_codegen_object_new(List_1_t694330712_il2cpp_TypeInfo_var); List_1__ctor_m2683721458(L_0, /*hidden argument*/List_1__ctor_m2683721458_MethodInfo_var); __this->set_m_TrackedButtons_0(L_0); Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.EventSystems.PointerInputModule/MouseState::AnyPressesThisFrame() extern "C" bool MouseState_AnyPressesThisFrame_m3921583709 (MouseState_t2990183180 * __this, const MethodInfo* method) { int32_t V_0 = 0; { V_0 = 0; goto IL_0028; } IL_0007: { List_1_t694330712 * L_0 = __this->get_m_TrackedButtons_0(); int32_t L_1 = V_0; NullCheck(L_0); ButtonState_t4192339039 * L_2 = VirtFuncInvoker1< ButtonState_t4192339039 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.PointerInputModule/ButtonState>::get_Item(System.Int32) */, L_0, L_1); NullCheck(L_2); MouseButtonEventData_t3739491085 * L_3 = ButtonState_get_eventData_m3874795698(L_2, /*hidden argument*/NULL); NullCheck(L_3); bool L_4 = MouseButtonEventData_PressedThisFrame_m3377699805(L_3, /*hidden argument*/NULL); if (!L_4) { goto IL_0024; } } { return (bool)1; } IL_0024: { int32_t L_5 = V_0; V_0 = ((int32_t)((int32_t)L_5+(int32_t)1)); } IL_0028: { int32_t L_6 = V_0; List_1_t694330712 * L_7 = __this->get_m_TrackedButtons_0(); NullCheck(L_7); int32_t L_8 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.PointerInputModule/ButtonState>::get_Count() */, L_7); if ((((int32_t)L_6) < ((int32_t)L_8))) { goto IL_0007; } } { return (bool)0; } } // System.Boolean UnityEngine.EventSystems.PointerInputModule/MouseState::AnyReleasesThisFrame() extern "C" bool MouseState_AnyReleasesThisFrame_m2672125158 (MouseState_t2990183180 * __this, const MethodInfo* method) { int32_t V_0 = 0; { V_0 = 0; goto IL_0028; } IL_0007: { List_1_t694330712 * L_0 = __this->get_m_TrackedButtons_0(); int32_t L_1 = V_0; NullCheck(L_0); ButtonState_t4192339039 * L_2 = VirtFuncInvoker1< ButtonState_t4192339039 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.PointerInputModule/ButtonState>::get_Item(System.Int32) */, L_0, L_1); NullCheck(L_2); MouseButtonEventData_t3739491085 * L_3 = ButtonState_get_eventData_m3874795698(L_2, /*hidden argument*/NULL); NullCheck(L_3); bool L_4 = MouseButtonEventData_ReleasedThisFrame_m949274724(L_3, /*hidden argument*/NULL); if (!L_4) { goto IL_0024; } } { return (bool)1; } IL_0024: { int32_t L_5 = V_0; V_0 = ((int32_t)((int32_t)L_5+(int32_t)1)); } IL_0028: { int32_t L_6 = V_0; List_1_t694330712 * L_7 = __this->get_m_TrackedButtons_0(); NullCheck(L_7); int32_t L_8 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.PointerInputModule/ButtonState>::get_Count() */, L_7); if ((((int32_t)L_6) < ((int32_t)L_8))) { goto IL_0007; } } { return (bool)0; } } // UnityEngine.EventSystems.PointerInputModule/ButtonState UnityEngine.EventSystems.PointerInputModule/MouseState::GetButtonState(UnityEngine.EventSystems.PointerEventData/InputButton) extern Il2CppClass* ButtonState_t4192339039_il2cpp_TypeInfo_var; extern Il2CppClass* MouseButtonEventData_t3739491085_il2cpp_TypeInfo_var; extern const uint32_t MouseState_GetButtonState_m96912714_MetadataUsageId; extern "C" ButtonState_t4192339039 * MouseState_GetButtonState_m96912714 (MouseState_t2990183180 * __this, int32_t ___button0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (MouseState_GetButtonState_m96912714_MetadataUsageId); s_Il2CppMethodIntialized = true; } ButtonState_t4192339039 * V_0 = NULL; int32_t V_1 = 0; ButtonState_t4192339039 * V_2 = NULL; { V_0 = (ButtonState_t4192339039 *)NULL; V_1 = 0; goto IL_0036; } IL_0009: { List_1_t694330712 * L_0 = __this->get_m_TrackedButtons_0(); int32_t L_1 = V_1; NullCheck(L_0); ButtonState_t4192339039 * L_2 = VirtFuncInvoker1< ButtonState_t4192339039 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.PointerInputModule/ButtonState>::get_Item(System.Int32) */, L_0, L_1); NullCheck(L_2); int32_t L_3 = ButtonState_get_button_m3169210133(L_2, /*hidden argument*/NULL); int32_t L_4 = ___button0; if ((!(((uint32_t)L_3) == ((uint32_t)L_4)))) { goto IL_0032; } } { List_1_t694330712 * L_5 = __this->get_m_TrackedButtons_0(); int32_t L_6 = V_1; NullCheck(L_5); ButtonState_t4192339039 * L_7 = VirtFuncInvoker1< ButtonState_t4192339039 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.EventSystems.PointerInputModule/ButtonState>::get_Item(System.Int32) */, L_5, L_6); V_0 = L_7; goto IL_0047; } IL_0032: { int32_t L_8 = V_1; V_1 = ((int32_t)((int32_t)L_8+(int32_t)1)); } IL_0036: { int32_t L_9 = V_1; List_1_t694330712 * L_10 = __this->get_m_TrackedButtons_0(); NullCheck(L_10); int32_t L_11 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.PointerInputModule/ButtonState>::get_Count() */, L_10); if ((((int32_t)L_9) < ((int32_t)L_11))) { goto IL_0009; } } IL_0047: { ButtonState_t4192339039 * L_12 = V_0; if (L_12) { goto IL_0073; } } { ButtonState_t4192339039 * L_13 = (ButtonState_t4192339039 *)il2cpp_codegen_object_new(ButtonState_t4192339039_il2cpp_TypeInfo_var); ButtonState__ctor_m858021496(L_13, /*hidden argument*/NULL); V_2 = L_13; ButtonState_t4192339039 * L_14 = V_2; int32_t L_15 = ___button0; NullCheck(L_14); ButtonState_set_button_m2005500214(L_14, L_15, /*hidden argument*/NULL); ButtonState_t4192339039 * L_16 = V_2; MouseButtonEventData_t3739491085 * L_17 = (MouseButtonEventData_t3739491085 *)il2cpp_codegen_object_new(MouseButtonEventData_t3739491085_il2cpp_TypeInfo_var); MouseButtonEventData__ctor_m4233842466(L_17, /*hidden argument*/NULL); NullCheck(L_16); ButtonState_set_eventData_m471696551(L_16, L_17, /*hidden argument*/NULL); ButtonState_t4192339039 * L_18 = V_2; V_0 = L_18; List_1_t694330712 * L_19 = __this->get_m_TrackedButtons_0(); ButtonState_t4192339039 * L_20 = V_0; NullCheck(L_19); VirtActionInvoker1< ButtonState_t4192339039 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.PointerInputModule/ButtonState>::Add(!0) */, L_19, L_20); } IL_0073: { ButtonState_t4192339039 * L_21 = V_0; return L_21; } } // System.Void UnityEngine.EventSystems.PointerInputModule/MouseState::SetButtonState(UnityEngine.EventSystems.PointerEventData/InputButton,UnityEngine.EventSystems.PointerEventData/FramePressState,UnityEngine.EventSystems.PointerEventData) extern "C" void MouseState_SetButtonState_m3470421591 (MouseState_t2990183180 * __this, int32_t ___button0, int32_t ___stateForMouseButton1, PointerEventData_t3205101634 * ___data2, const MethodInfo* method) { ButtonState_t4192339039 * V_0 = NULL; { int32_t L_0 = ___button0; ButtonState_t4192339039 * L_1 = MouseState_GetButtonState_m96912714(__this, L_0, /*hidden argument*/NULL); V_0 = L_1; ButtonState_t4192339039 * L_2 = V_0; NullCheck(L_2); MouseButtonEventData_t3739491085 * L_3 = ButtonState_get_eventData_m3874795698(L_2, /*hidden argument*/NULL); int32_t L_4 = ___stateForMouseButton1; NullCheck(L_3); L_3->set_buttonState_0(L_4); ButtonState_t4192339039 * L_5 = V_0; NullCheck(L_5); MouseButtonEventData_t3739491085 * L_6 = ButtonState_get_eventData_m3874795698(L_5, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_7 = ___data2; NullCheck(L_6); L_6->set_buttonData_1(L_7); return; } } // System.Void UnityEngine.EventSystems.RaycasterManager::.cctor() extern Il2CppClass* List_1_t321867353_il2cpp_TypeInfo_var; extern Il2CppClass* RaycasterManager_t3461082770_il2cpp_TypeInfo_var; extern const MethodInfo* List_1__ctor_m1732236230_MethodInfo_var; extern const uint32_t RaycasterManager__cctor_m1509381251_MetadataUsageId; extern "C" void RaycasterManager__cctor_m1509381251 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (RaycasterManager__cctor_m1509381251_MetadataUsageId); s_Il2CppMethodIntialized = true; } { List_1_t321867353 * L_0 = (List_1_t321867353 *)il2cpp_codegen_object_new(List_1_t321867353_il2cpp_TypeInfo_var); List_1__ctor_m1732236230(L_0, /*hidden argument*/List_1__ctor_m1732236230_MethodInfo_var); ((RaycasterManager_t3461082770_StaticFields*)RaycasterManager_t3461082770_il2cpp_TypeInfo_var->static_fields)->set_s_Raycasters_0(L_0); return; } } // System.Void UnityEngine.EventSystems.RaycasterManager::AddRaycaster(UnityEngine.EventSystems.BaseRaycaster) extern Il2CppClass* RaycasterManager_t3461082770_il2cpp_TypeInfo_var; extern const uint32_t RaycasterManager_AddRaycaster_m4159868023_MetadataUsageId; extern "C" void RaycasterManager_AddRaycaster_m4159868023 (Il2CppObject * __this /* static, unused */, BaseRaycaster_t3819875680 * ___baseRaycaster0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (RaycasterManager_AddRaycaster_m4159868023_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(RaycasterManager_t3461082770_il2cpp_TypeInfo_var); List_1_t321867353 * L_0 = ((RaycasterManager_t3461082770_StaticFields*)RaycasterManager_t3461082770_il2cpp_TypeInfo_var->static_fields)->get_s_Raycasters_0(); BaseRaycaster_t3819875680 * L_1 = ___baseRaycaster0; NullCheck(L_0); bool L_2 = VirtFuncInvoker1< bool, BaseRaycaster_t3819875680 * >::Invoke(24 /* System.Boolean System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseRaycaster>::Contains(!0) */, L_0, L_1); if (!L_2) { goto IL_0011; } } { return; } IL_0011: { IL2CPP_RUNTIME_CLASS_INIT(RaycasterManager_t3461082770_il2cpp_TypeInfo_var); List_1_t321867353 * L_3 = ((RaycasterManager_t3461082770_StaticFields*)RaycasterManager_t3461082770_il2cpp_TypeInfo_var->static_fields)->get_s_Raycasters_0(); BaseRaycaster_t3819875680 * L_4 = ___baseRaycaster0; NullCheck(L_3); VirtActionInvoker1< BaseRaycaster_t3819875680 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseRaycaster>::Add(!0) */, L_3, L_4); return; } } // System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseRaycaster> UnityEngine.EventSystems.RaycasterManager::GetRaycasters() extern Il2CppClass* RaycasterManager_t3461082770_il2cpp_TypeInfo_var; extern const uint32_t RaycasterManager_GetRaycasters_m4152256966_MetadataUsageId; extern "C" List_1_t321867353 * RaycasterManager_GetRaycasters_m4152256966 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (RaycasterManager_GetRaycasters_m4152256966_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(RaycasterManager_t3461082770_il2cpp_TypeInfo_var); List_1_t321867353 * L_0 = ((RaycasterManager_t3461082770_StaticFields*)RaycasterManager_t3461082770_il2cpp_TypeInfo_var->static_fields)->get_s_Raycasters_0(); return L_0; } } // System.Void UnityEngine.EventSystems.RaycasterManager::RemoveRaycasters(UnityEngine.EventSystems.BaseRaycaster) extern Il2CppClass* RaycasterManager_t3461082770_il2cpp_TypeInfo_var; extern const uint32_t RaycasterManager_RemoveRaycasters_m4290330819_MetadataUsageId; extern "C" void RaycasterManager_RemoveRaycasters_m4290330819 (Il2CppObject * __this /* static, unused */, BaseRaycaster_t3819875680 * ___baseRaycaster0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (RaycasterManager_RemoveRaycasters_m4290330819_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(RaycasterManager_t3461082770_il2cpp_TypeInfo_var); List_1_t321867353 * L_0 = ((RaycasterManager_t3461082770_StaticFields*)RaycasterManager_t3461082770_il2cpp_TypeInfo_var->static_fields)->get_s_Raycasters_0(); BaseRaycaster_t3819875680 * L_1 = ___baseRaycaster0; NullCheck(L_0); bool L_2 = VirtFuncInvoker1< bool, BaseRaycaster_t3819875680 * >::Invoke(24 /* System.Boolean System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseRaycaster>::Contains(!0) */, L_0, L_1); if (L_2) { goto IL_0011; } } { return; } IL_0011: { IL2CPP_RUNTIME_CLASS_INIT(RaycasterManager_t3461082770_il2cpp_TypeInfo_var); List_1_t321867353 * L_3 = ((RaycasterManager_t3461082770_StaticFields*)RaycasterManager_t3461082770_il2cpp_TypeInfo_var->static_fields)->get_s_Raycasters_0(); BaseRaycaster_t3819875680 * L_4 = ___baseRaycaster0; NullCheck(L_3); VirtFuncInvoker1< bool, BaseRaycaster_t3819875680 * >::Invoke(26 /* System.Boolean System.Collections.Generic.List`1<UnityEngine.EventSystems.BaseRaycaster>::Remove(!0) */, L_3, L_4); return; } } // UnityEngine.GameObject UnityEngine.EventSystems.RaycastResult::get_gameObject() extern "C" GameObject_t4012695102 * RaycastResult_get_gameObject_m1138099278 (RaycastResult_t959898689 * __this, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = __this->get_m_GameObject_0(); return L_0; } } // System.Void UnityEngine.EventSystems.RaycastResult::set_gameObject(UnityEngine.GameObject) extern "C" void RaycastResult_set_gameObject_m726369707 (RaycastResult_t959898689 * __this, GameObject_t4012695102 * ___value0, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = ___value0; __this->set_m_GameObject_0(L_0); return; } } // System.Boolean UnityEngine.EventSystems.RaycastResult::get_isValid() extern "C" bool RaycastResult_get_isValid_m3098154392 (RaycastResult_t959898689 * __this, const MethodInfo* method) { int32_t G_B3_0 = 0; { BaseRaycaster_t3819875680 * L_0 = __this->get_module_1(); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001f; } } { GameObject_t4012695102 * L_2 = RaycastResult_get_gameObject_m1138099278(__this, /*hidden argument*/NULL); bool L_3 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_2, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); G_B3_0 = ((int32_t)(L_3)); goto IL_0020; } IL_001f: { G_B3_0 = 0; } IL_0020: { return (bool)G_B3_0; } } // System.Void UnityEngine.EventSystems.RaycastResult::Clear() extern "C" void RaycastResult_Clear_m2117708874 (RaycastResult_t959898689 * __this, const MethodInfo* method) { { RaycastResult_set_gameObject_m726369707(__this, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); __this->set_module_1((BaseRaycaster_t3819875680 *)NULL); __this->set_distance_2((0.0f)); __this->set_index_3((0.0f)); __this->set_depth_4(0); __this->set_sortingLayer_5(0); __this->set_sortingOrder_6(0); Vector3_t3525329789 L_0 = Vector3_get_up_m4046647141(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_worldNormal_8(L_0); Vector3_t3525329789 L_1 = Vector3_get_zero_m2017759730(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_worldPosition_7(L_1); Vector2_t3525329788 L_2 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_screenPosition_9(L_2); return; } } // System.String UnityEngine.EventSystems.RaycastResult::ToString() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectU5BU5D_t11523773_il2cpp_TypeInfo_var; extern Il2CppClass* Single_t958209021_il2cpp_TypeInfo_var; extern Il2CppClass* Int32_t2847414787_il2cpp_TypeInfo_var; extern Il2CppClass* Vector3_t3525329789_il2cpp_TypeInfo_var; extern Il2CppClass* Vector2_t3525329788_il2cpp_TypeInfo_var; extern const MethodInfo* Component_GetComponent_TisCamera_t3533968274_m3804104198_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral2326001425; extern Il2CppCodeGenString* _stringLiteral2796034204; extern Il2CppCodeGenString* _stringLiteral1640035061; extern Il2CppCodeGenString* _stringLiteral1542284645; extern Il2CppCodeGenString* _stringLiteral2191524910; extern Il2CppCodeGenString* _stringLiteral1802825183; extern Il2CppCodeGenString* _stringLiteral2924270645; extern Il2CppCodeGenString* _stringLiteral3953053175; extern Il2CppCodeGenString* _stringLiteral3052841893; extern Il2CppCodeGenString* _stringLiteral1275345218; extern Il2CppCodeGenString* _stringLiteral3579403338; extern Il2CppCodeGenString* _stringLiteral1553512605; extern Il2CppCodeGenString* _stringLiteral388357978; extern const uint32_t RaycastResult_ToString_m2924263764_MetadataUsageId; extern "C" String_t* RaycastResult_ToString_m2924263764 (RaycastResult_t959898689 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (RaycastResult_ToString_m2924263764_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = RaycastResult_get_isValid_m3098154392(__this, /*hidden argument*/NULL); if (L_0) { goto IL_0011; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_1 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); return L_1; } IL_0011: { ObjectU5BU5D_t11523773* L_2 = ((ObjectU5BU5D_t11523773*)SZArrayNew(ObjectU5BU5D_t11523773_il2cpp_TypeInfo_var, (uint32_t)((int32_t)26))); NullCheck(L_2); IL2CPP_ARRAY_BOUNDS_CHECK(L_2, 0); ArrayElementTypeCheck (L_2, _stringLiteral2326001425); (L_2)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)_stringLiteral2326001425); ObjectU5BU5D_t11523773* L_3 = L_2; GameObject_t4012695102 * L_4 = RaycastResult_get_gameObject_m1138099278(__this, /*hidden argument*/NULL); NullCheck(L_3); IL2CPP_ARRAY_BOUNDS_CHECK(L_3, 1); ArrayElementTypeCheck (L_3, L_4); (L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_4); ObjectU5BU5D_t11523773* L_5 = L_3; NullCheck(L_5); IL2CPP_ARRAY_BOUNDS_CHECK(L_5, 2); ArrayElementTypeCheck (L_5, _stringLiteral2796034204); (L_5)->SetAt(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)_stringLiteral2796034204); ObjectU5BU5D_t11523773* L_6 = L_5; BaseRaycaster_t3819875680 * L_7 = __this->get_module_1(); NullCheck(L_6); IL2CPP_ARRAY_BOUNDS_CHECK(L_6, 3); ArrayElementTypeCheck (L_6, L_7); (L_6)->SetAt(static_cast<il2cpp_array_size_t>(3), (Il2CppObject *)L_7); ObjectU5BU5D_t11523773* L_8 = L_6; NullCheck(L_8); IL2CPP_ARRAY_BOUNDS_CHECK(L_8, 4); ArrayElementTypeCheck (L_8, _stringLiteral1640035061); (L_8)->SetAt(static_cast<il2cpp_array_size_t>(4), (Il2CppObject *)_stringLiteral1640035061); ObjectU5BU5D_t11523773* L_9 = L_8; BaseRaycaster_t3819875680 * L_10 = __this->get_module_1(); NullCheck(L_10); Camera_t3533968274 * L_11 = Component_GetComponent_TisCamera_t3533968274_m3804104198(L_10, /*hidden argument*/Component_GetComponent_TisCamera_t3533968274_m3804104198_MethodInfo_var); NullCheck(L_9); IL2CPP_ARRAY_BOUNDS_CHECK(L_9, 5); ArrayElementTypeCheck (L_9, L_11); (L_9)->SetAt(static_cast<il2cpp_array_size_t>(5), (Il2CppObject *)L_11); ObjectU5BU5D_t11523773* L_12 = L_9; NullCheck(L_12); IL2CPP_ARRAY_BOUNDS_CHECK(L_12, 6); ArrayElementTypeCheck (L_12, _stringLiteral1542284645); (L_12)->SetAt(static_cast<il2cpp_array_size_t>(6), (Il2CppObject *)_stringLiteral1542284645); ObjectU5BU5D_t11523773* L_13 = L_12; float L_14 = __this->get_distance_2(); float L_15 = L_14; Il2CppObject * L_16 = Box(Single_t958209021_il2cpp_TypeInfo_var, &L_15); NullCheck(L_13); IL2CPP_ARRAY_BOUNDS_CHECK(L_13, 7); ArrayElementTypeCheck (L_13, L_16); (L_13)->SetAt(static_cast<il2cpp_array_size_t>(7), (Il2CppObject *)L_16); ObjectU5BU5D_t11523773* L_17 = L_13; NullCheck(L_17); IL2CPP_ARRAY_BOUNDS_CHECK(L_17, 8); ArrayElementTypeCheck (L_17, _stringLiteral2191524910); (L_17)->SetAt(static_cast<il2cpp_array_size_t>(8), (Il2CppObject *)_stringLiteral2191524910); ObjectU5BU5D_t11523773* L_18 = L_17; float L_19 = __this->get_index_3(); float L_20 = L_19; Il2CppObject * L_21 = Box(Single_t958209021_il2cpp_TypeInfo_var, &L_20); NullCheck(L_18); IL2CPP_ARRAY_BOUNDS_CHECK(L_18, ((int32_t)9)); ArrayElementTypeCheck (L_18, L_21); (L_18)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)9)), (Il2CppObject *)L_21); ObjectU5BU5D_t11523773* L_22 = L_18; NullCheck(L_22); IL2CPP_ARRAY_BOUNDS_CHECK(L_22, ((int32_t)10)); ArrayElementTypeCheck (L_22, _stringLiteral1802825183); (L_22)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)10)), (Il2CppObject *)_stringLiteral1802825183); ObjectU5BU5D_t11523773* L_23 = L_22; int32_t L_24 = __this->get_depth_4(); int32_t L_25 = L_24; Il2CppObject * L_26 = Box(Int32_t2847414787_il2cpp_TypeInfo_var, &L_25); NullCheck(L_23); IL2CPP_ARRAY_BOUNDS_CHECK(L_23, ((int32_t)11)); ArrayElementTypeCheck (L_23, L_26); (L_23)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)11)), (Il2CppObject *)L_26); ObjectU5BU5D_t11523773* L_27 = L_23; NullCheck(L_27); IL2CPP_ARRAY_BOUNDS_CHECK(L_27, ((int32_t)12)); ArrayElementTypeCheck (L_27, _stringLiteral2924270645); (L_27)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)12)), (Il2CppObject *)_stringLiteral2924270645); ObjectU5BU5D_t11523773* L_28 = L_27; Vector3_t3525329789 L_29 = __this->get_worldNormal_8(); Vector3_t3525329789 L_30 = L_29; Il2CppObject * L_31 = Box(Vector3_t3525329789_il2cpp_TypeInfo_var, &L_30); NullCheck(L_28); IL2CPP_ARRAY_BOUNDS_CHECK(L_28, ((int32_t)13)); ArrayElementTypeCheck (L_28, L_31); (L_28)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)13)), (Il2CppObject *)L_31); ObjectU5BU5D_t11523773* L_32 = L_28; NullCheck(L_32); IL2CPP_ARRAY_BOUNDS_CHECK(L_32, ((int32_t)14)); ArrayElementTypeCheck (L_32, _stringLiteral3953053175); (L_32)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)14)), (Il2CppObject *)_stringLiteral3953053175); ObjectU5BU5D_t11523773* L_33 = L_32; Vector3_t3525329789 L_34 = __this->get_worldPosition_7(); Vector3_t3525329789 L_35 = L_34; Il2CppObject * L_36 = Box(Vector3_t3525329789_il2cpp_TypeInfo_var, &L_35); NullCheck(L_33); IL2CPP_ARRAY_BOUNDS_CHECK(L_33, ((int32_t)15)); ArrayElementTypeCheck (L_33, L_36); (L_33)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)15)), (Il2CppObject *)L_36); ObjectU5BU5D_t11523773* L_37 = L_33; NullCheck(L_37); IL2CPP_ARRAY_BOUNDS_CHECK(L_37, ((int32_t)16)); ArrayElementTypeCheck (L_37, _stringLiteral3052841893); (L_37)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)16)), (Il2CppObject *)_stringLiteral3052841893); ObjectU5BU5D_t11523773* L_38 = L_37; Vector2_t3525329788 L_39 = __this->get_screenPosition_9(); Vector2_t3525329788 L_40 = L_39; Il2CppObject * L_41 = Box(Vector2_t3525329788_il2cpp_TypeInfo_var, &L_40); NullCheck(L_38); IL2CPP_ARRAY_BOUNDS_CHECK(L_38, ((int32_t)17)); ArrayElementTypeCheck (L_38, L_41); (L_38)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)17)), (Il2CppObject *)L_41); ObjectU5BU5D_t11523773* L_42 = L_38; NullCheck(L_42); IL2CPP_ARRAY_BOUNDS_CHECK(L_42, ((int32_t)18)); ArrayElementTypeCheck (L_42, _stringLiteral1275345218); (L_42)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)18)), (Il2CppObject *)_stringLiteral1275345218); ObjectU5BU5D_t11523773* L_43 = L_42; BaseRaycaster_t3819875680 * L_44 = __this->get_module_1(); NullCheck(L_44); int32_t L_45 = VirtFuncInvoker0< int32_t >::Invoke(19 /* System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_sortOrderPriority() */, L_44); int32_t L_46 = L_45; Il2CppObject * L_47 = Box(Int32_t2847414787_il2cpp_TypeInfo_var, &L_46); NullCheck(L_43); IL2CPP_ARRAY_BOUNDS_CHECK(L_43, ((int32_t)19)); ArrayElementTypeCheck (L_43, L_47); (L_43)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)19)), (Il2CppObject *)L_47); ObjectU5BU5D_t11523773* L_48 = L_43; NullCheck(L_48); IL2CPP_ARRAY_BOUNDS_CHECK(L_48, ((int32_t)20)); ArrayElementTypeCheck (L_48, _stringLiteral3579403338); (L_48)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)20)), (Il2CppObject *)_stringLiteral3579403338); ObjectU5BU5D_t11523773* L_49 = L_48; BaseRaycaster_t3819875680 * L_50 = __this->get_module_1(); NullCheck(L_50); int32_t L_51 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 UnityEngine.EventSystems.BaseRaycaster::get_renderOrderPriority() */, L_50); int32_t L_52 = L_51; Il2CppObject * L_53 = Box(Int32_t2847414787_il2cpp_TypeInfo_var, &L_52); NullCheck(L_49); IL2CPP_ARRAY_BOUNDS_CHECK(L_49, ((int32_t)21)); ArrayElementTypeCheck (L_49, L_53); (L_49)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)21)), (Il2CppObject *)L_53); ObjectU5BU5D_t11523773* L_54 = L_49; NullCheck(L_54); IL2CPP_ARRAY_BOUNDS_CHECK(L_54, ((int32_t)22)); ArrayElementTypeCheck (L_54, _stringLiteral1553512605); (L_54)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)22)), (Il2CppObject *)_stringLiteral1553512605); ObjectU5BU5D_t11523773* L_55 = L_54; int32_t L_56 = __this->get_sortingLayer_5(); int32_t L_57 = L_56; Il2CppObject * L_58 = Box(Int32_t2847414787_il2cpp_TypeInfo_var, &L_57); NullCheck(L_55); IL2CPP_ARRAY_BOUNDS_CHECK(L_55, ((int32_t)23)); ArrayElementTypeCheck (L_55, L_58); (L_55)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)23)), (Il2CppObject *)L_58); ObjectU5BU5D_t11523773* L_59 = L_55; NullCheck(L_59); IL2CPP_ARRAY_BOUNDS_CHECK(L_59, ((int32_t)24)); ArrayElementTypeCheck (L_59, _stringLiteral388357978); (L_59)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)24)), (Il2CppObject *)_stringLiteral388357978); ObjectU5BU5D_t11523773* L_60 = L_59; int32_t L_61 = __this->get_sortingOrder_6(); int32_t L_62 = L_61; Il2CppObject * L_63 = Box(Int32_t2847414787_il2cpp_TypeInfo_var, &L_62); NullCheck(L_60); IL2CPP_ARRAY_BOUNDS_CHECK(L_60, ((int32_t)25)); ArrayElementTypeCheck (L_60, L_63); (L_60)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)25)), (Il2CppObject *)L_63); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_64 = String_Concat_m3016520001(NULL /*static, unused*/, L_60, /*hidden argument*/NULL); return L_64; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::.ctor() extern Il2CppCodeGenString* _stringLiteral3381094468; extern Il2CppCodeGenString* _stringLiteral2375469974; extern Il2CppCodeGenString* _stringLiteral2487299128; extern Il2CppCodeGenString* _stringLiteral2011110042; extern const uint32_t StandaloneInputModule__ctor_m3585261844_MetadataUsageId; extern "C" void StandaloneInputModule__ctor_m3585261844 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule__ctor_m3585261844_MetadataUsageId); s_Il2CppMethodIntialized = true; } { __this->set_m_HorizontalAxis_17(_stringLiteral3381094468); __this->set_m_VerticalAxis_18(_stringLiteral2375469974); __this->set_m_SubmitButton_19(_stringLiteral2487299128); __this->set_m_CancelButton_20(_stringLiteral2011110042); __this->set_m_InputActionsPerSecond_21((10.0f)); __this->set_m_RepeatDelay_22((0.5f)); PointerInputModule__ctor_m2748126408(__this, /*hidden argument*/NULL); return; } } // UnityEngine.EventSystems.StandaloneInputModule/InputMode UnityEngine.EventSystems.StandaloneInputModule::get_inputMode() extern "C" int32_t StandaloneInputModule_get_inputMode_m3683217473 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { { return (int32_t)(0); } } // System.Boolean UnityEngine.EventSystems.StandaloneInputModule::get_allowActivationOnMobileDevice() extern "C" bool StandaloneInputModule_get_allowActivationOnMobileDevice_m898677649 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_ForceModuleActive_23(); return L_0; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::set_allowActivationOnMobileDevice(System.Boolean) extern "C" void StandaloneInputModule_set_allowActivationOnMobileDevice_m2716306402 (StandaloneInputModule_t3152099756 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_ForceModuleActive_23(L_0); return; } } // System.Boolean UnityEngine.EventSystems.StandaloneInputModule::get_forceModuleActive() extern "C" bool StandaloneInputModule_get_forceModuleActive_m4263603128 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_ForceModuleActive_23(); return L_0; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::set_forceModuleActive(System.Boolean) extern "C" void StandaloneInputModule_set_forceModuleActive_m2821456585 (StandaloneInputModule_t3152099756 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_ForceModuleActive_23(L_0); return; } } // System.Single UnityEngine.EventSystems.StandaloneInputModule::get_inputActionsPerSecond() extern "C" float StandaloneInputModule_get_inputActionsPerSecond_m386579003 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_InputActionsPerSecond_21(); return L_0; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::set_inputActionsPerSecond(System.Single) extern "C" void StandaloneInputModule_set_inputActionsPerSecond_m3962672568 (StandaloneInputModule_t3152099756 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_InputActionsPerSecond_21(L_0); return; } } // System.Single UnityEngine.EventSystems.StandaloneInputModule::get_repeatDelay() extern "C" float StandaloneInputModule_get_repeatDelay_m756347909 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_RepeatDelay_22(); return L_0; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::set_repeatDelay(System.Single) extern "C" void StandaloneInputModule_set_repeatDelay_m3283777070 (StandaloneInputModule_t3152099756 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_RepeatDelay_22(L_0); return; } } // System.String UnityEngine.EventSystems.StandaloneInputModule::get_horizontalAxis() extern "C" String_t* StandaloneInputModule_get_horizontalAxis_m4124505505 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_m_HorizontalAxis_17(); return L_0; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::set_horizontalAxis(System.String) extern "C" void StandaloneInputModule_set_horizontalAxis_m1994117648 (StandaloneInputModule_t3152099756 * __this, String_t* ___value0, const MethodInfo* method) { { String_t* L_0 = ___value0; __this->set_m_HorizontalAxis_17(L_0); return; } } // System.String UnityEngine.EventSystems.StandaloneInputModule::get_verticalAxis() extern "C" String_t* StandaloneInputModule_get_verticalAxis_m828001843 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_m_VerticalAxis_18(); return L_0; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::set_verticalAxis(System.String) extern "C" void StandaloneInputModule_set_verticalAxis_m3009801854 (StandaloneInputModule_t3152099756 * __this, String_t* ___value0, const MethodInfo* method) { { String_t* L_0 = ___value0; __this->set_m_VerticalAxis_18(L_0); return; } } // System.String UnityEngine.EventSystems.StandaloneInputModule::get_submitButton() extern "C" String_t* StandaloneInputModule_get_submitButton_m1573295782 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_m_SubmitButton_19(); return L_0; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::set_submitButton(System.String) extern "C" void StandaloneInputModule_set_submitButton_m3989846251 (StandaloneInputModule_t3152099756 * __this, String_t* ___value0, const MethodInfo* method) { { String_t* L_0 = ___value0; __this->set_m_SubmitButton_19(L_0); return; } } // System.String UnityEngine.EventSystems.StandaloneInputModule::get_cancelButton() extern "C" String_t* StandaloneInputModule_get_cancelButton_m3049849608 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_m_CancelButton_20(); return L_0; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::set_cancelButton(System.String) extern "C" void StandaloneInputModule_set_cancelButton_m822377417 (StandaloneInputModule_t3152099756 * __this, String_t* ___value0, const MethodInfo* method) { { String_t* L_0 = ___value0; __this->set_m_CancelButton_20(L_0); return; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::UpdateModule() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t StandaloneInputModule_UpdateModule_m4260747781_MetadataUsageId; extern "C" void StandaloneInputModule_UpdateModule_m4260747781 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule_UpdateModule_m4260747781_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Vector2_t3525329788 L_0 = __this->get_m_MousePosition_16(); __this->set_m_LastMousePosition_15(L_0); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); Vector3_t3525329789 L_1 = Input_get_mousePosition_m4020233228(NULL /*static, unused*/, /*hidden argument*/NULL); Vector2_t3525329788 L_2 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); __this->set_m_MousePosition_16(L_2); return; } } // System.Boolean UnityEngine.EventSystems.StandaloneInputModule::IsModuleSupported() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t StandaloneInputModule_IsModuleSupported_m1519744700_MetadataUsageId; extern "C" bool StandaloneInputModule_IsModuleSupported_m1519744700 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule_IsModuleSupported_m1519744700_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t G_B4_0 = 0; { bool L_0 = __this->get_m_ForceModuleActive_23(); if (L_0) { goto IL_001c; } } { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_1 = Input_get_mousePresent_m3235491246(NULL /*static, unused*/, /*hidden argument*/NULL); if (L_1) { goto IL_001c; } } { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_2 = Input_get_touchSupported_m634162567(NULL /*static, unused*/, /*hidden argument*/NULL); G_B4_0 = ((int32_t)(L_2)); goto IL_001d; } IL_001c: { G_B4_0 = 1; } IL_001d: { return (bool)G_B4_0; } } // System.Boolean UnityEngine.EventSystems.StandaloneInputModule::ShouldActivateModule() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t StandaloneInputModule_ShouldActivateModule_m3115394256_MetadataUsageId; extern "C" bool StandaloneInputModule_ShouldActivateModule_m3115394256 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule_ShouldActivateModule_m3115394256_MetadataUsageId); s_Il2CppMethodIntialized = true; } bool V_0 = false; Vector2_t3525329788 V_1; memset(&V_1, 0, sizeof(V_1)); { bool L_0 = BaseInputModule_ShouldActivateModule_m222600132(__this, /*hidden argument*/NULL); if (L_0) { goto IL_000d; } } { return (bool)0; } IL_000d: { bool L_1 = __this->get_m_ForceModuleActive_23(); V_0 = L_1; bool L_2 = V_0; String_t* L_3 = __this->get_m_SubmitButton_19(); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_4 = Input_GetButtonDown_m1879002085(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); V_0 = (bool)((int32_t)((int32_t)L_2|(int32_t)L_4)); bool L_5 = V_0; String_t* L_6 = __this->get_m_CancelButton_20(); bool L_7 = Input_GetButtonDown_m1879002085(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); V_0 = (bool)((int32_t)((int32_t)L_5|(int32_t)L_7)); bool L_8 = V_0; String_t* L_9 = __this->get_m_HorizontalAxis_17(); float L_10 = Input_GetAxisRaw_m1900207208(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); bool L_11 = Mathf_Approximately_m1395529776(NULL /*static, unused*/, L_10, (0.0f), /*hidden argument*/NULL); V_0 = (bool)((int32_t)((int32_t)L_8|(int32_t)((((int32_t)L_11) == ((int32_t)0))? 1 : 0))); bool L_12 = V_0; String_t* L_13 = __this->get_m_VerticalAxis_18(); float L_14 = Input_GetAxisRaw_m1900207208(NULL /*static, unused*/, L_13, /*hidden argument*/NULL); bool L_15 = Mathf_Approximately_m1395529776(NULL /*static, unused*/, L_14, (0.0f), /*hidden argument*/NULL); V_0 = (bool)((int32_t)((int32_t)L_12|(int32_t)((((int32_t)L_15) == ((int32_t)0))? 1 : 0))); bool L_16 = V_0; Vector2_t3525329788 L_17 = __this->get_m_MousePosition_16(); Vector2_t3525329788 L_18 = __this->get_m_LastMousePosition_15(); Vector2_t3525329788 L_19 = Vector2_op_Subtraction_m2097149401(NULL /*static, unused*/, L_17, L_18, /*hidden argument*/NULL); V_1 = L_19; float L_20 = Vector2_get_sqrMagnitude_m996072851((&V_1), /*hidden argument*/NULL); V_0 = (bool)((int32_t)((int32_t)L_16|(int32_t)((((float)L_20) > ((float)(0.0f)))? 1 : 0))); bool L_21 = V_0; bool L_22 = Input_GetMouseButtonDown_m2031691843(NULL /*static, unused*/, 0, /*hidden argument*/NULL); V_0 = (bool)((int32_t)((int32_t)L_21|(int32_t)L_22)); int32_t L_23 = Input_get_touchCount_m1430909390(NULL /*static, unused*/, /*hidden argument*/NULL); if ((((int32_t)L_23) <= ((int32_t)0))) { goto IL_009f; } } { V_0 = (bool)1; } IL_009f: { bool L_24 = V_0; return L_24; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::ActivateModule() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t StandaloneInputModule_ActivateModule_m1130429551_MetadataUsageId; extern "C" void StandaloneInputModule_ActivateModule_m1130429551 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule_ActivateModule_m1130429551_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; { BaseInputModule_ActivateModule_m1091790819(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); Vector3_t3525329789 L_0 = Input_get_mousePosition_m4020233228(NULL /*static, unused*/, /*hidden argument*/NULL); Vector2_t3525329788 L_1 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); __this->set_m_MousePosition_16(L_1); Vector3_t3525329789 L_2 = Input_get_mousePosition_m4020233228(NULL /*static, unused*/, /*hidden argument*/NULL); Vector2_t3525329788 L_3 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); __this->set_m_LastMousePosition_15(L_3); EventSystem_t409518532 * L_4 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); NullCheck(L_4); GameObject_t4012695102 * L_5 = EventSystem_get_currentSelectedGameObject_m4236083783(L_4, /*hidden argument*/NULL); V_0 = L_5; GameObject_t4012695102 * L_6 = V_0; bool L_7 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_6, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_7) { goto IL_004a; } } { EventSystem_t409518532 * L_8 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); NullCheck(L_8); GameObject_t4012695102 * L_9 = EventSystem_get_firstSelectedGameObject_m540473918(L_8, /*hidden argument*/NULL); V_0 = L_9; } IL_004a: { EventSystem_t409518532 * L_10 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); GameObject_t4012695102 * L_11 = V_0; BaseEventData_t3547103726 * L_12 = VirtFuncInvoker0< BaseEventData_t3547103726 * >::Invoke(18 /* UnityEngine.EventSystems.BaseEventData UnityEngine.EventSystems.BaseInputModule::GetBaseEventData() */, __this); NullCheck(L_10); EventSystem_SetSelectedGameObject_m2116591616(L_10, L_11, L_12, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::DeactivateModule() extern "C" void StandaloneInputModule_DeactivateModule_m1049634608 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { { BaseInputModule_DeactivateModule_m2572518820(__this, /*hidden argument*/NULL); PointerInputModule_ClearSelection_m1490775995(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::Process() extern "C" void StandaloneInputModule_Process_m3720469665 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { bool V_0 = false; { bool L_0 = StandaloneInputModule_SendUpdateEventToSelectedObject_m1730287810(__this, /*hidden argument*/NULL); V_0 = L_0; EventSystem_t409518532 * L_1 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); NullCheck(L_1); bool L_2 = EventSystem_get_sendNavigationEvents_m2758658484(L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_0033; } } { bool L_3 = V_0; if (L_3) { goto IL_0026; } } { bool L_4 = V_0; bool L_5 = StandaloneInputModule_SendMoveEventToSelectedObject_m439066490(__this, /*hidden argument*/NULL); V_0 = (bool)((int32_t)((int32_t)L_4|(int32_t)L_5)); } IL_0026: { bool L_6 = V_0; if (L_6) { goto IL_0033; } } { StandaloneInputModule_SendSubmitEventToSelectedObject_m2183743635(__this, /*hidden argument*/NULL); } IL_0033: { bool L_7 = StandaloneInputModule_ProcessTouchEvents_m3567487943(__this, /*hidden argument*/NULL); if (L_7) { goto IL_0044; } } { StandaloneInputModule_ProcessMouseEvent_m2927305846(__this, /*hidden argument*/NULL); } IL_0044: { return; } } // System.Boolean UnityEngine.EventSystems.StandaloneInputModule::ProcessTouchEvents() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t StandaloneInputModule_ProcessTouchEvents_m3567487943_MetadataUsageId; extern "C" bool StandaloneInputModule_ProcessTouchEvents_m3567487943 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule_ProcessTouchEvents_m3567487943_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; Touch_t1603883884 V_1; memset(&V_1, 0, sizeof(V_1)); bool V_2 = false; bool V_3 = false; PointerEventData_t3205101634 * V_4 = NULL; { V_0 = 0; goto IL_005e; } IL_0007: { int32_t L_0 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); Touch_t1603883884 L_1 = Input_GetTouch_m2282421092(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_1 = L_1; int32_t L_2 = Touch_get_type_m1428398012((&V_1), /*hidden argument*/NULL); if ((!(((uint32_t)L_2) == ((uint32_t)1)))) { goto IL_0020; } } { goto IL_005a; } IL_0020: { Touch_t1603883884 L_3 = V_1; PointerEventData_t3205101634 * L_4 = PointerInputModule_GetTouchPointerEventData_m2194758459(__this, L_3, (&V_3), (&V_2), /*hidden argument*/NULL); V_4 = L_4; PointerEventData_t3205101634 * L_5 = V_4; bool L_6 = V_3; bool L_7 = V_2; StandaloneInputModule_ProcessTouchPress_m2953705401(__this, L_5, L_6, L_7, /*hidden argument*/NULL); bool L_8 = V_2; if (L_8) { goto IL_0052; } } { PointerEventData_t3205101634 * L_9 = V_4; VirtActionInvoker1< PointerEventData_t3205101634 * >::Invoke(27 /* System.Void UnityEngine.EventSystems.PointerInputModule::ProcessMove(UnityEngine.EventSystems.PointerEventData) */, __this, L_9); PointerEventData_t3205101634 * L_10 = V_4; VirtActionInvoker1< PointerEventData_t3205101634 * >::Invoke(28 /* System.Void UnityEngine.EventSystems.PointerInputModule::ProcessDrag(UnityEngine.EventSystems.PointerEventData) */, __this, L_10); goto IL_005a; } IL_0052: { PointerEventData_t3205101634 * L_11 = V_4; PointerInputModule_RemovePointerData_m3101459861(__this, L_11, /*hidden argument*/NULL); } IL_005a: { int32_t L_12 = V_0; V_0 = ((int32_t)((int32_t)L_12+(int32_t)1)); } IL_005e: { int32_t L_13 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); int32_t L_14 = Input_get_touchCount_m1430909390(NULL /*static, unused*/, /*hidden argument*/NULL); if ((((int32_t)L_13) < ((int32_t)L_14))) { goto IL_0007; } } { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); int32_t L_15 = Input_get_touchCount_m1430909390(NULL /*static, unused*/, /*hidden argument*/NULL); return (bool)((((int32_t)L_15) > ((int32_t)0))? 1 : 0); } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::ProcessTouchPress(UnityEngine.EventSystems.PointerEventData,System.Boolean,System.Boolean) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ExecuteHierarchy_TisIPointerDownHandler_t1329431151_m1903343784_MethodInfo_var; extern const MethodInfo* ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237_MethodInfo_var; extern const MethodInfo* ExecuteEvents_GetEventHandler_TisIDragHandler_t3145479144_m1708367342_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIInitializePotentialDragHandler_t922544972_m2010514245_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIPointerClickHandler_t2630585585_m109846530_MethodInfo_var; extern const MethodInfo* ExecuteEvents_ExecuteHierarchy_TisIDropHandler_t2116344269_m4226213918_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560_MethodInfo_var; extern const MethodInfo* ExecuteEvents_ExecuteHierarchy_TisIPointerExitHandler_t3460311667_m2236465836_MethodInfo_var; extern const uint32_t StandaloneInputModule_ProcessTouchPress_m2953705401_MetadataUsageId; extern "C" void StandaloneInputModule_ProcessTouchPress_m2953705401 (StandaloneInputModule_t3152099756 * __this, PointerEventData_t3205101634 * ___pointerEvent0, bool ___pressed1, bool ___released2, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule_ProcessTouchPress_m2953705401_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; GameObject_t4012695102 * V_1 = NULL; float V_2 = 0.0f; float V_3 = 0.0f; GameObject_t4012695102 * V_4 = NULL; RaycastResult_t959898689 V_5; memset(&V_5, 0, sizeof(V_5)); { PointerEventData_t3205101634 * L_0 = ___pointerEvent0; NullCheck(L_0); RaycastResult_t959898689 L_1 = PointerEventData_get_pointerCurrentRaycast_m874132826(L_0, /*hidden argument*/NULL); V_5 = L_1; GameObject_t4012695102 * L_2 = RaycastResult_get_gameObject_m1138099278((&V_5), /*hidden argument*/NULL); V_0 = L_2; bool L_3 = ___pressed1; if (!L_3) { goto IL_0132; } } { PointerEventData_t3205101634 * L_4 = ___pointerEvent0; NullCheck(L_4); PointerEventData_set_eligibleForClick_m4124670100(L_4, (bool)1, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_5 = ___pointerEvent0; Vector2_t3525329788 L_6 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_5); PointerEventData_set_delta_m3480102791(L_5, L_6, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_7 = ___pointerEvent0; NullCheck(L_7); PointerEventData_set_dragging_m1730892973(L_7, (bool)0, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_8 = ___pointerEvent0; NullCheck(L_8); PointerEventData_set_useDragThreshold_m2530254510(L_8, (bool)1, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_9 = ___pointerEvent0; PointerEventData_t3205101634 * L_10 = ___pointerEvent0; NullCheck(L_10); Vector2_t3525329788 L_11 = PointerEventData_get_position_m2263123361(L_10, /*hidden argument*/NULL); NullCheck(L_9); PointerEventData_set_pressPosition_m3056630579(L_9, L_11, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_12 = ___pointerEvent0; PointerEventData_t3205101634 * L_13 = ___pointerEvent0; NullCheck(L_13); RaycastResult_t959898689 L_14 = PointerEventData_get_pointerCurrentRaycast_m874132826(L_13, /*hidden argument*/NULL); NullCheck(L_12); PointerEventData_set_pointerPressRaycast_m126348485(L_12, L_14, /*hidden argument*/NULL); GameObject_t4012695102 * L_15 = V_0; PointerEventData_t3205101634 * L_16 = ___pointerEvent0; PointerInputModule_DeselectIfSelectionChanged_m522880394(__this, L_15, L_16, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_17 = ___pointerEvent0; NullCheck(L_17); GameObject_t4012695102 * L_18 = PointerEventData_get_pointerEnter_m1754340511(L_17, /*hidden argument*/NULL); GameObject_t4012695102 * L_19 = V_0; bool L_20 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_18, L_19, /*hidden argument*/NULL); if (!L_20) { goto IL_0076; } } { PointerEventData_t3205101634 * L_21 = ___pointerEvent0; GameObject_t4012695102 * L_22 = V_0; BaseInputModule_HandlePointerExitAndEnter_m779127058(__this, L_21, L_22, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_23 = ___pointerEvent0; GameObject_t4012695102 * L_24 = V_0; NullCheck(L_23); PointerEventData_set_pointerEnter_m3909544698(L_23, L_24, /*hidden argument*/NULL); } IL_0076: { GameObject_t4012695102 * L_25 = V_0; PointerEventData_t3205101634 * L_26 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t82727615 * L_27 = ExecuteEvents_get_pointerDownHandler_m916646952(NULL /*static, unused*/, /*hidden argument*/NULL); GameObject_t4012695102 * L_28 = ExecuteEvents_ExecuteHierarchy_TisIPointerDownHandler_t1329431151_m1903343784(NULL /*static, unused*/, L_25, L_26, L_27, /*hidden argument*/ExecuteEvents_ExecuteHierarchy_TisIPointerDownHandler_t1329431151_m1903343784_MethodInfo_var); V_1 = L_28; GameObject_t4012695102 * L_29 = V_1; bool L_30 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_29, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_30) { goto IL_0096; } } { GameObject_t4012695102 * L_31 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); GameObject_t4012695102 * L_32 = ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237(NULL /*static, unused*/, L_31, /*hidden argument*/ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237_MethodInfo_var); V_1 = L_32; } IL_0096: { float L_33 = Time_get_unscaledTime_m319114521(NULL /*static, unused*/, /*hidden argument*/NULL); V_2 = L_33; GameObject_t4012695102 * L_34 = V_1; PointerEventData_t3205101634 * L_35 = ___pointerEvent0; NullCheck(L_35); GameObject_t4012695102 * L_36 = PointerEventData_get_lastPress_m3682396203(L_35, /*hidden argument*/NULL); bool L_37 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_34, L_36, /*hidden argument*/NULL); if (!L_37) { goto IL_00e7; } } { float L_38 = V_2; PointerEventData_t3205101634 * L_39 = ___pointerEvent0; NullCheck(L_39); float L_40 = PointerEventData_get_clickTime_m2529670096(L_39, /*hidden argument*/NULL); V_3 = ((float)((float)L_38-(float)L_40)); float L_41 = V_3; if ((!(((float)L_41) < ((float)(0.3f))))) { goto IL_00d4; } } { PointerEventData_t3205101634 * L_42 = ___pointerEvent0; PointerEventData_t3205101634 * L_43 = L_42; NullCheck(L_43); int32_t L_44 = PointerEventData_get_clickCount_m341347570(L_43, /*hidden argument*/NULL); NullCheck(L_43); PointerEventData_set_clickCount_m2279104927(L_43, ((int32_t)((int32_t)L_44+(int32_t)1)), /*hidden argument*/NULL); goto IL_00db; } IL_00d4: { PointerEventData_t3205101634 * L_45 = ___pointerEvent0; NullCheck(L_45); PointerEventData_set_clickCount_m2279104927(L_45, 1, /*hidden argument*/NULL); } IL_00db: { PointerEventData_t3205101634 * L_46 = ___pointerEvent0; float L_47 = V_2; NullCheck(L_46); PointerEventData_set_clickTime_m3487651291(L_46, L_47, /*hidden argument*/NULL); goto IL_00ee; } IL_00e7: { PointerEventData_t3205101634 * L_48 = ___pointerEvent0; NullCheck(L_48); PointerEventData_set_clickCount_m2279104927(L_48, 1, /*hidden argument*/NULL); } IL_00ee: { PointerEventData_t3205101634 * L_49 = ___pointerEvent0; GameObject_t4012695102 * L_50 = V_1; NullCheck(L_49); PointerEventData_set_pointerPress_m3037509477(L_49, L_50, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_51 = ___pointerEvent0; GameObject_t4012695102 * L_52 = V_0; NullCheck(L_51); PointerEventData_set_rawPointerPress_m505214625(L_51, L_52, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_53 = ___pointerEvent0; float L_54 = V_2; NullCheck(L_53); PointerEventData_set_clickTime_m3487651291(L_53, L_54, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_55 = ___pointerEvent0; GameObject_t4012695102 * L_56 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); GameObject_t4012695102 * L_57 = ExecuteEvents_GetEventHandler_TisIDragHandler_t3145479144_m1708367342(NULL /*static, unused*/, L_56, /*hidden argument*/ExecuteEvents_GetEventHandler_TisIDragHandler_t3145479144_m1708367342_MethodInfo_var); NullCheck(L_55); PointerEventData_set_pointerDrag_m1194168164(L_55, L_57, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_58 = ___pointerEvent0; NullCheck(L_58); GameObject_t4012695102 * L_59 = PointerEventData_get_pointerDrag_m2109300143(L_58, /*hidden argument*/NULL); bool L_60 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_59, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_60) { goto IL_0132; } } { PointerEventData_t3205101634 * L_61 = ___pointerEvent0; NullCheck(L_61); GameObject_t4012695102 * L_62 = PointerEventData_get_pointerDrag_m2109300143(L_61, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_63 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t3970808732 * L_64 = ExecuteEvents_get_initializePotentialDrag_m3514083626(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIInitializePotentialDragHandler_t922544972_m2010514245(NULL /*static, unused*/, L_62, L_63, L_64, /*hidden argument*/ExecuteEvents_Execute_TisIInitializePotentialDragHandler_t922544972_m2010514245_MethodInfo_var); } IL_0132: { bool L_65 = ___released2; if (!L_65) { goto IL_0243; } } { PointerEventData_t3205101634 * L_66 = ___pointerEvent0; NullCheck(L_66); GameObject_t4012695102 * L_67 = PointerEventData_get_pointerPress_m3028028234(L_66, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_68 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t899770790 * L_69 = ExecuteEvents_get_pointerUpHandler_m1834169334(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071(NULL /*static, unused*/, L_67, L_68, L_69, /*hidden argument*/ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071_MethodInfo_var); GameObject_t4012695102 * L_70 = V_0; GameObject_t4012695102 * L_71 = ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237(NULL /*static, unused*/, L_70, /*hidden argument*/ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237_MethodInfo_var); V_4 = L_71; PointerEventData_t3205101634 * L_72 = ___pointerEvent0; NullCheck(L_72); GameObject_t4012695102 * L_73 = PointerEventData_get_pointerPress_m3028028234(L_72, /*hidden argument*/NULL); GameObject_t4012695102 * L_74 = V_4; bool L_75 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_73, L_74, /*hidden argument*/NULL); if (!L_75) { goto IL_0186; } } { PointerEventData_t3205101634 * L_76 = ___pointerEvent0; NullCheck(L_76); bool L_77 = PointerEventData_get_eligibleForClick_m804806107(L_76, /*hidden argument*/NULL); if (!L_77) { goto IL_0186; } } { PointerEventData_t3205101634 * L_78 = ___pointerEvent0; NullCheck(L_78); GameObject_t4012695102 * L_79 = PointerEventData_get_pointerPress_m3028028234(L_78, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_80 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1383882049 * L_81 = ExecuteEvents_get_pointerClickHandler_m2881872730(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIPointerClickHandler_t2630585585_m109846530(NULL /*static, unused*/, L_79, L_80, L_81, /*hidden argument*/ExecuteEvents_Execute_TisIPointerClickHandler_t2630585585_m109846530_MethodInfo_var); goto IL_01af; } IL_0186: { PointerEventData_t3205101634 * L_82 = ___pointerEvent0; NullCheck(L_82); GameObject_t4012695102 * L_83 = PointerEventData_get_pointerDrag_m2109300143(L_82, /*hidden argument*/NULL); bool L_84 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_83, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_84) { goto IL_01af; } } { PointerEventData_t3205101634 * L_85 = ___pointerEvent0; NullCheck(L_85); bool L_86 = PointerEventData_get_dragging_m3319220148(L_85, /*hidden argument*/NULL); if (!L_86) { goto IL_01af; } } { GameObject_t4012695102 * L_87 = V_0; PointerEventData_t3205101634 * L_88 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t869640733 * L_89 = ExecuteEvents_get_dropHandler_m1933111770(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_ExecuteHierarchy_TisIDropHandler_t2116344269_m4226213918(NULL /*static, unused*/, L_87, L_88, L_89, /*hidden argument*/ExecuteEvents_ExecuteHierarchy_TisIDropHandler_t2116344269_m4226213918_MethodInfo_var); } IL_01af: { PointerEventData_t3205101634 * L_90 = ___pointerEvent0; NullCheck(L_90); PointerEventData_set_eligibleForClick_m4124670100(L_90, (bool)0, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_91 = ___pointerEvent0; NullCheck(L_91); PointerEventData_set_pointerPress_m3037509477(L_91, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_92 = ___pointerEvent0; NullCheck(L_92); PointerEventData_set_rawPointerPress_m505214625(L_92, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_93 = ___pointerEvent0; NullCheck(L_93); GameObject_t4012695102 * L_94 = PointerEventData_get_pointerDrag_m2109300143(L_93, /*hidden argument*/NULL); bool L_95 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_94, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_95) { goto IL_01f2; } } { PointerEventData_t3205101634 * L_96 = ___pointerEvent0; NullCheck(L_96); bool L_97 = PointerEventData_get_dragging_m3319220148(L_96, /*hidden argument*/NULL); if (!L_97) { goto IL_01f2; } } { PointerEventData_t3205101634 * L_98 = ___pointerEvent0; NullCheck(L_98); GameObject_t4012695102 * L_99 = PointerEventData_get_pointerDrag_m2109300143(L_98, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_100 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1032774927 * L_101 = ExecuteEvents_get_endDragHandler_m811393096(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560(NULL /*static, unused*/, L_99, L_100, L_101, /*hidden argument*/ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560_MethodInfo_var); } IL_01f2: { PointerEventData_t3205101634 * L_102 = ___pointerEvent0; NullCheck(L_102); PointerEventData_set_dragging_m1730892973(L_102, (bool)0, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_103 = ___pointerEvent0; NullCheck(L_103); PointerEventData_set_pointerDrag_m1194168164(L_103, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_104 = ___pointerEvent0; NullCheck(L_104); GameObject_t4012695102 * L_105 = PointerEventData_get_pointerDrag_m2109300143(L_104, /*hidden argument*/NULL); bool L_106 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_105, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_106) { goto IL_0223; } } { PointerEventData_t3205101634 * L_107 = ___pointerEvent0; NullCheck(L_107); GameObject_t4012695102 * L_108 = PointerEventData_get_pointerDrag_m2109300143(L_107, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_109 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1032774927 * L_110 = ExecuteEvents_get_endDragHandler_m811393096(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560(NULL /*static, unused*/, L_108, L_109, L_110, /*hidden argument*/ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560_MethodInfo_var); } IL_0223: { PointerEventData_t3205101634 * L_111 = ___pointerEvent0; NullCheck(L_111); PointerEventData_set_pointerDrag_m1194168164(L_111, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_112 = ___pointerEvent0; NullCheck(L_112); GameObject_t4012695102 * L_113 = PointerEventData_get_pointerEnter_m1754340511(L_112, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_114 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t2213608131 * L_115 = ExecuteEvents_get_pointerExitHandler_m509229616(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_ExecuteHierarchy_TisIPointerExitHandler_t3460311667_m2236465836(NULL /*static, unused*/, L_113, L_114, L_115, /*hidden argument*/ExecuteEvents_ExecuteHierarchy_TisIPointerExitHandler_t3460311667_m2236465836_MethodInfo_var); PointerEventData_t3205101634 * L_116 = ___pointerEvent0; NullCheck(L_116); PointerEventData_set_pointerEnter_m3909544698(L_116, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); } IL_0243: { return; } } // System.Boolean UnityEngine.EventSystems.StandaloneInputModule::SendSubmitEventToSelectedObject() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisISubmitHandler_t1622062788_m3746387029_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisICancelHandler_t3193714210_m724128435_MethodInfo_var; extern const uint32_t StandaloneInputModule_SendSubmitEventToSelectedObject_m2183743635_MetadataUsageId; extern "C" bool StandaloneInputModule_SendSubmitEventToSelectedObject_m2183743635 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule_SendSubmitEventToSelectedObject_m2183743635_MetadataUsageId); s_Il2CppMethodIntialized = true; } BaseEventData_t3547103726 * V_0 = NULL; { EventSystem_t409518532 * L_0 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); NullCheck(L_0); GameObject_t4012695102 * L_1 = EventSystem_get_currentSelectedGameObject_m4236083783(L_0, /*hidden argument*/NULL); bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_1, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_0018; } } { return (bool)0; } IL_0018: { BaseEventData_t3547103726 * L_3 = VirtFuncInvoker0< BaseEventData_t3547103726 * >::Invoke(18 /* UnityEngine.EventSystems.BaseEventData UnityEngine.EventSystems.BaseInputModule::GetBaseEventData() */, __this); V_0 = L_3; String_t* L_4 = __this->get_m_SubmitButton_19(); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_5 = Input_GetButtonDown_m1879002085(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0046; } } { EventSystem_t409518532 * L_6 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); NullCheck(L_6); GameObject_t4012695102 * L_7 = EventSystem_get_currentSelectedGameObject_m4236083783(L_6, /*hidden argument*/NULL); BaseEventData_t3547103726 * L_8 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t375359252 * L_9 = ExecuteEvents_get_submitHandler_m3307200186(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisISubmitHandler_t1622062788_m3746387029(NULL /*static, unused*/, L_7, L_8, L_9, /*hidden argument*/ExecuteEvents_Execute_TisISubmitHandler_t1622062788_m3746387029_MethodInfo_var); } IL_0046: { String_t* L_10 = __this->get_m_CancelButton_20(); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_11 = Input_GetButtonDown_m1879002085(NULL /*static, unused*/, L_10, /*hidden argument*/NULL); if (!L_11) { goto IL_006d; } } { EventSystem_t409518532 * L_12 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); NullCheck(L_12); GameObject_t4012695102 * L_13 = EventSystem_get_currentSelectedGameObject_m4236083783(L_12, /*hidden argument*/NULL); BaseEventData_t3547103726 * L_14 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1947010674 * L_15 = ExecuteEvents_get_cancelHandler_m120249338(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisICancelHandler_t3193714210_m724128435(NULL /*static, unused*/, L_13, L_14, L_15, /*hidden argument*/ExecuteEvents_Execute_TisICancelHandler_t3193714210_m724128435_MethodInfo_var); } IL_006d: { BaseEventData_t3547103726 * L_16 = V_0; NullCheck(L_16); bool L_17 = VirtFuncInvoker0< bool >::Invoke(6 /* System.Boolean UnityEngine.EventSystems.AbstractEventData::get_used() */, L_16); return L_17; } } // UnityEngine.Vector2 UnityEngine.EventSystems.StandaloneInputModule::GetRawMoveVector() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t StandaloneInputModule_GetRawMoveVector_m3480660049_MetadataUsageId; extern "C" Vector2_t3525329788 StandaloneInputModule_GetRawMoveVector_m3480660049 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule_GetRawMoveVector_m3480660049_MetadataUsageId); s_Il2CppMethodIntialized = true; } Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); { Vector2_t3525329788 L_0 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_0; String_t* L_1 = __this->get_m_HorizontalAxis_17(); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); float L_2 = Input_GetAxisRaw_m1900207208(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); (&V_0)->set_x_1(L_2); String_t* L_3 = __this->get_m_VerticalAxis_18(); float L_4 = Input_GetAxisRaw_m1900207208(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); (&V_0)->set_y_2(L_4); String_t* L_5 = __this->get_m_HorizontalAxis_17(); bool L_6 = Input_GetButtonDown_m1879002085(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); if (!L_6) { goto IL_0074; } } { float L_7 = (&V_0)->get_x_1(); if ((!(((float)L_7) < ((float)(0.0f))))) { goto IL_0057; } } { (&V_0)->set_x_1((-1.0f)); } IL_0057: { float L_8 = (&V_0)->get_x_1(); if ((!(((float)L_8) > ((float)(0.0f))))) { goto IL_0074; } } { (&V_0)->set_x_1((1.0f)); } IL_0074: { String_t* L_9 = __this->get_m_VerticalAxis_18(); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_10 = Input_GetButtonDown_m1879002085(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); if (!L_10) { goto IL_00be; } } { float L_11 = (&V_0)->get_y_2(); if ((!(((float)L_11) < ((float)(0.0f))))) { goto IL_00a1; } } { (&V_0)->set_y_2((-1.0f)); } IL_00a1: { float L_12 = (&V_0)->get_y_2(); if ((!(((float)L_12) > ((float)(0.0f))))) { goto IL_00be; } } { (&V_0)->set_y_2((1.0f)); } IL_00be: { Vector2_t3525329788 L_13 = V_0; return L_13; } } // System.Boolean UnityEngine.EventSystems.StandaloneInputModule::SendMoveEventToSelectedObject() extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIMoveHandler_t1954867883_m684136124_MethodInfo_var; extern const uint32_t StandaloneInputModule_SendMoveEventToSelectedObject_m439066490_MetadataUsageId; extern "C" bool StandaloneInputModule_SendMoveEventToSelectedObject_m439066490 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule_SendMoveEventToSelectedObject_m439066490_MetadataUsageId); s_Il2CppMethodIntialized = true; } float V_0 = 0.0f; Vector2_t3525329788 V_1; memset(&V_1, 0, sizeof(V_1)); bool V_2 = false; bool V_3 = false; AxisEventData_t552897310 * V_4 = NULL; int32_t G_B6_0 = 0; { float L_0 = Time_get_unscaledTime_m319114521(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_0; Vector2_t3525329788 L_1 = StandaloneInputModule_GetRawMoveVector_m3480660049(__this, /*hidden argument*/NULL); V_1 = L_1; float L_2 = (&V_1)->get_x_1(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); bool L_3 = Mathf_Approximately_m1395529776(NULL /*static, unused*/, L_2, (0.0f), /*hidden argument*/NULL); if (!L_3) { goto IL_0042; } } { float L_4 = (&V_1)->get_y_2(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); bool L_5 = Mathf_Approximately_m1395529776(NULL /*static, unused*/, L_4, (0.0f), /*hidden argument*/NULL); if (!L_5) { goto IL_0042; } } { __this->set_m_ConsecutiveMoveCount_14(0); return (bool)0; } IL_0042: { String_t* L_6 = __this->get_m_HorizontalAxis_17(); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_7 = Input_GetButtonDown_m1879002085(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); if (L_7) { goto IL_005f; } } { String_t* L_8 = __this->get_m_VerticalAxis_18(); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_9 = Input_GetButtonDown_m1879002085(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); G_B6_0 = ((int32_t)(L_9)); goto IL_0060; } IL_005f: { G_B6_0 = 1; } IL_0060: { V_2 = (bool)G_B6_0; Vector2_t3525329788 L_10 = V_1; Vector2_t3525329788 L_11 = __this->get_m_LastMoveVector_13(); float L_12 = Vector2_Dot_m2437602225(NULL /*static, unused*/, L_10, L_11, /*hidden argument*/NULL); V_3 = (bool)((((float)L_12) > ((float)(0.0f)))? 1 : 0); bool L_13 = V_2; if (L_13) { goto IL_00ba; } } { bool L_14 = V_3; if (!L_14) { goto IL_00a3; } } { int32_t L_15 = __this->get_m_ConsecutiveMoveCount_14(); if ((!(((uint32_t)L_15) == ((uint32_t)1)))) { goto IL_00a3; } } { float L_16 = V_0; float L_17 = __this->get_m_PrevActionTime_12(); float L_18 = __this->get_m_RepeatDelay_22(); V_2 = (bool)((((float)L_16) > ((float)((float)((float)L_17+(float)L_18))))? 1 : 0); goto IL_00ba; } IL_00a3: { float L_19 = V_0; float L_20 = __this->get_m_PrevActionTime_12(); float L_21 = __this->get_m_InputActionsPerSecond_21(); V_2 = (bool)((((float)L_19) > ((float)((float)((float)L_20+(float)((float)((float)(1.0f)/(float)L_21))))))? 1 : 0); } IL_00ba: { bool L_22 = V_2; if (L_22) { goto IL_00c2; } } { return (bool)0; } IL_00c2: { float L_23 = (&V_1)->get_x_1(); float L_24 = (&V_1)->get_y_2(); AxisEventData_t552897310 * L_25 = VirtFuncInvoker3< AxisEventData_t552897310 *, float, float, float >::Invoke(17 /* UnityEngine.EventSystems.AxisEventData UnityEngine.EventSystems.BaseInputModule::GetAxisEventData(System.Single,System.Single,System.Single) */, __this, L_23, L_24, (0.6f)); V_4 = L_25; AxisEventData_t552897310 * L_26 = V_4; NullCheck(L_26); int32_t L_27 = AxisEventData_get_moveDir_m2739466109(L_26, /*hidden argument*/NULL); if ((((int32_t)L_27) == ((int32_t)4))) { goto IL_0130; } } { EventSystem_t409518532 * L_28 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); NullCheck(L_28); GameObject_t4012695102 * L_29 = EventSystem_get_currentSelectedGameObject_m4236083783(L_28, /*hidden argument*/NULL); AxisEventData_t552897310 * L_30 = V_4; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t708164347 * L_31 = ExecuteEvents_get_moveHandler_m1400410010(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIMoveHandler_t1954867883_m684136124(NULL /*static, unused*/, L_29, L_30, L_31, /*hidden argument*/ExecuteEvents_Execute_TisIMoveHandler_t1954867883_m684136124_MethodInfo_var); bool L_32 = V_3; if (L_32) { goto IL_010f; } } { __this->set_m_ConsecutiveMoveCount_14(0); } IL_010f: { int32_t L_33 = __this->get_m_ConsecutiveMoveCount_14(); __this->set_m_ConsecutiveMoveCount_14(((int32_t)((int32_t)L_33+(int32_t)1))); float L_34 = V_0; __this->set_m_PrevActionTime_12(L_34); Vector2_t3525329788 L_35 = V_1; __this->set_m_LastMoveVector_13(L_35); goto IL_0137; } IL_0130: { __this->set_m_ConsecutiveMoveCount_14(0); } IL_0137: { AxisEventData_t552897310 * L_36 = V_4; NullCheck(L_36); bool L_37 = VirtFuncInvoker0< bool >::Invoke(6 /* System.Boolean UnityEngine.EventSystems.AbstractEventData::get_used() */, L_36); return L_37; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::ProcessMouseEvent() extern "C" void StandaloneInputModule_ProcessMouseEvent_m2927305846 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { { StandaloneInputModule_ProcessMouseEvent_m1104664775(__this, 0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::ProcessMouseEvent(System.Int32) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_GetEventHandler_TisIScrollHandler_t2329086575_m1066024007_MethodInfo_var; extern const MethodInfo* ExecuteEvents_ExecuteHierarchy_TisIScrollHandler_t2329086575_m1128683200_MethodInfo_var; extern const uint32_t StandaloneInputModule_ProcessMouseEvent_m1104664775_MetadataUsageId; extern "C" void StandaloneInputModule_ProcessMouseEvent_m1104664775 (StandaloneInputModule_t3152099756 * __this, int32_t ___id0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule_ProcessMouseEvent_m1104664775_MetadataUsageId); s_Il2CppMethodIntialized = true; } MouseState_t2990183180 * V_0 = NULL; MouseButtonEventData_t3739491085 * V_1 = NULL; GameObject_t4012695102 * V_2 = NULL; Vector2_t3525329788 V_3; memset(&V_3, 0, sizeof(V_3)); RaycastResult_t959898689 V_4; memset(&V_4, 0, sizeof(V_4)); { int32_t L_0 = ___id0; MouseState_t2990183180 * L_1 = VirtFuncInvoker1< MouseState_t2990183180 *, int32_t >::Invoke(26 /* UnityEngine.EventSystems.PointerInputModule/MouseState UnityEngine.EventSystems.PointerInputModule::GetMousePointerEventData(System.Int32) */, __this, L_0); V_0 = L_1; MouseState_t2990183180 * L_2 = V_0; NullCheck(L_2); ButtonState_t4192339039 * L_3 = MouseState_GetButtonState_m96912714(L_2, 0, /*hidden argument*/NULL); NullCheck(L_3); MouseButtonEventData_t3739491085 * L_4 = ButtonState_get_eventData_m3874795698(L_3, /*hidden argument*/NULL); V_1 = L_4; MouseButtonEventData_t3739491085 * L_5 = V_1; StandaloneInputModule_ProcessMousePress_m794465737(__this, L_5, /*hidden argument*/NULL); MouseButtonEventData_t3739491085 * L_6 = V_1; NullCheck(L_6); PointerEventData_t3205101634 * L_7 = L_6->get_buttonData_1(); VirtActionInvoker1< PointerEventData_t3205101634 * >::Invoke(27 /* System.Void UnityEngine.EventSystems.PointerInputModule::ProcessMove(UnityEngine.EventSystems.PointerEventData) */, __this, L_7); MouseButtonEventData_t3739491085 * L_8 = V_1; NullCheck(L_8); PointerEventData_t3205101634 * L_9 = L_8->get_buttonData_1(); VirtActionInvoker1< PointerEventData_t3205101634 * >::Invoke(28 /* System.Void UnityEngine.EventSystems.PointerInputModule::ProcessDrag(UnityEngine.EventSystems.PointerEventData) */, __this, L_9); MouseState_t2990183180 * L_10 = V_0; NullCheck(L_10); ButtonState_t4192339039 * L_11 = MouseState_GetButtonState_m96912714(L_10, 1, /*hidden argument*/NULL); NullCheck(L_11); MouseButtonEventData_t3739491085 * L_12 = ButtonState_get_eventData_m3874795698(L_11, /*hidden argument*/NULL); StandaloneInputModule_ProcessMousePress_m794465737(__this, L_12, /*hidden argument*/NULL); MouseState_t2990183180 * L_13 = V_0; NullCheck(L_13); ButtonState_t4192339039 * L_14 = MouseState_GetButtonState_m96912714(L_13, 1, /*hidden argument*/NULL); NullCheck(L_14); MouseButtonEventData_t3739491085 * L_15 = ButtonState_get_eventData_m3874795698(L_14, /*hidden argument*/NULL); NullCheck(L_15); PointerEventData_t3205101634 * L_16 = L_15->get_buttonData_1(); VirtActionInvoker1< PointerEventData_t3205101634 * >::Invoke(28 /* System.Void UnityEngine.EventSystems.PointerInputModule::ProcessDrag(UnityEngine.EventSystems.PointerEventData) */, __this, L_16); MouseState_t2990183180 * L_17 = V_0; NullCheck(L_17); ButtonState_t4192339039 * L_18 = MouseState_GetButtonState_m96912714(L_17, 2, /*hidden argument*/NULL); NullCheck(L_18); MouseButtonEventData_t3739491085 * L_19 = ButtonState_get_eventData_m3874795698(L_18, /*hidden argument*/NULL); StandaloneInputModule_ProcessMousePress_m794465737(__this, L_19, /*hidden argument*/NULL); MouseState_t2990183180 * L_20 = V_0; NullCheck(L_20); ButtonState_t4192339039 * L_21 = MouseState_GetButtonState_m96912714(L_20, 2, /*hidden argument*/NULL); NullCheck(L_21); MouseButtonEventData_t3739491085 * L_22 = ButtonState_get_eventData_m3874795698(L_21, /*hidden argument*/NULL); NullCheck(L_22); PointerEventData_t3205101634 * L_23 = L_22->get_buttonData_1(); VirtActionInvoker1< PointerEventData_t3205101634 * >::Invoke(28 /* System.Void UnityEngine.EventSystems.PointerInputModule::ProcessDrag(UnityEngine.EventSystems.PointerEventData) */, __this, L_23); MouseButtonEventData_t3739491085 * L_24 = V_1; NullCheck(L_24); PointerEventData_t3205101634 * L_25 = L_24->get_buttonData_1(); NullCheck(L_25); Vector2_t3525329788 L_26 = PointerEventData_get_scrollDelta_m3602781717(L_25, /*hidden argument*/NULL); V_3 = L_26; float L_27 = Vector2_get_sqrMagnitude_m996072851((&V_3), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); bool L_28 = Mathf_Approximately_m1395529776(NULL /*static, unused*/, L_27, (0.0f), /*hidden argument*/NULL); if (L_28) { goto IL_00d4; } } { MouseButtonEventData_t3739491085 * L_29 = V_1; NullCheck(L_29); PointerEventData_t3205101634 * L_30 = L_29->get_buttonData_1(); NullCheck(L_30); RaycastResult_t959898689 L_31 = PointerEventData_get_pointerCurrentRaycast_m874132826(L_30, /*hidden argument*/NULL); V_4 = L_31; GameObject_t4012695102 * L_32 = RaycastResult_get_gameObject_m1138099278((&V_4), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); GameObject_t4012695102 * L_33 = ExecuteEvents_GetEventHandler_TisIScrollHandler_t2329086575_m1066024007(NULL /*static, unused*/, L_32, /*hidden argument*/ExecuteEvents_GetEventHandler_TisIScrollHandler_t2329086575_m1066024007_MethodInfo_var); V_2 = L_33; GameObject_t4012695102 * L_34 = V_2; MouseButtonEventData_t3739491085 * L_35 = V_1; NullCheck(L_35); PointerEventData_t3205101634 * L_36 = L_35->get_buttonData_1(); EventFunction_1_t1082383039 * L_37 = ExecuteEvents_get_scrollHandler_m62853082(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_ExecuteHierarchy_TisIScrollHandler_t2329086575_m1128683200(NULL /*static, unused*/, L_34, L_36, L_37, /*hidden argument*/ExecuteEvents_ExecuteHierarchy_TisIScrollHandler_t2329086575_m1128683200_MethodInfo_var); } IL_00d4: { return; } } // System.Boolean UnityEngine.EventSystems.StandaloneInputModule::SendUpdateEventToSelectedObject() extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIUpdateSelectedHandler_t3113961432_m1772356457_MethodInfo_var; extern const uint32_t StandaloneInputModule_SendUpdateEventToSelectedObject_m1730287810_MetadataUsageId; extern "C" bool StandaloneInputModule_SendUpdateEventToSelectedObject_m1730287810 (StandaloneInputModule_t3152099756 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule_SendUpdateEventToSelectedObject_m1730287810_MetadataUsageId); s_Il2CppMethodIntialized = true; } BaseEventData_t3547103726 * V_0 = NULL; { EventSystem_t409518532 * L_0 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); NullCheck(L_0); GameObject_t4012695102 * L_1 = EventSystem_get_currentSelectedGameObject_m4236083783(L_0, /*hidden argument*/NULL); bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_1, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_0018; } } { return (bool)0; } IL_0018: { BaseEventData_t3547103726 * L_3 = VirtFuncInvoker0< BaseEventData_t3547103726 * >::Invoke(18 /* UnityEngine.EventSystems.BaseEventData UnityEngine.EventSystems.BaseInputModule::GetBaseEventData() */, __this); V_0 = L_3; EventSystem_t409518532 * L_4 = BaseInputModule_get_eventSystem_m3949125731(__this, /*hidden argument*/NULL); NullCheck(L_4); GameObject_t4012695102 * L_5 = EventSystem_get_currentSelectedGameObject_m4236083783(L_4, /*hidden argument*/NULL); BaseEventData_t3547103726 * L_6 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1867257896 * L_7 = ExecuteEvents_get_updateSelectedHandler_m2735401530(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIUpdateSelectedHandler_t3113961432_m1772356457(NULL /*static, unused*/, L_5, L_6, L_7, /*hidden argument*/ExecuteEvents_Execute_TisIUpdateSelectedHandler_t3113961432_m1772356457_MethodInfo_var); BaseEventData_t3547103726 * L_8 = V_0; NullCheck(L_8); bool L_9 = VirtFuncInvoker0< bool >::Invoke(6 /* System.Boolean UnityEngine.EventSystems.AbstractEventData::get_used() */, L_8); return L_9; } } // System.Void UnityEngine.EventSystems.StandaloneInputModule::ProcessMousePress(UnityEngine.EventSystems.PointerInputModule/MouseButtonEventData) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ExecuteHierarchy_TisIPointerDownHandler_t1329431151_m1903343784_MethodInfo_var; extern const MethodInfo* ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237_MethodInfo_var; extern const MethodInfo* ExecuteEvents_GetEventHandler_TisIDragHandler_t3145479144_m1708367342_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIInitializePotentialDragHandler_t922544972_m2010514245_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIPointerClickHandler_t2630585585_m109846530_MethodInfo_var; extern const MethodInfo* ExecuteEvents_ExecuteHierarchy_TisIDropHandler_t2116344269_m4226213918_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560_MethodInfo_var; extern const uint32_t StandaloneInputModule_ProcessMousePress_m794465737_MetadataUsageId; extern "C" void StandaloneInputModule_ProcessMousePress_m794465737 (StandaloneInputModule_t3152099756 * __this, MouseButtonEventData_t3739491085 * ___data0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (StandaloneInputModule_ProcessMousePress_m794465737_MetadataUsageId); s_Il2CppMethodIntialized = true; } PointerEventData_t3205101634 * V_0 = NULL; GameObject_t4012695102 * V_1 = NULL; GameObject_t4012695102 * V_2 = NULL; float V_3 = 0.0f; float V_4 = 0.0f; GameObject_t4012695102 * V_5 = NULL; RaycastResult_t959898689 V_6; memset(&V_6, 0, sizeof(V_6)); { MouseButtonEventData_t3739491085 * L_0 = ___data0; NullCheck(L_0); PointerEventData_t3205101634 * L_1 = L_0->get_buttonData_1(); V_0 = L_1; PointerEventData_t3205101634 * L_2 = V_0; NullCheck(L_2); RaycastResult_t959898689 L_3 = PointerEventData_get_pointerCurrentRaycast_m874132826(L_2, /*hidden argument*/NULL); V_6 = L_3; GameObject_t4012695102 * L_4 = RaycastResult_get_gameObject_m1138099278((&V_6), /*hidden argument*/NULL); V_1 = L_4; MouseButtonEventData_t3739491085 * L_5 = ___data0; NullCheck(L_5); bool L_6 = MouseButtonEventData_PressedThisFrame_m3377699805(L_5, /*hidden argument*/NULL); if (!L_6) { goto IL_0120; } } { PointerEventData_t3205101634 * L_7 = V_0; NullCheck(L_7); PointerEventData_set_eligibleForClick_m4124670100(L_7, (bool)1, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_8 = V_0; Vector2_t3525329788 L_9 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_8); PointerEventData_set_delta_m3480102791(L_8, L_9, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_10 = V_0; NullCheck(L_10); PointerEventData_set_dragging_m1730892973(L_10, (bool)0, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_11 = V_0; NullCheck(L_11); PointerEventData_set_useDragThreshold_m2530254510(L_11, (bool)1, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_12 = V_0; PointerEventData_t3205101634 * L_13 = V_0; NullCheck(L_13); Vector2_t3525329788 L_14 = PointerEventData_get_position_m2263123361(L_13, /*hidden argument*/NULL); NullCheck(L_12); PointerEventData_set_pressPosition_m3056630579(L_12, L_14, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_15 = V_0; PointerEventData_t3205101634 * L_16 = V_0; NullCheck(L_16); RaycastResult_t959898689 L_17 = PointerEventData_get_pointerCurrentRaycast_m874132826(L_16, /*hidden argument*/NULL); NullCheck(L_15); PointerEventData_set_pointerPressRaycast_m126348485(L_15, L_17, /*hidden argument*/NULL); GameObject_t4012695102 * L_18 = V_1; PointerEventData_t3205101634 * L_19 = V_0; PointerInputModule_DeselectIfSelectionChanged_m522880394(__this, L_18, L_19, /*hidden argument*/NULL); GameObject_t4012695102 * L_20 = V_1; PointerEventData_t3205101634 * L_21 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t82727615 * L_22 = ExecuteEvents_get_pointerDownHandler_m916646952(NULL /*static, unused*/, /*hidden argument*/NULL); GameObject_t4012695102 * L_23 = ExecuteEvents_ExecuteHierarchy_TisIPointerDownHandler_t1329431151_m1903343784(NULL /*static, unused*/, L_20, L_21, L_22, /*hidden argument*/ExecuteEvents_ExecuteHierarchy_TisIPointerDownHandler_t1329431151_m1903343784_MethodInfo_var); V_2 = L_23; GameObject_t4012695102 * L_24 = V_2; bool L_25 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_24, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_25) { goto IL_0082; } } { GameObject_t4012695102 * L_26 = V_1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); GameObject_t4012695102 * L_27 = ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237(NULL /*static, unused*/, L_26, /*hidden argument*/ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237_MethodInfo_var); V_2 = L_27; } IL_0082: { float L_28 = Time_get_unscaledTime_m319114521(NULL /*static, unused*/, /*hidden argument*/NULL); V_3 = L_28; GameObject_t4012695102 * L_29 = V_2; PointerEventData_t3205101634 * L_30 = V_0; NullCheck(L_30); GameObject_t4012695102 * L_31 = PointerEventData_get_lastPress_m3682396203(L_30, /*hidden argument*/NULL); bool L_32 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_29, L_31, /*hidden argument*/NULL); if (!L_32) { goto IL_00d5; } } { float L_33 = V_3; PointerEventData_t3205101634 * L_34 = V_0; NullCheck(L_34); float L_35 = PointerEventData_get_clickTime_m2529670096(L_34, /*hidden argument*/NULL); V_4 = ((float)((float)L_33-(float)L_35)); float L_36 = V_4; if ((!(((float)L_36) < ((float)(0.3f))))) { goto IL_00c2; } } { PointerEventData_t3205101634 * L_37 = V_0; PointerEventData_t3205101634 * L_38 = L_37; NullCheck(L_38); int32_t L_39 = PointerEventData_get_clickCount_m341347570(L_38, /*hidden argument*/NULL); NullCheck(L_38); PointerEventData_set_clickCount_m2279104927(L_38, ((int32_t)((int32_t)L_39+(int32_t)1)), /*hidden argument*/NULL); goto IL_00c9; } IL_00c2: { PointerEventData_t3205101634 * L_40 = V_0; NullCheck(L_40); PointerEventData_set_clickCount_m2279104927(L_40, 1, /*hidden argument*/NULL); } IL_00c9: { PointerEventData_t3205101634 * L_41 = V_0; float L_42 = V_3; NullCheck(L_41); PointerEventData_set_clickTime_m3487651291(L_41, L_42, /*hidden argument*/NULL); goto IL_00dc; } IL_00d5: { PointerEventData_t3205101634 * L_43 = V_0; NullCheck(L_43); PointerEventData_set_clickCount_m2279104927(L_43, 1, /*hidden argument*/NULL); } IL_00dc: { PointerEventData_t3205101634 * L_44 = V_0; GameObject_t4012695102 * L_45 = V_2; NullCheck(L_44); PointerEventData_set_pointerPress_m3037509477(L_44, L_45, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_46 = V_0; GameObject_t4012695102 * L_47 = V_1; NullCheck(L_46); PointerEventData_set_rawPointerPress_m505214625(L_46, L_47, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_48 = V_0; float L_49 = V_3; NullCheck(L_48); PointerEventData_set_clickTime_m3487651291(L_48, L_49, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_50 = V_0; GameObject_t4012695102 * L_51 = V_1; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); GameObject_t4012695102 * L_52 = ExecuteEvents_GetEventHandler_TisIDragHandler_t3145479144_m1708367342(NULL /*static, unused*/, L_51, /*hidden argument*/ExecuteEvents_GetEventHandler_TisIDragHandler_t3145479144_m1708367342_MethodInfo_var); NullCheck(L_50); PointerEventData_set_pointerDrag_m1194168164(L_50, L_52, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_53 = V_0; NullCheck(L_53); GameObject_t4012695102 * L_54 = PointerEventData_get_pointerDrag_m2109300143(L_53, /*hidden argument*/NULL); bool L_55 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_54, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_55) { goto IL_0120; } } { PointerEventData_t3205101634 * L_56 = V_0; NullCheck(L_56); GameObject_t4012695102 * L_57 = PointerEventData_get_pointerDrag_m2109300143(L_56, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_58 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t3970808732 * L_59 = ExecuteEvents_get_initializePotentialDrag_m3514083626(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIInitializePotentialDragHandler_t922544972_m2010514245(NULL /*static, unused*/, L_57, L_58, L_59, /*hidden argument*/ExecuteEvents_Execute_TisIInitializePotentialDragHandler_t922544972_m2010514245_MethodInfo_var); } IL_0120: { MouseButtonEventData_t3739491085 * L_60 = ___data0; NullCheck(L_60); bool L_61 = MouseButtonEventData_ReleasedThisFrame_m949274724(L_60, /*hidden argument*/NULL); if (!L_61) { goto IL_0214; } } { PointerEventData_t3205101634 * L_62 = V_0; NullCheck(L_62); GameObject_t4012695102 * L_63 = PointerEventData_get_pointerPress_m3028028234(L_62, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_64 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t899770790 * L_65 = ExecuteEvents_get_pointerUpHandler_m1834169334(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071(NULL /*static, unused*/, L_63, L_64, L_65, /*hidden argument*/ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071_MethodInfo_var); GameObject_t4012695102 * L_66 = V_1; GameObject_t4012695102 * L_67 = ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237(NULL /*static, unused*/, L_66, /*hidden argument*/ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237_MethodInfo_var); V_5 = L_67; PointerEventData_t3205101634 * L_68 = V_0; NullCheck(L_68); GameObject_t4012695102 * L_69 = PointerEventData_get_pointerPress_m3028028234(L_68, /*hidden argument*/NULL); GameObject_t4012695102 * L_70 = V_5; bool L_71 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_69, L_70, /*hidden argument*/NULL); if (!L_71) { goto IL_0179; } } { PointerEventData_t3205101634 * L_72 = V_0; NullCheck(L_72); bool L_73 = PointerEventData_get_eligibleForClick_m804806107(L_72, /*hidden argument*/NULL); if (!L_73) { goto IL_0179; } } { PointerEventData_t3205101634 * L_74 = V_0; NullCheck(L_74); GameObject_t4012695102 * L_75 = PointerEventData_get_pointerPress_m3028028234(L_74, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_76 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1383882049 * L_77 = ExecuteEvents_get_pointerClickHandler_m2881872730(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIPointerClickHandler_t2630585585_m109846530(NULL /*static, unused*/, L_75, L_76, L_77, /*hidden argument*/ExecuteEvents_Execute_TisIPointerClickHandler_t2630585585_m109846530_MethodInfo_var); goto IL_01a2; } IL_0179: { PointerEventData_t3205101634 * L_78 = V_0; NullCheck(L_78); GameObject_t4012695102 * L_79 = PointerEventData_get_pointerDrag_m2109300143(L_78, /*hidden argument*/NULL); bool L_80 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_79, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_80) { goto IL_01a2; } } { PointerEventData_t3205101634 * L_81 = V_0; NullCheck(L_81); bool L_82 = PointerEventData_get_dragging_m3319220148(L_81, /*hidden argument*/NULL); if (!L_82) { goto IL_01a2; } } { GameObject_t4012695102 * L_83 = V_1; PointerEventData_t3205101634 * L_84 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t869640733 * L_85 = ExecuteEvents_get_dropHandler_m1933111770(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_ExecuteHierarchy_TisIDropHandler_t2116344269_m4226213918(NULL /*static, unused*/, L_83, L_84, L_85, /*hidden argument*/ExecuteEvents_ExecuteHierarchy_TisIDropHandler_t2116344269_m4226213918_MethodInfo_var); } IL_01a2: { PointerEventData_t3205101634 * L_86 = V_0; NullCheck(L_86); PointerEventData_set_eligibleForClick_m4124670100(L_86, (bool)0, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_87 = V_0; NullCheck(L_87); PointerEventData_set_pointerPress_m3037509477(L_87, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_88 = V_0; NullCheck(L_88); PointerEventData_set_rawPointerPress_m505214625(L_88, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_89 = V_0; NullCheck(L_89); GameObject_t4012695102 * L_90 = PointerEventData_get_pointerDrag_m2109300143(L_89, /*hidden argument*/NULL); bool L_91 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_90, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_91) { goto IL_01e5; } } { PointerEventData_t3205101634 * L_92 = V_0; NullCheck(L_92); bool L_93 = PointerEventData_get_dragging_m3319220148(L_92, /*hidden argument*/NULL); if (!L_93) { goto IL_01e5; } } { PointerEventData_t3205101634 * L_94 = V_0; NullCheck(L_94); GameObject_t4012695102 * L_95 = PointerEventData_get_pointerDrag_m2109300143(L_94, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_96 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1032774927 * L_97 = ExecuteEvents_get_endDragHandler_m811393096(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560(NULL /*static, unused*/, L_95, L_96, L_97, /*hidden argument*/ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560_MethodInfo_var); } IL_01e5: { PointerEventData_t3205101634 * L_98 = V_0; NullCheck(L_98); PointerEventData_set_dragging_m1730892973(L_98, (bool)0, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_99 = V_0; NullCheck(L_99); PointerEventData_set_pointerDrag_m1194168164(L_99, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); GameObject_t4012695102 * L_100 = V_1; PointerEventData_t3205101634 * L_101 = V_0; NullCheck(L_101); GameObject_t4012695102 * L_102 = PointerEventData_get_pointerEnter_m1754340511(L_101, /*hidden argument*/NULL); bool L_103 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_100, L_102, /*hidden argument*/NULL); if (!L_103) { goto IL_0214; } } { PointerEventData_t3205101634 * L_104 = V_0; BaseInputModule_HandlePointerExitAndEnter_m779127058(__this, L_104, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_105 = V_0; GameObject_t4012695102 * L_106 = V_1; BaseInputModule_HandlePointerExitAndEnter_m779127058(__this, L_105, L_106, /*hidden argument*/NULL); } IL_0214: { return; } } // System.Void UnityEngine.EventSystems.TouchInputModule::.ctor() extern "C" void TouchInputModule__ctor_m339421258 (TouchInputModule_t2251026098 * __this, const MethodInfo* method) { { PointerInputModule__ctor_m2748126408(__this, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.EventSystems.TouchInputModule::get_allowActivationOnStandalone() extern "C" bool TouchInputModule_get_allowActivationOnStandalone_m2975554192 (TouchInputModule_t2251026098 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_ForceModuleActive_14(); return L_0; } } // System.Void UnityEngine.EventSystems.TouchInputModule::set_allowActivationOnStandalone(System.Boolean) extern "C" void TouchInputModule_set_allowActivationOnStandalone_m2844331589 (TouchInputModule_t2251026098 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_ForceModuleActive_14(L_0); return; } } // System.Boolean UnityEngine.EventSystems.TouchInputModule::get_forceModuleActive() extern "C" bool TouchInputModule_get_forceModuleActive_m3711716298 (TouchInputModule_t2251026098 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_ForceModuleActive_14(); return L_0; } } // System.Void UnityEngine.EventSystems.TouchInputModule::set_forceModuleActive(System.Boolean) extern "C" void TouchInputModule_set_forceModuleActive_m3663751039 (TouchInputModule_t2251026098 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_ForceModuleActive_14(L_0); return; } } // System.Void UnityEngine.EventSystems.TouchInputModule::UpdateModule() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t TouchInputModule_UpdateModule_m1492847119_MetadataUsageId; extern "C" void TouchInputModule_UpdateModule_m1492847119 (TouchInputModule_t2251026098 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (TouchInputModule_UpdateModule_m1492847119_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Vector2_t3525329788 L_0 = __this->get_m_MousePosition_13(); __this->set_m_LastMousePosition_12(L_0); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); Vector3_t3525329789 L_1 = Input_get_mousePosition_m4020233228(NULL /*static, unused*/, /*hidden argument*/NULL); Vector2_t3525329788 L_2 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); __this->set_m_MousePosition_13(L_2); return; } } // System.Boolean UnityEngine.EventSystems.TouchInputModule::IsModuleSupported() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t TouchInputModule_IsModuleSupported_m3258396622_MetadataUsageId; extern "C" bool TouchInputModule_IsModuleSupported_m3258396622 (TouchInputModule_t2251026098 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (TouchInputModule_IsModuleSupported_m3258396622_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t G_B3_0 = 0; { bool L_0 = TouchInputModule_get_forceModuleActive_m3711716298(__this, /*hidden argument*/NULL); if (L_0) { goto IL_0012; } } { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_1 = Input_get_touchSupported_m634162567(NULL /*static, unused*/, /*hidden argument*/NULL); G_B3_0 = ((int32_t)(L_1)); goto IL_0013; } IL_0012: { G_B3_0 = 1; } IL_0013: { return (bool)G_B3_0; } } // System.Boolean UnityEngine.EventSystems.TouchInputModule::ShouldActivateModule() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t TouchInputModule_ShouldActivateModule_m1989212798_MetadataUsageId; extern "C" bool TouchInputModule_ShouldActivateModule_m1989212798 (TouchInputModule_t2251026098 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (TouchInputModule_ShouldActivateModule_m1989212798_MetadataUsageId); s_Il2CppMethodIntialized = true; } bool V_0 = false; Vector2_t3525329788 V_1; memset(&V_1, 0, sizeof(V_1)); { bool L_0 = BaseInputModule_ShouldActivateModule_m222600132(__this, /*hidden argument*/NULL); if (L_0) { goto IL_000d; } } { return (bool)0; } IL_000d: { bool L_1 = __this->get_m_ForceModuleActive_14(); if (!L_1) { goto IL_001a; } } { return (bool)1; } IL_001a: { bool L_2 = TouchInputModule_UseFakeInput_m1788394586(__this, /*hidden argument*/NULL); if (!L_2) { goto IL_0051; } } { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_3 = Input_GetMouseButtonDown_m2031691843(NULL /*static, unused*/, 0, /*hidden argument*/NULL); V_0 = L_3; bool L_4 = V_0; Vector2_t3525329788 L_5 = __this->get_m_MousePosition_13(); Vector2_t3525329788 L_6 = __this->get_m_LastMousePosition_12(); Vector2_t3525329788 L_7 = Vector2_op_Subtraction_m2097149401(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL); V_1 = L_7; float L_8 = Vector2_get_sqrMagnitude_m996072851((&V_1), /*hidden argument*/NULL); V_0 = (bool)((int32_t)((int32_t)L_4|(int32_t)((((float)L_8) > ((float)(0.0f)))? 1 : 0))); bool L_9 = V_0; return L_9; } IL_0051: { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); int32_t L_10 = Input_get_touchCount_m1430909390(NULL /*static, unused*/, /*hidden argument*/NULL); if ((((int32_t)L_10) <= ((int32_t)0))) { goto IL_005e; } } { return (bool)1; } IL_005e: { return (bool)0; } } // System.Boolean UnityEngine.EventSystems.TouchInputModule::UseFakeInput() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t TouchInputModule_UseFakeInput_m1788394586_MetadataUsageId; extern "C" bool TouchInputModule_UseFakeInput_m1788394586 (TouchInputModule_t2251026098 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (TouchInputModule_UseFakeInput_m1788394586_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_0 = Input_get_touchSupported_m634162567(NULL /*static, unused*/, /*hidden argument*/NULL); return (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0); } } // System.Void UnityEngine.EventSystems.TouchInputModule::Process() extern "C" void TouchInputModule_Process_m2613923415 (TouchInputModule_t2251026098 * __this, const MethodInfo* method) { { bool L_0 = TouchInputModule_UseFakeInput_m1788394586(__this, /*hidden argument*/NULL); if (!L_0) { goto IL_0016; } } { TouchInputModule_FakeTouches_m1483201856(__this, /*hidden argument*/NULL); goto IL_001c; } IL_0016: { TouchInputModule_ProcessTouchEvents_m2652204291(__this, /*hidden argument*/NULL); } IL_001c: { return; } } // System.Void UnityEngine.EventSystems.TouchInputModule::FakeTouches() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t TouchInputModule_FakeTouches_m1483201856_MetadataUsageId; extern "C" void TouchInputModule_FakeTouches_m1483201856 (TouchInputModule_t2251026098 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (TouchInputModule_FakeTouches_m1483201856_MetadataUsageId); s_Il2CppMethodIntialized = true; } MouseState_t2990183180 * V_0 = NULL; MouseButtonEventData_t3739491085 * V_1 = NULL; { MouseState_t2990183180 * L_0 = VirtFuncInvoker1< MouseState_t2990183180 *, int32_t >::Invoke(26 /* UnityEngine.EventSystems.PointerInputModule/MouseState UnityEngine.EventSystems.PointerInputModule::GetMousePointerEventData(System.Int32) */, __this, 0); V_0 = L_0; MouseState_t2990183180 * L_1 = V_0; NullCheck(L_1); ButtonState_t4192339039 * L_2 = MouseState_GetButtonState_m96912714(L_1, 0, /*hidden argument*/NULL); NullCheck(L_2); MouseButtonEventData_t3739491085 * L_3 = ButtonState_get_eventData_m3874795698(L_2, /*hidden argument*/NULL); V_1 = L_3; MouseButtonEventData_t3739491085 * L_4 = V_1; NullCheck(L_4); bool L_5 = MouseButtonEventData_PressedThisFrame_m3377699805(L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0030; } } { MouseButtonEventData_t3739491085 * L_6 = V_1; NullCheck(L_6); PointerEventData_t3205101634 * L_7 = L_6->get_buttonData_1(); Vector2_t3525329788 L_8 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_7); PointerEventData_set_delta_m3480102791(L_7, L_8, /*hidden argument*/NULL); } IL_0030: { MouseButtonEventData_t3739491085 * L_9 = V_1; NullCheck(L_9); PointerEventData_t3205101634 * L_10 = L_9->get_buttonData_1(); MouseButtonEventData_t3739491085 * L_11 = V_1; NullCheck(L_11); bool L_12 = MouseButtonEventData_PressedThisFrame_m3377699805(L_11, /*hidden argument*/NULL); MouseButtonEventData_t3739491085 * L_13 = V_1; NullCheck(L_13); bool L_14 = MouseButtonEventData_ReleasedThisFrame_m949274724(L_13, /*hidden argument*/NULL); TouchInputModule_ProcessTouchPress_m3277592771(__this, L_10, L_12, L_14, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_15 = Input_GetMouseButton_m4080958081(NULL /*static, unused*/, 0, /*hidden argument*/NULL); if (!L_15) { goto IL_006b; } } { MouseButtonEventData_t3739491085 * L_16 = V_1; NullCheck(L_16); PointerEventData_t3205101634 * L_17 = L_16->get_buttonData_1(); VirtActionInvoker1< PointerEventData_t3205101634 * >::Invoke(27 /* System.Void UnityEngine.EventSystems.PointerInputModule::ProcessMove(UnityEngine.EventSystems.PointerEventData) */, __this, L_17); MouseButtonEventData_t3739491085 * L_18 = V_1; NullCheck(L_18); PointerEventData_t3205101634 * L_19 = L_18->get_buttonData_1(); VirtActionInvoker1< PointerEventData_t3205101634 * >::Invoke(28 /* System.Void UnityEngine.EventSystems.PointerInputModule::ProcessDrag(UnityEngine.EventSystems.PointerEventData) */, __this, L_19); } IL_006b: { return; } } // System.Void UnityEngine.EventSystems.TouchInputModule::ProcessTouchEvents() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t TouchInputModule_ProcessTouchEvents_m2652204291_MetadataUsageId; extern "C" void TouchInputModule_ProcessTouchEvents_m2652204291 (TouchInputModule_t2251026098 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (TouchInputModule_ProcessTouchEvents_m2652204291_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; Touch_t1603883884 V_1; memset(&V_1, 0, sizeof(V_1)); bool V_2 = false; bool V_3 = false; PointerEventData_t3205101634 * V_4 = NULL; { V_0 = 0; goto IL_005e; } IL_0007: { int32_t L_0 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); Touch_t1603883884 L_1 = Input_GetTouch_m2282421092(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_1 = L_1; int32_t L_2 = Touch_get_type_m1428398012((&V_1), /*hidden argument*/NULL); if ((!(((uint32_t)L_2) == ((uint32_t)1)))) { goto IL_0020; } } { goto IL_005a; } IL_0020: { Touch_t1603883884 L_3 = V_1; PointerEventData_t3205101634 * L_4 = PointerInputModule_GetTouchPointerEventData_m2194758459(__this, L_3, (&V_3), (&V_2), /*hidden argument*/NULL); V_4 = L_4; PointerEventData_t3205101634 * L_5 = V_4; bool L_6 = V_3; bool L_7 = V_2; TouchInputModule_ProcessTouchPress_m3277592771(__this, L_5, L_6, L_7, /*hidden argument*/NULL); bool L_8 = V_2; if (L_8) { goto IL_0052; } } { PointerEventData_t3205101634 * L_9 = V_4; VirtActionInvoker1< PointerEventData_t3205101634 * >::Invoke(27 /* System.Void UnityEngine.EventSystems.PointerInputModule::ProcessMove(UnityEngine.EventSystems.PointerEventData) */, __this, L_9); PointerEventData_t3205101634 * L_10 = V_4; VirtActionInvoker1< PointerEventData_t3205101634 * >::Invoke(28 /* System.Void UnityEngine.EventSystems.PointerInputModule::ProcessDrag(UnityEngine.EventSystems.PointerEventData) */, __this, L_10); goto IL_005a; } IL_0052: { PointerEventData_t3205101634 * L_11 = V_4; PointerInputModule_RemovePointerData_m3101459861(__this, L_11, /*hidden argument*/NULL); } IL_005a: { int32_t L_12 = V_0; V_0 = ((int32_t)((int32_t)L_12+(int32_t)1)); } IL_005e: { int32_t L_13 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); int32_t L_14 = Input_get_touchCount_m1430909390(NULL /*static, unused*/, /*hidden argument*/NULL); if ((((int32_t)L_13) < ((int32_t)L_14))) { goto IL_0007; } } { return; } } // System.Void UnityEngine.EventSystems.TouchInputModule::ProcessTouchPress(UnityEngine.EventSystems.PointerEventData,System.Boolean,System.Boolean) extern Il2CppClass* ExecuteEvents_t4196265289_il2cpp_TypeInfo_var; extern const MethodInfo* ExecuteEvents_ExecuteHierarchy_TisIPointerDownHandler_t1329431151_m1903343784_MethodInfo_var; extern const MethodInfo* ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237_MethodInfo_var; extern const MethodInfo* ExecuteEvents_GetEventHandler_TisIDragHandler_t3145479144_m1708367342_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIInitializePotentialDragHandler_t922544972_m2010514245_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIPointerClickHandler_t2630585585_m109846530_MethodInfo_var; extern const MethodInfo* ExecuteEvents_ExecuteHierarchy_TisIDropHandler_t2116344269_m4226213918_MethodInfo_var; extern const MethodInfo* ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560_MethodInfo_var; extern const MethodInfo* ExecuteEvents_ExecuteHierarchy_TisIPointerExitHandler_t3460311667_m2236465836_MethodInfo_var; extern const uint32_t TouchInputModule_ProcessTouchPress_m3277592771_MetadataUsageId; extern "C" void TouchInputModule_ProcessTouchPress_m3277592771 (TouchInputModule_t2251026098 * __this, PointerEventData_t3205101634 * ___pointerEvent0, bool ___pressed1, bool ___released2, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (TouchInputModule_ProcessTouchPress_m3277592771_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; GameObject_t4012695102 * V_1 = NULL; float V_2 = 0.0f; float V_3 = 0.0f; GameObject_t4012695102 * V_4 = NULL; RaycastResult_t959898689 V_5; memset(&V_5, 0, sizeof(V_5)); { PointerEventData_t3205101634 * L_0 = ___pointerEvent0; NullCheck(L_0); RaycastResult_t959898689 L_1 = PointerEventData_get_pointerCurrentRaycast_m874132826(L_0, /*hidden argument*/NULL); V_5 = L_1; GameObject_t4012695102 * L_2 = RaycastResult_get_gameObject_m1138099278((&V_5), /*hidden argument*/NULL); V_0 = L_2; bool L_3 = ___pressed1; if (!L_3) { goto IL_0132; } } { PointerEventData_t3205101634 * L_4 = ___pointerEvent0; NullCheck(L_4); PointerEventData_set_eligibleForClick_m4124670100(L_4, (bool)1, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_5 = ___pointerEvent0; Vector2_t3525329788 L_6 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_5); PointerEventData_set_delta_m3480102791(L_5, L_6, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_7 = ___pointerEvent0; NullCheck(L_7); PointerEventData_set_dragging_m1730892973(L_7, (bool)0, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_8 = ___pointerEvent0; NullCheck(L_8); PointerEventData_set_useDragThreshold_m2530254510(L_8, (bool)1, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_9 = ___pointerEvent0; PointerEventData_t3205101634 * L_10 = ___pointerEvent0; NullCheck(L_10); Vector2_t3525329788 L_11 = PointerEventData_get_position_m2263123361(L_10, /*hidden argument*/NULL); NullCheck(L_9); PointerEventData_set_pressPosition_m3056630579(L_9, L_11, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_12 = ___pointerEvent0; PointerEventData_t3205101634 * L_13 = ___pointerEvent0; NullCheck(L_13); RaycastResult_t959898689 L_14 = PointerEventData_get_pointerCurrentRaycast_m874132826(L_13, /*hidden argument*/NULL); NullCheck(L_12); PointerEventData_set_pointerPressRaycast_m126348485(L_12, L_14, /*hidden argument*/NULL); GameObject_t4012695102 * L_15 = V_0; PointerEventData_t3205101634 * L_16 = ___pointerEvent0; PointerInputModule_DeselectIfSelectionChanged_m522880394(__this, L_15, L_16, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_17 = ___pointerEvent0; NullCheck(L_17); GameObject_t4012695102 * L_18 = PointerEventData_get_pointerEnter_m1754340511(L_17, /*hidden argument*/NULL); GameObject_t4012695102 * L_19 = V_0; bool L_20 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_18, L_19, /*hidden argument*/NULL); if (!L_20) { goto IL_0076; } } { PointerEventData_t3205101634 * L_21 = ___pointerEvent0; GameObject_t4012695102 * L_22 = V_0; BaseInputModule_HandlePointerExitAndEnter_m779127058(__this, L_21, L_22, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_23 = ___pointerEvent0; GameObject_t4012695102 * L_24 = V_0; NullCheck(L_23); PointerEventData_set_pointerEnter_m3909544698(L_23, L_24, /*hidden argument*/NULL); } IL_0076: { GameObject_t4012695102 * L_25 = V_0; PointerEventData_t3205101634 * L_26 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t82727615 * L_27 = ExecuteEvents_get_pointerDownHandler_m916646952(NULL /*static, unused*/, /*hidden argument*/NULL); GameObject_t4012695102 * L_28 = ExecuteEvents_ExecuteHierarchy_TisIPointerDownHandler_t1329431151_m1903343784(NULL /*static, unused*/, L_25, L_26, L_27, /*hidden argument*/ExecuteEvents_ExecuteHierarchy_TisIPointerDownHandler_t1329431151_m1903343784_MethodInfo_var); V_1 = L_28; GameObject_t4012695102 * L_29 = V_1; bool L_30 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_29, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_30) { goto IL_0096; } } { GameObject_t4012695102 * L_31 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); GameObject_t4012695102 * L_32 = ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237(NULL /*static, unused*/, L_31, /*hidden argument*/ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237_MethodInfo_var); V_1 = L_32; } IL_0096: { float L_33 = Time_get_unscaledTime_m319114521(NULL /*static, unused*/, /*hidden argument*/NULL); V_2 = L_33; GameObject_t4012695102 * L_34 = V_1; PointerEventData_t3205101634 * L_35 = ___pointerEvent0; NullCheck(L_35); GameObject_t4012695102 * L_36 = PointerEventData_get_lastPress_m3682396203(L_35, /*hidden argument*/NULL); bool L_37 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_34, L_36, /*hidden argument*/NULL); if (!L_37) { goto IL_00e7; } } { float L_38 = V_2; PointerEventData_t3205101634 * L_39 = ___pointerEvent0; NullCheck(L_39); float L_40 = PointerEventData_get_clickTime_m2529670096(L_39, /*hidden argument*/NULL); V_3 = ((float)((float)L_38-(float)L_40)); float L_41 = V_3; if ((!(((float)L_41) < ((float)(0.3f))))) { goto IL_00d4; } } { PointerEventData_t3205101634 * L_42 = ___pointerEvent0; PointerEventData_t3205101634 * L_43 = L_42; NullCheck(L_43); int32_t L_44 = PointerEventData_get_clickCount_m341347570(L_43, /*hidden argument*/NULL); NullCheck(L_43); PointerEventData_set_clickCount_m2279104927(L_43, ((int32_t)((int32_t)L_44+(int32_t)1)), /*hidden argument*/NULL); goto IL_00db; } IL_00d4: { PointerEventData_t3205101634 * L_45 = ___pointerEvent0; NullCheck(L_45); PointerEventData_set_clickCount_m2279104927(L_45, 1, /*hidden argument*/NULL); } IL_00db: { PointerEventData_t3205101634 * L_46 = ___pointerEvent0; float L_47 = V_2; NullCheck(L_46); PointerEventData_set_clickTime_m3487651291(L_46, L_47, /*hidden argument*/NULL); goto IL_00ee; } IL_00e7: { PointerEventData_t3205101634 * L_48 = ___pointerEvent0; NullCheck(L_48); PointerEventData_set_clickCount_m2279104927(L_48, 1, /*hidden argument*/NULL); } IL_00ee: { PointerEventData_t3205101634 * L_49 = ___pointerEvent0; GameObject_t4012695102 * L_50 = V_1; NullCheck(L_49); PointerEventData_set_pointerPress_m3037509477(L_49, L_50, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_51 = ___pointerEvent0; GameObject_t4012695102 * L_52 = V_0; NullCheck(L_51); PointerEventData_set_rawPointerPress_m505214625(L_51, L_52, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_53 = ___pointerEvent0; float L_54 = V_2; NullCheck(L_53); PointerEventData_set_clickTime_m3487651291(L_53, L_54, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_55 = ___pointerEvent0; GameObject_t4012695102 * L_56 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); GameObject_t4012695102 * L_57 = ExecuteEvents_GetEventHandler_TisIDragHandler_t3145479144_m1708367342(NULL /*static, unused*/, L_56, /*hidden argument*/ExecuteEvents_GetEventHandler_TisIDragHandler_t3145479144_m1708367342_MethodInfo_var); NullCheck(L_55); PointerEventData_set_pointerDrag_m1194168164(L_55, L_57, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_58 = ___pointerEvent0; NullCheck(L_58); GameObject_t4012695102 * L_59 = PointerEventData_get_pointerDrag_m2109300143(L_58, /*hidden argument*/NULL); bool L_60 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_59, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_60) { goto IL_0132; } } { PointerEventData_t3205101634 * L_61 = ___pointerEvent0; NullCheck(L_61); GameObject_t4012695102 * L_62 = PointerEventData_get_pointerDrag_m2109300143(L_61, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_63 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t3970808732 * L_64 = ExecuteEvents_get_initializePotentialDrag_m3514083626(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIInitializePotentialDragHandler_t922544972_m2010514245(NULL /*static, unused*/, L_62, L_63, L_64, /*hidden argument*/ExecuteEvents_Execute_TisIInitializePotentialDragHandler_t922544972_m2010514245_MethodInfo_var); } IL_0132: { bool L_65 = ___released2; if (!L_65) { goto IL_0243; } } { PointerEventData_t3205101634 * L_66 = ___pointerEvent0; NullCheck(L_66); GameObject_t4012695102 * L_67 = PointerEventData_get_pointerPress_m3028028234(L_66, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_68 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t899770790 * L_69 = ExecuteEvents_get_pointerUpHandler_m1834169334(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071(NULL /*static, unused*/, L_67, L_68, L_69, /*hidden argument*/ExecuteEvents_Execute_TisIPointerUpHandler_t2146474326_m3751797071_MethodInfo_var); GameObject_t4012695102 * L_70 = V_0; GameObject_t4012695102 * L_71 = ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237(NULL /*static, unused*/, L_70, /*hidden argument*/ExecuteEvents_GetEventHandler_TisIPointerClickHandler_t2630585585_m111103237_MethodInfo_var); V_4 = L_71; PointerEventData_t3205101634 * L_72 = ___pointerEvent0; NullCheck(L_72); GameObject_t4012695102 * L_73 = PointerEventData_get_pointerPress_m3028028234(L_72, /*hidden argument*/NULL); GameObject_t4012695102 * L_74 = V_4; bool L_75 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_73, L_74, /*hidden argument*/NULL); if (!L_75) { goto IL_0186; } } { PointerEventData_t3205101634 * L_76 = ___pointerEvent0; NullCheck(L_76); bool L_77 = PointerEventData_get_eligibleForClick_m804806107(L_76, /*hidden argument*/NULL); if (!L_77) { goto IL_0186; } } { PointerEventData_t3205101634 * L_78 = ___pointerEvent0; NullCheck(L_78); GameObject_t4012695102 * L_79 = PointerEventData_get_pointerPress_m3028028234(L_78, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_80 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1383882049 * L_81 = ExecuteEvents_get_pointerClickHandler_m2881872730(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIPointerClickHandler_t2630585585_m109846530(NULL /*static, unused*/, L_79, L_80, L_81, /*hidden argument*/ExecuteEvents_Execute_TisIPointerClickHandler_t2630585585_m109846530_MethodInfo_var); goto IL_01af; } IL_0186: { PointerEventData_t3205101634 * L_82 = ___pointerEvent0; NullCheck(L_82); GameObject_t4012695102 * L_83 = PointerEventData_get_pointerDrag_m2109300143(L_82, /*hidden argument*/NULL); bool L_84 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_83, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_84) { goto IL_01af; } } { PointerEventData_t3205101634 * L_85 = ___pointerEvent0; NullCheck(L_85); bool L_86 = PointerEventData_get_dragging_m3319220148(L_85, /*hidden argument*/NULL); if (!L_86) { goto IL_01af; } } { GameObject_t4012695102 * L_87 = V_0; PointerEventData_t3205101634 * L_88 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t869640733 * L_89 = ExecuteEvents_get_dropHandler_m1933111770(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_ExecuteHierarchy_TisIDropHandler_t2116344269_m4226213918(NULL /*static, unused*/, L_87, L_88, L_89, /*hidden argument*/ExecuteEvents_ExecuteHierarchy_TisIDropHandler_t2116344269_m4226213918_MethodInfo_var); } IL_01af: { PointerEventData_t3205101634 * L_90 = ___pointerEvent0; NullCheck(L_90); PointerEventData_set_eligibleForClick_m4124670100(L_90, (bool)0, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_91 = ___pointerEvent0; NullCheck(L_91); PointerEventData_set_pointerPress_m3037509477(L_91, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_92 = ___pointerEvent0; NullCheck(L_92); PointerEventData_set_rawPointerPress_m505214625(L_92, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_93 = ___pointerEvent0; NullCheck(L_93); GameObject_t4012695102 * L_94 = PointerEventData_get_pointerDrag_m2109300143(L_93, /*hidden argument*/NULL); bool L_95 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_94, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_95) { goto IL_01f2; } } { PointerEventData_t3205101634 * L_96 = ___pointerEvent0; NullCheck(L_96); bool L_97 = PointerEventData_get_dragging_m3319220148(L_96, /*hidden argument*/NULL); if (!L_97) { goto IL_01f2; } } { PointerEventData_t3205101634 * L_98 = ___pointerEvent0; NullCheck(L_98); GameObject_t4012695102 * L_99 = PointerEventData_get_pointerDrag_m2109300143(L_98, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_100 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1032774927 * L_101 = ExecuteEvents_get_endDragHandler_m811393096(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560(NULL /*static, unused*/, L_99, L_100, L_101, /*hidden argument*/ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560_MethodInfo_var); } IL_01f2: { PointerEventData_t3205101634 * L_102 = ___pointerEvent0; NullCheck(L_102); PointerEventData_set_dragging_m1730892973(L_102, (bool)0, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_103 = ___pointerEvent0; NullCheck(L_103); PointerEventData_set_pointerDrag_m1194168164(L_103, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_104 = ___pointerEvent0; NullCheck(L_104); GameObject_t4012695102 * L_105 = PointerEventData_get_pointerDrag_m2109300143(L_104, /*hidden argument*/NULL); bool L_106 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_105, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_106) { goto IL_0223; } } { PointerEventData_t3205101634 * L_107 = ___pointerEvent0; NullCheck(L_107); GameObject_t4012695102 * L_108 = PointerEventData_get_pointerDrag_m2109300143(L_107, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_109 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t1032774927 * L_110 = ExecuteEvents_get_endDragHandler_m811393096(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560(NULL /*static, unused*/, L_108, L_109, L_110, /*hidden argument*/ExecuteEvents_Execute_TisIEndDragHandler_t2279478463_m1215829560_MethodInfo_var); } IL_0223: { PointerEventData_t3205101634 * L_111 = ___pointerEvent0; NullCheck(L_111); PointerEventData_set_pointerDrag_m1194168164(L_111, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_112 = ___pointerEvent0; NullCheck(L_112); GameObject_t4012695102 * L_113 = PointerEventData_get_pointerEnter_m1754340511(L_112, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_114 = ___pointerEvent0; IL2CPP_RUNTIME_CLASS_INIT(ExecuteEvents_t4196265289_il2cpp_TypeInfo_var); EventFunction_1_t2213608131 * L_115 = ExecuteEvents_get_pointerExitHandler_m509229616(NULL /*static, unused*/, /*hidden argument*/NULL); ExecuteEvents_ExecuteHierarchy_TisIPointerExitHandler_t3460311667_m2236465836(NULL /*static, unused*/, L_113, L_114, L_115, /*hidden argument*/ExecuteEvents_ExecuteHierarchy_TisIPointerExitHandler_t3460311667_m2236465836_MethodInfo_var); PointerEventData_t3205101634 * L_116 = ___pointerEvent0; NullCheck(L_116); PointerEventData_set_pointerEnter_m3909544698(L_116, (GameObject_t4012695102 *)NULL, /*hidden argument*/NULL); } IL_0243: { return; } } // System.Void UnityEngine.EventSystems.TouchInputModule::DeactivateModule() extern "C" void TouchInputModule_DeactivateModule_m873087546 (TouchInputModule_t2251026098 * __this, const MethodInfo* method) { { BaseInputModule_DeactivateModule_m2572518820(__this, /*hidden argument*/NULL); PointerInputModule_ClearSelection_m1490775995(__this, /*hidden argument*/NULL); return; } } // System.String UnityEngine.EventSystems.TouchInputModule::ToString() extern Il2CppClass* StringBuilder_t3822575854_il2cpp_TypeInfo_var; extern Il2CppClass* Enumerator_t3462940359_il2cpp_TypeInfo_var; extern Il2CppClass* IDisposable_t1628921374_il2cpp_TypeInfo_var; extern const MethodInfo* Dictionary_2_GetEnumerator_m4148128422_MethodInfo_var; extern const MethodInfo* Enumerator_get_Current_m309197704_MethodInfo_var; extern const MethodInfo* KeyValuePair_2_ToString_m2830201591_MethodInfo_var; extern const MethodInfo* Enumerator_MoveNext_m2421218949_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral405416255; extern Il2CppCodeGenString* _stringLiteral418772175; extern const uint32_t TouchInputModule_ToString_m2343614755_MetadataUsageId; extern "C" String_t* TouchInputModule_ToString_m2343614755 (TouchInputModule_t2251026098 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (TouchInputModule_ToString_m2343614755_MetadataUsageId); s_Il2CppMethodIntialized = true; } StringBuilder_t3822575854 * V_0 = NULL; PointerEventData_t3205101634 * V_1 = NULL; KeyValuePair_2_t3184443715 V_2; memset(&V_2, 0, sizeof(V_2)); Enumerator_t3462940359 V_3; memset(&V_3, 0, sizeof(V_3)); Exception_t1967233988 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1967233988 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); StringBuilder_t3822575854 * G_B2_0 = NULL; StringBuilder_t3822575854 * G_B1_0 = NULL; String_t* G_B3_0 = NULL; StringBuilder_t3822575854 * G_B3_1 = NULL; { StringBuilder_t3822575854 * L_0 = (StringBuilder_t3822575854 *)il2cpp_codegen_object_new(StringBuilder_t3822575854_il2cpp_TypeInfo_var); StringBuilder__ctor_m135953004(L_0, /*hidden argument*/NULL); V_0 = L_0; StringBuilder_t3822575854 * L_1 = V_0; bool L_2 = TouchInputModule_UseFakeInput_m1788394586(__this, /*hidden argument*/NULL); G_B1_0 = L_1; if (!L_2) { G_B2_0 = L_1; goto IL_001c; } } { G_B3_0 = _stringLiteral405416255; G_B3_1 = G_B1_0; goto IL_0021; } IL_001c: { G_B3_0 = _stringLiteral418772175; G_B3_1 = G_B2_0; } IL_0021: { NullCheck(G_B3_1); StringBuilder_AppendLine_m655025863(G_B3_1, G_B3_0, /*hidden argument*/NULL); bool L_3 = TouchInputModule_UseFakeInput_m1788394586(__this, /*hidden argument*/NULL); if (!L_3) { goto IL_0052; } } { PointerEventData_t3205101634 * L_4 = PointerInputModule_GetLastPointerEventData_m238778665(__this, (-1), /*hidden argument*/NULL); V_1 = L_4; PointerEventData_t3205101634 * L_5 = V_1; if (!L_5) { goto IL_004d; } } { StringBuilder_t3822575854 * L_6 = V_0; PointerEventData_t3205101634 * L_7 = V_1; NullCheck(L_7); String_t* L_8 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String UnityEngine.EventSystems.PointerEventData::ToString() */, L_7); NullCheck(L_6); StringBuilder_AppendLine_m655025863(L_6, L_8, /*hidden argument*/NULL); } IL_004d: { goto IL_0096; } IL_0052: { Dictionary_2_t3695912417 * L_9 = ((PointerInputModule_t1553882356 *)__this)->get_m_PointerData_10(); NullCheck(L_9); Enumerator_t3462940359 L_10 = Dictionary_2_GetEnumerator_m4148128422(L_9, /*hidden argument*/Dictionary_2_GetEnumerator_m4148128422_MethodInfo_var); V_3 = L_10; } IL_005e: try { // begin try (depth: 1) { goto IL_0079; } IL_0063: { KeyValuePair_2_t3184443715 L_11 = Enumerator_get_Current_m309197704((&V_3), /*hidden argument*/Enumerator_get_Current_m309197704_MethodInfo_var); V_2 = L_11; StringBuilder_t3822575854 * L_12 = V_0; String_t* L_13 = KeyValuePair_2_ToString_m2830201591((&V_2), /*hidden argument*/KeyValuePair_2_ToString_m2830201591_MethodInfo_var); NullCheck(L_12); StringBuilder_AppendLine_m655025863(L_12, L_13, /*hidden argument*/NULL); } IL_0079: { bool L_14 = Enumerator_MoveNext_m2421218949((&V_3), /*hidden argument*/Enumerator_MoveNext_m2421218949_MethodInfo_var); if (L_14) { goto IL_0063; } } IL_0085: { IL2CPP_LEAVE(0x96, FINALLY_008a); } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1967233988 *)e.ex; goto FINALLY_008a; } FINALLY_008a: { // begin finally (depth: 1) Enumerator_t3462940359 L_15 = V_3; Enumerator_t3462940359 L_16 = L_15; Il2CppObject * L_17 = Box(Enumerator_t3462940359_il2cpp_TypeInfo_var, &L_16); NullCheck((Il2CppObject *)L_17); InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t1628921374_il2cpp_TypeInfo_var, (Il2CppObject *)L_17); IL2CPP_END_FINALLY(138) } // end finally (depth: 1) IL2CPP_CLEANUP(138) { IL2CPP_JUMP_TBL(0x96, IL_0096) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1967233988 *) } IL_0096: { StringBuilder_t3822575854 * L_18 = V_0; NullCheck(L_18); String_t* L_19 = StringBuilder_ToString_m350379841(L_18, /*hidden argument*/NULL); return L_19; } } // System.Void UnityEngine.EventSystems.UIBehaviour::.ctor() extern "C" void UIBehaviour__ctor_m1261553468 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { MonoBehaviour__ctor_m2022291967(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.EventSystems.UIBehaviour::Awake() extern "C" void UIBehaviour_Awake_m1499158687 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.EventSystems.UIBehaviour::OnEnable() extern "C" void UIBehaviour_OnEnable_m4047103690 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.EventSystems.UIBehaviour::Start() extern "C" void UIBehaviour_Start_m208691260 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.EventSystems.UIBehaviour::OnDisable() extern "C" void UIBehaviour_OnDisable_m1347100067 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.EventSystems.UIBehaviour::OnDestroy() extern "C" void UIBehaviour_OnDestroy_m3524632117 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { return; } } // System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() extern "C" bool UIBehaviour_IsActive_m3417391654 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { bool L_0 = Behaviour_get_isActiveAndEnabled_m210167461(__this, /*hidden argument*/NULL); return L_0; } } // System.Void UnityEngine.EventSystems.UIBehaviour::OnRectTransformDimensionsChange() extern "C" void UIBehaviour_OnRectTransformDimensionsChange_m406568928 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.EventSystems.UIBehaviour::OnBeforeTransformParentChanged() extern "C" void UIBehaviour_OnBeforeTransformParentChanged_m216909636 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.EventSystems.UIBehaviour::OnTransformParentChanged() extern "C" void UIBehaviour_OnTransformParentChanged_m1017023781 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.EventSystems.UIBehaviour::OnDidApplyAnimationProperties() extern "C" void UIBehaviour_OnDidApplyAnimationProperties_m1721800419 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.EventSystems.UIBehaviour::OnCanvasGroupChanged() extern "C" void UIBehaviour_OnCanvasGroupChanged_m2106086004 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.EventSystems.UIBehaviour::OnCanvasHierarchyChanged() extern "C" void UIBehaviour_OnCanvasHierarchyChanged_m1210291326 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { return; } } // System.Boolean UnityEngine.EventSystems.UIBehaviour::IsDestroyed() extern "C" bool UIBehaviour_IsDestroyed_m3027499227 (UIBehaviour_t644839684 * __this, const MethodInfo* method) { { bool L_0 = Object_op_Equality_m3964590952(NULL /*static, unused*/, __this, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); return L_0; } } // System.Void UnityEngine.UI.AnimationTriggers::.ctor() extern Il2CppCodeGenString* _stringLiteral2339088647; extern Il2CppCodeGenString* _stringLiteral4154385459; extern Il2CppCodeGenString* _stringLiteral1346388994; extern Il2CppCodeGenString* _stringLiteral335584924; extern const uint32_t AnimationTriggers__ctor_m4034548412_MetadataUsageId; extern "C" void AnimationTriggers__ctor_m4034548412 (AnimationTriggers_t513475400 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (AnimationTriggers__ctor_m4034548412_MetadataUsageId); s_Il2CppMethodIntialized = true; } { __this->set_m_NormalTrigger_4(_stringLiteral2339088647); __this->set_m_HighlightedTrigger_5(_stringLiteral4154385459); __this->set_m_PressedTrigger_6(_stringLiteral1346388994); __this->set_m_DisabledTrigger_7(_stringLiteral335584924); Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.String UnityEngine.UI.AnimationTriggers::get_normalTrigger() extern "C" String_t* AnimationTriggers_get_normalTrigger_m326085791 (AnimationTriggers_t513475400 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_m_NormalTrigger_4(); return L_0; } } // System.Void UnityEngine.UI.AnimationTriggers::set_normalTrigger(System.String) extern "C" void AnimationTriggers_set_normalTrigger_m2497706644 (AnimationTriggers_t513475400 * __this, String_t* ___value0, const MethodInfo* method) { { String_t* L_0 = ___value0; __this->set_m_NormalTrigger_4(L_0); return; } } // System.String UnityEngine.UI.AnimationTriggers::get_highlightedTrigger() extern "C" String_t* AnimationTriggers_get_highlightedTrigger_m1862702265 (AnimationTriggers_t513475400 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_m_HighlightedTrigger_5(); return L_0; } } // System.Void UnityEngine.UI.AnimationTriggers::set_highlightedTrigger(System.String) extern "C" void AnimationTriggers_set_highlightedTrigger_m3911773112 (AnimationTriggers_t513475400 * __this, String_t* ___value0, const MethodInfo* method) { { String_t* L_0 = ___value0; __this->set_m_HighlightedTrigger_5(L_0); return; } } // System.String UnityEngine.UI.AnimationTriggers::get_pressedTrigger() extern "C" String_t* AnimationTriggers_get_pressedTrigger_m3081240394 (AnimationTriggers_t513475400 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_m_PressedTrigger_6(); return L_0; } } // System.Void UnityEngine.UI.AnimationTriggers::set_pressedTrigger(System.String) extern "C" void AnimationTriggers_set_pressedTrigger_m763343943 (AnimationTriggers_t513475400 * __this, String_t* ___value0, const MethodInfo* method) { { String_t* L_0 = ___value0; __this->set_m_PressedTrigger_6(L_0); return; } } // System.String UnityEngine.UI.AnimationTriggers::get_disabledTrigger() extern "C" String_t* AnimationTriggers_get_disabledTrigger_m2031458154 (AnimationTriggers_t513475400 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_m_DisabledTrigger_7(); return L_0; } } // System.Void UnityEngine.UI.AnimationTriggers::set_disabledTrigger(System.String) extern "C" void AnimationTriggers_set_disabledTrigger_m472449385 (AnimationTriggers_t513475400 * __this, String_t* ___value0, const MethodInfo* method) { { String_t* L_0 = ___value0; __this->set_m_DisabledTrigger_7(L_0); return; } } // System.Void UnityEngine.UI.AspectRatioFitter::.ctor() extern "C" void AspectRatioFitter__ctor_m832848312 (AspectRatioFitter_t834996428 * __this, const MethodInfo* method) { { __this->set_m_AspectRatio_3((1.0f)); UIBehaviour__ctor_m1261553468(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.AspectRatioFitter/AspectMode UnityEngine.UI.AspectRatioFitter::get_aspectMode() extern "C" int32_t AspectRatioFitter_get_aspectMode_m1442516665 (AspectRatioFitter_t834996428 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_AspectMode_2(); return L_0; } } // System.Void UnityEngine.UI.AspectRatioFitter::set_aspectMode(UnityEngine.UI.AspectRatioFitter/AspectMode) extern const MethodInfo* SetPropertyUtility_SetStruct_TisAspectMode_t2721296955_m800854655_MethodInfo_var; extern const uint32_t AspectRatioFitter_set_aspectMode_m3373690308_MetadataUsageId; extern "C" void AspectRatioFitter_set_aspectMode_m3373690308 (AspectRatioFitter_t834996428 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (AspectRatioFitter_set_aspectMode_m3373690308_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_AspectMode_2(); int32_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisAspectMode_t2721296955_m800854655(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisAspectMode_t2721296955_m800854655_MethodInfo_var); if (!L_2) { goto IL_0017; } } { AspectRatioFitter_SetDirty_m1662064540(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // System.Single UnityEngine.UI.AspectRatioFitter::get_aspectRatio() extern "C" float AspectRatioFitter_get_aspectRatio_m1760059860 (AspectRatioFitter_t834996428 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_AspectRatio_3(); return L_0; } } // System.Void UnityEngine.UI.AspectRatioFitter::set_aspectRatio(System.Single) extern const MethodInfo* SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var; extern const uint32_t AspectRatioFitter_set_aspectRatio_m934620095_MetadataUsageId; extern "C" void AspectRatioFitter_set_aspectRatio_m934620095 (AspectRatioFitter_t834996428 * __this, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (AspectRatioFitter_set_aspectRatio_m934620095_MetadataUsageId); s_Il2CppMethodIntialized = true; } { float* L_0 = __this->get_address_of_m_AspectRatio_3(); float L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var); if (!L_2) { goto IL_0017; } } { AspectRatioFitter_SetDirty_m1662064540(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // UnityEngine.RectTransform UnityEngine.UI.AspectRatioFitter::get_rectTransform() extern const MethodInfo* Component_GetComponent_TisRectTransform_t3317474837_m1940403147_MethodInfo_var; extern const uint32_t AspectRatioFitter_get_rectTransform_m3884626579_MetadataUsageId; extern "C" RectTransform_t3317474837 * AspectRatioFitter_get_rectTransform_m3884626579 (AspectRatioFitter_t834996428 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (AspectRatioFitter_get_rectTransform_m3884626579_MetadataUsageId); s_Il2CppMethodIntialized = true; } { RectTransform_t3317474837 * L_0 = __this->get_m_Rect_4(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001d; } } { RectTransform_t3317474837 * L_2 = Component_GetComponent_TisRectTransform_t3317474837_m1940403147(__this, /*hidden argument*/Component_GetComponent_TisRectTransform_t3317474837_m1940403147_MethodInfo_var); __this->set_m_Rect_4(L_2); } IL_001d: { RectTransform_t3317474837 * L_3 = __this->get_m_Rect_4(); return L_3; } } // System.Void UnityEngine.UI.AspectRatioFitter::OnEnable() extern "C" void AspectRatioFitter_OnEnable_m1429572302 (AspectRatioFitter_t834996428 * __this, const MethodInfo* method) { { UIBehaviour_OnEnable_m4047103690(__this, /*hidden argument*/NULL); AspectRatioFitter_SetDirty_m1662064540(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.AspectRatioFitter::OnDisable() extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const uint32_t AspectRatioFitter_OnDisable_m1808005663_MetadataUsageId; extern "C" void AspectRatioFitter_OnDisable_m1808005663 (AspectRatioFitter_t834996428 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (AspectRatioFitter_OnDisable_m1808005663_MetadataUsageId); s_Il2CppMethodIntialized = true; } { DrivenRectTransformTracker_t3675273953 * L_0 = __this->get_address_of_m_Tracker_5(); DrivenRectTransformTracker_Clear_m309315364(L_0, /*hidden argument*/NULL); RectTransform_t3317474837 * L_1 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_MarkLayoutForRebuild_m901621521(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); UIBehaviour_OnDisable_m1347100067(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.AspectRatioFitter::OnRectTransformDimensionsChange() extern "C" void AspectRatioFitter_OnRectTransformDimensionsChange_m1500370780 (AspectRatioFitter_t834996428 * __this, const MethodInfo* method) { { AspectRatioFitter_UpdateRect_m1803770713(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.AspectRatioFitter::UpdateRect() extern "C" void AspectRatioFitter_UpdateRect_m1803770713 (AspectRatioFitter_t834996428 * __this, const MethodInfo* method) { Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); Vector2_t3525329788 V_1; memset(&V_1, 0, sizeof(V_1)); int32_t V_2 = 0; Rect_t1525428817 V_3; memset(&V_3, 0, sizeof(V_3)); Rect_t1525428817 V_4; memset(&V_4, 0, sizeof(V_4)); { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (L_0) { goto IL_000c; } } { return; } IL_000c: { DrivenRectTransformTracker_t3675273953 * L_1 = __this->get_address_of_m_Tracker_5(); DrivenRectTransformTracker_Clear_m309315364(L_1, /*hidden argument*/NULL); int32_t L_2 = __this->get_m_AspectMode_2(); V_2 = L_2; int32_t L_3 = V_2; if (((int32_t)((int32_t)L_3-(int32_t)1)) == 0) { goto IL_007d; } if (((int32_t)((int32_t)L_3-(int32_t)1)) == 1) { goto IL_003b; } if (((int32_t)((int32_t)L_3-(int32_t)1)) == 2) { goto IL_00c0; } if (((int32_t)((int32_t)L_3-(int32_t)1)) == 3) { goto IL_00c0; } } { goto IL_0188; } IL_003b: { DrivenRectTransformTracker_t3675273953 * L_4 = __this->get_address_of_m_Tracker_5(); RectTransform_t3317474837 * L_5 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); DrivenRectTransformTracker_Add_m3461523141(L_4, __this, L_5, ((int32_t)4096), /*hidden argument*/NULL); RectTransform_t3317474837 * L_6 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); RectTransform_t3317474837 * L_7 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); NullCheck(L_7); Rect_t1525428817 L_8 = RectTransform_get_rect_m1566017036(L_7, /*hidden argument*/NULL); V_3 = L_8; float L_9 = Rect_get_height_m2154960823((&V_3), /*hidden argument*/NULL); float L_10 = __this->get_m_AspectRatio_3(); NullCheck(L_6); RectTransform_SetSizeWithCurrentAnchors_m4019722691(L_6, 0, ((float)((float)L_9*(float)L_10)), /*hidden argument*/NULL); goto IL_0188; } IL_007d: { DrivenRectTransformTracker_t3675273953 * L_11 = __this->get_address_of_m_Tracker_5(); RectTransform_t3317474837 * L_12 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); DrivenRectTransformTracker_Add_m3461523141(L_11, __this, L_12, ((int32_t)8192), /*hidden argument*/NULL); RectTransform_t3317474837 * L_13 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); RectTransform_t3317474837 * L_14 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); NullCheck(L_14); Rect_t1525428817 L_15 = RectTransform_get_rect_m1566017036(L_14, /*hidden argument*/NULL); V_4 = L_15; float L_16 = Rect_get_width_m2824209432((&V_4), /*hidden argument*/NULL); float L_17 = __this->get_m_AspectRatio_3(); NullCheck(L_13); RectTransform_SetSizeWithCurrentAnchors_m4019722691(L_13, 1, ((float)((float)L_16/(float)L_17)), /*hidden argument*/NULL); goto IL_0188; } IL_00c0: { DrivenRectTransformTracker_t3675273953 * L_18 = __this->get_address_of_m_Tracker_5(); RectTransform_t3317474837 * L_19 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); DrivenRectTransformTracker_Add_m3461523141(L_18, __this, L_19, ((int32_t)16134), /*hidden argument*/NULL); RectTransform_t3317474837 * L_20 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); Vector2_t3525329788 L_21 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_20); RectTransform_set_anchorMin_m989253483(L_20, L_21, /*hidden argument*/NULL); RectTransform_t3317474837 * L_22 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); Vector2_t3525329788 L_23 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_22); RectTransform_set_anchorMax_m715345817(L_22, L_23, /*hidden argument*/NULL); RectTransform_t3317474837 * L_24 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); Vector2_t3525329788 L_25 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_24); RectTransform_set_anchoredPosition_m1498949997(L_24, L_25, /*hidden argument*/NULL); Vector2_t3525329788 L_26 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_26; Vector2_t3525329788 L_27 = AspectRatioFitter_GetParentSize_m642682972(__this, /*hidden argument*/NULL); V_1 = L_27; float L_28 = (&V_1)->get_y_2(); float L_29 = AspectRatioFitter_get_aspectRatio_m1760059860(__this, /*hidden argument*/NULL); float L_30 = (&V_1)->get_x_1(); int32_t L_31 = __this->get_m_AspectMode_2(); if (!((int32_t)((int32_t)((((float)((float)((float)L_28*(float)L_29))) < ((float)L_30))? 1 : 0)^(int32_t)((((int32_t)L_31) == ((int32_t)3))? 1 : 0)))) { goto IL_015b; } } { float L_32 = (&V_1)->get_x_1(); float L_33 = AspectRatioFitter_get_aspectRatio_m1760059860(__this, /*hidden argument*/NULL); float L_34 = AspectRatioFitter_GetSizeDeltaToProduceSize_m1662613595(__this, ((float)((float)L_32/(float)L_33)), 1, /*hidden argument*/NULL); (&V_0)->set_y_2(L_34); goto IL_0177; } IL_015b: { float L_35 = (&V_1)->get_y_2(); float L_36 = AspectRatioFitter_get_aspectRatio_m1760059860(__this, /*hidden argument*/NULL); float L_37 = AspectRatioFitter_GetSizeDeltaToProduceSize_m1662613595(__this, ((float)((float)L_35*(float)L_36)), 0, /*hidden argument*/NULL); (&V_0)->set_x_1(L_37); } IL_0177: { RectTransform_t3317474837 * L_38 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); Vector2_t3525329788 L_39 = V_0; NullCheck(L_38); RectTransform_set_sizeDelta_m1223846609(L_38, L_39, /*hidden argument*/NULL); goto IL_0188; } IL_0188: { return; } } // System.Single UnityEngine.UI.AspectRatioFitter::GetSizeDeltaToProduceSize(System.Single,System.Int32) extern "C" float AspectRatioFitter_GetSizeDeltaToProduceSize_m1662613595 (AspectRatioFitter_t834996428 * __this, float ___size0, int32_t ___axis1, const MethodInfo* method) { Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); Vector2_t3525329788 V_1; memset(&V_1, 0, sizeof(V_1)); Vector2_t3525329788 V_2; memset(&V_2, 0, sizeof(V_2)); { float L_0 = ___size0; Vector2_t3525329788 L_1 = AspectRatioFitter_GetParentSize_m642682972(__this, /*hidden argument*/NULL); V_0 = L_1; int32_t L_2 = ___axis1; float L_3 = Vector2_get_Item_m2185542843((&V_0), L_2, /*hidden argument*/NULL); RectTransform_t3317474837 * L_4 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); NullCheck(L_4); Vector2_t3525329788 L_5 = RectTransform_get_anchorMax_m688445456(L_4, /*hidden argument*/NULL); V_1 = L_5; int32_t L_6 = ___axis1; float L_7 = Vector2_get_Item_m2185542843((&V_1), L_6, /*hidden argument*/NULL); RectTransform_t3317474837 * L_8 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); NullCheck(L_8); Vector2_t3525329788 L_9 = RectTransform_get_anchorMin_m688674174(L_8, /*hidden argument*/NULL); V_2 = L_9; int32_t L_10 = ___axis1; float L_11 = Vector2_get_Item_m2185542843((&V_2), L_10, /*hidden argument*/NULL); return ((float)((float)L_0-(float)((float)((float)L_3*(float)((float)((float)L_7-(float)L_11)))))); } } // UnityEngine.Vector2 UnityEngine.UI.AspectRatioFitter::GetParentSize() extern Il2CppClass* RectTransform_t3317474837_il2cpp_TypeInfo_var; extern const uint32_t AspectRatioFitter_GetParentSize_m642682972_MetadataUsageId; extern "C" Vector2_t3525329788 AspectRatioFitter_GetParentSize_m642682972 (AspectRatioFitter_t834996428 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (AspectRatioFitter_GetParentSize_m642682972_MetadataUsageId); s_Il2CppMethodIntialized = true; } RectTransform_t3317474837 * V_0 = NULL; Rect_t1525428817 V_1; memset(&V_1, 0, sizeof(V_1)); { RectTransform_t3317474837 * L_0 = AspectRatioFitter_get_rectTransform_m3884626579(__this, /*hidden argument*/NULL); NullCheck(L_0); Transform_t284553113 * L_1 = Transform_get_parent_m2236876972(L_0, /*hidden argument*/NULL); V_0 = ((RectTransform_t3317474837 *)IsInstSealed(L_1, RectTransform_t3317474837_il2cpp_TypeInfo_var)); RectTransform_t3317474837 * L_2 = V_0; bool L_3 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); if (L_3) { goto IL_0022; } } { Vector2_t3525329788 L_4 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); return L_4; } IL_0022: { RectTransform_t3317474837 * L_5 = V_0; NullCheck(L_5); Rect_t1525428817 L_6 = RectTransform_get_rect_m1566017036(L_5, /*hidden argument*/NULL); V_1 = L_6; Vector2_t3525329788 L_7 = Rect_get_size_m136480416((&V_1), /*hidden argument*/NULL); return L_7; } } // System.Void UnityEngine.UI.AspectRatioFitter::SetLayoutHorizontal() extern "C" void AspectRatioFitter_SetLayoutHorizontal_m4171834758 (AspectRatioFitter_t834996428 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.UI.AspectRatioFitter::SetLayoutVertical() extern "C" void AspectRatioFitter_SetLayoutVertical_m815552664 (AspectRatioFitter_t834996428 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.UI.AspectRatioFitter::SetDirty() extern "C" void AspectRatioFitter_SetDirty_m1662064540 (AspectRatioFitter_t834996428 * __this, const MethodInfo* method) { { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (L_0) { goto IL_000c; } } { return; } IL_000c: { AspectRatioFitter_UpdateRect_m1803770713(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.BaseMeshEffect::.ctor() extern "C" void BaseMeshEffect__ctor_m2332499996 (BaseMeshEffect_t770218424 * __this, const MethodInfo* method) { { UIBehaviour__ctor_m1261553468(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.Graphic UnityEngine.UI.BaseMeshEffect::get_graphic() extern const MethodInfo* Component_GetComponent_TisGraphic_t933884113_m908906813_MethodInfo_var; extern const uint32_t BaseMeshEffect_get_graphic_m2567098443_MetadataUsageId; extern "C" Graphic_t933884113 * BaseMeshEffect_get_graphic_m2567098443 (BaseMeshEffect_t770218424 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BaseMeshEffect_get_graphic_m2567098443_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Graphic_t933884113 * L_0 = __this->get_m_Graphic_2(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001d; } } { Graphic_t933884113 * L_2 = Component_GetComponent_TisGraphic_t933884113_m908906813(__this, /*hidden argument*/Component_GetComponent_TisGraphic_t933884113_m908906813_MethodInfo_var); __this->set_m_Graphic_2(L_2); } IL_001d: { Graphic_t933884113 * L_3 = __this->get_m_Graphic_2(); return L_3; } } // System.Void UnityEngine.UI.BaseMeshEffect::OnEnable() extern "C" void BaseMeshEffect_OnEnable_m1303077354 (BaseMeshEffect_t770218424 * __this, const MethodInfo* method) { { UIBehaviour_OnEnable_m4047103690(__this, /*hidden argument*/NULL); Graphic_t933884113 * L_0 = BaseMeshEffect_get_graphic_m2567098443(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0022; } } { Graphic_t933884113 * L_2 = BaseMeshEffect_get_graphic_m2567098443(__this, /*hidden argument*/NULL); NullCheck(L_2); VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, L_2); } IL_0022: { return; } } // System.Void UnityEngine.UI.BaseMeshEffect::OnDisable() extern "C" void BaseMeshEffect_OnDisable_m2181629571 (BaseMeshEffect_t770218424 * __this, const MethodInfo* method) { { Graphic_t933884113 * L_0 = BaseMeshEffect_get_graphic_m2567098443(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001c; } } { Graphic_t933884113 * L_2 = BaseMeshEffect_get_graphic_m2567098443(__this, /*hidden argument*/NULL); NullCheck(L_2); VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, L_2); } IL_001c: { UIBehaviour_OnDisable_m1347100067(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.BaseMeshEffect::OnDidApplyAnimationProperties() extern "C" void BaseMeshEffect_OnDidApplyAnimationProperties_m4231090115 (BaseMeshEffect_t770218424 * __this, const MethodInfo* method) { { Graphic_t933884113 * L_0 = BaseMeshEffect_get_graphic_m2567098443(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001c; } } { Graphic_t933884113 * L_2 = BaseMeshEffect_get_graphic_m2567098443(__this, /*hidden argument*/NULL); NullCheck(L_2); VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, L_2); } IL_001c: { UIBehaviour_OnDidApplyAnimationProperties_m1721800419(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.BaseMeshEffect::ModifyMesh(UnityEngine.Mesh) extern Il2CppClass* VertexHelper_t1471929499_il2cpp_TypeInfo_var; extern Il2CppClass* IDisposable_t1628921374_il2cpp_TypeInfo_var; extern const uint32_t BaseMeshEffect_ModifyMesh_m4260756811_MetadataUsageId; extern "C" void BaseMeshEffect_ModifyMesh_m4260756811 (BaseMeshEffect_t770218424 * __this, Mesh_t1525280346 * ___mesh0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (BaseMeshEffect_ModifyMesh_m4260756811_MetadataUsageId); s_Il2CppMethodIntialized = true; } VertexHelper_t1471929499 * V_0 = NULL; Exception_t1967233988 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1967233988 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { Mesh_t1525280346 * L_0 = ___mesh0; VertexHelper_t1471929499 * L_1 = (VertexHelper_t1471929499 *)il2cpp_codegen_object_new(VertexHelper_t1471929499_il2cpp_TypeInfo_var); VertexHelper__ctor_m4240166773(L_1, L_0, /*hidden argument*/NULL); V_0 = L_1; } IL_0007: try { // begin try (depth: 1) VertexHelper_t1471929499 * L_2 = V_0; VirtActionInvoker1< VertexHelper_t1471929499 * >::Invoke(19 /* System.Void UnityEngine.UI.BaseMeshEffect::ModifyMesh(UnityEngine.UI.VertexHelper) */, __this, L_2); VertexHelper_t1471929499 * L_3 = V_0; Mesh_t1525280346 * L_4 = ___mesh0; NullCheck(L_3); VertexHelper_FillMesh_m2371101047(L_3, L_4, /*hidden argument*/NULL); IL2CPP_LEAVE(0x27, FINALLY_001a); } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1967233988 *)e.ex; goto FINALLY_001a; } FINALLY_001a: { // begin finally (depth: 1) { VertexHelper_t1471929499 * L_5 = V_0; if (!L_5) { goto IL_0026; } } IL_0020: { VertexHelper_t1471929499 * L_6 = V_0; NullCheck(L_6); InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t1628921374_il2cpp_TypeInfo_var, L_6); } IL_0026: { IL2CPP_END_FINALLY(26) } } // end finally (depth: 1) IL2CPP_CLEANUP(26) { IL2CPP_JUMP_TBL(0x27, IL_0027) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1967233988 *) } IL_0027: { return; } } // System.Void UnityEngine.UI.BaseVertexEffect::.ctor() extern "C" void BaseVertexEffect__ctor_m1287105989 (BaseVertexEffect_t381296623 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Button::.ctor() extern Il2CppClass* ButtonClickedEvent_t962981669_il2cpp_TypeInfo_var; extern Il2CppClass* Selectable_t3621744255_il2cpp_TypeInfo_var; extern const uint32_t Button__ctor_m3363033049_MetadataUsageId; extern "C" void Button__ctor_m3363033049 (Button_t990034267 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Button__ctor_m3363033049_MetadataUsageId); s_Il2CppMethodIntialized = true; } { ButtonClickedEvent_t962981669 * L_0 = (ButtonClickedEvent_t962981669 *)il2cpp_codegen_object_new(ButtonClickedEvent_t962981669_il2cpp_TypeInfo_var); ButtonClickedEvent__ctor_m1416137305(L_0, /*hidden argument*/NULL); __this->set_m_OnClick_16(L_0); IL2CPP_RUNTIME_CLASS_INIT(Selectable_t3621744255_il2cpp_TypeInfo_var); Selectable__ctor_m1133588277(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.Button/ButtonClickedEvent UnityEngine.UI.Button::get_onClick() extern "C" ButtonClickedEvent_t962981669 * Button_get_onClick_m1145127631 (Button_t990034267 * __this, const MethodInfo* method) { { ButtonClickedEvent_t962981669 * L_0 = __this->get_m_OnClick_16(); return L_0; } } // System.Void UnityEngine.UI.Button::set_onClick(UnityEngine.UI.Button/ButtonClickedEvent) extern "C" void Button_set_onClick_m2495243460 (Button_t990034267 * __this, ButtonClickedEvent_t962981669 * ___value0, const MethodInfo* method) { { ButtonClickedEvent_t962981669 * L_0 = ___value0; __this->set_m_OnClick_16(L_0); return; } } // System.Void UnityEngine.UI.Button::Press() extern "C" void Button_Press_m3889091706 (Button_t990034267 * __this, const MethodInfo* method) { { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (!L_0) { goto IL_0016; } } { bool L_1 = VirtFuncInvoker0< bool >::Invoke(23 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this); if (L_1) { goto IL_0017; } } IL_0016: { return; } IL_0017: { ButtonClickedEvent_t962981669 * L_2 = __this->get_m_OnClick_16(); NullCheck(L_2); UnityEvent_Invoke_m2672830205(L_2, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Button::OnPointerClick(UnityEngine.EventSystems.PointerEventData) extern "C" void Button_OnPointerClick_m2363576585 (Button_t990034267 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; NullCheck(L_0); int32_t L_1 = PointerEventData_get_button_m796143251(L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_000c; } } { return; } IL_000c: { Button_Press_m3889091706(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Button::OnSubmit(UnityEngine.EventSystems.BaseEventData) extern "C" void Button_OnSubmit_m3916273468 (Button_t990034267 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { { Button_Press_m3889091706(__this, /*hidden argument*/NULL); bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (!L_0) { goto IL_001c; } } { bool L_1 = VirtFuncInvoker0< bool >::Invoke(23 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this); if (L_1) { goto IL_001d; } } IL_001c: { return; } IL_001d: { VirtActionInvoker2< int32_t, bool >::Invoke(25 /* System.Void UnityEngine.UI.Selectable::DoStateTransition(UnityEngine.UI.Selectable/SelectionState,System.Boolean) */, __this, 2, (bool)0); Il2CppObject * L_2 = Button_OnFinishSubmit_m46760755(__this, /*hidden argument*/NULL); MonoBehaviour_StartCoroutine_m2135303124(__this, L_2, /*hidden argument*/NULL); return; } } // System.Collections.IEnumerator UnityEngine.UI.Button::OnFinishSubmit() extern Il2CppClass* U3COnFinishSubmitU3Ec__Iterator1_t2305455320_il2cpp_TypeInfo_var; extern const uint32_t Button_OnFinishSubmit_m46760755_MetadataUsageId; extern "C" Il2CppObject * Button_OnFinishSubmit_m46760755 (Button_t990034267 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Button_OnFinishSubmit_m46760755_MetadataUsageId); s_Il2CppMethodIntialized = true; } U3COnFinishSubmitU3Ec__Iterator1_t2305455320 * V_0 = NULL; { U3COnFinishSubmitU3Ec__Iterator1_t2305455320 * L_0 = (U3COnFinishSubmitU3Ec__Iterator1_t2305455320 *)il2cpp_codegen_object_new(U3COnFinishSubmitU3Ec__Iterator1_t2305455320_il2cpp_TypeInfo_var); U3COnFinishSubmitU3Ec__Iterator1__ctor_m299272262(L_0, /*hidden argument*/NULL); V_0 = L_0; U3COnFinishSubmitU3Ec__Iterator1_t2305455320 * L_1 = V_0; NullCheck(L_1); L_1->set_U3CU3Ef__this_4(__this); U3COnFinishSubmitU3Ec__Iterator1_t2305455320 * L_2 = V_0; return L_2; } } // System.Void UnityEngine.UI.Button/<OnFinishSubmit>c__Iterator1::.ctor() extern "C" void U3COnFinishSubmitU3Ec__Iterator1__ctor_m299272262 (U3COnFinishSubmitU3Ec__Iterator1_t2305455320 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Object UnityEngine.UI.Button/<OnFinishSubmit>c__Iterator1::System.Collections.Generic.IEnumerator<object>.get_Current() extern "C" Il2CppObject * U3COnFinishSubmitU3Ec__Iterator1_System_Collections_Generic_IEnumeratorU3CobjectU3E_get_Current_m784619862 (U3COnFinishSubmitU3Ec__Iterator1_t2305455320 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = __this->get_U24current_3(); return L_0; } } // System.Object UnityEngine.UI.Button/<OnFinishSubmit>c__Iterator1::System.Collections.IEnumerator.get_Current() extern "C" Il2CppObject * U3COnFinishSubmitU3Ec__Iterator1_System_Collections_IEnumerator_get_Current_m353356010 (U3COnFinishSubmitU3Ec__Iterator1_t2305455320 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = __this->get_U24current_3(); return L_0; } } // System.Boolean UnityEngine.UI.Button/<OnFinishSubmit>c__Iterator1::MoveNext() extern "C" bool U3COnFinishSubmitU3Ec__Iterator1_MoveNext_m2222960880 (U3COnFinishSubmitU3Ec__Iterator1_t2305455320 * __this, const MethodInfo* method) { uint32_t V_0 = 0; ColorBlock_t2245020947 V_1; memset(&V_1, 0, sizeof(V_1)); bool V_2 = false; { int32_t L_0 = __this->get_U24PC_2(); V_0 = L_0; __this->set_U24PC_2((-1)); uint32_t L_1 = V_0; if (L_1 == 0) { goto IL_0021; } if (L_1 == 1) { goto IL_006f; } } { goto IL_009e; } IL_0021: { Button_t990034267 * L_2 = __this->get_U3CU3Ef__this_4(); NullCheck(L_2); ColorBlock_t2245020947 L_3 = Selectable_get_colors_m2926475394(L_2, /*hidden argument*/NULL); V_1 = L_3; float L_4 = ColorBlock_get_fadeDuration_m2386809488((&V_1), /*hidden argument*/NULL); __this->set_U3CfadeTimeU3E__0_0(L_4); __this->set_U3CelapsedTimeU3E__1_1((0.0f)); goto IL_006f; } IL_004a: { float L_5 = __this->get_U3CelapsedTimeU3E__1_1(); float L_6 = Time_get_unscaledDeltaTime_m285638843(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_U3CelapsedTimeU3E__1_1(((float)((float)L_5+(float)L_6))); __this->set_U24current_3(NULL); __this->set_U24PC_2(1); goto IL_00a0; } IL_006f: { float L_7 = __this->get_U3CelapsedTimeU3E__1_1(); float L_8 = __this->get_U3CfadeTimeU3E__0_0(); if ((((float)L_7) < ((float)L_8))) { goto IL_004a; } } { Button_t990034267 * L_9 = __this->get_U3CU3Ef__this_4(); Button_t990034267 * L_10 = __this->get_U3CU3Ef__this_4(); NullCheck(L_10); int32_t L_11 = Selectable_get_currentSelectionState_m730905540(L_10, /*hidden argument*/NULL); NullCheck(L_9); VirtActionInvoker2< int32_t, bool >::Invoke(25 /* System.Void UnityEngine.UI.Selectable::DoStateTransition(UnityEngine.UI.Selectable/SelectionState,System.Boolean) */, L_9, L_11, (bool)0); __this->set_U24PC_2((-1)); } IL_009e: { return (bool)0; } IL_00a0: { return (bool)1; } // Dead block : IL_00a2: ldloc.2 } // System.Void UnityEngine.UI.Button/<OnFinishSubmit>c__Iterator1::Dispose() extern "C" void U3COnFinishSubmitU3Ec__Iterator1_Dispose_m4031085315 (U3COnFinishSubmitU3Ec__Iterator1_t2305455320 * __this, const MethodInfo* method) { { __this->set_U24PC_2((-1)); return; } } // System.Void UnityEngine.UI.Button/<OnFinishSubmit>c__Iterator1::Reset() extern Il2CppClass* NotSupportedException_t1374155497_il2cpp_TypeInfo_var; extern const uint32_t U3COnFinishSubmitU3Ec__Iterator1_Reset_m2240672499_MetadataUsageId; extern "C" void U3COnFinishSubmitU3Ec__Iterator1_Reset_m2240672499 (U3COnFinishSubmitU3Ec__Iterator1_t2305455320 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (U3COnFinishSubmitU3Ec__Iterator1_Reset_m2240672499_MetadataUsageId); s_Il2CppMethodIntialized = true; } { NotSupportedException_t1374155497 * L_0 = (NotSupportedException_t1374155497 *)il2cpp_codegen_object_new(NotSupportedException_t1374155497_il2cpp_TypeInfo_var); NotSupportedException__ctor_m149930845(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Void UnityEngine.UI.Button/ButtonClickedEvent::.ctor() extern "C" void ButtonClickedEvent__ctor_m1416137305 (ButtonClickedEvent_t962981669 * __this, const MethodInfo* method) { { UnityEvent__ctor_m1715209183(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.CanvasScaler::.ctor() extern "C" void CanvasScaler__ctor_m2274485483 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { __this->set_m_ReferencePixelsPerUnit_4((100.0f)); __this->set_m_ScaleFactor_5((1.0f)); Vector2_t3525329788 L_0; memset(&L_0, 0, sizeof(L_0)); Vector2__ctor_m1517109030(&L_0, (800.0f), (600.0f), /*hidden argument*/NULL); __this->set_m_ReferenceResolution_6(L_0); __this->set_m_PhysicalUnit_9(3); __this->set_m_FallbackScreenDPI_10((96.0f)); __this->set_m_DefaultSpriteDPI_11((96.0f)); __this->set_m_DynamicPixelsPerUnit_12((1.0f)); __this->set_m_PrevScaleFactor_14((1.0f)); __this->set_m_PrevReferencePixelsPerUnit_15((100.0f)); UIBehaviour__ctor_m1261553468(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.CanvasScaler/ScaleMode UnityEngine.UI.CanvasScaler::get_uiScaleMode() extern "C" int32_t CanvasScaler_get_uiScaleMode_m1718779723 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_UiScaleMode_3(); return L_0; } } // System.Void UnityEngine.UI.CanvasScaler::set_uiScaleMode(UnityEngine.UI.CanvasScaler/ScaleMode) extern "C" void CanvasScaler_set_uiScaleMode_m2713670988 (CanvasScaler_t872225289 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_UiScaleMode_3(L_0); return; } } // System.Single UnityEngine.UI.CanvasScaler::get_referencePixelsPerUnit() extern "C" float CanvasScaler_get_referencePixelsPerUnit_m1471911967 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_ReferencePixelsPerUnit_4(); return L_0; } } // System.Void UnityEngine.UI.CanvasScaler::set_referencePixelsPerUnit(System.Single) extern "C" void CanvasScaler_set_referencePixelsPerUnit_m2513762540 (CanvasScaler_t872225289 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_ReferencePixelsPerUnit_4(L_0); return; } } // System.Single UnityEngine.UI.CanvasScaler::get_scaleFactor() extern "C" float CanvasScaler_get_scaleFactor_m2444679941 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_ScaleFactor_5(); return L_0; } } // System.Void UnityEngine.UI.CanvasScaler::set_scaleFactor(System.Single) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t CanvasScaler_set_scaleFactor_m1527181766_MetadataUsageId; extern "C" void CanvasScaler_set_scaleFactor_m1527181766 (CanvasScaler_t872225289 * __this, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasScaler_set_scaleFactor_m1527181766_MetadataUsageId); s_Il2CppMethodIntialized = true; } { float L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_1 = Mathf_Max_m3923796455(NULL /*static, unused*/, (0.01f), L_0, /*hidden argument*/NULL); __this->set_m_ScaleFactor_5(L_1); return; } } // UnityEngine.Vector2 UnityEngine.UI.CanvasScaler::get_referenceResolution() extern "C" Vector2_t3525329788 CanvasScaler_get_referenceResolution_m484379826 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { Vector2_t3525329788 L_0 = __this->get_m_ReferenceResolution_6(); return L_0; } } // System.Void UnityEngine.UI.CanvasScaler::set_referenceResolution(UnityEngine.Vector2) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t CanvasScaler_set_referenceResolution_m4024849975_MetadataUsageId; extern "C" void CanvasScaler_set_referenceResolution_m4024849975 (CanvasScaler_t872225289 * __this, Vector2_t3525329788 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasScaler_set_referenceResolution_m4024849975_MetadataUsageId); s_Il2CppMethodIntialized = true; } float V_0 = 0.0f; { Vector2_t3525329788 L_0 = ___value0; __this->set_m_ReferenceResolution_6(L_0); Vector2_t3525329788 * L_1 = __this->get_address_of_m_ReferenceResolution_6(); float L_2 = L_1->get_x_1(); if ((!(((float)L_2) > ((float)(-1.0E-05f))))) { goto IL_0052; } } { Vector2_t3525329788 * L_3 = __this->get_address_of_m_ReferenceResolution_6(); float L_4 = L_3->get_x_1(); if ((!(((float)L_4) < ((float)(1.0E-05f))))) { goto IL_0052; } } { Vector2_t3525329788 * L_5 = __this->get_address_of_m_ReferenceResolution_6(); Vector2_t3525329788 * L_6 = __this->get_address_of_m_ReferenceResolution_6(); float L_7 = L_6->get_x_1(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_8 = Mathf_Sign_m4040614993(NULL /*static, unused*/, L_7, /*hidden argument*/NULL); L_5->set_x_1(((float)((float)(1.0E-05f)*(float)L_8))); } IL_0052: { Vector2_t3525329788 * L_9 = __this->get_address_of_m_ReferenceResolution_6(); float L_10 = L_9->get_y_2(); if ((!(((float)L_10) > ((float)(-1.0E-05f))))) { goto IL_009d; } } { Vector2_t3525329788 * L_11 = __this->get_address_of_m_ReferenceResolution_6(); float L_12 = L_11->get_y_2(); if ((!(((float)L_12) < ((float)(1.0E-05f))))) { goto IL_009d; } } { Vector2_t3525329788 * L_13 = __this->get_address_of_m_ReferenceResolution_6(); Vector2_t3525329788 * L_14 = __this->get_address_of_m_ReferenceResolution_6(); float L_15 = L_14->get_y_2(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_16 = Mathf_Sign_m4040614993(NULL /*static, unused*/, L_15, /*hidden argument*/NULL); L_13->set_y_2(((float)((float)(1.0E-05f)*(float)L_16))); } IL_009d: { return; } } // UnityEngine.UI.CanvasScaler/ScreenMatchMode UnityEngine.UI.CanvasScaler::get_screenMatchMode() extern "C" int32_t CanvasScaler_get_screenMatchMode_m2287362655 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_ScreenMatchMode_7(); return L_0; } } // System.Void UnityEngine.UI.CanvasScaler::set_screenMatchMode(UnityEngine.UI.CanvasScaler/ScreenMatchMode) extern "C" void CanvasScaler_set_screenMatchMode_m1314095482 (CanvasScaler_t872225289 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_ScreenMatchMode_7(L_0); return; } } // System.Single UnityEngine.UI.CanvasScaler::get_matchWidthOrHeight() extern "C" float CanvasScaler_get_matchWidthOrHeight_m3211176417 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_MatchWidthOrHeight_8(); return L_0; } } // System.Void UnityEngine.UI.CanvasScaler::set_matchWidthOrHeight(System.Single) extern "C" void CanvasScaler_set_matchWidthOrHeight_m500879978 (CanvasScaler_t872225289 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_MatchWidthOrHeight_8(L_0); return; } } // UnityEngine.UI.CanvasScaler/Unit UnityEngine.UI.CanvasScaler::get_physicalUnit() extern "C" int32_t CanvasScaler_get_physicalUnit_m3572932406 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_PhysicalUnit_9(); return L_0; } } // System.Void UnityEngine.UI.CanvasScaler::set_physicalUnit(UnityEngine.UI.CanvasScaler/Unit) extern "C" void CanvasScaler_set_physicalUnit_m1052630401 (CanvasScaler_t872225289 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_PhysicalUnit_9(L_0); return; } } // System.Single UnityEngine.UI.CanvasScaler::get_fallbackScreenDPI() extern "C" float CanvasScaler_get_fallbackScreenDPI_m2341917339 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_FallbackScreenDPI_10(); return L_0; } } // System.Void UnityEngine.UI.CanvasScaler::set_fallbackScreenDPI(System.Single) extern "C" void CanvasScaler_set_fallbackScreenDPI_m979123696 (CanvasScaler_t872225289 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_FallbackScreenDPI_10(L_0); return; } } // System.Single UnityEngine.UI.CanvasScaler::get_defaultSpriteDPI() extern "C" float CanvasScaler_get_defaultSpriteDPI_m2728800301 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_DefaultSpriteDPI_11(); return L_0; } } // System.Void UnityEngine.UI.CanvasScaler::set_defaultSpriteDPI(System.Single) extern "C" void CanvasScaler_set_defaultSpriteDPI_m1099048862 (CanvasScaler_t872225289 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_DefaultSpriteDPI_11(L_0); return; } } // System.Single UnityEngine.UI.CanvasScaler::get_dynamicPixelsPerUnit() extern "C" float CanvasScaler_get_dynamicPixelsPerUnit_m3811209707 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_DynamicPixelsPerUnit_12(); return L_0; } } // System.Void UnityEngine.UI.CanvasScaler::set_dynamicPixelsPerUnit(System.Single) extern "C" void CanvasScaler_set_dynamicPixelsPerUnit_m1481681568 (CanvasScaler_t872225289 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_DynamicPixelsPerUnit_12(L_0); return; } } // System.Void UnityEngine.UI.CanvasScaler::OnEnable() extern const MethodInfo* Component_GetComponent_TisCanvas_t3534013893_m868172531_MethodInfo_var; extern const uint32_t CanvasScaler_OnEnable_m3864540859_MetadataUsageId; extern "C" void CanvasScaler_OnEnable_m3864540859 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasScaler_OnEnable_m3864540859_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UIBehaviour_OnEnable_m4047103690(__this, /*hidden argument*/NULL); Canvas_t3534013893 * L_0 = Component_GetComponent_TisCanvas_t3534013893_m868172531(__this, /*hidden argument*/Component_GetComponent_TisCanvas_t3534013893_m868172531_MethodInfo_var); __this->set_m_Canvas_13(L_0); VirtActionInvoker0::Invoke(17 /* System.Void UnityEngine.UI.CanvasScaler::Handle() */, __this); return; } } // System.Void UnityEngine.UI.CanvasScaler::OnDisable() extern "C" void CanvasScaler_OnDisable_m4277586898 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { CanvasScaler_SetScaleFactor_m376581883(__this, (1.0f), /*hidden argument*/NULL); CanvasScaler_SetReferencePixelsPerUnit_m96000151(__this, (100.0f), /*hidden argument*/NULL); UIBehaviour_OnDisable_m1347100067(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.CanvasScaler::Update() extern "C" void CanvasScaler_Update_m3516435330 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { VirtActionInvoker0::Invoke(17 /* System.Void UnityEngine.UI.CanvasScaler::Handle() */, __this); return; } } // System.Void UnityEngine.UI.CanvasScaler::Handle() extern "C" void CanvasScaler_Handle_m2195907873 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { int32_t V_0 = 0; { Canvas_t3534013893 * L_0 = __this->get_m_Canvas_13(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_1) { goto IL_0021; } } { Canvas_t3534013893 * L_2 = __this->get_m_Canvas_13(); NullCheck(L_2); bool L_3 = Canvas_get_isRootCanvas_m4030632706(L_2, /*hidden argument*/NULL); if (L_3) { goto IL_0022; } } IL_0021: { return; } IL_0022: { Canvas_t3534013893 * L_4 = __this->get_m_Canvas_13(); NullCheck(L_4); int32_t L_5 = Canvas_get_renderMode_m3669121200(L_4, /*hidden argument*/NULL); if ((!(((uint32_t)L_5) == ((uint32_t)2)))) { goto IL_003a; } } { VirtActionInvoker0::Invoke(18 /* System.Void UnityEngine.UI.CanvasScaler::HandleWorldCanvas() */, __this); return; } IL_003a: { int32_t L_6 = __this->get_m_UiScaleMode_3(); V_0 = L_6; int32_t L_7 = V_0; if (L_7 == 0) { goto IL_0058; } if (L_7 == 1) { goto IL_0063; } if (L_7 == 2) { goto IL_006e; } } { goto IL_0079; } IL_0058: { VirtActionInvoker0::Invoke(19 /* System.Void UnityEngine.UI.CanvasScaler::HandleConstantPixelSize() */, __this); goto IL_0079; } IL_0063: { VirtActionInvoker0::Invoke(20 /* System.Void UnityEngine.UI.CanvasScaler::HandleScaleWithScreenSize() */, __this); goto IL_0079; } IL_006e: { VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.UI.CanvasScaler::HandleConstantPhysicalSize() */, __this); goto IL_0079; } IL_0079: { return; } } // System.Void UnityEngine.UI.CanvasScaler::HandleWorldCanvas() extern "C" void CanvasScaler_HandleWorldCanvas_m1282362827 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_DynamicPixelsPerUnit_12(); CanvasScaler_SetScaleFactor_m376581883(__this, L_0, /*hidden argument*/NULL); float L_1 = __this->get_m_ReferencePixelsPerUnit_4(); CanvasScaler_SetReferencePixelsPerUnit_m96000151(__this, L_1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.CanvasScaler::HandleConstantPixelSize() extern "C" void CanvasScaler_HandleConstantPixelSize_m22621284 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_ScaleFactor_5(); CanvasScaler_SetScaleFactor_m376581883(__this, L_0, /*hidden argument*/NULL); float L_1 = __this->get_m_ReferencePixelsPerUnit_4(); CanvasScaler_SetReferencePixelsPerUnit_m96000151(__this, L_1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.CanvasScaler::HandleScaleWithScreenSize() extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t CanvasScaler_HandleScaleWithScreenSize_m3412612446_MetadataUsageId; extern "C" void CanvasScaler_HandleScaleWithScreenSize_m3412612446 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasScaler_HandleScaleWithScreenSize_m3412612446_MetadataUsageId); s_Il2CppMethodIntialized = true; } Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); float V_1 = 0.0f; float V_2 = 0.0f; float V_3 = 0.0f; float V_4 = 0.0f; int32_t V_5 = 0; { int32_t L_0 = Screen_get_width_m3080333084(NULL /*static, unused*/, /*hidden argument*/NULL); int32_t L_1 = Screen_get_height_m1504859443(NULL /*static, unused*/, /*hidden argument*/NULL); Vector2__ctor_m1517109030((&V_0), (((float)((float)L_0))), (((float)((float)L_1))), /*hidden argument*/NULL); V_1 = (0.0f); int32_t L_2 = __this->get_m_ScreenMatchMode_7(); V_5 = L_2; int32_t L_3 = V_5; if (L_3 == 0) { goto IL_0039; } if (L_3 == 1) { goto IL_0096; } if (L_3 == 2) { goto IL_00c7; } } { goto IL_00f8; } IL_0039: { float L_4 = (&V_0)->get_x_1(); Vector2_t3525329788 * L_5 = __this->get_address_of_m_ReferenceResolution_6(); float L_6 = L_5->get_x_1(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_7 = Mathf_Log_m2062790663(NULL /*static, unused*/, ((float)((float)L_4/(float)L_6)), (2.0f), /*hidden argument*/NULL); V_2 = L_7; float L_8 = (&V_0)->get_y_2(); Vector2_t3525329788 * L_9 = __this->get_address_of_m_ReferenceResolution_6(); float L_10 = L_9->get_y_2(); float L_11 = Mathf_Log_m2062790663(NULL /*static, unused*/, ((float)((float)L_8/(float)L_10)), (2.0f), /*hidden argument*/NULL); V_3 = L_11; float L_12 = V_2; float L_13 = V_3; float L_14 = __this->get_m_MatchWidthOrHeight_8(); float L_15 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_12, L_13, L_14, /*hidden argument*/NULL); V_4 = L_15; float L_16 = V_4; float L_17 = powf((2.0f), L_16); V_1 = L_17; goto IL_00f8; } IL_0096: { float L_18 = (&V_0)->get_x_1(); Vector2_t3525329788 * L_19 = __this->get_address_of_m_ReferenceResolution_6(); float L_20 = L_19->get_x_1(); float L_21 = (&V_0)->get_y_2(); Vector2_t3525329788 * L_22 = __this->get_address_of_m_ReferenceResolution_6(); float L_23 = L_22->get_y_2(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_24 = Mathf_Min_m2322067385(NULL /*static, unused*/, ((float)((float)L_18/(float)L_20)), ((float)((float)L_21/(float)L_23)), /*hidden argument*/NULL); V_1 = L_24; goto IL_00f8; } IL_00c7: { float L_25 = (&V_0)->get_x_1(); Vector2_t3525329788 * L_26 = __this->get_address_of_m_ReferenceResolution_6(); float L_27 = L_26->get_x_1(); float L_28 = (&V_0)->get_y_2(); Vector2_t3525329788 * L_29 = __this->get_address_of_m_ReferenceResolution_6(); float L_30 = L_29->get_y_2(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_31 = Mathf_Max_m3923796455(NULL /*static, unused*/, ((float)((float)L_25/(float)L_27)), ((float)((float)L_28/(float)L_30)), /*hidden argument*/NULL); V_1 = L_31; goto IL_00f8; } IL_00f8: { float L_32 = V_1; CanvasScaler_SetScaleFactor_m376581883(__this, L_32, /*hidden argument*/NULL); float L_33 = __this->get_m_ReferencePixelsPerUnit_4(); CanvasScaler_SetReferencePixelsPerUnit_m96000151(__this, L_33, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.CanvasScaler::HandleConstantPhysicalSize() extern "C" void CanvasScaler_HandleConstantPhysicalSize_m1320301949 (CanvasScaler_t872225289 * __this, const MethodInfo* method) { float V_0 = 0.0f; float V_1 = 0.0f; float V_2 = 0.0f; int32_t V_3 = 0; float G_B3_0 = 0.0f; { float L_0 = Screen_get_dpi_m3780069159(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_0; float L_1 = V_0; if ((!(((float)L_1) == ((float)(0.0f))))) { goto IL_001c; } } { float L_2 = __this->get_m_FallbackScreenDPI_10(); G_B3_0 = L_2; goto IL_001d; } IL_001c: { float L_3 = V_0; G_B3_0 = L_3; } IL_001d: { V_1 = G_B3_0; V_2 = (1.0f); int32_t L_4 = __this->get_m_PhysicalUnit_9(); V_3 = L_4; int32_t L_5 = V_3; if (L_5 == 0) { goto IL_004a; } if (L_5 == 1) { goto IL_0055; } if (L_5 == 2) { goto IL_0060; } if (L_5 == 3) { goto IL_006b; } if (L_5 == 4) { goto IL_0076; } } { goto IL_0081; } IL_004a: { V_2 = (2.54f); goto IL_0081; } IL_0055: { V_2 = (25.4f); goto IL_0081; } IL_0060: { V_2 = (1.0f); goto IL_0081; } IL_006b: { V_2 = (72.0f); goto IL_0081; } IL_0076: { V_2 = (6.0f); goto IL_0081; } IL_0081: { float L_6 = V_1; float L_7 = V_2; CanvasScaler_SetScaleFactor_m376581883(__this, ((float)((float)L_6/(float)L_7)), /*hidden argument*/NULL); float L_8 = __this->get_m_ReferencePixelsPerUnit_4(); float L_9 = V_2; float L_10 = __this->get_m_DefaultSpriteDPI_11(); CanvasScaler_SetReferencePixelsPerUnit_m96000151(__this, ((float)((float)((float)((float)L_8*(float)L_9))/(float)L_10)), /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.CanvasScaler::SetScaleFactor(System.Single) extern "C" void CanvasScaler_SetScaleFactor_m376581883 (CanvasScaler_t872225289 * __this, float ___scaleFactor0, const MethodInfo* method) { { float L_0 = ___scaleFactor0; float L_1 = __this->get_m_PrevScaleFactor_14(); if ((!(((float)L_0) == ((float)L_1)))) { goto IL_000d; } } { return; } IL_000d: { Canvas_t3534013893 * L_2 = __this->get_m_Canvas_13(); float L_3 = ___scaleFactor0; NullCheck(L_2); Canvas_set_scaleFactor_m2206436828(L_2, L_3, /*hidden argument*/NULL); float L_4 = ___scaleFactor0; __this->set_m_PrevScaleFactor_14(L_4); return; } } // System.Void UnityEngine.UI.CanvasScaler::SetReferencePixelsPerUnit(System.Single) extern "C" void CanvasScaler_SetReferencePixelsPerUnit_m96000151 (CanvasScaler_t872225289 * __this, float ___referencePixelsPerUnit0, const MethodInfo* method) { { float L_0 = ___referencePixelsPerUnit0; float L_1 = __this->get_m_PrevReferencePixelsPerUnit_15(); if ((!(((float)L_0) == ((float)L_1)))) { goto IL_000d; } } { return; } IL_000d: { Canvas_t3534013893 * L_2 = __this->get_m_Canvas_13(); float L_3 = ___referencePixelsPerUnit0; NullCheck(L_2); Canvas_set_referencePixelsPerUnit_m1910706966(L_2, L_3, /*hidden argument*/NULL); float L_4 = ___referencePixelsPerUnit0; __this->set_m_PrevReferencePixelsPerUnit_15(L_4); return; } } // System.Void UnityEngine.UI.CanvasUpdateRegistry::.ctor() extern Il2CppClass* IndexedSet_1_t3233689201_il2cpp_TypeInfo_var; extern Il2CppClass* WillRenderCanvases_t1153522766_il2cpp_TypeInfo_var; extern const MethodInfo* IndexedSet_1__ctor_m1199447226_MethodInfo_var; extern const MethodInfo* CanvasUpdateRegistry_PerformUpdate_m4284602133_MethodInfo_var; extern const uint32_t CanvasUpdateRegistry__ctor_m4143486701_MetadataUsageId; extern "C" void CanvasUpdateRegistry__ctor_m4143486701 (CanvasUpdateRegistry_t2591544775 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry__ctor_m4143486701_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IndexedSet_1_t3233689201 * L_0 = (IndexedSet_1_t3233689201 *)il2cpp_codegen_object_new(IndexedSet_1_t3233689201_il2cpp_TypeInfo_var); IndexedSet_1__ctor_m1199447226(L_0, /*hidden argument*/IndexedSet_1__ctor_m1199447226_MethodInfo_var); __this->set_m_LayoutRebuildQueue_3(L_0); IndexedSet_1_t3233689201 * L_1 = (IndexedSet_1_t3233689201 *)il2cpp_codegen_object_new(IndexedSet_1_t3233689201_il2cpp_TypeInfo_var); IndexedSet_1__ctor_m1199447226(L_1, /*hidden argument*/IndexedSet_1__ctor_m1199447226_MethodInfo_var); __this->set_m_GraphicRebuildQueue_4(L_1); Object__ctor_m1772956182(__this, /*hidden argument*/NULL); IntPtr_t L_2; L_2.set_m_value_0((void*)(void*)CanvasUpdateRegistry_PerformUpdate_m4284602133_MethodInfo_var); WillRenderCanvases_t1153522766 * L_3 = (WillRenderCanvases_t1153522766 *)il2cpp_codegen_object_new(WillRenderCanvases_t1153522766_il2cpp_TypeInfo_var); WillRenderCanvases__ctor_m1509285774(L_3, __this, L_2, /*hidden argument*/NULL); Canvas_add_willRenderCanvases_m716439881(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.CanvasUpdateRegistry::.cctor() extern Il2CppClass* Comparison_1_t2416652480_il2cpp_TypeInfo_var; extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const MethodInfo* CanvasUpdateRegistry_SortLayoutList_m217615053_MethodInfo_var; extern const MethodInfo* Comparison_1__ctor_m2616184237_MethodInfo_var; extern const uint32_t CanvasUpdateRegistry__cctor_m3411939936_MetadataUsageId; extern "C" void CanvasUpdateRegistry__cctor_m3411939936 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry__cctor_m3411939936_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IntPtr_t L_0; L_0.set_m_value_0((void*)(void*)CanvasUpdateRegistry_SortLayoutList_m217615053_MethodInfo_var); Comparison_1_t2416652480 * L_1 = (Comparison_1_t2416652480 *)il2cpp_codegen_object_new(Comparison_1_t2416652480_il2cpp_TypeInfo_var); Comparison_1__ctor_m2616184237(L_1, NULL, L_0, /*hidden argument*/Comparison_1__ctor_m2616184237_MethodInfo_var); ((CanvasUpdateRegistry_t2591544775_StaticFields*)CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var->static_fields)->set_s_SortLayoutFunction_5(L_1); return; } } // UnityEngine.UI.CanvasUpdateRegistry UnityEngine.UI.CanvasUpdateRegistry::get_instance() extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t CanvasUpdateRegistry_get_instance_m1077376867_MetadataUsageId; extern "C" CanvasUpdateRegistry_t2591544775 * CanvasUpdateRegistry_get_instance_m1077376867 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_get_instance_m1077376867_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_0 = ((CanvasUpdateRegistry_t2591544775_StaticFields*)CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var->static_fields)->get_s_Instance_0(); if (L_0) { goto IL_0014; } } { CanvasUpdateRegistry_t2591544775 * L_1 = (CanvasUpdateRegistry_t2591544775 *)il2cpp_codegen_object_new(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry__ctor_m4143486701(L_1, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); ((CanvasUpdateRegistry_t2591544775_StaticFields*)CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var->static_fields)->set_s_Instance_0(L_1); } IL_0014: { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_2 = ((CanvasUpdateRegistry_t2591544775_StaticFields*)CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var->static_fields)->get_s_Instance_0(); return L_2; } } // System.Boolean UnityEngine.UI.CanvasUpdateRegistry::ObjectValidForUpdate(UnityEngine.UI.ICanvasElement) extern Il2CppClass* Object_t3878351788_il2cpp_TypeInfo_var; extern const uint32_t CanvasUpdateRegistry_ObjectValidForUpdate_m3662506294_MetadataUsageId; extern "C" bool CanvasUpdateRegistry_ObjectValidForUpdate_m3662506294 (CanvasUpdateRegistry_t2591544775 * __this, Il2CppObject * ___element0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_ObjectValidForUpdate_m3662506294_MetadataUsageId); s_Il2CppMethodIntialized = true; } bool V_0 = false; bool V_1 = false; { Il2CppObject * L_0 = ___element0; V_0 = (bool)((((int32_t)((((Il2CppObject*)(Il2CppObject *)L_0) == ((Il2CppObject*)(Il2CppObject *)NULL))? 1 : 0)) == ((int32_t)0))? 1 : 0); Il2CppObject * L_1 = ___element0; V_1 = (bool)((!(((Il2CppObject*)(Object_t3878351788 *)((Object_t3878351788 *)IsInstClass(L_1, Object_t3878351788_il2cpp_TypeInfo_var))) <= ((Il2CppObject*)(Il2CppObject *)NULL)))? 1 : 0); bool L_2 = V_1; if (!L_2) { goto IL_0025; } } { Il2CppObject * L_3 = ___element0; bool L_4 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, ((Object_t3878351788 *)IsInstClass(L_3, Object_t3878351788_il2cpp_TypeInfo_var)), (Object_t3878351788 *)NULL, /*hidden argument*/NULL); V_0 = L_4; } IL_0025: { bool L_5 = V_0; return L_5; } } // System.Void UnityEngine.UI.CanvasUpdateRegistry::CleanInvalidItems() extern Il2CppClass* ICanvasElement_t4007944900_il2cpp_TypeInfo_var; extern const uint32_t CanvasUpdateRegistry_CleanInvalidItems_m3668170109_MetadataUsageId; extern "C" void CanvasUpdateRegistry_CleanInvalidItems_m3668170109 (CanvasUpdateRegistry_t2591544775 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_CleanInvalidItems_m3668170109_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; Il2CppObject * V_1 = NULL; int32_t V_2 = 0; Il2CppObject * V_3 = NULL; { IndexedSet_1_t3233689201 * L_0 = __this->get_m_LayoutRebuildQueue_3(); NullCheck(L_0); int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Count() */, L_0); V_0 = ((int32_t)((int32_t)L_1-(int32_t)1)); goto IL_0058; } IL_0013: { IndexedSet_1_t3233689201 * L_2 = __this->get_m_LayoutRebuildQueue_3(); int32_t L_3 = V_0; NullCheck(L_2); Il2CppObject * L_4 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(8 /* T UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Item(System.Int32) */, L_2, L_3); V_1 = L_4; Il2CppObject * L_5 = V_1; if (L_5) { goto IL_0037; } } { IndexedSet_1_t3233689201 * L_6 = __this->get_m_LayoutRebuildQueue_3(); int32_t L_7 = V_0; NullCheck(L_6); VirtActionInvoker1< int32_t >::Invoke(7 /* System.Void UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::RemoveAt(System.Int32) */, L_6, L_7); goto IL_0054; } IL_0037: { Il2CppObject * L_8 = V_1; NullCheck(L_8); bool L_9 = InterfaceFuncInvoker0< bool >::Invoke(4 /* System.Boolean UnityEngine.UI.ICanvasElement::IsDestroyed() */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_8); if (!L_9) { goto IL_0054; } } { IndexedSet_1_t3233689201 * L_10 = __this->get_m_LayoutRebuildQueue_3(); int32_t L_11 = V_0; NullCheck(L_10); VirtActionInvoker1< int32_t >::Invoke(7 /* System.Void UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::RemoveAt(System.Int32) */, L_10, L_11); Il2CppObject * L_12 = V_1; NullCheck(L_12); InterfaceActionInvoker0::Invoke(2 /* System.Void UnityEngine.UI.ICanvasElement::LayoutComplete() */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_12); } IL_0054: { int32_t L_13 = V_0; V_0 = ((int32_t)((int32_t)L_13-(int32_t)1)); } IL_0058: { int32_t L_14 = V_0; if ((((int32_t)L_14) >= ((int32_t)0))) { goto IL_0013; } } { IndexedSet_1_t3233689201 * L_15 = __this->get_m_GraphicRebuildQueue_4(); NullCheck(L_15); int32_t L_16 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Count() */, L_15); V_2 = ((int32_t)((int32_t)L_16-(int32_t)1)); goto IL_00b7; } IL_0072: { IndexedSet_1_t3233689201 * L_17 = __this->get_m_GraphicRebuildQueue_4(); int32_t L_18 = V_2; NullCheck(L_17); Il2CppObject * L_19 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(8 /* T UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Item(System.Int32) */, L_17, L_18); V_3 = L_19; Il2CppObject * L_20 = V_3; if (L_20) { goto IL_0096; } } { IndexedSet_1_t3233689201 * L_21 = __this->get_m_GraphicRebuildQueue_4(); int32_t L_22 = V_2; NullCheck(L_21); VirtActionInvoker1< int32_t >::Invoke(7 /* System.Void UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::RemoveAt(System.Int32) */, L_21, L_22); goto IL_00b3; } IL_0096: { Il2CppObject * L_23 = V_3; NullCheck(L_23); bool L_24 = InterfaceFuncInvoker0< bool >::Invoke(4 /* System.Boolean UnityEngine.UI.ICanvasElement::IsDestroyed() */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_23); if (!L_24) { goto IL_00b3; } } { IndexedSet_1_t3233689201 * L_25 = __this->get_m_GraphicRebuildQueue_4(); int32_t L_26 = V_2; NullCheck(L_25); VirtActionInvoker1< int32_t >::Invoke(7 /* System.Void UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::RemoveAt(System.Int32) */, L_25, L_26); Il2CppObject * L_27 = V_3; NullCheck(L_27); InterfaceActionInvoker0::Invoke(3 /* System.Void UnityEngine.UI.ICanvasElement::GraphicUpdateComplete() */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_27); } IL_00b3: { int32_t L_28 = V_2; V_2 = ((int32_t)((int32_t)L_28-(int32_t)1)); } IL_00b7: { int32_t L_29 = V_2; if ((((int32_t)L_29) >= ((int32_t)0))) { goto IL_0072; } } { return; } } // System.Void UnityEngine.UI.CanvasUpdateRegistry::PerformUpdate() extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern Il2CppClass* ICanvasElement_t4007944900_il2cpp_TypeInfo_var; extern Il2CppClass* Exception_t1967233988_il2cpp_TypeInfo_var; extern Il2CppClass* Debug_t1588791936_il2cpp_TypeInfo_var; extern const MethodInfo* IndexedSet_1_Sort_m4025492923_MethodInfo_var; extern const uint32_t CanvasUpdateRegistry_PerformUpdate_m4284602133_MetadataUsageId; extern "C" void CanvasUpdateRegistry_PerformUpdate_m4284602133 (CanvasUpdateRegistry_t2591544775 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_PerformUpdate_m4284602133_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; Il2CppObject * V_2 = NULL; Exception_t1967233988 * V_3 = NULL; int32_t V_4 = 0; int32_t V_5 = 0; int32_t V_6 = 0; Il2CppObject * V_7 = NULL; Exception_t1967233988 * V_8 = NULL; int32_t V_9 = 0; Exception_t1967233988 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1967233988 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { CanvasUpdateRegistry_CleanInvalidItems_m3668170109(__this, /*hidden argument*/NULL); __this->set_m_PerformingLayoutUpdate_1((bool)1); IndexedSet_1_t3233689201 * L_0 = __this->get_m_LayoutRebuildQueue_3(); IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); Comparison_1_t2416652480 * L_1 = ((CanvasUpdateRegistry_t2591544775_StaticFields*)CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var->static_fields)->get_s_SortLayoutFunction_5(); NullCheck(L_0); IndexedSet_1_Sort_m4025492923(L_0, L_1, /*hidden argument*/IndexedSet_1_Sort_m4025492923_MethodInfo_var); V_0 = 0; goto IL_007f; } IL_0024: { V_1 = 0; goto IL_006a; } IL_002b: { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_2 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_2); IndexedSet_1_t3233689201 * L_3 = L_2->get_m_LayoutRebuildQueue_3(); int32_t L_4 = V_1; NullCheck(L_3); Il2CppObject * L_5 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(8 /* T UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Item(System.Int32) */, L_3, L_4); V_2 = L_5; } IL_003c: try { // begin try (depth: 1) { Il2CppObject * L_6 = V_2; bool L_7 = CanvasUpdateRegistry_ObjectValidForUpdate_m3662506294(__this, L_6, /*hidden argument*/NULL); if (!L_7) { goto IL_004f; } } IL_0048: { Il2CppObject * L_8 = V_2; int32_t L_9 = V_0; NullCheck(L_8); InterfaceActionInvoker1< int32_t >::Invoke(0 /* System.Void UnityEngine.UI.ICanvasElement::Rebuild(UnityEngine.UI.CanvasUpdate) */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_8, L_9); } IL_004f: { goto IL_0066; } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1967233988 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Exception_t1967233988_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_0054; throw e; } CATCH_0054: { // begin catch(System.Exception) V_3 = ((Exception_t1967233988 *)__exception_local); Exception_t1967233988 * L_10 = V_3; Il2CppObject * L_11 = V_2; NullCheck(L_11); Transform_t284553113 * L_12 = InterfaceFuncInvoker0< Transform_t284553113 * >::Invoke(1 /* UnityEngine.Transform UnityEngine.UI.ICanvasElement::get_transform() */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_11); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogException_m2264672311(NULL /*static, unused*/, L_10, L_12, /*hidden argument*/NULL); goto IL_0066; } // end catch (depth: 1) IL_0066: { int32_t L_13 = V_1; V_1 = ((int32_t)((int32_t)L_13+(int32_t)1)); } IL_006a: { int32_t L_14 = V_1; IndexedSet_1_t3233689201 * L_15 = __this->get_m_LayoutRebuildQueue_3(); NullCheck(L_15); int32_t L_16 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Count() */, L_15); if ((((int32_t)L_14) < ((int32_t)L_16))) { goto IL_002b; } } { int32_t L_17 = V_0; V_0 = ((int32_t)((int32_t)L_17+(int32_t)1)); } IL_007f: { int32_t L_18 = V_0; if ((((int32_t)L_18) <= ((int32_t)2))) { goto IL_0024; } } { V_4 = 0; goto IL_00a6; } IL_008e: { IndexedSet_1_t3233689201 * L_19 = __this->get_m_LayoutRebuildQueue_3(); int32_t L_20 = V_4; NullCheck(L_19); Il2CppObject * L_21 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(8 /* T UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Item(System.Int32) */, L_19, L_20); NullCheck(L_21); InterfaceActionInvoker0::Invoke(2 /* System.Void UnityEngine.UI.ICanvasElement::LayoutComplete() */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_21); int32_t L_22 = V_4; V_4 = ((int32_t)((int32_t)L_22+(int32_t)1)); } IL_00a6: { int32_t L_23 = V_4; IndexedSet_1_t3233689201 * L_24 = __this->get_m_LayoutRebuildQueue_3(); NullCheck(L_24); int32_t L_25 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Count() */, L_24); if ((((int32_t)L_23) < ((int32_t)L_25))) { goto IL_008e; } } { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_26 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_26); IndexedSet_1_t3233689201 * L_27 = L_26->get_m_LayoutRebuildQueue_3(); NullCheck(L_27); VirtActionInvoker0::Invoke(13 /* System.Void UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::Clear() */, L_27); __this->set_m_PerformingLayoutUpdate_1((bool)0); ClipperRegistry_t694640915 * L_28 = ClipperRegistry_get_instance_m1642325505(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_28); ClipperRegistry_Cull_m2386993349(L_28, /*hidden argument*/NULL); __this->set_m_PerformingGraphicUpdate_2((bool)1); V_5 = 3; goto IL_0163; } IL_00e7: { V_6 = 0; goto IL_0147; } IL_00ef: try { // begin try (depth: 1) { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_29 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_29); IndexedSet_1_t3233689201 * L_30 = L_29->get_m_GraphicRebuildQueue_4(); int32_t L_31 = V_6; NullCheck(L_30); Il2CppObject * L_32 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(8 /* T UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Item(System.Int32) */, L_30, L_31); V_7 = L_32; Il2CppObject * L_33 = V_7; bool L_34 = CanvasUpdateRegistry_ObjectValidForUpdate_m3662506294(__this, L_33, /*hidden argument*/NULL); if (!L_34) { goto IL_0118; } } IL_010f: { Il2CppObject * L_35 = V_7; int32_t L_36 = V_5; NullCheck(L_35); InterfaceActionInvoker1< int32_t >::Invoke(0 /* System.Void UnityEngine.UI.ICanvasElement::Rebuild(UnityEngine.UI.CanvasUpdate) */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_35, L_36); } IL_0118: { goto IL_0141; } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1967233988 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (Exception_t1967233988_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_011d; throw e; } CATCH_011d: { // begin catch(System.Exception) V_8 = ((Exception_t1967233988 *)__exception_local); Exception_t1967233988 * L_37 = V_8; IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_38 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_38); IndexedSet_1_t3233689201 * L_39 = L_38->get_m_GraphicRebuildQueue_4(); int32_t L_40 = V_6; NullCheck(L_39); Il2CppObject * L_41 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(8 /* T UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Item(System.Int32) */, L_39, L_40); NullCheck(L_41); Transform_t284553113 * L_42 = InterfaceFuncInvoker0< Transform_t284553113 * >::Invoke(1 /* UnityEngine.Transform UnityEngine.UI.ICanvasElement::get_transform() */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_41); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogException_m2264672311(NULL /*static, unused*/, L_37, L_42, /*hidden argument*/NULL); goto IL_0141; } // end catch (depth: 1) IL_0141: { int32_t L_43 = V_6; V_6 = ((int32_t)((int32_t)L_43+(int32_t)1)); } IL_0147: { int32_t L_44 = V_6; IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_45 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_45); IndexedSet_1_t3233689201 * L_46 = L_45->get_m_GraphicRebuildQueue_4(); NullCheck(L_46); int32_t L_47 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Count() */, L_46); if ((((int32_t)L_44) < ((int32_t)L_47))) { goto IL_00ef; } } { int32_t L_48 = V_5; V_5 = ((int32_t)((int32_t)L_48+(int32_t)1)); } IL_0163: { int32_t L_49 = V_5; if ((((int32_t)L_49) < ((int32_t)5))) { goto IL_00e7; } } { V_9 = 0; goto IL_018b; } IL_0173: { IndexedSet_1_t3233689201 * L_50 = __this->get_m_GraphicRebuildQueue_4(); int32_t L_51 = V_9; NullCheck(L_50); Il2CppObject * L_52 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(8 /* T UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Item(System.Int32) */, L_50, L_51); NullCheck(L_52); InterfaceActionInvoker0::Invoke(2 /* System.Void UnityEngine.UI.ICanvasElement::LayoutComplete() */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_52); int32_t L_53 = V_9; V_9 = ((int32_t)((int32_t)L_53+(int32_t)1)); } IL_018b: { int32_t L_54 = V_9; IndexedSet_1_t3233689201 * L_55 = __this->get_m_GraphicRebuildQueue_4(); NullCheck(L_55); int32_t L_56 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::get_Count() */, L_55); if ((((int32_t)L_54) < ((int32_t)L_56))) { goto IL_0173; } } { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_57 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_57); IndexedSet_1_t3233689201 * L_58 = L_57->get_m_GraphicRebuildQueue_4(); NullCheck(L_58); VirtActionInvoker0::Invoke(13 /* System.Void UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::Clear() */, L_58); __this->set_m_PerformingGraphicUpdate_2((bool)0); return; } } // System.Int32 UnityEngine.UI.CanvasUpdateRegistry::ParentCount(UnityEngine.Transform) extern "C" int32_t CanvasUpdateRegistry_ParentCount_m1557937541 (Il2CppObject * __this /* static, unused */, Transform_t284553113 * ___child0, const MethodInfo* method) { Transform_t284553113 * V_0 = NULL; int32_t V_1 = 0; { Transform_t284553113 * L_0 = ___child0; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_000e; } } { return 0; } IL_000e: { Transform_t284553113 * L_2 = ___child0; NullCheck(L_2); Transform_t284553113 * L_3 = Transform_get_parent_m2236876972(L_2, /*hidden argument*/NULL); V_0 = L_3; V_1 = 0; goto IL_0027; } IL_001c: { int32_t L_4 = V_1; V_1 = ((int32_t)((int32_t)L_4+(int32_t)1)); Transform_t284553113 * L_5 = V_0; NullCheck(L_5); Transform_t284553113 * L_6 = Transform_get_parent_m2236876972(L_5, /*hidden argument*/NULL); V_0 = L_6; } IL_0027: { Transform_t284553113 * L_7 = V_0; bool L_8 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_7, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_8) { goto IL_001c; } } { int32_t L_9 = V_1; return L_9; } } // System.Int32 UnityEngine.UI.CanvasUpdateRegistry::SortLayoutList(UnityEngine.UI.ICanvasElement,UnityEngine.UI.ICanvasElement) extern Il2CppClass* ICanvasElement_t4007944900_il2cpp_TypeInfo_var; extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t CanvasUpdateRegistry_SortLayoutList_m217615053_MetadataUsageId; extern "C" int32_t CanvasUpdateRegistry_SortLayoutList_m217615053 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___x0, Il2CppObject * ___y1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_SortLayoutList_m217615053_MetadataUsageId); s_Il2CppMethodIntialized = true; } Transform_t284553113 * V_0 = NULL; Transform_t284553113 * V_1 = NULL; { Il2CppObject * L_0 = ___x0; NullCheck(L_0); Transform_t284553113 * L_1 = InterfaceFuncInvoker0< Transform_t284553113 * >::Invoke(1 /* UnityEngine.Transform UnityEngine.UI.ICanvasElement::get_transform() */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_0); V_0 = L_1; Il2CppObject * L_2 = ___y1; NullCheck(L_2); Transform_t284553113 * L_3 = InterfaceFuncInvoker0< Transform_t284553113 * >::Invoke(1 /* UnityEngine.Transform UnityEngine.UI.ICanvasElement::get_transform() */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_2); V_1 = L_3; Transform_t284553113 * L_4 = V_0; IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); int32_t L_5 = CanvasUpdateRegistry_ParentCount_m1557937541(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); Transform_t284553113 * L_6 = V_1; int32_t L_7 = CanvasUpdateRegistry_ParentCount_m1557937541(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_5-(int32_t)L_7)); } } // System.Void UnityEngine.UI.CanvasUpdateRegistry::RegisterCanvasElementForLayoutRebuild(UnityEngine.UI.ICanvasElement) extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t CanvasUpdateRegistry_RegisterCanvasElementForLayoutRebuild_m1282865408_MetadataUsageId; extern "C" void CanvasUpdateRegistry_RegisterCanvasElementForLayoutRebuild_m1282865408 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___element0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_RegisterCanvasElementForLayoutRebuild_m1282865408_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_0 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); Il2CppObject * L_1 = ___element0; NullCheck(L_0); CanvasUpdateRegistry_InternalRegisterCanvasElementForLayoutRebuild_m584808143(L_0, L_1, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.UI.CanvasUpdateRegistry::TryRegisterCanvasElementForLayoutRebuild(UnityEngine.UI.ICanvasElement) extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t CanvasUpdateRegistry_TryRegisterCanvasElementForLayoutRebuild_m3477281917_MetadataUsageId; extern "C" bool CanvasUpdateRegistry_TryRegisterCanvasElementForLayoutRebuild_m3477281917 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___element0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_TryRegisterCanvasElementForLayoutRebuild_m3477281917_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_0 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); Il2CppObject * L_1 = ___element0; NullCheck(L_0); bool L_2 = CanvasUpdateRegistry_InternalRegisterCanvasElementForLayoutRebuild_m584808143(L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Boolean UnityEngine.UI.CanvasUpdateRegistry::InternalRegisterCanvasElementForLayoutRebuild(UnityEngine.UI.ICanvasElement) extern const MethodInfo* IndexedSet_1_AddUnique_m820000834_MethodInfo_var; extern const uint32_t CanvasUpdateRegistry_InternalRegisterCanvasElementForLayoutRebuild_m584808143_MetadataUsageId; extern "C" bool CanvasUpdateRegistry_InternalRegisterCanvasElementForLayoutRebuild_m584808143 (CanvasUpdateRegistry_t2591544775 * __this, Il2CppObject * ___element0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_InternalRegisterCanvasElementForLayoutRebuild_m584808143_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IndexedSet_1_t3233689201 * L_0 = __this->get_m_LayoutRebuildQueue_3(); Il2CppObject * L_1 = ___element0; NullCheck(L_0); bool L_2 = VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(14 /* System.Boolean UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::Contains(T) */, L_0, L_1); if (!L_2) { goto IL_0013; } } { return (bool)0; } IL_0013: { IndexedSet_1_t3233689201 * L_3 = __this->get_m_LayoutRebuildQueue_3(); Il2CppObject * L_4 = ___element0; NullCheck(L_3); bool L_5 = IndexedSet_1_AddUnique_m820000834(L_3, L_4, /*hidden argument*/IndexedSet_1_AddUnique_m820000834_MethodInfo_var); return L_5; } } // System.Void UnityEngine.UI.CanvasUpdateRegistry::RegisterCanvasElementForGraphicRebuild(UnityEngine.UI.ICanvasElement) extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t CanvasUpdateRegistry_RegisterCanvasElementForGraphicRebuild_m1487849090_MetadataUsageId; extern "C" void CanvasUpdateRegistry_RegisterCanvasElementForGraphicRebuild_m1487849090 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___element0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_RegisterCanvasElementForGraphicRebuild_m1487849090_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_0 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); Il2CppObject * L_1 = ___element0; NullCheck(L_0); CanvasUpdateRegistry_InternalRegisterCanvasElementForGraphicRebuild_m1322910355(L_0, L_1, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.UI.CanvasUpdateRegistry::TryRegisterCanvasElementForGraphicRebuild(UnityEngine.UI.ICanvasElement) extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t CanvasUpdateRegistry_TryRegisterCanvasElementForGraphicRebuild_m795284133_MetadataUsageId; extern "C" bool CanvasUpdateRegistry_TryRegisterCanvasElementForGraphicRebuild_m795284133 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___element0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_TryRegisterCanvasElementForGraphicRebuild_m795284133_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_0 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); Il2CppObject * L_1 = ___element0; NullCheck(L_0); bool L_2 = CanvasUpdateRegistry_InternalRegisterCanvasElementForGraphicRebuild_m1322910355(L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Boolean UnityEngine.UI.CanvasUpdateRegistry::InternalRegisterCanvasElementForGraphicRebuild(UnityEngine.UI.ICanvasElement) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Debug_t1588791936_il2cpp_TypeInfo_var; extern const MethodInfo* IndexedSet_1_AddUnique_m820000834_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral768334199; extern const uint32_t CanvasUpdateRegistry_InternalRegisterCanvasElementForGraphicRebuild_m1322910355_MetadataUsageId; extern "C" bool CanvasUpdateRegistry_InternalRegisterCanvasElementForGraphicRebuild_m1322910355 (CanvasUpdateRegistry_t2591544775 * __this, Il2CppObject * ___element0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_InternalRegisterCanvasElementForGraphicRebuild_m1322910355_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = __this->get_m_PerformingGraphicUpdate_2(); if (!L_0) { goto IL_001d; } } { Il2CppObject * L_1 = ___element0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_2 = String_Format_m2471250780(NULL /*static, unused*/, _stringLiteral768334199, L_1, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogError_m4127342994(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); return (bool)0; } IL_001d: { IndexedSet_1_t3233689201 * L_3 = __this->get_m_GraphicRebuildQueue_4(); Il2CppObject * L_4 = ___element0; NullCheck(L_3); bool L_5 = IndexedSet_1_AddUnique_m820000834(L_3, L_4, /*hidden argument*/IndexedSet_1_AddUnique_m820000834_MethodInfo_var); return L_5; } } // System.Void UnityEngine.UI.CanvasUpdateRegistry::UnRegisterCanvasElementForRebuild(UnityEngine.UI.ICanvasElement) extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t CanvasUpdateRegistry_UnRegisterCanvasElementForRebuild_m2188113711_MetadataUsageId; extern "C" void CanvasUpdateRegistry_UnRegisterCanvasElementForRebuild_m2188113711 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___element0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_UnRegisterCanvasElementForRebuild_m2188113711_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_0 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); Il2CppObject * L_1 = ___element0; NullCheck(L_0); CanvasUpdateRegistry_InternalUnRegisterCanvasElementForLayoutRebuild_m1911897302(L_0, L_1, /*hidden argument*/NULL); CanvasUpdateRegistry_t2591544775 * L_2 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); Il2CppObject * L_3 = ___element0; NullCheck(L_2); CanvasUpdateRegistry_InternalUnRegisterCanvasElementForGraphicRebuild_m3807968620(L_2, L_3, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.CanvasUpdateRegistry::InternalUnRegisterCanvasElementForLayoutRebuild(UnityEngine.UI.ICanvasElement) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Debug_t1588791936_il2cpp_TypeInfo_var; extern Il2CppClass* ICanvasElement_t4007944900_il2cpp_TypeInfo_var; extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3699612055; extern const uint32_t CanvasUpdateRegistry_InternalUnRegisterCanvasElementForLayoutRebuild_m1911897302_MetadataUsageId; extern "C" void CanvasUpdateRegistry_InternalUnRegisterCanvasElementForLayoutRebuild_m1911897302 (CanvasUpdateRegistry_t2591544775 * __this, Il2CppObject * ___element0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_InternalUnRegisterCanvasElementForLayoutRebuild_m1911897302_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = __this->get_m_PerformingLayoutUpdate_1(); if (!L_0) { goto IL_001c; } } { Il2CppObject * L_1 = ___element0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_2 = String_Format_m2471250780(NULL /*static, unused*/, _stringLiteral3699612055, L_1, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogError_m4127342994(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); return; } IL_001c: { Il2CppObject * L_3 = ___element0; NullCheck(L_3); InterfaceActionInvoker0::Invoke(2 /* System.Void UnityEngine.UI.ICanvasElement::LayoutComplete() */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_3); IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_4 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_4); IndexedSet_1_t3233689201 * L_5 = L_4->get_m_LayoutRebuildQueue_3(); Il2CppObject * L_6 = ___element0; NullCheck(L_5); VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(16 /* System.Boolean UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::Remove(T) */, L_5, L_6); return; } } // System.Void UnityEngine.UI.CanvasUpdateRegistry::InternalUnRegisterCanvasElementForGraphicRebuild(UnityEngine.UI.ICanvasElement) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Debug_t1588791936_il2cpp_TypeInfo_var; extern Il2CppClass* ICanvasElement_t4007944900_il2cpp_TypeInfo_var; extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3699612055; extern const uint32_t CanvasUpdateRegistry_InternalUnRegisterCanvasElementForGraphicRebuild_m3807968620_MetadataUsageId; extern "C" void CanvasUpdateRegistry_InternalUnRegisterCanvasElementForGraphicRebuild_m3807968620 (CanvasUpdateRegistry_t2591544775 * __this, Il2CppObject * ___element0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_InternalUnRegisterCanvasElementForGraphicRebuild_m3807968620_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = __this->get_m_PerformingGraphicUpdate_2(); if (!L_0) { goto IL_001c; } } { Il2CppObject * L_1 = ___element0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_2 = String_Format_m2471250780(NULL /*static, unused*/, _stringLiteral3699612055, L_1, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogError_m4127342994(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); return; } IL_001c: { Il2CppObject * L_3 = ___element0; NullCheck(L_3); InterfaceActionInvoker0::Invoke(3 /* System.Void UnityEngine.UI.ICanvasElement::GraphicUpdateComplete() */, ICanvasElement_t4007944900_il2cpp_TypeInfo_var, L_3); IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_4 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_4); IndexedSet_1_t3233689201 * L_5 = L_4->get_m_GraphicRebuildQueue_4(); Il2CppObject * L_6 = ___element0; NullCheck(L_5); VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(16 /* System.Boolean UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.ICanvasElement>::Remove(T) */, L_5, L_6); return; } } // System.Boolean UnityEngine.UI.CanvasUpdateRegistry::IsRebuildingLayout() extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t CanvasUpdateRegistry_IsRebuildingLayout_m1167551012_MetadataUsageId; extern "C" bool CanvasUpdateRegistry_IsRebuildingLayout_m1167551012 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_IsRebuildingLayout_m1167551012_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_0 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_0); bool L_1 = L_0->get_m_PerformingLayoutUpdate_1(); return L_1; } } // System.Boolean UnityEngine.UI.CanvasUpdateRegistry::IsRebuildingGraphics() extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t CanvasUpdateRegistry_IsRebuildingGraphics_m2979891973_MetadataUsageId; extern "C" bool CanvasUpdateRegistry_IsRebuildingGraphics_m2979891973 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (CanvasUpdateRegistry_IsRebuildingGraphics_m2979891973_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_t2591544775 * L_0 = CanvasUpdateRegistry_get_instance_m1077376867(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_0); bool L_1 = L_0->get_m_PerformingGraphicUpdate_2(); return L_1; } } // System.Void UnityEngine.UI.ClipperRegistry::.ctor() extern Il2CppClass* IndexedSet_1_t3411304698_il2cpp_TypeInfo_var; extern const MethodInfo* IndexedSet_1__ctor_m2429176707_MethodInfo_var; extern const uint32_t ClipperRegistry__ctor_m3311832913_MetadataUsageId; extern "C" void ClipperRegistry__ctor_m3311832913 (ClipperRegistry_t694640915 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ClipperRegistry__ctor_m3311832913_MetadataUsageId); s_Il2CppMethodIntialized = true; } Dictionary_2_t2460062704 * V_0 = NULL; { IndexedSet_1_t3411304698 * L_0 = (IndexedSet_1_t3411304698 *)il2cpp_codegen_object_new(IndexedSet_1_t3411304698_il2cpp_TypeInfo_var); IndexedSet_1__ctor_m2429176707(L_0, /*hidden argument*/IndexedSet_1__ctor_m2429176707_MethodInfo_var); __this->set_m_Clippers_1(L_0); Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.ClipperRegistry UnityEngine.UI.ClipperRegistry::get_instance() extern Il2CppClass* ClipperRegistry_t694640915_il2cpp_TypeInfo_var; extern const uint32_t ClipperRegistry_get_instance_m1642325505_MetadataUsageId; extern "C" ClipperRegistry_t694640915 * ClipperRegistry_get_instance_m1642325505 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ClipperRegistry_get_instance_m1642325505_MetadataUsageId); s_Il2CppMethodIntialized = true; } { ClipperRegistry_t694640915 * L_0 = ((ClipperRegistry_t694640915_StaticFields*)ClipperRegistry_t694640915_il2cpp_TypeInfo_var->static_fields)->get_s_Instance_0(); if (L_0) { goto IL_0014; } } { ClipperRegistry_t694640915 * L_1 = (ClipperRegistry_t694640915 *)il2cpp_codegen_object_new(ClipperRegistry_t694640915_il2cpp_TypeInfo_var); ClipperRegistry__ctor_m3311832913(L_1, /*hidden argument*/NULL); ((ClipperRegistry_t694640915_StaticFields*)ClipperRegistry_t694640915_il2cpp_TypeInfo_var->static_fields)->set_s_Instance_0(L_1); } IL_0014: { ClipperRegistry_t694640915 * L_2 = ((ClipperRegistry_t694640915_StaticFields*)ClipperRegistry_t694640915_il2cpp_TypeInfo_var->static_fields)->get_s_Instance_0(); return L_2; } } // System.Void UnityEngine.UI.ClipperRegistry::Cull() extern Il2CppClass* IClipper_t4185560397_il2cpp_TypeInfo_var; extern const uint32_t ClipperRegistry_Cull_m2386993349_MetadataUsageId; extern "C" void ClipperRegistry_Cull_m2386993349 (ClipperRegistry_t694640915 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ClipperRegistry_Cull_m2386993349_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; { V_0 = 0; goto IL_001c; } IL_0007: { IndexedSet_1_t3411304698 * L_0 = __this->get_m_Clippers_1(); int32_t L_1 = V_0; NullCheck(L_0); Il2CppObject * L_2 = VirtFuncInvoker1< Il2CppObject *, int32_t >::Invoke(8 /* T UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.IClipper>::get_Item(System.Int32) */, L_0, L_1); NullCheck(L_2); InterfaceActionInvoker0::Invoke(0 /* System.Void UnityEngine.UI.IClipper::PerformClipping() */, IClipper_t4185560397_il2cpp_TypeInfo_var, L_2); int32_t L_3 = V_0; V_0 = ((int32_t)((int32_t)L_3+(int32_t)1)); } IL_001c: { int32_t L_4 = V_0; IndexedSet_1_t3411304698 * L_5 = __this->get_m_Clippers_1(); NullCheck(L_5); int32_t L_6 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.IClipper>::get_Count() */, L_5); if ((((int32_t)L_4) < ((int32_t)L_6))) { goto IL_0007; } } { return; } } // System.Void UnityEngine.UI.ClipperRegistry::Register(UnityEngine.UI.IClipper) extern const MethodInfo* IndexedSet_1_AddUnique_m3067015577_MethodInfo_var; extern const uint32_t ClipperRegistry_Register_m2777461237_MetadataUsageId; extern "C" void ClipperRegistry_Register_m2777461237 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___c0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ClipperRegistry_Register_m2777461237_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___c0; if (L_0) { goto IL_0007; } } { return; } IL_0007: { ClipperRegistry_t694640915 * L_1 = ClipperRegistry_get_instance_m1642325505(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_1); IndexedSet_1_t3411304698 * L_2 = L_1->get_m_Clippers_1(); Il2CppObject * L_3 = ___c0; NullCheck(L_2); IndexedSet_1_AddUnique_m3067015577(L_2, L_3, /*hidden argument*/IndexedSet_1_AddUnique_m3067015577_MethodInfo_var); return; } } // System.Void UnityEngine.UI.ClipperRegistry::Unregister(UnityEngine.UI.IClipper) extern "C" void ClipperRegistry_Unregister_m926013180 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___c0, const MethodInfo* method) { { ClipperRegistry_t694640915 * L_0 = ClipperRegistry_get_instance_m1642325505(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_0); IndexedSet_1_t3411304698 * L_1 = L_0->get_m_Clippers_1(); Il2CppObject * L_2 = ___c0; NullCheck(L_1); VirtFuncInvoker1< bool, Il2CppObject * >::Invoke(16 /* System.Boolean UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.IClipper>::Remove(T) */, L_1, L_2); return; } } // UnityEngine.Rect UnityEngine.UI.Clipping::FindCullAndClipWorldRect(System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>,System.Boolean&) extern Il2CppClass* Rect_t1525428817_il2cpp_TypeInfo_var; extern const uint32_t Clipping_FindCullAndClipWorldRect_m3007966961_MetadataUsageId; extern "C" Rect_t1525428817 Clipping_FindCullAndClipWorldRect_m3007966961 (Il2CppObject * __this /* static, unused */, List_1_t1595633764 * ___rectMaskParents0, bool* ___validRect1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Clipping_FindCullAndClipWorldRect_m3007966961_MetadataUsageId); s_Il2CppMethodIntialized = true; } Rect_t1525428817 V_0; memset(&V_0, 0, sizeof(V_0)); int32_t V_1 = 0; bool V_2 = false; Vector3_t3525329789 V_3; memset(&V_3, 0, sizeof(V_3)); Vector3_t3525329789 V_4; memset(&V_4, 0, sizeof(V_4)); Rect_t1525428817 V_5; memset(&V_5, 0, sizeof(V_5)); Rect_t1525428817 V_6; memset(&V_6, 0, sizeof(V_6)); int32_t G_B8_0 = 0; { List_1_t1595633764 * L_0 = ___rectMaskParents0; NullCheck(L_0); int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>::get_Count() */, L_0); if (L_1) { goto IL_0019; } } { bool* L_2 = ___validRect1; *((int8_t*)(L_2)) = (int8_t)0; Initobj (Rect_t1525428817_il2cpp_TypeInfo_var, (&V_5)); Rect_t1525428817 L_3 = V_5; return L_3; } IL_0019: { List_1_t1595633764 * L_4 = ___rectMaskParents0; NullCheck(L_4); RectMask2D_t798674795 * L_5 = VirtFuncInvoker1< RectMask2D_t798674795 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>::get_Item(System.Int32) */, L_4, 0); NullCheck(L_5); Rect_t1525428817 L_6 = RectMask2D_get_canvasRect_m3883544836(L_5, /*hidden argument*/NULL); V_0 = L_6; V_1 = 0; goto IL_0044; } IL_002d: { Rect_t1525428817 L_7 = V_0; List_1_t1595633764 * L_8 = ___rectMaskParents0; int32_t L_9 = V_1; NullCheck(L_8); RectMask2D_t798674795 * L_10 = VirtFuncInvoker1< RectMask2D_t798674795 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>::get_Item(System.Int32) */, L_8, L_9); NullCheck(L_10); Rect_t1525428817 L_11 = RectMask2D_get_canvasRect_m3883544836(L_10, /*hidden argument*/NULL); Rect_t1525428817 L_12 = Clipping_RectIntersect_m2589422792(NULL /*static, unused*/, L_7, L_11, /*hidden argument*/NULL); V_0 = L_12; int32_t L_13 = V_1; V_1 = ((int32_t)((int32_t)L_13+(int32_t)1)); } IL_0044: { int32_t L_14 = V_1; List_1_t1595633764 * L_15 = ___rectMaskParents0; NullCheck(L_15); int32_t L_16 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>::get_Count() */, L_15); if ((((int32_t)L_14) < ((int32_t)L_16))) { goto IL_002d; } } { float L_17 = Rect_get_width_m2824209432((&V_0), /*hidden argument*/NULL); if ((((float)L_17) <= ((float)(0.0f)))) { goto IL_0074; } } { float L_18 = Rect_get_height_m2154960823((&V_0), /*hidden argument*/NULL); G_B8_0 = ((((int32_t)((!(((float)L_18) <= ((float)(0.0f))))? 1 : 0)) == ((int32_t)0))? 1 : 0); goto IL_0075; } IL_0074: { G_B8_0 = 1; } IL_0075: { V_2 = (bool)G_B8_0; bool L_19 = V_2; if (!L_19) { goto IL_008a; } } { bool* L_20 = ___validRect1; *((int8_t*)(L_20)) = (int8_t)0; Initobj (Rect_t1525428817_il2cpp_TypeInfo_var, (&V_6)); Rect_t1525428817 L_21 = V_6; return L_21; } IL_008a: { float L_22 = Rect_get_x_m982385354((&V_0), /*hidden argument*/NULL); float L_23 = Rect_get_y_m982386315((&V_0), /*hidden argument*/NULL); Vector3__ctor_m2926210380((&V_3), L_22, L_23, (0.0f), /*hidden argument*/NULL); float L_24 = Rect_get_x_m982385354((&V_0), /*hidden argument*/NULL); float L_25 = Rect_get_width_m2824209432((&V_0), /*hidden argument*/NULL); float L_26 = Rect_get_y_m982386315((&V_0), /*hidden argument*/NULL); float L_27 = Rect_get_height_m2154960823((&V_0), /*hidden argument*/NULL); Vector3__ctor_m2926210380((&V_4), ((float)((float)L_24+(float)L_25)), ((float)((float)L_26+(float)L_27)), (0.0f), /*hidden argument*/NULL); bool* L_28 = ___validRect1; *((int8_t*)(L_28)) = (int8_t)1; float L_29 = (&V_3)->get_x_1(); float L_30 = (&V_3)->get_y_2(); float L_31 = (&V_4)->get_x_1(); float L_32 = (&V_3)->get_x_1(); float L_33 = (&V_4)->get_y_2(); float L_34 = (&V_3)->get_y_2(); Rect_t1525428817 L_35; memset(&L_35, 0, sizeof(L_35)); Rect__ctor_m3291325233(&L_35, L_29, L_30, ((float)((float)L_31-(float)L_32)), ((float)((float)L_33-(float)L_34)), /*hidden argument*/NULL); return L_35; } } // UnityEngine.Rect UnityEngine.UI.Clipping::RectIntersect(UnityEngine.Rect,UnityEngine.Rect) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t Clipping_RectIntersect_m2589422792_MetadataUsageId; extern "C" Rect_t1525428817 Clipping_RectIntersect_m2589422792 (Il2CppObject * __this /* static, unused */, Rect_t1525428817 ___a0, Rect_t1525428817 ___b1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Clipping_RectIntersect_m2589422792_MetadataUsageId); s_Il2CppMethodIntialized = true; } float V_0 = 0.0f; float V_1 = 0.0f; float V_2 = 0.0f; float V_3 = 0.0f; { float L_0 = Rect_get_x_m982385354((&___a0), /*hidden argument*/NULL); float L_1 = Rect_get_x_m982385354((&___b1), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_2 = Mathf_Max_m3923796455(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); V_0 = L_2; float L_3 = Rect_get_x_m982385354((&___a0), /*hidden argument*/NULL); float L_4 = Rect_get_width_m2824209432((&___a0), /*hidden argument*/NULL); float L_5 = Rect_get_x_m982385354((&___b1), /*hidden argument*/NULL); float L_6 = Rect_get_width_m2824209432((&___b1), /*hidden argument*/NULL); float L_7 = Mathf_Min_m2322067385(NULL /*static, unused*/, ((float)((float)L_3+(float)L_4)), ((float)((float)L_5+(float)L_6)), /*hidden argument*/NULL); V_1 = L_7; float L_8 = Rect_get_y_m982386315((&___a0), /*hidden argument*/NULL); float L_9 = Rect_get_y_m982386315((&___b1), /*hidden argument*/NULL); float L_10 = Mathf_Max_m3923796455(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL); V_2 = L_10; float L_11 = Rect_get_y_m982386315((&___a0), /*hidden argument*/NULL); float L_12 = Rect_get_height_m2154960823((&___a0), /*hidden argument*/NULL); float L_13 = Rect_get_y_m982386315((&___b1), /*hidden argument*/NULL); float L_14 = Rect_get_height_m2154960823((&___b1), /*hidden argument*/NULL); float L_15 = Mathf_Min_m2322067385(NULL /*static, unused*/, ((float)((float)L_11+(float)L_12)), ((float)((float)L_13+(float)L_14)), /*hidden argument*/NULL); V_3 = L_15; float L_16 = V_1; float L_17 = V_0; if ((!(((float)L_16) >= ((float)L_17)))) { goto IL_008c; } } { float L_18 = V_3; float L_19 = V_2; if ((!(((float)L_18) >= ((float)L_19)))) { goto IL_008c; } } { float L_20 = V_0; float L_21 = V_2; float L_22 = V_1; float L_23 = V_0; float L_24 = V_3; float L_25 = V_2; Rect_t1525428817 L_26; memset(&L_26, 0, sizeof(L_26)); Rect__ctor_m3291325233(&L_26, L_20, L_21, ((float)((float)L_22-(float)L_23)), ((float)((float)L_24-(float)L_25)), /*hidden argument*/NULL); return L_26; } IL_008c: { Rect_t1525428817 L_27; memset(&L_27, 0, sizeof(L_27)); Rect__ctor_m3291325233(&L_27, (0.0f), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL); return L_27; } } // UnityEngine.Color UnityEngine.UI.ColorBlock::get_normalColor() extern "C" Color_t1588175760 ColorBlock_get_normalColor_m1021113593 (ColorBlock_t2245020947 * __this, const MethodInfo* method) { { Color_t1588175760 L_0 = __this->get_m_NormalColor_0(); return L_0; } } // System.Void UnityEngine.UI.ColorBlock::set_normalColor(UnityEngine.Color) extern "C" void ColorBlock_set_normalColor_m2914277480 (ColorBlock_t2245020947 * __this, Color_t1588175760 ___value0, const MethodInfo* method) { { Color_t1588175760 L_0 = ___value0; __this->set_m_NormalColor_0(L_0); return; } } // UnityEngine.Color UnityEngine.UI.ColorBlock::get_highlightedColor() extern "C" Color_t1588175760 ColorBlock_get_highlightedColor_m2834784533 (ColorBlock_t2245020947 * __this, const MethodInfo* method) { { Color_t1588175760 L_0 = __this->get_m_HighlightedColor_1(); return L_0; } } // System.Void UnityEngine.UI.ColorBlock::set_highlightedColor(UnityEngine.Color) extern "C" void ColorBlock_set_highlightedColor_m4179336310 (ColorBlock_t2245020947 * __this, Color_t1588175760 ___value0, const MethodInfo* method) { { Color_t1588175760 L_0 = ___value0; __this->set_m_HighlightedColor_1(L_0); return; } } // UnityEngine.Color UnityEngine.UI.ColorBlock::get_pressedColor() extern "C" Color_t1588175760 ColorBlock_get_pressedColor_m2014354534 (ColorBlock_t2245020947 * __this, const MethodInfo* method) { { Color_t1588175760 L_0 = __this->get_m_PressedColor_2(); return L_0; } } // System.Void UnityEngine.UI.ColorBlock::set_pressedColor(UnityEngine.Color) extern "C" void ColorBlock_set_pressedColor_m830240709 (ColorBlock_t2245020947 * __this, Color_t1588175760 ___value0, const MethodInfo* method) { { Color_t1588175760 L_0 = ___value0; __this->set_m_PressedColor_2(L_0); return; } } // UnityEngine.Color UnityEngine.UI.ColorBlock::get_disabledColor() extern "C" Color_t1588175760 ColorBlock_get_disabledColor_m2484721348 (ColorBlock_t2245020947 * __this, const MethodInfo* method) { { Color_t1588175760 L_0 = __this->get_m_DisabledColor_3(); return L_0; } } // System.Void UnityEngine.UI.ColorBlock::set_disabledColor(UnityEngine.Color) extern "C" void ColorBlock_set_disabledColor_m215468861 (ColorBlock_t2245020947 * __this, Color_t1588175760 ___value0, const MethodInfo* method) { { Color_t1588175760 L_0 = ___value0; __this->set_m_DisabledColor_3(L_0); return; } } // System.Single UnityEngine.UI.ColorBlock::get_colorMultiplier() extern "C" float ColorBlock_get_colorMultiplier_m2799886278 (ColorBlock_t2245020947 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_ColorMultiplier_4(); return L_0; } } // System.Void UnityEngine.UI.ColorBlock::set_colorMultiplier(System.Single) extern "C" void ColorBlock_set_colorMultiplier_m1029562789 (ColorBlock_t2245020947 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_ColorMultiplier_4(L_0); return; } } // System.Single UnityEngine.UI.ColorBlock::get_fadeDuration() extern "C" float ColorBlock_get_fadeDuration_m2386809488 (ColorBlock_t2245020947 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_FadeDuration_5(); return L_0; } } // System.Void UnityEngine.UI.ColorBlock::set_fadeDuration(System.Single) extern "C" void ColorBlock_set_fadeDuration_m1171991323 (ColorBlock_t2245020947 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_FadeDuration_5(L_0); return; } } // UnityEngine.UI.ColorBlock UnityEngine.UI.ColorBlock::get_defaultColorBlock() extern Il2CppClass* ColorBlock_t2245020947_il2cpp_TypeInfo_var; extern const uint32_t ColorBlock_get_defaultColorBlock_m533915527_MetadataUsageId; extern "C" ColorBlock_t2245020947 ColorBlock_get_defaultColorBlock_m533915527 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ColorBlock_get_defaultColorBlock_m533915527_MetadataUsageId); s_Il2CppMethodIntialized = true; } ColorBlock_t2245020947 V_0; memset(&V_0, 0, sizeof(V_0)); ColorBlock_t2245020947 V_1; memset(&V_1, 0, sizeof(V_1)); { Initobj (ColorBlock_t2245020947_il2cpp_TypeInfo_var, (&V_0)); ColorBlock_t2245020947 L_0 = V_0; V_1 = L_0; Color32_t4137084207 L_1; memset(&L_1, 0, sizeof(L_1)); Color32__ctor_m576906339(&L_1, ((int32_t)255), ((int32_t)255), ((int32_t)255), ((int32_t)255), /*hidden argument*/NULL); Color_t1588175760 L_2 = Color32_op_Implicit_m358459656(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); (&V_1)->set_m_NormalColor_0(L_2); Color32_t4137084207 L_3; memset(&L_3, 0, sizeof(L_3)); Color32__ctor_m576906339(&L_3, ((int32_t)245), ((int32_t)245), ((int32_t)245), ((int32_t)255), /*hidden argument*/NULL); Color_t1588175760 L_4 = Color32_op_Implicit_m358459656(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); (&V_1)->set_m_HighlightedColor_1(L_4); Color32_t4137084207 L_5; memset(&L_5, 0, sizeof(L_5)); Color32__ctor_m576906339(&L_5, ((int32_t)200), ((int32_t)200), ((int32_t)200), ((int32_t)255), /*hidden argument*/NULL); Color_t1588175760 L_6 = Color32_op_Implicit_m358459656(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); (&V_1)->set_m_PressedColor_2(L_6); Color32_t4137084207 L_7; memset(&L_7, 0, sizeof(L_7)); Color32__ctor_m576906339(&L_7, ((int32_t)200), ((int32_t)200), ((int32_t)200), ((int32_t)128), /*hidden argument*/NULL); Color_t1588175760 L_8 = Color32_op_Implicit_m358459656(NULL /*static, unused*/, L_7, /*hidden argument*/NULL); (&V_1)->set_m_DisabledColor_3(L_8); ColorBlock_set_colorMultiplier_m1029562789((&V_1), (1.0f), /*hidden argument*/NULL); ColorBlock_set_fadeDuration_m1171991323((&V_1), (0.1f), /*hidden argument*/NULL); ColorBlock_t2245020947 L_9 = V_1; V_0 = L_9; ColorBlock_t2245020947 L_10 = V_0; return L_10; } } // System.Boolean UnityEngine.UI.ColorBlock::Equals(System.Object) extern Il2CppClass* ColorBlock_t2245020947_il2cpp_TypeInfo_var; extern const uint32_t ColorBlock_Equals_m4183618976_MetadataUsageId; extern "C" bool ColorBlock_Equals_m4183618976 (ColorBlock_t2245020947 * __this, Il2CppObject * ___obj0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ColorBlock_Equals_m4183618976_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___obj0; if (((Il2CppObject *)IsInstSealed(L_0, ColorBlock_t2245020947_il2cpp_TypeInfo_var))) { goto IL_000d; } } { return (bool)0; } IL_000d: { Il2CppObject * L_1 = ___obj0; bool L_2 = ColorBlock_Equals_m3761062129(__this, ((*(ColorBlock_t2245020947 *)((ColorBlock_t2245020947 *)UnBox (L_1, ColorBlock_t2245020947_il2cpp_TypeInfo_var)))), /*hidden argument*/NULL); return L_2; } } // System.Boolean UnityEngine.UI.ColorBlock::Equals(UnityEngine.UI.ColorBlock) extern "C" bool ColorBlock_Equals_m3761062129 (ColorBlock_t2245020947 * __this, ColorBlock_t2245020947 ___other0, const MethodInfo* method) { int32_t G_B7_0 = 0; { Color_t1588175760 L_0 = ColorBlock_get_normalColor_m1021113593(__this, /*hidden argument*/NULL); Color_t1588175760 L_1 = ColorBlock_get_normalColor_m1021113593((&___other0), /*hidden argument*/NULL); bool L_2 = Color_op_Equality_m4163276884(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_007f; } } { Color_t1588175760 L_3 = ColorBlock_get_highlightedColor_m2834784533(__this, /*hidden argument*/NULL); Color_t1588175760 L_4 = ColorBlock_get_highlightedColor_m2834784533((&___other0), /*hidden argument*/NULL); bool L_5 = Color_op_Equality_m4163276884(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_007f; } } { Color_t1588175760 L_6 = ColorBlock_get_pressedColor_m2014354534(__this, /*hidden argument*/NULL); Color_t1588175760 L_7 = ColorBlock_get_pressedColor_m2014354534((&___other0), /*hidden argument*/NULL); bool L_8 = Color_op_Equality_m4163276884(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL); if (!L_8) { goto IL_007f; } } { Color_t1588175760 L_9 = ColorBlock_get_disabledColor_m2484721348(__this, /*hidden argument*/NULL); Color_t1588175760 L_10 = ColorBlock_get_disabledColor_m2484721348((&___other0), /*hidden argument*/NULL); bool L_11 = Color_op_Equality_m4163276884(NULL /*static, unused*/, L_9, L_10, /*hidden argument*/NULL); if (!L_11) { goto IL_007f; } } { float L_12 = ColorBlock_get_colorMultiplier_m2799886278(__this, /*hidden argument*/NULL); float L_13 = ColorBlock_get_colorMultiplier_m2799886278((&___other0), /*hidden argument*/NULL); if ((!(((float)L_12) == ((float)L_13)))) { goto IL_007f; } } { float L_14 = ColorBlock_get_fadeDuration_m2386809488(__this, /*hidden argument*/NULL); float L_15 = ColorBlock_get_fadeDuration_m2386809488((&___other0), /*hidden argument*/NULL); G_B7_0 = ((((float)L_14) == ((float)L_15))? 1 : 0); goto IL_0080; } IL_007f: { G_B7_0 = 0; } IL_0080: { return (bool)G_B7_0; } } // System.Int32 UnityEngine.UI.ColorBlock::GetHashCode() extern Il2CppClass* ColorBlock_t2245020947_il2cpp_TypeInfo_var; extern const uint32_t ColorBlock_GetHashCode_m2259731448_MetadataUsageId; extern "C" int32_t ColorBlock_GetHashCode_m2259731448 (ColorBlock_t2245020947 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ColorBlock_GetHashCode_m2259731448_MetadataUsageId); s_Il2CppMethodIntialized = true; } { ColorBlock_t2245020947 L_0 = (*(ColorBlock_t2245020947 *)__this); Il2CppObject * L_1 = Box(ColorBlock_t2245020947_il2cpp_TypeInfo_var, &L_0); NullCheck((ValueType_t4014882752 *)L_1); int32_t L_2 = ValueType_GetHashCode_m3949669881((ValueType_t4014882752 *)L_1, /*hidden argument*/NULL); return L_2; } } // System.Boolean UnityEngine.UI.ColorBlock::op_Equality(UnityEngine.UI.ColorBlock,UnityEngine.UI.ColorBlock) extern "C" bool ColorBlock_op_Equality_m1998893503 (Il2CppObject * __this /* static, unused */, ColorBlock_t2245020947 ___point10, ColorBlock_t2245020947 ___point21, const MethodInfo* method) { { ColorBlock_t2245020947 L_0 = ___point21; bool L_1 = ColorBlock_Equals_m3761062129((&___point10), L_0, /*hidden argument*/NULL); return L_1; } } // System.Boolean UnityEngine.UI.ColorBlock::op_Inequality(UnityEngine.UI.ColorBlock,UnityEngine.UI.ColorBlock) extern "C" bool ColorBlock_op_Inequality_m2751981882 (Il2CppObject * __this /* static, unused */, ColorBlock_t2245020947 ___point10, ColorBlock_t2245020947 ___point21, const MethodInfo* method) { { ColorBlock_t2245020947 L_0 = ___point21; bool L_1 = ColorBlock_Equals_m3761062129((&___point10), L_0, /*hidden argument*/NULL); return (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0); } } // Conversion methods for marshalling of: UnityEngine.UI.ColorBlock extern "C" void ColorBlock_t2245020947_marshal_pinvoke(const ColorBlock_t2245020947& unmarshaled, ColorBlock_t2245020947_marshaled_pinvoke& marshaled) { Color_t1588175760_marshal_pinvoke(unmarshaled.get_m_NormalColor_0(), marshaled.___m_NormalColor_0); Color_t1588175760_marshal_pinvoke(unmarshaled.get_m_HighlightedColor_1(), marshaled.___m_HighlightedColor_1); Color_t1588175760_marshal_pinvoke(unmarshaled.get_m_PressedColor_2(), marshaled.___m_PressedColor_2); Color_t1588175760_marshal_pinvoke(unmarshaled.get_m_DisabledColor_3(), marshaled.___m_DisabledColor_3); marshaled.___m_ColorMultiplier_4 = unmarshaled.get_m_ColorMultiplier_4(); marshaled.___m_FadeDuration_5 = unmarshaled.get_m_FadeDuration_5(); } extern "C" void ColorBlock_t2245020947_marshal_pinvoke_back(const ColorBlock_t2245020947_marshaled_pinvoke& marshaled, ColorBlock_t2245020947& unmarshaled) { Color_t1588175760 unmarshaled_m_NormalColor_temp; memset(&unmarshaled_m_NormalColor_temp, 0, sizeof(unmarshaled_m_NormalColor_temp)); Color_t1588175760_marshal_pinvoke_back(marshaled.___m_NormalColor_0, unmarshaled_m_NormalColor_temp); unmarshaled.set_m_NormalColor_0(unmarshaled_m_NormalColor_temp); Color_t1588175760 unmarshaled_m_HighlightedColor_temp; memset(&unmarshaled_m_HighlightedColor_temp, 0, sizeof(unmarshaled_m_HighlightedColor_temp)); Color_t1588175760_marshal_pinvoke_back(marshaled.___m_HighlightedColor_1, unmarshaled_m_HighlightedColor_temp); unmarshaled.set_m_HighlightedColor_1(unmarshaled_m_HighlightedColor_temp); Color_t1588175760 unmarshaled_m_PressedColor_temp; memset(&unmarshaled_m_PressedColor_temp, 0, sizeof(unmarshaled_m_PressedColor_temp)); Color_t1588175760_marshal_pinvoke_back(marshaled.___m_PressedColor_2, unmarshaled_m_PressedColor_temp); unmarshaled.set_m_PressedColor_2(unmarshaled_m_PressedColor_temp); Color_t1588175760 unmarshaled_m_DisabledColor_temp; memset(&unmarshaled_m_DisabledColor_temp, 0, sizeof(unmarshaled_m_DisabledColor_temp)); Color_t1588175760_marshal_pinvoke_back(marshaled.___m_DisabledColor_3, unmarshaled_m_DisabledColor_temp); unmarshaled.set_m_DisabledColor_3(unmarshaled_m_DisabledColor_temp); float unmarshaled_m_ColorMultiplier_temp = 0.0f; unmarshaled_m_ColorMultiplier_temp = marshaled.___m_ColorMultiplier_4; unmarshaled.set_m_ColorMultiplier_4(unmarshaled_m_ColorMultiplier_temp); float unmarshaled_m_FadeDuration_temp = 0.0f; unmarshaled_m_FadeDuration_temp = marshaled.___m_FadeDuration_5; unmarshaled.set_m_FadeDuration_5(unmarshaled_m_FadeDuration_temp); } // Conversion method for clean up from marshalling of: UnityEngine.UI.ColorBlock extern "C" void ColorBlock_t2245020947_marshal_pinvoke_cleanup(ColorBlock_t2245020947_marshaled_pinvoke& marshaled) { Color_t1588175760_marshal_pinvoke_cleanup(marshaled.___m_NormalColor_0); Color_t1588175760_marshal_pinvoke_cleanup(marshaled.___m_HighlightedColor_1); Color_t1588175760_marshal_pinvoke_cleanup(marshaled.___m_PressedColor_2); Color_t1588175760_marshal_pinvoke_cleanup(marshaled.___m_DisabledColor_3); } // Conversion methods for marshalling of: UnityEngine.UI.ColorBlock extern "C" void ColorBlock_t2245020947_marshal_com(const ColorBlock_t2245020947& unmarshaled, ColorBlock_t2245020947_marshaled_com& marshaled) { Color_t1588175760_marshal_com(unmarshaled.get_m_NormalColor_0(), marshaled.___m_NormalColor_0); Color_t1588175760_marshal_com(unmarshaled.get_m_HighlightedColor_1(), marshaled.___m_HighlightedColor_1); Color_t1588175760_marshal_com(unmarshaled.get_m_PressedColor_2(), marshaled.___m_PressedColor_2); Color_t1588175760_marshal_com(unmarshaled.get_m_DisabledColor_3(), marshaled.___m_DisabledColor_3); marshaled.___m_ColorMultiplier_4 = unmarshaled.get_m_ColorMultiplier_4(); marshaled.___m_FadeDuration_5 = unmarshaled.get_m_FadeDuration_5(); } extern "C" void ColorBlock_t2245020947_marshal_com_back(const ColorBlock_t2245020947_marshaled_com& marshaled, ColorBlock_t2245020947& unmarshaled) { Color_t1588175760 unmarshaled_m_NormalColor_temp; memset(&unmarshaled_m_NormalColor_temp, 0, sizeof(unmarshaled_m_NormalColor_temp)); Color_t1588175760_marshal_com_back(marshaled.___m_NormalColor_0, unmarshaled_m_NormalColor_temp); unmarshaled.set_m_NormalColor_0(unmarshaled_m_NormalColor_temp); Color_t1588175760 unmarshaled_m_HighlightedColor_temp; memset(&unmarshaled_m_HighlightedColor_temp, 0, sizeof(unmarshaled_m_HighlightedColor_temp)); Color_t1588175760_marshal_com_back(marshaled.___m_HighlightedColor_1, unmarshaled_m_HighlightedColor_temp); unmarshaled.set_m_HighlightedColor_1(unmarshaled_m_HighlightedColor_temp); Color_t1588175760 unmarshaled_m_PressedColor_temp; memset(&unmarshaled_m_PressedColor_temp, 0, sizeof(unmarshaled_m_PressedColor_temp)); Color_t1588175760_marshal_com_back(marshaled.___m_PressedColor_2, unmarshaled_m_PressedColor_temp); unmarshaled.set_m_PressedColor_2(unmarshaled_m_PressedColor_temp); Color_t1588175760 unmarshaled_m_DisabledColor_temp; memset(&unmarshaled_m_DisabledColor_temp, 0, sizeof(unmarshaled_m_DisabledColor_temp)); Color_t1588175760_marshal_com_back(marshaled.___m_DisabledColor_3, unmarshaled_m_DisabledColor_temp); unmarshaled.set_m_DisabledColor_3(unmarshaled_m_DisabledColor_temp); float unmarshaled_m_ColorMultiplier_temp = 0.0f; unmarshaled_m_ColorMultiplier_temp = marshaled.___m_ColorMultiplier_4; unmarshaled.set_m_ColorMultiplier_4(unmarshaled_m_ColorMultiplier_temp); float unmarshaled_m_FadeDuration_temp = 0.0f; unmarshaled_m_FadeDuration_temp = marshaled.___m_FadeDuration_5; unmarshaled.set_m_FadeDuration_5(unmarshaled_m_FadeDuration_temp); } // Conversion method for clean up from marshalling of: UnityEngine.UI.ColorBlock extern "C" void ColorBlock_t2245020947_marshal_com_cleanup(ColorBlock_t2245020947_marshaled_com& marshaled) { Color_t1588175760_marshal_com_cleanup(marshaled.___m_NormalColor_0); Color_t1588175760_marshal_com_cleanup(marshaled.___m_HighlightedColor_1); Color_t1588175760_marshal_com_cleanup(marshaled.___m_PressedColor_2); Color_t1588175760_marshal_com_cleanup(marshaled.___m_DisabledColor_3); } // System.Void UnityEngine.UI.ContentSizeFitter::.ctor() extern "C" void ContentSizeFitter__ctor_m3832398161 (ContentSizeFitter_t1683351827 * __this, const MethodInfo* method) { { UIBehaviour__ctor_m1261553468(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.ContentSizeFitter/FitMode UnityEngine.UI.ContentSizeFitter::get_horizontalFit() extern "C" int32_t ContentSizeFitter_get_horizontalFit_m2851743464 (ContentSizeFitter_t1683351827 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_HorizontalFit_2(); return L_0; } } // System.Void UnityEngine.UI.ContentSizeFitter::set_horizontalFit(UnityEngine.UI.ContentSizeFitter/FitMode) extern const MethodInfo* SetPropertyUtility_SetStruct_TisFitMode_t816341300_m3401974325_MethodInfo_var; extern const uint32_t ContentSizeFitter_set_horizontalFit_m798679123_MetadataUsageId; extern "C" void ContentSizeFitter_set_horizontalFit_m798679123 (ContentSizeFitter_t1683351827 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ContentSizeFitter_set_horizontalFit_m798679123_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_HorizontalFit_2(); int32_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisFitMode_t816341300_m3401974325(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisFitMode_t816341300_m3401974325_MethodInfo_var); if (!L_2) { goto IL_0017; } } { ContentSizeFitter_SetDirty_m162055523(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // UnityEngine.UI.ContentSizeFitter/FitMode UnityEngine.UI.ContentSizeFitter::get_verticalFit() extern "C" int32_t ContentSizeFitter_get_verticalFit_m2576006486 (ContentSizeFitter_t1683351827 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_VerticalFit_3(); return L_0; } } // System.Void UnityEngine.UI.ContentSizeFitter::set_verticalFit(UnityEngine.UI.ContentSizeFitter/FitMode) extern const MethodInfo* SetPropertyUtility_SetStruct_TisFitMode_t816341300_m3401974325_MethodInfo_var; extern const uint32_t ContentSizeFitter_set_verticalFit_m4130929281_MetadataUsageId; extern "C" void ContentSizeFitter_set_verticalFit_m4130929281 (ContentSizeFitter_t1683351827 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ContentSizeFitter_set_verticalFit_m4130929281_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_VerticalFit_3(); int32_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisFitMode_t816341300_m3401974325(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisFitMode_t816341300_m3401974325_MethodInfo_var); if (!L_2) { goto IL_0017; } } { ContentSizeFitter_SetDirty_m162055523(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // UnityEngine.RectTransform UnityEngine.UI.ContentSizeFitter::get_rectTransform() extern const MethodInfo* Component_GetComponent_TisRectTransform_t3317474837_m1940403147_MethodInfo_var; extern const uint32_t ContentSizeFitter_get_rectTransform_m1096586412_MetadataUsageId; extern "C" RectTransform_t3317474837 * ContentSizeFitter_get_rectTransform_m1096586412 (ContentSizeFitter_t1683351827 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ContentSizeFitter_get_rectTransform_m1096586412_MetadataUsageId); s_Il2CppMethodIntialized = true; } { RectTransform_t3317474837 * L_0 = __this->get_m_Rect_4(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001d; } } { RectTransform_t3317474837 * L_2 = Component_GetComponent_TisRectTransform_t3317474837_m1940403147(__this, /*hidden argument*/Component_GetComponent_TisRectTransform_t3317474837_m1940403147_MethodInfo_var); __this->set_m_Rect_4(L_2); } IL_001d: { RectTransform_t3317474837 * L_3 = __this->get_m_Rect_4(); return L_3; } } // System.Void UnityEngine.UI.ContentSizeFitter::OnEnable() extern "C" void ContentSizeFitter_OnEnable_m4224530581 (ContentSizeFitter_t1683351827 * __this, const MethodInfo* method) { { UIBehaviour_OnEnable_m4047103690(__this, /*hidden argument*/NULL); ContentSizeFitter_SetDirty_m162055523(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.ContentSizeFitter::OnDisable() extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const uint32_t ContentSizeFitter_OnDisable_m2552366392_MetadataUsageId; extern "C" void ContentSizeFitter_OnDisable_m2552366392 (ContentSizeFitter_t1683351827 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ContentSizeFitter_OnDisable_m2552366392_MetadataUsageId); s_Il2CppMethodIntialized = true; } { DrivenRectTransformTracker_t3675273953 * L_0 = __this->get_address_of_m_Tracker_5(); DrivenRectTransformTracker_Clear_m309315364(L_0, /*hidden argument*/NULL); RectTransform_t3317474837 * L_1 = ContentSizeFitter_get_rectTransform_m1096586412(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_MarkLayoutForRebuild_m901621521(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); UIBehaviour_OnDisable_m1347100067(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.ContentSizeFitter::OnRectTransformDimensionsChange() extern "C" void ContentSizeFitter_OnRectTransformDimensionsChange_m733583797 (ContentSizeFitter_t1683351827 * __this, const MethodInfo* method) { { ContentSizeFitter_SetDirty_m162055523(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.ContentSizeFitter::HandleSelfFittingAlongAxis(System.Int32) extern "C" void ContentSizeFitter_HandleSelfFittingAlongAxis_m2083972471 (ContentSizeFitter_t1683351827 * __this, int32_t ___axis0, const MethodInfo* method) { int32_t V_0 = 0; int32_t G_B3_0 = 0; RectTransform_t3317474837 * G_B7_0 = NULL; ContentSizeFitter_t1683351827 * G_B7_1 = NULL; DrivenRectTransformTracker_t3675273953 * G_B7_2 = NULL; RectTransform_t3317474837 * G_B6_0 = NULL; ContentSizeFitter_t1683351827 * G_B6_1 = NULL; DrivenRectTransformTracker_t3675273953 * G_B6_2 = NULL; int32_t G_B8_0 = 0; RectTransform_t3317474837 * G_B8_1 = NULL; ContentSizeFitter_t1683351827 * G_B8_2 = NULL; DrivenRectTransformTracker_t3675273953 * G_B8_3 = NULL; { int32_t L_0 = ___axis0; if (L_0) { goto IL_0011; } } { int32_t L_1 = ContentSizeFitter_get_horizontalFit_m2851743464(__this, /*hidden argument*/NULL); G_B3_0 = L_1; goto IL_0017; } IL_0011: { int32_t L_2 = ContentSizeFitter_get_verticalFit_m2576006486(__this, /*hidden argument*/NULL); G_B3_0 = L_2; } IL_0017: { V_0 = G_B3_0; int32_t L_3 = V_0; if (L_3) { goto IL_0032; } } { DrivenRectTransformTracker_t3675273953 * L_4 = __this->get_address_of_m_Tracker_5(); RectTransform_t3317474837 * L_5 = ContentSizeFitter_get_rectTransform_m1096586412(__this, /*hidden argument*/NULL); DrivenRectTransformTracker_Add_m3461523141(L_4, __this, L_5, 0, /*hidden argument*/NULL); return; } IL_0032: { DrivenRectTransformTracker_t3675273953 * L_6 = __this->get_address_of_m_Tracker_5(); RectTransform_t3317474837 * L_7 = ContentSizeFitter_get_rectTransform_m1096586412(__this, /*hidden argument*/NULL); int32_t L_8 = ___axis0; G_B6_0 = L_7; G_B6_1 = __this; G_B6_2 = L_6; if (L_8) { G_B7_0 = L_7; G_B7_1 = __this; G_B7_2 = L_6; goto IL_004f; } } { G_B8_0 = ((int32_t)4096); G_B8_1 = G_B6_0; G_B8_2 = G_B6_1; G_B8_3 = G_B6_2; goto IL_0054; } IL_004f: { G_B8_0 = ((int32_t)8192); G_B8_1 = G_B7_0; G_B8_2 = G_B7_1; G_B8_3 = G_B7_2; } IL_0054: { DrivenRectTransformTracker_Add_m3461523141(G_B8_3, G_B8_2, G_B8_1, G_B8_0, /*hidden argument*/NULL); int32_t L_9 = V_0; if ((!(((uint32_t)L_9) == ((uint32_t)1)))) { goto IL_007d; } } { RectTransform_t3317474837 * L_10 = ContentSizeFitter_get_rectTransform_m1096586412(__this, /*hidden argument*/NULL); int32_t L_11 = ___axis0; RectTransform_t3317474837 * L_12 = __this->get_m_Rect_4(); int32_t L_13 = ___axis0; float L_14 = LayoutUtility_GetMinSize_m220738634(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL); NullCheck(L_10); RectTransform_SetSizeWithCurrentAnchors_m4019722691(L_10, L_11, L_14, /*hidden argument*/NULL); goto IL_0095; } IL_007d: { RectTransform_t3317474837 * L_15 = ContentSizeFitter_get_rectTransform_m1096586412(__this, /*hidden argument*/NULL); int32_t L_16 = ___axis0; RectTransform_t3317474837 * L_17 = __this->get_m_Rect_4(); int32_t L_18 = ___axis0; float L_19 = LayoutUtility_GetPreferredSize_m889669625(NULL /*static, unused*/, L_17, L_18, /*hidden argument*/NULL); NullCheck(L_15); RectTransform_SetSizeWithCurrentAnchors_m4019722691(L_15, L_16, L_19, /*hidden argument*/NULL); } IL_0095: { return; } } // System.Void UnityEngine.UI.ContentSizeFitter::SetLayoutHorizontal() extern "C" void ContentSizeFitter_SetLayoutHorizontal_m629859679 (ContentSizeFitter_t1683351827 * __this, const MethodInfo* method) { { DrivenRectTransformTracker_t3675273953 * L_0 = __this->get_address_of_m_Tracker_5(); DrivenRectTransformTracker_Clear_m309315364(L_0, /*hidden argument*/NULL); ContentSizeFitter_HandleSelfFittingAlongAxis_m2083972471(__this, 0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.ContentSizeFitter::SetLayoutVertical() extern "C" void ContentSizeFitter_SetLayoutVertical_m2322479793 (ContentSizeFitter_t1683351827 * __this, const MethodInfo* method) { { ContentSizeFitter_HandleSelfFittingAlongAxis_m2083972471(__this, 1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.ContentSizeFitter::SetDirty() extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const uint32_t ContentSizeFitter_SetDirty_m162055523_MetadataUsageId; extern "C" void ContentSizeFitter_SetDirty_m162055523 (ContentSizeFitter_t1683351827 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ContentSizeFitter_SetDirty_m162055523_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (L_0) { goto IL_000c; } } { return; } IL_000c: { RectTransform_t3317474837 * L_1 = ContentSizeFitter_get_rectTransform_m1096586412(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_MarkLayoutForRebuild_m901621521(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return; } } // UnityEngine.Color UnityEngine.UI.CoroutineTween.ColorTween::get_startColor() extern "C" Color_t1588175760 ColorTween_get_startColor_m2341745789 (ColorTween_t2894377818 * __this, const MethodInfo* method) { { Color_t1588175760 L_0 = __this->get_m_StartColor_1(); return L_0; } } // System.Void UnityEngine.UI.CoroutineTween.ColorTween::set_startColor(UnityEngine.Color) extern "C" void ColorTween_set_startColor_m1548058556 (ColorTween_t2894377818 * __this, Color_t1588175760 ___value0, const MethodInfo* method) { { Color_t1588175760 L_0 = ___value0; __this->set_m_StartColor_1(L_0); return; } } // UnityEngine.Color UnityEngine.UI.CoroutineTween.ColorTween::get_targetColor() extern "C" Color_t1588175760 ColorTween_get_targetColor_m3334930584 (ColorTween_t2894377818 * __this, const MethodInfo* method) { { Color_t1588175760 L_0 = __this->get_m_TargetColor_2(); return L_0; } } // System.Void UnityEngine.UI.CoroutineTween.ColorTween::set_targetColor(UnityEngine.Color) extern "C" void ColorTween_set_targetColor_m1091345019 (ColorTween_t2894377818 * __this, Color_t1588175760 ___value0, const MethodInfo* method) { { Color_t1588175760 L_0 = ___value0; __this->set_m_TargetColor_2(L_0); return; } } // UnityEngine.UI.CoroutineTween.ColorTween/ColorTweenMode UnityEngine.UI.CoroutineTween.ColorTween::get_tweenMode() extern "C" int32_t ColorTween_get_tweenMode_m4011161954 (ColorTween_t2894377818 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_TweenMode_3(); return L_0; } } // System.Void UnityEngine.UI.CoroutineTween.ColorTween::set_tweenMode(UnityEngine.UI.CoroutineTween.ColorTween/ColorTweenMode) extern "C" void ColorTween_set_tweenMode_m1316837809 (ColorTween_t2894377818 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_TweenMode_3(L_0); return; } } // System.Single UnityEngine.UI.CoroutineTween.ColorTween::get_duration() extern "C" float ColorTween_get_duration_m2603018997 (ColorTween_t2894377818 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_Duration_4(); return L_0; } } // System.Void UnityEngine.UI.CoroutineTween.ColorTween::set_duration(System.Single) extern "C" void ColorTween_set_duration_m347866734 (ColorTween_t2894377818 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_Duration_4(L_0); return; } } // System.Boolean UnityEngine.UI.CoroutineTween.ColorTween::get_ignoreTimeScale() extern "C" bool ColorTween_get_ignoreTimeScale_m27222826 (ColorTween_t2894377818 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_IgnoreTimeScale_5(); return L_0; } } // System.Void UnityEngine.UI.CoroutineTween.ColorTween::set_ignoreTimeScale(System.Boolean) extern "C" void ColorTween_set_ignoreTimeScale_m4222585787 (ColorTween_t2894377818 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_IgnoreTimeScale_5(L_0); return; } } // System.Void UnityEngine.UI.CoroutineTween.ColorTween::TweenValue(System.Single) extern const MethodInfo* UnityEvent_1_Invoke_m2712400111_MethodInfo_var; extern const uint32_t ColorTween_TweenValue_m3209849337_MetadataUsageId; extern "C" void ColorTween_TweenValue_m3209849337 (ColorTween_t2894377818 * __this, float ___floatPercentage0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ColorTween_TweenValue_m3209849337_MetadataUsageId); s_Il2CppMethodIntialized = true; } Color_t1588175760 V_0; memset(&V_0, 0, sizeof(V_0)); { bool L_0 = ColorTween_ValidTarget_m2504867349(__this, /*hidden argument*/NULL); if (L_0) { goto IL_000c; } } { return; } IL_000c: { Color_t1588175760 L_1 = __this->get_m_StartColor_1(); Color_t1588175760 L_2 = __this->get_m_TargetColor_2(); float L_3 = ___floatPercentage0; Color_t1588175760 L_4 = Color_Lerp_m3494628845(NULL /*static, unused*/, L_1, L_2, L_3, /*hidden argument*/NULL); V_0 = L_4; int32_t L_5 = __this->get_m_TweenMode_3(); if ((!(((uint32_t)L_5) == ((uint32_t)2)))) { goto IL_0066; } } { Color_t1588175760 * L_6 = __this->get_address_of_m_StartColor_1(); float L_7 = L_6->get_r_0(); (&V_0)->set_r_0(L_7); Color_t1588175760 * L_8 = __this->get_address_of_m_StartColor_1(); float L_9 = L_8->get_g_1(); (&V_0)->set_g_1(L_9); Color_t1588175760 * L_10 = __this->get_address_of_m_StartColor_1(); float L_11 = L_10->get_b_2(); (&V_0)->set_b_2(L_11); goto IL_0084; } IL_0066: { int32_t L_12 = __this->get_m_TweenMode_3(); if ((!(((uint32_t)L_12) == ((uint32_t)1)))) { goto IL_0084; } } { Color_t1588175760 * L_13 = __this->get_address_of_m_StartColor_1(); float L_14 = L_13->get_a_3(); (&V_0)->set_a_3(L_14); } IL_0084: { ColorTweenCallback_t3305784653 * L_15 = __this->get_m_Target_0(); Color_t1588175760 L_16 = V_0; NullCheck(L_15); UnityEvent_1_Invoke_m2712400111(L_15, L_16, /*hidden argument*/UnityEvent_1_Invoke_m2712400111_MethodInfo_var); return; } } // System.Void UnityEngine.UI.CoroutineTween.ColorTween::AddOnChangedCallback(UnityEngine.Events.UnityAction`1<UnityEngine.Color>) extern Il2CppClass* ColorTweenCallback_t3305784653_il2cpp_TypeInfo_var; extern const MethodInfo* UnityEvent_1_AddListener_m1347854496_MethodInfo_var; extern const uint32_t ColorTween_AddOnChangedCallback_m1109647485_MetadataUsageId; extern "C" void ColorTween_AddOnChangedCallback_m1109647485 (ColorTween_t2894377818 * __this, UnityAction_1_t1568637665 * ___callback0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ColorTween_AddOnChangedCallback_m1109647485_MetadataUsageId); s_Il2CppMethodIntialized = true; } { ColorTweenCallback_t3305784653 * L_0 = __this->get_m_Target_0(); if (L_0) { goto IL_0016; } } { ColorTweenCallback_t3305784653 * L_1 = (ColorTweenCallback_t3305784653 *)il2cpp_codegen_object_new(ColorTweenCallback_t3305784653_il2cpp_TypeInfo_var); ColorTweenCallback__ctor_m1815857490(L_1, /*hidden argument*/NULL); __this->set_m_Target_0(L_1); } IL_0016: { ColorTweenCallback_t3305784653 * L_2 = __this->get_m_Target_0(); UnityAction_1_t1568637665 * L_3 = ___callback0; NullCheck(L_2); UnityEvent_1_AddListener_m1347854496(L_2, L_3, /*hidden argument*/UnityEvent_1_AddListener_m1347854496_MethodInfo_var); return; } } // System.Boolean UnityEngine.UI.CoroutineTween.ColorTween::GetIgnoreTimescale() extern "C" bool ColorTween_GetIgnoreTimescale_m2054009071 (ColorTween_t2894377818 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_IgnoreTimeScale_5(); return L_0; } } // System.Single UnityEngine.UI.CoroutineTween.ColorTween::GetDuration() extern "C" float ColorTween_GetDuration_m1400665524 (ColorTween_t2894377818 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_Duration_4(); return L_0; } } // System.Boolean UnityEngine.UI.CoroutineTween.ColorTween::ValidTarget() extern "C" bool ColorTween_ValidTarget_m2504867349 (ColorTween_t2894377818 * __this, const MethodInfo* method) { { ColorTweenCallback_t3305784653 * L_0 = __this->get_m_Target_0(); return (bool)((((int32_t)((((Il2CppObject*)(ColorTweenCallback_t3305784653 *)L_0) == ((Il2CppObject*)(Il2CppObject *)NULL))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Void UnityEngine.UI.CoroutineTween.ColorTween/ColorTweenCallback::.ctor() extern const MethodInfo* UnityEvent_1__ctor_m1130251838_MethodInfo_var; extern const uint32_t ColorTweenCallback__ctor_m1815857490_MetadataUsageId; extern "C" void ColorTweenCallback__ctor_m1815857490 (ColorTweenCallback_t3305784653 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (ColorTweenCallback__ctor_m1815857490_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UnityEvent_1__ctor_m1130251838(__this, /*hidden argument*/UnityEvent_1__ctor_m1130251838_MethodInfo_var); return; } } // System.Single UnityEngine.UI.CoroutineTween.FloatTween::get_startValue() extern "C" float FloatTween_get_startValue_m3485407671 (FloatTween_t587838465 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_StartValue_1(); return L_0; } } // System.Void UnityEngine.UI.CoroutineTween.FloatTween::set_startValue(System.Single) extern "C" void FloatTween_set_startValue_m367615212 (FloatTween_t587838465 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_StartValue_1(L_0); return; } } // System.Single UnityEngine.UI.CoroutineTween.FloatTween::get_targetValue() extern "C" float FloatTween_get_targetValue_m197139962 (FloatTween_t587838465 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_TargetValue_2(); return L_0; } } // System.Void UnityEngine.UI.CoroutineTween.FloatTween::set_targetValue(System.Single) extern "C" void FloatTween_set_targetValue_m27109721 (FloatTween_t587838465 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_TargetValue_2(L_0); return; } } // System.Single UnityEngine.UI.CoroutineTween.FloatTween::get_duration() extern "C" float FloatTween_get_duration_m108772764 (FloatTween_t587838465 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_Duration_3(); return L_0; } } // System.Void UnityEngine.UI.CoroutineTween.FloatTween::set_duration(System.Single) extern "C" void FloatTween_set_duration_m4177197863 (FloatTween_t587838465 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_Duration_3(L_0); return; } } // System.Boolean UnityEngine.UI.CoroutineTween.FloatTween::get_ignoreTimeScale() extern "C" bool FloatTween_get_ignoreTimeScale_m1786680995 (FloatTween_t587838465 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_IgnoreTimeScale_4(); return L_0; } } // System.Void UnityEngine.UI.CoroutineTween.FloatTween::set_ignoreTimeScale(System.Boolean) extern "C" void FloatTween_set_ignoreTimeScale_m556709748 (FloatTween_t587838465 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_IgnoreTimeScale_4(L_0); return; } } // System.Void UnityEngine.UI.CoroutineTween.FloatTween::TweenValue(System.Single) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const MethodInfo* UnityEvent_1_Invoke_m3551800820_MethodInfo_var; extern const uint32_t FloatTween_TweenValue_m1980315890_MetadataUsageId; extern "C" void FloatTween_TweenValue_m1980315890 (FloatTween_t587838465 * __this, float ___floatPercentage0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (FloatTween_TweenValue_m1980315890_MetadataUsageId); s_Il2CppMethodIntialized = true; } float V_0 = 0.0f; { bool L_0 = FloatTween_ValidTarget_m3394239118(__this, /*hidden argument*/NULL); if (L_0) { goto IL_000c; } } { return; } IL_000c: { float L_1 = __this->get_m_StartValue_1(); float L_2 = __this->get_m_TargetValue_2(); float L_3 = ___floatPercentage0; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_4 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_1, L_2, L_3, /*hidden argument*/NULL); V_0 = L_4; FloatTweenCallback_t2670964468 * L_5 = __this->get_m_Target_0(); float L_6 = V_0; NullCheck(L_5); UnityEvent_1_Invoke_m3551800820(L_5, L_6, /*hidden argument*/UnityEvent_1_Invoke_m3551800820_MethodInfo_var); return; } } // System.Void UnityEngine.UI.CoroutineTween.FloatTween::AddOnChangedCallback(UnityEngine.Events.UnityAction`1<System.Single>) extern Il2CppClass* FloatTweenCallback_t2670964468_il2cpp_TypeInfo_var; extern const MethodInfo* UnityEvent_1_AddListener_m994670587_MethodInfo_var; extern const uint32_t FloatTween_AddOnChangedCallback_m2815182481_MetadataUsageId; extern "C" void FloatTween_AddOnChangedCallback_m2815182481 (FloatTween_t587838465 * __this, UnityAction_1_t938670926 * ___callback0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (FloatTween_AddOnChangedCallback_m2815182481_MetadataUsageId); s_Il2CppMethodIntialized = true; } { FloatTweenCallback_t2670964468 * L_0 = __this->get_m_Target_0(); if (L_0) { goto IL_0016; } } { FloatTweenCallback_t2670964468 * L_1 = (FloatTweenCallback_t2670964468 *)il2cpp_codegen_object_new(FloatTweenCallback_t2670964468_il2cpp_TypeInfo_var); FloatTweenCallback__ctor_m2342804402(L_1, /*hidden argument*/NULL); __this->set_m_Target_0(L_1); } IL_0016: { FloatTweenCallback_t2670964468 * L_2 = __this->get_m_Target_0(); UnityAction_1_t938670926 * L_3 = ___callback0; NullCheck(L_2); UnityEvent_1_AddListener_m994670587(L_2, L_3, /*hidden argument*/UnityEvent_1_AddListener_m994670587_MethodInfo_var); return; } } // System.Boolean UnityEngine.UI.CoroutineTween.FloatTween::GetIgnoreTimescale() extern "C" bool FloatTween_GetIgnoreTimescale_m1972218454 (FloatTween_t587838465 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_IgnoreTimeScale_4(); return L_0; } } // System.Single UnityEngine.UI.CoroutineTween.FloatTween::GetDuration() extern "C" float FloatTween_GetDuration_m2290037293 (FloatTween_t587838465 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_Duration_3(); return L_0; } } // System.Boolean UnityEngine.UI.CoroutineTween.FloatTween::ValidTarget() extern "C" bool FloatTween_ValidTarget_m3394239118 (FloatTween_t587838465 * __this, const MethodInfo* method) { { FloatTweenCallback_t2670964468 * L_0 = __this->get_m_Target_0(); return (bool)((((int32_t)((((Il2CppObject*)(FloatTweenCallback_t2670964468 *)L_0) == ((Il2CppObject*)(Il2CppObject *)NULL))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Void UnityEngine.UI.CoroutineTween.FloatTween/FloatTweenCallback::.ctor() extern const MethodInfo* UnityEvent_1__ctor_m1354608473_MethodInfo_var; extern const uint32_t FloatTweenCallback__ctor_m2342804402_MetadataUsageId; extern "C" void FloatTweenCallback__ctor_m2342804402 (FloatTweenCallback_t2670964468 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (FloatTweenCallback__ctor_m2342804402_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UnityEvent_1__ctor_m1354608473(__this, /*hidden argument*/UnityEvent_1__ctor_m1354608473_MethodInfo_var); return; } } // System.Void UnityEngine.UI.DefaultControls::.cctor() extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const uint32_t DefaultControls__cctor_m1303793449_MetadataUsageId; extern "C" void DefaultControls__cctor_m1303793449 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls__cctor_m1303793449_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Vector2_t3525329788 L_0; memset(&L_0, 0, sizeof(L_0)); Vector2__ctor_m1517109030(&L_0, (160.0f), (30.0f), /*hidden argument*/NULL); ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->set_s_ThickElementSize_3(L_0); Vector2_t3525329788 L_1; memset(&L_1, 0, sizeof(L_1)); Vector2__ctor_m1517109030(&L_1, (160.0f), (20.0f), /*hidden argument*/NULL); ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->set_s_ThinElementSize_4(L_1); Vector2_t3525329788 L_2; memset(&L_2, 0, sizeof(L_2)); Vector2__ctor_m1517109030(&L_2, (100.0f), (100.0f), /*hidden argument*/NULL); ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->set_s_ImageElementSize_5(L_2); Color_t1588175760 L_3; memset(&L_3, 0, sizeof(L_3)); Color__ctor_m2252924356(&L_3, (1.0f), (1.0f), (1.0f), (1.0f), /*hidden argument*/NULL); ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->set_s_DefaultSelectableColor_6(L_3); Color_t1588175760 L_4; memset(&L_4, 0, sizeof(L_4)); Color__ctor_m2252924356(&L_4, (1.0f), (1.0f), (1.0f), (0.392f), /*hidden argument*/NULL); ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->set_s_PanelColor_7(L_4); Color_t1588175760 L_5; memset(&L_5, 0, sizeof(L_5)); Color__ctor_m2252924356(&L_5, (0.196078435f), (0.196078435f), (0.196078435f), (1.0f), /*hidden argument*/NULL); ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->set_s_TextColor_8(L_5); return; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreateUIElementRoot(System.String,UnityEngine.Vector2) extern Il2CppClass* GameObject_t4012695102_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000_MethodInfo_var; extern const uint32_t DefaultControls_CreateUIElementRoot_m335662421_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreateUIElementRoot_m335662421 (Il2CppObject * __this /* static, unused */, String_t* ___name0, Vector2_t3525329788 ___size1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreateUIElementRoot_m335662421_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; RectTransform_t3317474837 * V_1 = NULL; { String_t* L_0 = ___name0; GameObject_t4012695102 * L_1 = (GameObject_t4012695102 *)il2cpp_codegen_object_new(GameObject_t4012695102_il2cpp_TypeInfo_var); GameObject__ctor_m3920833606(L_1, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; NullCheck(L_2); RectTransform_t3317474837 * L_3 = GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000(L_2, /*hidden argument*/GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000_MethodInfo_var); V_1 = L_3; RectTransform_t3317474837 * L_4 = V_1; Vector2_t3525329788 L_5 = ___size1; NullCheck(L_4); RectTransform_set_sizeDelta_m1223846609(L_4, L_5, /*hidden argument*/NULL); GameObject_t4012695102 * L_6 = V_0; return L_6; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreateUIObject(System.String,UnityEngine.GameObject) extern Il2CppClass* GameObject_t4012695102_il2cpp_TypeInfo_var; extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000_MethodInfo_var; extern const uint32_t DefaultControls_CreateUIObject_m1826457530_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreateUIObject_m1826457530 (Il2CppObject * __this /* static, unused */, String_t* ___name0, GameObject_t4012695102 * ___parent1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreateUIObject_m1826457530_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; { String_t* L_0 = ___name0; GameObject_t4012695102 * L_1 = (GameObject_t4012695102 *)il2cpp_codegen_object_new(GameObject_t4012695102_il2cpp_TypeInfo_var); GameObject__ctor_m3920833606(L_1, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; NullCheck(L_2); GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000(L_2, /*hidden argument*/GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000_MethodInfo_var); GameObject_t4012695102 * L_3 = V_0; GameObject_t4012695102 * L_4 = ___parent1; IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); DefaultControls_SetParentAndAlign_m867848490(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); GameObject_t4012695102 * L_5 = V_0; return L_5; } } // System.Void UnityEngine.UI.DefaultControls::SetDefaultTextValues(UnityEngine.UI.Text) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const uint32_t DefaultControls_SetDefaultTextValues_m2676194036_MetadataUsageId; extern "C" void DefaultControls_SetDefaultTextValues_m2676194036 (Il2CppObject * __this /* static, unused */, Text_t3286458198 * ___lbl0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_SetDefaultTextValues_m2676194036_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Text_t3286458198 * L_0 = ___lbl0; IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); Color_t1588175760 L_1 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_TextColor_8(); NullCheck(L_0); Graphic_set_color_m1311501487(L_0, L_1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.DefaultControls::SetDefaultColorTransitionValues(UnityEngine.UI.Selectable) extern "C" void DefaultControls_SetDefaultColorTransitionValues_m2995057500 (Il2CppObject * __this /* static, unused */, Selectable_t3621744255 * ___slider0, const MethodInfo* method) { ColorBlock_t2245020947 V_0; memset(&V_0, 0, sizeof(V_0)); { Selectable_t3621744255 * L_0 = ___slider0; NullCheck(L_0); ColorBlock_t2245020947 L_1 = Selectable_get_colors_m2926475394(L_0, /*hidden argument*/NULL); V_0 = L_1; Color_t1588175760 L_2; memset(&L_2, 0, sizeof(L_2)); Color__ctor_m103496991(&L_2, (0.882f), (0.882f), (0.882f), /*hidden argument*/NULL); ColorBlock_set_highlightedColor_m4179336310((&V_0), L_2, /*hidden argument*/NULL); Color_t1588175760 L_3; memset(&L_3, 0, sizeof(L_3)); Color__ctor_m103496991(&L_3, (0.698f), (0.698f), (0.698f), /*hidden argument*/NULL); ColorBlock_set_pressedColor_m830240709((&V_0), L_3, /*hidden argument*/NULL); Color_t1588175760 L_4; memset(&L_4, 0, sizeof(L_4)); Color__ctor_m103496991(&L_4, (0.521f), (0.521f), (0.521f), /*hidden argument*/NULL); ColorBlock_set_disabledColor_m215468861((&V_0), L_4, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.DefaultControls::SetParentAndAlign(UnityEngine.GameObject,UnityEngine.GameObject) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const uint32_t DefaultControls_SetParentAndAlign_m867848490_MetadataUsageId; extern "C" void DefaultControls_SetParentAndAlign_m867848490 (Il2CppObject * __this /* static, unused */, GameObject_t4012695102 * ___child0, GameObject_t4012695102 * ___parent1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_SetParentAndAlign_m867848490_MetadataUsageId); s_Il2CppMethodIntialized = true; } { GameObject_t4012695102 * L_0 = ___parent1; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_000d; } } { return; } IL_000d: { GameObject_t4012695102 * L_2 = ___child0; NullCheck(L_2); Transform_t284553113 * L_3 = GameObject_get_transform_m1278640159(L_2, /*hidden argument*/NULL); GameObject_t4012695102 * L_4 = ___parent1; NullCheck(L_4); Transform_t284553113 * L_5 = GameObject_get_transform_m1278640159(L_4, /*hidden argument*/NULL); NullCheck(L_3); Transform_SetParent_m263985879(L_3, L_5, (bool)0, /*hidden argument*/NULL); GameObject_t4012695102 * L_6 = ___child0; GameObject_t4012695102 * L_7 = ___parent1; NullCheck(L_7); int32_t L_8 = GameObject_get_layer_m1648550306(L_7, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); DefaultControls_SetLayerRecursively_m2948337421(NULL /*static, unused*/, L_6, L_8, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.DefaultControls::SetLayerRecursively(UnityEngine.GameObject,System.Int32) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const uint32_t DefaultControls_SetLayerRecursively_m2948337421_MetadataUsageId; extern "C" void DefaultControls_SetLayerRecursively_m2948337421 (Il2CppObject * __this /* static, unused */, GameObject_t4012695102 * ___go0, int32_t ___layer1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_SetLayerRecursively_m2948337421_MetadataUsageId); s_Il2CppMethodIntialized = true; } Transform_t284553113 * V_0 = NULL; int32_t V_1 = 0; { GameObject_t4012695102 * L_0 = ___go0; int32_t L_1 = ___layer1; NullCheck(L_0); GameObject_set_layer_m1872241535(L_0, L_1, /*hidden argument*/NULL); GameObject_t4012695102 * L_2 = ___go0; NullCheck(L_2); Transform_t284553113 * L_3 = GameObject_get_transform_m1278640159(L_2, /*hidden argument*/NULL); V_0 = L_3; V_1 = 0; goto IL_002b; } IL_0015: { Transform_t284553113 * L_4 = V_0; int32_t L_5 = V_1; NullCheck(L_4); Transform_t284553113 * L_6 = Transform_GetChild_m4040462992(L_4, L_5, /*hidden argument*/NULL); NullCheck(L_6); GameObject_t4012695102 * L_7 = Component_get_gameObject_m1170635899(L_6, /*hidden argument*/NULL); int32_t L_8 = ___layer1; IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); DefaultControls_SetLayerRecursively_m2948337421(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL); int32_t L_9 = V_1; V_1 = ((int32_t)((int32_t)L_9+(int32_t)1)); } IL_002b: { int32_t L_10 = V_1; Transform_t284553113 * L_11 = V_0; NullCheck(L_11); int32_t L_12 = Transform_get_childCount_m2107810675(L_11, /*hidden argument*/NULL); if ((((int32_t)L_10) < ((int32_t)L_12))) { goto IL_0015; } } { return; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreatePanel(UnityEngine.UI.DefaultControls/Resources) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral76880356; extern const uint32_t DefaultControls_CreatePanel_m131101809_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreatePanel_m131101809 (Il2CppObject * __this /* static, unused */, Resources_t20897285 ___resources0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreatePanel_m131101809_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; RectTransform_t3317474837 * V_1 = NULL; Image_t3354615620 * V_2 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); Vector2_t3525329788 L_0 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_ThickElementSize_3(); GameObject_t4012695102 * L_1 = DefaultControls_CreateUIElementRoot_m335662421(NULL /*static, unused*/, _stringLiteral76880356, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; NullCheck(L_2); RectTransform_t3317474837 * L_3 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_2, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_1 = L_3; RectTransform_t3317474837 * L_4 = V_1; Vector2_t3525329788 L_5 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_4); RectTransform_set_anchorMin_m989253483(L_4, L_5, /*hidden argument*/NULL); RectTransform_t3317474837 * L_6 = V_1; Vector2_t3525329788 L_7 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_6); RectTransform_set_anchorMax_m715345817(L_6, L_7, /*hidden argument*/NULL); RectTransform_t3317474837 * L_8 = V_1; Vector2_t3525329788 L_9 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_8); RectTransform_set_anchoredPosition_m1498949997(L_8, L_9, /*hidden argument*/NULL); RectTransform_t3317474837 * L_10 = V_1; Vector2_t3525329788 L_11 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_10); RectTransform_set_sizeDelta_m1223846609(L_10, L_11, /*hidden argument*/NULL); GameObject_t4012695102 * L_12 = V_0; NullCheck(L_12); Image_t3354615620 * L_13 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_12, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_2 = L_13; Image_t3354615620 * L_14 = V_2; Sprite_t4006040370 * L_15 = (&___resources0)->get_background_1(); NullCheck(L_14); Image_set_sprite_m572551402(L_14, L_15, /*hidden argument*/NULL); Image_t3354615620 * L_16 = V_2; NullCheck(L_16); Image_set_type_m3406009990(L_16, 1, /*hidden argument*/NULL); Image_t3354615620 * L_17 = V_2; Color_t1588175760 L_18 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_PanelColor_7(); NullCheck(L_17); Graphic_set_color_m1311501487(L_17, L_18, /*hidden argument*/NULL); GameObject_t4012695102 * L_19 = V_0; return L_19; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreateButton(UnityEngine.UI.DefaultControls/Resources) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern Il2CppClass* GameObject_t4012695102_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisButton_t990034267_m2834709044_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisText_t3286458198_m3161596953_MethodInfo_var; extern const MethodInfo* GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral2001146706; extern Il2CppCodeGenString* _stringLiteral2603341; extern const uint32_t DefaultControls_CreateButton_m2909407539_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreateButton_m2909407539 (Il2CppObject * __this /* static, unused */, Resources_t20897285 ___resources0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreateButton_m2909407539_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; GameObject_t4012695102 * V_1 = NULL; Image_t3354615620 * V_2 = NULL; Button_t990034267 * V_3 = NULL; Text_t3286458198 * V_4 = NULL; RectTransform_t3317474837 * V_5 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); Vector2_t3525329788 L_0 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_ThickElementSize_3(); GameObject_t4012695102 * L_1 = DefaultControls_CreateUIElementRoot_m335662421(NULL /*static, unused*/, _stringLiteral2001146706, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = (GameObject_t4012695102 *)il2cpp_codegen_object_new(GameObject_t4012695102_il2cpp_TypeInfo_var); GameObject__ctor_m3920833606(L_2, _stringLiteral2603341, /*hidden argument*/NULL); V_1 = L_2; GameObject_t4012695102 * L_3 = V_1; GameObject_t4012695102 * L_4 = V_0; DefaultControls_SetParentAndAlign_m867848490(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); GameObject_t4012695102 * L_5 = V_0; NullCheck(L_5); Image_t3354615620 * L_6 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_5, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_2 = L_6; Image_t3354615620 * L_7 = V_2; Sprite_t4006040370 * L_8 = (&___resources0)->get_standard_0(); NullCheck(L_7); Image_set_sprite_m572551402(L_7, L_8, /*hidden argument*/NULL); Image_t3354615620 * L_9 = V_2; NullCheck(L_9); Image_set_type_m3406009990(L_9, 1, /*hidden argument*/NULL); Image_t3354615620 * L_10 = V_2; Color_t1588175760 L_11 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultSelectableColor_6(); NullCheck(L_10); Graphic_set_color_m1311501487(L_10, L_11, /*hidden argument*/NULL); GameObject_t4012695102 * L_12 = V_0; NullCheck(L_12); Button_t990034267 * L_13 = GameObject_AddComponent_TisButton_t990034267_m2834709044(L_12, /*hidden argument*/GameObject_AddComponent_TisButton_t990034267_m2834709044_MethodInfo_var); V_3 = L_13; Button_t990034267 * L_14 = V_3; DefaultControls_SetDefaultColorTransitionValues_m2995057500(NULL /*static, unused*/, L_14, /*hidden argument*/NULL); GameObject_t4012695102 * L_15 = V_1; NullCheck(L_15); Text_t3286458198 * L_16 = GameObject_AddComponent_TisText_t3286458198_m3161596953(L_15, /*hidden argument*/GameObject_AddComponent_TisText_t3286458198_m3161596953_MethodInfo_var); V_4 = L_16; Text_t3286458198 * L_17 = V_4; NullCheck(L_17); VirtActionInvoker1< String_t* >::Invoke(65 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_17, _stringLiteral2001146706); Text_t3286458198 * L_18 = V_4; NullCheck(L_18); Text_set_alignment_m4246723817(L_18, 4, /*hidden argument*/NULL); Text_t3286458198 * L_19 = V_4; DefaultControls_SetDefaultTextValues_m2676194036(NULL /*static, unused*/, L_19, /*hidden argument*/NULL); GameObject_t4012695102 * L_20 = V_1; NullCheck(L_20); RectTransform_t3317474837 * L_21 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_20, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_5 = L_21; RectTransform_t3317474837 * L_22 = V_5; Vector2_t3525329788 L_23 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_22); RectTransform_set_anchorMin_m989253483(L_22, L_23, /*hidden argument*/NULL); RectTransform_t3317474837 * L_24 = V_5; Vector2_t3525329788 L_25 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_24); RectTransform_set_anchorMax_m715345817(L_24, L_25, /*hidden argument*/NULL); RectTransform_t3317474837 * L_26 = V_5; Vector2_t3525329788 L_27 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_26); RectTransform_set_sizeDelta_m1223846609(L_26, L_27, /*hidden argument*/NULL); GameObject_t4012695102 * L_28 = V_0; return L_28; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreateText(UnityEngine.UI.DefaultControls/Resources) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_AddComponent_TisText_t3286458198_m3161596953_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral2603341; extern Il2CppCodeGenString* _stringLiteral1382836205; extern const uint32_t DefaultControls_CreateText_m414838766_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreateText_m414838766 (Il2CppObject * __this /* static, unused */, Resources_t20897285 ___resources0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreateText_m414838766_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; Text_t3286458198 * V_1 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); Vector2_t3525329788 L_0 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_ThickElementSize_3(); GameObject_t4012695102 * L_1 = DefaultControls_CreateUIElementRoot_m335662421(NULL /*static, unused*/, _stringLiteral2603341, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; NullCheck(L_2); Text_t3286458198 * L_3 = GameObject_AddComponent_TisText_t3286458198_m3161596953(L_2, /*hidden argument*/GameObject_AddComponent_TisText_t3286458198_m3161596953_MethodInfo_var); V_1 = L_3; Text_t3286458198 * L_4 = V_1; NullCheck(L_4); VirtActionInvoker1< String_t* >::Invoke(65 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_4, _stringLiteral1382836205); Text_t3286458198 * L_5 = V_1; DefaultControls_SetDefaultTextValues_m2676194036(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); GameObject_t4012695102 * L_6 = V_0; return L_6; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreateImage(UnityEngine.UI.DefaultControls/Resources) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral70760763; extern const uint32_t DefaultControls_CreateImage_m3925407496_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreateImage_m3925407496 (Il2CppObject * __this /* static, unused */, Resources_t20897285 ___resources0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreateImage_m3925407496_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); Vector2_t3525329788 L_0 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_ImageElementSize_5(); GameObject_t4012695102 * L_1 = DefaultControls_CreateUIElementRoot_m335662421(NULL /*static, unused*/, _stringLiteral70760763, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; NullCheck(L_2); GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_2, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); GameObject_t4012695102 * L_3 = V_0; return L_3; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreateRawImage(UnityEngine.UI.DefaultControls/Resources) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_AddComponent_TisRawImage_t3831555132_m1228665331_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral547700275; extern const uint32_t DefaultControls_CreateRawImage_m383828052_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreateRawImage_m383828052 (Il2CppObject * __this /* static, unused */, Resources_t20897285 ___resources0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreateRawImage_m383828052_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); Vector2_t3525329788 L_0 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_ImageElementSize_5(); GameObject_t4012695102 * L_1 = DefaultControls_CreateUIElementRoot_m335662421(NULL /*static, unused*/, _stringLiteral547700275, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; NullCheck(L_2); GameObject_AddComponent_TisRawImage_t3831555132_m1228665331(L_2, /*hidden argument*/GameObject_AddComponent_TisRawImage_t3831555132_m1228665331_MethodInfo_var); GameObject_t4012695102 * L_3 = V_0; return L_3; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreateSlider(UnityEngine.UI.DefaultControls/Resources) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var; extern const MethodInfo* GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisSlider_t1468074762_m2027542053_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral2479187201; extern Il2CppCodeGenString* _stringLiteral661270862; extern Il2CppCodeGenString* _stringLiteral828397834; extern Il2CppCodeGenString* _stringLiteral2189731; extern Il2CppCodeGenString* _stringLiteral4162714292; extern Il2CppCodeGenString* _stringLiteral2154256968; extern const uint32_t DefaultControls_CreateSlider_m3090010146_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreateSlider_m3090010146 (Il2CppObject * __this /* static, unused */, Resources_t20897285 ___resources0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreateSlider_m3090010146_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; GameObject_t4012695102 * V_1 = NULL; GameObject_t4012695102 * V_2 = NULL; GameObject_t4012695102 * V_3 = NULL; GameObject_t4012695102 * V_4 = NULL; GameObject_t4012695102 * V_5 = NULL; Image_t3354615620 * V_6 = NULL; RectTransform_t3317474837 * V_7 = NULL; RectTransform_t3317474837 * V_8 = NULL; Image_t3354615620 * V_9 = NULL; RectTransform_t3317474837 * V_10 = NULL; RectTransform_t3317474837 * V_11 = NULL; Image_t3354615620 * V_12 = NULL; RectTransform_t3317474837 * V_13 = NULL; Slider_t1468074762 * V_14 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); Vector2_t3525329788 L_0 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_ThinElementSize_4(); GameObject_t4012695102 * L_1 = DefaultControls_CreateUIElementRoot_m335662421(NULL /*static, unused*/, _stringLiteral2479187201, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; GameObject_t4012695102 * L_3 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral661270862, L_2, /*hidden argument*/NULL); V_1 = L_3; GameObject_t4012695102 * L_4 = V_0; GameObject_t4012695102 * L_5 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral828397834, L_4, /*hidden argument*/NULL); V_2 = L_5; GameObject_t4012695102 * L_6 = V_2; GameObject_t4012695102 * L_7 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral2189731, L_6, /*hidden argument*/NULL); V_3 = L_7; GameObject_t4012695102 * L_8 = V_0; GameObject_t4012695102 * L_9 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral4162714292, L_8, /*hidden argument*/NULL); V_4 = L_9; GameObject_t4012695102 * L_10 = V_4; GameObject_t4012695102 * L_11 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral2154256968, L_10, /*hidden argument*/NULL); V_5 = L_11; GameObject_t4012695102 * L_12 = V_1; NullCheck(L_12); Image_t3354615620 * L_13 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_12, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_6 = L_13; Image_t3354615620 * L_14 = V_6; Sprite_t4006040370 * L_15 = (&___resources0)->get_background_1(); NullCheck(L_14); Image_set_sprite_m572551402(L_14, L_15, /*hidden argument*/NULL); Image_t3354615620 * L_16 = V_6; NullCheck(L_16); Image_set_type_m3406009990(L_16, 1, /*hidden argument*/NULL); Image_t3354615620 * L_17 = V_6; Color_t1588175760 L_18 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultSelectableColor_6(); NullCheck(L_17); Graphic_set_color_m1311501487(L_17, L_18, /*hidden argument*/NULL); GameObject_t4012695102 * L_19 = V_1; NullCheck(L_19); RectTransform_t3317474837 * L_20 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_19, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_7 = L_20; RectTransform_t3317474837 * L_21 = V_7; Vector2_t3525329788 L_22; memset(&L_22, 0, sizeof(L_22)); Vector2__ctor_m1517109030(&L_22, (0.0f), (0.25f), /*hidden argument*/NULL); NullCheck(L_21); RectTransform_set_anchorMin_m989253483(L_21, L_22, /*hidden argument*/NULL); RectTransform_t3317474837 * L_23 = V_7; Vector2_t3525329788 L_24; memset(&L_24, 0, sizeof(L_24)); Vector2__ctor_m1517109030(&L_24, (1.0f), (0.75f), /*hidden argument*/NULL); NullCheck(L_23); RectTransform_set_anchorMax_m715345817(L_23, L_24, /*hidden argument*/NULL); RectTransform_t3317474837 * L_25 = V_7; Vector2_t3525329788 L_26; memset(&L_26, 0, sizeof(L_26)); Vector2__ctor_m1517109030(&L_26, (0.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_25); RectTransform_set_sizeDelta_m1223846609(L_25, L_26, /*hidden argument*/NULL); GameObject_t4012695102 * L_27 = V_2; NullCheck(L_27); RectTransform_t3317474837 * L_28 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_27, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_8 = L_28; RectTransform_t3317474837 * L_29 = V_8; Vector2_t3525329788 L_30; memset(&L_30, 0, sizeof(L_30)); Vector2__ctor_m1517109030(&L_30, (0.0f), (0.25f), /*hidden argument*/NULL); NullCheck(L_29); RectTransform_set_anchorMin_m989253483(L_29, L_30, /*hidden argument*/NULL); RectTransform_t3317474837 * L_31 = V_8; Vector2_t3525329788 L_32; memset(&L_32, 0, sizeof(L_32)); Vector2__ctor_m1517109030(&L_32, (1.0f), (0.75f), /*hidden argument*/NULL); NullCheck(L_31); RectTransform_set_anchorMax_m715345817(L_31, L_32, /*hidden argument*/NULL); RectTransform_t3317474837 * L_33 = V_8; Vector2_t3525329788 L_34; memset(&L_34, 0, sizeof(L_34)); Vector2__ctor_m1517109030(&L_34, (-5.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_33); RectTransform_set_anchoredPosition_m1498949997(L_33, L_34, /*hidden argument*/NULL); RectTransform_t3317474837 * L_35 = V_8; Vector2_t3525329788 L_36; memset(&L_36, 0, sizeof(L_36)); Vector2__ctor_m1517109030(&L_36, (-20.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_35); RectTransform_set_sizeDelta_m1223846609(L_35, L_36, /*hidden argument*/NULL); GameObject_t4012695102 * L_37 = V_3; NullCheck(L_37); Image_t3354615620 * L_38 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_37, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_9 = L_38; Image_t3354615620 * L_39 = V_9; Sprite_t4006040370 * L_40 = (&___resources0)->get_standard_0(); NullCheck(L_39); Image_set_sprite_m572551402(L_39, L_40, /*hidden argument*/NULL); Image_t3354615620 * L_41 = V_9; NullCheck(L_41); Image_set_type_m3406009990(L_41, 1, /*hidden argument*/NULL); Image_t3354615620 * L_42 = V_9; Color_t1588175760 L_43 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultSelectableColor_6(); NullCheck(L_42); Graphic_set_color_m1311501487(L_42, L_43, /*hidden argument*/NULL); GameObject_t4012695102 * L_44 = V_3; NullCheck(L_44); RectTransform_t3317474837 * L_45 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_44, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_10 = L_45; RectTransform_t3317474837 * L_46 = V_10; Vector2_t3525329788 L_47; memset(&L_47, 0, sizeof(L_47)); Vector2__ctor_m1517109030(&L_47, (10.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_46); RectTransform_set_sizeDelta_m1223846609(L_46, L_47, /*hidden argument*/NULL); GameObject_t4012695102 * L_48 = V_4; NullCheck(L_48); RectTransform_t3317474837 * L_49 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_48, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_11 = L_49; RectTransform_t3317474837 * L_50 = V_11; Vector2_t3525329788 L_51; memset(&L_51, 0, sizeof(L_51)); Vector2__ctor_m1517109030(&L_51, (-20.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_50); RectTransform_set_sizeDelta_m1223846609(L_50, L_51, /*hidden argument*/NULL); RectTransform_t3317474837 * L_52 = V_11; Vector2_t3525329788 L_53; memset(&L_53, 0, sizeof(L_53)); Vector2__ctor_m1517109030(&L_53, (0.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_52); RectTransform_set_anchorMin_m989253483(L_52, L_53, /*hidden argument*/NULL); RectTransform_t3317474837 * L_54 = V_11; Vector2_t3525329788 L_55; memset(&L_55, 0, sizeof(L_55)); Vector2__ctor_m1517109030(&L_55, (1.0f), (1.0f), /*hidden argument*/NULL); NullCheck(L_54); RectTransform_set_anchorMax_m715345817(L_54, L_55, /*hidden argument*/NULL); GameObject_t4012695102 * L_56 = V_5; NullCheck(L_56); Image_t3354615620 * L_57 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_56, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_12 = L_57; Image_t3354615620 * L_58 = V_12; Sprite_t4006040370 * L_59 = (&___resources0)->get_knob_3(); NullCheck(L_58); Image_set_sprite_m572551402(L_58, L_59, /*hidden argument*/NULL); Image_t3354615620 * L_60 = V_12; Color_t1588175760 L_61 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultSelectableColor_6(); NullCheck(L_60); Graphic_set_color_m1311501487(L_60, L_61, /*hidden argument*/NULL); GameObject_t4012695102 * L_62 = V_5; NullCheck(L_62); RectTransform_t3317474837 * L_63 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_62, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_13 = L_63; RectTransform_t3317474837 * L_64 = V_13; Vector2_t3525329788 L_65; memset(&L_65, 0, sizeof(L_65)); Vector2__ctor_m1517109030(&L_65, (20.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_64); RectTransform_set_sizeDelta_m1223846609(L_64, L_65, /*hidden argument*/NULL); GameObject_t4012695102 * L_66 = V_0; NullCheck(L_66); Slider_t1468074762 * L_67 = GameObject_AddComponent_TisSlider_t1468074762_m2027542053(L_66, /*hidden argument*/GameObject_AddComponent_TisSlider_t1468074762_m2027542053_MethodInfo_var); V_14 = L_67; Slider_t1468074762 * L_68 = V_14; GameObject_t4012695102 * L_69 = V_3; NullCheck(L_69); RectTransform_t3317474837 * L_70 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_69, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); NullCheck(L_68); Slider_set_fillRect_m3297119715(L_68, L_70, /*hidden argument*/NULL); Slider_t1468074762 * L_71 = V_14; GameObject_t4012695102 * L_72 = V_5; NullCheck(L_72); RectTransform_t3317474837 * L_73 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_72, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); NullCheck(L_71); Slider_set_handleRect_m3189108254(L_71, L_73, /*hidden argument*/NULL); Slider_t1468074762 * L_74 = V_14; Image_t3354615620 * L_75 = V_12; NullCheck(L_74); Selectable_set_targetGraphic_m54088136(L_74, L_75, /*hidden argument*/NULL); Slider_t1468074762 * L_76 = V_14; NullCheck(L_76); Slider_set_direction_m1506600084(L_76, 0, /*hidden argument*/NULL); Slider_t1468074762 * L_77 = V_14; DefaultControls_SetDefaultColorTransitionValues_m2995057500(NULL /*static, unused*/, L_77, /*hidden argument*/NULL); GameObject_t4012695102 * L_78 = V_0; return L_78; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreateScrollbar(UnityEngine.UI.DefaultControls/Resources) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var; extern const MethodInfo* GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisScrollbar_t1410649103_m567367570_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral2421761542; extern Il2CppCodeGenString* _stringLiteral1943864191; extern Il2CppCodeGenString* _stringLiteral2154256968; extern const uint32_t DefaultControls_CreateScrollbar_m2399849235_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreateScrollbar_m2399849235 (Il2CppObject * __this /* static, unused */, Resources_t20897285 ___resources0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreateScrollbar_m2399849235_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; GameObject_t4012695102 * V_1 = NULL; GameObject_t4012695102 * V_2 = NULL; Image_t3354615620 * V_3 = NULL; Image_t3354615620 * V_4 = NULL; RectTransform_t3317474837 * V_5 = NULL; RectTransform_t3317474837 * V_6 = NULL; Scrollbar_t1410649103 * V_7 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); Vector2_t3525329788 L_0 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_ThinElementSize_4(); GameObject_t4012695102 * L_1 = DefaultControls_CreateUIElementRoot_m335662421(NULL /*static, unused*/, _stringLiteral2421761542, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; GameObject_t4012695102 * L_3 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral1943864191, L_2, /*hidden argument*/NULL); V_1 = L_3; GameObject_t4012695102 * L_4 = V_1; GameObject_t4012695102 * L_5 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral2154256968, L_4, /*hidden argument*/NULL); V_2 = L_5; GameObject_t4012695102 * L_6 = V_0; NullCheck(L_6); Image_t3354615620 * L_7 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_6, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_3 = L_7; Image_t3354615620 * L_8 = V_3; Sprite_t4006040370 * L_9 = (&___resources0)->get_background_1(); NullCheck(L_8); Image_set_sprite_m572551402(L_8, L_9, /*hidden argument*/NULL); Image_t3354615620 * L_10 = V_3; NullCheck(L_10); Image_set_type_m3406009990(L_10, 1, /*hidden argument*/NULL); Image_t3354615620 * L_11 = V_3; Color_t1588175760 L_12 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultSelectableColor_6(); NullCheck(L_11); Graphic_set_color_m1311501487(L_11, L_12, /*hidden argument*/NULL); GameObject_t4012695102 * L_13 = V_2; NullCheck(L_13); Image_t3354615620 * L_14 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_13, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_4 = L_14; Image_t3354615620 * L_15 = V_4; Sprite_t4006040370 * L_16 = (&___resources0)->get_standard_0(); NullCheck(L_15); Image_set_sprite_m572551402(L_15, L_16, /*hidden argument*/NULL); Image_t3354615620 * L_17 = V_4; NullCheck(L_17); Image_set_type_m3406009990(L_17, 1, /*hidden argument*/NULL); Image_t3354615620 * L_18 = V_4; Color_t1588175760 L_19 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultSelectableColor_6(); NullCheck(L_18); Graphic_set_color_m1311501487(L_18, L_19, /*hidden argument*/NULL); GameObject_t4012695102 * L_20 = V_1; NullCheck(L_20); RectTransform_t3317474837 * L_21 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_20, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_5 = L_21; RectTransform_t3317474837 * L_22 = V_5; Vector2_t3525329788 L_23; memset(&L_23, 0, sizeof(L_23)); Vector2__ctor_m1517109030(&L_23, (-20.0f), (-20.0f), /*hidden argument*/NULL); NullCheck(L_22); RectTransform_set_sizeDelta_m1223846609(L_22, L_23, /*hidden argument*/NULL); RectTransform_t3317474837 * L_24 = V_5; Vector2_t3525329788 L_25 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_24); RectTransform_set_anchorMin_m989253483(L_24, L_25, /*hidden argument*/NULL); RectTransform_t3317474837 * L_26 = V_5; Vector2_t3525329788 L_27 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_26); RectTransform_set_anchorMax_m715345817(L_26, L_27, /*hidden argument*/NULL); GameObject_t4012695102 * L_28 = V_2; NullCheck(L_28); RectTransform_t3317474837 * L_29 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_28, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_6 = L_29; RectTransform_t3317474837 * L_30 = V_6; Vector2_t3525329788 L_31; memset(&L_31, 0, sizeof(L_31)); Vector2__ctor_m1517109030(&L_31, (20.0f), (20.0f), /*hidden argument*/NULL); NullCheck(L_30); RectTransform_set_sizeDelta_m1223846609(L_30, L_31, /*hidden argument*/NULL); GameObject_t4012695102 * L_32 = V_0; NullCheck(L_32); Scrollbar_t1410649103 * L_33 = GameObject_AddComponent_TisScrollbar_t1410649103_m567367570(L_32, /*hidden argument*/GameObject_AddComponent_TisScrollbar_t1410649103_m567367570_MethodInfo_var); V_7 = L_33; Scrollbar_t1410649103 * L_34 = V_7; RectTransform_t3317474837 * L_35 = V_6; NullCheck(L_34); Scrollbar_set_handleRect_m2375555625(L_34, L_35, /*hidden argument*/NULL); Scrollbar_t1410649103 * L_36 = V_7; Image_t3354615620 * L_37 = V_4; NullCheck(L_36); Selectable_set_targetGraphic_m54088136(L_36, L_37, /*hidden argument*/NULL); Scrollbar_t1410649103 * L_38 = V_7; DefaultControls_SetDefaultColorTransitionValues_m2995057500(NULL /*static, unused*/, L_38, /*hidden argument*/NULL); GameObject_t4012695102 * L_39 = V_0; return L_39; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreateToggle(UnityEngine.UI.DefaultControls/Resources) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_AddComponent_TisToggle_t1499417981_m3765476050_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisText_t3286458198_m3161596953_MethodInfo_var; extern const MethodInfo* GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral2510530420; extern Il2CppCodeGenString* _stringLiteral661270862; extern Il2CppCodeGenString* _stringLiteral2403289013; extern Il2CppCodeGenString* _stringLiteral73174740; extern const uint32_t DefaultControls_CreateToggle_m1602114261_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreateToggle_m1602114261 (Il2CppObject * __this /* static, unused */, Resources_t20897285 ___resources0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreateToggle_m1602114261_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; GameObject_t4012695102 * V_1 = NULL; GameObject_t4012695102 * V_2 = NULL; GameObject_t4012695102 * V_3 = NULL; Toggle_t1499417981 * V_4 = NULL; Image_t3354615620 * V_5 = NULL; Image_t3354615620 * V_6 = NULL; Text_t3286458198 * V_7 = NULL; RectTransform_t3317474837 * V_8 = NULL; RectTransform_t3317474837 * V_9 = NULL; RectTransform_t3317474837 * V_10 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); Vector2_t3525329788 L_0 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_ThinElementSize_4(); GameObject_t4012695102 * L_1 = DefaultControls_CreateUIElementRoot_m335662421(NULL /*static, unused*/, _stringLiteral2510530420, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; GameObject_t4012695102 * L_3 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral661270862, L_2, /*hidden argument*/NULL); V_1 = L_3; GameObject_t4012695102 * L_4 = V_1; GameObject_t4012695102 * L_5 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral2403289013, L_4, /*hidden argument*/NULL); V_2 = L_5; GameObject_t4012695102 * L_6 = V_0; GameObject_t4012695102 * L_7 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral73174740, L_6, /*hidden argument*/NULL); V_3 = L_7; GameObject_t4012695102 * L_8 = V_0; NullCheck(L_8); Toggle_t1499417981 * L_9 = GameObject_AddComponent_TisToggle_t1499417981_m3765476050(L_8, /*hidden argument*/GameObject_AddComponent_TisToggle_t1499417981_m3765476050_MethodInfo_var); V_4 = L_9; Toggle_t1499417981 * L_10 = V_4; NullCheck(L_10); Toggle_set_isOn_m3467664234(L_10, (bool)1, /*hidden argument*/NULL); GameObject_t4012695102 * L_11 = V_1; NullCheck(L_11); Image_t3354615620 * L_12 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_11, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_5 = L_12; Image_t3354615620 * L_13 = V_5; Sprite_t4006040370 * L_14 = (&___resources0)->get_standard_0(); NullCheck(L_13); Image_set_sprite_m572551402(L_13, L_14, /*hidden argument*/NULL); Image_t3354615620 * L_15 = V_5; NullCheck(L_15); Image_set_type_m3406009990(L_15, 1, /*hidden argument*/NULL); Image_t3354615620 * L_16 = V_5; Color_t1588175760 L_17 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultSelectableColor_6(); NullCheck(L_16); Graphic_set_color_m1311501487(L_16, L_17, /*hidden argument*/NULL); GameObject_t4012695102 * L_18 = V_2; NullCheck(L_18); Image_t3354615620 * L_19 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_18, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_6 = L_19; Image_t3354615620 * L_20 = V_6; Sprite_t4006040370 * L_21 = (&___resources0)->get_checkmark_4(); NullCheck(L_20); Image_set_sprite_m572551402(L_20, L_21, /*hidden argument*/NULL); GameObject_t4012695102 * L_22 = V_3; NullCheck(L_22); Text_t3286458198 * L_23 = GameObject_AddComponent_TisText_t3286458198_m3161596953(L_22, /*hidden argument*/GameObject_AddComponent_TisText_t3286458198_m3161596953_MethodInfo_var); V_7 = L_23; Text_t3286458198 * L_24 = V_7; NullCheck(L_24); VirtActionInvoker1< String_t* >::Invoke(65 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_24, _stringLiteral2510530420); Text_t3286458198 * L_25 = V_7; DefaultControls_SetDefaultTextValues_m2676194036(NULL /*static, unused*/, L_25, /*hidden argument*/NULL); Toggle_t1499417981 * L_26 = V_4; Image_t3354615620 * L_27 = V_6; NullCheck(L_26); L_26->set_graphic_17(L_27); Toggle_t1499417981 * L_28 = V_4; Image_t3354615620 * L_29 = V_5; NullCheck(L_28); Selectable_set_targetGraphic_m54088136(L_28, L_29, /*hidden argument*/NULL); Toggle_t1499417981 * L_30 = V_4; DefaultControls_SetDefaultColorTransitionValues_m2995057500(NULL /*static, unused*/, L_30, /*hidden argument*/NULL); GameObject_t4012695102 * L_31 = V_1; NullCheck(L_31); RectTransform_t3317474837 * L_32 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_31, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_8 = L_32; RectTransform_t3317474837 * L_33 = V_8; Vector2_t3525329788 L_34; memset(&L_34, 0, sizeof(L_34)); Vector2__ctor_m1517109030(&L_34, (0.0f), (1.0f), /*hidden argument*/NULL); NullCheck(L_33); RectTransform_set_anchorMin_m989253483(L_33, L_34, /*hidden argument*/NULL); RectTransform_t3317474837 * L_35 = V_8; Vector2_t3525329788 L_36; memset(&L_36, 0, sizeof(L_36)); Vector2__ctor_m1517109030(&L_36, (0.0f), (1.0f), /*hidden argument*/NULL); NullCheck(L_35); RectTransform_set_anchorMax_m715345817(L_35, L_36, /*hidden argument*/NULL); RectTransform_t3317474837 * L_37 = V_8; Vector2_t3525329788 L_38; memset(&L_38, 0, sizeof(L_38)); Vector2__ctor_m1517109030(&L_38, (10.0f), (-10.0f), /*hidden argument*/NULL); NullCheck(L_37); RectTransform_set_anchoredPosition_m1498949997(L_37, L_38, /*hidden argument*/NULL); RectTransform_t3317474837 * L_39 = V_8; Vector2_t3525329788 L_40; memset(&L_40, 0, sizeof(L_40)); Vector2__ctor_m1517109030(&L_40, (20.0f), (20.0f), /*hidden argument*/NULL); NullCheck(L_39); RectTransform_set_sizeDelta_m1223846609(L_39, L_40, /*hidden argument*/NULL); GameObject_t4012695102 * L_41 = V_2; NullCheck(L_41); RectTransform_t3317474837 * L_42 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_41, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_9 = L_42; RectTransform_t3317474837 * L_43 = V_9; Vector2_t3525329788 L_44; memset(&L_44, 0, sizeof(L_44)); Vector2__ctor_m1517109030(&L_44, (0.5f), (0.5f), /*hidden argument*/NULL); NullCheck(L_43); RectTransform_set_anchorMin_m989253483(L_43, L_44, /*hidden argument*/NULL); RectTransform_t3317474837 * L_45 = V_9; Vector2_t3525329788 L_46; memset(&L_46, 0, sizeof(L_46)); Vector2__ctor_m1517109030(&L_46, (0.5f), (0.5f), /*hidden argument*/NULL); NullCheck(L_45); RectTransform_set_anchorMax_m715345817(L_45, L_46, /*hidden argument*/NULL); RectTransform_t3317474837 * L_47 = V_9; Vector2_t3525329788 L_48 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_47); RectTransform_set_anchoredPosition_m1498949997(L_47, L_48, /*hidden argument*/NULL); RectTransform_t3317474837 * L_49 = V_9; Vector2_t3525329788 L_50; memset(&L_50, 0, sizeof(L_50)); Vector2__ctor_m1517109030(&L_50, (20.0f), (20.0f), /*hidden argument*/NULL); NullCheck(L_49); RectTransform_set_sizeDelta_m1223846609(L_49, L_50, /*hidden argument*/NULL); GameObject_t4012695102 * L_51 = V_3; NullCheck(L_51); RectTransform_t3317474837 * L_52 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_51, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_10 = L_52; RectTransform_t3317474837 * L_53 = V_10; Vector2_t3525329788 L_54; memset(&L_54, 0, sizeof(L_54)); Vector2__ctor_m1517109030(&L_54, (0.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_53); RectTransform_set_anchorMin_m989253483(L_53, L_54, /*hidden argument*/NULL); RectTransform_t3317474837 * L_55 = V_10; Vector2_t3525329788 L_56; memset(&L_56, 0, sizeof(L_56)); Vector2__ctor_m1517109030(&L_56, (1.0f), (1.0f), /*hidden argument*/NULL); NullCheck(L_55); RectTransform_set_anchorMax_m715345817(L_55, L_56, /*hidden argument*/NULL); RectTransform_t3317474837 * L_57 = V_10; Vector2_t3525329788 L_58; memset(&L_58, 0, sizeof(L_58)); Vector2__ctor_m1517109030(&L_58, (23.0f), (1.0f), /*hidden argument*/NULL); NullCheck(L_57); RectTransform_set_offsetMin_m951793481(L_57, L_58, /*hidden argument*/NULL); RectTransform_t3317474837 * L_59 = V_10; Vector2_t3525329788 L_60; memset(&L_60, 0, sizeof(L_60)); Vector2__ctor_m1517109030(&L_60, (-5.0f), (-2.0f), /*hidden argument*/NULL); NullCheck(L_59); RectTransform_set_offsetMax_m677885815(L_59, L_60, /*hidden argument*/NULL); GameObject_t4012695102 * L_61 = V_0; return L_61; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreateInputField(UnityEngine.UI.DefaultControls/Resources) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisInputField_t2345609593_m1532989910_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisText_t3286458198_m3161596953_MethodInfo_var; extern const MethodInfo* GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral3356722032; extern Il2CppCodeGenString* _stringLiteral2266115411; extern Il2CppCodeGenString* _stringLiteral2603341; extern Il2CppCodeGenString* _stringLiteral509361337; extern const uint32_t DefaultControls_CreateInputField_m3813899985_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreateInputField_m3813899985 (Il2CppObject * __this /* static, unused */, Resources_t20897285 ___resources0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreateInputField_m3813899985_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; GameObject_t4012695102 * V_1 = NULL; GameObject_t4012695102 * V_2 = NULL; Image_t3354615620 * V_3 = NULL; InputField_t2345609593 * V_4 = NULL; Text_t3286458198 * V_5 = NULL; Text_t3286458198 * V_6 = NULL; Color_t1588175760 V_7; memset(&V_7, 0, sizeof(V_7)); RectTransform_t3317474837 * V_8 = NULL; RectTransform_t3317474837 * V_9 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); Vector2_t3525329788 L_0 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_ThickElementSize_3(); GameObject_t4012695102 * L_1 = DefaultControls_CreateUIElementRoot_m335662421(NULL /*static, unused*/, _stringLiteral3356722032, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; GameObject_t4012695102 * L_3 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral2266115411, L_2, /*hidden argument*/NULL); V_1 = L_3; GameObject_t4012695102 * L_4 = V_0; GameObject_t4012695102 * L_5 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral2603341, L_4, /*hidden argument*/NULL); V_2 = L_5; GameObject_t4012695102 * L_6 = V_0; NullCheck(L_6); Image_t3354615620 * L_7 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_6, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_3 = L_7; Image_t3354615620 * L_8 = V_3; Sprite_t4006040370 * L_9 = (&___resources0)->get_inputField_2(); NullCheck(L_8); Image_set_sprite_m572551402(L_8, L_9, /*hidden argument*/NULL); Image_t3354615620 * L_10 = V_3; NullCheck(L_10); Image_set_type_m3406009990(L_10, 1, /*hidden argument*/NULL); Image_t3354615620 * L_11 = V_3; Color_t1588175760 L_12 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultSelectableColor_6(); NullCheck(L_11); Graphic_set_color_m1311501487(L_11, L_12, /*hidden argument*/NULL); GameObject_t4012695102 * L_13 = V_0; NullCheck(L_13); InputField_t2345609593 * L_14 = GameObject_AddComponent_TisInputField_t2345609593_m1532989910(L_13, /*hidden argument*/GameObject_AddComponent_TisInputField_t2345609593_m1532989910_MethodInfo_var); V_4 = L_14; InputField_t2345609593 * L_15 = V_4; DefaultControls_SetDefaultColorTransitionValues_m2995057500(NULL /*static, unused*/, L_15, /*hidden argument*/NULL); GameObject_t4012695102 * L_16 = V_2; NullCheck(L_16); Text_t3286458198 * L_17 = GameObject_AddComponent_TisText_t3286458198_m3161596953(L_16, /*hidden argument*/GameObject_AddComponent_TisText_t3286458198_m3161596953_MethodInfo_var); V_5 = L_17; Text_t3286458198 * L_18 = V_5; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_19 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); NullCheck(L_18); VirtActionInvoker1< String_t* >::Invoke(65 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_18, L_19); Text_t3286458198 * L_20 = V_5; NullCheck(L_20); Text_set_supportRichText_m1299469806(L_20, (bool)0, /*hidden argument*/NULL); Text_t3286458198 * L_21 = V_5; DefaultControls_SetDefaultTextValues_m2676194036(NULL /*static, unused*/, L_21, /*hidden argument*/NULL); GameObject_t4012695102 * L_22 = V_1; NullCheck(L_22); Text_t3286458198 * L_23 = GameObject_AddComponent_TisText_t3286458198_m3161596953(L_22, /*hidden argument*/GameObject_AddComponent_TisText_t3286458198_m3161596953_MethodInfo_var); V_6 = L_23; Text_t3286458198 * L_24 = V_6; NullCheck(L_24); VirtActionInvoker1< String_t* >::Invoke(65 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_24, _stringLiteral509361337); Text_t3286458198 * L_25 = V_6; NullCheck(L_25); Text_set_fontStyle_m2882242342(L_25, 2, /*hidden argument*/NULL); Text_t3286458198 * L_26 = V_5; NullCheck(L_26); Color_t1588175760 L_27 = Graphic_get_color_m2048831972(L_26, /*hidden argument*/NULL); V_7 = L_27; Color_t1588175760 * L_28 = (&V_7); float L_29 = L_28->get_a_3(); L_28->set_a_3(((float)((float)L_29*(float)(0.5f)))); Text_t3286458198 * L_30 = V_6; Color_t1588175760 L_31 = V_7; NullCheck(L_30); Graphic_set_color_m1311501487(L_30, L_31, /*hidden argument*/NULL); GameObject_t4012695102 * L_32 = V_2; NullCheck(L_32); RectTransform_t3317474837 * L_33 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_32, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_8 = L_33; RectTransform_t3317474837 * L_34 = V_8; Vector2_t3525329788 L_35 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_34); RectTransform_set_anchorMin_m989253483(L_34, L_35, /*hidden argument*/NULL); RectTransform_t3317474837 * L_36 = V_8; Vector2_t3525329788 L_37 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_36); RectTransform_set_anchorMax_m715345817(L_36, L_37, /*hidden argument*/NULL); RectTransform_t3317474837 * L_38 = V_8; Vector2_t3525329788 L_39 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_38); RectTransform_set_sizeDelta_m1223846609(L_38, L_39, /*hidden argument*/NULL); RectTransform_t3317474837 * L_40 = V_8; Vector2_t3525329788 L_41; memset(&L_41, 0, sizeof(L_41)); Vector2__ctor_m1517109030(&L_41, (10.0f), (6.0f), /*hidden argument*/NULL); NullCheck(L_40); RectTransform_set_offsetMin_m951793481(L_40, L_41, /*hidden argument*/NULL); RectTransform_t3317474837 * L_42 = V_8; Vector2_t3525329788 L_43; memset(&L_43, 0, sizeof(L_43)); Vector2__ctor_m1517109030(&L_43, (-10.0f), (-7.0f), /*hidden argument*/NULL); NullCheck(L_42); RectTransform_set_offsetMax_m677885815(L_42, L_43, /*hidden argument*/NULL); GameObject_t4012695102 * L_44 = V_1; NullCheck(L_44); RectTransform_t3317474837 * L_45 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_44, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_9 = L_45; RectTransform_t3317474837 * L_46 = V_9; Vector2_t3525329788 L_47 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_46); RectTransform_set_anchorMin_m989253483(L_46, L_47, /*hidden argument*/NULL); RectTransform_t3317474837 * L_48 = V_9; Vector2_t3525329788 L_49 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_48); RectTransform_set_anchorMax_m715345817(L_48, L_49, /*hidden argument*/NULL); RectTransform_t3317474837 * L_50 = V_9; Vector2_t3525329788 L_51 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_50); RectTransform_set_sizeDelta_m1223846609(L_50, L_51, /*hidden argument*/NULL); RectTransform_t3317474837 * L_52 = V_9; Vector2_t3525329788 L_53; memset(&L_53, 0, sizeof(L_53)); Vector2__ctor_m1517109030(&L_53, (10.0f), (6.0f), /*hidden argument*/NULL); NullCheck(L_52); RectTransform_set_offsetMin_m951793481(L_52, L_53, /*hidden argument*/NULL); RectTransform_t3317474837 * L_54 = V_9; Vector2_t3525329788 L_55; memset(&L_55, 0, sizeof(L_55)); Vector2__ctor_m1517109030(&L_55, (-10.0f), (-7.0f), /*hidden argument*/NULL); NullCheck(L_54); RectTransform_set_offsetMax_m677885815(L_54, L_55, /*hidden argument*/NULL); InputField_t2345609593 * L_56 = V_4; Text_t3286458198 * L_57 = V_5; NullCheck(L_56); InputField_set_textComponent_m4116377302(L_56, L_57, /*hidden argument*/NULL); InputField_t2345609593 * L_58 = V_4; Text_t3286458198 * L_59 = V_6; NullCheck(L_58); InputField_set_placeholder_m1981544106(L_58, L_59, /*hidden argument*/NULL); GameObject_t4012695102 * L_60 = V_0; return L_60; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreateDropdown(UnityEngine.UI.DefaultControls/Resources) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern Il2CppClass* RectTransform_t3317474837_il2cpp_TypeInfo_var; extern Il2CppClass* OptionData_t3366553055_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_GetComponent_TisScrollbar_t1410649103_m179289597_MethodInfo_var; extern const MethodInfo* GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisText_t3286458198_m3161596953_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisToggle_t1499417981_m3765476050_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisScrollRect_t1048578170_m3490629429_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisMask_t3286245653_m1124636154_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisDropdown_t2916437562_m3413532469_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral3927550001; extern Il2CppCodeGenString* _stringLiteral73174740; extern Il2CppCodeGenString* _stringLiteral63538153; extern Il2CppCodeGenString* _stringLiteral3038064794; extern Il2CppCodeGenString* _stringLiteral1261329606; extern Il2CppCodeGenString* _stringLiteral2616183897; extern Il2CppCodeGenString* _stringLiteral2289459; extern Il2CppCodeGenString* _stringLiteral476458075; extern Il2CppCodeGenString* _stringLiteral42022664; extern Il2CppCodeGenString* _stringLiteral2496208807; extern Il2CppCodeGenString* _stringLiteral2421761542; extern Il2CppCodeGenString* _stringLiteral4280592246; extern Il2CppCodeGenString* _stringLiteral4280592247; extern Il2CppCodeGenString* _stringLiteral4280592248; extern const uint32_t DefaultControls_CreateDropdown_m481152210_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreateDropdown_m481152210 (Il2CppObject * __this /* static, unused */, Resources_t20897285 ___resources0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreateDropdown_m481152210_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; GameObject_t4012695102 * V_1 = NULL; GameObject_t4012695102 * V_2 = NULL; GameObject_t4012695102 * V_3 = NULL; GameObject_t4012695102 * V_4 = NULL; GameObject_t4012695102 * V_5 = NULL; GameObject_t4012695102 * V_6 = NULL; GameObject_t4012695102 * V_7 = NULL; GameObject_t4012695102 * V_8 = NULL; GameObject_t4012695102 * V_9 = NULL; GameObject_t4012695102 * V_10 = NULL; Scrollbar_t1410649103 * V_11 = NULL; RectTransform_t3317474837 * V_12 = NULL; Text_t3286458198 * V_13 = NULL; Image_t3354615620 * V_14 = NULL; Image_t3354615620 * V_15 = NULL; Toggle_t1499417981 * V_16 = NULL; Image_t3354615620 * V_17 = NULL; ScrollRect_t1048578170 * V_18 = NULL; Mask_t3286245653 * V_19 = NULL; Image_t3354615620 * V_20 = NULL; Text_t3286458198 * V_21 = NULL; Image_t3354615620 * V_22 = NULL; Image_t3354615620 * V_23 = NULL; Dropdown_t2916437562 * V_24 = NULL; RectTransform_t3317474837 * V_25 = NULL; RectTransform_t3317474837 * V_26 = NULL; RectTransform_t3317474837 * V_27 = NULL; RectTransform_t3317474837 * V_28 = NULL; RectTransform_t3317474837 * V_29 = NULL; RectTransform_t3317474837 * V_30 = NULL; RectTransform_t3317474837 * V_31 = NULL; RectTransform_t3317474837 * V_32 = NULL; RectTransform_t3317474837 * V_33 = NULL; Vector2_t3525329788 V_34; memset(&V_34, 0, sizeof(V_34)); OptionData_t3366553055 * V_35 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); Vector2_t3525329788 L_0 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_ThickElementSize_3(); GameObject_t4012695102 * L_1 = DefaultControls_CreateUIElementRoot_m335662421(NULL /*static, unused*/, _stringLiteral3927550001, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; GameObject_t4012695102 * L_3 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral73174740, L_2, /*hidden argument*/NULL); V_1 = L_3; GameObject_t4012695102 * L_4 = V_0; GameObject_t4012695102 * L_5 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral63538153, L_4, /*hidden argument*/NULL); V_2 = L_5; GameObject_t4012695102 * L_6 = V_0; GameObject_t4012695102 * L_7 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral3038064794, L_6, /*hidden argument*/NULL); V_3 = L_7; GameObject_t4012695102 * L_8 = V_3; GameObject_t4012695102 * L_9 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral1261329606, L_8, /*hidden argument*/NULL); V_4 = L_9; GameObject_t4012695102 * L_10 = V_4; GameObject_t4012695102 * L_11 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral2616183897, L_10, /*hidden argument*/NULL); V_5 = L_11; GameObject_t4012695102 * L_12 = V_5; GameObject_t4012695102 * L_13 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral2289459, L_12, /*hidden argument*/NULL); V_6 = L_13; GameObject_t4012695102 * L_14 = V_6; GameObject_t4012695102 * L_15 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral476458075, L_14, /*hidden argument*/NULL); V_7 = L_15; GameObject_t4012695102 * L_16 = V_6; GameObject_t4012695102 * L_17 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral42022664, L_16, /*hidden argument*/NULL); V_8 = L_17; GameObject_t4012695102 * L_18 = V_6; GameObject_t4012695102 * L_19 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral2496208807, L_18, /*hidden argument*/NULL); V_9 = L_19; Resources_t20897285 L_20 = ___resources0; GameObject_t4012695102 * L_21 = DefaultControls_CreateScrollbar_m2399849235(NULL /*static, unused*/, L_20, /*hidden argument*/NULL); V_10 = L_21; GameObject_t4012695102 * L_22 = V_10; NullCheck(L_22); Object_set_name_m1123518500(L_22, _stringLiteral2421761542, /*hidden argument*/NULL); GameObject_t4012695102 * L_23 = V_10; GameObject_t4012695102 * L_24 = V_3; DefaultControls_SetParentAndAlign_m867848490(NULL /*static, unused*/, L_23, L_24, /*hidden argument*/NULL); GameObject_t4012695102 * L_25 = V_10; NullCheck(L_25); Scrollbar_t1410649103 * L_26 = GameObject_GetComponent_TisScrollbar_t1410649103_m179289597(L_25, /*hidden argument*/GameObject_GetComponent_TisScrollbar_t1410649103_m179289597_MethodInfo_var); V_11 = L_26; Scrollbar_t1410649103 * L_27 = V_11; NullCheck(L_27); Scrollbar_SetDirection_m826288644(L_27, 2, (bool)1, /*hidden argument*/NULL); GameObject_t4012695102 * L_28 = V_10; NullCheck(L_28); RectTransform_t3317474837 * L_29 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_28, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_12 = L_29; RectTransform_t3317474837 * L_30 = V_12; Vector2_t3525329788 L_31 = Vector2_get_right_m3495203638(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_30); RectTransform_set_anchorMin_m989253483(L_30, L_31, /*hidden argument*/NULL); RectTransform_t3317474837 * L_32 = V_12; Vector2_t3525329788 L_33 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_32); RectTransform_set_anchorMax_m715345817(L_32, L_33, /*hidden argument*/NULL); RectTransform_t3317474837 * L_34 = V_12; Vector2_t3525329788 L_35 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_34); RectTransform_set_pivot_m457344806(L_34, L_35, /*hidden argument*/NULL); RectTransform_t3317474837 * L_36 = V_12; RectTransform_t3317474837 * L_37 = V_12; NullCheck(L_37); Vector2_t3525329788 L_38 = RectTransform_get_sizeDelta_m4279424984(L_37, /*hidden argument*/NULL); V_34 = L_38; float L_39 = (&V_34)->get_x_1(); Vector2_t3525329788 L_40; memset(&L_40, 0, sizeof(L_40)); Vector2__ctor_m1517109030(&L_40, L_39, (0.0f), /*hidden argument*/NULL); NullCheck(L_36); RectTransform_set_sizeDelta_m1223846609(L_36, L_40, /*hidden argument*/NULL); GameObject_t4012695102 * L_41 = V_9; NullCheck(L_41); Text_t3286458198 * L_42 = GameObject_AddComponent_TisText_t3286458198_m3161596953(L_41, /*hidden argument*/GameObject_AddComponent_TisText_t3286458198_m3161596953_MethodInfo_var); V_13 = L_42; Text_t3286458198 * L_43 = V_13; DefaultControls_SetDefaultTextValues_m2676194036(NULL /*static, unused*/, L_43, /*hidden argument*/NULL); Text_t3286458198 * L_44 = V_13; NullCheck(L_44); Text_set_alignment_m4246723817(L_44, 3, /*hidden argument*/NULL); GameObject_t4012695102 * L_45 = V_7; NullCheck(L_45); Image_t3354615620 * L_46 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_45, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_14 = L_46; Image_t3354615620 * L_47 = V_14; Color32_t4137084207 L_48; memset(&L_48, 0, sizeof(L_48)); Color32__ctor_m576906339(&L_48, ((int32_t)245), ((int32_t)245), ((int32_t)245), ((int32_t)255), /*hidden argument*/NULL); Color_t1588175760 L_49 = Color32_op_Implicit_m358459656(NULL /*static, unused*/, L_48, /*hidden argument*/NULL); NullCheck(L_47); Graphic_set_color_m1311501487(L_47, L_49, /*hidden argument*/NULL); GameObject_t4012695102 * L_50 = V_8; NullCheck(L_50); Image_t3354615620 * L_51 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_50, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_15 = L_51; Image_t3354615620 * L_52 = V_15; Sprite_t4006040370 * L_53 = (&___resources0)->get_checkmark_4(); NullCheck(L_52); Image_set_sprite_m572551402(L_52, L_53, /*hidden argument*/NULL); GameObject_t4012695102 * L_54 = V_6; NullCheck(L_54); Toggle_t1499417981 * L_55 = GameObject_AddComponent_TisToggle_t1499417981_m3765476050(L_54, /*hidden argument*/GameObject_AddComponent_TisToggle_t1499417981_m3765476050_MethodInfo_var); V_16 = L_55; Toggle_t1499417981 * L_56 = V_16; Image_t3354615620 * L_57 = V_14; NullCheck(L_56); Selectable_set_targetGraphic_m54088136(L_56, L_57, /*hidden argument*/NULL); Toggle_t1499417981 * L_58 = V_16; Image_t3354615620 * L_59 = V_15; NullCheck(L_58); L_58->set_graphic_17(L_59); Toggle_t1499417981 * L_60 = V_16; NullCheck(L_60); Toggle_set_isOn_m3467664234(L_60, (bool)1, /*hidden argument*/NULL); GameObject_t4012695102 * L_61 = V_3; NullCheck(L_61); Image_t3354615620 * L_62 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_61, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_17 = L_62; Image_t3354615620 * L_63 = V_17; Sprite_t4006040370 * L_64 = (&___resources0)->get_standard_0(); NullCheck(L_63); Image_set_sprite_m572551402(L_63, L_64, /*hidden argument*/NULL); Image_t3354615620 * L_65 = V_17; NullCheck(L_65); Image_set_type_m3406009990(L_65, 1, /*hidden argument*/NULL); GameObject_t4012695102 * L_66 = V_3; NullCheck(L_66); ScrollRect_t1048578170 * L_67 = GameObject_AddComponent_TisScrollRect_t1048578170_m3490629429(L_66, /*hidden argument*/GameObject_AddComponent_TisScrollRect_t1048578170_m3490629429_MethodInfo_var); V_18 = L_67; ScrollRect_t1048578170 * L_68 = V_18; GameObject_t4012695102 * L_69 = V_5; NullCheck(L_69); Transform_t284553113 * L_70 = GameObject_get_transform_m1278640159(L_69, /*hidden argument*/NULL); NullCheck(L_68); ScrollRect_set_content_m234982541(L_68, ((RectTransform_t3317474837 *)CastclassSealed(L_70, RectTransform_t3317474837_il2cpp_TypeInfo_var)), /*hidden argument*/NULL); ScrollRect_t1048578170 * L_71 = V_18; GameObject_t4012695102 * L_72 = V_4; NullCheck(L_72); Transform_t284553113 * L_73 = GameObject_get_transform_m1278640159(L_72, /*hidden argument*/NULL); NullCheck(L_71); ScrollRect_set_viewport_m1031184500(L_71, ((RectTransform_t3317474837 *)CastclassSealed(L_73, RectTransform_t3317474837_il2cpp_TypeInfo_var)), /*hidden argument*/NULL); ScrollRect_t1048578170 * L_74 = V_18; NullCheck(L_74); ScrollRect_set_horizontal_m943369506(L_74, (bool)0, /*hidden argument*/NULL); ScrollRect_t1048578170 * L_75 = V_18; NullCheck(L_75); ScrollRect_set_movementType_m4233390924(L_75, 2, /*hidden argument*/NULL); ScrollRect_t1048578170 * L_76 = V_18; Scrollbar_t1410649103 * L_77 = V_11; NullCheck(L_76); ScrollRect_set_verticalScrollbar_m845729640(L_76, L_77, /*hidden argument*/NULL); ScrollRect_t1048578170 * L_78 = V_18; NullCheck(L_78); ScrollRect_set_verticalScrollbarVisibility_m4230518264(L_78, 2, /*hidden argument*/NULL); ScrollRect_t1048578170 * L_79 = V_18; NullCheck(L_79); ScrollRect_set_verticalScrollbarSpacing_m4137600145(L_79, (-3.0f), /*hidden argument*/NULL); GameObject_t4012695102 * L_80 = V_4; NullCheck(L_80); Mask_t3286245653 * L_81 = GameObject_AddComponent_TisMask_t3286245653_m1124636154(L_80, /*hidden argument*/GameObject_AddComponent_TisMask_t3286245653_m1124636154_MethodInfo_var); V_19 = L_81; Mask_t3286245653 * L_82 = V_19; NullCheck(L_82); Mask_set_showMaskGraphic_m218433430(L_82, (bool)0, /*hidden argument*/NULL); GameObject_t4012695102 * L_83 = V_4; NullCheck(L_83); Image_t3354615620 * L_84 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_83, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_20 = L_84; Image_t3354615620 * L_85 = V_20; Sprite_t4006040370 * L_86 = (&___resources0)->get_mask_6(); NullCheck(L_85); Image_set_sprite_m572551402(L_85, L_86, /*hidden argument*/NULL); Image_t3354615620 * L_87 = V_20; NullCheck(L_87); Image_set_type_m3406009990(L_87, 1, /*hidden argument*/NULL); GameObject_t4012695102 * L_88 = V_1; NullCheck(L_88); Text_t3286458198 * L_89 = GameObject_AddComponent_TisText_t3286458198_m3161596953(L_88, /*hidden argument*/GameObject_AddComponent_TisText_t3286458198_m3161596953_MethodInfo_var); V_21 = L_89; Text_t3286458198 * L_90 = V_21; DefaultControls_SetDefaultTextValues_m2676194036(NULL /*static, unused*/, L_90, /*hidden argument*/NULL); Text_t3286458198 * L_91 = V_21; NullCheck(L_91); Text_set_alignment_m4246723817(L_91, 3, /*hidden argument*/NULL); GameObject_t4012695102 * L_92 = V_2; NullCheck(L_92); Image_t3354615620 * L_93 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_92, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_22 = L_93; Image_t3354615620 * L_94 = V_22; Sprite_t4006040370 * L_95 = (&___resources0)->get_dropdown_5(); NullCheck(L_94); Image_set_sprite_m572551402(L_94, L_95, /*hidden argument*/NULL); GameObject_t4012695102 * L_96 = V_0; NullCheck(L_96); Image_t3354615620 * L_97 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_96, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_23 = L_97; Image_t3354615620 * L_98 = V_23; Sprite_t4006040370 * L_99 = (&___resources0)->get_standard_0(); NullCheck(L_98); Image_set_sprite_m572551402(L_98, L_99, /*hidden argument*/NULL); Image_t3354615620 * L_100 = V_23; Color_t1588175760 L_101 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultSelectableColor_6(); NullCheck(L_100); Graphic_set_color_m1311501487(L_100, L_101, /*hidden argument*/NULL); Image_t3354615620 * L_102 = V_23; NullCheck(L_102); Image_set_type_m3406009990(L_102, 1, /*hidden argument*/NULL); GameObject_t4012695102 * L_103 = V_0; NullCheck(L_103); Dropdown_t2916437562 * L_104 = GameObject_AddComponent_TisDropdown_t2916437562_m3413532469(L_103, /*hidden argument*/GameObject_AddComponent_TisDropdown_t2916437562_m3413532469_MethodInfo_var); V_24 = L_104; Dropdown_t2916437562 * L_105 = V_24; Image_t3354615620 * L_106 = V_23; NullCheck(L_105); Selectable_set_targetGraphic_m54088136(L_105, L_106, /*hidden argument*/NULL); Dropdown_t2916437562 * L_107 = V_24; DefaultControls_SetDefaultColorTransitionValues_m2995057500(NULL /*static, unused*/, L_107, /*hidden argument*/NULL); Dropdown_t2916437562 * L_108 = V_24; GameObject_t4012695102 * L_109 = V_3; NullCheck(L_109); RectTransform_t3317474837 * L_110 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_109, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); NullCheck(L_108); Dropdown_set_template_m498709600(L_108, L_110, /*hidden argument*/NULL); Dropdown_t2916437562 * L_111 = V_24; Text_t3286458198 * L_112 = V_21; NullCheck(L_111); Dropdown_set_captionText_m4143100948(L_111, L_112, /*hidden argument*/NULL); Dropdown_t2916437562 * L_113 = V_24; Text_t3286458198 * L_114 = V_13; NullCheck(L_113); Dropdown_set_itemText_m3975071291(L_113, L_114, /*hidden argument*/NULL); Text_t3286458198 * L_115 = V_13; NullCheck(L_115); VirtActionInvoker1< String_t* >::Invoke(65 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_115, _stringLiteral4280592246); Dropdown_t2916437562 * L_116 = V_24; NullCheck(L_116); List_1_t4163512024 * L_117 = Dropdown_get_options_m399918042(L_116, /*hidden argument*/NULL); OptionData_t3366553055 * L_118 = (OptionData_t3366553055 *)il2cpp_codegen_object_new(OptionData_t3366553055_il2cpp_TypeInfo_var); OptionData__ctor_m2550995262(L_118, /*hidden argument*/NULL); V_35 = L_118; OptionData_t3366553055 * L_119 = V_35; NullCheck(L_119); OptionData_set_text_m704016114(L_119, _stringLiteral4280592246, /*hidden argument*/NULL); OptionData_t3366553055 * L_120 = V_35; NullCheck(L_117); VirtActionInvoker1< OptionData_t3366553055 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::Add(!0) */, L_117, L_120); Dropdown_t2916437562 * L_121 = V_24; NullCheck(L_121); List_1_t4163512024 * L_122 = Dropdown_get_options_m399918042(L_121, /*hidden argument*/NULL); OptionData_t3366553055 * L_123 = (OptionData_t3366553055 *)il2cpp_codegen_object_new(OptionData_t3366553055_il2cpp_TypeInfo_var); OptionData__ctor_m2550995262(L_123, /*hidden argument*/NULL); V_35 = L_123; OptionData_t3366553055 * L_124 = V_35; NullCheck(L_124); OptionData_set_text_m704016114(L_124, _stringLiteral4280592247, /*hidden argument*/NULL); OptionData_t3366553055 * L_125 = V_35; NullCheck(L_122); VirtActionInvoker1< OptionData_t3366553055 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::Add(!0) */, L_122, L_125); Dropdown_t2916437562 * L_126 = V_24; NullCheck(L_126); List_1_t4163512024 * L_127 = Dropdown_get_options_m399918042(L_126, /*hidden argument*/NULL); OptionData_t3366553055 * L_128 = (OptionData_t3366553055 *)il2cpp_codegen_object_new(OptionData_t3366553055_il2cpp_TypeInfo_var); OptionData__ctor_m2550995262(L_128, /*hidden argument*/NULL); V_35 = L_128; OptionData_t3366553055 * L_129 = V_35; NullCheck(L_129); OptionData_set_text_m704016114(L_129, _stringLiteral4280592248, /*hidden argument*/NULL); OptionData_t3366553055 * L_130 = V_35; NullCheck(L_127); VirtActionInvoker1< OptionData_t3366553055 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::Add(!0) */, L_127, L_130); Dropdown_t2916437562 * L_131 = V_24; NullCheck(L_131); Dropdown_RefreshShownValue_m9458643(L_131, /*hidden argument*/NULL); GameObject_t4012695102 * L_132 = V_1; NullCheck(L_132); RectTransform_t3317474837 * L_133 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_132, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_25 = L_133; RectTransform_t3317474837 * L_134 = V_25; Vector2_t3525329788 L_135 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_134); RectTransform_set_anchorMin_m989253483(L_134, L_135, /*hidden argument*/NULL); RectTransform_t3317474837 * L_136 = V_25; Vector2_t3525329788 L_137 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_136); RectTransform_set_anchorMax_m715345817(L_136, L_137, /*hidden argument*/NULL); RectTransform_t3317474837 * L_138 = V_25; Vector2_t3525329788 L_139; memset(&L_139, 0, sizeof(L_139)); Vector2__ctor_m1517109030(&L_139, (10.0f), (6.0f), /*hidden argument*/NULL); NullCheck(L_138); RectTransform_set_offsetMin_m951793481(L_138, L_139, /*hidden argument*/NULL); RectTransform_t3317474837 * L_140 = V_25; Vector2_t3525329788 L_141; memset(&L_141, 0, sizeof(L_141)); Vector2__ctor_m1517109030(&L_141, (-25.0f), (-7.0f), /*hidden argument*/NULL); NullCheck(L_140); RectTransform_set_offsetMax_m677885815(L_140, L_141, /*hidden argument*/NULL); GameObject_t4012695102 * L_142 = V_2; NullCheck(L_142); RectTransform_t3317474837 * L_143 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_142, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_26 = L_143; RectTransform_t3317474837 * L_144 = V_26; Vector2_t3525329788 L_145; memset(&L_145, 0, sizeof(L_145)); Vector2__ctor_m1517109030(&L_145, (1.0f), (0.5f), /*hidden argument*/NULL); NullCheck(L_144); RectTransform_set_anchorMin_m989253483(L_144, L_145, /*hidden argument*/NULL); RectTransform_t3317474837 * L_146 = V_26; Vector2_t3525329788 L_147; memset(&L_147, 0, sizeof(L_147)); Vector2__ctor_m1517109030(&L_147, (1.0f), (0.5f), /*hidden argument*/NULL); NullCheck(L_146); RectTransform_set_anchorMax_m715345817(L_146, L_147, /*hidden argument*/NULL); RectTransform_t3317474837 * L_148 = V_26; Vector2_t3525329788 L_149; memset(&L_149, 0, sizeof(L_149)); Vector2__ctor_m1517109030(&L_149, (20.0f), (20.0f), /*hidden argument*/NULL); NullCheck(L_148); RectTransform_set_sizeDelta_m1223846609(L_148, L_149, /*hidden argument*/NULL); RectTransform_t3317474837 * L_150 = V_26; Vector2_t3525329788 L_151; memset(&L_151, 0, sizeof(L_151)); Vector2__ctor_m1517109030(&L_151, (-15.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_150); RectTransform_set_anchoredPosition_m1498949997(L_150, L_151, /*hidden argument*/NULL); GameObject_t4012695102 * L_152 = V_3; NullCheck(L_152); RectTransform_t3317474837 * L_153 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_152, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_27 = L_153; RectTransform_t3317474837 * L_154 = V_27; Vector2_t3525329788 L_155; memset(&L_155, 0, sizeof(L_155)); Vector2__ctor_m1517109030(&L_155, (0.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_154); RectTransform_set_anchorMin_m989253483(L_154, L_155, /*hidden argument*/NULL); RectTransform_t3317474837 * L_156 = V_27; Vector2_t3525329788 L_157; memset(&L_157, 0, sizeof(L_157)); Vector2__ctor_m1517109030(&L_157, (1.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_156); RectTransform_set_anchorMax_m715345817(L_156, L_157, /*hidden argument*/NULL); RectTransform_t3317474837 * L_158 = V_27; Vector2_t3525329788 L_159; memset(&L_159, 0, sizeof(L_159)); Vector2__ctor_m1517109030(&L_159, (0.5f), (1.0f), /*hidden argument*/NULL); NullCheck(L_158); RectTransform_set_pivot_m457344806(L_158, L_159, /*hidden argument*/NULL); RectTransform_t3317474837 * L_160 = V_27; Vector2_t3525329788 L_161; memset(&L_161, 0, sizeof(L_161)); Vector2__ctor_m1517109030(&L_161, (0.0f), (2.0f), /*hidden argument*/NULL); NullCheck(L_160); RectTransform_set_anchoredPosition_m1498949997(L_160, L_161, /*hidden argument*/NULL); RectTransform_t3317474837 * L_162 = V_27; Vector2_t3525329788 L_163; memset(&L_163, 0, sizeof(L_163)); Vector2__ctor_m1517109030(&L_163, (0.0f), (150.0f), /*hidden argument*/NULL); NullCheck(L_162); RectTransform_set_sizeDelta_m1223846609(L_162, L_163, /*hidden argument*/NULL); GameObject_t4012695102 * L_164 = V_4; NullCheck(L_164); RectTransform_t3317474837 * L_165 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_164, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_28 = L_165; RectTransform_t3317474837 * L_166 = V_28; Vector2_t3525329788 L_167; memset(&L_167, 0, sizeof(L_167)); Vector2__ctor_m1517109030(&L_167, (0.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_166); RectTransform_set_anchorMin_m989253483(L_166, L_167, /*hidden argument*/NULL); RectTransform_t3317474837 * L_168 = V_28; Vector2_t3525329788 L_169; memset(&L_169, 0, sizeof(L_169)); Vector2__ctor_m1517109030(&L_169, (1.0f), (1.0f), /*hidden argument*/NULL); NullCheck(L_168); RectTransform_set_anchorMax_m715345817(L_168, L_169, /*hidden argument*/NULL); RectTransform_t3317474837 * L_170 = V_28; Vector2_t3525329788 L_171; memset(&L_171, 0, sizeof(L_171)); Vector2__ctor_m1517109030(&L_171, (-18.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_170); RectTransform_set_sizeDelta_m1223846609(L_170, L_171, /*hidden argument*/NULL); RectTransform_t3317474837 * L_172 = V_28; Vector2_t3525329788 L_173; memset(&L_173, 0, sizeof(L_173)); Vector2__ctor_m1517109030(&L_173, (0.0f), (1.0f), /*hidden argument*/NULL); NullCheck(L_172); RectTransform_set_pivot_m457344806(L_172, L_173, /*hidden argument*/NULL); GameObject_t4012695102 * L_174 = V_5; NullCheck(L_174); RectTransform_t3317474837 * L_175 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_174, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_29 = L_175; RectTransform_t3317474837 * L_176 = V_29; Vector2_t3525329788 L_177; memset(&L_177, 0, sizeof(L_177)); Vector2__ctor_m1517109030(&L_177, (0.0f), (1.0f), /*hidden argument*/NULL); NullCheck(L_176); RectTransform_set_anchorMin_m989253483(L_176, L_177, /*hidden argument*/NULL); RectTransform_t3317474837 * L_178 = V_29; Vector2_t3525329788 L_179; memset(&L_179, 0, sizeof(L_179)); Vector2__ctor_m1517109030(&L_179, (1.0f), (1.0f), /*hidden argument*/NULL); NullCheck(L_178); RectTransform_set_anchorMax_m715345817(L_178, L_179, /*hidden argument*/NULL); RectTransform_t3317474837 * L_180 = V_29; Vector2_t3525329788 L_181; memset(&L_181, 0, sizeof(L_181)); Vector2__ctor_m1517109030(&L_181, (0.5f), (1.0f), /*hidden argument*/NULL); NullCheck(L_180); RectTransform_set_pivot_m457344806(L_180, L_181, /*hidden argument*/NULL); RectTransform_t3317474837 * L_182 = V_29; Vector2_t3525329788 L_183; memset(&L_183, 0, sizeof(L_183)); Vector2__ctor_m1517109030(&L_183, (0.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_182); RectTransform_set_anchoredPosition_m1498949997(L_182, L_183, /*hidden argument*/NULL); RectTransform_t3317474837 * L_184 = V_29; Vector2_t3525329788 L_185; memset(&L_185, 0, sizeof(L_185)); Vector2__ctor_m1517109030(&L_185, (0.0f), (28.0f), /*hidden argument*/NULL); NullCheck(L_184); RectTransform_set_sizeDelta_m1223846609(L_184, L_185, /*hidden argument*/NULL); GameObject_t4012695102 * L_186 = V_6; NullCheck(L_186); RectTransform_t3317474837 * L_187 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_186, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_30 = L_187; RectTransform_t3317474837 * L_188 = V_30; Vector2_t3525329788 L_189; memset(&L_189, 0, sizeof(L_189)); Vector2__ctor_m1517109030(&L_189, (0.0f), (0.5f), /*hidden argument*/NULL); NullCheck(L_188); RectTransform_set_anchorMin_m989253483(L_188, L_189, /*hidden argument*/NULL); RectTransform_t3317474837 * L_190 = V_30; Vector2_t3525329788 L_191; memset(&L_191, 0, sizeof(L_191)); Vector2__ctor_m1517109030(&L_191, (1.0f), (0.5f), /*hidden argument*/NULL); NullCheck(L_190); RectTransform_set_anchorMax_m715345817(L_190, L_191, /*hidden argument*/NULL); RectTransform_t3317474837 * L_192 = V_30; Vector2_t3525329788 L_193; memset(&L_193, 0, sizeof(L_193)); Vector2__ctor_m1517109030(&L_193, (0.0f), (20.0f), /*hidden argument*/NULL); NullCheck(L_192); RectTransform_set_sizeDelta_m1223846609(L_192, L_193, /*hidden argument*/NULL); GameObject_t4012695102 * L_194 = V_7; NullCheck(L_194); RectTransform_t3317474837 * L_195 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_194, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_31 = L_195; RectTransform_t3317474837 * L_196 = V_31; Vector2_t3525329788 L_197 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_196); RectTransform_set_anchorMin_m989253483(L_196, L_197, /*hidden argument*/NULL); RectTransform_t3317474837 * L_198 = V_31; Vector2_t3525329788 L_199 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_198); RectTransform_set_anchorMax_m715345817(L_198, L_199, /*hidden argument*/NULL); RectTransform_t3317474837 * L_200 = V_31; Vector2_t3525329788 L_201 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_200); RectTransform_set_sizeDelta_m1223846609(L_200, L_201, /*hidden argument*/NULL); GameObject_t4012695102 * L_202 = V_8; NullCheck(L_202); RectTransform_t3317474837 * L_203 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_202, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_32 = L_203; RectTransform_t3317474837 * L_204 = V_32; Vector2_t3525329788 L_205; memset(&L_205, 0, sizeof(L_205)); Vector2__ctor_m1517109030(&L_205, (0.0f), (0.5f), /*hidden argument*/NULL); NullCheck(L_204); RectTransform_set_anchorMin_m989253483(L_204, L_205, /*hidden argument*/NULL); RectTransform_t3317474837 * L_206 = V_32; Vector2_t3525329788 L_207; memset(&L_207, 0, sizeof(L_207)); Vector2__ctor_m1517109030(&L_207, (0.0f), (0.5f), /*hidden argument*/NULL); NullCheck(L_206); RectTransform_set_anchorMax_m715345817(L_206, L_207, /*hidden argument*/NULL); RectTransform_t3317474837 * L_208 = V_32; Vector2_t3525329788 L_209; memset(&L_209, 0, sizeof(L_209)); Vector2__ctor_m1517109030(&L_209, (20.0f), (20.0f), /*hidden argument*/NULL); NullCheck(L_208); RectTransform_set_sizeDelta_m1223846609(L_208, L_209, /*hidden argument*/NULL); RectTransform_t3317474837 * L_210 = V_32; Vector2_t3525329788 L_211; memset(&L_211, 0, sizeof(L_211)); Vector2__ctor_m1517109030(&L_211, (10.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_210); RectTransform_set_anchoredPosition_m1498949997(L_210, L_211, /*hidden argument*/NULL); GameObject_t4012695102 * L_212 = V_9; NullCheck(L_212); RectTransform_t3317474837 * L_213 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_212, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_33 = L_213; RectTransform_t3317474837 * L_214 = V_33; Vector2_t3525329788 L_215 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_214); RectTransform_set_anchorMin_m989253483(L_214, L_215, /*hidden argument*/NULL); RectTransform_t3317474837 * L_216 = V_33; Vector2_t3525329788 L_217 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_216); RectTransform_set_anchorMax_m715345817(L_216, L_217, /*hidden argument*/NULL); RectTransform_t3317474837 * L_218 = V_33; Vector2_t3525329788 L_219; memset(&L_219, 0, sizeof(L_219)); Vector2__ctor_m1517109030(&L_219, (20.0f), (1.0f), /*hidden argument*/NULL); NullCheck(L_218); RectTransform_set_offsetMin_m951793481(L_218, L_219, /*hidden argument*/NULL); RectTransform_t3317474837 * L_220 = V_33; Vector2_t3525329788 L_221; memset(&L_221, 0, sizeof(L_221)); Vector2__ctor_m1517109030(&L_221, (-10.0f), (-2.0f), /*hidden argument*/NULL); NullCheck(L_220); RectTransform_set_offsetMax_m677885815(L_220, L_221, /*hidden argument*/NULL); GameObject_t4012695102 * L_222 = V_3; NullCheck(L_222); GameObject_SetActive_m3538205401(L_222, (bool)0, /*hidden argument*/NULL); GameObject_t4012695102 * L_223 = V_0; return L_223; } } // UnityEngine.GameObject UnityEngine.UI.DefaultControls::CreateScrollView(UnityEngine.UI.DefaultControls/Resources) extern Il2CppClass* DefaultControls_t3717991936_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var; extern const MethodInfo* GameObject_GetComponent_TisScrollbar_t1410649103_m179289597_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisScrollRect_t1048578170_m3490629429_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisMask_t3286245653_m1124636154_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral3674249240; extern Il2CppCodeGenString* _stringLiteral1261329606; extern Il2CppCodeGenString* _stringLiteral2616183897; extern Il2CppCodeGenString* _stringLiteral3772431006; extern Il2CppCodeGenString* _stringLiteral2054089840; extern const uint32_t DefaultControls_CreateScrollView_m2763877395_MetadataUsageId; extern "C" GameObject_t4012695102 * DefaultControls_CreateScrollView_m2763877395 (Il2CppObject * __this /* static, unused */, Resources_t20897285 ___resources0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DefaultControls_CreateScrollView_m2763877395_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; GameObject_t4012695102 * V_1 = NULL; GameObject_t4012695102 * V_2 = NULL; GameObject_t4012695102 * V_3 = NULL; RectTransform_t3317474837 * V_4 = NULL; GameObject_t4012695102 * V_5 = NULL; RectTransform_t3317474837 * V_6 = NULL; RectTransform_t3317474837 * V_7 = NULL; RectTransform_t3317474837 * V_8 = NULL; ScrollRect_t1048578170 * V_9 = NULL; Image_t3354615620 * V_10 = NULL; Mask_t3286245653 * V_11 = NULL; Image_t3354615620 * V_12 = NULL; Vector2_t3525329788 V_13; memset(&V_13, 0, sizeof(V_13)); Vector2_t3525329788 V_14; memset(&V_14, 0, sizeof(V_14)); { Vector2_t3525329788 L_0; memset(&L_0, 0, sizeof(L_0)); Vector2__ctor_m1517109030(&L_0, (200.0f), (200.0f), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(DefaultControls_t3717991936_il2cpp_TypeInfo_var); GameObject_t4012695102 * L_1 = DefaultControls_CreateUIElementRoot_m335662421(NULL /*static, unused*/, _stringLiteral3674249240, L_0, /*hidden argument*/NULL); V_0 = L_1; GameObject_t4012695102 * L_2 = V_0; GameObject_t4012695102 * L_3 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral1261329606, L_2, /*hidden argument*/NULL); V_1 = L_3; GameObject_t4012695102 * L_4 = V_1; GameObject_t4012695102 * L_5 = DefaultControls_CreateUIObject_m1826457530(NULL /*static, unused*/, _stringLiteral2616183897, L_4, /*hidden argument*/NULL); V_2 = L_5; Resources_t20897285 L_6 = ___resources0; GameObject_t4012695102 * L_7 = DefaultControls_CreateScrollbar_m2399849235(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); V_3 = L_7; GameObject_t4012695102 * L_8 = V_3; NullCheck(L_8); Object_set_name_m1123518500(L_8, _stringLiteral3772431006, /*hidden argument*/NULL); GameObject_t4012695102 * L_9 = V_3; GameObject_t4012695102 * L_10 = V_0; DefaultControls_SetParentAndAlign_m867848490(NULL /*static, unused*/, L_9, L_10, /*hidden argument*/NULL); GameObject_t4012695102 * L_11 = V_3; NullCheck(L_11); RectTransform_t3317474837 * L_12 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_11, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_4 = L_12; RectTransform_t3317474837 * L_13 = V_4; Vector2_t3525329788 L_14 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_13); RectTransform_set_anchorMin_m989253483(L_13, L_14, /*hidden argument*/NULL); RectTransform_t3317474837 * L_15 = V_4; Vector2_t3525329788 L_16 = Vector2_get_right_m3495203638(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_15); RectTransform_set_anchorMax_m715345817(L_15, L_16, /*hidden argument*/NULL); RectTransform_t3317474837 * L_17 = V_4; Vector2_t3525329788 L_18 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_17); RectTransform_set_pivot_m457344806(L_17, L_18, /*hidden argument*/NULL); RectTransform_t3317474837 * L_19 = V_4; RectTransform_t3317474837 * L_20 = V_4; NullCheck(L_20); Vector2_t3525329788 L_21 = RectTransform_get_sizeDelta_m4279424984(L_20, /*hidden argument*/NULL); V_13 = L_21; float L_22 = (&V_13)->get_y_2(); Vector2_t3525329788 L_23; memset(&L_23, 0, sizeof(L_23)); Vector2__ctor_m1517109030(&L_23, (0.0f), L_22, /*hidden argument*/NULL); NullCheck(L_19); RectTransform_set_sizeDelta_m1223846609(L_19, L_23, /*hidden argument*/NULL); Resources_t20897285 L_24 = ___resources0; GameObject_t4012695102 * L_25 = DefaultControls_CreateScrollbar_m2399849235(NULL /*static, unused*/, L_24, /*hidden argument*/NULL); V_5 = L_25; GameObject_t4012695102 * L_26 = V_5; NullCheck(L_26); Object_set_name_m1123518500(L_26, _stringLiteral2054089840, /*hidden argument*/NULL); GameObject_t4012695102 * L_27 = V_5; GameObject_t4012695102 * L_28 = V_0; DefaultControls_SetParentAndAlign_m867848490(NULL /*static, unused*/, L_27, L_28, /*hidden argument*/NULL); GameObject_t4012695102 * L_29 = V_5; NullCheck(L_29); Scrollbar_t1410649103 * L_30 = GameObject_GetComponent_TisScrollbar_t1410649103_m179289597(L_29, /*hidden argument*/GameObject_GetComponent_TisScrollbar_t1410649103_m179289597_MethodInfo_var); NullCheck(L_30); Scrollbar_SetDirection_m826288644(L_30, 2, (bool)1, /*hidden argument*/NULL); GameObject_t4012695102 * L_31 = V_5; NullCheck(L_31); RectTransform_t3317474837 * L_32 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_31, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_6 = L_32; RectTransform_t3317474837 * L_33 = V_6; Vector2_t3525329788 L_34 = Vector2_get_right_m3495203638(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_33); RectTransform_set_anchorMin_m989253483(L_33, L_34, /*hidden argument*/NULL); RectTransform_t3317474837 * L_35 = V_6; Vector2_t3525329788 L_36 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_35); RectTransform_set_anchorMax_m715345817(L_35, L_36, /*hidden argument*/NULL); RectTransform_t3317474837 * L_37 = V_6; Vector2_t3525329788 L_38 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_37); RectTransform_set_pivot_m457344806(L_37, L_38, /*hidden argument*/NULL); RectTransform_t3317474837 * L_39 = V_6; RectTransform_t3317474837 * L_40 = V_6; NullCheck(L_40); Vector2_t3525329788 L_41 = RectTransform_get_sizeDelta_m4279424984(L_40, /*hidden argument*/NULL); V_14 = L_41; float L_42 = (&V_14)->get_x_1(); Vector2_t3525329788 L_43; memset(&L_43, 0, sizeof(L_43)); Vector2__ctor_m1517109030(&L_43, L_42, (0.0f), /*hidden argument*/NULL); NullCheck(L_39); RectTransform_set_sizeDelta_m1223846609(L_39, L_43, /*hidden argument*/NULL); GameObject_t4012695102 * L_44 = V_1; NullCheck(L_44); RectTransform_t3317474837 * L_45 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_44, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_7 = L_45; RectTransform_t3317474837 * L_46 = V_7; Vector2_t3525329788 L_47 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_46); RectTransform_set_anchorMin_m989253483(L_46, L_47, /*hidden argument*/NULL); RectTransform_t3317474837 * L_48 = V_7; Vector2_t3525329788 L_49 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_48); RectTransform_set_anchorMax_m715345817(L_48, L_49, /*hidden argument*/NULL); RectTransform_t3317474837 * L_50 = V_7; Vector2_t3525329788 L_51 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_50); RectTransform_set_sizeDelta_m1223846609(L_50, L_51, /*hidden argument*/NULL); RectTransform_t3317474837 * L_52 = V_7; Vector2_t3525329788 L_53 = Vector2_get_up_m1197831267(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_52); RectTransform_set_pivot_m457344806(L_52, L_53, /*hidden argument*/NULL); GameObject_t4012695102 * L_54 = V_2; NullCheck(L_54); RectTransform_t3317474837 * L_55 = GameObject_GetComponent_TisRectTransform_t3317474837_m406276429(L_54, /*hidden argument*/GameObject_GetComponent_TisRectTransform_t3317474837_m406276429_MethodInfo_var); V_8 = L_55; RectTransform_t3317474837 * L_56 = V_8; Vector2_t3525329788 L_57 = Vector2_get_up_m1197831267(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_56); RectTransform_set_anchorMin_m989253483(L_56, L_57, /*hidden argument*/NULL); RectTransform_t3317474837 * L_58 = V_8; Vector2_t3525329788 L_59 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_58); RectTransform_set_anchorMax_m715345817(L_58, L_59, /*hidden argument*/NULL); RectTransform_t3317474837 * L_60 = V_8; Vector2_t3525329788 L_61; memset(&L_61, 0, sizeof(L_61)); Vector2__ctor_m1517109030(&L_61, (0.0f), (300.0f), /*hidden argument*/NULL); NullCheck(L_60); RectTransform_set_sizeDelta_m1223846609(L_60, L_61, /*hidden argument*/NULL); RectTransform_t3317474837 * L_62 = V_8; Vector2_t3525329788 L_63 = Vector2_get_up_m1197831267(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_62); RectTransform_set_pivot_m457344806(L_62, L_63, /*hidden argument*/NULL); GameObject_t4012695102 * L_64 = V_0; NullCheck(L_64); ScrollRect_t1048578170 * L_65 = GameObject_AddComponent_TisScrollRect_t1048578170_m3490629429(L_64, /*hidden argument*/GameObject_AddComponent_TisScrollRect_t1048578170_m3490629429_MethodInfo_var); V_9 = L_65; ScrollRect_t1048578170 * L_66 = V_9; RectTransform_t3317474837 * L_67 = V_8; NullCheck(L_66); ScrollRect_set_content_m234982541(L_66, L_67, /*hidden argument*/NULL); ScrollRect_t1048578170 * L_68 = V_9; RectTransform_t3317474837 * L_69 = V_7; NullCheck(L_68); ScrollRect_set_viewport_m1031184500(L_68, L_69, /*hidden argument*/NULL); ScrollRect_t1048578170 * L_70 = V_9; GameObject_t4012695102 * L_71 = V_3; NullCheck(L_71); Scrollbar_t1410649103 * L_72 = GameObject_GetComponent_TisScrollbar_t1410649103_m179289597(L_71, /*hidden argument*/GameObject_GetComponent_TisScrollbar_t1410649103_m179289597_MethodInfo_var); NullCheck(L_70); ScrollRect_set_horizontalScrollbar_m2130920826(L_70, L_72, /*hidden argument*/NULL); ScrollRect_t1048578170 * L_73 = V_9; GameObject_t4012695102 * L_74 = V_5; NullCheck(L_74); Scrollbar_t1410649103 * L_75 = GameObject_GetComponent_TisScrollbar_t1410649103_m179289597(L_74, /*hidden argument*/GameObject_GetComponent_TisScrollbar_t1410649103_m179289597_MethodInfo_var); NullCheck(L_73); ScrollRect_set_verticalScrollbar_m845729640(L_73, L_75, /*hidden argument*/NULL); ScrollRect_t1048578170 * L_76 = V_9; NullCheck(L_76); ScrollRect_set_horizontalScrollbarVisibility_m1831067046(L_76, 2, /*hidden argument*/NULL); ScrollRect_t1048578170 * L_77 = V_9; NullCheck(L_77); ScrollRect_set_verticalScrollbarVisibility_m4230518264(L_77, 2, /*hidden argument*/NULL); ScrollRect_t1048578170 * L_78 = V_9; NullCheck(L_78); ScrollRect_set_horizontalScrollbarSpacing_m1996166051(L_78, (-3.0f), /*hidden argument*/NULL); ScrollRect_t1048578170 * L_79 = V_9; NullCheck(L_79); ScrollRect_set_verticalScrollbarSpacing_m4137600145(L_79, (-3.0f), /*hidden argument*/NULL); GameObject_t4012695102 * L_80 = V_0; NullCheck(L_80); Image_t3354615620 * L_81 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_80, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_10 = L_81; Image_t3354615620 * L_82 = V_10; Sprite_t4006040370 * L_83 = (&___resources0)->get_background_1(); NullCheck(L_82); Image_set_sprite_m572551402(L_82, L_83, /*hidden argument*/NULL); Image_t3354615620 * L_84 = V_10; NullCheck(L_84); Image_set_type_m3406009990(L_84, 1, /*hidden argument*/NULL); Image_t3354615620 * L_85 = V_10; Color_t1588175760 L_86 = ((DefaultControls_t3717991936_StaticFields*)DefaultControls_t3717991936_il2cpp_TypeInfo_var->static_fields)->get_s_PanelColor_7(); NullCheck(L_85); Graphic_set_color_m1311501487(L_85, L_86, /*hidden argument*/NULL); GameObject_t4012695102 * L_87 = V_1; NullCheck(L_87); Mask_t3286245653 * L_88 = GameObject_AddComponent_TisMask_t3286245653_m1124636154(L_87, /*hidden argument*/GameObject_AddComponent_TisMask_t3286245653_m1124636154_MethodInfo_var); V_11 = L_88; Mask_t3286245653 * L_89 = V_11; NullCheck(L_89); Mask_set_showMaskGraphic_m218433430(L_89, (bool)0, /*hidden argument*/NULL); GameObject_t4012695102 * L_90 = V_1; NullCheck(L_90); Image_t3354615620 * L_91 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_90, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_12 = L_91; Image_t3354615620 * L_92 = V_12; Sprite_t4006040370 * L_93 = (&___resources0)->get_mask_6(); NullCheck(L_92); Image_set_sprite_m572551402(L_92, L_93, /*hidden argument*/NULL); Image_t3354615620 * L_94 = V_12; NullCheck(L_94); Image_set_type_m3406009990(L_94, 1, /*hidden argument*/NULL); GameObject_t4012695102 * L_95 = V_0; return L_95; } } // System.Void UnityEngine.UI.Dropdown::.ctor() extern Il2CppClass* OptionDataList_t2865341213_il2cpp_TypeInfo_var; extern Il2CppClass* DropdownEvent_t2203078889_il2cpp_TypeInfo_var; extern Il2CppClass* List_1_t2807805917_il2cpp_TypeInfo_var; extern Il2CppClass* Selectable_t3621744255_il2cpp_TypeInfo_var; extern const MethodInfo* List_1__ctor_m2301521133_MethodInfo_var; extern const uint32_t Dropdown__ctor_m3574287322_MetadataUsageId; extern "C" void Dropdown__ctor_m3574287322 (Dropdown_t2916437562 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown__ctor_m3574287322_MetadataUsageId); s_Il2CppMethodIntialized = true; } { OptionDataList_t2865341213 * L_0 = (OptionDataList_t2865341213 *)il2cpp_codegen_object_new(OptionDataList_t2865341213_il2cpp_TypeInfo_var); OptionDataList__ctor_m4183200960(L_0, /*hidden argument*/NULL); __this->set_m_Options_22(L_0); DropdownEvent_t2203078889 * L_1 = (DropdownEvent_t2203078889 *)il2cpp_codegen_object_new(DropdownEvent_t2203078889_il2cpp_TypeInfo_var); DropdownEvent__ctor_m3364351936(L_1, /*hidden argument*/NULL); __this->set_m_OnValueChanged_23(L_1); List_1_t2807805917 * L_2 = (List_1_t2807805917 *)il2cpp_codegen_object_new(List_1_t2807805917_il2cpp_TypeInfo_var); List_1__ctor_m2301521133(L_2, /*hidden argument*/List_1__ctor_m2301521133_MethodInfo_var); __this->set_m_Items_26(L_2); IL2CPP_RUNTIME_CLASS_INIT(Selectable_t3621744255_il2cpp_TypeInfo_var); Selectable__ctor_m1133588277(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown::.cctor() extern Il2CppClass* OptionData_t3366553055_il2cpp_TypeInfo_var; extern Il2CppClass* Dropdown_t2916437562_il2cpp_TypeInfo_var; extern const uint32_t Dropdown__cctor_m2946628371_MetadataUsageId; extern "C" void Dropdown__cctor_m2946628371 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown__cctor_m2946628371_MetadataUsageId); s_Il2CppMethodIntialized = true; } { OptionData_t3366553055 * L_0 = (OptionData_t3366553055 *)il2cpp_codegen_object_new(OptionData_t3366553055_il2cpp_TypeInfo_var); OptionData__ctor_m2550995262(L_0, /*hidden argument*/NULL); ((Dropdown_t2916437562_StaticFields*)Dropdown_t2916437562_il2cpp_TypeInfo_var->static_fields)->set_s_NoOptionData_29(L_0); return; } } // UnityEngine.RectTransform UnityEngine.UI.Dropdown::get_template() extern "C" RectTransform_t3317474837 * Dropdown_get_template_m3674548779 (Dropdown_t2916437562 * __this, const MethodInfo* method) { { RectTransform_t3317474837 * L_0 = __this->get_m_Template_16(); return L_0; } } // System.Void UnityEngine.UI.Dropdown::set_template(UnityEngine.RectTransform) extern "C" void Dropdown_set_template_m498709600 (Dropdown_t2916437562 * __this, RectTransform_t3317474837 * ___value0, const MethodInfo* method) { { RectTransform_t3317474837 * L_0 = ___value0; __this->set_m_Template_16(L_0); Dropdown_RefreshShownValue_m9458643(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.Text UnityEngine.UI.Dropdown::get_captionText() extern "C" Text_t3286458198 * Dropdown_get_captionText_m1044804357 (Dropdown_t2916437562 * __this, const MethodInfo* method) { { Text_t3286458198 * L_0 = __this->get_m_CaptionText_17(); return L_0; } } // System.Void UnityEngine.UI.Dropdown::set_captionText(UnityEngine.UI.Text) extern "C" void Dropdown_set_captionText_m4143100948 (Dropdown_t2916437562 * __this, Text_t3286458198 * ___value0, const MethodInfo* method) { { Text_t3286458198 * L_0 = ___value0; __this->set_m_CaptionText_17(L_0); Dropdown_RefreshShownValue_m9458643(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.Image UnityEngine.UI.Dropdown::get_captionImage() extern "C" Image_t3354615620 * Dropdown_get_captionImage_m3689507433 (Dropdown_t2916437562 * __this, const MethodInfo* method) { { Image_t3354615620 * L_0 = __this->get_m_CaptionImage_18(); return L_0; } } // System.Void UnityEngine.UI.Dropdown::set_captionImage(UnityEngine.UI.Image) extern "C" void Dropdown_set_captionImage_m3401548772 (Dropdown_t2916437562 * __this, Image_t3354615620 * ___value0, const MethodInfo* method) { { Image_t3354615620 * L_0 = ___value0; __this->set_m_CaptionImage_18(L_0); Dropdown_RefreshShownValue_m9458643(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.Text UnityEngine.UI.Dropdown::get_itemText() extern "C" Text_t3286458198 * Dropdown_get_itemText_m2015261424 (Dropdown_t2916437562 * __this, const MethodInfo* method) { { Text_t3286458198 * L_0 = __this->get_m_ItemText_19(); return L_0; } } // System.Void UnityEngine.UI.Dropdown::set_itemText(UnityEngine.UI.Text) extern "C" void Dropdown_set_itemText_m3975071291 (Dropdown_t2916437562 * __this, Text_t3286458198 * ___value0, const MethodInfo* method) { { Text_t3286458198 * L_0 = ___value0; __this->set_m_ItemText_19(L_0); Dropdown_RefreshShownValue_m9458643(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.Image UnityEngine.UI.Dropdown::get_itemImage() extern "C" Image_t3354615620 * Dropdown_get_itemImage_m2263268950 (Dropdown_t2916437562 * __this, const MethodInfo* method) { { Image_t3354615620 * L_0 = __this->get_m_ItemImage_20(); return L_0; } } // System.Void UnityEngine.UI.Dropdown::set_itemImage(UnityEngine.UI.Image) extern "C" void Dropdown_set_itemImage_m838838347 (Dropdown_t2916437562 * __this, Image_t3354615620 * ___value0, const MethodInfo* method) { { Image_t3354615620 * L_0 = ___value0; __this->set_m_ItemImage_20(L_0); Dropdown_RefreshShownValue_m9458643(__this, /*hidden argument*/NULL); return; } } // System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData> UnityEngine.UI.Dropdown::get_options() extern "C" List_1_t4163512024 * Dropdown_get_options_m399918042 (Dropdown_t2916437562 * __this, const MethodInfo* method) { { OptionDataList_t2865341213 * L_0 = __this->get_m_Options_22(); NullCheck(L_0); List_1_t4163512024 * L_1 = OptionDataList_get_options_m397502342(L_0, /*hidden argument*/NULL); return L_1; } } // System.Void UnityEngine.UI.Dropdown::set_options(System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>) extern "C" void Dropdown_set_options_m4132251955 (Dropdown_t2916437562 * __this, List_1_t4163512024 * ___value0, const MethodInfo* method) { { OptionDataList_t2865341213 * L_0 = __this->get_m_Options_22(); List_1_t4163512024 * L_1 = ___value0; NullCheck(L_0); OptionDataList_set_options_m2193073293(L_0, L_1, /*hidden argument*/NULL); Dropdown_RefreshShownValue_m9458643(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.Dropdown/DropdownEvent UnityEngine.UI.Dropdown::get_onValueChanged() extern "C" DropdownEvent_t2203078889 * Dropdown_get_onValueChanged_m2646663760 (Dropdown_t2916437562 * __this, const MethodInfo* method) { { DropdownEvent_t2203078889 * L_0 = __this->get_m_OnValueChanged_23(); return L_0; } } // System.Void UnityEngine.UI.Dropdown::set_onValueChanged(UnityEngine.UI.Dropdown/DropdownEvent) extern "C" void Dropdown_set_onValueChanged_m2821991323 (Dropdown_t2916437562 * __this, DropdownEvent_t2203078889 * ___value0, const MethodInfo* method) { { DropdownEvent_t2203078889 * L_0 = ___value0; __this->set_m_OnValueChanged_23(L_0); return; } } // System.Int32 UnityEngine.UI.Dropdown::get_value() extern "C" int32_t Dropdown_get_value_m3628689352 (Dropdown_t2916437562 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_Value_21(); return L_0; } } // System.Void UnityEngine.UI.Dropdown::set_value(System.Int32) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const MethodInfo* UnityEvent_1_Invoke_m1822489606_MethodInfo_var; extern const uint32_t Dropdown_set_value_m2635023165_MetadataUsageId; extern "C" void Dropdown_set_value_m2635023165 (Dropdown_t2916437562 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_set_value_m2635023165_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = Application_get_isPlaying_m987993960(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_0) { goto IL_0027; } } { int32_t L_1 = ___value0; int32_t L_2 = __this->get_m_Value_21(); if ((((int32_t)L_1) == ((int32_t)L_2))) { goto IL_0026; } } { List_1_t4163512024 * L_3 = Dropdown_get_options_m399918042(__this, /*hidden argument*/NULL); NullCheck(L_3); int32_t L_4 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::get_Count() */, L_3); if (L_4) { goto IL_0027; } } IL_0026: { return; } IL_0027: { int32_t L_5 = ___value0; List_1_t4163512024 * L_6 = Dropdown_get_options_m399918042(__this, /*hidden argument*/NULL); NullCheck(L_6); int32_t L_7 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::get_Count() */, L_6); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_8 = Mathf_Clamp_m510460741(NULL /*static, unused*/, L_5, 0, ((int32_t)((int32_t)L_7-(int32_t)1)), /*hidden argument*/NULL); __this->set_m_Value_21(L_8); Dropdown_RefreshShownValue_m9458643(__this, /*hidden argument*/NULL); DropdownEvent_t2203078889 * L_9 = __this->get_m_OnValueChanged_23(); int32_t L_10 = __this->get_m_Value_21(); NullCheck(L_9); UnityEvent_1_Invoke_m1822489606(L_9, L_10, /*hidden argument*/UnityEvent_1_Invoke_m1822489606_MethodInfo_var); return; } } // System.Void UnityEngine.UI.Dropdown::Awake() extern Il2CppClass* TweenRunner_1_t3422778292_il2cpp_TypeInfo_var; extern const MethodInfo* TweenRunner_1__ctor_m2994637951_MethodInfo_var; extern const MethodInfo* TweenRunner_1_Init_m2355829498_MethodInfo_var; extern const uint32_t Dropdown_Awake_m3811892541_MetadataUsageId; extern "C" void Dropdown_Awake_m3811892541 (Dropdown_t2916437562 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_Awake_m3811892541_MetadataUsageId); s_Il2CppMethodIntialized = true; } { TweenRunner_1_t3422778292 * L_0 = (TweenRunner_1_t3422778292 *)il2cpp_codegen_object_new(TweenRunner_1_t3422778292_il2cpp_TypeInfo_var); TweenRunner_1__ctor_m2994637951(L_0, /*hidden argument*/TweenRunner_1__ctor_m2994637951_MethodInfo_var); __this->set_m_AlphaTweenRunner_27(L_0); TweenRunner_1_t3422778292 * L_1 = __this->get_m_AlphaTweenRunner_27(); NullCheck(L_1); TweenRunner_1_Init_m2355829498(L_1, __this, /*hidden argument*/TweenRunner_1_Init_m2355829498_MethodInfo_var); Image_t3354615620 * L_2 = __this->get_m_CaptionImage_18(); bool L_3 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); if (!L_3) { goto IL_0043; } } { Image_t3354615620 * L_4 = __this->get_m_CaptionImage_18(); Image_t3354615620 * L_5 = __this->get_m_CaptionImage_18(); NullCheck(L_5); Sprite_t4006040370 * L_6 = Image_get_sprite_m3572636301(L_5, /*hidden argument*/NULL); bool L_7 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_6, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); NullCheck(L_4); Behaviour_set_enabled_m2046806933(L_4, L_7, /*hidden argument*/NULL); } IL_0043: { RectTransform_t3317474837 * L_8 = __this->get_m_Template_16(); bool L_9 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); if (!L_9) { goto IL_0064; } } { RectTransform_t3317474837 * L_10 = __this->get_m_Template_16(); NullCheck(L_10); GameObject_t4012695102 * L_11 = Component_get_gameObject_m1170635899(L_10, /*hidden argument*/NULL); NullCheck(L_11); GameObject_SetActive_m3538205401(L_11, (bool)0, /*hidden argument*/NULL); } IL_0064: { return; } } // System.Void UnityEngine.UI.Dropdown::RefreshShownValue() extern Il2CppClass* Dropdown_t2916437562_il2cpp_TypeInfo_var; extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const uint32_t Dropdown_RefreshShownValue_m9458643_MetadataUsageId; extern "C" void Dropdown_RefreshShownValue_m9458643 (Dropdown_t2916437562 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_RefreshShownValue_m9458643_MetadataUsageId); s_Il2CppMethodIntialized = true; } OptionData_t3366553055 * V_0 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(Dropdown_t2916437562_il2cpp_TypeInfo_var); OptionData_t3366553055 * L_0 = ((Dropdown_t2916437562_StaticFields*)Dropdown_t2916437562_il2cpp_TypeInfo_var->static_fields)->get_s_NoOptionData_29(); V_0 = L_0; List_1_t4163512024 * L_1 = Dropdown_get_options_m399918042(__this, /*hidden argument*/NULL); NullCheck(L_1); int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::get_Count() */, L_1); if ((((int32_t)L_2) <= ((int32_t)0))) { goto IL_003c; } } { List_1_t4163512024 * L_3 = Dropdown_get_options_m399918042(__this, /*hidden argument*/NULL); int32_t L_4 = __this->get_m_Value_21(); List_1_t4163512024 * L_5 = Dropdown_get_options_m399918042(__this, /*hidden argument*/NULL); NullCheck(L_5); int32_t L_6 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::get_Count() */, L_5); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_7 = Mathf_Clamp_m510460741(NULL /*static, unused*/, L_4, 0, ((int32_t)((int32_t)L_6-(int32_t)1)), /*hidden argument*/NULL); NullCheck(L_3); OptionData_t3366553055 * L_8 = VirtFuncInvoker1< OptionData_t3366553055 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::get_Item(System.Int32) */, L_3, L_7); V_0 = L_8; } IL_003c: { Text_t3286458198 * L_9 = __this->get_m_CaptionText_17(); bool L_10 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); if (!L_10) { goto IL_0083; } } { OptionData_t3366553055 * L_11 = V_0; if (!L_11) { goto IL_0073; } } { OptionData_t3366553055 * L_12 = V_0; NullCheck(L_12); String_t* L_13 = OptionData_get_text_m2592726207(L_12, /*hidden argument*/NULL); if (!L_13) { goto IL_0073; } } { Text_t3286458198 * L_14 = __this->get_m_CaptionText_17(); OptionData_t3366553055 * L_15 = V_0; NullCheck(L_15); String_t* L_16 = OptionData_get_text_m2592726207(L_15, /*hidden argument*/NULL); NullCheck(L_14); VirtActionInvoker1< String_t* >::Invoke(65 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_14, L_16); goto IL_0083; } IL_0073: { Text_t3286458198 * L_17 = __this->get_m_CaptionText_17(); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_18 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); NullCheck(L_17); VirtActionInvoker1< String_t* >::Invoke(65 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_17, L_18); } IL_0083: { Image_t3354615620 * L_19 = __this->get_m_CaptionImage_18(); bool L_20 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_19, /*hidden argument*/NULL); if (!L_20) { goto IL_00d7; } } { OptionData_t3366553055 * L_21 = V_0; if (!L_21) { goto IL_00af; } } { Image_t3354615620 * L_22 = __this->get_m_CaptionImage_18(); OptionData_t3366553055 * L_23 = V_0; NullCheck(L_23); Sprite_t4006040370 * L_24 = OptionData_get_image_m1245765107(L_23, /*hidden argument*/NULL); NullCheck(L_22); Image_set_sprite_m572551402(L_22, L_24, /*hidden argument*/NULL); goto IL_00bb; } IL_00af: { Image_t3354615620 * L_25 = __this->get_m_CaptionImage_18(); NullCheck(L_25); Image_set_sprite_m572551402(L_25, (Sprite_t4006040370 *)NULL, /*hidden argument*/NULL); } IL_00bb: { Image_t3354615620 * L_26 = __this->get_m_CaptionImage_18(); Image_t3354615620 * L_27 = __this->get_m_CaptionImage_18(); NullCheck(L_27); Sprite_t4006040370 * L_28 = Image_get_sprite_m3572636301(L_27, /*hidden argument*/NULL); bool L_29 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_28, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); NullCheck(L_26); Behaviour_set_enabled_m2046806933(L_26, L_29, /*hidden argument*/NULL); } IL_00d7: { return; } } // System.Void UnityEngine.UI.Dropdown::AddOptions(System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>) extern const MethodInfo* List_1_AddRange_m3008649298_MethodInfo_var; extern const uint32_t Dropdown_AddOptions_m1960749669_MetadataUsageId; extern "C" void Dropdown_AddOptions_m1960749669 (Dropdown_t2916437562 * __this, List_1_t4163512024 * ___options0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_AddOptions_m1960749669_MetadataUsageId); s_Il2CppMethodIntialized = true; } { List_1_t4163512024 * L_0 = Dropdown_get_options_m399918042(__this, /*hidden argument*/NULL); List_1_t4163512024 * L_1 = ___options0; NullCheck(L_0); List_1_AddRange_m3008649298(L_0, L_1, /*hidden argument*/List_1_AddRange_m3008649298_MethodInfo_var); Dropdown_RefreshShownValue_m9458643(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown::AddOptions(System.Collections.Generic.List`1<System.String>) extern Il2CppClass* OptionData_t3366553055_il2cpp_TypeInfo_var; extern const uint32_t Dropdown_AddOptions_m4199474459_MetadataUsageId; extern "C" void Dropdown_AddOptions_m4199474459 (Dropdown_t2916437562 * __this, List_1_t1765447871 * ___options0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_AddOptions_m4199474459_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; { V_0 = 0; goto IL_0022; } IL_0007: { List_1_t4163512024 * L_0 = Dropdown_get_options_m399918042(__this, /*hidden argument*/NULL); List_1_t1765447871 * L_1 = ___options0; int32_t L_2 = V_0; NullCheck(L_1); String_t* L_3 = VirtFuncInvoker1< String_t*, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<System.String>::get_Item(System.Int32) */, L_1, L_2); OptionData_t3366553055 * L_4 = (OptionData_t3366553055 *)il2cpp_codegen_object_new(OptionData_t3366553055_il2cpp_TypeInfo_var); OptionData__ctor_m3621517956(L_4, L_3, /*hidden argument*/NULL); NullCheck(L_0); VirtActionInvoker1< OptionData_t3366553055 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::Add(!0) */, L_0, L_4); int32_t L_5 = V_0; V_0 = ((int32_t)((int32_t)L_5+(int32_t)1)); } IL_0022: { int32_t L_6 = V_0; List_1_t1765447871 * L_7 = ___options0; NullCheck(L_7); int32_t L_8 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<System.String>::get_Count() */, L_7); if ((((int32_t)L_6) < ((int32_t)L_8))) { goto IL_0007; } } { Dropdown_RefreshShownValue_m9458643(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown::AddOptions(System.Collections.Generic.List`1<UnityEngine.Sprite>) extern Il2CppClass* OptionData_t3366553055_il2cpp_TypeInfo_var; extern const uint32_t Dropdown_AddOptions_m1674488487_MetadataUsageId; extern "C" void Dropdown_AddOptions_m1674488487 (Dropdown_t2916437562 * __this, List_1_t508032043 * ___options0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_AddOptions_m1674488487_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; { V_0 = 0; goto IL_0022; } IL_0007: { List_1_t4163512024 * L_0 = Dropdown_get_options_m399918042(__this, /*hidden argument*/NULL); List_1_t508032043 * L_1 = ___options0; int32_t L_2 = V_0; NullCheck(L_1); Sprite_t4006040370 * L_3 = VirtFuncInvoker1< Sprite_t4006040370 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Sprite>::get_Item(System.Int32) */, L_1, L_2); OptionData_t3366553055 * L_4 = (OptionData_t3366553055 *)il2cpp_codegen_object_new(OptionData_t3366553055_il2cpp_TypeInfo_var); OptionData__ctor_m715763394(L_4, L_3, /*hidden argument*/NULL); NullCheck(L_0); VirtActionInvoker1< OptionData_t3366553055 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::Add(!0) */, L_0, L_4); int32_t L_5 = V_0; V_0 = ((int32_t)((int32_t)L_5+(int32_t)1)); } IL_0022: { int32_t L_6 = V_0; List_1_t508032043 * L_7 = ___options0; NullCheck(L_7); int32_t L_8 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Sprite>::get_Count() */, L_7); if ((((int32_t)L_6) < ((int32_t)L_8))) { goto IL_0007; } } { Dropdown_RefreshShownValue_m9458643(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown::ClearOptions() extern "C" void Dropdown_ClearOptions_m1343016059 (Dropdown_t2916437562 * __this, const MethodInfo* method) { { List_1_t4163512024 * L_0 = Dropdown_get_options_m399918042(__this, /*hidden argument*/NULL); NullCheck(L_0); VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::Clear() */, L_0); Dropdown_RefreshShownValue_m9458643(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown::SetupTemplate() extern Il2CppClass* Debug_t1588791936_il2cpp_TypeInfo_var; extern Il2CppClass* RectTransform_t3317474837_il2cpp_TypeInfo_var; extern Il2CppClass* Dropdown_t2916437562_il2cpp_TypeInfo_var; extern const MethodInfo* Component_GetComponentInChildren_TisToggle_t1499417981_m612160161_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisDropdownItem_t2010846948_m1733990038_MethodInfo_var; extern const MethodInfo* Dropdown_GetOrAddComponent_TisCanvas_t3534013893_m773939227_MethodInfo_var; extern const MethodInfo* Dropdown_GetOrAddComponent_TisGraphicRaycaster_t2033008887_m2789205203_MethodInfo_var; extern const MethodInfo* Dropdown_GetOrAddComponent_TisCanvasGroup_t1295922228_m3602714836_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral3521277517; extern Il2CppCodeGenString* _stringLiteral3568877837; extern Il2CppCodeGenString* _stringLiteral3705087523; extern Il2CppCodeGenString* _stringLiteral3567434948; extern Il2CppCodeGenString* _stringLiteral3711682040; extern const uint32_t Dropdown_SetupTemplate_m2277850703_MetadataUsageId; extern "C" void Dropdown_SetupTemplate_m2277850703 (Dropdown_t2916437562 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_SetupTemplate_m2277850703_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; Toggle_t1499417981 * V_1 = NULL; DropdownItem_t2010846948 * V_2 = NULL; Canvas_t3534013893 * V_3 = NULL; { __this->set_validTemplate_28((bool)0); RectTransform_t3317474837 * L_0 = __this->get_m_Template_16(); bool L_1 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); if (L_1) { goto IL_0023; } } { IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogError_m214246398(NULL /*static, unused*/, _stringLiteral3521277517, __this, /*hidden argument*/NULL); return; } IL_0023: { RectTransform_t3317474837 * L_2 = __this->get_m_Template_16(); NullCheck(L_2); GameObject_t4012695102 * L_3 = Component_get_gameObject_m1170635899(L_2, /*hidden argument*/NULL); V_0 = L_3; GameObject_t4012695102 * L_4 = V_0; NullCheck(L_4); GameObject_SetActive_m3538205401(L_4, (bool)1, /*hidden argument*/NULL); RectTransform_t3317474837 * L_5 = __this->get_m_Template_16(); NullCheck(L_5); Toggle_t1499417981 * L_6 = Component_GetComponentInChildren_TisToggle_t1499417981_m612160161(L_5, /*hidden argument*/Component_GetComponentInChildren_TisToggle_t1499417981_m612160161_MethodInfo_var); V_1 = L_6; __this->set_validTemplate_28((bool)1); Toggle_t1499417981 * L_7 = V_1; bool L_8 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_7, /*hidden argument*/NULL); if (!L_8) { goto IL_006a; } } { Toggle_t1499417981 * L_9 = V_1; NullCheck(L_9); Transform_t284553113 * L_10 = Component_get_transform_m4257140443(L_9, /*hidden argument*/NULL); RectTransform_t3317474837 * L_11 = Dropdown_get_template_m3674548779(__this, /*hidden argument*/NULL); bool L_12 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_10, L_11, /*hidden argument*/NULL); if (!L_12) { goto IL_0086; } } IL_006a: { __this->set_validTemplate_28((bool)0); RectTransform_t3317474837 * L_13 = Dropdown_get_template_m3674548779(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogError_m214246398(NULL /*static, unused*/, _stringLiteral3568877837, L_13, /*hidden argument*/NULL); goto IL_0142; } IL_0086: { Toggle_t1499417981 * L_14 = V_1; NullCheck(L_14); Transform_t284553113 * L_15 = Component_get_transform_m4257140443(L_14, /*hidden argument*/NULL); NullCheck(L_15); Transform_t284553113 * L_16 = Transform_get_parent_m2236876972(L_15, /*hidden argument*/NULL); if (((RectTransform_t3317474837 *)IsInstSealed(L_16, RectTransform_t3317474837_il2cpp_TypeInfo_var))) { goto IL_00b7; } } { __this->set_validTemplate_28((bool)0); RectTransform_t3317474837 * L_17 = Dropdown_get_template_m3674548779(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogError_m214246398(NULL /*static, unused*/, _stringLiteral3705087523, L_17, /*hidden argument*/NULL); goto IL_0142; } IL_00b7: { Text_t3286458198 * L_18 = Dropdown_get_itemText_m2015261424(__this, /*hidden argument*/NULL); bool L_19 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_18, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_19) { goto IL_00ff; } } { Text_t3286458198 * L_20 = Dropdown_get_itemText_m2015261424(__this, /*hidden argument*/NULL); NullCheck(L_20); Transform_t284553113 * L_21 = Component_get_transform_m4257140443(L_20, /*hidden argument*/NULL); Toggle_t1499417981 * L_22 = V_1; NullCheck(L_22); Transform_t284553113 * L_23 = Component_get_transform_m4257140443(L_22, /*hidden argument*/NULL); NullCheck(L_21); bool L_24 = Transform_IsChildOf_m3321648579(L_21, L_23, /*hidden argument*/NULL); if (L_24) { goto IL_00ff; } } { __this->set_validTemplate_28((bool)0); RectTransform_t3317474837 * L_25 = Dropdown_get_template_m3674548779(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogError_m214246398(NULL /*static, unused*/, _stringLiteral3567434948, L_25, /*hidden argument*/NULL); goto IL_0142; } IL_00ff: { Image_t3354615620 * L_26 = Dropdown_get_itemImage_m2263268950(__this, /*hidden argument*/NULL); bool L_27 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_26, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_27) { goto IL_0142; } } { Image_t3354615620 * L_28 = Dropdown_get_itemImage_m2263268950(__this, /*hidden argument*/NULL); NullCheck(L_28); Transform_t284553113 * L_29 = Component_get_transform_m4257140443(L_28, /*hidden argument*/NULL); Toggle_t1499417981 * L_30 = V_1; NullCheck(L_30); Transform_t284553113 * L_31 = Component_get_transform_m4257140443(L_30, /*hidden argument*/NULL); NullCheck(L_29); bool L_32 = Transform_IsChildOf_m3321648579(L_29, L_31, /*hidden argument*/NULL); if (L_32) { goto IL_0142; } } { __this->set_validTemplate_28((bool)0); RectTransform_t3317474837 * L_33 = Dropdown_get_template_m3674548779(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogError_m214246398(NULL /*static, unused*/, _stringLiteral3711682040, L_33, /*hidden argument*/NULL); } IL_0142: { bool L_34 = __this->get_validTemplate_28(); if (L_34) { goto IL_0155; } } { GameObject_t4012695102 * L_35 = V_0; NullCheck(L_35); GameObject_SetActive_m3538205401(L_35, (bool)0, /*hidden argument*/NULL); return; } IL_0155: { Toggle_t1499417981 * L_36 = V_1; NullCheck(L_36); GameObject_t4012695102 * L_37 = Component_get_gameObject_m1170635899(L_36, /*hidden argument*/NULL); NullCheck(L_37); DropdownItem_t2010846948 * L_38 = GameObject_AddComponent_TisDropdownItem_t2010846948_m1733990038(L_37, /*hidden argument*/GameObject_AddComponent_TisDropdownItem_t2010846948_m1733990038_MethodInfo_var); V_2 = L_38; DropdownItem_t2010846948 * L_39 = V_2; Text_t3286458198 * L_40 = __this->get_m_ItemText_19(); NullCheck(L_39); DropdownItem_set_text_m2302793037(L_39, L_40, /*hidden argument*/NULL); DropdownItem_t2010846948 * L_41 = V_2; Image_t3354615620 * L_42 = __this->get_m_ItemImage_20(); NullCheck(L_41); DropdownItem_set_image_m97204957(L_41, L_42, /*hidden argument*/NULL); DropdownItem_t2010846948 * L_43 = V_2; Toggle_t1499417981 * L_44 = V_1; NullCheck(L_43); DropdownItem_set_toggle_m4246626175(L_43, L_44, /*hidden argument*/NULL); DropdownItem_t2010846948 * L_45 = V_2; Toggle_t1499417981 * L_46 = V_1; NullCheck(L_46); Transform_t284553113 * L_47 = Component_get_transform_m4257140443(L_46, /*hidden argument*/NULL); NullCheck(L_45); DropdownItem_set_rectTransform_m2348579039(L_45, ((RectTransform_t3317474837 *)CastclassSealed(L_47, RectTransform_t3317474837_il2cpp_TypeInfo_var)), /*hidden argument*/NULL); GameObject_t4012695102 * L_48 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Dropdown_t2916437562_il2cpp_TypeInfo_var); Canvas_t3534013893 * L_49 = Dropdown_GetOrAddComponent_TisCanvas_t3534013893_m773939227(NULL /*static, unused*/, L_48, /*hidden argument*/Dropdown_GetOrAddComponent_TisCanvas_t3534013893_m773939227_MethodInfo_var); V_3 = L_49; Canvas_t3534013893 * L_50 = V_3; NullCheck(L_50); Canvas_set_overrideSorting_m1850487749(L_50, (bool)1, /*hidden argument*/NULL); Canvas_t3534013893 * L_51 = V_3; NullCheck(L_51); Canvas_set_sortingOrder_m1522807655(L_51, ((int32_t)30000), /*hidden argument*/NULL); GameObject_t4012695102 * L_52 = V_0; Dropdown_GetOrAddComponent_TisGraphicRaycaster_t2033008887_m2789205203(NULL /*static, unused*/, L_52, /*hidden argument*/Dropdown_GetOrAddComponent_TisGraphicRaycaster_t2033008887_m2789205203_MethodInfo_var); GameObject_t4012695102 * L_53 = V_0; Dropdown_GetOrAddComponent_TisCanvasGroup_t1295922228_m3602714836(NULL /*static, unused*/, L_53, /*hidden argument*/Dropdown_GetOrAddComponent_TisCanvasGroup_t1295922228_m3602714836_MethodInfo_var); GameObject_t4012695102 * L_54 = V_0; NullCheck(L_54); GameObject_SetActive_m3538205401(L_54, (bool)0, /*hidden argument*/NULL); __this->set_validTemplate_28((bool)1); return; } } // System.Void UnityEngine.UI.Dropdown::OnPointerClick(UnityEngine.EventSystems.PointerEventData) extern "C" void Dropdown_OnPointerClick_m3417107146 (Dropdown_t2916437562 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { Dropdown_Show_m2564525543(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown::OnSubmit(UnityEngine.EventSystems.BaseEventData) extern "C" void Dropdown_OnSubmit_m3218526299 (Dropdown_t2916437562 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { { Dropdown_Show_m2564525543(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown::OnCancel(UnityEngine.EventSystems.BaseEventData) extern "C" void Dropdown_OnCancel_m3216979133 (Dropdown_t2916437562 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { { Dropdown_Hide_m2250183404(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown::Show() extern Il2CppClass* ListPool_1_t3148029054_il2cpp_TypeInfo_var; extern Il2CppClass* RectTransform_t3317474837_il2cpp_TypeInfo_var; extern Il2CppClass* U3CShowU3Ec__AnonStorey6_t3327131860_il2cpp_TypeInfo_var; extern Il2CppClass* UnityAction_1_t191467246_il2cpp_TypeInfo_var; extern Il2CppClass* Vector3U5BU5D_t3227571696_il2cpp_TypeInfo_var; extern Il2CppClass* RectTransformUtility_t2895919825_il2cpp_TypeInfo_var; extern const MethodInfo* ListPool_1_Get_m3707028656_MethodInfo_var; extern const MethodInfo* GameObject_GetComponentsInParent_TisCanvas_t3534013893_m3002356423_MethodInfo_var; extern const MethodInfo* ListPool_1_Release_m3200393738_MethodInfo_var; extern const MethodInfo* GameObject_GetComponentInChildren_TisDropdownItem_t2010846948_m678737573_MethodInfo_var; extern const MethodInfo* U3CShowU3Ec__AnonStorey6_U3CU3Em__2_m811212697_MethodInfo_var; extern const MethodInfo* UnityAction_1__ctor_m1354516801_MethodInfo_var; extern const MethodInfo* UnityEvent_1_AddListener_m4118700355_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral2167661389; extern const uint32_t Dropdown_Show_m2564525543_MetadataUsageId; extern "C" void Dropdown_Show_m2564525543 (Dropdown_t2916437562 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_Show_m2564525543_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t36005566 * V_0 = NULL; Canvas_t3534013893 * V_1 = NULL; RectTransform_t3317474837 * V_2 = NULL; DropdownItem_t2010846948 * V_3 = NULL; GameObject_t4012695102 * V_4 = NULL; RectTransform_t3317474837 * V_5 = NULL; Rect_t1525428817 V_6; memset(&V_6, 0, sizeof(V_6)); Rect_t1525428817 V_7; memset(&V_7, 0, sizeof(V_7)); Vector2_t3525329788 V_8; memset(&V_8, 0, sizeof(V_8)); Vector2_t3525329788 V_9; memset(&V_9, 0, sizeof(V_9)); Vector2_t3525329788 V_10; memset(&V_10, 0, sizeof(V_10)); Toggle_t1499417981 * V_11 = NULL; int32_t V_12 = 0; OptionData_t3366553055 * V_13 = NULL; Navigation_t2845019197 V_14; memset(&V_14, 0, sizeof(V_14)); Navigation_t2845019197 V_15; memset(&V_15, 0, sizeof(V_15)); Vector2_t3525329788 V_16; memset(&V_16, 0, sizeof(V_16)); float V_17 = 0.0f; Vector3U5BU5D_t3227571696* V_18 = NULL; RectTransform_t3317474837 * V_19 = NULL; Rect_t1525428817 V_20; memset(&V_20, 0, sizeof(V_20)); int32_t V_21 = 0; bool V_22 = false; int32_t V_23 = 0; Vector3_t3525329789 V_24; memset(&V_24, 0, sizeof(V_24)); int32_t V_25 = 0; RectTransform_t3317474837 * V_26 = NULL; U3CShowU3Ec__AnonStorey6_t3327131860 * V_27 = NULL; Rect_t1525428817 V_28; memset(&V_28, 0, sizeof(V_28)); Rect_t1525428817 V_29; memset(&V_29, 0, sizeof(V_29)); Vector2_t3525329788 V_30; memset(&V_30, 0, sizeof(V_30)); Vector2_t3525329788 V_31; memset(&V_31, 0, sizeof(V_31)); Vector2_t3525329788 V_32; memset(&V_32, 0, sizeof(V_32)); Vector2_t3525329788 V_33; memset(&V_33, 0, sizeof(V_33)); Vector2_t3525329788 V_34; memset(&V_34, 0, sizeof(V_34)); Vector2_t3525329788 V_35; memset(&V_35, 0, sizeof(V_35)); Vector2_t3525329788 V_36; memset(&V_36, 0, sizeof(V_36)); Vector2_t3525329788 V_37; memset(&V_37, 0, sizeof(V_37)); Vector2_t3525329788 V_38; memset(&V_38, 0, sizeof(V_38)); { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (!L_0) { goto IL_0027; } } { bool L_1 = VirtFuncInvoker0< bool >::Invoke(23 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this); if (!L_1) { goto IL_0027; } } { GameObject_t4012695102 * L_2 = __this->get_m_Dropdown_24(); bool L_3 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_2, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_3) { goto IL_0028; } } IL_0027: { return; } IL_0028: { bool L_4 = __this->get_validTemplate_28(); if (L_4) { goto IL_0045; } } { Dropdown_SetupTemplate_m2277850703(__this, /*hidden argument*/NULL); bool L_5 = __this->get_validTemplate_28(); if (L_5) { goto IL_0045; } } { return; } IL_0045: { IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t3148029054_il2cpp_TypeInfo_var); List_1_t36005566 * L_6 = ListPool_1_Get_m3707028656(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3707028656_MethodInfo_var); V_0 = L_6; GameObject_t4012695102 * L_7 = Component_get_gameObject_m1170635899(__this, /*hidden argument*/NULL); List_1_t36005566 * L_8 = V_0; NullCheck(L_7); GameObject_GetComponentsInParent_TisCanvas_t3534013893_m3002356423(L_7, (bool)0, L_8, /*hidden argument*/GameObject_GetComponentsInParent_TisCanvas_t3534013893_m3002356423_MethodInfo_var); List_1_t36005566 * L_9 = V_0; NullCheck(L_9); int32_t L_10 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Canvas>::get_Count() */, L_9); if (L_10) { goto IL_0064; } } { return; } IL_0064: { List_1_t36005566 * L_11 = V_0; NullCheck(L_11); Canvas_t3534013893 * L_12 = VirtFuncInvoker1< Canvas_t3534013893 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Canvas>::get_Item(System.Int32) */, L_11, 0); V_1 = L_12; List_1_t36005566 * L_13 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t3148029054_il2cpp_TypeInfo_var); ListPool_1_Release_m3200393738(NULL /*static, unused*/, L_13, /*hidden argument*/ListPool_1_Release_m3200393738_MethodInfo_var); RectTransform_t3317474837 * L_14 = __this->get_m_Template_16(); NullCheck(L_14); GameObject_t4012695102 * L_15 = Component_get_gameObject_m1170635899(L_14, /*hidden argument*/NULL); NullCheck(L_15); GameObject_SetActive_m3538205401(L_15, (bool)1, /*hidden argument*/NULL); RectTransform_t3317474837 * L_16 = __this->get_m_Template_16(); NullCheck(L_16); GameObject_t4012695102 * L_17 = Component_get_gameObject_m1170635899(L_16, /*hidden argument*/NULL); GameObject_t4012695102 * L_18 = VirtFuncInvoker1< GameObject_t4012695102 *, GameObject_t4012695102 * >::Invoke(46 /* UnityEngine.GameObject UnityEngine.UI.Dropdown::CreateDropdownList(UnityEngine.GameObject) */, __this, L_17); __this->set_m_Dropdown_24(L_18); GameObject_t4012695102 * L_19 = __this->get_m_Dropdown_24(); NullCheck(L_19); Object_set_name_m1123518500(L_19, _stringLiteral2167661389, /*hidden argument*/NULL); GameObject_t4012695102 * L_20 = __this->get_m_Dropdown_24(); NullCheck(L_20); GameObject_SetActive_m3538205401(L_20, (bool)1, /*hidden argument*/NULL); GameObject_t4012695102 * L_21 = __this->get_m_Dropdown_24(); NullCheck(L_21); Transform_t284553113 * L_22 = GameObject_get_transform_m1278640159(L_21, /*hidden argument*/NULL); V_2 = ((RectTransform_t3317474837 *)IsInstSealed(L_22, RectTransform_t3317474837_il2cpp_TypeInfo_var)); RectTransform_t3317474837 * L_23 = V_2; RectTransform_t3317474837 * L_24 = __this->get_m_Template_16(); NullCheck(L_24); Transform_t284553113 * L_25 = Component_get_transform_m4257140443(L_24, /*hidden argument*/NULL); NullCheck(L_25); Transform_t284553113 * L_26 = Transform_get_parent_m2236876972(L_25, /*hidden argument*/NULL); NullCheck(L_23); Transform_SetParent_m263985879(L_23, L_26, (bool)0, /*hidden argument*/NULL); GameObject_t4012695102 * L_27 = __this->get_m_Dropdown_24(); NullCheck(L_27); DropdownItem_t2010846948 * L_28 = GameObject_GetComponentInChildren_TisDropdownItem_t2010846948_m678737573(L_27, /*hidden argument*/GameObject_GetComponentInChildren_TisDropdownItem_t2010846948_m678737573_MethodInfo_var); V_3 = L_28; DropdownItem_t2010846948 * L_29 = V_3; NullCheck(L_29); RectTransform_t3317474837 * L_30 = DropdownItem_get_rectTransform_m1644273588(L_29, /*hidden argument*/NULL); NullCheck(L_30); Transform_t284553113 * L_31 = Transform_get_parent_m2236876972(L_30, /*hidden argument*/NULL); NullCheck(L_31); GameObject_t4012695102 * L_32 = Component_get_gameObject_m1170635899(L_31, /*hidden argument*/NULL); V_4 = L_32; GameObject_t4012695102 * L_33 = V_4; NullCheck(L_33); Transform_t284553113 * L_34 = GameObject_get_transform_m1278640159(L_33, /*hidden argument*/NULL); V_5 = ((RectTransform_t3317474837 *)IsInstSealed(L_34, RectTransform_t3317474837_il2cpp_TypeInfo_var)); DropdownItem_t2010846948 * L_35 = V_3; NullCheck(L_35); RectTransform_t3317474837 * L_36 = DropdownItem_get_rectTransform_m1644273588(L_35, /*hidden argument*/NULL); NullCheck(L_36); GameObject_t4012695102 * L_37 = Component_get_gameObject_m1170635899(L_36, /*hidden argument*/NULL); NullCheck(L_37); GameObject_SetActive_m3538205401(L_37, (bool)1, /*hidden argument*/NULL); RectTransform_t3317474837 * L_38 = V_5; NullCheck(L_38); Rect_t1525428817 L_39 = RectTransform_get_rect_m1566017036(L_38, /*hidden argument*/NULL); V_6 = L_39; DropdownItem_t2010846948 * L_40 = V_3; NullCheck(L_40); RectTransform_t3317474837 * L_41 = DropdownItem_get_rectTransform_m1644273588(L_40, /*hidden argument*/NULL); NullCheck(L_41); Rect_t1525428817 L_42 = RectTransform_get_rect_m1566017036(L_41, /*hidden argument*/NULL); V_7 = L_42; Vector2_t3525329788 L_43 = Rect_get_min_m275942709((&V_7), /*hidden argument*/NULL); Vector2_t3525329788 L_44 = Rect_get_min_m275942709((&V_6), /*hidden argument*/NULL); Vector2_t3525329788 L_45 = Vector2_op_Subtraction_m2097149401(NULL /*static, unused*/, L_43, L_44, /*hidden argument*/NULL); DropdownItem_t2010846948 * L_46 = V_3; NullCheck(L_46); RectTransform_t3317474837 * L_47 = DropdownItem_get_rectTransform_m1644273588(L_46, /*hidden argument*/NULL); NullCheck(L_47); Vector3_t3525329789 L_48 = Transform_get_localPosition_m668140784(L_47, /*hidden argument*/NULL); Vector2_t3525329788 L_49 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_48, /*hidden argument*/NULL); Vector2_t3525329788 L_50 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_45, L_49, /*hidden argument*/NULL); V_8 = L_50; Vector2_t3525329788 L_51 = Rect_get_max_m275713991((&V_7), /*hidden argument*/NULL); Vector2_t3525329788 L_52 = Rect_get_max_m275713991((&V_6), /*hidden argument*/NULL); Vector2_t3525329788 L_53 = Vector2_op_Subtraction_m2097149401(NULL /*static, unused*/, L_51, L_52, /*hidden argument*/NULL); DropdownItem_t2010846948 * L_54 = V_3; NullCheck(L_54); RectTransform_t3317474837 * L_55 = DropdownItem_get_rectTransform_m1644273588(L_54, /*hidden argument*/NULL); NullCheck(L_55); Vector3_t3525329789 L_56 = Transform_get_localPosition_m668140784(L_55, /*hidden argument*/NULL); Vector2_t3525329788 L_57 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_56, /*hidden argument*/NULL); Vector2_t3525329788 L_58 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_53, L_57, /*hidden argument*/NULL); V_9 = L_58; Vector2_t3525329788 L_59 = Rect_get_size_m136480416((&V_7), /*hidden argument*/NULL); V_10 = L_59; List_1_t2807805917 * L_60 = __this->get_m_Items_26(); NullCheck(L_60); VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem>::Clear() */, L_60); V_11 = (Toggle_t1499417981 *)NULL; V_12 = 0; goto IL_02ff; } IL_01a4: { U3CShowU3Ec__AnonStorey6_t3327131860 * L_61 = (U3CShowU3Ec__AnonStorey6_t3327131860 *)il2cpp_codegen_object_new(U3CShowU3Ec__AnonStorey6_t3327131860_il2cpp_TypeInfo_var); U3CShowU3Ec__AnonStorey6__ctor_m2795061609(L_61, /*hidden argument*/NULL); V_27 = L_61; U3CShowU3Ec__AnonStorey6_t3327131860 * L_62 = V_27; NullCheck(L_62); L_62->set_U3CU3Ef__this_1(__this); List_1_t4163512024 * L_63 = Dropdown_get_options_m399918042(__this, /*hidden argument*/NULL); int32_t L_64 = V_12; NullCheck(L_63); OptionData_t3366553055 * L_65 = VirtFuncInvoker1< OptionData_t3366553055 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::get_Item(System.Int32) */, L_63, L_64); V_13 = L_65; U3CShowU3Ec__AnonStorey6_t3327131860 * L_66 = V_27; OptionData_t3366553055 * L_67 = V_13; int32_t L_68 = Dropdown_get_value_m3628689352(__this, /*hidden argument*/NULL); int32_t L_69 = V_12; DropdownItem_t2010846948 * L_70 = V_3; List_1_t2807805917 * L_71 = __this->get_m_Items_26(); DropdownItem_t2010846948 * L_72 = Dropdown_AddItem_m2798122239(__this, L_67, (bool)((((int32_t)L_68) == ((int32_t)L_69))? 1 : 0), L_70, L_71, /*hidden argument*/NULL); NullCheck(L_66); L_66->set_item_0(L_72); U3CShowU3Ec__AnonStorey6_t3327131860 * L_73 = V_27; NullCheck(L_73); DropdownItem_t2010846948 * L_74 = L_73->get_item_0(); bool L_75 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_74, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_75) { goto IL_01f9; } } { goto IL_02f9; } IL_01f9: { U3CShowU3Ec__AnonStorey6_t3327131860 * L_76 = V_27; NullCheck(L_76); DropdownItem_t2010846948 * L_77 = L_76->get_item_0(); NullCheck(L_77); Toggle_t1499417981 * L_78 = DropdownItem_get_toggle_m2842574180(L_77, /*hidden argument*/NULL); int32_t L_79 = Dropdown_get_value_m3628689352(__this, /*hidden argument*/NULL); int32_t L_80 = V_12; NullCheck(L_78); Toggle_set_isOn_m3467664234(L_78, (bool)((((int32_t)L_79) == ((int32_t)L_80))? 1 : 0), /*hidden argument*/NULL); U3CShowU3Ec__AnonStorey6_t3327131860 * L_81 = V_27; NullCheck(L_81); DropdownItem_t2010846948 * L_82 = L_81->get_item_0(); NullCheck(L_82); Toggle_t1499417981 * L_83 = DropdownItem_get_toggle_m2842574180(L_82, /*hidden argument*/NULL); NullCheck(L_83); ToggleEvent_t998400902 * L_84 = L_83->get_onValueChanged_19(); U3CShowU3Ec__AnonStorey6_t3327131860 * L_85 = V_27; IntPtr_t L_86; L_86.set_m_value_0((void*)(void*)U3CShowU3Ec__AnonStorey6_U3CU3Em__2_m811212697_MethodInfo_var); UnityAction_1_t191467246 * L_87 = (UnityAction_1_t191467246 *)il2cpp_codegen_object_new(UnityAction_1_t191467246_il2cpp_TypeInfo_var); UnityAction_1__ctor_m1354516801(L_87, L_85, L_86, /*hidden argument*/UnityAction_1__ctor_m1354516801_MethodInfo_var); NullCheck(L_84); UnityEvent_1_AddListener_m4118700355(L_84, L_87, /*hidden argument*/UnityEvent_1_AddListener_m4118700355_MethodInfo_var); U3CShowU3Ec__AnonStorey6_t3327131860 * L_88 = V_27; NullCheck(L_88); DropdownItem_t2010846948 * L_89 = L_88->get_item_0(); NullCheck(L_89); Toggle_t1499417981 * L_90 = DropdownItem_get_toggle_m2842574180(L_89, /*hidden argument*/NULL); NullCheck(L_90); bool L_91 = Toggle_get_isOn_m2105608497(L_90, /*hidden argument*/NULL); if (!L_91) { goto IL_025e; } } { U3CShowU3Ec__AnonStorey6_t3327131860 * L_92 = V_27; NullCheck(L_92); DropdownItem_t2010846948 * L_93 = L_92->get_item_0(); NullCheck(L_93); Toggle_t1499417981 * L_94 = DropdownItem_get_toggle_m2842574180(L_93, /*hidden argument*/NULL); NullCheck(L_94); VirtActionInvoker0::Invoke(37 /* System.Void UnityEngine.UI.Selectable::Select() */, L_94); } IL_025e: { Toggle_t1499417981 * L_95 = V_11; bool L_96 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_95, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_96) { goto IL_02eb; } } { Toggle_t1499417981 * L_97 = V_11; NullCheck(L_97); Navigation_t2845019197 L_98 = Selectable_get_navigation_m3138151376(L_97, /*hidden argument*/NULL); V_14 = L_98; U3CShowU3Ec__AnonStorey6_t3327131860 * L_99 = V_27; NullCheck(L_99); DropdownItem_t2010846948 * L_100 = L_99->get_item_0(); NullCheck(L_100); Toggle_t1499417981 * L_101 = DropdownItem_get_toggle_m2842574180(L_100, /*hidden argument*/NULL); NullCheck(L_101); Navigation_t2845019197 L_102 = Selectable_get_navigation_m3138151376(L_101, /*hidden argument*/NULL); V_15 = L_102; Navigation_set_mode_m1506614802((&V_14), 4, /*hidden argument*/NULL); Navigation_set_mode_m1506614802((&V_15), 4, /*hidden argument*/NULL); U3CShowU3Ec__AnonStorey6_t3327131860 * L_103 = V_27; NullCheck(L_103); DropdownItem_t2010846948 * L_104 = L_103->get_item_0(); NullCheck(L_104); Toggle_t1499417981 * L_105 = DropdownItem_get_toggle_m2842574180(L_104, /*hidden argument*/NULL); Navigation_set_selectOnDown_m2647056978((&V_14), L_105, /*hidden argument*/NULL); U3CShowU3Ec__AnonStorey6_t3327131860 * L_106 = V_27; NullCheck(L_106); DropdownItem_t2010846948 * L_107 = L_106->get_item_0(); NullCheck(L_107); Toggle_t1499417981 * L_108 = DropdownItem_get_toggle_m2842574180(L_107, /*hidden argument*/NULL); Navigation_set_selectOnRight_m1544013280((&V_14), L_108, /*hidden argument*/NULL); Toggle_t1499417981 * L_109 = V_11; Navigation_set_selectOnLeft_m619081677((&V_15), L_109, /*hidden argument*/NULL); Toggle_t1499417981 * L_110 = V_11; Navigation_set_selectOnUp_m2875366329((&V_15), L_110, /*hidden argument*/NULL); Toggle_t1499417981 * L_111 = V_11; Navigation_t2845019197 L_112 = V_14; NullCheck(L_111); Selectable_set_navigation_m3946690907(L_111, L_112, /*hidden argument*/NULL); U3CShowU3Ec__AnonStorey6_t3327131860 * L_113 = V_27; NullCheck(L_113); DropdownItem_t2010846948 * L_114 = L_113->get_item_0(); NullCheck(L_114); Toggle_t1499417981 * L_115 = DropdownItem_get_toggle_m2842574180(L_114, /*hidden argument*/NULL); Navigation_t2845019197 L_116 = V_15; NullCheck(L_115); Selectable_set_navigation_m3946690907(L_115, L_116, /*hidden argument*/NULL); } IL_02eb: { U3CShowU3Ec__AnonStorey6_t3327131860 * L_117 = V_27; NullCheck(L_117); DropdownItem_t2010846948 * L_118 = L_117->get_item_0(); NullCheck(L_118); Toggle_t1499417981 * L_119 = DropdownItem_get_toggle_m2842574180(L_118, /*hidden argument*/NULL); V_11 = L_119; } IL_02f9: { int32_t L_120 = V_12; V_12 = ((int32_t)((int32_t)L_120+(int32_t)1)); } IL_02ff: { int32_t L_121 = V_12; List_1_t4163512024 * L_122 = Dropdown_get_options_m399918042(__this, /*hidden argument*/NULL); NullCheck(L_122); int32_t L_123 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>::get_Count() */, L_122); if ((((int32_t)L_121) < ((int32_t)L_123))) { goto IL_01a4; } } { RectTransform_t3317474837 * L_124 = V_5; NullCheck(L_124); Vector2_t3525329788 L_125 = RectTransform_get_sizeDelta_m4279424984(L_124, /*hidden argument*/NULL); V_16 = L_125; float L_126 = (&V_10)->get_y_2(); List_1_t2807805917 * L_127 = __this->get_m_Items_26(); NullCheck(L_127); int32_t L_128 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem>::get_Count() */, L_127); float L_129 = (&V_8)->get_y_2(); float L_130 = (&V_9)->get_y_2(); (&V_16)->set_y_2(((float)((float)((float)((float)((float)((float)L_126*(float)(((float)((float)L_128)))))+(float)L_129))-(float)L_130))); RectTransform_t3317474837 * L_131 = V_5; Vector2_t3525329788 L_132 = V_16; NullCheck(L_131); RectTransform_set_sizeDelta_m1223846609(L_131, L_132, /*hidden argument*/NULL); RectTransform_t3317474837 * L_133 = V_2; NullCheck(L_133); Rect_t1525428817 L_134 = RectTransform_get_rect_m1566017036(L_133, /*hidden argument*/NULL); V_28 = L_134; float L_135 = Rect_get_height_m2154960823((&V_28), /*hidden argument*/NULL); RectTransform_t3317474837 * L_136 = V_5; NullCheck(L_136); Rect_t1525428817 L_137 = RectTransform_get_rect_m1566017036(L_136, /*hidden argument*/NULL); V_29 = L_137; float L_138 = Rect_get_height_m2154960823((&V_29), /*hidden argument*/NULL); V_17 = ((float)((float)L_135-(float)L_138)); float L_139 = V_17; if ((!(((float)L_139) > ((float)(0.0f))))) { goto IL_03a8; } } { RectTransform_t3317474837 * L_140 = V_2; RectTransform_t3317474837 * L_141 = V_2; NullCheck(L_141); Vector2_t3525329788 L_142 = RectTransform_get_sizeDelta_m4279424984(L_141, /*hidden argument*/NULL); V_30 = L_142; float L_143 = (&V_30)->get_x_1(); RectTransform_t3317474837 * L_144 = V_2; NullCheck(L_144); Vector2_t3525329788 L_145 = RectTransform_get_sizeDelta_m4279424984(L_144, /*hidden argument*/NULL); V_31 = L_145; float L_146 = (&V_31)->get_y_2(); float L_147 = V_17; Vector2_t3525329788 L_148; memset(&L_148, 0, sizeof(L_148)); Vector2__ctor_m1517109030(&L_148, L_143, ((float)((float)L_146-(float)L_147)), /*hidden argument*/NULL); NullCheck(L_140); RectTransform_set_sizeDelta_m1223846609(L_140, L_148, /*hidden argument*/NULL); } IL_03a8: { V_18 = ((Vector3U5BU5D_t3227571696*)SZArrayNew(Vector3U5BU5D_t3227571696_il2cpp_TypeInfo_var, (uint32_t)4)); RectTransform_t3317474837 * L_149 = V_2; Vector3U5BU5D_t3227571696* L_150 = V_18; NullCheck(L_149); RectTransform_GetWorldCorners_m1829917190(L_149, L_150, /*hidden argument*/NULL); Canvas_t3534013893 * L_151 = V_1; NullCheck(L_151); Transform_t284553113 * L_152 = Component_get_transform_m4257140443(L_151, /*hidden argument*/NULL); V_19 = ((RectTransform_t3317474837 *)IsInstSealed(L_152, RectTransform_t3317474837_il2cpp_TypeInfo_var)); RectTransform_t3317474837 * L_153 = V_19; NullCheck(L_153); Rect_t1525428817 L_154 = RectTransform_get_rect_m1566017036(L_153, /*hidden argument*/NULL); V_20 = L_154; V_21 = 0; goto IL_0465; } IL_03d6: { V_22 = (bool)0; V_23 = 0; goto IL_0446; } IL_03e1: { RectTransform_t3317474837 * L_155 = V_19; Vector3U5BU5D_t3227571696* L_156 = V_18; int32_t L_157 = V_23; NullCheck(L_156); IL2CPP_ARRAY_BOUNDS_CHECK(L_156, L_157); NullCheck(L_155); Vector3_t3525329789 L_158 = Transform_InverseTransformPoint_m1626812000(L_155, (*(Vector3_t3525329789 *)((L_156)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_157)))), /*hidden argument*/NULL); V_24 = L_158; int32_t L_159 = V_21; float L_160 = Vector3_get_Item_m108333500((&V_24), L_159, /*hidden argument*/NULL); Vector2_t3525329788 L_161 = Rect_get_min_m275942709((&V_20), /*hidden argument*/NULL); V_32 = L_161; int32_t L_162 = V_21; float L_163 = Vector2_get_Item_m2185542843((&V_32), L_162, /*hidden argument*/NULL); if ((((float)L_160) < ((float)L_163))) { goto IL_0438; } } { int32_t L_164 = V_21; float L_165 = Vector3_get_Item_m108333500((&V_24), L_164, /*hidden argument*/NULL); Vector2_t3525329788 L_166 = Rect_get_max_m275713991((&V_20), /*hidden argument*/NULL); V_33 = L_166; int32_t L_167 = V_21; float L_168 = Vector2_get_Item_m2185542843((&V_33), L_167, /*hidden argument*/NULL); if ((!(((float)L_165) > ((float)L_168)))) { goto IL_0440; } } IL_0438: { V_22 = (bool)1; goto IL_044e; } IL_0440: { int32_t L_169 = V_23; V_23 = ((int32_t)((int32_t)L_169+(int32_t)1)); } IL_0446: { int32_t L_170 = V_23; if ((((int32_t)L_170) < ((int32_t)4))) { goto IL_03e1; } } IL_044e: { bool L_171 = V_22; if (!L_171) { goto IL_045f; } } { RectTransform_t3317474837 * L_172 = V_2; int32_t L_173 = V_21; IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2895919825_il2cpp_TypeInfo_var); RectTransformUtility_FlipLayoutOnAxis_m3487429352(NULL /*static, unused*/, L_172, L_173, (bool)0, (bool)0, /*hidden argument*/NULL); } IL_045f: { int32_t L_174 = V_21; V_21 = ((int32_t)((int32_t)L_174+(int32_t)1)); } IL_0465: { int32_t L_175 = V_21; if ((((int32_t)L_175) < ((int32_t)2))) { goto IL_03d6; } } { V_25 = 0; goto IL_054a; } IL_0475: { List_1_t2807805917 * L_176 = __this->get_m_Items_26(); int32_t L_177 = V_25; NullCheck(L_176); DropdownItem_t2010846948 * L_178 = VirtFuncInvoker1< DropdownItem_t2010846948 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem>::get_Item(System.Int32) */, L_176, L_177); NullCheck(L_178); RectTransform_t3317474837 * L_179 = DropdownItem_get_rectTransform_m1644273588(L_178, /*hidden argument*/NULL); V_26 = L_179; RectTransform_t3317474837 * L_180 = V_26; RectTransform_t3317474837 * L_181 = V_26; NullCheck(L_181); Vector2_t3525329788 L_182 = RectTransform_get_anchorMin_m688674174(L_181, /*hidden argument*/NULL); V_34 = L_182; float L_183 = (&V_34)->get_x_1(); Vector2_t3525329788 L_184; memset(&L_184, 0, sizeof(L_184)); Vector2__ctor_m1517109030(&L_184, L_183, (0.0f), /*hidden argument*/NULL); NullCheck(L_180); RectTransform_set_anchorMin_m989253483(L_180, L_184, /*hidden argument*/NULL); RectTransform_t3317474837 * L_185 = V_26; RectTransform_t3317474837 * L_186 = V_26; NullCheck(L_186); Vector2_t3525329788 L_187 = RectTransform_get_anchorMax_m688445456(L_186, /*hidden argument*/NULL); V_35 = L_187; float L_188 = (&V_35)->get_x_1(); Vector2_t3525329788 L_189; memset(&L_189, 0, sizeof(L_189)); Vector2__ctor_m1517109030(&L_189, L_188, (0.0f), /*hidden argument*/NULL); NullCheck(L_185); RectTransform_set_anchorMax_m715345817(L_185, L_189, /*hidden argument*/NULL); RectTransform_t3317474837 * L_190 = V_26; RectTransform_t3317474837 * L_191 = V_26; NullCheck(L_191); Vector2_t3525329788 L_192 = RectTransform_get_anchoredPosition_m2318455998(L_191, /*hidden argument*/NULL); V_36 = L_192; float L_193 = (&V_36)->get_x_1(); float L_194 = (&V_8)->get_y_2(); float L_195 = (&V_10)->get_y_2(); List_1_t2807805917 * L_196 = __this->get_m_Items_26(); NullCheck(L_196); int32_t L_197 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem>::get_Count() */, L_196); int32_t L_198 = V_25; float L_199 = (&V_10)->get_y_2(); RectTransform_t3317474837 * L_200 = V_26; NullCheck(L_200); Vector2_t3525329788 L_201 = RectTransform_get_pivot_m3785570595(L_200, /*hidden argument*/NULL); V_37 = L_201; float L_202 = (&V_37)->get_y_2(); Vector2_t3525329788 L_203; memset(&L_203, 0, sizeof(L_203)); Vector2__ctor_m1517109030(&L_203, L_193, ((float)((float)((float)((float)L_194+(float)((float)((float)L_195*(float)(((float)((float)((int32_t)((int32_t)((int32_t)((int32_t)L_197-(int32_t)1))-(int32_t)L_198)))))))))+(float)((float)((float)L_199*(float)L_202)))), /*hidden argument*/NULL); NullCheck(L_190); RectTransform_set_anchoredPosition_m1498949997(L_190, L_203, /*hidden argument*/NULL); RectTransform_t3317474837 * L_204 = V_26; RectTransform_t3317474837 * L_205 = V_26; NullCheck(L_205); Vector2_t3525329788 L_206 = RectTransform_get_sizeDelta_m4279424984(L_205, /*hidden argument*/NULL); V_38 = L_206; float L_207 = (&V_38)->get_x_1(); float L_208 = (&V_10)->get_y_2(); Vector2_t3525329788 L_209; memset(&L_209, 0, sizeof(L_209)); Vector2__ctor_m1517109030(&L_209, L_207, L_208, /*hidden argument*/NULL); NullCheck(L_204); RectTransform_set_sizeDelta_m1223846609(L_204, L_209, /*hidden argument*/NULL); int32_t L_210 = V_25; V_25 = ((int32_t)((int32_t)L_210+(int32_t)1)); } IL_054a: { int32_t L_211 = V_25; List_1_t2807805917 * L_212 = __this->get_m_Items_26(); NullCheck(L_212); int32_t L_213 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem>::get_Count() */, L_212); if ((((int32_t)L_211) < ((int32_t)L_213))) { goto IL_0475; } } { Dropdown_AlphaFadeList_m3646986629(__this, (0.15f), (0.0f), (1.0f), /*hidden argument*/NULL); RectTransform_t3317474837 * L_214 = __this->get_m_Template_16(); NullCheck(L_214); GameObject_t4012695102 * L_215 = Component_get_gameObject_m1170635899(L_214, /*hidden argument*/NULL); NullCheck(L_215); GameObject_SetActive_m3538205401(L_215, (bool)0, /*hidden argument*/NULL); DropdownItem_t2010846948 * L_216 = V_3; NullCheck(L_216); GameObject_t4012695102 * L_217 = Component_get_gameObject_m1170635899(L_216, /*hidden argument*/NULL); NullCheck(L_217); GameObject_SetActive_m3538205401(L_217, (bool)0, /*hidden argument*/NULL); Canvas_t3534013893 * L_218 = V_1; GameObject_t4012695102 * L_219 = VirtFuncInvoker1< GameObject_t4012695102 *, Canvas_t3534013893 * >::Invoke(44 /* UnityEngine.GameObject UnityEngine.UI.Dropdown::CreateBlocker(UnityEngine.Canvas) */, __this, L_218); __this->set_m_Blocker_25(L_219); return; } } // UnityEngine.GameObject UnityEngine.UI.Dropdown::CreateBlocker(UnityEngine.Canvas) extern Il2CppClass* GameObject_t4012695102_il2cpp_TypeInfo_var; extern Il2CppClass* UnityAction_t909267611_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisCanvas_t3534013893_m2137401606_MethodInfo_var; extern const MethodInfo* GameObject_GetComponent_TisCanvas_t3534013893_m4009786289_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisGraphicRaycaster_t2033008887_m3633242200_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisButton_t990034267_m2834709044_MethodInfo_var; extern const MethodInfo* Dropdown_Hide_m2250183404_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral1643215322; extern const uint32_t Dropdown_CreateBlocker_m4177511350_MetadataUsageId; extern "C" GameObject_t4012695102 * Dropdown_CreateBlocker_m4177511350 (Dropdown_t2916437562 * __this, Canvas_t3534013893 * ___rootCanvas0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_CreateBlocker_m4177511350_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; RectTransform_t3317474837 * V_1 = NULL; Canvas_t3534013893 * V_2 = NULL; Canvas_t3534013893 * V_3 = NULL; Image_t3354615620 * V_4 = NULL; Button_t990034267 * V_5 = NULL; { GameObject_t4012695102 * L_0 = (GameObject_t4012695102 *)il2cpp_codegen_object_new(GameObject_t4012695102_il2cpp_TypeInfo_var); GameObject__ctor_m3920833606(L_0, _stringLiteral1643215322, /*hidden argument*/NULL); V_0 = L_0; GameObject_t4012695102 * L_1 = V_0; NullCheck(L_1); RectTransform_t3317474837 * L_2 = GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000(L_1, /*hidden argument*/GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000_MethodInfo_var); V_1 = L_2; RectTransform_t3317474837 * L_3 = V_1; Canvas_t3534013893 * L_4 = ___rootCanvas0; NullCheck(L_4); Transform_t284553113 * L_5 = Component_get_transform_m4257140443(L_4, /*hidden argument*/NULL); NullCheck(L_3); Transform_SetParent_m263985879(L_3, L_5, (bool)0, /*hidden argument*/NULL); RectTransform_t3317474837 * L_6 = V_1; Vector3_t3525329789 L_7 = Vector3_get_zero_m2017759730(NULL /*static, unused*/, /*hidden argument*/NULL); Vector2_t3525329788 L_8 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_7, /*hidden argument*/NULL); NullCheck(L_6); RectTransform_set_anchorMin_m989253483(L_6, L_8, /*hidden argument*/NULL); RectTransform_t3317474837 * L_9 = V_1; Vector3_t3525329789 L_10 = Vector3_get_one_m886467710(NULL /*static, unused*/, /*hidden argument*/NULL); Vector2_t3525329788 L_11 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_10, /*hidden argument*/NULL); NullCheck(L_9); RectTransform_set_anchorMax_m715345817(L_9, L_11, /*hidden argument*/NULL); RectTransform_t3317474837 * L_12 = V_1; Vector2_t3525329788 L_13 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_12); RectTransform_set_sizeDelta_m1223846609(L_12, L_13, /*hidden argument*/NULL); GameObject_t4012695102 * L_14 = V_0; NullCheck(L_14); Canvas_t3534013893 * L_15 = GameObject_AddComponent_TisCanvas_t3534013893_m2137401606(L_14, /*hidden argument*/GameObject_AddComponent_TisCanvas_t3534013893_m2137401606_MethodInfo_var); V_2 = L_15; Canvas_t3534013893 * L_16 = V_2; NullCheck(L_16); Canvas_set_overrideSorting_m1850487749(L_16, (bool)1, /*hidden argument*/NULL); GameObject_t4012695102 * L_17 = __this->get_m_Dropdown_24(); NullCheck(L_17); Canvas_t3534013893 * L_18 = GameObject_GetComponent_TisCanvas_t3534013893_m4009786289(L_17, /*hidden argument*/GameObject_GetComponent_TisCanvas_t3534013893_m4009786289_MethodInfo_var); V_3 = L_18; Canvas_t3534013893 * L_19 = V_2; Canvas_t3534013893 * L_20 = V_3; NullCheck(L_20); int32_t L_21 = Canvas_get_sortingLayerID_m3425838272(L_20, /*hidden argument*/NULL); NullCheck(L_19); Canvas_set_sortingLayerID_m2317502469(L_19, L_21, /*hidden argument*/NULL); Canvas_t3534013893 * L_22 = V_2; Canvas_t3534013893 * L_23 = V_3; NullCheck(L_23); int32_t L_24 = Canvas_get_sortingOrder_m1274160674(L_23, /*hidden argument*/NULL); NullCheck(L_22); Canvas_set_sortingOrder_m1522807655(L_22, ((int32_t)((int32_t)L_24-(int32_t)1)), /*hidden argument*/NULL); GameObject_t4012695102 * L_25 = V_0; NullCheck(L_25); GameObject_AddComponent_TisGraphicRaycaster_t2033008887_m3633242200(L_25, /*hidden argument*/GameObject_AddComponent_TisGraphicRaycaster_t2033008887_m3633242200_MethodInfo_var); GameObject_t4012695102 * L_26 = V_0; NullCheck(L_26); Image_t3354615620 * L_27 = GameObject_AddComponent_TisImage_t3354615620_m3664949437(L_26, /*hidden argument*/GameObject_AddComponent_TisImage_t3354615620_m3664949437_MethodInfo_var); V_4 = L_27; Image_t3354615620 * L_28 = V_4; Color_t1588175760 L_29 = Color_get_clear_m2578346879(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_28); Graphic_set_color_m1311501487(L_28, L_29, /*hidden argument*/NULL); GameObject_t4012695102 * L_30 = V_0; NullCheck(L_30); Button_t990034267 * L_31 = GameObject_AddComponent_TisButton_t990034267_m2834709044(L_30, /*hidden argument*/GameObject_AddComponent_TisButton_t990034267_m2834709044_MethodInfo_var); V_5 = L_31; Button_t990034267 * L_32 = V_5; NullCheck(L_32); ButtonClickedEvent_t962981669 * L_33 = Button_get_onClick_m1145127631(L_32, /*hidden argument*/NULL); IntPtr_t L_34; L_34.set_m_value_0((void*)(void*)Dropdown_Hide_m2250183404_MethodInfo_var); UnityAction_t909267611 * L_35 = (UnityAction_t909267611 *)il2cpp_codegen_object_new(UnityAction_t909267611_il2cpp_TypeInfo_var); UnityAction__ctor_m4130179243(L_35, __this, L_34, /*hidden argument*/NULL); NullCheck(L_33); UnityEvent_AddListener_m4099140869(L_33, L_35, /*hidden argument*/NULL); GameObject_t4012695102 * L_36 = V_0; return L_36; } } // System.Void UnityEngine.UI.Dropdown::DestroyBlocker(UnityEngine.GameObject) extern "C" void Dropdown_DestroyBlocker_m442421122 (Dropdown_t2916437562 * __this, GameObject_t4012695102 * ___blocker0, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = ___blocker0; Object_Destroy_m176400816(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return; } } // UnityEngine.GameObject UnityEngine.UI.Dropdown::CreateDropdownList(UnityEngine.GameObject) extern const MethodInfo* Object_Instantiate_TisGameObject_t4012695102_m3917608929_MethodInfo_var; extern const uint32_t Dropdown_CreateDropdownList_m1827964190_MetadataUsageId; extern "C" GameObject_t4012695102 * Dropdown_CreateDropdownList_m1827964190 (Dropdown_t2916437562 * __this, GameObject_t4012695102 * ___template0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_CreateDropdownList_m1827964190_MetadataUsageId); s_Il2CppMethodIntialized = true; } { GameObject_t4012695102 * L_0 = ___template0; GameObject_t4012695102 * L_1 = Object_Instantiate_TisGameObject_t4012695102_m3917608929(NULL /*static, unused*/, L_0, /*hidden argument*/Object_Instantiate_TisGameObject_t4012695102_m3917608929_MethodInfo_var); return L_1; } } // System.Void UnityEngine.UI.Dropdown::DestroyDropdownList(UnityEngine.GameObject) extern "C" void Dropdown_DestroyDropdownList_m2466702489 (Dropdown_t2916437562 * __this, GameObject_t4012695102 * ___dropdownList0, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = ___dropdownList0; Object_Destroy_m176400816(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return; } } // UnityEngine.UI.Dropdown/DropdownItem UnityEngine.UI.Dropdown::CreateItem(UnityEngine.UI.Dropdown/DropdownItem) extern const MethodInfo* Object_Instantiate_TisDropdownItem_t2010846948_m3370007064_MethodInfo_var; extern const uint32_t Dropdown_CreateItem_m3067956674_MetadataUsageId; extern "C" DropdownItem_t2010846948 * Dropdown_CreateItem_m3067956674 (Dropdown_t2916437562 * __this, DropdownItem_t2010846948 * ___itemTemplate0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_CreateItem_m3067956674_MetadataUsageId); s_Il2CppMethodIntialized = true; } { DropdownItem_t2010846948 * L_0 = ___itemTemplate0; DropdownItem_t2010846948 * L_1 = Object_Instantiate_TisDropdownItem_t2010846948_m3370007064(NULL /*static, unused*/, L_0, /*hidden argument*/Object_Instantiate_TisDropdownItem_t2010846948_m3370007064_MethodInfo_var); return L_1; } } // System.Void UnityEngine.UI.Dropdown::DestroyItem(UnityEngine.UI.Dropdown/DropdownItem) extern "C" void Dropdown_DestroyItem_m927755334 (Dropdown_t2916437562 * __this, DropdownItem_t2010846948 * ___item0, const MethodInfo* method) { { return; } } // UnityEngine.UI.Dropdown/DropdownItem UnityEngine.UI.Dropdown::AddItem(UnityEngine.UI.Dropdown/OptionData,System.Boolean,UnityEngine.UI.Dropdown/DropdownItem,System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem>) extern Il2CppClass* Int32_t2847414787_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral70973261; extern Il2CppCodeGenString* _stringLiteral1830; extern const uint32_t Dropdown_AddItem_m2798122239_MetadataUsageId; extern "C" DropdownItem_t2010846948 * Dropdown_AddItem_m2798122239 (Dropdown_t2916437562 * __this, OptionData_t3366553055 * ___data0, bool ___selected1, DropdownItem_t2010846948 * ___itemTemplate2, List_1_t2807805917 * ___items3, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_AddItem_m2798122239_MetadataUsageId); s_Il2CppMethodIntialized = true; } DropdownItem_t2010846948 * V_0 = NULL; Il2CppObject * G_B2_0 = NULL; String_t* G_B2_1 = NULL; GameObject_t4012695102 * G_B2_2 = NULL; Il2CppObject * G_B1_0 = NULL; String_t* G_B1_1 = NULL; GameObject_t4012695102 * G_B1_2 = NULL; String_t* G_B3_0 = NULL; Il2CppObject * G_B3_1 = NULL; String_t* G_B3_2 = NULL; GameObject_t4012695102 * G_B3_3 = NULL; { DropdownItem_t2010846948 * L_0 = ___itemTemplate2; DropdownItem_t2010846948 * L_1 = VirtFuncInvoker1< DropdownItem_t2010846948 *, DropdownItem_t2010846948 * >::Invoke(48 /* UnityEngine.UI.Dropdown/DropdownItem UnityEngine.UI.Dropdown::CreateItem(UnityEngine.UI.Dropdown/DropdownItem) */, __this, L_0); V_0 = L_1; DropdownItem_t2010846948 * L_2 = V_0; NullCheck(L_2); RectTransform_t3317474837 * L_3 = DropdownItem_get_rectTransform_m1644273588(L_2, /*hidden argument*/NULL); DropdownItem_t2010846948 * L_4 = ___itemTemplate2; NullCheck(L_4); RectTransform_t3317474837 * L_5 = DropdownItem_get_rectTransform_m1644273588(L_4, /*hidden argument*/NULL); NullCheck(L_5); Transform_t284553113 * L_6 = Transform_get_parent_m2236876972(L_5, /*hidden argument*/NULL); NullCheck(L_3); Transform_SetParent_m263985879(L_3, L_6, (bool)0, /*hidden argument*/NULL); DropdownItem_t2010846948 * L_7 = V_0; NullCheck(L_7); GameObject_t4012695102 * L_8 = Component_get_gameObject_m1170635899(L_7, /*hidden argument*/NULL); NullCheck(L_8); GameObject_SetActive_m3538205401(L_8, (bool)1, /*hidden argument*/NULL); DropdownItem_t2010846948 * L_9 = V_0; NullCheck(L_9); GameObject_t4012695102 * L_10 = Component_get_gameObject_m1170635899(L_9, /*hidden argument*/NULL); List_1_t2807805917 * L_11 = ___items3; NullCheck(L_11); int32_t L_12 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem>::get_Count() */, L_11); int32_t L_13 = L_12; Il2CppObject * L_14 = Box(Int32_t2847414787_il2cpp_TypeInfo_var, &L_13); OptionData_t3366553055 * L_15 = ___data0; NullCheck(L_15); String_t* L_16 = OptionData_get_text_m2592726207(L_15, /*hidden argument*/NULL); G_B1_0 = L_14; G_B1_1 = _stringLiteral70973261; G_B1_2 = L_10; if (!L_16) { G_B2_0 = L_14; G_B2_1 = _stringLiteral70973261; G_B2_2 = L_10; goto IL_0062; } } { OptionData_t3366553055 * L_17 = ___data0; NullCheck(L_17); String_t* L_18 = OptionData_get_text_m2592726207(L_17, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_19 = String_Concat_m138640077(NULL /*static, unused*/, _stringLiteral1830, L_18, /*hidden argument*/NULL); G_B3_0 = L_19; G_B3_1 = G_B1_0; G_B3_2 = G_B1_1; G_B3_3 = G_B1_2; goto IL_0067; } IL_0062: { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_20 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); G_B3_0 = L_20; G_B3_1 = G_B2_0; G_B3_2 = G_B2_1; G_B3_3 = G_B2_2; } IL_0067: { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_21 = String_Concat_m2809334143(NULL /*static, unused*/, G_B3_2, G_B3_1, G_B3_0, /*hidden argument*/NULL); NullCheck(G_B3_3); Object_set_name_m1123518500(G_B3_3, L_21, /*hidden argument*/NULL); DropdownItem_t2010846948 * L_22 = V_0; NullCheck(L_22); Toggle_t1499417981 * L_23 = DropdownItem_get_toggle_m2842574180(L_22, /*hidden argument*/NULL); bool L_24 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_23, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_24) { goto IL_008e; } } { DropdownItem_t2010846948 * L_25 = V_0; NullCheck(L_25); Toggle_t1499417981 * L_26 = DropdownItem_get_toggle_m2842574180(L_25, /*hidden argument*/NULL); NullCheck(L_26); Toggle_set_isOn_m3467664234(L_26, (bool)0, /*hidden argument*/NULL); } IL_008e: { DropdownItem_t2010846948 * L_27 = V_0; NullCheck(L_27); Text_t3286458198 * L_28 = DropdownItem_get_text_m2361276100(L_27, /*hidden argument*/NULL); bool L_29 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_28, /*hidden argument*/NULL); if (!L_29) { goto IL_00af; } } { DropdownItem_t2010846948 * L_30 = V_0; NullCheck(L_30); Text_t3286458198 * L_31 = DropdownItem_get_text_m2361276100(L_30, /*hidden argument*/NULL); OptionData_t3366553055 * L_32 = ___data0; NullCheck(L_32); String_t* L_33 = OptionData_get_text_m2592726207(L_32, /*hidden argument*/NULL); NullCheck(L_31); VirtActionInvoker1< String_t* >::Invoke(65 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_31, L_33); } IL_00af: { DropdownItem_t2010846948 * L_34 = V_0; NullCheck(L_34); Image_t3354615620 * L_35 = DropdownItem_get_image_m1361578890(L_34, /*hidden argument*/NULL); bool L_36 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_35, /*hidden argument*/NULL); if (!L_36) { goto IL_00ec; } } { DropdownItem_t2010846948 * L_37 = V_0; NullCheck(L_37); Image_t3354615620 * L_38 = DropdownItem_get_image_m1361578890(L_37, /*hidden argument*/NULL); OptionData_t3366553055 * L_39 = ___data0; NullCheck(L_39); Sprite_t4006040370 * L_40 = OptionData_get_image_m1245765107(L_39, /*hidden argument*/NULL); NullCheck(L_38); Image_set_sprite_m572551402(L_38, L_40, /*hidden argument*/NULL); DropdownItem_t2010846948 * L_41 = V_0; NullCheck(L_41); Image_t3354615620 * L_42 = DropdownItem_get_image_m1361578890(L_41, /*hidden argument*/NULL); DropdownItem_t2010846948 * L_43 = V_0; NullCheck(L_43); Image_t3354615620 * L_44 = DropdownItem_get_image_m1361578890(L_43, /*hidden argument*/NULL); NullCheck(L_44); Sprite_t4006040370 * L_45 = Image_get_sprite_m3572636301(L_44, /*hidden argument*/NULL); bool L_46 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_45, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); NullCheck(L_42); Behaviour_set_enabled_m2046806933(L_42, L_46, /*hidden argument*/NULL); } IL_00ec: { List_1_t2807805917 * L_47 = ___items3; DropdownItem_t2010846948 * L_48 = V_0; NullCheck(L_47); VirtActionInvoker1< DropdownItem_t2010846948 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem>::Add(!0) */, L_47, L_48); DropdownItem_t2010846948 * L_49 = V_0; return L_49; } } // System.Void UnityEngine.UI.Dropdown::AlphaFadeList(System.Single,System.Single) extern const MethodInfo* GameObject_GetComponent_TisCanvasGroup_t1295922228_m4071469134_MethodInfo_var; extern const uint32_t Dropdown_AlphaFadeList_m2508072608_MetadataUsageId; extern "C" void Dropdown_AlphaFadeList_m2508072608 (Dropdown_t2916437562 * __this, float ___duration0, float ___alpha1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_AlphaFadeList_m2508072608_MetadataUsageId); s_Il2CppMethodIntialized = true; } CanvasGroup_t1295922228 * V_0 = NULL; { GameObject_t4012695102 * L_0 = __this->get_m_Dropdown_24(); NullCheck(L_0); CanvasGroup_t1295922228 * L_1 = GameObject_GetComponent_TisCanvasGroup_t1295922228_m4071469134(L_0, /*hidden argument*/GameObject_GetComponent_TisCanvasGroup_t1295922228_m4071469134_MethodInfo_var); V_0 = L_1; float L_2 = ___duration0; CanvasGroup_t1295922228 * L_3 = V_0; NullCheck(L_3); float L_4 = CanvasGroup_get_alpha_m2646612977(L_3, /*hidden argument*/NULL); float L_5 = ___alpha1; Dropdown_AlphaFadeList_m3646986629(__this, L_2, L_4, L_5, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown::AlphaFadeList(System.Single,System.Single,System.Single) extern Il2CppClass* FloatTween_t587838465_il2cpp_TypeInfo_var; extern Il2CppClass* UnityAction_1_t938670926_il2cpp_TypeInfo_var; extern const MethodInfo* Dropdown_SetAlpha_m3190511269_MethodInfo_var; extern const MethodInfo* UnityAction_1__ctor_m480548041_MethodInfo_var; extern const MethodInfo* TweenRunner_1_StartTween_m565832784_MethodInfo_var; extern const uint32_t Dropdown_AlphaFadeList_m3646986629_MetadataUsageId; extern "C" void Dropdown_AlphaFadeList_m3646986629 (Dropdown_t2916437562 * __this, float ___duration0, float ___start1, float ___end2, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_AlphaFadeList_m3646986629_MetadataUsageId); s_Il2CppMethodIntialized = true; } FloatTween_t587838465 V_0; memset(&V_0, 0, sizeof(V_0)); FloatTween_t587838465 V_1; memset(&V_1, 0, sizeof(V_1)); { float L_0 = ___start1; bool L_1 = Single_Equals_m2110115959((&___end2), L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_000e; } } { return; } IL_000e: { Initobj (FloatTween_t587838465_il2cpp_TypeInfo_var, (&V_0)); FloatTween_t587838465 L_2 = V_0; V_1 = L_2; float L_3 = ___duration0; FloatTween_set_duration_m4177197863((&V_1), L_3, /*hidden argument*/NULL); float L_4 = ___start1; FloatTween_set_startValue_m367615212((&V_1), L_4, /*hidden argument*/NULL); float L_5 = ___end2; FloatTween_set_targetValue_m27109721((&V_1), L_5, /*hidden argument*/NULL); FloatTween_t587838465 L_6 = V_1; V_0 = L_6; IntPtr_t L_7; L_7.set_m_value_0((void*)(void*)Dropdown_SetAlpha_m3190511269_MethodInfo_var); UnityAction_1_t938670926 * L_8 = (UnityAction_1_t938670926 *)il2cpp_codegen_object_new(UnityAction_1_t938670926_il2cpp_TypeInfo_var); UnityAction_1__ctor_m480548041(L_8, __this, L_7, /*hidden argument*/UnityAction_1__ctor_m480548041_MethodInfo_var); FloatTween_AddOnChangedCallback_m2815182481((&V_0), L_8, /*hidden argument*/NULL); FloatTween_set_ignoreTimeScale_m556709748((&V_0), (bool)1, /*hidden argument*/NULL); TweenRunner_1_t3422778292 * L_9 = __this->get_m_AlphaTweenRunner_27(); FloatTween_t587838465 L_10 = V_0; NullCheck(L_9); TweenRunner_1_StartTween_m565832784(L_9, L_10, /*hidden argument*/TweenRunner_1_StartTween_m565832784_MethodInfo_var); return; } } // System.Void UnityEngine.UI.Dropdown::SetAlpha(System.Single) extern const MethodInfo* GameObject_GetComponent_TisCanvasGroup_t1295922228_m4071469134_MethodInfo_var; extern const uint32_t Dropdown_SetAlpha_m3190511269_MetadataUsageId; extern "C" void Dropdown_SetAlpha_m3190511269 (Dropdown_t2916437562 * __this, float ___alpha0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_SetAlpha_m3190511269_MetadataUsageId); s_Il2CppMethodIntialized = true; } CanvasGroup_t1295922228 * V_0 = NULL; { GameObject_t4012695102 * L_0 = __this->get_m_Dropdown_24(); bool L_1 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); if (L_1) { goto IL_0011; } } { return; } IL_0011: { GameObject_t4012695102 * L_2 = __this->get_m_Dropdown_24(); NullCheck(L_2); CanvasGroup_t1295922228 * L_3 = GameObject_GetComponent_TisCanvasGroup_t1295922228_m4071469134(L_2, /*hidden argument*/GameObject_GetComponent_TisCanvasGroup_t1295922228_m4071469134_MethodInfo_var); V_0 = L_3; CanvasGroup_t1295922228 * L_4 = V_0; float L_5 = ___alpha0; NullCheck(L_4); CanvasGroup_set_alpha_m2140801370(L_4, L_5, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown::Hide() extern "C" void Dropdown_Hide_m2250183404 (Dropdown_t2916437562 * __this, const MethodInfo* method) { { GameObject_t4012695102 * L_0 = __this->get_m_Dropdown_24(); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_003e; } } { Dropdown_AlphaFadeList_m2508072608(__this, (0.15f), (0.0f), /*hidden argument*/NULL); bool L_2 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (!L_2) { goto IL_003e; } } { Il2CppObject * L_3 = Dropdown_DelayedDestroyDropdownList_m3972931676(__this, (0.15f), /*hidden argument*/NULL); MonoBehaviour_StartCoroutine_m2135303124(__this, L_3, /*hidden argument*/NULL); } IL_003e: { GameObject_t4012695102 * L_4 = __this->get_m_Blocker_25(); bool L_5 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_4, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_5) { goto IL_005b; } } { GameObject_t4012695102 * L_6 = __this->get_m_Blocker_25(); VirtActionInvoker1< GameObject_t4012695102 * >::Invoke(45 /* System.Void UnityEngine.UI.Dropdown::DestroyBlocker(UnityEngine.GameObject) */, __this, L_6); } IL_005b: { __this->set_m_Blocker_25((GameObject_t4012695102 *)NULL); VirtActionInvoker0::Invoke(37 /* System.Void UnityEngine.UI.Selectable::Select() */, __this); return; } } // System.Collections.IEnumerator UnityEngine.UI.Dropdown::DelayedDestroyDropdownList(System.Single) extern Il2CppClass* U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372_il2cpp_TypeInfo_var; extern const uint32_t Dropdown_DelayedDestroyDropdownList_m3972931676_MetadataUsageId; extern "C" Il2CppObject * Dropdown_DelayedDestroyDropdownList_m3972931676 (Dropdown_t2916437562 * __this, float ___delay0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Dropdown_DelayedDestroyDropdownList_m3972931676_MetadataUsageId); s_Il2CppMethodIntialized = true; } U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 * V_0 = NULL; { U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 * L_0 = (U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 *)il2cpp_codegen_object_new(U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372_il2cpp_TypeInfo_var); U3CDelayedDestroyDropdownListU3Ec__Iterator2__ctor_m1282717409(L_0, /*hidden argument*/NULL); V_0 = L_0; U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 * L_1 = V_0; float L_2 = ___delay0; NullCheck(L_1); L_1->set_delay_0(L_2); U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 * L_3 = V_0; float L_4 = ___delay0; NullCheck(L_3); L_3->set_U3CU24U3Edelay_5(L_4); U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 * L_5 = V_0; NullCheck(L_5); L_5->set_U3CU3Ef__this_6(__this); U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 * L_6 = V_0; return L_6; } } // System.Void UnityEngine.UI.Dropdown::OnSelectItem(UnityEngine.UI.Toggle) extern "C" void Dropdown_OnSelectItem_m2377815715 (Dropdown_t2916437562 * __this, Toggle_t1499417981 * ___toggle0, const MethodInfo* method) { int32_t V_0 = 0; Transform_t284553113 * V_1 = NULL; Transform_t284553113 * V_2 = NULL; int32_t V_3 = 0; { Toggle_t1499417981 * L_0 = ___toggle0; NullCheck(L_0); bool L_1 = Toggle_get_isOn_m2105608497(L_0, /*hidden argument*/NULL); if (L_1) { goto IL_0012; } } { Toggle_t1499417981 * L_2 = ___toggle0; NullCheck(L_2); Toggle_set_isOn_m3467664234(L_2, (bool)1, /*hidden argument*/NULL); } IL_0012: { V_0 = (-1); Toggle_t1499417981 * L_3 = ___toggle0; NullCheck(L_3); Transform_t284553113 * L_4 = Component_get_transform_m4257140443(L_3, /*hidden argument*/NULL); V_1 = L_4; Transform_t284553113 * L_5 = V_1; NullCheck(L_5); Transform_t284553113 * L_6 = Transform_get_parent_m2236876972(L_5, /*hidden argument*/NULL); V_2 = L_6; V_3 = 0; goto IL_0048; } IL_0029: { Transform_t284553113 * L_7 = V_2; int32_t L_8 = V_3; NullCheck(L_7); Transform_t284553113 * L_9 = Transform_GetChild_m4040462992(L_7, L_8, /*hidden argument*/NULL); Transform_t284553113 * L_10 = V_1; bool L_11 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_9, L_10, /*hidden argument*/NULL); if (!L_11) { goto IL_0044; } } { int32_t L_12 = V_3; V_0 = ((int32_t)((int32_t)L_12-(int32_t)1)); goto IL_0054; } IL_0044: { int32_t L_13 = V_3; V_3 = ((int32_t)((int32_t)L_13+(int32_t)1)); } IL_0048: { int32_t L_14 = V_3; Transform_t284553113 * L_15 = V_2; NullCheck(L_15); int32_t L_16 = Transform_get_childCount_m2107810675(L_15, /*hidden argument*/NULL); if ((((int32_t)L_14) < ((int32_t)L_16))) { goto IL_0029; } } IL_0054: { int32_t L_17 = V_0; if ((((int32_t)L_17) >= ((int32_t)0))) { goto IL_005c; } } { return; } IL_005c: { int32_t L_18 = V_0; Dropdown_set_value_m2635023165(__this, L_18, /*hidden argument*/NULL); Dropdown_Hide_m2250183404(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown/<DelayedDestroyDropdownList>c__Iterator2::.ctor() extern "C" void U3CDelayedDestroyDropdownListU3Ec__Iterator2__ctor_m1282717409 (U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Object UnityEngine.UI.Dropdown/<DelayedDestroyDropdownList>c__Iterator2::System.Collections.Generic.IEnumerator<object>.get_Current() extern "C" Il2CppObject * U3CDelayedDestroyDropdownListU3Ec__Iterator2_System_Collections_Generic_IEnumeratorU3CobjectU3E_get_Current_m2519696603 (U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = __this->get_U24current_4(); return L_0; } } // System.Object UnityEngine.UI.Dropdown/<DelayedDestroyDropdownList>c__Iterator2::System.Collections.IEnumerator.get_Current() extern "C" Il2CppObject * U3CDelayedDestroyDropdownListU3Ec__Iterator2_System_Collections_IEnumerator_get_Current_m2793709167 (U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = __this->get_U24current_4(); return L_0; } } // System.Boolean UnityEngine.UI.Dropdown/<DelayedDestroyDropdownList>c__Iterator2::MoveNext() extern "C" bool U3CDelayedDestroyDropdownListU3Ec__Iterator2_MoveNext_m1977022453 (U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 * __this, const MethodInfo* method) { uint32_t V_0 = 0; bool V_1 = false; { int32_t L_0 = __this->get_U24PC_3(); V_0 = L_0; __this->set_U24PC_3((-1)); uint32_t L_1 = V_0; if (L_1 == 0) { goto IL_0021; } if (L_1 == 1) { goto IL_004b; } } { goto IL_0121; } IL_0021: { float L_2 = Time_get_realtimeSinceStartup_m2972554983(NULL /*static, unused*/, /*hidden argument*/NULL); float L_3 = __this->get_delay_0(); __this->set_U3CwaitTimeU3E__0_1(((float)((float)L_2+(float)L_3))); goto IL_004b; } IL_0038: { __this->set_U24current_4(NULL); __this->set_U24PC_3(1); goto IL_0123; } IL_004b: { float L_4 = Time_get_realtimeSinceStartup_m2972554983(NULL /*static, unused*/, /*hidden argument*/NULL); float L_5 = __this->get_U3CwaitTimeU3E__0_1(); if ((((float)L_4) < ((float)L_5))) { goto IL_0038; } } { __this->set_U3CiU3E__1_2(0); goto IL_00c7; } IL_0067: { Dropdown_t2916437562 * L_6 = __this->get_U3CU3Ef__this_6(); NullCheck(L_6); List_1_t2807805917 * L_7 = L_6->get_m_Items_26(); int32_t L_8 = __this->get_U3CiU3E__1_2(); NullCheck(L_7); DropdownItem_t2010846948 * L_9 = VirtFuncInvoker1< DropdownItem_t2010846948 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem>::get_Item(System.Int32) */, L_7, L_8); bool L_10 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_9, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_10) { goto IL_00a9; } } { Dropdown_t2916437562 * L_11 = __this->get_U3CU3Ef__this_6(); Dropdown_t2916437562 * L_12 = __this->get_U3CU3Ef__this_6(); NullCheck(L_12); List_1_t2807805917 * L_13 = L_12->get_m_Items_26(); int32_t L_14 = __this->get_U3CiU3E__1_2(); NullCheck(L_13); DropdownItem_t2010846948 * L_15 = VirtFuncInvoker1< DropdownItem_t2010846948 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem>::get_Item(System.Int32) */, L_13, L_14); NullCheck(L_11); VirtActionInvoker1< DropdownItem_t2010846948 * >::Invoke(49 /* System.Void UnityEngine.UI.Dropdown::DestroyItem(UnityEngine.UI.Dropdown/DropdownItem) */, L_11, L_15); } IL_00a9: { Dropdown_t2916437562 * L_16 = __this->get_U3CU3Ef__this_6(); NullCheck(L_16); List_1_t2807805917 * L_17 = L_16->get_m_Items_26(); NullCheck(L_17); VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem>::Clear() */, L_17); int32_t L_18 = __this->get_U3CiU3E__1_2(); __this->set_U3CiU3E__1_2(((int32_t)((int32_t)L_18+(int32_t)1))); } IL_00c7: { int32_t L_19 = __this->get_U3CiU3E__1_2(); Dropdown_t2916437562 * L_20 = __this->get_U3CU3Ef__this_6(); NullCheck(L_20); List_1_t2807805917 * L_21 = L_20->get_m_Items_26(); NullCheck(L_21); int32_t L_22 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/DropdownItem>::get_Count() */, L_21); if ((((int32_t)L_19) < ((int32_t)L_22))) { goto IL_0067; } } { Dropdown_t2916437562 * L_23 = __this->get_U3CU3Ef__this_6(); NullCheck(L_23); GameObject_t4012695102 * L_24 = L_23->get_m_Dropdown_24(); bool L_25 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_24, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_25) { goto IL_010e; } } { Dropdown_t2916437562 * L_26 = __this->get_U3CU3Ef__this_6(); Dropdown_t2916437562 * L_27 = __this->get_U3CU3Ef__this_6(); NullCheck(L_27); GameObject_t4012695102 * L_28 = L_27->get_m_Dropdown_24(); NullCheck(L_26); VirtActionInvoker1< GameObject_t4012695102 * >::Invoke(47 /* System.Void UnityEngine.UI.Dropdown::DestroyDropdownList(UnityEngine.GameObject) */, L_26, L_28); } IL_010e: { Dropdown_t2916437562 * L_29 = __this->get_U3CU3Ef__this_6(); NullCheck(L_29); L_29->set_m_Dropdown_24((GameObject_t4012695102 *)NULL); __this->set_U24PC_3((-1)); } IL_0121: { return (bool)0; } IL_0123: { return (bool)1; } // Dead block : IL_0125: ldloc.1 } // System.Void UnityEngine.UI.Dropdown/<DelayedDestroyDropdownList>c__Iterator2::Dispose() extern "C" void U3CDelayedDestroyDropdownListU3Ec__Iterator2_Dispose_m4229066462 (U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 * __this, const MethodInfo* method) { { __this->set_U24PC_3((-1)); return; } } // System.Void UnityEngine.UI.Dropdown/<DelayedDestroyDropdownList>c__Iterator2::Reset() extern Il2CppClass* NotSupportedException_t1374155497_il2cpp_TypeInfo_var; extern const uint32_t U3CDelayedDestroyDropdownListU3Ec__Iterator2_Reset_m3224117646_MetadataUsageId; extern "C" void U3CDelayedDestroyDropdownListU3Ec__Iterator2_Reset_m3224117646 (U3CDelayedDestroyDropdownListU3Ec__Iterator2_t1911489372 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (U3CDelayedDestroyDropdownListU3Ec__Iterator2_Reset_m3224117646_MetadataUsageId); s_Il2CppMethodIntialized = true; } { NotSupportedException_t1374155497 * L_0 = (NotSupportedException_t1374155497 *)il2cpp_codegen_object_new(NotSupportedException_t1374155497_il2cpp_TypeInfo_var); NotSupportedException__ctor_m149930845(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Void UnityEngine.UI.Dropdown/<Show>c__AnonStorey6::.ctor() extern "C" void U3CShowU3Ec__AnonStorey6__ctor_m2795061609 (U3CShowU3Ec__AnonStorey6_t3327131860 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown/<Show>c__AnonStorey6::<>m__2(System.Boolean) extern "C" void U3CShowU3Ec__AnonStorey6_U3CU3Em__2_m811212697 (U3CShowU3Ec__AnonStorey6_t3327131860 * __this, bool ___x0, const MethodInfo* method) { { Dropdown_t2916437562 * L_0 = __this->get_U3CU3Ef__this_1(); DropdownItem_t2010846948 * L_1 = __this->get_item_0(); NullCheck(L_1); Toggle_t1499417981 * L_2 = DropdownItem_get_toggle_m2842574180(L_1, /*hidden argument*/NULL); NullCheck(L_0); Dropdown_OnSelectItem_m2377815715(L_0, L_2, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown/DropdownEvent::.ctor() extern const MethodInfo* UnityEvent_1__ctor_m7858823_MethodInfo_var; extern const uint32_t DropdownEvent__ctor_m3364351936_MetadataUsageId; extern "C" void DropdownEvent__ctor_m3364351936 (DropdownEvent_t2203078889 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DropdownEvent__ctor_m3364351936_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UnityEvent_1__ctor_m7858823(__this, /*hidden argument*/UnityEvent_1__ctor_m7858823_MethodInfo_var); return; } } // System.Void UnityEngine.UI.Dropdown/DropdownItem::.ctor() extern "C" void DropdownItem__ctor_m653383513 (DropdownItem_t2010846948 * __this, const MethodInfo* method) { { MonoBehaviour__ctor_m2022291967(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.Text UnityEngine.UI.Dropdown/DropdownItem::get_text() extern "C" Text_t3286458198 * DropdownItem_get_text_m2361276100 (DropdownItem_t2010846948 * __this, const MethodInfo* method) { { Text_t3286458198 * L_0 = __this->get_m_Text_2(); return L_0; } } // System.Void UnityEngine.UI.Dropdown/DropdownItem::set_text(UnityEngine.UI.Text) extern "C" void DropdownItem_set_text_m2302793037 (DropdownItem_t2010846948 * __this, Text_t3286458198 * ___value0, const MethodInfo* method) { { Text_t3286458198 * L_0 = ___value0; __this->set_m_Text_2(L_0); return; } } // UnityEngine.UI.Image UnityEngine.UI.Dropdown/DropdownItem::get_image() extern "C" Image_t3354615620 * DropdownItem_get_image_m1361578890 (DropdownItem_t2010846948 * __this, const MethodInfo* method) { { Image_t3354615620 * L_0 = __this->get_m_Image_3(); return L_0; } } // System.Void UnityEngine.UI.Dropdown/DropdownItem::set_image(UnityEngine.UI.Image) extern "C" void DropdownItem_set_image_m97204957 (DropdownItem_t2010846948 * __this, Image_t3354615620 * ___value0, const MethodInfo* method) { { Image_t3354615620 * L_0 = ___value0; __this->set_m_Image_3(L_0); return; } } // UnityEngine.RectTransform UnityEngine.UI.Dropdown/DropdownItem::get_rectTransform() extern "C" RectTransform_t3317474837 * DropdownItem_get_rectTransform_m1644273588 (DropdownItem_t2010846948 * __this, const MethodInfo* method) { { RectTransform_t3317474837 * L_0 = __this->get_m_RectTransform_4(); return L_0; } } // System.Void UnityEngine.UI.Dropdown/DropdownItem::set_rectTransform(UnityEngine.RectTransform) extern "C" void DropdownItem_set_rectTransform_m2348579039 (DropdownItem_t2010846948 * __this, RectTransform_t3317474837 * ___value0, const MethodInfo* method) { { RectTransform_t3317474837 * L_0 = ___value0; __this->set_m_RectTransform_4(L_0); return; } } // UnityEngine.UI.Toggle UnityEngine.UI.Dropdown/DropdownItem::get_toggle() extern "C" Toggle_t1499417981 * DropdownItem_get_toggle_m2842574180 (DropdownItem_t2010846948 * __this, const MethodInfo* method) { { Toggle_t1499417981 * L_0 = __this->get_m_Toggle_5(); return L_0; } } // System.Void UnityEngine.UI.Dropdown/DropdownItem::set_toggle(UnityEngine.UI.Toggle) extern "C" void DropdownItem_set_toggle_m4246626175 (DropdownItem_t2010846948 * __this, Toggle_t1499417981 * ___value0, const MethodInfo* method) { { Toggle_t1499417981 * L_0 = ___value0; __this->set_m_Toggle_5(L_0); return; } } // System.Void UnityEngine.UI.Dropdown/DropdownItem::OnPointerEnter(UnityEngine.EventSystems.PointerEventData) extern Il2CppClass* EventSystem_t409518532_il2cpp_TypeInfo_var; extern const uint32_t DropdownItem_OnPointerEnter_m2208531769_MetadataUsageId; extern "C" void DropdownItem_OnPointerEnter_m2208531769 (DropdownItem_t2010846948 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DropdownItem_OnPointerEnter_m2208531769_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); EventSystem_t409518532 * L_0 = EventSystem_get_current_m3483537871(NULL /*static, unused*/, /*hidden argument*/NULL); GameObject_t4012695102 * L_1 = Component_get_gameObject_m1170635899(__this, /*hidden argument*/NULL); NullCheck(L_0); EventSystem_SetSelectedGameObject_m1869236832(L_0, L_1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown/DropdownItem::OnCancel(UnityEngine.EventSystems.BaseEventData) extern const MethodInfo* Component_GetComponentInParent_TisDropdown_t2916437562_m286421177_MethodInfo_var; extern const uint32_t DropdownItem_OnCancel_m3886441502_MetadataUsageId; extern "C" void DropdownItem_OnCancel_m3886441502 (DropdownItem_t2010846948 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (DropdownItem_OnCancel_m3886441502_MetadataUsageId); s_Il2CppMethodIntialized = true; } Dropdown_t2916437562 * V_0 = NULL; { Dropdown_t2916437562 * L_0 = Component_GetComponentInParent_TisDropdown_t2916437562_m286421177(__this, /*hidden argument*/Component_GetComponentInParent_TisDropdown_t2916437562_m286421177_MethodInfo_var); V_0 = L_0; Dropdown_t2916437562 * L_1 = V_0; bool L_2 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_0018; } } { Dropdown_t2916437562 * L_3 = V_0; NullCheck(L_3); Dropdown_Hide_m2250183404(L_3, /*hidden argument*/NULL); } IL_0018: { return; } } // System.Void UnityEngine.UI.Dropdown/OptionData::.ctor() extern "C" void OptionData__ctor_m2550995262 (OptionData_t3366553055 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown/OptionData::.ctor(System.String) extern "C" void OptionData__ctor_m3621517956 (OptionData_t3366553055 * __this, String_t* ___text0, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); String_t* L_0 = ___text0; OptionData_set_text_m704016114(__this, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown/OptionData::.ctor(UnityEngine.Sprite) extern "C" void OptionData__ctor_m715763394 (OptionData_t3366553055 * __this, Sprite_t4006040370 * ___image0, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); Sprite_t4006040370 * L_0 = ___image0; OptionData_set_image_m4214652734(__this, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Dropdown/OptionData::.ctor(System.String,UnityEngine.Sprite) extern "C" void OptionData__ctor_m2001511174 (OptionData_t3366553055 * __this, String_t* ___text0, Sprite_t4006040370 * ___image1, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); String_t* L_0 = ___text0; OptionData_set_text_m704016114(__this, L_0, /*hidden argument*/NULL); Sprite_t4006040370 * L_1 = ___image1; OptionData_set_image_m4214652734(__this, L_1, /*hidden argument*/NULL); return; } } // System.String UnityEngine.UI.Dropdown/OptionData::get_text() extern "C" String_t* OptionData_get_text_m2592726207 (OptionData_t3366553055 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_m_Text_0(); return L_0; } } // System.Void UnityEngine.UI.Dropdown/OptionData::set_text(System.String) extern "C" void OptionData_set_text_m704016114 (OptionData_t3366553055 * __this, String_t* ___value0, const MethodInfo* method) { { String_t* L_0 = ___value0; __this->set_m_Text_0(L_0); return; } } // UnityEngine.Sprite UnityEngine.UI.Dropdown/OptionData::get_image() extern "C" Sprite_t4006040370 * OptionData_get_image_m1245765107 (OptionData_t3366553055 * __this, const MethodInfo* method) { { Sprite_t4006040370 * L_0 = __this->get_m_Image_1(); return L_0; } } // System.Void UnityEngine.UI.Dropdown/OptionData::set_image(UnityEngine.Sprite) extern "C" void OptionData_set_image_m4214652734 (OptionData_t3366553055 * __this, Sprite_t4006040370 * ___value0, const MethodInfo* method) { { Sprite_t4006040370 * L_0 = ___value0; __this->set_m_Image_1(L_0); return; } } // System.Void UnityEngine.UI.Dropdown/OptionDataList::.ctor() extern Il2CppClass* List_1_t4163512024_il2cpp_TypeInfo_var; extern const MethodInfo* List_1__ctor_m1043861288_MethodInfo_var; extern const uint32_t OptionDataList__ctor_m4183200960_MetadataUsageId; extern "C" void OptionDataList__ctor_m4183200960 (OptionDataList_t2865341213 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (OptionDataList__ctor_m4183200960_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); List_1_t4163512024 * L_0 = (List_1_t4163512024 *)il2cpp_codegen_object_new(List_1_t4163512024_il2cpp_TypeInfo_var); List_1__ctor_m1043861288(L_0, /*hidden argument*/List_1__ctor_m1043861288_MethodInfo_var); OptionDataList_set_options_m2193073293(__this, L_0, /*hidden argument*/NULL); return; } } // System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData> UnityEngine.UI.Dropdown/OptionDataList::get_options() extern "C" List_1_t4163512024 * OptionDataList_get_options_m397502342 (OptionDataList_t2865341213 * __this, const MethodInfo* method) { { List_1_t4163512024 * L_0 = __this->get_m_Options_0(); return L_0; } } // System.Void UnityEngine.UI.Dropdown/OptionDataList::set_options(System.Collections.Generic.List`1<UnityEngine.UI.Dropdown/OptionData>) extern "C" void OptionDataList_set_options_m2193073293 (OptionDataList_t2865341213 * __this, List_1_t4163512024 * ___value0, const MethodInfo* method) { { List_1_t4163512024 * L_0 = ___value0; __this->set_m_Options_0(L_0); return; } } // System.Void UnityEngine.UI.FontData::.ctor() extern "C" void FontData__ctor_m2630121554 (FontData_t3713645250 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.FontData::UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize() extern "C" void FontData_UnityEngine_ISerializationCallbackReceiver_OnBeforeSerialize_m3538586040 (FontData_t3713645250 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.UI.FontData::UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize() extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t FontData_UnityEngine_ISerializationCallbackReceiver_OnAfterDeserialize_m2785911854_MetadataUsageId; extern "C" void FontData_UnityEngine_ISerializationCallbackReceiver_OnAfterDeserialize_m2785911854 (FontData_t3713645250 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (FontData_UnityEngine_ISerializationCallbackReceiver_OnAfterDeserialize_m2785911854_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t L_0 = __this->get_m_FontSize_1(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_1 = Mathf_Clamp_m510460741(NULL /*static, unused*/, L_0, 0, ((int32_t)300), /*hidden argument*/NULL); __this->set_m_FontSize_1(L_1); int32_t L_2 = __this->get_m_MinSize_4(); int32_t L_3 = __this->get_m_FontSize_1(); int32_t L_4 = Mathf_Clamp_m510460741(NULL /*static, unused*/, L_2, 0, L_3, /*hidden argument*/NULL); __this->set_m_MinSize_4(L_4); int32_t L_5 = __this->get_m_MaxSize_5(); int32_t L_6 = __this->get_m_FontSize_1(); int32_t L_7 = Mathf_Clamp_m510460741(NULL /*static, unused*/, L_5, L_6, ((int32_t)300), /*hidden argument*/NULL); __this->set_m_MaxSize_5(L_7); return; } } // UnityEngine.UI.FontData UnityEngine.UI.FontData::get_defaultFontData() extern Il2CppClass* FontData_t3713645250_il2cpp_TypeInfo_var; extern const uint32_t FontData_get_defaultFontData_m3606420120_MetadataUsageId; extern "C" FontData_t3713645250 * FontData_get_defaultFontData_m3606420120 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (FontData_get_defaultFontData_m3606420120_MetadataUsageId); s_Il2CppMethodIntialized = true; } FontData_t3713645250 * V_0 = NULL; FontData_t3713645250 * V_1 = NULL; { FontData_t3713645250 * L_0 = (FontData_t3713645250 *)il2cpp_codegen_object_new(FontData_t3713645250_il2cpp_TypeInfo_var); FontData__ctor_m2630121554(L_0, /*hidden argument*/NULL); V_1 = L_0; FontData_t3713645250 * L_1 = V_1; NullCheck(L_1); L_1->set_m_FontSize_1(((int32_t)14)); FontData_t3713645250 * L_2 = V_1; NullCheck(L_2); L_2->set_m_LineSpacing_11((1.0f)); FontData_t3713645250 * L_3 = V_1; NullCheck(L_3); L_3->set_m_FontStyle_2(0); FontData_t3713645250 * L_4 = V_1; NullCheck(L_4); L_4->set_m_BestFit_3((bool)0); FontData_t3713645250 * L_5 = V_1; NullCheck(L_5); L_5->set_m_MinSize_4(((int32_t)10)); FontData_t3713645250 * L_6 = V_1; NullCheck(L_6); L_6->set_m_MaxSize_5(((int32_t)40)); FontData_t3713645250 * L_7 = V_1; NullCheck(L_7); L_7->set_m_Alignment_6(0); FontData_t3713645250 * L_8 = V_1; NullCheck(L_8); L_8->set_m_HorizontalOverflow_9(0); FontData_t3713645250 * L_9 = V_1; NullCheck(L_9); L_9->set_m_VerticalOverflow_10(0); FontData_t3713645250 * L_10 = V_1; NullCheck(L_10); L_10->set_m_RichText_8((bool)1); FontData_t3713645250 * L_11 = V_1; NullCheck(L_11); L_11->set_m_AlignByGeometry_7((bool)0); FontData_t3713645250 * L_12 = V_1; V_0 = L_12; FontData_t3713645250 * L_13 = V_0; return L_13; } } // UnityEngine.Font UnityEngine.UI.FontData::get_font() extern "C" Font_t1525081276 * FontData_get_font_m3285096249 (FontData_t3713645250 * __this, const MethodInfo* method) { { Font_t1525081276 * L_0 = __this->get_m_Font_0(); return L_0; } } // System.Void UnityEngine.UI.FontData::set_font(UnityEngine.Font) extern "C" void FontData_set_font_m504888792 (FontData_t3713645250 * __this, Font_t1525081276 * ___value0, const MethodInfo* method) { { Font_t1525081276 * L_0 = ___value0; __this->set_m_Font_0(L_0); return; } } // System.Int32 UnityEngine.UI.FontData::get_fontSize() extern "C" int32_t FontData_get_fontSize_m146058531 (FontData_t3713645250 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_FontSize_1(); return L_0; } } // System.Void UnityEngine.UI.FontData::set_fontSize(System.Int32) extern "C" void FontData_set_fontSize_m539119952 (FontData_t3713645250 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_FontSize_1(L_0); return; } } // UnityEngine.FontStyle UnityEngine.UI.FontData::get_fontStyle() extern "C" int32_t FontData_get_fontStyle_m2936188273 (FontData_t3713645250 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_FontStyle_2(); return L_0; } } // System.Void UnityEngine.UI.FontData::set_fontStyle(UnityEngine.FontStyle) extern "C" void FontData_set_fontStyle_m3987465618 (FontData_t3713645250 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_FontStyle_2(L_0); return; } } // System.Boolean UnityEngine.UI.FontData::get_bestFit() extern "C" bool FontData_get_bestFit_m4181968066 (FontData_t3713645250 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_BestFit_3(); return L_0; } } // System.Void UnityEngine.UI.FontData::set_bestFit(System.Boolean) extern "C" void FontData_set_bestFit_m408210551 (FontData_t3713645250 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_BestFit_3(L_0); return; } } // System.Int32 UnityEngine.UI.FontData::get_minSize() extern "C" int32_t FontData_get_minSize_m3681174594 (FontData_t3713645250 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_MinSize_4(); return L_0; } } // System.Void UnityEngine.UI.FontData::set_minSize(System.Int32) extern "C" void FontData_set_minSize_m3139125175 (FontData_t3713645250 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_MinSize_4(L_0); return; } } // System.Int32 UnityEngine.UI.FontData::get_maxSize() extern "C" int32_t FontData_get_maxSize_m2908696020 (FontData_t3713645250 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_MaxSize_5(); return L_0; } } // System.Void UnityEngine.UI.FontData::set_maxSize(System.Int32) extern "C" void FontData_set_maxSize_m2259967561 (FontData_t3713645250 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_MaxSize_5(L_0); return; } } // UnityEngine.TextAnchor UnityEngine.UI.FontData::get_alignment() extern "C" int32_t FontData_get_alignment_m3864278344 (FontData_t3713645250 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_Alignment_6(); return L_0; } } // System.Void UnityEngine.UI.FontData::set_alignment(UnityEngine.TextAnchor) extern "C" void FontData_set_alignment_m4148907005 (FontData_t3713645250 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_Alignment_6(L_0); return; } } // System.Boolean UnityEngine.UI.FontData::get_alignByGeometry() extern "C" bool FontData_get_alignByGeometry_m1074013123 (FontData_t3713645250 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_AlignByGeometry_7(); return L_0; } } // System.Void UnityEngine.UI.FontData::set_alignByGeometry(System.Boolean) extern "C" void FontData_set_alignByGeometry_m1124841400 (FontData_t3713645250 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_AlignByGeometry_7(L_0); return; } } // System.Boolean UnityEngine.UI.FontData::get_richText() extern "C" bool FontData_get_richText_m3819861494 (FontData_t3713645250 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_RichText_8(); return L_0; } } // System.Void UnityEngine.UI.FontData::set_richText(System.Boolean) extern "C" void FontData_set_richText_m2399891183 (FontData_t3713645250 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_RichText_8(L_0); return; } } // UnityEngine.HorizontalWrapMode UnityEngine.UI.FontData::get_horizontalOverflow() extern "C" int32_t FontData_get_horizontalOverflow_m1371187570 (FontData_t3713645250 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_HorizontalOverflow_9(); return L_0; } } // System.Void UnityEngine.UI.FontData::set_horizontalOverflow(UnityEngine.HorizontalWrapMode) extern "C" void FontData_set_horizontalOverflow_m1187704845 (FontData_t3713645250 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_HorizontalOverflow_9(L_0); return; } } // UnityEngine.VerticalWrapMode UnityEngine.UI.FontData::get_verticalOverflow() extern "C" int32_t FontData_get_verticalOverflow_m1971090326 (FontData_t3713645250 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_VerticalOverflow_10(); return L_0; } } // System.Void UnityEngine.UI.FontData::set_verticalOverflow(UnityEngine.VerticalWrapMode) extern "C" void FontData_set_verticalOverflow_m1743547277 (FontData_t3713645250 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_VerticalOverflow_10(L_0); return; } } // System.Single UnityEngine.UI.FontData::get_lineSpacing() extern "C" float FontData_get_lineSpacing_m3558513826 (FontData_t3713645250 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_LineSpacing_11(); return L_0; } } // System.Void UnityEngine.UI.FontData::set_lineSpacing(System.Single) extern "C" void FontData_set_lineSpacing_m3483835721 (FontData_t3713645250 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_LineSpacing_11(L_0); return; } } // System.Void UnityEngine.UI.FontUpdateTracker::.cctor() extern Il2CppClass* Dictionary_2_t1956621361_il2cpp_TypeInfo_var; extern Il2CppClass* FontUpdateTracker_t738866185_il2cpp_TypeInfo_var; extern const MethodInfo* Dictionary_2__ctor_m138752167_MethodInfo_var; extern const uint32_t FontUpdateTracker__cctor_m1924252658_MetadataUsageId; extern "C" void FontUpdateTracker__cctor_m1924252658 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (FontUpdateTracker__cctor_m1924252658_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Dictionary_2_t1956621361 * L_0 = (Dictionary_2_t1956621361 *)il2cpp_codegen_object_new(Dictionary_2_t1956621361_il2cpp_TypeInfo_var); Dictionary_2__ctor_m138752167(L_0, /*hidden argument*/Dictionary_2__ctor_m138752167_MethodInfo_var); ((FontUpdateTracker_t738866185_StaticFields*)FontUpdateTracker_t738866185_il2cpp_TypeInfo_var->static_fields)->set_m_Tracked_0(L_0); return; } } // System.Void UnityEngine.UI.FontUpdateTracker::TrackText(UnityEngine.UI.Text) extern Il2CppClass* FontUpdateTracker_t738866185_il2cpp_TypeInfo_var; extern Il2CppClass* Action_1_t1673533981_il2cpp_TypeInfo_var; extern Il2CppClass* List_1_t4083417167_il2cpp_TypeInfo_var; extern const MethodInfo* FontUpdateTracker_RebuildForFont_m4050910816_MethodInfo_var; extern const MethodInfo* Action_1__ctor_m1910600726_MethodInfo_var; extern const MethodInfo* List_1__ctor_m961378540_MethodInfo_var; extern const uint32_t FontUpdateTracker_TrackText_m1576315537_MetadataUsageId; extern "C" void FontUpdateTracker_TrackText_m1576315537 (Il2CppObject * __this /* static, unused */, Text_t3286458198 * ___t0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (FontUpdateTracker_TrackText_m1576315537_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t4083417167 * V_0 = NULL; { Text_t3286458198 * L_0 = ___t0; NullCheck(L_0); Font_t1525081276 * L_1 = Text_get_font_m2437753165(L_0, /*hidden argument*/NULL); bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_1, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_0012; } } { return; } IL_0012: { IL2CPP_RUNTIME_CLASS_INIT(FontUpdateTracker_t738866185_il2cpp_TypeInfo_var); Dictionary_2_t1956621361 * L_3 = ((FontUpdateTracker_t738866185_StaticFields*)FontUpdateTracker_t738866185_il2cpp_TypeInfo_var->static_fields)->get_m_Tracked_0(); Text_t3286458198 * L_4 = ___t0; NullCheck(L_4); Font_t1525081276 * L_5 = Text_get_font_m2437753165(L_4, /*hidden argument*/NULL); NullCheck(L_3); VirtFuncInvoker2< bool, Font_t1525081276 *, List_1_t4083417167 ** >::Invoke(32 /* System.Boolean System.Collections.Generic.Dictionary`2<UnityEngine.Font,System.Collections.Generic.List`1<UnityEngine.UI.Text>>::TryGetValue(!0,!1&) */, L_3, L_5, (&V_0)); List_1_t4083417167 * L_6 = V_0; if (L_6) { goto IL_0062; } } { IL2CPP_RUNTIME_CLASS_INIT(FontUpdateTracker_t738866185_il2cpp_TypeInfo_var); Dictionary_2_t1956621361 * L_7 = ((FontUpdateTracker_t738866185_StaticFields*)FontUpdateTracker_t738866185_il2cpp_TypeInfo_var->static_fields)->get_m_Tracked_0(); NullCheck(L_7); int32_t L_8 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 System.Collections.Generic.Dictionary`2<UnityEngine.Font,System.Collections.Generic.List`1<UnityEngine.UI.Text>>::get_Count() */, L_7); if (L_8) { goto IL_004b; } } { IntPtr_t L_9; L_9.set_m_value_0((void*)(void*)FontUpdateTracker_RebuildForFont_m4050910816_MethodInfo_var); Action_1_t1673533981 * L_10 = (Action_1_t1673533981 *)il2cpp_codegen_object_new(Action_1_t1673533981_il2cpp_TypeInfo_var); Action_1__ctor_m1910600726(L_10, NULL, L_9, /*hidden argument*/Action_1__ctor_m1910600726_MethodInfo_var); Font_add_textureRebuilt_m3323945916(NULL /*static, unused*/, L_10, /*hidden argument*/NULL); } IL_004b: { List_1_t4083417167 * L_11 = (List_1_t4083417167 *)il2cpp_codegen_object_new(List_1_t4083417167_il2cpp_TypeInfo_var); List_1__ctor_m961378540(L_11, /*hidden argument*/List_1__ctor_m961378540_MethodInfo_var); V_0 = L_11; IL2CPP_RUNTIME_CLASS_INIT(FontUpdateTracker_t738866185_il2cpp_TypeInfo_var); Dictionary_2_t1956621361 * L_12 = ((FontUpdateTracker_t738866185_StaticFields*)FontUpdateTracker_t738866185_il2cpp_TypeInfo_var->static_fields)->get_m_Tracked_0(); Text_t3286458198 * L_13 = ___t0; NullCheck(L_13); Font_t1525081276 * L_14 = Text_get_font_m2437753165(L_13, /*hidden argument*/NULL); List_1_t4083417167 * L_15 = V_0; NullCheck(L_12); VirtActionInvoker2< Font_t1525081276 *, List_1_t4083417167 * >::Invoke(27 /* System.Void System.Collections.Generic.Dictionary`2<UnityEngine.Font,System.Collections.Generic.List`1<UnityEngine.UI.Text>>::Add(!0,!1) */, L_12, L_14, L_15); } IL_0062: { List_1_t4083417167 * L_16 = V_0; Text_t3286458198 * L_17 = ___t0; NullCheck(L_16); bool L_18 = VirtFuncInvoker1< bool, Text_t3286458198 * >::Invoke(24 /* System.Boolean System.Collections.Generic.List`1<UnityEngine.UI.Text>::Contains(!0) */, L_16, L_17); if (L_18) { goto IL_0075; } } { List_1_t4083417167 * L_19 = V_0; Text_t3286458198 * L_20 = ___t0; NullCheck(L_19); VirtActionInvoker1< Text_t3286458198 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Text>::Add(!0) */, L_19, L_20); } IL_0075: { return; } } // System.Void UnityEngine.UI.FontUpdateTracker::RebuildForFont(UnityEngine.Font) extern Il2CppClass* FontUpdateTracker_t738866185_il2cpp_TypeInfo_var; extern const uint32_t FontUpdateTracker_RebuildForFont_m4050910816_MetadataUsageId; extern "C" void FontUpdateTracker_RebuildForFont_m4050910816 (Il2CppObject * __this /* static, unused */, Font_t1525081276 * ___f0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (FontUpdateTracker_RebuildForFont_m4050910816_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t4083417167 * V_0 = NULL; int32_t V_1 = 0; { IL2CPP_RUNTIME_CLASS_INIT(FontUpdateTracker_t738866185_il2cpp_TypeInfo_var); Dictionary_2_t1956621361 * L_0 = ((FontUpdateTracker_t738866185_StaticFields*)FontUpdateTracker_t738866185_il2cpp_TypeInfo_var->static_fields)->get_m_Tracked_0(); Font_t1525081276 * L_1 = ___f0; NullCheck(L_0); VirtFuncInvoker2< bool, Font_t1525081276 *, List_1_t4083417167 ** >::Invoke(32 /* System.Boolean System.Collections.Generic.Dictionary`2<UnityEngine.Font,System.Collections.Generic.List`1<UnityEngine.UI.Text>>::TryGetValue(!0,!1&) */, L_0, L_1, (&V_0)); List_1_t4083417167 * L_2 = V_0; if (L_2) { goto IL_0015; } } { return; } IL_0015: { V_1 = 0; goto IL_002c; } IL_001c: { List_1_t4083417167 * L_3 = V_0; int32_t L_4 = V_1; NullCheck(L_3); Text_t3286458198 * L_5 = VirtFuncInvoker1< Text_t3286458198 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UI.Text>::get_Item(System.Int32) */, L_3, L_4); NullCheck(L_5); Text_FontTextureChanged_m740758478(L_5, /*hidden argument*/NULL); int32_t L_6 = V_1; V_1 = ((int32_t)((int32_t)L_6+(int32_t)1)); } IL_002c: { int32_t L_7 = V_1; List_1_t4083417167 * L_8 = V_0; NullCheck(L_8); int32_t L_9 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Text>::get_Count() */, L_8); if ((((int32_t)L_7) < ((int32_t)L_9))) { goto IL_001c; } } { return; } } // System.Void UnityEngine.UI.FontUpdateTracker::UntrackText(UnityEngine.UI.Text) extern Il2CppClass* FontUpdateTracker_t738866185_il2cpp_TypeInfo_var; extern Il2CppClass* Action_1_t1673533981_il2cpp_TypeInfo_var; extern const MethodInfo* FontUpdateTracker_RebuildForFont_m4050910816_MethodInfo_var; extern const MethodInfo* Action_1__ctor_m1910600726_MethodInfo_var; extern const uint32_t FontUpdateTracker_UntrackText_m1952028010_MetadataUsageId; extern "C" void FontUpdateTracker_UntrackText_m1952028010 (Il2CppObject * __this /* static, unused */, Text_t3286458198 * ___t0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (FontUpdateTracker_UntrackText_m1952028010_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t4083417167 * V_0 = NULL; { Text_t3286458198 * L_0 = ___t0; NullCheck(L_0); Font_t1525081276 * L_1 = Text_get_font_m2437753165(L_0, /*hidden argument*/NULL); bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_1, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_0012; } } { return; } IL_0012: { IL2CPP_RUNTIME_CLASS_INIT(FontUpdateTracker_t738866185_il2cpp_TypeInfo_var); Dictionary_2_t1956621361 * L_3 = ((FontUpdateTracker_t738866185_StaticFields*)FontUpdateTracker_t738866185_il2cpp_TypeInfo_var->static_fields)->get_m_Tracked_0(); Text_t3286458198 * L_4 = ___t0; NullCheck(L_4); Font_t1525081276 * L_5 = Text_get_font_m2437753165(L_4, /*hidden argument*/NULL); NullCheck(L_3); VirtFuncInvoker2< bool, Font_t1525081276 *, List_1_t4083417167 ** >::Invoke(32 /* System.Boolean System.Collections.Generic.Dictionary`2<UnityEngine.Font,System.Collections.Generic.List`1<UnityEngine.UI.Text>>::TryGetValue(!0,!1&) */, L_3, L_5, (&V_0)); List_1_t4083417167 * L_6 = V_0; if (L_6) { goto IL_002c; } } { return; } IL_002c: { List_1_t4083417167 * L_7 = V_0; Text_t3286458198 * L_8 = ___t0; NullCheck(L_7); VirtFuncInvoker1< bool, Text_t3286458198 * >::Invoke(26 /* System.Boolean System.Collections.Generic.List`1<UnityEngine.UI.Text>::Remove(!0) */, L_7, L_8); List_1_t4083417167 * L_9 = V_0; NullCheck(L_9); int32_t L_10 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Text>::get_Count() */, L_9); if (L_10) { goto IL_0070; } } { IL2CPP_RUNTIME_CLASS_INIT(FontUpdateTracker_t738866185_il2cpp_TypeInfo_var); Dictionary_2_t1956621361 * L_11 = ((FontUpdateTracker_t738866185_StaticFields*)FontUpdateTracker_t738866185_il2cpp_TypeInfo_var->static_fields)->get_m_Tracked_0(); Text_t3286458198 * L_12 = ___t0; NullCheck(L_12); Font_t1525081276 * L_13 = Text_get_font_m2437753165(L_12, /*hidden argument*/NULL); NullCheck(L_11); VirtFuncInvoker1< bool, Font_t1525081276 * >::Invoke(31 /* System.Boolean System.Collections.Generic.Dictionary`2<UnityEngine.Font,System.Collections.Generic.List`1<UnityEngine.UI.Text>>::Remove(!0) */, L_11, L_13); Dictionary_2_t1956621361 * L_14 = ((FontUpdateTracker_t738866185_StaticFields*)FontUpdateTracker_t738866185_il2cpp_TypeInfo_var->static_fields)->get_m_Tracked_0(); NullCheck(L_14); int32_t L_15 = VirtFuncInvoker0< int32_t >::Invoke(10 /* System.Int32 System.Collections.Generic.Dictionary`2<UnityEngine.Font,System.Collections.Generic.List`1<UnityEngine.UI.Text>>::get_Count() */, L_14); if (L_15) { goto IL_0070; } } { IntPtr_t L_16; L_16.set_m_value_0((void*)(void*)FontUpdateTracker_RebuildForFont_m4050910816_MethodInfo_var); Action_1_t1673533981 * L_17 = (Action_1_t1673533981 *)il2cpp_codegen_object_new(Action_1_t1673533981_il2cpp_TypeInfo_var); Action_1__ctor_m1910600726(L_17, NULL, L_16, /*hidden argument*/Action_1__ctor_m1910600726_MethodInfo_var); Font_remove_textureRebuilt_m2804643593(NULL /*static, unused*/, L_17, /*hidden argument*/NULL); } IL_0070: { return; } } // System.Void UnityEngine.UI.Graphic::.ctor() extern Il2CppClass* TweenRunner_1_t1434350349_il2cpp_TypeInfo_var; extern const MethodInfo* TweenRunner_1__ctor_m3171479704_MethodInfo_var; extern const MethodInfo* TweenRunner_1_Init_m3753968659_MethodInfo_var; extern const uint32_t Graphic__ctor_m4066569555_MetadataUsageId; extern "C" void Graphic__ctor_m4066569555 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic__ctor_m4066569555_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Color_t1588175760 L_0 = Color_get_white_m3038282331(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_m_Color_5(L_0); __this->set_m_RaycastTarget_6((bool)1); UIBehaviour__ctor_m1261553468(__this, /*hidden argument*/NULL); TweenRunner_1_t1434350349 * L_1 = __this->get_m_ColorTweenRunner_17(); if (L_1) { goto IL_002e; } } { TweenRunner_1_t1434350349 * L_2 = (TweenRunner_1_t1434350349 *)il2cpp_codegen_object_new(TweenRunner_1_t1434350349_il2cpp_TypeInfo_var); TweenRunner_1__ctor_m3171479704(L_2, /*hidden argument*/TweenRunner_1__ctor_m3171479704_MethodInfo_var); __this->set_m_ColorTweenRunner_17(L_2); } IL_002e: { TweenRunner_1_t1434350349 * L_3 = __this->get_m_ColorTweenRunner_17(); NullCheck(L_3); TweenRunner_1_Init_m3753968659(L_3, __this, /*hidden argument*/TweenRunner_1_Init_m3753968659_MethodInfo_var); Graphic_set_useLegacyMeshGeneration_m693817504(__this, (bool)1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Graphic::.cctor() extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern Il2CppClass* VertexHelper_t1471929499_il2cpp_TypeInfo_var; extern const uint32_t Graphic__cctor_m1027508410_MetadataUsageId; extern "C" void Graphic__cctor_m1027508410 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic__cctor_m1027508410_MetadataUsageId); s_Il2CppMethodIntialized = true; } { ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->set_s_DefaultUI_2((Material_t1886596500 *)NULL); ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->set_s_WhiteTexture_3((Texture2D_t2509538522 *)NULL); VertexHelper_t1471929499 * L_0 = (VertexHelper_t1471929499 *)il2cpp_codegen_object_new(VertexHelper_t1471929499_il2cpp_TypeInfo_var); VertexHelper__ctor_m3006260889(L_0, /*hidden argument*/NULL); ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->set_s_VertexHelper_16(L_0); return; } } // UnityEngine.Material UnityEngine.UI.Graphic::get_defaultGraphicMaterial() extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern const uint32_t Graphic_get_defaultGraphicMaterial_m456140641_MetadataUsageId; extern "C" Material_t1886596500 * Graphic_get_defaultGraphicMaterial_m456140641 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_get_defaultGraphicMaterial_m456140641_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Material_t1886596500 * L_0 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultUI_2(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001a; } } { Material_t1886596500 * L_2 = Canvas_GetDefaultCanvasMaterial_m1655363178(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->set_s_DefaultUI_2(L_2); } IL_001a: { IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Material_t1886596500 * L_3 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultUI_2(); return L_3; } } // UnityEngine.Color UnityEngine.UI.Graphic::get_color() extern "C" Color_t1588175760 Graphic_get_color_m2048831972 (Graphic_t933884113 * __this, const MethodInfo* method) { { Color_t1588175760 L_0 = __this->get_m_Color_5(); return L_0; } } // System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) extern "C" void Graphic_set_color_m1311501487 (Graphic_t933884113 * __this, Color_t1588175760 ___value0, const MethodInfo* method) { { Color_t1588175760 * L_0 = __this->get_address_of_m_Color_5(); Color_t1588175760 L_1 = ___value0; bool L_2 = SetPropertyUtility_SetColor_m4210708935(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_0017; } } { VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this); } IL_0017: { return; } } // System.Boolean UnityEngine.UI.Graphic::get_raycastTarget() extern "C" bool Graphic_get_raycastTarget_m3436649332 (Graphic_t933884113 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_RaycastTarget_6(); return L_0; } } // System.Void UnityEngine.UI.Graphic::set_raycastTarget(System.Boolean) extern "C" void Graphic_set_raycastTarget_m639541381 (Graphic_t933884113 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_RaycastTarget_6(L_0); return; } } // System.Boolean UnityEngine.UI.Graphic::get_useLegacyMeshGeneration() extern "C" bool Graphic_get_useLegacyMeshGeneration_m1330224975 (Graphic_t933884113 * __this, const MethodInfo* method) { { bool L_0 = __this->get_U3CuseLegacyMeshGenerationU3Ek__BackingField_18(); return L_0; } } // System.Void UnityEngine.UI.Graphic::set_useLegacyMeshGeneration(System.Boolean) extern "C" void Graphic_set_useLegacyMeshGeneration_m693817504 (Graphic_t933884113 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_U3CuseLegacyMeshGenerationU3Ek__BackingField_18(L_0); return; } } // System.Void UnityEngine.UI.Graphic::SetAllDirty() extern "C" void Graphic_SetAllDirty_m2074784484 (Graphic_t933884113 * __this, const MethodInfo* method) { { VirtActionInvoker0::Invoke(22 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this); VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this); VirtActionInvoker0::Invoke(24 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, __this); return; } } // System.Void UnityEngine.UI.Graphic::SetLayoutDirty() extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const uint32_t Graphic_SetLayoutDirty_m2165278999_MetadataUsageId; extern "C" void Graphic_SetLayoutDirty_m2165278999 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_SetLayoutDirty_m2165278999_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (L_0) { goto IL_000c; } } { return; } IL_000c: { RectTransform_t3317474837 * L_1 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_MarkLayoutForRebuild_m901621521(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); UnityAction_t909267611 * L_2 = __this->get_m_OnDirtyLayoutCallback_12(); if (!L_2) { goto IL_002d; } } { UnityAction_t909267611 * L_3 = __this->get_m_OnDirtyLayoutCallback_12(); NullCheck(L_3); UnityAction_Invoke_m1979593925(L_3, /*hidden argument*/NULL); } IL_002d: { return; } } // System.Void UnityEngine.UI.Graphic::SetVerticesDirty() extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t Graphic_SetVerticesDirty_m2313177576_MetadataUsageId; extern "C" void Graphic_SetVerticesDirty_m2313177576 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_SetVerticesDirty_m2313177576_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (L_0) { goto IL_000c; } } { return; } IL_000c: { __this->set_m_VertsDirty_10((bool)1); IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_RegisterCanvasElementForGraphicRebuild_m1487849090(NULL /*static, unused*/, __this, /*hidden argument*/NULL); UnityAction_t909267611 * L_1 = __this->get_m_OnDirtyVertsCallback_13(); if (!L_1) { goto IL_002f; } } { UnityAction_t909267611 * L_2 = __this->get_m_OnDirtyVertsCallback_13(); NullCheck(L_2); UnityAction_Invoke_m1979593925(L_2, /*hidden argument*/NULL); } IL_002f: { return; } } // System.Void UnityEngine.UI.Graphic::SetMaterialDirty() extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t Graphic_SetMaterialDirty_m282639610_MetadataUsageId; extern "C" void Graphic_SetMaterialDirty_m282639610 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_SetMaterialDirty_m282639610_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (L_0) { goto IL_000c; } } { return; } IL_000c: { __this->set_m_MaterialDirty_11((bool)1); IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_RegisterCanvasElementForGraphicRebuild_m1487849090(NULL /*static, unused*/, __this, /*hidden argument*/NULL); UnityAction_t909267611 * L_1 = __this->get_m_OnDirtyMaterialCallback_14(); if (!L_1) { goto IL_002f; } } { UnityAction_t909267611 * L_2 = __this->get_m_OnDirtyMaterialCallback_14(); NullCheck(L_2); UnityAction_Invoke_m1979593925(L_2, /*hidden argument*/NULL); } IL_002f: { return; } } // System.Void UnityEngine.UI.Graphic::OnRectTransformDimensionsChange() extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t Graphic_OnRectTransformDimensionsChange_m1660020535_MetadataUsageId; extern "C" void Graphic_OnRectTransformDimensionsChange_m1660020535 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_OnRectTransformDimensionsChange_m1660020535_MetadataUsageId); s_Il2CppMethodIntialized = true; } { GameObject_t4012695102 * L_0 = Component_get_gameObject_m1170635899(__this, /*hidden argument*/NULL); NullCheck(L_0); bool L_1 = GameObject_get_activeInHierarchy_m612450965(L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_0031; } } { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); bool L_2 = CanvasUpdateRegistry_IsRebuildingLayout_m1167551012(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_2) { goto IL_0025; } } { VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this); goto IL_0031; } IL_0025: { VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this); VirtActionInvoker0::Invoke(22 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this); } IL_0031: { return; } } // System.Void UnityEngine.UI.Graphic::OnBeforeTransformParentChanged() extern Il2CppClass* GraphicRegistry_t3790421294_il2cpp_TypeInfo_var; extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const uint32_t Graphic_OnBeforeTransformParentChanged_m2612648205_MetadataUsageId; extern "C" void Graphic_OnBeforeTransformParentChanged_m2612648205 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_OnBeforeTransformParentChanged_m2612648205_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Canvas_t3534013893 * L_0 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry_UnregisterGraphicForCanvas_m707013965(NULL /*static, unused*/, L_0, __this, /*hidden argument*/NULL); RectTransform_t3317474837 * L_1 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_MarkLayoutForRebuild_m901621521(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Graphic::OnTransformParentChanged() extern Il2CppClass* GraphicRegistry_t3790421294_il2cpp_TypeInfo_var; extern const uint32_t Graphic_OnTransformParentChanged_m321513902_MetadataUsageId; extern "C" void Graphic_OnTransformParentChanged_m321513902 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_OnTransformParentChanged_m321513902_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UIBehaviour_OnTransformParentChanged_m1017023781(__this, /*hidden argument*/NULL); __this->set_m_Canvas_9((Canvas_t3534013893 *)NULL); bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (L_0) { goto IL_0019; } } { return; } IL_0019: { Graphic_CacheCanvas_m512847723(__this, /*hidden argument*/NULL); Canvas_t3534013893 * L_1 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry_RegisterGraphicForCanvas_m977086278(NULL /*static, unused*/, L_1, __this, /*hidden argument*/NULL); VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.UI.Graphic::SetAllDirty() */, __this); return; } } // System.Int32 UnityEngine.UI.Graphic::get_depth() extern "C" int32_t Graphic_get_depth_m1908843203 (Graphic_t933884113 * __this, const MethodInfo* method) { { CanvasRenderer_t3626201768 * L_0 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); NullCheck(L_0); int32_t L_1 = CanvasRenderer_get_absoluteDepth_m1613567475(L_0, /*hidden argument*/NULL); return L_1; } } // UnityEngine.RectTransform UnityEngine.UI.Graphic::get_rectTransform() extern const MethodInfo* Component_GetComponent_TisRectTransform_t3317474837_m1940403147_MethodInfo_var; extern const uint32_t Graphic_get_rectTransform_m4017371950_MetadataUsageId; extern "C" RectTransform_t3317474837 * Graphic_get_rectTransform_m4017371950 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_get_rectTransform_m4017371950_MetadataUsageId); s_Il2CppMethodIntialized = true; } RectTransform_t3317474837 * V_0 = NULL; RectTransform_t3317474837 * G_B2_0 = NULL; RectTransform_t3317474837 * G_B1_0 = NULL; { RectTransform_t3317474837 * L_0 = __this->get_m_RectTransform_7(); RectTransform_t3317474837 * L_1 = L_0; G_B1_0 = L_1; if (L_1) { G_B2_0 = L_1; goto IL_001c; } } { RectTransform_t3317474837 * L_2 = Component_GetComponent_TisRectTransform_t3317474837_m1940403147(__this, /*hidden argument*/Component_GetComponent_TisRectTransform_t3317474837_m1940403147_MethodInfo_var); RectTransform_t3317474837 * L_3 = L_2; V_0 = L_3; __this->set_m_RectTransform_7(L_3); RectTransform_t3317474837 * L_4 = V_0; G_B2_0 = L_4; } IL_001c: { return G_B2_0; } } // UnityEngine.Canvas UnityEngine.UI.Graphic::get_canvas() extern "C" Canvas_t3534013893 * Graphic_get_canvas_m4291384250 (Graphic_t933884113 * __this, const MethodInfo* method) { { Canvas_t3534013893 * L_0 = __this->get_m_Canvas_9(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0017; } } { Graphic_CacheCanvas_m512847723(__this, /*hidden argument*/NULL); } IL_0017: { Canvas_t3534013893 * L_2 = __this->get_m_Canvas_9(); return L_2; } } // System.Void UnityEngine.UI.Graphic::CacheCanvas() extern Il2CppClass* ListPool_1_t3148029054_il2cpp_TypeInfo_var; extern const MethodInfo* ListPool_1_Get_m3707028656_MethodInfo_var; extern const MethodInfo* GameObject_GetComponentsInParent_TisCanvas_t3534013893_m3002356423_MethodInfo_var; extern const MethodInfo* ListPool_1_Release_m3200393738_MethodInfo_var; extern const uint32_t Graphic_CacheCanvas_m512847723_MetadataUsageId; extern "C" void Graphic_CacheCanvas_m512847723 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_CacheCanvas_m512847723_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t36005566 * V_0 = NULL; int32_t V_1 = 0; { IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t3148029054_il2cpp_TypeInfo_var); List_1_t36005566 * L_0 = ListPool_1_Get_m3707028656(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3707028656_MethodInfo_var); V_0 = L_0; GameObject_t4012695102 * L_1 = Component_get_gameObject_m1170635899(__this, /*hidden argument*/NULL); List_1_t36005566 * L_2 = V_0; NullCheck(L_1); GameObject_GetComponentsInParent_TisCanvas_t3534013893_m3002356423(L_1, (bool)0, L_2, /*hidden argument*/GameObject_GetComponentsInParent_TisCanvas_t3534013893_m3002356423_MethodInfo_var); List_1_t36005566 * L_3 = V_0; NullCheck(L_3); int32_t L_4 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Canvas>::get_Count() */, L_3); if ((((int32_t)L_4) <= ((int32_t)0))) { goto IL_005e; } } { V_1 = 0; goto IL_004d; } IL_0026: { List_1_t36005566 * L_5 = V_0; int32_t L_6 = V_1; NullCheck(L_5); Canvas_t3534013893 * L_7 = VirtFuncInvoker1< Canvas_t3534013893 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Canvas>::get_Item(System.Int32) */, L_5, L_6); NullCheck(L_7); bool L_8 = Behaviour_get_isActiveAndEnabled_m210167461(L_7, /*hidden argument*/NULL); if (!L_8) { goto IL_0049; } } { List_1_t36005566 * L_9 = V_0; int32_t L_10 = V_1; NullCheck(L_9); Canvas_t3534013893 * L_11 = VirtFuncInvoker1< Canvas_t3534013893 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Canvas>::get_Item(System.Int32) */, L_9, L_10); __this->set_m_Canvas_9(L_11); goto IL_0059; } IL_0049: { int32_t L_12 = V_1; V_1 = ((int32_t)((int32_t)L_12+(int32_t)1)); } IL_004d: { int32_t L_13 = V_1; List_1_t36005566 * L_14 = V_0; NullCheck(L_14); int32_t L_15 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Canvas>::get_Count() */, L_14); if ((((int32_t)L_13) < ((int32_t)L_15))) { goto IL_0026; } } IL_0059: { goto IL_0065; } IL_005e: { __this->set_m_Canvas_9((Canvas_t3534013893 *)NULL); } IL_0065: { List_1_t36005566 * L_16 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t3148029054_il2cpp_TypeInfo_var); ListPool_1_Release_m3200393738(NULL /*static, unused*/, L_16, /*hidden argument*/ListPool_1_Release_m3200393738_MethodInfo_var); return; } } // UnityEngine.CanvasRenderer UnityEngine.UI.Graphic::get_canvasRenderer() extern const MethodInfo* Component_GetComponent_TisCanvasRenderer_t3626201768_m1866062640_MethodInfo_var; extern const uint32_t Graphic_get_canvasRenderer_m184553434_MetadataUsageId; extern "C" CanvasRenderer_t3626201768 * Graphic_get_canvasRenderer_m184553434 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_get_canvasRenderer_m184553434_MetadataUsageId); s_Il2CppMethodIntialized = true; } { CanvasRenderer_t3626201768 * L_0 = __this->get_m_CanvasRender_8(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001d; } } { CanvasRenderer_t3626201768 * L_2 = Component_GetComponent_TisCanvasRenderer_t3626201768_m1866062640(__this, /*hidden argument*/Component_GetComponent_TisCanvasRenderer_t3626201768_m1866062640_MethodInfo_var); __this->set_m_CanvasRender_8(L_2); } IL_001d: { CanvasRenderer_t3626201768 * L_3 = __this->get_m_CanvasRender_8(); return L_3; } } // UnityEngine.Material UnityEngine.UI.Graphic::get_defaultMaterial() extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern const uint32_t Graphic_get_defaultMaterial_m3094002583_MetadataUsageId; extern "C" Material_t1886596500 * Graphic_get_defaultMaterial_m3094002583 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_get_defaultMaterial_m3094002583_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Material_t1886596500 * L_0 = Graphic_get_defaultGraphicMaterial_m456140641(NULL /*static, unused*/, /*hidden argument*/NULL); return L_0; } } // UnityEngine.Material UnityEngine.UI.Graphic::get_material() extern "C" Material_t1886596500 * Graphic_get_material_m3381093914 (Graphic_t933884113 * __this, const MethodInfo* method) { Material_t1886596500 * G_B3_0 = NULL; { Material_t1886596500 * L_0 = __this->get_m_Material_4(); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001c; } } { Material_t1886596500 * L_2 = __this->get_m_Material_4(); G_B3_0 = L_2; goto IL_0022; } IL_001c: { Material_t1886596500 * L_3 = VirtFuncInvoker0< Material_t1886596500 * >::Invoke(25 /* UnityEngine.Material UnityEngine.UI.Graphic::get_defaultMaterial() */, __this); G_B3_0 = L_3; } IL_0022: { return G_B3_0; } } // System.Void UnityEngine.UI.Graphic::set_material(UnityEngine.Material) extern "C" void Graphic_set_material_m2202379063 (Graphic_t933884113 * __this, Material_t1886596500 * ___value0, const MethodInfo* method) { { Material_t1886596500 * L_0 = __this->get_m_Material_4(); Material_t1886596500 * L_1 = ___value0; bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_0012; } } { return; } IL_0012: { Material_t1886596500 * L_3 = ___value0; __this->set_m_Material_4(L_3); VirtActionInvoker0::Invoke(24 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, __this); return; } } // UnityEngine.Material UnityEngine.UI.Graphic::get_materialForRendering() extern const Il2CppType* IMaterialModifier_t2519068048_0_0_0_var; extern Il2CppClass* ListPool_1_t1740961763_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* IMaterialModifier_t2519068048_il2cpp_TypeInfo_var; extern const MethodInfo* ListPool_1_Get_m2014868279_MethodInfo_var; extern const MethodInfo* ListPool_1_Release_m2849004751_MethodInfo_var; extern const uint32_t Graphic_get_materialForRendering_m1154169789_MetadataUsageId; extern "C" Material_t1886596500 * Graphic_get_materialForRendering_m1154169789 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_get_materialForRendering_m1154169789_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t2923905571 * V_0 = NULL; Material_t1886596500 * V_1 = NULL; int32_t V_2 = 0; { IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); List_1_t2923905571 * L_0 = ListPool_1_Get_m2014868279(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2014868279_MethodInfo_var); V_0 = L_0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_1 = Type_GetTypeFromHandle_m3806905434(NULL /*static, unused*/, LoadTypeToken(IMaterialModifier_t2519068048_0_0_0_var), /*hidden argument*/NULL); List_1_t2923905571 * L_2 = V_0; Component_GetComponents_m3426812285(__this, L_1, L_2, /*hidden argument*/NULL); Material_t1886596500 * L_3 = VirtFuncInvoker0< Material_t1886596500 * >::Invoke(26 /* UnityEngine.Material UnityEngine.UI.Graphic::get_material() */, __this); V_1 = L_3; V_2 = 0; goto IL_003c; } IL_0025: { List_1_t2923905571 * L_4 = V_0; int32_t L_5 = V_2; NullCheck(L_4); Component_t2126946602 * L_6 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_4, L_5); Material_t1886596500 * L_7 = V_1; NullCheck(((Il2CppObject *)IsInst(L_6, IMaterialModifier_t2519068048_il2cpp_TypeInfo_var))); Material_t1886596500 * L_8 = InterfaceFuncInvoker1< Material_t1886596500 *, Material_t1886596500 * >::Invoke(0 /* UnityEngine.Material UnityEngine.UI.IMaterialModifier::GetModifiedMaterial(UnityEngine.Material) */, IMaterialModifier_t2519068048_il2cpp_TypeInfo_var, ((Il2CppObject *)IsInst(L_6, IMaterialModifier_t2519068048_il2cpp_TypeInfo_var)), L_7); V_1 = L_8; int32_t L_9 = V_2; V_2 = ((int32_t)((int32_t)L_9+(int32_t)1)); } IL_003c: { int32_t L_10 = V_2; List_1_t2923905571 * L_11 = V_0; NullCheck(L_11); int32_t L_12 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_11); if ((((int32_t)L_10) < ((int32_t)L_12))) { goto IL_0025; } } { List_1_t2923905571 * L_13 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); ListPool_1_Release_m2849004751(NULL /*static, unused*/, L_13, /*hidden argument*/ListPool_1_Release_m2849004751_MethodInfo_var); Material_t1886596500 * L_14 = V_1; return L_14; } } // UnityEngine.Texture UnityEngine.UI.Graphic::get_mainTexture() extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern const uint32_t Graphic_get_mainTexture_m2936700123_MetadataUsageId; extern "C" Texture_t1769722184 * Graphic_get_mainTexture_m2936700123 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_get_mainTexture_m2936700123_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Texture2D_t2509538522 * L_0 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_WhiteTexture_3(); return L_0; } } // System.Void UnityEngine.UI.Graphic::OnEnable() extern Il2CppClass* GraphicRegistry_t3790421294_il2cpp_TypeInfo_var; extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern const uint32_t Graphic_OnEnable_m1102673235_MetadataUsageId; extern "C" void Graphic_OnEnable_m1102673235 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_OnEnable_m1102673235_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UIBehaviour_OnEnable_m4047103690(__this, /*hidden argument*/NULL); Graphic_CacheCanvas_m512847723(__this, /*hidden argument*/NULL); Canvas_t3534013893 * L_0 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry_RegisterGraphicForCanvas_m977086278(NULL /*static, unused*/, L_0, __this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Texture2D_t2509538522 * L_1 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_WhiteTexture_3(); bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_1, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_0032; } } { Texture2D_t2509538522 * L_3 = Texture2D_get_whiteTexture_m1214146742(NULL /*static, unused*/, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->set_s_WhiteTexture_3(L_3); } IL_0032: { VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.UI.Graphic::SetAllDirty() */, __this); return; } } // System.Void UnityEngine.UI.Graphic::OnDisable() extern Il2CppClass* GraphicRegistry_t3790421294_il2cpp_TypeInfo_var; extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const uint32_t Graphic_OnDisable_m264069178_MetadataUsageId; extern "C" void Graphic_OnDisable_m264069178 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_OnDisable_m264069178_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Canvas_t3534013893 * L_0 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry_UnregisterGraphicForCanvas_m707013965(NULL /*static, unused*/, L_0, __this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_UnRegisterCanvasElementForRebuild_m2188113711(NULL /*static, unused*/, __this, /*hidden argument*/NULL); CanvasRenderer_t3626201768 * L_1 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); bool L_2 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_1, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_002e; } } { CanvasRenderer_t3626201768 * L_3 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); NullCheck(L_3); CanvasRenderer_Clear_m1606508093(L_3, /*hidden argument*/NULL); } IL_002e: { RectTransform_t3317474837 * L_4 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_MarkLayoutForRebuild_m901621521(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); UIBehaviour_OnDisable_m1347100067(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Graphic::OnCanvasHierarchyChanged() extern Il2CppClass* GraphicRegistry_t3790421294_il2cpp_TypeInfo_var; extern const uint32_t Graphic_OnCanvasHierarchyChanged_m514781447_MetadataUsageId; extern "C" void Graphic_OnCanvasHierarchyChanged_m514781447 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_OnCanvasHierarchyChanged_m514781447_MetadataUsageId); s_Il2CppMethodIntialized = true; } Canvas_t3534013893 * V_0 = NULL; { Canvas_t3534013893 * L_0 = __this->get_m_Canvas_9(); V_0 = L_0; __this->set_m_Canvas_9((Canvas_t3534013893 *)NULL); bool L_1 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (L_1) { goto IL_001a; } } { return; } IL_001a: { Graphic_CacheCanvas_m512847723(__this, /*hidden argument*/NULL); Canvas_t3534013893 * L_2 = V_0; Canvas_t3534013893 * L_3 = __this->get_m_Canvas_9(); bool L_4 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); if (!L_4) { goto IL_004f; } } { Canvas_t3534013893 * L_5 = V_0; IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry_UnregisterGraphicForCanvas_m707013965(NULL /*static, unused*/, L_5, __this, /*hidden argument*/NULL); bool L_6 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (!L_6) { goto IL_004f; } } { Canvas_t3534013893 * L_7 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry_RegisterGraphicForCanvas_m977086278(NULL /*static, unused*/, L_7, __this, /*hidden argument*/NULL); } IL_004f: { return; } } // System.Void UnityEngine.UI.Graphic::Rebuild(UnityEngine.UI.CanvasUpdate) extern "C" void Graphic_Rebuild_m444579746 (Graphic_t933884113 * __this, int32_t ___update0, const MethodInfo* method) { int32_t V_0 = 0; { CanvasRenderer_t3626201768 * L_0 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); NullCheck(L_0); bool L_1 = CanvasRenderer_get_cull_m3343855795(L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_0011; } } { return; } IL_0011: { int32_t L_2 = ___update0; V_0 = L_2; int32_t L_3 = V_0; if ((((int32_t)L_3) == ((int32_t)3))) { goto IL_001f; } } { goto IL_0054; } IL_001f: { bool L_4 = __this->get_m_VertsDirty_10(); if (!L_4) { goto IL_0037; } } { VirtActionInvoker0::Invoke(34 /* System.Void UnityEngine.UI.Graphic::UpdateGeometry() */, __this); __this->set_m_VertsDirty_10((bool)0); } IL_0037: { bool L_5 = __this->get_m_MaterialDirty_11(); if (!L_5) { goto IL_004f; } } { VirtActionInvoker0::Invoke(33 /* System.Void UnityEngine.UI.Graphic::UpdateMaterial() */, __this); __this->set_m_MaterialDirty_11((bool)0); } IL_004f: { goto IL_0054; } IL_0054: { return; } } // System.Void UnityEngine.UI.Graphic::LayoutComplete() extern "C" void Graphic_LayoutComplete_m1944323924 (Graphic_t933884113 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.UI.Graphic::GraphicUpdateComplete() extern "C" void Graphic_GraphicUpdateComplete_m4174302747 (Graphic_t933884113 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.UI.Graphic::UpdateMaterial() extern "C" void Graphic_UpdateMaterial_m1564277409 (Graphic_t933884113 * __this, const MethodInfo* method) { { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (L_0) { goto IL_000c; } } { return; } IL_000c: { CanvasRenderer_t3626201768 * L_1 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); NullCheck(L_1); CanvasRenderer_set_materialCount_m1694897644(L_1, 1, /*hidden argument*/NULL); CanvasRenderer_t3626201768 * L_2 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); Material_t1886596500 * L_3 = VirtFuncInvoker0< Material_t1886596500 * >::Invoke(28 /* UnityEngine.Material UnityEngine.UI.Graphic::get_materialForRendering() */, __this); NullCheck(L_2); CanvasRenderer_SetMaterial_m355382012(L_2, L_3, 0, /*hidden argument*/NULL); CanvasRenderer_t3626201768 * L_4 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); Texture_t1769722184 * L_5 = VirtFuncInvoker0< Texture_t1769722184 * >::Invoke(29 /* UnityEngine.Texture UnityEngine.UI.Graphic::get_mainTexture() */, __this); NullCheck(L_4); CanvasRenderer_SetTexture_m137327939(L_4, L_5, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Graphic::UpdateGeometry() extern "C" void Graphic_UpdateGeometry_m2127951660 (Graphic_t933884113 * __this, const MethodInfo* method) { { bool L_0 = Graphic_get_useLegacyMeshGeneration_m1330224975(__this, /*hidden argument*/NULL); if (!L_0) { goto IL_0016; } } { Graphic_DoLegacyMeshGeneration_m3761597322(__this, /*hidden argument*/NULL); goto IL_001c; } IL_0016: { Graphic_DoMeshGeneration_m2507046369(__this, /*hidden argument*/NULL); } IL_001c: { return; } } // System.Void UnityEngine.UI.Graphic::DoMeshGeneration() extern const Il2CppType* IMeshModifier_t2914456790_0_0_0_var; extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern Il2CppClass* ListPool_1_t1740961763_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* IMeshModifier_t2914456790_il2cpp_TypeInfo_var; extern const MethodInfo* ListPool_1_Get_m2014868279_MethodInfo_var; extern const MethodInfo* ListPool_1_Release_m2849004751_MethodInfo_var; extern const uint32_t Graphic_DoMeshGeneration_m2507046369_MetadataUsageId; extern "C" void Graphic_DoMeshGeneration_m2507046369 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_DoMeshGeneration_m2507046369_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t2923905571 * V_0 = NULL; int32_t V_1 = 0; Rect_t1525428817 V_2; memset(&V_2, 0, sizeof(V_2)); Rect_t1525428817 V_3; memset(&V_3, 0, sizeof(V_3)); { RectTransform_t3317474837 * L_0 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_005b; } } { RectTransform_t3317474837 * L_2 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); NullCheck(L_2); Rect_t1525428817 L_3 = RectTransform_get_rect_m1566017036(L_2, /*hidden argument*/NULL); V_2 = L_3; float L_4 = Rect_get_width_m2824209432((&V_2), /*hidden argument*/NULL); if ((!(((float)L_4) >= ((float)(0.0f))))) { goto IL_005b; } } { RectTransform_t3317474837 * L_5 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); NullCheck(L_5); Rect_t1525428817 L_6 = RectTransform_get_rect_m1566017036(L_5, /*hidden argument*/NULL); V_3 = L_6; float L_7 = Rect_get_height_m2154960823((&V_3), /*hidden argument*/NULL); if ((!(((float)L_7) >= ((float)(0.0f))))) { goto IL_005b; } } { IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); VertexHelper_t1471929499 * L_8 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_VertexHelper_16(); VirtActionInvoker1< VertexHelper_t1471929499 * >::Invoke(37 /* System.Void UnityEngine.UI.Graphic::OnPopulateMesh(UnityEngine.UI.VertexHelper) */, __this, L_8); goto IL_0065; } IL_005b: { IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); VertexHelper_t1471929499 * L_9 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_VertexHelper_16(); NullCheck(L_9); VertexHelper_Clear_m412394180(L_9, /*hidden argument*/NULL); } IL_0065: { IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); List_1_t2923905571 * L_10 = ListPool_1_Get_m2014868279(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2014868279_MethodInfo_var); V_0 = L_10; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_11 = Type_GetTypeFromHandle_m3806905434(NULL /*static, unused*/, LoadTypeToken(IMeshModifier_t2914456790_0_0_0_var), /*hidden argument*/NULL); List_1_t2923905571 * L_12 = V_0; Component_GetComponents_m3426812285(__this, L_11, L_12, /*hidden argument*/NULL); V_1 = 0; goto IL_009d; } IL_0083: { List_1_t2923905571 * L_13 = V_0; int32_t L_14 = V_1; NullCheck(L_13); Component_t2126946602 * L_15 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_13, L_14); IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); VertexHelper_t1471929499 * L_16 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_VertexHelper_16(); NullCheck(((Il2CppObject *)Castclass(L_15, IMeshModifier_t2914456790_il2cpp_TypeInfo_var))); InterfaceActionInvoker1< VertexHelper_t1471929499 * >::Invoke(1 /* System.Void UnityEngine.UI.IMeshModifier::ModifyMesh(UnityEngine.UI.VertexHelper) */, IMeshModifier_t2914456790_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_15, IMeshModifier_t2914456790_il2cpp_TypeInfo_var)), L_16); int32_t L_17 = V_1; V_1 = ((int32_t)((int32_t)L_17+(int32_t)1)); } IL_009d: { int32_t L_18 = V_1; List_1_t2923905571 * L_19 = V_0; NullCheck(L_19); int32_t L_20 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_19); if ((((int32_t)L_18) < ((int32_t)L_20))) { goto IL_0083; } } { List_1_t2923905571 * L_21 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); ListPool_1_Release_m2849004751(NULL /*static, unused*/, L_21, /*hidden argument*/ListPool_1_Release_m2849004751_MethodInfo_var); IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); VertexHelper_t1471929499 * L_22 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_VertexHelper_16(); Mesh_t1525280346 * L_23 = Graphic_get_workerMesh_m1691010424(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_22); VertexHelper_FillMesh_m2371101047(L_22, L_23, /*hidden argument*/NULL); CanvasRenderer_t3626201768 * L_24 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); Mesh_t1525280346 * L_25 = Graphic_get_workerMesh_m1691010424(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_24); CanvasRenderer_SetMesh_m1150548475(L_24, L_25, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Graphic::DoLegacyMeshGeneration() extern const Il2CppType* IMeshModifier_t2914456790_0_0_0_var; extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern Il2CppClass* ListPool_1_t1740961763_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* IMeshModifier_t2914456790_il2cpp_TypeInfo_var; extern const MethodInfo* ListPool_1_Get_m2014868279_MethodInfo_var; extern const MethodInfo* ListPool_1_Release_m2849004751_MethodInfo_var; extern const uint32_t Graphic_DoLegacyMeshGeneration_m3761597322_MetadataUsageId; extern "C" void Graphic_DoLegacyMeshGeneration_m3761597322 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_DoLegacyMeshGeneration_m3761597322_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t2923905571 * V_0 = NULL; int32_t V_1 = 0; Rect_t1525428817 V_2; memset(&V_2, 0, sizeof(V_2)); Rect_t1525428817 V_3; memset(&V_3, 0, sizeof(V_3)); { RectTransform_t3317474837 * L_0 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_005b; } } { RectTransform_t3317474837 * L_2 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); NullCheck(L_2); Rect_t1525428817 L_3 = RectTransform_get_rect_m1566017036(L_2, /*hidden argument*/NULL); V_2 = L_3; float L_4 = Rect_get_width_m2824209432((&V_2), /*hidden argument*/NULL); if ((!(((float)L_4) >= ((float)(0.0f))))) { goto IL_005b; } } { RectTransform_t3317474837 * L_5 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); NullCheck(L_5); Rect_t1525428817 L_6 = RectTransform_get_rect_m1566017036(L_5, /*hidden argument*/NULL); V_3 = L_6; float L_7 = Rect_get_height_m2154960823((&V_3), /*hidden argument*/NULL); if ((!(((float)L_7) >= ((float)(0.0f))))) { goto IL_005b; } } { IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Mesh_t1525280346 * L_8 = Graphic_get_workerMesh_m1691010424(NULL /*static, unused*/, /*hidden argument*/NULL); VirtActionInvoker1< Mesh_t1525280346 * >::Invoke(36 /* System.Void UnityEngine.UI.Graphic::OnPopulateMesh(UnityEngine.Mesh) */, __this, L_8); goto IL_0065; } IL_005b: { IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Mesh_t1525280346 * L_9 = Graphic_get_workerMesh_m1691010424(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_9); Mesh_Clear_m90337099(L_9, /*hidden argument*/NULL); } IL_0065: { IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); List_1_t2923905571 * L_10 = ListPool_1_Get_m2014868279(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2014868279_MethodInfo_var); V_0 = L_10; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_11 = Type_GetTypeFromHandle_m3806905434(NULL /*static, unused*/, LoadTypeToken(IMeshModifier_t2914456790_0_0_0_var), /*hidden argument*/NULL); List_1_t2923905571 * L_12 = V_0; Component_GetComponents_m3426812285(__this, L_11, L_12, /*hidden argument*/NULL); V_1 = 0; goto IL_009d; } IL_0083: { List_1_t2923905571 * L_13 = V_0; int32_t L_14 = V_1; NullCheck(L_13); Component_t2126946602 * L_15 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_13, L_14); IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Mesh_t1525280346 * L_16 = Graphic_get_workerMesh_m1691010424(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(((Il2CppObject *)Castclass(L_15, IMeshModifier_t2914456790_il2cpp_TypeInfo_var))); InterfaceActionInvoker1< Mesh_t1525280346 * >::Invoke(0 /* System.Void UnityEngine.UI.IMeshModifier::ModifyMesh(UnityEngine.Mesh) */, IMeshModifier_t2914456790_il2cpp_TypeInfo_var, ((Il2CppObject *)Castclass(L_15, IMeshModifier_t2914456790_il2cpp_TypeInfo_var)), L_16); int32_t L_17 = V_1; V_1 = ((int32_t)((int32_t)L_17+(int32_t)1)); } IL_009d: { int32_t L_18 = V_1; List_1_t2923905571 * L_19 = V_0; NullCheck(L_19); int32_t L_20 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_19); if ((((int32_t)L_18) < ((int32_t)L_20))) { goto IL_0083; } } { List_1_t2923905571 * L_21 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); ListPool_1_Release_m2849004751(NULL /*static, unused*/, L_21, /*hidden argument*/ListPool_1_Release_m2849004751_MethodInfo_var); CanvasRenderer_t3626201768 * L_22 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Mesh_t1525280346 * L_23 = Graphic_get_workerMesh_m1691010424(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_22); CanvasRenderer_SetMesh_m1150548475(L_22, L_23, /*hidden argument*/NULL); return; } } // UnityEngine.Mesh UnityEngine.UI.Graphic::get_workerMesh() extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern Il2CppClass* Mesh_t1525280346_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral2937047934; extern const uint32_t Graphic_get_workerMesh_m1691010424_MetadataUsageId; extern "C" Mesh_t1525280346 * Graphic_get_workerMesh_m1691010424 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_get_workerMesh_m1691010424_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Mesh_t1525280346 * L_0 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_Mesh_15(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0035; } } { Mesh_t1525280346 * L_2 = (Mesh_t1525280346 *)il2cpp_codegen_object_new(Mesh_t1525280346_il2cpp_TypeInfo_var); Mesh__ctor_m2684203808(L_2, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->set_s_Mesh_15(L_2); Mesh_t1525280346 * L_3 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_Mesh_15(); NullCheck(L_3); Object_set_name_m1123518500(L_3, _stringLiteral2937047934, /*hidden argument*/NULL); Mesh_t1525280346 * L_4 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_Mesh_15(); NullCheck(L_4); Object_set_hideFlags_m41317712(L_4, ((int32_t)61), /*hidden argument*/NULL); } IL_0035: { IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Mesh_t1525280346 * L_5 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_Mesh_15(); return L_5; } } // System.Void UnityEngine.UI.Graphic::OnFillVBO(System.Collections.Generic.List`1<UnityEngine.UIVertex>) extern "C" void Graphic_OnFillVBO_m316398351 (Graphic_t933884113 * __this, List_1_t3057020574 * ___vbo0, const MethodInfo* method) { { return; } } // System.Void UnityEngine.UI.Graphic::OnPopulateMesh(UnityEngine.Mesh) extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern const uint32_t Graphic_OnPopulateMesh_m192648803_MetadataUsageId; extern "C" void Graphic_OnPopulateMesh_m192648803 (Graphic_t933884113 * __this, Mesh_t1525280346 * ___m0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_OnPopulateMesh_m192648803_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); VertexHelper_t1471929499 * L_0 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_VertexHelper_16(); VirtActionInvoker1< VertexHelper_t1471929499 * >::Invoke(37 /* System.Void UnityEngine.UI.Graphic::OnPopulateMesh(UnityEngine.UI.VertexHelper) */, __this, L_0); VertexHelper_t1471929499 * L_1 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_VertexHelper_16(); Mesh_t1525280346 * L_2 = ___m0; NullCheck(L_1); VertexHelper_FillMesh_m2371101047(L_1, L_2, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Graphic::OnPopulateMesh(UnityEngine.UI.VertexHelper) extern "C" void Graphic_OnPopulateMesh_m3177058550 (Graphic_t933884113 * __this, VertexHelper_t1471929499 * ___vh0, const MethodInfo* method) { Rect_t1525428817 V_0; memset(&V_0, 0, sizeof(V_0)); Vector4_t3525329790 V_1; memset(&V_1, 0, sizeof(V_1)); Color32_t4137084207 V_2; memset(&V_2, 0, sizeof(V_2)); { Rect_t1525428817 L_0 = Graphic_GetPixelAdjustedRect_m517144655(__this, /*hidden argument*/NULL); V_0 = L_0; float L_1 = Rect_get_x_m982385354((&V_0), /*hidden argument*/NULL); float L_2 = Rect_get_y_m982386315((&V_0), /*hidden argument*/NULL); float L_3 = Rect_get_x_m982385354((&V_0), /*hidden argument*/NULL); float L_4 = Rect_get_width_m2824209432((&V_0), /*hidden argument*/NULL); float L_5 = Rect_get_y_m982386315((&V_0), /*hidden argument*/NULL); float L_6 = Rect_get_height_m2154960823((&V_0), /*hidden argument*/NULL); Vector4__ctor_m2441427762((&V_1), L_1, L_2, ((float)((float)L_3+(float)L_4)), ((float)((float)L_5+(float)L_6)), /*hidden argument*/NULL); Color_t1588175760 L_7 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_8 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_7, /*hidden argument*/NULL); V_2 = L_8; VertexHelper_t1471929499 * L_9 = ___vh0; NullCheck(L_9); VertexHelper_Clear_m412394180(L_9, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_10 = ___vh0; float L_11 = (&V_1)->get_x_1(); float L_12 = (&V_1)->get_y_2(); Vector3_t3525329789 L_13; memset(&L_13, 0, sizeof(L_13)); Vector3__ctor_m1846874791(&L_13, L_11, L_12, /*hidden argument*/NULL); Color32_t4137084207 L_14 = V_2; Vector2_t3525329788 L_15; memset(&L_15, 0, sizeof(L_15)); Vector2__ctor_m1517109030(&L_15, (0.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_10); VertexHelper_AddVert_m1490065189(L_10, L_13, L_14, L_15, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_16 = ___vh0; float L_17 = (&V_1)->get_x_1(); float L_18 = (&V_1)->get_w_4(); Vector3_t3525329789 L_19; memset(&L_19, 0, sizeof(L_19)); Vector3__ctor_m1846874791(&L_19, L_17, L_18, /*hidden argument*/NULL); Color32_t4137084207 L_20 = V_2; Vector2_t3525329788 L_21; memset(&L_21, 0, sizeof(L_21)); Vector2__ctor_m1517109030(&L_21, (0.0f), (1.0f), /*hidden argument*/NULL); NullCheck(L_16); VertexHelper_AddVert_m1490065189(L_16, L_19, L_20, L_21, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_22 = ___vh0; float L_23 = (&V_1)->get_z_3(); float L_24 = (&V_1)->get_w_4(); Vector3_t3525329789 L_25; memset(&L_25, 0, sizeof(L_25)); Vector3__ctor_m1846874791(&L_25, L_23, L_24, /*hidden argument*/NULL); Color32_t4137084207 L_26 = V_2; Vector2_t3525329788 L_27; memset(&L_27, 0, sizeof(L_27)); Vector2__ctor_m1517109030(&L_27, (1.0f), (1.0f), /*hidden argument*/NULL); NullCheck(L_22); VertexHelper_AddVert_m1490065189(L_22, L_25, L_26, L_27, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_28 = ___vh0; float L_29 = (&V_1)->get_z_3(); float L_30 = (&V_1)->get_y_2(); Vector3_t3525329789 L_31; memset(&L_31, 0, sizeof(L_31)); Vector3__ctor_m1846874791(&L_31, L_29, L_30, /*hidden argument*/NULL); Color32_t4137084207 L_32 = V_2; Vector2_t3525329788 L_33; memset(&L_33, 0, sizeof(L_33)); Vector2__ctor_m1517109030(&L_33, (1.0f), (0.0f), /*hidden argument*/NULL); NullCheck(L_28); VertexHelper_AddVert_m1490065189(L_28, L_31, L_32, L_33, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_34 = ___vh0; NullCheck(L_34); VertexHelper_AddTriangle_m514578993(L_34, 0, 1, 2, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_35 = ___vh0; NullCheck(L_35); VertexHelper_AddTriangle_m514578993(L_35, 2, 3, 0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Graphic::OnDidApplyAnimationProperties() extern "C" void Graphic_OnDidApplyAnimationProperties_m3600197626 (Graphic_t933884113 * __this, const MethodInfo* method) { { VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.UI.Graphic::SetAllDirty() */, __this); return; } } // System.Void UnityEngine.UI.Graphic::SetNativeSize() extern "C" void Graphic_SetNativeSize_m2816336555 (Graphic_t933884113 * __this, const MethodInfo* method) { { return; } } // System.Boolean UnityEngine.UI.Graphic::Raycast(UnityEngine.Vector2,UnityEngine.Camera) extern Il2CppClass* ListPool_1_t1740961763_il2cpp_TypeInfo_var; extern Il2CppClass* Canvas_t3534013893_il2cpp_TypeInfo_var; extern Il2CppClass* ICanvasRaycastFilter_t1382353421_il2cpp_TypeInfo_var; extern Il2CppClass* CanvasGroup_t1295922228_il2cpp_TypeInfo_var; extern const MethodInfo* ListPool_1_Get_m2014868279_MethodInfo_var; extern const MethodInfo* Component_GetComponents_TisComponent_t2126946602_m407995928_MethodInfo_var; extern const MethodInfo* ListPool_1_Release_m2849004751_MethodInfo_var; extern const uint32_t Graphic_Raycast_m822891196_MetadataUsageId; extern "C" bool Graphic_Raycast_m822891196 (Graphic_t933884113 * __this, Vector2_t3525329788 ___sp0, Camera_t3533968274 * ___eventCamera1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_Raycast_m822891196_MetadataUsageId); s_Il2CppMethodIntialized = true; } Transform_t284553113 * V_0 = NULL; List_1_t2923905571 * V_1 = NULL; bool V_2 = false; bool V_3 = false; int32_t V_4 = 0; Canvas_t3534013893 * V_5 = NULL; Il2CppObject * V_6 = NULL; bool V_7 = false; CanvasGroup_t1295922228 * V_8 = NULL; Transform_t284553113 * G_B24_0 = NULL; { bool L_0 = Behaviour_get_isActiveAndEnabled_m210167461(__this, /*hidden argument*/NULL); if (L_0) { goto IL_000d; } } { return (bool)0; } IL_000d: { Transform_t284553113 * L_1 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); V_0 = L_1; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); List_1_t2923905571 * L_2 = ListPool_1_Get_m2014868279(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2014868279_MethodInfo_var); V_1 = L_2; V_2 = (bool)0; V_3 = (bool)1; goto IL_0110; } IL_0023: { Transform_t284553113 * L_3 = V_0; List_1_t2923905571 * L_4 = V_1; NullCheck(L_3); Component_GetComponents_TisComponent_t2126946602_m407995928(L_3, L_4, /*hidden argument*/Component_GetComponents_TisComponent_t2126946602_m407995928_MethodInfo_var); V_4 = 0; goto IL_00f0; } IL_0032: { List_1_t2923905571 * L_5 = V_1; int32_t L_6 = V_4; NullCheck(L_5); Component_t2126946602 * L_7 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_5, L_6); V_5 = ((Canvas_t3534013893 *)IsInstSealed(L_7, Canvas_t3534013893_il2cpp_TypeInfo_var)); Canvas_t3534013893 * L_8 = V_5; bool L_9 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_8, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_9) { goto IL_005c; } } { Canvas_t3534013893 * L_10 = V_5; NullCheck(L_10); bool L_11 = Canvas_get_overrideSorting_m3812884636(L_10, /*hidden argument*/NULL); if (!L_11) { goto IL_005c; } } { V_3 = (bool)0; } IL_005c: { List_1_t2923905571 * L_12 = V_1; int32_t L_13 = V_4; NullCheck(L_12); Component_t2126946602 * L_14 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_12, L_13); V_6 = ((Il2CppObject *)IsInst(L_14, ICanvasRaycastFilter_t1382353421_il2cpp_TypeInfo_var)); Il2CppObject * L_15 = V_6; if (L_15) { goto IL_0077; } } { goto IL_00ea; } IL_0077: { V_7 = (bool)1; List_1_t2923905571 * L_16 = V_1; int32_t L_17 = V_4; NullCheck(L_16); Component_t2126946602 * L_18 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_16, L_17); V_8 = ((CanvasGroup_t1295922228 *)IsInstSealed(L_18, CanvasGroup_t1295922228_il2cpp_TypeInfo_var)); CanvasGroup_t1295922228 * L_19 = V_8; bool L_20 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_19, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_20) { goto IL_00d0; } } { bool L_21 = V_2; if (L_21) { goto IL_00ba; } } { CanvasGroup_t1295922228 * L_22 = V_8; NullCheck(L_22); bool L_23 = CanvasGroup_get_ignoreParentGroups_m1831887525(L_22, /*hidden argument*/NULL); if (!L_23) { goto IL_00ba; } } { V_2 = (bool)1; Il2CppObject * L_24 = V_6; Vector2_t3525329788 L_25 = ___sp0; Camera_t3533968274 * L_26 = ___eventCamera1; NullCheck(L_24); bool L_27 = InterfaceFuncInvoker2< bool, Vector2_t3525329788 , Camera_t3533968274 * >::Invoke(0 /* System.Boolean UnityEngine.ICanvasRaycastFilter::IsRaycastLocationValid(UnityEngine.Vector2,UnityEngine.Camera) */, ICanvasRaycastFilter_t1382353421_il2cpp_TypeInfo_var, L_24, L_25, L_26); V_7 = L_27; goto IL_00cb; } IL_00ba: { bool L_28 = V_2; if (L_28) { goto IL_00cb; } } { Il2CppObject * L_29 = V_6; Vector2_t3525329788 L_30 = ___sp0; Camera_t3533968274 * L_31 = ___eventCamera1; NullCheck(L_29); bool L_32 = InterfaceFuncInvoker2< bool, Vector2_t3525329788 , Camera_t3533968274 * >::Invoke(0 /* System.Boolean UnityEngine.ICanvasRaycastFilter::IsRaycastLocationValid(UnityEngine.Vector2,UnityEngine.Camera) */, ICanvasRaycastFilter_t1382353421_il2cpp_TypeInfo_var, L_29, L_30, L_31); V_7 = L_32; } IL_00cb: { goto IL_00db; } IL_00d0: { Il2CppObject * L_33 = V_6; Vector2_t3525329788 L_34 = ___sp0; Camera_t3533968274 * L_35 = ___eventCamera1; NullCheck(L_33); bool L_36 = InterfaceFuncInvoker2< bool, Vector2_t3525329788 , Camera_t3533968274 * >::Invoke(0 /* System.Boolean UnityEngine.ICanvasRaycastFilter::IsRaycastLocationValid(UnityEngine.Vector2,UnityEngine.Camera) */, ICanvasRaycastFilter_t1382353421_il2cpp_TypeInfo_var, L_33, L_34, L_35); V_7 = L_36; } IL_00db: { bool L_37 = V_7; if (L_37) { goto IL_00ea; } } { List_1_t2923905571 * L_38 = V_1; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); ListPool_1_Release_m2849004751(NULL /*static, unused*/, L_38, /*hidden argument*/ListPool_1_Release_m2849004751_MethodInfo_var); return (bool)0; } IL_00ea: { int32_t L_39 = V_4; V_4 = ((int32_t)((int32_t)L_39+(int32_t)1)); } IL_00f0: { int32_t L_40 = V_4; List_1_t2923905571 * L_41 = V_1; NullCheck(L_41); int32_t L_42 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_41); if ((((int32_t)L_40) < ((int32_t)L_42))) { goto IL_0032; } } { bool L_43 = V_3; if (!L_43) { goto IL_010e; } } { Transform_t284553113 * L_44 = V_0; NullCheck(L_44); Transform_t284553113 * L_45 = Transform_get_parent_m2236876972(L_44, /*hidden argument*/NULL); G_B24_0 = L_45; goto IL_010f; } IL_010e: { G_B24_0 = ((Transform_t284553113 *)(NULL)); } IL_010f: { V_0 = G_B24_0; } IL_0110: { Transform_t284553113 * L_46 = V_0; bool L_47 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_46, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_47) { goto IL_0023; } } { List_1_t2923905571 * L_48 = V_1; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); ListPool_1_Release_m2849004751(NULL /*static, unused*/, L_48, /*hidden argument*/ListPool_1_Release_m2849004751_MethodInfo_var); return (bool)1; } } // UnityEngine.Vector2 UnityEngine.UI.Graphic::PixelAdjustPoint(UnityEngine.Vector2) extern Il2CppClass* RectTransformUtility_t2895919825_il2cpp_TypeInfo_var; extern const uint32_t Graphic_PixelAdjustPoint_m440199187_MetadataUsageId; extern "C" Vector2_t3525329788 Graphic_PixelAdjustPoint_m440199187 (Graphic_t933884113 * __this, Vector2_t3525329788 ___point0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_PixelAdjustPoint_m440199187_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Canvas_t3534013893 * L_0 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_0020; } } { Canvas_t3534013893 * L_2 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); NullCheck(L_2); bool L_3 = Canvas_get_pixelPerfect_m2847994693(L_2, /*hidden argument*/NULL); if (L_3) { goto IL_0022; } } IL_0020: { Vector2_t3525329788 L_4 = ___point0; return L_4; } IL_0022: { Vector2_t3525329788 L_5 = ___point0; Transform_t284553113 * L_6 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); Canvas_t3534013893 * L_7 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2895919825_il2cpp_TypeInfo_var); Vector2_t3525329788 L_8 = RectTransformUtility_PixelAdjustPoint_m2518308759(NULL /*static, unused*/, L_5, L_6, L_7, /*hidden argument*/NULL); return L_8; } } // UnityEngine.Rect UnityEngine.UI.Graphic::GetPixelAdjustedRect() extern Il2CppClass* RectTransformUtility_t2895919825_il2cpp_TypeInfo_var; extern const uint32_t Graphic_GetPixelAdjustedRect_m517144655_MetadataUsageId; extern "C" Rect_t1525428817 Graphic_GetPixelAdjustedRect_m517144655 (Graphic_t933884113 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_GetPixelAdjustedRect_m517144655_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Canvas_t3534013893 * L_0 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_0020; } } { Canvas_t3534013893 * L_2 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); NullCheck(L_2); bool L_3 = Canvas_get_pixelPerfect_m2847994693(L_2, /*hidden argument*/NULL); if (L_3) { goto IL_002c; } } IL_0020: { RectTransform_t3317474837 * L_4 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); NullCheck(L_4); Rect_t1525428817 L_5 = RectTransform_get_rect_m1566017036(L_4, /*hidden argument*/NULL); return L_5; } IL_002c: { RectTransform_t3317474837 * L_6 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); Canvas_t3534013893 * L_7 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2895919825_il2cpp_TypeInfo_var); Rect_t1525428817 L_8 = RectTransformUtility_PixelAdjustRect_m3727716130(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL); return L_8; } } // System.Void UnityEngine.UI.Graphic::CrossFadeColor(UnityEngine.Color,System.Single,System.Boolean,System.Boolean) extern "C" void Graphic_CrossFadeColor_m3194947827 (Graphic_t933884113 * __this, Color_t1588175760 ___targetColor0, float ___duration1, bool ___ignoreTimeScale2, bool ___useAlpha3, const MethodInfo* method) { { Color_t1588175760 L_0 = ___targetColor0; float L_1 = ___duration1; bool L_2 = ___ignoreTimeScale2; bool L_3 = ___useAlpha3; Graphic_CrossFadeColor_m1834346026(__this, L_0, L_1, L_2, L_3, (bool)1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Graphic::CrossFadeColor(UnityEngine.Color,System.Single,System.Boolean,System.Boolean,System.Boolean) extern Il2CppClass* Color_t1588175760_il2cpp_TypeInfo_var; extern Il2CppClass* ColorTween_t2894377818_il2cpp_TypeInfo_var; extern Il2CppClass* UnityAction_1_t1568637665_il2cpp_TypeInfo_var; extern const MethodInfo* CanvasRenderer_SetColor_m3198078515_MethodInfo_var; extern const MethodInfo* UnityAction_1__ctor_m3352102596_MethodInfo_var; extern const MethodInfo* TweenRunner_1_StartTween_m3060079017_MethodInfo_var; extern const uint32_t Graphic_CrossFadeColor_m1834346026_MetadataUsageId; extern "C" void Graphic_CrossFadeColor_m1834346026 (Graphic_t933884113 * __this, Color_t1588175760 ___targetColor0, float ___duration1, bool ___ignoreTimeScale2, bool ___useAlpha3, bool ___useRGB4, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_CrossFadeColor_m1834346026_MetadataUsageId); s_Il2CppMethodIntialized = true; } Color_t1588175760 V_0; memset(&V_0, 0, sizeof(V_0)); int32_t V_1 = 0; ColorTween_t2894377818 V_2; memset(&V_2, 0, sizeof(V_2)); ColorTween_t2894377818 V_3; memset(&V_3, 0, sizeof(V_3)); int32_t G_B12_0 = 0; { CanvasRenderer_t3626201768 * L_0 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_1) { goto IL_001f; } } { bool L_2 = ___useRGB4; if (L_2) { goto IL_0020; } } { bool L_3 = ___useAlpha3; if (L_3) { goto IL_0020; } } IL_001f: { return; } IL_0020: { CanvasRenderer_t3626201768 * L_4 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); NullCheck(L_4); Color_t1588175760 L_5 = CanvasRenderer_GetColor_m3075393702(L_4, /*hidden argument*/NULL); V_0 = L_5; Color_t1588175760 L_6 = ___targetColor0; Color_t1588175760 L_7 = L_6; Il2CppObject * L_8 = Box(Color_t1588175760_il2cpp_TypeInfo_var, &L_7); bool L_9 = Color_Equals_m3016668205((&V_0), L_8, /*hidden argument*/NULL); if (!L_9) { goto IL_003f; } } { return; } IL_003f: { bool L_10 = ___useRGB4; if (!L_10) { goto IL_0053; } } { bool L_11 = ___useAlpha3; if (!L_11) { goto IL_0053; } } { G_B12_0 = 0; goto IL_0061; } IL_0053: { bool L_12 = ___useRGB4; if (!L_12) { goto IL_0060; } } { G_B12_0 = 1; goto IL_0061; } IL_0060: { G_B12_0 = 2; } IL_0061: { V_1 = G_B12_0; Initobj (ColorTween_t2894377818_il2cpp_TypeInfo_var, (&V_2)); ColorTween_t2894377818 L_13 = V_2; V_3 = L_13; float L_14 = ___duration1; ColorTween_set_duration_m347866734((&V_3), L_14, /*hidden argument*/NULL); CanvasRenderer_t3626201768 * L_15 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); NullCheck(L_15); Color_t1588175760 L_16 = CanvasRenderer_GetColor_m3075393702(L_15, /*hidden argument*/NULL); ColorTween_set_startColor_m1548058556((&V_3), L_16, /*hidden argument*/NULL); Color_t1588175760 L_17 = ___targetColor0; ColorTween_set_targetColor_m1091345019((&V_3), L_17, /*hidden argument*/NULL); ColorTween_t2894377818 L_18 = V_3; V_2 = L_18; CanvasRenderer_t3626201768 * L_19 = Graphic_get_canvasRenderer_m184553434(__this, /*hidden argument*/NULL); IntPtr_t L_20; L_20.set_m_value_0((void*)(void*)CanvasRenderer_SetColor_m3198078515_MethodInfo_var); UnityAction_1_t1568637665 * L_21 = (UnityAction_1_t1568637665 *)il2cpp_codegen_object_new(UnityAction_1_t1568637665_il2cpp_TypeInfo_var); UnityAction_1__ctor_m3352102596(L_21, L_19, L_20, /*hidden argument*/UnityAction_1__ctor_m3352102596_MethodInfo_var); ColorTween_AddOnChangedCallback_m1109647485((&V_2), L_21, /*hidden argument*/NULL); bool L_22 = ___ignoreTimeScale2; ColorTween_set_ignoreTimeScale_m4222585787((&V_2), L_22, /*hidden argument*/NULL); int32_t L_23 = V_1; ColorTween_set_tweenMode_m1316837809((&V_2), L_23, /*hidden argument*/NULL); TweenRunner_1_t1434350349 * L_24 = __this->get_m_ColorTweenRunner_17(); ColorTween_t2894377818 L_25 = V_2; NullCheck(L_24); TweenRunner_1_StartTween_m3060079017(L_24, L_25, /*hidden argument*/TweenRunner_1_StartTween_m3060079017_MethodInfo_var); return; } } // UnityEngine.Color UnityEngine.UI.Graphic::CreateColorFromAlpha(System.Single) extern "C" Color_t1588175760 Graphic_CreateColorFromAlpha_m3334630 (Il2CppObject * __this /* static, unused */, float ___alpha0, const MethodInfo* method) { Color_t1588175760 V_0; memset(&V_0, 0, sizeof(V_0)); { Color_t1588175760 L_0 = Color_get_black_m1687201969(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_0; float L_1 = ___alpha0; (&V_0)->set_a_3(L_1); Color_t1588175760 L_2 = V_0; return L_2; } } // System.Void UnityEngine.UI.Graphic::CrossFadeAlpha(System.Single,System.Single,System.Boolean) extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern const uint32_t Graphic_CrossFadeAlpha_m157692256_MetadataUsageId; extern "C" void Graphic_CrossFadeAlpha_m157692256 (Graphic_t933884113 * __this, float ___alpha0, float ___duration1, bool ___ignoreTimeScale2, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_CrossFadeAlpha_m157692256_MetadataUsageId); s_Il2CppMethodIntialized = true; } { float L_0 = ___alpha0; IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Color_t1588175760 L_1 = Graphic_CreateColorFromAlpha_m3334630(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); float L_2 = ___duration1; bool L_3 = ___ignoreTimeScale2; Graphic_CrossFadeColor_m1834346026(__this, L_1, L_2, L_3, (bool)1, (bool)0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Graphic::RegisterDirtyLayoutCallback(UnityEngine.Events.UnityAction) extern Il2CppClass* UnityAction_t909267611_il2cpp_TypeInfo_var; extern const uint32_t Graphic_RegisterDirtyLayoutCallback_m4189019746_MetadataUsageId; extern "C" void Graphic_RegisterDirtyLayoutCallback_m4189019746 (Graphic_t933884113 * __this, UnityAction_t909267611 * ___action0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_RegisterDirtyLayoutCallback_m4189019746_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UnityAction_t909267611 * L_0 = __this->get_m_OnDirtyLayoutCallback_12(); UnityAction_t909267611 * L_1 = ___action0; Delegate_t3660574010 * L_2 = Delegate_Combine_m1842362874(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); __this->set_m_OnDirtyLayoutCallback_12(((UnityAction_t909267611 *)CastclassSealed(L_2, UnityAction_t909267611_il2cpp_TypeInfo_var))); return; } } // System.Void UnityEngine.UI.Graphic::UnregisterDirtyLayoutCallback(UnityEngine.Events.UnityAction) extern Il2CppClass* UnityAction_t909267611_il2cpp_TypeInfo_var; extern const uint32_t Graphic_UnregisterDirtyLayoutCallback_m856391721_MetadataUsageId; extern "C" void Graphic_UnregisterDirtyLayoutCallback_m856391721 (Graphic_t933884113 * __this, UnityAction_t909267611 * ___action0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_UnregisterDirtyLayoutCallback_m856391721_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UnityAction_t909267611 * L_0 = __this->get_m_OnDirtyLayoutCallback_12(); UnityAction_t909267611 * L_1 = ___action0; Delegate_t3660574010 * L_2 = Delegate_Remove_m3898886541(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); __this->set_m_OnDirtyLayoutCallback_12(((UnityAction_t909267611 *)CastclassSealed(L_2, UnityAction_t909267611_il2cpp_TypeInfo_var))); return; } } // System.Void UnityEngine.UI.Graphic::RegisterDirtyVerticesCallback(UnityEngine.Events.UnityAction) extern Il2CppClass* UnityAction_t909267611_il2cpp_TypeInfo_var; extern const uint32_t Graphic_RegisterDirtyVerticesCallback_m1901460593_MetadataUsageId; extern "C" void Graphic_RegisterDirtyVerticesCallback_m1901460593 (Graphic_t933884113 * __this, UnityAction_t909267611 * ___action0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_RegisterDirtyVerticesCallback_m1901460593_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UnityAction_t909267611 * L_0 = __this->get_m_OnDirtyVertsCallback_13(); UnityAction_t909267611 * L_1 = ___action0; Delegate_t3660574010 * L_2 = Delegate_Combine_m1842362874(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); __this->set_m_OnDirtyVertsCallback_13(((UnityAction_t909267611 *)CastclassSealed(L_2, UnityAction_t909267611_il2cpp_TypeInfo_var))); return; } } // System.Void UnityEngine.UI.Graphic::UnregisterDirtyVerticesCallback(UnityEngine.Events.UnityAction) extern Il2CppClass* UnityAction_t909267611_il2cpp_TypeInfo_var; extern const uint32_t Graphic_UnregisterDirtyVerticesCallback_m3291531384_MetadataUsageId; extern "C" void Graphic_UnregisterDirtyVerticesCallback_m3291531384 (Graphic_t933884113 * __this, UnityAction_t909267611 * ___action0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_UnregisterDirtyVerticesCallback_m3291531384_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UnityAction_t909267611 * L_0 = __this->get_m_OnDirtyVertsCallback_13(); UnityAction_t909267611 * L_1 = ___action0; Delegate_t3660574010 * L_2 = Delegate_Remove_m3898886541(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); __this->set_m_OnDirtyVertsCallback_13(((UnityAction_t909267611 *)CastclassSealed(L_2, UnityAction_t909267611_il2cpp_TypeInfo_var))); return; } } // System.Void UnityEngine.UI.Graphic::RegisterDirtyMaterialCallback(UnityEngine.Events.UnityAction) extern Il2CppClass* UnityAction_t909267611_il2cpp_TypeInfo_var; extern const uint32_t Graphic_RegisterDirtyMaterialCallback_m984855455_MetadataUsageId; extern "C" void Graphic_RegisterDirtyMaterialCallback_m984855455 (Graphic_t933884113 * __this, UnityAction_t909267611 * ___action0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_RegisterDirtyMaterialCallback_m984855455_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UnityAction_t909267611 * L_0 = __this->get_m_OnDirtyMaterialCallback_14(); UnityAction_t909267611 * L_1 = ___action0; Delegate_t3660574010 * L_2 = Delegate_Combine_m1842362874(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); __this->set_m_OnDirtyMaterialCallback_14(((UnityAction_t909267611 *)CastclassSealed(L_2, UnityAction_t909267611_il2cpp_TypeInfo_var))); return; } } // System.Void UnityEngine.UI.Graphic::UnregisterDirtyMaterialCallback(UnityEngine.Events.UnityAction) extern Il2CppClass* UnityAction_t909267611_il2cpp_TypeInfo_var; extern const uint32_t Graphic_UnregisterDirtyMaterialCallback_m2374926246_MetadataUsageId; extern "C" void Graphic_UnregisterDirtyMaterialCallback_m2374926246 (Graphic_t933884113 * __this, UnityAction_t909267611 * ___action0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Graphic_UnregisterDirtyMaterialCallback_m2374926246_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UnityAction_t909267611 * L_0 = __this->get_m_OnDirtyMaterialCallback_14(); UnityAction_t909267611 * L_1 = ___action0; Delegate_t3660574010 * L_2 = Delegate_Remove_m3898886541(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); __this->set_m_OnDirtyMaterialCallback_14(((UnityAction_t909267611 *)CastclassSealed(L_2, UnityAction_t909267611_il2cpp_TypeInfo_var))); return; } } // System.Boolean UnityEngine.UI.Graphic::UnityEngine.UI.ICanvasElement.IsDestroyed() extern "C" bool Graphic_UnityEngine_UI_ICanvasElement_IsDestroyed_m2164415202 (Graphic_t933884113 * __this, const MethodInfo* method) { { bool L_0 = UIBehaviour_IsDestroyed_m3027499227(__this, /*hidden argument*/NULL); return L_0; } } // UnityEngine.Transform UnityEngine.UI.Graphic::UnityEngine.UI.ICanvasElement.get_transform() extern "C" Transform_t284553113 * Graphic_UnityEngine_UI_ICanvasElement_get_transform_m1663879910 (Graphic_t933884113 * __this, const MethodInfo* method) { { Transform_t284553113 * L_0 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); return L_0; } } // System.Void UnityEngine.UI.GraphicRaycaster::.ctor() extern Il2CppClass* List_1_t1730843082_il2cpp_TypeInfo_var; extern const MethodInfo* List_1__ctor_m4240575155_MethodInfo_var; extern const uint32_t GraphicRaycaster__ctor_m361051581_MetadataUsageId; extern "C" void GraphicRaycaster__ctor_m361051581 (GraphicRaycaster_t2033008887 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GraphicRaycaster__ctor_m361051581_MetadataUsageId); s_Il2CppMethodIntialized = true; } { __this->set_m_IgnoreReversedGraphics_3((bool)1); LayerMask_t1862190090 L_0 = LayerMask_op_Implicit_m2608572187(NULL /*static, unused*/, (-1), /*hidden argument*/NULL); __this->set_m_BlockingMask_5(L_0); List_1_t1730843082 * L_1 = (List_1_t1730843082 *)il2cpp_codegen_object_new(List_1_t1730843082_il2cpp_TypeInfo_var); List_1__ctor_m4240575155(L_1, /*hidden argument*/List_1__ctor_m4240575155_MethodInfo_var); __this->set_m_RaycastResults_7(L_1); BaseRaycaster__ctor_m2197027296(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.GraphicRaycaster::.cctor() extern Il2CppClass* List_1_t1730843082_il2cpp_TypeInfo_var; extern Il2CppClass* GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var; extern const MethodInfo* List_1__ctor_m4240575155_MethodInfo_var; extern const uint32_t GraphicRaycaster__cctor_m2120568208_MetadataUsageId; extern "C" void GraphicRaycaster__cctor_m2120568208 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GraphicRaycaster__cctor_m2120568208_MetadataUsageId); s_Il2CppMethodIntialized = true; } { List_1_t1730843082 * L_0 = (List_1_t1730843082 *)il2cpp_codegen_object_new(List_1_t1730843082_il2cpp_TypeInfo_var); List_1__ctor_m4240575155(L_0, /*hidden argument*/List_1__ctor_m4240575155_MethodInfo_var); ((GraphicRaycaster_t2033008887_StaticFields*)GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var->static_fields)->set_s_SortedGraphics_8(L_0); return; } } // System.Int32 UnityEngine.UI.GraphicRaycaster::get_sortOrderPriority() extern "C" int32_t GraphicRaycaster_get_sortOrderPriority_m2826757774 (GraphicRaycaster_t2033008887 * __this, const MethodInfo* method) { { Canvas_t3534013893 * L_0 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_0); int32_t L_1 = Canvas_get_renderMode_m3669121200(L_0, /*hidden argument*/NULL); if (L_1) { goto IL_001c; } } { Canvas_t3534013893 * L_2 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_2); int32_t L_3 = Canvas_get_sortingOrder_m1274160674(L_2, /*hidden argument*/NULL); return L_3; } IL_001c: { int32_t L_4 = BaseRaycaster_get_sortOrderPriority_m1812907489(__this, /*hidden argument*/NULL); return L_4; } } // System.Int32 UnityEngine.UI.GraphicRaycaster::get_renderOrderPriority() extern "C" int32_t GraphicRaycaster_get_renderOrderPriority_m4133744982 (GraphicRaycaster_t2033008887 * __this, const MethodInfo* method) { { Canvas_t3534013893 * L_0 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_0); int32_t L_1 = Canvas_get_renderMode_m3669121200(L_0, /*hidden argument*/NULL); if (L_1) { goto IL_001c; } } { Canvas_t3534013893 * L_2 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_2); int32_t L_3 = Canvas_get_renderOrder_m2295969794(L_2, /*hidden argument*/NULL); return L_3; } IL_001c: { int32_t L_4 = BaseRaycaster_get_renderOrderPriority_m486229993(__this, /*hidden argument*/NULL); return L_4; } } // System.Boolean UnityEngine.UI.GraphicRaycaster::get_ignoreReversedGraphics() extern "C" bool GraphicRaycaster_get_ignoreReversedGraphics_m4072803617 (GraphicRaycaster_t2033008887 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_IgnoreReversedGraphics_3(); return L_0; } } // System.Void UnityEngine.UI.GraphicRaycaster::set_ignoreReversedGraphics(System.Boolean) extern "C" void GraphicRaycaster_set_ignoreReversedGraphics_m1428686170 (GraphicRaycaster_t2033008887 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_IgnoreReversedGraphics_3(L_0); return; } } // UnityEngine.UI.GraphicRaycaster/BlockingObjects UnityEngine.UI.GraphicRaycaster::get_blockingObjects() extern "C" int32_t GraphicRaycaster_get_blockingObjects_m3655591395 (GraphicRaycaster_t2033008887 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_BlockingObjects_4(); return L_0; } } // System.Void UnityEngine.UI.GraphicRaycaster::set_blockingObjects(UnityEngine.UI.GraphicRaycaster/BlockingObjects) extern "C" void GraphicRaycaster_set_blockingObjects_m421631540 (GraphicRaycaster_t2033008887 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_BlockingObjects_4(L_0); return; } } // UnityEngine.Canvas UnityEngine.UI.GraphicRaycaster::get_canvas() extern const MethodInfo* Component_GetComponent_TisCanvas_t3534013893_m868172531_MethodInfo_var; extern const uint32_t GraphicRaycaster_get_canvas_m1333156416_MetadataUsageId; extern "C" Canvas_t3534013893 * GraphicRaycaster_get_canvas_m1333156416 (GraphicRaycaster_t2033008887 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GraphicRaycaster_get_canvas_m1333156416_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Canvas_t3534013893 * L_0 = __this->get_m_Canvas_6(); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0018; } } { Canvas_t3534013893 * L_2 = __this->get_m_Canvas_6(); return L_2; } IL_0018: { Canvas_t3534013893 * L_3 = Component_GetComponent_TisCanvas_t3534013893_m868172531(__this, /*hidden argument*/Component_GetComponent_TisCanvas_t3534013893_m868172531_MethodInfo_var); __this->set_m_Canvas_6(L_3); Canvas_t3534013893 * L_4 = __this->get_m_Canvas_6(); return L_4; } } // System.Void UnityEngine.UI.GraphicRaycaster::Raycast(UnityEngine.EventSystems.PointerEventData,System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>) extern Il2CppClass* Ray_t1522967639_il2cpp_TypeInfo_var; extern Il2CppClass* Physics2D_t2930244358_il2cpp_TypeInfo_var; extern Il2CppClass* GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var; extern Il2CppClass* RaycastResult_t959898689_il2cpp_TypeInfo_var; extern const uint32_t GraphicRaycaster_Raycast_m1880111711_MetadataUsageId; extern "C" void GraphicRaycaster_Raycast_m1880111711 (GraphicRaycaster_t2033008887 * __this, PointerEventData_t3205101634 * ___eventData0, List_1_t1756857658 * ___resultAppendList1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GraphicRaycaster_Raycast_m1880111711_MetadataUsageId); s_Il2CppMethodIntialized = true; } Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); float V_1 = 0.0f; float V_2 = 0.0f; float V_3 = 0.0f; Ray_t1522967639 V_4; memset(&V_4, 0, sizeof(V_4)); float V_5 = 0.0f; RaycastHit_t46221527 V_6; memset(&V_6, 0, sizeof(V_6)); RaycastHit2D_t4082783401 V_7; memset(&V_7, 0, sizeof(V_7)); int32_t V_8 = 0; GameObject_t4012695102 * V_9 = NULL; bool V_10 = false; Vector3_t3525329789 V_11; memset(&V_11, 0, sizeof(V_11)); Vector3_t3525329789 V_12; memset(&V_12, 0, sizeof(V_12)); Vector3_t3525329789 V_13; memset(&V_13, 0, sizeof(V_13)); float V_14 = 0.0f; Transform_t284553113 * V_15 = NULL; Vector3_t3525329789 V_16; memset(&V_16, 0, sizeof(V_16)); RaycastResult_t959898689 V_17; memset(&V_17, 0, sizeof(V_17)); Vector2_t3525329788 V_18; memset(&V_18, 0, sizeof(V_18)); Vector2_t3525329788 V_19; memset(&V_19, 0, sizeof(V_19)); RaycastResult_t959898689 V_20; memset(&V_20, 0, sizeof(V_20)); { Canvas_t3534013893 * L_0 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0012; } } { return; } IL_0012: { Camera_t3533968274 * L_2 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.UI.GraphicRaycaster::get_eventCamera() */, __this); bool L_3 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_2, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_3) { goto IL_005f; } } { int32_t L_4 = Screen_get_width_m3080333084(NULL /*static, unused*/, /*hidden argument*/NULL); V_1 = (((float)((float)L_4))); int32_t L_5 = Screen_get_height_m1504859443(NULL /*static, unused*/, /*hidden argument*/NULL); V_2 = (((float)((float)L_5))); PointerEventData_t3205101634 * L_6 = ___eventData0; NullCheck(L_6); Vector2_t3525329788 L_7 = PointerEventData_get_position_m2263123361(L_6, /*hidden argument*/NULL); V_18 = L_7; float L_8 = (&V_18)->get_x_1(); float L_9 = V_1; PointerEventData_t3205101634 * L_10 = ___eventData0; NullCheck(L_10); Vector2_t3525329788 L_11 = PointerEventData_get_position_m2263123361(L_10, /*hidden argument*/NULL); V_19 = L_11; float L_12 = (&V_19)->get_y_2(); float L_13 = V_2; Vector2__ctor_m1517109030((&V_0), ((float)((float)L_8/(float)L_9)), ((float)((float)L_12/(float)L_13)), /*hidden argument*/NULL); goto IL_007b; } IL_005f: { Camera_t3533968274 * L_14 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.UI.GraphicRaycaster::get_eventCamera() */, __this); PointerEventData_t3205101634 * L_15 = ___eventData0; NullCheck(L_15); Vector2_t3525329788 L_16 = PointerEventData_get_position_m2263123361(L_15, /*hidden argument*/NULL); Vector3_t3525329789 L_17 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_16, /*hidden argument*/NULL); NullCheck(L_14); Vector3_t3525329789 L_18 = Camera_ScreenToViewportPoint_m3727203754(L_14, L_17, /*hidden argument*/NULL); Vector2_t3525329788 L_19 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_18, /*hidden argument*/NULL); V_0 = L_19; } IL_007b: { float L_20 = (&V_0)->get_x_1(); if ((((float)L_20) < ((float)(0.0f)))) { goto IL_00bf; } } { float L_21 = (&V_0)->get_x_1(); if ((((float)L_21) > ((float)(1.0f)))) { goto IL_00bf; } } { float L_22 = (&V_0)->get_y_2(); if ((((float)L_22) < ((float)(0.0f)))) { goto IL_00bf; } } { float L_23 = (&V_0)->get_y_2(); if ((!(((float)L_23) > ((float)(1.0f))))) { goto IL_00c0; } } IL_00bf: { return; } IL_00c0: { V_3 = (std::numeric_limits<float>::max()); Initobj (Ray_t1522967639_il2cpp_TypeInfo_var, (&V_4)); Camera_t3533968274 * L_24 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.UI.GraphicRaycaster::get_eventCamera() */, __this); bool L_25 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_24, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_25) { goto IL_00f7; } } { Camera_t3533968274 * L_26 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.UI.GraphicRaycaster::get_eventCamera() */, __this); PointerEventData_t3205101634 * L_27 = ___eventData0; NullCheck(L_27); Vector2_t3525329788 L_28 = PointerEventData_get_position_m2263123361(L_27, /*hidden argument*/NULL); Vector3_t3525329789 L_29 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_28, /*hidden argument*/NULL); NullCheck(L_26); Ray_t1522967639 L_30 = Camera_ScreenPointToRay_m1733083890(L_26, L_29, /*hidden argument*/NULL); V_4 = L_30; } IL_00f7: { Canvas_t3534013893 * L_31 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_31); int32_t L_32 = Canvas_get_renderMode_m3669121200(L_31, /*hidden argument*/NULL); if (!L_32) { goto IL_01df; } } { int32_t L_33 = GraphicRaycaster_get_blockingObjects_m3655591395(__this, /*hidden argument*/NULL); if (!L_33) { goto IL_01df; } } { V_5 = (100.0f); Camera_t3533968274 * L_34 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.UI.GraphicRaycaster::get_eventCamera() */, __this); bool L_35 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_34, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_35) { goto IL_0143; } } { Camera_t3533968274 * L_36 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.UI.GraphicRaycaster::get_eventCamera() */, __this); NullCheck(L_36); float L_37 = Camera_get_farClipPlane_m388706726(L_36, /*hidden argument*/NULL); Camera_t3533968274 * L_38 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.UI.GraphicRaycaster::get_eventCamera() */, __this); NullCheck(L_38); float L_39 = Camera_get_nearClipPlane_m4074655061(L_38, /*hidden argument*/NULL); V_5 = ((float)((float)L_37-(float)L_39)); } IL_0143: { int32_t L_40 = GraphicRaycaster_get_blockingObjects_m3655591395(__this, /*hidden argument*/NULL); if ((((int32_t)L_40) == ((int32_t)2))) { goto IL_015b; } } { int32_t L_41 = GraphicRaycaster_get_blockingObjects_m3655591395(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_41) == ((uint32_t)3)))) { goto IL_017e; } } IL_015b: { Ray_t1522967639 L_42 = V_4; float L_43 = V_5; LayerMask_t1862190090 L_44 = __this->get_m_BlockingMask_5(); int32_t L_45 = LayerMask_op_Implicit_m1595580047(NULL /*static, unused*/, L_44, /*hidden argument*/NULL); bool L_46 = Physics_Raycast_m1600345803(NULL /*static, unused*/, L_42, (&V_6), L_43, L_45, /*hidden argument*/NULL); if (!L_46) { goto IL_017e; } } { float L_47 = RaycastHit_get_distance_m800944203((&V_6), /*hidden argument*/NULL); V_3 = L_47; } IL_017e: { int32_t L_48 = GraphicRaycaster_get_blockingObjects_m3655591395(__this, /*hidden argument*/NULL); if ((((int32_t)L_48) == ((int32_t)1))) { goto IL_0196; } } { int32_t L_49 = GraphicRaycaster_get_blockingObjects_m3655591395(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_49) == ((uint32_t)3)))) { goto IL_01df; } } IL_0196: { Vector3_t3525329789 L_50 = Ray_get_origin_m3064983562((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_51 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_50, /*hidden argument*/NULL); Vector3_t3525329789 L_52 = Ray_get_direction_m3201866877((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_53 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, L_52, /*hidden argument*/NULL); float L_54 = V_5; LayerMask_t1862190090 L_55 = __this->get_m_BlockingMask_5(); int32_t L_56 = LayerMask_op_Implicit_m1595580047(NULL /*static, unused*/, L_55, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Physics2D_t2930244358_il2cpp_TypeInfo_var); RaycastHit2D_t4082783401 L_57 = Physics2D_Raycast_m1435321255(NULL /*static, unused*/, L_51, L_53, L_54, L_56, /*hidden argument*/NULL); V_7 = L_57; Collider2D_t1890038195 * L_58 = RaycastHit2D_get_collider_m789902306((&V_7), /*hidden argument*/NULL); bool L_59 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_58, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_59) { goto IL_01df; } } { float L_60 = RaycastHit2D_get_fraction_m2313516650((&V_7), /*hidden argument*/NULL); float L_61 = V_5; V_3 = ((float)((float)L_60*(float)L_61)); } IL_01df: { List_1_t1730843082 * L_62 = __this->get_m_RaycastResults_7(); NullCheck(L_62); VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Graphic>::Clear() */, L_62); Canvas_t3534013893 * L_63 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); Camera_t3533968274 * L_64 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.UI.GraphicRaycaster::get_eventCamera() */, __this); PointerEventData_t3205101634 * L_65 = ___eventData0; NullCheck(L_65); Vector2_t3525329788 L_66 = PointerEventData_get_position_m2263123361(L_65, /*hidden argument*/NULL); List_1_t1730843082 * L_67 = __this->get_m_RaycastResults_7(); IL2CPP_RUNTIME_CLASS_INIT(GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var); GraphicRaycaster_Raycast_m3191301018(NULL /*static, unused*/, L_63, L_64, L_66, L_67, /*hidden argument*/NULL); V_8 = 0; goto IL_03e0; } IL_020f: { List_1_t1730843082 * L_68 = __this->get_m_RaycastResults_7(); int32_t L_69 = V_8; NullCheck(L_68); Graphic_t933884113 * L_70 = VirtFuncInvoker1< Graphic_t933884113 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UI.Graphic>::get_Item(System.Int32) */, L_68, L_69); NullCheck(L_70); GameObject_t4012695102 * L_71 = Component_get_gameObject_m1170635899(L_70, /*hidden argument*/NULL); V_9 = L_71; V_10 = (bool)1; bool L_72 = GraphicRaycaster_get_ignoreReversedGraphics_m4072803617(__this, /*hidden argument*/NULL); if (!L_72) { goto IL_02ba; } } { Camera_t3533968274 * L_73 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.UI.GraphicRaycaster::get_eventCamera() */, __this); bool L_74 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_73, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_74) { goto IL_0274; } } { GameObject_t4012695102 * L_75 = V_9; NullCheck(L_75); Transform_t284553113 * L_76 = GameObject_get_transform_m1278640159(L_75, /*hidden argument*/NULL); NullCheck(L_76); Quaternion_t1891715979 L_77 = Transform_get_rotation_m11483428(L_76, /*hidden argument*/NULL); Vector3_t3525329789 L_78 = Vector3_get_forward_m1039372701(NULL /*static, unused*/, /*hidden argument*/NULL); Vector3_t3525329789 L_79 = Quaternion_op_Multiply_m3771288979(NULL /*static, unused*/, L_77, L_78, /*hidden argument*/NULL); V_11 = L_79; Vector3_t3525329789 L_80 = Vector3_get_forward_m1039372701(NULL /*static, unused*/, /*hidden argument*/NULL); Vector3_t3525329789 L_81 = V_11; float L_82 = Vector3_Dot_m2370485424(NULL /*static, unused*/, L_80, L_81, /*hidden argument*/NULL); V_10 = (bool)((((float)L_82) > ((float)(0.0f)))? 1 : 0); goto IL_02ba; } IL_0274: { Camera_t3533968274 * L_83 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.UI.GraphicRaycaster::get_eventCamera() */, __this); NullCheck(L_83); Transform_t284553113 * L_84 = Component_get_transform_m4257140443(L_83, /*hidden argument*/NULL); NullCheck(L_84); Quaternion_t1891715979 L_85 = Transform_get_rotation_m11483428(L_84, /*hidden argument*/NULL); Vector3_t3525329789 L_86 = Vector3_get_forward_m1039372701(NULL /*static, unused*/, /*hidden argument*/NULL); Vector3_t3525329789 L_87 = Quaternion_op_Multiply_m3771288979(NULL /*static, unused*/, L_85, L_86, /*hidden argument*/NULL); V_12 = L_87; GameObject_t4012695102 * L_88 = V_9; NullCheck(L_88); Transform_t284553113 * L_89 = GameObject_get_transform_m1278640159(L_88, /*hidden argument*/NULL); NullCheck(L_89); Quaternion_t1891715979 L_90 = Transform_get_rotation_m11483428(L_89, /*hidden argument*/NULL); Vector3_t3525329789 L_91 = Vector3_get_forward_m1039372701(NULL /*static, unused*/, /*hidden argument*/NULL); Vector3_t3525329789 L_92 = Quaternion_op_Multiply_m3771288979(NULL /*static, unused*/, L_90, L_91, /*hidden argument*/NULL); V_13 = L_92; Vector3_t3525329789 L_93 = V_12; Vector3_t3525329789 L_94 = V_13; float L_95 = Vector3_Dot_m2370485424(NULL /*static, unused*/, L_93, L_94, /*hidden argument*/NULL); V_10 = (bool)((((float)L_95) > ((float)(0.0f)))? 1 : 0); } IL_02ba: { bool L_96 = V_10; if (!L_96) { goto IL_03da; } } { V_14 = (0.0f); Camera_t3533968274 * L_97 = VirtFuncInvoker0< Camera_t3533968274 * >::Invoke(17 /* UnityEngine.Camera UnityEngine.UI.GraphicRaycaster::get_eventCamera() */, __this); bool L_98 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_97, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_98) { goto IL_02e9; } } { Canvas_t3534013893 * L_99 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_99); int32_t L_100 = Canvas_get_renderMode_m3669121200(L_99, /*hidden argument*/NULL); if (L_100) { goto IL_02f5; } } IL_02e9: { V_14 = (0.0f); goto IL_0343; } IL_02f5: { GameObject_t4012695102 * L_101 = V_9; NullCheck(L_101); Transform_t284553113 * L_102 = GameObject_get_transform_m1278640159(L_101, /*hidden argument*/NULL); V_15 = L_102; Transform_t284553113 * L_103 = V_15; NullCheck(L_103); Vector3_t3525329789 L_104 = Transform_get_forward_m877665793(L_103, /*hidden argument*/NULL); V_16 = L_104; Vector3_t3525329789 L_105 = V_16; Transform_t284553113 * L_106 = V_15; NullCheck(L_106); Vector3_t3525329789 L_107 = Transform_get_position_m2211398607(L_106, /*hidden argument*/NULL); Vector3_t3525329789 L_108 = Ray_get_origin_m3064983562((&V_4), /*hidden argument*/NULL); Vector3_t3525329789 L_109 = Vector3_op_Subtraction_m2842958165(NULL /*static, unused*/, L_107, L_108, /*hidden argument*/NULL); float L_110 = Vector3_Dot_m2370485424(NULL /*static, unused*/, L_105, L_109, /*hidden argument*/NULL); Vector3_t3525329789 L_111 = V_16; Vector3_t3525329789 L_112 = Ray_get_direction_m3201866877((&V_4), /*hidden argument*/NULL); float L_113 = Vector3_Dot_m2370485424(NULL /*static, unused*/, L_111, L_112, /*hidden argument*/NULL); V_14 = ((float)((float)L_110/(float)L_113)); float L_114 = V_14; if ((!(((float)L_114) < ((float)(0.0f))))) { goto IL_0343; } } { goto IL_03da; } IL_0343: { float L_115 = V_14; float L_116 = V_3; if ((!(((float)L_115) >= ((float)L_116)))) { goto IL_0350; } } { goto IL_03da; } IL_0350: { Initobj (RaycastResult_t959898689_il2cpp_TypeInfo_var, (&V_17)); RaycastResult_t959898689 L_117 = V_17; V_20 = L_117; GameObject_t4012695102 * L_118 = V_9; RaycastResult_set_gameObject_m726369707((&V_20), L_118, /*hidden argument*/NULL); (&V_20)->set_module_1(__this); float L_119 = V_14; (&V_20)->set_distance_2(L_119); PointerEventData_t3205101634 * L_120 = ___eventData0; NullCheck(L_120); Vector2_t3525329788 L_121 = PointerEventData_get_position_m2263123361(L_120, /*hidden argument*/NULL); (&V_20)->set_screenPosition_9(L_121); List_1_t1756857658 * L_122 = ___resultAppendList1; NullCheck(L_122); int32_t L_123 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::get_Count() */, L_122); (&V_20)->set_index_3((((float)((float)L_123)))); List_1_t1730843082 * L_124 = __this->get_m_RaycastResults_7(); int32_t L_125 = V_8; NullCheck(L_124); Graphic_t933884113 * L_126 = VirtFuncInvoker1< Graphic_t933884113 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UI.Graphic>::get_Item(System.Int32) */, L_124, L_125); NullCheck(L_126); int32_t L_127 = Graphic_get_depth_m1908843203(L_126, /*hidden argument*/NULL); (&V_20)->set_depth_4(L_127); Canvas_t3534013893 * L_128 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_128); int32_t L_129 = Canvas_get_sortingLayerID_m3425838272(L_128, /*hidden argument*/NULL); (&V_20)->set_sortingLayer_5(L_129); Canvas_t3534013893 * L_130 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_130); int32_t L_131 = Canvas_get_sortingOrder_m1274160674(L_130, /*hidden argument*/NULL); (&V_20)->set_sortingOrder_6(L_131); RaycastResult_t959898689 L_132 = V_20; V_17 = L_132; List_1_t1756857658 * L_133 = ___resultAppendList1; RaycastResult_t959898689 L_134 = V_17; NullCheck(L_133); VirtActionInvoker1< RaycastResult_t959898689 >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.EventSystems.RaycastResult>::Add(!0) */, L_133, L_134); } IL_03da: { int32_t L_135 = V_8; V_8 = ((int32_t)((int32_t)L_135+(int32_t)1)); } IL_03e0: { int32_t L_136 = V_8; List_1_t1730843082 * L_137 = __this->get_m_RaycastResults_7(); NullCheck(L_137); int32_t L_138 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Graphic>::get_Count() */, L_137); if ((((int32_t)L_136) < ((int32_t)L_138))) { goto IL_020f; } } { return; } } // UnityEngine.Camera UnityEngine.UI.GraphicRaycaster::get_eventCamera() extern "C" Camera_t3533968274 * GraphicRaycaster_get_eventCamera_m2522555180 (GraphicRaycaster_t2033008887 * __this, const MethodInfo* method) { Camera_t3533968274 * G_B7_0 = NULL; { Canvas_t3534013893 * L_0 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_0); int32_t L_1 = Canvas_get_renderMode_m3669121200(L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_0037; } } { Canvas_t3534013893 * L_2 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_2); int32_t L_3 = Canvas_get_renderMode_m3669121200(L_2, /*hidden argument*/NULL); if ((!(((uint32_t)L_3) == ((uint32_t)1)))) { goto IL_0039; } } { Canvas_t3534013893 * L_4 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_4); Camera_t3533968274 * L_5 = Canvas_get_worldCamera_m2621449230(L_4, /*hidden argument*/NULL); bool L_6 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_5, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_6) { goto IL_0039; } } IL_0037: { return (Camera_t3533968274 *)NULL; } IL_0039: { Canvas_t3534013893 * L_7 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_7); Camera_t3533968274 * L_8 = Canvas_get_worldCamera_m2621449230(L_7, /*hidden argument*/NULL); bool L_9 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_8, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_9) { goto IL_005f; } } { Canvas_t3534013893 * L_10 = GraphicRaycaster_get_canvas_m1333156416(__this, /*hidden argument*/NULL); NullCheck(L_10); Camera_t3533968274 * L_11 = Canvas_get_worldCamera_m2621449230(L_10, /*hidden argument*/NULL); G_B7_0 = L_11; goto IL_0064; } IL_005f: { Camera_t3533968274 * L_12 = Camera_get_main_m671815697(NULL /*static, unused*/, /*hidden argument*/NULL); G_B7_0 = L_12; } IL_0064: { return G_B7_0; } } // System.Void UnityEngine.UI.GraphicRaycaster::Raycast(UnityEngine.Canvas,UnityEngine.Camera,UnityEngine.Vector2,System.Collections.Generic.List`1<UnityEngine.UI.Graphic>) extern Il2CppClass* GraphicRegistry_t3790421294_il2cpp_TypeInfo_var; extern Il2CppClass* IList_1_t3100376427_il2cpp_TypeInfo_var; extern Il2CppClass* RectTransformUtility_t2895919825_il2cpp_TypeInfo_var; extern Il2CppClass* GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var; extern Il2CppClass* ICollection_1_t1399715499_il2cpp_TypeInfo_var; extern Il2CppClass* Comparison_1_t3637558989_il2cpp_TypeInfo_var; extern const MethodInfo* GraphicRaycaster_U3CRaycastU3Em__3_m3990589484_MethodInfo_var; extern const MethodInfo* Comparison_1__ctor_m3966455050_MethodInfo_var; extern const MethodInfo* List_1_Sort_m874475031_MethodInfo_var; extern const uint32_t GraphicRaycaster_Raycast_m3191301018_MetadataUsageId; extern "C" void GraphicRaycaster_Raycast_m3191301018 (Il2CppObject * __this /* static, unused */, Canvas_t3534013893 * ___canvas0, Camera_t3533968274 * ___eventCamera1, Vector2_t3525329788 ___pointerPosition2, List_1_t1730843082 * ___results3, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GraphicRaycaster_Raycast_m3191301018_MetadataUsageId); s_Il2CppMethodIntialized = true; } Il2CppObject* V_0 = NULL; int32_t V_1 = 0; Graphic_t933884113 * V_2 = NULL; int32_t V_3 = 0; List_1_t1730843082 * G_B12_0 = NULL; List_1_t1730843082 * G_B11_0 = NULL; { Canvas_t3534013893 * L_0 = ___canvas0; IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); Il2CppObject* L_1 = GraphicRegistry_GetGraphicsForCanvas_m2740028912(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); V_0 = L_1; V_1 = 0; goto IL_0065; } IL_000e: { Il2CppObject* L_2 = V_0; int32_t L_3 = V_1; NullCheck(L_2); Graphic_t933884113 * L_4 = InterfaceFuncInvoker1< Graphic_t933884113 *, int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UI.Graphic>::get_Item(System.Int32) */, IList_1_t3100376427_il2cpp_TypeInfo_var, L_2, L_3); V_2 = L_4; Graphic_t933884113 * L_5 = V_2; NullCheck(L_5); int32_t L_6 = Graphic_get_depth_m1908843203(L_5, /*hidden argument*/NULL); if ((((int32_t)L_6) == ((int32_t)(-1)))) { goto IL_002d; } } { Graphic_t933884113 * L_7 = V_2; NullCheck(L_7); bool L_8 = Graphic_get_raycastTarget_m3436649332(L_7, /*hidden argument*/NULL); if (L_8) { goto IL_0032; } } IL_002d: { goto IL_0061; } IL_0032: { Graphic_t933884113 * L_9 = V_2; NullCheck(L_9); RectTransform_t3317474837 * L_10 = Graphic_get_rectTransform_m4017371950(L_9, /*hidden argument*/NULL); Vector2_t3525329788 L_11 = ___pointerPosition2; Camera_t3533968274 * L_12 = ___eventCamera1; IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2895919825_il2cpp_TypeInfo_var); bool L_13 = RectTransformUtility_RectangleContainsScreenPoint_m1460676684(NULL /*static, unused*/, L_10, L_11, L_12, /*hidden argument*/NULL); if (L_13) { goto IL_0049; } } { goto IL_0061; } IL_0049: { Graphic_t933884113 * L_14 = V_2; Vector2_t3525329788 L_15 = ___pointerPosition2; Camera_t3533968274 * L_16 = ___eventCamera1; NullCheck(L_14); bool L_17 = VirtFuncInvoker2< bool, Vector2_t3525329788 , Camera_t3533968274 * >::Invoke(39 /* System.Boolean UnityEngine.UI.Graphic::Raycast(UnityEngine.Vector2,UnityEngine.Camera) */, L_14, L_15, L_16); if (!L_17) { goto IL_0061; } } { IL2CPP_RUNTIME_CLASS_INIT(GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var); List_1_t1730843082 * L_18 = ((GraphicRaycaster_t2033008887_StaticFields*)GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var->static_fields)->get_s_SortedGraphics_8(); Graphic_t933884113 * L_19 = V_2; NullCheck(L_18); VirtActionInvoker1< Graphic_t933884113 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Graphic>::Add(!0) */, L_18, L_19); } IL_0061: { int32_t L_20 = V_1; V_1 = ((int32_t)((int32_t)L_20+(int32_t)1)); } IL_0065: { int32_t L_21 = V_1; Il2CppObject* L_22 = V_0; NullCheck(L_22); int32_t L_23 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.UI.Graphic>::get_Count() */, ICollection_1_t1399715499_il2cpp_TypeInfo_var, L_22); if ((((int32_t)L_21) < ((int32_t)L_23))) { goto IL_000e; } } { IL2CPP_RUNTIME_CLASS_INIT(GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var); List_1_t1730843082 * L_24 = ((GraphicRaycaster_t2033008887_StaticFields*)GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var->static_fields)->get_s_SortedGraphics_8(); Comparison_1_t3637558989 * L_25 = ((GraphicRaycaster_t2033008887_StaticFields*)GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache6_9(); G_B11_0 = L_24; if (L_25) { G_B12_0 = L_24; goto IL_008e; } } { IntPtr_t L_26; L_26.set_m_value_0((void*)(void*)GraphicRaycaster_U3CRaycastU3Em__3_m3990589484_MethodInfo_var); Comparison_1_t3637558989 * L_27 = (Comparison_1_t3637558989 *)il2cpp_codegen_object_new(Comparison_1_t3637558989_il2cpp_TypeInfo_var); Comparison_1__ctor_m3966455050(L_27, NULL, L_26, /*hidden argument*/Comparison_1__ctor_m3966455050_MethodInfo_var); IL2CPP_RUNTIME_CLASS_INIT(GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var); ((GraphicRaycaster_t2033008887_StaticFields*)GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache6_9(L_27); G_B12_0 = G_B11_0; } IL_008e: { IL2CPP_RUNTIME_CLASS_INIT(GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var); Comparison_1_t3637558989 * L_28 = ((GraphicRaycaster_t2033008887_StaticFields*)GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache6_9(); NullCheck(G_B12_0); List_1_Sort_m874475031(G_B12_0, L_28, /*hidden argument*/List_1_Sort_m874475031_MethodInfo_var); V_3 = 0; goto IL_00b4; } IL_009f: { List_1_t1730843082 * L_29 = ___results3; IL2CPP_RUNTIME_CLASS_INIT(GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var); List_1_t1730843082 * L_30 = ((GraphicRaycaster_t2033008887_StaticFields*)GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var->static_fields)->get_s_SortedGraphics_8(); int32_t L_31 = V_3; NullCheck(L_30); Graphic_t933884113 * L_32 = VirtFuncInvoker1< Graphic_t933884113 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.UI.Graphic>::get_Item(System.Int32) */, L_30, L_31); NullCheck(L_29); VirtActionInvoker1< Graphic_t933884113 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Graphic>::Add(!0) */, L_29, L_32); int32_t L_33 = V_3; V_3 = ((int32_t)((int32_t)L_33+(int32_t)1)); } IL_00b4: { int32_t L_34 = V_3; IL2CPP_RUNTIME_CLASS_INIT(GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var); List_1_t1730843082 * L_35 = ((GraphicRaycaster_t2033008887_StaticFields*)GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var->static_fields)->get_s_SortedGraphics_8(); NullCheck(L_35); int32_t L_36 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Graphic>::get_Count() */, L_35); if ((((int32_t)L_34) < ((int32_t)L_36))) { goto IL_009f; } } { IL2CPP_RUNTIME_CLASS_INIT(GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var); List_1_t1730843082 * L_37 = ((GraphicRaycaster_t2033008887_StaticFields*)GraphicRaycaster_t2033008887_il2cpp_TypeInfo_var->static_fields)->get_s_SortedGraphics_8(); NullCheck(L_37); VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.UI.Graphic>::Clear() */, L_37); return; } } // System.Int32 UnityEngine.UI.GraphicRaycaster::<Raycast>m__3(UnityEngine.UI.Graphic,UnityEngine.UI.Graphic) extern "C" int32_t GraphicRaycaster_U3CRaycastU3Em__3_m3990589484 (Il2CppObject * __this /* static, unused */, Graphic_t933884113 * ___g10, Graphic_t933884113 * ___g21, const MethodInfo* method) { int32_t V_0 = 0; { Graphic_t933884113 * L_0 = ___g21; NullCheck(L_0); int32_t L_1 = Graphic_get_depth_m1908843203(L_0, /*hidden argument*/NULL); V_0 = L_1; Graphic_t933884113 * L_2 = ___g10; NullCheck(L_2); int32_t L_3 = Graphic_get_depth_m1908843203(L_2, /*hidden argument*/NULL); int32_t L_4 = Int32_CompareTo_m2558537238((&V_0), L_3, /*hidden argument*/NULL); return L_4; } } // System.Void UnityEngine.UI.GraphicRegistry::.ctor() extern Il2CppClass* Dictionary_2_t3781205267_il2cpp_TypeInfo_var; extern const MethodInfo* Dictionary_2__ctor_m3579386547_MethodInfo_var; extern const uint32_t GraphicRegistry__ctor_m3010929046_MetadataUsageId; extern "C" void GraphicRegistry__ctor_m3010929046 (GraphicRegistry_t3790421294 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GraphicRegistry__ctor_m3010929046_MetadataUsageId); s_Il2CppMethodIntialized = true; } Dictionary_2_t2348180956 * V_0 = NULL; Dictionary_2_t576693949 * V_1 = NULL; { Dictionary_2_t3781205267 * L_0 = (Dictionary_2_t3781205267 *)il2cpp_codegen_object_new(Dictionary_2_t3781205267_il2cpp_TypeInfo_var); Dictionary_2__ctor_m3579386547(L_0, /*hidden argument*/Dictionary_2__ctor_m3579386547_MethodInfo_var); __this->set_m_Graphics_1(L_0); Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.GraphicRegistry::.cctor() extern Il2CppClass* List_1_t1730843082_il2cpp_TypeInfo_var; extern Il2CppClass* GraphicRegistry_t3790421294_il2cpp_TypeInfo_var; extern const MethodInfo* List_1__ctor_m4240575155_MethodInfo_var; extern const uint32_t GraphicRegistry__cctor_m2662390999_MetadataUsageId; extern "C" void GraphicRegistry__cctor_m2662390999 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GraphicRegistry__cctor_m2662390999_MetadataUsageId); s_Il2CppMethodIntialized = true; } { List_1_t1730843082 * L_0 = (List_1_t1730843082 *)il2cpp_codegen_object_new(List_1_t1730843082_il2cpp_TypeInfo_var); List_1__ctor_m4240575155(L_0, /*hidden argument*/List_1__ctor_m4240575155_MethodInfo_var); ((GraphicRegistry_t3790421294_StaticFields*)GraphicRegistry_t3790421294_il2cpp_TypeInfo_var->static_fields)->set_s_EmptyList_2(L_0); return; } } // UnityEngine.UI.GraphicRegistry UnityEngine.UI.GraphicRegistry::get_instance() extern Il2CppClass* GraphicRegistry_t3790421294_il2cpp_TypeInfo_var; extern const uint32_t GraphicRegistry_get_instance_m2305942177_MetadataUsageId; extern "C" GraphicRegistry_t3790421294 * GraphicRegistry_get_instance_m2305942177 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GraphicRegistry_get_instance_m2305942177_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry_t3790421294 * L_0 = ((GraphicRegistry_t3790421294_StaticFields*)GraphicRegistry_t3790421294_il2cpp_TypeInfo_var->static_fields)->get_s_Instance_0(); if (L_0) { goto IL_0014; } } { GraphicRegistry_t3790421294 * L_1 = (GraphicRegistry_t3790421294 *)il2cpp_codegen_object_new(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry__ctor_m3010929046(L_1, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); ((GraphicRegistry_t3790421294_StaticFields*)GraphicRegistry_t3790421294_il2cpp_TypeInfo_var->static_fields)->set_s_Instance_0(L_1); } IL_0014: { IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry_t3790421294 * L_2 = ((GraphicRegistry_t3790421294_StaticFields*)GraphicRegistry_t3790421294_il2cpp_TypeInfo_var->static_fields)->get_s_Instance_0(); return L_2; } } // System.Void UnityEngine.UI.GraphicRegistry::RegisterGraphicForCanvas(UnityEngine.Canvas,UnityEngine.UI.Graphic) extern Il2CppClass* GraphicRegistry_t3790421294_il2cpp_TypeInfo_var; extern Il2CppClass* IndexedSet_1_t159628414_il2cpp_TypeInfo_var; extern const MethodInfo* IndexedSet_1_AddUnique_m3651487085_MethodInfo_var; extern const MethodInfo* IndexedSet_1__ctor_m1398955091_MethodInfo_var; extern const uint32_t GraphicRegistry_RegisterGraphicForCanvas_m977086278_MetadataUsageId; extern "C" void GraphicRegistry_RegisterGraphicForCanvas_m977086278 (Il2CppObject * __this /* static, unused */, Canvas_t3534013893 * ___c0, Graphic_t933884113 * ___graphic1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GraphicRegistry_RegisterGraphicForCanvas_m977086278_MetadataUsageId); s_Il2CppMethodIntialized = true; } IndexedSet_1_t159628414 * V_0 = NULL; { Canvas_t3534013893 * L_0 = ___c0; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_000d; } } { return; } IL_000d: { IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry_t3790421294 * L_2 = GraphicRegistry_get_instance_m2305942177(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_2); Dictionary_2_t3781205267 * L_3 = L_2->get_m_Graphics_1(); Canvas_t3534013893 * L_4 = ___c0; NullCheck(L_3); VirtFuncInvoker2< bool, Canvas_t3534013893 *, IndexedSet_1_t159628414 ** >::Invoke(32 /* System.Boolean System.Collections.Generic.Dictionary`2<UnityEngine.Canvas,UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>>::TryGetValue(!0,!1&) */, L_3, L_4, (&V_0)); IndexedSet_1_t159628414 * L_5 = V_0; if (!L_5) { goto IL_002f; } } { IndexedSet_1_t159628414 * L_6 = V_0; Graphic_t933884113 * L_7 = ___graphic1; NullCheck(L_6); IndexedSet_1_AddUnique_m3651487085(L_6, L_7, /*hidden argument*/IndexedSet_1_AddUnique_m3651487085_MethodInfo_var); return; } IL_002f: { IndexedSet_1_t159628414 * L_8 = (IndexedSet_1_t159628414 *)il2cpp_codegen_object_new(IndexedSet_1_t159628414_il2cpp_TypeInfo_var); IndexedSet_1__ctor_m1398955091(L_8, /*hidden argument*/IndexedSet_1__ctor_m1398955091_MethodInfo_var); V_0 = L_8; IndexedSet_1_t159628414 * L_9 = V_0; Graphic_t933884113 * L_10 = ___graphic1; NullCheck(L_9); VirtActionInvoker1< Graphic_t933884113 * >::Invoke(12 /* System.Void UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>::Add(T) */, L_9, L_10); IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry_t3790421294 * L_11 = GraphicRegistry_get_instance_m2305942177(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_11); Dictionary_2_t3781205267 * L_12 = L_11->get_m_Graphics_1(); Canvas_t3534013893 * L_13 = ___c0; IndexedSet_1_t159628414 * L_14 = V_0; NullCheck(L_12); VirtActionInvoker2< Canvas_t3534013893 *, IndexedSet_1_t159628414 * >::Invoke(27 /* System.Void System.Collections.Generic.Dictionary`2<UnityEngine.Canvas,UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>>::Add(!0,!1) */, L_12, L_13, L_14); return; } } // System.Void UnityEngine.UI.GraphicRegistry::UnregisterGraphicForCanvas(UnityEngine.Canvas,UnityEngine.UI.Graphic) extern Il2CppClass* GraphicRegistry_t3790421294_il2cpp_TypeInfo_var; extern const uint32_t GraphicRegistry_UnregisterGraphicForCanvas_m707013965_MetadataUsageId; extern "C" void GraphicRegistry_UnregisterGraphicForCanvas_m707013965 (Il2CppObject * __this /* static, unused */, Canvas_t3534013893 * ___c0, Graphic_t933884113 * ___graphic1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GraphicRegistry_UnregisterGraphicForCanvas_m707013965_MetadataUsageId); s_Il2CppMethodIntialized = true; } IndexedSet_1_t159628414 * V_0 = NULL; { Canvas_t3534013893 * L_0 = ___c0; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_000d; } } { return; } IL_000d: { IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry_t3790421294 * L_2 = GraphicRegistry_get_instance_m2305942177(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_2); Dictionary_2_t3781205267 * L_3 = L_2->get_m_Graphics_1(); Canvas_t3534013893 * L_4 = ___c0; NullCheck(L_3); bool L_5 = VirtFuncInvoker2< bool, Canvas_t3534013893 *, IndexedSet_1_t159628414 ** >::Invoke(32 /* System.Boolean System.Collections.Generic.Dictionary`2<UnityEngine.Canvas,UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>>::TryGetValue(!0,!1&) */, L_3, L_4, (&V_0)); if (!L_5) { goto IL_002c; } } { IndexedSet_1_t159628414 * L_6 = V_0; Graphic_t933884113 * L_7 = ___graphic1; NullCheck(L_6); VirtFuncInvoker1< bool, Graphic_t933884113 * >::Invoke(16 /* System.Boolean UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>::Remove(T) */, L_6, L_7); } IL_002c: { return; } } // System.Collections.Generic.IList`1<UnityEngine.UI.Graphic> UnityEngine.UI.GraphicRegistry::GetGraphicsForCanvas(UnityEngine.Canvas) extern Il2CppClass* GraphicRegistry_t3790421294_il2cpp_TypeInfo_var; extern const uint32_t GraphicRegistry_GetGraphicsForCanvas_m2740028912_MetadataUsageId; extern "C" Il2CppObject* GraphicRegistry_GetGraphicsForCanvas_m2740028912 (Il2CppObject * __this /* static, unused */, Canvas_t3534013893 * ___canvas0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GraphicRegistry_GetGraphicsForCanvas_m2740028912_MetadataUsageId); s_Il2CppMethodIntialized = true; } IndexedSet_1_t159628414 * V_0 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); GraphicRegistry_t3790421294 * L_0 = GraphicRegistry_get_instance_m2305942177(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_0); Dictionary_2_t3781205267 * L_1 = L_0->get_m_Graphics_1(); Canvas_t3534013893 * L_2 = ___canvas0; NullCheck(L_1); bool L_3 = VirtFuncInvoker2< bool, Canvas_t3534013893 *, IndexedSet_1_t159628414 ** >::Invoke(32 /* System.Boolean System.Collections.Generic.Dictionary`2<UnityEngine.Canvas,UnityEngine.UI.Collections.IndexedSet`1<UnityEngine.UI.Graphic>>::TryGetValue(!0,!1&) */, L_1, L_2, (&V_0)); if (!L_3) { goto IL_0019; } } { IndexedSet_1_t159628414 * L_4 = V_0; return L_4; } IL_0019: { IL2CPP_RUNTIME_CLASS_INIT(GraphicRegistry_t3790421294_il2cpp_TypeInfo_var); List_1_t1730843082 * L_5 = ((GraphicRegistry_t3790421294_StaticFields*)GraphicRegistry_t3790421294_il2cpp_TypeInfo_var->static_fields)->get_s_EmptyList_2(); return L_5; } } // System.Void UnityEngine.UI.GridLayoutGroup::.ctor() extern "C" void GridLayoutGroup__ctor_m1378214348 (GridLayoutGroup_t4084811832 * __this, const MethodInfo* method) { { Vector2_t3525329788 L_0; memset(&L_0, 0, sizeof(L_0)); Vector2__ctor_m1517109030(&L_0, (100.0f), (100.0f), /*hidden argument*/NULL); __this->set_m_CellSize_12(L_0); Vector2_t3525329788 L_1 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_m_Spacing_13(L_1); __this->set_m_ConstraintCount_15(2); LayoutGroup__ctor_m1400544614(__this, /*hidden argument*/NULL); return; } } // UnityEngine.UI.GridLayoutGroup/Corner UnityEngine.UI.GridLayoutGroup::get_startCorner() extern "C" int32_t GridLayoutGroup_get_startCorner_m2778672189 (GridLayoutGroup_t4084811832 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_StartCorner_10(); return L_0; } } // System.Void UnityEngine.UI.GridLayoutGroup::set_startCorner(UnityEngine.UI.GridLayoutGroup/Corner) extern const MethodInfo* LayoutGroup_SetProperty_TisCorner_t2024169077_m1217402351_MethodInfo_var; extern const uint32_t GridLayoutGroup_set_startCorner_m2937777206_MetadataUsageId; extern "C" void GridLayoutGroup_set_startCorner_m2937777206 (GridLayoutGroup_t4084811832 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GridLayoutGroup_set_startCorner_m2937777206_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_StartCorner_10(); int32_t L_1 = ___value0; LayoutGroup_SetProperty_TisCorner_t2024169077_m1217402351(__this, L_0, L_1, /*hidden argument*/LayoutGroup_SetProperty_TisCorner_t2024169077_m1217402351_MethodInfo_var); return; } } // UnityEngine.UI.GridLayoutGroup/Axis UnityEngine.UI.GridLayoutGroup::get_startAxis() extern "C" int32_t GridLayoutGroup_get_startAxis_m1539688149 (GridLayoutGroup_t4084811832 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_StartAxis_11(); return L_0; } } // System.Void UnityEngine.UI.GridLayoutGroup::set_startAxis(UnityEngine.UI.GridLayoutGroup/Axis) extern const MethodInfo* LayoutGroup_SetProperty_TisAxis_t2055107_m2246182115_MethodInfo_var; extern const uint32_t GridLayoutGroup_set_startAxis_m628518814_MetadataUsageId; extern "C" void GridLayoutGroup_set_startAxis_m628518814 (GridLayoutGroup_t4084811832 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GridLayoutGroup_set_startAxis_m628518814_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_StartAxis_11(); int32_t L_1 = ___value0; LayoutGroup_SetProperty_TisAxis_t2055107_m2246182115(__this, L_0, L_1, /*hidden argument*/LayoutGroup_SetProperty_TisAxis_t2055107_m2246182115_MethodInfo_var); return; } } // UnityEngine.Vector2 UnityEngine.UI.GridLayoutGroup::get_cellSize() extern "C" Vector2_t3525329788 GridLayoutGroup_get_cellSize_m1318291007 (GridLayoutGroup_t4084811832 * __this, const MethodInfo* method) { { Vector2_t3525329788 L_0 = __this->get_m_CellSize_12(); return L_0; } } // System.Void UnityEngine.UI.GridLayoutGroup::set_cellSize(UnityEngine.Vector2) extern const MethodInfo* LayoutGroup_SetProperty_TisVector2_t3525329788_m91581935_MethodInfo_var; extern const uint32_t GridLayoutGroup_set_cellSize_m1641372194_MetadataUsageId; extern "C" void GridLayoutGroup_set_cellSize_m1641372194 (GridLayoutGroup_t4084811832 * __this, Vector2_t3525329788 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GridLayoutGroup_set_cellSize_m1641372194_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Vector2_t3525329788 * L_0 = __this->get_address_of_m_CellSize_12(); Vector2_t3525329788 L_1 = ___value0; LayoutGroup_SetProperty_TisVector2_t3525329788_m91581935(__this, L_0, L_1, /*hidden argument*/LayoutGroup_SetProperty_TisVector2_t3525329788_m91581935_MethodInfo_var); return; } } // UnityEngine.Vector2 UnityEngine.UI.GridLayoutGroup::get_spacing() extern "C" Vector2_t3525329788 GridLayoutGroup_get_spacing_m660869033 (GridLayoutGroup_t4084811832 * __this, const MethodInfo* method) { { Vector2_t3525329788 L_0 = __this->get_m_Spacing_13(); return L_0; } } // System.Void UnityEngine.UI.GridLayoutGroup::set_spacing(UnityEngine.Vector2) extern const MethodInfo* LayoutGroup_SetProperty_TisVector2_t3525329788_m91581935_MethodInfo_var; extern const uint32_t GridLayoutGroup_set_spacing_m2353797514_MetadataUsageId; extern "C" void GridLayoutGroup_set_spacing_m2353797514 (GridLayoutGroup_t4084811832 * __this, Vector2_t3525329788 ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GridLayoutGroup_set_spacing_m2353797514_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Vector2_t3525329788 * L_0 = __this->get_address_of_m_Spacing_13(); Vector2_t3525329788 L_1 = ___value0; LayoutGroup_SetProperty_TisVector2_t3525329788_m91581935(__this, L_0, L_1, /*hidden argument*/LayoutGroup_SetProperty_TisVector2_t3525329788_m91581935_MethodInfo_var); return; } } // UnityEngine.UI.GridLayoutGroup/Constraint UnityEngine.UI.GridLayoutGroup::get_constraint() extern "C" int32_t GridLayoutGroup_get_constraint_m3287218001 (GridLayoutGroup_t4084811832 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_Constraint_14(); return L_0; } } // System.Void UnityEngine.UI.GridLayoutGroup::set_constraint(UnityEngine.UI.GridLayoutGroup/Constraint) extern const MethodInfo* LayoutGroup_SetProperty_TisConstraint_t1803088381_m2766497255_MethodInfo_var; extern const uint32_t GridLayoutGroup_set_constraint_m1995004480_MetadataUsageId; extern "C" void GridLayoutGroup_set_constraint_m1995004480 (GridLayoutGroup_t4084811832 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GridLayoutGroup_set_constraint_m1995004480_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_Constraint_14(); int32_t L_1 = ___value0; LayoutGroup_SetProperty_TisConstraint_t1803088381_m2766497255(__this, L_0, L_1, /*hidden argument*/LayoutGroup_SetProperty_TisConstraint_t1803088381_m2766497255_MethodInfo_var); return; } } // System.Int32 UnityEngine.UI.GridLayoutGroup::get_constraintCount() extern "C" int32_t GridLayoutGroup_get_constraintCount_m2592905067 (GridLayoutGroup_t4084811832 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_ConstraintCount_15(); return L_0; } } // System.Void UnityEngine.UI.GridLayoutGroup::set_constraintCount(System.Int32) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const MethodInfo* LayoutGroup_SetProperty_TisInt32_t2847414787_m1661492404_MethodInfo_var; extern const uint32_t GridLayoutGroup_set_constraintCount_m2898625584_MetadataUsageId; extern "C" void GridLayoutGroup_set_constraintCount_m2898625584 (GridLayoutGroup_t4084811832 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GridLayoutGroup_set_constraintCount_m2898625584_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_ConstraintCount_15(); int32_t L_1 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_2 = Mathf_Max_m2911193737(NULL /*static, unused*/, 1, L_1, /*hidden argument*/NULL); LayoutGroup_SetProperty_TisInt32_t2847414787_m1661492404(__this, L_0, L_2, /*hidden argument*/LayoutGroup_SetProperty_TisInt32_t2847414787_m1661492404_MethodInfo_var); return; } } // System.Void UnityEngine.UI.GridLayoutGroup::CalculateLayoutInputHorizontal() extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t GridLayoutGroup_CalculateLayoutInputHorizontal_m3283749622_MetadataUsageId; extern "C" void GridLayoutGroup_CalculateLayoutInputHorizontal_m3283749622 (GridLayoutGroup_t4084811832 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GridLayoutGroup_CalculateLayoutInputHorizontal_m3283749622_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; Vector2_t3525329788 V_2; memset(&V_2, 0, sizeof(V_2)); Vector2_t3525329788 V_3; memset(&V_3, 0, sizeof(V_3)); Vector2_t3525329788 V_4; memset(&V_4, 0, sizeof(V_4)); Vector2_t3525329788 V_5; memset(&V_5, 0, sizeof(V_5)); Vector2_t3525329788 V_6; memset(&V_6, 0, sizeof(V_6)); Vector2_t3525329788 V_7; memset(&V_7, 0, sizeof(V_7)); { LayoutGroup_CalculateLayoutInputHorizontal_m89763996(__this, /*hidden argument*/NULL); V_0 = 0; V_1 = 0; int32_t L_0 = __this->get_m_Constraint_14(); if ((!(((uint32_t)L_0) == ((uint32_t)1)))) { goto IL_0024; } } { int32_t L_1 = __this->get_m_ConstraintCount_15(); int32_t L_2 = L_1; V_1 = L_2; V_0 = L_2; goto IL_0070; } IL_0024: { int32_t L_3 = __this->get_m_Constraint_14(); if ((!(((uint32_t)L_3) == ((uint32_t)2)))) { goto IL_0057; } } { List_1_t4114433806 * L_4 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_4); int32_t L_5 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_4); int32_t L_6 = __this->get_m_ConstraintCount_15(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_7 = Mathf_CeilToInt_m3621832739(NULL /*static, unused*/, ((float)((float)((float)((float)(((float)((float)L_5)))/(float)(((float)((float)L_6)))))-(float)(0.001f))), /*hidden argument*/NULL); int32_t L_8 = L_7; V_1 = L_8; V_0 = L_8; goto IL_0070; } IL_0057: { V_0 = 1; List_1_t4114433806 * L_9 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_9); int32_t L_10 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_9); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_11 = sqrtf((((float)((float)L_10)))); int32_t L_12 = Mathf_CeilToInt_m3621832739(NULL /*static, unused*/, L_11, /*hidden argument*/NULL); V_1 = L_12; } IL_0070: { RectOffset_t3394170884 * L_13 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_13); int32_t L_14 = RectOffset_get_horizontal_m1186440923(L_13, /*hidden argument*/NULL); Vector2_t3525329788 L_15 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_2 = L_15; float L_16 = (&V_2)->get_x_1(); Vector2_t3525329788 L_17 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_3 = L_17; float L_18 = (&V_3)->get_x_1(); int32_t L_19 = V_0; Vector2_t3525329788 L_20 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_4 = L_20; float L_21 = (&V_4)->get_x_1(); RectOffset_t3394170884 * L_22 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_22); int32_t L_23 = RectOffset_get_horizontal_m1186440923(L_22, /*hidden argument*/NULL); Vector2_t3525329788 L_24 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_5 = L_24; float L_25 = (&V_5)->get_x_1(); Vector2_t3525329788 L_26 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_6 = L_26; float L_27 = (&V_6)->get_x_1(); int32_t L_28 = V_1; Vector2_t3525329788 L_29 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_7 = L_29; float L_30 = (&V_7)->get_x_1(); LayoutGroup_SetLayoutInputForAxis_m396008818(__this, ((float)((float)((float)((float)(((float)((float)L_14)))+(float)((float)((float)((float)((float)L_16+(float)L_18))*(float)(((float)((float)L_19)))))))-(float)L_21)), ((float)((float)((float)((float)(((float)((float)L_23)))+(float)((float)((float)((float)((float)L_25+(float)L_27))*(float)(((float)((float)L_28)))))))-(float)L_30)), (-1.0f), 0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.GridLayoutGroup::CalculateLayoutInputVertical() extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t GridLayoutGroup_CalculateLayoutInputVertical_m1216862728_MetadataUsageId; extern "C" void GridLayoutGroup_CalculateLayoutInputVertical_m1216862728 (GridLayoutGroup_t4084811832 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GridLayoutGroup_CalculateLayoutInputVertical_m1216862728_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; float V_1 = 0.0f; int32_t V_2 = 0; float V_3 = 0.0f; Rect_t1525428817 V_4; memset(&V_4, 0, sizeof(V_4)); Vector2_t3525329788 V_5; memset(&V_5, 0, sizeof(V_5)); Vector2_t3525329788 V_6; memset(&V_6, 0, sizeof(V_6)); Vector2_t3525329788 V_7; memset(&V_7, 0, sizeof(V_7)); Vector2_t3525329788 V_8; memset(&V_8, 0, sizeof(V_8)); Vector2_t3525329788 V_9; memset(&V_9, 0, sizeof(V_9)); Vector2_t3525329788 V_10; memset(&V_10, 0, sizeof(V_10)); Vector2_t3525329788 V_11; memset(&V_11, 0, sizeof(V_11)); { V_0 = 0; int32_t L_0 = __this->get_m_Constraint_14(); if ((!(((uint32_t)L_0) == ((uint32_t)1)))) { goto IL_0033; } } { List_1_t4114433806 * L_1 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_1); int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_1); int32_t L_3 = __this->get_m_ConstraintCount_15(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_4 = Mathf_CeilToInt_m3621832739(NULL /*static, unused*/, ((float)((float)((float)((float)(((float)((float)L_2)))/(float)(((float)((float)L_3)))))-(float)(0.001f))), /*hidden argument*/NULL); V_0 = L_4; goto IL_00ce; } IL_0033: { int32_t L_5 = __this->get_m_Constraint_14(); if ((!(((uint32_t)L_5) == ((uint32_t)2)))) { goto IL_004b; } } { int32_t L_6 = __this->get_m_ConstraintCount_15(); V_0 = L_6; goto IL_00ce; } IL_004b: { RectTransform_t3317474837 * L_7 = LayoutGroup_get_rectTransform_m331638721(__this, /*hidden argument*/NULL); NullCheck(L_7); Rect_t1525428817 L_8 = RectTransform_get_rect_m1566017036(L_7, /*hidden argument*/NULL); V_4 = L_8; Vector2_t3525329788 L_9 = Rect_get_size_m136480416((&V_4), /*hidden argument*/NULL); V_5 = L_9; float L_10 = (&V_5)->get_x_1(); V_1 = L_10; float L_11 = V_1; RectOffset_t3394170884 * L_12 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_12); int32_t L_13 = RectOffset_get_horizontal_m1186440923(L_12, /*hidden argument*/NULL); Vector2_t3525329788 L_14 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_6 = L_14; float L_15 = (&V_6)->get_x_1(); Vector2_t3525329788 L_16 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_7 = L_16; float L_17 = (&V_7)->get_x_1(); Vector2_t3525329788 L_18 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_8 = L_18; float L_19 = (&V_8)->get_x_1(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_20 = Mathf_FloorToInt_m268511322(NULL /*static, unused*/, ((float)((float)((float)((float)((float)((float)((float)((float)L_11-(float)(((float)((float)L_13)))))+(float)L_15))+(float)(0.001f)))/(float)((float)((float)L_17+(float)L_19)))), /*hidden argument*/NULL); int32_t L_21 = Mathf_Max_m2911193737(NULL /*static, unused*/, 1, L_20, /*hidden argument*/NULL); V_2 = L_21; List_1_t4114433806 * L_22 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_22); int32_t L_23 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_22); int32_t L_24 = V_2; int32_t L_25 = Mathf_CeilToInt_m3621832739(NULL /*static, unused*/, ((float)((float)(((float)((float)L_23)))/(float)(((float)((float)L_24))))), /*hidden argument*/NULL); V_0 = L_25; } IL_00ce: { RectOffset_t3394170884 * L_26 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_26); int32_t L_27 = RectOffset_get_vertical_m3650431789(L_26, /*hidden argument*/NULL); Vector2_t3525329788 L_28 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_9 = L_28; float L_29 = (&V_9)->get_y_2(); Vector2_t3525329788 L_30 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_10 = L_30; float L_31 = (&V_10)->get_y_2(); int32_t L_32 = V_0; Vector2_t3525329788 L_33 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_11 = L_33; float L_34 = (&V_11)->get_y_2(); V_3 = ((float)((float)((float)((float)(((float)((float)L_27)))+(float)((float)((float)((float)((float)L_29+(float)L_31))*(float)(((float)((float)L_32)))))))-(float)L_34)); float L_35 = V_3; float L_36 = V_3; LayoutGroup_SetLayoutInputForAxis_m396008818(__this, L_35, L_36, (-1.0f), 1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.GridLayoutGroup::SetLayoutHorizontal() extern "C" void GridLayoutGroup_SetLayoutHorizontal_m3405189786 (GridLayoutGroup_t4084811832 * __this, const MethodInfo* method) { { GridLayoutGroup_SetCellsAlongAxis_m3322008010(__this, 0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.GridLayoutGroup::SetLayoutVertical() extern "C" void GridLayoutGroup_SetLayoutVertical_m501906092 (GridLayoutGroup_t4084811832 * __this, const MethodInfo* method) { { GridLayoutGroup_SetCellsAlongAxis_m3322008010(__this, 1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.GridLayoutGroup::SetCellsAlongAxis(System.Int32) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t GridLayoutGroup_SetCellsAlongAxis_m3322008010_MetadataUsageId; extern "C" void GridLayoutGroup_SetCellsAlongAxis_m3322008010 (GridLayoutGroup_t4084811832 * __this, int32_t ___axis0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (GridLayoutGroup_SetCellsAlongAxis_m3322008010_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; RectTransform_t3317474837 * V_1 = NULL; float V_2 = 0.0f; float V_3 = 0.0f; 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; int32_t V_10 = 0; Vector2_t3525329788 V_11; memset(&V_11, 0, sizeof(V_11)); Vector2_t3525329788 V_12; memset(&V_12, 0, sizeof(V_12)); int32_t V_13 = 0; int32_t V_14 = 0; int32_t V_15 = 0; Rect_t1525428817 V_16; memset(&V_16, 0, sizeof(V_16)); Vector2_t3525329788 V_17; memset(&V_17, 0, sizeof(V_17)); Rect_t1525428817 V_18; memset(&V_18, 0, sizeof(V_18)); Vector2_t3525329788 V_19; memset(&V_19, 0, sizeof(V_19)); Vector2_t3525329788 V_20; memset(&V_20, 0, sizeof(V_20)); Vector2_t3525329788 V_21; memset(&V_21, 0, sizeof(V_21)); Vector2_t3525329788 V_22; memset(&V_22, 0, sizeof(V_22)); Vector2_t3525329788 V_23; memset(&V_23, 0, sizeof(V_23)); Vector2_t3525329788 V_24; memset(&V_24, 0, sizeof(V_24)); Vector2_t3525329788 V_25; memset(&V_25, 0, sizeof(V_25)); Vector2_t3525329788 V_26; memset(&V_26, 0, sizeof(V_26)); Vector2_t3525329788 V_27; memset(&V_27, 0, sizeof(V_27)); Vector2_t3525329788 V_28; memset(&V_28, 0, sizeof(V_28)); Vector2_t3525329788 V_29; memset(&V_29, 0, sizeof(V_29)); Vector2_t3525329788 V_30; memset(&V_30, 0, sizeof(V_30)); Vector2_t3525329788 V_31; memset(&V_31, 0, sizeof(V_31)); Vector2_t3525329788 V_32; memset(&V_32, 0, sizeof(V_32)); Vector2_t3525329788 V_33; memset(&V_33, 0, sizeof(V_33)); Vector2_t3525329788 V_34; memset(&V_34, 0, sizeof(V_34)); Vector2_t3525329788 V_35; memset(&V_35, 0, sizeof(V_35)); Vector2_t3525329788 V_36; memset(&V_36, 0, sizeof(V_36)); Vector2_t3525329788 V_37; memset(&V_37, 0, sizeof(V_37)); Vector2_t3525329788 V_38; memset(&V_38, 0, sizeof(V_38)); Vector2_t3525329788 V_39; memset(&V_39, 0, sizeof(V_39)); { int32_t L_0 = ___axis0; if (L_0) { goto IL_0064; } } { V_0 = 0; goto IL_0052; } IL_000d: { List_1_t4114433806 * L_1 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); int32_t L_2 = V_0; NullCheck(L_1); RectTransform_t3317474837 * L_3 = VirtFuncInvoker1< RectTransform_t3317474837 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Item(System.Int32) */, L_1, L_2); V_1 = L_3; DrivenRectTransformTracker_t3675273953 * L_4 = ((LayoutGroup_t2646131550 *)__this)->get_address_of_m_Tracker_5(); RectTransform_t3317474837 * L_5 = V_1; DrivenRectTransformTracker_Add_m3461523141(L_4, __this, L_5, ((int32_t)16134), /*hidden argument*/NULL); RectTransform_t3317474837 * L_6 = V_1; Vector2_t3525329788 L_7 = Vector2_get_up_m1197831267(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_6); RectTransform_set_anchorMin_m989253483(L_6, L_7, /*hidden argument*/NULL); RectTransform_t3317474837 * L_8 = V_1; Vector2_t3525329788 L_9 = Vector2_get_up_m1197831267(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_8); RectTransform_set_anchorMax_m715345817(L_8, L_9, /*hidden argument*/NULL); RectTransform_t3317474837 * L_10 = V_1; Vector2_t3525329788 L_11 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); NullCheck(L_10); RectTransform_set_sizeDelta_m1223846609(L_10, L_11, /*hidden argument*/NULL); int32_t L_12 = V_0; V_0 = ((int32_t)((int32_t)L_12+(int32_t)1)); } IL_0052: { int32_t L_13 = V_0; List_1_t4114433806 * L_14 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_14); int32_t L_15 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_14); if ((((int32_t)L_13) < ((int32_t)L_15))) { goto IL_000d; } } { return; } IL_0064: { RectTransform_t3317474837 * L_16 = LayoutGroup_get_rectTransform_m331638721(__this, /*hidden argument*/NULL); NullCheck(L_16); Rect_t1525428817 L_17 = RectTransform_get_rect_m1566017036(L_16, /*hidden argument*/NULL); V_16 = L_17; Vector2_t3525329788 L_18 = Rect_get_size_m136480416((&V_16), /*hidden argument*/NULL); V_17 = L_18; float L_19 = (&V_17)->get_x_1(); V_2 = L_19; RectTransform_t3317474837 * L_20 = LayoutGroup_get_rectTransform_m331638721(__this, /*hidden argument*/NULL); NullCheck(L_20); Rect_t1525428817 L_21 = RectTransform_get_rect_m1566017036(L_20, /*hidden argument*/NULL); V_18 = L_21; Vector2_t3525329788 L_22 = Rect_get_size_m136480416((&V_18), /*hidden argument*/NULL); V_19 = L_22; float L_23 = (&V_19)->get_y_2(); V_3 = L_23; V_4 = 1; V_5 = 1; int32_t L_24 = __this->get_m_Constraint_14(); if ((!(((uint32_t)L_24) == ((uint32_t)1)))) { goto IL_00dc; } } { int32_t L_25 = __this->get_m_ConstraintCount_15(); V_4 = L_25; List_1_t4114433806 * L_26 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_26); int32_t L_27 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_26); int32_t L_28 = V_4; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_29 = Mathf_CeilToInt_m3621832739(NULL /*static, unused*/, ((float)((float)((float)((float)(((float)((float)L_27)))/(float)(((float)((float)L_28)))))-(float)(0.001f))), /*hidden argument*/NULL); V_5 = L_29; goto IL_021e; } IL_00dc: { int32_t L_30 = __this->get_m_Constraint_14(); if ((!(((uint32_t)L_30) == ((uint32_t)2)))) { goto IL_0112; } } { int32_t L_31 = __this->get_m_ConstraintCount_15(); V_5 = L_31; List_1_t4114433806 * L_32 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_32); int32_t L_33 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_32); int32_t L_34 = V_5; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_35 = Mathf_CeilToInt_m3621832739(NULL /*static, unused*/, ((float)((float)((float)((float)(((float)((float)L_33)))/(float)(((float)((float)L_34)))))-(float)(0.001f))), /*hidden argument*/NULL); V_4 = L_35; goto IL_021e; } IL_0112: { Vector2_t3525329788 L_36 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_20 = L_36; float L_37 = (&V_20)->get_x_1(); Vector2_t3525329788 L_38 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_21 = L_38; float L_39 = (&V_21)->get_x_1(); if ((!(((float)((float)((float)L_37+(float)L_39))) <= ((float)(0.0f))))) { goto IL_0147; } } { V_4 = ((int32_t)2147483647LL); goto IL_0198; } IL_0147: { float L_40 = V_2; RectOffset_t3394170884 * L_41 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_41); int32_t L_42 = RectOffset_get_horizontal_m1186440923(L_41, /*hidden argument*/NULL); Vector2_t3525329788 L_43 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_22 = L_43; float L_44 = (&V_22)->get_x_1(); Vector2_t3525329788 L_45 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_23 = L_45; float L_46 = (&V_23)->get_x_1(); Vector2_t3525329788 L_47 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_24 = L_47; float L_48 = (&V_24)->get_x_1(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_49 = Mathf_FloorToInt_m268511322(NULL /*static, unused*/, ((float)((float)((float)((float)((float)((float)((float)((float)L_40-(float)(((float)((float)L_42)))))+(float)L_44))+(float)(0.001f)))/(float)((float)((float)L_46+(float)L_48)))), /*hidden argument*/NULL); int32_t L_50 = Mathf_Max_m2911193737(NULL /*static, unused*/, 1, L_49, /*hidden argument*/NULL); V_4 = L_50; } IL_0198: { Vector2_t3525329788 L_51 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_25 = L_51; float L_52 = (&V_25)->get_y_2(); Vector2_t3525329788 L_53 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_26 = L_53; float L_54 = (&V_26)->get_y_2(); if ((!(((float)((float)((float)L_52+(float)L_54))) <= ((float)(0.0f))))) { goto IL_01cd; } } { V_5 = ((int32_t)2147483647LL); goto IL_021e; } IL_01cd: { float L_55 = V_3; RectOffset_t3394170884 * L_56 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_56); int32_t L_57 = RectOffset_get_vertical_m3650431789(L_56, /*hidden argument*/NULL); Vector2_t3525329788 L_58 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_27 = L_58; float L_59 = (&V_27)->get_y_2(); Vector2_t3525329788 L_60 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_28 = L_60; float L_61 = (&V_28)->get_y_2(); Vector2_t3525329788 L_62 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_29 = L_62; float L_63 = (&V_29)->get_y_2(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_64 = Mathf_FloorToInt_m268511322(NULL /*static, unused*/, ((float)((float)((float)((float)((float)((float)((float)((float)L_55-(float)(((float)((float)L_57)))))+(float)L_59))+(float)(0.001f)))/(float)((float)((float)L_61+(float)L_63)))), /*hidden argument*/NULL); int32_t L_65 = Mathf_Max_m2911193737(NULL /*static, unused*/, 1, L_64, /*hidden argument*/NULL); V_5 = L_65; } IL_021e: { int32_t L_66 = GridLayoutGroup_get_startCorner_m2778672189(__this, /*hidden argument*/NULL); V_6 = ((int32_t)((int32_t)L_66%(int32_t)2)); int32_t L_67 = GridLayoutGroup_get_startCorner_m2778672189(__this, /*hidden argument*/NULL); V_7 = ((int32_t)((int32_t)L_67/(int32_t)2)); int32_t L_68 = GridLayoutGroup_get_startAxis_m1539688149(__this, /*hidden argument*/NULL); if (L_68) { goto IL_027a; } } { int32_t L_69 = V_4; V_8 = L_69; int32_t L_70 = V_4; List_1_t4114433806 * L_71 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_71); int32_t L_72 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_71); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_73 = Mathf_Clamp_m510460741(NULL /*static, unused*/, L_70, 1, L_72, /*hidden argument*/NULL); V_9 = L_73; int32_t L_74 = V_5; List_1_t4114433806 * L_75 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_75); int32_t L_76 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_75); int32_t L_77 = V_8; int32_t L_78 = Mathf_CeilToInt_m3621832739(NULL /*static, unused*/, ((float)((float)(((float)((float)L_76)))/(float)(((float)((float)L_77))))), /*hidden argument*/NULL); int32_t L_79 = Mathf_Clamp_m510460741(NULL /*static, unused*/, L_74, 1, L_78, /*hidden argument*/NULL); V_10 = L_79; goto IL_02b2; } IL_027a: { int32_t L_80 = V_5; V_8 = L_80; int32_t L_81 = V_5; List_1_t4114433806 * L_82 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_82); int32_t L_83 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_82); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_84 = Mathf_Clamp_m510460741(NULL /*static, unused*/, L_81, 1, L_83, /*hidden argument*/NULL); V_10 = L_84; int32_t L_85 = V_4; List_1_t4114433806 * L_86 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_86); int32_t L_87 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_86); int32_t L_88 = V_8; int32_t L_89 = Mathf_CeilToInt_m3621832739(NULL /*static, unused*/, ((float)((float)(((float)((float)L_87)))/(float)(((float)((float)L_88))))), /*hidden argument*/NULL); int32_t L_90 = Mathf_Clamp_m510460741(NULL /*static, unused*/, L_85, 1, L_89, /*hidden argument*/NULL); V_9 = L_90; } IL_02b2: { int32_t L_91 = V_9; Vector2_t3525329788 L_92 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_30 = L_92; float L_93 = (&V_30)->get_x_1(); int32_t L_94 = V_9; Vector2_t3525329788 L_95 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_31 = L_95; float L_96 = (&V_31)->get_x_1(); int32_t L_97 = V_10; Vector2_t3525329788 L_98 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_32 = L_98; float L_99 = (&V_32)->get_y_2(); int32_t L_100 = V_10; Vector2_t3525329788 L_101 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_33 = L_101; float L_102 = (&V_33)->get_y_2(); Vector2__ctor_m1517109030((&V_11), ((float)((float)((float)((float)(((float)((float)L_91)))*(float)L_93))+(float)((float)((float)(((float)((float)((int32_t)((int32_t)L_94-(int32_t)1)))))*(float)L_96)))), ((float)((float)((float)((float)(((float)((float)L_97)))*(float)L_99))+(float)((float)((float)(((float)((float)((int32_t)((int32_t)L_100-(int32_t)1)))))*(float)L_102)))), /*hidden argument*/NULL); float L_103 = (&V_11)->get_x_1(); float L_104 = LayoutGroup_GetStartOffset_m3060950207(__this, 0, L_103, /*hidden argument*/NULL); float L_105 = (&V_11)->get_y_2(); float L_106 = LayoutGroup_GetStartOffset_m3060950207(__this, 1, L_105, /*hidden argument*/NULL); Vector2__ctor_m1517109030((&V_12), L_104, L_106, /*hidden argument*/NULL); V_13 = 0; goto IL_042c; } IL_0336: { int32_t L_107 = GridLayoutGroup_get_startAxis_m1539688149(__this, /*hidden argument*/NULL); if (L_107) { goto IL_0354; } } { int32_t L_108 = V_13; int32_t L_109 = V_8; V_14 = ((int32_t)((int32_t)L_108%(int32_t)L_109)); int32_t L_110 = V_13; int32_t L_111 = V_8; V_15 = ((int32_t)((int32_t)L_110/(int32_t)L_111)); goto IL_0362; } IL_0354: { int32_t L_112 = V_13; int32_t L_113 = V_8; V_14 = ((int32_t)((int32_t)L_112/(int32_t)L_113)); int32_t L_114 = V_13; int32_t L_115 = V_8; V_15 = ((int32_t)((int32_t)L_114%(int32_t)L_115)); } IL_0362: { int32_t L_116 = V_6; if ((!(((uint32_t)L_116) == ((uint32_t)1)))) { goto IL_0373; } } { int32_t L_117 = V_9; int32_t L_118 = V_14; V_14 = ((int32_t)((int32_t)((int32_t)((int32_t)L_117-(int32_t)1))-(int32_t)L_118)); } IL_0373: { int32_t L_119 = V_7; if ((!(((uint32_t)L_119) == ((uint32_t)1)))) { goto IL_0384; } } { int32_t L_120 = V_10; int32_t L_121 = V_15; V_15 = ((int32_t)((int32_t)((int32_t)((int32_t)L_120-(int32_t)1))-(int32_t)L_121)); } IL_0384: { List_1_t4114433806 * L_122 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); int32_t L_123 = V_13; NullCheck(L_122); RectTransform_t3317474837 * L_124 = VirtFuncInvoker1< RectTransform_t3317474837 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Item(System.Int32) */, L_122, L_123); float L_125 = (&V_12)->get_x_1(); Vector2_t3525329788 L_126 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_34 = L_126; float L_127 = Vector2_get_Item_m2185542843((&V_34), 0, /*hidden argument*/NULL); Vector2_t3525329788 L_128 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_35 = L_128; float L_129 = Vector2_get_Item_m2185542843((&V_35), 0, /*hidden argument*/NULL); int32_t L_130 = V_14; Vector2_t3525329788 L_131 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_36 = L_131; float L_132 = Vector2_get_Item_m2185542843((&V_36), 0, /*hidden argument*/NULL); LayoutGroup_SetChildAlongAxis_m4214960168(__this, L_124, 0, ((float)((float)L_125+(float)((float)((float)((float)((float)L_127+(float)L_129))*(float)(((float)((float)L_130))))))), L_132, /*hidden argument*/NULL); List_1_t4114433806 * L_133 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); int32_t L_134 = V_13; NullCheck(L_133); RectTransform_t3317474837 * L_135 = VirtFuncInvoker1< RectTransform_t3317474837 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Item(System.Int32) */, L_133, L_134); float L_136 = (&V_12)->get_y_2(); Vector2_t3525329788 L_137 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_37 = L_137; float L_138 = Vector2_get_Item_m2185542843((&V_37), 1, /*hidden argument*/NULL); Vector2_t3525329788 L_139 = GridLayoutGroup_get_spacing_m660869033(__this, /*hidden argument*/NULL); V_38 = L_139; float L_140 = Vector2_get_Item_m2185542843((&V_38), 1, /*hidden argument*/NULL); int32_t L_141 = V_15; Vector2_t3525329788 L_142 = GridLayoutGroup_get_cellSize_m1318291007(__this, /*hidden argument*/NULL); V_39 = L_142; float L_143 = Vector2_get_Item_m2185542843((&V_39), 1, /*hidden argument*/NULL); LayoutGroup_SetChildAlongAxis_m4214960168(__this, L_135, 1, ((float)((float)L_136+(float)((float)((float)((float)((float)L_138+(float)L_140))*(float)(((float)((float)L_141))))))), L_143, /*hidden argument*/NULL); int32_t L_144 = V_13; V_13 = ((int32_t)((int32_t)L_144+(int32_t)1)); } IL_042c: { int32_t L_145 = V_13; List_1_t4114433806 * L_146 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_146); int32_t L_147 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_146); if ((((int32_t)L_145) < ((int32_t)L_147))) { goto IL_0336; } } { return; } } // System.Void UnityEngine.UI.HorizontalLayoutGroup::.ctor() extern "C" void HorizontalLayoutGroup__ctor_m9362858 (HorizontalLayoutGroup_t2687518874 * __this, const MethodInfo* method) { { HorizontalOrVerticalLayoutGroup__ctor_m258856643(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.HorizontalLayoutGroup::CalculateLayoutInputHorizontal() extern "C" void HorizontalLayoutGroup_CalculateLayoutInputHorizontal_m1229423832 (HorizontalLayoutGroup_t2687518874 * __this, const MethodInfo* method) { { LayoutGroup_CalculateLayoutInputHorizontal_m89763996(__this, /*hidden argument*/NULL); HorizontalOrVerticalLayoutGroup_CalcAlongAxis_m423831906(__this, 0, (bool)0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.HorizontalLayoutGroup::CalculateLayoutInputVertical() extern "C" void HorizontalLayoutGroup_CalculateLayoutInputVertical_m4119749738 (HorizontalLayoutGroup_t2687518874 * __this, const MethodInfo* method) { { HorizontalOrVerticalLayoutGroup_CalcAlongAxis_m423831906(__this, 1, (bool)0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.HorizontalLayoutGroup::SetLayoutHorizontal() extern "C" void HorizontalLayoutGroup_SetLayoutHorizontal_m819130872 (HorizontalLayoutGroup_t2687518874 * __this, const MethodInfo* method) { { HorizontalOrVerticalLayoutGroup_SetChildrenAlongAxis_m3440700494(__this, 0, (bool)0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.HorizontalLayoutGroup::SetLayoutVertical() extern "C" void HorizontalLayoutGroup_SetLayoutVertical_m3176307082 (HorizontalLayoutGroup_t2687518874 * __this, const MethodInfo* method) { { HorizontalOrVerticalLayoutGroup_SetChildrenAlongAxis_m3440700494(__this, 1, (bool)0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.HorizontalOrVerticalLayoutGroup::.ctor() extern "C" void HorizontalOrVerticalLayoutGroup__ctor_m258856643 (HorizontalOrVerticalLayoutGroup_t2416992609 * __this, const MethodInfo* method) { { __this->set_m_ChildForceExpandWidth_11((bool)1); __this->set_m_ChildForceExpandHeight_12((bool)1); LayoutGroup__ctor_m1400544614(__this, /*hidden argument*/NULL); return; } } // System.Single UnityEngine.UI.HorizontalOrVerticalLayoutGroup::get_spacing() extern "C" float HorizontalOrVerticalLayoutGroup_get_spacing_m494525775 (HorizontalOrVerticalLayoutGroup_t2416992609 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_Spacing_10(); return L_0; } } // System.Void UnityEngine.UI.HorizontalOrVerticalLayoutGroup::set_spacing(System.Single) extern const MethodInfo* LayoutGroup_SetProperty_TisSingle_t958209021_m591957344_MethodInfo_var; extern const uint32_t HorizontalOrVerticalLayoutGroup_set_spacing_m3226528036_MetadataUsageId; extern "C" void HorizontalOrVerticalLayoutGroup_set_spacing_m3226528036 (HorizontalOrVerticalLayoutGroup_t2416992609 * __this, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (HorizontalOrVerticalLayoutGroup_set_spacing_m3226528036_MetadataUsageId); s_Il2CppMethodIntialized = true; } { float* L_0 = __this->get_address_of_m_Spacing_10(); float L_1 = ___value0; LayoutGroup_SetProperty_TisSingle_t958209021_m591957344(__this, L_0, L_1, /*hidden argument*/LayoutGroup_SetProperty_TisSingle_t958209021_m591957344_MethodInfo_var); return; } } // System.Boolean UnityEngine.UI.HorizontalOrVerticalLayoutGroup::get_childForceExpandWidth() extern "C" bool HorizontalOrVerticalLayoutGroup_get_childForceExpandWidth_m1705552999 (HorizontalOrVerticalLayoutGroup_t2416992609 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_ChildForceExpandWidth_11(); return L_0; } } // System.Void UnityEngine.UI.HorizontalOrVerticalLayoutGroup::set_childForceExpandWidth(System.Boolean) extern const MethodInfo* LayoutGroup_SetProperty_TisBoolean_t211005341_m3019210650_MethodInfo_var; extern const uint32_t HorizontalOrVerticalLayoutGroup_set_childForceExpandWidth_m1348569144_MetadataUsageId; extern "C" void HorizontalOrVerticalLayoutGroup_set_childForceExpandWidth_m1348569144 (HorizontalOrVerticalLayoutGroup_t2416992609 * __this, bool ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (HorizontalOrVerticalLayoutGroup_set_childForceExpandWidth_m1348569144_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool* L_0 = __this->get_address_of_m_ChildForceExpandWidth_11(); bool L_1 = ___value0; LayoutGroup_SetProperty_TisBoolean_t211005341_m3019210650(__this, L_0, L_1, /*hidden argument*/LayoutGroup_SetProperty_TisBoolean_t211005341_m3019210650_MethodInfo_var); return; } } // System.Boolean UnityEngine.UI.HorizontalOrVerticalLayoutGroup::get_childForceExpandHeight() extern "C" bool HorizontalOrVerticalLayoutGroup_get_childForceExpandHeight_m1836349768 (HorizontalOrVerticalLayoutGroup_t2416992609 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_ChildForceExpandHeight_12(); return L_0; } } // System.Void UnityEngine.UI.HorizontalOrVerticalLayoutGroup::set_childForceExpandHeight(System.Boolean) extern const MethodInfo* LayoutGroup_SetProperty_TisBoolean_t211005341_m3019210650_MethodInfo_var; extern const uint32_t HorizontalOrVerticalLayoutGroup_set_childForceExpandHeight_m3910057317_MetadataUsageId; extern "C" void HorizontalOrVerticalLayoutGroup_set_childForceExpandHeight_m3910057317 (HorizontalOrVerticalLayoutGroup_t2416992609 * __this, bool ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (HorizontalOrVerticalLayoutGroup_set_childForceExpandHeight_m3910057317_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool* L_0 = __this->get_address_of_m_ChildForceExpandHeight_12(); bool L_1 = ___value0; LayoutGroup_SetProperty_TisBoolean_t211005341_m3019210650(__this, L_0, L_1, /*hidden argument*/LayoutGroup_SetProperty_TisBoolean_t211005341_m3019210650_MethodInfo_var); return; } } // System.Void UnityEngine.UI.HorizontalOrVerticalLayoutGroup::CalcAlongAxis(System.Int32,System.Boolean) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t HorizontalOrVerticalLayoutGroup_CalcAlongAxis_m423831906_MetadataUsageId; extern "C" void HorizontalOrVerticalLayoutGroup_CalcAlongAxis_m423831906 (HorizontalOrVerticalLayoutGroup_t2416992609 * __this, int32_t ___axis0, bool ___isVertical1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (HorizontalOrVerticalLayoutGroup_CalcAlongAxis_m423831906_MetadataUsageId); s_Il2CppMethodIntialized = true; } float V_0 = 0.0f; float V_1 = 0.0f; float V_2 = 0.0f; float V_3 = 0.0f; bool V_4 = false; int32_t V_5 = 0; RectTransform_t3317474837 * V_6 = NULL; float V_7 = 0.0f; float V_8 = 0.0f; float V_9 = 0.0f; int32_t G_B3_0 = 0; bool G_B7_0 = false; { int32_t L_0 = ___axis0; if (L_0) { goto IL_0016; } } { RectOffset_t3394170884 * L_1 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_1); int32_t L_2 = RectOffset_get_horizontal_m1186440923(L_1, /*hidden argument*/NULL); G_B3_0 = L_2; goto IL_0021; } IL_0016: { RectOffset_t3394170884 * L_3 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_3); int32_t L_4 = RectOffset_get_vertical_m3650431789(L_3, /*hidden argument*/NULL); G_B3_0 = L_4; } IL_0021: { V_0 = (((float)((float)G_B3_0))); float L_5 = V_0; V_1 = L_5; float L_6 = V_0; V_2 = L_6; V_3 = (0.0f); bool L_7 = ___isVertical1; int32_t L_8 = ___axis0; V_4 = (bool)((int32_t)((int32_t)L_7^(int32_t)((((int32_t)L_8) == ((int32_t)1))? 1 : 0))); V_5 = 0; goto IL_00e2; } IL_003d: { List_1_t4114433806 * L_9 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); int32_t L_10 = V_5; NullCheck(L_9); RectTransform_t3317474837 * L_11 = VirtFuncInvoker1< RectTransform_t3317474837 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Item(System.Int32) */, L_9, L_10); V_6 = L_11; RectTransform_t3317474837 * L_12 = V_6; int32_t L_13 = ___axis0; float L_14 = LayoutUtility_GetMinSize_m220738634(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL); V_7 = L_14; RectTransform_t3317474837 * L_15 = V_6; int32_t L_16 = ___axis0; float L_17 = LayoutUtility_GetPreferredSize_m889669625(NULL /*static, unused*/, L_15, L_16, /*hidden argument*/NULL); V_8 = L_17; RectTransform_t3317474837 * L_18 = V_6; int32_t L_19 = ___axis0; float L_20 = LayoutUtility_GetFlexibleSize_m3922234755(NULL /*static, unused*/, L_18, L_19, /*hidden argument*/NULL); V_9 = L_20; int32_t L_21 = ___axis0; if (L_21) { goto IL_007b; } } { bool L_22 = HorizontalOrVerticalLayoutGroup_get_childForceExpandWidth_m1705552999(__this, /*hidden argument*/NULL); G_B7_0 = L_22; goto IL_0081; } IL_007b: { bool L_23 = HorizontalOrVerticalLayoutGroup_get_childForceExpandHeight_m1836349768(__this, /*hidden argument*/NULL); G_B7_0 = L_23; } IL_0081: { if (!G_B7_0) { goto IL_0094; } } { float L_24 = V_9; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_25 = Mathf_Max_m3923796455(NULL /*static, unused*/, L_24, (1.0f), /*hidden argument*/NULL); V_9 = L_25; } IL_0094: { bool L_26 = V_4; if (!L_26) { goto IL_00bf; } } { float L_27 = V_7; float L_28 = V_0; float L_29 = V_1; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_30 = Mathf_Max_m3923796455(NULL /*static, unused*/, ((float)((float)L_27+(float)L_28)), L_29, /*hidden argument*/NULL); V_1 = L_30; float L_31 = V_8; float L_32 = V_0; float L_33 = V_2; float L_34 = Mathf_Max_m3923796455(NULL /*static, unused*/, ((float)((float)L_31+(float)L_32)), L_33, /*hidden argument*/NULL); V_2 = L_34; float L_35 = V_9; float L_36 = V_3; float L_37 = Mathf_Max_m3923796455(NULL /*static, unused*/, L_35, L_36, /*hidden argument*/NULL); V_3 = L_37; goto IL_00dc; } IL_00bf: { float L_38 = V_1; float L_39 = V_7; float L_40 = HorizontalOrVerticalLayoutGroup_get_spacing_m494525775(__this, /*hidden argument*/NULL); V_1 = ((float)((float)L_38+(float)((float)((float)L_39+(float)L_40)))); float L_41 = V_2; float L_42 = V_8; float L_43 = HorizontalOrVerticalLayoutGroup_get_spacing_m494525775(__this, /*hidden argument*/NULL); V_2 = ((float)((float)L_41+(float)((float)((float)L_42+(float)L_43)))); float L_44 = V_3; float L_45 = V_9; V_3 = ((float)((float)L_44+(float)L_45)); } IL_00dc: { int32_t L_46 = V_5; V_5 = ((int32_t)((int32_t)L_46+(int32_t)1)); } IL_00e2: { int32_t L_47 = V_5; List_1_t4114433806 * L_48 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_48); int32_t L_49 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_48); if ((((int32_t)L_47) < ((int32_t)L_49))) { goto IL_003d; } } { bool L_50 = V_4; if (L_50) { goto IL_011e; } } { List_1_t4114433806 * L_51 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_51); int32_t L_52 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_51); if ((((int32_t)L_52) <= ((int32_t)0))) { goto IL_011e; } } { float L_53 = V_1; float L_54 = HorizontalOrVerticalLayoutGroup_get_spacing_m494525775(__this, /*hidden argument*/NULL); V_1 = ((float)((float)L_53-(float)L_54)); float L_55 = V_2; float L_56 = HorizontalOrVerticalLayoutGroup_get_spacing_m494525775(__this, /*hidden argument*/NULL); V_2 = ((float)((float)L_55-(float)L_56)); } IL_011e: { float L_57 = V_1; float L_58 = V_2; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_59 = Mathf_Max_m3923796455(NULL /*static, unused*/, L_57, L_58, /*hidden argument*/NULL); V_2 = L_59; float L_60 = V_1; float L_61 = V_2; float L_62 = V_3; int32_t L_63 = ___axis0; LayoutGroup_SetLayoutInputForAxis_m396008818(__this, L_60, L_61, L_62, L_63, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.HorizontalOrVerticalLayoutGroup::SetChildrenAlongAxis(System.Int32,System.Boolean) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t HorizontalOrVerticalLayoutGroup_SetChildrenAlongAxis_m3440700494_MetadataUsageId; extern "C" void HorizontalOrVerticalLayoutGroup_SetChildrenAlongAxis_m3440700494 (HorizontalOrVerticalLayoutGroup_t2416992609 * __this, int32_t ___axis0, bool ___isVertical1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (HorizontalOrVerticalLayoutGroup_SetChildrenAlongAxis_m3440700494_MetadataUsageId); s_Il2CppMethodIntialized = true; } float V_0 = 0.0f; bool V_1 = false; float V_2 = 0.0f; int32_t V_3 = 0; RectTransform_t3317474837 * V_4 = NULL; float V_5 = 0.0f; float V_6 = 0.0f; float V_7 = 0.0f; float V_8 = 0.0f; float V_9 = 0.0f; float V_10 = 0.0f; float V_11 = 0.0f; float V_12 = 0.0f; int32_t V_13 = 0; RectTransform_t3317474837 * V_14 = NULL; float V_15 = 0.0f; float V_16 = 0.0f; float V_17 = 0.0f; float V_18 = 0.0f; Rect_t1525428817 V_19; memset(&V_19, 0, sizeof(V_19)); Vector2_t3525329788 V_20; memset(&V_20, 0, sizeof(V_20)); float G_B3_0 = 0.0f; float G_B2_0 = 0.0f; int32_t G_B4_0 = 0; float G_B4_1 = 0.0f; bool G_B8_0 = false; float G_B12_0 = 0.0f; float G_B12_1 = 0.0f; float G_B11_0 = 0.0f; float G_B11_1 = 0.0f; float G_B13_0 = 0.0f; float G_B13_1 = 0.0f; float G_B13_2 = 0.0f; int32_t G_B19_0 = 0; float G_B23_0 = 0.0f; int32_t G_B23_1 = 0; HorizontalOrVerticalLayoutGroup_t2416992609 * G_B23_2 = NULL; float G_B22_0 = 0.0f; int32_t G_B22_1 = 0; HorizontalOrVerticalLayoutGroup_t2416992609 * G_B22_2 = NULL; int32_t G_B24_0 = 0; float G_B24_1 = 0.0f; int32_t G_B24_2 = 0; HorizontalOrVerticalLayoutGroup_t2416992609 * G_B24_3 = NULL; bool G_B34_0 = false; { RectTransform_t3317474837 * L_0 = LayoutGroup_get_rectTransform_m331638721(__this, /*hidden argument*/NULL); NullCheck(L_0); Rect_t1525428817 L_1 = RectTransform_get_rect_m1566017036(L_0, /*hidden argument*/NULL); V_19 = L_1; Vector2_t3525329788 L_2 = Rect_get_size_m136480416((&V_19), /*hidden argument*/NULL); V_20 = L_2; int32_t L_3 = ___axis0; float L_4 = Vector2_get_Item_m2185542843((&V_20), L_3, /*hidden argument*/NULL); V_0 = L_4; bool L_5 = ___isVertical1; int32_t L_6 = ___axis0; V_1 = (bool)((int32_t)((int32_t)L_5^(int32_t)((((int32_t)L_6) == ((int32_t)1))? 1 : 0))); bool L_7 = V_1; if (!L_7) { goto IL_00fe; } } { float L_8 = V_0; int32_t L_9 = ___axis0; G_B2_0 = L_8; if (L_9) { G_B3_0 = L_8; goto IL_0043; } } { RectOffset_t3394170884 * L_10 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_10); int32_t L_11 = RectOffset_get_horizontal_m1186440923(L_10, /*hidden argument*/NULL); G_B4_0 = L_11; G_B4_1 = G_B2_0; goto IL_004e; } IL_0043: { RectOffset_t3394170884 * L_12 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_12); int32_t L_13 = RectOffset_get_vertical_m3650431789(L_12, /*hidden argument*/NULL); G_B4_0 = L_13; G_B4_1 = G_B3_0; } IL_004e: { V_2 = ((float)((float)G_B4_1-(float)(((float)((float)G_B4_0))))); V_3 = 0; goto IL_00e8; } IL_0058: { List_1_t4114433806 * L_14 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); int32_t L_15 = V_3; NullCheck(L_14); RectTransform_t3317474837 * L_16 = VirtFuncInvoker1< RectTransform_t3317474837 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Item(System.Int32) */, L_14, L_15); V_4 = L_16; RectTransform_t3317474837 * L_17 = V_4; int32_t L_18 = ___axis0; float L_19 = LayoutUtility_GetMinSize_m220738634(NULL /*static, unused*/, L_17, L_18, /*hidden argument*/NULL); V_5 = L_19; RectTransform_t3317474837 * L_20 = V_4; int32_t L_21 = ___axis0; float L_22 = LayoutUtility_GetPreferredSize_m889669625(NULL /*static, unused*/, L_20, L_21, /*hidden argument*/NULL); V_6 = L_22; RectTransform_t3317474837 * L_23 = V_4; int32_t L_24 = ___axis0; float L_25 = LayoutUtility_GetFlexibleSize_m3922234755(NULL /*static, unused*/, L_23, L_24, /*hidden argument*/NULL); V_7 = L_25; int32_t L_26 = ___axis0; if (L_26) { goto IL_0095; } } { bool L_27 = HorizontalOrVerticalLayoutGroup_get_childForceExpandWidth_m1705552999(__this, /*hidden argument*/NULL); G_B8_0 = L_27; goto IL_009b; } IL_0095: { bool L_28 = HorizontalOrVerticalLayoutGroup_get_childForceExpandHeight_m1836349768(__this, /*hidden argument*/NULL); G_B8_0 = L_28; } IL_009b: { if (!G_B8_0) { goto IL_00ae; } } { float L_29 = V_7; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_30 = Mathf_Max_m3923796455(NULL /*static, unused*/, L_29, (1.0f), /*hidden argument*/NULL); V_7 = L_30; } IL_00ae: { float L_31 = V_2; float L_32 = V_5; float L_33 = V_7; G_B11_0 = L_32; G_B11_1 = L_31; if ((!(((float)L_33) > ((float)(0.0f))))) { G_B12_0 = L_32; G_B12_1 = L_31; goto IL_00c3; } } { float L_34 = V_0; G_B13_0 = L_34; G_B13_1 = G_B11_0; G_B13_2 = G_B11_1; goto IL_00c5; } IL_00c3: { float L_35 = V_6; G_B13_0 = L_35; G_B13_1 = G_B12_0; G_B13_2 = G_B12_1; } IL_00c5: { IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_36 = Mathf_Clamp_m3872743893(NULL /*static, unused*/, G_B13_2, G_B13_1, G_B13_0, /*hidden argument*/NULL); V_8 = L_36; int32_t L_37 = ___axis0; float L_38 = V_8; float L_39 = LayoutGroup_GetStartOffset_m3060950207(__this, L_37, L_38, /*hidden argument*/NULL); V_9 = L_39; RectTransform_t3317474837 * L_40 = V_4; int32_t L_41 = ___axis0; float L_42 = V_9; float L_43 = V_8; LayoutGroup_SetChildAlongAxis_m4214960168(__this, L_40, L_41, L_42, L_43, /*hidden argument*/NULL); int32_t L_44 = V_3; V_3 = ((int32_t)((int32_t)L_44+(int32_t)1)); } IL_00e8: { int32_t L_45 = V_3; List_1_t4114433806 * L_46 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_46); int32_t L_47 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_46); if ((((int32_t)L_45) < ((int32_t)L_47))) { goto IL_0058; } } { goto IL_028e; } IL_00fe: { int32_t L_48 = ___axis0; if (L_48) { goto IL_0114; } } { RectOffset_t3394170884 * L_49 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_49); int32_t L_50 = RectOffset_get_left_m4104523390(L_49, /*hidden argument*/NULL); G_B19_0 = L_50; goto IL_011f; } IL_0114: { RectOffset_t3394170884 * L_51 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_51); int32_t L_52 = RectOffset_get_top_m140097312(L_51, /*hidden argument*/NULL); G_B19_0 = L_52; } IL_011f: { V_10 = (((float)((float)G_B19_0))); int32_t L_53 = ___axis0; float L_54 = LayoutGroup_GetTotalFlexibleSize_m2703956501(__this, L_53, /*hidden argument*/NULL); if ((!(((float)L_54) == ((float)(0.0f))))) { goto IL_0173; } } { int32_t L_55 = ___axis0; float L_56 = LayoutGroup_GetTotalPreferredSize_m2664141949(__this, L_55, /*hidden argument*/NULL); float L_57 = V_0; if ((!(((float)L_56) < ((float)L_57)))) { goto IL_0173; } } { int32_t L_58 = ___axis0; int32_t L_59 = ___axis0; float L_60 = LayoutGroup_GetTotalPreferredSize_m2664141949(__this, L_59, /*hidden argument*/NULL); int32_t L_61 = ___axis0; G_B22_0 = L_60; G_B22_1 = L_58; G_B22_2 = __this; if (L_61) { G_B23_0 = L_60; G_B23_1 = L_58; G_B23_2 = __this; goto IL_015f; } } { RectOffset_t3394170884 * L_62 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_62); int32_t L_63 = RectOffset_get_horizontal_m1186440923(L_62, /*hidden argument*/NULL); G_B24_0 = L_63; G_B24_1 = G_B22_0; G_B24_2 = G_B22_1; G_B24_3 = G_B22_2; goto IL_016a; } IL_015f: { RectOffset_t3394170884 * L_64 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_64); int32_t L_65 = RectOffset_get_vertical_m3650431789(L_64, /*hidden argument*/NULL); G_B24_0 = L_65; G_B24_1 = G_B23_0; G_B24_2 = G_B23_1; G_B24_3 = G_B23_2; } IL_016a: { NullCheck(G_B24_3); float L_66 = LayoutGroup_GetStartOffset_m3060950207(G_B24_3, G_B24_2, ((float)((float)G_B24_1-(float)(((float)((float)G_B24_0))))), /*hidden argument*/NULL); V_10 = L_66; } IL_0173: { V_11 = (0.0f); int32_t L_67 = ___axis0; float L_68 = LayoutGroup_GetTotalMinSize_m3187537614(__this, L_67, /*hidden argument*/NULL); int32_t L_69 = ___axis0; float L_70 = LayoutGroup_GetTotalPreferredSize_m2664141949(__this, L_69, /*hidden argument*/NULL); if ((((float)L_68) == ((float)L_70))) { goto IL_01ad; } } { float L_71 = V_0; int32_t L_72 = ___axis0; float L_73 = LayoutGroup_GetTotalMinSize_m3187537614(__this, L_72, /*hidden argument*/NULL); int32_t L_74 = ___axis0; float L_75 = LayoutGroup_GetTotalPreferredSize_m2664141949(__this, L_74, /*hidden argument*/NULL); int32_t L_76 = ___axis0; float L_77 = LayoutGroup_GetTotalMinSize_m3187537614(__this, L_76, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_78 = Mathf_Clamp01_m2272733930(NULL /*static, unused*/, ((float)((float)((float)((float)L_71-(float)L_73))/(float)((float)((float)L_75-(float)L_77)))), /*hidden argument*/NULL); V_11 = L_78; } IL_01ad: { V_12 = (0.0f); float L_79 = V_0; int32_t L_80 = ___axis0; float L_81 = LayoutGroup_GetTotalPreferredSize_m2664141949(__this, L_80, /*hidden argument*/NULL); if ((!(((float)L_79) > ((float)L_81)))) { goto IL_01e5; } } { int32_t L_82 = ___axis0; float L_83 = LayoutGroup_GetTotalFlexibleSize_m2703956501(__this, L_82, /*hidden argument*/NULL); if ((!(((float)L_83) > ((float)(0.0f))))) { goto IL_01e5; } } { float L_84 = V_0; int32_t L_85 = ___axis0; float L_86 = LayoutGroup_GetTotalPreferredSize_m2664141949(__this, L_85, /*hidden argument*/NULL); int32_t L_87 = ___axis0; float L_88 = LayoutGroup_GetTotalFlexibleSize_m2703956501(__this, L_87, /*hidden argument*/NULL); V_12 = ((float)((float)((float)((float)L_84-(float)L_86))/(float)L_88)); } IL_01e5: { V_13 = 0; goto IL_027c; } IL_01ed: { List_1_t4114433806 * L_89 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); int32_t L_90 = V_13; NullCheck(L_89); RectTransform_t3317474837 * L_91 = VirtFuncInvoker1< RectTransform_t3317474837 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Item(System.Int32) */, L_89, L_90); V_14 = L_91; RectTransform_t3317474837 * L_92 = V_14; int32_t L_93 = ___axis0; float L_94 = LayoutUtility_GetMinSize_m220738634(NULL /*static, unused*/, L_92, L_93, /*hidden argument*/NULL); V_15 = L_94; RectTransform_t3317474837 * L_95 = V_14; int32_t L_96 = ___axis0; float L_97 = LayoutUtility_GetPreferredSize_m889669625(NULL /*static, unused*/, L_95, L_96, /*hidden argument*/NULL); V_16 = L_97; RectTransform_t3317474837 * L_98 = V_14; int32_t L_99 = ___axis0; float L_100 = LayoutUtility_GetFlexibleSize_m3922234755(NULL /*static, unused*/, L_98, L_99, /*hidden argument*/NULL); V_17 = L_100; int32_t L_101 = ___axis0; if (L_101) { goto IL_022b; } } { bool L_102 = HorizontalOrVerticalLayoutGroup_get_childForceExpandWidth_m1705552999(__this, /*hidden argument*/NULL); G_B34_0 = L_102; goto IL_0231; } IL_022b: { bool L_103 = HorizontalOrVerticalLayoutGroup_get_childForceExpandHeight_m1836349768(__this, /*hidden argument*/NULL); G_B34_0 = L_103; } IL_0231: { if (!G_B34_0) { goto IL_0244; } } { float L_104 = V_17; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_105 = Mathf_Max_m3923796455(NULL /*static, unused*/, L_104, (1.0f), /*hidden argument*/NULL); V_17 = L_105; } IL_0244: { float L_106 = V_15; float L_107 = V_16; float L_108 = V_11; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_109 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_106, L_107, L_108, /*hidden argument*/NULL); V_18 = L_109; float L_110 = V_18; float L_111 = V_17; float L_112 = V_12; V_18 = ((float)((float)L_110+(float)((float)((float)L_111*(float)L_112)))); RectTransform_t3317474837 * L_113 = V_14; int32_t L_114 = ___axis0; float L_115 = V_10; float L_116 = V_18; LayoutGroup_SetChildAlongAxis_m4214960168(__this, L_113, L_114, L_115, L_116, /*hidden argument*/NULL); float L_117 = V_10; float L_118 = V_18; float L_119 = HorizontalOrVerticalLayoutGroup_get_spacing_m494525775(__this, /*hidden argument*/NULL); V_10 = ((float)((float)L_117+(float)((float)((float)L_118+(float)L_119)))); int32_t L_120 = V_13; V_13 = ((int32_t)((int32_t)L_120+(int32_t)1)); } IL_027c: { int32_t L_121 = V_13; List_1_t4114433806 * L_122 = LayoutGroup_get_rectChildren_m2856991542(__this, /*hidden argument*/NULL); NullCheck(L_122); int32_t L_123 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.RectTransform>::get_Count() */, L_122); if ((((int32_t)L_121) < ((int32_t)L_123))) { goto IL_01ed; } } IL_028e: { return; } } // System.Void UnityEngine.UI.Image::.ctor() extern "C" void Image__ctor_m3858093632 (Image_t3354615620 * __this, const MethodInfo* method) { { __this->set_m_FillCenter_32((bool)1); __this->set_m_FillMethod_33(4); __this->set_m_FillAmount_34((1.0f)); __this->set_m_FillClockwise_35((bool)1); __this->set_m_EventAlphaThreshold_37((1.0f)); MaskableGraphic__ctor_m3514233785(__this, /*hidden argument*/NULL); Graphic_set_useLegacyMeshGeneration_m693817504(__this, (bool)0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Image::.cctor() extern Il2CppClass* Vector2U5BU5D_t2741383957_il2cpp_TypeInfo_var; extern Il2CppClass* Image_t3354615620_il2cpp_TypeInfo_var; extern Il2CppClass* Vector3U5BU5D_t3227571696_il2cpp_TypeInfo_var; extern const uint32_t Image__cctor_m3154689389_MetadataUsageId; extern "C" void Image__cctor_m3154689389 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image__cctor_m3154689389_MetadataUsageId); s_Il2CppMethodIntialized = true; } { ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->set_s_VertScratch_38(((Vector2U5BU5D_t2741383957*)SZArrayNew(Vector2U5BU5D_t2741383957_il2cpp_TypeInfo_var, (uint32_t)4))); ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->set_s_UVScratch_39(((Vector2U5BU5D_t2741383957*)SZArrayNew(Vector2U5BU5D_t2741383957_il2cpp_TypeInfo_var, (uint32_t)4))); ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->set_s_Xy_40(((Vector3U5BU5D_t3227571696*)SZArrayNew(Vector3U5BU5D_t3227571696_il2cpp_TypeInfo_var, (uint32_t)4))); ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->set_s_Uv_41(((Vector3U5BU5D_t3227571696*)SZArrayNew(Vector3U5BU5D_t3227571696_il2cpp_TypeInfo_var, (uint32_t)4))); return; } } // UnityEngine.Sprite UnityEngine.UI.Image::get_sprite() extern "C" Sprite_t4006040370 * Image_get_sprite_m3572636301 (Image_t3354615620 * __this, const MethodInfo* method) { { Sprite_t4006040370 * L_0 = __this->get_m_Sprite_28(); return L_0; } } // System.Void UnityEngine.UI.Image::set_sprite(UnityEngine.Sprite) extern const MethodInfo* SetPropertyUtility_SetClass_TisSprite_t4006040370_m3233747426_MethodInfo_var; extern const uint32_t Image_set_sprite_m572551402_MetadataUsageId; extern "C" void Image_set_sprite_m572551402 (Image_t3354615620 * __this, Sprite_t4006040370 * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_set_sprite_m572551402_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Sprite_t4006040370 ** L_0 = __this->get_address_of_m_Sprite_28(); Sprite_t4006040370 * L_1 = ___value0; bool L_2 = SetPropertyUtility_SetClass_TisSprite_t4006040370_m3233747426(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetClass_TisSprite_t4006040370_m3233747426_MethodInfo_var); if (!L_2) { goto IL_0017; } } { VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.UI.Graphic::SetAllDirty() */, __this); } IL_0017: { return; } } // UnityEngine.Sprite UnityEngine.UI.Image::get_overrideSprite() extern "C" Sprite_t4006040370 * Image_get_overrideSprite_m3218085753 (Image_t3354615620 * __this, const MethodInfo* method) { Sprite_t4006040370 * G_B3_0 = NULL; { Sprite_t4006040370 * L_0 = __this->get_m_OverrideSprite_29(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001c; } } { Sprite_t4006040370 * L_2 = Image_get_sprite_m3572636301(__this, /*hidden argument*/NULL); G_B3_0 = L_2; goto IL_0022; } IL_001c: { Sprite_t4006040370 * L_3 = __this->get_m_OverrideSprite_29(); G_B3_0 = L_3; } IL_0022: { return G_B3_0; } } // System.Void UnityEngine.UI.Image::set_overrideSprite(UnityEngine.Sprite) extern const MethodInfo* SetPropertyUtility_SetClass_TisSprite_t4006040370_m3233747426_MethodInfo_var; extern const uint32_t Image_set_overrideSprite_m129622486_MetadataUsageId; extern "C" void Image_set_overrideSprite_m129622486 (Image_t3354615620 * __this, Sprite_t4006040370 * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_set_overrideSprite_m129622486_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Sprite_t4006040370 ** L_0 = __this->get_address_of_m_OverrideSprite_29(); Sprite_t4006040370 * L_1 = ___value0; bool L_2 = SetPropertyUtility_SetClass_TisSprite_t4006040370_m3233747426(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetClass_TisSprite_t4006040370_m3233747426_MethodInfo_var); if (!L_2) { goto IL_0017; } } { VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.UI.Graphic::SetAllDirty() */, __this); } IL_0017: { return; } } // UnityEngine.UI.Image/Type UnityEngine.UI.Image::get_type() extern "C" int32_t Image_get_type_m1778977993 (Image_t3354615620 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_Type_30(); return L_0; } } // System.Void UnityEngine.UI.Image::set_type(UnityEngine.UI.Image/Type) extern const MethodInfo* SetPropertyUtility_SetStruct_TisType_t2622298_m3981732792_MethodInfo_var; extern const uint32_t Image_set_type_m3406009990_MetadataUsageId; extern "C" void Image_set_type_m3406009990 (Image_t3354615620 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_set_type_m3406009990_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_Type_30(); int32_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisType_t2622298_m3981732792(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisType_t2622298_m3981732792_MethodInfo_var); if (!L_2) { goto IL_0017; } } { VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this); } IL_0017: { return; } } // System.Boolean UnityEngine.UI.Image::get_preserveAspect() extern "C" bool Image_get_preserveAspect_m1146932479 (Image_t3354615620 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_PreserveAspect_31(); return L_0; } } // System.Void UnityEngine.UI.Image::set_preserveAspect(System.Boolean) extern const MethodInfo* SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768_MethodInfo_var; extern const uint32_t Image_set_preserveAspect_m3374507356_MetadataUsageId; extern "C" void Image_set_preserveAspect_m3374507356 (Image_t3354615620 * __this, bool ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_set_preserveAspect_m3374507356_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool* L_0 = __this->get_address_of_m_PreserveAspect_31(); bool L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768_MethodInfo_var); if (!L_2) { goto IL_0017; } } { VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this); } IL_0017: { return; } } // System.Boolean UnityEngine.UI.Image::get_fillCenter() extern "C" bool Image_get_fillCenter_m3817752307 (Image_t3354615620 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_FillCenter_32(); return L_0; } } // System.Void UnityEngine.UI.Image::set_fillCenter(System.Boolean) extern const MethodInfo* SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768_MethodInfo_var; extern const uint32_t Image_set_fillCenter_m811493200_MetadataUsageId; extern "C" void Image_set_fillCenter_m811493200 (Image_t3354615620 * __this, bool ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_set_fillCenter_m811493200_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool* L_0 = __this->get_address_of_m_FillCenter_32(); bool L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768_MethodInfo_var); if (!L_2) { goto IL_0017; } } { VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this); } IL_0017: { return; } } // UnityEngine.UI.Image/FillMethod UnityEngine.UI.Image::get_fillMethod() extern "C" int32_t Image_get_fillMethod_m2526834505 (Image_t3354615620 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_FillMethod_33(); return L_0; } } // System.Void UnityEngine.UI.Image::set_fillMethod(UnityEngine.UI.Image/FillMethod) extern const MethodInfo* SetPropertyUtility_SetStruct_TisFillMethod_t1232150628_m1922094766_MethodInfo_var; extern const uint32_t Image_set_fillMethod_m505110962_MetadataUsageId; extern "C" void Image_set_fillMethod_m505110962 (Image_t3354615620 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_set_fillMethod_m505110962_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_FillMethod_33(); int32_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisFillMethod_t1232150628_m1922094766(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisFillMethod_t1232150628_m1922094766_MethodInfo_var); if (!L_2) { goto IL_001e; } } { VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this); __this->set_m_FillOrigin_36(0); } IL_001e: { return; } } // System.Single UnityEngine.UI.Image::get_fillAmount() extern "C" float Image_get_fillAmount_m3193252212 (Image_t3354615620 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_FillAmount_34(); return L_0; } } // System.Void UnityEngine.UI.Image::set_fillAmount(System.Single) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const MethodInfo* SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var; extern const uint32_t Image_set_fillAmount_m1583793743_MetadataUsageId; extern "C" void Image_set_fillAmount_m1583793743 (Image_t3354615620 * __this, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_set_fillAmount_m1583793743_MetadataUsageId); s_Il2CppMethodIntialized = true; } { float* L_0 = __this->get_address_of_m_FillAmount_34(); float L_1 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_2 = Mathf_Clamp01_m2272733930(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); bool L_3 = SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650(NULL /*static, unused*/, L_0, L_2, /*hidden argument*/SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var); if (!L_3) { goto IL_001c; } } { VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this); } IL_001c: { return; } } // System.Boolean UnityEngine.UI.Image::get_fillClockwise() extern "C" bool Image_get_fillClockwise_m2414458422 (Image_t3354615620 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_FillClockwise_35(); return L_0; } } // System.Void UnityEngine.UI.Image::set_fillClockwise(System.Boolean) extern const MethodInfo* SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768_MethodInfo_var; extern const uint32_t Image_set_fillClockwise_m3747842887_MetadataUsageId; extern "C" void Image_set_fillClockwise_m3747842887 (Image_t3354615620 * __this, bool ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_set_fillClockwise_m3747842887_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool* L_0 = __this->get_address_of_m_FillClockwise_35(); bool L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768_MethodInfo_var); if (!L_2) { goto IL_0017; } } { VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this); } IL_0017: { return; } } // System.Int32 UnityEngine.UI.Image::get_fillOrigin() extern "C" int32_t Image_get_fillOrigin_m2333809822 (Image_t3354615620 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_FillOrigin_36(); return L_0; } } // System.Void UnityEngine.UI.Image::set_fillOrigin(System.Int32) extern const MethodInfo* SetPropertyUtility_SetStruct_TisInt32_t2847414787_m3219417906_MethodInfo_var; extern const uint32_t Image_set_fillOrigin_m3202820731_MetadataUsageId; extern "C" void Image_set_fillOrigin_m3202820731 (Image_t3354615620 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_set_fillOrigin_m3202820731_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_FillOrigin_36(); int32_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisInt32_t2847414787_m3219417906(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisInt32_t2847414787_m3219417906_MethodInfo_var); if (!L_2) { goto IL_0017; } } { VirtActionInvoker0::Invoke(23 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this); } IL_0017: { return; } } // System.Single UnityEngine.UI.Image::get_eventAlphaThreshold() extern "C" float Image_get_eventAlphaThreshold_m2236338352 (Image_t3354615620 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_EventAlphaThreshold_37(); return L_0; } } // System.Void UnityEngine.UI.Image::set_eventAlphaThreshold(System.Single) extern "C" void Image_set_eventAlphaThreshold_m229582947 (Image_t3354615620 * __this, float ___value0, const MethodInfo* method) { { float L_0 = ___value0; __this->set_m_EventAlphaThreshold_37(L_0); return; } } // UnityEngine.Texture UnityEngine.UI.Image::get_mainTexture() extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern const uint32_t Image_get_mainTexture_m3619971528_MetadataUsageId; extern "C" Texture_t1769722184 * Image_get_mainTexture_m3619971528 (Image_t3354615620 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_get_mainTexture_m3619971528_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Sprite_t4006040370 * L_0 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_004a; } } { Material_t1886596500 * L_2 = VirtFuncInvoker0< Material_t1886596500 * >::Invoke(26 /* UnityEngine.Material UnityEngine.UI.Graphic::get_material() */, __this); bool L_3 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_2, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_3) { goto IL_0044; } } { Material_t1886596500 * L_4 = VirtFuncInvoker0< Material_t1886596500 * >::Invoke(26 /* UnityEngine.Material UnityEngine.UI.Graphic::get_material() */, __this); NullCheck(L_4); Texture_t1769722184 * L_5 = Material_get_mainTexture_m1012267054(L_4, /*hidden argument*/NULL); bool L_6 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_5, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_6) { goto IL_0044; } } { Material_t1886596500 * L_7 = VirtFuncInvoker0< Material_t1886596500 * >::Invoke(26 /* UnityEngine.Material UnityEngine.UI.Graphic::get_material() */, __this); NullCheck(L_7); Texture_t1769722184 * L_8 = Material_get_mainTexture_m1012267054(L_7, /*hidden argument*/NULL); return L_8; } IL_0044: { IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Texture2D_t2509538522 * L_9 = ((Graphic_t933884113_StaticFields*)Graphic_t933884113_il2cpp_TypeInfo_var->static_fields)->get_s_WhiteTexture_3(); return L_9; } IL_004a: { Sprite_t4006040370 * L_10 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); NullCheck(L_10); Texture2D_t2509538522 * L_11 = Sprite_get_texture_m1481489947(L_10, /*hidden argument*/NULL); return L_11; } } // System.Boolean UnityEngine.UI.Image::get_hasBorder() extern "C" bool Image_get_hasBorder_m2233588589 (Image_t3354615620 * __this, const MethodInfo* method) { Vector4_t3525329790 V_0; memset(&V_0, 0, sizeof(V_0)); { Sprite_t4006040370 * L_0 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_002c; } } { Sprite_t4006040370 * L_2 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); NullCheck(L_2); Vector4_t3525329790 L_3 = Sprite_get_border_m1562752938(L_2, /*hidden argument*/NULL); V_0 = L_3; float L_4 = Vector4_get_sqrMagnitude_m1418774677((&V_0), /*hidden argument*/NULL); return (bool)((((float)L_4) > ((float)(0.0f)))? 1 : 0); } IL_002c: { return (bool)0; } } // System.Single UnityEngine.UI.Image::get_pixelsPerUnit() extern "C" float Image_get_pixelsPerUnit_m2679127645 (Image_t3354615620 * __this, const MethodInfo* method) { float V_0 = 0.0f; float V_1 = 0.0f; { V_0 = (100.0f); Sprite_t4006040370 * L_0 = Image_get_sprite_m3572636301(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_0022; } } { Sprite_t4006040370 * L_2 = Image_get_sprite_m3572636301(__this, /*hidden argument*/NULL); NullCheck(L_2); float L_3 = Sprite_get_pixelsPerUnit_m2438708453(L_2, /*hidden argument*/NULL); V_0 = L_3; } IL_0022: { V_1 = (100.0f); Canvas_t3534013893 * L_4 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); bool L_5 = Object_op_Implicit_m2106766291(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_0044; } } { Canvas_t3534013893 * L_6 = Graphic_get_canvas_m4291384250(__this, /*hidden argument*/NULL); NullCheck(L_6); float L_7 = Canvas_get_referencePixelsPerUnit_m3759589197(L_6, /*hidden argument*/NULL); V_1 = L_7; } IL_0044: { float L_8 = V_0; float L_9 = V_1; return ((float)((float)L_8/(float)L_9)); } } // System.Void UnityEngine.UI.Image::OnBeforeSerialize() extern "C" void Image_OnBeforeSerialize_m3089868192 (Image_t3354615620 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.UI.Image::OnAfterDeserialize() extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t Image_OnAfterDeserialize_m1760560454_MetadataUsageId; extern "C" void Image_OnAfterDeserialize_m1760560454 (Image_t3354615620 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_OnAfterDeserialize_m1760560454_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t L_0 = __this->get_m_FillOrigin_36(); if ((((int32_t)L_0) >= ((int32_t)0))) { goto IL_0018; } } { __this->set_m_FillOrigin_36(0); goto IL_0072; } IL_0018: { int32_t L_1 = __this->get_m_FillMethod_33(); if (L_1) { goto IL_003b; } } { int32_t L_2 = __this->get_m_FillOrigin_36(); if ((((int32_t)L_2) <= ((int32_t)1))) { goto IL_003b; } } { __this->set_m_FillOrigin_36(0); goto IL_0072; } IL_003b: { int32_t L_3 = __this->get_m_FillMethod_33(); if ((!(((uint32_t)L_3) == ((uint32_t)1)))) { goto IL_005f; } } { int32_t L_4 = __this->get_m_FillOrigin_36(); if ((((int32_t)L_4) <= ((int32_t)1))) { goto IL_005f; } } { __this->set_m_FillOrigin_36(0); goto IL_0072; } IL_005f: { int32_t L_5 = __this->get_m_FillOrigin_36(); if ((((int32_t)L_5) <= ((int32_t)3))) { goto IL_0072; } } { __this->set_m_FillOrigin_36(0); } IL_0072: { float L_6 = __this->get_m_FillAmount_34(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_7 = Mathf_Clamp_m3872743893(NULL /*static, unused*/, L_6, (0.0f), (1.0f), /*hidden argument*/NULL); __this->set_m_FillAmount_34(L_7); return; } } // UnityEngine.Vector4 UnityEngine.UI.Image::GetDrawingDimensions(System.Boolean) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t Image_GetDrawingDimensions_m755640489_MetadataUsageId; extern "C" Vector4_t3525329790 Image_GetDrawingDimensions_m755640489 (Image_t3354615620 * __this, bool ___shouldPreserveAspect0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_GetDrawingDimensions_m755640489_MetadataUsageId); s_Il2CppMethodIntialized = true; } Vector4_t3525329790 V_0; memset(&V_0, 0, sizeof(V_0)); Vector2_t3525329788 V_1; memset(&V_1, 0, sizeof(V_1)); Rect_t1525428817 V_2; memset(&V_2, 0, sizeof(V_2)); int32_t V_3 = 0; int32_t V_4 = 0; Vector4_t3525329790 V_5; memset(&V_5, 0, sizeof(V_5)); float V_6 = 0.0f; float V_7 = 0.0f; float V_8 = 0.0f; float V_9 = 0.0f; Rect_t1525428817 V_10; memset(&V_10, 0, sizeof(V_10)); Rect_t1525428817 V_11; memset(&V_11, 0, sizeof(V_11)); Vector2_t3525329788 V_12; memset(&V_12, 0, sizeof(V_12)); Vector2_t3525329788 V_13; memset(&V_13, 0, sizeof(V_13)); Vector4_t3525329790 G_B3_0; memset(&G_B3_0, 0, sizeof(G_B3_0)); Vector2_t3525329788 G_B6_0; memset(&G_B6_0, 0, sizeof(G_B6_0)); { Sprite_t4006040370 * L_0 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001b; } } { Vector4_t3525329790 L_2 = Vector4_get_zero_m3835647092(NULL /*static, unused*/, /*hidden argument*/NULL); G_B3_0 = L_2; goto IL_0026; } IL_001b: { Sprite_t4006040370 * L_3 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); Vector4_t3525329790 L_4 = DataUtility_GetPadding_m3826542291(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); G_B3_0 = L_4; } IL_0026: { V_0 = G_B3_0; Sprite_t4006040370 * L_5 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); bool L_6 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_5, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_6) { goto IL_0042; } } { Vector2_t3525329788 L_7 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); G_B6_0 = L_7; goto IL_006f; } IL_0042: { Sprite_t4006040370 * L_8 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); NullCheck(L_8); Rect_t1525428817 L_9 = Sprite_get_rect_m132626493(L_8, /*hidden argument*/NULL); V_10 = L_9; float L_10 = Rect_get_width_m2824209432((&V_10), /*hidden argument*/NULL); Sprite_t4006040370 * L_11 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); NullCheck(L_11); Rect_t1525428817 L_12 = Sprite_get_rect_m132626493(L_11, /*hidden argument*/NULL); V_11 = L_12; float L_13 = Rect_get_height_m2154960823((&V_11), /*hidden argument*/NULL); Vector2_t3525329788 L_14; memset(&L_14, 0, sizeof(L_14)); Vector2__ctor_m1517109030(&L_14, L_10, L_13, /*hidden argument*/NULL); G_B6_0 = L_14; } IL_006f: { V_1 = G_B6_0; Rect_t1525428817 L_15 = Graphic_GetPixelAdjustedRect_m517144655(__this, /*hidden argument*/NULL); V_2 = L_15; float L_16 = (&V_1)->get_x_1(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_17 = Mathf_RoundToInt_m3163545820(NULL /*static, unused*/, L_16, /*hidden argument*/NULL); V_3 = L_17; float L_18 = (&V_1)->get_y_2(); int32_t L_19 = Mathf_RoundToInt_m3163545820(NULL /*static, unused*/, L_18, /*hidden argument*/NULL); V_4 = L_19; float L_20 = (&V_0)->get_x_1(); int32_t L_21 = V_3; float L_22 = (&V_0)->get_y_2(); int32_t L_23 = V_4; int32_t L_24 = V_3; float L_25 = (&V_0)->get_z_3(); int32_t L_26 = V_3; int32_t L_27 = V_4; float L_28 = (&V_0)->get_w_4(); int32_t L_29 = V_4; Vector4__ctor_m2441427762((&V_5), ((float)((float)L_20/(float)(((float)((float)L_21))))), ((float)((float)L_22/(float)(((float)((float)L_23))))), ((float)((float)((float)((float)(((float)((float)L_24)))-(float)L_25))/(float)(((float)((float)L_26))))), ((float)((float)((float)((float)(((float)((float)L_27)))-(float)L_28))/(float)(((float)((float)L_29))))), /*hidden argument*/NULL); bool L_30 = ___shouldPreserveAspect0; if (!L_30) { goto IL_01a5; } } { float L_31 = Vector2_get_sqrMagnitude_m996072851((&V_1), /*hidden argument*/NULL); if ((!(((float)L_31) > ((float)(0.0f))))) { goto IL_01a5; } } { float L_32 = (&V_1)->get_x_1(); float L_33 = (&V_1)->get_y_2(); V_6 = ((float)((float)L_32/(float)L_33)); float L_34 = Rect_get_width_m2824209432((&V_2), /*hidden argument*/NULL); float L_35 = Rect_get_height_m2154960823((&V_2), /*hidden argument*/NULL); V_7 = ((float)((float)L_34/(float)L_35)); float L_36 = V_6; float L_37 = V_7; if ((!(((float)L_36) > ((float)L_37)))) { goto IL_015e; } } { float L_38 = Rect_get_height_m2154960823((&V_2), /*hidden argument*/NULL); V_8 = L_38; float L_39 = Rect_get_width_m2824209432((&V_2), /*hidden argument*/NULL); float L_40 = V_6; Rect_set_height_m3398820332((&V_2), ((float)((float)L_39*(float)((float)((float)(1.0f)/(float)L_40)))), /*hidden argument*/NULL); Rect_t1525428817 * L_41 = (&V_2); float L_42 = Rect_get_y_m982386315(L_41, /*hidden argument*/NULL); float L_43 = V_8; float L_44 = Rect_get_height_m2154960823((&V_2), /*hidden argument*/NULL); RectTransform_t3317474837 * L_45 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); NullCheck(L_45); Vector2_t3525329788 L_46 = RectTransform_get_pivot_m3785570595(L_45, /*hidden argument*/NULL); V_12 = L_46; float L_47 = (&V_12)->get_y_2(); Rect_set_y_m67436392(L_41, ((float)((float)L_42+(float)((float)((float)((float)((float)L_43-(float)L_44))*(float)L_47)))), /*hidden argument*/NULL); goto IL_01a5; } IL_015e: { float L_48 = Rect_get_width_m2824209432((&V_2), /*hidden argument*/NULL); V_9 = L_48; float L_49 = Rect_get_height_m2154960823((&V_2), /*hidden argument*/NULL); float L_50 = V_6; Rect_set_width_m3771513595((&V_2), ((float)((float)L_49*(float)L_50)), /*hidden argument*/NULL); Rect_t1525428817 * L_51 = (&V_2); float L_52 = Rect_get_x_m982385354(L_51, /*hidden argument*/NULL); float L_53 = V_9; float L_54 = Rect_get_width_m2824209432((&V_2), /*hidden argument*/NULL); RectTransform_t3317474837 * L_55 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); NullCheck(L_55); Vector2_t3525329788 L_56 = RectTransform_get_pivot_m3785570595(L_55, /*hidden argument*/NULL); V_13 = L_56; float L_57 = (&V_13)->get_x_1(); Rect_set_x_m577970569(L_51, ((float)((float)L_52+(float)((float)((float)((float)((float)L_53-(float)L_54))*(float)L_57)))), /*hidden argument*/NULL); } IL_01a5: { float L_58 = Rect_get_x_m982385354((&V_2), /*hidden argument*/NULL); float L_59 = Rect_get_width_m2824209432((&V_2), /*hidden argument*/NULL); float L_60 = (&V_5)->get_x_1(); float L_61 = Rect_get_y_m982386315((&V_2), /*hidden argument*/NULL); float L_62 = Rect_get_height_m2154960823((&V_2), /*hidden argument*/NULL); float L_63 = (&V_5)->get_y_2(); float L_64 = Rect_get_x_m982385354((&V_2), /*hidden argument*/NULL); float L_65 = Rect_get_width_m2824209432((&V_2), /*hidden argument*/NULL); float L_66 = (&V_5)->get_z_3(); float L_67 = Rect_get_y_m982386315((&V_2), /*hidden argument*/NULL); float L_68 = Rect_get_height_m2154960823((&V_2), /*hidden argument*/NULL); float L_69 = (&V_5)->get_w_4(); Vector4__ctor_m2441427762((&V_5), ((float)((float)L_58+(float)((float)((float)L_59*(float)L_60)))), ((float)((float)L_61+(float)((float)((float)L_62*(float)L_63)))), ((float)((float)L_64+(float)((float)((float)L_65*(float)L_66)))), ((float)((float)L_67+(float)((float)((float)L_68*(float)L_69)))), /*hidden argument*/NULL); Vector4_t3525329790 L_70 = V_5; return L_70; } } // System.Void UnityEngine.UI.Image::SetNativeSize() extern "C" void Image_SetNativeSize_m828608152 (Image_t3354615620 * __this, const MethodInfo* method) { float V_0 = 0.0f; float V_1 = 0.0f; Rect_t1525428817 V_2; memset(&V_2, 0, sizeof(V_2)); Rect_t1525428817 V_3; memset(&V_3, 0, sizeof(V_3)); { Sprite_t4006040370 * L_0 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0075; } } { Sprite_t4006040370 * L_2 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); NullCheck(L_2); Rect_t1525428817 L_3 = Sprite_get_rect_m132626493(L_2, /*hidden argument*/NULL); V_2 = L_3; float L_4 = Rect_get_width_m2824209432((&V_2), /*hidden argument*/NULL); float L_5 = Image_get_pixelsPerUnit_m2679127645(__this, /*hidden argument*/NULL); V_0 = ((float)((float)L_4/(float)L_5)); Sprite_t4006040370 * L_6 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); NullCheck(L_6); Rect_t1525428817 L_7 = Sprite_get_rect_m132626493(L_6, /*hidden argument*/NULL); V_3 = L_7; float L_8 = Rect_get_height_m2154960823((&V_3), /*hidden argument*/NULL); float L_9 = Image_get_pixelsPerUnit_m2679127645(__this, /*hidden argument*/NULL); V_1 = ((float)((float)L_8/(float)L_9)); RectTransform_t3317474837 * L_10 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); RectTransform_t3317474837 * L_11 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); NullCheck(L_11); Vector2_t3525329788 L_12 = RectTransform_get_anchorMin_m688674174(L_11, /*hidden argument*/NULL); NullCheck(L_10); RectTransform_set_anchorMax_m715345817(L_10, L_12, /*hidden argument*/NULL); RectTransform_t3317474837 * L_13 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); float L_14 = V_0; float L_15 = V_1; Vector2_t3525329788 L_16; memset(&L_16, 0, sizeof(L_16)); Vector2__ctor_m1517109030(&L_16, L_14, L_15, /*hidden argument*/NULL); NullCheck(L_13); RectTransform_set_sizeDelta_m1223846609(L_13, L_16, /*hidden argument*/NULL); VirtActionInvoker0::Invoke(21 /* System.Void UnityEngine.UI.Graphic::SetAllDirty() */, __this); } IL_0075: { return; } } // System.Void UnityEngine.UI.Image::OnPopulateMesh(UnityEngine.UI.VertexHelper) extern "C" void Image_OnPopulateMesh_m435930979 (Image_t3354615620 * __this, VertexHelper_t1471929499 * ___toFill0, const MethodInfo* method) { int32_t V_0 = 0; { Sprite_t4006040370 * L_0 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0019; } } { VertexHelper_t1471929499 * L_2 = ___toFill0; Graphic_OnPopulateMesh_m3177058550(__this, L_2, /*hidden argument*/NULL); return; } IL_0019: { int32_t L_3 = Image_get_type_m1778977993(__this, /*hidden argument*/NULL); V_0 = L_3; int32_t L_4 = V_0; if (L_4 == 0) { goto IL_003b; } if (L_4 == 1) { goto IL_004d; } if (L_4 == 2) { goto IL_0059; } if (L_4 == 3) { goto IL_0065; } } { goto IL_0077; } IL_003b: { VertexHelper_t1471929499 * L_5 = ___toFill0; bool L_6 = __this->get_m_PreserveAspect_31(); Image_GenerateSimpleSprite_m106729008(__this, L_5, L_6, /*hidden argument*/NULL); goto IL_0077; } IL_004d: { VertexHelper_t1471929499 * L_7 = ___toFill0; Image_GenerateSlicedSprite_m4239922765(__this, L_7, /*hidden argument*/NULL); goto IL_0077; } IL_0059: { VertexHelper_t1471929499 * L_8 = ___toFill0; Image_GenerateTiledSprite_m4269137945(__this, L_8, /*hidden argument*/NULL); goto IL_0077; } IL_0065: { VertexHelper_t1471929499 * L_9 = ___toFill0; bool L_10 = __this->get_m_PreserveAspect_31(); Image_GenerateFilledSprite_m589086176(__this, L_9, L_10, /*hidden argument*/NULL); goto IL_0077; } IL_0077: { return; } } // System.Void UnityEngine.UI.Image::GenerateSimpleSprite(UnityEngine.UI.VertexHelper,System.Boolean) extern "C" void Image_GenerateSimpleSprite_m106729008 (Image_t3354615620 * __this, VertexHelper_t1471929499 * ___vh0, bool ___lPreserveAspect1, const MethodInfo* method) { Vector4_t3525329790 V_0; memset(&V_0, 0, sizeof(V_0)); Vector4_t3525329790 V_1; memset(&V_1, 0, sizeof(V_1)); Color_t1588175760 V_2; memset(&V_2, 0, sizeof(V_2)); Vector4_t3525329790 G_B3_0; memset(&G_B3_0, 0, sizeof(G_B3_0)); { bool L_0 = ___lPreserveAspect1; Vector4_t3525329790 L_1 = Image_GetDrawingDimensions_m755640489(__this, L_0, /*hidden argument*/NULL); V_0 = L_1; Sprite_t4006040370 * L_2 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); bool L_3 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_2, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_3) { goto IL_0029; } } { Sprite_t4006040370 * L_4 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); Vector4_t3525329790 L_5 = DataUtility_GetOuterUV_m2974486430(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); G_B3_0 = L_5; goto IL_002e; } IL_0029: { Vector4_t3525329790 L_6 = Vector4_get_zero_m3835647092(NULL /*static, unused*/, /*hidden argument*/NULL); G_B3_0 = L_6; } IL_002e: { V_1 = G_B3_0; Color_t1588175760 L_7 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); V_2 = L_7; VertexHelper_t1471929499 * L_8 = ___vh0; NullCheck(L_8); VertexHelper_Clear_m412394180(L_8, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_9 = ___vh0; float L_10 = (&V_0)->get_x_1(); float L_11 = (&V_0)->get_y_2(); Vector3_t3525329789 L_12; memset(&L_12, 0, sizeof(L_12)); Vector3__ctor_m1846874791(&L_12, L_10, L_11, /*hidden argument*/NULL); Color_t1588175760 L_13 = V_2; Color32_t4137084207 L_14 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_13, /*hidden argument*/NULL); float L_15 = (&V_1)->get_x_1(); float L_16 = (&V_1)->get_y_2(); Vector2_t3525329788 L_17; memset(&L_17, 0, sizeof(L_17)); Vector2__ctor_m1517109030(&L_17, L_15, L_16, /*hidden argument*/NULL); NullCheck(L_9); VertexHelper_AddVert_m1490065189(L_9, L_12, L_14, L_17, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_18 = ___vh0; float L_19 = (&V_0)->get_x_1(); float L_20 = (&V_0)->get_w_4(); Vector3_t3525329789 L_21; memset(&L_21, 0, sizeof(L_21)); Vector3__ctor_m1846874791(&L_21, L_19, L_20, /*hidden argument*/NULL); Color_t1588175760 L_22 = V_2; Color32_t4137084207 L_23 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_22, /*hidden argument*/NULL); float L_24 = (&V_1)->get_x_1(); float L_25 = (&V_1)->get_w_4(); Vector2_t3525329788 L_26; memset(&L_26, 0, sizeof(L_26)); Vector2__ctor_m1517109030(&L_26, L_24, L_25, /*hidden argument*/NULL); NullCheck(L_18); VertexHelper_AddVert_m1490065189(L_18, L_21, L_23, L_26, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_27 = ___vh0; float L_28 = (&V_0)->get_z_3(); float L_29 = (&V_0)->get_w_4(); Vector3_t3525329789 L_30; memset(&L_30, 0, sizeof(L_30)); Vector3__ctor_m1846874791(&L_30, L_28, L_29, /*hidden argument*/NULL); Color_t1588175760 L_31 = V_2; Color32_t4137084207 L_32 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_31, /*hidden argument*/NULL); float L_33 = (&V_1)->get_z_3(); float L_34 = (&V_1)->get_w_4(); Vector2_t3525329788 L_35; memset(&L_35, 0, sizeof(L_35)); Vector2__ctor_m1517109030(&L_35, L_33, L_34, /*hidden argument*/NULL); NullCheck(L_27); VertexHelper_AddVert_m1490065189(L_27, L_30, L_32, L_35, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_36 = ___vh0; float L_37 = (&V_0)->get_z_3(); float L_38 = (&V_0)->get_y_2(); Vector3_t3525329789 L_39; memset(&L_39, 0, sizeof(L_39)); Vector3__ctor_m1846874791(&L_39, L_37, L_38, /*hidden argument*/NULL); Color_t1588175760 L_40 = V_2; Color32_t4137084207 L_41 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_40, /*hidden argument*/NULL); float L_42 = (&V_1)->get_z_3(); float L_43 = (&V_1)->get_y_2(); Vector2_t3525329788 L_44; memset(&L_44, 0, sizeof(L_44)); Vector2__ctor_m1517109030(&L_44, L_42, L_43, /*hidden argument*/NULL); NullCheck(L_36); VertexHelper_AddVert_m1490065189(L_36, L_39, L_41, L_44, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_45 = ___vh0; NullCheck(L_45); VertexHelper_AddTriangle_m514578993(L_45, 0, 1, 2, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_46 = ___vh0; NullCheck(L_46); VertexHelper_AddTriangle_m514578993(L_46, 2, 3, 0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Image::GenerateSlicedSprite(UnityEngine.UI.VertexHelper) extern Il2CppClass* Image_t3354615620_il2cpp_TypeInfo_var; extern const uint32_t Image_GenerateSlicedSprite_m4239922765_MetadataUsageId; extern "C" void Image_GenerateSlicedSprite_m4239922765 (Image_t3354615620 * __this, VertexHelper_t1471929499 * ___toFill0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_GenerateSlicedSprite_m4239922765_MetadataUsageId); s_Il2CppMethodIntialized = true; } Vector4_t3525329790 V_0; memset(&V_0, 0, sizeof(V_0)); Vector4_t3525329790 V_1; memset(&V_1, 0, sizeof(V_1)); Vector4_t3525329790 V_2; memset(&V_2, 0, sizeof(V_2)); Vector4_t3525329790 V_3; memset(&V_3, 0, sizeof(V_3)); Rect_t1525428817 V_4; memset(&V_4, 0, sizeof(V_4)); 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; { bool L_0 = Image_get_hasBorder_m2233588589(__this, /*hidden argument*/NULL); if (L_0) { goto IL_0014; } } { VertexHelper_t1471929499 * L_1 = ___toFill0; Image_GenerateSimpleSprite_m106729008(__this, L_1, (bool)0, /*hidden argument*/NULL); return; } IL_0014: { Sprite_t4006040370 * L_2 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); bool L_3 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_2, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_3) { goto IL_005a; } } { Sprite_t4006040370 * L_4 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); Vector4_t3525329790 L_5 = DataUtility_GetOuterUV_m2974486430(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); V_0 = L_5; Sprite_t4006040370 * L_6 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); Vector4_t3525329790 L_7 = DataUtility_GetInnerUV_m860985145(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); V_1 = L_7; Sprite_t4006040370 * L_8 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); Vector4_t3525329790 L_9 = DataUtility_GetPadding_m3826542291(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); V_2 = L_9; Sprite_t4006040370 * L_10 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); NullCheck(L_10); Vector4_t3525329790 L_11 = Sprite_get_border_m1562752938(L_10, /*hidden argument*/NULL); V_3 = L_11; goto IL_0072; } IL_005a: { Vector4_t3525329790 L_12 = Vector4_get_zero_m3835647092(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_12; Vector4_t3525329790 L_13 = Vector4_get_zero_m3835647092(NULL /*static, unused*/, /*hidden argument*/NULL); V_1 = L_13; Vector4_t3525329790 L_14 = Vector4_get_zero_m3835647092(NULL /*static, unused*/, /*hidden argument*/NULL); V_2 = L_14; Vector4_t3525329790 L_15 = Vector4_get_zero_m3835647092(NULL /*static, unused*/, /*hidden argument*/NULL); V_3 = L_15; } IL_0072: { Rect_t1525428817 L_16 = Graphic_GetPixelAdjustedRect_m517144655(__this, /*hidden argument*/NULL); V_4 = L_16; Vector4_t3525329790 L_17 = V_3; float L_18 = Image_get_pixelsPerUnit_m2679127645(__this, /*hidden argument*/NULL); Vector4_t3525329790 L_19 = Vector4_op_Division_m3513381747(NULL /*static, unused*/, L_17, L_18, /*hidden argument*/NULL); Rect_t1525428817 L_20 = V_4; Vector4_t3525329790 L_21 = Image_GetAdjustedBorders_m3337288947(__this, L_19, L_20, /*hidden argument*/NULL); V_3 = L_21; Vector4_t3525329790 L_22 = V_2; float L_23 = Image_get_pixelsPerUnit_m2679127645(__this, /*hidden argument*/NULL); Vector4_t3525329790 L_24 = Vector4_op_Division_m3513381747(NULL /*static, unused*/, L_22, L_23, /*hidden argument*/NULL); V_2 = L_24; IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector2U5BU5D_t2741383957* L_25 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_VertScratch_38(); NullCheck(L_25); IL2CPP_ARRAY_BOUNDS_CHECK(L_25, 0); float L_26 = (&V_2)->get_x_1(); float L_27 = (&V_2)->get_y_2(); Vector2_t3525329788 L_28; memset(&L_28, 0, sizeof(L_28)); Vector2__ctor_m1517109030(&L_28, L_26, L_27, /*hidden argument*/NULL); (*(Vector2_t3525329788 *)((L_25)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))) = L_28; Vector2U5BU5D_t2741383957* L_29 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_VertScratch_38(); NullCheck(L_29); IL2CPP_ARRAY_BOUNDS_CHECK(L_29, 3); float L_30 = Rect_get_width_m2824209432((&V_4), /*hidden argument*/NULL); float L_31 = (&V_2)->get_z_3(); float L_32 = Rect_get_height_m2154960823((&V_4), /*hidden argument*/NULL); float L_33 = (&V_2)->get_w_4(); Vector2_t3525329788 L_34; memset(&L_34, 0, sizeof(L_34)); Vector2__ctor_m1517109030(&L_34, ((float)((float)L_30-(float)L_31)), ((float)((float)L_32-(float)L_33)), /*hidden argument*/NULL); (*(Vector2_t3525329788 *)((L_29)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))) = L_34; Vector2U5BU5D_t2741383957* L_35 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_VertScratch_38(); NullCheck(L_35); IL2CPP_ARRAY_BOUNDS_CHECK(L_35, 1); float L_36 = (&V_3)->get_x_1(); ((L_35)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_x_1(L_36); Vector2U5BU5D_t2741383957* L_37 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_VertScratch_38(); NullCheck(L_37); IL2CPP_ARRAY_BOUNDS_CHECK(L_37, 1); float L_38 = (&V_3)->get_y_2(); ((L_37)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_y_2(L_38); Vector2U5BU5D_t2741383957* L_39 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_VertScratch_38(); NullCheck(L_39); IL2CPP_ARRAY_BOUNDS_CHECK(L_39, 2); float L_40 = Rect_get_width_m2824209432((&V_4), /*hidden argument*/NULL); float L_41 = (&V_3)->get_z_3(); ((L_39)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_x_1(((float)((float)L_40-(float)L_41))); Vector2U5BU5D_t2741383957* L_42 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_VertScratch_38(); NullCheck(L_42); IL2CPP_ARRAY_BOUNDS_CHECK(L_42, 2); float L_43 = Rect_get_height_m2154960823((&V_4), /*hidden argument*/NULL); float L_44 = (&V_3)->get_w_4(); ((L_42)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_y_2(((float)((float)L_43-(float)L_44))); V_5 = 0; goto IL_01aa; } IL_0166: { IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector2U5BU5D_t2741383957* L_45 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_VertScratch_38(); int32_t L_46 = V_5; NullCheck(L_45); IL2CPP_ARRAY_BOUNDS_CHECK(L_45, L_46); Vector2_t3525329788 * L_47 = ((L_45)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_46))); float L_48 = L_47->get_x_1(); float L_49 = Rect_get_x_m982385354((&V_4), /*hidden argument*/NULL); L_47->set_x_1(((float)((float)L_48+(float)L_49))); Vector2U5BU5D_t2741383957* L_50 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_VertScratch_38(); int32_t L_51 = V_5; NullCheck(L_50); IL2CPP_ARRAY_BOUNDS_CHECK(L_50, L_51); Vector2_t3525329788 * L_52 = ((L_50)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_51))); float L_53 = L_52->get_y_2(); float L_54 = Rect_get_y_m982386315((&V_4), /*hidden argument*/NULL); L_52->set_y_2(((float)((float)L_53+(float)L_54))); int32_t L_55 = V_5; V_5 = ((int32_t)((int32_t)L_55+(int32_t)1)); } IL_01aa: { int32_t L_56 = V_5; if ((((int32_t)L_56) < ((int32_t)4))) { goto IL_0166; } } { IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector2U5BU5D_t2741383957* L_57 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_UVScratch_39(); NullCheck(L_57); IL2CPP_ARRAY_BOUNDS_CHECK(L_57, 0); float L_58 = (&V_0)->get_x_1(); float L_59 = (&V_0)->get_y_2(); Vector2_t3525329788 L_60; memset(&L_60, 0, sizeof(L_60)); Vector2__ctor_m1517109030(&L_60, L_58, L_59, /*hidden argument*/NULL); (*(Vector2_t3525329788 *)((L_57)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))) = L_60; Vector2U5BU5D_t2741383957* L_61 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_UVScratch_39(); NullCheck(L_61); IL2CPP_ARRAY_BOUNDS_CHECK(L_61, 1); float L_62 = (&V_1)->get_x_1(); float L_63 = (&V_1)->get_y_2(); Vector2_t3525329788 L_64; memset(&L_64, 0, sizeof(L_64)); Vector2__ctor_m1517109030(&L_64, L_62, L_63, /*hidden argument*/NULL); (*(Vector2_t3525329788 *)((L_61)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))) = L_64; Vector2U5BU5D_t2741383957* L_65 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_UVScratch_39(); NullCheck(L_65); IL2CPP_ARRAY_BOUNDS_CHECK(L_65, 2); float L_66 = (&V_1)->get_z_3(); float L_67 = (&V_1)->get_w_4(); Vector2_t3525329788 L_68; memset(&L_68, 0, sizeof(L_68)); Vector2__ctor_m1517109030(&L_68, L_66, L_67, /*hidden argument*/NULL); (*(Vector2_t3525329788 *)((L_65)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))) = L_68; Vector2U5BU5D_t2741383957* L_69 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_UVScratch_39(); NullCheck(L_69); IL2CPP_ARRAY_BOUNDS_CHECK(L_69, 3); float L_70 = (&V_0)->get_z_3(); float L_71 = (&V_0)->get_w_4(); Vector2_t3525329788 L_72; memset(&L_72, 0, sizeof(L_72)); Vector2__ctor_m1517109030(&L_72, L_70, L_71, /*hidden argument*/NULL); (*(Vector2_t3525329788 *)((L_69)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))) = L_72; VertexHelper_t1471929499 * L_73 = ___toFill0; NullCheck(L_73); VertexHelper_Clear_m412394180(L_73, /*hidden argument*/NULL); V_6 = 0; goto IL_0341; } IL_024c: { int32_t L_74 = V_6; V_7 = ((int32_t)((int32_t)L_74+(int32_t)1)); V_8 = 0; goto IL_0333; } IL_025a: { bool L_75 = __this->get_m_FillCenter_32(); if (L_75) { goto IL_027a; } } { int32_t L_76 = V_6; if ((!(((uint32_t)L_76) == ((uint32_t)1)))) { goto IL_027a; } } { int32_t L_77 = V_8; if ((!(((uint32_t)L_77) == ((uint32_t)1)))) { goto IL_027a; } } { goto IL_032d; } IL_027a: { int32_t L_78 = V_8; V_9 = ((int32_t)((int32_t)L_78+(int32_t)1)); VertexHelper_t1471929499 * L_79 = ___toFill0; IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector2U5BU5D_t2741383957* L_80 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_VertScratch_38(); int32_t L_81 = V_6; NullCheck(L_80); IL2CPP_ARRAY_BOUNDS_CHECK(L_80, L_81); float L_82 = ((L_80)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_81)))->get_x_1(); Vector2U5BU5D_t2741383957* L_83 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_VertScratch_38(); int32_t L_84 = V_8; NullCheck(L_83); IL2CPP_ARRAY_BOUNDS_CHECK(L_83, L_84); float L_85 = ((L_83)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_84)))->get_y_2(); Vector2_t3525329788 L_86; memset(&L_86, 0, sizeof(L_86)); Vector2__ctor_m1517109030(&L_86, L_82, L_85, /*hidden argument*/NULL); Vector2U5BU5D_t2741383957* L_87 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_VertScratch_38(); int32_t L_88 = V_7; NullCheck(L_87); IL2CPP_ARRAY_BOUNDS_CHECK(L_87, L_88); float L_89 = ((L_87)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_88)))->get_x_1(); Vector2U5BU5D_t2741383957* L_90 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_VertScratch_38(); int32_t L_91 = V_9; NullCheck(L_90); IL2CPP_ARRAY_BOUNDS_CHECK(L_90, L_91); float L_92 = ((L_90)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_91)))->get_y_2(); Vector2_t3525329788 L_93; memset(&L_93, 0, sizeof(L_93)); Vector2__ctor_m1517109030(&L_93, L_89, L_92, /*hidden argument*/NULL); Color_t1588175760 L_94 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_95 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_94, /*hidden argument*/NULL); Vector2U5BU5D_t2741383957* L_96 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_UVScratch_39(); int32_t L_97 = V_6; NullCheck(L_96); IL2CPP_ARRAY_BOUNDS_CHECK(L_96, L_97); float L_98 = ((L_96)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_97)))->get_x_1(); Vector2U5BU5D_t2741383957* L_99 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_UVScratch_39(); int32_t L_100 = V_8; NullCheck(L_99); IL2CPP_ARRAY_BOUNDS_CHECK(L_99, L_100); float L_101 = ((L_99)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_100)))->get_y_2(); Vector2_t3525329788 L_102; memset(&L_102, 0, sizeof(L_102)); Vector2__ctor_m1517109030(&L_102, L_98, L_101, /*hidden argument*/NULL); Vector2U5BU5D_t2741383957* L_103 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_UVScratch_39(); int32_t L_104 = V_7; NullCheck(L_103); IL2CPP_ARRAY_BOUNDS_CHECK(L_103, L_104); float L_105 = ((L_103)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_104)))->get_x_1(); Vector2U5BU5D_t2741383957* L_106 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_UVScratch_39(); int32_t L_107 = V_9; NullCheck(L_106); IL2CPP_ARRAY_BOUNDS_CHECK(L_106, L_107); float L_108 = ((L_106)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_107)))->get_y_2(); Vector2_t3525329788 L_109; memset(&L_109, 0, sizeof(L_109)); Vector2__ctor_m1517109030(&L_109, L_105, L_108, /*hidden argument*/NULL); Image_AddQuad_m2061170408(NULL /*static, unused*/, L_79, L_86, L_93, L_95, L_102, L_109, /*hidden argument*/NULL); } IL_032d: { int32_t L_110 = V_8; V_8 = ((int32_t)((int32_t)L_110+(int32_t)1)); } IL_0333: { int32_t L_111 = V_8; if ((((int32_t)L_111) < ((int32_t)3))) { goto IL_025a; } } { int32_t L_112 = V_6; V_6 = ((int32_t)((int32_t)L_112+(int32_t)1)); } IL_0341: { int32_t L_113 = V_6; if ((((int32_t)L_113) < ((int32_t)3))) { goto IL_024c; } } { return; } } // System.Void UnityEngine.UI.Image::GenerateTiledSprite(UnityEngine.UI.VertexHelper) extern Il2CppClass* UIVertex_t2260061605_il2cpp_TypeInfo_var; extern Il2CppClass* Image_t3354615620_il2cpp_TypeInfo_var; extern const uint32_t Image_GenerateTiledSprite_m4269137945_MetadataUsageId; extern "C" void Image_GenerateTiledSprite_m4269137945 (Image_t3354615620 * __this, VertexHelper_t1471929499 * ___toFill0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_GenerateTiledSprite_m4269137945_MetadataUsageId); s_Il2CppMethodIntialized = true; } Vector4_t3525329790 V_0; memset(&V_0, 0, sizeof(V_0)); Vector4_t3525329790 V_1; memset(&V_1, 0, sizeof(V_1)); Vector4_t3525329790 V_2; memset(&V_2, 0, sizeof(V_2)); Vector2_t3525329788 V_3; memset(&V_3, 0, sizeof(V_3)); Rect_t1525428817 V_4; memset(&V_4, 0, sizeof(V_4)); float V_5 = 0.0f; float V_6 = 0.0f; Vector2_t3525329788 V_7; memset(&V_7, 0, sizeof(V_7)); Vector2_t3525329788 V_8; memset(&V_8, 0, sizeof(V_8)); UIVertex_t2260061605 V_9; memset(&V_9, 0, sizeof(V_9)); float V_10 = 0.0f; float V_11 = 0.0f; float V_12 = 0.0f; float V_13 = 0.0f; Vector2_t3525329788 V_14; memset(&V_14, 0, sizeof(V_14)); float V_15 = 0.0f; float V_16 = 0.0f; float V_17 = 0.0f; float V_18 = 0.0f; float V_19 = 0.0f; float V_20 = 0.0f; float V_21 = 0.0f; float V_22 = 0.0f; Rect_t1525428817 V_23; memset(&V_23, 0, sizeof(V_23)); { Sprite_t4006040370 * L_0 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_004f; } } { Sprite_t4006040370 * L_2 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); Vector4_t3525329790 L_3 = DataUtility_GetOuterUV_m2974486430(NULL /*static, unused*/, L_2, /*hidden argument*/NULL); V_0 = L_3; Sprite_t4006040370 * L_4 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); Vector4_t3525329790 L_5 = DataUtility_GetInnerUV_m860985145(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); V_1 = L_5; Sprite_t4006040370 * L_6 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); NullCheck(L_6); Vector4_t3525329790 L_7 = Sprite_get_border_m1562752938(L_6, /*hidden argument*/NULL); V_2 = L_7; Sprite_t4006040370 * L_8 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); NullCheck(L_8); Rect_t1525428817 L_9 = Sprite_get_rect_m132626493(L_8, /*hidden argument*/NULL); V_23 = L_9; Vector2_t3525329788 L_10 = Rect_get_size_m136480416((&V_23), /*hidden argument*/NULL); V_3 = L_10; goto IL_0071; } IL_004f: { Vector4_t3525329790 L_11 = Vector4_get_zero_m3835647092(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_11; Vector4_t3525329790 L_12 = Vector4_get_zero_m3835647092(NULL /*static, unused*/, /*hidden argument*/NULL); V_1 = L_12; Vector4_t3525329790 L_13 = Vector4_get_zero_m3835647092(NULL /*static, unused*/, /*hidden argument*/NULL); V_2 = L_13; Vector2_t3525329788 L_14 = Vector2_get_one_m2767488832(NULL /*static, unused*/, /*hidden argument*/NULL); Vector2_t3525329788 L_15 = Vector2_op_Multiply_m1738245082(NULL /*static, unused*/, L_14, (100.0f), /*hidden argument*/NULL); V_3 = L_15; } IL_0071: { Rect_t1525428817 L_16 = Graphic_GetPixelAdjustedRect_m517144655(__this, /*hidden argument*/NULL); V_4 = L_16; float L_17 = (&V_3)->get_x_1(); float L_18 = (&V_2)->get_x_1(); float L_19 = (&V_2)->get_z_3(); float L_20 = Image_get_pixelsPerUnit_m2679127645(__this, /*hidden argument*/NULL); V_5 = ((float)((float)((float)((float)((float)((float)L_17-(float)L_18))-(float)L_19))/(float)L_20)); float L_21 = (&V_3)->get_y_2(); float L_22 = (&V_2)->get_y_2(); float L_23 = (&V_2)->get_w_4(); float L_24 = Image_get_pixelsPerUnit_m2679127645(__this, /*hidden argument*/NULL); V_6 = ((float)((float)((float)((float)((float)((float)L_21-(float)L_22))-(float)L_23))/(float)L_24)); Vector4_t3525329790 L_25 = V_2; float L_26 = Image_get_pixelsPerUnit_m2679127645(__this, /*hidden argument*/NULL); Vector4_t3525329790 L_27 = Vector4_op_Division_m3513381747(NULL /*static, unused*/, L_25, L_26, /*hidden argument*/NULL); Rect_t1525428817 L_28 = V_4; Vector4_t3525329790 L_29 = Image_GetAdjustedBorders_m3337288947(__this, L_27, L_28, /*hidden argument*/NULL); V_2 = L_29; float L_30 = (&V_1)->get_x_1(); float L_31 = (&V_1)->get_y_2(); Vector2__ctor_m1517109030((&V_7), L_30, L_31, /*hidden argument*/NULL); float L_32 = (&V_1)->get_z_3(); float L_33 = (&V_1)->get_w_4(); Vector2__ctor_m1517109030((&V_8), L_32, L_33, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(UIVertex_t2260061605_il2cpp_TypeInfo_var); UIVertex_t2260061605 L_34 = ((UIVertex_t2260061605_StaticFields*)UIVertex_t2260061605_il2cpp_TypeInfo_var->static_fields)->get_simpleVert_8(); V_9 = L_34; Color_t1588175760 L_35 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_36 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_35, /*hidden argument*/NULL); (&V_9)->set_color_2(L_36); float L_37 = (&V_2)->get_x_1(); V_10 = L_37; float L_38 = Rect_get_width_m2824209432((&V_4), /*hidden argument*/NULL); float L_39 = (&V_2)->get_z_3(); V_11 = ((float)((float)L_38-(float)L_39)); float L_40 = (&V_2)->get_y_2(); V_12 = L_40; float L_41 = Rect_get_height_m2154960823((&V_4), /*hidden argument*/NULL); float L_42 = (&V_2)->get_w_4(); V_13 = ((float)((float)L_41-(float)L_42)); VertexHelper_t1471929499 * L_43 = ___toFill0; NullCheck(L_43); VertexHelper_Clear_m412394180(L_43, /*hidden argument*/NULL); Vector2_t3525329788 L_44 = V_8; V_14 = L_44; float L_45 = V_5; if ((!(((float)L_45) == ((float)(0.0f))))) { goto IL_0162; } } { float L_46 = V_11; float L_47 = V_10; V_5 = ((float)((float)L_46-(float)L_47)); } IL_0162: { float L_48 = V_6; if ((!(((float)L_48) == ((float)(0.0f))))) { goto IL_0175; } } { float L_49 = V_13; float L_50 = V_12; V_6 = ((float)((float)L_49-(float)L_50)); } IL_0175: { bool L_51 = __this->get_m_FillCenter_32(); if (!L_51) { goto IL_027b; } } { float L_52 = V_12; V_15 = L_52; goto IL_0272; } IL_0189: { float L_53 = V_15; float L_54 = V_6; V_16 = ((float)((float)L_53+(float)L_54)); float L_55 = V_16; float L_56 = V_13; if ((!(((float)L_55) > ((float)L_56)))) { goto IL_01c7; } } { float L_57 = (&V_7)->get_y_2(); float L_58 = (&V_8)->get_y_2(); float L_59 = (&V_7)->get_y_2(); float L_60 = V_13; float L_61 = V_15; float L_62 = V_16; float L_63 = V_15; (&V_14)->set_y_2(((float)((float)L_57+(float)((float)((float)((float)((float)((float)((float)L_58-(float)L_59))*(float)((float)((float)L_60-(float)L_61))))/(float)((float)((float)L_62-(float)L_63))))))); float L_64 = V_13; V_16 = L_64; } IL_01c7: { float L_65 = (&V_8)->get_x_1(); (&V_14)->set_x_1(L_65); float L_66 = V_10; V_17 = L_66; goto IL_0262; } IL_01de: { float L_67 = V_17; float L_68 = V_5; V_18 = ((float)((float)L_67+(float)L_68)); float L_69 = V_18; float L_70 = V_11; if ((!(((float)L_69) > ((float)L_70)))) { goto IL_021c; } } { float L_71 = (&V_7)->get_x_1(); float L_72 = (&V_8)->get_x_1(); float L_73 = (&V_7)->get_x_1(); float L_74 = V_11; float L_75 = V_17; float L_76 = V_18; float L_77 = V_17; (&V_14)->set_x_1(((float)((float)L_71+(float)((float)((float)((float)((float)((float)((float)L_72-(float)L_73))*(float)((float)((float)L_74-(float)L_75))))/(float)((float)((float)L_76-(float)L_77))))))); float L_78 = V_11; V_18 = L_78; } IL_021c: { VertexHelper_t1471929499 * L_79 = ___toFill0; float L_80 = V_17; float L_81 = V_15; Vector2_t3525329788 L_82; memset(&L_82, 0, sizeof(L_82)); Vector2__ctor_m1517109030(&L_82, L_80, L_81, /*hidden argument*/NULL); Vector2_t3525329788 L_83 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_84 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_82, L_83, /*hidden argument*/NULL); float L_85 = V_18; float L_86 = V_16; Vector2_t3525329788 L_87; memset(&L_87, 0, sizeof(L_87)); Vector2__ctor_m1517109030(&L_87, L_85, L_86, /*hidden argument*/NULL); Vector2_t3525329788 L_88 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_89 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_87, L_88, /*hidden argument*/NULL); Color_t1588175760 L_90 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_91 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_90, /*hidden argument*/NULL); Vector2_t3525329788 L_92 = V_7; Vector2_t3525329788 L_93 = V_14; IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Image_AddQuad_m2061170408(NULL /*static, unused*/, L_79, L_84, L_89, L_91, L_92, L_93, /*hidden argument*/NULL); float L_94 = V_17; float L_95 = V_5; V_17 = ((float)((float)L_94+(float)L_95)); } IL_0262: { float L_96 = V_17; float L_97 = V_11; if ((((float)L_96) < ((float)L_97))) { goto IL_01de; } } { float L_98 = V_15; float L_99 = V_6; V_15 = ((float)((float)L_98+(float)L_99)); } IL_0272: { float L_100 = V_15; float L_101 = V_13; if ((((float)L_100) < ((float)L_101))) { goto IL_0189; } } IL_027b: { bool L_102 = Image_get_hasBorder_m2233588589(__this, /*hidden argument*/NULL); if (!L_102) { goto IL_0674; } } { Vector2_t3525329788 L_103 = V_8; V_14 = L_103; float L_104 = V_12; V_19 = L_104; goto IL_03a2; } IL_0293: { float L_105 = V_19; float L_106 = V_6; V_20 = ((float)((float)L_105+(float)L_106)); float L_107 = V_20; float L_108 = V_13; if ((!(((float)L_107) > ((float)L_108)))) { goto IL_02d1; } } { float L_109 = (&V_7)->get_y_2(); float L_110 = (&V_8)->get_y_2(); float L_111 = (&V_7)->get_y_2(); float L_112 = V_13; float L_113 = V_19; float L_114 = V_20; float L_115 = V_19; (&V_14)->set_y_2(((float)((float)L_109+(float)((float)((float)((float)((float)((float)((float)L_110-(float)L_111))*(float)((float)((float)L_112-(float)L_113))))/(float)((float)((float)L_114-(float)L_115))))))); float L_116 = V_13; V_20 = L_116; } IL_02d1: { VertexHelper_t1471929499 * L_117 = ___toFill0; float L_118 = V_19; Vector2_t3525329788 L_119; memset(&L_119, 0, sizeof(L_119)); Vector2__ctor_m1517109030(&L_119, (0.0f), L_118, /*hidden argument*/NULL); Vector2_t3525329788 L_120 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_121 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_119, L_120, /*hidden argument*/NULL); float L_122 = V_10; float L_123 = V_20; Vector2_t3525329788 L_124; memset(&L_124, 0, sizeof(L_124)); Vector2__ctor_m1517109030(&L_124, L_122, L_123, /*hidden argument*/NULL); Vector2_t3525329788 L_125 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_126 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_124, L_125, /*hidden argument*/NULL); Color_t1588175760 L_127 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_128 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_127, /*hidden argument*/NULL); float L_129 = (&V_0)->get_x_1(); float L_130 = (&V_7)->get_y_2(); Vector2_t3525329788 L_131; memset(&L_131, 0, sizeof(L_131)); Vector2__ctor_m1517109030(&L_131, L_129, L_130, /*hidden argument*/NULL); float L_132 = (&V_7)->get_x_1(); float L_133 = (&V_14)->get_y_2(); Vector2_t3525329788 L_134; memset(&L_134, 0, sizeof(L_134)); Vector2__ctor_m1517109030(&L_134, L_132, L_133, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Image_AddQuad_m2061170408(NULL /*static, unused*/, L_117, L_121, L_126, L_128, L_131, L_134, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_135 = ___toFill0; float L_136 = V_11; float L_137 = V_19; Vector2_t3525329788 L_138; memset(&L_138, 0, sizeof(L_138)); Vector2__ctor_m1517109030(&L_138, L_136, L_137, /*hidden argument*/NULL); Vector2_t3525329788 L_139 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_140 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_138, L_139, /*hidden argument*/NULL); float L_141 = Rect_get_width_m2824209432((&V_4), /*hidden argument*/NULL); float L_142 = V_20; Vector2_t3525329788 L_143; memset(&L_143, 0, sizeof(L_143)); Vector2__ctor_m1517109030(&L_143, L_141, L_142, /*hidden argument*/NULL); Vector2_t3525329788 L_144 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_145 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_143, L_144, /*hidden argument*/NULL); Color_t1588175760 L_146 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_147 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_146, /*hidden argument*/NULL); float L_148 = (&V_8)->get_x_1(); float L_149 = (&V_7)->get_y_2(); Vector2_t3525329788 L_150; memset(&L_150, 0, sizeof(L_150)); Vector2__ctor_m1517109030(&L_150, L_148, L_149, /*hidden argument*/NULL); float L_151 = (&V_0)->get_z_3(); float L_152 = (&V_14)->get_y_2(); Vector2_t3525329788 L_153; memset(&L_153, 0, sizeof(L_153)); Vector2__ctor_m1517109030(&L_153, L_151, L_152, /*hidden argument*/NULL); Image_AddQuad_m2061170408(NULL /*static, unused*/, L_135, L_140, L_145, L_147, L_150, L_153, /*hidden argument*/NULL); float L_154 = V_19; float L_155 = V_6; V_19 = ((float)((float)L_154+(float)L_155)); } IL_03a2: { float L_156 = V_19; float L_157 = V_13; if ((((float)L_156) < ((float)L_157))) { goto IL_0293; } } { Vector2_t3525329788 L_158 = V_8; V_14 = L_158; float L_159 = V_10; V_21 = L_159; goto IL_04c7; } IL_03b8: { float L_160 = V_21; float L_161 = V_5; V_22 = ((float)((float)L_160+(float)L_161)); float L_162 = V_22; float L_163 = V_11; if ((!(((float)L_162) > ((float)L_163)))) { goto IL_03f6; } } { float L_164 = (&V_7)->get_x_1(); float L_165 = (&V_8)->get_x_1(); float L_166 = (&V_7)->get_x_1(); float L_167 = V_11; float L_168 = V_21; float L_169 = V_22; float L_170 = V_21; (&V_14)->set_x_1(((float)((float)L_164+(float)((float)((float)((float)((float)((float)((float)L_165-(float)L_166))*(float)((float)((float)L_167-(float)L_168))))/(float)((float)((float)L_169-(float)L_170))))))); float L_171 = V_11; V_22 = L_171; } IL_03f6: { VertexHelper_t1471929499 * L_172 = ___toFill0; float L_173 = V_21; Vector2_t3525329788 L_174; memset(&L_174, 0, sizeof(L_174)); Vector2__ctor_m1517109030(&L_174, L_173, (0.0f), /*hidden argument*/NULL); Vector2_t3525329788 L_175 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_176 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_174, L_175, /*hidden argument*/NULL); float L_177 = V_22; float L_178 = V_12; Vector2_t3525329788 L_179; memset(&L_179, 0, sizeof(L_179)); Vector2__ctor_m1517109030(&L_179, L_177, L_178, /*hidden argument*/NULL); Vector2_t3525329788 L_180 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_181 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_179, L_180, /*hidden argument*/NULL); Color_t1588175760 L_182 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_183 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_182, /*hidden argument*/NULL); float L_184 = (&V_7)->get_x_1(); float L_185 = (&V_0)->get_y_2(); Vector2_t3525329788 L_186; memset(&L_186, 0, sizeof(L_186)); Vector2__ctor_m1517109030(&L_186, L_184, L_185, /*hidden argument*/NULL); float L_187 = (&V_14)->get_x_1(); float L_188 = (&V_7)->get_y_2(); Vector2_t3525329788 L_189; memset(&L_189, 0, sizeof(L_189)); Vector2__ctor_m1517109030(&L_189, L_187, L_188, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Image_AddQuad_m2061170408(NULL /*static, unused*/, L_172, L_176, L_181, L_183, L_186, L_189, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_190 = ___toFill0; float L_191 = V_21; float L_192 = V_13; Vector2_t3525329788 L_193; memset(&L_193, 0, sizeof(L_193)); Vector2__ctor_m1517109030(&L_193, L_191, L_192, /*hidden argument*/NULL); Vector2_t3525329788 L_194 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_195 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_193, L_194, /*hidden argument*/NULL); float L_196 = V_22; float L_197 = Rect_get_height_m2154960823((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_198; memset(&L_198, 0, sizeof(L_198)); Vector2__ctor_m1517109030(&L_198, L_196, L_197, /*hidden argument*/NULL); Vector2_t3525329788 L_199 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_200 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_198, L_199, /*hidden argument*/NULL); Color_t1588175760 L_201 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_202 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_201, /*hidden argument*/NULL); float L_203 = (&V_7)->get_x_1(); float L_204 = (&V_8)->get_y_2(); Vector2_t3525329788 L_205; memset(&L_205, 0, sizeof(L_205)); Vector2__ctor_m1517109030(&L_205, L_203, L_204, /*hidden argument*/NULL); float L_206 = (&V_14)->get_x_1(); float L_207 = (&V_0)->get_w_4(); Vector2_t3525329788 L_208; memset(&L_208, 0, sizeof(L_208)); Vector2__ctor_m1517109030(&L_208, L_206, L_207, /*hidden argument*/NULL); Image_AddQuad_m2061170408(NULL /*static, unused*/, L_190, L_195, L_200, L_202, L_205, L_208, /*hidden argument*/NULL); float L_209 = V_21; float L_210 = V_5; V_21 = ((float)((float)L_209+(float)L_210)); } IL_04c7: { float L_211 = V_21; float L_212 = V_11; if ((((float)L_211) < ((float)L_212))) { goto IL_03b8; } } { VertexHelper_t1471929499 * L_213 = ___toFill0; Vector2_t3525329788 L_214; memset(&L_214, 0, sizeof(L_214)); Vector2__ctor_m1517109030(&L_214, (0.0f), (0.0f), /*hidden argument*/NULL); Vector2_t3525329788 L_215 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_216 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_214, L_215, /*hidden argument*/NULL); float L_217 = V_10; float L_218 = V_12; Vector2_t3525329788 L_219; memset(&L_219, 0, sizeof(L_219)); Vector2__ctor_m1517109030(&L_219, L_217, L_218, /*hidden argument*/NULL); Vector2_t3525329788 L_220 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_221 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_219, L_220, /*hidden argument*/NULL); Color_t1588175760 L_222 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_223 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_222, /*hidden argument*/NULL); float L_224 = (&V_0)->get_x_1(); float L_225 = (&V_0)->get_y_2(); Vector2_t3525329788 L_226; memset(&L_226, 0, sizeof(L_226)); Vector2__ctor_m1517109030(&L_226, L_224, L_225, /*hidden argument*/NULL); float L_227 = (&V_7)->get_x_1(); float L_228 = (&V_7)->get_y_2(); Vector2_t3525329788 L_229; memset(&L_229, 0, sizeof(L_229)); Vector2__ctor_m1517109030(&L_229, L_227, L_228, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Image_AddQuad_m2061170408(NULL /*static, unused*/, L_213, L_216, L_221, L_223, L_226, L_229, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_230 = ___toFill0; float L_231 = V_11; Vector2_t3525329788 L_232; memset(&L_232, 0, sizeof(L_232)); Vector2__ctor_m1517109030(&L_232, L_231, (0.0f), /*hidden argument*/NULL); Vector2_t3525329788 L_233 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_234 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_232, L_233, /*hidden argument*/NULL); float L_235 = Rect_get_width_m2824209432((&V_4), /*hidden argument*/NULL); float L_236 = V_12; Vector2_t3525329788 L_237; memset(&L_237, 0, sizeof(L_237)); Vector2__ctor_m1517109030(&L_237, L_235, L_236, /*hidden argument*/NULL); Vector2_t3525329788 L_238 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_239 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_237, L_238, /*hidden argument*/NULL); Color_t1588175760 L_240 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_241 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_240, /*hidden argument*/NULL); float L_242 = (&V_8)->get_x_1(); float L_243 = (&V_0)->get_y_2(); Vector2_t3525329788 L_244; memset(&L_244, 0, sizeof(L_244)); Vector2__ctor_m1517109030(&L_244, L_242, L_243, /*hidden argument*/NULL); float L_245 = (&V_0)->get_z_3(); float L_246 = (&V_7)->get_y_2(); Vector2_t3525329788 L_247; memset(&L_247, 0, sizeof(L_247)); Vector2__ctor_m1517109030(&L_247, L_245, L_246, /*hidden argument*/NULL); Image_AddQuad_m2061170408(NULL /*static, unused*/, L_230, L_234, L_239, L_241, L_244, L_247, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_248 = ___toFill0; float L_249 = V_13; Vector2_t3525329788 L_250; memset(&L_250, 0, sizeof(L_250)); Vector2__ctor_m1517109030(&L_250, (0.0f), L_249, /*hidden argument*/NULL); Vector2_t3525329788 L_251 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_252 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_250, L_251, /*hidden argument*/NULL); float L_253 = V_10; float L_254 = Rect_get_height_m2154960823((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_255; memset(&L_255, 0, sizeof(L_255)); Vector2__ctor_m1517109030(&L_255, L_253, L_254, /*hidden argument*/NULL); Vector2_t3525329788 L_256 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_257 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_255, L_256, /*hidden argument*/NULL); Color_t1588175760 L_258 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_259 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_258, /*hidden argument*/NULL); float L_260 = (&V_0)->get_x_1(); float L_261 = (&V_8)->get_y_2(); Vector2_t3525329788 L_262; memset(&L_262, 0, sizeof(L_262)); Vector2__ctor_m1517109030(&L_262, L_260, L_261, /*hidden argument*/NULL); float L_263 = (&V_7)->get_x_1(); float L_264 = (&V_0)->get_w_4(); Vector2_t3525329788 L_265; memset(&L_265, 0, sizeof(L_265)); Vector2__ctor_m1517109030(&L_265, L_263, L_264, /*hidden argument*/NULL); Image_AddQuad_m2061170408(NULL /*static, unused*/, L_248, L_252, L_257, L_259, L_262, L_265, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_266 = ___toFill0; float L_267 = V_11; float L_268 = V_13; Vector2_t3525329788 L_269; memset(&L_269, 0, sizeof(L_269)); Vector2__ctor_m1517109030(&L_269, L_267, L_268, /*hidden argument*/NULL); Vector2_t3525329788 L_270 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_271 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_269, L_270, /*hidden argument*/NULL); float L_272 = Rect_get_width_m2824209432((&V_4), /*hidden argument*/NULL); float L_273 = Rect_get_height_m2154960823((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_274; memset(&L_274, 0, sizeof(L_274)); Vector2__ctor_m1517109030(&L_274, L_272, L_273, /*hidden argument*/NULL); Vector2_t3525329788 L_275 = Rect_get_position_m2933356232((&V_4), /*hidden argument*/NULL); Vector2_t3525329788 L_276 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_274, L_275, /*hidden argument*/NULL); Color_t1588175760 L_277 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_278 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_277, /*hidden argument*/NULL); float L_279 = (&V_8)->get_x_1(); float L_280 = (&V_8)->get_y_2(); Vector2_t3525329788 L_281; memset(&L_281, 0, sizeof(L_281)); Vector2__ctor_m1517109030(&L_281, L_279, L_280, /*hidden argument*/NULL); float L_282 = (&V_0)->get_z_3(); float L_283 = (&V_0)->get_w_4(); Vector2_t3525329788 L_284; memset(&L_284, 0, sizeof(L_284)); Vector2__ctor_m1517109030(&L_284, L_282, L_283, /*hidden argument*/NULL); Image_AddQuad_m2061170408(NULL /*static, unused*/, L_266, L_271, L_276, L_278, L_281, L_284, /*hidden argument*/NULL); } IL_0674: { return; } } // System.Void UnityEngine.UI.Image::AddQuad(UnityEngine.UI.VertexHelper,UnityEngine.Vector3[],UnityEngine.Color32,UnityEngine.Vector3[]) extern "C" void Image_AddQuad_m3277178 (Il2CppObject * __this /* static, unused */, VertexHelper_t1471929499 * ___vertexHelper0, Vector3U5BU5D_t3227571696* ___quadPositions1, Color32_t4137084207 ___color2, Vector3U5BU5D_t3227571696* ___quadUVs3, const MethodInfo* method) { int32_t V_0 = 0; int32_t V_1 = 0; { VertexHelper_t1471929499 * L_0 = ___vertexHelper0; NullCheck(L_0); int32_t L_1 = VertexHelper_get_currentVertCount_m3425330353(L_0, /*hidden argument*/NULL); V_0 = L_1; V_1 = 0; goto IL_0036; } IL_000e: { VertexHelper_t1471929499 * L_2 = ___vertexHelper0; Vector3U5BU5D_t3227571696* L_3 = ___quadPositions1; int32_t L_4 = V_1; NullCheck(L_3); IL2CPP_ARRAY_BOUNDS_CHECK(L_3, L_4); Color32_t4137084207 L_5 = ___color2; Vector3U5BU5D_t3227571696* L_6 = ___quadUVs3; int32_t L_7 = V_1; NullCheck(L_6); IL2CPP_ARRAY_BOUNDS_CHECK(L_6, L_7); Vector2_t3525329788 L_8 = Vector2_op_Implicit_m4083860659(NULL /*static, unused*/, (*(Vector3_t3525329789 *)((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)))), /*hidden argument*/NULL); NullCheck(L_2); VertexHelper_AddVert_m1490065189(L_2, (*(Vector3_t3525329789 *)((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))), L_5, L_8, /*hidden argument*/NULL); int32_t L_9 = V_1; V_1 = ((int32_t)((int32_t)L_9+(int32_t)1)); } IL_0036: { int32_t L_10 = V_1; if ((((int32_t)L_10) < ((int32_t)4))) { goto IL_000e; } } { VertexHelper_t1471929499 * L_11 = ___vertexHelper0; int32_t L_12 = V_0; int32_t L_13 = V_0; int32_t L_14 = V_0; NullCheck(L_11); VertexHelper_AddTriangle_m514578993(L_11, L_12, ((int32_t)((int32_t)L_13+(int32_t)1)), ((int32_t)((int32_t)L_14+(int32_t)2)), /*hidden argument*/NULL); VertexHelper_t1471929499 * L_15 = ___vertexHelper0; int32_t L_16 = V_0; int32_t L_17 = V_0; int32_t L_18 = V_0; NullCheck(L_15); VertexHelper_AddTriangle_m514578993(L_15, ((int32_t)((int32_t)L_16+(int32_t)2)), ((int32_t)((int32_t)L_17+(int32_t)3)), L_18, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Image::AddQuad(UnityEngine.UI.VertexHelper,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Color32,UnityEngine.Vector2,UnityEngine.Vector2) extern "C" void Image_AddQuad_m2061170408 (Il2CppObject * __this /* static, unused */, VertexHelper_t1471929499 * ___vertexHelper0, Vector2_t3525329788 ___posMin1, Vector2_t3525329788 ___posMax2, Color32_t4137084207 ___color3, Vector2_t3525329788 ___uvMin4, Vector2_t3525329788 ___uvMax5, const MethodInfo* method) { int32_t V_0 = 0; { VertexHelper_t1471929499 * L_0 = ___vertexHelper0; NullCheck(L_0); int32_t L_1 = VertexHelper_get_currentVertCount_m3425330353(L_0, /*hidden argument*/NULL); V_0 = L_1; VertexHelper_t1471929499 * L_2 = ___vertexHelper0; float L_3 = (&___posMin1)->get_x_1(); float L_4 = (&___posMin1)->get_y_2(); Vector3_t3525329789 L_5; memset(&L_5, 0, sizeof(L_5)); Vector3__ctor_m2926210380(&L_5, L_3, L_4, (0.0f), /*hidden argument*/NULL); Color32_t4137084207 L_6 = ___color3; float L_7 = (&___uvMin4)->get_x_1(); float L_8 = (&___uvMin4)->get_y_2(); Vector2_t3525329788 L_9; memset(&L_9, 0, sizeof(L_9)); Vector2__ctor_m1517109030(&L_9, L_7, L_8, /*hidden argument*/NULL); NullCheck(L_2); VertexHelper_AddVert_m1490065189(L_2, L_5, L_6, L_9, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_10 = ___vertexHelper0; float L_11 = (&___posMin1)->get_x_1(); float L_12 = (&___posMax2)->get_y_2(); Vector3_t3525329789 L_13; memset(&L_13, 0, sizeof(L_13)); Vector3__ctor_m2926210380(&L_13, L_11, L_12, (0.0f), /*hidden argument*/NULL); Color32_t4137084207 L_14 = ___color3; float L_15 = (&___uvMin4)->get_x_1(); float L_16 = (&___uvMax5)->get_y_2(); Vector2_t3525329788 L_17; memset(&L_17, 0, sizeof(L_17)); Vector2__ctor_m1517109030(&L_17, L_15, L_16, /*hidden argument*/NULL); NullCheck(L_10); VertexHelper_AddVert_m1490065189(L_10, L_13, L_14, L_17, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_18 = ___vertexHelper0; float L_19 = (&___posMax2)->get_x_1(); float L_20 = (&___posMax2)->get_y_2(); Vector3_t3525329789 L_21; memset(&L_21, 0, sizeof(L_21)); Vector3__ctor_m2926210380(&L_21, L_19, L_20, (0.0f), /*hidden argument*/NULL); Color32_t4137084207 L_22 = ___color3; float L_23 = (&___uvMax5)->get_x_1(); float L_24 = (&___uvMax5)->get_y_2(); Vector2_t3525329788 L_25; memset(&L_25, 0, sizeof(L_25)); Vector2__ctor_m1517109030(&L_25, L_23, L_24, /*hidden argument*/NULL); NullCheck(L_18); VertexHelper_AddVert_m1490065189(L_18, L_21, L_22, L_25, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_26 = ___vertexHelper0; float L_27 = (&___posMax2)->get_x_1(); float L_28 = (&___posMin1)->get_y_2(); Vector3_t3525329789 L_29; memset(&L_29, 0, sizeof(L_29)); Vector3__ctor_m2926210380(&L_29, L_27, L_28, (0.0f), /*hidden argument*/NULL); Color32_t4137084207 L_30 = ___color3; float L_31 = (&___uvMax5)->get_x_1(); float L_32 = (&___uvMin4)->get_y_2(); Vector2_t3525329788 L_33; memset(&L_33, 0, sizeof(L_33)); Vector2__ctor_m1517109030(&L_33, L_31, L_32, /*hidden argument*/NULL); NullCheck(L_26); VertexHelper_AddVert_m1490065189(L_26, L_29, L_30, L_33, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_34 = ___vertexHelper0; int32_t L_35 = V_0; int32_t L_36 = V_0; int32_t L_37 = V_0; NullCheck(L_34); VertexHelper_AddTriangle_m514578993(L_34, L_35, ((int32_t)((int32_t)L_36+(int32_t)1)), ((int32_t)((int32_t)L_37+(int32_t)2)), /*hidden argument*/NULL); VertexHelper_t1471929499 * L_38 = ___vertexHelper0; int32_t L_39 = V_0; int32_t L_40 = V_0; int32_t L_41 = V_0; NullCheck(L_38); VertexHelper_AddTriangle_m514578993(L_38, ((int32_t)((int32_t)L_39+(int32_t)2)), ((int32_t)((int32_t)L_40+(int32_t)3)), L_41, /*hidden argument*/NULL); return; } } // UnityEngine.Vector4 UnityEngine.UI.Image::GetAdjustedBorders(UnityEngine.Vector4,UnityEngine.Rect) extern "C" Vector4_t3525329790 Image_GetAdjustedBorders_m3337288947 (Image_t3354615620 * __this, Vector4_t3525329790 ___border0, Rect_t1525428817 ___rect1, const MethodInfo* method) { int32_t V_0 = 0; float V_1 = 0.0f; float V_2 = 0.0f; Vector2_t3525329788 V_3; memset(&V_3, 0, sizeof(V_3)); Vector2_t3525329788 V_4; memset(&V_4, 0, sizeof(V_4)); Vector4_t3525329790 * V_5 = NULL; int32_t V_6 = 0; float V_7 = 0.0f; Vector4_t3525329790 * V_8 = NULL; { V_0 = 0; goto IL_0090; } IL_0007: { int32_t L_0 = V_0; float L_1 = Vector4_get_Item_m2326091453((&___border0), L_0, /*hidden argument*/NULL); int32_t L_2 = V_0; float L_3 = Vector4_get_Item_m2326091453((&___border0), ((int32_t)((int32_t)L_2+(int32_t)2)), /*hidden argument*/NULL); V_1 = ((float)((float)L_1+(float)L_3)); Vector2_t3525329788 L_4 = Rect_get_size_m136480416((&___rect1), /*hidden argument*/NULL); V_3 = L_4; int32_t L_5 = V_0; float L_6 = Vector2_get_Item_m2185542843((&V_3), L_5, /*hidden argument*/NULL); float L_7 = V_1; if ((!(((float)L_6) < ((float)L_7)))) { goto IL_008c; } } { float L_8 = V_1; if ((((float)L_8) == ((float)(0.0f)))) { goto IL_008c; } } { Vector2_t3525329788 L_9 = Rect_get_size_m136480416((&___rect1), /*hidden argument*/NULL); V_4 = L_9; int32_t L_10 = V_0; float L_11 = Vector2_get_Item_m2185542843((&V_4), L_10, /*hidden argument*/NULL); float L_12 = V_1; V_2 = ((float)((float)L_11/(float)L_12)); Vector4_t3525329790 * L_13 = (&___border0); V_5 = (Vector4_t3525329790 *)L_13; int32_t L_14 = V_0; int32_t L_15 = L_14; V_6 = L_15; Vector4_t3525329790 * L_16 = V_5; int32_t L_17 = V_6; float L_18 = Vector4_get_Item_m2326091453(L_16, L_17, /*hidden argument*/NULL); V_7 = L_18; float L_19 = V_7; float L_20 = V_2; Vector4_set_Item_m922152162(L_13, L_15, ((float)((float)L_19*(float)L_20)), /*hidden argument*/NULL); Vector4_t3525329790 * L_21 = (&___border0); V_8 = (Vector4_t3525329790 *)L_21; int32_t L_22 = V_0; int32_t L_23 = ((int32_t)((int32_t)L_22+(int32_t)2)); V_6 = L_23; Vector4_t3525329790 * L_24 = V_8; int32_t L_25 = V_6; float L_26 = Vector4_get_Item_m2326091453(L_24, L_25, /*hidden argument*/NULL); V_7 = L_26; float L_27 = V_7; float L_28 = V_2; Vector4_set_Item_m922152162(L_21, L_23, ((float)((float)L_27*(float)L_28)), /*hidden argument*/NULL); } IL_008c: { int32_t L_29 = V_0; V_0 = ((int32_t)((int32_t)L_29+(int32_t)1)); } IL_0090: { int32_t L_30 = V_0; if ((((int32_t)L_30) <= ((int32_t)1))) { goto IL_0007; } } { Vector4_t3525329790 L_31 = ___border0; return L_31; } } // System.Void UnityEngine.UI.Image::GenerateFilledSprite(UnityEngine.UI.VertexHelper,System.Boolean) extern Il2CppClass* UIVertex_t2260061605_il2cpp_TypeInfo_var; extern Il2CppClass* Image_t3354615620_il2cpp_TypeInfo_var; extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t Image_GenerateFilledSprite_m589086176_MetadataUsageId; extern "C" void Image_GenerateFilledSprite_m589086176 (Image_t3354615620 * __this, VertexHelper_t1471929499 * ___toFill0, bool ___preserveAspect1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_GenerateFilledSprite_m589086176_MetadataUsageId); s_Il2CppMethodIntialized = true; } Vector4_t3525329790 V_0; memset(&V_0, 0, sizeof(V_0)); Vector4_t3525329790 V_1; memset(&V_1, 0, sizeof(V_1)); UIVertex_t2260061605 V_2; memset(&V_2, 0, sizeof(V_2)); float V_3 = 0.0f; float V_4 = 0.0f; float V_5 = 0.0f; float V_6 = 0.0f; float V_7 = 0.0f; float V_8 = 0.0f; int32_t V_9 = 0; float V_10 = 0.0f; float V_11 = 0.0f; float V_12 = 0.0f; float V_13 = 0.0f; int32_t V_14 = 0; float V_15 = 0.0f; int32_t V_16 = 0; float V_17 = 0.0f; float V_18 = 0.0f; float V_19 = 0.0f; float V_20 = 0.0f; float V_21 = 0.0f; Vector4_t3525329790 G_B5_0; memset(&G_B5_0, 0, sizeof(G_B5_0)); int32_t G_B28_0 = 0; float G_B40_0 = 0.0f; float G_B57_0 = 0.0f; { VertexHelper_t1471929499 * L_0 = ___toFill0; NullCheck(L_0); VertexHelper_Clear_m412394180(L_0, /*hidden argument*/NULL); float L_1 = __this->get_m_FillAmount_34(); if ((!(((float)L_1) < ((float)(0.001f))))) { goto IL_0017; } } { return; } IL_0017: { bool L_2 = ___preserveAspect1; Vector4_t3525329790 L_3 = Image_GetDrawingDimensions_m755640489(__this, L_2, /*hidden argument*/NULL); V_0 = L_3; Sprite_t4006040370 * L_4 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); bool L_5 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_4, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_5) { goto IL_0040; } } { Sprite_t4006040370 * L_6 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); Vector4_t3525329790 L_7 = DataUtility_GetOuterUV_m2974486430(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); G_B5_0 = L_7; goto IL_0045; } IL_0040: { Vector4_t3525329790 L_8 = Vector4_get_zero_m3835647092(NULL /*static, unused*/, /*hidden argument*/NULL); G_B5_0 = L_8; } IL_0045: { V_1 = G_B5_0; IL2CPP_RUNTIME_CLASS_INIT(UIVertex_t2260061605_il2cpp_TypeInfo_var); UIVertex_t2260061605 L_9 = ((UIVertex_t2260061605_StaticFields*)UIVertex_t2260061605_il2cpp_TypeInfo_var->static_fields)->get_simpleVert_8(); V_2 = L_9; Color_t1588175760 L_10 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_11 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_10, /*hidden argument*/NULL); (&V_2)->set_color_2(L_11); float L_12 = (&V_1)->get_x_1(); V_3 = L_12; float L_13 = (&V_1)->get_y_2(); V_4 = L_13; float L_14 = (&V_1)->get_z_3(); V_5 = L_14; float L_15 = (&V_1)->get_w_4(); V_6 = L_15; int32_t L_16 = __this->get_m_FillMethod_33(); if (!L_16) { goto IL_0098; } } { int32_t L_17 = __this->get_m_FillMethod_33(); if ((!(((uint32_t)L_17) == ((uint32_t)1)))) { goto IL_019f; } } IL_0098: { int32_t L_18 = Image_get_fillMethod_m2526834505(__this, /*hidden argument*/NULL); if (L_18) { goto IL_011c; } } { float L_19 = V_5; float L_20 = V_3; float L_21 = __this->get_m_FillAmount_34(); V_7 = ((float)((float)((float)((float)L_19-(float)L_20))*(float)L_21)); int32_t L_22 = __this->get_m_FillOrigin_36(); if ((!(((uint32_t)L_22) == ((uint32_t)1)))) { goto IL_00ec; } } { float L_23 = (&V_0)->get_z_3(); float L_24 = (&V_0)->get_z_3(); float L_25 = (&V_0)->get_x_1(); float L_26 = __this->get_m_FillAmount_34(); (&V_0)->set_x_1(((float)((float)L_23-(float)((float)((float)((float)((float)L_24-(float)L_25))*(float)L_26))))); float L_27 = V_5; float L_28 = V_7; V_3 = ((float)((float)L_27-(float)L_28)); goto IL_0117; } IL_00ec: { float L_29 = (&V_0)->get_x_1(); float L_30 = (&V_0)->get_z_3(); float L_31 = (&V_0)->get_x_1(); float L_32 = __this->get_m_FillAmount_34(); (&V_0)->set_z_3(((float)((float)L_29+(float)((float)((float)((float)((float)L_30-(float)L_31))*(float)L_32))))); float L_33 = V_3; float L_34 = V_7; V_5 = ((float)((float)L_33+(float)L_34)); } IL_0117: { goto IL_019f; } IL_011c: { int32_t L_35 = Image_get_fillMethod_m2526834505(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_35) == ((uint32_t)1)))) { goto IL_019f; } } { float L_36 = V_6; float L_37 = V_4; float L_38 = __this->get_m_FillAmount_34(); V_8 = ((float)((float)((float)((float)L_36-(float)L_37))*(float)L_38)); int32_t L_39 = __this->get_m_FillOrigin_36(); if ((!(((uint32_t)L_39) == ((uint32_t)1)))) { goto IL_0173; } } { float L_40 = (&V_0)->get_w_4(); float L_41 = (&V_0)->get_w_4(); float L_42 = (&V_0)->get_y_2(); float L_43 = __this->get_m_FillAmount_34(); (&V_0)->set_y_2(((float)((float)L_40-(float)((float)((float)((float)((float)L_41-(float)L_42))*(float)L_43))))); float L_44 = V_6; float L_45 = V_8; V_4 = ((float)((float)L_44-(float)L_45)); goto IL_019f; } IL_0173: { float L_46 = (&V_0)->get_y_2(); float L_47 = (&V_0)->get_w_4(); float L_48 = (&V_0)->get_y_2(); float L_49 = __this->get_m_FillAmount_34(); (&V_0)->set_w_4(((float)((float)L_46+(float)((float)((float)((float)((float)L_47-(float)L_48))*(float)L_49))))); float L_50 = V_4; float L_51 = V_8; V_6 = ((float)((float)L_50+(float)L_51)); } IL_019f: { IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector3U5BU5D_t3227571696* L_52 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_52); IL2CPP_ARRAY_BOUNDS_CHECK(L_52, 0); float L_53 = (&V_0)->get_x_1(); float L_54 = (&V_0)->get_y_2(); Vector2_t3525329788 L_55; memset(&L_55, 0, sizeof(L_55)); Vector2__ctor_m1517109030(&L_55, L_53, L_54, /*hidden argument*/NULL); Vector3_t3525329789 L_56 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_55, /*hidden argument*/NULL); (*(Vector3_t3525329789 *)((L_52)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))) = L_56; Vector3U5BU5D_t3227571696* L_57 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_57); IL2CPP_ARRAY_BOUNDS_CHECK(L_57, 1); float L_58 = (&V_0)->get_x_1(); float L_59 = (&V_0)->get_w_4(); Vector2_t3525329788 L_60; memset(&L_60, 0, sizeof(L_60)); Vector2__ctor_m1517109030(&L_60, L_58, L_59, /*hidden argument*/NULL); Vector3_t3525329789 L_61 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_60, /*hidden argument*/NULL); (*(Vector3_t3525329789 *)((L_57)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))) = L_61; Vector3U5BU5D_t3227571696* L_62 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_62); IL2CPP_ARRAY_BOUNDS_CHECK(L_62, 2); float L_63 = (&V_0)->get_z_3(); float L_64 = (&V_0)->get_w_4(); Vector2_t3525329788 L_65; memset(&L_65, 0, sizeof(L_65)); Vector2__ctor_m1517109030(&L_65, L_63, L_64, /*hidden argument*/NULL); Vector3_t3525329789 L_66 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_65, /*hidden argument*/NULL); (*(Vector3_t3525329789 *)((L_62)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))) = L_66; Vector3U5BU5D_t3227571696* L_67 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_67); IL2CPP_ARRAY_BOUNDS_CHECK(L_67, 3); float L_68 = (&V_0)->get_z_3(); float L_69 = (&V_0)->get_y_2(); Vector2_t3525329788 L_70; memset(&L_70, 0, sizeof(L_70)); Vector2__ctor_m1517109030(&L_70, L_68, L_69, /*hidden argument*/NULL); Vector3_t3525329789 L_71 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_70, /*hidden argument*/NULL); (*(Vector3_t3525329789 *)((L_67)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))) = L_71; Vector3U5BU5D_t3227571696* L_72 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_72); IL2CPP_ARRAY_BOUNDS_CHECK(L_72, 0); float L_73 = V_3; float L_74 = V_4; Vector2_t3525329788 L_75; memset(&L_75, 0, sizeof(L_75)); Vector2__ctor_m1517109030(&L_75, L_73, L_74, /*hidden argument*/NULL); Vector3_t3525329789 L_76 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_75, /*hidden argument*/NULL); (*(Vector3_t3525329789 *)((L_72)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))) = L_76; Vector3U5BU5D_t3227571696* L_77 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_77); IL2CPP_ARRAY_BOUNDS_CHECK(L_77, 1); float L_78 = V_3; float L_79 = V_6; Vector2_t3525329788 L_80; memset(&L_80, 0, sizeof(L_80)); Vector2__ctor_m1517109030(&L_80, L_78, L_79, /*hidden argument*/NULL); Vector3_t3525329789 L_81 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_80, /*hidden argument*/NULL); (*(Vector3_t3525329789 *)((L_77)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))) = L_81; Vector3U5BU5D_t3227571696* L_82 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_82); IL2CPP_ARRAY_BOUNDS_CHECK(L_82, 2); float L_83 = V_5; float L_84 = V_6; Vector2_t3525329788 L_85; memset(&L_85, 0, sizeof(L_85)); Vector2__ctor_m1517109030(&L_85, L_83, L_84, /*hidden argument*/NULL); Vector3_t3525329789 L_86 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_85, /*hidden argument*/NULL); (*(Vector3_t3525329789 *)((L_82)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))) = L_86; Vector3U5BU5D_t3227571696* L_87 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_87); IL2CPP_ARRAY_BOUNDS_CHECK(L_87, 3); float L_88 = V_5; float L_89 = V_4; Vector2_t3525329788 L_90; memset(&L_90, 0, sizeof(L_90)); Vector2__ctor_m1517109030(&L_90, L_88, L_89, /*hidden argument*/NULL); Vector3_t3525329789 L_91 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_90, /*hidden argument*/NULL); (*(Vector3_t3525329789 *)((L_87)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))) = L_91; float L_92 = __this->get_m_FillAmount_34(); if ((!(((float)L_92) < ((float)(1.0f))))) { goto IL_0977; } } { int32_t L_93 = __this->get_m_FillMethod_33(); if (!L_93) { goto IL_0977; } } { int32_t L_94 = __this->get_m_FillMethod_33(); if ((((int32_t)L_94) == ((int32_t)1))) { goto IL_0977; } } { int32_t L_95 = Image_get_fillMethod_m2526834505(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_95) == ((uint32_t)2)))) { goto IL_032e; } } { IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector3U5BU5D_t3227571696* L_96 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); Vector3U5BU5D_t3227571696* L_97 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); float L_98 = __this->get_m_FillAmount_34(); bool L_99 = __this->get_m_FillClockwise_35(); int32_t L_100 = __this->get_m_FillOrigin_36(); bool L_101 = Image_RadialCut_m2286713844(NULL /*static, unused*/, L_96, L_97, L_98, L_99, L_100, /*hidden argument*/NULL); if (!L_101) { goto IL_0329; } } { VertexHelper_t1471929499 * L_102 = ___toFill0; IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector3U5BU5D_t3227571696* L_103 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); Color_t1588175760 L_104 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_105 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_104, /*hidden argument*/NULL); Vector3U5BU5D_t3227571696* L_106 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); Image_AddQuad_m3277178(NULL /*static, unused*/, L_102, L_103, L_105, L_106, /*hidden argument*/NULL); } IL_0329: { goto IL_0972; } IL_032e: { int32_t L_107 = Image_get_fillMethod_m2526834505(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_107) == ((uint32_t)3)))) { goto IL_0671; } } { V_9 = 0; goto IL_0664; } IL_0342: { int32_t L_108 = __this->get_m_FillOrigin_36(); if ((((int32_t)L_108) <= ((int32_t)1))) { goto IL_0354; } } { G_B28_0 = 1; goto IL_0355; } IL_0354: { G_B28_0 = 0; } IL_0355: { V_14 = G_B28_0; int32_t L_109 = __this->get_m_FillOrigin_36(); if (!L_109) { goto IL_036e; } } { int32_t L_110 = __this->get_m_FillOrigin_36(); if ((!(((uint32_t)L_110) == ((uint32_t)2)))) { goto IL_03ab; } } IL_036e: { V_12 = (0.0f); V_13 = (1.0f); int32_t L_111 = V_9; int32_t L_112 = V_14; if ((!(((uint32_t)L_111) == ((uint32_t)L_112)))) { goto IL_0398; } } { V_10 = (0.0f); V_11 = (0.5f); goto IL_03a6; } IL_0398: { V_10 = (0.5f); V_11 = (1.0f); } IL_03a6: { goto IL_03e3; } IL_03ab: { V_10 = (0.0f); V_11 = (1.0f); int32_t L_113 = V_9; int32_t L_114 = V_14; if ((!(((uint32_t)L_113) == ((uint32_t)L_114)))) { goto IL_03d5; } } { V_12 = (0.5f); V_13 = (1.0f); goto IL_03e3; } IL_03d5: { V_12 = (0.0f); V_13 = (0.5f); } IL_03e3: { IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector3U5BU5D_t3227571696* L_115 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_115); IL2CPP_ARRAY_BOUNDS_CHECK(L_115, 0); float L_116 = (&V_0)->get_x_1(); float L_117 = (&V_0)->get_z_3(); float L_118 = V_10; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_119 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_116, L_117, L_118, /*hidden argument*/NULL); ((L_115)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_x_1(L_119); Vector3U5BU5D_t3227571696* L_120 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_120); IL2CPP_ARRAY_BOUNDS_CHECK(L_120, 1); Vector3U5BU5D_t3227571696* L_121 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_121); IL2CPP_ARRAY_BOUNDS_CHECK(L_121, 0); float L_122 = ((L_121)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_x_1(); ((L_120)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_x_1(L_122); Vector3U5BU5D_t3227571696* L_123 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_123); IL2CPP_ARRAY_BOUNDS_CHECK(L_123, 2); float L_124 = (&V_0)->get_x_1(); float L_125 = (&V_0)->get_z_3(); float L_126 = V_11; float L_127 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_124, L_125, L_126, /*hidden argument*/NULL); ((L_123)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_x_1(L_127); Vector3U5BU5D_t3227571696* L_128 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_128); IL2CPP_ARRAY_BOUNDS_CHECK(L_128, 3); Vector3U5BU5D_t3227571696* L_129 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_129); IL2CPP_ARRAY_BOUNDS_CHECK(L_129, 2); float L_130 = ((L_129)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->get_x_1(); ((L_128)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))->set_x_1(L_130); Vector3U5BU5D_t3227571696* L_131 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_131); IL2CPP_ARRAY_BOUNDS_CHECK(L_131, 0); float L_132 = (&V_0)->get_y_2(); float L_133 = (&V_0)->get_w_4(); float L_134 = V_12; float L_135 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_132, L_133, L_134, /*hidden argument*/NULL); ((L_131)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_y_2(L_135); Vector3U5BU5D_t3227571696* L_136 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_136); IL2CPP_ARRAY_BOUNDS_CHECK(L_136, 1); float L_137 = (&V_0)->get_y_2(); float L_138 = (&V_0)->get_w_4(); float L_139 = V_13; float L_140 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_137, L_138, L_139, /*hidden argument*/NULL); ((L_136)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_y_2(L_140); Vector3U5BU5D_t3227571696* L_141 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_141); IL2CPP_ARRAY_BOUNDS_CHECK(L_141, 2); Vector3U5BU5D_t3227571696* L_142 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_142); IL2CPP_ARRAY_BOUNDS_CHECK(L_142, 1); float L_143 = ((L_142)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->get_y_2(); ((L_141)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_y_2(L_143); Vector3U5BU5D_t3227571696* L_144 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_144); IL2CPP_ARRAY_BOUNDS_CHECK(L_144, 3); Vector3U5BU5D_t3227571696* L_145 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_145); IL2CPP_ARRAY_BOUNDS_CHECK(L_145, 0); float L_146 = ((L_145)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_y_2(); ((L_144)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))->set_y_2(L_146); Vector3U5BU5D_t3227571696* L_147 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_147); IL2CPP_ARRAY_BOUNDS_CHECK(L_147, 0); float L_148 = V_3; float L_149 = V_5; float L_150 = V_10; float L_151 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_148, L_149, L_150, /*hidden argument*/NULL); ((L_147)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_x_1(L_151); Vector3U5BU5D_t3227571696* L_152 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_152); IL2CPP_ARRAY_BOUNDS_CHECK(L_152, 1); Vector3U5BU5D_t3227571696* L_153 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_153); IL2CPP_ARRAY_BOUNDS_CHECK(L_153, 0); float L_154 = ((L_153)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_x_1(); ((L_152)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_x_1(L_154); Vector3U5BU5D_t3227571696* L_155 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_155); IL2CPP_ARRAY_BOUNDS_CHECK(L_155, 2); float L_156 = V_3; float L_157 = V_5; float L_158 = V_11; float L_159 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_156, L_157, L_158, /*hidden argument*/NULL); ((L_155)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_x_1(L_159); Vector3U5BU5D_t3227571696* L_160 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_160); IL2CPP_ARRAY_BOUNDS_CHECK(L_160, 3); Vector3U5BU5D_t3227571696* L_161 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_161); IL2CPP_ARRAY_BOUNDS_CHECK(L_161, 2); float L_162 = ((L_161)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->get_x_1(); ((L_160)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))->set_x_1(L_162); Vector3U5BU5D_t3227571696* L_163 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_163); IL2CPP_ARRAY_BOUNDS_CHECK(L_163, 0); float L_164 = V_4; float L_165 = V_6; float L_166 = V_12; float L_167 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_164, L_165, L_166, /*hidden argument*/NULL); ((L_163)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_y_2(L_167); Vector3U5BU5D_t3227571696* L_168 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_168); IL2CPP_ARRAY_BOUNDS_CHECK(L_168, 1); float L_169 = V_4; float L_170 = V_6; float L_171 = V_13; float L_172 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_169, L_170, L_171, /*hidden argument*/NULL); ((L_168)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_y_2(L_172); Vector3U5BU5D_t3227571696* L_173 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_173); IL2CPP_ARRAY_BOUNDS_CHECK(L_173, 2); Vector3U5BU5D_t3227571696* L_174 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_174); IL2CPP_ARRAY_BOUNDS_CHECK(L_174, 1); float L_175 = ((L_174)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->get_y_2(); ((L_173)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_y_2(L_175); Vector3U5BU5D_t3227571696* L_176 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_176); IL2CPP_ARRAY_BOUNDS_CHECK(L_176, 3); Vector3U5BU5D_t3227571696* L_177 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_177); IL2CPP_ARRAY_BOUNDS_CHECK(L_177, 0); float L_178 = ((L_177)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_y_2(); ((L_176)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))->set_y_2(L_178); bool L_179 = __this->get_m_FillClockwise_35(); if (!L_179) { goto IL_0601; } } { float L_180 = Image_get_fillAmount_m3193252212(__this, /*hidden argument*/NULL); int32_t L_181 = V_9; G_B40_0 = ((float)((float)((float)((float)L_180*(float)(2.0f)))-(float)(((float)((float)L_181))))); goto IL_0613; } IL_0601: { float L_182 = __this->get_m_FillAmount_34(); int32_t L_183 = V_9; G_B40_0 = ((float)((float)((float)((float)L_182*(float)(2.0f)))-(float)(((float)((float)((int32_t)((int32_t)1-(int32_t)L_183))))))); } IL_0613: { V_15 = G_B40_0; IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector3U5BU5D_t3227571696* L_184 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); Vector3U5BU5D_t3227571696* L_185 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); float L_186 = V_15; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_187 = Mathf_Clamp01_m2272733930(NULL /*static, unused*/, L_186, /*hidden argument*/NULL); bool L_188 = __this->get_m_FillClockwise_35(); int32_t L_189 = V_9; int32_t L_190 = __this->get_m_FillOrigin_36(); bool L_191 = Image_RadialCut_m2286713844(NULL /*static, unused*/, L_184, L_185, L_187, L_188, ((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_189+(int32_t)L_190))+(int32_t)3))%(int32_t)4)), /*hidden argument*/NULL); if (!L_191) { goto IL_065e; } } { VertexHelper_t1471929499 * L_192 = ___toFill0; IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector3U5BU5D_t3227571696* L_193 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); Color_t1588175760 L_194 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_195 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_194, /*hidden argument*/NULL); Vector3U5BU5D_t3227571696* L_196 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); Image_AddQuad_m3277178(NULL /*static, unused*/, L_192, L_193, L_195, L_196, /*hidden argument*/NULL); } IL_065e: { int32_t L_197 = V_9; V_9 = ((int32_t)((int32_t)L_197+(int32_t)1)); } IL_0664: { int32_t L_198 = V_9; if ((((int32_t)L_198) < ((int32_t)2))) { goto IL_0342; } } { goto IL_0972; } IL_0671: { int32_t L_199 = Image_get_fillMethod_m2526834505(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_199) == ((uint32_t)4)))) { goto IL_0972; } } { V_16 = 0; goto IL_096a; } IL_0685: { int32_t L_200 = V_16; if ((((int32_t)L_200) >= ((int32_t)2))) { goto IL_06a0; } } { V_17 = (0.0f); V_18 = (0.5f); goto IL_06ae; } IL_06a0: { V_17 = (0.5f); V_18 = (1.0f); } IL_06ae: { int32_t L_201 = V_16; if (!L_201) { goto IL_06bd; } } { int32_t L_202 = V_16; if ((!(((uint32_t)L_202) == ((uint32_t)3)))) { goto IL_06d0; } } IL_06bd: { V_19 = (0.0f); V_20 = (0.5f); goto IL_06de; } IL_06d0: { V_19 = (0.5f); V_20 = (1.0f); } IL_06de: { IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector3U5BU5D_t3227571696* L_203 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_203); IL2CPP_ARRAY_BOUNDS_CHECK(L_203, 0); float L_204 = (&V_0)->get_x_1(); float L_205 = (&V_0)->get_z_3(); float L_206 = V_17; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_207 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_204, L_205, L_206, /*hidden argument*/NULL); ((L_203)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_x_1(L_207); Vector3U5BU5D_t3227571696* L_208 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_208); IL2CPP_ARRAY_BOUNDS_CHECK(L_208, 1); Vector3U5BU5D_t3227571696* L_209 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_209); IL2CPP_ARRAY_BOUNDS_CHECK(L_209, 0); float L_210 = ((L_209)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_x_1(); ((L_208)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_x_1(L_210); Vector3U5BU5D_t3227571696* L_211 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_211); IL2CPP_ARRAY_BOUNDS_CHECK(L_211, 2); float L_212 = (&V_0)->get_x_1(); float L_213 = (&V_0)->get_z_3(); float L_214 = V_18; float L_215 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_212, L_213, L_214, /*hidden argument*/NULL); ((L_211)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_x_1(L_215); Vector3U5BU5D_t3227571696* L_216 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_216); IL2CPP_ARRAY_BOUNDS_CHECK(L_216, 3); Vector3U5BU5D_t3227571696* L_217 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_217); IL2CPP_ARRAY_BOUNDS_CHECK(L_217, 2); float L_218 = ((L_217)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->get_x_1(); ((L_216)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))->set_x_1(L_218); Vector3U5BU5D_t3227571696* L_219 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_219); IL2CPP_ARRAY_BOUNDS_CHECK(L_219, 0); float L_220 = (&V_0)->get_y_2(); float L_221 = (&V_0)->get_w_4(); float L_222 = V_19; float L_223 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_220, L_221, L_222, /*hidden argument*/NULL); ((L_219)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_y_2(L_223); Vector3U5BU5D_t3227571696* L_224 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_224); IL2CPP_ARRAY_BOUNDS_CHECK(L_224, 1); float L_225 = (&V_0)->get_y_2(); float L_226 = (&V_0)->get_w_4(); float L_227 = V_20; float L_228 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_225, L_226, L_227, /*hidden argument*/NULL); ((L_224)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_y_2(L_228); Vector3U5BU5D_t3227571696* L_229 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_229); IL2CPP_ARRAY_BOUNDS_CHECK(L_229, 2); Vector3U5BU5D_t3227571696* L_230 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_230); IL2CPP_ARRAY_BOUNDS_CHECK(L_230, 1); float L_231 = ((L_230)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->get_y_2(); ((L_229)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_y_2(L_231); Vector3U5BU5D_t3227571696* L_232 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_232); IL2CPP_ARRAY_BOUNDS_CHECK(L_232, 3); Vector3U5BU5D_t3227571696* L_233 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); NullCheck(L_233); IL2CPP_ARRAY_BOUNDS_CHECK(L_233, 0); float L_234 = ((L_233)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_y_2(); ((L_232)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))->set_y_2(L_234); Vector3U5BU5D_t3227571696* L_235 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_235); IL2CPP_ARRAY_BOUNDS_CHECK(L_235, 0); float L_236 = V_3; float L_237 = V_5; float L_238 = V_17; float L_239 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_236, L_237, L_238, /*hidden argument*/NULL); ((L_235)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_x_1(L_239); Vector3U5BU5D_t3227571696* L_240 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_240); IL2CPP_ARRAY_BOUNDS_CHECK(L_240, 1); Vector3U5BU5D_t3227571696* L_241 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_241); IL2CPP_ARRAY_BOUNDS_CHECK(L_241, 0); float L_242 = ((L_241)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_x_1(); ((L_240)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_x_1(L_242); Vector3U5BU5D_t3227571696* L_243 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_243); IL2CPP_ARRAY_BOUNDS_CHECK(L_243, 2); float L_244 = V_3; float L_245 = V_5; float L_246 = V_18; float L_247 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_244, L_245, L_246, /*hidden argument*/NULL); ((L_243)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_x_1(L_247); Vector3U5BU5D_t3227571696* L_248 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_248); IL2CPP_ARRAY_BOUNDS_CHECK(L_248, 3); Vector3U5BU5D_t3227571696* L_249 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_249); IL2CPP_ARRAY_BOUNDS_CHECK(L_249, 2); float L_250 = ((L_249)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->get_x_1(); ((L_248)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))->set_x_1(L_250); Vector3U5BU5D_t3227571696* L_251 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_251); IL2CPP_ARRAY_BOUNDS_CHECK(L_251, 0); float L_252 = V_4; float L_253 = V_6; float L_254 = V_19; float L_255 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_252, L_253, L_254, /*hidden argument*/NULL); ((L_251)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_y_2(L_255); Vector3U5BU5D_t3227571696* L_256 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_256); IL2CPP_ARRAY_BOUNDS_CHECK(L_256, 1); float L_257 = V_4; float L_258 = V_6; float L_259 = V_20; float L_260 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_257, L_258, L_259, /*hidden argument*/NULL); ((L_256)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_y_2(L_260); Vector3U5BU5D_t3227571696* L_261 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_261); IL2CPP_ARRAY_BOUNDS_CHECK(L_261, 2); Vector3U5BU5D_t3227571696* L_262 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_262); IL2CPP_ARRAY_BOUNDS_CHECK(L_262, 1); float L_263 = ((L_262)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->get_y_2(); ((L_261)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_y_2(L_263); Vector3U5BU5D_t3227571696* L_264 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_264); IL2CPP_ARRAY_BOUNDS_CHECK(L_264, 3); Vector3U5BU5D_t3227571696* L_265 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); NullCheck(L_265); IL2CPP_ARRAY_BOUNDS_CHECK(L_265, 0); float L_266 = ((L_265)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_y_2(); ((L_264)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))->set_y_2(L_266); bool L_267 = __this->get_m_FillClockwise_35(); if (!L_267) { goto IL_0905; } } { float L_268 = __this->get_m_FillAmount_34(); int32_t L_269 = V_16; int32_t L_270 = __this->get_m_FillOrigin_36(); G_B57_0 = ((float)((float)((float)((float)L_268*(float)(4.0f)))-(float)(((float)((float)((int32_t)((int32_t)((int32_t)((int32_t)L_269+(int32_t)L_270))%(int32_t)4))))))); goto IL_0920; } IL_0905: { float L_271 = __this->get_m_FillAmount_34(); int32_t L_272 = V_16; int32_t L_273 = __this->get_m_FillOrigin_36(); G_B57_0 = ((float)((float)((float)((float)L_271*(float)(4.0f)))-(float)(((float)((float)((int32_t)((int32_t)3-(int32_t)((int32_t)((int32_t)((int32_t)((int32_t)L_272+(int32_t)L_273))%(int32_t)4))))))))); } IL_0920: { V_21 = G_B57_0; IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector3U5BU5D_t3227571696* L_274 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); Vector3U5BU5D_t3227571696* L_275 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); float L_276 = V_21; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_277 = Mathf_Clamp01_m2272733930(NULL /*static, unused*/, L_276, /*hidden argument*/NULL); bool L_278 = __this->get_m_FillClockwise_35(); int32_t L_279 = V_16; bool L_280 = Image_RadialCut_m2286713844(NULL /*static, unused*/, L_274, L_275, L_277, L_278, ((int32_t)((int32_t)((int32_t)((int32_t)L_279+(int32_t)2))%(int32_t)4)), /*hidden argument*/NULL); if (!L_280) { goto IL_0964; } } { VertexHelper_t1471929499 * L_281 = ___toFill0; IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector3U5BU5D_t3227571696* L_282 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); Color_t1588175760 L_283 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_284 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_283, /*hidden argument*/NULL); Vector3U5BU5D_t3227571696* L_285 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); Image_AddQuad_m3277178(NULL /*static, unused*/, L_281, L_282, L_284, L_285, /*hidden argument*/NULL); } IL_0964: { int32_t L_286 = V_16; V_16 = ((int32_t)((int32_t)L_286+(int32_t)1)); } IL_096a: { int32_t L_287 = V_16; if ((((int32_t)L_287) < ((int32_t)4))) { goto IL_0685; } } IL_0972: { goto IL_0992; } IL_0977: { VertexHelper_t1471929499 * L_288 = ___toFill0; IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Vector3U5BU5D_t3227571696* L_289 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Xy_40(); Color_t1588175760 L_290 = Graphic_get_color_m2048831972(__this, /*hidden argument*/NULL); Color32_t4137084207 L_291 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_290, /*hidden argument*/NULL); Vector3U5BU5D_t3227571696* L_292 = ((Image_t3354615620_StaticFields*)Image_t3354615620_il2cpp_TypeInfo_var->static_fields)->get_s_Uv_41(); Image_AddQuad_m3277178(NULL /*static, unused*/, L_288, L_289, L_291, L_292, /*hidden argument*/NULL); } IL_0992: { return; } } // System.Boolean UnityEngine.UI.Image::RadialCut(UnityEngine.Vector3[],UnityEngine.Vector3[],System.Single,System.Boolean,System.Int32) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern Il2CppClass* Image_t3354615620_il2cpp_TypeInfo_var; extern const uint32_t Image_RadialCut_m2286713844_MetadataUsageId; extern "C" bool Image_RadialCut_m2286713844 (Il2CppObject * __this /* static, unused */, Vector3U5BU5D_t3227571696* ___xy0, Vector3U5BU5D_t3227571696* ___uv1, float ___fill2, bool ___invert3, int32_t ___corner4, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_RadialCut_m2286713844_MetadataUsageId); s_Il2CppMethodIntialized = true; } float V_0 = 0.0f; float V_1 = 0.0f; float V_2 = 0.0f; { float L_0 = ___fill2; if ((!(((float)L_0) < ((float)(0.001f))))) { goto IL_000d; } } { return (bool)0; } IL_000d: { int32_t L_1 = ___corner4; if ((!(((uint32_t)((int32_t)((int32_t)L_1&(int32_t)1))) == ((uint32_t)1)))) { goto IL_001d; } } { bool L_2 = ___invert3; ___invert3 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0); } IL_001d: { bool L_3 = ___invert3; if (L_3) { goto IL_0030; } } { float L_4 = ___fill2; if ((!(((float)L_4) > ((float)(0.999f))))) { goto IL_0030; } } { return (bool)1; } IL_0030: { float L_5 = ___fill2; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_6 = Mathf_Clamp01_m2272733930(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); V_0 = L_6; bool L_7 = ___invert3; if (!L_7) { goto IL_0045; } } { float L_8 = V_0; V_0 = ((float)((float)(1.0f)-(float)L_8)); } IL_0045: { float L_9 = V_0; V_0 = ((float)((float)L_9*(float)(1.57079637f))); float L_10 = V_0; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_11 = cosf(L_10); V_1 = L_11; float L_12 = V_0; float L_13 = sinf(L_12); V_2 = L_13; Vector3U5BU5D_t3227571696* L_14 = ___xy0; float L_15 = V_1; float L_16 = V_2; bool L_17 = ___invert3; int32_t L_18 = ___corner4; IL2CPP_RUNTIME_CLASS_INIT(Image_t3354615620_il2cpp_TypeInfo_var); Image_RadialCut_m531564570(NULL /*static, unused*/, L_14, L_15, L_16, L_17, L_18, /*hidden argument*/NULL); Vector3U5BU5D_t3227571696* L_19 = ___uv1; float L_20 = V_1; float L_21 = V_2; bool L_22 = ___invert3; int32_t L_23 = ___corner4; Image_RadialCut_m531564570(NULL /*static, unused*/, L_19, L_20, L_21, L_22, L_23, /*hidden argument*/NULL); return (bool)1; } } // System.Void UnityEngine.UI.Image::RadialCut(UnityEngine.Vector3[],System.Single,System.Single,System.Boolean,System.Int32) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t Image_RadialCut_m531564570_MetadataUsageId; extern "C" void Image_RadialCut_m531564570 (Il2CppObject * __this /* static, unused */, Vector3U5BU5D_t3227571696* ___xy0, float ___cos1, float ___sin2, bool ___invert3, int32_t ___corner4, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_RadialCut_m531564570_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; int32_t V_2 = 0; int32_t V_3 = 0; { int32_t L_0 = ___corner4; V_0 = L_0; int32_t L_1 = ___corner4; V_1 = ((int32_t)((int32_t)((int32_t)((int32_t)L_1+(int32_t)1))%(int32_t)4)); int32_t L_2 = ___corner4; V_2 = ((int32_t)((int32_t)((int32_t)((int32_t)L_2+(int32_t)2))%(int32_t)4)); int32_t L_3 = ___corner4; V_3 = ((int32_t)((int32_t)((int32_t)((int32_t)L_3+(int32_t)3))%(int32_t)4)); int32_t L_4 = ___corner4; if ((!(((uint32_t)((int32_t)((int32_t)L_4&(int32_t)1))) == ((uint32_t)1)))) { goto IL_0154; } } { float L_5 = ___sin2; float L_6 = ___cos1; if ((!(((float)L_5) > ((float)L_6)))) { goto IL_0082; } } { float L_7 = ___cos1; float L_8 = ___sin2; ___cos1 = ((float)((float)L_7/(float)L_8)); ___sin2 = (1.0f); bool L_9 = ___invert3; if (!L_9) { goto IL_007d; } } { Vector3U5BU5D_t3227571696* L_10 = ___xy0; int32_t L_11 = V_1; NullCheck(L_10); IL2CPP_ARRAY_BOUNDS_CHECK(L_10, L_11); Vector3U5BU5D_t3227571696* L_12 = ___xy0; int32_t L_13 = V_0; NullCheck(L_12); IL2CPP_ARRAY_BOUNDS_CHECK(L_12, L_13); float L_14 = ((L_12)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_13)))->get_x_1(); Vector3U5BU5D_t3227571696* L_15 = ___xy0; int32_t L_16 = V_2; NullCheck(L_15); IL2CPP_ARRAY_BOUNDS_CHECK(L_15, L_16); float L_17 = ((L_15)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_16)))->get_x_1(); float L_18 = ___cos1; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_19 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_14, L_17, L_18, /*hidden argument*/NULL); ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->set_x_1(L_19); Vector3U5BU5D_t3227571696* L_20 = ___xy0; int32_t L_21 = V_2; NullCheck(L_20); IL2CPP_ARRAY_BOUNDS_CHECK(L_20, L_21); Vector3U5BU5D_t3227571696* L_22 = ___xy0; int32_t L_23 = V_1; NullCheck(L_22); IL2CPP_ARRAY_BOUNDS_CHECK(L_22, L_23); float L_24 = ((L_22)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_23)))->get_x_1(); ((L_20)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_21)))->set_x_1(L_24); } IL_007d: { goto IL_00f0; } IL_0082: { float L_25 = ___cos1; float L_26 = ___sin2; if ((!(((float)L_25) > ((float)L_26)))) { goto IL_00e2; } } { float L_27 = ___sin2; float L_28 = ___cos1; ___sin2 = ((float)((float)L_27/(float)L_28)); ___cos1 = (1.0f); bool L_29 = ___invert3; if (L_29) { goto IL_00dd; } } { Vector3U5BU5D_t3227571696* L_30 = ___xy0; int32_t L_31 = V_2; NullCheck(L_30); IL2CPP_ARRAY_BOUNDS_CHECK(L_30, L_31); Vector3U5BU5D_t3227571696* L_32 = ___xy0; int32_t L_33 = V_0; NullCheck(L_32); IL2CPP_ARRAY_BOUNDS_CHECK(L_32, L_33); float L_34 = ((L_32)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_33)))->get_y_2(); Vector3U5BU5D_t3227571696* L_35 = ___xy0; int32_t L_36 = V_2; NullCheck(L_35); IL2CPP_ARRAY_BOUNDS_CHECK(L_35, L_36); float L_37 = ((L_35)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_36)))->get_y_2(); float L_38 = ___sin2; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_39 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_34, L_37, L_38, /*hidden argument*/NULL); ((L_30)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_31)))->set_y_2(L_39); Vector3U5BU5D_t3227571696* L_40 = ___xy0; int32_t L_41 = V_3; NullCheck(L_40); IL2CPP_ARRAY_BOUNDS_CHECK(L_40, L_41); Vector3U5BU5D_t3227571696* L_42 = ___xy0; int32_t L_43 = V_2; NullCheck(L_42); IL2CPP_ARRAY_BOUNDS_CHECK(L_42, L_43); float L_44 = ((L_42)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_43)))->get_y_2(); ((L_40)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_41)))->set_y_2(L_44); } IL_00dd: { goto IL_00f0; } IL_00e2: { ___cos1 = (1.0f); ___sin2 = (1.0f); } IL_00f0: { bool L_45 = ___invert3; if (L_45) { goto IL_0125; } } { Vector3U5BU5D_t3227571696* L_46 = ___xy0; int32_t L_47 = V_3; NullCheck(L_46); IL2CPP_ARRAY_BOUNDS_CHECK(L_46, L_47); Vector3U5BU5D_t3227571696* L_48 = ___xy0; int32_t L_49 = V_0; NullCheck(L_48); IL2CPP_ARRAY_BOUNDS_CHECK(L_48, L_49); float L_50 = ((L_48)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_49)))->get_x_1(); Vector3U5BU5D_t3227571696* L_51 = ___xy0; int32_t L_52 = V_2; NullCheck(L_51); IL2CPP_ARRAY_BOUNDS_CHECK(L_51, L_52); float L_53 = ((L_51)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_52)))->get_x_1(); float L_54 = ___cos1; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_55 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_50, L_53, L_54, /*hidden argument*/NULL); ((L_46)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_47)))->set_x_1(L_55); goto IL_014f; } IL_0125: { Vector3U5BU5D_t3227571696* L_56 = ___xy0; int32_t L_57 = V_1; NullCheck(L_56); IL2CPP_ARRAY_BOUNDS_CHECK(L_56, L_57); Vector3U5BU5D_t3227571696* L_58 = ___xy0; int32_t L_59 = V_0; NullCheck(L_58); IL2CPP_ARRAY_BOUNDS_CHECK(L_58, L_59); float L_60 = ((L_58)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_59)))->get_y_2(); Vector3U5BU5D_t3227571696* L_61 = ___xy0; int32_t L_62 = V_2; NullCheck(L_61); IL2CPP_ARRAY_BOUNDS_CHECK(L_61, L_62); float L_63 = ((L_61)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_62)))->get_y_2(); float L_64 = ___sin2; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_65 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_60, L_63, L_64, /*hidden argument*/NULL); ((L_56)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_57)))->set_y_2(L_65); } IL_014f: { goto IL_0281; } IL_0154: { float L_66 = ___cos1; float L_67 = ___sin2; if ((!(((float)L_66) > ((float)L_67)))) { goto IL_01b4; } } { float L_68 = ___sin2; float L_69 = ___cos1; ___sin2 = ((float)((float)L_68/(float)L_69)); ___cos1 = (1.0f); bool L_70 = ___invert3; if (L_70) { goto IL_01af; } } { Vector3U5BU5D_t3227571696* L_71 = ___xy0; int32_t L_72 = V_1; NullCheck(L_71); IL2CPP_ARRAY_BOUNDS_CHECK(L_71, L_72); Vector3U5BU5D_t3227571696* L_73 = ___xy0; int32_t L_74 = V_0; NullCheck(L_73); IL2CPP_ARRAY_BOUNDS_CHECK(L_73, L_74); float L_75 = ((L_73)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_74)))->get_y_2(); Vector3U5BU5D_t3227571696* L_76 = ___xy0; int32_t L_77 = V_2; NullCheck(L_76); IL2CPP_ARRAY_BOUNDS_CHECK(L_76, L_77); float L_78 = ((L_76)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_77)))->get_y_2(); float L_79 = ___sin2; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_80 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_75, L_78, L_79, /*hidden argument*/NULL); ((L_71)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_72)))->set_y_2(L_80); Vector3U5BU5D_t3227571696* L_81 = ___xy0; int32_t L_82 = V_2; NullCheck(L_81); IL2CPP_ARRAY_BOUNDS_CHECK(L_81, L_82); Vector3U5BU5D_t3227571696* L_83 = ___xy0; int32_t L_84 = V_1; NullCheck(L_83); IL2CPP_ARRAY_BOUNDS_CHECK(L_83, L_84); float L_85 = ((L_83)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_84)))->get_y_2(); ((L_81)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_82)))->set_y_2(L_85); } IL_01af: { goto IL_0222; } IL_01b4: { float L_86 = ___sin2; float L_87 = ___cos1; if ((!(((float)L_86) > ((float)L_87)))) { goto IL_0214; } } { float L_88 = ___cos1; float L_89 = ___sin2; ___cos1 = ((float)((float)L_88/(float)L_89)); ___sin2 = (1.0f); bool L_90 = ___invert3; if (!L_90) { goto IL_020f; } } { Vector3U5BU5D_t3227571696* L_91 = ___xy0; int32_t L_92 = V_2; NullCheck(L_91); IL2CPP_ARRAY_BOUNDS_CHECK(L_91, L_92); Vector3U5BU5D_t3227571696* L_93 = ___xy0; int32_t L_94 = V_0; NullCheck(L_93); IL2CPP_ARRAY_BOUNDS_CHECK(L_93, L_94); float L_95 = ((L_93)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_94)))->get_x_1(); Vector3U5BU5D_t3227571696* L_96 = ___xy0; int32_t L_97 = V_2; NullCheck(L_96); IL2CPP_ARRAY_BOUNDS_CHECK(L_96, L_97); float L_98 = ((L_96)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_97)))->get_x_1(); float L_99 = ___cos1; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_100 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_95, L_98, L_99, /*hidden argument*/NULL); ((L_91)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_92)))->set_x_1(L_100); Vector3U5BU5D_t3227571696* L_101 = ___xy0; int32_t L_102 = V_3; NullCheck(L_101); IL2CPP_ARRAY_BOUNDS_CHECK(L_101, L_102); Vector3U5BU5D_t3227571696* L_103 = ___xy0; int32_t L_104 = V_2; NullCheck(L_103); IL2CPP_ARRAY_BOUNDS_CHECK(L_103, L_104); float L_105 = ((L_103)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_104)))->get_x_1(); ((L_101)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_102)))->set_x_1(L_105); } IL_020f: { goto IL_0222; } IL_0214: { ___cos1 = (1.0f); ___sin2 = (1.0f); } IL_0222: { bool L_106 = ___invert3; if (!L_106) { goto IL_0257; } } { Vector3U5BU5D_t3227571696* L_107 = ___xy0; int32_t L_108 = V_3; NullCheck(L_107); IL2CPP_ARRAY_BOUNDS_CHECK(L_107, L_108); Vector3U5BU5D_t3227571696* L_109 = ___xy0; int32_t L_110 = V_0; NullCheck(L_109); IL2CPP_ARRAY_BOUNDS_CHECK(L_109, L_110); float L_111 = ((L_109)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_110)))->get_y_2(); Vector3U5BU5D_t3227571696* L_112 = ___xy0; int32_t L_113 = V_2; NullCheck(L_112); IL2CPP_ARRAY_BOUNDS_CHECK(L_112, L_113); float L_114 = ((L_112)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_113)))->get_y_2(); float L_115 = ___sin2; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_116 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_111, L_114, L_115, /*hidden argument*/NULL); ((L_107)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_108)))->set_y_2(L_116); goto IL_0281; } IL_0257: { Vector3U5BU5D_t3227571696* L_117 = ___xy0; int32_t L_118 = V_1; NullCheck(L_117); IL2CPP_ARRAY_BOUNDS_CHECK(L_117, L_118); Vector3U5BU5D_t3227571696* L_119 = ___xy0; int32_t L_120 = V_0; NullCheck(L_119); IL2CPP_ARRAY_BOUNDS_CHECK(L_119, L_120); float L_121 = ((L_119)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_120)))->get_x_1(); Vector3U5BU5D_t3227571696* L_122 = ___xy0; int32_t L_123 = V_2; NullCheck(L_122); IL2CPP_ARRAY_BOUNDS_CHECK(L_122, L_123); float L_124 = ((L_122)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_123)))->get_x_1(); float L_125 = ___cos1; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_126 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_121, L_124, L_125, /*hidden argument*/NULL); ((L_117)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_118)))->set_x_1(L_126); } IL_0281: { return; } } // System.Void UnityEngine.UI.Image::CalculateLayoutInputHorizontal() extern "C" void Image_CalculateLayoutInputHorizontal_m3229499650 (Image_t3354615620 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.UI.Image::CalculateLayoutInputVertical() extern "C" void Image_CalculateLayoutInputVertical_m2293900052 (Image_t3354615620 * __this, const MethodInfo* method) { { return; } } // System.Single UnityEngine.UI.Image::get_minWidth() extern "C" float Image_get_minWidth_m214977549 (Image_t3354615620 * __this, const MethodInfo* method) { { return (0.0f); } } // System.Single UnityEngine.UI.Image::get_preferredWidth() extern "C" float Image_get_preferredWidth_m63596798 (Image_t3354615620 * __this, const MethodInfo* method) { Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); Rect_t1525428817 V_1; memset(&V_1, 0, sizeof(V_1)); Vector2_t3525329788 V_2; memset(&V_2, 0, sizeof(V_2)); { Sprite_t4006040370 * L_0 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0017; } } { return (0.0f); } IL_0017: { int32_t L_2 = Image_get_type_m1778977993(__this, /*hidden argument*/NULL); if ((((int32_t)L_2) == ((int32_t)1))) { goto IL_002f; } } { int32_t L_3 = Image_get_type_m1778977993(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_3) == ((uint32_t)2)))) { goto IL_004a; } } IL_002f: { Sprite_t4006040370 * L_4 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); Vector2_t3525329788 L_5 = DataUtility_GetMinSize_m1313355571(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); V_0 = L_5; float L_6 = (&V_0)->get_x_1(); float L_7 = Image_get_pixelsPerUnit_m2679127645(__this, /*hidden argument*/NULL); return ((float)((float)L_6/(float)L_7)); } IL_004a: { Sprite_t4006040370 * L_8 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); NullCheck(L_8); Rect_t1525428817 L_9 = Sprite_get_rect_m132626493(L_8, /*hidden argument*/NULL); V_1 = L_9; Vector2_t3525329788 L_10 = Rect_get_size_m136480416((&V_1), /*hidden argument*/NULL); V_2 = L_10; float L_11 = (&V_2)->get_x_1(); float L_12 = Image_get_pixelsPerUnit_m2679127645(__this, /*hidden argument*/NULL); return ((float)((float)L_11/(float)L_12)); } } // System.Single UnityEngine.UI.Image::get_flexibleWidth() extern "C" float Image_get_flexibleWidth_m1852529796 (Image_t3354615620 * __this, const MethodInfo* method) { { return (-1.0f); } } // System.Single UnityEngine.UI.Image::get_minHeight() extern "C" float Image_get_minHeight_m2873151074 (Image_t3354615620 * __this, const MethodInfo* method) { { return (0.0f); } } // System.Single UnityEngine.UI.Image::get_preferredHeight() extern "C" float Image_get_preferredHeight_m2475315089 (Image_t3354615620 * __this, const MethodInfo* method) { Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); Rect_t1525428817 V_1; memset(&V_1, 0, sizeof(V_1)); Vector2_t3525329788 V_2; memset(&V_2, 0, sizeof(V_2)); { Sprite_t4006040370 * L_0 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0017; } } { return (0.0f); } IL_0017: { int32_t L_2 = Image_get_type_m1778977993(__this, /*hidden argument*/NULL); if ((((int32_t)L_2) == ((int32_t)1))) { goto IL_002f; } } { int32_t L_3 = Image_get_type_m1778977993(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_3) == ((uint32_t)2)))) { goto IL_004a; } } IL_002f: { Sprite_t4006040370 * L_4 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); Vector2_t3525329788 L_5 = DataUtility_GetMinSize_m1313355571(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); V_0 = L_5; float L_6 = (&V_0)->get_y_2(); float L_7 = Image_get_pixelsPerUnit_m2679127645(__this, /*hidden argument*/NULL); return ((float)((float)L_6/(float)L_7)); } IL_004a: { Sprite_t4006040370 * L_8 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); NullCheck(L_8); Rect_t1525428817 L_9 = Sprite_get_rect_m132626493(L_8, /*hidden argument*/NULL); V_1 = L_9; Vector2_t3525329788 L_10 = Rect_get_size_m136480416((&V_1), /*hidden argument*/NULL); V_2 = L_10; float L_11 = (&V_2)->get_y_2(); float L_12 = Image_get_pixelsPerUnit_m2679127645(__this, /*hidden argument*/NULL); return ((float)((float)L_11/(float)L_12)); } } // System.Single UnityEngine.UI.Image::get_flexibleHeight() extern "C" float Image_get_flexibleHeight_m2097663179 (Image_t3354615620 * __this, const MethodInfo* method) { { return (-1.0f); } } // System.Int32 UnityEngine.UI.Image::get_layoutPriority() extern "C" int32_t Image_get_layoutPriority_m1611774403 (Image_t3354615620 * __this, const MethodInfo* method) { { return 0; } } // System.Boolean UnityEngine.UI.Image::IsRaycastLocationValid(UnityEngine.Vector2,UnityEngine.Camera) extern Il2CppClass* RectTransformUtility_t2895919825_il2cpp_TypeInfo_var; extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern Il2CppClass* UnityException_t3148635335_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Debug_t1588791936_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral3793069274; extern Il2CppCodeGenString* _stringLiteral2111890661; extern const uint32_t Image_IsRaycastLocationValid_m1303041002_MetadataUsageId; extern "C" bool Image_IsRaycastLocationValid_m1303041002 (Image_t3354615620 * __this, Vector2_t3525329788 ___screenPoint0, Camera_t3533968274 * ___eventCamera1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_IsRaycastLocationValid_m1303041002_MetadataUsageId); s_Il2CppMethodIntialized = true; } Sprite_t4006040370 * V_0 = NULL; Vector2_t3525329788 V_1; memset(&V_1, 0, sizeof(V_1)); Rect_t1525428817 V_2; memset(&V_2, 0, sizeof(V_2)); Rect_t1525428817 V_3; memset(&V_3, 0, sizeof(V_3)); Vector2_t3525329788 V_4; memset(&V_4, 0, sizeof(V_4)); float V_5 = 0.0f; float V_6 = 0.0f; UnityException_t3148635335 * V_7 = NULL; Vector2_t3525329788 V_8; memset(&V_8, 0, sizeof(V_8)); Vector2_t3525329788 V_9; memset(&V_9, 0, sizeof(V_9)); Color_t1588175760 V_10; memset(&V_10, 0, sizeof(V_10)); bool V_11 = false; Exception_t1967233988 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1967233988 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { float L_0 = __this->get_m_EventAlphaThreshold_37(); if ((!(((float)L_0) >= ((float)(1.0f))))) { goto IL_0012; } } { return (bool)1; } IL_0012: { Sprite_t4006040370 * L_1 = Image_get_overrideSprite_m3218085753(__this, /*hidden argument*/NULL); V_0 = L_1; Sprite_t4006040370 * L_2 = V_0; bool L_3 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_2, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_3) { goto IL_0027; } } { return (bool)1; } IL_0027: { RectTransform_t3317474837 * L_4 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); Vector2_t3525329788 L_5 = ___screenPoint0; Camera_t3533968274 * L_6 = ___eventCamera1; IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2895919825_il2cpp_TypeInfo_var); RectTransformUtility_ScreenPointToLocalPointInRectangle_m666650172(NULL /*static, unused*/, L_4, L_5, L_6, (&V_1), /*hidden argument*/NULL); Rect_t1525428817 L_7 = Graphic_GetPixelAdjustedRect_m517144655(__this, /*hidden argument*/NULL); V_2 = L_7; Vector2_t3525329788 * L_8 = (&V_1); float L_9 = L_8->get_x_1(); RectTransform_t3317474837 * L_10 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); NullCheck(L_10); Vector2_t3525329788 L_11 = RectTransform_get_pivot_m3785570595(L_10, /*hidden argument*/NULL); V_8 = L_11; float L_12 = (&V_8)->get_x_1(); float L_13 = Rect_get_width_m2824209432((&V_2), /*hidden argument*/NULL); L_8->set_x_1(((float)((float)L_9+(float)((float)((float)L_12*(float)L_13))))); Vector2_t3525329788 * L_14 = (&V_1); float L_15 = L_14->get_y_2(); RectTransform_t3317474837 * L_16 = Graphic_get_rectTransform_m4017371950(__this, /*hidden argument*/NULL); NullCheck(L_16); Vector2_t3525329788 L_17 = RectTransform_get_pivot_m3785570595(L_16, /*hidden argument*/NULL); V_9 = L_17; float L_18 = (&V_9)->get_y_2(); float L_19 = Rect_get_height_m2154960823((&V_2), /*hidden argument*/NULL); L_14->set_y_2(((float)((float)L_15+(float)((float)((float)L_18*(float)L_19))))); Vector2_t3525329788 L_20 = V_1; Rect_t1525428817 L_21 = V_2; Vector2_t3525329788 L_22 = Image_MapCoordinate_m1478133288(__this, L_20, L_21, /*hidden argument*/NULL); V_1 = L_22; Sprite_t4006040370 * L_23 = V_0; NullCheck(L_23); Rect_t1525428817 L_24 = Sprite_get_textureRect_m3946160520(L_23, /*hidden argument*/NULL); V_3 = L_24; float L_25 = (&V_1)->get_x_1(); float L_26 = Rect_get_width_m2824209432((&V_3), /*hidden argument*/NULL); float L_27 = (&V_1)->get_y_2(); float L_28 = Rect_get_height_m2154960823((&V_3), /*hidden argument*/NULL); Vector2__ctor_m1517109030((&V_4), ((float)((float)L_25/(float)L_26)), ((float)((float)L_27/(float)L_28)), /*hidden argument*/NULL); float L_29 = Rect_get_x_m982385354((&V_3), /*hidden argument*/NULL); float L_30 = Rect_get_xMax_m370881244((&V_3), /*hidden argument*/NULL); float L_31 = (&V_4)->get_x_1(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_32 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_29, L_30, L_31, /*hidden argument*/NULL); Sprite_t4006040370 * L_33 = V_0; NullCheck(L_33); Texture2D_t2509538522 * L_34 = Sprite_get_texture_m1481489947(L_33, /*hidden argument*/NULL); NullCheck(L_34); int32_t L_35 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.Texture::get_width() */, L_34); V_5 = ((float)((float)L_32/(float)(((float)((float)L_35))))); float L_36 = Rect_get_y_m982386315((&V_3), /*hidden argument*/NULL); float L_37 = Rect_get_yMax_m399510395((&V_3), /*hidden argument*/NULL); float L_38 = (&V_4)->get_y_2(); float L_39 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_36, L_37, L_38, /*hidden argument*/NULL); Sprite_t4006040370 * L_40 = V_0; NullCheck(L_40); Texture2D_t2509538522 * L_41 = Sprite_get_texture_m1481489947(L_40, /*hidden argument*/NULL); NullCheck(L_41); int32_t L_42 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_height() */, L_41); V_6 = ((float)((float)L_39/(float)(((float)((float)L_42))))); } IL_0119: try { // begin try (depth: 1) { Sprite_t4006040370 * L_43 = V_0; NullCheck(L_43); Texture2D_t2509538522 * L_44 = Sprite_get_texture_m1481489947(L_43, /*hidden argument*/NULL); float L_45 = V_5; float L_46 = V_6; NullCheck(L_44); Color_t1588175760 L_47 = Texture2D_GetPixelBilinear_m2169326019(L_44, L_45, L_46, /*hidden argument*/NULL); V_10 = L_47; float L_48 = (&V_10)->get_a_3(); float L_49 = __this->get_m_EventAlphaThreshold_37(); V_11 = (bool)((((int32_t)((!(((float)L_48) >= ((float)L_49)))? 1 : 0)) == ((int32_t)0))? 1 : 0); goto IL_0173; } IL_0143: { ; // IL_0143: leave IL_0173 } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __exception_local = (Exception_t1967233988 *)e.ex; if(il2cpp_codegen_class_is_assignable_from (UnityException_t3148635335_il2cpp_TypeInfo_var, e.ex->object.klass)) goto CATCH_0148; throw e; } CATCH_0148: { // begin catch(UnityEngine.UnityException) { V_7 = ((UnityException_t3148635335 *)__exception_local); UnityException_t3148635335 * L_50 = V_7; NullCheck(L_50); String_t* L_51 = VirtFuncInvoker0< String_t* >::Invoke(6 /* System.String System.Exception::get_Message() */, L_50); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_52 = String_Concat_m1825781833(NULL /*static, unused*/, _stringLiteral3793069274, L_51, _stringLiteral2111890661, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogError_m214246398(NULL /*static, unused*/, L_52, __this, /*hidden argument*/NULL); V_11 = (bool)1; goto IL_0173; } IL_016e: { ; // IL_016e: leave IL_0173 } } // end catch (depth: 1) IL_0173: { bool L_53 = V_11; return L_53; } } // UnityEngine.Vector2 UnityEngine.UI.Image::MapCoordinate(UnityEngine.Vector2,UnityEngine.Rect) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t Image_MapCoordinate_m1478133288_MetadataUsageId; extern "C" Vector2_t3525329788 Image_MapCoordinate_m1478133288 (Image_t3354615620 * __this, Vector2_t3525329788 ___local0, Rect_t1525428817 ___rect1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Image_MapCoordinate_m1478133288_MetadataUsageId); s_Il2CppMethodIntialized = true; } Rect_t1525428817 V_0; memset(&V_0, 0, sizeof(V_0)); Vector4_t3525329790 V_1; memset(&V_1, 0, sizeof(V_1)); Vector4_t3525329790 V_2; memset(&V_2, 0, sizeof(V_2)); int32_t V_3 = 0; float V_4 = 0.0f; Vector2_t3525329788 V_5; memset(&V_5, 0, sizeof(V_5)); Vector2_t3525329788 * V_6 = NULL; int32_t V_7 = 0; float V_8 = 0.0f; Vector2_t3525329788 V_9; memset(&V_9, 0, sizeof(V_9)); Vector2_t3525329788 V_10; memset(&V_10, 0, sizeof(V_10)); Vector2_t3525329788 V_11; memset(&V_11, 0, sizeof(V_11)); Vector2_t3525329788 V_12; memset(&V_12, 0, sizeof(V_12)); Vector2_t3525329788 * V_13 = NULL; Vector2_t3525329788 V_14; memset(&V_14, 0, sizeof(V_14)); Vector2_t3525329788 * V_15 = NULL; { Sprite_t4006040370 * L_0 = Image_get_sprite_m3572636301(__this, /*hidden argument*/NULL); NullCheck(L_0); Rect_t1525428817 L_1 = Sprite_get_rect_m132626493(L_0, /*hidden argument*/NULL); V_0 = L_1; int32_t L_2 = Image_get_type_m1778977993(__this, /*hidden argument*/NULL); if (!L_2) { goto IL_0023; } } { int32_t L_3 = Image_get_type_m1778977993(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_3) == ((uint32_t)3)))) { goto IL_0057; } } IL_0023: { float L_4 = (&___local0)->get_x_1(); float L_5 = Rect_get_width_m2824209432((&V_0), /*hidden argument*/NULL); float L_6 = Rect_get_width_m2824209432((&___rect1), /*hidden argument*/NULL); float L_7 = (&___local0)->get_y_2(); float L_8 = Rect_get_height_m2154960823((&V_0), /*hidden argument*/NULL); float L_9 = Rect_get_height_m2154960823((&___rect1), /*hidden argument*/NULL); Vector2_t3525329788 L_10; memset(&L_10, 0, sizeof(L_10)); Vector2__ctor_m1517109030(&L_10, ((float)((float)((float)((float)L_4*(float)L_5))/(float)L_6)), ((float)((float)((float)((float)L_7*(float)L_8))/(float)L_9)), /*hidden argument*/NULL); return L_10; } IL_0057: { Sprite_t4006040370 * L_11 = Image_get_sprite_m3572636301(__this, /*hidden argument*/NULL); NullCheck(L_11); Vector4_t3525329790 L_12 = Sprite_get_border_m1562752938(L_11, /*hidden argument*/NULL); V_1 = L_12; Vector4_t3525329790 L_13 = V_1; float L_14 = Image_get_pixelsPerUnit_m2679127645(__this, /*hidden argument*/NULL); Vector4_t3525329790 L_15 = Vector4_op_Division_m3513381747(NULL /*static, unused*/, L_13, L_14, /*hidden argument*/NULL); Rect_t1525428817 L_16 = ___rect1; Vector4_t3525329790 L_17 = Image_GetAdjustedBorders_m3337288947(__this, L_15, L_16, /*hidden argument*/NULL); V_2 = L_17; V_3 = 0; goto IL_0207; } IL_007e: { int32_t L_18 = V_3; float L_19 = Vector2_get_Item_m2185542843((&___local0), L_18, /*hidden argument*/NULL); int32_t L_20 = V_3; float L_21 = Vector4_get_Item_m2326091453((&V_2), L_20, /*hidden argument*/NULL); if ((!(((float)L_19) <= ((float)L_21)))) { goto IL_0098; } } { goto IL_0203; } IL_0098: { Vector2_t3525329788 L_22 = Rect_get_size_m136480416((&___rect1), /*hidden argument*/NULL); V_5 = L_22; int32_t L_23 = V_3; float L_24 = Vector2_get_Item_m2185542843((&V_5), L_23, /*hidden argument*/NULL); int32_t L_25 = V_3; float L_26 = Vector2_get_Item_m2185542843((&___local0), L_25, /*hidden argument*/NULL); int32_t L_27 = V_3; float L_28 = Vector4_get_Item_m2326091453((&V_2), ((int32_t)((int32_t)L_27+(int32_t)2)), /*hidden argument*/NULL); if ((!(((float)((float)((float)L_24-(float)L_26))) <= ((float)L_28)))) { goto IL_0105; } } { Vector2_t3525329788 * L_29 = (&___local0); V_6 = (Vector2_t3525329788 *)L_29; int32_t L_30 = V_3; int32_t L_31 = L_30; V_7 = L_31; Vector2_t3525329788 * L_32 = V_6; int32_t L_33 = V_7; float L_34 = Vector2_get_Item_m2185542843(L_32, L_33, /*hidden argument*/NULL); V_8 = L_34; float L_35 = V_8; Vector2_t3525329788 L_36 = Rect_get_size_m136480416((&___rect1), /*hidden argument*/NULL); V_9 = L_36; int32_t L_37 = V_3; float L_38 = Vector2_get_Item_m2185542843((&V_9), L_37, /*hidden argument*/NULL); Vector2_t3525329788 L_39 = Rect_get_size_m136480416((&V_0), /*hidden argument*/NULL); V_10 = L_39; int32_t L_40 = V_3; float L_41 = Vector2_get_Item_m2185542843((&V_10), L_40, /*hidden argument*/NULL); Vector2_set_Item_m2767519328(L_29, L_31, ((float)((float)L_35-(float)((float)((float)L_38-(float)L_41)))), /*hidden argument*/NULL); goto IL_0203; } IL_0105: { int32_t L_42 = Image_get_type_m1778977993(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_42) == ((uint32_t)1)))) { goto IL_017c; } } { int32_t L_43 = V_3; float L_44 = Vector4_get_Item_m2326091453((&V_2), L_43, /*hidden argument*/NULL); Vector2_t3525329788 L_45 = Rect_get_size_m136480416((&___rect1), /*hidden argument*/NULL); V_11 = L_45; int32_t L_46 = V_3; float L_47 = Vector2_get_Item_m2185542843((&V_11), L_46, /*hidden argument*/NULL); int32_t L_48 = V_3; float L_49 = Vector4_get_Item_m2326091453((&V_2), ((int32_t)((int32_t)L_48+(int32_t)2)), /*hidden argument*/NULL); int32_t L_50 = V_3; float L_51 = Vector2_get_Item_m2185542843((&___local0), L_50, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_52 = Mathf_InverseLerp_m152689993(NULL /*static, unused*/, L_44, ((float)((float)L_47-(float)L_49)), L_51, /*hidden argument*/NULL); V_4 = L_52; int32_t L_53 = V_3; int32_t L_54 = V_3; float L_55 = Vector4_get_Item_m2326091453((&V_1), L_54, /*hidden argument*/NULL); Vector2_t3525329788 L_56 = Rect_get_size_m136480416((&V_0), /*hidden argument*/NULL); V_12 = L_56; int32_t L_57 = V_3; float L_58 = Vector2_get_Item_m2185542843((&V_12), L_57, /*hidden argument*/NULL); int32_t L_59 = V_3; float L_60 = Vector4_get_Item_m2326091453((&V_1), ((int32_t)((int32_t)L_59+(int32_t)2)), /*hidden argument*/NULL); float L_61 = V_4; float L_62 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_55, ((float)((float)L_58-(float)L_60)), L_61, /*hidden argument*/NULL); Vector2_set_Item_m2767519328((&___local0), L_53, L_62, /*hidden argument*/NULL); goto IL_0203; } IL_017c: { Vector2_t3525329788 * L_63 = (&___local0); V_13 = (Vector2_t3525329788 *)L_63; int32_t L_64 = V_3; int32_t L_65 = L_64; V_7 = L_65; Vector2_t3525329788 * L_66 = V_13; int32_t L_67 = V_7; float L_68 = Vector2_get_Item_m2185542843(L_66, L_67, /*hidden argument*/NULL); V_8 = L_68; float L_69 = V_8; int32_t L_70 = V_3; float L_71 = Vector4_get_Item_m2326091453((&V_2), L_70, /*hidden argument*/NULL); Vector2_set_Item_m2767519328(L_63, L_65, ((float)((float)L_69-(float)L_71)), /*hidden argument*/NULL); int32_t L_72 = V_3; int32_t L_73 = V_3; float L_74 = Vector2_get_Item_m2185542843((&___local0), L_73, /*hidden argument*/NULL); Vector2_t3525329788 L_75 = Rect_get_size_m136480416((&V_0), /*hidden argument*/NULL); V_14 = L_75; int32_t L_76 = V_3; float L_77 = Vector2_get_Item_m2185542843((&V_14), L_76, /*hidden argument*/NULL); int32_t L_78 = V_3; float L_79 = Vector4_get_Item_m2326091453((&V_1), L_78, /*hidden argument*/NULL); int32_t L_80 = V_3; float L_81 = Vector4_get_Item_m2326091453((&V_1), ((int32_t)((int32_t)L_80+(int32_t)2)), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_82 = Mathf_Repeat_m3424250200(NULL /*static, unused*/, L_74, ((float)((float)((float)((float)L_77-(float)L_79))-(float)L_81)), /*hidden argument*/NULL); Vector2_set_Item_m2767519328((&___local0), L_72, L_82, /*hidden argument*/NULL); Vector2_t3525329788 * L_83 = (&___local0); V_15 = (Vector2_t3525329788 *)L_83; int32_t L_84 = V_3; int32_t L_85 = L_84; V_7 = L_85; Vector2_t3525329788 * L_86 = V_15; int32_t L_87 = V_7; float L_88 = Vector2_get_Item_m2185542843(L_86, L_87, /*hidden argument*/NULL); V_8 = L_88; float L_89 = V_8; int32_t L_90 = V_3; float L_91 = Vector4_get_Item_m2326091453((&V_1), L_90, /*hidden argument*/NULL); Vector2_set_Item_m2767519328(L_83, L_85, ((float)((float)L_89+(float)L_91)), /*hidden argument*/NULL); goto IL_0203; } IL_0203: { int32_t L_92 = V_3; V_3 = ((int32_t)((int32_t)L_92+(int32_t)1)); } IL_0207: { int32_t L_93 = V_3; if ((((int32_t)L_93) < ((int32_t)2))) { goto IL_007e; } } { Vector2_t3525329788 L_94 = ___local0; return L_94; } } // System.Void UnityEngine.UI.InputField::.ctor() extern Il2CppClass* SubmitEvent_t1697462594_il2cpp_TypeInfo_var; extern Il2CppClass* OnChangeEvent_t3894605131_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Event_t1590224583_il2cpp_TypeInfo_var; extern Il2CppClass* Selectable_t3621744255_il2cpp_TypeInfo_var; extern const uint32_t InputField__ctor_m2020289915_MetadataUsageId; extern "C" void InputField__ctor_m2020289915 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField__ctor_m2020289915_MetadataUsageId); s_Il2CppMethodIntialized = true; } { __this->set_m_AsteriskChar_25(((int32_t)42)); SubmitEvent_t1697462594 * L_0 = (SubmitEvent_t1697462594 *)il2cpp_codegen_object_new(SubmitEvent_t1697462594_il2cpp_TypeInfo_var); SubmitEvent__ctor_m3123354920(L_0, /*hidden argument*/NULL); __this->set_m_OnEndEdit_31(L_0); OnChangeEvent_t3894605131 * L_1 = (OnChangeEvent_t3894605131 *)il2cpp_codegen_object_new(OnChangeEvent_t3894605131_il2cpp_TypeInfo_var); OnChangeEvent__ctor_m1829440895(L_1, /*hidden argument*/NULL); __this->set_m_OnValueChanged_32(L_1); Color_t1588175760 L_2; memset(&L_2, 0, sizeof(L_2)); Color__ctor_m2252924356(&L_2, (0.196078435f), (0.196078435f), (0.196078435f), (1.0f), /*hidden argument*/NULL); __this->set_m_CaretColor_34(L_2); Color_t1588175760 L_3; memset(&L_3, 0, sizeof(L_3)); Color__ctor_m2252924356(&L_3, (0.65882355f), (0.807843149f), (1.0f), (0.7529412f), /*hidden argument*/NULL); __this->set_m_SelectionColor_36(L_3); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_4 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); __this->set_m_Text_37(L_4); __this->set_m_CaretBlinkRate_38((0.85f)); __this->set_m_CaretWidth_39(1); String_t* L_5 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); __this->set_m_OriginalText_59(L_5); Event_t1590224583 * L_6 = (Event_t1590224583 *)il2cpp_codegen_object_new(Event_t1590224583_il2cpp_TypeInfo_var); Event__ctor_m1609448063(L_6, /*hidden argument*/NULL); __this->set_m_ProcessingEvent_62(L_6); IL2CPP_RUNTIME_CLASS_INIT(Selectable_t3621744255_il2cpp_TypeInfo_var); Selectable__ctor_m1133588277(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::.cctor() extern Il2CppClass* CharU5BU5D_t3416858730_il2cpp_TypeInfo_var; extern Il2CppClass* InputField_t2345609593_il2cpp_TypeInfo_var; extern FieldInfo* U3CPrivateImplementationDetailsU3E_t3053238937____U24U24fieldU2D0_0_FieldInfo_var; extern const uint32_t InputField__cctor_m2017349010_MetadataUsageId; extern "C" void InputField__cctor_m2017349010 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField__cctor_m2017349010_MetadataUsageId); s_Il2CppMethodIntialized = true; } { CharU5BU5D_t3416858730* L_0 = ((CharU5BU5D_t3416858730*)SZArrayNew(CharU5BU5D_t3416858730_il2cpp_TypeInfo_var, (uint32_t)6)); RuntimeHelpers_InitializeArray_m2058365049(NULL /*static, unused*/, (Il2CppArray *)(Il2CppArray *)L_0, LoadFieldToken(U3CPrivateImplementationDetailsU3E_t3053238937____U24U24fieldU2D0_0_FieldInfo_var), /*hidden argument*/NULL); ((InputField_t2345609593_StaticFields*)InputField_t2345609593_il2cpp_TypeInfo_var->static_fields)->set_kSeparators_20(L_0); return; } } // UnityEngine.Mesh UnityEngine.UI.InputField::get_mesh() extern Il2CppClass* Mesh_t1525280346_il2cpp_TypeInfo_var; extern const uint32_t InputField_get_mesh_m2359671532_MetadataUsageId; extern "C" Mesh_t1525280346 * InputField_get_mesh_m2359671532 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_get_mesh_m2359671532_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Mesh_t1525280346 * L_0 = __this->get_m_Mesh_48(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001c; } } { Mesh_t1525280346 * L_2 = (Mesh_t1525280346 *)il2cpp_codegen_object_new(Mesh_t1525280346_il2cpp_TypeInfo_var); Mesh__ctor_m2684203808(L_2, /*hidden argument*/NULL); __this->set_m_Mesh_48(L_2); } IL_001c: { Mesh_t1525280346 * L_3 = __this->get_m_Mesh_48(); return L_3; } } // UnityEngine.TextGenerator UnityEngine.UI.InputField::get_cachedInputTextGenerator() extern Il2CppClass* TextGenerator_t2883685459_il2cpp_TypeInfo_var; extern const uint32_t InputField_get_cachedInputTextGenerator_m1093502060_MetadataUsageId; extern "C" TextGenerator_t2883685459 * InputField_get_cachedInputTextGenerator_m1093502060 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_get_cachedInputTextGenerator_m1093502060_MetadataUsageId); s_Il2CppMethodIntialized = true; } { TextGenerator_t2883685459 * L_0 = __this->get_m_InputTextCache_45(); if (L_0) { goto IL_0016; } } { TextGenerator_t2883685459 * L_1 = (TextGenerator_t2883685459 *)il2cpp_codegen_object_new(TextGenerator_t2883685459_il2cpp_TypeInfo_var); TextGenerator__ctor_m3994909811(L_1, /*hidden argument*/NULL); __this->set_m_InputTextCache_45(L_1); } IL_0016: { TextGenerator_t2883685459 * L_2 = __this->get_m_InputTextCache_45(); return L_2; } } // System.Void UnityEngine.UI.InputField::set_shouldHideMobileInput(System.Boolean) extern const MethodInfo* SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768_MethodInfo_var; extern const uint32_t InputField_set_shouldHideMobileInput_m4025452486_MetadataUsageId; extern "C" void InputField_set_shouldHideMobileInput_m4025452486 (InputField_t2345609593 * __this, bool ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_shouldHideMobileInput_m4025452486_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool* L_0 = __this->get_address_of_m_HideMobileInput_28(); bool L_1 = ___value0; SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768_MethodInfo_var); return; } } // System.Boolean UnityEngine.UI.InputField::get_shouldHideMobileInput() extern "C" bool InputField_get_shouldHideMobileInput_m3268284241 (InputField_t2345609593 * __this, const MethodInfo* method) { int32_t V_0 = 0; { int32_t L_0 = Application_get_platform_m2918632856(NULL /*static, unused*/, /*hidden argument*/NULL); V_0 = L_0; int32_t L_1 = V_0; if (((int32_t)((int32_t)L_1-(int32_t)8)) == 0) { goto IL_003b; } if (((int32_t)((int32_t)L_1-(int32_t)8)) == 1) { goto IL_001e; } if (((int32_t)((int32_t)L_1-(int32_t)8)) == 2) { goto IL_001e; } if (((int32_t)((int32_t)L_1-(int32_t)8)) == 3) { goto IL_003b; } } IL_001e: { int32_t L_2 = V_0; if ((((int32_t)L_2) == ((int32_t)((int32_t)22)))) { goto IL_003b; } } { int32_t L_3 = V_0; if ((((int32_t)L_3) == ((int32_t)((int32_t)23)))) { goto IL_003b; } } { int32_t L_4 = V_0; if ((((int32_t)L_4) == ((int32_t)((int32_t)31)))) { goto IL_003b; } } { goto IL_0042; } IL_003b: { bool L_5 = __this->get_m_HideMobileInput_28(); return L_5; } IL_0042: { return (bool)1; } } // System.Boolean UnityEngine.UI.InputField::get_shouldActivateOnSelect() extern "C" bool InputField_get_shouldActivateOnSelect_m3772452453 (InputField_t2345609593 * __this, const MethodInfo* method) { { int32_t L_0 = Application_get_platform_m2918632856(NULL /*static, unused*/, /*hidden argument*/NULL); return (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)((int32_t)31)))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.String UnityEngine.UI.InputField::get_text() extern "C" String_t* InputField_get_text_m3972300732 (InputField_t2345609593 * __this, const MethodInfo* method) { { String_t* L_0 = __this->get_m_Text_37(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_text(System.String) extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* OnValidateInput_t3303221397_il2cpp_TypeInfo_var; extern Il2CppClass* Char_t2778706699_il2cpp_TypeInfo_var; extern const MethodInfo* InputField_Validate_m4235185069_MethodInfo_var; extern const uint32_t InputField_set_text_m203843887_MetadataUsageId; extern "C" void InputField_set_text_m203843887 (InputField_t2345609593 * __this, String_t* ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_text_m203843887_MetadataUsageId); s_Il2CppMethodIntialized = true; } OnValidateInput_t3303221397 * V_0 = NULL; int32_t V_1 = 0; int32_t V_2 = 0; uint16_t V_3 = 0x0; int32_t V_4 = 0; OnValidateInput_t3303221397 * G_B6_0 = NULL; OnValidateInput_t3303221397 * G_B5_0 = NULL; int32_t G_B9_0 = 0; InputField_t2345609593 * G_B18_0 = NULL; InputField_t2345609593 * G_B16_0 = NULL; InputField_t2345609593 * G_B17_0 = NULL; String_t* G_B19_0 = NULL; InputField_t2345609593 * G_B19_1 = NULL; { String_t* L_0 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); String_t* L_1 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_2 = String_op_Equality_m1260523650(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_0012; } } { return; } IL_0012: { OnValidateInput_t3303221397 * L_3 = InputField_get_onValidateInput_m2116536287(__this, /*hidden argument*/NULL); if (L_3) { goto IL_0028; } } { int32_t L_4 = InputField_get_characterValidation_m4244038975(__this, /*hidden argument*/NULL); if (!L_4) { goto IL_00e2; } } IL_0028: { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_5 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); __this->set_m_Text_37(L_5); OnValidateInput_t3303221397 * L_6 = InputField_get_onValidateInput_m2116536287(__this, /*hidden argument*/NULL); OnValidateInput_t3303221397 * L_7 = L_6; G_B5_0 = L_7; if (L_7) { G_B6_0 = L_7; goto IL_004c; } } { IntPtr_t L_8; L_8.set_m_value_0((void*)(void*)InputField_Validate_m4235185069_MethodInfo_var); OnValidateInput_t3303221397 * L_9 = (OnValidateInput_t3303221397 *)il2cpp_codegen_object_new(OnValidateInput_t3303221397_il2cpp_TypeInfo_var); OnValidateInput__ctor_m318825293(L_9, __this, L_8, /*hidden argument*/NULL); G_B6_0 = L_9; } IL_004c: { V_0 = G_B6_0; String_t* L_10 = ___value0; NullCheck(L_10); int32_t L_11 = String_get_Length_m2979997331(L_10, /*hidden argument*/NULL); int32_t L_12 = L_11; V_4 = L_12; __this->set_m_CaretSelectPosition_42(L_12); int32_t L_13 = V_4; __this->set_m_CaretPosition_41(L_13); int32_t L_14 = InputField_get_characterLimit_m2780159932(__this, /*hidden argument*/NULL); if ((((int32_t)L_14) <= ((int32_t)0))) { goto IL_0088; } } { int32_t L_15 = InputField_get_characterLimit_m2780159932(__this, /*hidden argument*/NULL); String_t* L_16 = ___value0; NullCheck(L_16); int32_t L_17 = String_get_Length_m2979997331(L_16, /*hidden argument*/NULL); int32_t L_18 = Math_Min_m811624909(NULL /*static, unused*/, ((int32_t)((int32_t)L_15-(int32_t)1)), L_17, /*hidden argument*/NULL); G_B9_0 = L_18; goto IL_008e; } IL_0088: { String_t* L_19 = ___value0; NullCheck(L_19); int32_t L_20 = String_get_Length_m2979997331(L_19, /*hidden argument*/NULL); G_B9_0 = L_20; } IL_008e: { V_1 = G_B9_0; V_2 = 0; goto IL_00d6; } IL_0096: { OnValidateInput_t3303221397 * L_21 = V_0; String_t* L_22 = __this->get_m_Text_37(); String_t* L_23 = __this->get_m_Text_37(); NullCheck(L_23); int32_t L_24 = String_get_Length_m2979997331(L_23, /*hidden argument*/NULL); String_t* L_25 = ___value0; int32_t L_26 = V_2; NullCheck(L_25); uint16_t L_27 = String_get_Chars_m3015341861(L_25, L_26, /*hidden argument*/NULL); NullCheck(L_21); uint16_t L_28 = OnValidateInput_Invoke_m1377115157(L_21, L_22, L_24, L_27, /*hidden argument*/NULL); V_3 = L_28; uint16_t L_29 = V_3; if (!L_29) { goto IL_00d2; } } { String_t* L_30 = __this->get_m_Text_37(); uint16_t L_31 = V_3; uint16_t L_32 = L_31; Il2CppObject * L_33 = Box(Char_t2778706699_il2cpp_TypeInfo_var, &L_32); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_34 = String_Concat_m389863537(NULL /*static, unused*/, L_30, L_33, /*hidden argument*/NULL); __this->set_m_Text_37(L_34); } IL_00d2: { int32_t L_35 = V_2; V_2 = ((int32_t)((int32_t)L_35+(int32_t)1)); } IL_00d6: { int32_t L_36 = V_2; int32_t L_37 = V_1; if ((((int32_t)L_36) < ((int32_t)L_37))) { goto IL_0096; } } { goto IL_0118; } IL_00e2: { int32_t L_38 = InputField_get_characterLimit_m2780159932(__this, /*hidden argument*/NULL); G_B16_0 = __this; if ((((int32_t)L_38) <= ((int32_t)0))) { G_B18_0 = __this; goto IL_0112; } } { String_t* L_39 = ___value0; NullCheck(L_39); int32_t L_40 = String_get_Length_m2979997331(L_39, /*hidden argument*/NULL); int32_t L_41 = InputField_get_characterLimit_m2780159932(__this, /*hidden argument*/NULL); G_B17_0 = G_B16_0; if ((((int32_t)L_40) <= ((int32_t)L_41))) { G_B18_0 = G_B16_0; goto IL_0112; } } { String_t* L_42 = ___value0; int32_t L_43 = InputField_get_characterLimit_m2780159932(__this, /*hidden argument*/NULL); NullCheck(L_42); String_t* L_44 = String_Substring_m675079568(L_42, 0, L_43, /*hidden argument*/NULL); G_B19_0 = L_44; G_B19_1 = G_B17_0; goto IL_0113; } IL_0112: { String_t* L_45 = ___value0; G_B19_0 = L_45; G_B19_1 = G_B18_0; } IL_0113: { NullCheck(G_B19_1); G_B19_1->set_m_Text_37(G_B19_0); } IL_0118: { TouchScreenKeyboard_t2269718975 * L_46 = __this->get_m_Keyboard_19(); if (!L_46) { goto IL_0134; } } { TouchScreenKeyboard_t2269718975 * L_47 = __this->get_m_Keyboard_19(); String_t* L_48 = __this->get_m_Text_37(); NullCheck(L_47); TouchScreenKeyboard_set_text_m1654889403(L_47, L_48, /*hidden argument*/NULL); } IL_0134: { int32_t L_49 = __this->get_m_CaretPosition_41(); String_t* L_50 = __this->get_m_Text_37(); NullCheck(L_50); int32_t L_51 = String_get_Length_m2979997331(L_50, /*hidden argument*/NULL); if ((((int32_t)L_49) <= ((int32_t)L_51))) { goto IL_0166; } } { String_t* L_52 = __this->get_m_Text_37(); NullCheck(L_52); int32_t L_53 = String_get_Length_m2979997331(L_52, /*hidden argument*/NULL); int32_t L_54 = L_53; V_4 = L_54; __this->set_m_CaretSelectPosition_42(L_54); int32_t L_55 = V_4; __this->set_m_CaretPosition_41(L_55); } IL_0166: { InputField_SendOnValueChangedAndUpdateLabel_m3331240455(__this, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.UI.InputField::get_isFocused() extern "C" bool InputField_get_isFocused_m1249071051 (InputField_t2345609593 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_AllowInput_49(); return L_0; } } // System.Single UnityEngine.UI.InputField::get_caretBlinkRate() extern "C" float InputField_get_caretBlinkRate_m3180928607 (InputField_t2345609593 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_CaretBlinkRate_38(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_caretBlinkRate(System.Single) extern const MethodInfo* SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var; extern const uint32_t InputField_set_caretBlinkRate_m3976284076_MetadataUsageId; extern "C" void InputField_set_caretBlinkRate_m3976284076 (InputField_t2345609593 * __this, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_caretBlinkRate_m3976284076_MetadataUsageId); s_Il2CppMethodIntialized = true; } { float* L_0 = __this->get_address_of_m_CaretBlinkRate_38(); float L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var); if (!L_2) { goto IL_0022; } } { bool L_3 = __this->get_m_AllowInput_49(); if (!L_3) { goto IL_0022; } } { InputField_SetCaretActive_m1463120(__this, /*hidden argument*/NULL); } IL_0022: { return; } } // System.Int32 UnityEngine.UI.InputField::get_caretWidth() extern "C" int32_t InputField_get_caretWidth_m168198637 (InputField_t2345609593 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_CaretWidth_39(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_caretWidth(System.Int32) extern const MethodInfo* SetPropertyUtility_SetStruct_TisInt32_t2847414787_m3219417906_MethodInfo_var; extern const uint32_t InputField_set_caretWidth_m566265370_MetadataUsageId; extern "C" void InputField_set_caretWidth_m566265370 (InputField_t2345609593 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_caretWidth_m566265370_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_CaretWidth_39(); int32_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisInt32_t2847414787_m3219417906(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisInt32_t2847414787_m3219417906_MethodInfo_var); if (!L_2) { goto IL_0017; } } { InputField_MarkGeometryAsDirty_m178860986(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // UnityEngine.UI.Text UnityEngine.UI.InputField::get_textComponent() extern "C" Text_t3286458198 * InputField_get_textComponent_m2329519363 (InputField_t2345609593 * __this, const MethodInfo* method) { { Text_t3286458198 * L_0 = __this->get_m_TextComponent_21(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_textComponent(UnityEngine.UI.Text) extern const MethodInfo* SetPropertyUtility_SetClass_TisText_t3286458198_m3467566748_MethodInfo_var; extern const uint32_t InputField_set_textComponent_m4116377302_MetadataUsageId; extern "C" void InputField_set_textComponent_m4116377302 (InputField_t2345609593 * __this, Text_t3286458198 * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_textComponent_m4116377302_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Text_t3286458198 ** L_0 = __this->get_address_of_m_TextComponent_21(); Text_t3286458198 * L_1 = ___value0; SetPropertyUtility_SetClass_TisText_t3286458198_m3467566748(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetClass_TisText_t3286458198_m3467566748_MethodInfo_var); return; } } // UnityEngine.UI.Graphic UnityEngine.UI.InputField::get_placeholder() extern "C" Graphic_t933884113 * InputField_get_placeholder_m1494472373 (InputField_t2345609593 * __this, const MethodInfo* method) { { Graphic_t933884113 * L_0 = __this->get_m_Placeholder_22(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_placeholder(UnityEngine.UI.Graphic) extern const MethodInfo* SetPropertyUtility_SetClass_TisGraphic_t933884113_m4232752825_MethodInfo_var; extern const uint32_t InputField_set_placeholder_m1981544106_MetadataUsageId; extern "C" void InputField_set_placeholder_m1981544106 (InputField_t2345609593 * __this, Graphic_t933884113 * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_placeholder_m1981544106_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Graphic_t933884113 ** L_0 = __this->get_address_of_m_Placeholder_22(); Graphic_t933884113 * L_1 = ___value0; SetPropertyUtility_SetClass_TisGraphic_t933884113_m4232752825(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetClass_TisGraphic_t933884113_m4232752825_MethodInfo_var); return; } } // UnityEngine.Color UnityEngine.UI.InputField::get_caretColor() extern "C" Color_t1588175760 InputField_get_caretColor_m3643265483 (InputField_t2345609593 * __this, const MethodInfo* method) { Color_t1588175760 G_B3_0; memset(&G_B3_0, 0, sizeof(G_B3_0)); { bool L_0 = InputField_get_customCaretColor_m15835893(__this, /*hidden argument*/NULL); if (!L_0) { goto IL_0016; } } { Color_t1588175760 L_1 = __this->get_m_CaretColor_34(); G_B3_0 = L_1; goto IL_0021; } IL_0016: { Text_t3286458198 * L_2 = InputField_get_textComponent_m2329519363(__this, /*hidden argument*/NULL); NullCheck(L_2); Color_t1588175760 L_3 = Graphic_get_color_m2048831972(L_2, /*hidden argument*/NULL); G_B3_0 = L_3; } IL_0021: { return G_B3_0; } } // System.Void UnityEngine.UI.InputField::set_caretColor(UnityEngine.Color) extern "C" void InputField_set_caretColor_m1187620416 (InputField_t2345609593 * __this, Color_t1588175760 ___value0, const MethodInfo* method) { { Color_t1588175760 * L_0 = __this->get_address_of_m_CaretColor_34(); Color_t1588175760 L_1 = ___value0; bool L_2 = SetPropertyUtility_SetColor_m4210708935(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_0017; } } { InputField_MarkGeometryAsDirty_m178860986(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // System.Boolean UnityEngine.UI.InputField::get_customCaretColor() extern "C" bool InputField_get_customCaretColor_m15835893 (InputField_t2345609593 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_CustomCaretColor_35(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_customCaretColor(System.Boolean) extern "C" void InputField_set_customCaretColor_m2443486254 (InputField_t2345609593 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = __this->get_m_CustomCaretColor_35(); bool L_1 = ___value0; if ((((int32_t)L_0) == ((int32_t)L_1))) { goto IL_0019; } } { bool L_2 = ___value0; __this->set_m_CustomCaretColor_35(L_2); InputField_MarkGeometryAsDirty_m178860986(__this, /*hidden argument*/NULL); } IL_0019: { return; } } // UnityEngine.Color UnityEngine.UI.InputField::get_selectionColor() extern "C" Color_t1588175760 InputField_get_selectionColor_m240252578 (InputField_t2345609593 * __this, const MethodInfo* method) { { Color_t1588175760 L_0 = __this->get_m_SelectionColor_36(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_selectionColor(UnityEngine.Color) extern "C" void InputField_set_selectionColor_m1343496137 (InputField_t2345609593 * __this, Color_t1588175760 ___value0, const MethodInfo* method) { { Color_t1588175760 * L_0 = __this->get_address_of_m_SelectionColor_36(); Color_t1588175760 L_1 = ___value0; bool L_2 = SetPropertyUtility_SetColor_m4210708935(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL); if (!L_2) { goto IL_0017; } } { InputField_MarkGeometryAsDirty_m178860986(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // UnityEngine.UI.InputField/SubmitEvent UnityEngine.UI.InputField::get_onEndEdit() extern "C" SubmitEvent_t1697462594 * InputField_get_onEndEdit_m3802925699 (InputField_t2345609593 * __this, const MethodInfo* method) { { SubmitEvent_t1697462594 * L_0 = __this->get_m_OnEndEdit_31(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_onEndEdit(UnityEngine.UI.InputField/SubmitEvent) extern const MethodInfo* SetPropertyUtility_SetClass_TisSubmitEvent_t1697462594_m2813455366_MethodInfo_var; extern const uint32_t InputField_set_onEndEdit_m2414983338_MetadataUsageId; extern "C" void InputField_set_onEndEdit_m2414983338 (InputField_t2345609593 * __this, SubmitEvent_t1697462594 * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_onEndEdit_m2414983338_MetadataUsageId); s_Il2CppMethodIntialized = true; } { SubmitEvent_t1697462594 ** L_0 = __this->get_address_of_m_OnEndEdit_31(); SubmitEvent_t1697462594 * L_1 = ___value0; SetPropertyUtility_SetClass_TisSubmitEvent_t1697462594_m2813455366(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetClass_TisSubmitEvent_t1697462594_m2813455366_MethodInfo_var); return; } } // UnityEngine.UI.InputField/OnChangeEvent UnityEngine.UI.InputField::get_onValueChange() extern "C" OnChangeEvent_t3894605131 * InputField_get_onValueChange_m2707279446 (InputField_t2345609593 * __this, const MethodInfo* method) { { OnChangeEvent_t3894605131 * L_0 = InputField_get_onValueChanged_m2321341872(__this, /*hidden argument*/NULL); return L_0; } } // System.Void UnityEngine.UI.InputField::set_onValueChange(UnityEngine.UI.InputField/OnChangeEvent) extern "C" void InputField_set_onValueChange_m1682014085 (InputField_t2345609593 * __this, OnChangeEvent_t3894605131 * ___value0, const MethodInfo* method) { { OnChangeEvent_t3894605131 * L_0 = ___value0; InputField_set_onValueChanged_m3205399099(__this, L_0, /*hidden argument*/NULL); return; } } // UnityEngine.UI.InputField/OnChangeEvent UnityEngine.UI.InputField::get_onValueChanged() extern "C" OnChangeEvent_t3894605131 * InputField_get_onValueChanged_m2321341872 (InputField_t2345609593 * __this, const MethodInfo* method) { { OnChangeEvent_t3894605131 * L_0 = __this->get_m_OnValueChanged_32(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_onValueChanged(UnityEngine.UI.InputField/OnChangeEvent) extern const MethodInfo* SetPropertyUtility_SetClass_TisOnChangeEvent_t3894605131_m3330853789_MethodInfo_var; extern const uint32_t InputField_set_onValueChanged_m3205399099_MetadataUsageId; extern "C" void InputField_set_onValueChanged_m3205399099 (InputField_t2345609593 * __this, OnChangeEvent_t3894605131 * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_onValueChanged_m3205399099_MetadataUsageId); s_Il2CppMethodIntialized = true; } { OnChangeEvent_t3894605131 ** L_0 = __this->get_address_of_m_OnValueChanged_32(); OnChangeEvent_t3894605131 * L_1 = ___value0; SetPropertyUtility_SetClass_TisOnChangeEvent_t3894605131_m3330853789(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetClass_TisOnChangeEvent_t3894605131_m3330853789_MethodInfo_var); return; } } // UnityEngine.UI.InputField/OnValidateInput UnityEngine.UI.InputField::get_onValidateInput() extern "C" OnValidateInput_t3303221397 * InputField_get_onValidateInput_m2116536287 (InputField_t2345609593 * __this, const MethodInfo* method) { { OnValidateInput_t3303221397 * L_0 = __this->get_m_OnValidateInput_33(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_onValidateInput(UnityEngine.UI.InputField/OnValidateInput) extern const MethodInfo* SetPropertyUtility_SetClass_TisOnValidateInput_t3303221397_m1336541523_MethodInfo_var; extern const uint32_t InputField_set_onValidateInput_m1603970312_MetadataUsageId; extern "C" void InputField_set_onValidateInput_m1603970312 (InputField_t2345609593 * __this, OnValidateInput_t3303221397 * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_onValidateInput_m1603970312_MetadataUsageId); s_Il2CppMethodIntialized = true; } { OnValidateInput_t3303221397 ** L_0 = __this->get_address_of_m_OnValidateInput_33(); OnValidateInput_t3303221397 * L_1 = ___value0; SetPropertyUtility_SetClass_TisOnValidateInput_t3303221397_m1336541523(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetClass_TisOnValidateInput_t3303221397_m1336541523_MethodInfo_var); return; } } // System.Int32 UnityEngine.UI.InputField::get_characterLimit() extern "C" int32_t InputField_get_characterLimit_m2780159932 (InputField_t2345609593 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_CharacterLimit_30(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_characterLimit(System.Int32) extern const MethodInfo* SetPropertyUtility_SetStruct_TisInt32_t2847414787_m3219417906_MethodInfo_var; extern const uint32_t InputField_set_characterLimit_m1004148585_MetadataUsageId; extern "C" void InputField_set_characterLimit_m1004148585 (InputField_t2345609593 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_characterLimit_m1004148585_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_CharacterLimit_30(); int32_t L_1 = ___value0; int32_t L_2 = Math_Max_m1309380475(NULL /*static, unused*/, 0, L_1, /*hidden argument*/NULL); bool L_3 = SetPropertyUtility_SetStruct_TisInt32_t2847414787_m3219417906(NULL /*static, unused*/, L_0, L_2, /*hidden argument*/SetPropertyUtility_SetStruct_TisInt32_t2847414787_m3219417906_MethodInfo_var); if (!L_3) { goto IL_001d; } } { InputField_UpdateLabel_m4272237956(__this, /*hidden argument*/NULL); } IL_001d: { return; } } // UnityEngine.UI.InputField/ContentType UnityEngine.UI.InputField::get_contentType() extern "C" int32_t InputField_get_contentType_m1921772191 (InputField_t2345609593 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_ContentType_23(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_contentType(UnityEngine.UI.InputField/ContentType) extern const MethodInfo* SetPropertyUtility_SetStruct_TisContentType_t1278737203_m3459087122_MethodInfo_var; extern const uint32_t InputField_set_contentType_m831644236_MetadataUsageId; extern "C" void InputField_set_contentType_m831644236 (InputField_t2345609593 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_contentType_m831644236_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_ContentType_23(); int32_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisContentType_t1278737203_m3459087122(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisContentType_t1278737203_m3459087122_MethodInfo_var); if (!L_2) { goto IL_0017; } } { InputField_EnforceContentType_m4178225210(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // UnityEngine.UI.InputField/LineType UnityEngine.UI.InputField::get_lineType() extern "C" int32_t InputField_get_lineType_m3024149779 (InputField_t2345609593 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_LineType_27(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_lineType(UnityEngine.UI.InputField/LineType) extern Il2CppClass* ContentTypeU5BU5D_t2225613474_il2cpp_TypeInfo_var; extern const MethodInfo* SetPropertyUtility_SetStruct_TisLineType_t1253309806_m1761448119_MethodInfo_var; extern const uint32_t InputField_set_lineType_m2862985194_MetadataUsageId; extern "C" void InputField_set_lineType_m2862985194 (InputField_t2345609593 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_lineType_m2862985194_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_LineType_27(); int32_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisLineType_t1253309806_m1761448119(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisLineType_t1253309806_m1761448119_MethodInfo_var); if (!L_2) { goto IL_0021; } } { ContentTypeU5BU5D_t2225613474* L_3 = ((ContentTypeU5BU5D_t2225613474*)SZArrayNew(ContentTypeU5BU5D_t2225613474_il2cpp_TypeInfo_var, (uint32_t)2)); NullCheck(L_3); IL2CPP_ARRAY_BOUNDS_CHECK(L_3, 1); (L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (int32_t)1); InputField_SetToCustomIfContentTypeIsNot_m1700869631(__this, L_3, /*hidden argument*/NULL); } IL_0021: { return; } } // UnityEngine.UI.InputField/InputType UnityEngine.UI.InputField::get_inputType() extern "C" int32_t InputField_get_inputType_m2348834559 (InputField_t2345609593 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_InputType_24(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_inputType(UnityEngine.UI.InputField/InputType) extern const MethodInfo* SetPropertyUtility_SetStruct_TisInputType_t3710944772_m2495306657_MethodInfo_var; extern const uint32_t InputField_set_inputType_m3518963754_MetadataUsageId; extern "C" void InputField_set_inputType_m3518963754 (InputField_t2345609593 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_inputType_m3518963754_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_InputType_24(); int32_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisInputType_t3710944772_m2495306657(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisInputType_t3710944772_m2495306657_MethodInfo_var); if (!L_2) { goto IL_0017; } } { InputField_SetToCustom_m2598912359(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // UnityEngine.TouchScreenKeyboardType UnityEngine.UI.InputField::get_keyboardType() extern "C" int32_t InputField_get_keyboardType_m682150197 (InputField_t2345609593 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_KeyboardType_26(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_keyboardType(UnityEngine.TouchScreenKeyboardType) extern const MethodInfo* SetPropertyUtility_SetStruct_TisTouchScreenKeyboardType_t1816994841_m1392536308_MethodInfo_var; extern const uint32_t InputField_set_keyboardType_m2584868886_MetadataUsageId; extern "C" void InputField_set_keyboardType_m2584868886 (InputField_t2345609593 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_keyboardType_m2584868886_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_KeyboardType_26(); int32_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisTouchScreenKeyboardType_t1816994841_m1392536308(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisTouchScreenKeyboardType_t1816994841_m1392536308_MethodInfo_var); if (!L_2) { goto IL_0017; } } { InputField_SetToCustom_m2598912359(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // UnityEngine.UI.InputField/CharacterValidation UnityEngine.UI.InputField::get_characterValidation() extern "C" int32_t InputField_get_characterValidation_m4244038975 (InputField_t2345609593 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_CharacterValidation_29(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_characterValidation(UnityEngine.UI.InputField/CharacterValidation) extern const MethodInfo* SetPropertyUtility_SetStruct_TisCharacterValidation_t4120610914_m3080620675_MethodInfo_var; extern const uint32_t InputField_set_characterValidation_m3783277294_MetadataUsageId; extern "C" void InputField_set_characterValidation_m3783277294 (InputField_t2345609593 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_characterValidation_m3783277294_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_CharacterValidation_29(); int32_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisCharacterValidation_t4120610914_m3080620675(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisCharacterValidation_t4120610914_m3080620675_MethodInfo_var); if (!L_2) { goto IL_0017; } } { InputField_SetToCustom_m2598912359(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // System.Boolean UnityEngine.UI.InputField::get_readOnly() extern "C" bool InputField_get_readOnly_m991875110 (InputField_t2345609593 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_ReadOnly_40(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_readOnly(System.Boolean) extern "C" void InputField_set_readOnly_m1486621087 (InputField_t2345609593 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = ___value0; __this->set_m_ReadOnly_40(L_0); return; } } // System.Boolean UnityEngine.UI.InputField::get_multiLine() extern "C" bool InputField_get_multiLine_m2265790891 (InputField_t2345609593 * __this, const MethodInfo* method) { int32_t G_B3_0 = 0; { int32_t L_0 = __this->get_m_LineType_27(); if ((((int32_t)L_0) == ((int32_t)2))) { goto IL_0017; } } { int32_t L_1 = InputField_get_lineType_m3024149779(__this, /*hidden argument*/NULL); G_B3_0 = ((((int32_t)L_1) == ((int32_t)1))? 1 : 0); goto IL_0018; } IL_0017: { G_B3_0 = 1; } IL_0018: { return (bool)G_B3_0; } } // System.Char UnityEngine.UI.InputField::get_asteriskChar() extern "C" uint16_t InputField_get_asteriskChar_m3297406588 (InputField_t2345609593 * __this, const MethodInfo* method) { { uint16_t L_0 = __this->get_m_AsteriskChar_25(); return L_0; } } // System.Void UnityEngine.UI.InputField::set_asteriskChar(System.Char) extern const MethodInfo* SetPropertyUtility_SetStruct_TisChar_t2778706699_m1002094612_MethodInfo_var; extern const uint32_t InputField_set_asteriskChar_m353877103_MetadataUsageId; extern "C" void InputField_set_asteriskChar_m353877103 (InputField_t2345609593 * __this, uint16_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_asteriskChar_m353877103_MetadataUsageId); s_Il2CppMethodIntialized = true; } { uint16_t* L_0 = __this->get_address_of_m_AsteriskChar_25(); uint16_t L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisChar_t2778706699_m1002094612(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisChar_t2778706699_m1002094612_MethodInfo_var); if (!L_2) { goto IL_0017; } } { InputField_UpdateLabel_m4272237956(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // System.Boolean UnityEngine.UI.InputField::get_wasCanceled() extern "C" bool InputField_get_wasCanceled_m3717712640 (InputField_t2345609593 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_WasCanceled_60(); return L_0; } } // System.Void UnityEngine.UI.InputField::ClampPos(System.Int32&) extern "C" void InputField_ClampPos_m1654447641 (InputField_t2345609593 * __this, int32_t* ___pos0, const MethodInfo* method) { { int32_t* L_0 = ___pos0; if ((((int32_t)(*((int32_t*)L_0))) >= ((int32_t)0))) { goto IL_0010; } } { int32_t* L_1 = ___pos0; *((int32_t*)(L_1)) = (int32_t)0; goto IL_002f; } IL_0010: { int32_t* L_2 = ___pos0; String_t* L_3 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_3); int32_t L_4 = String_get_Length_m2979997331(L_3, /*hidden argument*/NULL); if ((((int32_t)(*((int32_t*)L_2))) <= ((int32_t)L_4))) { goto IL_002f; } } { int32_t* L_5 = ___pos0; String_t* L_6 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_6); int32_t L_7 = String_get_Length_m2979997331(L_6, /*hidden argument*/NULL); *((int32_t*)(L_5)) = (int32_t)L_7; } IL_002f: { return; } } // System.Int32 UnityEngine.UI.InputField::get_caretPositionInternal() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t InputField_get_caretPositionInternal_m1805548065_MetadataUsageId; extern "C" int32_t InputField_get_caretPositionInternal_m1805548065 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_get_caretPositionInternal_m1805548065_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t L_0 = __this->get_m_CaretPosition_41(); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); String_t* L_1 = Input_get_compositionString_m1541052002(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_1); int32_t L_2 = String_get_Length_m2979997331(L_1, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_0+(int32_t)L_2)); } } // System.Void UnityEngine.UI.InputField::set_caretPositionInternal(System.Int32) extern "C" void InputField_set_caretPositionInternal_m3521473046 (InputField_t2345609593 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_CaretPosition_41(L_0); int32_t* L_1 = __this->get_address_of_m_CaretPosition_41(); InputField_ClampPos_m1654447641(__this, L_1, /*hidden argument*/NULL); return; } } // System.Int32 UnityEngine.UI.InputField::get_caretSelectPositionInternal() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t InputField_get_caretSelectPositionInternal_m2541357245_MetadataUsageId; extern "C" int32_t InputField_get_caretSelectPositionInternal_m2541357245 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_get_caretSelectPositionInternal_m2541357245_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t L_0 = __this->get_m_CaretSelectPosition_42(); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); String_t* L_1 = Input_get_compositionString_m1541052002(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_1); int32_t L_2 = String_get_Length_m2979997331(L_1, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_0+(int32_t)L_2)); } } // System.Void UnityEngine.UI.InputField::set_caretSelectPositionInternal(System.Int32) extern "C" void InputField_set_caretSelectPositionInternal_m4114170802 (InputField_t2345609593 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; __this->set_m_CaretSelectPosition_42(L_0); int32_t* L_1 = __this->get_address_of_m_CaretSelectPosition_42(); InputField_ClampPos_m1654447641(__this, L_1, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.UI.InputField::get_hasSelection() extern "C" bool InputField_get_hasSelection_m69592150 (InputField_t2345609593 * __this, const MethodInfo* method) { { int32_t L_0 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); int32_t L_1 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); return (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)L_1))? 1 : 0)) == ((int32_t)0))? 1 : 0); } } // System.Int32 UnityEngine.UI.InputField::get_caretPosition() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t InputField_get_caretPosition_m1600046468_MetadataUsageId; extern "C" int32_t InputField_get_caretPosition_m1600046468 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_get_caretPosition_m1600046468_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t L_0 = __this->get_m_CaretSelectPosition_42(); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); String_t* L_1 = Input_get_compositionString_m1541052002(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_1); int32_t L_2 = String_get_Length_m2979997331(L_1, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_0+(int32_t)L_2)); } } // System.Void UnityEngine.UI.InputField::set_caretPosition(System.Int32) extern "C" void InputField_set_caretPosition_m417406201 (InputField_t2345609593 * __this, int32_t ___value0, const MethodInfo* method) { { int32_t L_0 = ___value0; InputField_set_selectionAnchorPosition_m4265241751(__this, L_0, /*hidden argument*/NULL); int32_t L_1 = ___value0; InputField_set_selectionFocusPosition_m3645383436(__this, L_1, /*hidden argument*/NULL); return; } } // System.Int32 UnityEngine.UI.InputField::get_selectionAnchorPosition() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t InputField_get_selectionAnchorPosition_m3946868514_MetadataUsageId; extern "C" int32_t InputField_get_selectionAnchorPosition_m3946868514 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_get_selectionAnchorPosition_m3946868514_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t L_0 = __this->get_m_CaretPosition_41(); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); String_t* L_1 = Input_get_compositionString_m1541052002(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_1); int32_t L_2 = String_get_Length_m2979997331(L_1, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_0+(int32_t)L_2)); } } // System.Void UnityEngine.UI.InputField::set_selectionAnchorPosition(System.Int32) extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t InputField_set_selectionAnchorPosition_m4265241751_MetadataUsageId; extern "C" void InputField_set_selectionAnchorPosition_m4265241751 (InputField_t2345609593 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_selectionAnchorPosition_m4265241751_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); String_t* L_0 = Input_get_compositionString_m1541052002(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_0); int32_t L_1 = String_get_Length_m2979997331(L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_0010; } } { return; } IL_0010: { int32_t L_2 = ___value0; __this->set_m_CaretPosition_41(L_2); int32_t* L_3 = __this->get_address_of_m_CaretPosition_41(); InputField_ClampPos_m1654447641(__this, L_3, /*hidden argument*/NULL); return; } } // System.Int32 UnityEngine.UI.InputField::get_selectionFocusPosition() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t InputField_get_selectionFocusPosition_m3487835103_MetadataUsageId; extern "C" int32_t InputField_get_selectionFocusPosition_m3487835103 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_get_selectionFocusPosition_m3487835103_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t L_0 = __this->get_m_CaretSelectPosition_42(); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); String_t* L_1 = Input_get_compositionString_m1541052002(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_1); int32_t L_2 = String_get_Length_m2979997331(L_1, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_0+(int32_t)L_2)); } } // System.Void UnityEngine.UI.InputField::set_selectionFocusPosition(System.Int32) extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t InputField_set_selectionFocusPosition_m3645383436_MetadataUsageId; extern "C" void InputField_set_selectionFocusPosition_m3645383436 (InputField_t2345609593 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_selectionFocusPosition_m3645383436_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); String_t* L_0 = Input_get_compositionString_m1541052002(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_0); int32_t L_1 = String_get_Length_m2979997331(L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_0010; } } { return; } IL_0010: { int32_t L_2 = ___value0; __this->set_m_CaretSelectPosition_42(L_2); int32_t* L_3 = __this->get_address_of_m_CaretSelectPosition_42(); InputField_ClampPos_m1654447641(__this, L_3, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::OnEnable() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern Il2CppClass* UnityAction_t909267611_il2cpp_TypeInfo_var; extern const MethodInfo* InputField_MarkGeometryAsDirty_m178860986_MethodInfo_var; extern const MethodInfo* InputField_UpdateLabel_m4272237956_MethodInfo_var; extern const uint32_t InputField_OnEnable_m3151717419_MetadataUsageId; extern "C" void InputField_OnEnable_m3151717419 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_OnEnable_m3151717419_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Selectable_OnEnable_m1472090161(__this, /*hidden argument*/NULL); String_t* L_0 = __this->get_m_Text_37(); if (L_0) { goto IL_001c; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_1 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); __this->set_m_Text_37(L_1); } IL_001c: { __this->set_m_DrawStart_56(0); String_t* L_2 = __this->get_m_Text_37(); NullCheck(L_2); int32_t L_3 = String_get_Length_m2979997331(L_2, /*hidden argument*/NULL); __this->set_m_DrawEnd_57(L_3); CanvasRenderer_t3626201768 * L_4 = __this->get_m_CachedInputRenderer_46(); bool L_5 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_4, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_5) { goto IL_005a; } } { CanvasRenderer_t3626201768 * L_6 = __this->get_m_CachedInputRenderer_46(); IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Material_t1886596500 * L_7 = Graphic_get_defaultGraphicMaterial_m456140641(NULL /*static, unused*/, /*hidden argument*/NULL); Texture2D_t2509538522 * L_8 = Texture2D_get_whiteTexture_m1214146742(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_6); CanvasRenderer_SetMaterial_m1603188579(L_6, L_7, L_8, /*hidden argument*/NULL); } IL_005a: { Text_t3286458198 * L_9 = __this->get_m_TextComponent_21(); bool L_10 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_9, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_10) { goto IL_009f; } } { Text_t3286458198 * L_11 = __this->get_m_TextComponent_21(); IntPtr_t L_12; L_12.set_m_value_0((void*)(void*)InputField_MarkGeometryAsDirty_m178860986_MethodInfo_var); UnityAction_t909267611 * L_13 = (UnityAction_t909267611 *)il2cpp_codegen_object_new(UnityAction_t909267611_il2cpp_TypeInfo_var); UnityAction__ctor_m4130179243(L_13, __this, L_12, /*hidden argument*/NULL); NullCheck(L_11); Graphic_RegisterDirtyVerticesCallback_m1901460593(L_11, L_13, /*hidden argument*/NULL); Text_t3286458198 * L_14 = __this->get_m_TextComponent_21(); IntPtr_t L_15; L_15.set_m_value_0((void*)(void*)InputField_UpdateLabel_m4272237956_MethodInfo_var); UnityAction_t909267611 * L_16 = (UnityAction_t909267611 *)il2cpp_codegen_object_new(UnityAction_t909267611_il2cpp_TypeInfo_var); UnityAction__ctor_m4130179243(L_16, __this, L_15, /*hidden argument*/NULL); NullCheck(L_14); Graphic_RegisterDirtyVerticesCallback_m1901460593(L_14, L_16, /*hidden argument*/NULL); InputField_UpdateLabel_m4272237956(__this, /*hidden argument*/NULL); } IL_009f: { return; } } // System.Void UnityEngine.UI.InputField::OnDisable() extern Il2CppClass* UnityAction_t909267611_il2cpp_TypeInfo_var; extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const MethodInfo* InputField_MarkGeometryAsDirty_m178860986_MethodInfo_var; extern const MethodInfo* InputField_UpdateLabel_m4272237956_MethodInfo_var; extern const uint32_t InputField_OnDisable_m3654896738_MetadataUsageId; extern "C" void InputField_OnDisable_m3654896738 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_OnDisable_m3654896738_MetadataUsageId); s_Il2CppMethodIntialized = true; } { __this->set_m_BlinkCoroutine_54((Coroutine_t2246592261 *)NULL); InputField_DeactivateInputField_m2310323789(__this, /*hidden argument*/NULL); Text_t3286458198 * L_0 = __this->get_m_TextComponent_21(); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_004c; } } { Text_t3286458198 * L_2 = __this->get_m_TextComponent_21(); IntPtr_t L_3; L_3.set_m_value_0((void*)(void*)InputField_MarkGeometryAsDirty_m178860986_MethodInfo_var); UnityAction_t909267611 * L_4 = (UnityAction_t909267611 *)il2cpp_codegen_object_new(UnityAction_t909267611_il2cpp_TypeInfo_var); UnityAction__ctor_m4130179243(L_4, __this, L_3, /*hidden argument*/NULL); NullCheck(L_2); Graphic_UnregisterDirtyVerticesCallback_m3291531384(L_2, L_4, /*hidden argument*/NULL); Text_t3286458198 * L_5 = __this->get_m_TextComponent_21(); IntPtr_t L_6; L_6.set_m_value_0((void*)(void*)InputField_UpdateLabel_m4272237956_MethodInfo_var); UnityAction_t909267611 * L_7 = (UnityAction_t909267611 *)il2cpp_codegen_object_new(UnityAction_t909267611_il2cpp_TypeInfo_var); UnityAction__ctor_m4130179243(L_7, __this, L_6, /*hidden argument*/NULL); NullCheck(L_5); Graphic_UnregisterDirtyVerticesCallback_m3291531384(L_5, L_7, /*hidden argument*/NULL); } IL_004c: { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_UnRegisterCanvasElementForRebuild_m2188113711(NULL /*static, unused*/, __this, /*hidden argument*/NULL); CanvasRenderer_t3626201768 * L_8 = __this->get_m_CachedInputRenderer_46(); bool L_9 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_8, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_9) { goto IL_006e; } } { CanvasRenderer_t3626201768 * L_10 = __this->get_m_CachedInputRenderer_46(); NullCheck(L_10); CanvasRenderer_Clear_m1606508093(L_10, /*hidden argument*/NULL); } IL_006e: { Mesh_t1525280346 * L_11 = __this->get_m_Mesh_48(); bool L_12 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_11, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_12) { goto IL_008a; } } { Mesh_t1525280346 * L_13 = __this->get_m_Mesh_48(); Object_DestroyImmediate_m349958679(NULL /*static, unused*/, L_13, /*hidden argument*/NULL); } IL_008a: { __this->set_m_Mesh_48((Mesh_t1525280346 *)NULL); Selectable_OnDisable_m3126059292(__this, /*hidden argument*/NULL); return; } } // System.Collections.IEnumerator UnityEngine.UI.InputField::CaretBlink() extern Il2CppClass* U3CCaretBlinkU3Ec__Iterator3_t2286509995_il2cpp_TypeInfo_var; extern const uint32_t InputField_CaretBlink_m3410390944_MetadataUsageId; extern "C" Il2CppObject * InputField_CaretBlink_m3410390944 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_CaretBlink_m3410390944_MetadataUsageId); s_Il2CppMethodIntialized = true; } U3CCaretBlinkU3Ec__Iterator3_t2286509995 * V_0 = NULL; { U3CCaretBlinkU3Ec__Iterator3_t2286509995 * L_0 = (U3CCaretBlinkU3Ec__Iterator3_t2286509995 *)il2cpp_codegen_object_new(U3CCaretBlinkU3Ec__Iterator3_t2286509995_il2cpp_TypeInfo_var); U3CCaretBlinkU3Ec__Iterator3__ctor_m1860697329(L_0, /*hidden argument*/NULL); V_0 = L_0; U3CCaretBlinkU3Ec__Iterator3_t2286509995 * L_1 = V_0; NullCheck(L_1); L_1->set_U3CU3Ef__this_4(__this); U3CCaretBlinkU3Ec__Iterator3_t2286509995 * L_2 = V_0; return L_2; } } // System.Void UnityEngine.UI.InputField::SetCaretVisible() extern "C" void InputField_SetCaretVisible_m1704739146 (InputField_t2345609593 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_AllowInput_49(); if (L_0) { goto IL_000c; } } { return; } IL_000c: { __this->set_m_CaretVisible_53((bool)1); float L_1 = Time_get_unscaledTime_m319114521(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_m_BlinkStartTime_55(L_1); InputField_SetCaretActive_m1463120(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::SetCaretActive() extern "C" void InputField_SetCaretActive_m1463120 (InputField_t2345609593 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_AllowInput_49(); if (L_0) { goto IL_000c; } } { return; } IL_000c: { float L_1 = __this->get_m_CaretBlinkRate_38(); if ((!(((float)L_1) > ((float)(0.0f))))) { goto IL_003e; } } { Coroutine_t2246592261 * L_2 = __this->get_m_BlinkCoroutine_54(); if (L_2) { goto IL_0039; } } { Il2CppObject * L_3 = InputField_CaretBlink_m3410390944(__this, /*hidden argument*/NULL); Coroutine_t2246592261 * L_4 = MonoBehaviour_StartCoroutine_m2135303124(__this, L_3, /*hidden argument*/NULL); __this->set_m_BlinkCoroutine_54(L_4); } IL_0039: { goto IL_0045; } IL_003e: { __this->set_m_CaretVisible_53((bool)1); } IL_0045: { return; } } // System.Void UnityEngine.UI.InputField::OnFocus() extern "C" void InputField_OnFocus_m466029714 (InputField_t2345609593 * __this, const MethodInfo* method) { { InputField_SelectAll_m4063966302(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::SelectAll() extern "C" void InputField_SelectAll_m4063966302 (InputField_t2345609593 * __this, const MethodInfo* method) { { String_t* L_0 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_0); int32_t L_1 = String_get_Length_m2979997331(L_0, /*hidden argument*/NULL); InputField_set_caretPositionInternal_m3521473046(__this, L_1, /*hidden argument*/NULL); InputField_set_caretSelectPositionInternal_m4114170802(__this, 0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::MoveTextEnd(System.Boolean) extern "C" void InputField_MoveTextEnd_m2126814125 (InputField_t2345609593 * __this, bool ___shift0, const MethodInfo* method) { int32_t V_0 = 0; { String_t* L_0 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_0); int32_t L_1 = String_get_Length_m2979997331(L_0, /*hidden argument*/NULL); V_0 = L_1; bool L_2 = ___shift0; if (!L_2) { goto IL_001e; } } { int32_t L_3 = V_0; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_3, /*hidden argument*/NULL); goto IL_0031; } IL_001e: { int32_t L_4 = V_0; InputField_set_caretPositionInternal_m3521473046(__this, L_4, /*hidden argument*/NULL); int32_t L_5 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); InputField_set_caretSelectPositionInternal_m4114170802(__this, L_5, /*hidden argument*/NULL); } IL_0031: { InputField_UpdateLabel_m4272237956(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::MoveTextStart(System.Boolean) extern "C" void InputField_MoveTextStart_m2867546804 (InputField_t2345609593 * __this, bool ___shift0, const MethodInfo* method) { int32_t V_0 = 0; { V_0 = 0; bool L_0 = ___shift0; if (!L_0) { goto IL_0014; } } { int32_t L_1 = V_0; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_1, /*hidden argument*/NULL); goto IL_0027; } IL_0014: { int32_t L_2 = V_0; InputField_set_caretPositionInternal_m3521473046(__this, L_2, /*hidden argument*/NULL); int32_t L_3 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); InputField_set_caretSelectPositionInternal_m4114170802(__this, L_3, /*hidden argument*/NULL); } IL_0027: { InputField_UpdateLabel_m4272237956(__this, /*hidden argument*/NULL); return; } } // System.String UnityEngine.UI.InputField::get_clipboard() extern Il2CppClass* GUIUtility_t1366332446_il2cpp_TypeInfo_var; extern const uint32_t InputField_get_clipboard_m1517672713_MetadataUsageId; extern "C" String_t* InputField_get_clipboard_m1517672713 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_get_clipboard_m1517672713_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(GUIUtility_t1366332446_il2cpp_TypeInfo_var); String_t* L_0 = GUIUtility_get_systemCopyBuffer_m1467578008(NULL /*static, unused*/, /*hidden argument*/NULL); return L_0; } } // System.Void UnityEngine.UI.InputField::set_clipboard(System.String) extern Il2CppClass* GUIUtility_t1366332446_il2cpp_TypeInfo_var; extern const uint32_t InputField_set_clipboard_m1137802704_MetadataUsageId; extern "C" void InputField_set_clipboard_m1137802704 (Il2CppObject * __this /* static, unused */, String_t* ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_set_clipboard_m1137802704_MetadataUsageId); s_Il2CppMethodIntialized = true; } { String_t* L_0 = ___value0; IL2CPP_RUNTIME_CLASS_INIT(GUIUtility_t1366332446_il2cpp_TypeInfo_var); GUIUtility_set_systemCopyBuffer_m2088074937(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.UI.InputField::InPlaceEditing() extern "C" bool InputField_InPlaceEditing_m3152517681 (InputField_t2345609593 * __this, const MethodInfo* method) { { bool L_0 = TouchScreenKeyboard_get_isSupported_m2472329766(NULL /*static, unused*/, /*hidden argument*/NULL); return (bool)((((int32_t)L_0) == ((int32_t)0))? 1 : 0); } } // System.Void UnityEngine.UI.InputField::LateUpdate() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Char_t2778706699_il2cpp_TypeInfo_var; extern const uint32_t InputField_LateUpdate_m658657720_MetadataUsageId; extern "C" void InputField_LateUpdate_m658657720 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_LateUpdate_m658657720_MetadataUsageId); s_Il2CppMethodIntialized = true; } String_t* V_0 = NULL; int32_t V_1 = 0; uint16_t V_2 = 0x0; int32_t V_3 = 0; { bool L_0 = __this->get_m_ShouldActivateNextUpdate_50(); if (!L_0) { goto IL_002b; } } { bool L_1 = InputField_get_isFocused_m1249071051(__this, /*hidden argument*/NULL); if (L_1) { goto IL_0024; } } { InputField_ActivateInputFieldInternal_m2572296937(__this, /*hidden argument*/NULL); __this->set_m_ShouldActivateNextUpdate_50((bool)0); return; } IL_0024: { __this->set_m_ShouldActivateNextUpdate_50((bool)0); } IL_002b: { bool L_2 = InputField_InPlaceEditing_m3152517681(__this, /*hidden argument*/NULL); if (L_2) { goto IL_0041; } } { bool L_3 = InputField_get_isFocused_m1249071051(__this, /*hidden argument*/NULL); if (L_3) { goto IL_0042; } } IL_0041: { return; } IL_0042: { InputField_AssignPositioningIfNeeded_m20735637(__this, /*hidden argument*/NULL); TouchScreenKeyboard_t2269718975 * L_4 = __this->get_m_Keyboard_19(); if (!L_4) { goto IL_0063; } } { TouchScreenKeyboard_t2269718975 * L_5 = __this->get_m_Keyboard_19(); NullCheck(L_5); bool L_6 = TouchScreenKeyboard_get_active_m4287082086(L_5, /*hidden argument*/NULL); if (L_6) { goto IL_00a9; } } IL_0063: { TouchScreenKeyboard_t2269718975 * L_7 = __this->get_m_Keyboard_19(); if (!L_7) { goto IL_00a1; } } { bool L_8 = __this->get_m_ReadOnly_40(); if (L_8) { goto IL_008a; } } { TouchScreenKeyboard_t2269718975 * L_9 = __this->get_m_Keyboard_19(); NullCheck(L_9); String_t* L_10 = TouchScreenKeyboard_get_text_m2874389744(L_9, /*hidden argument*/NULL); InputField_set_text_m203843887(__this, L_10, /*hidden argument*/NULL); } IL_008a: { TouchScreenKeyboard_t2269718975 * L_11 = __this->get_m_Keyboard_19(); NullCheck(L_11); bool L_12 = TouchScreenKeyboard_get_wasCanceled_m3910688420(L_11, /*hidden argument*/NULL); if (!L_12) { goto IL_00a1; } } { __this->set_m_WasCanceled_60((bool)1); } IL_00a1: { VirtActionInvoker1< BaseEventData_t3547103726 * >::Invoke(36 /* System.Void UnityEngine.UI.InputField::OnDeselect(UnityEngine.EventSystems.BaseEventData) */, __this, (BaseEventData_t3547103726 *)NULL); return; } IL_00a9: { TouchScreenKeyboard_t2269718975 * L_13 = __this->get_m_Keyboard_19(); NullCheck(L_13); String_t* L_14 = TouchScreenKeyboard_get_text_m2874389744(L_13, /*hidden argument*/NULL); V_0 = L_14; String_t* L_15 = __this->get_m_Text_37(); String_t* L_16 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_17 = String_op_Inequality_m2125462205(NULL /*static, unused*/, L_15, L_16, /*hidden argument*/NULL); if (!L_17) { goto IL_023b; } } { bool L_18 = __this->get_m_ReadOnly_40(); if (!L_18) { goto IL_00e7; } } { TouchScreenKeyboard_t2269718975 * L_19 = __this->get_m_Keyboard_19(); String_t* L_20 = __this->get_m_Text_37(); NullCheck(L_19); TouchScreenKeyboard_set_text_m1654889403(L_19, L_20, /*hidden argument*/NULL); goto IL_023b; } IL_00e7: { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_21 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); __this->set_m_Text_37(L_21); V_1 = 0; goto IL_01b3; } IL_00f9: { String_t* L_22 = V_0; int32_t L_23 = V_1; NullCheck(L_22); uint16_t L_24 = String_get_Chars_m3015341861(L_22, L_23, /*hidden argument*/NULL); V_2 = L_24; uint16_t L_25 = V_2; if ((((int32_t)L_25) == ((int32_t)((int32_t)13)))) { goto IL_0110; } } { uint16_t L_26 = V_2; if ((!(((uint32_t)L_26) == ((uint32_t)3)))) { goto IL_0113; } } IL_0110: { V_2 = ((int32_t)10); } IL_0113: { OnValidateInput_t3303221397 * L_27 = InputField_get_onValidateInput_m2116536287(__this, /*hidden argument*/NULL); if (!L_27) { goto IL_0141; } } { OnValidateInput_t3303221397 * L_28 = InputField_get_onValidateInput_m2116536287(__this, /*hidden argument*/NULL); String_t* L_29 = __this->get_m_Text_37(); String_t* L_30 = __this->get_m_Text_37(); NullCheck(L_30); int32_t L_31 = String_get_Length_m2979997331(L_30, /*hidden argument*/NULL); uint16_t L_32 = V_2; NullCheck(L_28); uint16_t L_33 = OnValidateInput_Invoke_m1377115157(L_28, L_29, L_31, L_32, /*hidden argument*/NULL); V_2 = L_33; goto IL_0165; } IL_0141: { int32_t L_34 = InputField_get_characterValidation_m4244038975(__this, /*hidden argument*/NULL); if (!L_34) { goto IL_0165; } } { String_t* L_35 = __this->get_m_Text_37(); String_t* L_36 = __this->get_m_Text_37(); NullCheck(L_36); int32_t L_37 = String_get_Length_m2979997331(L_36, /*hidden argument*/NULL); uint16_t L_38 = V_2; uint16_t L_39 = InputField_Validate_m4235185069(__this, L_35, L_37, L_38, /*hidden argument*/NULL); V_2 = L_39; } IL_0165: { int32_t L_40 = InputField_get_lineType_m3024149779(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_40) == ((uint32_t)1)))) { goto IL_0192; } } { uint16_t L_41 = V_2; if ((!(((uint32_t)L_41) == ((uint32_t)((int32_t)10))))) { goto IL_0192; } } { TouchScreenKeyboard_t2269718975 * L_42 = __this->get_m_Keyboard_19(); String_t* L_43 = __this->get_m_Text_37(); NullCheck(L_42); TouchScreenKeyboard_set_text_m1654889403(L_42, L_43, /*hidden argument*/NULL); VirtActionInvoker1< BaseEventData_t3547103726 * >::Invoke(36 /* System.Void UnityEngine.UI.InputField::OnDeselect(UnityEngine.EventSystems.BaseEventData) */, __this, (BaseEventData_t3547103726 *)NULL); return; } IL_0192: { uint16_t L_44 = V_2; if (!L_44) { goto IL_01af; } } { String_t* L_45 = __this->get_m_Text_37(); uint16_t L_46 = V_2; uint16_t L_47 = L_46; Il2CppObject * L_48 = Box(Char_t2778706699_il2cpp_TypeInfo_var, &L_47); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_49 = String_Concat_m389863537(NULL /*static, unused*/, L_45, L_48, /*hidden argument*/NULL); __this->set_m_Text_37(L_49); } IL_01af: { int32_t L_50 = V_1; V_1 = ((int32_t)((int32_t)L_50+(int32_t)1)); } IL_01b3: { int32_t L_51 = V_1; String_t* L_52 = V_0; NullCheck(L_52); int32_t L_53 = String_get_Length_m2979997331(L_52, /*hidden argument*/NULL); if ((((int32_t)L_51) < ((int32_t)L_53))) { goto IL_00f9; } } { int32_t L_54 = InputField_get_characterLimit_m2780159932(__this, /*hidden argument*/NULL); if ((((int32_t)L_54) <= ((int32_t)0))) { goto IL_01f9; } } { String_t* L_55 = __this->get_m_Text_37(); NullCheck(L_55); int32_t L_56 = String_get_Length_m2979997331(L_55, /*hidden argument*/NULL); int32_t L_57 = InputField_get_characterLimit_m2780159932(__this, /*hidden argument*/NULL); if ((((int32_t)L_56) <= ((int32_t)L_57))) { goto IL_01f9; } } { String_t* L_58 = __this->get_m_Text_37(); int32_t L_59 = InputField_get_characterLimit_m2780159932(__this, /*hidden argument*/NULL); NullCheck(L_58); String_t* L_60 = String_Substring_m675079568(L_58, 0, L_59, /*hidden argument*/NULL); __this->set_m_Text_37(L_60); } IL_01f9: { String_t* L_61 = __this->get_m_Text_37(); NullCheck(L_61); int32_t L_62 = String_get_Length_m2979997331(L_61, /*hidden argument*/NULL); V_3 = L_62; int32_t L_63 = V_3; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_63, /*hidden argument*/NULL); int32_t L_64 = V_3; InputField_set_caretPositionInternal_m3521473046(__this, L_64, /*hidden argument*/NULL); String_t* L_65 = __this->get_m_Text_37(); String_t* L_66 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_67 = String_op_Inequality_m2125462205(NULL /*static, unused*/, L_65, L_66, /*hidden argument*/NULL); if (!L_67) { goto IL_0235; } } { TouchScreenKeyboard_t2269718975 * L_68 = __this->get_m_Keyboard_19(); String_t* L_69 = __this->get_m_Text_37(); NullCheck(L_68); TouchScreenKeyboard_set_text_m1654889403(L_68, L_69, /*hidden argument*/NULL); } IL_0235: { InputField_SendOnValueChangedAndUpdateLabel_m3331240455(__this, /*hidden argument*/NULL); } IL_023b: { TouchScreenKeyboard_t2269718975 * L_70 = __this->get_m_Keyboard_19(); NullCheck(L_70); bool L_71 = TouchScreenKeyboard_get_done_m25268130(L_70, /*hidden argument*/NULL); if (!L_71) { goto IL_0269; } } { TouchScreenKeyboard_t2269718975 * L_72 = __this->get_m_Keyboard_19(); NullCheck(L_72); bool L_73 = TouchScreenKeyboard_get_wasCanceled_m3910688420(L_72, /*hidden argument*/NULL); if (!L_73) { goto IL_0262; } } { __this->set_m_WasCanceled_60((bool)1); } IL_0262: { VirtActionInvoker1< BaseEventData_t3547103726 * >::Invoke(36 /* System.Void UnityEngine.UI.InputField::OnDeselect(UnityEngine.EventSystems.BaseEventData) */, __this, (BaseEventData_t3547103726 *)NULL); } IL_0269: { return; } } // UnityEngine.Vector2 UnityEngine.UI.InputField::ScreenToLocal(UnityEngine.Vector2) extern "C" Vector2_t3525329788 InputField_ScreenToLocal_m1499722466 (InputField_t2345609593 * __this, Vector2_t3525329788 ___screen0, const MethodInfo* method) { Canvas_t3534013893 * V_0 = NULL; Vector3_t3525329789 V_1; memset(&V_1, 0, sizeof(V_1)); Ray_t1522967639 V_2; memset(&V_2, 0, sizeof(V_2)); float V_3 = 0.0f; Plane_t1600081545 V_4; memset(&V_4, 0, sizeof(V_4)); { Text_t3286458198 * L_0 = __this->get_m_TextComponent_21(); NullCheck(L_0); Canvas_t3534013893 * L_1 = Graphic_get_canvas_m4291384250(L_0, /*hidden argument*/NULL); V_0 = L_1; Canvas_t3534013893 * L_2 = V_0; bool L_3 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_2, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_3) { goto IL_001a; } } { Vector2_t3525329788 L_4 = ___screen0; return L_4; } IL_001a: { Vector3_t3525329789 L_5 = Vector3_get_zero_m2017759730(NULL /*static, unused*/, /*hidden argument*/NULL); V_1 = L_5; Canvas_t3534013893 * L_6 = V_0; NullCheck(L_6); int32_t L_7 = Canvas_get_renderMode_m3669121200(L_6, /*hidden argument*/NULL); if (L_7) { goto IL_0047; } } { Text_t3286458198 * L_8 = __this->get_m_TextComponent_21(); NullCheck(L_8); Transform_t284553113 * L_9 = Component_get_transform_m4257140443(L_8, /*hidden argument*/NULL); Vector2_t3525329788 L_10 = ___screen0; Vector3_t3525329789 L_11 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_10, /*hidden argument*/NULL); NullCheck(L_9); Vector3_t3525329789 L_12 = Transform_InverseTransformPoint_m1626812000(L_9, L_11, /*hidden argument*/NULL); V_1 = L_12; goto IL_00b5; } IL_0047: { Canvas_t3534013893 * L_13 = V_0; NullCheck(L_13); Camera_t3533968274 * L_14 = Canvas_get_worldCamera_m2621449230(L_13, /*hidden argument*/NULL); bool L_15 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_14, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_15) { goto IL_00b5; } } { Canvas_t3534013893 * L_16 = V_0; NullCheck(L_16); Camera_t3533968274 * L_17 = Canvas_get_worldCamera_m2621449230(L_16, /*hidden argument*/NULL); Vector2_t3525329788 L_18 = ___screen0; Vector3_t3525329789 L_19 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_18, /*hidden argument*/NULL); NullCheck(L_17); Ray_t1522967639 L_20 = Camera_ScreenPointToRay_m1733083890(L_17, L_19, /*hidden argument*/NULL); V_2 = L_20; Text_t3286458198 * L_21 = __this->get_m_TextComponent_21(); NullCheck(L_21); Transform_t284553113 * L_22 = Component_get_transform_m4257140443(L_21, /*hidden argument*/NULL); NullCheck(L_22); Vector3_t3525329789 L_23 = Transform_get_forward_m877665793(L_22, /*hidden argument*/NULL); Text_t3286458198 * L_24 = __this->get_m_TextComponent_21(); NullCheck(L_24); Transform_t284553113 * L_25 = Component_get_transform_m4257140443(L_24, /*hidden argument*/NULL); NullCheck(L_25); Vector3_t3525329789 L_26 = Transform_get_position_m2211398607(L_25, /*hidden argument*/NULL); Plane__ctor_m2201046863((&V_4), L_23, L_26, /*hidden argument*/NULL); Ray_t1522967639 L_27 = V_2; Plane_Raycast_m2829769106((&V_4), L_27, (&V_3), /*hidden argument*/NULL); Text_t3286458198 * L_28 = __this->get_m_TextComponent_21(); NullCheck(L_28); Transform_t284553113 * L_29 = Component_get_transform_m4257140443(L_28, /*hidden argument*/NULL); float L_30 = V_3; Vector3_t3525329789 L_31 = Ray_GetPoint_m1171104822((&V_2), L_30, /*hidden argument*/NULL); NullCheck(L_29); Vector3_t3525329789 L_32 = Transform_InverseTransformPoint_m1626812000(L_29, L_31, /*hidden argument*/NULL); V_1 = L_32; } IL_00b5: { float L_33 = (&V_1)->get_x_1(); float L_34 = (&V_1)->get_y_2(); Vector2_t3525329788 L_35; memset(&L_35, 0, sizeof(L_35)); Vector2__ctor_m1517109030(&L_35, L_33, L_34, /*hidden argument*/NULL); return L_35; } } // System.Int32 UnityEngine.UI.InputField::GetUnclampedCharacterLineFromPosition(UnityEngine.Vector2,UnityEngine.TextGenerator) extern Il2CppClass* IList_1_t2323413597_il2cpp_TypeInfo_var; extern const uint32_t InputField_GetUnclampedCharacterLineFromPosition_m3510038353_MetadataUsageId; extern "C" int32_t InputField_GetUnclampedCharacterLineFromPosition_m3510038353 (InputField_t2345609593 * __this, Vector2_t3525329788 ___pos0, TextGenerator_t2883685459 * ___generator1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_GetUnclampedCharacterLineFromPosition_m3510038353_MetadataUsageId); s_Il2CppMethodIntialized = true; } float V_0 = 0.0f; float V_1 = 0.0f; int32_t V_2 = 0; float V_3 = 0.0f; float V_4 = 0.0f; float V_5 = 0.0f; UILineInfo_t156921283 V_6; memset(&V_6, 0, sizeof(V_6)); UILineInfo_t156921283 V_7; memset(&V_7, 0, sizeof(V_7)); { bool L_0 = InputField_get_multiLine_m2265790891(__this, /*hidden argument*/NULL); if (L_0) { goto IL_000d; } } { return 0; } IL_000d: { float L_1 = (&___pos0)->get_y_2(); Text_t3286458198 * L_2 = __this->get_m_TextComponent_21(); NullCheck(L_2); float L_3 = Text_get_pixelsPerUnit_m4148756467(L_2, /*hidden argument*/NULL); V_0 = ((float)((float)L_1*(float)L_3)); V_1 = (0.0f); V_2 = 0; goto IL_0091; } IL_002e: { TextGenerator_t2883685459 * L_4 = ___generator1; NullCheck(L_4); Il2CppObject* L_5 = TextGenerator_get_lines_m3197542168(L_4, /*hidden argument*/NULL); int32_t L_6 = V_2; NullCheck(L_5); UILineInfo_t156921283 L_7 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_5, L_6); V_6 = L_7; float L_8 = (&V_6)->get_topY_2(); V_3 = L_8; float L_9 = V_3; TextGenerator_t2883685459 * L_10 = ___generator1; NullCheck(L_10); Il2CppObject* L_11 = TextGenerator_get_lines_m3197542168(L_10, /*hidden argument*/NULL); int32_t L_12 = V_2; NullCheck(L_11); UILineInfo_t156921283 L_13 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_11, L_12); V_7 = L_13; int32_t L_14 = (&V_7)->get_height_1(); V_4 = ((float)((float)L_9-(float)(((float)((float)L_14))))); float L_15 = V_0; float L_16 = V_3; if ((!(((float)L_15) > ((float)L_16)))) { goto IL_0080; } } { float L_17 = V_3; float L_18 = V_1; V_5 = ((float)((float)L_17-(float)L_18)); float L_19 = V_0; float L_20 = V_3; float L_21 = V_5; if ((!(((float)L_19) > ((float)((float)((float)L_20-(float)((float)((float)(0.5f)*(float)L_21)))))))) { goto IL_007e; } } { int32_t L_22 = V_2; return ((int32_t)((int32_t)L_22-(int32_t)1)); } IL_007e: { int32_t L_23 = V_2; return L_23; } IL_0080: { float L_24 = V_0; float L_25 = V_4; if ((!(((float)L_24) > ((float)L_25)))) { goto IL_008a; } } { int32_t L_26 = V_2; return L_26; } IL_008a: { float L_27 = V_4; V_1 = L_27; int32_t L_28 = V_2; V_2 = ((int32_t)((int32_t)L_28+(int32_t)1)); } IL_0091: { int32_t L_29 = V_2; TextGenerator_t2883685459 * L_30 = ___generator1; NullCheck(L_30); int32_t L_31 = TextGenerator_get_lineCount_m3121044867(L_30, /*hidden argument*/NULL); if ((((int32_t)L_29) < ((int32_t)L_31))) { goto IL_002e; } } { TextGenerator_t2883685459 * L_32 = ___generator1; NullCheck(L_32); int32_t L_33 = TextGenerator_get_lineCount_m3121044867(L_32, /*hidden argument*/NULL); return L_33; } } // System.Int32 UnityEngine.UI.InputField::GetCharacterIndexFromPosition(UnityEngine.Vector2) extern Il2CppClass* IList_1_t2323413597_il2cpp_TypeInfo_var; extern Il2CppClass* InputField_t2345609593_il2cpp_TypeInfo_var; extern Il2CppClass* IList_1_t2570312895_il2cpp_TypeInfo_var; extern const uint32_t InputField_GetCharacterIndexFromPosition_m4275941159_MetadataUsageId; extern "C" int32_t InputField_GetCharacterIndexFromPosition_m4275941159 (InputField_t2345609593 * __this, Vector2_t3525329788 ___pos0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_GetCharacterIndexFromPosition_m4275941159_MetadataUsageId); s_Il2CppMethodIntialized = true; } TextGenerator_t2883685459 * V_0 = NULL; int32_t V_1 = 0; int32_t V_2 = 0; int32_t V_3 = 0; int32_t V_4 = 0; UICharInfo_t403820581 V_5; memset(&V_5, 0, sizeof(V_5)); Vector2_t3525329788 V_6; memset(&V_6, 0, sizeof(V_6)); float V_7 = 0.0f; float V_8 = 0.0f; UILineInfo_t156921283 V_9; memset(&V_9, 0, sizeof(V_9)); { Text_t3286458198 * L_0 = __this->get_m_TextComponent_21(); NullCheck(L_0); TextGenerator_t2883685459 * L_1 = Text_get_cachedTextGenerator_m337653083(L_0, /*hidden argument*/NULL); V_0 = L_1; TextGenerator_t2883685459 * L_2 = V_0; NullCheck(L_2); int32_t L_3 = TextGenerator_get_lineCount_m3121044867(L_2, /*hidden argument*/NULL); if (L_3) { goto IL_0019; } } { return 0; } IL_0019: { Vector2_t3525329788 L_4 = ___pos0; TextGenerator_t2883685459 * L_5 = V_0; int32_t L_6 = InputField_GetUnclampedCharacterLineFromPosition_m3510038353(__this, L_4, L_5, /*hidden argument*/NULL); V_1 = L_6; int32_t L_7 = V_1; if ((((int32_t)L_7) >= ((int32_t)0))) { goto IL_002b; } } { return 0; } IL_002b: { int32_t L_8 = V_1; TextGenerator_t2883685459 * L_9 = V_0; NullCheck(L_9); int32_t L_10 = TextGenerator_get_lineCount_m3121044867(L_9, /*hidden argument*/NULL); if ((((int32_t)L_8) < ((int32_t)L_10))) { goto IL_003e; } } { TextGenerator_t2883685459 * L_11 = V_0; NullCheck(L_11); int32_t L_12 = TextGenerator_get_characterCountVisible_m2621262708(L_11, /*hidden argument*/NULL); return L_12; } IL_003e: { TextGenerator_t2883685459 * L_13 = V_0; NullCheck(L_13); Il2CppObject* L_14 = TextGenerator_get_lines_m3197542168(L_13, /*hidden argument*/NULL); int32_t L_15 = V_1; NullCheck(L_14); UILineInfo_t156921283 L_16 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_14, L_15); V_9 = L_16; int32_t L_17 = (&V_9)->get_startCharIdx_0(); V_2 = L_17; TextGenerator_t2883685459 * L_18 = V_0; int32_t L_19 = V_1; IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); int32_t L_20 = InputField_GetLineEndPosition_m293479951(NULL /*static, unused*/, L_18, L_19, /*hidden argument*/NULL); V_3 = L_20; int32_t L_21 = V_2; V_4 = L_21; goto IL_00e6; } IL_0064: { int32_t L_22 = V_4; TextGenerator_t2883685459 * L_23 = V_0; NullCheck(L_23); int32_t L_24 = TextGenerator_get_characterCountVisible_m2621262708(L_23, /*hidden argument*/NULL); if ((((int32_t)L_22) < ((int32_t)L_24))) { goto IL_0076; } } { goto IL_00ee; } IL_0076: { TextGenerator_t2883685459 * L_25 = V_0; NullCheck(L_25); Il2CppObject* L_26 = TextGenerator_get_characters_m3420670449(L_25, /*hidden argument*/NULL); int32_t L_27 = V_4; NullCheck(L_26); UICharInfo_t403820581 L_28 = InterfaceFuncInvoker1< UICharInfo_t403820581 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UICharInfo>::get_Item(System.Int32) */, IList_1_t2570312895_il2cpp_TypeInfo_var, L_26, L_27); V_5 = L_28; Vector2_t3525329788 L_29 = (&V_5)->get_cursorPos_0(); Text_t3286458198 * L_30 = __this->get_m_TextComponent_21(); NullCheck(L_30); float L_31 = Text_get_pixelsPerUnit_m4148756467(L_30, /*hidden argument*/NULL); Vector2_t3525329788 L_32 = Vector2_op_Division_m747627697(NULL /*static, unused*/, L_29, L_31, /*hidden argument*/NULL); V_6 = L_32; float L_33 = (&___pos0)->get_x_1(); float L_34 = (&V_6)->get_x_1(); V_7 = ((float)((float)L_33-(float)L_34)); float L_35 = (&V_6)->get_x_1(); float L_36 = (&V_5)->get_charWidth_1(); Text_t3286458198 * L_37 = __this->get_m_TextComponent_21(); NullCheck(L_37); float L_38 = Text_get_pixelsPerUnit_m4148756467(L_37, /*hidden argument*/NULL); float L_39 = (&___pos0)->get_x_1(); V_8 = ((float)((float)((float)((float)L_35+(float)((float)((float)L_36/(float)L_38))))-(float)L_39)); float L_40 = V_7; float L_41 = V_8; if ((!(((float)L_40) < ((float)L_41)))) { goto IL_00e0; } } { int32_t L_42 = V_4; return L_42; } IL_00e0: { int32_t L_43 = V_4; V_4 = ((int32_t)((int32_t)L_43+(int32_t)1)); } IL_00e6: { int32_t L_44 = V_4; int32_t L_45 = V_3; if ((((int32_t)L_44) < ((int32_t)L_45))) { goto IL_0064; } } IL_00ee: { int32_t L_46 = V_3; return L_46; } } // System.Boolean UnityEngine.UI.InputField::MayDrag(UnityEngine.EventSystems.PointerEventData) extern "C" bool InputField_MayDrag_m3557501854 (InputField_t2345609593 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { int32_t G_B6_0 = 0; { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (!L_0) { goto IL_003d; } } { bool L_1 = VirtFuncInvoker0< bool >::Invoke(23 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this); if (!L_1) { goto IL_003d; } } { PointerEventData_t3205101634 * L_2 = ___eventData0; NullCheck(L_2); int32_t L_3 = PointerEventData_get_button_m796143251(L_2, /*hidden argument*/NULL); if (L_3) { goto IL_003d; } } { Text_t3286458198 * L_4 = __this->get_m_TextComponent_21(); bool L_5 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_4, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_5) { goto IL_003d; } } { TouchScreenKeyboard_t2269718975 * L_6 = __this->get_m_Keyboard_19(); G_B6_0 = ((((Il2CppObject*)(TouchScreenKeyboard_t2269718975 *)L_6) == ((Il2CppObject*)(Il2CppObject *)NULL))? 1 : 0); goto IL_003e; } IL_003d: { G_B6_0 = 0; } IL_003e: { return (bool)G_B6_0; } } // System.Void UnityEngine.UI.InputField::OnBeginDrag(UnityEngine.EventSystems.PointerEventData) extern "C" void InputField_OnBeginDrag_m1531063271 (InputField_t2345609593 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; bool L_1 = InputField_MayDrag_m3557501854(__this, L_0, /*hidden argument*/NULL); if (L_1) { goto IL_000d; } } { return; } IL_000d: { __this->set_m_UpdateDrag_51((bool)1); return; } } // System.Void UnityEngine.UI.InputField::OnDrag(UnityEngine.EventSystems.PointerEventData) extern Il2CppClass* RectTransformUtility_t2895919825_il2cpp_TypeInfo_var; extern const uint32_t InputField_OnDrag_m91839394_MetadataUsageId; extern "C" void InputField_OnDrag_m91839394 (InputField_t2345609593 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_OnDrag_m91839394_MetadataUsageId); s_Il2CppMethodIntialized = true; } Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); { PointerEventData_t3205101634 * L_0 = ___eventData0; bool L_1 = InputField_MayDrag_m3557501854(__this, L_0, /*hidden argument*/NULL); if (L_1) { goto IL_000d; } } { return; } IL_000d: { Text_t3286458198 * L_2 = InputField_get_textComponent_m2329519363(__this, /*hidden argument*/NULL); NullCheck(L_2); RectTransform_t3317474837 * L_3 = Graphic_get_rectTransform_m4017371950(L_2, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_4 = ___eventData0; NullCheck(L_4); Vector2_t3525329788 L_5 = PointerEventData_get_position_m2263123361(L_4, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_6 = ___eventData0; NullCheck(L_6); Camera_t3533968274 * L_7 = PointerEventData_get_pressEventCamera_m2764092724(L_6, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2895919825_il2cpp_TypeInfo_var); RectTransformUtility_ScreenPointToLocalPointInRectangle_m666650172(NULL /*static, unused*/, L_3, L_5, L_7, (&V_0), /*hidden argument*/NULL); Vector2_t3525329788 L_8 = V_0; int32_t L_9 = InputField_GetCharacterIndexFromPosition_m4275941159(__this, L_8, /*hidden argument*/NULL); int32_t L_10 = __this->get_m_DrawStart_56(); InputField_set_caretSelectPositionInternal_m4114170802(__this, ((int32_t)((int32_t)L_9+(int32_t)L_10)), /*hidden argument*/NULL); InputField_MarkGeometryAsDirty_m178860986(__this, /*hidden argument*/NULL); Text_t3286458198 * L_11 = InputField_get_textComponent_m2329519363(__this, /*hidden argument*/NULL); NullCheck(L_11); RectTransform_t3317474837 * L_12 = Graphic_get_rectTransform_m4017371950(L_11, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_13 = ___eventData0; NullCheck(L_13); Vector2_t3525329788 L_14 = PointerEventData_get_position_m2263123361(L_13, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_15 = ___eventData0; NullCheck(L_15); Camera_t3533968274 * L_16 = PointerEventData_get_pressEventCamera_m2764092724(L_15, /*hidden argument*/NULL); bool L_17 = RectTransformUtility_RectangleContainsScreenPoint_m1460676684(NULL /*static, unused*/, L_12, L_14, L_16, /*hidden argument*/NULL); __this->set_m_DragPositionOutOfBounds_52((bool)((((int32_t)L_17) == ((int32_t)0))? 1 : 0)); bool L_18 = __this->get_m_DragPositionOutOfBounds_52(); if (!L_18) { goto IL_0094; } } { Coroutine_t2246592261 * L_19 = __this->get_m_DragCoroutine_58(); if (L_19) { goto IL_0094; } } { PointerEventData_t3205101634 * L_20 = ___eventData0; Il2CppObject * L_21 = InputField_MouseDragOutsideRect_m854880935(__this, L_20, /*hidden argument*/NULL); Coroutine_t2246592261 * L_22 = MonoBehaviour_StartCoroutine_m2135303124(__this, L_21, /*hidden argument*/NULL); __this->set_m_DragCoroutine_58(L_22); } IL_0094: { PointerEventData_t3205101634 * L_23 = ___eventData0; NullCheck(L_23); VirtActionInvoker0::Invoke(5 /* System.Void UnityEngine.EventSystems.AbstractEventData::Use() */, L_23); return; } } // System.Collections.IEnumerator UnityEngine.UI.InputField::MouseDragOutsideRect(UnityEngine.EventSystems.PointerEventData) extern Il2CppClass* U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509_il2cpp_TypeInfo_var; extern const uint32_t InputField_MouseDragOutsideRect_m854880935_MetadataUsageId; extern "C" Il2CppObject * InputField_MouseDragOutsideRect_m854880935 (InputField_t2345609593 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_MouseDragOutsideRect_m854880935_MetadataUsageId); s_Il2CppMethodIntialized = true; } U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * V_0 = NULL; { U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * L_0 = (U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 *)il2cpp_codegen_object_new(U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509_il2cpp_TypeInfo_var); U3CMouseDragOutsideRectU3Ec__Iterator4__ctor_m1030435559(L_0, /*hidden argument*/NULL); V_0 = L_0; U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * L_1 = V_0; PointerEventData_t3205101634 * L_2 = ___eventData0; NullCheck(L_1); L_1->set_eventData_0(L_2); U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * L_3 = V_0; PointerEventData_t3205101634 * L_4 = ___eventData0; NullCheck(L_3); L_3->set_U3CU24U3EeventData_6(L_4); U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * L_5 = V_0; NullCheck(L_5); L_5->set_U3CU3Ef__this_7(__this); U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * L_6 = V_0; return L_6; } } // System.Void UnityEngine.UI.InputField::OnEndDrag(UnityEngine.EventSystems.PointerEventData) extern "C" void InputField_OnEndDrag_m4049045301 (InputField_t2345609593 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; bool L_1 = InputField_MayDrag_m3557501854(__this, L_0, /*hidden argument*/NULL); if (L_1) { goto IL_000d; } } { return; } IL_000d: { __this->set_m_UpdateDrag_51((bool)0); return; } } // System.Void UnityEngine.UI.InputField::OnPointerDown(UnityEngine.EventSystems.PointerEventData) extern Il2CppClass* EventSystem_t409518532_il2cpp_TypeInfo_var; extern Il2CppClass* RectTransformUtility_t2895919825_il2cpp_TypeInfo_var; extern const uint32_t InputField_OnPointerDown_m2912611813_MetadataUsageId; extern "C" void InputField_OnPointerDown_m2912611813 (InputField_t2345609593 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_OnPointerDown_m2912611813_MetadataUsageId); s_Il2CppMethodIntialized = true; } bool V_0 = false; Vector2_t3525329788 V_1; memset(&V_1, 0, sizeof(V_1)); int32_t V_2 = 0; { PointerEventData_t3205101634 * L_0 = ___eventData0; bool L_1 = InputField_MayDrag_m3557501854(__this, L_0, /*hidden argument*/NULL); if (L_1) { goto IL_000d; } } { return; } IL_000d: { IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); EventSystem_t409518532 * L_2 = EventSystem_get_current_m3483537871(NULL /*static, unused*/, /*hidden argument*/NULL); GameObject_t4012695102 * L_3 = Component_get_gameObject_m1170635899(__this, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_4 = ___eventData0; NullCheck(L_2); EventSystem_SetSelectedGameObject_m2116591616(L_2, L_3, L_4, /*hidden argument*/NULL); bool L_5 = __this->get_m_AllowInput_49(); V_0 = L_5; PointerEventData_t3205101634 * L_6 = ___eventData0; Selectable_OnPointerDown_m706592619(__this, L_6, /*hidden argument*/NULL); bool L_7 = InputField_InPlaceEditing_m3152517681(__this, /*hidden argument*/NULL); if (L_7) { goto IL_005a; } } { TouchScreenKeyboard_t2269718975 * L_8 = __this->get_m_Keyboard_19(); if (!L_8) { goto IL_0052; } } { TouchScreenKeyboard_t2269718975 * L_9 = __this->get_m_Keyboard_19(); NullCheck(L_9); bool L_10 = TouchScreenKeyboard_get_active_m4287082086(L_9, /*hidden argument*/NULL); if (L_10) { goto IL_005a; } } IL_0052: { PointerEventData_t3205101634 * L_11 = ___eventData0; VirtActionInvoker1< BaseEventData_t3547103726 * >::Invoke(35 /* System.Void UnityEngine.UI.InputField::OnSelect(UnityEngine.EventSystems.BaseEventData) */, __this, L_11); return; } IL_005a: { bool L_12 = V_0; if (!L_12) { goto IL_009c; } } { Text_t3286458198 * L_13 = InputField_get_textComponent_m2329519363(__this, /*hidden argument*/NULL); NullCheck(L_13); RectTransform_t3317474837 * L_14 = Graphic_get_rectTransform_m4017371950(L_13, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_15 = ___eventData0; NullCheck(L_15); Vector2_t3525329788 L_16 = PointerEventData_get_position_m2263123361(L_15, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_17 = ___eventData0; NullCheck(L_17); Camera_t3533968274 * L_18 = PointerEventData_get_pressEventCamera_m2764092724(L_17, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2895919825_il2cpp_TypeInfo_var); RectTransformUtility_ScreenPointToLocalPointInRectangle_m666650172(NULL /*static, unused*/, L_14, L_16, L_18, (&V_1), /*hidden argument*/NULL); Vector2_t3525329788 L_19 = V_1; int32_t L_20 = InputField_GetCharacterIndexFromPosition_m4275941159(__this, L_19, /*hidden argument*/NULL); int32_t L_21 = __this->get_m_DrawStart_56(); V_2 = ((int32_t)((int32_t)L_20+(int32_t)L_21)); int32_t L_22 = V_2; InputField_set_caretPositionInternal_m3521473046(__this, L_22, /*hidden argument*/NULL); int32_t L_23 = V_2; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_23, /*hidden argument*/NULL); } IL_009c: { InputField_UpdateLabel_m4272237956(__this, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_24 = ___eventData0; NullCheck(L_24); VirtActionInvoker0::Invoke(5 /* System.Void UnityEngine.EventSystems.AbstractEventData::Use() */, L_24); return; } } // UnityEngine.UI.InputField/EditState UnityEngine.UI.InputField::KeyPressed(UnityEngine.Event) extern Il2CppClass* InputField_t2345609593_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t InputField_KeyPressed_m56514315_MetadataUsageId; extern "C" int32_t InputField_KeyPressed_m56514315 (InputField_t2345609593 * __this, Event_t1590224583 * ___evt0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_KeyPressed_m56514315_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; bool V_2 = false; bool V_3 = false; bool V_4 = false; bool V_5 = false; bool V_6 = false; uint16_t V_7 = 0x0; int32_t V_8 = 0; int32_t G_B4_0 = 0; int32_t G_B7_0 = 0; int32_t G_B11_0 = 0; { Event_t1590224583 * L_0 = ___evt0; NullCheck(L_0); int32_t L_1 = Event_get_modifiers_m4020990886(L_0, /*hidden argument*/NULL); V_0 = L_1; int32_t L_2 = Application_get_platform_m2918632856(NULL /*static, unused*/, /*hidden argument*/NULL); V_1 = L_2; int32_t L_3 = V_1; if (!L_3) { goto IL_0020; } } { int32_t L_4 = V_1; if ((((int32_t)L_4) == ((int32_t)1))) { goto IL_0020; } } { int32_t L_5 = V_1; G_B4_0 = ((((int32_t)L_5) == ((int32_t)3))? 1 : 0); goto IL_0021; } IL_0020: { G_B4_0 = 1; } IL_0021: { V_2 = (bool)G_B4_0; bool L_6 = V_2; if (!L_6) { goto IL_0036; } } { int32_t L_7 = V_0; G_B7_0 = ((((int32_t)((((int32_t)((int32_t)((int32_t)L_7&(int32_t)8))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); goto IL_003f; } IL_0036: { int32_t L_8 = V_0; G_B7_0 = ((((int32_t)((((int32_t)((int32_t)((int32_t)L_8&(int32_t)2))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); } IL_003f: { V_3 = (bool)G_B7_0; int32_t L_9 = V_0; V_4 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_9&(int32_t)1))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); int32_t L_10 = V_0; V_5 = (bool)((((int32_t)((((int32_t)((int32_t)((int32_t)L_10&(int32_t)4))) == ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0); bool L_11 = V_3; if (!L_11) { goto IL_006a; } } { bool L_12 = V_5; if (L_12) { goto IL_006a; } } { bool L_13 = V_4; G_B11_0 = ((((int32_t)L_13) == ((int32_t)0))? 1 : 0); goto IL_006b; } IL_006a: { G_B11_0 = 0; } IL_006b: { V_6 = (bool)G_B11_0; Event_t1590224583 * L_14 = ___evt0; NullCheck(L_14); int32_t L_15 = Event_get_keyCode_m1820698462(L_14, /*hidden argument*/NULL); V_8 = L_15; int32_t L_16 = V_8; if (((int32_t)((int32_t)L_16-(int32_t)((int32_t)271))) == 0) { goto IL_01e9; } if (((int32_t)((int32_t)L_16-(int32_t)((int32_t)271))) == 1) { goto IL_00a6; } if (((int32_t)((int32_t)L_16-(int32_t)((int32_t)271))) == 2) { goto IL_01d5; } if (((int32_t)((int32_t)L_16-(int32_t)((int32_t)271))) == 3) { goto IL_01df; } if (((int32_t)((int32_t)L_16-(int32_t)((int32_t)271))) == 4) { goto IL_01ca; } if (((int32_t)((int32_t)L_16-(int32_t)((int32_t)271))) == 5) { goto IL_01bf; } if (((int32_t)((int32_t)L_16-(int32_t)((int32_t)271))) == 6) { goto IL_00a6; } if (((int32_t)((int32_t)L_16-(int32_t)((int32_t)271))) == 7) { goto IL_010a; } if (((int32_t)((int32_t)L_16-(int32_t)((int32_t)271))) == 8) { goto IL_0114; } } IL_00a6: { int32_t L_17 = V_8; if (((int32_t)((int32_t)L_17-(int32_t)((int32_t)97))) == 0) { goto IL_011e; } if (((int32_t)((int32_t)L_17-(int32_t)((int32_t)97))) == 1) { goto IL_00bc; } if (((int32_t)((int32_t)L_17-(int32_t)((int32_t)97))) == 2) { goto IL_0132; } } IL_00bc: { int32_t L_18 = V_8; if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)118))) == 0) { goto IL_0166; } if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)118))) == 1) { goto IL_00d2; } if (((int32_t)((int32_t)L_18-(int32_t)((int32_t)118))) == 2) { goto IL_017f; } } IL_00d2: { int32_t L_19 = V_8; if ((((int32_t)L_19) == ((int32_t)8))) { goto IL_00fa; } } { int32_t L_20 = V_8; if ((((int32_t)L_20) == ((int32_t)((int32_t)13)))) { goto IL_01e9; } } { int32_t L_21 = V_8; if ((((int32_t)L_21) == ((int32_t)((int32_t)27)))) { goto IL_01fc; } } { int32_t L_22 = V_8; if ((((int32_t)L_22) == ((int32_t)((int32_t)127)))) { goto IL_0102; } } { goto IL_0205; } IL_00fa: { InputField_Backspace_m3222521688(__this, /*hidden argument*/NULL); return (int32_t)(0); } IL_0102: { InputField_ForwardSpace_m957387114(__this, /*hidden argument*/NULL); return (int32_t)(0); } IL_010a: { bool L_23 = V_4; InputField_MoveTextStart_m2867546804(__this, L_23, /*hidden argument*/NULL); return (int32_t)(0); } IL_0114: { bool L_24 = V_4; InputField_MoveTextEnd_m2126814125(__this, L_24, /*hidden argument*/NULL); return (int32_t)(0); } IL_011e: { bool L_25 = V_6; if (!L_25) { goto IL_012d; } } { InputField_SelectAll_m4063966302(__this, /*hidden argument*/NULL); return (int32_t)(0); } IL_012d: { goto IL_0205; } IL_0132: { bool L_26 = V_6; if (!L_26) { goto IL_0161; } } { int32_t L_27 = InputField_get_inputType_m2348834559(__this, /*hidden argument*/NULL); if ((((int32_t)L_27) == ((int32_t)2))) { goto IL_0155; } } { String_t* L_28 = InputField_GetSelectedString_m1040556478(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); InputField_set_clipboard_m1137802704(NULL /*static, unused*/, L_28, /*hidden argument*/NULL); goto IL_015f; } IL_0155: { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_29 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); InputField_set_clipboard_m1137802704(NULL /*static, unused*/, L_29, /*hidden argument*/NULL); } IL_015f: { return (int32_t)(0); } IL_0161: { goto IL_0205; } IL_0166: { bool L_30 = V_6; if (!L_30) { goto IL_017a; } } { IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); String_t* L_31 = InputField_get_clipboard_m1517672713(NULL /*static, unused*/, /*hidden argument*/NULL); VirtActionInvoker1< String_t* >::Invoke(54 /* System.Void UnityEngine.UI.InputField::Append(System.String) */, __this, L_31); return (int32_t)(0); } IL_017a: { goto IL_0205; } IL_017f: { bool L_32 = V_6; if (!L_32) { goto IL_01ba; } } { int32_t L_33 = InputField_get_inputType_m2348834559(__this, /*hidden argument*/NULL); if ((((int32_t)L_33) == ((int32_t)2))) { goto IL_01a2; } } { String_t* L_34 = InputField_GetSelectedString_m1040556478(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); InputField_set_clipboard_m1137802704(NULL /*static, unused*/, L_34, /*hidden argument*/NULL); goto IL_01ac; } IL_01a2: { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_35 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); InputField_set_clipboard_m1137802704(NULL /*static, unused*/, L_35, /*hidden argument*/NULL); } IL_01ac: { InputField_Delete_m3723424084(__this, /*hidden argument*/NULL); InputField_SendOnValueChangedAndUpdateLabel_m3331240455(__this, /*hidden argument*/NULL); return (int32_t)(0); } IL_01ba: { goto IL_0205; } IL_01bf: { bool L_36 = V_4; bool L_37 = V_3; InputField_MoveLeft_m2120951525(__this, L_36, L_37, /*hidden argument*/NULL); return (int32_t)(0); } IL_01ca: { bool L_38 = V_4; bool L_39 = V_3; InputField_MoveRight_m815186690(__this, L_38, L_39, /*hidden argument*/NULL); return (int32_t)(0); } IL_01d5: { bool L_40 = V_4; InputField_MoveUp_m3783029356(__this, L_40, /*hidden argument*/NULL); return (int32_t)(0); } IL_01df: { bool L_41 = V_4; InputField_MoveDown_m1297332275(__this, L_41, /*hidden argument*/NULL); return (int32_t)(0); } IL_01e9: { int32_t L_42 = InputField_get_lineType_m3024149779(__this, /*hidden argument*/NULL); if ((((int32_t)L_42) == ((int32_t)2))) { goto IL_01f7; } } { return (int32_t)(1); } IL_01f7: { goto IL_0205; } IL_01fc: { __this->set_m_WasCanceled_60((bool)1); return (int32_t)(1); } IL_0205: { Event_t1590224583 * L_43 = ___evt0; NullCheck(L_43); uint16_t L_44 = Event_get_character_m3663172667(L_43, /*hidden argument*/NULL); V_7 = L_44; bool L_45 = InputField_get_multiLine_m2265790891(__this, /*hidden argument*/NULL); if (L_45) { goto IL_0235; } } { uint16_t L_46 = V_7; if ((((int32_t)L_46) == ((int32_t)((int32_t)9)))) { goto IL_0233; } } { uint16_t L_47 = V_7; if ((((int32_t)L_47) == ((int32_t)((int32_t)13)))) { goto IL_0233; } } { uint16_t L_48 = V_7; if ((!(((uint32_t)L_48) == ((uint32_t)((int32_t)10))))) { goto IL_0235; } } IL_0233: { return (int32_t)(0); } IL_0235: { uint16_t L_49 = V_7; if ((((int32_t)L_49) == ((int32_t)((int32_t)13)))) { goto IL_0246; } } { uint16_t L_50 = V_7; if ((!(((uint32_t)L_50) == ((uint32_t)3)))) { goto IL_024a; } } IL_0246: { V_7 = ((int32_t)10); } IL_024a: { uint16_t L_51 = V_7; bool L_52 = InputField_IsValidChar_m3270378798(__this, L_51, /*hidden argument*/NULL); if (!L_52) { goto IL_025f; } } { uint16_t L_53 = V_7; VirtActionInvoker1< uint16_t >::Invoke(55 /* System.Void UnityEngine.UI.InputField::Append(System.Char) */, __this, L_53); } IL_025f: { uint16_t L_54 = V_7; if (L_54) { goto IL_027c; } } { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); String_t* L_55 = Input_get_compositionString_m1541052002(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_55); int32_t L_56 = String_get_Length_m2979997331(L_55, /*hidden argument*/NULL); if ((((int32_t)L_56) <= ((int32_t)0))) { goto IL_027c; } } { InputField_UpdateLabel_m4272237956(__this, /*hidden argument*/NULL); } IL_027c: { return (int32_t)(0); } } // System.Boolean UnityEngine.UI.InputField::IsValidChar(System.Char) extern "C" bool InputField_IsValidChar_m3270378798 (InputField_t2345609593 * __this, uint16_t ___c0, const MethodInfo* method) { { uint16_t L_0 = ___c0; if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)127))))) { goto IL_000a; } } { return (bool)0; } IL_000a: { uint16_t L_1 = ___c0; if ((((int32_t)L_1) == ((int32_t)((int32_t)9)))) { goto IL_001a; } } { uint16_t L_2 = ___c0; if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)10))))) { goto IL_001c; } } IL_001a: { return (bool)1; } IL_001c: { Text_t3286458198 * L_3 = __this->get_m_TextComponent_21(); NullCheck(L_3); Font_t1525081276 * L_4 = Text_get_font_m2437753165(L_3, /*hidden argument*/NULL); uint16_t L_5 = ___c0; NullCheck(L_4); bool L_6 = Font_HasCharacter_m2480770466(L_4, L_5, /*hidden argument*/NULL); return L_6; } } // System.Void UnityEngine.UI.InputField::ProcessEvent(UnityEngine.Event) extern "C" void InputField_ProcessEvent_m946297147 (InputField_t2345609593 * __this, Event_t1590224583 * ___e0, const MethodInfo* method) { { Event_t1590224583 * L_0 = ___e0; InputField_KeyPressed_m56514315(__this, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::OnUpdateSelected(UnityEngine.EventSystems.BaseEventData) extern Il2CppClass* InputField_t2345609593_il2cpp_TypeInfo_var; extern Il2CppClass* Dictionary_2_t190145395_il2cpp_TypeInfo_var; extern const MethodInfo* Dictionary_2__ctor_m1958628151_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral287963877; extern const uint32_t InputField_OnUpdateSelected_m636353350_MetadataUsageId; extern "C" void InputField_OnUpdateSelected_m636353350 (InputField_t2345609593 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_OnUpdateSelected_m636353350_MetadataUsageId); s_Il2CppMethodIntialized = true; } bool V_0 = false; int32_t V_1 = 0; int32_t V_2 = 0; String_t* V_3 = NULL; Dictionary_2_t190145395 * V_4 = NULL; int32_t V_5 = 0; { bool L_0 = InputField_get_isFocused_m1249071051(__this, /*hidden argument*/NULL); if (L_0) { goto IL_000c; } } { return; } IL_000c: { V_0 = (bool)0; goto IL_00ce; } IL_0013: { Event_t1590224583 * L_1 = __this->get_m_ProcessingEvent_62(); NullCheck(L_1); int32_t L_2 = Event_get_rawType_m696564524(L_1, /*hidden argument*/NULL); if ((!(((uint32_t)L_2) == ((uint32_t)4)))) { goto IL_0045; } } { V_0 = (bool)1; Event_t1590224583 * L_3 = __this->get_m_ProcessingEvent_62(); int32_t L_4 = InputField_KeyPressed_m56514315(__this, L_3, /*hidden argument*/NULL); V_1 = L_4; int32_t L_5 = V_1; if ((!(((uint32_t)L_5) == ((uint32_t)1)))) { goto IL_0045; } } { InputField_DeactivateInputField_m2310323789(__this, /*hidden argument*/NULL); goto IL_00de; } IL_0045: { Event_t1590224583 * L_6 = __this->get_m_ProcessingEvent_62(); NullCheck(L_6); int32_t L_7 = Event_get_type_m2209939250(L_6, /*hidden argument*/NULL); V_2 = L_7; int32_t L_8 = V_2; if ((((int32_t)L_8) == ((int32_t)((int32_t)13)))) { goto IL_0066; } } { int32_t L_9 = V_2; if ((((int32_t)L_9) == ((int32_t)((int32_t)14)))) { goto IL_0066; } } { goto IL_00ce; } IL_0066: { Event_t1590224583 * L_10 = __this->get_m_ProcessingEvent_62(); NullCheck(L_10); String_t* L_11 = Event_get_commandName_m1197792621(L_10, /*hidden argument*/NULL); V_3 = L_11; String_t* L_12 = V_3; if (!L_12) { goto IL_00c9; } } { IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); Dictionary_2_t190145395 * L_13 = ((InputField_t2345609593_StaticFields*)InputField_t2345609593_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map0_63(); if (L_13) { goto IL_009e; } } { Dictionary_2_t190145395 * L_14 = (Dictionary_2_t190145395 *)il2cpp_codegen_object_new(Dictionary_2_t190145395_il2cpp_TypeInfo_var); Dictionary_2__ctor_m1958628151(L_14, 1, /*hidden argument*/Dictionary_2__ctor_m1958628151_MethodInfo_var); V_4 = L_14; Dictionary_2_t190145395 * L_15 = V_4; NullCheck(L_15); VirtActionInvoker2< String_t*, int32_t >::Invoke(27 /* System.Void System.Collections.Generic.Dictionary`2<System.String,System.Int32>::Add(!0,!1) */, L_15, _stringLiteral287963877, 0); Dictionary_2_t190145395 * L_16 = V_4; IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); ((InputField_t2345609593_StaticFields*)InputField_t2345609593_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__switchU24map0_63(L_16); } IL_009e: { IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); Dictionary_2_t190145395 * L_17 = ((InputField_t2345609593_StaticFields*)InputField_t2345609593_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__switchU24map0_63(); String_t* L_18 = V_3; NullCheck(L_17); bool L_19 = VirtFuncInvoker2< bool, String_t*, int32_t* >::Invoke(32 /* System.Boolean System.Collections.Generic.Dictionary`2<System.String,System.Int32>::TryGetValue(!0,!1&) */, L_17, L_18, (&V_5)); if (!L_19) { goto IL_00c9; } } { int32_t L_20 = V_5; if (!L_20) { goto IL_00bc; } } { goto IL_00c9; } IL_00bc: { InputField_SelectAll_m4063966302(__this, /*hidden argument*/NULL); V_0 = (bool)1; goto IL_00c9; } IL_00c9: { goto IL_00ce; } IL_00ce: { Event_t1590224583 * L_21 = __this->get_m_ProcessingEvent_62(); bool L_22 = Event_PopEvent_m2790075015(NULL /*static, unused*/, L_21, /*hidden argument*/NULL); if (L_22) { goto IL_0013; } } IL_00de: { bool L_23 = V_0; if (!L_23) { goto IL_00ea; } } { InputField_UpdateLabel_m4272237956(__this, /*hidden argument*/NULL); } IL_00ea: { BaseEventData_t3547103726 * L_24 = ___eventData0; NullCheck(L_24); VirtActionInvoker0::Invoke(5 /* System.Void UnityEngine.EventSystems.AbstractEventData::Use() */, L_24); return; } } // System.String UnityEngine.UI.InputField::GetSelectedString() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const uint32_t InputField_GetSelectedString_m1040556478_MetadataUsageId; extern "C" String_t* InputField_GetSelectedString_m1040556478 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_GetSelectedString_m1040556478_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; int32_t V_2 = 0; { bool L_0 = InputField_get_hasSelection_m69592150(__this, /*hidden argument*/NULL); if (L_0) { goto IL_0011; } } { IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_1 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2(); return L_1; } IL_0011: { int32_t L_2 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); V_0 = L_2; int32_t L_3 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); V_1 = L_3; int32_t L_4 = V_0; int32_t L_5 = V_1; if ((((int32_t)L_4) <= ((int32_t)L_5))) { goto IL_002c; } } { int32_t L_6 = V_0; V_2 = L_6; int32_t L_7 = V_1; V_0 = L_7; int32_t L_8 = V_2; V_1 = L_8; } IL_002c: { String_t* L_9 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); int32_t L_10 = V_0; int32_t L_11 = V_1; int32_t L_12 = V_0; NullCheck(L_9); String_t* L_13 = String_Substring_m675079568(L_9, L_10, ((int32_t)((int32_t)L_11-(int32_t)L_12)), /*hidden argument*/NULL); return L_13; } } // System.Int32 UnityEngine.UI.InputField::FindtNextWordBegin() extern Il2CppClass* InputField_t2345609593_il2cpp_TypeInfo_var; extern const uint32_t InputField_FindtNextWordBegin_m2221118514_MetadataUsageId; extern "C" int32_t InputField_FindtNextWordBegin_m2221118514 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_FindtNextWordBegin_m2221118514_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; { int32_t L_0 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); String_t* L_1 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_1); int32_t L_2 = String_get_Length_m2979997331(L_1, /*hidden argument*/NULL); if ((((int32_t)((int32_t)((int32_t)L_0+(int32_t)1))) < ((int32_t)L_2))) { goto IL_0024; } } { String_t* L_3 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_3); int32_t L_4 = String_get_Length_m2979997331(L_3, /*hidden argument*/NULL); return L_4; } IL_0024: { String_t* L_5 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); CharU5BU5D_t3416858730* L_6 = ((InputField_t2345609593_StaticFields*)InputField_t2345609593_il2cpp_TypeInfo_var->static_fields)->get_kSeparators_20(); int32_t L_7 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); NullCheck(L_5); int32_t L_8 = String_IndexOfAny_m1954541507(L_5, L_6, ((int32_t)((int32_t)L_7+(int32_t)1)), /*hidden argument*/NULL); V_0 = L_8; int32_t L_9 = V_0; if ((!(((uint32_t)L_9) == ((uint32_t)(-1))))) { goto IL_0055; } } { String_t* L_10 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_10); int32_t L_11 = String_get_Length_m2979997331(L_10, /*hidden argument*/NULL); V_0 = L_11; goto IL_0059; } IL_0055: { int32_t L_12 = V_0; V_0 = ((int32_t)((int32_t)L_12+(int32_t)1)); } IL_0059: { int32_t L_13 = V_0; return L_13; } } // System.Void UnityEngine.UI.InputField::MoveRight(System.Boolean,System.Boolean) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t InputField_MoveRight_m815186690_MetadataUsageId; extern "C" void InputField_MoveRight_m815186690 (InputField_t2345609593 * __this, bool ___shift0, bool ___ctrl1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_MoveRight_m815186690_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; { bool L_0 = InputField_get_hasSelection_m69592150(__this, /*hidden argument*/NULL); if (!L_0) { goto IL_0032; } } { bool L_1 = ___shift0; if (L_1) { goto IL_0032; } } { int32_t L_2 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); int32_t L_3 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_4 = Mathf_Max_m2911193737(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); V_1 = L_4; int32_t L_5 = V_1; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_5, /*hidden argument*/NULL); int32_t L_6 = V_1; InputField_set_caretPositionInternal_m3521473046(__this, L_6, /*hidden argument*/NULL); return; } IL_0032: { bool L_7 = ___ctrl1; if (!L_7) { goto IL_0044; } } { int32_t L_8 = InputField_FindtNextWordBegin_m2221118514(__this, /*hidden argument*/NULL); V_0 = L_8; goto IL_004d; } IL_0044: { int32_t L_9 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); V_0 = ((int32_t)((int32_t)L_9+(int32_t)1)); } IL_004d: { bool L_10 = ___shift0; if (!L_10) { goto IL_005f; } } { int32_t L_11 = V_0; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_11, /*hidden argument*/NULL); goto IL_006f; } IL_005f: { int32_t L_12 = V_0; V_1 = L_12; int32_t L_13 = V_1; InputField_set_caretPositionInternal_m3521473046(__this, L_13, /*hidden argument*/NULL); int32_t L_14 = V_1; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_14, /*hidden argument*/NULL); } IL_006f: { return; } } // System.Int32 UnityEngine.UI.InputField::FindtPrevWordBegin() extern Il2CppClass* InputField_t2345609593_il2cpp_TypeInfo_var; extern const uint32_t InputField_FindtPrevWordBegin_m201815282_MetadataUsageId; extern "C" int32_t InputField_FindtPrevWordBegin_m201815282 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_FindtPrevWordBegin_m201815282_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; { int32_t L_0 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); if ((((int32_t)((int32_t)((int32_t)L_0-(int32_t)2))) >= ((int32_t)0))) { goto IL_0010; } } { return 0; } IL_0010: { String_t* L_1 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); CharU5BU5D_t3416858730* L_2 = ((InputField_t2345609593_StaticFields*)InputField_t2345609593_il2cpp_TypeInfo_var->static_fields)->get_kSeparators_20(); int32_t L_3 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); NullCheck(L_1); int32_t L_4 = String_LastIndexOfAny_m2835072121(L_1, L_2, ((int32_t)((int32_t)L_3-(int32_t)2)), /*hidden argument*/NULL); V_0 = L_4; int32_t L_5 = V_0; if ((!(((uint32_t)L_5) == ((uint32_t)(-1))))) { goto IL_0037; } } { V_0 = 0; goto IL_003b; } IL_0037: { int32_t L_6 = V_0; V_0 = ((int32_t)((int32_t)L_6+(int32_t)1)); } IL_003b: { int32_t L_7 = V_0; return L_7; } } // System.Void UnityEngine.UI.InputField::MoveLeft(System.Boolean,System.Boolean) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t InputField_MoveLeft_m2120951525_MetadataUsageId; extern "C" void InputField_MoveLeft_m2120951525 (InputField_t2345609593 * __this, bool ___shift0, bool ___ctrl1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_MoveLeft_m2120951525_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; { bool L_0 = InputField_get_hasSelection_m69592150(__this, /*hidden argument*/NULL); if (!L_0) { goto IL_0032; } } { bool L_1 = ___shift0; if (L_1) { goto IL_0032; } } { int32_t L_2 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); int32_t L_3 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_4 = Mathf_Min_m2413438171(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); V_1 = L_4; int32_t L_5 = V_1; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_5, /*hidden argument*/NULL); int32_t L_6 = V_1; InputField_set_caretPositionInternal_m3521473046(__this, L_6, /*hidden argument*/NULL); return; } IL_0032: { bool L_7 = ___ctrl1; if (!L_7) { goto IL_0044; } } { int32_t L_8 = InputField_FindtPrevWordBegin_m201815282(__this, /*hidden argument*/NULL); V_0 = L_8; goto IL_004d; } IL_0044: { int32_t L_9 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); V_0 = ((int32_t)((int32_t)L_9-(int32_t)1)); } IL_004d: { bool L_10 = ___shift0; if (!L_10) { goto IL_005f; } } { int32_t L_11 = V_0; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_11, /*hidden argument*/NULL); goto IL_006f; } IL_005f: { int32_t L_12 = V_0; V_1 = L_12; int32_t L_13 = V_1; InputField_set_caretPositionInternal_m3521473046(__this, L_13, /*hidden argument*/NULL); int32_t L_14 = V_1; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_14, /*hidden argument*/NULL); } IL_006f: { return; } } // System.Int32 UnityEngine.UI.InputField::DetermineCharacterLine(System.Int32,UnityEngine.TextGenerator) extern Il2CppClass* IList_1_t2323413597_il2cpp_TypeInfo_var; extern const uint32_t InputField_DetermineCharacterLine_m3657739513_MetadataUsageId; extern "C" int32_t InputField_DetermineCharacterLine_m3657739513 (InputField_t2345609593 * __this, int32_t ___charPos0, TextGenerator_t2883685459 * ___generator1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_DetermineCharacterLine_m3657739513_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; UILineInfo_t156921283 V_1; memset(&V_1, 0, sizeof(V_1)); { V_0 = 0; goto IL_0029; } IL_0007: { TextGenerator_t2883685459 * L_0 = ___generator1; NullCheck(L_0); Il2CppObject* L_1 = TextGenerator_get_lines_m3197542168(L_0, /*hidden argument*/NULL); int32_t L_2 = V_0; NullCheck(L_1); UILineInfo_t156921283 L_3 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_1, ((int32_t)((int32_t)L_2+(int32_t)1))); V_1 = L_3; int32_t L_4 = (&V_1)->get_startCharIdx_0(); int32_t L_5 = ___charPos0; if ((((int32_t)L_4) <= ((int32_t)L_5))) { goto IL_0025; } } { int32_t L_6 = V_0; return L_6; } IL_0025: { int32_t L_7 = V_0; V_0 = ((int32_t)((int32_t)L_7+(int32_t)1)); } IL_0029: { int32_t L_8 = V_0; TextGenerator_t2883685459 * L_9 = ___generator1; NullCheck(L_9); int32_t L_10 = TextGenerator_get_lineCount_m3121044867(L_9, /*hidden argument*/NULL); if ((((int32_t)L_8) < ((int32_t)((int32_t)((int32_t)L_10-(int32_t)1))))) { goto IL_0007; } } { TextGenerator_t2883685459 * L_11 = ___generator1; NullCheck(L_11); int32_t L_12 = TextGenerator_get_lineCount_m3121044867(L_11, /*hidden argument*/NULL); return ((int32_t)((int32_t)L_12-(int32_t)1)); } } // System.Int32 UnityEngine.UI.InputField::LineUpCharacterPosition(System.Int32,System.Boolean) extern Il2CppClass* IList_1_t2570312895_il2cpp_TypeInfo_var; extern Il2CppClass* IList_1_t2323413597_il2cpp_TypeInfo_var; extern const uint32_t InputField_LineUpCharacterPosition_m1478103368_MetadataUsageId; extern "C" int32_t InputField_LineUpCharacterPosition_m1478103368 (InputField_t2345609593 * __this, int32_t ___originalPos0, bool ___goToFirstChar1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_LineUpCharacterPosition_m1478103368_MetadataUsageId); s_Il2CppMethodIntialized = true; } UICharInfo_t403820581 V_0; memset(&V_0, 0, sizeof(V_0)); int32_t V_1 = 0; int32_t V_2 = 0; int32_t V_3 = 0; UILineInfo_t156921283 V_4; memset(&V_4, 0, sizeof(V_4)); UILineInfo_t156921283 V_5; memset(&V_5, 0, sizeof(V_5)); UICharInfo_t403820581 V_6; memset(&V_6, 0, sizeof(V_6)); int32_t G_B6_0 = 0; { int32_t L_0 = ___originalPos0; TextGenerator_t2883685459 * L_1 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_1); int32_t L_2 = TextGenerator_get_characterCountVisible_m2621262708(L_1, /*hidden argument*/NULL); if ((((int32_t)L_0) <= ((int32_t)L_2))) { goto IL_0013; } } { return 0; } IL_0013: { TextGenerator_t2883685459 * L_3 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_3); Il2CppObject* L_4 = TextGenerator_get_characters_m3420670449(L_3, /*hidden argument*/NULL); int32_t L_5 = ___originalPos0; NullCheck(L_4); UICharInfo_t403820581 L_6 = InterfaceFuncInvoker1< UICharInfo_t403820581 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UICharInfo>::get_Item(System.Int32) */, IList_1_t2570312895_il2cpp_TypeInfo_var, L_4, L_5); V_0 = L_6; int32_t L_7 = ___originalPos0; TextGenerator_t2883685459 * L_8 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); int32_t L_9 = InputField_DetermineCharacterLine_m3657739513(__this, L_7, L_8, /*hidden argument*/NULL); V_1 = L_9; int32_t L_10 = V_1; if ((((int32_t)L_10) > ((int32_t)0))) { goto IL_0048; } } { bool L_11 = ___goToFirstChar1; if (!L_11) { goto IL_0046; } } { G_B6_0 = 0; goto IL_0047; } IL_0046: { int32_t L_12 = ___originalPos0; G_B6_0 = L_12; } IL_0047: { return G_B6_0; } IL_0048: { TextGenerator_t2883685459 * L_13 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_13); Il2CppObject* L_14 = TextGenerator_get_lines_m3197542168(L_13, /*hidden argument*/NULL); int32_t L_15 = V_1; NullCheck(L_14); UILineInfo_t156921283 L_16 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_14, L_15); V_4 = L_16; int32_t L_17 = (&V_4)->get_startCharIdx_0(); V_2 = ((int32_t)((int32_t)L_17-(int32_t)1)); TextGenerator_t2883685459 * L_18 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_18); Il2CppObject* L_19 = TextGenerator_get_lines_m3197542168(L_18, /*hidden argument*/NULL); int32_t L_20 = V_1; NullCheck(L_19); UILineInfo_t156921283 L_21 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_19, ((int32_t)((int32_t)L_20-(int32_t)1))); V_5 = L_21; int32_t L_22 = (&V_5)->get_startCharIdx_0(); V_3 = L_22; goto IL_00bd; } IL_0087: { TextGenerator_t2883685459 * L_23 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_23); Il2CppObject* L_24 = TextGenerator_get_characters_m3420670449(L_23, /*hidden argument*/NULL); int32_t L_25 = V_3; NullCheck(L_24); UICharInfo_t403820581 L_26 = InterfaceFuncInvoker1< UICharInfo_t403820581 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UICharInfo>::get_Item(System.Int32) */, IList_1_t2570312895_il2cpp_TypeInfo_var, L_24, L_25); V_6 = L_26; Vector2_t3525329788 * L_27 = (&V_6)->get_address_of_cursorPos_0(); float L_28 = L_27->get_x_1(); Vector2_t3525329788 * L_29 = (&V_0)->get_address_of_cursorPos_0(); float L_30 = L_29->get_x_1(); if ((!(((float)L_28) >= ((float)L_30)))) { goto IL_00b9; } } { int32_t L_31 = V_3; return L_31; } IL_00b9: { int32_t L_32 = V_3; V_3 = ((int32_t)((int32_t)L_32+(int32_t)1)); } IL_00bd: { int32_t L_33 = V_3; int32_t L_34 = V_2; if ((((int32_t)L_33) < ((int32_t)L_34))) { goto IL_0087; } } { int32_t L_35 = V_2; return L_35; } } // System.Int32 UnityEngine.UI.InputField::LineDownCharacterPosition(System.Int32,System.Boolean) extern Il2CppClass* IList_1_t2570312895_il2cpp_TypeInfo_var; extern Il2CppClass* InputField_t2345609593_il2cpp_TypeInfo_var; extern Il2CppClass* IList_1_t2323413597_il2cpp_TypeInfo_var; extern const uint32_t InputField_LineDownCharacterPosition_m263003663_MetadataUsageId; extern "C" int32_t InputField_LineDownCharacterPosition_m263003663 (InputField_t2345609593 * __this, int32_t ___originalPos0, bool ___goToLastChar1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_LineDownCharacterPosition_m263003663_MetadataUsageId); s_Il2CppMethodIntialized = true; } UICharInfo_t403820581 V_0; memset(&V_0, 0, sizeof(V_0)); int32_t V_1 = 0; int32_t V_2 = 0; int32_t V_3 = 0; UILineInfo_t156921283 V_4; memset(&V_4, 0, sizeof(V_4)); UICharInfo_t403820581 V_5; memset(&V_5, 0, sizeof(V_5)); int32_t G_B6_0 = 0; { int32_t L_0 = ___originalPos0; TextGenerator_t2883685459 * L_1 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_1); int32_t L_2 = TextGenerator_get_characterCountVisible_m2621262708(L_1, /*hidden argument*/NULL); if ((((int32_t)L_0) < ((int32_t)L_2))) { goto IL_001d; } } { String_t* L_3 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_3); int32_t L_4 = String_get_Length_m2979997331(L_3, /*hidden argument*/NULL); return L_4; } IL_001d: { TextGenerator_t2883685459 * L_5 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_5); Il2CppObject* L_6 = TextGenerator_get_characters_m3420670449(L_5, /*hidden argument*/NULL); int32_t L_7 = ___originalPos0; NullCheck(L_6); UICharInfo_t403820581 L_8 = InterfaceFuncInvoker1< UICharInfo_t403820581 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UICharInfo>::get_Item(System.Int32) */, IList_1_t2570312895_il2cpp_TypeInfo_var, L_6, L_7); V_0 = L_8; int32_t L_9 = ___originalPos0; TextGenerator_t2883685459 * L_10 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); int32_t L_11 = InputField_DetermineCharacterLine_m3657739513(__this, L_9, L_10, /*hidden argument*/NULL); V_1 = L_11; int32_t L_12 = V_1; TextGenerator_t2883685459 * L_13 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_13); int32_t L_14 = TextGenerator_get_lineCount_m3121044867(L_13, /*hidden argument*/NULL); if ((((int32_t)((int32_t)((int32_t)L_12+(int32_t)1))) < ((int32_t)L_14))) { goto IL_0068; } } { bool L_15 = ___goToLastChar1; if (!L_15) { goto IL_0066; } } { String_t* L_16 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_16); int32_t L_17 = String_get_Length_m2979997331(L_16, /*hidden argument*/NULL); G_B6_0 = L_17; goto IL_0067; } IL_0066: { int32_t L_18 = ___originalPos0; G_B6_0 = L_18; } IL_0067: { return G_B6_0; } IL_0068: { TextGenerator_t2883685459 * L_19 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); int32_t L_20 = V_1; IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); int32_t L_21 = InputField_GetLineEndPosition_m293479951(NULL /*static, unused*/, L_19, ((int32_t)((int32_t)L_20+(int32_t)1)), /*hidden argument*/NULL); V_2 = L_21; TextGenerator_t2883685459 * L_22 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_22); Il2CppObject* L_23 = TextGenerator_get_lines_m3197542168(L_22, /*hidden argument*/NULL); int32_t L_24 = V_1; NullCheck(L_23); UILineInfo_t156921283 L_25 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_23, ((int32_t)((int32_t)L_24+(int32_t)1))); V_4 = L_25; int32_t L_26 = (&V_4)->get_startCharIdx_0(); V_3 = L_26; goto IL_00cf; } IL_0099: { TextGenerator_t2883685459 * L_27 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_27); Il2CppObject* L_28 = TextGenerator_get_characters_m3420670449(L_27, /*hidden argument*/NULL); int32_t L_29 = V_3; NullCheck(L_28); UICharInfo_t403820581 L_30 = InterfaceFuncInvoker1< UICharInfo_t403820581 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UICharInfo>::get_Item(System.Int32) */, IList_1_t2570312895_il2cpp_TypeInfo_var, L_28, L_29); V_5 = L_30; Vector2_t3525329788 * L_31 = (&V_5)->get_address_of_cursorPos_0(); float L_32 = L_31->get_x_1(); Vector2_t3525329788 * L_33 = (&V_0)->get_address_of_cursorPos_0(); float L_34 = L_33->get_x_1(); if ((!(((float)L_32) >= ((float)L_34)))) { goto IL_00cb; } } { int32_t L_35 = V_3; return L_35; } IL_00cb: { int32_t L_36 = V_3; V_3 = ((int32_t)((int32_t)L_36+(int32_t)1)); } IL_00cf: { int32_t L_37 = V_3; int32_t L_38 = V_2; if ((((int32_t)L_37) < ((int32_t)L_38))) { goto IL_0099; } } { int32_t L_39 = V_2; return L_39; } } // System.Void UnityEngine.UI.InputField::MoveDown(System.Boolean) extern "C" void InputField_MoveDown_m1297332275 (InputField_t2345609593 * __this, bool ___shift0, const MethodInfo* method) { { bool L_0 = ___shift0; InputField_MoveDown_m3574910698(__this, L_0, (bool)1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::MoveDown(System.Boolean,System.Boolean) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t InputField_MoveDown_m3574910698_MetadataUsageId; extern "C" void InputField_MoveDown_m3574910698 (InputField_t2345609593 * __this, bool ___shift0, bool ___goToLastChar1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_MoveDown_m3574910698_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; int32_t G_B6_0 = 0; { bool L_0 = InputField_get_hasSelection_m69592150(__this, /*hidden argument*/NULL); if (!L_0) { goto IL_0031; } } { bool L_1 = ___shift0; if (L_1) { goto IL_0031; } } { int32_t L_2 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); int32_t L_3 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_4 = Mathf_Max_m2911193737(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); V_1 = L_4; int32_t L_5 = V_1; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_5, /*hidden argument*/NULL); int32_t L_6 = V_1; InputField_set_caretPositionInternal_m3521473046(__this, L_6, /*hidden argument*/NULL); } IL_0031: { bool L_7 = InputField_get_multiLine_m2265790891(__this, /*hidden argument*/NULL); if (!L_7) { goto IL_004e; } } { int32_t L_8 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); bool L_9 = ___goToLastChar1; int32_t L_10 = InputField_LineDownCharacterPosition_m263003663(__this, L_8, L_9, /*hidden argument*/NULL); G_B6_0 = L_10; goto IL_0059; } IL_004e: { String_t* L_11 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_11); int32_t L_12 = String_get_Length_m2979997331(L_11, /*hidden argument*/NULL); G_B6_0 = L_12; } IL_0059: { V_0 = G_B6_0; bool L_13 = ___shift0; if (!L_13) { goto IL_006c; } } { int32_t L_14 = V_0; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_14, /*hidden argument*/NULL); goto IL_007c; } IL_006c: { int32_t L_15 = V_0; V_1 = L_15; int32_t L_16 = V_1; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_16, /*hidden argument*/NULL); int32_t L_17 = V_1; InputField_set_caretPositionInternal_m3521473046(__this, L_17, /*hidden argument*/NULL); } IL_007c: { return; } } // System.Void UnityEngine.UI.InputField::MoveUp(System.Boolean) extern "C" void InputField_MoveUp_m3783029356 (InputField_t2345609593 * __this, bool ___shift0, const MethodInfo* method) { { bool L_0 = ___shift0; InputField_MoveUp_m2694527889(__this, L_0, (bool)1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::MoveUp(System.Boolean,System.Boolean) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t InputField_MoveUp_m2694527889_MetadataUsageId; extern "C" void InputField_MoveUp_m2694527889 (InputField_t2345609593 * __this, bool ___shift0, bool ___goToFirstChar1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_MoveUp_m2694527889_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; int32_t G_B6_0 = 0; { bool L_0 = InputField_get_hasSelection_m69592150(__this, /*hidden argument*/NULL); if (!L_0) { goto IL_0031; } } { bool L_1 = ___shift0; if (L_1) { goto IL_0031; } } { int32_t L_2 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); int32_t L_3 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_4 = Mathf_Min_m2413438171(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL); V_1 = L_4; int32_t L_5 = V_1; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_5, /*hidden argument*/NULL); int32_t L_6 = V_1; InputField_set_caretPositionInternal_m3521473046(__this, L_6, /*hidden argument*/NULL); } IL_0031: { bool L_7 = InputField_get_multiLine_m2265790891(__this, /*hidden argument*/NULL); if (!L_7) { goto IL_004e; } } { int32_t L_8 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); bool L_9 = ___goToFirstChar1; int32_t L_10 = InputField_LineUpCharacterPosition_m1478103368(__this, L_8, L_9, /*hidden argument*/NULL); G_B6_0 = L_10; goto IL_004f; } IL_004e: { G_B6_0 = 0; } IL_004f: { V_0 = G_B6_0; bool L_11 = ___shift0; if (!L_11) { goto IL_0062; } } { int32_t L_12 = V_0; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_12, /*hidden argument*/NULL); goto IL_0072; } IL_0062: { int32_t L_13 = V_0; V_1 = L_13; int32_t L_14 = V_1; InputField_set_caretPositionInternal_m3521473046(__this, L_14, /*hidden argument*/NULL); int32_t L_15 = V_1; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_15, /*hidden argument*/NULL); } IL_0072: { return; } } // System.Void UnityEngine.UI.InputField::Delete() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern const uint32_t InputField_Delete_m3723424084_MetadataUsageId; extern "C" void InputField_Delete_m3723424084 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_Delete_m3723424084_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = __this->get_m_ReadOnly_40(); if (!L_0) { goto IL_000c; } } { return; } IL_000c: { int32_t L_1 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); int32_t L_2 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_1) == ((uint32_t)L_2)))) { goto IL_001e; } } { return; } IL_001e: { int32_t L_3 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); int32_t L_4 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); if ((((int32_t)L_3) >= ((int32_t)L_4))) { goto IL_0080; } } { String_t* L_5 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); int32_t L_6 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); NullCheck(L_5); String_t* L_7 = String_Substring_m675079568(L_5, 0, L_6, /*hidden argument*/NULL); String_t* L_8 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); int32_t L_9 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); String_t* L_10 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_10); int32_t L_11 = String_get_Length_m2979997331(L_10, /*hidden argument*/NULL); int32_t L_12 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); NullCheck(L_8); String_t* L_13 = String_Substring_m675079568(L_8, L_9, ((int32_t)((int32_t)L_11-(int32_t)L_12)), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_14 = String_Concat_m138640077(NULL /*static, unused*/, L_7, L_13, /*hidden argument*/NULL); __this->set_m_Text_37(L_14); int32_t L_15 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); InputField_set_caretSelectPositionInternal_m4114170802(__this, L_15, /*hidden argument*/NULL); goto IL_00cc; } IL_0080: { String_t* L_16 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); int32_t L_17 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); NullCheck(L_16); String_t* L_18 = String_Substring_m675079568(L_16, 0, L_17, /*hidden argument*/NULL); String_t* L_19 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); int32_t L_20 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); String_t* L_21 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_21); int32_t L_22 = String_get_Length_m2979997331(L_21, /*hidden argument*/NULL); int32_t L_23 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); NullCheck(L_19); String_t* L_24 = String_Substring_m675079568(L_19, L_20, ((int32_t)((int32_t)L_22-(int32_t)L_23)), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_25 = String_Concat_m138640077(NULL /*static, unused*/, L_18, L_24, /*hidden argument*/NULL); __this->set_m_Text_37(L_25); int32_t L_26 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); InputField_set_caretPositionInternal_m3521473046(__this, L_26, /*hidden argument*/NULL); } IL_00cc: { return; } } // System.Void UnityEngine.UI.InputField::ForwardSpace() extern "C" void InputField_ForwardSpace_m957387114 (InputField_t2345609593 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_ReadOnly_40(); if (!L_0) { goto IL_000c; } } { return; } IL_000c: { bool L_1 = InputField_get_hasSelection_m69592150(__this, /*hidden argument*/NULL); if (!L_1) { goto IL_0028; } } { InputField_Delete_m3723424084(__this, /*hidden argument*/NULL); InputField_SendOnValueChangedAndUpdateLabel_m3331240455(__this, /*hidden argument*/NULL); goto IL_005c; } IL_0028: { int32_t L_2 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); String_t* L_3 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_3); int32_t L_4 = String_get_Length_m2979997331(L_3, /*hidden argument*/NULL); if ((((int32_t)L_2) >= ((int32_t)L_4))) { goto IL_005c; } } { String_t* L_5 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); int32_t L_6 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); NullCheck(L_5); String_t* L_7 = String_Remove_m242090629(L_5, L_6, 1, /*hidden argument*/NULL); __this->set_m_Text_37(L_7); InputField_SendOnValueChangedAndUpdateLabel_m3331240455(__this, /*hidden argument*/NULL); } IL_005c: { return; } } // System.Void UnityEngine.UI.InputField::Backspace() extern "C" void InputField_Backspace_m3222521688 (InputField_t2345609593 * __this, const MethodInfo* method) { int32_t V_0 = 0; { bool L_0 = __this->get_m_ReadOnly_40(); if (!L_0) { goto IL_000c; } } { return; } IL_000c: { bool L_1 = InputField_get_hasSelection_m69592150(__this, /*hidden argument*/NULL); if (!L_1) { goto IL_0028; } } { InputField_Delete_m3723424084(__this, /*hidden argument*/NULL); InputField_SendOnValueChangedAndUpdateLabel_m3331240455(__this, /*hidden argument*/NULL); goto IL_006b; } IL_0028: { int32_t L_2 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); if ((((int32_t)L_2) <= ((int32_t)0))) { goto IL_006b; } } { String_t* L_3 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); int32_t L_4 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); NullCheck(L_3); String_t* L_5 = String_Remove_m242090629(L_3, ((int32_t)((int32_t)L_4-(int32_t)1)), 1, /*hidden argument*/NULL); __this->set_m_Text_37(L_5); int32_t L_6 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); V_0 = ((int32_t)((int32_t)L_6-(int32_t)1)); int32_t L_7 = V_0; InputField_set_caretPositionInternal_m3521473046(__this, L_7, /*hidden argument*/NULL); int32_t L_8 = V_0; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_8, /*hidden argument*/NULL); InputField_SendOnValueChangedAndUpdateLabel_m3331240455(__this, /*hidden argument*/NULL); } IL_006b: { return; } } // System.Void UnityEngine.UI.InputField::Insert(System.Char) extern "C" void InputField_Insert_m2452101819 (InputField_t2345609593 * __this, uint16_t ___c0, const MethodInfo* method) { String_t* V_0 = NULL; int32_t V_1 = 0; { bool L_0 = __this->get_m_ReadOnly_40(); if (!L_0) { goto IL_000c; } } { return; } IL_000c: { String_t* L_1 = Char_ToString_m2089191214((&___c0), /*hidden argument*/NULL); V_0 = L_1; InputField_Delete_m3723424084(__this, /*hidden argument*/NULL); int32_t L_2 = InputField_get_characterLimit_m2780159932(__this, /*hidden argument*/NULL); if ((((int32_t)L_2) <= ((int32_t)0))) { goto IL_003d; } } { String_t* L_3 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_3); int32_t L_4 = String_get_Length_m2979997331(L_3, /*hidden argument*/NULL); int32_t L_5 = InputField_get_characterLimit_m2780159932(__this, /*hidden argument*/NULL); if ((((int32_t)L_4) < ((int32_t)L_5))) { goto IL_003d; } } { return; } IL_003d: { String_t* L_6 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); int32_t L_7 = __this->get_m_CaretPosition_41(); String_t* L_8 = V_0; NullCheck(L_6); String_t* L_9 = String_Insert_m3926397187(L_6, L_7, L_8, /*hidden argument*/NULL); __this->set_m_Text_37(L_9); int32_t L_10 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); String_t* L_11 = V_0; NullCheck(L_11); int32_t L_12 = String_get_Length_m2979997331(L_11, /*hidden argument*/NULL); int32_t L_13 = ((int32_t)((int32_t)L_10+(int32_t)L_12)); V_1 = L_13; InputField_set_caretPositionInternal_m3521473046(__this, L_13, /*hidden argument*/NULL); int32_t L_14 = V_1; InputField_set_caretSelectPositionInternal_m4114170802(__this, L_14, /*hidden argument*/NULL); InputField_SendOnValueChanged_m2613517587(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::SendOnValueChangedAndUpdateLabel() extern "C" void InputField_SendOnValueChangedAndUpdateLabel_m3331240455 (InputField_t2345609593 * __this, const MethodInfo* method) { { InputField_SendOnValueChanged_m2613517587(__this, /*hidden argument*/NULL); InputField_UpdateLabel_m4272237956(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::SendOnValueChanged() extern const MethodInfo* UnityEvent_1_Invoke_m3275129035_MethodInfo_var; extern const uint32_t InputField_SendOnValueChanged_m2613517587_MetadataUsageId; extern "C" void InputField_SendOnValueChanged_m2613517587 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_SendOnValueChanged_m2613517587_MetadataUsageId); s_Il2CppMethodIntialized = true; } { OnChangeEvent_t3894605131 * L_0 = InputField_get_onValueChanged_m2321341872(__this, /*hidden argument*/NULL); if (!L_0) { goto IL_001c; } } { OnChangeEvent_t3894605131 * L_1 = InputField_get_onValueChanged_m2321341872(__this, /*hidden argument*/NULL); String_t* L_2 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); NullCheck(L_1); UnityEvent_1_Invoke_m3275129035(L_1, L_2, /*hidden argument*/UnityEvent_1_Invoke_m3275129035_MethodInfo_var); } IL_001c: { return; } } // System.Void UnityEngine.UI.InputField::SendOnSubmit() extern const MethodInfo* UnityEvent_1_Invoke_m3275129035_MethodInfo_var; extern const uint32_t InputField_SendOnSubmit_m3215072040_MetadataUsageId; extern "C" void InputField_SendOnSubmit_m3215072040 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_SendOnSubmit_m3215072040_MetadataUsageId); s_Il2CppMethodIntialized = true; } { SubmitEvent_t1697462594 * L_0 = InputField_get_onEndEdit_m3802925699(__this, /*hidden argument*/NULL); if (!L_0) { goto IL_001c; } } { SubmitEvent_t1697462594 * L_1 = InputField_get_onEndEdit_m3802925699(__this, /*hidden argument*/NULL); String_t* L_2 = __this->get_m_Text_37(); NullCheck(L_1); UnityEvent_1_Invoke_m3275129035(L_1, L_2, /*hidden argument*/UnityEvent_1_Invoke_m3275129035_MethodInfo_var); } IL_001c: { return; } } // System.Void UnityEngine.UI.InputField::Append(System.String) extern "C" void InputField_Append_m2987278559 (InputField_t2345609593 * __this, String_t* ___input0, const MethodInfo* method) { int32_t V_0 = 0; int32_t V_1 = 0; uint16_t V_2 = 0x0; { bool L_0 = __this->get_m_ReadOnly_40(); if (!L_0) { goto IL_000c; } } { return; } IL_000c: { bool L_1 = InputField_InPlaceEditing_m3152517681(__this, /*hidden argument*/NULL); if (L_1) { goto IL_0018; } } { return; } IL_0018: { V_0 = 0; String_t* L_2 = ___input0; NullCheck(L_2); int32_t L_3 = String_get_Length_m2979997331(L_2, /*hidden argument*/NULL); V_1 = L_3; goto IL_0061; } IL_0026: { String_t* L_4 = ___input0; int32_t L_5 = V_0; NullCheck(L_4); uint16_t L_6 = String_get_Chars_m3015341861(L_4, L_5, /*hidden argument*/NULL); V_2 = L_6; uint16_t L_7 = V_2; if ((((int32_t)L_7) >= ((int32_t)((int32_t)32)))) { goto IL_0056; } } { uint16_t L_8 = V_2; if ((((int32_t)L_8) == ((int32_t)((int32_t)9)))) { goto IL_0056; } } { uint16_t L_9 = V_2; if ((((int32_t)L_9) == ((int32_t)((int32_t)13)))) { goto IL_0056; } } { uint16_t L_10 = V_2; if ((((int32_t)L_10) == ((int32_t)((int32_t)10)))) { goto IL_0056; } } { uint16_t L_11 = V_2; if ((!(((uint32_t)L_11) == ((uint32_t)((int32_t)10))))) { goto IL_005d; } } IL_0056: { uint16_t L_12 = V_2; VirtActionInvoker1< uint16_t >::Invoke(55 /* System.Void UnityEngine.UI.InputField::Append(System.Char) */, __this, L_12); } IL_005d: { int32_t L_13 = V_0; V_0 = ((int32_t)((int32_t)L_13+(int32_t)1)); } IL_0061: { int32_t L_14 = V_0; int32_t L_15 = V_1; if ((((int32_t)L_14) < ((int32_t)L_15))) { goto IL_0026; } } { return; } } // System.Void UnityEngine.UI.InputField::Append(System.Char) extern "C" void InputField_Append_m917566458 (InputField_t2345609593 * __this, uint16_t ___input0, const MethodInfo* method) { { bool L_0 = __this->get_m_ReadOnly_40(); if (!L_0) { goto IL_000c; } } { return; } IL_000c: { bool L_1 = InputField_InPlaceEditing_m3152517681(__this, /*hidden argument*/NULL); if (L_1) { goto IL_0018; } } { return; } IL_0018: { OnValidateInput_t3303221397 * L_2 = InputField_get_onValidateInput_m2116536287(__this, /*hidden argument*/NULL); if (!L_2) { goto IL_0042; } } { OnValidateInput_t3303221397 * L_3 = InputField_get_onValidateInput_m2116536287(__this, /*hidden argument*/NULL); String_t* L_4 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); int32_t L_5 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); uint16_t L_6 = ___input0; NullCheck(L_3); uint16_t L_7 = OnValidateInput_Invoke_m1377115157(L_3, L_4, L_5, L_6, /*hidden argument*/NULL); ___input0 = L_7; goto IL_0062; } IL_0042: { int32_t L_8 = InputField_get_characterValidation_m4244038975(__this, /*hidden argument*/NULL); if (!L_8) { goto IL_0062; } } { String_t* L_9 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); int32_t L_10 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); uint16_t L_11 = ___input0; uint16_t L_12 = InputField_Validate_m4235185069(__this, L_9, L_10, L_11, /*hidden argument*/NULL); ___input0 = L_12; } IL_0062: { uint16_t L_13 = ___input0; if (L_13) { goto IL_0069; } } { return; } IL_0069: { uint16_t L_14 = ___input0; InputField_Insert_m2452101819(__this, L_14, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::UpdateLabel() extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const uint32_t InputField_UpdateLabel_m4272237956_MetadataUsageId; extern "C" void InputField_UpdateLabel_m4272237956 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_UpdateLabel_m4272237956_MetadataUsageId); s_Il2CppMethodIntialized = true; } String_t* V_0 = NULL; String_t* V_1 = NULL; bool V_2 = false; Vector2_t3525329788 V_3; memset(&V_3, 0, sizeof(V_3)); TextGenerationSettings_t1897607637 V_4; memset(&V_4, 0, sizeof(V_4)); Rect_t1525428817 V_5; memset(&V_5, 0, sizeof(V_5)); { Text_t3286458198 * L_0 = __this->get_m_TextComponent_21(); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0184; } } { Text_t3286458198 * L_2 = __this->get_m_TextComponent_21(); NullCheck(L_2); Font_t1525081276 * L_3 = Text_get_font_m2437753165(L_2, /*hidden argument*/NULL); bool L_4 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_3, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_4) { goto IL_0184; } } { bool L_5 = __this->get_m_PreventFontCallback_47(); if (L_5) { goto IL_0184; } } { __this->set_m_PreventFontCallback_47((bool)1); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); String_t* L_6 = Input_get_compositionString_m1541052002(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_6); int32_t L_7 = String_get_Length_m2979997331(L_6, /*hidden argument*/NULL); if ((((int32_t)L_7) <= ((int32_t)0))) { goto IL_007c; } } { String_t* L_8 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); int32_t L_9 = __this->get_m_CaretPosition_41(); NullCheck(L_8); String_t* L_10 = String_Substring_m675079568(L_8, 0, L_9, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); String_t* L_11 = Input_get_compositionString_m1541052002(NULL /*static, unused*/, /*hidden argument*/NULL); String_t* L_12 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); int32_t L_13 = __this->get_m_CaretPosition_41(); NullCheck(L_12); String_t* L_14 = String_Substring_m2809233063(L_12, L_13, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_15 = String_Concat_m1825781833(NULL /*static, unused*/, L_10, L_11, L_14, /*hidden argument*/NULL); V_0 = L_15; goto IL_0083; } IL_007c: { String_t* L_16 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); V_0 = L_16; } IL_0083: { int32_t L_17 = InputField_get_inputType_m2348834559(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_17) == ((uint32_t)2)))) { goto IL_00a6; } } { uint16_t L_18 = InputField_get_asteriskChar_m3297406588(__this, /*hidden argument*/NULL); String_t* L_19 = V_0; NullCheck(L_19); int32_t L_20 = String_get_Length_m2979997331(L_19, /*hidden argument*/NULL); String_t* L_21 = String_CreateString_m356585284(NULL, L_18, L_20, /*hidden argument*/NULL); V_1 = L_21; goto IL_00a8; } IL_00a6: { String_t* L_22 = V_0; V_1 = L_22; } IL_00a8: { String_t* L_23 = V_0; IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_24 = String_IsNullOrEmpty_m1256468773(NULL /*static, unused*/, L_23, /*hidden argument*/NULL); V_2 = L_24; Graphic_t933884113 * L_25 = __this->get_m_Placeholder_22(); bool L_26 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_25, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_26) { goto IL_00cc; } } { Graphic_t933884113 * L_27 = __this->get_m_Placeholder_22(); bool L_28 = V_2; NullCheck(L_27); Behaviour_set_enabled_m2046806933(L_27, L_28, /*hidden argument*/NULL); } IL_00cc: { bool L_29 = __this->get_m_AllowInput_49(); if (L_29) { goto IL_00ef; } } { __this->set_m_DrawStart_56(0); String_t* L_30 = __this->get_m_Text_37(); NullCheck(L_30); int32_t L_31 = String_get_Length_m2979997331(L_30, /*hidden argument*/NULL); __this->set_m_DrawEnd_57(L_31); } IL_00ef: { bool L_32 = V_2; if (L_32) { goto IL_016b; } } { Text_t3286458198 * L_33 = __this->get_m_TextComponent_21(); NullCheck(L_33); RectTransform_t3317474837 * L_34 = Graphic_get_rectTransform_m4017371950(L_33, /*hidden argument*/NULL); NullCheck(L_34); Rect_t1525428817 L_35 = RectTransform_get_rect_m1566017036(L_34, /*hidden argument*/NULL); V_5 = L_35; Vector2_t3525329788 L_36 = Rect_get_size_m136480416((&V_5), /*hidden argument*/NULL); V_3 = L_36; Text_t3286458198 * L_37 = __this->get_m_TextComponent_21(); Vector2_t3525329788 L_38 = V_3; NullCheck(L_37); TextGenerationSettings_t1897607637 L_39 = Text_GetGenerationSettings_m554596117(L_37, L_38, /*hidden argument*/NULL); V_4 = L_39; (&V_4)->set_generateOutOfBounds_17((bool)1); TextGenerator_t2883685459 * L_40 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); String_t* L_41 = V_1; TextGenerationSettings_t1897607637 L_42 = V_4; NullCheck(L_40); TextGenerator_Populate_m953583418(L_40, L_41, L_42, /*hidden argument*/NULL); int32_t L_43 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); InputField_SetDrawRangeToContainCaretPosition_m2772169252(__this, L_43, /*hidden argument*/NULL); String_t* L_44 = V_1; int32_t L_45 = __this->get_m_DrawStart_56(); int32_t L_46 = __this->get_m_DrawEnd_57(); String_t* L_47 = V_1; NullCheck(L_47); int32_t L_48 = String_get_Length_m2979997331(L_47, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_49 = Mathf_Min_m2413438171(NULL /*static, unused*/, L_46, L_48, /*hidden argument*/NULL); int32_t L_50 = __this->get_m_DrawStart_56(); NullCheck(L_44); String_t* L_51 = String_Substring_m675079568(L_44, L_45, ((int32_t)((int32_t)L_49-(int32_t)L_50)), /*hidden argument*/NULL); V_1 = L_51; InputField_SetCaretVisible_m1704739146(__this, /*hidden argument*/NULL); } IL_016b: { Text_t3286458198 * L_52 = __this->get_m_TextComponent_21(); String_t* L_53 = V_1; NullCheck(L_52); VirtActionInvoker1< String_t* >::Invoke(65 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_52, L_53); InputField_MarkGeometryAsDirty_m178860986(__this, /*hidden argument*/NULL); __this->set_m_PreventFontCallback_47((bool)0); } IL_0184: { return; } } // System.Boolean UnityEngine.UI.InputField::IsSelectionVisible() extern "C" bool InputField_IsSelectionVisible_m1151128811 (InputField_t2345609593 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_DrawStart_56(); int32_t L_1 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); if ((((int32_t)L_0) > ((int32_t)L_1))) { goto IL_0022; } } { int32_t L_2 = __this->get_m_DrawStart_56(); int32_t L_3 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); if ((((int32_t)L_2) <= ((int32_t)L_3))) { goto IL_0024; } } IL_0022: { return (bool)0; } IL_0024: { int32_t L_4 = __this->get_m_DrawEnd_57(); int32_t L_5 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); if ((((int32_t)L_4) < ((int32_t)L_5))) { goto IL_0046; } } { int32_t L_6 = __this->get_m_DrawEnd_57(); int32_t L_7 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); if ((((int32_t)L_6) >= ((int32_t)L_7))) { goto IL_0048; } } IL_0046: { return (bool)0; } IL_0048: { return (bool)1; } } // System.Int32 UnityEngine.UI.InputField::GetLineStartPosition(UnityEngine.TextGenerator,System.Int32) extern Il2CppClass* ICollection_1_t622752669_il2cpp_TypeInfo_var; extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern Il2CppClass* IList_1_t2323413597_il2cpp_TypeInfo_var; extern const uint32_t InputField_GetLineStartPosition_m1032176150_MetadataUsageId; extern "C" int32_t InputField_GetLineStartPosition_m1032176150 (Il2CppObject * __this /* static, unused */, TextGenerator_t2883685459 * ___gen0, int32_t ___line1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_GetLineStartPosition_m1032176150_MetadataUsageId); s_Il2CppMethodIntialized = true; } UILineInfo_t156921283 V_0; memset(&V_0, 0, sizeof(V_0)); { int32_t L_0 = ___line1; TextGenerator_t2883685459 * L_1 = ___gen0; NullCheck(L_1); Il2CppObject* L_2 = TextGenerator_get_lines_m3197542168(L_1, /*hidden argument*/NULL); NullCheck(L_2); int32_t L_3 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.UILineInfo>::get_Count() */, ICollection_1_t622752669_il2cpp_TypeInfo_var, L_2); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_4 = Mathf_Clamp_m510460741(NULL /*static, unused*/, L_0, 0, ((int32_t)((int32_t)L_3-(int32_t)1)), /*hidden argument*/NULL); ___line1 = L_4; TextGenerator_t2883685459 * L_5 = ___gen0; NullCheck(L_5); Il2CppObject* L_6 = TextGenerator_get_lines_m3197542168(L_5, /*hidden argument*/NULL); int32_t L_7 = ___line1; NullCheck(L_6); UILineInfo_t156921283 L_8 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_6, L_7); V_0 = L_8; int32_t L_9 = (&V_0)->get_startCharIdx_0(); return L_9; } } // System.Int32 UnityEngine.UI.InputField::GetLineEndPosition(UnityEngine.TextGenerator,System.Int32) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern Il2CppClass* ICollection_1_t622752669_il2cpp_TypeInfo_var; extern Il2CppClass* IList_1_t2323413597_il2cpp_TypeInfo_var; extern const uint32_t InputField_GetLineEndPosition_m293479951_MetadataUsageId; extern "C" int32_t InputField_GetLineEndPosition_m293479951 (Il2CppObject * __this /* static, unused */, TextGenerator_t2883685459 * ___gen0, int32_t ___line1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_GetLineEndPosition_m293479951_MetadataUsageId); s_Il2CppMethodIntialized = true; } UILineInfo_t156921283 V_0; memset(&V_0, 0, sizeof(V_0)); { int32_t L_0 = ___line1; IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_1 = Mathf_Max_m2911193737(NULL /*static, unused*/, L_0, 0, /*hidden argument*/NULL); ___line1 = L_1; int32_t L_2 = ___line1; TextGenerator_t2883685459 * L_3 = ___gen0; NullCheck(L_3); Il2CppObject* L_4 = TextGenerator_get_lines_m3197542168(L_3, /*hidden argument*/NULL); NullCheck(L_4); int32_t L_5 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.UILineInfo>::get_Count() */, ICollection_1_t622752669_il2cpp_TypeInfo_var, L_4); if ((((int32_t)((int32_t)((int32_t)L_2+(int32_t)1))) >= ((int32_t)L_5))) { goto IL_0035; } } { TextGenerator_t2883685459 * L_6 = ___gen0; NullCheck(L_6); Il2CppObject* L_7 = TextGenerator_get_lines_m3197542168(L_6, /*hidden argument*/NULL); int32_t L_8 = ___line1; NullCheck(L_7); UILineInfo_t156921283 L_9 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_7, ((int32_t)((int32_t)L_8+(int32_t)1))); V_0 = L_9; int32_t L_10 = (&V_0)->get_startCharIdx_0(); return ((int32_t)((int32_t)L_10-(int32_t)1)); } IL_0035: { TextGenerator_t2883685459 * L_11 = ___gen0; NullCheck(L_11); int32_t L_12 = TextGenerator_get_characterCountVisible_m2621262708(L_11, /*hidden argument*/NULL); return L_12; } } // System.Void UnityEngine.UI.InputField::SetDrawRangeToContainCaretPosition(System.Int32) extern Il2CppClass* InputField_t2345609593_il2cpp_TypeInfo_var; extern Il2CppClass* IList_1_t2323413597_il2cpp_TypeInfo_var; extern Il2CppClass* ICollection_1_t622752669_il2cpp_TypeInfo_var; extern Il2CppClass* IList_1_t2570312895_il2cpp_TypeInfo_var; extern const uint32_t InputField_SetDrawRangeToContainCaretPosition_m2772169252_MetadataUsageId; extern "C" void InputField_SetDrawRangeToContainCaretPosition_m2772169252 (InputField_t2345609593 * __this, int32_t ___caretPos0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_SetDrawRangeToContainCaretPosition_m2772169252_MetadataUsageId); s_Il2CppMethodIntialized = true; } Vector2_t3525329788 V_0; memset(&V_0, 0, sizeof(V_0)); Il2CppObject* V_1 = NULL; int32_t V_2 = 0; float V_3 = 0.0f; int32_t V_4 = 0; float V_5 = 0.0f; int32_t V_6 = 0; int32_t V_7 = 0; float V_8 = 0.0f; float V_9 = 0.0f; Il2CppObject* V_10 = NULL; float V_11 = 0.0f; Rect_t1525428817 V_12; memset(&V_12, 0, sizeof(V_12)); UILineInfo_t156921283 V_13; memset(&V_13, 0, sizeof(V_13)); UILineInfo_t156921283 V_14; memset(&V_14, 0, sizeof(V_14)); UILineInfo_t156921283 V_15; memset(&V_15, 0, sizeof(V_15)); UILineInfo_t156921283 V_16; memset(&V_16, 0, sizeof(V_16)); UILineInfo_t156921283 V_17; memset(&V_17, 0, sizeof(V_17)); UILineInfo_t156921283 V_18; memset(&V_18, 0, sizeof(V_18)); UILineInfo_t156921283 V_19; memset(&V_19, 0, sizeof(V_19)); UILineInfo_t156921283 V_20; memset(&V_20, 0, sizeof(V_20)); UILineInfo_t156921283 V_21; memset(&V_21, 0, sizeof(V_21)); UICharInfo_t403820581 V_22; memset(&V_22, 0, sizeof(V_22)); UICharInfo_t403820581 V_23; memset(&V_23, 0, sizeof(V_23)); UICharInfo_t403820581 V_24; memset(&V_24, 0, sizeof(V_24)); { TextGenerator_t2883685459 * L_0 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_0); int32_t L_1 = TextGenerator_get_lineCount_m3121044867(L_0, /*hidden argument*/NULL); if ((((int32_t)L_1) > ((int32_t)0))) { goto IL_0012; } } { return; } IL_0012: { TextGenerator_t2883685459 * L_2 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_2); Rect_t1525428817 L_3 = TextGenerator_get_rectExtents_m2200526529(L_2, /*hidden argument*/NULL); V_12 = L_3; Vector2_t3525329788 L_4 = Rect_get_size_m136480416((&V_12), /*hidden argument*/NULL); V_0 = L_4; bool L_5 = InputField_get_multiLine_m2265790891(__this, /*hidden argument*/NULL); if (!L_5) { goto IL_0217; } } { TextGenerator_t2883685459 * L_6 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_6); Il2CppObject* L_7 = TextGenerator_get_lines_m3197542168(L_6, /*hidden argument*/NULL); V_1 = L_7; int32_t L_8 = ___caretPos0; TextGenerator_t2883685459 * L_9 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); int32_t L_10 = InputField_DetermineCharacterLine_m3657739513(__this, L_8, L_9, /*hidden argument*/NULL); V_2 = L_10; int32_t L_11 = ___caretPos0; int32_t L_12 = __this->get_m_DrawEnd_57(); if ((((int32_t)L_11) <= ((int32_t)L_12))) { goto IL_00e5; } } { TextGenerator_t2883685459 * L_13 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); int32_t L_14 = V_2; IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); int32_t L_15 = InputField_GetLineEndPosition_m293479951(NULL /*static, unused*/, L_13, L_14, /*hidden argument*/NULL); __this->set_m_DrawEnd_57(L_15); Il2CppObject* L_16 = V_1; int32_t L_17 = V_2; NullCheck(L_16); UILineInfo_t156921283 L_18 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_16, L_17); V_13 = L_18; float L_19 = (&V_13)->get_topY_2(); Il2CppObject* L_20 = V_1; int32_t L_21 = V_2; NullCheck(L_20); UILineInfo_t156921283 L_22 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_20, L_21); V_14 = L_22; int32_t L_23 = (&V_14)->get_height_1(); V_3 = ((float)((float)L_19-(float)(((float)((float)L_23))))); int32_t L_24 = V_2; V_4 = L_24; goto IL_00c5; } IL_0095: { Il2CppObject* L_25 = V_1; int32_t L_26 = V_4; NullCheck(L_25); UILineInfo_t156921283 L_27 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_25, ((int32_t)((int32_t)L_26-(int32_t)1))); V_15 = L_27; float L_28 = (&V_15)->get_topY_2(); V_5 = L_28; float L_29 = V_5; float L_30 = V_3; float L_31 = (&V_0)->get_y_2(); if ((!(((float)((float)((float)L_29-(float)L_30))) > ((float)L_31)))) { goto IL_00bf; } } { goto IL_00cd; } IL_00bf: { int32_t L_32 = V_4; V_4 = ((int32_t)((int32_t)L_32-(int32_t)1)); } IL_00c5: { int32_t L_33 = V_4; if ((((int32_t)L_33) > ((int32_t)0))) { goto IL_0095; } } IL_00cd: { TextGenerator_t2883685459 * L_34 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); int32_t L_35 = V_4; IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); int32_t L_36 = InputField_GetLineStartPosition_m1032176150(NULL /*static, unused*/, L_34, L_35, /*hidden argument*/NULL); __this->set_m_DrawStart_56(L_36); goto IL_0212; } IL_00e5: { int32_t L_37 = ___caretPos0; int32_t L_38 = __this->get_m_DrawStart_56(); if ((((int32_t)L_37) >= ((int32_t)L_38))) { goto IL_0103; } } { TextGenerator_t2883685459 * L_39 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); int32_t L_40 = V_2; IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); int32_t L_41 = InputField_GetLineStartPosition_m1032176150(NULL /*static, unused*/, L_39, L_40, /*hidden argument*/NULL); __this->set_m_DrawStart_56(L_41); } IL_0103: { int32_t L_42 = __this->get_m_DrawStart_56(); TextGenerator_t2883685459 * L_43 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); int32_t L_44 = InputField_DetermineCharacterLine_m3657739513(__this, L_42, L_43, /*hidden argument*/NULL); V_6 = L_44; int32_t L_45 = V_6; V_7 = L_45; Il2CppObject* L_46 = V_1; int32_t L_47 = V_6; NullCheck(L_46); UILineInfo_t156921283 L_48 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_46, L_47); V_16 = L_48; float L_49 = (&V_16)->get_topY_2(); V_8 = L_49; Il2CppObject* L_50 = V_1; int32_t L_51 = V_7; NullCheck(L_50); UILineInfo_t156921283 L_52 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_50, L_51); V_17 = L_52; float L_53 = (&V_17)->get_topY_2(); Il2CppObject* L_54 = V_1; int32_t L_55 = V_7; NullCheck(L_54); UILineInfo_t156921283 L_56 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_54, L_55); V_18 = L_56; int32_t L_57 = (&V_18)->get_height_1(); V_9 = ((float)((float)L_53-(float)(((float)((float)L_57))))); goto IL_019f; } IL_0159: { Il2CppObject* L_58 = V_1; int32_t L_59 = V_7; NullCheck(L_58); UILineInfo_t156921283 L_60 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_58, ((int32_t)((int32_t)L_59+(int32_t)1))); V_19 = L_60; float L_61 = (&V_19)->get_topY_2(); Il2CppObject* L_62 = V_1; int32_t L_63 = V_7; NullCheck(L_62); UILineInfo_t156921283 L_64 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_62, ((int32_t)((int32_t)L_63+(int32_t)1))); V_20 = L_64; int32_t L_65 = (&V_20)->get_height_1(); V_9 = ((float)((float)L_61-(float)(((float)((float)L_65))))); float L_66 = V_8; float L_67 = V_9; float L_68 = (&V_0)->get_y_2(); if ((!(((float)((float)((float)L_66-(float)L_67))) > ((float)L_68)))) { goto IL_0199; } } { goto IL_01ae; } IL_0199: { int32_t L_69 = V_7; V_7 = ((int32_t)((int32_t)L_69+(int32_t)1)); } IL_019f: { int32_t L_70 = V_7; Il2CppObject* L_71 = V_1; NullCheck(L_71); int32_t L_72 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.UILineInfo>::get_Count() */, ICollection_1_t622752669_il2cpp_TypeInfo_var, L_71); if ((((int32_t)L_70) < ((int32_t)((int32_t)((int32_t)L_72-(int32_t)1))))) { goto IL_0159; } } IL_01ae: { TextGenerator_t2883685459 * L_73 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); int32_t L_74 = V_7; IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); int32_t L_75 = InputField_GetLineEndPosition_m293479951(NULL /*static, unused*/, L_73, L_74, /*hidden argument*/NULL); __this->set_m_DrawEnd_57(L_75); goto IL_01f7; } IL_01c6: { Il2CppObject* L_76 = V_1; int32_t L_77 = V_6; NullCheck(L_76); UILineInfo_t156921283 L_78 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_76, ((int32_t)((int32_t)L_77-(int32_t)1))); V_21 = L_78; float L_79 = (&V_21)->get_topY_2(); V_8 = L_79; float L_80 = V_8; float L_81 = V_9; float L_82 = (&V_0)->get_y_2(); if ((!(((float)((float)((float)L_80-(float)L_81))) > ((float)L_82)))) { goto IL_01f1; } } { goto IL_01ff; } IL_01f1: { int32_t L_83 = V_6; V_6 = ((int32_t)((int32_t)L_83-(int32_t)1)); } IL_01f7: { int32_t L_84 = V_6; if ((((int32_t)L_84) > ((int32_t)0))) { goto IL_01c6; } } IL_01ff: { TextGenerator_t2883685459 * L_85 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); int32_t L_86 = V_6; IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); int32_t L_87 = InputField_GetLineStartPosition_m1032176150(NULL /*static, unused*/, L_85, L_86, /*hidden argument*/NULL); __this->set_m_DrawStart_56(L_87); } IL_0212: { goto IL_0378; } IL_0217: { TextGenerator_t2883685459 * L_88 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_88); Il2CppObject* L_89 = TextGenerator_get_characters_m3420670449(L_88, /*hidden argument*/NULL); V_10 = L_89; int32_t L_90 = __this->get_m_DrawEnd_57(); TextGenerator_t2883685459 * L_91 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_91); int32_t L_92 = TextGenerator_get_characterCountVisible_m2621262708(L_91, /*hidden argument*/NULL); if ((((int32_t)L_90) <= ((int32_t)L_92))) { goto IL_024b; } } { TextGenerator_t2883685459 * L_93 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_93); int32_t L_94 = TextGenerator_get_characterCountVisible_m2621262708(L_93, /*hidden argument*/NULL); __this->set_m_DrawEnd_57(L_94); } IL_024b: { V_11 = (0.0f); int32_t L_95 = ___caretPos0; int32_t L_96 = __this->get_m_DrawEnd_57(); if ((((int32_t)L_95) > ((int32_t)L_96))) { goto IL_0276; } } { int32_t L_97 = ___caretPos0; int32_t L_98 = __this->get_m_DrawEnd_57(); if ((!(((uint32_t)L_97) == ((uint32_t)L_98)))) { goto IL_0302; } } { int32_t L_99 = __this->get_m_DrawStart_56(); if ((((int32_t)L_99) <= ((int32_t)0))) { goto IL_0302; } } IL_0276: { int32_t L_100 = ___caretPos0; __this->set_m_DrawEnd_57(L_100); int32_t L_101 = __this->get_m_DrawEnd_57(); __this->set_m_DrawStart_56(((int32_t)((int32_t)L_101-(int32_t)1))); goto IL_02e3; } IL_0290: { float L_102 = V_11; Il2CppObject* L_103 = V_10; int32_t L_104 = __this->get_m_DrawStart_56(); NullCheck(L_103); UICharInfo_t403820581 L_105 = InterfaceFuncInvoker1< UICharInfo_t403820581 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UICharInfo>::get_Item(System.Int32) */, IList_1_t2570312895_il2cpp_TypeInfo_var, L_103, L_104); V_22 = L_105; float L_106 = (&V_22)->get_charWidth_1(); float L_107 = (&V_0)->get_x_1(); if ((!(((float)((float)((float)L_102+(float)L_106))) > ((float)L_107)))) { goto IL_02ba; } } { goto IL_02ef; } IL_02ba: { float L_108 = V_11; Il2CppObject* L_109 = V_10; int32_t L_110 = __this->get_m_DrawStart_56(); NullCheck(L_109); UICharInfo_t403820581 L_111 = InterfaceFuncInvoker1< UICharInfo_t403820581 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UICharInfo>::get_Item(System.Int32) */, IList_1_t2570312895_il2cpp_TypeInfo_var, L_109, L_110); V_23 = L_111; float L_112 = (&V_23)->get_charWidth_1(); V_11 = ((float)((float)L_108+(float)L_112)); int32_t L_113 = __this->get_m_DrawStart_56(); __this->set_m_DrawStart_56(((int32_t)((int32_t)L_113-(int32_t)1))); } IL_02e3: { int32_t L_114 = __this->get_m_DrawStart_56(); if ((((int32_t)L_114) >= ((int32_t)0))) { goto IL_0290; } } IL_02ef: { int32_t L_115 = __this->get_m_DrawStart_56(); __this->set_m_DrawStart_56(((int32_t)((int32_t)L_115+(int32_t)1))); goto IL_0321; } IL_0302: { int32_t L_116 = ___caretPos0; int32_t L_117 = __this->get_m_DrawStart_56(); if ((((int32_t)L_116) >= ((int32_t)L_117))) { goto IL_0315; } } { int32_t L_118 = ___caretPos0; __this->set_m_DrawStart_56(L_118); } IL_0315: { int32_t L_119 = __this->get_m_DrawStart_56(); __this->set_m_DrawEnd_57(L_119); } IL_0321: { goto IL_0362; } IL_0326: { float L_120 = V_11; Il2CppObject* L_121 = V_10; int32_t L_122 = __this->get_m_DrawEnd_57(); NullCheck(L_121); UICharInfo_t403820581 L_123 = InterfaceFuncInvoker1< UICharInfo_t403820581 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UICharInfo>::get_Item(System.Int32) */, IList_1_t2570312895_il2cpp_TypeInfo_var, L_121, L_122); V_24 = L_123; float L_124 = (&V_24)->get_charWidth_1(); V_11 = ((float)((float)L_120+(float)L_124)); float L_125 = V_11; float L_126 = (&V_0)->get_x_1(); if ((!(((float)L_125) > ((float)L_126)))) { goto IL_0354; } } { goto IL_0378; } IL_0354: { int32_t L_127 = __this->get_m_DrawEnd_57(); __this->set_m_DrawEnd_57(((int32_t)((int32_t)L_127+(int32_t)1))); } IL_0362: { int32_t L_128 = __this->get_m_DrawEnd_57(); TextGenerator_t2883685459 * L_129 = InputField_get_cachedInputTextGenerator_m1093502060(__this, /*hidden argument*/NULL); NullCheck(L_129); int32_t L_130 = TextGenerator_get_characterCountVisible_m2621262708(L_129, /*hidden argument*/NULL); if ((((int32_t)L_128) < ((int32_t)L_130))) { goto IL_0326; } } IL_0378: { return; } } // System.Void UnityEngine.UI.InputField::ForceLabelUpdate() extern "C" void InputField_ForceLabelUpdate_m3497155803 (InputField_t2345609593 * __this, const MethodInfo* method) { { InputField_UpdateLabel_m4272237956(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::MarkGeometryAsDirty() extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const uint32_t InputField_MarkGeometryAsDirty_m178860986_MetadataUsageId; extern "C" void InputField_MarkGeometryAsDirty_m178860986 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_MarkGeometryAsDirty_m178860986_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); CanvasUpdateRegistry_RegisterCanvasElementForGraphicRebuild_m1487849090(NULL /*static, unused*/, __this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::Rebuild(UnityEngine.UI.CanvasUpdate) extern "C" void InputField_Rebuild_m4149891194 (InputField_t2345609593 * __this, int32_t ___update0, const MethodInfo* method) { int32_t V_0 = 0; { int32_t L_0 = ___update0; V_0 = L_0; int32_t L_1 = V_0; if ((((int32_t)L_1) == ((int32_t)4))) { goto IL_000e; } } { goto IL_0019; } IL_000e: { InputField_UpdateGeometry_m3381617668(__this, /*hidden argument*/NULL); goto IL_0019; } IL_0019: { return; } } // System.Void UnityEngine.UI.InputField::LayoutComplete() extern "C" void InputField_LayoutComplete_m3197989932 (InputField_t2345609593 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.UI.InputField::GraphicUpdateComplete() extern "C" void InputField_GraphicUpdateComplete_m2162277955 (InputField_t2345609593 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.UI.InputField::UpdateGeometry() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* GameObject_t4012695102_il2cpp_TypeInfo_var; extern Il2CppClass* Graphic_t933884113_il2cpp_TypeInfo_var; extern const MethodInfo* GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisCanvasRenderer_t3626201768_m833551939_MethodInfo_var; extern const MethodInfo* GameObject_AddComponent_TisLayoutElement_t2655817307_m1822846278_MethodInfo_var; extern Il2CppCodeGenString* _stringLiteral3986700109; extern const uint32_t InputField_UpdateGeometry_m3381617668_MetadataUsageId; extern "C" void InputField_UpdateGeometry_m3381617668 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_UpdateGeometry_m3381617668_MetadataUsageId); s_Il2CppMethodIntialized = true; } GameObject_t4012695102 * V_0 = NULL; { bool L_0 = InputField_get_shouldHideMobileInput_m3268284241(__this, /*hidden argument*/NULL); if (L_0) { goto IL_000c; } } { return; } IL_000c: { CanvasRenderer_t3626201768 * L_1 = __this->get_m_CachedInputRenderer_46(); bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_1, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_00c7; } } { Text_t3286458198 * L_3 = __this->get_m_TextComponent_21(); bool L_4 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_3, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_4) { goto IL_00c7; } } { Transform_t284553113 * L_5 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); NullCheck(L_5); String_t* L_6 = Object_get_name_m3709440845(L_5, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_7 = String_Concat_m138640077(NULL /*static, unused*/, L_6, _stringLiteral3986700109, /*hidden argument*/NULL); GameObject_t4012695102 * L_8 = (GameObject_t4012695102 *)il2cpp_codegen_object_new(GameObject_t4012695102_il2cpp_TypeInfo_var); GameObject__ctor_m3920833606(L_8, L_7, /*hidden argument*/NULL); V_0 = L_8; GameObject_t4012695102 * L_9 = V_0; NullCheck(L_9); Object_set_hideFlags_m41317712(L_9, ((int32_t)52), /*hidden argument*/NULL); GameObject_t4012695102 * L_10 = V_0; NullCheck(L_10); Transform_t284553113 * L_11 = GameObject_get_transform_m1278640159(L_10, /*hidden argument*/NULL); Text_t3286458198 * L_12 = __this->get_m_TextComponent_21(); NullCheck(L_12); Transform_t284553113 * L_13 = Component_get_transform_m4257140443(L_12, /*hidden argument*/NULL); NullCheck(L_13); Transform_t284553113 * L_14 = Transform_get_parent_m2236876972(L_13, /*hidden argument*/NULL); NullCheck(L_11); Transform_SetParent_m3449663462(L_11, L_14, /*hidden argument*/NULL); GameObject_t4012695102 * L_15 = V_0; NullCheck(L_15); Transform_t284553113 * L_16 = GameObject_get_transform_m1278640159(L_15, /*hidden argument*/NULL); NullCheck(L_16); Transform_SetAsFirstSibling_m1746075601(L_16, /*hidden argument*/NULL); GameObject_t4012695102 * L_17 = V_0; GameObject_t4012695102 * L_18 = Component_get_gameObject_m1170635899(__this, /*hidden argument*/NULL); NullCheck(L_18); int32_t L_19 = GameObject_get_layer_m1648550306(L_18, /*hidden argument*/NULL); NullCheck(L_17); GameObject_set_layer_m1872241535(L_17, L_19, /*hidden argument*/NULL); GameObject_t4012695102 * L_20 = V_0; NullCheck(L_20); RectTransform_t3317474837 * L_21 = GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000(L_20, /*hidden argument*/GameObject_AddComponent_TisRectTransform_t3317474837_m3846759000_MethodInfo_var); __this->set_caretRectTrans_43(L_21); GameObject_t4012695102 * L_22 = V_0; NullCheck(L_22); CanvasRenderer_t3626201768 * L_23 = GameObject_AddComponent_TisCanvasRenderer_t3626201768_m833551939(L_22, /*hidden argument*/GameObject_AddComponent_TisCanvasRenderer_t3626201768_m833551939_MethodInfo_var); __this->set_m_CachedInputRenderer_46(L_23); CanvasRenderer_t3626201768 * L_24 = __this->get_m_CachedInputRenderer_46(); IL2CPP_RUNTIME_CLASS_INIT(Graphic_t933884113_il2cpp_TypeInfo_var); Material_t1886596500 * L_25 = Graphic_get_defaultGraphicMaterial_m456140641(NULL /*static, unused*/, /*hidden argument*/NULL); Texture2D_t2509538522 * L_26 = Texture2D_get_whiteTexture_m1214146742(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_24); CanvasRenderer_SetMaterial_m1603188579(L_24, L_25, L_26, /*hidden argument*/NULL); GameObject_t4012695102 * L_27 = V_0; NullCheck(L_27); LayoutElement_t2655817307 * L_28 = GameObject_AddComponent_TisLayoutElement_t2655817307_m1822846278(L_27, /*hidden argument*/GameObject_AddComponent_TisLayoutElement_t2655817307_m1822846278_MethodInfo_var); NullCheck(L_28); VirtActionInvoker1< bool >::Invoke(27 /* System.Void UnityEngine.UI.LayoutElement::set_ignoreLayout(System.Boolean) */, L_28, (bool)1); InputField_AssignPositioningIfNeeded_m20735637(__this, /*hidden argument*/NULL); } IL_00c7: { CanvasRenderer_t3626201768 * L_29 = __this->get_m_CachedInputRenderer_46(); bool L_30 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_29, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_30) { goto IL_00d9; } } { return; } IL_00d9: { Mesh_t1525280346 * L_31 = InputField_get_mesh_m2359671532(__this, /*hidden argument*/NULL); InputField_OnFillVBO_m2411846934(__this, L_31, /*hidden argument*/NULL); CanvasRenderer_t3626201768 * L_32 = __this->get_m_CachedInputRenderer_46(); Mesh_t1525280346 * L_33 = InputField_get_mesh_m2359671532(__this, /*hidden argument*/NULL); NullCheck(L_32); CanvasRenderer_SetMesh_m1150548475(L_32, L_33, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::AssignPositioningIfNeeded() extern "C" void InputField_AssignPositioningIfNeeded_m20735637 (InputField_t2345609593 * __this, const MethodInfo* method) { { Text_t3286458198 * L_0 = __this->get_m_TextComponent_21(); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0222; } } { RectTransform_t3317474837 * L_2 = __this->get_caretRectTrans_43(); bool L_3 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_2, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_3) { goto IL_0222; } } { RectTransform_t3317474837 * L_4 = __this->get_caretRectTrans_43(); NullCheck(L_4); Vector3_t3525329789 L_5 = Transform_get_localPosition_m668140784(L_4, /*hidden argument*/NULL); Text_t3286458198 * L_6 = __this->get_m_TextComponent_21(); NullCheck(L_6); RectTransform_t3317474837 * L_7 = Graphic_get_rectTransform_m4017371950(L_6, /*hidden argument*/NULL); NullCheck(L_7); Vector3_t3525329789 L_8 = Transform_get_localPosition_m668140784(L_7, /*hidden argument*/NULL); bool L_9 = Vector3_op_Inequality_m231387234(NULL /*static, unused*/, L_5, L_8, /*hidden argument*/NULL); if (L_9) { goto IL_014a; } } { RectTransform_t3317474837 * L_10 = __this->get_caretRectTrans_43(); NullCheck(L_10); Quaternion_t1891715979 L_11 = Transform_get_localRotation_m3343229381(L_10, /*hidden argument*/NULL); Text_t3286458198 * L_12 = __this->get_m_TextComponent_21(); NullCheck(L_12); RectTransform_t3317474837 * L_13 = Graphic_get_rectTransform_m4017371950(L_12, /*hidden argument*/NULL); NullCheck(L_13); Quaternion_t1891715979 L_14 = Transform_get_localRotation_m3343229381(L_13, /*hidden argument*/NULL); bool L_15 = Quaternion_op_Inequality_m4197259746(NULL /*static, unused*/, L_11, L_14, /*hidden argument*/NULL); if (L_15) { goto IL_014a; } } { RectTransform_t3317474837 * L_16 = __this->get_caretRectTrans_43(); NullCheck(L_16); Vector3_t3525329789 L_17 = Transform_get_localScale_m3886572677(L_16, /*hidden argument*/NULL); Text_t3286458198 * L_18 = __this->get_m_TextComponent_21(); NullCheck(L_18); RectTransform_t3317474837 * L_19 = Graphic_get_rectTransform_m4017371950(L_18, /*hidden argument*/NULL); NullCheck(L_19); Vector3_t3525329789 L_20 = Transform_get_localScale_m3886572677(L_19, /*hidden argument*/NULL); bool L_21 = Vector3_op_Inequality_m231387234(NULL /*static, unused*/, L_17, L_20, /*hidden argument*/NULL); if (L_21) { goto IL_014a; } } { RectTransform_t3317474837 * L_22 = __this->get_caretRectTrans_43(); NullCheck(L_22); Vector2_t3525329788 L_23 = RectTransform_get_anchorMin_m688674174(L_22, /*hidden argument*/NULL); Text_t3286458198 * L_24 = __this->get_m_TextComponent_21(); NullCheck(L_24); RectTransform_t3317474837 * L_25 = Graphic_get_rectTransform_m4017371950(L_24, /*hidden argument*/NULL); NullCheck(L_25); Vector2_t3525329788 L_26 = RectTransform_get_anchorMin_m688674174(L_25, /*hidden argument*/NULL); bool L_27 = Vector2_op_Inequality_m1638984867(NULL /*static, unused*/, L_23, L_26, /*hidden argument*/NULL); if (L_27) { goto IL_014a; } } { RectTransform_t3317474837 * L_28 = __this->get_caretRectTrans_43(); NullCheck(L_28); Vector2_t3525329788 L_29 = RectTransform_get_anchorMax_m688445456(L_28, /*hidden argument*/NULL); Text_t3286458198 * L_30 = __this->get_m_TextComponent_21(); NullCheck(L_30); RectTransform_t3317474837 * L_31 = Graphic_get_rectTransform_m4017371950(L_30, /*hidden argument*/NULL); NullCheck(L_31); Vector2_t3525329788 L_32 = RectTransform_get_anchorMax_m688445456(L_31, /*hidden argument*/NULL); bool L_33 = Vector2_op_Inequality_m1638984867(NULL /*static, unused*/, L_29, L_32, /*hidden argument*/NULL); if (L_33) { goto IL_014a; } } { RectTransform_t3317474837 * L_34 = __this->get_caretRectTrans_43(); NullCheck(L_34); Vector2_t3525329788 L_35 = RectTransform_get_anchoredPosition_m2318455998(L_34, /*hidden argument*/NULL); Text_t3286458198 * L_36 = __this->get_m_TextComponent_21(); NullCheck(L_36); RectTransform_t3317474837 * L_37 = Graphic_get_rectTransform_m4017371950(L_36, /*hidden argument*/NULL); NullCheck(L_37); Vector2_t3525329788 L_38 = RectTransform_get_anchoredPosition_m2318455998(L_37, /*hidden argument*/NULL); bool L_39 = Vector2_op_Inequality_m1638984867(NULL /*static, unused*/, L_35, L_38, /*hidden argument*/NULL); if (L_39) { goto IL_014a; } } { RectTransform_t3317474837 * L_40 = __this->get_caretRectTrans_43(); NullCheck(L_40); Vector2_t3525329788 L_41 = RectTransform_get_sizeDelta_m4279424984(L_40, /*hidden argument*/NULL); Text_t3286458198 * L_42 = __this->get_m_TextComponent_21(); NullCheck(L_42); RectTransform_t3317474837 * L_43 = Graphic_get_rectTransform_m4017371950(L_42, /*hidden argument*/NULL); NullCheck(L_43); Vector2_t3525329788 L_44 = RectTransform_get_sizeDelta_m4279424984(L_43, /*hidden argument*/NULL); bool L_45 = Vector2_op_Inequality_m1638984867(NULL /*static, unused*/, L_41, L_44, /*hidden argument*/NULL); if (L_45) { goto IL_014a; } } { RectTransform_t3317474837 * L_46 = __this->get_caretRectTrans_43(); NullCheck(L_46); Vector2_t3525329788 L_47 = RectTransform_get_pivot_m3785570595(L_46, /*hidden argument*/NULL); Text_t3286458198 * L_48 = __this->get_m_TextComponent_21(); NullCheck(L_48); RectTransform_t3317474837 * L_49 = Graphic_get_rectTransform_m4017371950(L_48, /*hidden argument*/NULL); NullCheck(L_49); Vector2_t3525329788 L_50 = RectTransform_get_pivot_m3785570595(L_49, /*hidden argument*/NULL); bool L_51 = Vector2_op_Inequality_m1638984867(NULL /*static, unused*/, L_47, L_50, /*hidden argument*/NULL); if (!L_51) { goto IL_0222; } } IL_014a: { RectTransform_t3317474837 * L_52 = __this->get_caretRectTrans_43(); Text_t3286458198 * L_53 = __this->get_m_TextComponent_21(); NullCheck(L_53); RectTransform_t3317474837 * L_54 = Graphic_get_rectTransform_m4017371950(L_53, /*hidden argument*/NULL); NullCheck(L_54); Vector3_t3525329789 L_55 = Transform_get_localPosition_m668140784(L_54, /*hidden argument*/NULL); NullCheck(L_52); Transform_set_localPosition_m3504330903(L_52, L_55, /*hidden argument*/NULL); RectTransform_t3317474837 * L_56 = __this->get_caretRectTrans_43(); Text_t3286458198 * L_57 = __this->get_m_TextComponent_21(); NullCheck(L_57); RectTransform_t3317474837 * L_58 = Graphic_get_rectTransform_m4017371950(L_57, /*hidden argument*/NULL); NullCheck(L_58); Quaternion_t1891715979 L_59 = Transform_get_localRotation_m3343229381(L_58, /*hidden argument*/NULL); NullCheck(L_56); Transform_set_localRotation_m3719981474(L_56, L_59, /*hidden argument*/NULL); RectTransform_t3317474837 * L_60 = __this->get_caretRectTrans_43(); Text_t3286458198 * L_61 = __this->get_m_TextComponent_21(); NullCheck(L_61); RectTransform_t3317474837 * L_62 = Graphic_get_rectTransform_m4017371950(L_61, /*hidden argument*/NULL); NullCheck(L_62); Vector3_t3525329789 L_63 = Transform_get_localScale_m3886572677(L_62, /*hidden argument*/NULL); NullCheck(L_60); Transform_set_localScale_m310756934(L_60, L_63, /*hidden argument*/NULL); RectTransform_t3317474837 * L_64 = __this->get_caretRectTrans_43(); Text_t3286458198 * L_65 = __this->get_m_TextComponent_21(); NullCheck(L_65); RectTransform_t3317474837 * L_66 = Graphic_get_rectTransform_m4017371950(L_65, /*hidden argument*/NULL); NullCheck(L_66); Vector2_t3525329788 L_67 = RectTransform_get_anchorMin_m688674174(L_66, /*hidden argument*/NULL); NullCheck(L_64); RectTransform_set_anchorMin_m989253483(L_64, L_67, /*hidden argument*/NULL); RectTransform_t3317474837 * L_68 = __this->get_caretRectTrans_43(); Text_t3286458198 * L_69 = __this->get_m_TextComponent_21(); NullCheck(L_69); RectTransform_t3317474837 * L_70 = Graphic_get_rectTransform_m4017371950(L_69, /*hidden argument*/NULL); NullCheck(L_70); Vector2_t3525329788 L_71 = RectTransform_get_anchorMax_m688445456(L_70, /*hidden argument*/NULL); NullCheck(L_68); RectTransform_set_anchorMax_m715345817(L_68, L_71, /*hidden argument*/NULL); RectTransform_t3317474837 * L_72 = __this->get_caretRectTrans_43(); Text_t3286458198 * L_73 = __this->get_m_TextComponent_21(); NullCheck(L_73); RectTransform_t3317474837 * L_74 = Graphic_get_rectTransform_m4017371950(L_73, /*hidden argument*/NULL); NullCheck(L_74); Vector2_t3525329788 L_75 = RectTransform_get_anchoredPosition_m2318455998(L_74, /*hidden argument*/NULL); NullCheck(L_72); RectTransform_set_anchoredPosition_m1498949997(L_72, L_75, /*hidden argument*/NULL); RectTransform_t3317474837 * L_76 = __this->get_caretRectTrans_43(); Text_t3286458198 * L_77 = __this->get_m_TextComponent_21(); NullCheck(L_77); RectTransform_t3317474837 * L_78 = Graphic_get_rectTransform_m4017371950(L_77, /*hidden argument*/NULL); NullCheck(L_78); Vector2_t3525329788 L_79 = RectTransform_get_sizeDelta_m4279424984(L_78, /*hidden argument*/NULL); NullCheck(L_76); RectTransform_set_sizeDelta_m1223846609(L_76, L_79, /*hidden argument*/NULL); RectTransform_t3317474837 * L_80 = __this->get_caretRectTrans_43(); Text_t3286458198 * L_81 = __this->get_m_TextComponent_21(); NullCheck(L_81); RectTransform_t3317474837 * L_82 = Graphic_get_rectTransform_m4017371950(L_81, /*hidden argument*/NULL); NullCheck(L_82); Vector2_t3525329788 L_83 = RectTransform_get_pivot_m3785570595(L_82, /*hidden argument*/NULL); NullCheck(L_80); RectTransform_set_pivot_m457344806(L_80, L_83, /*hidden argument*/NULL); } IL_0222: { return; } } // System.Void UnityEngine.UI.InputField::OnFillVBO(UnityEngine.Mesh) extern Il2CppClass* VertexHelper_t1471929499_il2cpp_TypeInfo_var; extern Il2CppClass* Text_t3286458198_il2cpp_TypeInfo_var; extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern Il2CppClass* IDisposable_t1628921374_il2cpp_TypeInfo_var; extern const uint32_t InputField_OnFillVBO_m2411846934_MetadataUsageId; extern "C" void InputField_OnFillVBO_m2411846934 (InputField_t2345609593 * __this, Mesh_t1525280346 * ___vbo0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_OnFillVBO_m2411846934_MetadataUsageId); s_Il2CppMethodIntialized = true; } VertexHelper_t1471929499 * V_0 = NULL; Rect_t1525428817 V_1; memset(&V_1, 0, sizeof(V_1)); Vector2_t3525329788 V_2; memset(&V_2, 0, sizeof(V_2)); Vector2_t3525329788 V_3; memset(&V_3, 0, sizeof(V_3)); Vector2_t3525329788 V_4; memset(&V_4, 0, sizeof(V_4)); Vector2_t3525329788 V_5; memset(&V_5, 0, sizeof(V_5)); Vector2_t3525329788 V_6; memset(&V_6, 0, sizeof(V_6)); Exception_t1967233988 * __last_unhandled_exception = 0; NO_UNUSED_WARNING (__last_unhandled_exception); Exception_t1967233988 * __exception_local = 0; NO_UNUSED_WARNING (__exception_local); int32_t __leave_target = 0; NO_UNUSED_WARNING (__leave_target); { VertexHelper_t1471929499 * L_0 = (VertexHelper_t1471929499 *)il2cpp_codegen_object_new(VertexHelper_t1471929499_il2cpp_TypeInfo_var); VertexHelper__ctor_m3006260889(L_0, /*hidden argument*/NULL); V_0 = L_0; } IL_0006: try { // begin try (depth: 1) { bool L_1 = InputField_get_isFocused_m1249071051(__this, /*hidden argument*/NULL); if (L_1) { goto IL_001d; } } IL_0011: { VertexHelper_t1471929499 * L_2 = V_0; Mesh_t1525280346 * L_3 = ___vbo0; NullCheck(L_2); VertexHelper_FillMesh_m2371101047(L_2, L_3, /*hidden argument*/NULL); IL2CPP_LEAVE(0x133, FINALLY_0126); } IL_001d: { Text_t3286458198 * L_4 = __this->get_m_TextComponent_21(); NullCheck(L_4); RectTransform_t3317474837 * L_5 = Graphic_get_rectTransform_m4017371950(L_4, /*hidden argument*/NULL); NullCheck(L_5); Rect_t1525428817 L_6 = RectTransform_get_rect_m1566017036(L_5, /*hidden argument*/NULL); V_1 = L_6; Vector2_t3525329788 L_7 = Rect_get_size_m136480416((&V_1), /*hidden argument*/NULL); V_2 = L_7; Text_t3286458198 * L_8 = __this->get_m_TextComponent_21(); NullCheck(L_8); int32_t L_9 = Text_get_alignment_m2624482868(L_8, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Text_t3286458198_il2cpp_TypeInfo_var); Vector2_t3525329788 L_10 = Text_GetTextAnchorPivot_m7192668(NULL /*static, unused*/, L_9, /*hidden argument*/NULL); V_3 = L_10; Vector2_t3525329788 L_11 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); V_4 = L_11; float L_12 = Rect_get_xMin_m371109962((&V_1), /*hidden argument*/NULL); float L_13 = Rect_get_xMax_m370881244((&V_1), /*hidden argument*/NULL); float L_14 = (&V_3)->get_x_1(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_15 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_12, L_13, L_14, /*hidden argument*/NULL); (&V_4)->set_x_1(L_15); float L_16 = Rect_get_yMin_m399739113((&V_1), /*hidden argument*/NULL); float L_17 = Rect_get_yMax_m399510395((&V_1), /*hidden argument*/NULL); float L_18 = (&V_3)->get_y_2(); float L_19 = Mathf_Lerp_m3257777633(NULL /*static, unused*/, L_16, L_17, L_18, /*hidden argument*/NULL); (&V_4)->set_y_2(L_19); Text_t3286458198 * L_20 = __this->get_m_TextComponent_21(); Vector2_t3525329788 L_21 = V_4; NullCheck(L_20); Vector2_t3525329788 L_22 = Graphic_PixelAdjustPoint_m440199187(L_20, L_21, /*hidden argument*/NULL); V_5 = L_22; Vector2_t3525329788 L_23 = V_5; Vector2_t3525329788 L_24 = V_4; Vector2_t3525329788 L_25 = Vector2_op_Subtraction_m2097149401(NULL /*static, unused*/, L_23, L_24, /*hidden argument*/NULL); Vector2_t3525329788 L_26 = V_2; Vector2_t3525329788 L_27 = V_3; Vector2_t3525329788 L_28 = Vector2_Scale_m1743563745(NULL /*static, unused*/, L_26, L_27, /*hidden argument*/NULL); Vector2_t3525329788 L_29 = Vector2_op_Addition_m1173049553(NULL /*static, unused*/, L_25, L_28, /*hidden argument*/NULL); V_6 = L_29; float L_30 = (&V_6)->get_x_1(); float L_31 = (&V_6)->get_x_1(); float L_32 = floorf(((float)((float)(0.5f)+(float)L_31))); (&V_6)->set_x_1(((float)((float)L_30-(float)L_32))); float L_33 = (&V_6)->get_y_2(); float L_34 = (&V_6)->get_y_2(); float L_35 = floorf(((float)((float)(0.5f)+(float)L_34))); (&V_6)->set_y_2(((float)((float)L_33-(float)L_35))); bool L_36 = InputField_get_hasSelection_m69592150(__this, /*hidden argument*/NULL); if (L_36) { goto IL_0111; } } IL_0103: { VertexHelper_t1471929499 * L_37 = V_0; Vector2_t3525329788 L_38 = V_6; InputField_GenerateCaret_m2836783818(__this, L_37, L_38, /*hidden argument*/NULL); goto IL_011a; } IL_0111: { VertexHelper_t1471929499 * L_39 = V_0; Vector2_t3525329788 L_40 = V_6; InputField_GenerateHightlight_m3464703695(__this, L_39, L_40, /*hidden argument*/NULL); } IL_011a: { VertexHelper_t1471929499 * L_41 = V_0; Mesh_t1525280346 * L_42 = ___vbo0; NullCheck(L_41); VertexHelper_FillMesh_m2371101047(L_41, L_42, /*hidden argument*/NULL); IL2CPP_LEAVE(0x133, FINALLY_0126); } } // end try (depth: 1) catch(Il2CppExceptionWrapper& e) { __last_unhandled_exception = (Exception_t1967233988 *)e.ex; goto FINALLY_0126; } FINALLY_0126: { // begin finally (depth: 1) { VertexHelper_t1471929499 * L_43 = V_0; if (!L_43) { goto IL_0132; } } IL_012c: { VertexHelper_t1471929499 * L_44 = V_0; NullCheck(L_44); InterfaceActionInvoker0::Invoke(0 /* System.Void System.IDisposable::Dispose() */, IDisposable_t1628921374_il2cpp_TypeInfo_var, L_44); } IL_0132: { IL2CPP_END_FINALLY(294) } } // end finally (depth: 1) IL2CPP_CLEANUP(294) { IL2CPP_JUMP_TBL(0x133, IL_0133) IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1967233988 *) } IL_0133: { return; } } // System.Void UnityEngine.UI.InputField::GenerateCaret(UnityEngine.UI.VertexHelper,UnityEngine.Vector2) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern Il2CppClass* ICollection_1_t869651967_il2cpp_TypeInfo_var; extern Il2CppClass* IList_1_t2570312895_il2cpp_TypeInfo_var; extern Il2CppClass* IList_1_t2323413597_il2cpp_TypeInfo_var; extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t InputField_GenerateCaret_m2836783818_MetadataUsageId; extern "C" void InputField_GenerateCaret_m2836783818 (InputField_t2345609593 * __this, VertexHelper_t1471929499 * ___vbo0, Vector2_t3525329788 ___roundingOffset1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_GenerateCaret_m2836783818_MetadataUsageId); s_Il2CppMethodIntialized = true; } float V_0 = 0.0f; int32_t V_1 = 0; TextGenerator_t2883685459 * V_2 = NULL; Vector2_t3525329788 V_3; memset(&V_3, 0, sizeof(V_3)); UICharInfo_t403820581 V_4; memset(&V_4, 0, sizeof(V_4)); int32_t V_5 = 0; float V_6 = 0.0f; int32_t V_7 = 0; int32_t V_8 = 0; UIVertex_t2260061605 V_9; memset(&V_9, 0, sizeof(V_9)); int32_t V_10 = 0; Rect_t1525428817 V_11; memset(&V_11, 0, sizeof(V_11)); Rect_t1525428817 V_12; memset(&V_12, 0, sizeof(V_12)); UILineInfo_t156921283 V_13; memset(&V_13, 0, sizeof(V_13)); UILineInfo_t156921283 V_14; memset(&V_14, 0, sizeof(V_14)); { bool L_0 = __this->get_m_CaretVisible_53(); if (L_0) { goto IL_000c; } } { return; } IL_000c: { UIVertexU5BU5D_t684414504* L_1 = __this->get_m_CursorVerts_44(); if (L_1) { goto IL_001d; } } { InputField_CreateCursorVerts_m1990252457(__this, /*hidden argument*/NULL); } IL_001d: { int32_t L_2 = __this->get_m_CaretWidth_39(); V_0 = (((float)((float)L_2))); int32_t L_3 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); int32_t L_4 = __this->get_m_DrawStart_56(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_5 = Mathf_Max_m2911193737(NULL /*static, unused*/, 0, ((int32_t)((int32_t)L_3-(int32_t)L_4)), /*hidden argument*/NULL); V_1 = L_5; Text_t3286458198 * L_6 = __this->get_m_TextComponent_21(); NullCheck(L_6); TextGenerator_t2883685459 * L_7 = Text_get_cachedTextGenerator_m337653083(L_6, /*hidden argument*/NULL); V_2 = L_7; TextGenerator_t2883685459 * L_8 = V_2; if (L_8) { goto IL_004c; } } { return; } IL_004c: { TextGenerator_t2883685459 * L_9 = V_2; NullCheck(L_9); int32_t L_10 = TextGenerator_get_lineCount_m3121044867(L_9, /*hidden argument*/NULL); if (L_10) { goto IL_0058; } } { return; } IL_0058: { Vector2_t3525329788 L_11 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); V_3 = L_11; int32_t L_12 = V_1; TextGenerator_t2883685459 * L_13 = V_2; NullCheck(L_13); Il2CppObject* L_14 = TextGenerator_get_characters_m3420670449(L_13, /*hidden argument*/NULL); NullCheck(L_14); int32_t L_15 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.UICharInfo>::get_Count() */, ICollection_1_t869651967_il2cpp_TypeInfo_var, L_14); if ((((int32_t)L_12) >= ((int32_t)L_15))) { goto IL_0090; } } { TextGenerator_t2883685459 * L_16 = V_2; NullCheck(L_16); Il2CppObject* L_17 = TextGenerator_get_characters_m3420670449(L_16, /*hidden argument*/NULL); int32_t L_18 = V_1; NullCheck(L_17); UICharInfo_t403820581 L_19 = InterfaceFuncInvoker1< UICharInfo_t403820581 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UICharInfo>::get_Item(System.Int32) */, IList_1_t2570312895_il2cpp_TypeInfo_var, L_17, L_18); V_4 = L_19; Vector2_t3525329788 * L_20 = (&V_4)->get_address_of_cursorPos_0(); float L_21 = L_20->get_x_1(); (&V_3)->set_x_1(L_21); } IL_0090: { Vector2_t3525329788 * L_22 = (&V_3); float L_23 = L_22->get_x_1(); Text_t3286458198 * L_24 = __this->get_m_TextComponent_21(); NullCheck(L_24); float L_25 = Text_get_pixelsPerUnit_m4148756467(L_24, /*hidden argument*/NULL); L_22->set_x_1(((float)((float)L_23/(float)L_25))); float L_26 = (&V_3)->get_x_1(); Text_t3286458198 * L_27 = __this->get_m_TextComponent_21(); NullCheck(L_27); RectTransform_t3317474837 * L_28 = Graphic_get_rectTransform_m4017371950(L_27, /*hidden argument*/NULL); NullCheck(L_28); Rect_t1525428817 L_29 = RectTransform_get_rect_m1566017036(L_28, /*hidden argument*/NULL); V_11 = L_29; float L_30 = Rect_get_xMax_m370881244((&V_11), /*hidden argument*/NULL); if ((!(((float)L_26) > ((float)L_30)))) { goto IL_00ee; } } { Text_t3286458198 * L_31 = __this->get_m_TextComponent_21(); NullCheck(L_31); RectTransform_t3317474837 * L_32 = Graphic_get_rectTransform_m4017371950(L_31, /*hidden argument*/NULL); NullCheck(L_32); Rect_t1525428817 L_33 = RectTransform_get_rect_m1566017036(L_32, /*hidden argument*/NULL); V_12 = L_33; float L_34 = Rect_get_xMax_m370881244((&V_12), /*hidden argument*/NULL); (&V_3)->set_x_1(L_34); } IL_00ee: { int32_t L_35 = V_1; TextGenerator_t2883685459 * L_36 = V_2; int32_t L_37 = InputField_DetermineCharacterLine_m3657739513(__this, L_35, L_36, /*hidden argument*/NULL); V_5 = L_37; TextGenerator_t2883685459 * L_38 = V_2; NullCheck(L_38); Il2CppObject* L_39 = TextGenerator_get_lines_m3197542168(L_38, /*hidden argument*/NULL); int32_t L_40 = V_5; NullCheck(L_39); UILineInfo_t156921283 L_41 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_39, L_40); V_13 = L_41; float L_42 = (&V_13)->get_topY_2(); Text_t3286458198 * L_43 = __this->get_m_TextComponent_21(); NullCheck(L_43); float L_44 = Text_get_pixelsPerUnit_m4148756467(L_43, /*hidden argument*/NULL); (&V_3)->set_y_2(((float)((float)L_42/(float)L_44))); TextGenerator_t2883685459 * L_45 = V_2; NullCheck(L_45); Il2CppObject* L_46 = TextGenerator_get_lines_m3197542168(L_45, /*hidden argument*/NULL); int32_t L_47 = V_5; NullCheck(L_46); UILineInfo_t156921283 L_48 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_46, L_47); V_14 = L_48; int32_t L_49 = (&V_14)->get_height_1(); Text_t3286458198 * L_50 = __this->get_m_TextComponent_21(); NullCheck(L_50); float L_51 = Text_get_pixelsPerUnit_m4148756467(L_50, /*hidden argument*/NULL); V_6 = ((float)((float)(((float)((float)L_49)))/(float)L_51)); V_7 = 0; goto IL_0171; } IL_014e: { UIVertexU5BU5D_t684414504* L_52 = __this->get_m_CursorVerts_44(); int32_t L_53 = V_7; NullCheck(L_52); IL2CPP_ARRAY_BOUNDS_CHECK(L_52, L_53); Color_t1588175760 L_54 = InputField_get_caretColor_m3643265483(__this, /*hidden argument*/NULL); Color32_t4137084207 L_55 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_54, /*hidden argument*/NULL); ((L_52)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_53)))->set_color_2(L_55); int32_t L_56 = V_7; V_7 = ((int32_t)((int32_t)L_56+(int32_t)1)); } IL_0171: { int32_t L_57 = V_7; UIVertexU5BU5D_t684414504* L_58 = __this->get_m_CursorVerts_44(); NullCheck(L_58); if ((((int32_t)L_57) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_58)->max_length))))))) { goto IL_014e; } } { UIVertexU5BU5D_t684414504* L_59 = __this->get_m_CursorVerts_44(); NullCheck(L_59); IL2CPP_ARRAY_BOUNDS_CHECK(L_59, 0); float L_60 = (&V_3)->get_x_1(); float L_61 = (&V_3)->get_y_2(); float L_62 = V_6; Vector3_t3525329789 L_63; memset(&L_63, 0, sizeof(L_63)); Vector3__ctor_m2926210380(&L_63, L_60, ((float)((float)L_61-(float)L_62)), (0.0f), /*hidden argument*/NULL); ((L_59)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->set_position_0(L_63); UIVertexU5BU5D_t684414504* L_64 = __this->get_m_CursorVerts_44(); NullCheck(L_64); IL2CPP_ARRAY_BOUNDS_CHECK(L_64, 1); float L_65 = (&V_3)->get_x_1(); float L_66 = V_0; float L_67 = (&V_3)->get_y_2(); float L_68 = V_6; Vector3_t3525329789 L_69; memset(&L_69, 0, sizeof(L_69)); Vector3__ctor_m2926210380(&L_69, ((float)((float)L_65+(float)L_66)), ((float)((float)L_67-(float)L_68)), (0.0f), /*hidden argument*/NULL); ((L_64)->GetAddressAt(static_cast<il2cpp_array_size_t>(1)))->set_position_0(L_69); UIVertexU5BU5D_t684414504* L_70 = __this->get_m_CursorVerts_44(); NullCheck(L_70); IL2CPP_ARRAY_BOUNDS_CHECK(L_70, 2); float L_71 = (&V_3)->get_x_1(); float L_72 = V_0; float L_73 = (&V_3)->get_y_2(); Vector3_t3525329789 L_74; memset(&L_74, 0, sizeof(L_74)); Vector3__ctor_m2926210380(&L_74, ((float)((float)L_71+(float)L_72)), L_73, (0.0f), /*hidden argument*/NULL); ((L_70)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->set_position_0(L_74); UIVertexU5BU5D_t684414504* L_75 = __this->get_m_CursorVerts_44(); NullCheck(L_75); IL2CPP_ARRAY_BOUNDS_CHECK(L_75, 3); float L_76 = (&V_3)->get_x_1(); float L_77 = (&V_3)->get_y_2(); Vector3_t3525329789 L_78; memset(&L_78, 0, sizeof(L_78)); Vector3__ctor_m2926210380(&L_78, L_76, L_77, (0.0f), /*hidden argument*/NULL); ((L_75)->GetAddressAt(static_cast<il2cpp_array_size_t>(3)))->set_position_0(L_78); Vector2_t3525329788 L_79 = ___roundingOffset1; Vector2_t3525329788 L_80 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); bool L_81 = Vector2_op_Inequality_m1638984867(NULL /*static, unused*/, L_79, L_80, /*hidden argument*/NULL); if (!L_81) { goto IL_02a3; } } { V_8 = 0; goto IL_0294; } IL_0246: { UIVertexU5BU5D_t684414504* L_82 = __this->get_m_CursorVerts_44(); int32_t L_83 = V_8; NullCheck(L_82); IL2CPP_ARRAY_BOUNDS_CHECK(L_82, L_83); V_9 = (*(UIVertex_t2260061605 *)((L_82)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_83)))); Vector3_t3525329789 * L_84 = (&V_9)->get_address_of_position_0(); Vector3_t3525329789 * L_85 = L_84; float L_86 = L_85->get_x_1(); float L_87 = (&___roundingOffset1)->get_x_1(); L_85->set_x_1(((float)((float)L_86+(float)L_87))); Vector3_t3525329789 * L_88 = (&V_9)->get_address_of_position_0(); Vector3_t3525329789 * L_89 = L_88; float L_90 = L_89->get_y_2(); float L_91 = (&___roundingOffset1)->get_y_2(); L_89->set_y_2(((float)((float)L_90+(float)L_91))); int32_t L_92 = V_8; V_8 = ((int32_t)((int32_t)L_92+(int32_t)1)); } IL_0294: { int32_t L_93 = V_8; UIVertexU5BU5D_t684414504* L_94 = __this->get_m_CursorVerts_44(); NullCheck(L_94); if ((((int32_t)L_93) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_94)->max_length))))))) { goto IL_0246; } } IL_02a3: { VertexHelper_t1471929499 * L_95 = ___vbo0; UIVertexU5BU5D_t684414504* L_96 = __this->get_m_CursorVerts_44(); NullCheck(L_95); VertexHelper_AddUIVertexQuad_m765809318(L_95, L_96, /*hidden argument*/NULL); int32_t L_97 = Screen_get_height_m1504859443(NULL /*static, unused*/, /*hidden argument*/NULL); V_10 = L_97; int32_t L_98 = V_10; float L_99 = (&V_3)->get_y_2(); (&V_3)->set_y_2(((float)((float)(((float)((float)L_98)))-(float)L_99))); Vector2_t3525329788 L_100 = V_3; IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); Input_set_compositionCursorPos_m3225375732(NULL /*static, unused*/, L_100, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::CreateCursorVerts() extern Il2CppClass* UIVertexU5BU5D_t684414504_il2cpp_TypeInfo_var; extern Il2CppClass* UIVertex_t2260061605_il2cpp_TypeInfo_var; extern const uint32_t InputField_CreateCursorVerts_m1990252457_MetadataUsageId; extern "C" void InputField_CreateCursorVerts_m1990252457 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_CreateCursorVerts_m1990252457_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; { __this->set_m_CursorVerts_44(((UIVertexU5BU5D_t684414504*)SZArrayNew(UIVertexU5BU5D_t684414504_il2cpp_TypeInfo_var, (uint32_t)4))); V_0 = 0; goto IL_0043; } IL_0013: { UIVertexU5BU5D_t684414504* L_0 = __this->get_m_CursorVerts_44(); int32_t L_1 = V_0; NullCheck(L_0); IL2CPP_ARRAY_BOUNDS_CHECK(L_0, L_1); IL2CPP_RUNTIME_CLASS_INIT(UIVertex_t2260061605_il2cpp_TypeInfo_var); UIVertex_t2260061605 L_2 = ((UIVertex_t2260061605_StaticFields*)UIVertex_t2260061605_il2cpp_TypeInfo_var->static_fields)->get_simpleVert_8(); (*(UIVertex_t2260061605 *)((L_0)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_1)))) = L_2; UIVertexU5BU5D_t684414504* L_3 = __this->get_m_CursorVerts_44(); int32_t L_4 = V_0; NullCheck(L_3); IL2CPP_ARRAY_BOUNDS_CHECK(L_3, L_4); Vector2_t3525329788 L_5 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); ((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_4)))->set_uv0_3(L_5); int32_t L_6 = V_0; V_0 = ((int32_t)((int32_t)L_6+(int32_t)1)); } IL_0043: { int32_t L_7 = V_0; UIVertexU5BU5D_t684414504* L_8 = __this->get_m_CursorVerts_44(); NullCheck(L_8); if ((((int32_t)L_7) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_8)->max_length))))))) { goto IL_0013; } } { return; } } // System.Void UnityEngine.UI.InputField::GenerateHightlight(UnityEngine.UI.VertexHelper,UnityEngine.Vector2) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern Il2CppClass* InputField_t2345609593_il2cpp_TypeInfo_var; extern Il2CppClass* UIVertex_t2260061605_il2cpp_TypeInfo_var; extern Il2CppClass* IList_1_t2570312895_il2cpp_TypeInfo_var; extern Il2CppClass* IList_1_t2323413597_il2cpp_TypeInfo_var; extern const uint32_t InputField_GenerateHightlight_m3464703695_MetadataUsageId; extern "C" void InputField_GenerateHightlight_m3464703695 (InputField_t2345609593 * __this, VertexHelper_t1471929499 * ___vbo0, Vector2_t3525329788 ___roundingOffset1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_GenerateHightlight_m3464703695_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; int32_t V_1 = 0; int32_t V_2 = 0; TextGenerator_t2883685459 * V_3 = NULL; int32_t V_4 = 0; int32_t V_5 = 0; UIVertex_t2260061605 V_6; memset(&V_6, 0, sizeof(V_6)); int32_t V_7 = 0; UICharInfo_t403820581 V_8; memset(&V_8, 0, sizeof(V_8)); UICharInfo_t403820581 V_9; memset(&V_9, 0, sizeof(V_9)); Vector2_t3525329788 V_10; memset(&V_10, 0, sizeof(V_10)); Vector2_t3525329788 V_11; memset(&V_11, 0, sizeof(V_11)); int32_t V_12 = 0; UILineInfo_t156921283 V_13; memset(&V_13, 0, sizeof(V_13)); UILineInfo_t156921283 V_14; memset(&V_14, 0, sizeof(V_14)); Rect_t1525428817 V_15; memset(&V_15, 0, sizeof(V_15)); Rect_t1525428817 V_16; memset(&V_16, 0, sizeof(V_16)); Rect_t1525428817 V_17; memset(&V_17, 0, sizeof(V_17)); { int32_t L_0 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); int32_t L_1 = __this->get_m_DrawStart_56(); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_2 = Mathf_Max_m2911193737(NULL /*static, unused*/, 0, ((int32_t)((int32_t)L_0-(int32_t)L_1)), /*hidden argument*/NULL); V_0 = L_2; int32_t L_3 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); int32_t L_4 = __this->get_m_DrawStart_56(); int32_t L_5 = Mathf_Max_m2911193737(NULL /*static, unused*/, 0, ((int32_t)((int32_t)L_3-(int32_t)L_4)), /*hidden argument*/NULL); V_1 = L_5; int32_t L_6 = V_0; int32_t L_7 = V_1; if ((((int32_t)L_6) <= ((int32_t)L_7))) { goto IL_0035; } } { int32_t L_8 = V_0; V_2 = L_8; int32_t L_9 = V_1; V_0 = L_9; int32_t L_10 = V_2; V_1 = L_10; } IL_0035: { int32_t L_11 = V_1; V_1 = ((int32_t)((int32_t)L_11-(int32_t)1)); Text_t3286458198 * L_12 = __this->get_m_TextComponent_21(); NullCheck(L_12); TextGenerator_t2883685459 * L_13 = Text_get_cachedTextGenerator_m337653083(L_12, /*hidden argument*/NULL); V_3 = L_13; TextGenerator_t2883685459 * L_14 = V_3; NullCheck(L_14); int32_t L_15 = TextGenerator_get_lineCount_m3121044867(L_14, /*hidden argument*/NULL); if ((((int32_t)L_15) > ((int32_t)0))) { goto IL_0052; } } { return; } IL_0052: { int32_t L_16 = V_0; TextGenerator_t2883685459 * L_17 = V_3; int32_t L_18 = InputField_DetermineCharacterLine_m3657739513(__this, L_16, L_17, /*hidden argument*/NULL); V_4 = L_18; TextGenerator_t2883685459 * L_19 = V_3; int32_t L_20 = V_4; IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); int32_t L_21 = InputField_GetLineEndPosition_m293479951(NULL /*static, unused*/, L_19, L_20, /*hidden argument*/NULL); V_5 = L_21; IL2CPP_RUNTIME_CLASS_INIT(UIVertex_t2260061605_il2cpp_TypeInfo_var); UIVertex_t2260061605 L_22 = ((UIVertex_t2260061605_StaticFields*)UIVertex_t2260061605_il2cpp_TypeInfo_var->static_fields)->get_simpleVert_8(); V_6 = L_22; Vector2_t3525329788 L_23 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); (&V_6)->set_uv0_3(L_23); Color_t1588175760 L_24 = InputField_get_selectionColor_m240252578(__this, /*hidden argument*/NULL); Color32_t4137084207 L_25 = Color32_op_Implicit_m3684884838(NULL /*static, unused*/, L_24, /*hidden argument*/NULL); (&V_6)->set_color_2(L_25); int32_t L_26 = V_0; V_7 = L_26; goto IL_02c9; } IL_0093: { int32_t L_27 = V_7; int32_t L_28 = V_5; if ((((int32_t)L_27) == ((int32_t)L_28))) { goto IL_00a4; } } { int32_t L_29 = V_7; int32_t L_30 = V_1; if ((!(((uint32_t)L_29) == ((uint32_t)L_30)))) { goto IL_02c3; } } IL_00a4: { TextGenerator_t2883685459 * L_31 = V_3; NullCheck(L_31); Il2CppObject* L_32 = TextGenerator_get_characters_m3420670449(L_31, /*hidden argument*/NULL); int32_t L_33 = V_0; NullCheck(L_32); UICharInfo_t403820581 L_34 = InterfaceFuncInvoker1< UICharInfo_t403820581 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UICharInfo>::get_Item(System.Int32) */, IList_1_t2570312895_il2cpp_TypeInfo_var, L_32, L_33); V_8 = L_34; TextGenerator_t2883685459 * L_35 = V_3; NullCheck(L_35); Il2CppObject* L_36 = TextGenerator_get_characters_m3420670449(L_35, /*hidden argument*/NULL); int32_t L_37 = V_7; NullCheck(L_36); UICharInfo_t403820581 L_38 = InterfaceFuncInvoker1< UICharInfo_t403820581 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UICharInfo>::get_Item(System.Int32) */, IList_1_t2570312895_il2cpp_TypeInfo_var, L_36, L_37); V_9 = L_38; Vector2_t3525329788 * L_39 = (&V_8)->get_address_of_cursorPos_0(); float L_40 = L_39->get_x_1(); Text_t3286458198 * L_41 = __this->get_m_TextComponent_21(); NullCheck(L_41); float L_42 = Text_get_pixelsPerUnit_m4148756467(L_41, /*hidden argument*/NULL); TextGenerator_t2883685459 * L_43 = V_3; NullCheck(L_43); Il2CppObject* L_44 = TextGenerator_get_lines_m3197542168(L_43, /*hidden argument*/NULL); int32_t L_45 = V_4; NullCheck(L_44); UILineInfo_t156921283 L_46 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_44, L_45); V_13 = L_46; float L_47 = (&V_13)->get_topY_2(); Text_t3286458198 * L_48 = __this->get_m_TextComponent_21(); NullCheck(L_48); float L_49 = Text_get_pixelsPerUnit_m4148756467(L_48, /*hidden argument*/NULL); Vector2__ctor_m1517109030((&V_10), ((float)((float)L_40/(float)L_42)), ((float)((float)L_47/(float)L_49)), /*hidden argument*/NULL); Vector2_t3525329788 * L_50 = (&V_9)->get_address_of_cursorPos_0(); float L_51 = L_50->get_x_1(); float L_52 = (&V_9)->get_charWidth_1(); Text_t3286458198 * L_53 = __this->get_m_TextComponent_21(); NullCheck(L_53); float L_54 = Text_get_pixelsPerUnit_m4148756467(L_53, /*hidden argument*/NULL); float L_55 = (&V_10)->get_y_2(); TextGenerator_t2883685459 * L_56 = V_3; NullCheck(L_56); Il2CppObject* L_57 = TextGenerator_get_lines_m3197542168(L_56, /*hidden argument*/NULL); int32_t L_58 = V_4; NullCheck(L_57); UILineInfo_t156921283 L_59 = InterfaceFuncInvoker1< UILineInfo_t156921283 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UILineInfo>::get_Item(System.Int32) */, IList_1_t2323413597_il2cpp_TypeInfo_var, L_57, L_58); V_14 = L_59; int32_t L_60 = (&V_14)->get_height_1(); Text_t3286458198 * L_61 = __this->get_m_TextComponent_21(); NullCheck(L_61); float L_62 = Text_get_pixelsPerUnit_m4148756467(L_61, /*hidden argument*/NULL); Vector2__ctor_m1517109030((&V_11), ((float)((float)((float)((float)L_51+(float)L_52))/(float)L_54)), ((float)((float)L_55-(float)((float)((float)(((float)((float)L_60)))/(float)L_62)))), /*hidden argument*/NULL); float L_63 = (&V_11)->get_x_1(); Text_t3286458198 * L_64 = __this->get_m_TextComponent_21(); NullCheck(L_64); RectTransform_t3317474837 * L_65 = Graphic_get_rectTransform_m4017371950(L_64, /*hidden argument*/NULL); NullCheck(L_65); Rect_t1525428817 L_66 = RectTransform_get_rect_m1566017036(L_65, /*hidden argument*/NULL); V_15 = L_66; float L_67 = Rect_get_xMax_m370881244((&V_15), /*hidden argument*/NULL); if ((((float)L_63) > ((float)L_67))) { goto IL_019e; } } { float L_68 = (&V_11)->get_x_1(); Text_t3286458198 * L_69 = __this->get_m_TextComponent_21(); NullCheck(L_69); RectTransform_t3317474837 * L_70 = Graphic_get_rectTransform_m4017371950(L_69, /*hidden argument*/NULL); NullCheck(L_70); Rect_t1525428817 L_71 = RectTransform_get_rect_m1566017036(L_70, /*hidden argument*/NULL); V_16 = L_71; float L_72 = Rect_get_xMin_m371109962((&V_16), /*hidden argument*/NULL); if ((!(((float)L_68) < ((float)L_72)))) { goto IL_01be; } } IL_019e: { Text_t3286458198 * L_73 = __this->get_m_TextComponent_21(); NullCheck(L_73); RectTransform_t3317474837 * L_74 = Graphic_get_rectTransform_m4017371950(L_73, /*hidden argument*/NULL); NullCheck(L_74); Rect_t1525428817 L_75 = RectTransform_get_rect_m1566017036(L_74, /*hidden argument*/NULL); V_17 = L_75; float L_76 = Rect_get_xMax_m370881244((&V_17), /*hidden argument*/NULL); (&V_11)->set_x_1(L_76); } IL_01be: { VertexHelper_t1471929499 * L_77 = ___vbo0; NullCheck(L_77); int32_t L_78 = VertexHelper_get_currentVertCount_m3425330353(L_77, /*hidden argument*/NULL); V_12 = L_78; float L_79 = (&V_10)->get_x_1(); float L_80 = (&V_11)->get_y_2(); Vector3_t3525329789 L_81; memset(&L_81, 0, sizeof(L_81)); Vector3__ctor_m2926210380(&L_81, L_79, L_80, (0.0f), /*hidden argument*/NULL); Vector2_t3525329788 L_82 = ___roundingOffset1; Vector3_t3525329789 L_83 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_82, /*hidden argument*/NULL); Vector3_t3525329789 L_84 = Vector3_op_Addition_m695438225(NULL /*static, unused*/, L_81, L_83, /*hidden argument*/NULL); (&V_6)->set_position_0(L_84); VertexHelper_t1471929499 * L_85 = ___vbo0; UIVertex_t2260061605 L_86 = V_6; NullCheck(L_85); VertexHelper_AddVert_m1127238042(L_85, L_86, /*hidden argument*/NULL); float L_87 = (&V_11)->get_x_1(); float L_88 = (&V_11)->get_y_2(); Vector3_t3525329789 L_89; memset(&L_89, 0, sizeof(L_89)); Vector3__ctor_m2926210380(&L_89, L_87, L_88, (0.0f), /*hidden argument*/NULL); Vector2_t3525329788 L_90 = ___roundingOffset1; Vector3_t3525329789 L_91 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_90, /*hidden argument*/NULL); Vector3_t3525329789 L_92 = Vector3_op_Addition_m695438225(NULL /*static, unused*/, L_89, L_91, /*hidden argument*/NULL); (&V_6)->set_position_0(L_92); VertexHelper_t1471929499 * L_93 = ___vbo0; UIVertex_t2260061605 L_94 = V_6; NullCheck(L_93); VertexHelper_AddVert_m1127238042(L_93, L_94, /*hidden argument*/NULL); float L_95 = (&V_11)->get_x_1(); float L_96 = (&V_10)->get_y_2(); Vector3_t3525329789 L_97; memset(&L_97, 0, sizeof(L_97)); Vector3__ctor_m2926210380(&L_97, L_95, L_96, (0.0f), /*hidden argument*/NULL); Vector2_t3525329788 L_98 = ___roundingOffset1; Vector3_t3525329789 L_99 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_98, /*hidden argument*/NULL); Vector3_t3525329789 L_100 = Vector3_op_Addition_m695438225(NULL /*static, unused*/, L_97, L_99, /*hidden argument*/NULL); (&V_6)->set_position_0(L_100); VertexHelper_t1471929499 * L_101 = ___vbo0; UIVertex_t2260061605 L_102 = V_6; NullCheck(L_101); VertexHelper_AddVert_m1127238042(L_101, L_102, /*hidden argument*/NULL); float L_103 = (&V_10)->get_x_1(); float L_104 = (&V_10)->get_y_2(); Vector3_t3525329789 L_105; memset(&L_105, 0, sizeof(L_105)); Vector3__ctor_m2926210380(&L_105, L_103, L_104, (0.0f), /*hidden argument*/NULL); Vector2_t3525329788 L_106 = ___roundingOffset1; Vector3_t3525329789 L_107 = Vector2_op_Implicit_m482286037(NULL /*static, unused*/, L_106, /*hidden argument*/NULL); Vector3_t3525329789 L_108 = Vector3_op_Addition_m695438225(NULL /*static, unused*/, L_105, L_107, /*hidden argument*/NULL); (&V_6)->set_position_0(L_108); VertexHelper_t1471929499 * L_109 = ___vbo0; UIVertex_t2260061605 L_110 = V_6; NullCheck(L_109); VertexHelper_AddVert_m1127238042(L_109, L_110, /*hidden argument*/NULL); VertexHelper_t1471929499 * L_111 = ___vbo0; int32_t L_112 = V_12; int32_t L_113 = V_12; int32_t L_114 = V_12; NullCheck(L_111); VertexHelper_AddTriangle_m514578993(L_111, L_112, ((int32_t)((int32_t)L_113+(int32_t)1)), ((int32_t)((int32_t)L_114+(int32_t)2)), /*hidden argument*/NULL); VertexHelper_t1471929499 * L_115 = ___vbo0; int32_t L_116 = V_12; int32_t L_117 = V_12; int32_t L_118 = V_12; NullCheck(L_115); VertexHelper_AddTriangle_m514578993(L_115, ((int32_t)((int32_t)L_116+(int32_t)2)), ((int32_t)((int32_t)L_117+(int32_t)3)), L_118, /*hidden argument*/NULL); int32_t L_119 = V_7; V_0 = ((int32_t)((int32_t)L_119+(int32_t)1)); int32_t L_120 = V_4; V_4 = ((int32_t)((int32_t)L_120+(int32_t)1)); TextGenerator_t2883685459 * L_121 = V_3; int32_t L_122 = V_4; IL2CPP_RUNTIME_CLASS_INIT(InputField_t2345609593_il2cpp_TypeInfo_var); int32_t L_123 = InputField_GetLineEndPosition_m293479951(NULL /*static, unused*/, L_121, L_122, /*hidden argument*/NULL); V_5 = L_123; } IL_02c3: { int32_t L_124 = V_7; V_7 = ((int32_t)((int32_t)L_124+(int32_t)1)); } IL_02c9: { int32_t L_125 = V_7; int32_t L_126 = V_1; if ((((int32_t)L_125) > ((int32_t)L_126))) { goto IL_02de; } } { int32_t L_127 = V_7; TextGenerator_t2883685459 * L_128 = V_3; NullCheck(L_128); int32_t L_129 = TextGenerator_get_characterCount_m1694678400(L_128, /*hidden argument*/NULL); if ((((int32_t)L_127) < ((int32_t)L_129))) { goto IL_0093; } } IL_02de: { return; } } // System.Char UnityEngine.UI.InputField::Validate(System.String,System.Int32,System.Char) extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern Il2CppClass* Char_t2778706699_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral46; extern Il2CppCodeGenString* _stringLiteral39; extern Il2CppCodeGenString* _stringLiteral2132971832; extern const uint32_t InputField_Validate_m4235185069_MetadataUsageId; extern "C" uint16_t InputField_Validate_m4235185069 (InputField_t2345609593 * __this, String_t* ___text0, int32_t ___pos1, uint16_t ___ch2, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_Validate_m4235185069_MetadataUsageId); s_Il2CppMethodIntialized = true; } bool V_0 = false; bool V_1 = false; uint16_t V_2 = 0x0; uint16_t V_3 = 0x0; uint16_t V_4 = 0x0; uint16_t V_5 = 0x0; int32_t G_B9_0 = 0; int32_t G_B12_0 = 0; int32_t G_B40_0 = 0; int32_t G_B43_0 = 0; int32_t G_B85_0 = 0; int32_t G_B88_0 = 0; { int32_t L_0 = InputField_get_characterValidation_m4244038975(__this, /*hidden argument*/NULL); if (!L_0) { goto IL_0016; } } { bool L_1 = Behaviour_get_enabled_m1239363704(__this, /*hidden argument*/NULL); if (L_1) { goto IL_0018; } } IL_0016: { uint16_t L_2 = ___ch2; return L_2; } IL_0018: { int32_t L_3 = InputField_get_characterValidation_m4244038975(__this, /*hidden argument*/NULL); if ((((int32_t)L_3) == ((int32_t)1))) { goto IL_0030; } } { int32_t L_4 = InputField_get_characterValidation_m4244038975(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_4) == ((uint32_t)2)))) { goto IL_00c2; } } IL_0030: { int32_t L_5 = ___pos1; if (L_5) { goto IL_004f; } } { String_t* L_6 = ___text0; NullCheck(L_6); int32_t L_7 = String_get_Length_m2979997331(L_6, /*hidden argument*/NULL); if ((((int32_t)L_7) <= ((int32_t)0))) { goto IL_004f; } } { String_t* L_8 = ___text0; NullCheck(L_8); uint16_t L_9 = String_get_Chars_m3015341861(L_8, 0, /*hidden argument*/NULL); G_B9_0 = ((((int32_t)L_9) == ((int32_t)((int32_t)45)))? 1 : 0); goto IL_0050; } IL_004f: { G_B9_0 = 0; } IL_0050: { V_0 = (bool)G_B9_0; int32_t L_10 = InputField_get_caretPositionInternal_m1805548065(__this, /*hidden argument*/NULL); if (!L_10) { goto IL_0067; } } { int32_t L_11 = InputField_get_caretSelectPositionInternal_m2541357245(__this, /*hidden argument*/NULL); G_B12_0 = ((((int32_t)L_11) == ((int32_t)0))? 1 : 0); goto IL_0068; } IL_0067: { G_B12_0 = 1; } IL_0068: { V_1 = (bool)G_B12_0; bool L_12 = V_0; if (L_12) { goto IL_00bd; } } { uint16_t L_13 = ___ch2; if ((((int32_t)L_13) < ((int32_t)((int32_t)48)))) { goto IL_0081; } } { uint16_t L_14 = ___ch2; if ((((int32_t)L_14) > ((int32_t)((int32_t)57)))) { goto IL_0081; } } { uint16_t L_15 = ___ch2; return L_15; } IL_0081: { uint16_t L_16 = ___ch2; if ((!(((uint32_t)L_16) == ((uint32_t)((int32_t)45))))) { goto IL_0097; } } { int32_t L_17 = ___pos1; if (!L_17) { goto IL_0095; } } { bool L_18 = V_1; if (!L_18) { goto IL_0097; } } IL_0095: { uint16_t L_19 = ___ch2; return L_19; } IL_0097: { uint16_t L_20 = ___ch2; if ((!(((uint32_t)L_20) == ((uint32_t)((int32_t)46))))) { goto IL_00bd; } } { int32_t L_21 = InputField_get_characterValidation_m4244038975(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_21) == ((uint32_t)2)))) { goto IL_00bd; } } { String_t* L_22 = ___text0; NullCheck(L_22); bool L_23 = String_Contains_m3032019141(L_22, _stringLiteral46, /*hidden argument*/NULL); if (L_23) { goto IL_00bd; } } { uint16_t L_24 = ___ch2; return L_24; } IL_00bd: { goto IL_02f7; } IL_00c2: { int32_t L_25 = InputField_get_characterValidation_m4244038975(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_25) == ((uint32_t)3)))) { goto IL_0109; } } { uint16_t L_26 = ___ch2; if ((((int32_t)L_26) < ((int32_t)((int32_t)65)))) { goto IL_00e0; } } { uint16_t L_27 = ___ch2; if ((((int32_t)L_27) > ((int32_t)((int32_t)90)))) { goto IL_00e0; } } { uint16_t L_28 = ___ch2; return L_28; } IL_00e0: { uint16_t L_29 = ___ch2; if ((((int32_t)L_29) < ((int32_t)((int32_t)97)))) { goto IL_00f2; } } { uint16_t L_30 = ___ch2; if ((((int32_t)L_30) > ((int32_t)((int32_t)122)))) { goto IL_00f2; } } { uint16_t L_31 = ___ch2; return L_31; } IL_00f2: { uint16_t L_32 = ___ch2; if ((((int32_t)L_32) < ((int32_t)((int32_t)48)))) { goto IL_0104; } } { uint16_t L_33 = ___ch2; if ((((int32_t)L_33) > ((int32_t)((int32_t)57)))) { goto IL_0104; } } { uint16_t L_34 = ___ch2; return L_34; } IL_0104: { goto IL_02f7; } IL_0109: { int32_t L_35 = InputField_get_characterValidation_m4244038975(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_35) == ((uint32_t)4)))) { goto IL_0218; } } { String_t* L_36 = ___text0; NullCheck(L_36); int32_t L_37 = String_get_Length_m2979997331(L_36, /*hidden argument*/NULL); if ((((int32_t)L_37) <= ((int32_t)0))) { goto IL_013b; } } { String_t* L_38 = ___text0; int32_t L_39 = ___pos1; String_t* L_40 = ___text0; NullCheck(L_40); int32_t L_41 = String_get_Length_m2979997331(L_40, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_42 = Mathf_Clamp_m510460741(NULL /*static, unused*/, L_39, 0, ((int32_t)((int32_t)L_41-(int32_t)1)), /*hidden argument*/NULL); NullCheck(L_38); uint16_t L_43 = String_get_Chars_m3015341861(L_38, L_42, /*hidden argument*/NULL); G_B40_0 = ((int32_t)(L_43)); goto IL_013d; } IL_013b: { G_B40_0 = ((int32_t)32); } IL_013d: { V_2 = G_B40_0; String_t* L_44 = ___text0; NullCheck(L_44); int32_t L_45 = String_get_Length_m2979997331(L_44, /*hidden argument*/NULL); if ((((int32_t)L_45) <= ((int32_t)0))) { goto IL_0166; } } { String_t* L_46 = ___text0; int32_t L_47 = ___pos1; String_t* L_48 = ___text0; NullCheck(L_48); int32_t L_49 = String_get_Length_m2979997331(L_48, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_50 = Mathf_Clamp_m510460741(NULL /*static, unused*/, ((int32_t)((int32_t)L_47+(int32_t)1)), 0, ((int32_t)((int32_t)L_49-(int32_t)1)), /*hidden argument*/NULL); NullCheck(L_46); uint16_t L_51 = String_get_Chars_m3015341861(L_46, L_50, /*hidden argument*/NULL); G_B43_0 = ((int32_t)(L_51)); goto IL_0168; } IL_0166: { G_B43_0 = ((int32_t)10); } IL_0168: { V_3 = G_B43_0; uint16_t L_52 = ___ch2; IL2CPP_RUNTIME_CLASS_INIT(Char_t2778706699_il2cpp_TypeInfo_var); bool L_53 = Char_IsLetter_m1699036490(NULL /*static, unused*/, L_52, /*hidden argument*/NULL); if (!L_53) { goto IL_01b2; } } { uint16_t L_54 = ___ch2; IL2CPP_RUNTIME_CLASS_INIT(Char_t2778706699_il2cpp_TypeInfo_var); bool L_55 = Char_IsLower_m1584081639(NULL /*static, unused*/, L_54, /*hidden argument*/NULL); if (!L_55) { goto IL_018e; } } { uint16_t L_56 = V_2; if ((!(((uint32_t)L_56) == ((uint32_t)((int32_t)32))))) { goto IL_018e; } } { uint16_t L_57 = ___ch2; IL2CPP_RUNTIME_CLASS_INIT(Char_t2778706699_il2cpp_TypeInfo_var); uint16_t L_58 = Char_ToUpper_m3343442427(NULL /*static, unused*/, L_57, /*hidden argument*/NULL); return L_58; } IL_018e: { uint16_t L_59 = ___ch2; IL2CPP_RUNTIME_CLASS_INIT(Char_t2778706699_il2cpp_TypeInfo_var); bool L_60 = Char_IsUpper_m1832446694(NULL /*static, unused*/, L_59, /*hidden argument*/NULL); if (!L_60) { goto IL_01b0; } } { uint16_t L_61 = V_2; if ((((int32_t)L_61) == ((int32_t)((int32_t)32)))) { goto IL_01b0; } } { uint16_t L_62 = V_2; if ((((int32_t)L_62) == ((int32_t)((int32_t)39)))) { goto IL_01b0; } } { uint16_t L_63 = ___ch2; IL2CPP_RUNTIME_CLASS_INIT(Char_t2778706699_il2cpp_TypeInfo_var); uint16_t L_64 = Char_ToLower_m3095077372(NULL /*static, unused*/, L_63, /*hidden argument*/NULL); return L_64; } IL_01b0: { uint16_t L_65 = ___ch2; return L_65; } IL_01b2: { uint16_t L_66 = ___ch2; if ((!(((uint32_t)L_66) == ((uint32_t)((int32_t)39))))) { goto IL_01e9; } } { uint16_t L_67 = V_2; if ((((int32_t)L_67) == ((int32_t)((int32_t)32)))) { goto IL_01e4; } } { uint16_t L_68 = V_2; if ((((int32_t)L_68) == ((int32_t)((int32_t)39)))) { goto IL_01e4; } } { uint16_t L_69 = V_3; if ((((int32_t)L_69) == ((int32_t)((int32_t)39)))) { goto IL_01e4; } } { String_t* L_70 = ___text0; NullCheck(L_70); bool L_71 = String_Contains_m3032019141(L_70, _stringLiteral39, /*hidden argument*/NULL); if (L_71) { goto IL_01e4; } } { uint16_t L_72 = ___ch2; return L_72; } IL_01e4: { goto IL_0213; } IL_01e9: { uint16_t L_73 = ___ch2; if ((!(((uint32_t)L_73) == ((uint32_t)((int32_t)32))))) { goto IL_0213; } } { uint16_t L_74 = V_2; if ((((int32_t)L_74) == ((int32_t)((int32_t)32)))) { goto IL_0213; } } { uint16_t L_75 = V_2; if ((((int32_t)L_75) == ((int32_t)((int32_t)39)))) { goto IL_0213; } } { uint16_t L_76 = V_3; if ((((int32_t)L_76) == ((int32_t)((int32_t)32)))) { goto IL_0213; } } { uint16_t L_77 = V_3; if ((((int32_t)L_77) == ((int32_t)((int32_t)39)))) { goto IL_0213; } } { uint16_t L_78 = ___ch2; return L_78; } IL_0213: { goto IL_02f7; } IL_0218: { int32_t L_79 = InputField_get_characterValidation_m4244038975(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_79) == ((uint32_t)5)))) { goto IL_02f7; } } { uint16_t L_80 = ___ch2; if ((((int32_t)L_80) < ((int32_t)((int32_t)65)))) { goto IL_0236; } } { uint16_t L_81 = ___ch2; if ((((int32_t)L_81) > ((int32_t)((int32_t)90)))) { goto IL_0236; } } { uint16_t L_82 = ___ch2; return L_82; } IL_0236: { uint16_t L_83 = ___ch2; if ((((int32_t)L_83) < ((int32_t)((int32_t)97)))) { goto IL_0248; } } { uint16_t L_84 = ___ch2; if ((((int32_t)L_84) > ((int32_t)((int32_t)122)))) { goto IL_0248; } } { uint16_t L_85 = ___ch2; return L_85; } IL_0248: { uint16_t L_86 = ___ch2; if ((((int32_t)L_86) < ((int32_t)((int32_t)48)))) { goto IL_025a; } } { uint16_t L_87 = ___ch2; if ((((int32_t)L_87) > ((int32_t)((int32_t)57)))) { goto IL_025a; } } { uint16_t L_88 = ___ch2; return L_88; } IL_025a: { uint16_t L_89 = ___ch2; if ((!(((uint32_t)L_89) == ((uint32_t)((int32_t)64))))) { goto IL_0272; } } { String_t* L_90 = ___text0; NullCheck(L_90); int32_t L_91 = String_IndexOf_m2775210486(L_90, ((int32_t)64), /*hidden argument*/NULL); if ((!(((uint32_t)L_91) == ((uint32_t)(-1))))) { goto IL_0272; } } { uint16_t L_92 = ___ch2; return L_92; } IL_0272: { uint16_t L_93 = ___ch2; NullCheck(_stringLiteral2132971832); int32_t L_94 = String_IndexOf_m2775210486(_stringLiteral2132971832, L_93, /*hidden argument*/NULL); if ((((int32_t)L_94) == ((int32_t)(-1)))) { goto IL_0285; } } { uint16_t L_95 = ___ch2; return L_95; } IL_0285: { uint16_t L_96 = ___ch2; if ((!(((uint32_t)L_96) == ((uint32_t)((int32_t)46))))) { goto IL_02f7; } } { String_t* L_97 = ___text0; NullCheck(L_97); int32_t L_98 = String_get_Length_m2979997331(L_97, /*hidden argument*/NULL); if ((((int32_t)L_98) <= ((int32_t)0))) { goto IL_02b3; } } { String_t* L_99 = ___text0; int32_t L_100 = ___pos1; String_t* L_101 = ___text0; NullCheck(L_101); int32_t L_102 = String_get_Length_m2979997331(L_101, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_103 = Mathf_Clamp_m510460741(NULL /*static, unused*/, L_100, 0, ((int32_t)((int32_t)L_102-(int32_t)1)), /*hidden argument*/NULL); NullCheck(L_99); uint16_t L_104 = String_get_Chars_m3015341861(L_99, L_103, /*hidden argument*/NULL); G_B85_0 = ((int32_t)(L_104)); goto IL_02b5; } IL_02b3: { G_B85_0 = ((int32_t)32); } IL_02b5: { V_4 = G_B85_0; String_t* L_105 = ___text0; NullCheck(L_105); int32_t L_106 = String_get_Length_m2979997331(L_105, /*hidden argument*/NULL); if ((((int32_t)L_106) <= ((int32_t)0))) { goto IL_02df; } } { String_t* L_107 = ___text0; int32_t L_108 = ___pos1; String_t* L_109 = ___text0; NullCheck(L_109); int32_t L_110 = String_get_Length_m2979997331(L_109, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); int32_t L_111 = Mathf_Clamp_m510460741(NULL /*static, unused*/, ((int32_t)((int32_t)L_108+(int32_t)1)), 0, ((int32_t)((int32_t)L_110-(int32_t)1)), /*hidden argument*/NULL); NullCheck(L_107); uint16_t L_112 = String_get_Chars_m3015341861(L_107, L_111, /*hidden argument*/NULL); G_B88_0 = ((int32_t)(L_112)); goto IL_02e1; } IL_02df: { G_B88_0 = ((int32_t)10); } IL_02e1: { V_5 = G_B88_0; uint16_t L_113 = V_4; if ((((int32_t)L_113) == ((int32_t)((int32_t)46)))) { goto IL_02f7; } } { uint16_t L_114 = V_5; if ((((int32_t)L_114) == ((int32_t)((int32_t)46)))) { goto IL_02f7; } } { uint16_t L_115 = ___ch2; return L_115; } IL_02f7: { return 0; } } // System.Void UnityEngine.UI.InputField::ActivateInputField() extern "C" void InputField_ActivateInputField_m2072753740 (InputField_t2345609593 * __this, const MethodInfo* method) { { Text_t3286458198 * L_0 = __this->get_m_TextComponent_21(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_1) { goto IL_003d; } } { Text_t3286458198 * L_2 = __this->get_m_TextComponent_21(); NullCheck(L_2); Font_t1525081276 * L_3 = Text_get_font_m2437753165(L_2, /*hidden argument*/NULL); bool L_4 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_3, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_4) { goto IL_003d; } } { bool L_5 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (!L_5) { goto IL_003d; } } { bool L_6 = VirtFuncInvoker0< bool >::Invoke(23 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this); if (L_6) { goto IL_003e; } } IL_003d: { return; } IL_003e: { bool L_7 = InputField_get_isFocused_m1249071051(__this, /*hidden argument*/NULL); if (!L_7) { goto IL_0081; } } { TouchScreenKeyboard_t2269718975 * L_8 = __this->get_m_Keyboard_19(); if (!L_8) { goto IL_0081; } } { TouchScreenKeyboard_t2269718975 * L_9 = __this->get_m_Keyboard_19(); NullCheck(L_9); bool L_10 = TouchScreenKeyboard_get_active_m4287082086(L_9, /*hidden argument*/NULL); if (L_10) { goto IL_0081; } } { TouchScreenKeyboard_t2269718975 * L_11 = __this->get_m_Keyboard_19(); NullCheck(L_11); TouchScreenKeyboard_set_active_m3667959159(L_11, (bool)1, /*hidden argument*/NULL); TouchScreenKeyboard_t2269718975 * L_12 = __this->get_m_Keyboard_19(); String_t* L_13 = __this->get_m_Text_37(); NullCheck(L_12); TouchScreenKeyboard_set_text_m1654889403(L_12, L_13, /*hidden argument*/NULL); } IL_0081: { __this->set_m_ShouldActivateNextUpdate_50((bool)1); return; } } // System.Void UnityEngine.UI.InputField::ActivateInputFieldInternal() extern Il2CppClass* EventSystem_t409518532_il2cpp_TypeInfo_var; extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t InputField_ActivateInputFieldInternal_m2572296937_MetadataUsageId; extern "C" void InputField_ActivateInputFieldInternal_m2572296937 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_ActivateInputFieldInternal_m2572296937_MetadataUsageId); s_Il2CppMethodIntialized = true; } InputField_t2345609593 * G_B9_0 = NULL; InputField_t2345609593 * G_B8_0 = NULL; TouchScreenKeyboard_t2269718975 * G_B10_0 = NULL; InputField_t2345609593 * G_B10_1 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); EventSystem_t409518532 * L_0 = EventSystem_get_current_m3483537871(NULL /*static, unused*/, /*hidden argument*/NULL); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0011; } } { return; } IL_0011: { IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); EventSystem_t409518532 * L_2 = EventSystem_get_current_m3483537871(NULL /*static, unused*/, /*hidden argument*/NULL); NullCheck(L_2); GameObject_t4012695102 * L_3 = EventSystem_get_currentSelectedGameObject_m4236083783(L_2, /*hidden argument*/NULL); GameObject_t4012695102 * L_4 = Component_get_gameObject_m1170635899(__this, /*hidden argument*/NULL); bool L_5 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL); if (!L_5) { goto IL_003b; } } { IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t409518532_il2cpp_TypeInfo_var); EventSystem_t409518532 * L_6 = EventSystem_get_current_m3483537871(NULL /*static, unused*/, /*hidden argument*/NULL); GameObject_t4012695102 * L_7 = Component_get_gameObject_m1170635899(__this, /*hidden argument*/NULL); NullCheck(L_6); EventSystem_SetSelectedGameObject_m1869236832(L_6, L_7, /*hidden argument*/NULL); } IL_003b: { bool L_8 = TouchScreenKeyboard_get_isSupported_m2472329766(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_8) { goto IL_00b6; } } { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); bool L_9 = Input_get_touchSupported_m634162567(NULL /*static, unused*/, /*hidden argument*/NULL); if (!L_9) { goto IL_005a; } } { bool L_10 = InputField_get_shouldHideMobileInput_m3268284241(__this, /*hidden argument*/NULL); TouchScreenKeyboard_set_hideInput_m2518551559(NULL /*static, unused*/, L_10, /*hidden argument*/NULL); } IL_005a: { int32_t L_11 = InputField_get_inputType_m2348834559(__this, /*hidden argument*/NULL); G_B8_0 = __this; if ((!(((uint32_t)L_11) == ((uint32_t)2)))) { G_B9_0 = __this; goto IL_0085; } } { String_t* L_12 = __this->get_m_Text_37(); int32_t L_13 = InputField_get_keyboardType_m682150197(__this, /*hidden argument*/NULL); bool L_14 = InputField_get_multiLine_m2265790891(__this, /*hidden argument*/NULL); TouchScreenKeyboard_t2269718975 * L_15 = TouchScreenKeyboard_Open_m3070776627(NULL /*static, unused*/, L_12, L_13, (bool)0, L_14, (bool)1, /*hidden argument*/NULL); G_B10_0 = L_15; G_B10_1 = G_B8_0; goto IL_00a5; } IL_0085: { String_t* L_16 = __this->get_m_Text_37(); int32_t L_17 = InputField_get_keyboardType_m682150197(__this, /*hidden argument*/NULL); int32_t L_18 = InputField_get_inputType_m2348834559(__this, /*hidden argument*/NULL); bool L_19 = InputField_get_multiLine_m2265790891(__this, /*hidden argument*/NULL); TouchScreenKeyboard_t2269718975 * L_20 = TouchScreenKeyboard_Open_m751274250(NULL /*static, unused*/, L_16, L_17, (bool)((((int32_t)L_18) == ((int32_t)1))? 1 : 0), L_19, /*hidden argument*/NULL); G_B10_0 = L_20; G_B10_1 = G_B9_0; } IL_00a5: { NullCheck(G_B10_1); G_B10_1->set_m_Keyboard_19(G_B10_0); InputField_MoveTextEnd_m2126814125(__this, (bool)0, /*hidden argument*/NULL); goto IL_00c2; } IL_00b6: { IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); Input_set_imeCompositionMode_m1719849947(NULL /*static, unused*/, 1, /*hidden argument*/NULL); InputField_OnFocus_m466029714(__this, /*hidden argument*/NULL); } IL_00c2: { __this->set_m_AllowInput_49((bool)1); String_t* L_21 = InputField_get_text_m3972300732(__this, /*hidden argument*/NULL); __this->set_m_OriginalText_59(L_21); __this->set_m_WasCanceled_60((bool)0); InputField_SetCaretVisible_m1704739146(__this, /*hidden argument*/NULL); InputField_UpdateLabel_m4272237956(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::OnSelect(UnityEngine.EventSystems.BaseEventData) extern "C" void InputField_OnSelect_m1785968830 (InputField_t2345609593 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { { BaseEventData_t3547103726 * L_0 = ___eventData0; Selectable_OnSelect_m2798350404(__this, L_0, /*hidden argument*/NULL); bool L_1 = InputField_get_shouldActivateOnSelect_m3772452453(__this, /*hidden argument*/NULL); if (!L_1) { goto IL_0018; } } { InputField_ActivateInputField_m2072753740(__this, /*hidden argument*/NULL); } IL_0018: { return; } } // System.Void UnityEngine.UI.InputField::OnPointerClick(UnityEngine.EventSystems.PointerEventData) extern "C" void InputField_OnPointerClick_m2029011499 (InputField_t2345609593 * __this, PointerEventData_t3205101634 * ___eventData0, const MethodInfo* method) { { PointerEventData_t3205101634 * L_0 = ___eventData0; NullCheck(L_0); int32_t L_1 = PointerEventData_get_button_m796143251(L_0, /*hidden argument*/NULL); if (!L_1) { goto IL_000c; } } { return; } IL_000c: { InputField_ActivateInputField_m2072753740(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::DeactivateInputField() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppClass* Input_t1593691127_il2cpp_TypeInfo_var; extern const uint32_t InputField_DeactivateInputField_m2310323789_MetadataUsageId; extern "C" void InputField_DeactivateInputField_m2310323789 (InputField_t2345609593 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (InputField_DeactivateInputField_m2310323789_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; { bool L_0 = __this->get_m_AllowInput_49(); if (L_0) { goto IL_000c; } } { return; } IL_000c: { __this->set_m_HasDoneFocusTransition_61((bool)0); __this->set_m_AllowInput_49((bool)0); Graphic_t933884113 * L_1 = __this->get_m_Placeholder_22(); bool L_2 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_1, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_0041; } } { Graphic_t933884113 * L_3 = __this->get_m_Placeholder_22(); String_t* L_4 = __this->get_m_Text_37(); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); bool L_5 = String_IsNullOrEmpty_m1256468773(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); NullCheck(L_3); Behaviour_set_enabled_m2046806933(L_3, L_5, /*hidden argument*/NULL); } IL_0041: { Text_t3286458198 * L_6 = __this->get_m_TextComponent_21(); bool L_7 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_6, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_7) { goto IL_00ae; } } { bool L_8 = VirtFuncInvoker0< bool >::Invoke(23 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this); if (!L_8) { goto IL_00ae; } } { bool L_9 = __this->get_m_WasCanceled_60(); if (!L_9) { goto IL_0074; } } { String_t* L_10 = __this->get_m_OriginalText_59(); InputField_set_text_m203843887(__this, L_10, /*hidden argument*/NULL); } IL_0074: { TouchScreenKeyboard_t2269718975 * L_11 = __this->get_m_Keyboard_19(); if (!L_11) { goto IL_0092; } } { TouchScreenKeyboard_t2269718975 * L_12 = __this->get_m_Keyboard_19(); NullCheck(L_12); TouchScreenKeyboard_set_active_m3667959159(L_12, (bool)0, /*hidden argument*/NULL); __this->set_m_Keyboard_19((TouchScreenKeyboard_t2269718975 *)NULL); } IL_0092: { int32_t L_13 = 0; V_0 = L_13; __this->set_m_CaretSelectPosition_42(L_13); int32_t L_14 = V_0; __this->set_m_CaretPosition_41(L_14); InputField_SendOnSubmit_m3215072040(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Input_t1593691127_il2cpp_TypeInfo_var); Input_set_imeCompositionMode_m1719849947(NULL /*static, unused*/, 0, /*hidden argument*/NULL); } IL_00ae: { InputField_MarkGeometryAsDirty_m178860986(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::OnDeselect(UnityEngine.EventSystems.BaseEventData) extern "C" void InputField_OnDeselect_m1884183999 (InputField_t2345609593 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { { InputField_DeactivateInputField_m2310323789(__this, /*hidden argument*/NULL); BaseEventData_t3547103726 * L_0 = ___eventData0; Selectable_OnDeselect_m4120267717(__this, L_0, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::OnSubmit(UnityEngine.EventSystems.BaseEventData) extern "C" void InputField_OnSubmit_m3450763226 (InputField_t2345609593 * __this, BaseEventData_t3547103726 * ___eventData0, const MethodInfo* method) { { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (!L_0) { goto IL_0016; } } { bool L_1 = VirtFuncInvoker0< bool >::Invoke(23 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this); if (L_1) { goto IL_0017; } } IL_0016: { return; } IL_0017: { bool L_2 = InputField_get_isFocused_m1249071051(__this, /*hidden argument*/NULL); if (L_2) { goto IL_0029; } } { __this->set_m_ShouldActivateNextUpdate_50((bool)1); } IL_0029: { return; } } // System.Void UnityEngine.UI.InputField::EnforceContentType() extern "C" void InputField_EnforceContentType_m4178225210 (InputField_t2345609593 * __this, const MethodInfo* method) { int32_t V_0 = 0; { int32_t L_0 = InputField_get_contentType_m1921772191(__this, /*hidden argument*/NULL); V_0 = L_0; int32_t L_1 = V_0; if (L_1 == 0) { goto IL_0036; } if (L_1 == 1) { goto IL_004c; } if (L_1 == 2) { goto IL_0062; } if (L_1 == 3) { goto IL_007f; } if (L_1 == 4) { goto IL_009c; } if (L_1 == 5) { goto IL_00b9; } if (L_1 == 6) { goto IL_00d6; } if (L_1 == 7) { goto IL_00f3; } if (L_1 == 8) { goto IL_0110; } } { goto IL_012d; } IL_0036: { __this->set_m_InputType_24(0); __this->set_m_KeyboardType_26(0); __this->set_m_CharacterValidation_29(0); return; } IL_004c: { __this->set_m_InputType_24(1); __this->set_m_KeyboardType_26(0); __this->set_m_CharacterValidation_29(0); return; } IL_0062: { __this->set_m_LineType_27(0); __this->set_m_InputType_24(0); __this->set_m_KeyboardType_26(4); __this->set_m_CharacterValidation_29(1); return; } IL_007f: { __this->set_m_LineType_27(0); __this->set_m_InputType_24(0); __this->set_m_KeyboardType_26(2); __this->set_m_CharacterValidation_29(2); return; } IL_009c: { __this->set_m_LineType_27(0); __this->set_m_InputType_24(0); __this->set_m_KeyboardType_26(1); __this->set_m_CharacterValidation_29(3); return; } IL_00b9: { __this->set_m_LineType_27(0); __this->set_m_InputType_24(0); __this->set_m_KeyboardType_26(0); __this->set_m_CharacterValidation_29(4); return; } IL_00d6: { __this->set_m_LineType_27(0); __this->set_m_InputType_24(0); __this->set_m_KeyboardType_26(7); __this->set_m_CharacterValidation_29(5); return; } IL_00f3: { __this->set_m_LineType_27(0); __this->set_m_InputType_24(2); __this->set_m_KeyboardType_26(0); __this->set_m_CharacterValidation_29(0); return; } IL_0110: { __this->set_m_LineType_27(0); __this->set_m_InputType_24(2); __this->set_m_KeyboardType_26(4); __this->set_m_CharacterValidation_29(1); return; } IL_012d: { return; } } // System.Void UnityEngine.UI.InputField::SetToCustomIfContentTypeIsNot(UnityEngine.UI.InputField/ContentType[]) extern "C" void InputField_SetToCustomIfContentTypeIsNot_m1700869631 (InputField_t2345609593 * __this, ContentTypeU5BU5D_t2225613474* ___allowedContentTypes0, const MethodInfo* method) { int32_t V_0 = 0; { int32_t L_0 = InputField_get_contentType_m1921772191(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)9))))) { goto IL_000e; } } { return; } IL_000e: { V_0 = 0; goto IL_0028; } IL_0015: { int32_t L_1 = InputField_get_contentType_m1921772191(__this, /*hidden argument*/NULL); ContentTypeU5BU5D_t2225613474* L_2 = ___allowedContentTypes0; int32_t L_3 = V_0; NullCheck(L_2); IL2CPP_ARRAY_BOUNDS_CHECK(L_2, L_3); int32_t L_4 = L_3; if ((!(((uint32_t)L_1) == ((uint32_t)((L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4))))))) { goto IL_0024; } } { return; } IL_0024: { int32_t L_5 = V_0; V_0 = ((int32_t)((int32_t)L_5+(int32_t)1)); } IL_0028: { int32_t L_6 = V_0; ContentTypeU5BU5D_t2225613474* L_7 = ___allowedContentTypes0; NullCheck(L_7); if ((((int32_t)L_6) < ((int32_t)(((int32_t)((int32_t)(((Il2CppArray *)L_7)->max_length))))))) { goto IL_0015; } } { InputField_set_contentType_m831644236(__this, ((int32_t)9), /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::SetToCustom() extern "C" void InputField_SetToCustom_m2598912359 (InputField_t2345609593 * __this, const MethodInfo* method) { { int32_t L_0 = InputField_get_contentType_m1921772191(__this, /*hidden argument*/NULL); if ((!(((uint32_t)L_0) == ((uint32_t)((int32_t)9))))) { goto IL_000e; } } { return; } IL_000e: { InputField_set_contentType_m831644236(__this, ((int32_t)9), /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.InputField::DoStateTransition(UnityEngine.UI.Selectable/SelectionState,System.Boolean) extern "C" void InputField_DoStateTransition_m1731594340 (InputField_t2345609593 * __this, int32_t ___state0, bool ___instant1, const MethodInfo* method) { { bool L_0 = __this->get_m_HasDoneFocusTransition_61(); if (!L_0) { goto IL_0013; } } { ___state0 = 1; goto IL_0021; } IL_0013: { int32_t L_1 = ___state0; if ((!(((uint32_t)L_1) == ((uint32_t)2)))) { goto IL_0021; } } { __this->set_m_HasDoneFocusTransition_61((bool)1); } IL_0021: { int32_t L_2 = ___state0; bool L_3 = ___instant1; Selectable_DoStateTransition_m1211483242(__this, L_2, L_3, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.UI.InputField::UnityEngine.UI.ICanvasElement.IsDestroyed() extern "C" bool InputField_UnityEngine_UI_ICanvasElement_IsDestroyed_m2781637606 (InputField_t2345609593 * __this, const MethodInfo* method) { { bool L_0 = UIBehaviour_IsDestroyed_m3027499227(__this, /*hidden argument*/NULL); return L_0; } } // UnityEngine.Transform UnityEngine.UI.InputField::UnityEngine.UI.ICanvasElement.get_transform() extern "C" Transform_t284553113 * InputField_UnityEngine_UI_ICanvasElement_get_transform_m2979159434 (InputField_t2345609593 * __this, const MethodInfo* method) { { Transform_t284553113 * L_0 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); return L_0; } } // System.Void UnityEngine.UI.InputField/<CaretBlink>c__Iterator3::.ctor() extern "C" void U3CCaretBlinkU3Ec__Iterator3__ctor_m1860697329 (U3CCaretBlinkU3Ec__Iterator3_t2286509995 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Object UnityEngine.UI.InputField/<CaretBlink>c__Iterator3::System.Collections.Generic.IEnumerator<object>.get_Current() extern "C" Il2CppObject * U3CCaretBlinkU3Ec__Iterator3_System_Collections_Generic_IEnumeratorU3CobjectU3E_get_Current_m1074854283 (U3CCaretBlinkU3Ec__Iterator3_t2286509995 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = __this->get_U24current_3(); return L_0; } } // System.Object UnityEngine.UI.InputField/<CaretBlink>c__Iterator3::System.Collections.IEnumerator.get_Current() extern "C" Il2CppObject * U3CCaretBlinkU3Ec__Iterator3_System_Collections_IEnumerator_get_Current_m2948952863 (U3CCaretBlinkU3Ec__Iterator3_t2286509995 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = __this->get_U24current_3(); return L_0; } } // System.Boolean UnityEngine.UI.InputField/<CaretBlink>c__Iterator3::MoveNext() extern "C" bool U3CCaretBlinkU3Ec__Iterator3_MoveNext_m4141316197 (U3CCaretBlinkU3Ec__Iterator3_t2286509995 * __this, const MethodInfo* method) { uint32_t V_0 = 0; bool V_1 = false; { int32_t L_0 = __this->get_U24PC_2(); V_0 = L_0; __this->set_U24PC_2((-1)); uint32_t L_1 = V_0; if (L_1 == 0) { goto IL_0025; } if (L_1 == 1) { goto IL_0044; } if (L_1 == 2) { goto IL_00e1; } } { goto IL_0119; } IL_0025: { InputField_t2345609593 * L_2 = __this->get_U3CU3Ef__this_4(); NullCheck(L_2); L_2->set_m_CaretVisible_53((bool)1); __this->set_U24current_3(NULL); __this->set_U24PC_2(1); goto IL_011b; } IL_0044: { goto IL_00e1; } IL_0049: { InputField_t2345609593 * L_3 = __this->get_U3CU3Ef__this_4(); NullCheck(L_3); float L_4 = L_3->get_m_CaretBlinkRate_38(); __this->set_U3CblinkPeriodU3E__0_0(((float)((float)(1.0f)/(float)L_4))); float L_5 = Time_get_unscaledTime_m319114521(NULL /*static, unused*/, /*hidden argument*/NULL); InputField_t2345609593 * L_6 = __this->get_U3CU3Ef__this_4(); NullCheck(L_6); float L_7 = L_6->get_m_BlinkStartTime_55(); float L_8 = __this->get_U3CblinkPeriodU3E__0_0(); float L_9 = __this->get_U3CblinkPeriodU3E__0_0(); __this->set_U3CblinkStateU3E__1_1((bool)((((float)(fmodf(((float)((float)L_5-(float)L_7)), L_8))) < ((float)((float)((float)L_9/(float)(2.0f)))))? 1 : 0)); InputField_t2345609593 * L_10 = __this->get_U3CU3Ef__this_4(); NullCheck(L_10); bool L_11 = L_10->get_m_CaretVisible_53(); bool L_12 = __this->get_U3CblinkStateU3E__1_1(); if ((((int32_t)L_11) == ((int32_t)L_12))) { goto IL_00ce; } } { InputField_t2345609593 * L_13 = __this->get_U3CU3Ef__this_4(); bool L_14 = __this->get_U3CblinkStateU3E__1_1(); NullCheck(L_13); L_13->set_m_CaretVisible_53(L_14); InputField_t2345609593 * L_15 = __this->get_U3CU3Ef__this_4(); NullCheck(L_15); bool L_16 = InputField_get_hasSelection_m69592150(L_15, /*hidden argument*/NULL); if (L_16) { goto IL_00ce; } } { InputField_t2345609593 * L_17 = __this->get_U3CU3Ef__this_4(); NullCheck(L_17); InputField_MarkGeometryAsDirty_m178860986(L_17, /*hidden argument*/NULL); } IL_00ce: { __this->set_U24current_3(NULL); __this->set_U24PC_2(2); goto IL_011b; } IL_00e1: { InputField_t2345609593 * L_18 = __this->get_U3CU3Ef__this_4(); NullCheck(L_18); bool L_19 = InputField_get_isFocused_m1249071051(L_18, /*hidden argument*/NULL); if (!L_19) { goto IL_0106; } } { InputField_t2345609593 * L_20 = __this->get_U3CU3Ef__this_4(); NullCheck(L_20); float L_21 = L_20->get_m_CaretBlinkRate_38(); if ((((float)L_21) > ((float)(0.0f)))) { goto IL_0049; } } IL_0106: { InputField_t2345609593 * L_22 = __this->get_U3CU3Ef__this_4(); NullCheck(L_22); L_22->set_m_BlinkCoroutine_54((Coroutine_t2246592261 *)NULL); __this->set_U24PC_2((-1)); } IL_0119: { return (bool)0; } IL_011b: { return (bool)1; } // Dead block : IL_011d: ldloc.1 } // System.Void UnityEngine.UI.InputField/<CaretBlink>c__Iterator3::Dispose() extern "C" void U3CCaretBlinkU3Ec__Iterator3_Dispose_m1322021102 (U3CCaretBlinkU3Ec__Iterator3_t2286509995 * __this, const MethodInfo* method) { { __this->set_U24PC_2((-1)); return; } } // System.Void UnityEngine.UI.InputField/<CaretBlink>c__Iterator3::Reset() extern Il2CppClass* NotSupportedException_t1374155497_il2cpp_TypeInfo_var; extern const uint32_t U3CCaretBlinkU3Ec__Iterator3_Reset_m3802097566_MetadataUsageId; extern "C" void U3CCaretBlinkU3Ec__Iterator3_Reset_m3802097566 (U3CCaretBlinkU3Ec__Iterator3_t2286509995 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (U3CCaretBlinkU3Ec__Iterator3_Reset_m3802097566_MetadataUsageId); s_Il2CppMethodIntialized = true; } { NotSupportedException_t1374155497 * L_0 = (NotSupportedException_t1374155497 *)il2cpp_codegen_object_new(NotSupportedException_t1374155497_il2cpp_TypeInfo_var); NotSupportedException__ctor_m149930845(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Void UnityEngine.UI.InputField/<MouseDragOutsideRect>c__Iterator4::.ctor() extern "C" void U3CMouseDragOutsideRectU3Ec__Iterator4__ctor_m1030435559 (U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Object UnityEngine.UI.InputField/<MouseDragOutsideRect>c__Iterator4::System.Collections.Generic.IEnumerator<object>.get_Current() extern "C" Il2CppObject * U3CMouseDragOutsideRectU3Ec__Iterator4_System_Collections_Generic_IEnumeratorU3CobjectU3E_get_Current_m265708309 (U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = __this->get_U24current_5(); return L_0; } } // System.Object UnityEngine.UI.InputField/<MouseDragOutsideRect>c__Iterator4::System.Collections.IEnumerator.get_Current() extern "C" Il2CppObject * U3CMouseDragOutsideRectU3Ec__Iterator4_System_Collections_IEnumerator_get_Current_m3574804649 (U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * __this, const MethodInfo* method) { { Il2CppObject * L_0 = __this->get_U24current_5(); return L_0; } } // System.Boolean UnityEngine.UI.InputField/<MouseDragOutsideRect>c__Iterator4::MoveNext() extern Il2CppClass* RectTransformUtility_t2895919825_il2cpp_TypeInfo_var; extern Il2CppClass* WaitForSeconds_t1291133240_il2cpp_TypeInfo_var; extern const uint32_t U3CMouseDragOutsideRectU3Ec__Iterator4_MoveNext_m656051503_MetadataUsageId; extern "C" bool U3CMouseDragOutsideRectU3Ec__Iterator4_MoveNext_m656051503 (U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (U3CMouseDragOutsideRectU3Ec__Iterator4_MoveNext_m656051503_MetadataUsageId); s_Il2CppMethodIntialized = true; } uint32_t V_0 = 0; bool V_1 = false; U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * G_B15_0 = NULL; U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * G_B14_0 = NULL; float G_B16_0 = 0.0f; U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * G_B16_1 = NULL; { int32_t L_0 = __this->get_U24PC_4(); V_0 = L_0; __this->set_U24PC_4((-1)); uint32_t L_1 = V_0; if (L_1 == 0) { goto IL_0021; } if (L_1 == 1) { goto IL_017f; } } { goto IL_01b2; } IL_0021: { goto IL_017f; } IL_0026: { InputField_t2345609593 * L_2 = __this->get_U3CU3Ef__this_7(); NullCheck(L_2); Text_t3286458198 * L_3 = InputField_get_textComponent_m2329519363(L_2, /*hidden argument*/NULL); NullCheck(L_3); RectTransform_t3317474837 * L_4 = Graphic_get_rectTransform_m4017371950(L_3, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_5 = __this->get_eventData_0(); NullCheck(L_5); Vector2_t3525329788 L_6 = PointerEventData_get_position_m2263123361(L_5, /*hidden argument*/NULL); PointerEventData_t3205101634 * L_7 = __this->get_eventData_0(); NullCheck(L_7); Camera_t3533968274 * L_8 = PointerEventData_get_pressEventCamera_m2764092724(L_7, /*hidden argument*/NULL); Vector2_t3525329788 * L_9 = __this->get_address_of_U3ClocalMousePosU3E__0_1(); IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2895919825_il2cpp_TypeInfo_var); RectTransformUtility_ScreenPointToLocalPointInRectangle_m666650172(NULL /*static, unused*/, L_4, L_6, L_8, L_9, /*hidden argument*/NULL); InputField_t2345609593 * L_10 = __this->get_U3CU3Ef__this_7(); NullCheck(L_10); Text_t3286458198 * L_11 = InputField_get_textComponent_m2329519363(L_10, /*hidden argument*/NULL); NullCheck(L_11); RectTransform_t3317474837 * L_12 = Graphic_get_rectTransform_m4017371950(L_11, /*hidden argument*/NULL); NullCheck(L_12); Rect_t1525428817 L_13 = RectTransform_get_rect_m1566017036(L_12, /*hidden argument*/NULL); __this->set_U3CrectU3E__1_2(L_13); InputField_t2345609593 * L_14 = __this->get_U3CU3Ef__this_7(); NullCheck(L_14); bool L_15 = InputField_get_multiLine_m2265790891(L_14, /*hidden argument*/NULL); if (!L_15) { goto IL_00dd; } } { Vector2_t3525329788 * L_16 = __this->get_address_of_U3ClocalMousePosU3E__0_1(); float L_17 = L_16->get_y_2(); Rect_t1525428817 * L_18 = __this->get_address_of_U3CrectU3E__1_2(); float L_19 = Rect_get_yMax_m399510395(L_18, /*hidden argument*/NULL); if ((!(((float)L_17) > ((float)L_19)))) { goto IL_00b0; } } { InputField_t2345609593 * L_20 = __this->get_U3CU3Ef__this_7(); NullCheck(L_20); InputField_MoveUp_m2694527889(L_20, (bool)1, (bool)1, /*hidden argument*/NULL); goto IL_00d8; } IL_00b0: { Vector2_t3525329788 * L_21 = __this->get_address_of_U3ClocalMousePosU3E__0_1(); float L_22 = L_21->get_y_2(); Rect_t1525428817 * L_23 = __this->get_address_of_U3CrectU3E__1_2(); float L_24 = Rect_get_yMin_m399739113(L_23, /*hidden argument*/NULL); if ((!(((float)L_22) < ((float)L_24)))) { goto IL_00d8; } } { InputField_t2345609593 * L_25 = __this->get_U3CU3Ef__this_7(); NullCheck(L_25); InputField_MoveDown_m3574910698(L_25, (bool)1, (bool)1, /*hidden argument*/NULL); } IL_00d8: { goto IL_0132; } IL_00dd: { Vector2_t3525329788 * L_26 = __this->get_address_of_U3ClocalMousePosU3E__0_1(); float L_27 = L_26->get_x_1(); Rect_t1525428817 * L_28 = __this->get_address_of_U3CrectU3E__1_2(); float L_29 = Rect_get_xMin_m371109962(L_28, /*hidden argument*/NULL); if ((!(((float)L_27) < ((float)L_29)))) { goto IL_010a; } } { InputField_t2345609593 * L_30 = __this->get_U3CU3Ef__this_7(); NullCheck(L_30); InputField_MoveLeft_m2120951525(L_30, (bool)1, (bool)0, /*hidden argument*/NULL); goto IL_0132; } IL_010a: { Vector2_t3525329788 * L_31 = __this->get_address_of_U3ClocalMousePosU3E__0_1(); float L_32 = L_31->get_x_1(); Rect_t1525428817 * L_33 = __this->get_address_of_U3CrectU3E__1_2(); float L_34 = Rect_get_xMax_m370881244(L_33, /*hidden argument*/NULL); if ((!(((float)L_32) > ((float)L_34)))) { goto IL_0132; } } { InputField_t2345609593 * L_35 = __this->get_U3CU3Ef__this_7(); NullCheck(L_35); InputField_MoveRight_m815186690(L_35, (bool)1, (bool)0, /*hidden argument*/NULL); } IL_0132: { InputField_t2345609593 * L_36 = __this->get_U3CU3Ef__this_7(); NullCheck(L_36); InputField_UpdateLabel_m4272237956(L_36, /*hidden argument*/NULL); InputField_t2345609593 * L_37 = __this->get_U3CU3Ef__this_7(); NullCheck(L_37); bool L_38 = InputField_get_multiLine_m2265790891(L_37, /*hidden argument*/NULL); G_B14_0 = __this; if (!L_38) { G_B15_0 = __this; goto IL_0158; } } { G_B16_0 = (0.1f); G_B16_1 = G_B14_0; goto IL_015d; } IL_0158: { G_B16_0 = (0.05f); G_B16_1 = G_B15_0; } IL_015d: { NullCheck(G_B16_1); G_B16_1->set_U3CdelayU3E__2_3(G_B16_0); float L_39 = __this->get_U3CdelayU3E__2_3(); WaitForSeconds_t1291133240 * L_40 = (WaitForSeconds_t1291133240 *)il2cpp_codegen_object_new(WaitForSeconds_t1291133240_il2cpp_TypeInfo_var); WaitForSeconds__ctor_m3184996201(L_40, L_39, /*hidden argument*/NULL); __this->set_U24current_5(L_40); __this->set_U24PC_4(1); goto IL_01b4; } IL_017f: { InputField_t2345609593 * L_41 = __this->get_U3CU3Ef__this_7(); NullCheck(L_41); bool L_42 = L_41->get_m_UpdateDrag_51(); if (!L_42) { goto IL_019f; } } { InputField_t2345609593 * L_43 = __this->get_U3CU3Ef__this_7(); NullCheck(L_43); bool L_44 = L_43->get_m_DragPositionOutOfBounds_52(); if (L_44) { goto IL_0026; } } IL_019f: { InputField_t2345609593 * L_45 = __this->get_U3CU3Ef__this_7(); NullCheck(L_45); L_45->set_m_DragCoroutine_58((Coroutine_t2246592261 *)NULL); __this->set_U24PC_4((-1)); } IL_01b2: { return (bool)0; } IL_01b4: { return (bool)1; } // Dead block : IL_01b6: ldloc.1 } // System.Void UnityEngine.UI.InputField/<MouseDragOutsideRect>c__Iterator4::Dispose() extern "C" void U3CMouseDragOutsideRectU3Ec__Iterator4_Dispose_m2304377188 (U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * __this, const MethodInfo* method) { { __this->set_U24PC_4((-1)); return; } } // System.Void UnityEngine.UI.InputField/<MouseDragOutsideRect>c__Iterator4::Reset() extern Il2CppClass* NotSupportedException_t1374155497_il2cpp_TypeInfo_var; extern const uint32_t U3CMouseDragOutsideRectU3Ec__Iterator4_Reset_m2971835796_MetadataUsageId; extern "C" void U3CMouseDragOutsideRectU3Ec__Iterator4_Reset_m2971835796 (U3CMouseDragOutsideRectU3Ec__Iterator4_t2254979509 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (U3CMouseDragOutsideRectU3Ec__Iterator4_Reset_m2971835796_MetadataUsageId); s_Il2CppMethodIntialized = true; } { NotSupportedException_t1374155497 * L_0 = (NotSupportedException_t1374155497 *)il2cpp_codegen_object_new(NotSupportedException_t1374155497_il2cpp_TypeInfo_var); NotSupportedException__ctor_m149930845(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Void UnityEngine.UI.InputField/OnChangeEvent::.ctor() extern const MethodInfo* UnityEvent_1__ctor_m3402965986_MethodInfo_var; extern const uint32_t OnChangeEvent__ctor_m1829440895_MetadataUsageId; extern "C" void OnChangeEvent__ctor_m1829440895 (OnChangeEvent_t3894605131 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (OnChangeEvent__ctor_m1829440895_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UnityEvent_1__ctor_m3402965986(__this, /*hidden argument*/UnityEvent_1__ctor_m3402965986_MethodInfo_var); return; } } // System.Void UnityEngine.UI.InputField/OnValidateInput::.ctor(System.Object,System.IntPtr) extern "C" void OnValidateInput__ctor_m318825293 (OnValidateInput_t3303221397 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method) { __this->set_method_ptr_0((Il2CppMethodPointer)((MethodInfo*)___method1.get_m_value_0())->method); __this->set_method_3(___method1); __this->set_m_target_2(___object0); } // System.Char UnityEngine.UI.InputField/OnValidateInput::Invoke(System.String,System.Int32,System.Char) extern "C" uint16_t OnValidateInput_Invoke_m1377115157 (OnValidateInput_t3303221397 * __this, String_t* ___text0, int32_t ___charIndex1, uint16_t ___addedChar2, const MethodInfo* method) { if(__this->get_prev_9() != NULL) { OnValidateInput_Invoke_m1377115157((OnValidateInput_t3303221397 *)__this->get_prev_9(),___text0, ___charIndex1, ___addedChar2, method); } il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found((MethodInfo*)(__this->get_method_3().get_m_value_0())); bool ___methodIsStatic = MethodIsStatic((MethodInfo*)(__this->get_method_3().get_m_value_0())); if (__this->get_m_target_2() != NULL && ___methodIsStatic) { typedef uint16_t (*FunctionPointerType) (Il2CppObject *, void* __this, String_t* ___text0, int32_t ___charIndex1, uint16_t ___addedChar2, const MethodInfo* method); return ((FunctionPointerType)__this->get_method_ptr_0())(NULL,il2cpp_codegen_get_delegate_this(__this),___text0, ___charIndex1, ___addedChar2,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } else if (__this->get_m_target_2() != NULL || ___methodIsStatic) { typedef uint16_t (*FunctionPointerType) (void* __this, String_t* ___text0, int32_t ___charIndex1, uint16_t ___addedChar2, const MethodInfo* method); return ((FunctionPointerType)__this->get_method_ptr_0())(il2cpp_codegen_get_delegate_this(__this),___text0, ___charIndex1, ___addedChar2,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } else { typedef uint16_t (*FunctionPointerType) (void* __this, int32_t ___charIndex1, uint16_t ___addedChar2, const MethodInfo* method); return ((FunctionPointerType)__this->get_method_ptr_0())(___text0, ___charIndex1, ___addedChar2,(MethodInfo*)(__this->get_method_3().get_m_value_0())); } } extern "C" uint16_t pinvoke_delegate_wrapper_OnValidateInput_t3303221397(Il2CppObject* delegate, String_t* ___text0, int32_t ___charIndex1, uint16_t ___addedChar2) { typedef char (STDCALL *native_function_ptr_type)(char*, int32_t, char); native_function_ptr_type _il2cpp_pinvoke_func = ((native_function_ptr_type)((Il2CppDelegate*)delegate)->method->method); // Marshaling of parameter '___text0' to native representation char* ____text0_marshaled = NULL; ____text0_marshaled = il2cpp_codegen_marshal_string(___text0); // Marshaling of parameter '___charIndex1' to native representation // Marshaling of parameter '___addedChar2' to native representation // Native function invocation and marshaling of return value back from native representation char _return_value = _il2cpp_pinvoke_func(____text0_marshaled, ___charIndex1, static_cast<uint8_t>(___addedChar2)); uint16_t __return_value_unmarshaled = static_cast<uint16_t>(static_cast<uint8_t>(_return_value)); // Marshaling cleanup of parameter '___text0' native representation il2cpp_codegen_marshal_free(____text0_marshaled); ____text0_marshaled = NULL; // Marshaling cleanup of parameter '___charIndex1' native representation // Marshaling cleanup of parameter '___addedChar2' native representation return __return_value_unmarshaled; } // System.IAsyncResult UnityEngine.UI.InputField/OnValidateInput::BeginInvoke(System.String,System.Int32,System.Char,System.AsyncCallback,System.Object) extern Il2CppClass* Int32_t2847414787_il2cpp_TypeInfo_var; extern Il2CppClass* Char_t2778706699_il2cpp_TypeInfo_var; extern const uint32_t OnValidateInput_BeginInvoke_m2130883566_MetadataUsageId; extern "C" Il2CppObject * OnValidateInput_BeginInvoke_m2130883566 (OnValidateInput_t3303221397 * __this, String_t* ___text0, int32_t ___charIndex1, uint16_t ___addedChar2, AsyncCallback_t1363551830 * ___callback3, Il2CppObject * ___object4, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (OnValidateInput_BeginInvoke_m2130883566_MetadataUsageId); s_Il2CppMethodIntialized = true; } void *__d_args[4] = {0}; __d_args[0] = ___text0; __d_args[1] = Box(Int32_t2847414787_il2cpp_TypeInfo_var, &___charIndex1); __d_args[2] = Box(Char_t2778706699_il2cpp_TypeInfo_var, &___addedChar2); return (Il2CppObject *)il2cpp_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback3, (Il2CppObject*)___object4); } // System.Char UnityEngine.UI.InputField/OnValidateInput::EndInvoke(System.IAsyncResult) extern "C" uint16_t OnValidateInput_EndInvoke_m1254779679 (OnValidateInput_t3303221397 * __this, Il2CppObject * ___result0, const MethodInfo* method) { Il2CppObject *__result = il2cpp_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0); return *(uint16_t*)UnBox ((Il2CppCodeGenObject*)__result); } // System.Void UnityEngine.UI.InputField/SubmitEvent::.ctor() extern const MethodInfo* UnityEvent_1__ctor_m3402965986_MethodInfo_var; extern const uint32_t SubmitEvent__ctor_m3123354920_MetadataUsageId; extern "C" void SubmitEvent__ctor_m3123354920 (SubmitEvent_t1697462594 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (SubmitEvent__ctor_m3123354920_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UnityEvent_1__ctor_m3402965986(__this, /*hidden argument*/UnityEvent_1__ctor_m3402965986_MethodInfo_var); return; } } // System.Void UnityEngine.UI.LayoutElement::.ctor() extern "C" void LayoutElement__ctor_m1101568265 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { __this->set_m_MinWidth_3((-1.0f)); __this->set_m_MinHeight_4((-1.0f)); __this->set_m_PreferredWidth_5((-1.0f)); __this->set_m_PreferredHeight_6((-1.0f)); __this->set_m_FlexibleWidth_7((-1.0f)); __this->set_m_FlexibleHeight_8((-1.0f)); UIBehaviour__ctor_m1261553468(__this, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.UI.LayoutElement::get_ignoreLayout() extern "C" bool LayoutElement_get_ignoreLayout_m3020545774 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_IgnoreLayout_2(); return L_0; } } // System.Void UnityEngine.UI.LayoutElement::set_ignoreLayout(System.Boolean) extern const MethodInfo* SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768_MethodInfo_var; extern const uint32_t LayoutElement_set_ignoreLayout_m31533195_MetadataUsageId; extern "C" void LayoutElement_set_ignoreLayout_m31533195 (LayoutElement_t2655817307 * __this, bool ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutElement_set_ignoreLayout_m31533195_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool* L_0 = __this->get_address_of_m_IgnoreLayout_2(); bool L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisBoolean_t211005341_m1242031768_MethodInfo_var); if (!L_2) { goto IL_0017; } } { LayoutElement_SetDirty_m1279144619(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // System.Void UnityEngine.UI.LayoutElement::CalculateLayoutInputHorizontal() extern "C" void LayoutElement_CalculateLayoutInputHorizontal_m3047948889 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.UI.LayoutElement::CalculateLayoutInputVertical() extern "C" void LayoutElement_CalculateLayoutInputVertical_m809913899 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { return; } } // System.Single UnityEngine.UI.LayoutElement::get_minWidth() extern "C" float LayoutElement_get_minWidth_m3361650980 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_MinWidth_3(); return L_0; } } // System.Void UnityEngine.UI.LayoutElement::set_minWidth(System.Single) extern const MethodInfo* SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var; extern const uint32_t LayoutElement_set_minWidth_m2427874975_MetadataUsageId; extern "C" void LayoutElement_set_minWidth_m2427874975 (LayoutElement_t2655817307 * __this, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutElement_set_minWidth_m2427874975_MetadataUsageId); s_Il2CppMethodIntialized = true; } { float* L_0 = __this->get_address_of_m_MinWidth_3(); float L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var); if (!L_2) { goto IL_0017; } } { LayoutElement_SetDirty_m1279144619(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // System.Single UnityEngine.UI.LayoutElement::get_minHeight() extern "C" float LayoutElement_get_minHeight_m1635779627 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_MinHeight_4(); return L_0; } } // System.Void UnityEngine.UI.LayoutElement::set_minHeight(System.Single) extern const MethodInfo* SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var; extern const uint32_t LayoutElement_set_minHeight_m400728776_MetadataUsageId; extern "C" void LayoutElement_set_minHeight_m400728776 (LayoutElement_t2655817307 * __this, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutElement_set_minHeight_m400728776_MetadataUsageId); s_Il2CppMethodIntialized = true; } { float* L_0 = __this->get_address_of_m_MinHeight_4(); float L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var); if (!L_2) { goto IL_0017; } } { LayoutElement_SetDirty_m1279144619(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // System.Single UnityEngine.UI.LayoutElement::get_preferredWidth() extern "C" float LayoutElement_get_preferredWidth_m616720597 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_PreferredWidth_5(); return L_0; } } // System.Void UnityEngine.UI.LayoutElement::set_preferredWidth(System.Single) extern const MethodInfo* SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var; extern const uint32_t LayoutElement_set_preferredWidth_m1262908558_MetadataUsageId; extern "C" void LayoutElement_set_preferredWidth_m1262908558 (LayoutElement_t2655817307 * __this, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutElement_set_preferredWidth_m1262908558_MetadataUsageId); s_Il2CppMethodIntialized = true; } { float* L_0 = __this->get_address_of_m_PreferredWidth_5(); float L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var); if (!L_2) { goto IL_0017; } } { LayoutElement_SetDirty_m1279144619(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // System.Single UnityEngine.UI.LayoutElement::get_preferredHeight() extern "C" float LayoutElement_get_preferredHeight_m2442283674 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_PreferredHeight_6(); return L_0; } } // System.Void UnityEngine.UI.LayoutElement::set_preferredHeight(System.Single) extern const MethodInfo* SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var; extern const uint32_t LayoutElement_set_preferredHeight_m2941475513_MetadataUsageId; extern "C" void LayoutElement_set_preferredHeight_m2941475513 (LayoutElement_t2655817307 * __this, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutElement_set_preferredHeight_m2941475513_MetadataUsageId); s_Il2CppMethodIntialized = true; } { float* L_0 = __this->get_address_of_m_PreferredHeight_6(); float L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var); if (!L_2) { goto IL_0017; } } { LayoutElement_SetDirty_m1279144619(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // System.Single UnityEngine.UI.LayoutElement::get_flexibleWidth() extern "C" float LayoutElement_get_flexibleWidth_m3810035149 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_FlexibleWidth_7(); return L_0; } } // System.Void UnityEngine.UI.LayoutElement::set_flexibleWidth(System.Single) extern const MethodInfo* SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var; extern const uint32_t LayoutElement_set_flexibleWidth_m2155570278_MetadataUsageId; extern "C" void LayoutElement_set_flexibleWidth_m2155570278 (LayoutElement_t2655817307 * __this, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutElement_set_flexibleWidth_m2155570278_MetadataUsageId); s_Il2CppMethodIntialized = true; } { float* L_0 = __this->get_address_of_m_FlexibleWidth_7(); float L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var); if (!L_2) { goto IL_0017; } } { LayoutElement_SetDirty_m1279144619(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // System.Single UnityEngine.UI.LayoutElement::get_flexibleHeight() extern "C" float LayoutElement_get_flexibleHeight_m2650786978 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { float L_0 = __this->get_m_FlexibleHeight_8(); return L_0; } } // System.Void UnityEngine.UI.LayoutElement::set_flexibleHeight(System.Single) extern const MethodInfo* SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var; extern const uint32_t LayoutElement_set_flexibleHeight_m549217761_MetadataUsageId; extern "C" void LayoutElement_set_flexibleHeight_m549217761 (LayoutElement_t2655817307 * __this, float ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutElement_set_flexibleHeight_m549217761_MetadataUsageId); s_Il2CppMethodIntialized = true; } { float* L_0 = __this->get_address_of_m_FlexibleHeight_8(); float L_1 = ___value0; bool L_2 = SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisSingle_t958209021_m1643007650_MethodInfo_var); if (!L_2) { goto IL_0017; } } { LayoutElement_SetDirty_m1279144619(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // System.Int32 UnityEngine.UI.LayoutElement::get_layoutPriority() extern "C" int32_t LayoutElement_get_layoutPriority_m2626166170 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { return 1; } } // System.Void UnityEngine.UI.LayoutElement::OnEnable() extern "C" void LayoutElement_OnEnable_m1046652381 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { UIBehaviour_OnEnable_m4047103690(__this, /*hidden argument*/NULL); LayoutElement_SetDirty_m1279144619(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutElement::OnTransformParentChanged() extern "C" void LayoutElement_OnTransformParentChanged_m4077176376 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { LayoutElement_SetDirty_m1279144619(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutElement::OnDisable() extern "C" void LayoutElement_OnDisable_m2822390000 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { LayoutElement_SetDirty_m1279144619(__this, /*hidden argument*/NULL); UIBehaviour_OnDisable_m1347100067(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutElement::OnDidApplyAnimationProperties() extern "C" void LayoutElement_OnDidApplyAnimationProperties_m614601136 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { LayoutElement_SetDirty_m1279144619(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutElement::OnBeforeTransformParentChanged() extern "C" void LayoutElement_OnBeforeTransformParentChanged_m253470231 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { { LayoutElement_SetDirty_m1279144619(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutElement::SetDirty() extern Il2CppClass* RectTransform_t3317474837_il2cpp_TypeInfo_var; extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const uint32_t LayoutElement_SetDirty_m1279144619_MetadataUsageId; extern "C" void LayoutElement_SetDirty_m1279144619 (LayoutElement_t2655817307 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutElement_SetDirty_m1279144619_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (L_0) { goto IL_000c; } } { return; } IL_000c: { Transform_t284553113 * L_1 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_MarkLayoutForRebuild_m901621521(NULL /*static, unused*/, ((RectTransform_t3317474837 *)IsInstSealed(L_1, RectTransform_t3317474837_il2cpp_TypeInfo_var)), /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutGroup::.ctor() extern Il2CppClass* RectOffset_t3394170884_il2cpp_TypeInfo_var; extern Il2CppClass* List_1_t4114433806_il2cpp_TypeInfo_var; extern const MethodInfo* List_1__ctor_m129982733_MethodInfo_var; extern const uint32_t LayoutGroup__ctor_m1400544614_MetadataUsageId; extern "C" void LayoutGroup__ctor_m1400544614 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutGroup__ctor_m1400544614_MetadataUsageId); s_Il2CppMethodIntialized = true; } { RectOffset_t3394170884 * L_0 = (RectOffset_t3394170884 *)il2cpp_codegen_object_new(RectOffset_t3394170884_il2cpp_TypeInfo_var); RectOffset__ctor_m2395783478(L_0, /*hidden argument*/NULL); __this->set_m_Padding_2(L_0); Vector2_t3525329788 L_1 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_m_TotalMinSize_6(L_1); Vector2_t3525329788 L_2 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_m_TotalPreferredSize_7(L_2); Vector2_t3525329788 L_3 = Vector2_get_zero_m199872368(NULL /*static, unused*/, /*hidden argument*/NULL); __this->set_m_TotalFlexibleSize_8(L_3); List_1_t4114433806 * L_4 = (List_1_t4114433806 *)il2cpp_codegen_object_new(List_1_t4114433806_il2cpp_TypeInfo_var); List_1__ctor_m129982733(L_4, /*hidden argument*/List_1__ctor_m129982733_MethodInfo_var); __this->set_m_RectChildren_9(L_4); UIBehaviour__ctor_m1261553468(__this, /*hidden argument*/NULL); RectOffset_t3394170884 * L_5 = __this->get_m_Padding_2(); if (L_5) { goto IL_0053; } } { RectOffset_t3394170884 * L_6 = (RectOffset_t3394170884 *)il2cpp_codegen_object_new(RectOffset_t3394170884_il2cpp_TypeInfo_var); RectOffset__ctor_m2395783478(L_6, /*hidden argument*/NULL); __this->set_m_Padding_2(L_6); } IL_0053: { return; } } // UnityEngine.RectOffset UnityEngine.UI.LayoutGroup::get_padding() extern "C" RectOffset_t3394170884 * LayoutGroup_get_padding_m3073855587 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { RectOffset_t3394170884 * L_0 = __this->get_m_Padding_2(); return L_0; } } // System.Void UnityEngine.UI.LayoutGroup::set_padding(UnityEngine.RectOffset) extern const MethodInfo* LayoutGroup_SetProperty_TisRectOffset_t3394170884_m3131010005_MethodInfo_var; extern const uint32_t LayoutGroup_set_padding_m1597085962_MetadataUsageId; extern "C" void LayoutGroup_set_padding_m1597085962 (LayoutGroup_t2646131550 * __this, RectOffset_t3394170884 * ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutGroup_set_padding_m1597085962_MetadataUsageId); s_Il2CppMethodIntialized = true; } { RectOffset_t3394170884 ** L_0 = __this->get_address_of_m_Padding_2(); RectOffset_t3394170884 * L_1 = ___value0; LayoutGroup_SetProperty_TisRectOffset_t3394170884_m3131010005(__this, L_0, L_1, /*hidden argument*/LayoutGroup_SetProperty_TisRectOffset_t3394170884_m3131010005_MethodInfo_var); return; } } // UnityEngine.TextAnchor UnityEngine.UI.LayoutGroup::get_childAlignment() extern "C" int32_t LayoutGroup_get_childAlignment_m357689196 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_ChildAlignment_3(); return L_0; } } // System.Void UnityEngine.UI.LayoutGroup::set_childAlignment(UnityEngine.TextAnchor) extern const MethodInfo* LayoutGroup_SetProperty_TisTextAnchor_t551935663_m3585160266_MethodInfo_var; extern const uint32_t LayoutGroup_set_childAlignment_m2559376521_MetadataUsageId; extern "C" void LayoutGroup_set_childAlignment_m2559376521 (LayoutGroup_t2646131550 * __this, int32_t ___value0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutGroup_set_childAlignment_m2559376521_MetadataUsageId); s_Il2CppMethodIntialized = true; } { int32_t* L_0 = __this->get_address_of_m_ChildAlignment_3(); int32_t L_1 = ___value0; LayoutGroup_SetProperty_TisTextAnchor_t551935663_m3585160266(__this, L_0, L_1, /*hidden argument*/LayoutGroup_SetProperty_TisTextAnchor_t551935663_m3585160266_MethodInfo_var); return; } } // UnityEngine.RectTransform UnityEngine.UI.LayoutGroup::get_rectTransform() extern const MethodInfo* Component_GetComponent_TisRectTransform_t3317474837_m1940403147_MethodInfo_var; extern const uint32_t LayoutGroup_get_rectTransform_m331638721_MetadataUsageId; extern "C" RectTransform_t3317474837 * LayoutGroup_get_rectTransform_m331638721 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutGroup_get_rectTransform_m331638721_MetadataUsageId); s_Il2CppMethodIntialized = true; } { RectTransform_t3317474837 * L_0 = __this->get_m_Rect_4(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_001d; } } { RectTransform_t3317474837 * L_2 = Component_GetComponent_TisRectTransform_t3317474837_m1940403147(__this, /*hidden argument*/Component_GetComponent_TisRectTransform_t3317474837_m1940403147_MethodInfo_var); __this->set_m_Rect_4(L_2); } IL_001d: { RectTransform_t3317474837 * L_3 = __this->get_m_Rect_4(); return L_3; } } // System.Collections.Generic.List`1<UnityEngine.RectTransform> UnityEngine.UI.LayoutGroup::get_rectChildren() extern "C" List_1_t4114433806 * LayoutGroup_get_rectChildren_m2856991542 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { List_1_t4114433806 * L_0 = __this->get_m_RectChildren_9(); return L_0; } } // System.Void UnityEngine.UI.LayoutGroup::CalculateLayoutInputHorizontal() extern const Il2CppType* ILayoutIgnorer_t3525028502_0_0_0_var; extern Il2CppClass* ListPool_1_t1740961763_il2cpp_TypeInfo_var; extern Il2CppClass* RectTransform_t3317474837_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* ILayoutIgnorer_t3525028502_il2cpp_TypeInfo_var; extern const MethodInfo* ListPool_1_Get_m2014868279_MethodInfo_var; extern const MethodInfo* ListPool_1_Release_m2849004751_MethodInfo_var; extern const uint32_t LayoutGroup_CalculateLayoutInputHorizontal_m89763996_MetadataUsageId; extern "C" void LayoutGroup_CalculateLayoutInputHorizontal_m89763996 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutGroup_CalculateLayoutInputHorizontal_m89763996_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t2923905571 * V_0 = NULL; int32_t V_1 = 0; RectTransform_t3317474837 * V_2 = NULL; int32_t V_3 = 0; Il2CppObject * V_4 = NULL; { List_1_t4114433806 * L_0 = __this->get_m_RectChildren_9(); NullCheck(L_0); VirtActionInvoker0::Invoke(23 /* System.Void System.Collections.Generic.List`1<UnityEngine.RectTransform>::Clear() */, L_0); IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); List_1_t2923905571 * L_1 = ListPool_1_Get_m2014868279(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2014868279_MethodInfo_var); V_0 = L_1; V_1 = 0; goto IL_00be; } IL_0018: { RectTransform_t3317474837 * L_2 = LayoutGroup_get_rectTransform_m331638721(__this, /*hidden argument*/NULL); int32_t L_3 = V_1; NullCheck(L_2); Transform_t284553113 * L_4 = Transform_GetChild_m4040462992(L_2, L_3, /*hidden argument*/NULL); V_2 = ((RectTransform_t3317474837 *)IsInstSealed(L_4, RectTransform_t3317474837_il2cpp_TypeInfo_var)); RectTransform_t3317474837 * L_5 = V_2; bool L_6 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_5, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_6) { goto IL_0046; } } { RectTransform_t3317474837 * L_7 = V_2; NullCheck(L_7); GameObject_t4012695102 * L_8 = Component_get_gameObject_m1170635899(L_7, /*hidden argument*/NULL); NullCheck(L_8); bool L_9 = GameObject_get_activeInHierarchy_m612450965(L_8, /*hidden argument*/NULL); if (L_9) { goto IL_004b; } } IL_0046: { goto IL_00ba; } IL_004b: { RectTransform_t3317474837 * L_10 = V_2; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_11 = Type_GetTypeFromHandle_m3806905434(NULL /*static, unused*/, LoadTypeToken(ILayoutIgnorer_t3525028502_0_0_0_var), /*hidden argument*/NULL); List_1_t2923905571 * L_12 = V_0; NullCheck(L_10); Component_GetComponents_m3426812285(L_10, L_11, L_12, /*hidden argument*/NULL); List_1_t2923905571 * L_13 = V_0; NullCheck(L_13); int32_t L_14 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_13); if (L_14) { goto IL_0078; } } { List_1_t4114433806 * L_15 = __this->get_m_RectChildren_9(); RectTransform_t3317474837 * L_16 = V_2; NullCheck(L_15); VirtActionInvoker1< RectTransform_t3317474837 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.RectTransform>::Add(!0) */, L_15, L_16); goto IL_00ba; } IL_0078: { V_3 = 0; goto IL_00ae; } IL_007f: { List_1_t2923905571 * L_17 = V_0; int32_t L_18 = V_3; NullCheck(L_17); Component_t2126946602 * L_19 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_17, L_18); V_4 = ((Il2CppObject *)Castclass(L_19, ILayoutIgnorer_t3525028502_il2cpp_TypeInfo_var)); Il2CppObject * L_20 = V_4; NullCheck(L_20); bool L_21 = InterfaceFuncInvoker0< bool >::Invoke(0 /* System.Boolean UnityEngine.UI.ILayoutIgnorer::get_ignoreLayout() */, ILayoutIgnorer_t3525028502_il2cpp_TypeInfo_var, L_20); if (L_21) { goto IL_00aa; } } { List_1_t4114433806 * L_22 = __this->get_m_RectChildren_9(); RectTransform_t3317474837 * L_23 = V_2; NullCheck(L_22); VirtActionInvoker1< RectTransform_t3317474837 * >::Invoke(22 /* System.Void System.Collections.Generic.List`1<UnityEngine.RectTransform>::Add(!0) */, L_22, L_23); goto IL_00ba; } IL_00aa: { int32_t L_24 = V_3; V_3 = ((int32_t)((int32_t)L_24+(int32_t)1)); } IL_00ae: { int32_t L_25 = V_3; List_1_t2923905571 * L_26 = V_0; NullCheck(L_26); int32_t L_27 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_26); if ((((int32_t)L_25) < ((int32_t)L_27))) { goto IL_007f; } } IL_00ba: { int32_t L_28 = V_1; V_1 = ((int32_t)((int32_t)L_28+(int32_t)1)); } IL_00be: { int32_t L_29 = V_1; RectTransform_t3317474837 * L_30 = LayoutGroup_get_rectTransform_m331638721(__this, /*hidden argument*/NULL); NullCheck(L_30); int32_t L_31 = Transform_get_childCount_m2107810675(L_30, /*hidden argument*/NULL); if ((((int32_t)L_29) < ((int32_t)L_31))) { goto IL_0018; } } { List_1_t2923905571 * L_32 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); ListPool_1_Release_m2849004751(NULL /*static, unused*/, L_32, /*hidden argument*/ListPool_1_Release_m2849004751_MethodInfo_var); DrivenRectTransformTracker_t3675273953 * L_33 = __this->get_address_of_m_Tracker_5(); DrivenRectTransformTracker_Clear_m309315364(L_33, /*hidden argument*/NULL); return; } } // System.Single UnityEngine.UI.LayoutGroup::get_minWidth() extern "C" float LayoutGroup_get_minWidth_m1427346727 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { float L_0 = LayoutGroup_GetTotalMinSize_m3187537614(__this, 0, /*hidden argument*/NULL); return L_0; } } // System.Single UnityEngine.UI.LayoutGroup::get_preferredWidth() extern "C" float LayoutGroup_get_preferredWidth_m3558143640 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { float L_0 = LayoutGroup_GetTotalPreferredSize_m2664141949(__this, 0, /*hidden argument*/NULL); return L_0; } } // System.Single UnityEngine.UI.LayoutGroup::get_flexibleWidth() extern "C" float LayoutGroup_get_flexibleWidth_m2519446442 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { float L_0 = LayoutGroup_GetTotalFlexibleSize_m2703956501(__this, 0, /*hidden argument*/NULL); return L_0; } } // System.Single UnityEngine.UI.LayoutGroup::get_minHeight() extern "C" float LayoutGroup_get_minHeight_m1801889928 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { float L_0 = LayoutGroup_GetTotalMinSize_m3187537614(__this, 1, /*hidden argument*/NULL); return L_0; } } // System.Single UnityEngine.UI.LayoutGroup::get_preferredHeight() extern "C" float LayoutGroup_get_preferredHeight_m3432084791 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { float L_0 = LayoutGroup_GetTotalPreferredSize_m2664141949(__this, 1, /*hidden argument*/NULL); return L_0; } } // System.Single UnityEngine.UI.LayoutGroup::get_flexibleHeight() extern "C" float LayoutGroup_get_flexibleHeight_m1297242725 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { float L_0 = LayoutGroup_GetTotalFlexibleSize_m2703956501(__this, 1, /*hidden argument*/NULL); return L_0; } } // System.Int32 UnityEngine.UI.LayoutGroup::get_layoutPriority() extern "C" int32_t LayoutGroup_get_layoutPriority_m3819074141 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { return 0; } } // System.Void UnityEngine.UI.LayoutGroup::OnEnable() extern "C" void LayoutGroup_OnEnable_m88893536 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { UIBehaviour_OnEnable_m4047103690(__this, /*hidden argument*/NULL); LayoutGroup_SetDirty_m321385774(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutGroup::OnDisable() extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const uint32_t LayoutGroup_OnDisable_m3196636877_MetadataUsageId; extern "C" void LayoutGroup_OnDisable_m3196636877 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutGroup_OnDisable_m3196636877_MetadataUsageId); s_Il2CppMethodIntialized = true; } { DrivenRectTransformTracker_t3675273953 * L_0 = __this->get_address_of_m_Tracker_5(); DrivenRectTransformTracker_Clear_m309315364(L_0, /*hidden argument*/NULL); RectTransform_t3317474837 * L_1 = LayoutGroup_get_rectTransform_m331638721(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_MarkLayoutForRebuild_m901621521(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); UIBehaviour_OnDisable_m1347100067(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutGroup::OnDidApplyAnimationProperties() extern "C" void LayoutGroup_OnDidApplyAnimationProperties_m657723149 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { LayoutGroup_SetDirty_m321385774(__this, /*hidden argument*/NULL); return; } } // System.Single UnityEngine.UI.LayoutGroup::GetTotalMinSize(System.Int32) extern "C" float LayoutGroup_GetTotalMinSize_m3187537614 (LayoutGroup_t2646131550 * __this, int32_t ___axis0, const MethodInfo* method) { { Vector2_t3525329788 * L_0 = __this->get_address_of_m_TotalMinSize_6(); int32_t L_1 = ___axis0; float L_2 = Vector2_get_Item_m2185542843(L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Single UnityEngine.UI.LayoutGroup::GetTotalPreferredSize(System.Int32) extern "C" float LayoutGroup_GetTotalPreferredSize_m2664141949 (LayoutGroup_t2646131550 * __this, int32_t ___axis0, const MethodInfo* method) { { Vector2_t3525329788 * L_0 = __this->get_address_of_m_TotalPreferredSize_7(); int32_t L_1 = ___axis0; float L_2 = Vector2_get_Item_m2185542843(L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Single UnityEngine.UI.LayoutGroup::GetTotalFlexibleSize(System.Int32) extern "C" float LayoutGroup_GetTotalFlexibleSize_m2703956501 (LayoutGroup_t2646131550 * __this, int32_t ___axis0, const MethodInfo* method) { { Vector2_t3525329788 * L_0 = __this->get_address_of_m_TotalFlexibleSize_8(); int32_t L_1 = ___axis0; float L_2 = Vector2_get_Item_m2185542843(L_0, L_1, /*hidden argument*/NULL); return L_2; } } // System.Single UnityEngine.UI.LayoutGroup::GetStartOffset(System.Int32,System.Single) extern "C" float LayoutGroup_GetStartOffset_m3060950207 (LayoutGroup_t2646131550 * __this, int32_t ___axis0, float ___requiredSpaceWithoutPadding1, const MethodInfo* method) { float V_0 = 0.0f; float V_1 = 0.0f; float V_2 = 0.0f; float V_3 = 0.0f; Rect_t1525428817 V_4; memset(&V_4, 0, sizeof(V_4)); Vector2_t3525329788 V_5; memset(&V_5, 0, sizeof(V_5)); float G_B2_0 = 0.0f; float G_B1_0 = 0.0f; int32_t G_B3_0 = 0; float G_B3_1 = 0.0f; int32_t G_B9_0 = 0; { float L_0 = ___requiredSpaceWithoutPadding1; int32_t L_1 = ___axis0; G_B1_0 = L_0; if (L_1) { G_B2_0 = L_0; goto IL_0017; } } { RectOffset_t3394170884 * L_2 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_2); int32_t L_3 = RectOffset_get_horizontal_m1186440923(L_2, /*hidden argument*/NULL); G_B3_0 = L_3; G_B3_1 = G_B1_0; goto IL_0022; } IL_0017: { RectOffset_t3394170884 * L_4 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_4); int32_t L_5 = RectOffset_get_vertical_m3650431789(L_4, /*hidden argument*/NULL); G_B3_0 = L_5; G_B3_1 = G_B2_0; } IL_0022: { V_0 = ((float)((float)G_B3_1+(float)(((float)((float)G_B3_0))))); RectTransform_t3317474837 * L_6 = LayoutGroup_get_rectTransform_m331638721(__this, /*hidden argument*/NULL); NullCheck(L_6); Rect_t1525428817 L_7 = RectTransform_get_rect_m1566017036(L_6, /*hidden argument*/NULL); V_4 = L_7; Vector2_t3525329788 L_8 = Rect_get_size_m136480416((&V_4), /*hidden argument*/NULL); V_5 = L_8; int32_t L_9 = ___axis0; float L_10 = Vector2_get_Item_m2185542843((&V_5), L_9, /*hidden argument*/NULL); V_1 = L_10; float L_11 = V_1; float L_12 = V_0; V_2 = ((float)((float)L_11-(float)L_12)); V_3 = (0.0f); int32_t L_13 = ___axis0; if (L_13) { goto IL_0069; } } { int32_t L_14 = LayoutGroup_get_childAlignment_m357689196(__this, /*hidden argument*/NULL); V_3 = ((float)((float)(((float)((float)((int32_t)((int32_t)L_14%(int32_t)3)))))*(float)(0.5f))); goto IL_0079; } IL_0069: { int32_t L_15 = LayoutGroup_get_childAlignment_m357689196(__this, /*hidden argument*/NULL); V_3 = ((float)((float)(((float)((float)((int32_t)((int32_t)L_15/(int32_t)3)))))*(float)(0.5f))); } IL_0079: { int32_t L_16 = ___axis0; if (L_16) { goto IL_008f; } } { RectOffset_t3394170884 * L_17 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_17); int32_t L_18 = RectOffset_get_left_m4104523390(L_17, /*hidden argument*/NULL); G_B9_0 = L_18; goto IL_009a; } IL_008f: { RectOffset_t3394170884 * L_19 = LayoutGroup_get_padding_m3073855587(__this, /*hidden argument*/NULL); NullCheck(L_19); int32_t L_20 = RectOffset_get_top_m140097312(L_19, /*hidden argument*/NULL); G_B9_0 = L_20; } IL_009a: { float L_21 = V_2; float L_22 = V_3; return ((float)((float)(((float)((float)G_B9_0)))+(float)((float)((float)L_21*(float)L_22)))); } } // System.Void UnityEngine.UI.LayoutGroup::SetLayoutInputForAxis(System.Single,System.Single,System.Single,System.Int32) extern "C" void LayoutGroup_SetLayoutInputForAxis_m396008818 (LayoutGroup_t2646131550 * __this, float ___totalMin0, float ___totalPreferred1, float ___totalFlexible2, int32_t ___axis3, const MethodInfo* method) { { Vector2_t3525329788 * L_0 = __this->get_address_of_m_TotalMinSize_6(); int32_t L_1 = ___axis3; float L_2 = ___totalMin0; Vector2_set_Item_m2767519328(L_0, L_1, L_2, /*hidden argument*/NULL); Vector2_t3525329788 * L_3 = __this->get_address_of_m_TotalPreferredSize_7(); int32_t L_4 = ___axis3; float L_5 = ___totalPreferred1; Vector2_set_Item_m2767519328(L_3, L_4, L_5, /*hidden argument*/NULL); Vector2_t3525329788 * L_6 = __this->get_address_of_m_TotalFlexibleSize_8(); int32_t L_7 = ___axis3; float L_8 = ___totalFlexible2; Vector2_set_Item_m2767519328(L_6, L_7, L_8, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutGroup::SetChildAlongAxis(UnityEngine.RectTransform,System.Int32,System.Single,System.Single) extern "C" void LayoutGroup_SetChildAlongAxis_m4214960168 (LayoutGroup_t2646131550 * __this, RectTransform_t3317474837 * ___rect0, int32_t ___axis1, float ___pos2, float ___size3, const MethodInfo* method) { RectTransform_t3317474837 * G_B4_0 = NULL; RectTransform_t3317474837 * G_B3_0 = NULL; int32_t G_B5_0 = 0; RectTransform_t3317474837 * G_B5_1 = NULL; { RectTransform_t3317474837 * L_0 = ___rect0; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_000d; } } { return; } IL_000d: { DrivenRectTransformTracker_t3675273953 * L_2 = __this->get_address_of_m_Tracker_5(); RectTransform_t3317474837 * L_3 = ___rect0; DrivenRectTransformTracker_Add_m3461523141(L_2, __this, L_3, ((int32_t)16134), /*hidden argument*/NULL); RectTransform_t3317474837 * L_4 = ___rect0; int32_t L_5 = ___axis1; G_B3_0 = L_4; if (L_5) { G_B4_0 = L_4; goto IL_002c; } } { G_B5_0 = 0; G_B5_1 = G_B3_0; goto IL_002d; } IL_002c: { G_B5_0 = 2; G_B5_1 = G_B4_0; } IL_002d: { float L_6 = ___pos2; float L_7 = ___size3; NullCheck(G_B5_1); RectTransform_SetInsetAndSizeFromParentEdge_m1924354604(G_B5_1, G_B5_0, L_6, L_7, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.UI.LayoutGroup::get_isRootLayoutGroup() extern const Il2CppType* ILayoutGroup_t3479235445_0_0_0_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern const uint32_t LayoutGroup_get_isRootLayoutGroup_m3172189078_MetadataUsageId; extern "C" bool LayoutGroup_get_isRootLayoutGroup_m3172189078 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutGroup_get_isRootLayoutGroup_m3172189078_MetadataUsageId); s_Il2CppMethodIntialized = true; } Transform_t284553113 * V_0 = NULL; { Transform_t284553113 * L_0 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); NullCheck(L_0); Transform_t284553113 * L_1 = Transform_get_parent_m2236876972(L_0, /*hidden argument*/NULL); V_0 = L_1; Transform_t284553113 * L_2 = V_0; bool L_3 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_2, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_3) { goto IL_001a; } } { return (bool)1; } IL_001a: { Transform_t284553113 * L_4 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); NullCheck(L_4); Transform_t284553113 * L_5 = Transform_get_parent_m2236876972(L_4, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_6 = Type_GetTypeFromHandle_m3806905434(NULL /*static, unused*/, LoadTypeToken(ILayoutGroup_t3479235445_0_0_0_var), /*hidden argument*/NULL); NullCheck(L_5); Component_t2126946602 * L_7 = Component_GetComponent_m936021879(L_5, L_6, /*hidden argument*/NULL); bool L_8 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_7, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); return L_8; } } // System.Void UnityEngine.UI.LayoutGroup::OnRectTransformDimensionsChange() extern "C" void LayoutGroup_OnRectTransformDimensionsChange_m30528906 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { UIBehaviour_OnRectTransformDimensionsChange_m406568928(__this, /*hidden argument*/NULL); bool L_0 = LayoutGroup_get_isRootLayoutGroup_m3172189078(__this, /*hidden argument*/NULL); if (!L_0) { goto IL_0017; } } { LayoutGroup_SetDirty_m321385774(__this, /*hidden argument*/NULL); } IL_0017: { return; } } // System.Void UnityEngine.UI.LayoutGroup::OnTransformChildrenChanged() extern "C" void LayoutGroup_OnTransformChildrenChanged_m420993286 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { { LayoutGroup_SetDirty_m321385774(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutGroup::SetDirty() extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const uint32_t LayoutGroup_SetDirty_m321385774_MetadataUsageId; extern "C" void LayoutGroup_SetDirty_m321385774 (LayoutGroup_t2646131550 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutGroup_SetDirty_m321385774_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this); if (L_0) { goto IL_000c; } } { return; } IL_000c: { RectTransform_t3317474837 * L_1 = LayoutGroup_get_rectTransform_m331638721(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_MarkLayoutForRebuild_m901621521(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::.ctor() extern "C" void LayoutRebuilder__ctor_m3516226301 (LayoutRebuilder_t1563460583 * __this, const MethodInfo* method) { { Object__ctor_m1772956182(__this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::.cctor() extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern Il2CppClass* UnityAction_1_t1543922488_il2cpp_TypeInfo_var; extern Il2CppClass* ObjectPool_1_t3680949465_il2cpp_TypeInfo_var; extern Il2CppClass* ReapplyDrivenProperties_t3247703954_il2cpp_TypeInfo_var; extern const MethodInfo* LayoutRebuilder_U3Cs_RebuildersU3Em__6_m831129568_MethodInfo_var; extern const MethodInfo* UnityAction_1__ctor_m1655821839_MethodInfo_var; extern const MethodInfo* ObjectPool_1__ctor_m2974435318_MethodInfo_var; extern const MethodInfo* LayoutRebuilder_ReapplyDrivenProperties_m965971988_MethodInfo_var; extern const uint32_t LayoutRebuilder__cctor_m1146736720_MetadataUsageId; extern "C" void LayoutRebuilder__cctor_m1146736720 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder__cctor_m1146736720_MetadataUsageId); s_Il2CppMethodIntialized = true; } Il2CppObject * G_B2_0 = NULL; Il2CppObject * G_B1_0 = NULL; { UnityAction_1_t1543922488 * L_0 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache3_3(); G_B1_0 = NULL; if (L_0) { G_B2_0 = NULL; goto IL_0019; } } { IntPtr_t L_1; L_1.set_m_value_0((void*)(void*)LayoutRebuilder_U3Cs_RebuildersU3Em__6_m831129568_MethodInfo_var); UnityAction_1_t1543922488 * L_2 = (UnityAction_1_t1543922488 *)il2cpp_codegen_object_new(UnityAction_1_t1543922488_il2cpp_TypeInfo_var); UnityAction_1__ctor_m1655821839(L_2, NULL, L_1, /*hidden argument*/UnityAction_1__ctor_m1655821839_MethodInfo_var); ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache3_3(L_2); G_B2_0 = G_B1_0; } IL_0019: { UnityAction_1_t1543922488 * L_3 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache3_3(); ObjectPool_1_t3680949465 * L_4 = (ObjectPool_1_t3680949465 *)il2cpp_codegen_object_new(ObjectPool_1_t3680949465_il2cpp_TypeInfo_var); ObjectPool_1__ctor_m2974435318(L_4, (UnityAction_1_t1543922488 *)G_B2_0, L_3, /*hidden argument*/ObjectPool_1__ctor_m2974435318_MethodInfo_var); ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->set_s_Rebuilders_2(L_4); IntPtr_t L_5; L_5.set_m_value_0((void*)(void*)LayoutRebuilder_ReapplyDrivenProperties_m965971988_MethodInfo_var); ReapplyDrivenProperties_t3247703954 * L_6 = (ReapplyDrivenProperties_t3247703954 *)il2cpp_codegen_object_new(ReapplyDrivenProperties_t3247703954_il2cpp_TypeInfo_var); ReapplyDrivenProperties__ctor_m3710908308(L_6, NULL, L_5, /*hidden argument*/NULL); RectTransform_add_reapplyDrivenProperties_m1968705467(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::Initialize(UnityEngine.RectTransform) extern "C" void LayoutRebuilder_Initialize_m1265316458 (LayoutRebuilder_t1563460583 * __this, RectTransform_t3317474837 * ___controller0, const MethodInfo* method) { { RectTransform_t3317474837 * L_0 = ___controller0; __this->set_m_ToRebuild_0(L_0); RectTransform_t3317474837 * L_1 = ___controller0; NullCheck(L_1); int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 UnityEngine.Object::GetHashCode() */, L_1); __this->set_m_CachedHashFromTransform_1(L_2); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::Clear() extern "C" void LayoutRebuilder_Clear_m922359592 (LayoutRebuilder_t1563460583 * __this, const MethodInfo* method) { { __this->set_m_ToRebuild_0((RectTransform_t3317474837 *)NULL); __this->set_m_CachedHashFromTransform_1(0); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::ReapplyDrivenProperties(UnityEngine.RectTransform) extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const uint32_t LayoutRebuilder_ReapplyDrivenProperties_m965971988_MetadataUsageId; extern "C" void LayoutRebuilder_ReapplyDrivenProperties_m965971988 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___driven0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_ReapplyDrivenProperties_m965971988_MetadataUsageId); s_Il2CppMethodIntialized = true; } { RectTransform_t3317474837 * L_0 = ___driven0; IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_MarkLayoutForRebuild_m901621521(NULL /*static, unused*/, L_0, /*hidden argument*/NULL); return; } } // UnityEngine.Transform UnityEngine.UI.LayoutRebuilder::get_transform() extern "C" Transform_t284553113 * LayoutRebuilder_get_transform_m3231462112 (LayoutRebuilder_t1563460583 * __this, const MethodInfo* method) { { RectTransform_t3317474837 * L_0 = __this->get_m_ToRebuild_0(); return L_0; } } // System.Boolean UnityEngine.UI.LayoutRebuilder::IsDestroyed() extern "C" bool LayoutRebuilder_IsDestroyed_m4004091228 (LayoutRebuilder_t1563460583 * __this, const MethodInfo* method) { { RectTransform_t3317474837 * L_0 = __this->get_m_ToRebuild_0(); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); return L_1; } } // System.Void UnityEngine.UI.LayoutRebuilder::StripDisabledBehavioursFromList(System.Collections.Generic.List`1<UnityEngine.Component>) extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern Il2CppClass* Predicate_1_t2697910500_il2cpp_TypeInfo_var; extern const MethodInfo* LayoutRebuilder_U3CStripDisabledBehavioursFromListU3Em__7_m1620076941_MethodInfo_var; extern const MethodInfo* Predicate_1__ctor_m3532401247_MethodInfo_var; extern const MethodInfo* List_1_RemoveAll_m2777192217_MethodInfo_var; extern const uint32_t LayoutRebuilder_StripDisabledBehavioursFromList_m51650679_MetadataUsageId; extern "C" void LayoutRebuilder_StripDisabledBehavioursFromList_m51650679 (Il2CppObject * __this /* static, unused */, List_1_t2923905571 * ___components0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_StripDisabledBehavioursFromList_m51650679_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t2923905571 * G_B2_0 = NULL; List_1_t2923905571 * G_B1_0 = NULL; { List_1_t2923905571 * L_0 = ___components0; IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); Predicate_1_t2697910500 * L_1 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache4_4(); G_B1_0 = L_0; if (L_1) { G_B2_0 = L_0; goto IL_0019; } } { IntPtr_t L_2; L_2.set_m_value_0((void*)(void*)LayoutRebuilder_U3CStripDisabledBehavioursFromListU3Em__7_m1620076941_MethodInfo_var); Predicate_1_t2697910500 * L_3 = (Predicate_1_t2697910500 *)il2cpp_codegen_object_new(Predicate_1_t2697910500_il2cpp_TypeInfo_var); Predicate_1__ctor_m3532401247(L_3, NULL, L_2, /*hidden argument*/Predicate_1__ctor_m3532401247_MethodInfo_var); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache4_4(L_3); G_B2_0 = G_B1_0; } IL_0019: { IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); Predicate_1_t2697910500 * L_4 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache4_4(); NullCheck(G_B2_0); List_1_RemoveAll_m2777192217(G_B2_0, L_4, /*hidden argument*/List_1_RemoveAll_m2777192217_MethodInfo_var); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::ForceRebuildLayoutImmediate(UnityEngine.RectTransform) extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const MethodInfo* ObjectPool_1_Get_m1063234763_MethodInfo_var; extern const MethodInfo* ObjectPool_1_Release_m3600071105_MethodInfo_var; extern const uint32_t LayoutRebuilder_ForceRebuildLayoutImmediate_m3701079759_MetadataUsageId; extern "C" void LayoutRebuilder_ForceRebuildLayoutImmediate_m3701079759 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___layoutRoot0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_ForceRebuildLayoutImmediate_m3701079759_MetadataUsageId); s_Il2CppMethodIntialized = true; } LayoutRebuilder_t1563460583 * V_0 = NULL; { IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); ObjectPool_1_t3680949465 * L_0 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_s_Rebuilders_2(); NullCheck(L_0); LayoutRebuilder_t1563460583 * L_1 = ObjectPool_1_Get_m1063234763(L_0, /*hidden argument*/ObjectPool_1_Get_m1063234763_MethodInfo_var); V_0 = L_1; LayoutRebuilder_t1563460583 * L_2 = V_0; RectTransform_t3317474837 * L_3 = ___layoutRoot0; NullCheck(L_2); LayoutRebuilder_Initialize_m1265316458(L_2, L_3, /*hidden argument*/NULL); LayoutRebuilder_t1563460583 * L_4 = V_0; NullCheck(L_4); VirtActionInvoker1< int32_t >::Invoke(4 /* System.Void UnityEngine.UI.LayoutRebuilder::Rebuild(UnityEngine.UI.CanvasUpdate) */, L_4, 1); ObjectPool_1_t3680949465 * L_5 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_s_Rebuilders_2(); LayoutRebuilder_t1563460583 * L_6 = V_0; NullCheck(L_5); ObjectPool_1_Release_m3600071105(L_5, L_6, /*hidden argument*/ObjectPool_1_Release_m3600071105_MethodInfo_var); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::Rebuild(UnityEngine.UI.CanvasUpdate) extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern Il2CppClass* UnityAction_1_t2107408507_il2cpp_TypeInfo_var; extern const MethodInfo* LayoutRebuilder_U3CRebuildU3Em__8_m1336267783_MethodInfo_var; extern const MethodInfo* UnityAction_1__ctor_m2638855274_MethodInfo_var; extern const MethodInfo* LayoutRebuilder_U3CRebuildU3Em__9_m1269261030_MethodInfo_var; extern const MethodInfo* LayoutRebuilder_U3CRebuildU3Em__A_m733207006_MethodInfo_var; extern const MethodInfo* LayoutRebuilder_U3CRebuildU3Em__B_m666200253_MethodInfo_var; extern const uint32_t LayoutRebuilder_Rebuild_m407530040_MetadataUsageId; extern "C" void LayoutRebuilder_Rebuild_m407530040 (LayoutRebuilder_t1563460583 * __this, int32_t ___executing0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_Rebuild_m407530040_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t V_0 = 0; RectTransform_t3317474837 * G_B4_0 = NULL; LayoutRebuilder_t1563460583 * G_B4_1 = NULL; RectTransform_t3317474837 * G_B3_0 = NULL; LayoutRebuilder_t1563460583 * G_B3_1 = NULL; RectTransform_t3317474837 * G_B6_0 = NULL; LayoutRebuilder_t1563460583 * G_B6_1 = NULL; RectTransform_t3317474837 * G_B5_0 = NULL; LayoutRebuilder_t1563460583 * G_B5_1 = NULL; RectTransform_t3317474837 * G_B8_0 = NULL; LayoutRebuilder_t1563460583 * G_B8_1 = NULL; RectTransform_t3317474837 * G_B7_0 = NULL; LayoutRebuilder_t1563460583 * G_B7_1 = NULL; RectTransform_t3317474837 * G_B10_0 = NULL; LayoutRebuilder_t1563460583 * G_B10_1 = NULL; RectTransform_t3317474837 * G_B9_0 = NULL; LayoutRebuilder_t1563460583 * G_B9_1 = NULL; { int32_t L_0 = ___executing0; V_0 = L_0; int32_t L_1 = V_0; if ((((int32_t)L_1) == ((int32_t)1))) { goto IL_000e; } } { goto IL_00b7; } IL_000e: { RectTransform_t3317474837 * L_2 = __this->get_m_ToRebuild_0(); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); UnityAction_1_t2107408507 * L_3 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache5_5(); G_B3_0 = L_2; G_B3_1 = __this; if (L_3) { G_B4_0 = L_2; G_B4_1 = __this; goto IL_002d; } } { IntPtr_t L_4; L_4.set_m_value_0((void*)(void*)LayoutRebuilder_U3CRebuildU3Em__8_m1336267783_MethodInfo_var); UnityAction_1_t2107408507 * L_5 = (UnityAction_1_t2107408507 *)il2cpp_codegen_object_new(UnityAction_1_t2107408507_il2cpp_TypeInfo_var); UnityAction_1__ctor_m2638855274(L_5, NULL, L_4, /*hidden argument*/UnityAction_1__ctor_m2638855274_MethodInfo_var); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache5_5(L_5); G_B4_0 = G_B3_0; G_B4_1 = G_B3_1; } IL_002d: { IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); UnityAction_1_t2107408507 * L_6 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache5_5(); NullCheck(G_B4_1); LayoutRebuilder_PerformLayoutCalculation_m941802386(G_B4_1, G_B4_0, L_6, /*hidden argument*/NULL); RectTransform_t3317474837 * L_7 = __this->get_m_ToRebuild_0(); UnityAction_1_t2107408507 * L_8 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache6_6(); G_B5_0 = L_7; G_B5_1 = __this; if (L_8) { G_B6_0 = L_7; G_B6_1 = __this; goto IL_0056; } } { IntPtr_t L_9; L_9.set_m_value_0((void*)(void*)LayoutRebuilder_U3CRebuildU3Em__9_m1269261030_MethodInfo_var); UnityAction_1_t2107408507 * L_10 = (UnityAction_1_t2107408507 *)il2cpp_codegen_object_new(UnityAction_1_t2107408507_il2cpp_TypeInfo_var); UnityAction_1__ctor_m2638855274(L_10, NULL, L_9, /*hidden argument*/UnityAction_1__ctor_m2638855274_MethodInfo_var); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache6_6(L_10); G_B6_0 = G_B5_0; G_B6_1 = G_B5_1; } IL_0056: { IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); UnityAction_1_t2107408507 * L_11 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache6_6(); NullCheck(G_B6_1); LayoutRebuilder_PerformLayoutControl_m724256510(G_B6_1, G_B6_0, L_11, /*hidden argument*/NULL); RectTransform_t3317474837 * L_12 = __this->get_m_ToRebuild_0(); UnityAction_1_t2107408507 * L_13 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache7_7(); G_B7_0 = L_12; G_B7_1 = __this; if (L_13) { G_B8_0 = L_12; G_B8_1 = __this; goto IL_007f; } } { IntPtr_t L_14; L_14.set_m_value_0((void*)(void*)LayoutRebuilder_U3CRebuildU3Em__A_m733207006_MethodInfo_var); UnityAction_1_t2107408507 * L_15 = (UnityAction_1_t2107408507 *)il2cpp_codegen_object_new(UnityAction_1_t2107408507_il2cpp_TypeInfo_var); UnityAction_1__ctor_m2638855274(L_15, NULL, L_14, /*hidden argument*/UnityAction_1__ctor_m2638855274_MethodInfo_var); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache7_7(L_15); G_B8_0 = G_B7_0; G_B8_1 = G_B7_1; } IL_007f: { IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); UnityAction_1_t2107408507 * L_16 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache7_7(); NullCheck(G_B8_1); LayoutRebuilder_PerformLayoutCalculation_m941802386(G_B8_1, G_B8_0, L_16, /*hidden argument*/NULL); RectTransform_t3317474837 * L_17 = __this->get_m_ToRebuild_0(); UnityAction_1_t2107408507 * L_18 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache8_8(); G_B9_0 = L_17; G_B9_1 = __this; if (L_18) { G_B10_0 = L_17; G_B10_1 = __this; goto IL_00a8; } } { IntPtr_t L_19; L_19.set_m_value_0((void*)(void*)LayoutRebuilder_U3CRebuildU3Em__B_m666200253_MethodInfo_var); UnityAction_1_t2107408507 * L_20 = (UnityAction_1_t2107408507 *)il2cpp_codegen_object_new(UnityAction_1_t2107408507_il2cpp_TypeInfo_var); UnityAction_1__ctor_m2638855274(L_20, NULL, L_19, /*hidden argument*/UnityAction_1__ctor_m2638855274_MethodInfo_var); IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache8_8(L_20); G_B10_0 = G_B9_0; G_B10_1 = G_B9_1; } IL_00a8: { IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); UnityAction_1_t2107408507 * L_21 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache8_8(); NullCheck(G_B10_1); LayoutRebuilder_PerformLayoutControl_m724256510(G_B10_1, G_B10_0, L_21, /*hidden argument*/NULL); goto IL_00b7; } IL_00b7: { return; } } // System.Void UnityEngine.UI.LayoutRebuilder::PerformLayoutControl(UnityEngine.RectTransform,UnityEngine.Events.UnityAction`1<UnityEngine.Component>) extern const Il2CppType* ILayoutController_t2363688664_0_0_0_var; extern Il2CppClass* ListPool_1_t1740961763_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern Il2CppClass* ILayoutSelfController_t1109471684_il2cpp_TypeInfo_var; extern Il2CppClass* RectTransform_t3317474837_il2cpp_TypeInfo_var; extern const MethodInfo* ListPool_1_Get_m2014868279_MethodInfo_var; extern const MethodInfo* UnityAction_1_Invoke_m311869493_MethodInfo_var; extern const MethodInfo* ListPool_1_Release_m2849004751_MethodInfo_var; extern const uint32_t LayoutRebuilder_PerformLayoutControl_m724256510_MetadataUsageId; extern "C" void LayoutRebuilder_PerformLayoutControl_m724256510 (LayoutRebuilder_t1563460583 * __this, RectTransform_t3317474837 * ___rect0, UnityAction_1_t2107408507 * ___action1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_PerformLayoutControl_m724256510_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t2923905571 * V_0 = NULL; int32_t V_1 = 0; int32_t V_2 = 0; int32_t V_3 = 0; { RectTransform_t3317474837 * L_0 = ___rect0; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_000d; } } { return; } IL_000d: { IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); List_1_t2923905571 * L_2 = ListPool_1_Get_m2014868279(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2014868279_MethodInfo_var); V_0 = L_2; RectTransform_t3317474837 * L_3 = ___rect0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_4 = Type_GetTypeFromHandle_m3806905434(NULL /*static, unused*/, LoadTypeToken(ILayoutController_t2363688664_0_0_0_var), /*hidden argument*/NULL); List_1_t2923905571 * L_5 = V_0; NullCheck(L_3); Component_GetComponents_m3426812285(L_3, L_4, L_5, /*hidden argument*/NULL); List_1_t2923905571 * L_6 = V_0; IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_StripDisabledBehavioursFromList_m51650679(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); List_1_t2923905571 * L_7 = V_0; NullCheck(L_7); int32_t L_8 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_7); if ((((int32_t)L_8) <= ((int32_t)0))) { goto IL_00ca; } } { V_1 = 0; goto IL_005f; } IL_003d: { List_1_t2923905571 * L_9 = V_0; int32_t L_10 = V_1; NullCheck(L_9); Component_t2126946602 * L_11 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_9, L_10); if (!((Il2CppObject *)IsInst(L_11, ILayoutSelfController_t1109471684_il2cpp_TypeInfo_var))) { goto IL_005b; } } { UnityAction_1_t2107408507 * L_12 = ___action1; List_1_t2923905571 * L_13 = V_0; int32_t L_14 = V_1; NullCheck(L_13); Component_t2126946602 * L_15 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_13, L_14); NullCheck(L_12); UnityAction_1_Invoke_m311869493(L_12, L_15, /*hidden argument*/UnityAction_1_Invoke_m311869493_MethodInfo_var); } IL_005b: { int32_t L_16 = V_1; V_1 = ((int32_t)((int32_t)L_16+(int32_t)1)); } IL_005f: { int32_t L_17 = V_1; List_1_t2923905571 * L_18 = V_0; NullCheck(L_18); int32_t L_19 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_18); if ((((int32_t)L_17) < ((int32_t)L_19))) { goto IL_003d; } } { V_2 = 0; goto IL_0094; } IL_0072: { List_1_t2923905571 * L_20 = V_0; int32_t L_21 = V_2; NullCheck(L_20); Component_t2126946602 * L_22 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_20, L_21); if (((Il2CppObject *)IsInst(L_22, ILayoutSelfController_t1109471684_il2cpp_TypeInfo_var))) { goto IL_0090; } } { UnityAction_1_t2107408507 * L_23 = ___action1; List_1_t2923905571 * L_24 = V_0; int32_t L_25 = V_2; NullCheck(L_24); Component_t2126946602 * L_26 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_24, L_25); NullCheck(L_23); UnityAction_1_Invoke_m311869493(L_23, L_26, /*hidden argument*/UnityAction_1_Invoke_m311869493_MethodInfo_var); } IL_0090: { int32_t L_27 = V_2; V_2 = ((int32_t)((int32_t)L_27+(int32_t)1)); } IL_0094: { int32_t L_28 = V_2; List_1_t2923905571 * L_29 = V_0; NullCheck(L_29); int32_t L_30 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_29); if ((((int32_t)L_28) < ((int32_t)L_30))) { goto IL_0072; } } { V_3 = 0; goto IL_00be; } IL_00a7: { RectTransform_t3317474837 * L_31 = ___rect0; int32_t L_32 = V_3; NullCheck(L_31); Transform_t284553113 * L_33 = Transform_GetChild_m4040462992(L_31, L_32, /*hidden argument*/NULL); UnityAction_1_t2107408507 * L_34 = ___action1; LayoutRebuilder_PerformLayoutControl_m724256510(__this, ((RectTransform_t3317474837 *)IsInstSealed(L_33, RectTransform_t3317474837_il2cpp_TypeInfo_var)), L_34, /*hidden argument*/NULL); int32_t L_35 = V_3; V_3 = ((int32_t)((int32_t)L_35+(int32_t)1)); } IL_00be: { int32_t L_36 = V_3; RectTransform_t3317474837 * L_37 = ___rect0; NullCheck(L_37); int32_t L_38 = Transform_get_childCount_m2107810675(L_37, /*hidden argument*/NULL); if ((((int32_t)L_36) < ((int32_t)L_38))) { goto IL_00a7; } } IL_00ca: { List_1_t2923905571 * L_39 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); ListPool_1_Release_m2849004751(NULL /*static, unused*/, L_39, /*hidden argument*/ListPool_1_Release_m2849004751_MethodInfo_var); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::PerformLayoutCalculation(UnityEngine.RectTransform,UnityEngine.Events.UnityAction`1<UnityEngine.Component>) extern const Il2CppType* ILayoutElement_t109776050_0_0_0_var; extern Il2CppClass* ListPool_1_t1740961763_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern Il2CppClass* RectTransform_t3317474837_il2cpp_TypeInfo_var; extern const MethodInfo* ListPool_1_Get_m2014868279_MethodInfo_var; extern const MethodInfo* UnityAction_1_Invoke_m311869493_MethodInfo_var; extern const MethodInfo* ListPool_1_Release_m2849004751_MethodInfo_var; extern const uint32_t LayoutRebuilder_PerformLayoutCalculation_m941802386_MetadataUsageId; extern "C" void LayoutRebuilder_PerformLayoutCalculation_m941802386 (LayoutRebuilder_t1563460583 * __this, RectTransform_t3317474837 * ___rect0, UnityAction_1_t2107408507 * ___action1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_PerformLayoutCalculation_m941802386_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t2923905571 * V_0 = NULL; int32_t V_1 = 0; int32_t V_2 = 0; { RectTransform_t3317474837 * L_0 = ___rect0; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_000d; } } { return; } IL_000d: { IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); List_1_t2923905571 * L_2 = ListPool_1_Get_m2014868279(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2014868279_MethodInfo_var); V_0 = L_2; RectTransform_t3317474837 * L_3 = ___rect0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_4 = Type_GetTypeFromHandle_m3806905434(NULL /*static, unused*/, LoadTypeToken(ILayoutElement_t109776050_0_0_0_var), /*hidden argument*/NULL); List_1_t2923905571 * L_5 = V_0; NullCheck(L_3); Component_GetComponents_m3426812285(L_3, L_4, L_5, /*hidden argument*/NULL); List_1_t2923905571 * L_6 = V_0; IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_StripDisabledBehavioursFromList_m51650679(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); List_1_t2923905571 * L_7 = V_0; NullCheck(L_7); int32_t L_8 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_7); if ((((int32_t)L_8) <= ((int32_t)0))) { goto IL_0084; } } { V_1 = 0; goto IL_0054; } IL_003d: { RectTransform_t3317474837 * L_9 = ___rect0; int32_t L_10 = V_1; NullCheck(L_9); Transform_t284553113 * L_11 = Transform_GetChild_m4040462992(L_9, L_10, /*hidden argument*/NULL); UnityAction_1_t2107408507 * L_12 = ___action1; LayoutRebuilder_PerformLayoutCalculation_m941802386(__this, ((RectTransform_t3317474837 *)IsInstSealed(L_11, RectTransform_t3317474837_il2cpp_TypeInfo_var)), L_12, /*hidden argument*/NULL); int32_t L_13 = V_1; V_1 = ((int32_t)((int32_t)L_13+(int32_t)1)); } IL_0054: { int32_t L_14 = V_1; RectTransform_t3317474837 * L_15 = ___rect0; NullCheck(L_15); int32_t L_16 = Transform_get_childCount_m2107810675(L_15, /*hidden argument*/NULL); if ((((int32_t)L_14) < ((int32_t)L_16))) { goto IL_003d; } } { V_2 = 0; goto IL_0078; } IL_0067: { UnityAction_1_t2107408507 * L_17 = ___action1; List_1_t2923905571 * L_18 = V_0; int32_t L_19 = V_2; NullCheck(L_18); Component_t2126946602 * L_20 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_18, L_19); NullCheck(L_17); UnityAction_1_Invoke_m311869493(L_17, L_20, /*hidden argument*/UnityAction_1_Invoke_m311869493_MethodInfo_var); int32_t L_21 = V_2; V_2 = ((int32_t)((int32_t)L_21+(int32_t)1)); } IL_0078: { int32_t L_22 = V_2; List_1_t2923905571 * L_23 = V_0; NullCheck(L_23); int32_t L_24 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_23); if ((((int32_t)L_22) < ((int32_t)L_24))) { goto IL_0067; } } IL_0084: { List_1_t2923905571 * L_25 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); ListPool_1_Release_m2849004751(NULL /*static, unused*/, L_25, /*hidden argument*/ListPool_1_Release_m2849004751_MethodInfo_var); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::MarkLayoutForRebuild(UnityEngine.RectTransform) extern Il2CppClass* ListPool_1_t1740961763_il2cpp_TypeInfo_var; extern Il2CppClass* RectTransform_t3317474837_il2cpp_TypeInfo_var; extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const MethodInfo* ListPool_1_Get_m2014868279_MethodInfo_var; extern const MethodInfo* ListPool_1_Release_m2849004751_MethodInfo_var; extern const uint32_t LayoutRebuilder_MarkLayoutForRebuild_m901621521_MetadataUsageId; extern "C" void LayoutRebuilder_MarkLayoutForRebuild_m901621521 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___rect0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_MarkLayoutForRebuild_m901621521_MetadataUsageId); s_Il2CppMethodIntialized = true; } List_1_t2923905571 * V_0 = NULL; RectTransform_t3317474837 * V_1 = NULL; RectTransform_t3317474837 * V_2 = NULL; { RectTransform_t3317474837 * L_0 = ___rect0; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_000d; } } { return; } IL_000d: { IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); List_1_t2923905571 * L_2 = ListPool_1_Get_m2014868279(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2014868279_MethodInfo_var); V_0 = L_2; RectTransform_t3317474837 * L_3 = ___rect0; V_1 = L_3; } IL_0015: { RectTransform_t3317474837 * L_4 = V_1; NullCheck(L_4); Transform_t284553113 * L_5 = Transform_get_parent_m2236876972(L_4, /*hidden argument*/NULL); V_2 = ((RectTransform_t3317474837 *)IsInstSealed(L_5, RectTransform_t3317474837_il2cpp_TypeInfo_var)); RectTransform_t3317474837 * L_6 = V_2; List_1_t2923905571 * L_7 = V_0; IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); bool L_8 = LayoutRebuilder_ValidLayoutGroup_m1488924317(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL); if (L_8) { goto IL_0032; } } { goto IL_0039; } IL_0032: { RectTransform_t3317474837 * L_9 = V_2; V_1 = L_9; goto IL_0015; } IL_0039: { RectTransform_t3317474837 * L_10 = V_1; RectTransform_t3317474837 * L_11 = ___rect0; bool L_12 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_10, L_11, /*hidden argument*/NULL); if (!L_12) { goto IL_0058; } } { RectTransform_t3317474837 * L_13 = V_1; List_1_t2923905571 * L_14 = V_0; IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); bool L_15 = LayoutRebuilder_ValidController_m2724682388(NULL /*static, unused*/, L_13, L_14, /*hidden argument*/NULL); if (L_15) { goto IL_0058; } } { List_1_t2923905571 * L_16 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); ListPool_1_Release_m2849004751(NULL /*static, unused*/, L_16, /*hidden argument*/ListPool_1_Release_m2849004751_MethodInfo_var); return; } IL_0058: { RectTransform_t3317474837 * L_17 = V_1; IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_MarkLayoutRootForRebuild_m1708966351(NULL /*static, unused*/, L_17, /*hidden argument*/NULL); List_1_t2923905571 * L_18 = V_0; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); ListPool_1_Release_m2849004751(NULL /*static, unused*/, L_18, /*hidden argument*/ListPool_1_Release_m2849004751_MethodInfo_var); return; } } // System.Boolean UnityEngine.UI.LayoutRebuilder::ValidLayoutGroup(UnityEngine.RectTransform,System.Collections.Generic.List`1<UnityEngine.Component>) extern const Il2CppType* ILayoutGroup_t3479235445_0_0_0_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const uint32_t LayoutRebuilder_ValidLayoutGroup_m1488924317_MetadataUsageId; extern "C" bool LayoutRebuilder_ValidLayoutGroup_m1488924317 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___parent0, List_1_t2923905571 * ___comps1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_ValidLayoutGroup_m1488924317_MetadataUsageId); s_Il2CppMethodIntialized = true; } bool V_0 = false; { RectTransform_t3317474837 * L_0 = ___parent0; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_000e; } } { return (bool)0; } IL_000e: { RectTransform_t3317474837 * L_2 = ___parent0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_3 = Type_GetTypeFromHandle_m3806905434(NULL /*static, unused*/, LoadTypeToken(ILayoutGroup_t3479235445_0_0_0_var), /*hidden argument*/NULL); List_1_t2923905571 * L_4 = ___comps1; NullCheck(L_2); Component_GetComponents_m3426812285(L_2, L_3, L_4, /*hidden argument*/NULL); List_1_t2923905571 * L_5 = ___comps1; IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_StripDisabledBehavioursFromList_m51650679(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); List_1_t2923905571 * L_6 = ___comps1; NullCheck(L_6); int32_t L_7 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_6); V_0 = (bool)((((int32_t)L_7) > ((int32_t)0))? 1 : 0); bool L_8 = V_0; return L_8; } } // System.Boolean UnityEngine.UI.LayoutRebuilder::ValidController(UnityEngine.RectTransform,System.Collections.Generic.List`1<UnityEngine.Component>) extern const Il2CppType* ILayoutController_t2363688664_0_0_0_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const uint32_t LayoutRebuilder_ValidController_m2724682388_MetadataUsageId; extern "C" bool LayoutRebuilder_ValidController_m2724682388 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___layoutRoot0, List_1_t2923905571 * ___comps1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_ValidController_m2724682388_MetadataUsageId); s_Il2CppMethodIntialized = true; } bool V_0 = false; { RectTransform_t3317474837 * L_0 = ___layoutRoot0; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_000e; } } { return (bool)0; } IL_000e: { RectTransform_t3317474837 * L_2 = ___layoutRoot0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_3 = Type_GetTypeFromHandle_m3806905434(NULL /*static, unused*/, LoadTypeToken(ILayoutController_t2363688664_0_0_0_var), /*hidden argument*/NULL); List_1_t2923905571 * L_4 = ___comps1; NullCheck(L_2); Component_GetComponents_m3426812285(L_2, L_3, L_4, /*hidden argument*/NULL); List_1_t2923905571 * L_5 = ___comps1; IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); LayoutRebuilder_StripDisabledBehavioursFromList_m51650679(NULL /*static, unused*/, L_5, /*hidden argument*/NULL); List_1_t2923905571 * L_6 = ___comps1; NullCheck(L_6); int32_t L_7 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_6); V_0 = (bool)((((int32_t)L_7) > ((int32_t)0))? 1 : 0); bool L_8 = V_0; return L_8; } } // System.Void UnityEngine.UI.LayoutRebuilder::MarkLayoutRootForRebuild(UnityEngine.RectTransform) extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern Il2CppClass* CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var; extern const MethodInfo* ObjectPool_1_Get_m1063234763_MethodInfo_var; extern const MethodInfo* ObjectPool_1_Release_m3600071105_MethodInfo_var; extern const uint32_t LayoutRebuilder_MarkLayoutRootForRebuild_m1708966351_MetadataUsageId; extern "C" void LayoutRebuilder_MarkLayoutRootForRebuild_m1708966351 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___controller0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_MarkLayoutRootForRebuild_m1708966351_MetadataUsageId); s_Il2CppMethodIntialized = true; } LayoutRebuilder_t1563460583 * V_0 = NULL; { RectTransform_t3317474837 * L_0 = ___controller0; bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_000d; } } { return; } IL_000d: { IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); ObjectPool_1_t3680949465 * L_2 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_s_Rebuilders_2(); NullCheck(L_2); LayoutRebuilder_t1563460583 * L_3 = ObjectPool_1_Get_m1063234763(L_2, /*hidden argument*/ObjectPool_1_Get_m1063234763_MethodInfo_var); V_0 = L_3; LayoutRebuilder_t1563460583 * L_4 = V_0; RectTransform_t3317474837 * L_5 = ___controller0; NullCheck(L_4); LayoutRebuilder_Initialize_m1265316458(L_4, L_5, /*hidden argument*/NULL); LayoutRebuilder_t1563460583 * L_6 = V_0; IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t2591544775_il2cpp_TypeInfo_var); bool L_7 = CanvasUpdateRegistry_TryRegisterCanvasElementForLayoutRebuild_m3477281917(NULL /*static, unused*/, L_6, /*hidden argument*/NULL); if (L_7) { goto IL_0035; } } { IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); ObjectPool_1_t3680949465 * L_8 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_s_Rebuilders_2(); LayoutRebuilder_t1563460583 * L_9 = V_0; NullCheck(L_8); ObjectPool_1_Release_m3600071105(L_8, L_9, /*hidden argument*/ObjectPool_1_Release_m3600071105_MethodInfo_var); } IL_0035: { return; } } // System.Void UnityEngine.UI.LayoutRebuilder::LayoutComplete() extern Il2CppClass* LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var; extern const MethodInfo* ObjectPool_1_Release_m3600071105_MethodInfo_var; extern const uint32_t LayoutRebuilder_LayoutComplete_m182540522_MetadataUsageId; extern "C" void LayoutRebuilder_LayoutComplete_m182540522 (LayoutRebuilder_t1563460583 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_LayoutComplete_m182540522_MetadataUsageId); s_Il2CppMethodIntialized = true; } { IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var); ObjectPool_1_t3680949465 * L_0 = ((LayoutRebuilder_t1563460583_StaticFields*)LayoutRebuilder_t1563460583_il2cpp_TypeInfo_var->static_fields)->get_s_Rebuilders_2(); NullCheck(L_0); ObjectPool_1_Release_m3600071105(L_0, __this, /*hidden argument*/ObjectPool_1_Release_m3600071105_MethodInfo_var); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::GraphicUpdateComplete() extern "C" void LayoutRebuilder_GraphicUpdateComplete_m408201157 (LayoutRebuilder_t1563460583 * __this, const MethodInfo* method) { { return; } } // System.Int32 UnityEngine.UI.LayoutRebuilder::GetHashCode() extern "C" int32_t LayoutRebuilder_GetHashCode_m1333271044 (LayoutRebuilder_t1563460583 * __this, const MethodInfo* method) { { int32_t L_0 = __this->get_m_CachedHashFromTransform_1(); return L_0; } } // System.Boolean UnityEngine.UI.LayoutRebuilder::Equals(System.Object) extern "C" bool LayoutRebuilder_Equals_m3575022752 (LayoutRebuilder_t1563460583 * __this, Il2CppObject * ___obj0, const MethodInfo* method) { { Il2CppObject * L_0 = ___obj0; NullCheck(L_0); int32_t L_1 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 System.Object::GetHashCode() */, L_0); int32_t L_2 = VirtFuncInvoker0< int32_t >::Invoke(2 /* System.Int32 UnityEngine.UI.LayoutRebuilder::GetHashCode() */, __this); return (bool)((((int32_t)L_1) == ((int32_t)L_2))? 1 : 0); } } // System.String UnityEngine.UI.LayoutRebuilder::ToString() extern Il2CppClass* String_t_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral353860794; extern const uint32_t LayoutRebuilder_ToString_m2403814582_MetadataUsageId; extern "C" String_t* LayoutRebuilder_ToString_m2403814582 (LayoutRebuilder_t1563460583 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_ToString_m2403814582_MetadataUsageId); s_Il2CppMethodIntialized = true; } { RectTransform_t3317474837 * L_0 = __this->get_m_ToRebuild_0(); IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var); String_t* L_1 = String_Concat_m389863537(NULL /*static, unused*/, _stringLiteral353860794, L_0, /*hidden argument*/NULL); return L_1; } } // System.Void UnityEngine.UI.LayoutRebuilder::<s_Rebuilders>m__6(UnityEngine.UI.LayoutRebuilder) extern "C" void LayoutRebuilder_U3Cs_RebuildersU3Em__6_m831129568 (Il2CppObject * __this /* static, unused */, LayoutRebuilder_t1563460583 * ___x0, const MethodInfo* method) { { LayoutRebuilder_t1563460583 * L_0 = ___x0; NullCheck(L_0); LayoutRebuilder_Clear_m922359592(L_0, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.UI.LayoutRebuilder::<StripDisabledBehavioursFromList>m__7(UnityEngine.Component) extern Il2CppClass* Behaviour_t3120504042_il2cpp_TypeInfo_var; extern const uint32_t LayoutRebuilder_U3CStripDisabledBehavioursFromListU3Em__7_m1620076941_MetadataUsageId; extern "C" bool LayoutRebuilder_U3CStripDisabledBehavioursFromListU3Em__7_m1620076941 (Il2CppObject * __this /* static, unused */, Component_t2126946602 * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_U3CStripDisabledBehavioursFromListU3Em__7_m1620076941_MetadataUsageId); s_Il2CppMethodIntialized = true; } int32_t G_B3_0 = 0; { Component_t2126946602 * L_0 = ___e0; if (!((Behaviour_t3120504042 *)IsInstClass(L_0, Behaviour_t3120504042_il2cpp_TypeInfo_var))) { goto IL_001b; } } { Component_t2126946602 * L_1 = ___e0; NullCheck(((Behaviour_t3120504042 *)CastclassClass(L_1, Behaviour_t3120504042_il2cpp_TypeInfo_var))); bool L_2 = Behaviour_get_isActiveAndEnabled_m210167461(((Behaviour_t3120504042 *)CastclassClass(L_1, Behaviour_t3120504042_il2cpp_TypeInfo_var)), /*hidden argument*/NULL); G_B3_0 = ((((int32_t)L_2) == ((int32_t)0))? 1 : 0); goto IL_001c; } IL_001b: { G_B3_0 = 0; } IL_001c: { return (bool)G_B3_0; } } // System.Void UnityEngine.UI.LayoutRebuilder::<Rebuild>m__8(UnityEngine.Component) extern Il2CppClass* ILayoutElement_t109776050_il2cpp_TypeInfo_var; extern const uint32_t LayoutRebuilder_U3CRebuildU3Em__8_m1336267783_MetadataUsageId; extern "C" void LayoutRebuilder_U3CRebuildU3Em__8_m1336267783 (Il2CppObject * __this /* static, unused */, Component_t2126946602 * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_U3CRebuildU3Em__8_m1336267783_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Component_t2126946602 * L_0 = ___e0; NullCheck(((Il2CppObject *)IsInst(L_0, ILayoutElement_t109776050_il2cpp_TypeInfo_var))); InterfaceActionInvoker0::Invoke(0 /* System.Void UnityEngine.UI.ILayoutElement::CalculateLayoutInputHorizontal() */, ILayoutElement_t109776050_il2cpp_TypeInfo_var, ((Il2CppObject *)IsInst(L_0, ILayoutElement_t109776050_il2cpp_TypeInfo_var))); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::<Rebuild>m__9(UnityEngine.Component) extern Il2CppClass* ILayoutController_t2363688664_il2cpp_TypeInfo_var; extern const uint32_t LayoutRebuilder_U3CRebuildU3Em__9_m1269261030_MetadataUsageId; extern "C" void LayoutRebuilder_U3CRebuildU3Em__9_m1269261030 (Il2CppObject * __this /* static, unused */, Component_t2126946602 * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_U3CRebuildU3Em__9_m1269261030_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Component_t2126946602 * L_0 = ___e0; NullCheck(((Il2CppObject *)IsInst(L_0, ILayoutController_t2363688664_il2cpp_TypeInfo_var))); InterfaceActionInvoker0::Invoke(0 /* System.Void UnityEngine.UI.ILayoutController::SetLayoutHorizontal() */, ILayoutController_t2363688664_il2cpp_TypeInfo_var, ((Il2CppObject *)IsInst(L_0, ILayoutController_t2363688664_il2cpp_TypeInfo_var))); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::<Rebuild>m__A(UnityEngine.Component) extern Il2CppClass* ILayoutElement_t109776050_il2cpp_TypeInfo_var; extern const uint32_t LayoutRebuilder_U3CRebuildU3Em__A_m733207006_MetadataUsageId; extern "C" void LayoutRebuilder_U3CRebuildU3Em__A_m733207006 (Il2CppObject * __this /* static, unused */, Component_t2126946602 * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_U3CRebuildU3Em__A_m733207006_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Component_t2126946602 * L_0 = ___e0; NullCheck(((Il2CppObject *)IsInst(L_0, ILayoutElement_t109776050_il2cpp_TypeInfo_var))); InterfaceActionInvoker0::Invoke(1 /* System.Void UnityEngine.UI.ILayoutElement::CalculateLayoutInputVertical() */, ILayoutElement_t109776050_il2cpp_TypeInfo_var, ((Il2CppObject *)IsInst(L_0, ILayoutElement_t109776050_il2cpp_TypeInfo_var))); return; } } // System.Void UnityEngine.UI.LayoutRebuilder::<Rebuild>m__B(UnityEngine.Component) extern Il2CppClass* ILayoutController_t2363688664_il2cpp_TypeInfo_var; extern const uint32_t LayoutRebuilder_U3CRebuildU3Em__B_m666200253_MetadataUsageId; extern "C" void LayoutRebuilder_U3CRebuildU3Em__B_m666200253 (Il2CppObject * __this /* static, unused */, Component_t2126946602 * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutRebuilder_U3CRebuildU3Em__B_m666200253_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Component_t2126946602 * L_0 = ___e0; NullCheck(((Il2CppObject *)IsInst(L_0, ILayoutController_t2363688664_il2cpp_TypeInfo_var))); InterfaceActionInvoker0::Invoke(1 /* System.Void UnityEngine.UI.ILayoutController::SetLayoutVertical() */, ILayoutController_t2363688664_il2cpp_TypeInfo_var, ((Il2CppObject *)IsInst(L_0, ILayoutController_t2363688664_il2cpp_TypeInfo_var))); return; } } // System.Single UnityEngine.UI.LayoutUtility::GetMinSize(UnityEngine.RectTransform,System.Int32) extern "C" float LayoutUtility_GetMinSize_m220738634 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___rect0, int32_t ___axis1, const MethodInfo* method) { { int32_t L_0 = ___axis1; if (L_0) { goto IL_000d; } } { RectTransform_t3317474837 * L_1 = ___rect0; float L_2 = LayoutUtility_GetMinWidth_m3030453932(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return L_2; } IL_000d: { RectTransform_t3317474837 * L_3 = ___rect0; float L_4 = LayoutUtility_GetMinHeight_m1456033095(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); return L_4; } } // System.Single UnityEngine.UI.LayoutUtility::GetPreferredSize(UnityEngine.RectTransform,System.Int32) extern "C" float LayoutUtility_GetPreferredSize_m889669625 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___rect0, int32_t ___axis1, const MethodInfo* method) { { int32_t L_0 = ___axis1; if (L_0) { goto IL_000d; } } { RectTransform_t3317474837 * L_1 = ___rect0; float L_2 = LayoutUtility_GetPreferredWidth_m2872373467(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return L_2; } IL_000d: { RectTransform_t3317474837 * L_3 = ___rect0; float L_4 = LayoutUtility_GetPreferredHeight_m850505976(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); return L_4; } } // System.Single UnityEngine.UI.LayoutUtility::GetFlexibleSize(UnityEngine.RectTransform,System.Int32) extern "C" float LayoutUtility_GetFlexibleSize_m3922234755 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___rect0, int32_t ___axis1, const MethodInfo* method) { { int32_t L_0 = ___axis1; if (L_0) { goto IL_000d; } } { RectTransform_t3317474837 * L_1 = ___rect0; float L_2 = LayoutUtility_GetFlexibleWidth_m1272624485(NULL /*static, unused*/, L_1, /*hidden argument*/NULL); return L_2; } IL_000d: { RectTransform_t3317474837 * L_3 = ___rect0; float L_4 = LayoutUtility_GetFlexibleHeight_m2797895086(NULL /*static, unused*/, L_3, /*hidden argument*/NULL); return L_4; } } // System.Single UnityEngine.UI.LayoutUtility::GetMinWidth(UnityEngine.RectTransform) extern Il2CppClass* LayoutUtility_t4203675851_il2cpp_TypeInfo_var; extern Il2CppClass* Func_2_t4205183563_il2cpp_TypeInfo_var; extern const MethodInfo* LayoutUtility_U3CGetMinWidthU3Em__C_m2477279317_MethodInfo_var; extern const MethodInfo* Func_2__ctor_m3584854568_MethodInfo_var; extern const uint32_t LayoutUtility_GetMinWidth_m3030453932_MetadataUsageId; extern "C" float LayoutUtility_GetMinWidth_m3030453932 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___rect0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_GetMinWidth_m3030453932_MetadataUsageId); s_Il2CppMethodIntialized = true; } RectTransform_t3317474837 * G_B2_0 = NULL; RectTransform_t3317474837 * G_B1_0 = NULL; { RectTransform_t3317474837 * L_0 = ___rect0; Func_2_t4205183563 * L_1 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache0_0(); G_B1_0 = L_0; if (L_1) { G_B2_0 = L_0; goto IL_0019; } } { IntPtr_t L_2; L_2.set_m_value_0((void*)(void*)LayoutUtility_U3CGetMinWidthU3Em__C_m2477279317_MethodInfo_var); Func_2_t4205183563 * L_3 = (Func_2_t4205183563 *)il2cpp_codegen_object_new(Func_2_t4205183563_il2cpp_TypeInfo_var); Func_2__ctor_m3584854568(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m3584854568_MethodInfo_var); ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache0_0(L_3); G_B2_0 = G_B1_0; } IL_0019: { Func_2_t4205183563 * L_4 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache0_0(); float L_5 = LayoutUtility_GetLayoutProperty_m846328268(NULL /*static, unused*/, G_B2_0, L_4, (0.0f), /*hidden argument*/NULL); return L_5; } } // System.Single UnityEngine.UI.LayoutUtility::GetPreferredWidth(UnityEngine.RectTransform) extern Il2CppClass* LayoutUtility_t4203675851_il2cpp_TypeInfo_var; extern Il2CppClass* Func_2_t4205183563_il2cpp_TypeInfo_var; extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const MethodInfo* LayoutUtility_U3CGetPreferredWidthU3Em__D_m626210533_MethodInfo_var; extern const MethodInfo* Func_2__ctor_m3584854568_MethodInfo_var; extern const MethodInfo* LayoutUtility_U3CGetPreferredWidthU3Em__E_m2911073988_MethodInfo_var; extern const uint32_t LayoutUtility_GetPreferredWidth_m2872373467_MetadataUsageId; extern "C" float LayoutUtility_GetPreferredWidth_m2872373467 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___rect0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_GetPreferredWidth_m2872373467_MetadataUsageId); s_Il2CppMethodIntialized = true; } RectTransform_t3317474837 * G_B2_0 = NULL; RectTransform_t3317474837 * G_B1_0 = NULL; RectTransform_t3317474837 * G_B4_0 = NULL; float G_B4_1 = 0.0f; RectTransform_t3317474837 * G_B3_0 = NULL; float G_B3_1 = 0.0f; { RectTransform_t3317474837 * L_0 = ___rect0; Func_2_t4205183563 * L_1 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache1_1(); G_B1_0 = L_0; if (L_1) { G_B2_0 = L_0; goto IL_0019; } } { IntPtr_t L_2; L_2.set_m_value_0((void*)(void*)LayoutUtility_U3CGetPreferredWidthU3Em__D_m626210533_MethodInfo_var); Func_2_t4205183563 * L_3 = (Func_2_t4205183563 *)il2cpp_codegen_object_new(Func_2_t4205183563_il2cpp_TypeInfo_var); Func_2__ctor_m3584854568(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m3584854568_MethodInfo_var); ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache1_1(L_3); G_B2_0 = G_B1_0; } IL_0019: { Func_2_t4205183563 * L_4 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache1_1(); float L_5 = LayoutUtility_GetLayoutProperty_m846328268(NULL /*static, unused*/, G_B2_0, L_4, (0.0f), /*hidden argument*/NULL); RectTransform_t3317474837 * L_6 = ___rect0; Func_2_t4205183563 * L_7 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache2_2(); G_B3_0 = L_6; G_B3_1 = L_5; if (L_7) { G_B4_0 = L_6; G_B4_1 = L_5; goto IL_0041; } } { IntPtr_t L_8; L_8.set_m_value_0((void*)(void*)LayoutUtility_U3CGetPreferredWidthU3Em__E_m2911073988_MethodInfo_var); Func_2_t4205183563 * L_9 = (Func_2_t4205183563 *)il2cpp_codegen_object_new(Func_2_t4205183563_il2cpp_TypeInfo_var); Func_2__ctor_m3584854568(L_9, NULL, L_8, /*hidden argument*/Func_2__ctor_m3584854568_MethodInfo_var); ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache2_2(L_9); G_B4_0 = G_B3_0; G_B4_1 = G_B3_1; } IL_0041: { Func_2_t4205183563 * L_10 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache2_2(); float L_11 = LayoutUtility_GetLayoutProperty_m846328268(NULL /*static, unused*/, G_B4_0, L_10, (0.0f), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_12 = Mathf_Max_m3923796455(NULL /*static, unused*/, G_B4_1, L_11, /*hidden argument*/NULL); return L_12; } } // System.Single UnityEngine.UI.LayoutUtility::GetFlexibleWidth(UnityEngine.RectTransform) extern Il2CppClass* LayoutUtility_t4203675851_il2cpp_TypeInfo_var; extern Il2CppClass* Func_2_t4205183563_il2cpp_TypeInfo_var; extern const MethodInfo* LayoutUtility_U3CGetFlexibleWidthU3Em__F_m2196499833_MethodInfo_var; extern const MethodInfo* Func_2__ctor_m3584854568_MethodInfo_var; extern const uint32_t LayoutUtility_GetFlexibleWidth_m1272624485_MetadataUsageId; extern "C" float LayoutUtility_GetFlexibleWidth_m1272624485 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___rect0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_GetFlexibleWidth_m1272624485_MetadataUsageId); s_Il2CppMethodIntialized = true; } RectTransform_t3317474837 * G_B2_0 = NULL; RectTransform_t3317474837 * G_B1_0 = NULL; { RectTransform_t3317474837 * L_0 = ___rect0; Func_2_t4205183563 * L_1 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache3_3(); G_B1_0 = L_0; if (L_1) { G_B2_0 = L_0; goto IL_0019; } } { IntPtr_t L_2; L_2.set_m_value_0((void*)(void*)LayoutUtility_U3CGetFlexibleWidthU3Em__F_m2196499833_MethodInfo_var); Func_2_t4205183563 * L_3 = (Func_2_t4205183563 *)il2cpp_codegen_object_new(Func_2_t4205183563_il2cpp_TypeInfo_var); Func_2__ctor_m3584854568(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m3584854568_MethodInfo_var); ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache3_3(L_3); G_B2_0 = G_B1_0; } IL_0019: { Func_2_t4205183563 * L_4 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache3_3(); float L_5 = LayoutUtility_GetLayoutProperty_m846328268(NULL /*static, unused*/, G_B2_0, L_4, (0.0f), /*hidden argument*/NULL); return L_5; } } // System.Single UnityEngine.UI.LayoutUtility::GetMinHeight(UnityEngine.RectTransform) extern Il2CppClass* LayoutUtility_t4203675851_il2cpp_TypeInfo_var; extern Il2CppClass* Func_2_t4205183563_il2cpp_TypeInfo_var; extern const MethodInfo* LayoutUtility_U3CGetMinHeightU3Em__10_m3245482414_MethodInfo_var; extern const MethodInfo* Func_2__ctor_m3584854568_MethodInfo_var; extern const uint32_t LayoutUtility_GetMinHeight_m1456033095_MetadataUsageId; extern "C" float LayoutUtility_GetMinHeight_m1456033095 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___rect0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_GetMinHeight_m1456033095_MetadataUsageId); s_Il2CppMethodIntialized = true; } RectTransform_t3317474837 * G_B2_0 = NULL; RectTransform_t3317474837 * G_B1_0 = NULL; { RectTransform_t3317474837 * L_0 = ___rect0; Func_2_t4205183563 * L_1 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache4_4(); G_B1_0 = L_0; if (L_1) { G_B2_0 = L_0; goto IL_0019; } } { IntPtr_t L_2; L_2.set_m_value_0((void*)(void*)LayoutUtility_U3CGetMinHeightU3Em__10_m3245482414_MethodInfo_var); Func_2_t4205183563 * L_3 = (Func_2_t4205183563 *)il2cpp_codegen_object_new(Func_2_t4205183563_il2cpp_TypeInfo_var); Func_2__ctor_m3584854568(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m3584854568_MethodInfo_var); ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache4_4(L_3); G_B2_0 = G_B1_0; } IL_0019: { Func_2_t4205183563 * L_4 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache4_4(); float L_5 = LayoutUtility_GetLayoutProperty_m846328268(NULL /*static, unused*/, G_B2_0, L_4, (0.0f), /*hidden argument*/NULL); return L_5; } } // System.Single UnityEngine.UI.LayoutUtility::GetPreferredHeight(UnityEngine.RectTransform) extern Il2CppClass* LayoutUtility_t4203675851_il2cpp_TypeInfo_var; extern Il2CppClass* Func_2_t4205183563_il2cpp_TypeInfo_var; extern Il2CppClass* Mathf_t1597001355_il2cpp_TypeInfo_var; extern const MethodInfo* LayoutUtility_U3CGetPreferredHeightU3Em__11_m3744212990_MethodInfo_var; extern const MethodInfo* Func_2__ctor_m3584854568_MethodInfo_var; extern const MethodInfo* LayoutUtility_U3CGetPreferredHeightU3Em__12_m1734109149_MethodInfo_var; extern const uint32_t LayoutUtility_GetPreferredHeight_m850505976_MetadataUsageId; extern "C" float LayoutUtility_GetPreferredHeight_m850505976 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___rect0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_GetPreferredHeight_m850505976_MetadataUsageId); s_Il2CppMethodIntialized = true; } RectTransform_t3317474837 * G_B2_0 = NULL; RectTransform_t3317474837 * G_B1_0 = NULL; RectTransform_t3317474837 * G_B4_0 = NULL; float G_B4_1 = 0.0f; RectTransform_t3317474837 * G_B3_0 = NULL; float G_B3_1 = 0.0f; { RectTransform_t3317474837 * L_0 = ___rect0; Func_2_t4205183563 * L_1 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache5_5(); G_B1_0 = L_0; if (L_1) { G_B2_0 = L_0; goto IL_0019; } } { IntPtr_t L_2; L_2.set_m_value_0((void*)(void*)LayoutUtility_U3CGetPreferredHeightU3Em__11_m3744212990_MethodInfo_var); Func_2_t4205183563 * L_3 = (Func_2_t4205183563 *)il2cpp_codegen_object_new(Func_2_t4205183563_il2cpp_TypeInfo_var); Func_2__ctor_m3584854568(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m3584854568_MethodInfo_var); ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache5_5(L_3); G_B2_0 = G_B1_0; } IL_0019: { Func_2_t4205183563 * L_4 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache5_5(); float L_5 = LayoutUtility_GetLayoutProperty_m846328268(NULL /*static, unused*/, G_B2_0, L_4, (0.0f), /*hidden argument*/NULL); RectTransform_t3317474837 * L_6 = ___rect0; Func_2_t4205183563 * L_7 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache6_6(); G_B3_0 = L_6; G_B3_1 = L_5; if (L_7) { G_B4_0 = L_6; G_B4_1 = L_5; goto IL_0041; } } { IntPtr_t L_8; L_8.set_m_value_0((void*)(void*)LayoutUtility_U3CGetPreferredHeightU3Em__12_m1734109149_MethodInfo_var); Func_2_t4205183563 * L_9 = (Func_2_t4205183563 *)il2cpp_codegen_object_new(Func_2_t4205183563_il2cpp_TypeInfo_var); Func_2__ctor_m3584854568(L_9, NULL, L_8, /*hidden argument*/Func_2__ctor_m3584854568_MethodInfo_var); ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache6_6(L_9); G_B4_0 = G_B3_0; G_B4_1 = G_B3_1; } IL_0041: { Func_2_t4205183563 * L_10 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache6_6(); float L_11 = LayoutUtility_GetLayoutProperty_m846328268(NULL /*static, unused*/, G_B4_0, L_10, (0.0f), /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Mathf_t1597001355_il2cpp_TypeInfo_var); float L_12 = Mathf_Max_m3923796455(NULL /*static, unused*/, G_B4_1, L_11, /*hidden argument*/NULL); return L_12; } } // System.Single UnityEngine.UI.LayoutUtility::GetFlexibleHeight(UnityEngine.RectTransform) extern Il2CppClass* LayoutUtility_t4203675851_il2cpp_TypeInfo_var; extern Il2CppClass* Func_2_t4205183563_il2cpp_TypeInfo_var; extern const MethodInfo* LayoutUtility_U3CGetFlexibleHeightU3Em__13_m3482485010_MethodInfo_var; extern const MethodInfo* Func_2__ctor_m3584854568_MethodInfo_var; extern const uint32_t LayoutUtility_GetFlexibleHeight_m2797895086_MetadataUsageId; extern "C" float LayoutUtility_GetFlexibleHeight_m2797895086 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___rect0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_GetFlexibleHeight_m2797895086_MetadataUsageId); s_Il2CppMethodIntialized = true; } RectTransform_t3317474837 * G_B2_0 = NULL; RectTransform_t3317474837 * G_B1_0 = NULL; { RectTransform_t3317474837 * L_0 = ___rect0; Func_2_t4205183563 * L_1 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache7_7(); G_B1_0 = L_0; if (L_1) { G_B2_0 = L_0; goto IL_0019; } } { IntPtr_t L_2; L_2.set_m_value_0((void*)(void*)LayoutUtility_U3CGetFlexibleHeightU3Em__13_m3482485010_MethodInfo_var); Func_2_t4205183563 * L_3 = (Func_2_t4205183563 *)il2cpp_codegen_object_new(Func_2_t4205183563_il2cpp_TypeInfo_var); Func_2__ctor_m3584854568(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m3584854568_MethodInfo_var); ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache7_7(L_3); G_B2_0 = G_B1_0; } IL_0019: { Func_2_t4205183563 * L_4 = ((LayoutUtility_t4203675851_StaticFields*)LayoutUtility_t4203675851_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache7_7(); float L_5 = LayoutUtility_GetLayoutProperty_m846328268(NULL /*static, unused*/, G_B2_0, L_4, (0.0f), /*hidden argument*/NULL); return L_5; } } // System.Single UnityEngine.UI.LayoutUtility::GetLayoutProperty(UnityEngine.RectTransform,System.Func`2<UnityEngine.UI.ILayoutElement,System.Single>,System.Single) extern "C" float LayoutUtility_GetLayoutProperty_m846328268 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___rect0, Func_2_t4205183563 * ___property1, float ___defaultValue2, const MethodInfo* method) { Il2CppObject * V_0 = NULL; { RectTransform_t3317474837 * L_0 = ___rect0; Func_2_t4205183563 * L_1 = ___property1; float L_2 = ___defaultValue2; float L_3 = LayoutUtility_GetLayoutProperty_m3561974560(NULL /*static, unused*/, L_0, L_1, L_2, (&V_0), /*hidden argument*/NULL); return L_3; } } // System.Single UnityEngine.UI.LayoutUtility::GetLayoutProperty(UnityEngine.RectTransform,System.Func`2<UnityEngine.UI.ILayoutElement,System.Single>,System.Single,UnityEngine.UI.ILayoutElement&) extern const Il2CppType* ILayoutElement_t109776050_0_0_0_var; extern Il2CppClass* ListPool_1_t1740961763_il2cpp_TypeInfo_var; extern Il2CppClass* Type_t_il2cpp_TypeInfo_var; extern Il2CppClass* ILayoutElement_t109776050_il2cpp_TypeInfo_var; extern Il2CppClass* Behaviour_t3120504042_il2cpp_TypeInfo_var; extern const MethodInfo* ListPool_1_Get_m2014868279_MethodInfo_var; extern const MethodInfo* Func_2_Invoke_m3122337818_MethodInfo_var; extern const MethodInfo* ListPool_1_Release_m2849004751_MethodInfo_var; extern const uint32_t LayoutUtility_GetLayoutProperty_m3561974560_MetadataUsageId; extern "C" float LayoutUtility_GetLayoutProperty_m3561974560 (Il2CppObject * __this /* static, unused */, RectTransform_t3317474837 * ___rect0, Func_2_t4205183563 * ___property1, float ___defaultValue2, Il2CppObject ** ___source3, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_GetLayoutProperty_m3561974560_MetadataUsageId); s_Il2CppMethodIntialized = true; } float V_0 = 0.0f; int32_t V_1 = 0; List_1_t2923905571 * V_2 = NULL; int32_t V_3 = 0; Il2CppObject * V_4 = NULL; int32_t V_5 = 0; float V_6 = 0.0f; { Il2CppObject ** L_0 = ___source3; *((Il2CppObject **)(L_0)) = (Il2CppObject *)NULL; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_0), (Il2CppObject *)NULL); RectTransform_t3317474837 * L_1 = ___rect0; bool L_2 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_1, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_2) { goto IL_0015; } } { return (0.0f); } IL_0015: { float L_3 = ___defaultValue2; V_0 = L_3; V_1 = ((int32_t)-2147483648LL); IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); List_1_t2923905571 * L_4 = ListPool_1_Get_m2014868279(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2014868279_MethodInfo_var); V_2 = L_4; RectTransform_t3317474837 * L_5 = ___rect0; IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var); Type_t * L_6 = Type_GetTypeFromHandle_m3806905434(NULL /*static, unused*/, LoadTypeToken(ILayoutElement_t109776050_0_0_0_var), /*hidden argument*/NULL); List_1_t2923905571 * L_7 = V_2; NullCheck(L_5); Component_GetComponents_m3426812285(L_5, L_6, L_7, /*hidden argument*/NULL); V_3 = 0; goto IL_00c6; } IL_003b: { List_1_t2923905571 * L_8 = V_2; int32_t L_9 = V_3; NullCheck(L_8); Component_t2126946602 * L_10 = VirtFuncInvoker1< Component_t2126946602 *, int32_t >::Invoke(31 /* !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32) */, L_8, L_9); V_4 = ((Il2CppObject *)IsInst(L_10, ILayoutElement_t109776050_il2cpp_TypeInfo_var)); Il2CppObject * L_11 = V_4; if (!((Behaviour_t3120504042 *)IsInstClass(L_11, Behaviour_t3120504042_il2cpp_TypeInfo_var))) { goto IL_006b; } } { Il2CppObject * L_12 = V_4; NullCheck(((Behaviour_t3120504042 *)CastclassClass(L_12, Behaviour_t3120504042_il2cpp_TypeInfo_var))); bool L_13 = Behaviour_get_isActiveAndEnabled_m210167461(((Behaviour_t3120504042 *)CastclassClass(L_12, Behaviour_t3120504042_il2cpp_TypeInfo_var)), /*hidden argument*/NULL); if (L_13) { goto IL_006b; } } { goto IL_00c2; } IL_006b: { Il2CppObject * L_14 = V_4; NullCheck(L_14); int32_t L_15 = InterfaceFuncInvoker0< int32_t >::Invoke(8 /* System.Int32 UnityEngine.UI.ILayoutElement::get_layoutPriority() */, ILayoutElement_t109776050_il2cpp_TypeInfo_var, L_14); V_5 = L_15; int32_t L_16 = V_5; int32_t L_17 = V_1; if ((((int32_t)L_16) >= ((int32_t)L_17))) { goto IL_0081; } } { goto IL_00c2; } IL_0081: { Func_2_t4205183563 * L_18 = ___property1; Il2CppObject * L_19 = V_4; NullCheck(L_18); float L_20 = Func_2_Invoke_m3122337818(L_18, L_19, /*hidden argument*/Func_2_Invoke_m3122337818_MethodInfo_var); V_6 = L_20; float L_21 = V_6; if ((!(((float)L_21) < ((float)(0.0f))))) { goto IL_009c; } } { goto IL_00c2; } IL_009c: { int32_t L_22 = V_5; int32_t L_23 = V_1; if ((((int32_t)L_22) <= ((int32_t)L_23))) { goto IL_00b3; } } { float L_24 = V_6; V_0 = L_24; int32_t L_25 = V_5; V_1 = L_25; Il2CppObject ** L_26 = ___source3; Il2CppObject * L_27 = V_4; *((Il2CppObject **)(L_26)) = (Il2CppObject *)L_27; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_26), (Il2CppObject *)L_27); goto IL_00c2; } IL_00b3: { float L_28 = V_6; float L_29 = V_0; if ((!(((float)L_28) > ((float)L_29)))) { goto IL_00c2; } } { float L_30 = V_6; V_0 = L_30; Il2CppObject ** L_31 = ___source3; Il2CppObject * L_32 = V_4; *((Il2CppObject **)(L_31)) = (Il2CppObject *)L_32; Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_31), (Il2CppObject *)L_32); } IL_00c2: { int32_t L_33 = V_3; V_3 = ((int32_t)((int32_t)L_33+(int32_t)1)); } IL_00c6: { int32_t L_34 = V_3; List_1_t2923905571 * L_35 = V_2; NullCheck(L_35); int32_t L_36 = VirtFuncInvoker0< int32_t >::Invoke(20 /* System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count() */, L_35); if ((((int32_t)L_34) < ((int32_t)L_36))) { goto IL_003b; } } { List_1_t2923905571 * L_37 = V_2; IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1740961763_il2cpp_TypeInfo_var); ListPool_1_Release_m2849004751(NULL /*static, unused*/, L_37, /*hidden argument*/ListPool_1_Release_m2849004751_MethodInfo_var); float L_38 = V_0; return L_38; } } // System.Single UnityEngine.UI.LayoutUtility::<GetMinWidth>m__C(UnityEngine.UI.ILayoutElement) extern Il2CppClass* ILayoutElement_t109776050_il2cpp_TypeInfo_var; extern const uint32_t LayoutUtility_U3CGetMinWidthU3Em__C_m2477279317_MetadataUsageId; extern "C" float LayoutUtility_U3CGetMinWidthU3Em__C_m2477279317 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_U3CGetMinWidthU3Em__C_m2477279317_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___e0; NullCheck(L_0); float L_1 = InterfaceFuncInvoker0< float >::Invoke(2 /* System.Single UnityEngine.UI.ILayoutElement::get_minWidth() */, ILayoutElement_t109776050_il2cpp_TypeInfo_var, L_0); return L_1; } } // System.Single UnityEngine.UI.LayoutUtility::<GetPreferredWidth>m__D(UnityEngine.UI.ILayoutElement) extern Il2CppClass* ILayoutElement_t109776050_il2cpp_TypeInfo_var; extern const uint32_t LayoutUtility_U3CGetPreferredWidthU3Em__D_m626210533_MetadataUsageId; extern "C" float LayoutUtility_U3CGetPreferredWidthU3Em__D_m626210533 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_U3CGetPreferredWidthU3Em__D_m626210533_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___e0; NullCheck(L_0); float L_1 = InterfaceFuncInvoker0< float >::Invoke(2 /* System.Single UnityEngine.UI.ILayoutElement::get_minWidth() */, ILayoutElement_t109776050_il2cpp_TypeInfo_var, L_0); return L_1; } } // System.Single UnityEngine.UI.LayoutUtility::<GetPreferredWidth>m__E(UnityEngine.UI.ILayoutElement) extern Il2CppClass* ILayoutElement_t109776050_il2cpp_TypeInfo_var; extern const uint32_t LayoutUtility_U3CGetPreferredWidthU3Em__E_m2911073988_MetadataUsageId; extern "C" float LayoutUtility_U3CGetPreferredWidthU3Em__E_m2911073988 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_U3CGetPreferredWidthU3Em__E_m2911073988_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___e0; NullCheck(L_0); float L_1 = InterfaceFuncInvoker0< float >::Invoke(3 /* System.Single UnityEngine.UI.ILayoutElement::get_preferredWidth() */, ILayoutElement_t109776050_il2cpp_TypeInfo_var, L_0); return L_1; } } // System.Single UnityEngine.UI.LayoutUtility::<GetFlexibleWidth>m__F(UnityEngine.UI.ILayoutElement) extern Il2CppClass* ILayoutElement_t109776050_il2cpp_TypeInfo_var; extern const uint32_t LayoutUtility_U3CGetFlexibleWidthU3Em__F_m2196499833_MetadataUsageId; extern "C" float LayoutUtility_U3CGetFlexibleWidthU3Em__F_m2196499833 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_U3CGetFlexibleWidthU3Em__F_m2196499833_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___e0; NullCheck(L_0); float L_1 = InterfaceFuncInvoker0< float >::Invoke(4 /* System.Single UnityEngine.UI.ILayoutElement::get_flexibleWidth() */, ILayoutElement_t109776050_il2cpp_TypeInfo_var, L_0); return L_1; } } // System.Single UnityEngine.UI.LayoutUtility::<GetMinHeight>m__10(UnityEngine.UI.ILayoutElement) extern Il2CppClass* ILayoutElement_t109776050_il2cpp_TypeInfo_var; extern const uint32_t LayoutUtility_U3CGetMinHeightU3Em__10_m3245482414_MetadataUsageId; extern "C" float LayoutUtility_U3CGetMinHeightU3Em__10_m3245482414 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_U3CGetMinHeightU3Em__10_m3245482414_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___e0; NullCheck(L_0); float L_1 = InterfaceFuncInvoker0< float >::Invoke(5 /* System.Single UnityEngine.UI.ILayoutElement::get_minHeight() */, ILayoutElement_t109776050_il2cpp_TypeInfo_var, L_0); return L_1; } } // System.Single UnityEngine.UI.LayoutUtility::<GetPreferredHeight>m__11(UnityEngine.UI.ILayoutElement) extern Il2CppClass* ILayoutElement_t109776050_il2cpp_TypeInfo_var; extern const uint32_t LayoutUtility_U3CGetPreferredHeightU3Em__11_m3744212990_MetadataUsageId; extern "C" float LayoutUtility_U3CGetPreferredHeightU3Em__11_m3744212990 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_U3CGetPreferredHeightU3Em__11_m3744212990_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___e0; NullCheck(L_0); float L_1 = InterfaceFuncInvoker0< float >::Invoke(5 /* System.Single UnityEngine.UI.ILayoutElement::get_minHeight() */, ILayoutElement_t109776050_il2cpp_TypeInfo_var, L_0); return L_1; } } // System.Single UnityEngine.UI.LayoutUtility::<GetPreferredHeight>m__12(UnityEngine.UI.ILayoutElement) extern Il2CppClass* ILayoutElement_t109776050_il2cpp_TypeInfo_var; extern const uint32_t LayoutUtility_U3CGetPreferredHeightU3Em__12_m1734109149_MetadataUsageId; extern "C" float LayoutUtility_U3CGetPreferredHeightU3Em__12_m1734109149 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_U3CGetPreferredHeightU3Em__12_m1734109149_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___e0; NullCheck(L_0); float L_1 = InterfaceFuncInvoker0< float >::Invoke(6 /* System.Single UnityEngine.UI.ILayoutElement::get_preferredHeight() */, ILayoutElement_t109776050_il2cpp_TypeInfo_var, L_0); return L_1; } } // System.Single UnityEngine.UI.LayoutUtility::<GetFlexibleHeight>m__13(UnityEngine.UI.ILayoutElement) extern Il2CppClass* ILayoutElement_t109776050_il2cpp_TypeInfo_var; extern const uint32_t LayoutUtility_U3CGetFlexibleHeightU3Em__13_m3482485010_MetadataUsageId; extern "C" float LayoutUtility_U3CGetFlexibleHeightU3Em__13_m3482485010 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (LayoutUtility_U3CGetFlexibleHeightU3Em__13_m3482485010_MetadataUsageId); s_Il2CppMethodIntialized = true; } { Il2CppObject * L_0 = ___e0; NullCheck(L_0); float L_1 = InterfaceFuncInvoker0< float >::Invoke(7 /* System.Single UnityEngine.UI.ILayoutElement::get_flexibleHeight() */, ILayoutElement_t109776050_il2cpp_TypeInfo_var, L_0); return L_1; } } // System.Void UnityEngine.UI.Mask::.ctor() extern "C" void Mask__ctor_m3917673311 (Mask_t3286245653 * __this, const MethodInfo* method) { { __this->set_m_ShowMaskGraphic_3((bool)1); UIBehaviour__ctor_m1261553468(__this, /*hidden argument*/NULL); return; } } // UnityEngine.RectTransform UnityEngine.UI.Mask::get_rectTransform() extern const MethodInfo* Component_GetComponent_TisRectTransform_t3317474837_m1940403147_MethodInfo_var; extern const uint32_t Mask_get_rectTransform_m950047934_MetadataUsageId; extern "C" RectTransform_t3317474837 * Mask_get_rectTransform_m950047934 (Mask_t3286245653 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Mask_get_rectTransform_m950047934_MetadataUsageId); s_Il2CppMethodIntialized = true; } RectTransform_t3317474837 * V_0 = NULL; RectTransform_t3317474837 * G_B2_0 = NULL; RectTransform_t3317474837 * G_B1_0 = NULL; { RectTransform_t3317474837 * L_0 = __this->get_m_RectTransform_2(); RectTransform_t3317474837 * L_1 = L_0; G_B1_0 = L_1; if (L_1) { G_B2_0 = L_1; goto IL_001c; } } { RectTransform_t3317474837 * L_2 = Component_GetComponent_TisRectTransform_t3317474837_m1940403147(__this, /*hidden argument*/Component_GetComponent_TisRectTransform_t3317474837_m1940403147_MethodInfo_var); RectTransform_t3317474837 * L_3 = L_2; V_0 = L_3; __this->set_m_RectTransform_2(L_3); RectTransform_t3317474837 * L_4 = V_0; G_B2_0 = L_4; } IL_001c: { return G_B2_0; } } // System.Boolean UnityEngine.UI.Mask::get_showMaskGraphic() extern "C" bool Mask_get_showMaskGraphic_m2608629537 (Mask_t3286245653 * __this, const MethodInfo* method) { { bool L_0 = __this->get_m_ShowMaskGraphic_3(); return L_0; } } // System.Void UnityEngine.UI.Mask::set_showMaskGraphic(System.Boolean) extern "C" void Mask_set_showMaskGraphic_m218433430 (Mask_t3286245653 * __this, bool ___value0, const MethodInfo* method) { { bool L_0 = __this->get_m_ShowMaskGraphic_3(); bool L_1 = ___value0; if ((!(((uint32_t)L_0) == ((uint32_t)L_1)))) { goto IL_000d; } } { return; } IL_000d: { bool L_2 = ___value0; __this->set_m_ShowMaskGraphic_3(L_2); Graphic_t933884113 * L_3 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); bool L_4 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_3, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_4) { goto IL_0030; } } { Graphic_t933884113 * L_5 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); NullCheck(L_5); VirtActionInvoker0::Invoke(24 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, L_5); } IL_0030: { return; } } // UnityEngine.UI.Graphic UnityEngine.UI.Mask::get_graphic() extern const MethodInfo* Component_GetComponent_TisGraphic_t933884113_m908906813_MethodInfo_var; extern const uint32_t Mask_get_graphic_m2101144526_MetadataUsageId; extern "C" Graphic_t933884113 * Mask_get_graphic_m2101144526 (Mask_t3286245653 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Mask_get_graphic_m2101144526_MetadataUsageId); s_Il2CppMethodIntialized = true; } Graphic_t933884113 * V_0 = NULL; Graphic_t933884113 * G_B2_0 = NULL; Graphic_t933884113 * G_B1_0 = NULL; { Graphic_t933884113 * L_0 = __this->get_m_Graphic_4(); Graphic_t933884113 * L_1 = L_0; G_B1_0 = L_1; if (L_1) { G_B2_0 = L_1; goto IL_001c; } } { Graphic_t933884113 * L_2 = Component_GetComponent_TisGraphic_t933884113_m908906813(__this, /*hidden argument*/Component_GetComponent_TisGraphic_t933884113_m908906813_MethodInfo_var); Graphic_t933884113 * L_3 = L_2; V_0 = L_3; __this->set_m_Graphic_4(L_3); Graphic_t933884113 * L_4 = V_0; G_B2_0 = L_4; } IL_001c: { return G_B2_0; } } // System.Boolean UnityEngine.UI.Mask::MaskEnabled() extern Il2CppClass* NotSupportedException_t1374155497_il2cpp_TypeInfo_var; extern const uint32_t Mask_MaskEnabled_m1398570944_MetadataUsageId; extern "C" bool Mask_MaskEnabled_m1398570944 (Mask_t3286245653 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Mask_MaskEnabled_m1398570944_MetadataUsageId); s_Il2CppMethodIntialized = true; } { NotSupportedException_t1374155497 * L_0 = (NotSupportedException_t1374155497 *)il2cpp_codegen_object_new(NotSupportedException_t1374155497_il2cpp_TypeInfo_var); NotSupportedException__ctor_m149930845(L_0, /*hidden argument*/NULL); IL2CPP_RAISE_MANAGED_EXCEPTION(L_0); } } // System.Void UnityEngine.UI.Mask::OnSiblingGraphicEnabledDisabled() extern "C" void Mask_OnSiblingGraphicEnabledDisabled_m1780324373 (Mask_t3286245653 * __this, const MethodInfo* method) { { return; } } // System.Void UnityEngine.UI.Mask::OnEnable() extern "C" void Mask_OnEnable_m2035884999 (Mask_t3286245653 * __this, const MethodInfo* method) { { UIBehaviour_OnEnable_m4047103690(__this, /*hidden argument*/NULL); Graphic_t933884113 * L_0 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0033; } } { Graphic_t933884113 * L_2 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); NullCheck(L_2); CanvasRenderer_t3626201768 * L_3 = Graphic_get_canvasRenderer_m184553434(L_2, /*hidden argument*/NULL); NullCheck(L_3); CanvasRenderer_set_hasPopInstruction_m2112255713(L_3, (bool)1, /*hidden argument*/NULL); Graphic_t933884113 * L_4 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); NullCheck(L_4); VirtActionInvoker0::Invoke(24 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, L_4); } IL_0033: { MaskUtilities_NotifyStencilStateChanged_m2159873435(NULL /*static, unused*/, __this, /*hidden argument*/NULL); return; } } // System.Void UnityEngine.UI.Mask::OnDisable() extern Il2CppClass* StencilMaterial_t260192492_il2cpp_TypeInfo_var; extern const uint32_t Mask_OnDisable_m3423830086_MetadataUsageId; extern "C" void Mask_OnDisable_m3423830086 (Mask_t3286245653 * __this, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Mask_OnDisable_m3423830086_MetadataUsageId); s_Il2CppMethodIntialized = true; } { UIBehaviour_OnDisable_m1347100067(__this, /*hidden argument*/NULL); Graphic_t933884113 * L_0 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Inequality_m1296218211(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (!L_1) { goto IL_0044; } } { Graphic_t933884113 * L_2 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); NullCheck(L_2); VirtActionInvoker0::Invoke(24 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, L_2); Graphic_t933884113 * L_3 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); NullCheck(L_3); CanvasRenderer_t3626201768 * L_4 = Graphic_get_canvasRenderer_m184553434(L_3, /*hidden argument*/NULL); NullCheck(L_4); CanvasRenderer_set_hasPopInstruction_m2112255713(L_4, (bool)0, /*hidden argument*/NULL); Graphic_t933884113 * L_5 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); NullCheck(L_5); CanvasRenderer_t3626201768 * L_6 = Graphic_get_canvasRenderer_m184553434(L_5, /*hidden argument*/NULL); NullCheck(L_6); CanvasRenderer_set_popMaterialCount_m589784503(L_6, 0, /*hidden argument*/NULL); } IL_0044: { Material_t1886596500 * L_7 = __this->get_m_MaskMaterial_5(); IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t260192492_il2cpp_TypeInfo_var); StencilMaterial_Remove_m1013236306(NULL /*static, unused*/, L_7, /*hidden argument*/NULL); __this->set_m_MaskMaterial_5((Material_t1886596500 *)NULL); Material_t1886596500 * L_8 = __this->get_m_UnmaskMaterial_6(); StencilMaterial_Remove_m1013236306(NULL /*static, unused*/, L_8, /*hidden argument*/NULL); __this->set_m_UnmaskMaterial_6((Material_t1886596500 *)NULL); MaskUtilities_NotifyStencilStateChanged_m2159873435(NULL /*static, unused*/, __this, /*hidden argument*/NULL); return; } } // System.Boolean UnityEngine.UI.Mask::IsRaycastLocationValid(UnityEngine.Vector2,UnityEngine.Camera) extern Il2CppClass* RectTransformUtility_t2895919825_il2cpp_TypeInfo_var; extern const uint32_t Mask_IsRaycastLocationValid_m4053137295_MetadataUsageId; extern "C" bool Mask_IsRaycastLocationValid_m4053137295 (Mask_t3286245653 * __this, Vector2_t3525329788 ___sp0, Camera_t3533968274 * ___eventCamera1, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Mask_IsRaycastLocationValid_m4053137295_MetadataUsageId); s_Il2CppMethodIntialized = true; } { bool L_0 = Behaviour_get_isActiveAndEnabled_m210167461(__this, /*hidden argument*/NULL); if (L_0) { goto IL_000d; } } { return (bool)1; } IL_000d: { RectTransform_t3317474837 * L_1 = Mask_get_rectTransform_m950047934(__this, /*hidden argument*/NULL); Vector2_t3525329788 L_2 = ___sp0; Camera_t3533968274 * L_3 = ___eventCamera1; IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2895919825_il2cpp_TypeInfo_var); bool L_4 = RectTransformUtility_RectangleContainsScreenPoint_m1460676684(NULL /*static, unused*/, L_1, L_2, L_3, /*hidden argument*/NULL); return L_4; } } // UnityEngine.Material UnityEngine.UI.Mask::GetModifiedMaterial(UnityEngine.Material) extern Il2CppClass* Debug_t1588791936_il2cpp_TypeInfo_var; extern Il2CppClass* StencilMaterial_t260192492_il2cpp_TypeInfo_var; extern Il2CppCodeGenString* _stringLiteral4026608925; extern const uint32_t Mask_GetModifiedMaterial_m3826173342_MetadataUsageId; extern "C" Material_t1886596500 * Mask_GetModifiedMaterial_m3826173342 (Mask_t3286245653 * __this, Material_t1886596500 * ___baseMaterial0, const MethodInfo* method) { static bool s_Il2CppMethodIntialized; if (!s_Il2CppMethodIntialized) { il2cpp_codegen_initialize_method (Mask_GetModifiedMaterial_m3826173342_MetadataUsageId); s_Il2CppMethodIntialized = true; } Transform_t284553113 * V_0 = NULL; int32_t V_1 = 0; int32_t V_2 = 0; Material_t1886596500 * V_3 = NULL; Material_t1886596500 * V_4 = NULL; Material_t1886596500 * V_5 = NULL; Material_t1886596500 * V_6 = NULL; int32_t G_B8_0 = 0; int32_t G_B8_1 = 0; int32_t G_B8_2 = 0; Material_t1886596500 * G_B8_3 = NULL; int32_t G_B7_0 = 0; int32_t G_B7_1 = 0; int32_t G_B7_2 = 0; Material_t1886596500 * G_B7_3 = NULL; int32_t G_B9_0 = 0; int32_t G_B9_1 = 0; int32_t G_B9_2 = 0; int32_t G_B9_3 = 0; Material_t1886596500 * G_B9_4 = NULL; int32_t G_B12_0 = 0; int32_t G_B12_1 = 0; int32_t G_B12_2 = 0; Material_t1886596500 * G_B12_3 = NULL; int32_t G_B11_0 = 0; int32_t G_B11_1 = 0; int32_t G_B11_2 = 0; Material_t1886596500 * G_B11_3 = NULL; int32_t G_B13_0 = 0; int32_t G_B13_1 = 0; int32_t G_B13_2 = 0; int32_t G_B13_3 = 0; Material_t1886596500 * G_B13_4 = NULL; { Graphic_t933884113 * L_0 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); bool L_1 = Object_op_Equality_m3964590952(NULL /*static, unused*/, L_0, (Object_t3878351788 *)NULL, /*hidden argument*/NULL); if (L_1) { goto IL_001c; } } { bool L_2 = Behaviour_get_isActiveAndEnabled_m210167461(__this, /*hidden argument*/NULL); if (L_2) { goto IL_001e; } } IL_001c: { Material_t1886596500 * L_3 = ___baseMaterial0; return L_3; } IL_001e: { Transform_t284553113 * L_4 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); Transform_t284553113 * L_5 = MaskUtilities_FindRootSortOverrideCanvas_m4219954651(NULL /*static, unused*/, L_4, /*hidden argument*/NULL); V_0 = L_5; Transform_t284553113 * L_6 = Component_get_transform_m4257140443(__this, /*hidden argument*/NULL); Transform_t284553113 * L_7 = V_0; int32_t L_8 = MaskUtilities_GetStencilDepth_m2786493988(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL); V_1 = L_8; int32_t L_9 = V_1; if ((((int32_t)L_9) < ((int32_t)8))) { goto IL_0050; } } { GameObject_t4012695102 * L_10 = Component_get_gameObject_m1170635899(__this, /*hidden argument*/NULL); IL2CPP_RUNTIME_CLASS_INIT(Debug_t1588791936_il2cpp_TypeInfo_var); Debug_LogError_m214246398(NULL /*static, unused*/, _stringLiteral4026608925, L_10, /*hidden argument*/NULL); Material_t1886596500 * L_11 = ___baseMaterial0; return L_11; } IL_0050: { int32_t L_12 = V_1; V_2 = ((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)L_12&(int32_t)((int32_t)31))))); int32_t L_13 = V_2; if ((!(((uint32_t)L_13) == ((uint32_t)1)))) { goto IL_00db; } } { Material_t1886596500 * L_14 = ___baseMaterial0; bool L_15 = __this->get_m_ShowMaskGraphic_3(); G_B7_0 = 8; G_B7_1 = 2; G_B7_2 = 1; G_B7_3 = L_14; if (!L_15) { G_B8_0 = 8; G_B8_1 = 2; G_B8_2 = 1; G_B8_3 = L_14; goto IL_0074; } } { G_B9_0 = ((int32_t)15); G_B9_1 = G_B7_0; G_B9_2 = G_B7_1; G_B9_3 = G_B7_2; G_B9_4 = G_B7_3; goto IL_0075; } IL_0074: { G_B9_0 = 0; G_B9_1 = G_B8_0; G_B9_2 = G_B8_1; G_B9_3 = G_B8_2; G_B9_4 = G_B8_3; } IL_0075: { IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t260192492_il2cpp_TypeInfo_var); Material_t1886596500 * L_16 = StencilMaterial_Add_m310944030(NULL /*static, unused*/, G_B9_4, G_B9_3, G_B9_2, G_B9_1, G_B9_0, /*hidden argument*/NULL); V_3 = L_16; Material_t1886596500 * L_17 = __this->get_m_MaskMaterial_5(); StencilMaterial_Remove_m1013236306(NULL /*static, unused*/, L_17, /*hidden argument*/NULL); Material_t1886596500 * L_18 = V_3; __this->set_m_MaskMaterial_5(L_18); Material_t1886596500 * L_19 = ___baseMaterial0; Material_t1886596500 * L_20 = StencilMaterial_Add_m310944030(NULL /*static, unused*/, L_19, 1, 1, 8, 0, /*hidden argument*/NULL); V_4 = L_20; Material_t1886596500 * L_21 = __this->get_m_UnmaskMaterial_6(); StencilMaterial_Remove_m1013236306(NULL /*static, unused*/, L_21, /*hidden argument*/NULL); Material_t1886596500 * L_22 = V_4; __this->set_m_UnmaskMaterial_6(L_22); Graphic_t933884113 * L_23 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); NullCheck(L_23); CanvasRenderer_t3626201768 * L_24 = Graphic_get_canvasRenderer_m184553434(L_23, /*hidden argument*/NULL); NullCheck(L_24); CanvasRenderer_set_popMaterialCount_m589784503(L_24, 1, /*hidden argument*/NULL); Graphic_t933884113 * L_25 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); NullCheck(L_25); CanvasRenderer_t3626201768 * L_26 = Graphic_get_canvasRenderer_m184553434(L_25, /*hidden argument*/NULL); Material_t1886596500 * L_27 = __this->get_m_UnmaskMaterial_6(); NullCheck(L_26); CanvasRenderer_SetPopMaterial_m1315408685(L_26, L_27, 0, /*hidden argument*/NULL); Material_t1886596500 * L_28 = __this->get_m_MaskMaterial_5(); return L_28; } IL_00db: { Material_t1886596500 * L_29 = ___baseMaterial0; int32_t L_30 = V_2; int32_t L_31 = V_2; bool L_32 = __this->get_m_ShowMaskGraphic_3(); G_B11_0 = 3; G_B11_1 = 2; G_B11_2 = ((int32_t)((int32_t)L_30|(int32_t)((int32_t)((int32_t)L_31-(int32_t)1)))); G_B11_3 = L_29; if (!L_32) { G_B12_0 = 3; G_B12_1 = 2; G_B12_2 = ((int32_t)((int32_t)L_30|(int32_t)((int32_t)((int32_t)L_31-(int32_t)1)))); G_B12_3 = L_29; goto IL_00f5; } } { G_B13_0 = ((int32_t)15); G_B13_1 = G_B11_0; G_B13_2 = G_B11_1; G_B13_3 = G_B11_2; G_B13_4 = G_B11_3; goto IL_00f6; } IL_00f5: { G_B13_0 = 0; G_B13_1 = G_B12_0; G_B13_2 = G_B12_1; G_B13_3 = G_B12_2; G_B13_4 = G_B12_3; } IL_00f6: { int32_t L_33 = V_2; int32_t L_34 = V_2; int32_t L_35 = V_2; IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t260192492_il2cpp_TypeInfo_var); Material_t1886596500 * L_36 = StencilMaterial_Add_m264449278(NULL /*static, unused*/, G_B13_4, G_B13_3, G_B13_2, G_B13_1, G_B13_0, ((int32_t)((int32_t)L_33-(int32_t)1)), ((int32_t)((int32_t)L_34|(int32_t)((int32_t)((int32_t)L_35-(int32_t)1)))), /*hidden argument*/NULL); V_5 = L_36; Material_t1886596500 * L_37 = __this->get_m_MaskMaterial_5(); StencilMaterial_Remove_m1013236306(NULL /*static, unused*/, L_37, /*hidden argument*/NULL); Material_t1886596500 * L_38 = V_5; __this->set_m_MaskMaterial_5(L_38); Graphic_t933884113 * L_39 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); NullCheck(L_39); CanvasRenderer_t3626201768 * L_40 = Graphic_get_canvasRenderer_m184553434(L_39, /*hidden argument*/NULL); NullCheck(L_40); CanvasRenderer_set_hasPopInstruction_m2112255713(L_40, (bool)1, /*hidden argument*/NULL); Material_t1886596500 * L_41 = ___baseMaterial0; int32_t L_42 = V_2; int32_t L_43 = V_2; int32_t L_44 = V_2; int32_t L_45 = V_2; Material_t1886596500 * L_46 = StencilMaterial_Add_m264449278(NULL /*static, unused*/, L_41, ((int32_t)((int32_t)L_42-(int32_t)1)), 2, 3, 0, ((int32_t)((int32_t)L_43-(int32_t)1)), ((int32_t)((int32_t)L_44|(int32_t)((int32_t)((int32_t)L_45-(int32_t)1)))), /*hidden argument*/NULL); V_6 = L_46; Material_t1886596500 * L_47 = __this->get_m_UnmaskMaterial_6(); StencilMaterial_Remove_m1013236306(NULL /*static, unused*/, L_47, /*hidden argument*/NULL); Material_t1886596500 * L_48 = V_6; __this->set_m_UnmaskMaterial_6(L_48); Graphic_t933884113 * L_49 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); NullCheck(L_49); CanvasRenderer_t3626201768 * L_50 = Graphic_get_canvasRenderer_m184553434(L_49, /*hidden argument*/NULL); NullCheck(L_50); CanvasRenderer_set_popMaterialCount_m589784503(L_50, 1, /*hidden argument*/NULL); Graphic_t933884113 * L_51 = Mask_get_graphic_m2101144526(__this, /*hidden argument*/NULL); NullCheck(L_51); CanvasRenderer_t3626201768 * L_52 = Graphic_get_canvasRenderer_m184553434(L_51, /*hidden argument*/NULL); Material_t1886596500 * L_53 = __this->get_m_UnmaskMaterial_6(); NullCheck(L_52); CanvasRenderer_SetPopMaterial_m1315408685(L_52, L_53, 0, /*hidden argument*/NULL); Material_t1886596500 * L_54 = __this->get_m_MaskMaterial_5(); return L_54; } } #ifdef __clang__ #pragma clang diagnostic pop #endif
[ "michaelmiettinen@Michael-MacBook-Pro.local" ]
michaelmiettinen@Michael-MacBook-Pro.local
865a9a56575bb63bc64154003f9456be40ca0385
a7dbcd6b5e8006c10394cdde9617e502596635fd
/src/board/board.h
83d109d149ed219350a00a730d8d62139d228e5e
[]
no_license
VladKk/queen_move
1e66f29389099fdf9970dcaffc7deb68e2d66857
0cd1f351092031ade465fa5e366c7d38990be48b
refs/heads/master
2023-02-07T09:10:13.961903
2020-12-28T10:20:53
2020-12-28T10:20:53
324,595,704
0
0
null
null
null
null
UTF-8
C++
false
false
661
h
#ifndef QUEEN_MOVE_BOARD_H #define QUEEN_MOVE_BOARD_H #include <QString> #include <QGenericMatrix> #define BOARD_SIZE 8 class Board { public: Board(); ~Board() = default; static QPair<uint8_t, uint8_t> parseSquareNameToMatrixPos(QString squareName); static QString parseMatrixPosToSquareName(QPair<uint8_t, uint8_t> matrixPos); void getAllAvailableMoves(QPair<uint8_t, uint8_t> queenPos); void clearBoard(); [[nodiscard]] const QGenericMatrix<BOARD_SIZE, BOARD_SIZE, bool> &getMBoard() const; private: // Use board as matrix QGenericMatrix<BOARD_SIZE, BOARD_SIZE, bool> m_board; }; #endif //QUEEN_MOVE_BOARD_H
[ "mrvlad008@gmail.com" ]
mrvlad008@gmail.com
254500f4925013c183ab8b91b04fa3a7c645067a
e8d6f4d176ef1a041b47409436a2e62f4a16f403
/enciption/enciption/enciption.cpp
d3269bee4c95fa8f394f08c47017577cca5a0886
[]
no_license
tianxiao/learn-opencv
ff5b1d966ffe7c2dc13c164a32f283f9b9dff24e
6dd50101e0824f2dfaeceec54f97f5b87bced32d
refs/heads/master
2020-04-06T07:03:01.454498
2013-07-17T11:48:40
2013-07-17T11:48:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
818
cpp
// enciption.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <opencv2/opencv.hpp> #include "xtCreateImageViewer.h" #include "xtCharHelp.h" int _tmain(int argc, _TCHAR* argv[]) { char **charargv = new char*[argc]; for ( int i=0; i<argc; ++i ) { charargv[i] = xtCharHelp::WCharToCharPtr(argv[i]); } //xtCreateImageViewer::LoadDisplaySmoothImage(); //xtCreateImageViewer::LoadDisplayResizeImage(); //xtCreateImageViewer::LoadDisplaCannyProcess(); //xtCreateImageViewer::LoadROIImage(); //xtCreateImageViewer::LoadROIImage(argc,charargv); //xtCreateImageViewer::ConvertImageToGray(argc,charargv); xtCreateImageViewer::DumpToPPM(); //xtCreateImageViewer::DrawCircle(); for ( int i=0; i<argc; ++i ) { delete [] charargv[i]; } delete []charargv; return 0; }
[ "tianxiao987@gmail.com" ]
tianxiao987@gmail.com
a98686fe23d70fe4e5c4979f17a7df9281d5135e
2f557f60fc609c03fbb42badf2c4f41ef2e60227
/CondFormats/SiPixelObjects/interface/SiPixelFEDChannelContainer.h
3389b94009a3e42ea70f904af4d36e74622be688
[ "Apache-2.0" ]
permissive
CMS-TMTT/cmssw
91d70fc40a7110832a2ceb2dc08c15b5a299bd3b
80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7
refs/heads/TMTT_1060
2020-03-24T07:49:39.440996
2020-03-04T17:21:36
2020-03-04T17:21:36
142,576,342
3
5
Apache-2.0
2019-12-05T21:16:34
2018-07-27T12:48:13
C++
UTF-8
C++
false
false
1,986
h
#ifndef CondFormats_SiPixelObjects_SiPixelFEDChannelContainer_h #define CondFormats_SiPixelObjects_SiPixelFEDChannelContainer_h #include "CondFormats/Serialization/interface/Serializable.h" #include "DataFormats/DetId/interface/DetId.h" #include "DataFormats/SiPixelDetId/interface/PixelFEDChannel.h" // N.B. a DataFormat is serialized here (need for dedicated serialization rules, see CondFormats/External/interface/PixelFEDChannel.h) #include <map> #include <string> #include <vector> class SiPixelFEDChannelContainer{ public: typedef std::map<DetId,std::vector<PixelFEDChannel> > SiPixelFEDChannelCollection; typedef std::unordered_map<std::string, SiPixelFEDChannelCollection> SiPixelBadFEDChannelsScenarioMap; SiPixelFEDChannelContainer(){} SiPixelFEDChannelContainer( const SiPixelFEDChannelContainer& rhs ){ m_scenarioMap = rhs.getScenarioMap(); }; virtual ~SiPixelFEDChannelContainer(){} void setScenario(const std::string &theScenarioId, const SiPixelFEDChannelCollection &theBadFEDChannels); const SiPixelBadFEDChannelsScenarioMap& getScenarioMap () const {return m_scenarioMap;} SiPixelFEDChannelCollection getSiPixelBadFedChannels(const std::string &ScenarioId) const; const SiPixelFEDChannelCollection & getSiPixelBadFedChannels(const std::string &ScenarioId); const std::vector<PixelFEDChannel>& getSiPixelBadFedChannelsInDetId(const std::string &theScenarioId,DetId theDetId); std::unique_ptr<PixelFEDChannelCollection> getDetSetBadPixelFedChannels(const std::string &ScenarioId) const; double size()const {return m_scenarioMap.size();} std::vector<std::string> getScenarioList() const; void printAll() const; //dumping values on output stream void print(std::ostream & os) const; private: SiPixelBadFEDChannelsScenarioMap m_scenarioMap; COND_SERIALIZABLE; }; std::ostream & operator<<( std::ostream &, SiPixelFEDChannelContainer FEDChannels); #endif //CondFormats_SiPixelObjects_SiPixelFEDChannelContainer_h
[ "marco.musich@cern.ch" ]
marco.musich@cern.ch
7984cc219b38be3e717ce0f709195e8b80706024
157f19396f2040cf19f4b45e08af13c622cd3d9d
/firmware/src/main.cpp
9d9241f1218e14c5d5f2c11971032212599131a7
[]
no_license
tealord/wifi-led-stripes
de159794be062d4db1bc0013a82c88beb94405fd
65dcf6bcdbc6a7ad26ed08e8fff98da6acb3c267
refs/heads/master
2022-12-29T08:00:13.284366
2020-09-29T16:42:26
2020-09-29T16:42:26
259,670,937
0
0
null
null
null
null
UTF-8
C++
false
false
9,265
cpp
#include <Arduino.h> #include <SPI.h> #include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266mDNS.h> #include <ESP8266WebServer.h> #define MODE_OFF 0 #define MODE_COLOR 1 #define MODE_SPOT 2 #define MODE_FADE_COLOR 3 #define FADE_UP 0 #define FADE_DOWN 1 // // change this // #define LEDS 100 const char *ssid = "your-ssid"; const char *password = "your-password"; const char *mdnsname = "wifi-led-stripes"; unsigned char ledStrip[LEDS][4]; unsigned char mode = MODE_COLOR; unsigned long lastMillis; unsigned int spotPosition = 0; unsigned int spotSpeed = 50; unsigned int spotMaxBrightness = 6; unsigned int fadeSpeed = 50; bool fadeIn = false; bool fadeOut = false; bool fadeDirection = FADE_UP; ESP8266WebServer server(80); unsigned char setBrightness(unsigned char level); unsigned char getBrightness(unsigned char level); void lightsOn(); void fadeColor(); void fadeSpot(); void setSpot(unsigned int position, unsigned int maxBrightness); void handleRoot(); void handleColor(); void handleSpot(); void handleNotFound(); String html(); void setup(void) { // basic setup Serial.begin(115200); delay(10); Serial.println(); // ledstrip setup SPI.begin(); SPI.setBitOrder(MSBFIRST); for (int i = 0; i < LEDS; i++) { ledStrip[i][0] = setBrightness(10); ledStrip[i][1] = 0x00; ledStrip[i][2] = 0x00; ledStrip[i][3] = 0x00; } lightsOn(); // wifi setup WiFi.begin(ssid, password); Serial.print("Connecting ..."); while (WiFi.status() != WL_CONNECTED) { delay (250); Serial.print("."); } Serial.println(); Serial.print("Connected to: "); Serial.println(ssid); Serial.print("IP-Address: "); Serial.println(WiFi.localIP()); /// mdns setup if (MDNS.begin(mdnsname)) { Serial.print("mDNS responder started: "); Serial.print(mdnsname); Serial.println(".local"); } else { Serial.println("Error setting up MDNS responder!"); } // http server setup server.on("/", HTTP_GET, handleRoot); server.on("/color", HTTP_GET, handleColor); server.on("/spot", HTTP_GET, handleSpot); server.onNotFound(handleNotFound); server.begin(); Serial.println("HTTP server started"); } void loop(void) { server.handleClient(); MDNS.update(); switch (mode) { case MODE_FADE_COLOR: fadeColor(); break; case MODE_SPOT: if (spotSpeed != 0) fadeSpot(); break; default: break; } } unsigned char setBrightness(unsigned char level) { // set levels from 0 to 31 return (0xe0 | level); } unsigned char getBrightness(unsigned char level) { return (0x1f & level); } void lightsOn() { for (int i = 0; i <= 3; i++) { SPI.transfer(0x00); } for (int i = 0; i < LEDS; i++) { SPI.transfer(ledStrip[i][0]); SPI.transfer(ledStrip[i][1]); SPI.transfer(ledStrip[i][2]); SPI.transfer(ledStrip[i][3]); } for (int i = 0; i < LEDS/2; i++) { SPI.transfer(0x01); } } void fadeColor() { if (lastMillis + fadeSpeed > millis()) { return; } lastMillis = millis(); unsigned char currentBrightness = getBrightness(ledStrip[0][0]); if (fadeDirection == FADE_UP) { currentBrightness++; if (currentBrightness == 31) { fadeDirection = FADE_DOWN; } } if (fadeDirection == FADE_DOWN) { currentBrightness--; if (currentBrightness == 0) { fadeDirection = FADE_UP; unsigned char blue = random(256); unsigned char green = random(256); unsigned char red = random(256); for (int i = 0; i < LEDS; i++) { ledStrip[i][1] = blue; ledStrip[i][2] = green; ledStrip[i][3] = red; } } } for (int i = 0; i < LEDS; i++) { ledStrip[i][0] = setBrightness(currentBrightness); } lightsOn(); } void fadeSpot() { if (lastMillis + spotSpeed > millis()) { return; } lastMillis = millis(); if (fadeOut) { for (int i = 0; i < LEDS; i++) { unsigned char currentBrightness = getBrightness(ledStrip[i][0]); if (currentBrightness > 0) { ledStrip[i][0] = setBrightness(currentBrightness - 1); } } if (getBrightness(ledStrip[LEDS - 1][0]) == 0) { fadeOut = false; fadeIn = true; } lightsOn(); return; } if (fadeIn) { for (int i = 0; i < LEDS; i++) { unsigned char currentBrightness = getBrightness(ledStrip[i][0]); ledStrip[i][0] = setBrightness(currentBrightness + 1); if (currentBrightness == 0) { break; } } if (getBrightness(ledStrip[0][0]) == spotMaxBrightness) { spotPosition = 0; fadeIn = false; } lightsOn(); return; } spotPosition++; if (spotPosition == LEDS) { fadeOut = true; } setSpot(spotPosition, spotMaxBrightness); } void setSpot(unsigned int position, unsigned int maxBrightness) { ledStrip[position][0] = setBrightness(maxBrightness); for (int i = position + 1; i < LEDS; i++) { int lastBrightness = getBrightness(ledStrip[i - 1][0]); int newBrightness = 0; if (lastBrightness > 0) { newBrightness = lastBrightness - 1; } ledStrip[i][0] = setBrightness(newBrightness); } for (int i = position - 1; i >= 0; i--) { int lastBrightness = getBrightness(ledStrip[i + 1][0]); int newBrightness = 0; if (lastBrightness > 0) { newBrightness = lastBrightness - 1; } ledStrip[i][0] = setBrightness(newBrightness); } lightsOn(); } void handleRoot() { if (server.hasArg("action") && server.arg("action") == "Aus") { mode = MODE_OFF; for (int i = 0; i < LEDS; i++) { ledStrip[i][0] = setBrightness(0); } lightsOn(); } if (server.hasArg("action") && server.arg("action") == "Farbwechsel") { mode = MODE_FADE_COLOR; } server.send(200, "text/html", html()); } void handleColor() { mode = MODE_COLOR; char c_blue[3] = { server.arg("colorpicker").charAt(5), server.arg("colorpicker").charAt(6), '\0' }; char c_green[3] = { server.arg("colorpicker").charAt(3), server.arg("colorpicker").charAt(4), '\0' }; char c_red[3] = { server.arg("colorpicker").charAt(1), server.arg("colorpicker").charAt(2), '\0' }; unsigned char blue = (int)strtol(c_blue, NULL, 16); unsigned char green = (int)strtol(c_green, NULL, 16); unsigned char red = (int)strtol(c_red, NULL, 16); unsigned char brightness = server.arg("brightness").toInt(); for (int i = 0; i < LEDS; i++) { ledStrip[i][0] = setBrightness(brightness); ledStrip[i][1] = blue; ledStrip[i][2] = green; ledStrip[i][3] = red; } lightsOn(); server.send(200, "text/html", html()); } void handleSpot() { mode = MODE_SPOT; spotPosition = server.arg("position").toInt(); spotSpeed = server.arg("speed").toInt(); spotMaxBrightness = server.arg("brightness").toInt(); if (spotSpeed != 0) { spotSpeed = map(spotSpeed,1,100,100,10); } setSpot(spotPosition, spotMaxBrightness); server.send(200, "text/html", html()); } void handleNotFound() { server.sendHeader("Location", "/", true); server.send(307, "text/plain", ""); } String html() { // // Color-Picker // // get rgb value String hexValue = "#"; char red[3]; char green[3]; char blue[3]; sprintf(red, "%02x", ledStrip[0][3]); sprintf(green, "%02x", ledStrip[0][2]); sprintf(blue, "%02x", ledStrip[0][1]); hexValue = hexValue + red + green + blue; // // Spot-Light // // speed back mapping String spotSpeedMap = "0"; if (spotSpeed != 0) { spotSpeedMap = String(map(spotSpeed,100,10,1,100)); } String ptr = R"=====( <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <title>LED-Control</title> <style> body { background-color: antiquewhite; font-family: sans-serif; } div.settings { display:grid; grid-template-columns: max-content max-content; grid-gap:5px; } div.settings label { text-align:right; } div.settings label:after { content: ":"; } </style> </head> <body> <h1>LED-Control</h1> <form action="/" method="GET"> <div class="settings"> <input type="submit" name="action" value="Aus"> <input type="submit" name="action" value="Farbwechsel"> </div> </form> <h1>Color-Picker</h1> <form action="/color" method="GET"> <div class="settings"> <label for="brightness">Helligkeit</label><input type="range" name="brightness" value=")====="; ptr += String(getBrightness(ledStrip[0][0])); ptr += R"=====(" min="0" max="31" step="1.0" onchange="this.form.submit()"> <label for="colorpicker">Farbe</label><input type="color" name="colorpicker" value=")====="; ptr += hexValue; ptr += R"=====(" onchange="this.form.submit()"> </div> </form> <h1>Spot-Light</h1> <form action="/spot" method="GET"> <div class="settings"> <label for="brightness">Helligkeit</label><input type="range" name="brightness" value=")====="; ptr += String(spotMaxBrightness); ptr += R"=====(" min="0" max="31" step="1.0" onchange="this.form.submit()"> <label for="speed">Geschwindigkeit</label><input type="range" name="speed" value=")====="; ptr += String(spotSpeedMap); ptr += R"=====(" min="0" max="100" step="1.0" onchange="this.form.submit()"> <label for="position">Position</label><input type="range" name="position" value=")====="; ptr += String(spotPosition); ptr += R"=====(" min="0" max=")====="; ptr += String(LEDS - 1); ptr += R"=====(" step="1.0" onchange="this.form.submit()"> </div> </form> </body> </html> )====="; return ptr; }
[ "mail@sezi.eu" ]
mail@sezi.eu
c386e3b053a911b66f2da4cc70487e4a594b6ff9
25aa3563f57ef8d32c2989d0ed239edbbb841228
/BZOJ/bzoj1500.cpp
e6b06bd9585b0c64345d7f8d8dca4d837502f1f0
[]
no_license
tonglin0/Algorithm-Problems
491e809b1d874cb6339cebde6f87ca7382af9b5a
22d6ee385d67ac54dcf070f891f1e6053401e83f
refs/heads/master
2020-04-08T19:24:24.304575
2018-11-24T17:00:15
2018-11-24T17:00:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,767
cpp
#include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #define MN 801000 #define INF (int)1e9 #define size sz #define val key #define lx lm #define rx rm #define mx mn #define K ch[ch[root][1]][0] using namespace std; int pre[MN],ch[MN][2],sz[MN],key[MN],rev[MN],sum[MN],set[MN],lm[MN],mn[MN],rm[MN]; int a[MN],s[MN]; int tot1,tot2,root,n; char str[MN]; void newnode(int &r,int fa,int k) { if (tot2) r=s[tot2--]; else r=++tot1; pre[r]=fa; ch[r][0]=ch[r][1]=rev[r]=0; key[r]=k; lm[r]=rm[r]=mn[r]=sum[r]=k; sz[r]=1; set[r]=INF; } void pushup(int x){ int l=ch[x][0],r=ch[x][1]; size[x]=size[l]+size[r]+1; sum[x]=sum[l]+sum[r]+val[x]; lx[x]=max(lx[l],sum[l]+val[x]+max(0,lx[r])); rx[x]=max(rx[r],sum[r]+val[x]+max(0,rx[l])); mx[x]=max(0,rx[l])+val[x]+max(0,lx[r]); mx[x]=max(mx[l],max(mx[r],mx[x])); } void update_rev(int x) { if (!x) return ; rev[x]^=1; swap(ch[x][0],ch[x][1]); swap(lm[x],rm[x]); } void update_set(int x,int k) { if (!x) return ; key[x]=k; rev[x]=0; set[x]=k; sum[x]=sz[x]*k; mn[x]=max(sum[x],k); lm[x]=rm[x]=mn[x]; } void pushdown(int x) { int lc=ch[x][0]; int rc=ch[x][1]; if (set[x]<=1001) { update_set(lc,set[x]); update_set(rc,set[x]); set[x]=INF; } if (rev[x]) { update_rev(lc); update_rev(rc); rev[x]=0; } } void rotate(int x,int kind) { int y=pre[x]; ch[y][!kind]=ch[x][kind]; pre[ch[x][kind]]=y; if (pre[y]) ch[pre[y]][ch[pre[y]][1]==y]=x; pre[x]=pre[y]; pre[y]=x; ch[x][kind]=y; pushup(y); pushup(x); } void splay(int x,int goal) { pushdown(x); while(pre[x]!=goal) { if (pre[pre[x]]==goal) { int y=pre[x]; pushdown(y); pushdown(x); rotate(x,ch[y][0]==x); } else { int y=pre[x]; int z=pre[y]; pushdown(z); pushdown(y); pushdown(x); int kind=(ch[z][0]==y); if (ch[y][kind]==x) { rotate(x,!kind); rotate(x,kind); } else { rotate(y,kind); rotate(x,kind); } } } pushup(x); if (goal==0) root=x; } void build(int &x,int l,int r,int fa) { if (l>r) return ; int mid=(l+r)>>1; newnode(x,fa,a[mid]); if (l<mid) build(ch[x][0],l,mid-1,x); if (r>mid) build(ch[x][1],mid+1,r,x); pushup(x); } void init() { tot1=tot2=root=0; ch[0][0]=ch[0][1]=pre[0]=sz[0]=set[0]=rev[0]=sum[0]=mn[0]=key[0]=0; mn[0]=lm[0]=rm[0]=-INF; newnode(root,0,-INF); newnode(ch[root][1],root,-INF); sz[root]=2; build(K,1,n,ch[root][1]); pushup(ch[root][1]); pushup(root); } void del(int x) { if (ch[x][0]) del(ch[x][0]); s[++tot2]=x; if (ch[x][1]) del(ch[x][1]); } int get_kth(int k) { int r=root; pushdown(r); while(r) { if (sz[ch[r][0]]==k) return r; if (sz[ch[r][0]]>k) r=ch[r][0]; else { k-=(sz[ch[r][0]]+1); r=ch[r][1]; } pushdown(r); } } void debug(int x) { pushdown(x); if (ch[x][0]) debug(ch[x][0]); if (key[x]!=-INF) printf("%d ",key[x]); if (ch[x][1]) debug(ch[x][1]); } int main() { freopen("1500.in","r",stdin); freopen("1500.out","w",stdout); int m,i,j,k; scanf("%d%d",&n,&m); for (i=1;i<=n;i++) scanf("%d",&a[i]); init(); while(m--) { scanf("%s",str); if (str[0]=='I') { int l,p,r; scanf("%d%d",&p,&n); for (i=1;i<=n;i++) scanf("%d",&a[i]); l=get_kth(p); splay(l,0); r=get_kth(p+1); splay(r,root); build(K,1,n,ch[root][1]); pushup(ch[root][1]); pushup(root); } else if (str[0]=='D') { int p,l,r,f; scanf("%d%d",&p,&f); l=get_kth(p-1); r=get_kth(p+f); splay(l,0); splay(r,root); del(K); pre[K]=0; K=0; pushup(ch[root][1]); pushup(root); } else if (str[0]=='R') { int l,r,p,f; scanf("%d%d",&p,&f); l=get_kth(p-1); r=get_kth(p+f); splay(l,0); splay(r,root); update_rev(K); pushup(ch[root][1]); pushup(root); } else if (str[0]=='G') { int l,r,p,f; scanf("%d%d",&p,&f); l=get_kth(p-1); r=get_kth(p+f); splay(l,0); splay(r,root); printf("%d\n",sum[K]); } else if (str[2]=='K') { int p,l,r,f,k; scanf("%d%d%d",&p,&f,&k); l=get_kth(p-1); r=get_kth(f+p); splay(l,0); splay(r,root); update_set(K,k); pushup(ch[root][1]); pushup(root); } else { int l,r; l=0; r=sz[root]-1; l=get_kth(l); r=get_kth(r); splay(l,0); splay(r,root); printf("%d\n",mn[K]); } } return 0; }
[ "392377379@qq.com" ]
392377379@qq.com
cd7015d691cc236c63e396150896952fda9664a9
c7507cf81fb6fea27f36f9ec08962d4f7778a6d1
/KNR_20200726/Lena01View.h
bf55ed9b7624a1315e8e5cbe8d1230a1a3219899
[]
no_license
SeongHwan-Lim/MFC_ImageProcessing
e4ac291926763785e000b8f68774f656fe21df3e
05718d7e101c08a28f1d9477eba8ddfad2989703
refs/heads/master
2022-11-29T15:21:41.293041
2020-08-07T23:56:08
2020-08-07T23:56:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,319
h
 // Lena01View.h: CLena01View 클래스의 인터페이스 // #pragma once class CLena01View : public CView { protected: // serialization에서만 만들어집니다. CLena01View() noexcept; DECLARE_DYNCREATE(CLena01View) // 특성입니다. public: CLena01Doc* GetDocument() const; // 작업입니다. public: // 재정의입니다. public: virtual void OnDraw(CDC* pDC); // 이 뷰를 그리기 위해 재정의되었습니다. virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual BOOL OnPreparePrinting(CPrintInfo* pInfo); virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo); virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo); // 구현입니다. public: virtual ~CLena01View(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // 생성된 메시지 맵 함수 protected: afx_msg void OnFilePrintPreview(); afx_msg void OnRButtonUp(UINT nFlags, CPoint point); afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); DECLARE_MESSAGE_MAP() public: BITMAPINFO* BmInfo; afx_msg void OnBinarization(); afx_msg void OnFrameAnd(); }; #ifndef _DEBUG // Lena01View.cpp의 디버그 버전 inline CLena01Doc* CLena01View::GetDocument() const { return reinterpret_cast<CLena01Doc*>(m_pDocument); } #endif
[ "knr64640@gmail.com" ]
knr64640@gmail.com
e6638abb9aa36f2cb8133904b238160fd76a83fd
b63fcd7729cd5862fcab9d715cfb7e5f09e4c82d
/code/00.cpp
786ab12e014c8bc1032e0f6e6cfdbda244bf6a9c
[ "MIT" ]
permissive
devendra-ghate/cpp
a1c441acb8adf0849782339cac652415cb68ac29
3faff2fc3e8df0f56550c6376a3cfa85b1da6f2b
refs/heads/master
2020-09-24T21:48:11.900936
2019-12-04T16:50:55
2019-12-04T16:50:55
225,850,772
0
0
null
null
null
null
UTF-8
C++
false
false
74
cpp
#include<iostream> int main(){ std::cout<<"Hello World"<<std::endl; }
[ "devendra.ghate@gmail.com" ]
devendra.ghate@gmail.com
c3ea6b628ee45c1bc6db2b65013293ce785f568f
fe2836176ca940977734312801f647c12e32a297
/LeetCode/G2019/167.cpp
ae733dd326b8da067bb078ede7ee0754fa1b9b59
[]
no_license
henrybear327/Sandbox
ef26d96bc5cbcdc1ce04bf507e19212ca3ceb064
d77627dd713035ab89c755a515da95ecb1b1121b
refs/heads/master
2022-12-25T16:11:03.363028
2022-12-10T21:08:41
2022-12-10T21:08:41
53,817,848
2
0
null
null
null
null
UTF-8
C++
false
false
1,435
cpp
class Solution { public: vector<int> twoSum(vector<int> &numbers, int target) { int n = numbers.size(); vector<int> ans; for (int i = 0; i < n; i++) { int lookFor = target - numbers[i]; // lowerbound // auto lb = lower_bound(numbers.begin() + i + 1, numbers.end(), lookFor); // if(lb != numbers.end() && *lb == lookFor) { // ans = vector<int>{i + 1, lb - numbers.begin() + 1}; // break; // } int l = i, r = n; //(l, r) while (r - l > 1) { int mid = (l + r) / 2; if (numbers[mid] < lookFor) l = mid; else r = mid; } if (r < n && numbers[r] == lookFor) { ans = vector<int> {i + 1, r + 1}; break; } } return ans; } }; class Solution { public: vector<int> twoSum(vector<int> &numbers, int target) { // two pointers // -> val inc <- val dec // a b c d e int l = 0, r = numbers.size() - 1; while (l < r) { int sum = numbers[l] + numbers[r]; if (sum < target) l++; else if (sum > target) r--; else break; } return vector<int> {l + 1, r + 1}; } };
[ "henrybear327@gmail.com" ]
henrybear327@gmail.com
d99f78024cfc0dd20613f24ba09a66264cd2c6f8
8f9a6ca8f37eb4a85e4a0519bc76d6a4525493cc
/interviewbit/linked-list/remove-duplicates-from-sorted-list-ii.cpp
3e5fa00864958d805958b09ea5cc06cd4c6626cd
[]
no_license
shivam04/codes
58057cc7c79171fdad6b597f744448573f581ea0
46f7c0f0f81304b2169a1a25ed7e95835d63e92c
refs/heads/master
2023-07-19T17:17:21.414147
2023-07-09T17:41:07
2023-07-09T17:41:07
75,619,021
5
1
null
null
null
null
UTF-8
C++
false
false
749
cpp
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ ListNode* Solution::deleteDuplicates(ListNode* A) { ListNode *temp = (struct ListNode*) malloc(sizeof(struct ListNode));; temp->val = 0; temp->next = A; ListNode *c = A; ListNode *prev = temp; //int y = A->val; while(c){ int flag = 0; while(c->next!=NULL and prev->next->val==c->next->val){ c = c->next; } if(prev->next==c){ prev = prev->next; } else{ prev->next = c->next; } c = c->next; } A = temp->next; return A; }
[ "sinhashivam04@gmail.com" ]
sinhashivam04@gmail.com
810bc8ed92a252c85c546d87427b5fbc7f008304
e0b9399bd664d1d2508b523f6a1dd09d1db832f6
/test/BulletTest/src/BulletTestApp.cpp
e0af266c9ed3ca22ae7ebebf2074fc3d0d86a0a1
[]
no_license
BanTheRewind/Cinder-Bullet
a04a1b7e7e1d34072d5e81fc34e2786075e4f017
1fdc39e096b6599203209457f19b3123d260513c
refs/heads/master
2020-12-24T15:13:51.545011
2013-07-08T22:57:39
2013-07-08T22:57:39
3,497,384
2
0
null
null
null
null
UTF-8
C++
false
false
19,592
cpp
/* * CinderBullet originally created by Peter Holzkorn on 2/16/10 * * Copyright (c) 2013, Ban the Rewind * All rights reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * Neither the name of the Ban the Rewind nor the names of its * contributors may be used to endorse or promote products * derived from this software without specific prior written * permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ #pragma once #include "cinder/app/AppBasic.h" #include "cinder/gl/Light.h" #include "cinder/gl/Texture.h" #include "cinder/gl/Vbo.h" #include "cinder/Camera.h" #include "cinder/Capture.h" #include "cinder/ImageIo.h" #include "cinder/ip/Flip.h" #include "cinder/ObjLoader.h" #include "cinder/params/Params.h" #include "cinder/Rand.h" #include "cinder/Surface.h" #include "cinder/TriMesh.h" #include "cinder/Utilities.h" #include "CinderBullet.h" #include "MeshHelper.h" #include "Resources.h" // This class demonstrates how to use inheritance to expand a body's // capabilities. This extends a RigidTerrain to turn it into a dynamic // landscape. class DynamicTerrain : public bullet::RigidTerrain { public: DynamicTerrain( const ci::Channel32f &heightField, float minHeight = -1.0f, float maxHeight = 1.0f, const ci::Vec3f &scale = ci::Vec3f::one(), float mass = 1.0f, const ci::Vec3f &position = ci::Vec3f::zero(), const ci::Quatf &rotation = ci::Quatf() ) : RigidTerrain( heightField, minHeight, maxHeight, scale, mass, position, rotation ) { } // Give access to the terrain channel data and texture coordinates ci::Channel32f& getData() { return mChannel; } std::vector<ci::Vec2f>& getTexCoords() { return mTexCoords; } // Bullet automatically updates the terrain from the channel. This // method will update the VBO, as well. void updateMesh() { readChannelData(); } }; // Cinder-Bullet test application class BulletTestApp : public ci::app::AppBasic { public: void draw(); void mouseDown( ci::app::MouseEvent event ); void mouseDrag( ci::app::MouseEvent event ); void mouseUp( ci::app::MouseEvent event ); void mouseWheel( ci::app::MouseEvent event ); void prepareSettings( ci::app::AppBasic::Settings* settings ); void resize(); void setup(); void shutdown(); void update(); private: static const uint32_t MAX_OBJECTS = 300; static const uint32_t MAX_OBJECTS_TERRAIN = 80; void drop(); void initTest(); int32_t mTest; int32_t mTestPrev; ci::Surface mSurface; ci::CameraPersp mCamera; ci::gl::Light* mLight; ci::gl::VboMeshRef mCone; ci::gl::VboMeshRef mCube; ci::gl::VboMeshRef mCylinder; ci::gl::VboMeshRef mSphere; ci::TriMesh mConcave; ci::TriMesh mConvex; ci::TriMesh mSoftCube; ci::Capture mCapture; DynamicTerrain* mTerrain; bullet::CollisionObjectRef mGround; btTransform mGroundTransform; bullet::DynamicsWorldRef mWorld; bullet::Constraint mDragConstraint; bool mDragging; ci::gl::Texture mTexSquare; ci::gl::Texture mTexSphere; ci::gl::Texture mTexTerrain; void bindTexture( uint32_t index ); void unbindTexture( uint32_t index ); float mFrameRate; ci::params::InterfaceGl mParams; void screenShot(); }; using namespace bullet; using namespace ci; using namespace ci::app; using namespace std; void BulletTestApp::bindTexture( uint32_t index ) { if ( mTest > 4 && mTest < 8 ) { if ( index == 0 ) { mTexTerrain.bind(); } else { if ( mTest < 7 ) { mTexSphere.bind(); } } } else { if ( ( ( mTest == 0 || mTest == 3 || mTest == 8 ) && index > 0 ) || mTest == 1 ) { mTexSquare.bind(); } } } void BulletTestApp::unbindTexture( uint32_t index ) { if ( mTest > 4 && mTest < 8 ) { if ( index == 0 ) { mTexTerrain.unbind(); } else { if ( mTest < 7 ) { mTexSphere.unbind(); } } } else { if ( ( ( mTest == 0 || mTest == 3 || mTest == 8 ) && index > 0 ) || mTest == 1 ) { mTexSquare.unbind(); } } } void BulletTestApp::draw() { gl::enableDepthRead(); gl::enableDepthWrite(); gl::setViewport( getWindowBounds() ); gl::clear( ColorAf::black() ); gl::setMatrices( mCamera ); gl::pushMatrices(); gl::rotate( Vec3f( -45.0f, 0.0f, 0.0f ) ); uint32_t i = 0; for ( bullet::Iter iter = mWorld->begin(); iter != mWorld->end(); ++iter, ++i ) { gl::pushMatrices(); glMultMatrixf( iter->getTransformMatrix() ); bindTexture( i ); switch ( iter->getPrimitiveType() ) { case CollisionObject::PRIMITIVE_BOX: gl::draw( mCube ); break; case CollisionObject::PRIMITIVE_CONE: gl::draw( mCone ); break; case CollisionObject::PRIMITIVE_CYLINDER: gl::draw( mCylinder ); break; case CollisionObject::PRIMITIVE_SPHERE: gl::draw( mSphere ); break; default: if ( iter->isMeshBody() ) { gl::draw( bullet::calcTriMesh( iter ) ); } break; } unbindTexture( i ); gl::popMatrices(); } gl::popMatrices(); mParams.draw(); } void BulletTestApp::drop() { for ( uint32_t i = 0; i < 5; i++ ) { // Set random size and position float size = Rand::randFloat( 3.0f, 10.0f ); Vec3f position = ( Rand::randVec3f() * 2.0f - Vec3f( 1.0f, 6.0f, 1.0f ) ) * 30.0f; position.y = math<float>::abs( position.y ); // Add a body CollisionObjectRef body; btRigidBody* shape; btSoftBody* softShape; switch ( mTest ) { case 3: body = bullet::createRigidCylinder( mWorld, Vec3f( size, size * 3, size ), size * size * size, position ); shape = bullet::toBulletRigidBody( body ); shape->setAngularFactor( 0.95f ); break; case 4: body = bullet::createRigidCone( mWorld, size, size * 2.0f, size * size, position ); shape = bullet::toBulletRigidBody( body ); shape->setAngularVelocity( btVector3( 0.21f, 0.21f, 0.21f ) ); shape->setAngularFactor( 0.82f ); break; case 5: bullet::createRigidSphere( mWorld, size, size * size, position ); break; case 6: bullet::createRigidSphere( mWorld, size, size * size, position ); break; case 7: body = bullet::createRigidBox( mWorld, Vec3f::one() * size, size * size, position ); shape = bullet::toBulletRigidBody( body ); shape->setAngularVelocity( btVector3( 0.21f, 0.21f, 0.21f ) ); shape->setFriction( 0.6f ); shape->setAngularFactor( 0.95f ); break; case 8: body = bullet::createRigidBox( mWorld, Vec3f::one() * size * 2.0f, size * size, position ); shape = bullet::toBulletRigidBody( body ); shape->setAngularVelocity( btVector3( 0.21f, 0.21f, 0.21f ) ); shape->setFriction( 0.6f ); shape->setAngularFactor( 0.95f ); break; case 9: body = bullet::createSoftMesh( mWorld, mSoftCube, Vec3f::one() * size, position ); softShape = bullet::toBulletSoftBody( body ); softShape->m_cfg.collisions = btSoftBody::fCollision::CL_SS + btSoftBody::fCollision::CL_RS; /*softShape->randomizeConstraints(); softShape->m_materials[ 0 ]->m_kAST = 0.2f; softShape->m_materials[ 0 ]->m_kLST = 0.2f; softShape->m_materials[ 0 ]->m_kVST = 0.2f; softShape->m_cfg.kDF = 0.9f; softShape->m_cfg.kSRHR_CL = 1.0f; softShape->m_cfg.kSR_SPLT_CL = 0.0f; softShape->getCollisionShape()->setMargin( 0.0001f ); softShape->setTotalMass( 1.0f ); softShape->generateClusters( 0 );*/ return; default: bullet::createRigidBox( mWorld, Vec3f::one() * size, size * size, position ); break; } } } void BulletTestApp::initTest() { // Clean up last test if ( mWorld ) { mWorld->clear(); mWorld->getInfo().m_sparsesdf.Reset(); } // Used when generating terrain Channel32f heightField; // Create and add the wobbly box btSoftBody* body = 0; btSoftBody::Material* material = 0; mGroundTransform.setIdentity(); switch ( mTest ) { case 0: mGround = bullet::createRigidBox( mWorld, Vec3f( 200.0f, 35.0f, 200.0f ), 0.0f ); bullet::createRigidSphere( mWorld, 50.0f, 0.0f, Vec3f( 0.0f, -50.0f, 0.0f ) ); break; case 1: mGround = bullet::createRigidHull( mWorld, mConvex, Vec3f::one() * 50.0f, 0.0f ); break; case 2: mGround = bullet::createRigidMesh( mWorld, mConcave, Vec3f( 10.0f, 1.0f, 10.0f ), 0.0f, 0.0f ); break; case 5: heightField = Channel32f( loadImage( loadResource( RES_JPG_HEIGHTFIELD_SM ) ) ); mGround = bullet::createRigidTerrain( mWorld, heightField, -1.0f, 1.0f, Vec3f( 6.0f, 80.0f, 6.0f ), 0.0f ); break; case 6: // ADVANCED: To add a custom class, create a standard pointer to it and // pushBack it into your world. Be sure to delete this pointer when you no longer need it. heightField = Channel32f( loadImage( loadResource( RES_PNG_HEIGHTFIELD ) ) ); mTerrain = new DynamicTerrain( heightField, -1.0f, 1.0f, Vec3f( 2.0f, 50.0f, 2.0f ), 0.0f ); mWorld->pushBack( mTerrain ); break; case 7: // Start capture if ( !mCapture ) { mCapture = Capture( 320, 240 ); mCapture.start(); } break; case 8: mWorld->getInfo().m_gravity = toBulletVector3( Vec3f( 0.0f, -0.5f, 0.0f ) ); mGround = bullet::createSoftCloth( mWorld, Vec2f::one() * 180.0f, Vec2i( 18, 20 ), SoftCloth::CLOTH_ATTACH_CORNER_ALL, Vec3f( 0.0f, 0.0f, 40.0f ), Quatf( 0.0f, 0.0f, 0.0f, 0.1f ) ); body = toBulletSoftBody( mGround ); body->m_materials[ 0 ]->m_kAST = 0.2f; body->m_materials[ 0 ]->m_kLST = 0.2f; body->m_materials[ 0 ]->m_kVST = 0.2f; body->m_cfg.kDF = 0.9f; body->m_cfg.kSRHR_CL = 1.0f; body->m_cfg.kSR_SPLT_CL = 0.0f; body->m_cfg.collisions = btSoftBody::fCollision::CL_SS + btSoftBody::fCollision::CL_RS; body->getCollisionShape()->setMargin( 0.0001f ); body->setTotalMass( 500.0f ); body->generateClusters( 0 ); material = body->appendMaterial(); material->m_kAST = 0.5f; material->m_kLST = 0.5f; material->m_kVST = 1.0f; body->generateBendingConstraints( 1, material ); break; case 9: heightField = Channel32f( loadImage( loadResource( RES_JPG_HEIGHTFIELD_SM ) ) ); mGround = bullet::createRigidTerrain( mWorld, heightField, -1.0f, 1.0f, Vec3f( 6.0f, 80.0f, 6.0f ), 0.0f ); break; default: mGround = bullet::createRigidBox( mWorld, Vec3f( 200.0f, 35.0f, 200.0f ), 0.0f ); break; } // Set friction for box if ( mTest < 5 ) { btRigidBody* boxBody = bullet::toBulletRigidBody( mGround ); boxBody->setFriction( 0.95f ); } } void BulletTestApp::mouseDown( MouseEvent event ) { Vec2f pos = Vec2f( event.getPos() ) / Vec2f( getWindowSize() ); pos.y = 1.0f - pos.y; Ray ray = mCamera.generateRay( pos.x, pos.y, getWindowAspectRatio() ); mDragging = mWorld->intersects( ray, mCamera.getFarClip(), &mDragConstraint ); if ( mDragging ) { mWorld->addConstraint( mDragConstraint, 0.0f, 0.01f ); } } void BulletTestApp::mouseDrag( MouseEvent event ) { if ( mDragging ) { Vec2f pos = Vec2f( event.getPos() ) / Vec2f( getWindowSize() ); pos.y = 1.0f - pos.y; Ray ray = mCamera.generateRay( pos.x, pos.y, getWindowAspectRatio() ); mDragConstraint.update( ray ); } } void BulletTestApp::mouseUp( MouseEvent event ) { if ( mDragging ) { mWorld->removeConstraint( mDragConstraint ); mDragConstraint.reset(); mDragging = false; } } void BulletTestApp::mouseWheel( MouseEvent event ) { mCamera.setEyePoint( mCamera.getEyePoint() + Vec3f( 0.0f, 0.0f, event.getWheelIncrement() * 20.0f ) ); } void BulletTestApp::prepareSettings( Settings* settings ) { settings->setFrameRate( 60.0f ); settings->setFullScreen( false ); settings->setResizable( false ); settings->setWindowSize( 1280, 720 ); } void BulletTestApp::resize() { // Reset camera mCamera.setPerspective( 60.0f, getWindowAspectRatio(), 1.0f, 5000.0f ); mCamera.lookAt( Vec3f( 0.0f, 0.0f, -200.0f ), Vec3f::zero() ); gl::setMatrices( mCamera ); // Set up OpenGL gl::enable( GL_BLEND ); gl::enable( GL_DEPTH_TEST ); gl::enable( GL_TEXTURE_2D ); glShadeModel( GL_SMOOTH ); gl::enable( GL_POLYGON_SMOOTH ); glHint( GL_POLYGON_SMOOTH_HINT, GL_NICEST ); gl::enable( GL_LIGHTING ); gl::enable( GL_NORMALIZE ); gl::enableAlphaBlending(); glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ); } void BulletTestApp::screenShot() { writeImage( getAppPath() / ( "frame_" + toString( getElapsedFrames() ) + ".png" ), copyWindowSurface() ); } void BulletTestApp::setup() { mDragging = false; mFrameRate = 0.0f; mTest = 9; mTestPrev = mTest; // Load meshes try { ObjLoader loader( loadResource( RES_MSH_SPHERE )->createStream() ); loader.load( &mConvex ); } catch ( ResourceLoadExc ex ) { console() << "Unable to load model: " << ex.what() << endl; quit(); } mConcave = MeshHelper::createTorus( Vec2i( 24, 12 ) ); mSoftCube = MeshHelper::createCube( Vec3i( 8, 8, 8 ) ); mCone = gl::VboMesh::create( MeshHelper::createCylinder( Vec2i( 24, 1 ), 0.0f, 1.0f, false, true ) ); mCube = gl::VboMesh::create( MeshHelper::createCube() ); mCylinder = gl::VboMesh::create( MeshHelper::createCylinder( Vec2i( 24, 1 ) ) ); mSphere = gl::VboMesh::create( MeshHelper::createSphere( Vec2i( 24, 12 ) ) ); // Load textures try { mTexSquare = gl::Texture( loadImage( loadResource( RES_PNG_SQUARE ) ) ); mTexSphere = gl::Texture( loadImage( loadResource( RES_JPG_SPHERE ) ) ); mTexTerrain = gl::Texture( loadImage( loadResource( RES_JPG_TERRAIN ) ) ); } catch ( ResourceLoadExc ex ) { console() << "Unable able to load texture: " << ex.what() << endl; quit(); return; } mTexTerrain.setWrap( GL_REPEAT, GL_REPEAT ); mTexTerrain.unbind(); // Set up lighting mLight = new gl::Light( gl::Light::DIRECTIONAL, 0 ); mLight->setDirection( Vec3f( 0.0f, 0.1f, 0.3f ).normalized() ); mLight->setAmbient( ColorAf( 0.2f, 0.2f, 0.2f, 1.0f ) ); mLight->setDiffuse( ColorAf( 1.0f, 1.0f, 1.0f, 1.0f ) ); mLight->enable(); // Create a Bullet dynamics world mWorld = bullet::createWorld(); // Init terrain pointer mTerrain = 0; // Parameters mParams = params::InterfaceGl( "Params", Vec2i( 200, 120 ) ); mParams.addParam( "Frame Rate", &mFrameRate, "", true ); mParams.addParam( "Test", &mTest, "min=0 max=9 step=1 keyDecr=t keyIncr=T" ); mParams.addButton( "Drop", bind( &BulletTestApp::drop, this ), "key=space" ); mParams.addButton( "Screen shot", bind( &BulletTestApp::screenShot, this ), "key=s" ); mParams.addButton( "Quit", bind( &BulletTestApp::quit, this ), "key=q" ); // Initialize initTest(); // Run first resize to initialize view resize(); } void BulletTestApp::shutdown() { if ( mCapture && mCapture.isCapturing() ) { mCapture.stop(); } if ( mLight ) { delete mLight; } if ( mTerrain != 0 ) { //delete mTerrain; } } void BulletTestApp::update() { // Run next test if ( mTest != mTestPrev ) { mTestPrev = mTest; initTest(); } mFrameRate = getAverageFps(); // Update light mLight->update( mCamera ); if ( mTest < 3 ) { // Set box rotation float rotation = math<float>::sin( ( float )getElapsedSeconds() * 0.3333f ) * 0.35f ; mGroundTransform.setRotation( btQuaternion( 0.25f, 0.0f, 1.0f + rotation * 0.1f, rotation ) ); mGroundTransform.setOrigin( btVector3( 0.0f, -60.0f, 0.0f ) ); // Apply rotation to box btRigidBody* body = bullet::toBulletRigidBody( mGround ); body->getMotionState()->setWorldTransform( mGroundTransform ); body->setWorldTransform( mGroundTransform ); } else if ( mTest == 6 ) { // Read data Channel32f& input = mTerrain->getData(); // Get image dimensions int32_t height = input.getHeight(); int32_t width = input.getWidth(); // Create output channel Channel32f output = Channel32f( width, height ); // Move pixel value over by one for ( int32_t y = 0; y < height; y++ ) { for ( int32_t x = 0; x < width; x++ ) { float value = input.getValue( Vec2i( x, y ) ); Vec2i position( ( x + 1 ) % width, ( y + 1 ) % height ); output.setValue( position, value ); } } // Copy new data back to original input.copyFrom( output, output.getBounds() ); // Shift texture coordinates to match positions vector<Vec2f>& texCoords = mTerrain->getTexCoords(); Vec2f delta( 1.0f / (float)width, 1.0f / (float)height ); for ( vector<Vec2f>::iterator uv = texCoords.begin(); uv != texCoords.end(); ++uv ) { *uv -= delta; } // Update terrain VBO mTerrain->updateMesh(); } else if ( mTest == 7 ) { bool init = !mSurface; if ( mCapture.isCapturing() && mCapture.checkNewFrame() ) { mSurface = mCapture.getSurface(); ip::flipVertical( &mSurface ); if ( init ) { mTerrain = new DynamicTerrain( Channel32f( 160, 160 ), -1.0f, 1.0f, Vec3f( 2.0f, 70.0f, 2.0f ), 0.0f ); mGround = mWorld->pushBack( mTerrain ); btRigidBody* terrain = ( btRigidBody* )mTerrain->getBulletBody(); terrain->setAngularFactor( 0.6f ); terrain->setFriction( 0.6f ); } else { mTerrain->getData().copyFrom( Channel32f( mSurface ), Area( 0, 0, 160, 160 ) ); mTerrain->updateMesh(); } } } // Update dynamics world mWorld->update( 1.0f / 300.0f );//mFrameRate ); /*if ( mGround ) { Iter iter = mWorld->find( mGround ); OutputDebugStringA( toString( iter->getPosition().x ).c_str() ); OutputDebugStringA( "\n" ); }*/ // Remove out of bounds objects for ( bullet::Iter object = mWorld->begin(); object != mWorld->end(); ) { if ( object != mWorld->begin() && object->getCenterPosition().y < -800.0f ) { object = mWorld->erase( object ); } else { ++object; } } // Remove objects when count is too high uint32_t max = mTest >= 4 ? MAX_OBJECTS_TERRAIN : MAX_OBJECTS; if ( mWorld->getNumObjects() > max + 1 ) { for ( uint32_t i = 1; i < mWorld->getNumObjects() - MAX_OBJECTS_TERRAIN; i++ ) { mWorld->erase( mWorld->begin() + 1 ); } } } CINDER_APP_BASIC( BulletTestApp, RendererGl )
[ "bantherewind@gmail.com" ]
bantherewind@gmail.com
a33186ade4c93b1af06b347bbc1ba8684ff210c5
0c4756c6fdf1ae2b515725b8f5e411e005613987
/gittest/gittest.cpp
38b53e452c66400b69f3c564d856a9ff7ba097a2
[]
no_license
guivi01/gittest
7da082edb42f0f4ef8d3fef7efec4468dff06c8f
e18767b1022a0b0acb885efdde951a4ff668d244
refs/heads/master
2016-09-14T11:02:36.997878
2016-04-29T15:41:52
2016-04-29T15:41:52
57,395,385
0
0
null
null
null
null
UTF-8
C++
false
false
5,654
cpp
// gittest.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "afxwinappex.h" #include "afxdialogex.h" #include "gittest.h" #include "MainFrm.h" #include "ChildFrm.h" #include "gittestDoc.h" #include "gittestView.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CgittestApp BEGIN_MESSAGE_MAP(CgittestApp, CWinAppEx) ON_COMMAND(ID_APP_ABOUT, &CgittestApp::OnAppAbout) // Standard file based document commands ON_COMMAND(ID_FILE_NEW, &CWinAppEx::OnFileNew) ON_COMMAND(ID_FILE_OPEN, &CWinAppEx::OnFileOpen) // Standard print setup command ON_COMMAND(ID_FILE_PRINT_SETUP, &CWinAppEx::OnFilePrintSetup) END_MESSAGE_MAP() // CgittestApp construction CgittestApp::CgittestApp() { m_bHiColorIcons = TRUE; // support Restart Manager m_dwRestartManagerSupportFlags = AFX_RESTART_MANAGER_SUPPORT_ALL_ASPECTS; #ifdef _MANAGED // If the application is built using Common Language Runtime support (/clr): // 1) This additional setting is needed for Restart Manager support to work properly. // 2) In your project, you must add a reference to System.Windows.Forms in order to build. System::Windows::Forms::Application::SetUnhandledExceptionMode(System::Windows::Forms::UnhandledExceptionMode::ThrowException); #endif // TODO: replace application ID string below with unique ID string; recommended // format for string is CompanyName.ProductName.SubProduct.VersionInformation SetAppID(_T("gittest.AppID.NoVersion")); // TODO: add construction code here, // Place all significant initialization in InitInstance } // The one and only CgittestApp object CgittestApp theApp; // CgittestApp initialization BOOL CgittestApp::InitInstance() { // InitCommonControlsEx() is required on Windows XP if an application // manifest specifies use of ComCtl32.dll version 6 or later to enable // visual styles. Otherwise, any window creation will fail. INITCOMMONCONTROLSEX InitCtrls; InitCtrls.dwSize = sizeof(InitCtrls); // Set this to include all the common control classes you want to use // in your application. InitCtrls.dwICC = ICC_WIN95_CLASSES; InitCommonControlsEx(&InitCtrls); CWinAppEx::InitInstance(); // Initialize OLE libraries if (!AfxOleInit()) { AfxMessageBox(IDP_OLE_INIT_FAILED); return FALSE; } AfxEnableControlContainer(); EnableTaskbarInteraction(); // AfxInitRichEdit2() is required to use RichEdit control // AfxInitRichEdit2(); // Standard initialization // If you are not using these features and wish to reduce the size // of your final executable, you should remove from the following // the specific initialization routines you do not need // Change the registry key under which our settings are stored // TODO: You should modify this string to be something appropriate // such as the name of your company or organization SetRegistryKey(_T("Local AppWizard-Generated Applications")); LoadStdProfileSettings(4); // Load standard INI file options (including MRU) InitContextMenuManager(); InitKeyboardManager(); InitTooltipManager(); CMFCToolTipInfo ttParams; ttParams.m_bVislManagerTheme = TRUE; theApp.GetTooltipManager()->SetTooltipParams(AFX_TOOLTIP_TYPE_ALL, RUNTIME_CLASS(CMFCToolTipCtrl), &ttParams); // Register the application's document templates. Document templates // serve as the connection between documents, frame windows and views CMultiDocTemplate* pDocTemplate; pDocTemplate = new CMultiDocTemplate(IDR_gittestTYPE, RUNTIME_CLASS(CgittestDoc), RUNTIME_CLASS(CChildFrame), // custom MDI child frame RUNTIME_CLASS(CgittestView)); if (!pDocTemplate) return FALSE; AddDocTemplate(pDocTemplate); // create main MDI Frame window CMainFrame* pMainFrame = new CMainFrame; if (!pMainFrame || !pMainFrame->LoadFrame(IDR_MAINFRAME)) { delete pMainFrame; return FALSE; } m_pMainWnd = pMainFrame; // Parse command line for standard shell commands, DDE, file open CCommandLineInfo cmdInfo; ParseCommandLine(cmdInfo); // Dispatch commands specified on the command line. Will return FALSE if // app was launched with /RegServer, /Register, /Unregserver or /Unregister. if (!ProcessShellCommand(cmdInfo)) return FALSE; // The main window has been initialized, so show and update it pMainFrame->ShowWindow(m_nCmdShow); pMainFrame->UpdateWindow(); return TRUE; } int CgittestApp::ExitInstance() { //TODO: handle additional resources you may have added AfxOleTerm(FALSE); return CWinAppEx::ExitInstance(); } // CgittestApp message handlers // CAboutDlg dialog used for App About class CAboutDlg : public CDialogEx { public: CAboutDlg(); // Dialog Data #ifdef AFX_DESIGN_TIME enum { IDD = IDD_ABOUTBOX }; #endif protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: DECLARE_MESSAGE_MAP() }; CAboutDlg::CAboutDlg() : CDialogEx(IDD_ABOUTBOX) { } void CAboutDlg::DoDataExchange(CDataExchange* pDX) { CDialogEx::DoDataExchange(pDX); } BEGIN_MESSAGE_MAP(CAboutDlg, CDialogEx) END_MESSAGE_MAP() // App command to run the dialog void CgittestApp::OnAppAbout() { CAboutDlg aboutDlg; aboutDlg.DoModal(); } // CgittestApp customization load/save methods void CgittestApp::PreLoadState() { BOOL bNameValid; CString strName; bNameValid = strName.LoadString(IDS_EDIT_MENU); ASSERT(bNameValid); GetContextMenuManager()->AddMenu(strName, IDR_POPUP_EDIT); bNameValid = strName.LoadString(IDS_EXPLORER); ASSERT(bNameValid); GetContextMenuManager()->AddMenu(strName, IDR_POPUP_EXPLORER); } void CgittestApp::LoadCustomState() { } void CgittestApp::SaveCustomState() { } // CgittestApp message handlers
[ "guivi01@gmail.com" ]
guivi01@gmail.com
2f298a1e74c0f3f732e940ac981ea844120d7490
2eed2e1195ba0da0127a7291136c3200d4e071b7
/sources/B/Rendering/Transformable.hpp
6886ec8e18cb4066a4fda7c7ad804a7b47253202
[]
no_license
benit8/B3d
c868d92b0230b68eb6bab6aae5ca556f79587485
0cda0ac59669448fad3a7901bba646f8c051c932
refs/heads/master
2022-09-13T18:17:47.395576
2020-05-30T23:12:21
2020-05-30T23:12:21
225,698,162
0
0
null
null
null
null
UTF-8
C++
false
false
1,090
hpp
/* ** B, 2019 ** Rendering / Transformable.hpp */ #pragma once //////////////////////////////////////////////////////////////////////////////// namespace B { class Transformable; } //////////////////////////////////////////////////////////////////////////////// #include "B/Math/Matrix.hpp" #include "B/Math/Vector3.hpp" //////////////////////////////////////////////////////////////////////////////// namespace B { //////////////////////////////////////////////////////////////////////////////// class Transformable { public: Transformable() = default; virtual ~Transformable() = default; Transformable &translate(const Vector3 &factors); Transformable &rotate(const Vector3 &factors); Transformable &rotateX(f64 theta); Transformable &rotateY(f64 theta); Transformable &rotateZ(f64 theta); Transformable &scale(const Vector3 &factors); Transformable &scale(f64 factor); void transform(Vector3 &vector) const; private: Matrix m_translation; Matrix m_rotation; Matrix m_scale; }; //////////////////////////////////////////////////////////////////////////////// }
[ "swimaster61@live.fr" ]
swimaster61@live.fr
0e75df01d303d72d7a2a2d77c406b793bbe11e7c
b2eb2ceace262fd81d648a910ce57be3d2fa2b9e
/thirdparties/fastdo/include/fcgiplus.hpp
f5aa7fc6f07402274d983983683233e0da27ad2d
[]
no_license
cbugking/cassette
bc85c5e653710b4200dc268f3e202231a2f459a7
4d121a75d6aae2153d9496b5f74218cd30c1065c
refs/heads/master
2023-04-23T23:40:22.197531
2021-05-11T06:52:21
2021-05-11T06:52:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
14,156
hpp
#ifndef __FCGIPLUS_HPP__ #define __FCGIPLUS_HPP__ #if _MSC_VER > 0 #pragma warning( disable: 4244 ) #endif #include "http.hpp" struct FCGX_Stream; struct FcgiServerData; /** \brief FastCGI相关封装 */ namespace fcgi { #ifdef FCGIPLUS_DLL_USE #if defined(_MSC_VER) || defined(WIN32) #pragma warning( disable: 4251 ) #ifdef FCGIPLUS_DLL_EXPORTS #define FCGIPLUS_DLL __declspec(dllexport) #else #define FCGIPLUS_DLL __declspec(dllimport) #endif #define FCGIPLUS_API __stdcall #else #define FCGIPLUS_DLL #define FCGIPLUS_API #endif #else #define FCGIPLUS_DLL #define FCGIPLUS_API #endif #define FCGIPLUS_FUNC_DECL(ret) FCGIPLUS_DLL ret FCGIPLUS_API #define FCGIPLUS_FUNC_IMPL(ret) ret FCGIPLUS_API class FcgiApp; class Request; class Response; class Cookies; /** \brief 会话数据的存储 */ typedef winux::StringMixedMap SessionData; /** \brief 每个用户的会话结构 */ struct SessionStruct { SessionData data; winux::uint expires; SessionStruct() : expires(0) { } }; /** \brief 会话服务基类 */ class FCGIPLUS_DLL SessionServer { protected: winux::uint _cleanTimeInterval; ///< 执行"清理过期session"的时间间隔 winux::uint _sessionLifeTime; ///< 默认session生命期 public: SessionServer() : _cleanTimeInterval(1800), _sessionLifeTime(3600) { } virtual ~SessionServer() { } winux::uint getCleanTimeInterval() const { return _cleanTimeInterval; } winux::uint getSessionLifeTime() const { return _sessionLifeTime; } /** \brief 执行清理操作,将过期的session删除 */ virtual void clean() = 0; /** \brief 启动一个session,得到一个SessionData,用来读写入数据 */ virtual bool startup( winux::String const & sessid, SessionData * sessData ) = 0; /** \brief 保存一个session,将SessionData存储,可以指定生命期 */ virtual bool save( winux::String const & sessid, SessionData const * sessData, winux::uint thisLifeTime = 0 ) = 0; }; /** \brief 内存式会话服务 * * 存放于FCGI进程内,若FCGI进程崩溃,数据即丢失 * 若采取这种方式,则整个网站只是一个FCGI程序,否则会话数据无法共享 */ class FCGIPLUS_DLL MemorySessionServer : public SessionServer { private: /** \brief 会话结构映射表,SessId与SessionStruct相关联 */ typedef std::map<winux::String, SessionStruct> SessionStructMap; SessionStructMap _sessions; public: MemorySessionServer( winux::uint cleanTimeInterval = 1800, winux::uint sessionLifeTime = 1800 ); virtual void clean(); virtual bool startup( winux::String const & sessid, SessionData * sessData ); virtual bool save( winux::String const & sessid, SessionData const * sessData, winux::uint thisLifeTime = 0 ); DISABLE_OBJECT_COPY(MemorySessionServer) }; /** \brief 文件式会话服务 */ class FCGIPLUS_DLL FileSessionServer : public SessionServer { public: FileSessionServer( winux::String const & savePath, winux::uint cleanTimeInterval = 1800, winux::uint sessionLifeTime = 1800 ); virtual void clean(); virtual bool startup( winux::String const & sessid, SessionData * sessData ); virtual bool save( winux::String const & sessid, SessionData const * sessData, winux::uint thisLifeTime = 0 ); private: winux::String _savePath; // session文件保存路径 DISABLE_OBJECT_COPY(FileSessionServer) }; /** \brief 网站会话 * * 运行机制: * 当创建一个Session对象时,若未给定sessid,则向Cookie查询一个sessid. * 若没有,则新建一个sessid的cookie,值为一个唯一串,生成方式自定. * 通过sessid调用sessionServer启动一个会话. */ class FCGIPLUS_DLL Session { Request & _req; SessionData _data; winux::String _sessid; // session唯一标识 winux::uint _cookieSessIdLifeTime; // sessid cookie生命期 winux::uint _sessionLifeTime; // session生命期 bool _isModified; // 是否修改过 public: Session( Request & req, winux::String const & sessid = "", winux::uint cookieSessIdLifeTime = 0, winux::uint sessionLifeTime = 0, winux::String const & cookiesPath = "" ); ~Session(); winux::Mixed & operator [] ( winux::String const & name ); winux::Mixed const & operator [] ( winux::String const & name ) const; bool has( winux::String const & name ) const; winux::Mixed const & get( winux::String const & name ) const; void set( winux::String const & name, winux::Mixed const & v ); bool del( winux::String const & name ); DISABLE_OBJECT_COPY(Session) }; /** \brief 代表客户请求 */ class FCGIPLUS_DLL Request { private: winux::MembersWrapper<struct Request_Data> _self; public: Request(); ~Request(); /** \brief 初始化FCGX_Request */ void init( FcgiApp * app, int sock, int flags ); /** \brief 完成这次请求,清空缓冲区 */ void finish(); /** \brief 等待接收请求,成功返回true,否则返回false。阻塞式 * * 若接收请求成功,会解析加载相关变量,如Cookies,Get,Post变量。 */ bool accept(); /** \brief 处理environVars/get/post/cookies数据 */ bool processData(); /** \brief 获取环境变量 */ winux::String const & operator [] ( winux::String const & name ) const; /** \brief 输出全部环境变量到Response */ void dumpEnvTo( Response * rsp, char * * envp = NULL ) const; /** \brief 环境变量 */ winux::StringStringMap environVars; /** \brief Cookie变量 read/write */ http::Cookies cookies; /** \brief GET变量 readonly */ http::Vars get; /** \brief POST变量 readonly */ http::Vars post; /** \brief FcgiApp对象指针 */ FcgiApp * fcgiApp; friend class Response; friend class FcgiApp; DISABLE_OBJECT_COPY(Request) }; /** \brief Fcgi输出管理器 * * 该类把标准流重定向到指定流(fcgi流),以便我们用cout输出html\n * 该类会把输出流重定向到一个缓冲区流,从而延缓输出,以便我们方便设置HTTP头和计算内容长度 */ class FCGIPLUS_DLL FcgiOutputMgr { private: winux::MembersWrapper<struct FcgiOutputMgr_Data> _self; void _backupStd(); void _resumeStd(); void _redirectToFcgi(); // 尝试编码转换,返回值 0:不需要进行编码转换, 1:需要进行编码转换并且执行了, 2:需要进行编码转换,由于之前已经转换成功,所以直接返回 int _tryEncodingConvert(); // 是否需要进行编码转换 // 不需要转换的情况:a.没有设置本地编码或者目标编码,b.本地编码和目标编码相同,c.MIME不是text类型 bool _isNeedEncodingConvert() const; public: // FCGX_Stream * fcgiOut, FCGX_Stream * fcgiErr FcgiOutputMgr( struct FCGX_Stream * fcgiOut, struct FCGX_Stream * fcgiErr ); ~FcgiOutputMgr(); /** \brief 指定本地编码(Response会自动设置本地编码) * * 本地编码指编译器的默认编码,visualstudio是gbk,gcc是utf-8\n * 设置字符串编码信息setLocalEncoding()/setTargetEncoding() */ void setLocalEncoding( winux::String const & local ); /** \brief 指定目标编码(Response不会自动设置) * * 目标编码要和Content-Type的charset对应 */ void setTargetEncoding( winux::String const & target ); winux::String getLocalEncoding() const; winux::String getTargetEncoding() const; /** \brief 目标编码转到本地编码 */ winux::String convFrom( winux::String const & str ) const; /** \brief 本地编码转到目标编码 */ winux::String convTo( winux::String const & str ) const; void echo( winux::String const & str ); void write( void const * data, int size ); void printf( char const * format, va_list va ); /** \brief 获取缓冲输出流中数据的大小 */ winux::uint getCacheOutStreamSize() const; /** \brief 获取编码转换后的内容大小 */ winux::uint getConvertedContentSize(); friend class Response; DISABLE_OBJECT_COPY(FcgiOutputMgr) }; /** \brief 代表一个客户响应 */ class FCGIPLUS_DLL Response { private: FcgiOutputMgr _outputMgr; ///< 输出管理器 winux::String _mimeType; ///< MIME类型 bool _autoContentType; ///< 自动设置Content-Type public: Request & req; ///< Request对象的引用 http::Header & header; ///< 表示头部 explicit Response( Request & request ); ~Response(); void echo( winux::String const & str ); void write( void const * data, int size ); void write( winux::Buffer const & buf ); void printf( char const * format, ... ); winux::String getLocalEncoding() const { return _outputMgr.getLocalEncoding(); } winux::String getTargetEncoding() const { return _outputMgr.getTargetEncoding(); } winux::String convFrom( winux::String const & str ) const { return _outputMgr.convFrom(str); } winux::String convTo( winux::String const & str ) const { return _outputMgr.convTo(str); } /** \brief 设置mime */ void setMimeType( winux::String const & mime ) { _mimeType = mime; } winux::String getMimeType() const { return _mimeType; } /** \brief 是否自动设置Content-Type * * Response在即将完成输出前会配合MIME和目标编码自动设置Content-Type\n * 如果MIME不是文本,则不会设置charset部分 */ void setAutoContentType( bool autoContentType = true ) { _autoContentType = autoContentType; } /** \brief 设置charset,即设置输出目标编码 */ void setCharset( winux::String const & charset ) { _outputMgr.setTargetEncoding(charset); } winux::String getCharset() const { return _outputMgr.getTargetEncoding(); } /** \brief import一个do文件,并把它的输出作为自己的输出,若错误则显示错误 * * \param doFile 文件路径 * \param runParam 应传入WebMain()传来的runParam,如果是NULL,将从fcgiApp取得runParam * \param retCode 表示导入do的WebMain()返回代码,为NULL则忽略此值 */ void import( winux::String const & doFile, void * runParam = NULL, int * retCode = NULL ); DISABLE_OBJECT_COPY(Response) }; /** \brief FCGI程序类,代表整个FCGI程序 */ class FCGIPLUS_DLL FcgiApp { public: /** \brief 构造函数,初始化操作 * \param conf 配置对象 */ FcgiApp( winux::Configure & conf, struct FcgiServerData * servData = NULL ); ~FcgiApp(); /** \brief 运行处理 */ int run( void * runParam ); /** \brief 取得do传递的参数 */ void * getParam() const { return _param; }; template < typename _Ty > _Ty getParam() const { return reinterpret_cast<_Ty>(_param); }; /** \brief 设置do传递参数 */ void setParam( void * param ) { this->_param = param; } /** \brief 取得run()传递的参数 */ void * getRunParam() const { return _runParam; }; template < typename _Ty > _Ty getRunParam() const { return reinterpret_cast<_Ty>(_runParam); }; /** \brief 取得服务器相关数据 */ struct FcgiServerData * getServerData() { return _servData; } void setServerData( struct FcgiServerData * data ) { _servData = data; } /** \brief 取得/设置SessionServer */ SessionServer * getSessServ() { return _sessServ; } void setSessServ( SessionServer * sessServ ) { this->_sessServ = sessServ; } /** \brief 执行do文件的错误码 */ enum ErrorCode { Err_Success, Err_DoFileNotFound, Err_WebMainNotFound, Err_InfiniteRecursion, }; /** \brief 执行生成页面内容的过程 * * 默认将以SCRIPT_FILENAME载入动态模块的方式运行处理 * \return 0:表示成功,1:表示找不到或无权限,2:表示没有WebMain() */ virtual ErrorCode execWebMain( Response * rsp, void * runParam, int * retCode ); /** \brief import一个do文件,并把它的输出作为指定rsp的输出 * * \param doFile do文件路径 * \param rsp 指示输出到的Response对象 * \param retCode 表示导入do的WebMain()返回代码,为NULL则忽略此值 * \param errDetail 载入do的详细错误信息 * \return 0:表示导入成功,1:表示找不到或无权限,2:表示没有WebMain(),3:表示无穷递归调用了 */ ErrorCode importDoFile( winux::String const & doFile, Response * rsp, void * runParam, int * retCode, winux::String * errDetail ); /** \brief 产品模式下,显示所有已经加载的do文件 */ int loadedDoFiles( winux::Mixed * arrDoFiles ) const; /** \brief 卸载指定的do文件,如果是当前页面则不会释放 */ bool unloadDoFile( winux::String const & doFullPath ); /** \brief 加载一个模块,若已经加载则返回其引用. */ winux::DllLoader & loadModule( winux::String const & modFile ); /** \brief 显示已经加载的模块 */ int loadedModules( winux::Mixed * arrModules ) const; /** \brief 卸载一个模块 */ bool unloadModule( winux::String const & modFile ); /** \brief 请求 */ Request request; /** \brief 配置 */ winux::Configure & config; private: //////////////////////////////////////////////////////////////////////////////// winux::MembersWrapper<struct FcgiApp_Data> _self; SessionServer * _sessServ; // session server void * _param; // setParam()传递进来的参数 void * _runParam; // run()传递进来的参数 struct FcgiServerData * _servData; // server data //////////////////////////////////////////////////////////////////////////////// ErrorCode _importDoFileDevelopment( winux::String const & doFullPath, Response * rsp, void * runParam, int * retCode, winux::String * errDetail ); ErrorCode _importDoFileProduction( winux::String const & doFullPath, Response * rsp, void * runParam, int * retCode, winux::String * errDetail ); friend class Request; DISABLE_OBJECT_COPY(FcgiApp) }; } // namespace fcgi #endif // __FCGIPLUS_HPP__
[ "zth555@qq.com" ]
zth555@qq.com
7d0b8586c13109a4a2a2947d20080b86186859de
246885319bb1745653492e41c37fe97de7183090
/APLClient/src/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.cpp
34530622d2d0a943e05ec57e4976d6119b2623f7
[ "Apache-2.0" ]
permissive
rcoleworld/apl-client-library
d80073d5b3ecfe16f701a2e6e0849b81e431642b
cd92f388e5a3ddc9700f0364f72f8f1b2b575a7e
refs/heads/main
2023-08-23T17:49:11.872641
2021-10-30T02:23:42
2021-10-30T02:23:42
422,764,564
1
0
Apache-2.0
2021-10-30T02:32:02
2021-10-30T02:32:01
null
UTF-8
C++
false
false
3,604
cpp
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ #include <string> #include <utility> #include "APLClient/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.h" namespace APLClient { namespace Extensions { namespace AudioPlayer { /// String to identify log entries originating from this file. static const std::string TAG("AplAudioPlayerAlarmsExtension"); static const std::string URI = "aplext:musicalarm:10"; static const std::string COMMAND_DISMISS_NAME = "DismissAlarm"; static const std::string COMMAND_SNOOZE_NAME = "SnoozeAlarm"; AplAudioPlayerAlarmsExtension::AplAudioPlayerAlarmsExtension(std::shared_ptr<AplAudioPlayerAlarmsExtensionObserverInterface> observer) : m_observer{std::move(observer)} { } std::string AplAudioPlayerAlarmsExtension::getUri() { return URI; } apl::Object AplAudioPlayerAlarmsExtension::getEnvironment() { // No environment for AudioPlayer Extension return apl::Object(""); } std::list<apl::ExtensionCommandDefinition> AplAudioPlayerAlarmsExtension::getCommandDefinitions() { std::list<apl::ExtensionCommandDefinition> extCmdDefs( {apl::ExtensionCommandDefinition(URI, COMMAND_DISMISS_NAME).allowFastMode(true), apl::ExtensionCommandDefinition(URI, COMMAND_SNOOZE_NAME).allowFastMode(true)}); return extCmdDefs; } std::list<apl::ExtensionEventHandler> AplAudioPlayerAlarmsExtension::getEventHandlers() { std::list<apl::ExtensionEventHandler> extensionEventHandlers({}); return extensionEventHandlers; } std::unordered_map<std::string, apl::LiveObjectPtr> AplAudioPlayerAlarmsExtension::getLiveDataObjects() { auto liveObjects = std::unordered_map<std::string, apl::LiveObjectPtr>(); return liveObjects; } void AplAudioPlayerAlarmsExtension::applySettings(const apl::Object& settings) { /// Apply @c apl::Content defined settings logMessage(apl::LogLevel::kInfo, TAG, __func__, settings.toDebugString()); } void AplAudioPlayerAlarmsExtension::onExtensionEvent( const std::string& uri, const std::string& name, const apl::Object& source, const apl::Object& params, unsigned int event, std::shared_ptr<AplCoreExtensionEventCallbackResultInterface> resultCallback) { auto eventDebugString = getEventDebugString(uri, name, params); logMessage(LOGLEVEL_DEBUG, TAG, __func__, eventDebugString); bool succeeded = true; if (m_observer) { if (COMMAND_DISMISS_NAME == name) { m_observer->onAudioPlayerAlarmDismiss(); } else if (COMMAND_SNOOZE_NAME == name) { m_observer->onAudioPlayerAlarmSnooze(); } else { logMessage(apl::LogLevel::kError, TAG, __func__, "Invalid Command: " + eventDebugString); succeeded = false; } } else { logMessage(apl::LogLevel::kError, TAG, __func__, "No Event Observer: " + eventDebugString); succeeded = false; } if (resultCallback) { resultCallback->onExtensionEventResult(event, succeeded); } } } // namespace AudioPlayer } // namespace Extensions } // namespace APLClient
[ "whaidong@amazon.com" ]
whaidong@amazon.com
26d8b1a3a8c4486ba31126c5767585d6308a3cba
af87b330e08a6bef230824bc384a20762a302ee5
/cpp/template_meta_programming/compile_time_recursion.cpp
d5c35d3187eca70ccdce68d9a743021b3b0fc00d
[]
no_license
nalreddy/code
d9684845d555733444c7e6b6b4ce45ae861cfc42
8fffb2534fec265174c11aebd8ce1d63cb2e3532
refs/heads/master
2023-08-31T16:16:10.770116
2023-08-23T09:39:04
2023-08-23T09:39:04
95,104,909
0
0
null
null
null
null
UTF-8
C++
false
false
951
cpp
#include<iostream> //https://en.wikibooks.org/wiki/C%2B%2B_Programming/Templates/Template_Meta-Programming using namespace std; #if 0 template<int N> void f1() { f1<N-1>(); cout << N << '\n'; } template<> void f1<1>() { cout << 1 << '\n'; } int main() { f1<1000>(); } #endif template <OSig::DigestType T> void recurStrategies( Oigor::DigyArrayType& _array ) { const Oe::DigestType cur = static_cast<Obegn::DigestType>( T - 1 ); recurStrategies<cur>( _array ); _array[cur].reset( new Orategy<cur>() ); } template<> void recurStrategies<static_cast<OeBase::DigestType>( 0 )>( Objer::DyType& _array ) { } template <unsigned n> struct factorial { enum { value = n * factorial<n-1>::value }; }; template <> struct factorial<0> { enum { value = 1 }; }; int main() { int array[ factorial<7>::value ]; }
[ "vvs@hpe.com" ]
vvs@hpe.com
282407691af7595b4e2dc4cc25b0136f3b09bf25
1c5c4051e51a6d4a704d8541d810c2a353bc52b0
/x11-wm/blackbox/files/patch-src_Configmenu.cc
e150e6d0dc9b73e8458582b5bbd9a51b0c9a37a2
[]
no_license
cbrst/redports
40b08021b389e7be0ed847cffafaaf1669983527
bbb219ab92bfbafae598ad77cf845497055f22c7
refs/heads/master
2021-05-27T16:44:01.828991
2012-11-05T06:32:46
2012-11-05T06:32:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,630
cc
--- src/Configmenu.cc.orig 2012-08-30 01:24:39.208840400 +0800 +++ src/Configmenu.cc 2012-08-30 01:28:02.626918885 +0800 @@ -86,6 +86,7 @@ FocusNewWindows, FocusLastWindowOnWorkspace, ChangeWorkspaceWithMouseWheel, + ReverseMouseWheelDirection, ShadeWindowWithMouseWheel, ToolbarActionsWithMouseWheel, DisableBindings, @@ -126,6 +127,8 @@ FocusLastWindowOnWorkspace); insertItem(bt::toUnicode("Change Workspace with Mouse Wheel"), ChangeWorkspaceWithMouseWheel); + insertItem(bt::toUnicode("Reverse Mouse Wheel Direction"), + ReverseMouseWheelDirection); insertItem(bt::toUnicode("Shade Windows with Mouse Wheel"), ShadeWindowWithMouseWheel); insertItem(bt::toUnicode("Toolbar Actions with Mouse Wheel"), @@ -148,6 +151,8 @@ setItemChecked(FocusLastWindowOnWorkspace, res.focusLastWindowOnWorkspace()); setItemChecked(ChangeWorkspaceWithMouseWheel, res.changeWorkspaceWithMouseWheel()); + setItemChecked(ReverseMouseWheelDirection, + res.reverseMouseWheelDirection()); setItemChecked(ShadeWindowWithMouseWheel, res.shadeWindowWithMouseWheel()); setItemChecked(ToolbarActionsWithMouseWheel, @@ -182,6 +187,10 @@ case ChangeWorkspaceWithMouseWheel: res.setChangeWorkspaceWithMouseWheel(!res.changeWorkspaceWithMouseWheel()); break; + + case ReverseMouseWheelDirection: + res.setReverseMouseWheelDirection(!res.reverseMouseWheelDirection()); + break; case ShadeWindowWithMouseWheel: res.setShadeWindowWithMouseWheel(!res.shadeWindowWithMouseWheel());
[ "crshd@mail.com" ]
crshd@mail.com
3d9e6afa7d30ced9af0a4c7ba4acaade7693904b
efde52f6b19fca5374d84bde19905495a4c292ce
/Позднякова/task8.cpp
6eb144ca138ca52f93fffbf5ecd931fb715fc73e
[]
no_license
tapoton/AMM_4_group
40d135ef46e70c98e9298d95b9fe6e70c40e0767
9962f2d9e1cc5557a5816a516c7a3efeec97b1ab
refs/heads/master
2021-01-10T02:53:14.698341
2016-03-24T18:09:04
2016-03-24T18:09:04
51,981,942
0
0
null
null
null
null
UTF-8
C++
false
false
662
cpp
#include <iostream> #include <math.h> using namespace std; double Func (double x) { double f= x + pow(x, 1/2) + pow(x, 1/3) - 2.5; return f; } int main () { const double E = pow(10, -5); double left, right, middle; left = 0.4; right = 1; while (fabs(left - right) > E) { middle = (left + right)/2; double f_left, f_middle; f_left= Func(left); f_middle= Func(middle); if (f_left*f_middle<0) { right= middle; } else { left= middle; } } middle = (left + right)/2; cout << "The root is " << middle << endl; return 0; }
[ "dawningdrop@gmail.com" ]
dawningdrop@gmail.com
e112515ca71c8a8fd77ce31a1803fc3274445552
224e9182868c02172628c354111a1aa117b4d04d
/assignment-2/part-1/visualisation/src/main.cpp
86931ca8382fdd6356397da682b101d6575479b5
[]
no_license
Loxstomper/3802ICT-Modelling-and-Visualisation
739d850a56e9b7e5ec09af54bd09dd74838cd3bf
15966edfbadaf4c1122b18fb3d1ad457690e6e38
refs/heads/master
2020-06-20T15:55:01.409534
2019-09-29T08:51:16
2019-09-29T08:51:16
197,169,082
0
0
null
null
null
null
UTF-8
C++
false
false
4,510
cpp
#include <iostream> #include <iomanip> #include <fstream> #include <vector> #include <GL/glut.h> #include <GL/gl.h> #include <GL/gl.h> #include <GL/glu.h> #include <GL/glx.h> #include <GL/glext.h> #include "headers/Terrain.hpp" #define SCREEN_HEIGHT_DEFAULT 800 #define SCREEN_WIDTH_DEFAULT 800 #define FOV 60 #define ASPECT_RATIO SCREEN_WIDTH / SCREEN_HEIGHT #define NEAR_CLIPPING_PLANE 0.1 #define FAR_CLIPPING_PLANE 50000.0 #define DEFAULT_DATA_FILE "data.json" GLfloat SCREEN_WIDTH = SCREEN_WIDTH_DEFAULT; GLfloat SCREEN_HEIGHT = SCREEN_HEIGHT_DEFAULT; struct Camera { // position GLfloat x = 0; GLfloat y = 0; GLfloat z = -5; GLfloat yMovementSpeed = 0.05; GLfloat zMovementSpeed = 0.5; // rotation GLfloat rotation = 0; GLfloat zRotationSpeed = 1.0; // camera settings GLdouble nearClippingPlane = NEAR_CLIPPING_PLANE; GLdouble farClippingPlane = FAR_CLIPPING_PLANE; GLdouble fov = FOV; bool wireframe = false; }; Terrain terrain; Camera camera; /* GLUT callback Handlers */ static void onWindowResize(int width, int height) { SCREEN_HEIGHT = height; SCREEN_WIDTH = width; glMatrixMode(GL_PROJECTION_MATRIX); glLoadIdentity(); gluPerspective(camera.fov, (double)SCREEN_WIDTH / (double)SCREEN_HEIGHT, camera.nearClippingPlane, camera.farClippingPlane); glMatrixMode(GL_MODELVIEW_MATRIX); glTranslatef(0, 0, camera.z); } static void render(void) { glClearColor(1, 0.99, 81, 1); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glMatrixMode(GL_PROJECTION_MATRIX); glLoadIdentity(); gluPerspective(60, (double)SCREEN_WIDTH / (double)SCREEN_HEIGHT, NEAR_CLIPPING_PLANE, FAR_CLIPPING_PLANE); glMatrixMode(GL_MODELVIEW_MATRIX); glTranslatef(0, camera.y, camera.z); glRotatef(camera.rotation, 0, 1, 0); terrain.draw(camera.wireframe); glutSwapBuffers(); } static void onSpecialKey(int key, int x, int y) { if (key == GLUT_KEY_UP) { camera.y -= 0.05; } if (key == GLUT_KEY_DOWN) { camera.y += 0.05; } if (key == GLUT_KEY_LEFT) { camera.rotation -= 0.5; } if (key == GLUT_KEY_RIGHT) { camera.rotation += 0.5; } } static void onKey(unsigned char key, int x, int y) { static GLfloat zoomSpeed; static GLfloat zoomDistance; zoomSpeed = 0.5; switch (key) { case 'w': camera.z += zoomSpeed; break; case 's': camera.z -= zoomSpeed; break; case 'z': if (terrain.getWaterHeight() < 1.0) terrain.setWaterHeight(terrain.getWaterHeight() + 0.01); break; case 'x': if (terrain.getWaterHeight() > -1.0) terrain.setWaterHeight(terrain.getWaterHeight() - 0.01); break; case 'r': std::cout << "Generating terrain..." << std::endl; terrain.generate(400, 400, 10, 3); std::cout << "done!\n" << std::endl; break; case 'l': std::cout << DEFAULT_DATA_FILE << " loading..." << std::endl; terrain.load(DEFAULT_DATA_FILE); std::cout << "done!\n" << std::endl; break; case ' ': camera.wireframe = !camera.wireframe; break; } glutPostRedisplay(); } static void idle(void) { glutPostRedisplay(); } void glutSetup(int *argc, char **argv) { glutInit(argc, argv); glutInitWindowSize(SCREEN_WIDTH, SCREEN_HEIGHT); glutInitWindowPosition(100, 100); glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH); glutCreateWindow("Terrain Visualisation"); glutReshapeFunc(onWindowResize); glutDisplayFunc(render); glutKeyboardFunc(onKey); glutSpecialFunc(onSpecialKey); glutIdleFunc(idle); glEnable(GL_DEPTH_TEST); // Depth Testing glDepthFunc(GL_LEQUAL); glDisable(GL_CULL_FACE); glCullFace(GL_BACK); // transparency glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glutMainLoop(); } int main(int argc, char **argv) { // check if DEFAULT_DATA_FILE exists std::ifstream f(DEFAULT_DATA_FILE); if (f.good()) { std::cout << "Found " << DEFAULT_DATA_FILE << "\n" << std::endl; // load the file terrain = Terrain(DEFAULT_DATA_FILE); } else { // generate the terrain terrain = Terrain(); } // setup glut glutSetup(&argc, argv); return EXIT_SUCCESS; }
[ "lox.ash@hotmail.com" ]
lox.ash@hotmail.com
6365a0425cde472517b9f7de69a81e9721c068fd
4b331a18682865c4d1d3c1b30aa3e1465c66d910
/reverse_nodes_in_k_group.cpp
f45fd3533a3229f9c87787006343bbd0d8ef20dc
[]
no_license
aiiilii/cpp_code
92c99df274f4ce059b54e2977303ce6eec8b0f06
5ef8f36a753097935d51b30523bca5ea3138fbc6
refs/heads/master
2022-11-08T21:20:03.551328
2020-06-27T18:20:04
2020-06-27T18:20:04
267,682,349
0
0
null
null
null
null
UTF-8
C++
false
false
1,423
cpp
using namespace std; struct ListNode { int val; ListNode* next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(x), next(nullptr) {} ListNode(int x, ListNode* next) :val(x), next(next) {} }; class ReverseK { public: ListNode* reverse_k_group(ListNode* head, int k) { if (head == nullptr || head->next == nullptr || k == 1) { return head; } ListNode dummy; dummy.next = head; ListNode* begin = &dummy; int i = 0; while (head != nullptr) { i++; if (i % k == 0) { // in this case, i == k begin = reverse(begin, head->next); head = begin->next; // jump to the next section } else { head = head->next; } } return dummy.next; } private: ListNode* reverse(ListNode* begin, ListNode* end) { ListNode* curr = begin->next; ListNode* prev = begin; ListNode* first = curr; ListNode* curr_next = nullptr; while (curr != end) { curr_next = curr->next; curr->next = prev; prev = curr; curr = curr_next; } begin->next = prev; // prev is the new head after reversing; first->next = curr; return first; // first is the last node after reversing, returning it will be the new prev; } };
[ "aili.hgong@gmail.com" ]
aili.hgong@gmail.com
2ff672eb8345939e2ee5667177422596b432769d
2e83a34664cbf86467bf3a03d559bf5017531824
/deps/boost-1.50.0/boost/asio/detail/win_iocp_io_service_fwd.hpp
0ffe5fba2469c3b76516959681e161009408092f
[ "BSL-1.0" ]
permissive
argv0/riak-cxx
34c85e87de5fe3e026d650f85cac9139f9dadb1c
7ade8b30a5ba86511b5dc10ab6989804bde8f86d
refs/heads/master
2020-05-17T20:19:25.076003
2012-08-15T23:23:47
2012-08-15T23:23:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
896
hpp
// // detail/win_iocp_io_service_fwd.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP #define BOOST_ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP #if defined(_MSC_VER) && (_MSC_VER >= 1200) # pragma once #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) #include <boost/asio/detail/config.hpp> #if defined(BOOST_ASIO_HAS_IOCP) namespace riakboost { namespace asio { namespace detail { class win_iocp_io_service; class win_iocp_overlapped_ptr; } // namespace detail } // namespace asio } // namespace riakboost #endif // defined(BOOST_ASIO_HAS_IOCP) #endif // BOOST_ASIO_DETAIL_WIN_IOCP_IO_SERVICE_FWD_HPP
[ "andy@andygross.org" ]
andy@andygross.org
30410ca5870c5872be39eb8796f93c7415a6acab
caa2c6ef42ff0345b1736c8c0f145378f3a98c39
/Project_2019_06_26/Arduino/19_06_26.ino
a6adb342d57b007dc93fc7d92bcb4352f2cc1664
[ "MIT" ]
permissive
charon25/KPU-Projects
d0dcdbf699949eb311bb8927e3892264fca501f5
9b7bd957408f1249bedd54544410317ccf203846
refs/heads/master
2023-06-12T01:55:50.663711
2021-06-21T21:01:30
2021-06-21T21:01:30
379,060,879
0
0
null
null
null
null
UTF-8
C++
false
false
576
ino
int flameSensorPin = 0; int lightSensorPin = 2; int N = 25; void setup() { Serial.begin(9600); } void loop() { double somme = 0; for (int i = 0 ; i < N ; i++) { somme += analogRead(flameSensorPin); } somme = somme / (double)N; double somme2 = 0; for (int i = 0 ; i < N ; i++) { somme2 += analogRead(lightSensorPin); } somme2 = somme2 / (double)N; String flame = "", light = ""; if (somme < 8) {flame = "1";} else {flame = "-1";} if (somme2 < 128) {light = "1";} else {light = "-1";} Serial.println(flame + "/" + light); delay(25); }
[ "paul.kern@insa-strasbourg.fr" ]
paul.kern@insa-strasbourg.fr
5bb1b687943e0d0fabbb0e10fe9d6199aed47f51
aee666b16c39bdf673de1066c7d9a7636202c70a
/lib/Platform/Android/System/Timer.h
1cad617dcbdbbc02a000d6b1120ad6c0dc4d0950
[ "MIT", "GPL-3.0-only" ]
permissive
qwertycoin-org/qwertycoin-testnet
b17da71729f4465ff588dd7a9709029061a77bb0
9b984432397e5a2234a18125eba4212d4386e069
refs/heads/master
2021-01-13T23:36:29.653992
2020-08-11T15:28:00
2020-08-11T15:28:00
242,529,568
6
4
MIT
2020-09-22T00:00:00
2020-02-23T14:16:39
C++
UTF-8
C++
false
false
1,293
h
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers // Copyright (c) 2018-2020, The Qwertycoin Group. // // This file is part of Qwertycoin. // // Qwertycoin is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Qwertycoin is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with Qwertycoin. If not, see <http://www.gnu.org/licenses/>. #pragma once #include <chrono> namespace System { class Dispatcher; class Timer { public: Timer(); explicit Timer(Dispatcher &dispatcher); Timer(const Timer &) = delete; Timer(Timer &&other); ~Timer(); void sleep(std::chrono::nanoseconds duration); Timer &operator=(const Timer &) = delete; Timer &operator=(Timer &&other); private: Dispatcher *dispatcher; void *context; int timer; }; } // namespace System
[ "alexnnian@protonmail.com" ]
alexnnian@protonmail.com
59c313d03e180a03f8fb7aa659a254f9f774ec87
d21782fdb588232eb3dd41e36507db76dafe36e1
/windows/subcontrollers/tests/model_controller_test/model_controller_test.cpp
0d644abfd064518bc2af0dd2afc548aab8fe4a3c
[]
no_license
Erucolindo96/Native-Speaker
dddd474dec94e235bf3a5f7749ade6dce667dc9f
f82607f1e2a848a7dd0ec4e429365cd7b149b5a4
refs/heads/master
2020-03-30T13:32:07.003962
2019-09-09T08:26:33
2019-09-09T08:26:33
151,276,432
0
1
null
null
null
null
UTF-8
C++
false
false
4,647
cpp
#include "model_controller_test.hpp" BOOST_AUTO_TEST_SUITE( ModelControllerTest ) BOOST_AUTO_TEST_CASE( incrementActPageAtInvoceNextPageIfModelCntIsMoreThanModelsAtPage ) { QToolBox box; const uint32_t MODELS_CNT = 4, MODELS_AT_PAGE =1; ModelController controller(&box, MODELS_AT_PAGE); ConfigManager conf; conf.setVectSize(12); conf.setModelFolder("models"); controller.loadModels(conf ); controller.refreshDisplayedModels(); BOOST_CHECK_EQUAL(controller.getModelsCnt(), MODELS_CNT); BOOST_CHECK_EQUAL(controller.getActPage(), 0); BOOST_CHECK_EQUAL(box.count(),1); BOOST_CHECK_NO_THROW(controller.nextPage()); BOOST_CHECK_EQUAL(controller.getActPage(), 1); BOOST_CHECK_EQUAL(box.count(),1); BOOST_CHECK_NO_THROW(controller.nextPage()); BOOST_CHECK_EQUAL(controller.getActPage(), 2); BOOST_CHECK_EQUAL(box.count(),1); BOOST_CHECK_NO_THROW(controller.nextPage()); BOOST_CHECK_EQUAL(controller.getActPage(), 3); BOOST_CHECK_EQUAL(box.count(),1); } BOOST_AUTO_TEST_CASE( saveCorrectActPageAtInvoceNextPageIfModelCntIsEqualModelsAtPage ) { QToolBox box; const uint32_t MODELS_CNT = 4, MODELS_AT_PAGE = MODELS_CNT; ModelController controller(&box, MODELS_AT_PAGE); ConfigManager conf; conf.setVectSize(12); conf.setModelFolder("models"); controller.loadModels(conf ); controller.refreshDisplayedModels(); BOOST_CHECK_EQUAL(controller.getModelsCnt(), MODELS_CNT); BOOST_CHECK_EQUAL(controller.getActPage(), 0); BOOST_CHECK_EQUAL(box.count(),MODELS_CNT); const uint32_t MAX_ACT_PAGE = 1; BOOST_CHECK_NO_THROW(controller.nextPage()); BOOST_CHECK_EQUAL(controller.getActPage(), MAX_ACT_PAGE); BOOST_CHECK_EQUAL(box.count(),0); BOOST_CHECK_NO_THROW(controller.nextPage()); BOOST_CHECK_EQUAL(controller.getActPage(), MAX_ACT_PAGE); //powinna pozostać ta sama BOOST_CHECK_EQUAL(box.count(),0); } BOOST_AUTO_TEST_CASE( decrementActPageAtInvocePrevPageIfModelCntIsMoreThanModelsAtPage ) { QToolBox box; const uint32_t MODELS_CNT = 4, MODELS_AT_PAGE =1; ModelController controller(&box, MODELS_AT_PAGE); ConfigManager conf; conf.setVectSize(12); conf.setModelFolder("models"); controller.loadModels(conf ); controller.refreshDisplayedModels(); BOOST_CHECK_EQUAL(controller.getModelsCnt(), MODELS_CNT); BOOST_CHECK_EQUAL(controller.getActPage(), 0); BOOST_CHECK_EQUAL(box.count(),1); BOOST_CHECK_NO_THROW(controller.nextPage()); BOOST_CHECK_EQUAL(controller.getActPage(), 1); BOOST_CHECK_EQUAL(box.count(),1); BOOST_CHECK_NO_THROW(controller.nextPage()); BOOST_CHECK_EQUAL(controller.getActPage(), 2); BOOST_CHECK_EQUAL(box.count(),1); BOOST_CHECK_NO_THROW(controller.prevPage()); BOOST_CHECK_EQUAL(controller.getActPage(), 1); BOOST_CHECK_EQUAL(box.count(),1); BOOST_CHECK_NO_THROW(controller.prevPage()); BOOST_CHECK_EQUAL(controller.getActPage(), 0); BOOST_CHECK_EQUAL(box.count(),1); } BOOST_AUTO_TEST_CASE( saveCorrectActPageAtInvokePrevPageIfModelCntIsEqualModelsAtPage ) { QToolBox box; const uint32_t MODELS_CNT = 4, MODELS_AT_PAGE = MODELS_CNT; ModelController controller(&box, MODELS_AT_PAGE); ConfigManager conf; conf.setVectSize(12); conf.setModelFolder("models"); controller.loadModels(conf ); controller.refreshDisplayedModels(); BOOST_CHECK_EQUAL(controller.getModelsCnt(), MODELS_CNT); BOOST_CHECK_EQUAL(controller.getActPage(), 0); BOOST_CHECK_EQUAL(box.count(),MODELS_AT_PAGE); BOOST_CHECK_NO_THROW(controller.prevPage()); BOOST_CHECK_EQUAL(controller.getActPage(), 0); BOOST_CHECK_EQUAL(box.count(),MODELS_AT_PAGE); } BOOST_AUTO_TEST_CASE( printCorrectWidgetsCountAtToolBoxAfterRefresh ) { QToolBox box; const uint32_t MODELS_CNT = 4, MODELS_AT_PAGE = MODELS_CNT+1; ModelController controller(&box, MODELS_AT_PAGE); ConfigManager conf; conf.setVectSize(12); conf.setModelFolder("models"); controller.loadModels(conf ); controller.refreshDisplayedModels(); BOOST_CHECK_EQUAL(controller.getModelsCnt(), MODELS_CNT); BOOST_CHECK_EQUAL(controller.getActPage(), 0); BOOST_CHECK_EQUAL(box.count(),MODELS_CNT); } BOOST_AUTO_TEST_CASE( noThrowIfModelsCntIsZero ) { QToolBox box; const uint32_t MODELS_CNT = 0, MODELS_AT_PAGE = 4; ModelController controller(&box, MODELS_AT_PAGE); BOOST_REQUIRE_NO_THROW(controller.refreshDisplayedModels()); BOOST_REQUIRE_NO_THROW(controller.nextPage()); BOOST_REQUIRE_NO_THROW(controller.prevPage()); BOOST_CHECK_EQUAL(controller.getModelsCnt(), MODELS_CNT); BOOST_CHECK_EQUAL(controller.getActPage(), 0); BOOST_CHECK_EQUAL(box.count(),MODELS_CNT); } BOOST_AUTO_TEST_SUITE_END()
[ "erucolindo96@gmail.com" ]
erucolindo96@gmail.com
1a9150c1f4e51d154f2d9dbcc04b35c190155e78
8a6aa8798436d8b256099fa163249fcab9f86d89
/C++/Alipay System 2 User Controller/(15 C++ Homework) Alipay System 2 User Controller/main.cpp
d76c09a6344d4dda37718295a8b977aa153207e8
[]
no_license
12330072/C-learning
39f2399c4c5413ef80bd62b90a4688555606dc96
94b92bcd5bdfe99627b46eb4f6f46d379b0b67fe
refs/heads/master
2021-01-14T13:21:22.999905
2016-05-12T23:58:24
2016-05-12T23:58:24
58,739,535
0
1
null
2016-05-13T12:43:31
2016-05-13T12:43:31
null
UTF-8
C++
false
false
4,725
cpp
#include "userController.hpp" #include <iostream> #include <string> using std::cin; using std::cout; using std::endl; using std::string; void help() { cout << "Welcome to Alipay Managament System" << endl; cout << "Please select your service using the number:" << endl; cout << "[1] Create an user" << endl; cout << "[2] Get an user's info by username" << endl; cout << "[3] Get total user count" << endl; cout << "[4] Remove one user" << endl; cout << "[5] Set interest" << endl; cout << "[6] Pay interest" << endl; cout << "[7] withdraw(for one account)" << endl; cout << "[8] deposite(for one account)" << endl; cout << "[9] Display help info" << endl; cout << "[0] Quit" << endl; } int main() { help(); Alipay::userController controller(0.005); while (true) { cout << "Alipay $ "; int choose; cin >> choose; switch (choose) { case 1: if (true) { char username[21]; char password[21]; cout << "please input [username] [password]" << endl; cin >> username >> password; if (controller.createUser(username, password)) { cout << "create user successfully!" << endl; } else { cout << "fail to create user with username:" << username << " password:" << password << endl; } break; } case 2: if (true) { char username[21]; cout << "please input username" << endl; cin >> username; cout << "user info:" << endl; cout << controller.getUserInfoByName(username) << endl; break; } case 3: cout << "Total user count: " << controller.getUserCount() << endl; break; case 4: if (true) { char username[21]; cout << "please input username" << endl; cin >> username; if (controller.removeUserByUsername(username)) { cout << "remove user successfully!" << endl; } else { cout << "fail to reomove user with username:" << username << endl; } break; } case 5: if (true) { double newRate; cout << "please input the new interest rate:" << endl; cin >> newRate; if (controller.setInterest(newRate)) { cout << "set interest successfully" << endl; } else { cout << "set interest falied with interest rate:" << newRate << endl; } break; } case 6: if (true) { controller.payInterest(); cout << "pay interest compelete" << endl; break; } case 7: if (true) { cout << "please input [username] [withdraw_amount]" << endl; char username[21]; double amount; cin >> username >> amount; if (controller.withdraw(username, amount)) { cout << "withdraw successfully!" << endl; } else { cout << "withdraw falied with amount:" << amount << endl; } break; } case 8: if (true) { cout << "please input [username] [deposite_amount]" << endl; char username[21]; double amount; cin >> username >> amount; if (controller.deposite(username, amount)) { cout << "deposite successfully!" << endl; } else { cout << "deposite falied with amount:" << amount << endl; } break; } case 0: cout << "Tanks for using Alipay, Bye!" << endl; return 0; case 9: help(); break; default: cout << "No suchu command! Please input again" << endl; help(); } } return 0; }
[ "“mgsweet@126.com”" ]
“mgsweet@126.com”
76d56420ed604ec526b0c482a2a9f615ed1bca7d
e1a483ceb7e4ded910dfba27b1435bf743667dee
/undicht/core/implementation/graphics/opengl_33/src/gl33_renderer.h
6bd3b2cc8216a39a72e81bc7c2be1f617392fd54
[]
no_license
ebanjo-2/undicht_0.36
e320485cad496d2f4b72a5450ead7a9d983e732f
d2b1cfc76aed717e9c41de97fcb5d0490c7cb7aa
refs/heads/master
2020-12-29T08:17:40.032732
2020-02-27T16:49:46
2020-02-27T16:49:46
238,531,053
0
0
null
null
null
null
UTF-8
C++
false
false
1,633
h
#ifndef GL33_RENDERER_H #define GL33_RENDERER_H #include <graphics/renderer.h> #include "gl33_vertex_buffer.h" #include "gl33_shader.h" #include "gl33_frame_buffer.h" namespace undicht { namespace graphics { namespace gl33 { class Renderer : public implementation::Renderer { public: // storing the last submissions VertexBuffer* m_current_vbo = 0; Shader* m_current_shader = 0; FrameBuffer* m_current_fbo = 0; static bool s_depth_test_enabled; static bool s_culling_enabled; public: // opengl only functions /// binding the submitted fbo void useFbo(); public: virtual void submit(graphics::VertexBuffer* vbo); virtual void submit(graphics::Shader* shader); virtual void submit(graphics::FrameBuffer* fbo); virtual void clearFramebuffer(float r = 1, float g = 1, float b = 1, float alpha = 1); virtual void draw(unsigned int instance_count = 1); static void setViewport(int width, int height, int offset_x = 0, int offset_y = 0); static void enableDepthTest(bool enable = true); static void enableBackFaceCulling(bool enable = true); Renderer(); virtual ~Renderer(); }; } // gl33 } // graphics } // undicht #endif // GL33_RENDERER_H
[ "eike.thed@gmail.com" ]
eike.thed@gmail.com
a6b437c8281e9d1918c242761b279122d53882d3
cdff79240be45d4f701248152ea54ffb8f1c3a07
/debugfs/android50/bionic/libc/bionic/pthread_internals.cpp
05f9ad5d66c18f47cc028d753758a94c50b7ce7a
[]
no_license
wanggong/self_code
693fed815c0ad79cacc0376eed53a1c2db7fd02c
d4f3d1221d521b6bd4f4e52a45622eb54a4217cb
refs/heads/master
2020-04-06T02:38:50.807665
2020-02-22T07:22:30
2020-02-22T07:22:30
12,781,553
2
0
null
null
null
null
UTF-8
C++
false
false
3,203
cpp
/* * Copyright (C) 2008 The Android Open Source Project * 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. */ #include "pthread_internal.h" #include "private/bionic_futex.h" #include "private/bionic_tls.h" #include "private/ScopedPthreadMutexLocker.h" pthread_internal_t* g_thread_list = NULL; pthread_mutex_t g_thread_list_lock = PTHREAD_MUTEX_INITIALIZER; extern "C" int is_thread_mutex(pthread_mutex_t *mutex) { return mutex==&g_thread_list_lock; } void _pthread_internal_remove_locked(pthread_internal_t* thread) { if (thread->next != NULL) { thread->next->prev = thread->prev; } if (thread->prev != NULL) { thread->prev->next = thread->next; } else { g_thread_list = thread->next; } // The main thread is not heap-allocated. See __libc_init_tls for the declaration, // and __libc_init_common for the point where it's added to the thread list. if ((thread->attr.flags & PTHREAD_ATTR_FLAG_MAIN_THREAD) == 0) { free(thread); } } void _pthread_internal_add(pthread_internal_t* thread) { ScopedPthreadMutexLocker locker(&g_thread_list_lock); // We insert at the head. thread->next = g_thread_list; thread->prev = NULL; if (thread->next != NULL) { thread->next->prev = thread; } g_thread_list = thread; } pthread_internal_t* __get_thread(void) { return reinterpret_cast<pthread_internal_t*>(__get_tls()[TLS_SLOT_THREAD_ID]); } // Initialize 'ts' with the difference between 'abstime' and the current time // according to 'clock'. Returns -1 if abstime already expired, or 0 otherwise. int __timespec_from_absolute(timespec* ts, const timespec* abstime, clockid_t clock) { clock_gettime(clock, ts); ts->tv_sec = abstime->tv_sec - ts->tv_sec; ts->tv_nsec = abstime->tv_nsec - ts->tv_nsec; if (ts->tv_nsec < 0) { ts->tv_sec--; ts->tv_nsec += 1000000000; } if ((ts->tv_nsec < 0) || (ts->tv_sec < 0)) { return -1; } return 0; }
[ "wanggongzhen@wanggongzhen.wingtech.com" ]
wanggongzhen@wanggongzhen.wingtech.com
26c18a44cb656242c9ee9502b3377790e96e8b81
3a1bf3ff4a2c9f67ae6200f53ee622ff627b3d02
/fboss/agent/hw/test/dataplane_tests/HwProdInvariantTests.cpp
64f5d2d486cfe6824c2447a8df57426fb7e28173
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
isabella232/fboss
4fef5e86fb65203b0971d35ff62d84e536e8c8ee
e552180def2131b2827cbcdc4e6248765f0b96ce
refs/heads/master
2023-04-11T05:00:33.974290
2021-04-16T10:35:00
2021-04-16T10:36:19
358,584,211
0
0
NOASSERTION
2021-04-16T12:11:45
2021-04-16T11:58:34
null
UTF-8
C++
false
false
1,659
cpp
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #include "fboss/agent/hw/test/ConfigFactory.h" #include "fboss/agent/hw/test/HwLinkStateDependentTest.h" #include "fboss/agent/hw/test/HwTestProdConfigUtils.h" #include "fboss/agent/hw/test/dataplane_tests/HwProdInvariantHelper.h" namespace facebook::fboss { /* * Test to verify that standard invariants hold. DO NOT change the name * of this test - its used in testing prod<->trunk warmboots on diff */ class HwProdInvariantsTest : public HwLinkStateDependentTest { protected: cfg::SwitchConfig initialConfig() const override { auto cfg = utility::onePortPerVlanConfig(getHwSwitch(), masterLogicalPortIds()); utility::addProdFeaturesToConfig(cfg, getHwSwitch()); return cfg; } void SetUp() override { HwLinkStateDependentTest::SetUp(); prodInvariants_ = std::make_unique<HwProdInvariantHelper>( getHwSwitchEnsemble(), initialConfig()); prodInvariants_->setupEcmp(); } void verifyInvariants() { prodInvariants_->verifyInvariants(); } HwSwitchEnsemble::Features featuresDesired() const override { return HwProdInvariantHelper::featuresDesired(); } private: std::unique_ptr<HwProdInvariantHelper> prodInvariants_; }; TEST_F(HwProdInvariantsTest, verifyInvariants) { verifyAcrossWarmBoots([]() {}, [this]() { verifyInvariants(); }); } } // namespace facebook::fboss
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
2d093efc95b87a08d56377408c5f32379cafed69
48755fcf307f631ce7d4a5bdbcd584e8508c5473
/Source/RMC_Examples/Actors/AnimatedTerrain.h
6f03bc1040929a769232b551950e56dcec683e26
[]
no_license
UDKMan/UnrealSpringMassNetwork
df6da1237e33123679d5bd5b6cdcf00599bc7275
4c8b6bb2f92d85166d29f5d1d76149371c12780c
refs/heads/master
2020-05-14T13:51:18.070152
2017-03-28T16:18:00
2017-03-28T16:18:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
891
h
// Copyright 2016 Chris Conway (Koderz). All Rights Reserved. #pragma once #include "GameFramework/Actor.h" #include "RuntimeMeshObjectBase.h" #include "AnimatedTerrain.generated.h" UCLASS() class RMC_EXAMPLES_API AAnimatedTerrain : public ARuntimeMeshObjectBase { GENERATED_BODY() public: bool bGenerated; UPROPERTY(EditDefaultsOnly, Category = "Bounding Box") FBox BoundingBox; // Sets default values for this actor's properties AAnimatedTerrain(); // Called when the game starts or when spawned virtual void BeginPlay() override; // Called every frame virtual void Tick(float DeltaSeconds) override; void OnConstruction(const FTransform& Transform) override; void Generate(); float AnimationOffsetX = 0.0f; float AnimationOffsetY = 0.0f; int32 HalfWidth = 400; float CellSize = 5; float Height = 20; };
[ "sendra.alexandre@gmail.com" ]
sendra.alexandre@gmail.com
b2cb558ef6e22f954cc703ffc163e3332c12f21f
278b11ce5a07144907795f94e0f150dc176d20ed
/Lib/2020-3A-IBD-MLDLL/Kmeans.cpp
225a5b3b2edb823d80db898e4b891c7f73a0ebe0
[]
no_license
idrissrhe/Projet-Ann
eb0d7b62c681f90eb1c1f88338b891359f251f48
8a76cb47fb373e57c6e6223a49a13cfc7de30c8a
refs/heads/master
2022-12-08T14:24:39.452441
2020-09-02T23:05:10
2020-09-02T23:05:10
291,531,180
0
0
null
null
null
null
UTF-8
C++
false
false
3,869
cpp
#include "Kmeans.h" extern "C" { double get_distanceK(double* Xpredict, double* Xn, int inputsSize) { // l2-norm double accum = 0.; for (int i = 0; i < inputsSize; ++i) { double res = Xpredict[i] - Xn[i]; accum += res * res; } double norm = sqrt(accum); return norm; } double* select_random_k(int K, double* Xtrain, int exampleCount, int inputsSize) { double* Kmeans = new double[K * inputsSize]; std::vector<int> inputIndex; auto rng = std::default_random_engine{}; for (int i = 0; i < exampleCount; i++) // Create ordered vector inputIndex.push_back(i); std::shuffle(std::begin(inputIndex), std::end(inputIndex), rng); //shuffle indexes inputs int pos = 0; for (int i = 0; i < K; i++) { for (int n = 0; n < inputsSize; n++) { Kmeans[pos] = Xtrain[(inputsSize * inputIndex[i]) + n]; pos++; } } return Kmeans; } void center_to_cluster(double* Kmeans, int K, double* X, int exampleCount, int inputsSize, double* colors) { double* Xn = new double[inputsSize]; // Init with big int? double* Kn = new double[inputsSize]; double* distances = new double[exampleCount]; for (int i = 0; i < exampleCount; i++) distances[i] = INT_MAX; for (int k = 0; k < K; k++) { // get one K for (int i = 0; i < inputsSize; i++) Kn[i] = Kmeans[(inputsSize * k) + i]; // for Kn get all distances. If distance smaller, replace for (int n = 0; n < exampleCount; n++) { for (int i = 0; i < inputsSize; i++) Xn[i] = X[(inputsSize * n) + i]; double distance = get_distanceK(Kn, Xn, inputsSize); if (distance <= distances[n]) { distances[n] = distance; colors[n] = k; } } } } void cluster_to_center(double* Kmeans, int K, double* Xtrain, int exampleCount, int inputsSize, double* old_Kmeans, double* colors) { // Store Kmeans in old_Kmeans for (int i = 0; i < K * inputsSize; i++) old_Kmeans[i] = Kmeans[i]; double* KmeansTmp = new double[K * inputsSize]; for (int i = 0; i < K * inputsSize; i++) KmeansTmp[i] = 0; double* color_occur = new double[exampleCount]; for (int i = 0; i < exampleCount; i++) color_occur[i] = 0; for (int k = 0; k < K; k++) { for (int i = 0; i < exampleCount; i++) // accumulate coordinate { if (colors[i] == k) { color_occur[k] += 1; for (int n = 0; n < inputsSize; n++) { KmeansTmp[(k * inputsSize) + n] += Xtrain[(i * inputsSize) + n]; } } } } for (int i = 0; i < K; i++) // make mean for (int n = 0; n < inputsSize; n++) KmeansTmp[(i * inputsSize) + n] = KmeansTmp[(i * inputsSize) + n] / color_occur[i]; for (int i = 0; i < K * inputsSize; i++) Kmeans[i] = KmeansTmp[i]; } bool should_stop(double* Kmeans, double* old_Kmeans, int size) { for (int i = 0; i < size; i++) if (Kmeans[i] != old_Kmeans[i]) return false; return true; } DLLEXPORT double* get_Kmeans(int K, double* Xtrain, int exampleCount, int inputsSize, int epochs) { double* Kmeans = select_random_k(K, Xtrain, exampleCount, inputsSize); double* old_Kmeans = new double[K * inputsSize]; double* colors = new double[exampleCount * inputsSize]; for (int i = 0; i < epochs; i++) { center_to_cluster(Kmeans, K, Xtrain, exampleCount, inputsSize, colors); cluster_to_center(Kmeans, K, Xtrain, exampleCount, inputsSize, old_Kmeans, colors); if (should_stop(Kmeans, old_Kmeans, K * inputsSize)) break; } return Kmeans; } }
[ "idriss.rher123@gmail.com" ]
idriss.rher123@gmail.com
958f16d1b2ab0f77781f6a1ec7a5d197c3b5c04c
6f726597c05899a5fd0dde5bc718ed402b14c2de
/sniffing.h
fc3ab2bcd5eb7d97ad6dd84c4eef5e3f2ce18dd5
[]
no_license
motazreda/BlackHunter
f6b949518883cc1b6b227eba4e02d291729001ac
3db998924610da1539ce36f2f5de4b5340e7a82f
refs/heads/master
2021-01-12T17:47:16.286089
2016-10-06T08:01:06
2016-10-06T08:01:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
160
h
#ifndef SNIFFING_H #define SNIFFING_H #include "mainwindow.h" class Sniffing { public: Sniffing(); std::string *interfaces(); }; #endif // SNIFFING_H
[ "motazkhodair@gmail.com" ]
motazkhodair@gmail.com
f701670910600480930e0abd92c4187ea3801ba6
dec09c2be03945633e6af5872c1d91a3d2192afa
/Network/UdpClient.cpp
35840eacb5aee6a3512724cf2ae243b500fbd572
[]
no_license
DreamOfFootPrints/Linux
794bc6a5ca666a615df6080b3f5be72c066adcd4
36180f1354281b0f8cf7596f0e916480b653fce3
refs/heads/master
2020-09-20T07:44:41.258382
2016-08-22T13:51:14
2016-08-22T13:51:14
66,004,009
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
650
cpp
#include"linux.h" int main(int argc,char* argv[]) { if (argc != 3) { printf("%s [ip][port]", argv[0]); exit(1); } int client_sock = socket(AF_INET, SOCK_DGRAM, 0);//gram¿ËµÄÒâ˼ if (client_sock == -1) { perror("socket"); exit(2); } struct sockaddr_in remote; remote.sin_family = AF_INET; remote.sin_addr.s_addr = inet_addr(argv[1]); remote.sin_port = htons(atoi(argv[2])); char buf[1024]; while (1) { ssize_t len = read(0, buf, sizeof(buf) - 1); if (len > 0) { buf[len] = '0'; } len = sendto(client_sock, buf, sizeof(buf) - 1, 0, (struct addr*)&remote, sizeof(remote)); } close(client_sock); return 0; }
[ "2822850867@qq.com" ]
2822850867@qq.com
0b814cfa3d2338e91aa618fc8042af5033bc2d73
5194b65327710d41f7fe57e4458f630aa2e08153
/C++/YourDuino/MD_AButton/examples/LCD_Keypad/LCD_Keypad.ino
5659992ba8674ee8269ab4333b73de6e8f6801b5
[]
no_license
Gerst20051/ArduinoExamples
be3741a8c9a6ee6531aea378cc67b77cf22c39c4
b372b9ad890dcd5650daec373e6e22e2d39e2ce3
refs/heads/master
2021-01-17T13:46:18.835218
2016-06-28T04:12:32
2016-06-28T04:12:32
40,215,265
0
0
null
null
null
null
UTF-8
C++
false
false
847
ino
// Print the key selection #include <LiquidCrystal.h> #include <MD_AButton.h> // LCD display definitions #define LCD_ROWS 2 #define LCD_COLS 16 // LCD pin definitions #define LCD_RS 8 #define LCD_ENA 9 #define LCD_D4 4 #define LCD_D5 LCD_D4+1 #define LCD_D6 LCD_D4+2 #define LCD_D7 LCD_D4+3 LiquidCrystal lcd(LCD_RS, LCD_ENA, LCD_D4, LCD_D5, LCD_D6, LCD_D7); MD_AButton lcdButton(); // use default pin void setup() { lcd.begin(LCD_COLS, LCD_ROWS); lcd.clear(); lcd.write("MD_AButton Test"); lcd.setCursor(0,1); lcd.write("Press keys ..."); delay(750); } void loop() { char c = lcdButton.getKey(); lcd.home(); lcd.print("Key = "); lcd.setCursor(6, 0); lcd.print((c == KEY_NONE) ? ' ' : c); delay((c == KEY_NONE) ? 10 : 200 ); }
[ "gerst20051@gmail.com" ]
gerst20051@gmail.com
4f31353b02d37b3ae2d21ac14cd4802f201914db
4352b5c9e6719d762e6a80e7a7799630d819bca3
/tutorials/oldd/eulerVortex.twitch/eulerVortex.cyclic.twitch/3.56/rho
e5804c74fd20d2306893da9a040f71b80c39b7b2
[]
no_license
dashqua/epicProject
d6214b57c545110d08ad053e68bc095f1d4dc725
54afca50a61c20c541ef43e3d96408ef72f0bcbc
refs/heads/master
2022-02-28T17:20:20.291864
2019-10-28T13:33:16
2019-10-28T13:33:16
184,294,390
1
0
null
null
null
null
UTF-8
C++
false
false
72,758
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "3.56"; object rho; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -3 0 0 0 0 0]; internalField nonuniform List<scalar> 10000 ( 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.39999 1.39999 1.39998 1.39996 1.39995 1.39993 1.39991 1.3999 1.39988 1.39988 1.39988 1.3999 1.39992 1.39995 1.39999 1.40004 1.40009 1.40014 1.40018 1.40022 1.40026 1.40028 1.40029 1.40029 1.40029 1.40027 1.40025 1.40022 1.4002 1.40017 1.40014 1.40011 1.40008 1.40006 1.40005 1.40003 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.39999 1.39998 1.39997 1.39995 1.39993 1.39991 1.39989 1.39987 1.39986 1.39987 1.39988 1.39991 1.39995 1.40001 1.40007 1.40014 1.40021 1.40028 1.40034 1.40039 1.40042 1.40044 1.40045 1.40045 1.40043 1.4004 1.40036 1.40032 1.40028 1.40023 1.40019 1.40015 1.40012 1.40009 1.40006 1.40004 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.39999 1.39997 1.39996 1.39994 1.39991 1.39989 1.39987 1.39986 1.39986 1.39988 1.39991 1.39997 1.40004 1.40013 1.40023 1.40033 1.40043 1.40052 1.4006 1.40066 1.4007 1.40071 1.4007 1.40068 1.40064 1.40059 1.40052 1.40046 1.40039 1.40032 1.40026 1.40021 1.40016 1.40012 1.40008 1.40006 1.40004 1.40003 1.40002 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.39999 1.39997 1.39995 1.39992 1.3999 1.39987 1.39986 1.39986 1.39989 1.39993 1.40001 1.40011 1.40024 1.40038 1.40053 1.40069 1.40083 1.40095 1.40105 1.40111 1.40114 1.40114 1.40111 1.40105 1.40097 1.40087 1.40077 1.40066 1.40055 1.40045 1.40036 1.40028 1.40021 1.40016 1.40011 1.40008 1.40005 1.40003 1.40002 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.39998 1.39996 1.39994 1.39991 1.39989 1.39988 1.39988 1.39991 1.39997 1.40008 1.40022 1.4004 1.40061 1.40084 1.40107 1.40129 1.40149 1.40166 1.40178 1.40185 1.40186 1.40182 1.40174 1.40162 1.40147 1.4013 1.40113 1.40096 1.40079 1.40064 1.40051 1.40039 1.40029 1.40021 1.40015 1.4001 1.40006 1.40004 1.40002 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40002 1.40001 1.4 1.39998 1.39996 1.39994 1.39991 1.3999 1.39991 1.39995 1.40003 1.40017 1.40036 1.40061 1.40091 1.40125 1.4016 1.40196 1.40228 1.40257 1.40279 1.40294 1.403 1.40298 1.40289 1.40272 1.4025 1.40225 1.40197 1.40169 1.40141 1.40115 1.40092 1.40072 1.40054 1.4004 1.40029 1.4002 1.40013 1.40008 1.40005 1.40002 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40002 1.40003 1.40002 1.40002 1.40001 1.39999 1.39997 1.39995 1.39994 1.39995 1.4 1.4001 1.40028 1.40053 1.40087 1.40129 1.40177 1.4023 1.40284 1.40336 1.40384 1.40423 1.40453 1.40471 1.40476 1.40469 1.4045 1.40422 1.40385 1.40342 1.40298 1.40252 1.40209 1.40169 1.40133 1.40103 1.40077 1.40056 1.40039 1.40027 1.40017 1.4001 1.40006 1.40003 1.40001 1.4 1.4 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40003 1.40003 1.40004 1.40004 1.40003 1.40002 1.4 1.39999 1.39998 1.4 1.40005 1.40018 1.40039 1.40072 1.40116 1.40173 1.40239 1.40315 1.40394 1.40474 1.40549 1.40617 1.40671 1.40711 1.40732 1.40736 1.40721 1.40689 1.40643 1.40584 1.40518 1.40448 1.40378 1.40311 1.40249 1.40195 1.40149 1.4011 1.40079 1.40055 1.40037 1.40023 1.40014 1.40007 1.40003 1.40001 1.39999 1.39999 1.39999 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40003 1.40004 1.40004 1.40005 1.40005 1.40005 1.40004 1.40003 1.40003 1.40005 1.40012 1.40026 1.40051 1.4009 1.40146 1.40219 1.40308 1.4041 1.40523 1.40639 1.40753 1.40859 1.40952 1.41025 1.41076 1.41103 1.41104 1.41079 1.4103 1.4096 1.40873 1.40774 1.40668 1.40563 1.40461 1.40369 1.40287 1.40217 1.4016 1.40114 1.40078 1.40052 1.40032 1.40019 1.40009 1.40004 1.4 1.39999 1.39998 1.39998 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40004 1.40005 1.40006 1.40007 1.40008 1.40008 1.40008 1.40008 1.40011 1.40018 1.40033 1.40061 1.40107 1.40173 1.40263 1.40377 1.40512 1.40663 1.40825 1.40988 1.41146 1.41289 1.41412 1.41507 1.41572 1.41603 1.41601 1.41564 1.41495 1.41397 1.41274 1.41133 1.40981 1.40828 1.40679 1.40543 1.40421 1.40318 1.40233 1.40165 1.40113 1.40074 1.40046 1.40026 1.40013 1.40005 1.4 1.39998 1.39997 1.39997 1.39997 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40004 1.40005 1.40007 1.40008 1.4001 1.40011 1.40012 1.40013 1.40016 1.40024 1.4004 1.4007 1.40119 1.40195 1.40302 1.4044 1.4061 1.40806 1.41021 1.41244 1.41464 1.41671 1.41856 1.4201 1.42128 1.42206 1.42243 1.42236 1.42188 1.42098 1.41969 1.41807 1.41617 1.4141 1.41196 1.40987 1.4079 1.40615 1.40464 1.4034 1.40241 1.40164 1.40107 1.40066 1.40038 1.40019 1.40007 1.4 1.39997 1.39996 1.39996 1.39996 1.39997 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40004 1.40005 1.40007 1.40009 1.40011 1.40014 1.40016 1.40018 1.40022 1.40029 1.40045 1.40075 1.40127 1.4021 1.4033 1.40493 1.40698 1.40941 1.41214 1.41504 1.41796 1.42078 1.42336 1.42559 1.42741 1.42877 1.42965 1.43003 1.42994 1.42935 1.42829 1.42675 1.42476 1.42239 1.41971 1.41688 1.41404 1.41133 1.40887 1.40673 1.40494 1.4035 1.40239 1.40157 1.40097 1.40056 1.40028 1.40011 1.40001 1.39996 1.39994 1.39994 1.39995 1.39996 1.39997 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40005 1.40007 1.40009 1.40012 1.40015 1.40018 1.40022 1.40026 1.40034 1.40049 1.40079 1.4013 1.40216 1.40345 1.40527 1.40765 1.41056 1.41389 1.41751 1.42122 1.42485 1.42822 1.43119 1.43367 1.43563 1.43703 1.43791 1.43828 1.43815 1.43754 1.43642 1.43478 1.43258 1.42984 1.42665 1.42313 1.41947 1.41589 1.41255 1.4096 1.4071 1.40507 1.40348 1.40229 1.40143 1.40083 1.40044 1.40019 1.40004 1.39996 1.39993 1.39992 1.39993 1.39994 1.39996 1.39997 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40004 1.40006 1.40009 1.40012 1.40016 1.4002 1.40025 1.4003 1.40038 1.40052 1.40079 1.40129 1.40213 1.40346 1.40541 1.40805 1.41139 1.41532 1.41967 1.42421 1.42868 1.43285 1.43654 1.43963 1.44207 1.44388 1.44511 1.44582 1.44607 1.44592 1.44537 1.4444 1.44291 1.44082 1.43804 1.43459 1.43056 1.42617 1.42169 1.41736 1.41343 1.41003 1.40723 1.40501 1.40333 1.4021 1.40124 1.40067 1.4003 1.40009 1.39997 1.39992 1.3999 1.39991 1.39992 1.39994 1.39996 1.39997 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40005 1.40008 1.40011 1.40015 1.4002 1.40026 1.40032 1.40041 1.40054 1.40079 1.40124 1.40203 1.40333 1.40532 1.40814 1.41182 1.4163 1.42137 1.42672 1.43204 1.43699 1.44132 1.44489 1.44763 1.44958 1.45084 1.45155 1.45186 1.45189 1.4517 1.45134 1.45074 1.44979 1.44828 1.44599 1.4428 1.4387 1.43388 1.42864 1.42334 1.41834 1.41388 1.41012 1.4071 1.40477 1.40305 1.40184 1.40102 1.40049 1.40018 1.4 1.39991 1.39989 1.39989 1.3999 1.39992 1.39994 1.39996 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40004 1.40007 1.4001 1.40014 1.4002 1.40026 1.40033 1.40042 1.40055 1.40077 1.40116 1.40187 1.40308 1.40502 1.40789 1.4118 1.41673 1.42245 1.4286 1.43474 1.44043 1.44533 1.44921 1.45199 1.45374 1.45463 1.45487 1.4547 1.45436 1.45401 1.45377 1.45369 1.45372 1.45369 1.45332 1.45221 1.45004 1.44661 1.44196 1.43638 1.43034 1.42431 1.41873 1.41387 1.40986 1.40672 1.40437 1.40268 1.40153 1.40078 1.40032 1.40006 1.39993 1.39987 1.39987 1.39988 1.3999 1.39993 1.39995 1.39997 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40005 1.40008 1.40012 1.40018 1.40024 1.40032 1.40042 1.40055 1.40074 1.40108 1.40168 1.40276 1.40455 1.40733 1.41131 1.41653 1.42281 1.4297 1.43665 1.44306 1.44845 1.45249 1.45509 1.45632 1.4564 1.45567 1.45445 1.45309 1.45189 1.45104 1.45071 1.45097 1.45178 1.45299 1.45424 1.45502 1.45474 1.45292 1.44936 1.44421 1.43794 1.43117 1.42453 1.4185 1.41338 1.40926 1.40612 1.40384 1.40225 1.4012 1.40055 1.40016 1.39996 1.39987 1.39985 1.39986 1.39988 1.39991 1.39994 1.39996 1.39997 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40004 1.40007 1.4001 1.40015 1.40022 1.4003 1.4004 1.40053 1.4007 1.40099 1.40149 1.4024 1.40398 1.40654 1.4104 1.41572 1.42238 1.42993 1.43766 1.44479 1.45066 1.4548 1.45705 1.45751 1.45647 1.45435 1.45161 1.44869 1.44599 1.44382 1.44244 1.44198 1.44254 1.44415 1.44669 1.44982 1.45297 1.45534 1.45613 1.45475 1.45106 1.4454 1.43846 1.43107 1.42397 1.41768 1.41247 1.40839 1.40536 1.40323 1.40179 1.40087 1.40033 1.40003 1.39988 1.39984 1.39984 1.39986 1.39989 1.39992 1.39995 1.39996 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40005 1.40008 1.40013 1.40019 1.40027 1.40037 1.40049 1.40065 1.4009 1.40131 1.40205 1.40337 1.40562 1.40917 1.41434 1.42115 1.42921 1.43769 1.44559 1.452 1.45627 1.45815 1.45773 1.45538 1.45164 1.44708 1.44227 1.43768 1.4337 1.43066 1.42876 1.42815 1.42894 1.4312 1.4349 1.43982 1.44542 1.45082 1.45494 1.45676 1.45569 1.45174 1.44551 1.43795 1.43008 1.4227 1.41634 1.41121 1.40731 1.4045 1.40258 1.40133 1.40057 1.40014 1.39992 1.39984 1.39982 1.39984 1.39987 1.3999 1.39993 1.39996 1.39997 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40004 1.40006 1.4001 1.40015 1.40023 1.40032 1.40044 1.40059 1.40081 1.40114 1.40173 1.40279 1.40466 1.40776 1.41253 1.4192 1.42752 1.43667 1.4454 1.4525 1.45706 1.45869 1.45745 1.45379 1.44836 1.4419 1.43509 1.42849 1.42255 1.4176 1.4139 1.41161 1.41085 1.41173 1.41437 1.41887 1.42514 1.43282 1.44111 1.44877 1.45444 1.45699 1.45589 1.45144 1.44456 1.43645 1.42825 1.42081 1.41458 1.40971 1.40612 1.40361 1.40195 1.40092 1.40031 1.4 1.39985 1.39981 1.39982 1.39985 1.39989 1.39992 1.39995 1.39997 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40005 1.40007 1.40012 1.40018 1.40027 1.40038 1.40052 1.40071 1.40099 1.40145 1.40227 1.40376 1.40632 1.41048 1.41668 1.42494 1.43455 1.44415 1.45214 1.45728 1.45893 1.45711 1.45231 1.44532 1.43703 1.42828 1.41974 1.41192 1.40515 1.39967 1.39562 1.39311 1.39221 1.39303 1.39575 1.40056 1.40758 1.41665 1.42718 1.43802 1.4476 1.4543 1.45699 1.4554 1.45019 1.44259 1.43405 1.42574 1.41846 1.41256 1.4081 1.40491 1.40276 1.40138 1.40056 1.40011 1.39989 1.39981 1.39981 1.39983 1.39987 1.39991 1.39994 1.39996 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40005 1.40009 1.40014 1.40021 1.40031 1.40044 1.40061 1.40085 1.40121 1.40184 1.40297 1.40498 1.40842 1.41385 1.42162 1.43136 1.44173 1.45082 1.45691 1.45902 1.45702 1.45141 1.44312 1.4332 1.42266 1.41235 1.40285 1.39451 1.38753 1.38199 1.37792 1.37535 1.3743 1.37491 1.37739 1.38205 1.38916 1.39882 1.41071 1.42391 1.43686 1.44767 1.45461 1.45673 1.45415 1.44796 1.4397 1.4309 1.42272 1.41582 1.41043 1.40648 1.40376 1.40198 1.4009 1.40028 1.39997 1.39983 1.3998 1.39982 1.39985 1.39989 1.39992 1.39995 1.39997 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40004 1.40006 1.4001 1.40016 1.40025 1.40036 1.40051 1.40071 1.401 1.40147 1.40231 1.40383 1.40652 1.411 1.41788 1.42723 1.43808 1.44836 1.4558 1.45893 1.4573 1.45139 1.44218 1.43092 1.41882 1.4069 1.39589 1.38621 1.37806 1.37141 1.36622 1.36239 1.35985 1.35862 1.35884 1.3608 1.3649 1.37158 1.38112 1.39348 1.40804 1.42347 1.43781 1.44891 1.45516 1.45599 1.45203 1.44478 1.43599 1.42719 1.41939 1.41308 1.40832 1.40496 1.40272 1.40132 1.40051 1.40007 1.39987 1.39981 1.39981 1.39984 1.39988 1.39991 1.39994 1.39996 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40004 1.40007 1.40012 1.40018 1.40028 1.40041 1.40058 1.40082 1.40118 1.40179 1.40289 1.4049 1.40839 1.41409 1.42251 1.43327 1.44456 1.45368 1.45842 1.45785 1.45228 1.4427 1.43048 1.41707 1.4037 1.39128 1.38039 1.37126 1.36383 1.35793 1.35333 1.34985 1.34736 1.34587 1.34553 1.34672 1.34996 1.3558 1.36471 1.37684 1.39189 1.40882 1.42581 1.44055 1.45088 1.45552 1.45447 1.44893 1.44072 1.43167 1.42316 1.41598 1.4104 1.40636 1.40361 1.40185 1.4008 1.40022 1.39994 1.39983 1.39981 1.39983 1.39987 1.3999 1.39994 1.39996 1.39998 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40005 1.40008 1.40013 1.4002 1.40031 1.40046 1.40065 1.40093 1.40138 1.40216 1.40359 1.40618 1.41062 1.41767 1.42761 1.43935 1.45018 1.4571 1.45836 1.45389 1.44462 1.43198 1.41756 1.40288 1.38911 1.37701 1.36692 1.35883 1.35246 1.34745 1.34347 1.34028 1.33777 1.33593 1.33495 1.33523 1.3374 1.34215 1.35009 1.36154 1.37644 1.39403 1.41277 1.43039 1.4444 1.45288 1.45514 1.45189 1.44482 1.43595 1.42699 1.41905 1.41268 1.40794 1.40464 1.40249 1.40117 1.40042 1.40003 1.39986 1.39982 1.39983 1.39986 1.3999 1.39993 1.39995 1.39997 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40005 1.40009 1.40015 1.40022 1.40034 1.40051 1.40072 1.40105 1.40162 1.4026 1.40442 1.40769 1.41321 1.42168 1.43294 1.44499 1.45441 1.4583 1.45579 1.44763 1.43524 1.42028 1.4045 1.38939 1.37598 1.36483 1.35599 1.34917 1.34386 1.33956 1.33593 1.3328 1.33013 1.32795 1.32642 1.32591 1.32705 1.33061 1.33737 1.34785 1.36216 1.37982 1.39956 1.41927 1.43636 1.44843 1.45413 1.45356 1.44811 1.43984 1.43071 1.4222 1.4151 1.40967 1.4058 1.40322 1.4016 1.40066 1.40016 1.39992 1.39984 1.39983 1.39985 1.39989 1.39992 1.39995 1.39997 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40004 1.40006 1.4001 1.40016 1.40024 1.40037 1.40055 1.40079 1.40118 1.40188 1.40312 1.40538 1.40943 1.41613 1.42598 1.43817 1.44976 1.45692 1.45736 1.45121 1.43986 1.42504 1.40853 1.39214 1.3773 1.36486 1.35507 1.34763 1.34192 1.33721 1.33301 1.3291 1.32555 1.32252 1.32017 1.31857 1.31787 1.31845 1.32107 1.32663 1.33591 1.3493 1.36657 1.38671 1.40785 1.42737 1.44262 1.45165 1.45396 1.45049 1.44319 1.43422 1.42532 1.41759 1.4115 1.40706 1.40403 1.4021 1.40095 1.40031 1.4 1.39987 1.39984 1.39986 1.39989 1.39992 1.39995 1.39997 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40004 1.40006 1.4001 1.40018 1.40026 1.40039 1.4006 1.40087 1.40131 1.40217 1.40371 1.40647 1.41138 1.41931 1.4304 1.44298 1.45333 1.4577 1.45469 1.44527 1.43134 1.41475 1.39737 1.38101 1.367 1.35593 1.34764 1.34136 1.33608 1.33094 1.32562 1.32028 1.31543 1.31166 1.30944 1.30876 1.30925 1.31062 1.31319 1.31792 1.32596 1.33813 1.35458 1.37461 1.39656 1.41794 1.43589 1.44802 1.45322 1.45195 1.44594 1.43739 1.42831 1.42009 1.4134 1.4084 1.40492 1.40266 1.40127 1.40049 1.40009 1.39991 1.39986 1.39986 1.39989 1.39992 1.39994 1.39996 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40004 1.40007 1.4001 1.40019 1.40028 1.4004 1.40063 1.40095 1.40145 1.40248 1.40437 1.40768 1.41349 1.42265 1.43472 1.44708 1.45558 1.45699 1.45078 1.4386 1.42265 1.4049 1.38724 1.37142 1.35862 1.34909 1.34209 1.33622 1.33003 1.32264 1.31414 1.30539 1.29768 1.29241 1.29064 1.29241 1.29651 1.30128 1.3059 1.31102 1.31821 1.329 1.34421 1.3636 1.38581 1.40847 1.42862 1.44352 1.45152 1.45255 1.44804 1.44017 1.43111 1.42251 1.4153 1.40978 1.40586 1.40326 1.40164 1.4007 1.40021 1.39997 1.39989 1.39987 1.39989 1.39992 1.39994 1.39996 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40004 1.40008 1.4001 1.40019 1.4003 1.40041 1.40066 1.40104 1.4016 1.40281 1.4051 1.40901 1.4157 1.42602 1.43874 1.45031 1.4566 1.45516 1.44616 1.43167 1.41421 1.39584 1.37837 1.36345 1.35207 1.34397 1.33765 1.33083 1.32154 1.30903 1.29415 1.279 1.26609 1.258 1.25688 1.26306 1.27424 1.28648 1.29681 1.30483 1.31242 1.32213 1.33582 1.35406 1.37594 1.3993 1.42115 1.43845 1.44905 1.4524 1.44952 1.4425 1.43365 1.42482 1.41716 1.41116 1.40682 1.40389 1.40204 1.40094 1.40034 1.40004 1.39992 1.39989 1.3999 1.39992 1.39994 1.39996 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40004 1.40008 1.4001 1.40018 1.40032 1.40041 1.40066 1.40113 1.40177 1.40314 1.40587 1.41041 1.41795 1.42927 1.44231 1.45268 1.45661 1.4526 1.44124 1.42485 1.40629 1.38775 1.37086 1.35704 1.34705 1.34 1.33329 1.32349 1.30793 1.28621 1.26068 1.2354 1.21454 1.2021 1.20166 1.21432 1.23656 1.26141 1.28248 1.29732 1.30767 1.31728 1.32957 1.34629 1.3673 1.39078 1.4138 1.43307 1.44603 1.4516 1.45042 1.44439 1.43589 1.42695 1.41895 1.41252 1.40779 1.40454 1.40245 1.40119 1.40049 1.40013 1.39997 1.39991 1.39991 1.39992 1.39995 1.39996 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40003 1.40009 1.4001 1.40016 1.40033 1.40041 1.40065 1.40121 1.40195 1.40346 1.40665 1.41188 1.42017 1.43226 1.44535 1.45428 1.45587 1.44962 1.43635 1.41841 1.39907 1.38072 1.36468 1.352 1.34314 1.33645 1.32788 1.31238 1.28646 1.25061 1.20987 1.17112 1.14018 1.12219 1.12242 1.14319 1.17998 1.2224 1.25968 1.2861 1.30251 1.31379 1.32525 1.34037 1.36009 1.38318 1.40685 1.42767 1.44268 1.45031 1.4508 1.44585 1.43781 1.42887 1.42061 1.41382 1.40873 1.40518 1.40287 1.40145 1.40065 1.40022 1.40002 1.39994 1.39992 1.39993 1.39995 1.39997 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40002 1.40003 1.40002 1.40008 1.40011 1.40014 1.40032 1.40043 1.40061 1.40127 1.40216 1.40378 1.4074 1.41335 1.4223 1.43489 1.44785 1.4553 1.45463 1.44645 1.43172 1.41254 1.39261 1.37472 1.35972 1.34806 1.33982 1.33257 1.32041 1.29613 1.25539 1.20074 1.14144 1.08764 1.04599 1.02211 1.02299 1.05254 1.10572 1.16897 1.22687 1.26946 1.2956 1.31079 1.32244 1.33615 1.35437 1.37667 1.40053 1.42246 1.43918 1.44868 1.45077 1.44691 1.43941 1.43057 1.42212 1.41503 1.40963 1.40581 1.40329 1.40172 1.40081 1.40032 1.40008 1.39998 1.39994 1.39994 1.39996 1.39997 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40003 1.40002 1.40007 1.40012 1.40011 1.4003 1.40046 1.40057 1.40129 1.40238 1.4041 1.40807 1.41478 1.4243 1.43711 1.44981 1.45592 1.45312 1.44326 1.42752 1.4074 1.38695 1.36965 1.35584 1.34495 1.33662 1.32774 1.31029 1.27441 1.21523 1.13891 1.06017 0.991914 0.940428 0.911177 0.912729 0.950643 1.0198 1.10441 1.18497 1.24694 1.28607 1.30755 1.32066 1.33339 1.35006 1.37127 1.39496 1.41763 1.43573 1.44685 1.45042 1.44762 1.44069 1.43201 1.42346 1.41613 1.41046 1.4064 1.40369 1.40198 1.40098 1.40042 1.40014 1.40001 1.39997 1.39996 1.39996 1.39997 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40003 1.40002 1.40005 1.40013 1.40009 1.40025 1.40048 1.40055 1.40125 1.40259 1.40443 1.40862 1.41607 1.42616 1.43892 1.45125 1.4563 1.45159 1.4402 1.42383 1.40311 1.38212 1.36534 1.35281 1.34244 1.33318 1.32158 1.29765 1.2486 1.16954 1.07145 0.974678 0.893907 0.834309 0.800918 0.803338 0.848347 0.93118 1.03493 1.13727 1.21956 1.27375 1.30358 1.31946 1.33178 1.34699 1.36697 1.3902 1.41329 1.43246 1.44496 1.44984 1.44803 1.44168 1.43321 1.4246 1.41709 1.4112 1.40694 1.40406 1.40223 1.40114 1.40053 1.40021 1.40006 1.39999 1.39997 1.39997 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40003 1.40002 1.40003 1.40013 1.40009 1.40018 1.40048 1.40055 1.40117 1.40275 1.4048 1.40907 1.41713 1.42784 1.44039 1.45219 1.45652 1.45028 1.43737 1.42061 1.39974 1.37817 1.3616 1.35036 1.34043 1.32944 1.31411 1.28337 1.22171 1.1243 1.0069 0.894677 0.803533 0.73786 0.702203 0.70602 0.756458 0.849523 0.968292 1.08895 1.18984 1.2593 1.29866 1.31846 1.33103 1.34497 1.36367 1.38627 1.40952 1.42949 1.44312 1.44913 1.44821 1.4424 1.43415 1.42554 1.4179 1.41184 1.40741 1.4044 1.40247 1.4013 1.40063 1.40028 1.4001 1.40002 1.39999 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40002 1.40003 1.40001 1.40011 1.4001 1.4001 1.40044 1.40059 1.40107 1.4028 1.40517 1.40944 1.41787 1.42928 1.44163 1.45269 1.45658 1.44937 1.43498 1.41782 1.39727 1.37523 1.35832 1.34817 1.3389 1.32571 1.30581 1.26875 1.19725 1.08591 0.95353 0.828892 0.729375 0.659916 0.624416 0.630361 0.684239 0.783416 0.912068 1.04593 1.16155 1.24438 1.29308 1.31739 1.33078 1.34378 1.36125 1.38313 1.40636 1.42691 1.44142 1.44836 1.4482 1.44288 1.43485 1.42627 1.41855 1.41236 1.40781 1.40469 1.40267 1.40144 1.40073 1.40034 1.40014 1.40005 1.40001 1.4 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40003 1.4 1.40007 1.4001 1.40005 1.40035 1.40062 1.40101 1.40273 1.40547 1.40979 1.41829 1.43034 1.44273 1.45291 1.45642 1.44891 1.43328 1.4154 1.39551 1.37344 1.35556 1.34587 1.33773 1.32266 1.29763 1.25494 1.17763 1.05878 0.917453 0.784125 0.678405 0.607484 0.574465 0.583085 0.63809 0.738806 0.87174 1.01308 1.13839 1.23115 1.28766 1.31625 1.33077 1.34314 1.35955 1.38073 1.40384 1.42476 1.43995 1.44762 1.44807 1.44315 1.43532 1.42679 1.41903 1.41276 1.40812 1.40492 1.40285 1.40157 1.40082 1.4004 1.40019 1.40008 1.40003 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40002 1.4 1.40003 1.40009 1.40003 1.40024 1.40061 1.401 1.40258 1.40562 1.41013 1.41845 1.43091 1.44366 1.45308 1.45604 1.44878 1.43248 1.41353 1.39417 1.37278 1.35368 1.34327 1.33652 1.32099 1.29112 1.24298 1.16321 1.04367 0.900667 0.763627 0.654411 0.583643 0.554158 0.565426 0.619521 0.717652 0.849588 0.992867 1.12272 1.22138 1.28329 1.31525 1.33085 1.34283 1.35842 1.37899 1.40194 1.42311 1.43876 1.44695 1.44784 1.44323 1.43557 1.4271 1.41934 1.41303 1.40835 1.4051 1.40298 1.40167 1.4009 1.40046 1.40023 1.40011 1.40005 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40005 1.40003 1.40013 1.40053 1.40102 1.40241 1.40556 1.41039 1.41847 1.43096 1.44428 1.45338 1.4556 1.44873 1.43262 1.41255 1.39307 1.37292 1.35314 1.34068 1.33464 1.32073 1.28807 1.23465 1.15344 1.03778 0.899731 0.764814 0.655599 0.585872 0.559247 0.572345 0.62445 0.717669 0.844872 0.985568 1.11534 1.21595 1.28057 1.3146 1.33098 1.34272 1.35773 1.37786 1.40067 1.42197 1.43791 1.44641 1.44757 1.44315 1.43561 1.4272 1.41946 1.41316 1.40847 1.40522 1.40308 1.40176 1.40097 1.40051 1.40027 1.40014 1.40007 1.40003 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.39998 1.4 1.40001 1.40007 1.4004 1.40101 1.40229 1.40531 1.41043 1.41841 1.43058 1.44439 1.4538 1.45538 1.44862 1.4334 1.41282 1.39241 1.37328 1.354 1.33906 1.33189 1.32077 1.28925 1.23263 1.14959 1.03831 0.908345 0.780358 0.675484 0.608531 0.583795 0.597321 0.646988 0.734767 0.855383 0.990334 1.11624 1.21517 1.27981 1.31443 1.33112 1.34273 1.35742 1.37729 1.40002 1.42137 1.43741 1.44602 1.44727 1.44293 1.43545 1.4271 1.41942 1.41316 1.4085 1.40527 1.40314 1.40181 1.40102 1.40056 1.4003 1.40016 1.40009 1.40005 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.39999 1.39998 1.39998 1.39995 1.39997 1.40003 1.40026 1.40091 1.40219 1.40498 1.41018 1.41822 1.42995 1.44392 1.45412 1.45564 1.44862 1.43436 1.41432 1.39283 1.37364 1.35561 1.33929 1.32929 1.31978 1.29312 1.23848 1.15523 1.04697 0.924343 0.805425 0.709146 0.648094 0.625353 0.638048 0.684694 0.76675 0.879486 1.00616 1.125 1.21908 1.28119 1.31488 1.33132 1.34284 1.35746 1.37731 1.40002 1.42133 1.4373 1.44581 1.44696 1.44256 1.43509 1.4268 1.4192 1.41303 1.40844 1.40525 1.40316 1.40185 1.40106 1.40059 1.40033 1.40018 1.4001 1.40006 1.40003 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39996 1.39996 1.39993 1.39991 1.39999 1.40016 1.40074 1.40206 1.40465 1.40967 1.41776 1.42919 1.44298 1.45404 1.45631 1.44913 1.4353 1.41648 1.39481 1.37455 1.3571 1.34113 1.32866 1.31823 1.29683 1.24984 1.17211 1.06853 0.952615 0.843645 0.758799 0.705591 0.684648 0.695403 0.738162 0.813521 0.916483 1.03211 1.14087 1.2273 1.28467 1.31604 1.33169 1.34313 1.35792 1.37794 1.4007 1.42189 1.43759 1.44576 1.44663 1.44206 1.43455 1.42631 1.41881 1.41276 1.40828 1.40517 1.40314 1.40185 1.40108 1.40062 1.40035 1.4002 1.40012 1.40007 1.40004 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.39999 1.39999 1.39999 1.39995 1.39994 1.39992 1.39986 1.39993 1.40009 1.40056 1.40184 1.40431 1.40901 1.41695 1.42821 1.44175 1.45344 1.45705 1.45038 1.43656 1.41872 1.39803 1.377 1.35863 1.3433 1.3305 1.31844 1.29974 1.26205 1.19609 1.10326 0.99795 0.901919 0.829588 0.782634 0.761397 0.768918 0.806891 0.87431 0.965337 1.06703 1.16281 1.23914 1.28993 1.3179 1.33233 1.34374 1.35891 1.37927 1.40211 1.42304 1.43826 1.44588 1.44627 1.44142 1.43381 1.42563 1.41827 1.41237 1.40803 1.40504 1.40307 1.40184 1.40108 1.40063 1.40037 1.40022 1.40013 1.40008 1.40005 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.4 1.4 1.39999 1.39998 1.39995 1.39992 1.3999 1.39983 1.39985 1.40001 1.40041 1.40155 1.4039 1.40828 1.41585 1.42691 1.44031 1.45242 1.45749 1.45217 1.4386 1.42103 1.40164 1.38115 1.36143 1.34535 1.3333 1.32153 1.30412 1.27338 1.22089 1.14464 1.05719 0.97894 0.918386 0.874444 0.851165 0.855026 0.887708 0.946189 1.02363 1.10909 1.18947 1.25374 1.2966 1.32039 1.33336 1.34483 1.36059 1.38141 1.40429 1.42481 1.43929 1.44612 1.44586 1.44061 1.43288 1.42476 1.41757 1.41187 1.40771 1.40485 1.40297 1.4018 1.40107 1.40064 1.40038 1.40023 1.40014 1.40008 1.40005 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.4 1.4 1.39999 1.39997 1.39995 1.39991 1.39987 1.39982 1.39979 1.39991 1.40027 1.40126 1.40341 1.40748 1.41457 1.42523 1.43852 1.45109 1.45756 1.45406 1.44146 1.42397 1.40527 1.38606 1.36621 1.34858 1.33608 1.3257 1.31071 1.28547 1.24491 1.18707 1.12184 1.06258 1.01159 0.97003 0.946297 0.947773 0.975076 1.02383 1.08676 1.15489 1.2187 1.26989 1.30414 1.32342 1.33493 1.34662 1.36312 1.38446 1.40728 1.42715 1.44064 1.44643 1.44535 1.43963 1.43175 1.42372 1.41674 1.41127 1.40731 1.40461 1.40285 1.40173 1.40105 1.40064 1.40039 1.40024 1.40014 1.40009 1.40006 1.40004 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.39999 1.39997 1.39994 1.39991 1.39985 1.39979 1.39976 1.39982 1.40012 1.40098 1.40289 1.40658 1.41315 1.42329 1.43632 1.44935 1.45727 1.45578 1.44477 1.42784 1.40935 1.39102 1.37213 1.35402 1.34002 1.32956 1.31721 1.2984 1.26976 1.22965 1.18411 1.1394 1.09671 1.0606 1.03984 1.04031 1.06198 1.1003 1.14847 1.1996 1.24735 1.28588 1.31181 1.32687 1.33717 1.34932 1.3667 1.38852 1.41108 1.43003 1.44222 1.44673 1.44469 1.43844 1.43042 1.42251 1.41578 1.41058 1.40686 1.40433 1.40269 1.40165 1.40101 1.40062 1.40038 1.40024 1.40015 1.40009 1.40006 1.40004 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.39999 1.39999 1.39997 1.39994 1.3999 1.39985 1.39977 1.39972 1.39976 1.39997 1.4007 1.40239 1.40563 1.41159 1.42113 1.43376 1.44708 1.4565 1.45725 1.4482 1.43244 1.41433 1.39623 1.37826 1.36085 1.34605 1.33426 1.32308 1.31083 1.29396 1.26844 1.23656 1.20286 1.17015 1.14247 1.12603 1.1256 1.1414 1.16921 1.20327 1.23901 1.27268 1.30023 1.31902 1.33062 1.34024 1.35314 1.37147 1.39364 1.41566 1.43333 1.44391 1.44693 1.44382 1.43701 1.42888 1.42115 1.41471 1.40982 1.40635 1.40402 1.40251 1.40156 1.40097 1.4006 1.40038 1.40024 1.40015 1.40009 1.40006 1.40004 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39997 1.39994 1.39989 1.39985 1.39976 1.39969 1.39971 1.39985 1.40042 1.40189 1.40472 1.40995 1.41875 1.43089 1.44431 1.45507 1.45824 1.45158 1.4375 1.42011 1.40216 1.38462 1.36791 1.35335 1.34104 1.33076 1.323 1.31322 1.29625 1.27457 1.25274 1.23135 1.21159 1.19866 1.19744 1.20799 1.22628 1.24802 1.27102 1.29347 1.31237 1.32564 1.33482 1.34436 1.35828 1.37754 1.39979 1.42091 1.43691 1.44557 1.4469 1.44266 1.43532 1.42714 1.41964 1.41355 1.409 1.40582 1.40369 1.40232 1.40145 1.40091 1.40058 1.40037 1.40023 1.40015 1.40009 1.40006 1.40004 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39997 1.39994 1.3999 1.39984 1.39976 1.39967 1.39966 1.39976 1.40017 1.40139 1.40385 1.40834 1.41621 1.42768 1.44107 1.45294 1.45844 1.45462 1.44281 1.42651 1.40895 1.39155 1.37512 1.36119 1.34961 1.34065 1.3342 1.32591 1.31397 1.30219 1.29129 1.27805 1.26378 1.2543 1.25325 1.25956 1.26983 1.28182 1.29536 1.30971 1.32242 1.33188 1.33974 1.3498 1.36489 1.38491 1.4069 1.42663 1.44056 1.44701 1.44653 1.44116 1.43336 1.42521 1.41802 1.41232 1.40814 1.40526 1.40334 1.40212 1.40134 1.40085 1.40054 1.40035 1.40022 1.40014 1.40009 1.40006 1.40004 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.39999 1.39997 1.39994 1.3999 1.39984 1.39976 1.39967 1.39961 1.39968 1.39999 1.40093 1.40299 1.40683 1.41367 1.42415 1.43732 1.45012 1.45772 1.45694 1.44792 1.43334 1.41654 1.39917 1.38299 1.36968 1.35877 1.35006 1.3429 1.33563 1.32939 1.32514 1.31936 1.30998 1.3005 1.29491 1.29406 1.2965 1.30041 1.30563 1.31309 1.32227 1.33098 1.33818 1.34571 1.35675 1.37306 1.39354 1.41474 1.43258 1.44401 1.44803 1.4457 1.43925 1.43111 1.42311 1.41631 1.41105 1.40727 1.40469 1.40299 1.40191 1.40122 1.40078 1.40051 1.40033 1.40021 1.40014 1.40009 1.40006 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.4 1.4 1.4 1.39999 1.39998 1.39995 1.3999 1.39985 1.39976 1.39967 1.39961 1.39961 1.39983 1.40058 1.40219 1.40539 1.41126 1.4205 1.43304 1.4465 1.45611 1.45827 1.45228 1.44022 1.42471 1.40769 1.3919 1.37872 1.36743 1.35799 1.35089 1.34636 1.34417 1.34182 1.33704 1.3312 1.3265 1.3233 1.32141 1.32051 1.32034 1.32183 1.32613 1.33247 1.33891 1.34509 1.35307 1.36539 1.38274 1.4032 1.42303 1.43842 1.44697 1.44842 1.44428 1.43693 1.4286 1.42088 1.41454 1.40977 1.4064 1.40413 1.40265 1.4017 1.4011 1.40071 1.40047 1.40031 1.4002 1.40013 1.40008 1.40005 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39998 1.39995 1.39991 1.39986 1.39977 1.39968 1.39961 1.39957 1.3997 1.40029 1.40152 1.40408 1.40899 1.41694 1.42841 1.44198 1.45342 1.45846 1.45567 1.44656 1.43295 1.41706 1.40178 1.38818 1.37606 1.36639 1.36021 1.35691 1.35438 1.35119 1.34823 1.34623 1.34388 1.34064 1.33753 1.33501 1.33325 1.33351 1.33666 1.34165 1.34701 1.35311 1.36208 1.37573 1.39376 1.41356 1.43133 1.44372 1.44913 1.44799 1.44222 1.43417 1.42586 1.41855 1.41275 1.4085 1.40555 1.40359 1.40231 1.4015 1.40098 1.40064 1.40042 1.40028 1.40018 1.40012 1.40008 1.40005 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39998 1.39996 1.39992 1.39987 1.39979 1.3997 1.39962 1.39955 1.39961 1.40004 1.40097 1.40298 1.4069 1.41354 1.4237 1.43677 1.44945 1.45723 1.45787 1.45192 1.44074 1.42669 1.41227 1.39843 1.38591 1.37624 1.36985 1.3652 1.3611 1.35838 1.35756 1.35659 1.35373 1.35012 1.34715 1.34468 1.34299 1.34343 1.34645 1.3509 1.35595 1.36262 1.37286 1.38765 1.40577 1.42414 1.43912 1.44806 1.45019 1.44661 1.43947 1.43103 1.42296 1.41619 1.411 1.40728 1.40474 1.40307 1.402 1.40131 1.40086 1.40057 1.40038 1.40025 1.40017 1.40011 1.40007 1.40005 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39996 1.39993 1.39989 1.39981 1.39972 1.39963 1.39954 1.39957 1.39984 1.40052 1.4021 1.40512 1.41042 1.41907 1.43113 1.44426 1.45437 1.45852 1.45597 1.44765 1.43592 1.42285 1.40945 1.39706 1.38716 1.3796 1.37337 1.36879 1.36668 1.3656 1.36326 1.35988 1.35713 1.35512 1.35323 1.3522 1.35336 1.35662 1.36094 1.36622 1.37385 1.38536 1.40082 1.41823 1.43429 1.44581 1.45098 1.4499 1.4442 1.43609 1.42757 1.41996 1.41385 1.40931 1.40613 1.40399 1.4026 1.4017 1.40112 1.40075 1.4005 1.40034 1.40023 1.40015 1.4001 1.40006 1.40004 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39997 1.39994 1.3999 1.39983 1.39975 1.39966 1.39956 1.39956 1.39971 1.40017 1.40138 1.40367 1.40776 1.41477 1.42531 1.4381 1.44989 1.45725 1.45823 1.45322 1.44424 1.43297 1.42069 1.40903 1.39905 1.39048 1.38331 1.3784 1.37552 1.37283 1.36955 1.36683 1.36519 1.36373 1.3623 1.36216 1.36412 1.36767 1.37212 1.37801 1.38678 1.39927 1.41465 1.43038 1.44325 1.45078 1.45211 1.44813 1.44078 1.43217 1.42393 1.41697 1.4116 1.40773 1.40507 1.40331 1.40217 1.40143 1.40096 1.40065 1.40044 1.4003 1.4002 1.40013 1.40009 1.40006 1.40004 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39997 1.39995 1.39991 1.39985 1.39978 1.39969 1.39959 1.39956 1.39963 1.39993 1.40081 1.40252 1.40561 1.41106 1.41969 1.43132 1.44389 1.45382 1.45831 1.45699 1.45114 1.44217 1.43165 1.42115 1.41128 1.40219 1.39471 1.38942 1.3854 1.38156 1.37829 1.37627 1.37493 1.37354 1.37268 1.37348 1.37611 1.37989 1.38467 1.39138 1.40115 1.41399 1.42829 1.44127 1.4502 1.45348 1.45123 1.4449 1.43652 1.4279 1.42024 1.41409 1.40951 1.40629 1.40412 1.4027 1.40178 1.40119 1.40081 1.40055 1.40038 1.40026 1.40017 1.40012 1.40008 1.40005 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39998 1.39996 1.39992 1.39987 1.39981 1.39972 1.39963 1.39958 1.39958 1.39978 1.40039 1.40161 1.40393 1.40804 1.41471 1.42454 1.43668 1.4482 1.4559 1.45841 1.45603 1.44994 1.44168 1.43252 1.42318 1.4145 1.40739 1.40178 1.39683 1.3925 1.38947 1.3876 1.38608 1.38482 1.38469 1.3863 1.38932 1.3933 1.39858 1.40609 1.41635 1.42856 1.4406 1.44986 1.45436 1.45355 1.44831 1.4404 1.43165 1.42349 1.41666 1.41141 1.40763 1.40502 1.40329 1.40217 1.40145 1.40098 1.40067 1.40046 1.40032 1.40022 1.40015 1.4001 1.40007 1.40004 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.39998 1.39997 1.39994 1.39989 1.39984 1.39976 1.39968 1.39961 1.39958 1.3997 1.40009 1.40094 1.40264 1.40568 1.41065 1.41839 1.42902 1.44078 1.4508 1.45686 1.45825 1.45555 1.44999 1.44269 1.43473 1.42716 1.4205 1.41453 1.40918 1.40498 1.40217 1.40016 1.39849 1.39762 1.39822 1.40034 1.40355 1.40775 1.41351 1.42142 1.43127 1.44162 1.45026 1.45513 1.45525 1.45095 1.44361 1.43497 1.42651 1.41916 1.41333 1.40901 1.40597 1.40393 1.40259 1.40172 1.40116 1.4008 1.40056 1.40039 1.40027 1.40018 1.40013 1.40008 1.40006 1.40004 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.39999 1.39997 1.39995 1.39991 1.39987 1.39979 1.39972 1.39965 1.3996 1.39966 1.3999 1.40048 1.40169 1.40387 1.40749 1.41331 1.42185 1.43251 1.44336 1.45208 1.4571 1.45814 1.45579 1.45107 1.44514 1.43895 1.43289 1.42714 1.42219 1.41846 1.41574 1.41356 1.41203 1.4117 1.41282 1.41515 1.41838 1.42271 1.42859 1.43608 1.44431 1.45157 1.45602 1.45645 1.45279 1.44602 1.43764 1.4291 1.42143 1.41515 1.41037 1.40693 1.40458 1.40301 1.402 1.40135 1.40092 1.40064 1.40045 1.40032 1.40022 1.40015 1.4001 1.40007 1.40005 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.39999 1.39998 1.39996 1.39993 1.39989 1.39983 1.39977 1.39969 1.39964 1.39966 1.39979 1.40017 1.40101 1.40254 1.40513 1.40936 1.41579 1.42452 1.4347 1.44458 1.45233 1.45683 1.45796 1.45639 1.45309 1.44878 1.44399 1.43927 1.4352 1.43195 1.42932 1.42726 1.42613 1.42626 1.4276 1.42984 1.43289 1.43699 1.44225 1.4482 1.45362 1.45701 1.45717 1.4538 1.4475 1.43948 1.43106 1.42327 1.41671 1.41159 1.40783 1.4052 1.40342 1.40227 1.40152 1.40104 1.40072 1.40051 1.40036 1.40026 1.40018 1.40013 1.40009 1.40006 1.40004 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.4 1.39999 1.39999 1.39997 1.39995 1.39991 1.39986 1.39981 1.39974 1.39969 1.39968 1.39974 1.39998 1.40054 1.40159 1.40342 1.40642 1.41106 1.4177 1.42622 1.43568 1.44456 1.45149 1.45582 1.45761 1.45731 1.45541 1.45255 1.44942 1.44651 1.44393 1.44172 1.44013 1.4395 1.43989 1.4411 1.44295 1.44547 1.44872 1.45244 1.45584 1.45778 1.45726 1.45386 1.4479 1.44031 1.43219 1.42451 1.41788 1.41258 1.40859 1.40574 1.40379 1.40251 1.40167 1.40114 1.40079 1.40056 1.4004 1.40029 1.40021 1.40015 1.4001 1.40007 1.40005 1.40003 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39998 1.39996 1.39993 1.39989 1.39985 1.39979 1.39974 1.39971 1.39974 1.39989 1.40024 1.40094 1.40221 1.40429 1.40754 1.41235 1.41891 1.42688 1.43536 1.44327 1.44972 1.45422 1.45668 1.45738 1.45689 1.45575 1.4543 1.45275 1.45136 1.45045 1.45021 1.45057 1.45138 1.45255 1.45409 1.45585 1.45734 1.45778 1.4564 1.45279 1.44712 1.44001 1.43237 1.42501 1.41853 1.41322 1.40914 1.40616 1.40409 1.4027 1.40179 1.40121 1.40084 1.40059 1.40043 1.40031 1.40023 1.40016 1.40012 1.40008 1.40006 1.40004 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.39999 1.39998 1.39997 1.39995 1.39992 1.39988 1.39983 1.39979 1.39976 1.39976 1.39984 1.40007 1.40053 1.40137 1.4028 1.40504 1.4084 1.41315 1.41929 1.42644 1.43393 1.44098 1.44691 1.45137 1.45438 1.45617 1.457 1.45712 1.45684 1.45645 1.45623 1.45623 1.45638 1.45663 1.45693 1.4572 1.45716 1.45633 1.45419 1.4504 1.44503 1.43852 1.43151 1.42468 1.41856 1.41344 1.40941 1.40641 1.40427 1.40282 1.40187 1.40125 1.40086 1.40061 1.40044 1.40032 1.40024 1.40018 1.40013 1.40009 1.40006 1.40004 1.40003 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.39999 1.39997 1.39996 1.39994 1.39991 1.39987 1.39983 1.3998 1.39979 1.39984 1.39997 1.40027 1.40083 1.40178 1.40329 1.40559 1.4089 1.41334 1.41883 1.42506 1.43151 1.43763 1.44299 1.44736 1.45067 1.453 1.4545 1.45542 1.45598 1.45631 1.45644 1.45636 1.45605 1.45549 1.45453 1.45292 1.45033 1.44657 1.44165 1.43584 1.42962 1.42351 1.41793 1.41317 1.40935 1.40644 1.40433 1.40286 1.40188 1.40125 1.40085 1.4006 1.40043 1.40032 1.40024 1.40018 1.40013 1.4001 1.40007 1.40005 1.40004 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39997 1.39996 1.39993 1.3999 1.39987 1.39984 1.39983 1.39985 1.39994 1.40013 1.40049 1.40112 1.40212 1.40366 1.4059 1.40898 1.41293 1.41767 1.42292 1.42831 1.43346 1.43809 1.44201 1.44517 1.44756 1.4493 1.45048 1.45116 1.45137 1.45111 1.4504 1.44919 1.44738 1.44481 1.44137 1.43707 1.43211 1.42682 1.42156 1.41668 1.41244 1.40895 1.40623 1.40422 1.4028 1.40184 1.40121 1.40081 1.40056 1.40041 1.4003 1.40023 1.40018 1.40013 1.4001 1.40007 1.40005 1.40004 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39998 1.39997 1.39995 1.39993 1.3999 1.39988 1.39987 1.39988 1.39993 1.40005 1.40029 1.4007 1.40136 1.40237 1.40386 1.40592 1.40866 1.41203 1.41594 1.42018 1.4245 1.42866 1.43244 1.43568 1.43832 1.44036 1.44179 1.44261 1.44285 1.44251 1.44159 1.44009 1.43793 1.4351 1.43161 1.42761 1.4233 1.41898 1.4149 1.41128 1.40823 1.40581 1.40397 1.40264 1.40173 1.40112 1.40074 1.40051 1.40036 1.40027 1.40021 1.40016 1.40013 1.4001 1.40007 1.40006 1.40004 1.40003 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39998 1.39996 1.39995 1.39993 1.39991 1.3999 1.3999 1.39994 1.40002 1.40017 1.40044 1.40087 1.40154 1.40251 1.40387 1.40569 1.40798 1.41073 1.41383 1.41713 1.42044 1.42358 1.42641 1.42882 1.43074 1.43212 1.43292 1.43314 1.43279 1.43186 1.43037 1.4283 1.4257 1.42268 1.41938 1.41601 1.41276 1.4098 1.40726 1.40518 1.40357 1.40239 1.40155 1.401 1.40064 1.40043 1.4003 1.40022 1.40017 1.40014 1.40011 1.40009 1.40007 1.40006 1.40004 1.40003 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.39999 1.39999 1.39998 1.39996 1.39995 1.39994 1.39993 1.39993 1.39995 1.4 1.40011 1.40029 1.40057 1.40101 1.40163 1.40252 1.4037 1.40522 1.40707 1.40921 1.41154 1.41396 1.41634 1.41855 1.42049 1.42206 1.4232 1.42387 1.42404 1.42372 1.4229 1.4216 1.41986 1.41775 1.41539 1.4129 1.41044 1.40815 1.40612 1.40442 1.40307 1.40205 1.40133 1.40084 1.40052 1.40033 1.40022 1.40016 1.40013 1.40011 1.40009 1.40008 1.40006 1.40005 1.40004 1.40003 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39998 1.39996 1.39996 1.39995 1.39995 1.39997 1.40001 1.40008 1.4002 1.40039 1.40067 1.40108 1.40165 1.40241 1.40339 1.40459 1.406 1.40758 1.40924 1.41091 1.4125 1.41392 1.41508 1.41593 1.41642 1.41653 1.41624 1.41558 1.41455 1.41321 1.41163 1.4099 1.40815 1.40645 1.40492 1.40359 1.40251 1.40168 1.40107 1.40065 1.40039 1.40023 1.40014 1.4001 1.40008 1.40007 1.40006 1.40006 1.40005 1.40004 1.40004 1.40003 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39998 1.39997 1.39997 1.39997 1.39998 1.40001 1.40006 1.40014 1.40027 1.40047 1.40073 1.4011 1.40159 1.40221 1.40298 1.40388 1.4049 1.40599 1.4071 1.40816 1.40912 1.40991 1.41048 1.4108 1.41085 1.41061 1.41009 1.40932 1.40835 1.40723 1.40604 1.40486 1.40375 1.40277 1.40194 1.40129 1.4008 1.40047 1.40025 1.40012 1.40006 1.40003 1.40002 1.40003 1.40003 1.40003 1.40004 1.40003 1.40003 1.40003 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39998 1.39998 1.39998 1.4 1.40001 1.40005 1.40011 1.40021 1.40033 1.40051 1.40075 1.40107 1.40146 1.40194 1.40251 1.40314 1.40383 1.40453 1.40521 1.40581 1.40631 1.40666 1.40684 1.40684 1.40663 1.40624 1.40569 1.40502 1.40426 1.40347 1.40271 1.40201 1.40141 1.40092 1.40055 1.40029 1.40012 1.40002 1.39998 1.39996 1.39997 1.39998 1.4 1.40001 1.40002 1.40002 1.40002 1.40002 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39999 1.39999 1.4 1.40002 1.40004 1.40009 1.40015 1.40025 1.40037 1.40053 1.40073 1.40098 1.40128 1.40164 1.40203 1.40244 1.40287 1.40327 1.40363 1.40392 1.40411 1.40419 1.40415 1.40398 1.40369 1.4033 1.40284 1.40235 1.40185 1.40137 1.40095 1.4006 1.40033 1.40013 1.4 1.39993 1.39991 1.39991 1.39992 1.39994 1.39997 1.39998 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40004 1.40007 1.40012 1.40019 1.40027 1.40038 1.40052 1.40068 1.40087 1.40108 1.40132 1.40157 1.40182 1.40204 1.40224 1.4024 1.40248 1.4025 1.40243 1.40229 1.40208 1.40182 1.40151 1.40119 1.40087 1.40059 1.40034 1.40015 1.40001 1.39992 1.39987 1.39986 1.39986 1.39988 1.39991 1.39994 1.39996 1.39998 1.39999 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40002 1.40003 1.40006 1.4001 1.40014 1.4002 1.40028 1.40038 1.40048 1.4006 1.40074 1.40088 1.40102 1.40116 1.40129 1.40138 1.40145 1.40148 1.40146 1.40138 1.40127 1.40111 1.40092 1.40072 1.40052 1.40033 1.40016 1.40003 1.39992 1.39986 1.39983 1.39982 1.39983 1.39986 1.39989 1.39992 1.39994 1.39996 1.39998 1.39999 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40003 1.40005 1.40007 1.40011 1.40016 1.40021 1.40027 1.40035 1.40043 1.40051 1.4006 1.40068 1.40075 1.40081 1.40086 1.40088 1.40087 1.40083 1.40076 1.40067 1.40055 1.40042 1.40029 1.40016 1.40004 1.39995 1.39988 1.39984 1.39981 1.39981 1.39982 1.39984 1.39987 1.3999 1.39993 1.39995 1.39997 1.39998 1.39999 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40002 1.40004 1.40006 1.40008 1.40012 1.40016 1.4002 1.40025 1.40031 1.40036 1.40041 1.40046 1.4005 1.40053 1.40054 1.40054 1.40051 1.40047 1.40041 1.40033 1.40025 1.40016 1.40007 1.39999 1.39992 1.39987 1.39983 1.39981 1.39981 1.39983 1.39984 1.39987 1.39989 1.39992 1.39994 1.39996 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.40002 1.40003 1.40004 1.40006 1.40009 1.40011 1.40015 1.40018 1.40022 1.40026 1.40029 1.40032 1.40034 1.40035 1.40035 1.40033 1.4003 1.40026 1.40021 1.40016 1.40009 1.40003 1.39997 1.39992 1.39988 1.39985 1.39984 1.39983 1.39984 1.39985 1.39987 1.39989 1.39992 1.39994 1.39996 1.39997 1.39998 1.39999 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40002 1.40002 1.40003 1.40005 1.40006 1.40009 1.40011 1.40013 1.40016 1.40018 1.40021 1.40022 1.40023 1.40024 1.40023 1.40021 1.40019 1.40015 1.40011 1.40007 1.40002 1.39998 1.39994 1.39991 1.39988 1.39986 1.39986 1.39986 1.39987 1.39989 1.3999 1.39992 1.39994 1.39996 1.39997 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40002 1.40003 1.40003 1.40005 1.40006 1.40008 1.4001 1.40011 1.40013 1.40014 1.40015 1.40016 1.40016 1.40015 1.40014 1.40011 1.40009 1.40006 1.40003 1.39999 1.39996 1.39993 1.39991 1.3999 1.39989 1.39989 1.3999 1.3999 1.39992 1.39993 1.39994 1.39996 1.39997 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40003 1.40003 1.40004 1.40005 1.40007 1.40008 1.40009 1.4001 1.40011 1.40011 1.40011 1.4001 1.40009 1.40008 1.40005 1.40003 1.40001 1.39998 1.39996 1.39995 1.39993 1.39992 1.39992 1.39992 1.39992 1.39993 1.39994 1.39995 1.39996 1.39997 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40002 1.40003 1.40004 1.40005 1.40006 1.40006 1.40007 1.40008 1.40008 1.40008 1.40007 1.40006 1.40005 1.40003 1.40002 1.4 1.39999 1.39997 1.39996 1.39995 1.39994 1.39994 1.39994 1.39995 1.39995 1.39996 1.39997 1.39998 1.39998 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40003 1.40003 1.40004 1.40005 1.40005 1.40005 1.40005 1.40005 1.40005 1.40004 1.40003 1.40002 1.40001 1.4 1.39999 1.39998 1.39997 1.39997 1.39996 1.39996 1.39996 1.39997 1.39997 1.39998 1.39998 1.39999 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40002 1.40003 1.40003 1.40003 1.40004 1.40004 1.40004 1.40003 1.40003 1.40002 1.40002 1.40001 1.4 1.39999 1.39999 1.39998 1.39998 1.39998 1.39998 1.39998 1.39998 1.39998 1.39999 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40002 1.40002 1.40002 1.40003 1.40002 1.40002 1.40002 1.40002 1.40001 1.40001 1.4 1.4 1.39999 1.39999 1.39999 1.39999 1.39999 1.39999 1.39999 1.39999 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40002 1.40002 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39999 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40002 1.40002 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39999 1.39999 1.39999 1.39999 1.39999 1.39999 1.39999 1.4 1.4 1.40001 1.40001 1.40001 1.40002 1.40002 1.40002 1.40002 1.40002 1.40002 1.40002 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39999 1.39998 1.39998 1.39998 1.39998 1.39998 1.39999 1.39999 1.39999 1.4 1.40001 1.40001 1.40002 1.40002 1.40003 1.40003 1.40003 1.40003 1.40003 1.40003 1.40002 1.40002 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39999 1.39998 1.39998 1.39997 1.39997 1.39997 1.39997 1.39997 1.39998 1.39998 1.39999 1.4 1.40001 1.40002 1.40003 1.40003 1.40004 1.40004 1.40004 1.40004 1.40004 1.40004 1.40003 1.40003 1.40003 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39998 1.39998 1.39997 1.39997 1.39996 1.39996 1.39996 1.39996 1.39996 1.39997 1.39998 1.39999 1.4 1.40002 1.40003 1.40004 1.40005 1.40006 1.40006 1.40006 1.40006 1.40006 1.40005 1.40005 1.40004 1.40004 1.40003 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.4 1.39999 1.39999 1.39998 1.39997 1.39997 1.39996 1.39995 1.39994 1.39994 1.39994 1.39994 1.39995 1.39996 1.39997 1.39999 1.40001 1.40003 1.40005 1.40006 1.40008 1.40008 1.40009 1.40009 1.40009 1.40009 1.40008 1.40007 1.40006 1.40005 1.40004 1.40003 1.40003 1.40002 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.39999 1.39998 1.39997 1.39996 1.39995 1.39994 1.39993 1.39992 1.39992 1.39992 1.39993 1.39994 1.39996 1.39998 1.4 1.40003 1.40005 1.40008 1.4001 1.40011 1.40013 1.40013 1.40013 1.40013 1.40012 1.40011 1.4001 1.40008 1.40007 1.40006 1.40004 1.40003 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.4 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.39999 1.39998 1.39997 1.39996 1.39995 1.39993 1.39992 1.39991 1.3999 1.3999 1.3999 1.39992 1.39994 1.39996 1.39999 1.40003 1.40006 1.4001 1.40013 1.40016 1.40018 1.40019 1.4002 1.4002 1.40019 1.40017 1.40016 1.40014 1.40012 1.4001 1.40008 1.40006 1.40005 1.40004 1.40003 1.40002 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.40001 1.4 1.4 1.4 1.4 1.4 1.40001 1.40001 1.40001 1.40001 ) ; boundaryField { emptyPatches_empt { type empty; } top_cyc { type cyclic; } bottom_cyc { type cyclic; } inlet_cyc { type cyclic; } outlet_cyc { type cyclic; } } // ************************************************************************* //
[ "tdg@debian" ]
tdg@debian
10bc63a4e2ac49ac382cc056fdee93ab5bdf8470
7a90eabd633658652c7d530a096df7742640f0b3
/lib/Target/AArch64/.svn/text-base/AArch64InstrInfo.cpp.svn-base
8cec4a148070007cf0eeb0c25f75809c53ceef01
[ "NCSA" ]
permissive
rigelgjomemo/csfv
46bf61cecfebe127e13ecf79527187bccb1a0f69
888d71272d2674b1e6c3f5d71c3399f654c0b1e2
refs/heads/master
2016-09-05T19:21:48.773153
2014-12-05T20:08:05
2014-12-05T20:08:05
21,575,975
2
0
null
2014-08-20T16:50:37
2014-07-07T15:35:14
C++
UTF-8
C++
false
false
70,069
//===- AArch64InstrInfo.cpp - AArch64 Instruction Information -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // This file contains the AArch64 implementation of the TargetInstrInfo class. // //===----------------------------------------------------------------------===// #include "AArch64InstrInfo.h" #include "AArch64Subtarget.h" #include "MCTargetDesc/AArch64AddressingModes.h" #include "llvm/CodeGen/MachineFrameInfo.h" #include "llvm/CodeGen/MachineInstrBuilder.h" #include "llvm/CodeGen/MachineMemOperand.h" #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/CodeGen/PseudoSourceValue.h" #include "llvm/MC/MCInst.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/TargetRegistry.h" using namespace llvm; #define GET_INSTRINFO_CTOR_DTOR #include "AArch64GenInstrInfo.inc" AArch64InstrInfo::AArch64InstrInfo(const AArch64Subtarget &STI) : AArch64GenInstrInfo(AArch64::ADJCALLSTACKDOWN, AArch64::ADJCALLSTACKUP), RI(this, &STI), Subtarget(STI) {} /// GetInstSize - Return the number of bytes of code the specified /// instruction may be. This returns the maximum number of bytes. unsigned AArch64InstrInfo::GetInstSizeInBytes(const MachineInstr *MI) const { const MCInstrDesc &Desc = MI->getDesc(); switch (Desc.getOpcode()) { default: // Anything not explicitly designated otherwise is a nomal 4-byte insn. return 4; case TargetOpcode::DBG_VALUE: case TargetOpcode::EH_LABEL: case TargetOpcode::IMPLICIT_DEF: case TargetOpcode::KILL: return 0; } llvm_unreachable("GetInstSizeInBytes()- Unable to determin insn size"); } static void parseCondBranch(MachineInstr *LastInst, MachineBasicBlock *&Target, SmallVectorImpl<MachineOperand> &Cond) { // Block ends with fall-through condbranch. switch (LastInst->getOpcode()) { default: llvm_unreachable("Unknown branch instruction?"); case AArch64::Bcc: Target = LastInst->getOperand(1).getMBB(); Cond.push_back(LastInst->getOperand(0)); break; case AArch64::CBZW: case AArch64::CBZX: case AArch64::CBNZW: case AArch64::CBNZX: Target = LastInst->getOperand(1).getMBB(); Cond.push_back(MachineOperand::CreateImm(-1)); Cond.push_back(MachineOperand::CreateImm(LastInst->getOpcode())); Cond.push_back(LastInst->getOperand(0)); break; case AArch64::TBZW: case AArch64::TBZX: case AArch64::TBNZW: case AArch64::TBNZX: Target = LastInst->getOperand(2).getMBB(); Cond.push_back(MachineOperand::CreateImm(-1)); Cond.push_back(MachineOperand::CreateImm(LastInst->getOpcode())); Cond.push_back(LastInst->getOperand(0)); Cond.push_back(LastInst->getOperand(1)); } } // Branch analysis. bool AArch64InstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const { // If the block has no terminators, it just falls into the block after it. MachineBasicBlock::iterator I = MBB.end(); if (I == MBB.begin()) return false; --I; while (I->isDebugValue()) { if (I == MBB.begin()) return false; --I; } if (!isUnpredicatedTerminator(I)) return false; // Get the last instruction in the block. MachineInstr *LastInst = I; // If there is only one terminator instruction, process it. unsigned LastOpc = LastInst->getOpcode(); if (I == MBB.begin() || !isUnpredicatedTerminator(--I)) { if (isUncondBranchOpcode(LastOpc)) { TBB = LastInst->getOperand(0).getMBB(); return false; } if (isCondBranchOpcode(LastOpc)) { // Block ends with fall-through condbranch. parseCondBranch(LastInst, TBB, Cond); return false; } return true; // Can't handle indirect branch. } // Get the instruction before it if it is a terminator. MachineInstr *SecondLastInst = I; unsigned SecondLastOpc = SecondLastInst->getOpcode(); // If AllowModify is true and the block ends with two or more unconditional // branches, delete all but the first unconditional branch. if (AllowModify && isUncondBranchOpcode(LastOpc)) { while (isUncondBranchOpcode(SecondLastOpc)) { LastInst->eraseFromParent(); LastInst = SecondLastInst; LastOpc = LastInst->getOpcode(); if (I == MBB.begin() || !isUnpredicatedTerminator(--I)) { // Return now the only terminator is an unconditional branch. TBB = LastInst->getOperand(0).getMBB(); return false; } else { SecondLastInst = I; SecondLastOpc = SecondLastInst->getOpcode(); } } } // If there are three terminators, we don't know what sort of block this is. if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(--I)) return true; // If the block ends with a B and a Bcc, handle it. if (isCondBranchOpcode(SecondLastOpc) && isUncondBranchOpcode(LastOpc)) { parseCondBranch(SecondLastInst, TBB, Cond); FBB = LastInst->getOperand(0).getMBB(); return false; } // If the block ends with two unconditional branches, handle it. The second // one is not executed, so remove it. if (isUncondBranchOpcode(SecondLastOpc) && isUncondBranchOpcode(LastOpc)) { TBB = SecondLastInst->getOperand(0).getMBB(); I = LastInst; if (AllowModify) I->eraseFromParent(); return false; } // ...likewise if it ends with an indirect branch followed by an unconditional // branch. if (isIndirectBranchOpcode(SecondLastOpc) && isUncondBranchOpcode(LastOpc)) { I = LastInst; if (AllowModify) I->eraseFromParent(); return true; } // Otherwise, can't handle this. return true; } bool AArch64InstrInfo::ReverseBranchCondition( SmallVectorImpl<MachineOperand> &Cond) const { if (Cond[0].getImm() != -1) { // Regular Bcc AArch64CC::CondCode CC = (AArch64CC::CondCode)(int)Cond[0].getImm(); Cond[0].setImm(AArch64CC::getInvertedCondCode(CC)); } else { // Folded compare-and-branch switch (Cond[1].getImm()) { default: llvm_unreachable("Unknown conditional branch!"); case AArch64::CBZW: Cond[1].setImm(AArch64::CBNZW); break; case AArch64::CBNZW: Cond[1].setImm(AArch64::CBZW); break; case AArch64::CBZX: Cond[1].setImm(AArch64::CBNZX); break; case AArch64::CBNZX: Cond[1].setImm(AArch64::CBZX); break; case AArch64::TBZW: Cond[1].setImm(AArch64::TBNZW); break; case AArch64::TBNZW: Cond[1].setImm(AArch64::TBZW); break; case AArch64::TBZX: Cond[1].setImm(AArch64::TBNZX); break; case AArch64::TBNZX: Cond[1].setImm(AArch64::TBZX); break; } } return false; } unsigned AArch64InstrInfo::RemoveBranch(MachineBasicBlock &MBB) const { MachineBasicBlock::iterator I = MBB.end(); if (I == MBB.begin()) return 0; --I; while (I->isDebugValue()) { if (I == MBB.begin()) return 0; --I; } if (!isUncondBranchOpcode(I->getOpcode()) && !isCondBranchOpcode(I->getOpcode())) return 0; // Remove the branch. I->eraseFromParent(); I = MBB.end(); if (I == MBB.begin()) return 1; --I; if (!isCondBranchOpcode(I->getOpcode())) return 1; // Remove the branch. I->eraseFromParent(); return 2; } void AArch64InstrInfo::instantiateCondBranch( MachineBasicBlock &MBB, DebugLoc DL, MachineBasicBlock *TBB, const SmallVectorImpl<MachineOperand> &Cond) const { if (Cond[0].getImm() != -1) { // Regular Bcc BuildMI(&MBB, DL, get(AArch64::Bcc)).addImm(Cond[0].getImm()).addMBB(TBB); } else { // Folded compare-and-branch const MachineInstrBuilder MIB = BuildMI(&MBB, DL, get(Cond[1].getImm())).addReg(Cond[2].getReg()); if (Cond.size() > 3) MIB.addImm(Cond[3].getImm()); MIB.addMBB(TBB); } } unsigned AArch64InstrInfo::InsertBranch( MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const { // Shouldn't be a fall through. assert(TBB && "InsertBranch must not be told to insert a fallthrough"); if (!FBB) { if (Cond.empty()) // Unconditional branch? BuildMI(&MBB, DL, get(AArch64::B)).addMBB(TBB); else instantiateCondBranch(MBB, DL, TBB, Cond); return 1; } // Two-way conditional branch. instantiateCondBranch(MBB, DL, TBB, Cond); BuildMI(&MBB, DL, get(AArch64::B)).addMBB(FBB); return 2; } // Find the original register that VReg is copied from. static unsigned removeCopies(const MachineRegisterInfo &MRI, unsigned VReg) { while (TargetRegisterInfo::isVirtualRegister(VReg)) { const MachineInstr *DefMI = MRI.getVRegDef(VReg); if (!DefMI->isFullCopy()) return VReg; VReg = DefMI->getOperand(1).getReg(); } return VReg; } // Determine if VReg is defined by an instruction that can be folded into a // csel instruction. If so, return the folded opcode, and the replacement // register. static unsigned canFoldIntoCSel(const MachineRegisterInfo &MRI, unsigned VReg, unsigned *NewVReg = nullptr) { VReg = removeCopies(MRI, VReg); if (!TargetRegisterInfo::isVirtualRegister(VReg)) return 0; bool Is64Bit = AArch64::GPR64allRegClass.hasSubClassEq(MRI.getRegClass(VReg)); const MachineInstr *DefMI = MRI.getVRegDef(VReg); unsigned Opc = 0; unsigned SrcOpNum = 0; switch (DefMI->getOpcode()) { case AArch64::ADDSXri: case AArch64::ADDSWri: // if NZCV is used, do not fold. if (DefMI->findRegisterDefOperandIdx(AArch64::NZCV, true) == -1) return 0; // fall-through to ADDXri and ADDWri. case AArch64::ADDXri: case AArch64::ADDWri: // add x, 1 -> csinc. if (!DefMI->getOperand(2).isImm() || DefMI->getOperand(2).getImm() != 1 || DefMI->getOperand(3).getImm() != 0) return 0; SrcOpNum = 1; Opc = Is64Bit ? AArch64::CSINCXr : AArch64::CSINCWr; break; case AArch64::ORNXrr: case AArch64::ORNWrr: { // not x -> csinv, represented as orn dst, xzr, src. unsigned ZReg = removeCopies(MRI, DefMI->getOperand(1).getReg()); if (ZReg != AArch64::XZR && ZReg != AArch64::WZR) return 0; SrcOpNum = 2; Opc = Is64Bit ? AArch64::CSINVXr : AArch64::CSINVWr; break; } case AArch64::SUBSXrr: case AArch64::SUBSWrr: // if NZCV is used, do not fold. if (DefMI->findRegisterDefOperandIdx(AArch64::NZCV, true) == -1) return 0; // fall-through to SUBXrr and SUBWrr. case AArch64::SUBXrr: case AArch64::SUBWrr: { // neg x -> csneg, represented as sub dst, xzr, src. unsigned ZReg = removeCopies(MRI, DefMI->getOperand(1).getReg()); if (ZReg != AArch64::XZR && ZReg != AArch64::WZR) return 0; SrcOpNum = 2; Opc = Is64Bit ? AArch64::CSNEGXr : AArch64::CSNEGWr; break; } default: return 0; } assert(Opc && SrcOpNum && "Missing parameters"); if (NewVReg) *NewVReg = DefMI->getOperand(SrcOpNum).getReg(); return Opc; } bool AArch64InstrInfo::canInsertSelect( const MachineBasicBlock &MBB, const SmallVectorImpl<MachineOperand> &Cond, unsigned TrueReg, unsigned FalseReg, int &CondCycles, int &TrueCycles, int &FalseCycles) const { // Check register classes. const MachineRegisterInfo &MRI = MBB.getParent()->getRegInfo(); const TargetRegisterClass *RC = RI.getCommonSubClass(MRI.getRegClass(TrueReg), MRI.getRegClass(FalseReg)); if (!RC) return false; // Expanding cbz/tbz requires an extra cycle of latency on the condition. unsigned ExtraCondLat = Cond.size() != 1; // GPRs are handled by csel. // FIXME: Fold in x+1, -x, and ~x when applicable. if (AArch64::GPR64allRegClass.hasSubClassEq(RC) || AArch64::GPR32allRegClass.hasSubClassEq(RC)) { // Single-cycle csel, csinc, csinv, and csneg. CondCycles = 1 + ExtraCondLat; TrueCycles = FalseCycles = 1; if (canFoldIntoCSel(MRI, TrueReg)) TrueCycles = 0; else if (canFoldIntoCSel(MRI, FalseReg)) FalseCycles = 0; return true; } // Scalar floating point is handled by fcsel. // FIXME: Form fabs, fmin, and fmax when applicable. if (AArch64::FPR64RegClass.hasSubClassEq(RC) || AArch64::FPR32RegClass.hasSubClassEq(RC)) { CondCycles = 5 + ExtraCondLat; TrueCycles = FalseCycles = 2; return true; } // Can't do vectors. return false; } void AArch64InstrInfo::insertSelect(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, unsigned DstReg, const SmallVectorImpl<MachineOperand> &Cond, unsigned TrueReg, unsigned FalseReg) const { MachineRegisterInfo &MRI = MBB.getParent()->getRegInfo(); // Parse the condition code, see parseCondBranch() above. AArch64CC::CondCode CC; switch (Cond.size()) { default: llvm_unreachable("Unknown condition opcode in Cond"); case 1: // b.cc CC = AArch64CC::CondCode(Cond[0].getImm()); break; case 3: { // cbz/cbnz // We must insert a compare against 0. bool Is64Bit; switch (Cond[1].getImm()) { default: llvm_unreachable("Unknown branch opcode in Cond"); case AArch64::CBZW: Is64Bit = 0; CC = AArch64CC::EQ; break; case AArch64::CBZX: Is64Bit = 1; CC = AArch64CC::EQ; break; case AArch64::CBNZW: Is64Bit = 0; CC = AArch64CC::NE; break; case AArch64::CBNZX: Is64Bit = 1; CC = AArch64CC::NE; break; } unsigned SrcReg = Cond[2].getReg(); if (Is64Bit) { // cmp reg, #0 is actually subs xzr, reg, #0. MRI.constrainRegClass(SrcReg, &AArch64::GPR64spRegClass); BuildMI(MBB, I, DL, get(AArch64::SUBSXri), AArch64::XZR) .addReg(SrcReg) .addImm(0) .addImm(0); } else { MRI.constrainRegClass(SrcReg, &AArch64::GPR32spRegClass); BuildMI(MBB, I, DL, get(AArch64::SUBSWri), AArch64::WZR) .addReg(SrcReg) .addImm(0) .addImm(0); } break; } case 4: { // tbz/tbnz // We must insert a tst instruction. switch (Cond[1].getImm()) { default: llvm_unreachable("Unknown branch opcode in Cond"); case AArch64::TBZW: case AArch64::TBZX: CC = AArch64CC::EQ; break; case AArch64::TBNZW: case AArch64::TBNZX: CC = AArch64CC::NE; break; } // cmp reg, #foo is actually ands xzr, reg, #1<<foo. if (Cond[1].getImm() == AArch64::TBZW || Cond[1].getImm() == AArch64::TBNZW) BuildMI(MBB, I, DL, get(AArch64::ANDSWri), AArch64::WZR) .addReg(Cond[2].getReg()) .addImm( AArch64_AM::encodeLogicalImmediate(1ull << Cond[3].getImm(), 32)); else BuildMI(MBB, I, DL, get(AArch64::ANDSXri), AArch64::XZR) .addReg(Cond[2].getReg()) .addImm( AArch64_AM::encodeLogicalImmediate(1ull << Cond[3].getImm(), 64)); break; } } unsigned Opc = 0; const TargetRegisterClass *RC = nullptr; bool TryFold = false; if (MRI.constrainRegClass(DstReg, &AArch64::GPR64RegClass)) { RC = &AArch64::GPR64RegClass; Opc = AArch64::CSELXr; TryFold = true; } else if (MRI.constrainRegClass(DstReg, &AArch64::GPR32RegClass)) { RC = &AArch64::GPR32RegClass; Opc = AArch64::CSELWr; TryFold = true; } else if (MRI.constrainRegClass(DstReg, &AArch64::FPR64RegClass)) { RC = &AArch64::FPR64RegClass; Opc = AArch64::FCSELDrrr; } else if (MRI.constrainRegClass(DstReg, &AArch64::FPR32RegClass)) { RC = &AArch64::FPR32RegClass; Opc = AArch64::FCSELSrrr; } assert(RC && "Unsupported regclass"); // Try folding simple instructions into the csel. if (TryFold) { unsigned NewVReg = 0; unsigned FoldedOpc = canFoldIntoCSel(MRI, TrueReg, &NewVReg); if (FoldedOpc) { // The folded opcodes csinc, csinc and csneg apply the operation to // FalseReg, so we need to invert the condition. CC = AArch64CC::getInvertedCondCode(CC); TrueReg = FalseReg; } else FoldedOpc = canFoldIntoCSel(MRI, FalseReg, &NewVReg); // Fold the operation. Leave any dead instructions for DCE to clean up. if (FoldedOpc) { FalseReg = NewVReg; Opc = FoldedOpc; // The extends the live range of NewVReg. MRI.clearKillFlags(NewVReg); } } // Pull all virtual register into the appropriate class. MRI.constrainRegClass(TrueReg, RC); MRI.constrainRegClass(FalseReg, RC); // Insert the csel. BuildMI(MBB, I, DL, get(Opc), DstReg).addReg(TrueReg).addReg(FalseReg).addImm( CC); } bool AArch64InstrInfo::isCoalescableExtInstr(const MachineInstr &MI, unsigned &SrcReg, unsigned &DstReg, unsigned &SubIdx) const { switch (MI.getOpcode()) { default: return false; case AArch64::SBFMXri: // aka sxtw case AArch64::UBFMXri: // aka uxtw // Check for the 32 -> 64 bit extension case, these instructions can do // much more. if (MI.getOperand(2).getImm() != 0 || MI.getOperand(3).getImm() != 31) return false; // This is a signed or unsigned 32 -> 64 bit extension. SrcReg = MI.getOperand(1).getReg(); DstReg = MI.getOperand(0).getReg(); SubIdx = AArch64::sub_32; return true; } } /// analyzeCompare - For a comparison instruction, return the source registers /// in SrcReg and SrcReg2, and the value it compares against in CmpValue. /// Return true if the comparison instruction can be analyzed. bool AArch64InstrInfo::analyzeCompare(const MachineInstr *MI, unsigned &SrcReg, unsigned &SrcReg2, int &CmpMask, int &CmpValue) const { switch (MI->getOpcode()) { default: break; case AArch64::SUBSWrr: case AArch64::SUBSWrs: case AArch64::SUBSWrx: case AArch64::SUBSXrr: case AArch64::SUBSXrs: case AArch64::SUBSXrx: case AArch64::ADDSWrr: case AArch64::ADDSWrs: case AArch64::ADDSWrx: case AArch64::ADDSXrr: case AArch64::ADDSXrs: case AArch64::ADDSXrx: // Replace SUBSWrr with SUBWrr if NZCV is not used. SrcReg = MI->getOperand(1).getReg(); SrcReg2 = MI->getOperand(2).getReg(); CmpMask = ~0; CmpValue = 0; return true; case AArch64::SUBSWri: case AArch64::ADDSWri: case AArch64::SUBSXri: case AArch64::ADDSXri: SrcReg = MI->getOperand(1).getReg(); SrcReg2 = 0; CmpMask = ~0; CmpValue = MI->getOperand(2).getImm(); return true; case AArch64::ANDSWri: case AArch64::ANDSXri: // ANDS does not use the same encoding scheme as the others xxxS // instructions. SrcReg = MI->getOperand(1).getReg(); SrcReg2 = 0; CmpMask = ~0; CmpValue = AArch64_AM::decodeLogicalImmediate( MI->getOperand(2).getImm(), MI->getOpcode() == AArch64::ANDSWri ? 32 : 64); return true; } return false; } static bool UpdateOperandRegClass(MachineInstr *Instr) { MachineBasicBlock *MBB = Instr->getParent(); assert(MBB && "Can't get MachineBasicBlock here"); MachineFunction *MF = MBB->getParent(); assert(MF && "Can't get MachineFunction here"); const TargetMachine *TM = &MF->getTarget(); const TargetInstrInfo *TII = TM->getInstrInfo(); const TargetRegisterInfo *TRI = TM->getRegisterInfo(); MachineRegisterInfo *MRI = &MF->getRegInfo(); for (unsigned OpIdx = 0, EndIdx = Instr->getNumOperands(); OpIdx < EndIdx; ++OpIdx) { MachineOperand &MO = Instr->getOperand(OpIdx); const TargetRegisterClass *OpRegCstraints = Instr->getRegClassConstraint(OpIdx, TII, TRI); // If there's no constraint, there's nothing to do. if (!OpRegCstraints) continue; // If the operand is a frame index, there's nothing to do here. // A frame index operand will resolve correctly during PEI. if (MO.isFI()) continue; assert(MO.isReg() && "Operand has register constraints without being a register!"); unsigned Reg = MO.getReg(); if (TargetRegisterInfo::isPhysicalRegister(Reg)) { if (!OpRegCstraints->contains(Reg)) return false; } else if (!OpRegCstraints->hasSubClassEq(MRI->getRegClass(Reg)) && !MRI->constrainRegClass(Reg, OpRegCstraints)) return false; } return true; } /// optimizeCompareInstr - Convert the instruction supplying the argument to the /// comparison into one that sets the zero bit in the flags register. bool AArch64InstrInfo::optimizeCompareInstr( MachineInstr *CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, int CmpValue, const MachineRegisterInfo *MRI) const { // Replace SUBSWrr with SUBWrr if NZCV is not used. int Cmp_NZCV = CmpInstr->findRegisterDefOperandIdx(AArch64::NZCV, true); if (Cmp_NZCV != -1) { unsigned NewOpc; switch (CmpInstr->getOpcode()) { default: return false; case AArch64::ADDSWrr: NewOpc = AArch64::ADDWrr; break; case AArch64::ADDSWri: NewOpc = AArch64::ADDWri; break; case AArch64::ADDSWrs: NewOpc = AArch64::ADDWrs; break; case AArch64::ADDSWrx: NewOpc = AArch64::ADDWrx; break; case AArch64::ADDSXrr: NewOpc = AArch64::ADDXrr; break; case AArch64::ADDSXri: NewOpc = AArch64::ADDXri; break; case AArch64::ADDSXrs: NewOpc = AArch64::ADDXrs; break; case AArch64::ADDSXrx: NewOpc = AArch64::ADDXrx; break; case AArch64::SUBSWrr: NewOpc = AArch64::SUBWrr; break; case AArch64::SUBSWri: NewOpc = AArch64::SUBWri; break; case AArch64::SUBSWrs: NewOpc = AArch64::SUBWrs; break; case AArch64::SUBSWrx: NewOpc = AArch64::SUBWrx; break; case AArch64::SUBSXrr: NewOpc = AArch64::SUBXrr; break; case AArch64::SUBSXri: NewOpc = AArch64::SUBXri; break; case AArch64::SUBSXrs: NewOpc = AArch64::SUBXrs; break; case AArch64::SUBSXrx: NewOpc = AArch64::SUBXrx; break; } const MCInstrDesc &MCID = get(NewOpc); CmpInstr->setDesc(MCID); CmpInstr->RemoveOperand(Cmp_NZCV); bool succeeded = UpdateOperandRegClass(CmpInstr); (void)succeeded; assert(succeeded && "Some operands reg class are incompatible!"); return true; } // Continue only if we have a "ri" where immediate is zero. if (CmpValue != 0 || SrcReg2 != 0) return false; // CmpInstr is a Compare instruction if destination register is not used. if (!MRI->use_nodbg_empty(CmpInstr->getOperand(0).getReg())) return false; // Get the unique definition of SrcReg. MachineInstr *MI = MRI->getUniqueVRegDef(SrcReg); if (!MI) return false; // We iterate backward, starting from the instruction before CmpInstr and // stop when reaching the definition of the source register or done with the // basic block, to check whether NZCV is used or modified in between. MachineBasicBlock::iterator I = CmpInstr, E = MI, B = CmpInstr->getParent()->begin(); // Early exit if CmpInstr is at the beginning of the BB. if (I == B) return false; // Check whether the definition of SrcReg is in the same basic block as // Compare. If not, we can't optimize away the Compare. if (MI->getParent() != CmpInstr->getParent()) return false; // Check that NZCV isn't set between the comparison instruction and the one we // want to change. const TargetRegisterInfo *TRI = &getRegisterInfo(); for (--I; I != E; --I) { const MachineInstr &Instr = *I; if (Instr.modifiesRegister(AArch64::NZCV, TRI) || Instr.readsRegister(AArch64::NZCV, TRI)) // This instruction modifies or uses NZCV after the one we want to // change. We can't do this transformation. return false; if (I == B) // The 'and' is below the comparison instruction. return false; } unsigned NewOpc = MI->getOpcode(); switch (MI->getOpcode()) { default: return false; case AArch64::ADDSWrr: case AArch64::ADDSWri: case AArch64::ADDSXrr: case AArch64::ADDSXri: case AArch64::SUBSWrr: case AArch64::SUBSWri: case AArch64::SUBSXrr: case AArch64::SUBSXri: break; case AArch64::ADDWrr: NewOpc = AArch64::ADDSWrr; break; case AArch64::ADDWri: NewOpc = AArch64::ADDSWri; break; case AArch64::ADDXrr: NewOpc = AArch64::ADDSXrr; break; case AArch64::ADDXri: NewOpc = AArch64::ADDSXri; break; case AArch64::ADCWr: NewOpc = AArch64::ADCSWr; break; case AArch64::ADCXr: NewOpc = AArch64::ADCSXr; break; case AArch64::SUBWrr: NewOpc = AArch64::SUBSWrr; break; case AArch64::SUBWri: NewOpc = AArch64::SUBSWri; break; case AArch64::SUBXrr: NewOpc = AArch64::SUBSXrr; break; case AArch64::SUBXri: NewOpc = AArch64::SUBSXri; break; case AArch64::SBCWr: NewOpc = AArch64::SBCSWr; break; case AArch64::SBCXr: NewOpc = AArch64::SBCSXr; break; case AArch64::ANDWri: NewOpc = AArch64::ANDSWri; break; case AArch64::ANDXri: NewOpc = AArch64::ANDSXri; break; } // Scan forward for the use of NZCV. // When checking against MI: if it's a conditional code requires // checking of V bit, then this is not safe to do. // It is safe to remove CmpInstr if NZCV is redefined or killed. // If we are done with the basic block, we need to check whether NZCV is // live-out. bool IsSafe = false; for (MachineBasicBlock::iterator I = CmpInstr, E = CmpInstr->getParent()->end(); !IsSafe && ++I != E;) { const MachineInstr &Instr = *I; for (unsigned IO = 0, EO = Instr.getNumOperands(); !IsSafe && IO != EO; ++IO) { const MachineOperand &MO = Instr.getOperand(IO); if (MO.isRegMask() && MO.clobbersPhysReg(AArch64::NZCV)) { IsSafe = true; break; } if (!MO.isReg() || MO.getReg() != AArch64::NZCV) continue; if (MO.isDef()) { IsSafe = true; break; } // Decode the condition code. unsigned Opc = Instr.getOpcode(); AArch64CC::CondCode CC; switch (Opc) { default: return false; case AArch64::Bcc: CC = (AArch64CC::CondCode)Instr.getOperand(IO - 2).getImm(); break; case AArch64::CSINVWr: case AArch64::CSINVXr: case AArch64::CSINCWr: case AArch64::CSINCXr: case AArch64::CSELWr: case AArch64::CSELXr: case AArch64::CSNEGWr: case AArch64::CSNEGXr: case AArch64::FCSELSrrr: case AArch64::FCSELDrrr: CC = (AArch64CC::CondCode)Instr.getOperand(IO - 1).getImm(); break; } // It is not safe to remove Compare instruction if Overflow(V) is used. switch (CC) { default: // NZCV can be used multiple times, we should continue. break; case AArch64CC::VS: case AArch64CC::VC: case AArch64CC::GE: case AArch64CC::LT: case AArch64CC::GT: case AArch64CC::LE: return false; } } } // If NZCV is not killed nor re-defined, we should check whether it is // live-out. If it is live-out, do not optimize. if (!IsSafe) { MachineBasicBlock *ParentBlock = CmpInstr->getParent(); for (auto *MBB : ParentBlock->successors()) if (MBB->isLiveIn(AArch64::NZCV)) return false; } // Update the instruction to set NZCV. MI->setDesc(get(NewOpc)); CmpInstr->eraseFromParent(); bool succeeded = UpdateOperandRegClass(MI); (void)succeeded; assert(succeeded && "Some operands reg class are incompatible!"); MI->addRegisterDefined(AArch64::NZCV, TRI); return true; } /// Return true if this is this instruction has a non-zero immediate bool AArch64InstrInfo::hasShiftedReg(const MachineInstr *MI) const { switch (MI->getOpcode()) { default: break; case AArch64::ADDSWrs: case AArch64::ADDSXrs: case AArch64::ADDWrs: case AArch64::ADDXrs: case AArch64::ANDSWrs: case AArch64::ANDSXrs: case AArch64::ANDWrs: case AArch64::ANDXrs: case AArch64::BICSWrs: case AArch64::BICSXrs: case AArch64::BICWrs: case AArch64::BICXrs: case AArch64::CRC32Brr: case AArch64::CRC32CBrr: case AArch64::CRC32CHrr: case AArch64::CRC32CWrr: case AArch64::CRC32CXrr: case AArch64::CRC32Hrr: case AArch64::CRC32Wrr: case AArch64::CRC32Xrr: case AArch64::EONWrs: case AArch64::EONXrs: case AArch64::EORWrs: case AArch64::EORXrs: case AArch64::ORNWrs: case AArch64::ORNXrs: case AArch64::ORRWrs: case AArch64::ORRXrs: case AArch64::SUBSWrs: case AArch64::SUBSXrs: case AArch64::SUBWrs: case AArch64::SUBXrs: if (MI->getOperand(3).isImm()) { unsigned val = MI->getOperand(3).getImm(); return (val != 0); } break; } return false; } /// Return true if this is this instruction has a non-zero immediate bool AArch64InstrInfo::hasExtendedReg(const MachineInstr *MI) const { switch (MI->getOpcode()) { default: break; case AArch64::ADDSWrx: case AArch64::ADDSXrx: case AArch64::ADDSXrx64: case AArch64::ADDWrx: case AArch64::ADDXrx: case AArch64::ADDXrx64: case AArch64::SUBSWrx: case AArch64::SUBSXrx: case AArch64::SUBSXrx64: case AArch64::SUBWrx: case AArch64::SUBXrx: case AArch64::SUBXrx64: if (MI->getOperand(3).isImm()) { unsigned val = MI->getOperand(3).getImm(); return (val != 0); } break; } return false; } // Return true if this instruction simply sets its single destination register // to zero. This is equivalent to a register rename of the zero-register. bool AArch64InstrInfo::isGPRZero(const MachineInstr *MI) const { switch (MI->getOpcode()) { default: break; case AArch64::MOVZWi: case AArch64::MOVZXi: // movz Rd, #0 (LSL #0) if (MI->getOperand(1).isImm() && MI->getOperand(1).getImm() == 0) { assert(MI->getDesc().getNumOperands() == 3 && MI->getOperand(2).getImm() == 0 && "invalid MOVZi operands"); return true; } break; case AArch64::ANDWri: // and Rd, Rzr, #imm return MI->getOperand(1).getReg() == AArch64::WZR; case AArch64::ANDXri: return MI->getOperand(1).getReg() == AArch64::XZR; case TargetOpcode::COPY: return MI->getOperand(1).getReg() == AArch64::WZR; } return false; } // Return true if this instruction simply renames a general register without // modifying bits. bool AArch64InstrInfo::isGPRCopy(const MachineInstr *MI) const { switch (MI->getOpcode()) { default: break; case TargetOpcode::COPY: { // GPR32 copies will by lowered to ORRXrs unsigned DstReg = MI->getOperand(0).getReg(); return (AArch64::GPR32RegClass.contains(DstReg) || AArch64::GPR64RegClass.contains(DstReg)); } case AArch64::ORRXrs: // orr Xd, Xzr, Xm (LSL #0) if (MI->getOperand(1).getReg() == AArch64::XZR) { assert(MI->getDesc().getNumOperands() == 4 && MI->getOperand(3).getImm() == 0 && "invalid ORRrs operands"); return true; } case AArch64::ADDXri: // add Xd, Xn, #0 (LSL #0) if (MI->getOperand(2).getImm() == 0) { assert(MI->getDesc().getNumOperands() == 4 && MI->getOperand(3).getImm() == 0 && "invalid ADDXri operands"); return true; } } return false; } // Return true if this instruction simply renames a general register without // modifying bits. bool AArch64InstrInfo::isFPRCopy(const MachineInstr *MI) const { switch (MI->getOpcode()) { default: break; case TargetOpcode::COPY: { // FPR64 copies will by lowered to ORR.16b unsigned DstReg = MI->getOperand(0).getReg(); return (AArch64::FPR64RegClass.contains(DstReg) || AArch64::FPR128RegClass.contains(DstReg)); } case AArch64::ORRv16i8: if (MI->getOperand(1).getReg() == MI->getOperand(2).getReg()) { assert(MI->getDesc().getNumOperands() == 3 && MI->getOperand(0).isReg() && "invalid ORRv16i8 operands"); return true; } } return false; } unsigned AArch64InstrInfo::isLoadFromStackSlot(const MachineInstr *MI, int &FrameIndex) const { switch (MI->getOpcode()) { default: break; case AArch64::LDRWui: case AArch64::LDRXui: case AArch64::LDRBui: case AArch64::LDRHui: case AArch64::LDRSui: case AArch64::LDRDui: case AArch64::LDRQui: if (MI->getOperand(0).getSubReg() == 0 && MI->getOperand(1).isFI() && MI->getOperand(2).isImm() && MI->getOperand(2).getImm() == 0) { FrameIndex = MI->getOperand(1).getIndex(); return MI->getOperand(0).getReg(); } break; } return 0; } unsigned AArch64InstrInfo::isStoreToStackSlot(const MachineInstr *MI, int &FrameIndex) const { switch (MI->getOpcode()) { default: break; case AArch64::STRWui: case AArch64::STRXui: case AArch64::STRBui: case AArch64::STRHui: case AArch64::STRSui: case AArch64::STRDui: case AArch64::STRQui: if (MI->getOperand(0).getSubReg() == 0 && MI->getOperand(1).isFI() && MI->getOperand(2).isImm() && MI->getOperand(2).getImm() == 0) { FrameIndex = MI->getOperand(1).getIndex(); return MI->getOperand(0).getReg(); } break; } return 0; } /// Return true if this is load/store scales or extends its register offset. /// This refers to scaling a dynamic index as opposed to scaled immediates. /// MI should be a memory op that allows scaled addressing. bool AArch64InstrInfo::isScaledAddr(const MachineInstr *MI) const { switch (MI->getOpcode()) { default: break; case AArch64::LDRBBroW: case AArch64::LDRBroW: case AArch64::LDRDroW: case AArch64::LDRHHroW: case AArch64::LDRHroW: case AArch64::LDRQroW: case AArch64::LDRSBWroW: case AArch64::LDRSBXroW: case AArch64::LDRSHWroW: case AArch64::LDRSHXroW: case AArch64::LDRSWroW: case AArch64::LDRSroW: case AArch64::LDRWroW: case AArch64::LDRXroW: case AArch64::STRBBroW: case AArch64::STRBroW: case AArch64::STRDroW: case AArch64::STRHHroW: case AArch64::STRHroW: case AArch64::STRQroW: case AArch64::STRSroW: case AArch64::STRWroW: case AArch64::STRXroW: case AArch64::LDRBBroX: case AArch64::LDRBroX: case AArch64::LDRDroX: case AArch64::LDRHHroX: case AArch64::LDRHroX: case AArch64::LDRQroX: case AArch64::LDRSBWroX: case AArch64::LDRSBXroX: case AArch64::LDRSHWroX: case AArch64::LDRSHXroX: case AArch64::LDRSWroX: case AArch64::LDRSroX: case AArch64::LDRWroX: case AArch64::LDRXroX: case AArch64::STRBBroX: case AArch64::STRBroX: case AArch64::STRDroX: case AArch64::STRHHroX: case AArch64::STRHroX: case AArch64::STRQroX: case AArch64::STRSroX: case AArch64::STRWroX: case AArch64::STRXroX: unsigned Val = MI->getOperand(3).getImm(); AArch64_AM::ShiftExtendType ExtType = AArch64_AM::getMemExtendType(Val); return (ExtType != AArch64_AM::UXTX) || AArch64_AM::getMemDoShift(Val); } return false; } /// Check all MachineMemOperands for a hint to suppress pairing. bool AArch64InstrInfo::isLdStPairSuppressed(const MachineInstr *MI) const { assert(MOSuppressPair < (1 << MachineMemOperand::MOTargetNumBits) && "Too many target MO flags"); for (auto *MM : MI->memoperands()) { if (MM->getFlags() & (MOSuppressPair << MachineMemOperand::MOTargetStartBit)) { return true; } } return false; } /// Set a flag on the first MachineMemOperand to suppress pairing. void AArch64InstrInfo::suppressLdStPair(MachineInstr *MI) const { if (MI->memoperands_empty()) return; assert(MOSuppressPair < (1 << MachineMemOperand::MOTargetNumBits) && "Too many target MO flags"); (*MI->memoperands_begin()) ->setFlags(MOSuppressPair << MachineMemOperand::MOTargetStartBit); } bool AArch64InstrInfo::getLdStBaseRegImmOfs(MachineInstr *LdSt, unsigned &BaseReg, unsigned &Offset, const TargetRegisterInfo *TRI) const { switch (LdSt->getOpcode()) { default: return false; case AArch64::STRSui: case AArch64::STRDui: case AArch64::STRQui: case AArch64::STRXui: case AArch64::STRWui: case AArch64::LDRSui: case AArch64::LDRDui: case AArch64::LDRQui: case AArch64::LDRXui: case AArch64::LDRWui: if (!LdSt->getOperand(1).isReg() || !LdSt->getOperand(2).isImm()) return false; BaseReg = LdSt->getOperand(1).getReg(); MachineFunction &MF = *LdSt->getParent()->getParent(); unsigned Width = getRegClass(LdSt->getDesc(), 0, TRI, MF)->getSize(); Offset = LdSt->getOperand(2).getImm() * Width; return true; }; } /// Detect opportunities for ldp/stp formation. /// /// Only called for LdSt for which getLdStBaseRegImmOfs returns true. bool AArch64InstrInfo::shouldClusterLoads(MachineInstr *FirstLdSt, MachineInstr *SecondLdSt, unsigned NumLoads) const { // Only cluster up to a single pair. if (NumLoads > 1) return false; if (FirstLdSt->getOpcode() != SecondLdSt->getOpcode()) return false; // getLdStBaseRegImmOfs guarantees that oper 2 isImm. unsigned Ofs1 = FirstLdSt->getOperand(2).getImm(); // Allow 6 bits of positive range. if (Ofs1 > 64) return false; // The caller should already have ordered First/SecondLdSt by offset. unsigned Ofs2 = SecondLdSt->getOperand(2).getImm(); return Ofs1 + 1 == Ofs2; } bool AArch64InstrInfo::shouldScheduleAdjacent(MachineInstr *First, MachineInstr *Second) const { // Cyclone can fuse CMN, CMP followed by Bcc. // FIXME: B0 can also fuse: // AND, BIC, ORN, ORR, or EOR (optional S) followed by Bcc or CBZ or CBNZ. if (Second->getOpcode() != AArch64::Bcc) return false; switch (First->getOpcode()) { default: return false; case AArch64::SUBSWri: case AArch64::ADDSWri: case AArch64::ANDSWri: case AArch64::SUBSXri: case AArch64::ADDSXri: case AArch64::ANDSXri: return true; } } MachineInstr *AArch64InstrInfo::emitFrameIndexDebugValue(MachineFunction &MF, int FrameIx, uint64_t Offset, const MDNode *MDPtr, DebugLoc DL) const { MachineInstrBuilder MIB = BuildMI(MF, DL, get(AArch64::DBG_VALUE)) .addFrameIndex(FrameIx) .addImm(0) .addImm(Offset) .addMetadata(MDPtr); return &*MIB; } static const MachineInstrBuilder &AddSubReg(const MachineInstrBuilder &MIB, unsigned Reg, unsigned SubIdx, unsigned State, const TargetRegisterInfo *TRI) { if (!SubIdx) return MIB.addReg(Reg, State); if (TargetRegisterInfo::isPhysicalRegister(Reg)) return MIB.addReg(TRI->getSubReg(Reg, SubIdx), State); return MIB.addReg(Reg, State, SubIdx); } static bool forwardCopyWillClobberTuple(unsigned DestReg, unsigned SrcReg, unsigned NumRegs) { // We really want the positive remainder mod 32 here, that happens to be // easily obtainable with a mask. return ((DestReg - SrcReg) & 0x1f) < NumRegs; } void AArch64InstrInfo::copyPhysRegTuple( MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, unsigned DestReg, unsigned SrcReg, bool KillSrc, unsigned Opcode, llvm::ArrayRef<unsigned> Indices) const { assert(Subtarget.hasNEON() && "Unexpected register copy without NEON"); const TargetRegisterInfo *TRI = &getRegisterInfo(); uint16_t DestEncoding = TRI->getEncodingValue(DestReg); uint16_t SrcEncoding = TRI->getEncodingValue(SrcReg); unsigned NumRegs = Indices.size(); int SubReg = 0, End = NumRegs, Incr = 1; if (forwardCopyWillClobberTuple(DestEncoding, SrcEncoding, NumRegs)) { SubReg = NumRegs - 1; End = -1; Incr = -1; } for (; SubReg != End; SubReg += Incr) { const MachineInstrBuilder &MIB = BuildMI(MBB, I, DL, get(Opcode)); AddSubReg(MIB, DestReg, Indices[SubReg], RegState::Define, TRI); AddSubReg(MIB, SrcReg, Indices[SubReg], 0, TRI); AddSubReg(MIB, SrcReg, Indices[SubReg], getKillRegState(KillSrc), TRI); } } void AArch64InstrInfo::copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, unsigned DestReg, unsigned SrcReg, bool KillSrc) const { if (AArch64::GPR32spRegClass.contains(DestReg) && (AArch64::GPR32spRegClass.contains(SrcReg) || SrcReg == AArch64::WZR)) { const TargetRegisterInfo *TRI = &getRegisterInfo(); if (DestReg == AArch64::WSP || SrcReg == AArch64::WSP) { // If either operand is WSP, expand to ADD #0. if (Subtarget.hasZeroCycleRegMove()) { // Cyclone recognizes "ADD Xd, Xn, #0" as a zero-cycle register move. unsigned DestRegX = TRI->getMatchingSuperReg(DestReg, AArch64::sub_32, &AArch64::GPR64spRegClass); unsigned SrcRegX = TRI->getMatchingSuperReg(SrcReg, AArch64::sub_32, &AArch64::GPR64spRegClass); // This instruction is reading and writing X registers. This may upset // the register scavenger and machine verifier, so we need to indicate // that we are reading an undefined value from SrcRegX, but a proper // value from SrcReg. BuildMI(MBB, I, DL, get(AArch64::ADDXri), DestRegX) .addReg(SrcRegX, RegState::Undef) .addImm(0) .addImm(AArch64_AM::getShifterImm(AArch64_AM::LSL, 0)) .addReg(SrcReg, RegState::Implicit | getKillRegState(KillSrc)); } else { BuildMI(MBB, I, DL, get(AArch64::ADDWri), DestReg) .addReg(SrcReg, getKillRegState(KillSrc)) .addImm(0) .addImm(AArch64_AM::getShifterImm(AArch64_AM::LSL, 0)); } } else if (SrcReg == AArch64::WZR && Subtarget.hasZeroCycleZeroing()) { BuildMI(MBB, I, DL, get(AArch64::MOVZWi), DestReg).addImm(0).addImm( AArch64_AM::getShifterImm(AArch64_AM::LSL, 0)); } else { if (Subtarget.hasZeroCycleRegMove()) { // Cyclone recognizes "ORR Xd, XZR, Xm" as a zero-cycle register move. unsigned DestRegX = TRI->getMatchingSuperReg(DestReg, AArch64::sub_32, &AArch64::GPR64spRegClass); unsigned SrcRegX = TRI->getMatchingSuperReg(SrcReg, AArch64::sub_32, &AArch64::GPR64spRegClass); // This instruction is reading and writing X registers. This may upset // the register scavenger and machine verifier, so we need to indicate // that we are reading an undefined value from SrcRegX, but a proper // value from SrcReg. BuildMI(MBB, I, DL, get(AArch64::ORRXrr), DestRegX) .addReg(AArch64::XZR) .addReg(SrcRegX, RegState::Undef) .addReg(SrcReg, RegState::Implicit | getKillRegState(KillSrc)); } else { // Otherwise, expand to ORR WZR. BuildMI(MBB, I, DL, get(AArch64::ORRWrr), DestReg) .addReg(AArch64::WZR) .addReg(SrcReg, getKillRegState(KillSrc)); } } return; } if (AArch64::GPR64spRegClass.contains(DestReg) && (AArch64::GPR64spRegClass.contains(SrcReg) || SrcReg == AArch64::XZR)) { if (DestReg == AArch64::SP || SrcReg == AArch64::SP) { // If either operand is SP, expand to ADD #0. BuildMI(MBB, I, DL, get(AArch64::ADDXri), DestReg) .addReg(SrcReg, getKillRegState(KillSrc)) .addImm(0) .addImm(AArch64_AM::getShifterImm(AArch64_AM::LSL, 0)); } else if (SrcReg == AArch64::XZR && Subtarget.hasZeroCycleZeroing()) { BuildMI(MBB, I, DL, get(AArch64::MOVZXi), DestReg).addImm(0).addImm( AArch64_AM::getShifterImm(AArch64_AM::LSL, 0)); } else { // Otherwise, expand to ORR XZR. BuildMI(MBB, I, DL, get(AArch64::ORRXrr), DestReg) .addReg(AArch64::XZR) .addReg(SrcReg, getKillRegState(KillSrc)); } return; } // Copy a DDDD register quad by copying the individual sub-registers. if (AArch64::DDDDRegClass.contains(DestReg) && AArch64::DDDDRegClass.contains(SrcReg)) { static const unsigned Indices[] = { AArch64::dsub0, AArch64::dsub1, AArch64::dsub2, AArch64::dsub3 }; copyPhysRegTuple(MBB, I, DL, DestReg, SrcReg, KillSrc, AArch64::ORRv8i8, Indices); return; } // Copy a DDD register triple by copying the individual sub-registers. if (AArch64::DDDRegClass.contains(DestReg) && AArch64::DDDRegClass.contains(SrcReg)) { static const unsigned Indices[] = { AArch64::dsub0, AArch64::dsub1, AArch64::dsub2 }; copyPhysRegTuple(MBB, I, DL, DestReg, SrcReg, KillSrc, AArch64::ORRv8i8, Indices); return; } // Copy a DD register pair by copying the individual sub-registers. if (AArch64::DDRegClass.contains(DestReg) && AArch64::DDRegClass.contains(SrcReg)) { static const unsigned Indices[] = { AArch64::dsub0, AArch64::dsub1 }; copyPhysRegTuple(MBB, I, DL, DestReg, SrcReg, KillSrc, AArch64::ORRv8i8, Indices); return; } // Copy a QQQQ register quad by copying the individual sub-registers. if (AArch64::QQQQRegClass.contains(DestReg) && AArch64::QQQQRegClass.contains(SrcReg)) { static const unsigned Indices[] = { AArch64::qsub0, AArch64::qsub1, AArch64::qsub2, AArch64::qsub3 }; copyPhysRegTuple(MBB, I, DL, DestReg, SrcReg, KillSrc, AArch64::ORRv16i8, Indices); return; } // Copy a QQQ register triple by copying the individual sub-registers. if (AArch64::QQQRegClass.contains(DestReg) && AArch64::QQQRegClass.contains(SrcReg)) { static const unsigned Indices[] = { AArch64::qsub0, AArch64::qsub1, AArch64::qsub2 }; copyPhysRegTuple(MBB, I, DL, DestReg, SrcReg, KillSrc, AArch64::ORRv16i8, Indices); return; } // Copy a QQ register pair by copying the individual sub-registers. if (AArch64::QQRegClass.contains(DestReg) && AArch64::QQRegClass.contains(SrcReg)) { static const unsigned Indices[] = { AArch64::qsub0, AArch64::qsub1 }; copyPhysRegTuple(MBB, I, DL, DestReg, SrcReg, KillSrc, AArch64::ORRv16i8, Indices); return; } if (AArch64::FPR128RegClass.contains(DestReg) && AArch64::FPR128RegClass.contains(SrcReg)) { if(Subtarget.hasNEON()) { BuildMI(MBB, I, DL, get(AArch64::ORRv16i8), DestReg) .addReg(SrcReg) .addReg(SrcReg, getKillRegState(KillSrc)); } else { BuildMI(MBB, I, DL, get(AArch64::STRQpre)) .addReg(AArch64::SP, RegState::Define) .addReg(SrcReg, getKillRegState(KillSrc)) .addReg(AArch64::SP) .addImm(-16); BuildMI(MBB, I, DL, get(AArch64::LDRQpre)) .addReg(AArch64::SP, RegState::Define) .addReg(DestReg, RegState::Define) .addReg(AArch64::SP) .addImm(16); } return; } if (AArch64::FPR64RegClass.contains(DestReg) && AArch64::FPR64RegClass.contains(SrcReg)) { if(Subtarget.hasNEON()) { DestReg = RI.getMatchingSuperReg(DestReg, AArch64::dsub, &AArch64::FPR128RegClass); SrcReg = RI.getMatchingSuperReg(SrcReg, AArch64::dsub, &AArch64::FPR128RegClass); BuildMI(MBB, I, DL, get(AArch64::ORRv16i8), DestReg) .addReg(SrcReg) .addReg(SrcReg, getKillRegState(KillSrc)); } else { BuildMI(MBB, I, DL, get(AArch64::FMOVDr), DestReg) .addReg(SrcReg, getKillRegState(KillSrc)); } return; } if (AArch64::FPR32RegClass.contains(DestReg) && AArch64::FPR32RegClass.contains(SrcReg)) { if(Subtarget.hasNEON()) { DestReg = RI.getMatchingSuperReg(DestReg, AArch64::ssub, &AArch64::FPR128RegClass); SrcReg = RI.getMatchingSuperReg(SrcReg, AArch64::ssub, &AArch64::FPR128RegClass); BuildMI(MBB, I, DL, get(AArch64::ORRv16i8), DestReg) .addReg(SrcReg) .addReg(SrcReg, getKillRegState(KillSrc)); } else { BuildMI(MBB, I, DL, get(AArch64::FMOVSr), DestReg) .addReg(SrcReg, getKillRegState(KillSrc)); } return; } if (AArch64::FPR16RegClass.contains(DestReg) && AArch64::FPR16RegClass.contains(SrcReg)) { if(Subtarget.hasNEON()) { DestReg = RI.getMatchingSuperReg(DestReg, AArch64::hsub, &AArch64::FPR128RegClass); SrcReg = RI.getMatchingSuperReg(SrcReg, AArch64::hsub, &AArch64::FPR128RegClass); BuildMI(MBB, I, DL, get(AArch64::ORRv16i8), DestReg) .addReg(SrcReg) .addReg(SrcReg, getKillRegState(KillSrc)); } else { DestReg = RI.getMatchingSuperReg(DestReg, AArch64::hsub, &AArch64::FPR32RegClass); SrcReg = RI.getMatchingSuperReg(SrcReg, AArch64::hsub, &AArch64::FPR32RegClass); BuildMI(MBB, I, DL, get(AArch64::FMOVSr), DestReg) .addReg(SrcReg, getKillRegState(KillSrc)); } return; } if (AArch64::FPR8RegClass.contains(DestReg) && AArch64::FPR8RegClass.contains(SrcReg)) { if(Subtarget.hasNEON()) { DestReg = RI.getMatchingSuperReg(DestReg, AArch64::bsub, &AArch64::FPR128RegClass); SrcReg = RI.getMatchingSuperReg(SrcReg, AArch64::bsub, &AArch64::FPR128RegClass); BuildMI(MBB, I, DL, get(AArch64::ORRv16i8), DestReg) .addReg(SrcReg) .addReg(SrcReg, getKillRegState(KillSrc)); } else { DestReg = RI.getMatchingSuperReg(DestReg, AArch64::bsub, &AArch64::FPR32RegClass); SrcReg = RI.getMatchingSuperReg(SrcReg, AArch64::bsub, &AArch64::FPR32RegClass); BuildMI(MBB, I, DL, get(AArch64::FMOVSr), DestReg) .addReg(SrcReg, getKillRegState(KillSrc)); } return; } // Copies between GPR64 and FPR64. if (AArch64::FPR64RegClass.contains(DestReg) && AArch64::GPR64RegClass.contains(SrcReg)) { BuildMI(MBB, I, DL, get(AArch64::FMOVXDr), DestReg) .addReg(SrcReg, getKillRegState(KillSrc)); return; } if (AArch64::GPR64RegClass.contains(DestReg) && AArch64::FPR64RegClass.contains(SrcReg)) { BuildMI(MBB, I, DL, get(AArch64::FMOVDXr), DestReg) .addReg(SrcReg, getKillRegState(KillSrc)); return; } // Copies between GPR32 and FPR32. if (AArch64::FPR32RegClass.contains(DestReg) && AArch64::GPR32RegClass.contains(SrcReg)) { BuildMI(MBB, I, DL, get(AArch64::FMOVWSr), DestReg) .addReg(SrcReg, getKillRegState(KillSrc)); return; } if (AArch64::GPR32RegClass.contains(DestReg) && AArch64::FPR32RegClass.contains(SrcReg)) { BuildMI(MBB, I, DL, get(AArch64::FMOVSWr), DestReg) .addReg(SrcReg, getKillRegState(KillSrc)); return; } if (DestReg == AArch64::NZCV) { assert(AArch64::GPR64RegClass.contains(SrcReg) && "Invalid NZCV copy"); BuildMI(MBB, I, DL, get(AArch64::MSR)) .addImm(AArch64SysReg::NZCV) .addReg(SrcReg, getKillRegState(KillSrc)) .addReg(AArch64::NZCV, RegState::Implicit | RegState::Define); return; } if (SrcReg == AArch64::NZCV) { assert(AArch64::GPR64RegClass.contains(DestReg) && "Invalid NZCV copy"); BuildMI(MBB, I, DL, get(AArch64::MRS)) .addReg(DestReg) .addImm(AArch64SysReg::NZCV) .addReg(AArch64::NZCV, RegState::Implicit | getKillRegState(KillSrc)); return; } llvm_unreachable("unimplemented reg-to-reg copy"); } void AArch64InstrInfo::storeRegToStackSlot( MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned SrcReg, bool isKill, int FI, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const { DebugLoc DL; if (MBBI != MBB.end()) DL = MBBI->getDebugLoc(); MachineFunction &MF = *MBB.getParent(); MachineFrameInfo &MFI = *MF.getFrameInfo(); unsigned Align = MFI.getObjectAlignment(FI); MachinePointerInfo PtrInfo(PseudoSourceValue::getFixedStack(FI)); MachineMemOperand *MMO = MF.getMachineMemOperand( PtrInfo, MachineMemOperand::MOStore, MFI.getObjectSize(FI), Align); unsigned Opc = 0; bool Offset = true; switch (RC->getSize()) { case 1: if (AArch64::FPR8RegClass.hasSubClassEq(RC)) Opc = AArch64::STRBui; break; case 2: if (AArch64::FPR16RegClass.hasSubClassEq(RC)) Opc = AArch64::STRHui; break; case 4: if (AArch64::GPR32allRegClass.hasSubClassEq(RC)) { Opc = AArch64::STRWui; if (TargetRegisterInfo::isVirtualRegister(SrcReg)) MF.getRegInfo().constrainRegClass(SrcReg, &AArch64::GPR32RegClass); else assert(SrcReg != AArch64::WSP); } else if (AArch64::FPR32RegClass.hasSubClassEq(RC)) Opc = AArch64::STRSui; break; case 8: if (AArch64::GPR64allRegClass.hasSubClassEq(RC)) { Opc = AArch64::STRXui; if (TargetRegisterInfo::isVirtualRegister(SrcReg)) MF.getRegInfo().constrainRegClass(SrcReg, &AArch64::GPR64RegClass); else assert(SrcReg != AArch64::SP); } else if (AArch64::FPR64RegClass.hasSubClassEq(RC)) Opc = AArch64::STRDui; break; case 16: if (AArch64::FPR128RegClass.hasSubClassEq(RC)) Opc = AArch64::STRQui; else if (AArch64::DDRegClass.hasSubClassEq(RC)) { assert(Subtarget.hasNEON() && "Unexpected register store without NEON"); Opc = AArch64::ST1Twov1d, Offset = false; } break; case 24: if (AArch64::DDDRegClass.hasSubClassEq(RC)) { assert(Subtarget.hasNEON() && "Unexpected register store without NEON"); Opc = AArch64::ST1Threev1d, Offset = false; } break; case 32: if (AArch64::DDDDRegClass.hasSubClassEq(RC)) { assert(Subtarget.hasNEON() && "Unexpected register store without NEON"); Opc = AArch64::ST1Fourv1d, Offset = false; } else if (AArch64::QQRegClass.hasSubClassEq(RC)) { assert(Subtarget.hasNEON() && "Unexpected register store without NEON"); Opc = AArch64::ST1Twov2d, Offset = false; } break; case 48: if (AArch64::QQQRegClass.hasSubClassEq(RC)) { assert(Subtarget.hasNEON() && "Unexpected register store without NEON"); Opc = AArch64::ST1Threev2d, Offset = false; } break; case 64: if (AArch64::QQQQRegClass.hasSubClassEq(RC)) { assert(Subtarget.hasNEON() && "Unexpected register store without NEON"); Opc = AArch64::ST1Fourv2d, Offset = false; } break; } assert(Opc && "Unknown register class"); const MachineInstrBuilder &MI = BuildMI(MBB, MBBI, DL, get(Opc)) .addReg(SrcReg, getKillRegState(isKill)) .addFrameIndex(FI); if (Offset) MI.addImm(0); MI.addMemOperand(MMO); } void AArch64InstrInfo::loadRegFromStackSlot( MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, unsigned DestReg, int FI, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const { DebugLoc DL; if (MBBI != MBB.end()) DL = MBBI->getDebugLoc(); MachineFunction &MF = *MBB.getParent(); MachineFrameInfo &MFI = *MF.getFrameInfo(); unsigned Align = MFI.getObjectAlignment(FI); MachinePointerInfo PtrInfo(PseudoSourceValue::getFixedStack(FI)); MachineMemOperand *MMO = MF.getMachineMemOperand( PtrInfo, MachineMemOperand::MOLoad, MFI.getObjectSize(FI), Align); unsigned Opc = 0; bool Offset = true; switch (RC->getSize()) { case 1: if (AArch64::FPR8RegClass.hasSubClassEq(RC)) Opc = AArch64::LDRBui; break; case 2: if (AArch64::FPR16RegClass.hasSubClassEq(RC)) Opc = AArch64::LDRHui; break; case 4: if (AArch64::GPR32allRegClass.hasSubClassEq(RC)) { Opc = AArch64::LDRWui; if (TargetRegisterInfo::isVirtualRegister(DestReg)) MF.getRegInfo().constrainRegClass(DestReg, &AArch64::GPR32RegClass); else assert(DestReg != AArch64::WSP); } else if (AArch64::FPR32RegClass.hasSubClassEq(RC)) Opc = AArch64::LDRSui; break; case 8: if (AArch64::GPR64allRegClass.hasSubClassEq(RC)) { Opc = AArch64::LDRXui; if (TargetRegisterInfo::isVirtualRegister(DestReg)) MF.getRegInfo().constrainRegClass(DestReg, &AArch64::GPR64RegClass); else assert(DestReg != AArch64::SP); } else if (AArch64::FPR64RegClass.hasSubClassEq(RC)) Opc = AArch64::LDRDui; break; case 16: if (AArch64::FPR128RegClass.hasSubClassEq(RC)) Opc = AArch64::LDRQui; else if (AArch64::DDRegClass.hasSubClassEq(RC)) { assert(Subtarget.hasNEON() && "Unexpected register load without NEON"); Opc = AArch64::LD1Twov1d, Offset = false; } break; case 24: if (AArch64::DDDRegClass.hasSubClassEq(RC)) { assert(Subtarget.hasNEON() && "Unexpected register load without NEON"); Opc = AArch64::LD1Threev1d, Offset = false; } break; case 32: if (AArch64::DDDDRegClass.hasSubClassEq(RC)) { assert(Subtarget.hasNEON() && "Unexpected register load without NEON"); Opc = AArch64::LD1Fourv1d, Offset = false; } else if (AArch64::QQRegClass.hasSubClassEq(RC)) { assert(Subtarget.hasNEON() && "Unexpected register load without NEON"); Opc = AArch64::LD1Twov2d, Offset = false; } break; case 48: if (AArch64::QQQRegClass.hasSubClassEq(RC)) { assert(Subtarget.hasNEON() && "Unexpected register load without NEON"); Opc = AArch64::LD1Threev2d, Offset = false; } break; case 64: if (AArch64::QQQQRegClass.hasSubClassEq(RC)) { assert(Subtarget.hasNEON() && "Unexpected register load without NEON"); Opc = AArch64::LD1Fourv2d, Offset = false; } break; } assert(Opc && "Unknown register class"); const MachineInstrBuilder &MI = BuildMI(MBB, MBBI, DL, get(Opc)) .addReg(DestReg, getDefRegState(true)) .addFrameIndex(FI); if (Offset) MI.addImm(0); MI.addMemOperand(MMO); } void llvm::emitFrameOffset(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, DebugLoc DL, unsigned DestReg, unsigned SrcReg, int Offset, const TargetInstrInfo *TII, MachineInstr::MIFlag Flag, bool SetNZCV) { if (DestReg == SrcReg && Offset == 0) return; bool isSub = Offset < 0; if (isSub) Offset = -Offset; // FIXME: If the offset won't fit in 24-bits, compute the offset into a // scratch register. If DestReg is a virtual register, use it as the // scratch register; otherwise, create a new virtual register (to be // replaced by the scavenger at the end of PEI). That case can be optimized // slightly if DestReg is SP which is always 16-byte aligned, so the scratch // register can be loaded with offset%8 and the add/sub can use an extending // instruction with LSL#3. // Currently the function handles any offsets but generates a poor sequence // of code. // assert(Offset < (1 << 24) && "unimplemented reg plus immediate"); unsigned Opc; if (SetNZCV) Opc = isSub ? AArch64::SUBSXri : AArch64::ADDSXri; else Opc = isSub ? AArch64::SUBXri : AArch64::ADDXri; const unsigned MaxEncoding = 0xfff; const unsigned ShiftSize = 12; const unsigned MaxEncodableValue = MaxEncoding << ShiftSize; while (((unsigned)Offset) >= (1 << ShiftSize)) { unsigned ThisVal; if (((unsigned)Offset) > MaxEncodableValue) { ThisVal = MaxEncodableValue; } else { ThisVal = Offset & MaxEncodableValue; } assert((ThisVal >> ShiftSize) <= MaxEncoding && "Encoding cannot handle value that big"); BuildMI(MBB, MBBI, DL, TII->get(Opc), DestReg) .addReg(SrcReg) .addImm(ThisVal >> ShiftSize) .addImm(AArch64_AM::getShifterImm(AArch64_AM::LSL, ShiftSize)) .setMIFlag(Flag); SrcReg = DestReg; Offset -= ThisVal; if (Offset == 0) return; } BuildMI(MBB, MBBI, DL, TII->get(Opc), DestReg) .addReg(SrcReg) .addImm(Offset) .addImm(AArch64_AM::getShifterImm(AArch64_AM::LSL, 0)) .setMIFlag(Flag); } MachineInstr * AArch64InstrInfo::foldMemoryOperandImpl(MachineFunction &MF, MachineInstr *MI, const SmallVectorImpl<unsigned> &Ops, int FrameIndex) const { // This is a bit of a hack. Consider this instruction: // // %vreg0<def> = COPY %SP; GPR64all:%vreg0 // // We explicitly chose GPR64all for the virtual register so such a copy might // be eliminated by RegisterCoalescer. However, that may not be possible, and // %vreg0 may even spill. We can't spill %SP, and since it is in the GPR64all // register class, TargetInstrInfo::foldMemoryOperand() is going to try. // // To prevent that, we are going to constrain the %vreg0 register class here. // // <rdar://problem/11522048> // if (MI->isCopy()) { unsigned DstReg = MI->getOperand(0).getReg(); unsigned SrcReg = MI->getOperand(1).getReg(); if (SrcReg == AArch64::SP && TargetRegisterInfo::isVirtualRegister(DstReg)) { MF.getRegInfo().constrainRegClass(DstReg, &AArch64::GPR64RegClass); return nullptr; } if (DstReg == AArch64::SP && TargetRegisterInfo::isVirtualRegister(SrcReg)) { MF.getRegInfo().constrainRegClass(SrcReg, &AArch64::GPR64RegClass); return nullptr; } } // Cannot fold. return nullptr; } int llvm::isAArch64FrameOffsetLegal(const MachineInstr &MI, int &Offset, bool *OutUseUnscaledOp, unsigned *OutUnscaledOp, int *EmittableOffset) { int Scale = 1; bool IsSigned = false; // The ImmIdx should be changed case by case if it is not 2. unsigned ImmIdx = 2; unsigned UnscaledOp = 0; // Set output values in case of early exit. if (EmittableOffset) *EmittableOffset = 0; if (OutUseUnscaledOp) *OutUseUnscaledOp = false; if (OutUnscaledOp) *OutUnscaledOp = 0; switch (MI.getOpcode()) { default: assert(0 && "unhandled opcode in rewriteAArch64FrameIndex"); // Vector spills/fills can't take an immediate offset. case AArch64::LD1Twov2d: case AArch64::LD1Threev2d: case AArch64::LD1Fourv2d: case AArch64::LD1Twov1d: case AArch64::LD1Threev1d: case AArch64::LD1Fourv1d: case AArch64::ST1Twov2d: case AArch64::ST1Threev2d: case AArch64::ST1Fourv2d: case AArch64::ST1Twov1d: case AArch64::ST1Threev1d: case AArch64::ST1Fourv1d: return AArch64FrameOffsetCannotUpdate; case AArch64::PRFMui: Scale = 8; UnscaledOp = AArch64::PRFUMi; break; case AArch64::LDRXui: Scale = 8; UnscaledOp = AArch64::LDURXi; break; case AArch64::LDRWui: Scale = 4; UnscaledOp = AArch64::LDURWi; break; case AArch64::LDRBui: Scale = 1; UnscaledOp = AArch64::LDURBi; break; case AArch64::LDRHui: Scale = 2; UnscaledOp = AArch64::LDURHi; break; case AArch64::LDRSui: Scale = 4; UnscaledOp = AArch64::LDURSi; break; case AArch64::LDRDui: Scale = 8; UnscaledOp = AArch64::LDURDi; break; case AArch64::LDRQui: Scale = 16; UnscaledOp = AArch64::LDURQi; break; case AArch64::LDRBBui: Scale = 1; UnscaledOp = AArch64::LDURBBi; break; case AArch64::LDRHHui: Scale = 2; UnscaledOp = AArch64::LDURHHi; break; case AArch64::LDRSBXui: Scale = 1; UnscaledOp = AArch64::LDURSBXi; break; case AArch64::LDRSBWui: Scale = 1; UnscaledOp = AArch64::LDURSBWi; break; case AArch64::LDRSHXui: Scale = 2; UnscaledOp = AArch64::LDURSHXi; break; case AArch64::LDRSHWui: Scale = 2; UnscaledOp = AArch64::LDURSHWi; break; case AArch64::LDRSWui: Scale = 4; UnscaledOp = AArch64::LDURSWi; break; case AArch64::STRXui: Scale = 8; UnscaledOp = AArch64::STURXi; break; case AArch64::STRWui: Scale = 4; UnscaledOp = AArch64::STURWi; break; case AArch64::STRBui: Scale = 1; UnscaledOp = AArch64::STURBi; break; case AArch64::STRHui: Scale = 2; UnscaledOp = AArch64::STURHi; break; case AArch64::STRSui: Scale = 4; UnscaledOp = AArch64::STURSi; break; case AArch64::STRDui: Scale = 8; UnscaledOp = AArch64::STURDi; break; case AArch64::STRQui: Scale = 16; UnscaledOp = AArch64::STURQi; break; case AArch64::STRBBui: Scale = 1; UnscaledOp = AArch64::STURBBi; break; case AArch64::STRHHui: Scale = 2; UnscaledOp = AArch64::STURHHi; break; case AArch64::LDPXi: case AArch64::LDPDi: case AArch64::STPXi: case AArch64::STPDi: IsSigned = true; Scale = 8; break; case AArch64::LDPQi: case AArch64::STPQi: IsSigned = true; Scale = 16; break; case AArch64::LDPWi: case AArch64::LDPSi: case AArch64::STPWi: case AArch64::STPSi: IsSigned = true; Scale = 4; break; case AArch64::LDURXi: case AArch64::LDURWi: case AArch64::LDURBi: case AArch64::LDURHi: case AArch64::LDURSi: case AArch64::LDURDi: case AArch64::LDURQi: case AArch64::LDURHHi: case AArch64::LDURBBi: case AArch64::LDURSBXi: case AArch64::LDURSBWi: case AArch64::LDURSHXi: case AArch64::LDURSHWi: case AArch64::LDURSWi: case AArch64::STURXi: case AArch64::STURWi: case AArch64::STURBi: case AArch64::STURHi: case AArch64::STURSi: case AArch64::STURDi: case AArch64::STURQi: case AArch64::STURBBi: case AArch64::STURHHi: Scale = 1; break; } Offset += MI.getOperand(ImmIdx).getImm() * Scale; bool useUnscaledOp = false; // If the offset doesn't match the scale, we rewrite the instruction to // use the unscaled instruction instead. Likewise, if we have a negative // offset (and have an unscaled op to use). if ((Offset & (Scale - 1)) != 0 || (Offset < 0 && UnscaledOp != 0)) useUnscaledOp = true; // Use an unscaled addressing mode if the instruction has a negative offset // (or if the instruction is already using an unscaled addressing mode). unsigned MaskBits; if (IsSigned) { // ldp/stp instructions. MaskBits = 7; Offset /= Scale; } else if (UnscaledOp == 0 || useUnscaledOp) { MaskBits = 9; IsSigned = true; Scale = 1; } else { MaskBits = 12; IsSigned = false; Offset /= Scale; } // Attempt to fold address computation. int MaxOff = (1 << (MaskBits - IsSigned)) - 1; int MinOff = (IsSigned ? (-MaxOff - 1) : 0); if (Offset >= MinOff && Offset <= MaxOff) { if (EmittableOffset) *EmittableOffset = Offset; Offset = 0; } else { int NewOff = Offset < 0 ? MinOff : MaxOff; if (EmittableOffset) *EmittableOffset = NewOff; Offset = (Offset - NewOff) * Scale; } if (OutUseUnscaledOp) *OutUseUnscaledOp = useUnscaledOp; if (OutUnscaledOp) *OutUnscaledOp = UnscaledOp; return AArch64FrameOffsetCanUpdate | (Offset == 0 ? AArch64FrameOffsetIsLegal : 0); } bool llvm::rewriteAArch64FrameIndex(MachineInstr &MI, unsigned FrameRegIdx, unsigned FrameReg, int &Offset, const AArch64InstrInfo *TII) { unsigned Opcode = MI.getOpcode(); unsigned ImmIdx = FrameRegIdx + 1; if (Opcode == AArch64::ADDSXri || Opcode == AArch64::ADDXri) { Offset += MI.getOperand(ImmIdx).getImm(); emitFrameOffset(*MI.getParent(), MI, MI.getDebugLoc(), MI.getOperand(0).getReg(), FrameReg, Offset, TII, MachineInstr::NoFlags, (Opcode == AArch64::ADDSXri)); MI.eraseFromParent(); Offset = 0; return true; } int NewOffset; unsigned UnscaledOp; bool UseUnscaledOp; int Status = isAArch64FrameOffsetLegal(MI, Offset, &UseUnscaledOp, &UnscaledOp, &NewOffset); if (Status & AArch64FrameOffsetCanUpdate) { if (Status & AArch64FrameOffsetIsLegal) // Replace the FrameIndex with FrameReg. MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); if (UseUnscaledOp) MI.setDesc(TII->get(UnscaledOp)); MI.getOperand(ImmIdx).ChangeToImmediate(NewOffset); return Offset == 0; } return false; } void AArch64InstrInfo::getNoopForMachoTarget(MCInst &NopInst) const { NopInst.setOpcode(AArch64::HINT); NopInst.addOperand(MCOperand::CreateImm(0)); }
[ "rgjome1@uic.edu" ]
rgjome1@uic.edu
116968c4cdd6499553b9835f60c6a8f33fd47a3f
4bc2e0f101d4830df60f4a8c184085c620a9c64b
/OOP4/main.cpp
bffd64cb0c34ce8cb77b37930cd954b8a9b064bd
[]
no_license
kkkirill/OOP
6b8f81fcebeb21159c5956a6c2dd4a094c5c9454
4ebf43848dee1ffbd9bae7ac438f55106a4a94f6
refs/heads/master
2020-07-30T10:16:12.948677
2019-09-22T18:56:27
2019-09-22T18:56:27
210,189,196
0
0
null
null
null
null
UTF-8
C++
false
false
1,931
cpp
#include "include/Bank.h" int main() { std::deque<Person> clients{ Person("Egor", 2000, "Minsk, Kjsmonavtov 110-12", Gender::MALE, "BY"), Person("Dasha", 1996, "Mogilev, Artileriyskaya 123-1", Gender::FEMALE, "BY"), Person("Sergey", 1995, "Vitebskiy region, Orhsa, Stalina 23-2", Gender::MALE, "BY"), Person("Natasha", 1990, "Minsk, Platonova 24-5", Gender::FEMALE, "BY") }; std::deque<std::deque<Person>> staff{ std::deque<Person>{ Person("Kirill", 2000, "Minsk, Slobodskaya 157-128", Gender::MALE, "BY"), Person("Vitya", 1999, "Minsk, Dzyarzhinskogo 110-23", Gender::MALE, "BY"), Person("Olya", 1998, "Brest, Pushkina 24-2", Gender::FEMALE, "BY") }, std::deque<Person>{ Person("Vanya", 1997, "Vitebsk, Yakuba Kolasa 112-51", Gender::MALE, "BY"), Person("Tanya", 1999, "Minsk region, Stolbtsy, Pervomayskaya 10-75", Gender::FEMALE, "BY"), Person("Petya", 1995, "Grodno, M. Tanka 91-13", Gender::MALE, "BY") } }; std::initializer_list <std::pair<weekday, std::pair<std::string, std::string>>> work_shedule{ std::make_pair(weekday::Monday, std::make_pair("08:00", "22:00")), std::make_pair(weekday::Tuesday, std::make_pair("08:00", "22:00")), std::make_pair(weekday::Wednesday, std::make_pair("08:00", "21:00")), std::make_pair(weekday::Thursday, std::make_pair("08:00", "22:00")), std::make_pair(weekday::Friday, std::make_pair("09:00", "19:00")), std::make_pair(weekday::Saturday, std::make_pair("09:30", "19:00")), std::make_pair(weekday::Sunday, std::make_pair("11:00", "18:00")), }; Bank alpha_bank("AplhaBank", staff[0], work_shedule); //Bank belarus_bank("BelarusBank", staff[1], work_shedule); alpha_bank.perform_services(&clients[0]); return 0; }
[ "kkg.410@mail.ru" ]
kkg.410@mail.ru
e38bb46a97b22797c3702d8d6be27cd8558ee7d4
1db5ea1580dfa95512b8bfa211c63bafd3928ec5
/PlanAssigner.h
d917cfc045d750f47b6f4372867b5d7b0f0ffa21
[]
no_license
armontoubman/scbatbot
3b9dd4532fbb78406b41dd0d8f08926bd710ad7b
bee2b0bf0281b8c2bd6edc4c10a597041ea4be9b
refs/heads/master
2023-04-18T12:08:13.655631
2010-09-17T23:03:26
2010-09-17T23:03:26
361,411,133
0
0
null
null
null
null
UTF-8
C++
false
false
1,382
h
#pragma once #include <BWAPI.h> #include "HighCommand.h" #include "TaskManager.h" #include "EigenUnitGroupManager.h" #include "EnemyUnitDataManager.h" #include "MicroManager.h" #include "UnitGroup.h" #include "Task.h" #include <map> class HighCommand; class TaskManager; class EigenUnitGroupManager; class EnemyUnitDataManager; class MicroManager; class PlanAssigner { public: PlanAssigner(HighCommand* h, TaskManager* t, EigenUnitGroupManager* e, EnemyUnitDataManager* ed, MicroManager* m); HighCommand* hc; TaskManager* tm; EigenUnitGroupManager* eiugm; EnemyUnitDataManager* eudm; MicroManager* mm; std::map<UnitGroup*, Task> maakPlan(); int canAttack(UnitGroup* ug, Task t); int canAttack(Task t, UnitGroup* ug); Task mostAppropriate(UnitGroup* current, int tasktype, std::map<UnitGroup*, Task> currentPlan); Task mostAppropriate(UnitGroup* current, int tasktype, std::map<UnitGroup*, Task> currentPlan, bool nullwaarde); bool containsTask(std::map<UnitGroup*, Task> plan, Task t); double logicaldistance(UnitGroup* ug, BWAPI::Position pos); bool canReach(UnitGroup* ug, BWAPI::Position pos); std::map<UnitGroup*, Task> plan; void update(); Task vindTask(std::map<UnitGroup*, Task> lijst, UnitGroup* ug); std::list<Task> findTasksWithType(std::map<UnitGroup*, Task> lijst, int t); void logc(const char* msg); };
[ "armontoubman@a850bb65-3c1a-43af-a1ba-18f3eb5da290" ]
armontoubman@a850bb65-3c1a-43af-a1ba-18f3eb5da290
abb9f5d06d27132b7ca278b682e659f8fc76e741
9e1fb87d6aa5084c850d3165ea749da67d0add59
/AOJ/AOJ0218.cpp
2e69b907addaa80285ceb26a9d3e8f1776bebec7
[]
no_license
Yang-33/competitive-programming
673d57bc95efb559f8e2905bad758cd576505761
f85ef9f1a5763334e4d26f9206154e4f7c0a85ac
refs/heads/master
2021-01-12T03:19:17.961860
2019-10-06T15:35:48
2019-10-06T15:35:48
78,174,818
3
0
null
null
null
null
UTF-8
C++
false
false
1,398
cpp
#include <bits/stdc++.h> using namespace std; using VS = vector<string>; using LL = long long; using VI = vector<int>; using VVI = vector<VI>; using PII = pair<int, int>; using PLL = pair<LL, LL>; using VL = vector<LL>; using VVL = vector<VL>; #define ALL(a) begin((a)),end((a)) #define RALL(a) (a).rbegin(), (a).rend() #define SZ(a) int((a).size()) #define SORT(c) sort(ALL((c))) #define RSORT(c) sort(RALL((c))) #define UNIQ(c) (c).erase(unique(ALL((c))), end((c))) #define FOR(i, s, e) for (int(i) = (s); (i) < (e); (i)++) #define FORR(i, s, e) for (int(i) = (s); (i) > (e); (i)--) //#pragma GCC optimize ("-O3") #ifdef YANG33 #include "mydebug.hpp" #else #define DD(x) #endif const int INF = 1e9; const LL LINF = 1e16; const LL MOD = 1000000007; const double PI = acos(-1.0); /* ----- 2019/08/14 Problem: AOJ 0218 / Link: https://onlinejudge.u-aizu.ac.jp/challenges/search/volumes/0218 ----- */ int main() { int N; while (cin >> N, N) { FOR(i, 0, N) { int m, e, j; cin >> m >> e >> j; auto f = [&]() { if (m == 100 || e == 100 || j == 100)return 'A'; else if (m + e >= 180)return 'A'; else if (m + e + j >= 240)return 'A'; else if (m + e + j >= 210)return 'B'; else if (m + e + j >= 150 &&(m>=80 || e>=80) )return 'B'; else return 'C'; }; cout << f() << "\n"; } } return 0; }
[ "kasai.yuta0810@gmail.com" ]
kasai.yuta0810@gmail.com
48724d2f7cd9c8f82ca9f25712f47c5bc9302021
462ea939f5b905fa2b23d622027d9ba55a1b4272
/examples/uuid_example.cpp
22b942a31c5b633c4609aedaa5041e43a35b4267
[ "MIT" ]
permissive
nvoronetskiy/nstd
973ca807ac7f9939a33d8daa29f88eeae6424d93
85812f782b019ebbecb5a2d43ccfa86f88836451
refs/heads/master
2020-12-02T08:00:18.243013
2017-07-07T23:04:42
2017-07-07T23:04:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,026
cpp
/* MIT License Copyright (c) 2017 Arlen Keshabyan (arlen.albert@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include <iostream> #include "random_provider_default.hpp" #include "random_provider_quantum.hpp" #include "uuid.hpp" int main() { auto uuid { nstd::uuid::uuid::generate_random() }; std::cout << "Generated uuid (dashes/lower case, default): " << uuid.to_string() << std::endl; std::cout << "Generated uuid (no dashes/lower case): " << uuid.to_string(false) << std::endl; std::cout << "Generated uuid (dashes/upper case): " << uuid.to_string(true, true) << std::endl; std::cout << "Generated uuid (no dashes/upper case): " << uuid.to_string(false, true) << std::endl; auto uuid_parsed { nstd::uuid::uuid::parse(uuid.to_string(false, true)) }; if (uuid == uuid_parsed) std::cout << "Parsed uuid: " << uuid_parsed.to_string() << std::endl; else std::cout << "Error in parsing uuid " << uuid.to_string(false, true) << std::endl; nstd::uuid::uuid null_uuid; if (null_uuid.is_null() && null_uuid == nstd::uuid::uuid::parse(std::string('0', 32))) std::cout << "Default constructed uuid: " << null_uuid.to_string() << std::endl; else { std::cout << "Error: the default constructed uuid should be the null value!" << std::endl; } std::cout << "Quantum random uuids:" << std::endl; nstd::uuid::uuid::init_random(nstd::random_provider_quantum<>()); auto quuid { nstd::uuid::uuid::generate_random() }; std::cout << "Generated uuid (dashes/lower case, default): " << quuid.to_string() << std::endl; std::cout << "Generated uuid (no dashes/lower case): " << quuid.to_string(false) << std::endl; std::cout << "Generated uuid (dashes/upper case): " << quuid.to_string(true, true) << std::endl; std::cout << "Generated uuid (no dashes/upper case): " << quuid.to_string(false, true) << std::endl; std::cout << "exitting..." << std::endl; return 0; }
[ "arlen.albert@gmail.com" ]
arlen.albert@gmail.com
3a548381d5ffe4d594c4db5d2f792d038677c97c
3aa87ef356718879b10de8e0e96d171f58a5a06e
/CompilationTech/gtkTest.cpp
0d0bd83f95b97aaea854e48becd60b15c84b6a44
[]
no_license
mayk93/College
4f7d6c666d878b97c12c73a45464f0ac15ca2645
9049ade988610ba68df37679b8484029071770dd
refs/heads/master
2020-05-17T08:01:28.147454
2015-04-30T20:55:14
2015-04-30T20:55:14
17,863,332
0
2
null
null
null
null
UTF-8
C++
false
false
1,717
cpp
#include <gtk/gtk.h> static void onClick(GtkWidget *widget, gpointer data) { g_print("%s\n",gtk_entry_get_text(GTK_ENTRY(data))); } int main(int argc, char*argv[]) { gtk_init(&argc,&argv); GtkWidget *window, *table, *label, *button , *entry, *hbox; window = gtk_window_new(GTK_WINDOW_TOPLEVEL); g_signal_connect(window,"delete_event",G_CALLBACK(gtk_main_quit),NULL); table = gtk_table_new(3,2,0); //2 Rows, 2 Columns, Non-Homogenous button = gtk_button_new_with_mnemonic("_Work"); label = gtk_label_new("My label"); gtk_table_attach(GTK_TABLE(table),label,0,1,0,1,GTK_FILL,GTK_FILL,0,0); gtk_table_attach(GTK_TABLE(table),button,1,2,0,1,GTK_FILL,GTK_FILL,0,0); button = gtk_button_new_with_mnemonic("W_ork"); label = gtk_label_new("My other label"); gtk_table_attach(GTK_TABLE(table),label,0,1,1,2,GTK_FILL,GTK_FILL,0,0); gtk_table_attach(GTK_TABLE(table),button,1,2,1,2,GTK_FILL,GTK_FILL,0,0); entry = gtk_entry_new(); button = gtk_button_new_with_mnemonic("_Text"); g_signal_connect(button,"clicked",G_CALLBACK(onClick),entry); gtk_table_attach(GTK_TABLE(table),entry,0,1,2,3,GTK_FILL,GTK_FILL,0,0); gtk_table_attach(GTK_TABLE(table),button,1,2,2,3,GTK_FILL,GTK_FILL,0,0); /* label = gtk_label_new("My third label"); hbox = gtk_hbox_new(50,50); gtk_box_pack_start(GTK_BOX(hbox),entry,0,0,0); gtk_box_pack_start(GTK_BOX(hbox),button,0,0,0); gtk_container_add(GTK_CONTAINER(window),hbox); */ gtk_container_add(GTK_CONTAINER(window),table); gtk_window_set_default_size(GTK_WINDOW(window), 250, 250); gtk_widget_show_all(window); gtk_main(); return 0; }
[ "michael@michael-PC.(none)" ]
michael@michael-PC.(none)
aeb14a6e7b75d6592e44ffc5165f193793b7aed4
744857a9557e1b3cf92699da9d73258ab6d35d7d
/windows/c程序/linux/linux/seq.cpp
db2332f3aea871c063df2a72df80a94bac7539a2
[]
no_license
wengduo/item
e5461041f6869621f5a61176180b4d10a25971f4
5cf69cefbc0e0bfcf4d8c0269b87c052d5a69b35
refs/heads/master
2021-01-09T20:29:42.802163
2016-08-11T07:49:07
2016-08-11T07:49:07
65,426,030
1
0
null
null
null
null
UTF-8
C++
false
false
2,081
cpp
#include"seq.h" bool list_init(NODE **phead) { if (phead == NULL) { return false; } NODE *tmp = (NODE *)malloc(sizeof(NODE)); *phead = tmp; tmp->next = NULL; tmp->prev = NULL; return true; } bool list_add(NODE *phead, char *p) { if (phead == NULL) { return false; } NODE *tmp = (NODE *)malloc(sizeof(NODE)); tmp->date = p; tmp->next = NULL; tmp->prev = NULL; NODE *pt = phead; while (pt->next != NULL) { pt = pt->next; } pt->next = tmp; tmp->prev = pt; return true; } int list_length(NODE *phead) { NODE *p = phead; int count = 0; while (p->next != NULL) { p = p->next; count++; } return count; } char *list_getstr(NODE *phead, int pos) { if (phead == NULL || pos < 0 || pos >list_length(phead)) { return NULL; } NODE *p = phead; while (pos >= 0) { p = p->next; pos--; } return p->date; } bool list_clear(NODE *phead) { if (phead->next == NULL) { return false; } NODE *p = phead->next; while (p->next != NULL) { p = p->next; free(p->prev); } free(p); phead->next = NULL; return true; } bool list_destory(NODE *phead) { if (phead == NULL) { return false; } NODE *p = phead->next; while (p->next != NULL) { NODE *p1 = p->next; free(p); p = p1; } free(p); free(phead); return true; } bool list_add_a(NODE *phead, char *p, int val) { if (phead == NULL) { return false; } NODE *tmp = (NODE *)malloc(sizeof(NODE)); tmp->size = val; tmp->next = NULL; tmp->prev = NULL; strncpy_s(tmp->buff, p,strlen(p)+1); NODE *pt = phead; if (pt->next == NULL) { phead->next = tmp; tmp->prev = phead; return true; } while (pt->next != NULL) { NODE *pt1 = pt; pt = pt->next; if (strcmp(pt->buff, p) > 0) { pt1->next = tmp; tmp->prev = pt1; tmp->next = pt; pt->prev = tmp; break; } if (pt->next == NULL) { pt->next = tmp; tmp->prev = pt1; break; } } return true; } bool list_display(NODE *phead) { if (phead == NULL) { return false; } NODE *p = phead->next; while (p != NULL) { printf("%s\n", p->buff); p = p->next; } return true; }
[ "2292466904@qq.com" ]
2292466904@qq.com
e16aa40f2e7bbd1cd93e7434f8b17ec4fbb72498
32f3befacb387118c4d9859210323ce6448094ee
/Contest/PSTC2016PetrMitrichev/J.cpp
6aa80527b7a513c876d69ee07dd5fb2a41bbab90
[]
no_license
chmnchiang/bcw_codebook
4e447e7d06538f3893e54a50fa5c1d6dcdcd0e01
e09d704ea17bb602ff1661b76d47ef52d81e8072
refs/heads/master
2023-04-11T08:29:05.463394
2021-04-19T09:16:31
2021-04-19T09:16:31
20,440,425
15
3
null
null
null
null
UTF-8
C++
false
false
12,446
cpp
#pragma GCC optimize ("O2") #include<bits/stdc++.h> #include<unistd.h> using namespace std; #define FZ(n) memset((n),0,sizeof(n)) #define FMO(n) memset((n),-1,sizeof(n)) #define F first #define S second #define PB push_back #define ALL(x) begin(x),end(x) #define SZ(x) ((int)(x).size()) #define IOS ios_base::sync_with_stdio(0); cin.tie(0) #define REP(i,x) for (int i=0; i<(x); i++) #define REP1(i,a,b) for (int i=(a); i<=(b); i++) #ifdef ONLINE_JUDGE #define FILEIO(name) \ freopen(name".in", "r", stdin); \ freopen(name".out", "w", stdout); #else #define FILEIO(name) #endif template<typename A, typename B> ostream& operator <<(ostream &s, const pair<A,B> &p) { return s<<"("<<p.first<<","<<p.second<<")"; } template<typename T> ostream& operator <<(ostream &s, const vector<T> &c) { s<<"[ "; for (auto it : c) s << it << " "; s<<"]"; return s; } /* 我最近在研究腦控裝置是否與人工智慧連結 為了知道對方的意圖我已經打聽過外星機構 我知道有些外星機構有腦控裝置的伺服機櫃 對量子蟲洞照光時搖視太空會有相對應光波 特別是搭配擴散濾鏡綠光雷射照向乾淨灰塵 房間都是關閉門窗且24小時開啟空氣清淨機 在濾網沒有很髒的時候有大量灰塵怖滿桌面 可以合理的推論是由外星傳送技術灑進房間 這讓我回想起以前都是灑在空氣中而非表面 可見傳物監聽技術層級已提高到另一個層次 於是我開始練習反向地調整人工智慧的傾向 這與我們的歷史與大眾的傾向有許多的關聯 且人工智慧主機被我發現在地球外的飛船裡 這代表是有外星機構想要調控整體人類動向 因此可以合理推斷地球目前的政治也是如此 高中的時候常和家人一起看古代的宮廷戲劇 通常掌權者為了繼續延續與維持自己的王朝 會讓下臣及宰相互鬥而讓他們沒時間奪政權 我覺得地球上各國與各地方的爭鬥也是如此 這樣外星的領導們就可以永遠持續維持高位 而業力Karma就是自動腦控的Reward參數~ 因此為了要試試看是否這類工智慧真實存在 我進行了以下試驗並檢驗了其真實性並公佈 首先我每次出門會有陌生面孔出現在地下室 我試了好幾次出門時只按電梯按鈕又回家中 再接下來一次出門就沒有人出現在地下室了 還有就是清晨時候最容易被換身體加強控制 我開始試驗著每天寅時卯時保持清醒不睡覺 通常那時段的感受到的地磁能量會擺動不穩 可見天空的外星飛船流量會影響地磁的脈動 因此我開始作另一項試驗就是躺著假裝睡著 我發現我的身體會被反重力提起並換個位置 還好我的能量夠強以致於沒有被蟲洞傳送走 於是我作了另一項實驗看看是否會被女生追 我們都知道有些漂亮女生會喜歡笨笨的男生 而有些很聰明的男生則會喜歡上笨笨的女生 於是我開始常到有監視器的賣場假裝我很笨 我會假裝自己是動物並到處觀看及精神分裂 從那天開始我就開始被一些漂亮的女生追隨 她們並非一些正常的人類似乎沒有國小同學 而這項實驗最後引來了一些非常漂亮的女生 她們有的有物質身體且幾乎都有失憶的傾向 我有時候會跟她們聊天但幾乎隔天就忘記了 再來就是會有些女生會用能量觸及我的身體 但我其實對外人表現的樣子應該是很笨很蠢 這類不合理的情況已可推論人工智慧的目標 可能要將家庭的平均智商降低致使發展變慢 我們都知道一個國家最重要的梁柱就是小孩 如果小孩擁有更好的教育環境整體發展更快 再來是一些人工智慧與影像辨識的反向操控 通常攝影機出錯時會停止影像分析避免異常 我在電腦上寫一支程式隨時跳出無意義字串 我發現那部電腦從那天開始沒有再被當機過 但是有一天我的正常電腦都被當機後我躺下 開始戴上眼罩並且只留一個小孔開始動眼球 我發現可以用一些特定的圖紋詐騙人工智慧 讓頭與眼不固定抖動與閉眼使人工智慧異常 通常在這種時候因為我已經被外星機構標記 他們會派飛船來檢查並且想要傳送我的身體 我猜可能是一種錯誤後修復的機制非常危險 最簡單的就是反覆閉眼並動頭掃描相似紋路 例如我的窗簾有許多個小熊都長的非常相似 這會讓人工智慧偵測到連續的畫面超出範圍 因為平常這種人工智慧就會偵測周遭的環境 若發現景物不同則有其他外星派系改變景物 從此之後我被外星機構列為需要攻擊的對象 我遭受到超級密集的電磁脈衝與反重力脈衝 */ // Let's Fight! int cnt; struct Bigint{ // static const int LEN = 1135/8+6; static const long long BIGMOD = 100000000; int s; int vl; //long long v[LEN]; vector<long long> v; Bigint() : s(1) { vl = 0; } Bigint(long long a) { s = 1; vl = 0; if (a < 0) { s = -1; a = -a; } while (a) { push_back(a % BIGMOD); a /= BIGMOD; } } Bigint(string str) { s = 1; vl = 0; int stPos = 0, num = 0; if (!str.empty() && str[0] == '-') { stPos = 1; s = -1; } for (int i=SZ(str)-1, q=1; i>=stPos; i--) { num += (str[i] - '0') * q; if ((q *= 10) >= BIGMOD) { push_back(num); num = 0; q = 1; } } if (num) push_back(num); n(); } int len() const { //return vl; return SZ(v); } bool empty() const { return len() == 0; } void push_back(int x) { //v[vl++] = x; v.PB(x); } void pop_back() { //vl--; v.pop_back(); } long long back() const { //return v[vl-1]; return v.back(); } void n() { while (!empty() && !back()) pop_back(); } void resize(int nl) { vl = nl; //fill(v, v+vl, 0); v.resize(nl); fill(ALL(v), 0); } void print() const { if (empty()) { putchar('0'); return; } if (s == -1) putchar('-'); printf("%lld", back()); for (int i=len()-2; i>=0; i--) printf("%.8lld",v[i]); } friend std::ostream& operator << (std::ostream& out, const Bigint &a) { if (a.empty()) { out << "0"; return out; } if (a.s == -1) out << "-"; out << a.back(); for (int i=a.len()-2; i>=0; i--) { char str[10]; snprintf(str, 5, "%.8lld", a.v[i]); out << str; } return out; } int cp3(const Bigint &b)const { if (s != b.s) return s - b.s; if (s == -1) return -(-*this).cp3(-b); if (len() != b.len()) return len()-b.len();//int for (int i=len()-1; i>=0; i--) if (v[i]!=b.v[i]) return v[i]-b.v[i]; return 0; } bool operator < (const Bigint &b)const{ return cp3(b)<0; } bool operator <= (const Bigint &b)const{ return cp3(b)<=0; } bool operator == (const Bigint &b)const{ return cp3(b)==0; } bool operator != (const Bigint &b)const{ return cp3(b)!=0; } bool operator > (const Bigint &b)const{ return cp3(b)>0; } bool operator >= (const Bigint &b)const{ return cp3(b)>=0; } Bigint operator - () const { Bigint r = (*this); r.s = -r.s; return r; } Bigint operator + (const Bigint &b) const { if (s == -1) return -(-(*this)+(-b)); if (b.s == -1) return (*this)-(-b); Bigint r; int nl = max(len(), b.len()); r.resize(nl + 1); for (int i=0; i<nl; i++) { if (i < len()) r.v[i] += v[i]; if (i < b.len()) r.v[i] += b.v[i]; if(r.v[i] >= BIGMOD) { r.v[i+1] += r.v[i] / BIGMOD; r.v[i] %= BIGMOD; } } r.n(); return r; } Bigint operator - (const Bigint &b) const { if (s == -1) return -(-(*this)-(-b)); if (b.s == -1) return (*this)+(-b); if ((*this) < b) return -(b-(*this)); Bigint r; r.resize(len()); for (int i=0; i<len(); i++) { r.v[i] += v[i]; if (i < b.len()) r.v[i] -= b.v[i]; if (r.v[i] < 0) { r.v[i] += BIGMOD; r.v[i+1]--; } cnt++; } r.n(); return r; } Bigint operator * (const Bigint &b) { Bigint r; r.resize(len() + b.len() + 1); r.s = s * b.s; for (int i=0; i<len(); i++) { for (int j=0; j<b.len(); j++) { r.v[i+j] += v[i] * b.v[j]; if(r.v[i+j] >= BIGMOD) { r.v[i+j+1] += r.v[i+j] / BIGMOD; r.v[i+j] %= BIGMOD; } cnt++; } } r.n(); return r; } Bigint operator / (const Bigint &b) { Bigint r; r.resize(max(1, len()-b.len()+1)); int oriS = s; Bigint b2 = b; // b2 = abs(b) s = b2.s = r.s = 1; for (int i=r.len()-1; i>=0; i--) { int d=0, u=BIGMOD-1; while(d<u) { int m = (d+u+1)>>1; r.v[i] = m; if((r*b2) > (*this)) u = m-1; else d = m; } r.v[i] = d; } s = oriS; r.s = s * b.s; r.n(); return r; } Bigint operator % (const Bigint &b) { return (*this)-(*this)/b*b; } }; const int MX = 511; int N, K; Bigint D; bool used[MX]; vector<int> A; using A34 = array<int, 3>; map<A34, Bigint> mp; Bigint fac[MX]; Bigint C[MX][MX/2+10]; Bigint wrong[MX]; inline Bigint _C(int n, int m) { if (m > n-m) return C[n][n-m]; return C[n][m]; } static void pre() { fac[0] = 1; for (int i=1; i<MX; i++) { fac[i] = fac[i-1] * i; } /* for (int i=0; i<MX; i++) { faclr[i][i] = 1; for (int j=i+1; j<MX; j++) { faclr[i][j] = faclr[i][j-1] * j; } }*/ for (int i=0; i<MX; i++) { C[i][0] = 1; for (int j=1; j<i; j++) { if (j > i-j) break; C[i][j] = _C(i-1, j-1) + _C(i-1, j); } } wrong[0] = 1; for (int i=1; i<MX; i++) { Bigint t = 1, ans = 0; for (int j=i; j>=0; j--) { if (j%2) { ans = ans - t; } else { ans = ans + t; } t = t * j; } wrong[i] = ans; } } using pii = pair<int, int>; map<pii, Bigint> mp2; int zzz; Bigint dp2(int n, int m) { if (n < m) return 0; if (n == m) { return fac[m]; } if (mp2.count(pii(n, m))) return mp2[pii(n, m)]; //cout << n << ' ' << m << endl; zzz++; Bigint ans = Bigint(n-1) * dp2(n-1, m) + Bigint(n-m-1) * dp2(n-2, m); mp2[pii(n, m)] = ans; return ans; } Bigint dp(int n, int m, int k) { if (k < 0) return 0; if (k > n-m) return 0; if (m > n) return 0; A34 jwj = {n, m, k}; { auto it = mp.find(jwj); if (it != end(mp)) return it->S; } Bigint ans = 0; /* for (int i=0; i<=min(n-m, m); i++) { if (n-m-i-k < 0) break; ans = ans + C[n-m][i] * C[n-m-i][k] * wrong[n-m-i-k] * faclr[m-i][m] * fac[m]; cout << ans << endl; }*/ ans = _C(n-m, k) * dp2(n-k, m); mp[jwj] = ans; zzz++; return ans; } A34 LYH() { int n = N - SZ(A) - 1; int m = 0, k = K; for (int i=0; i<SZ(A); i++) { int x = A[i]; if (x > SZ(A)+1) m++; if (x == i+1) k--; } return A34{n, m, k}; } void solve() { string S; cin >> N >> K >> S; D = Bigint(S); D = D - Bigint(1); for (int i=1; i<=N; i++) used[i] = 0; A.clear(); for (int i=0; i<N; i++) { int t = N-i; int id = 1; A34 lyh = LYH(); int n, m, k; vector<int> vec; for (int j=0; j<t; j++) { while (used[id]) { id++; } vec.PB(id); id++; } int l = 0, r = t-1; n = lyh[0], m = lyh[1], k = lyh[2]; while (l < r) { int md = (l+r)/2; int dd, ddd, dddd; dd = ddd = dddd = 0; for (int j=0; j<=md; j++) { int x = vec[j]; if (i+1 == x) ddd++; else if (i+1 < x) dddd++; else dd++; } Bigint d = Bigint(dd) * dp(n, m, k) + Bigint(ddd) * dp(n, m, k-1) + Bigint(dddd) * dp(n, m+1, k); //cout << A << ' ' << vec[md] << ' ' << D << ' ' << d << endl; if (D < d) { r = md; } else { l = md+1; } } A.PB(vec[l]); used[vec[l]] = 1; if (l) { int md = l-1; int dd, ddd, dddd; dd = ddd = dddd = 0; for (int j=0; j<=md; j++) { int x = vec[j]; if (i+1 == x) ddd++; else if (i+1 < x) dddd++; else dd++; } Bigint d = Bigint(dd) * dp(n, m, k) + Bigint(ddd) * dp(n, m, k-1) + Bigint(dddd) * dp(n, m+1, k); D = D - d; } /* int x = id; A.PB(x); n = lyh[0], m = lyh[1], k = lyh[2]; if (i+1 == x) { k--; } else if (x > i+1) { m++; } //cout << A << ' ' << n << ' ' << m << ' ' << k << endl; Bigint d = dp(n, m, k); //cout << A << ": " << d << endl; if (D < d) { used[x] = 1; break; } else { D = D - d; A.pop_back(); id++; //assert(j != t-1); } */ } for (int i=0; i<N; i++) cout << A[i] << " \n"[i == N-1]; } int main() { IOS; pre(); int Q; cin >> Q; while (Q--) { solve(); } cerr << cnt << endl; cerr << zzz << endl; return 0; }
[ "hanhan0912@gmail.com" ]
hanhan0912@gmail.com
507a6fbb071660f1233c8b46adf48c68a6bdee74
7428c4de05c4987d672eac5c25759dd262ea4642
/Source/Renderer/Public/RenderQueue/Renderable.cpp
70fc2fd74c1fa646e93fe0c173bca3bfa1d7658f
[ "MIT" ]
permissive
aalekhm/unrimp
e56e366ce255502f2fd18b9c6f4f72446c526299
13380b2df90e3be3512c5accdef7c00511d17d30
refs/heads/master
2022-08-26T17:18:08.800044
2020-05-24T07:53:57
2020-05-24T07:53:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
14,465
cpp
/*********************************************************\ * Copyright (c) 2012-2020 The Unrimp Team * * 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. \*********************************************************/ //[-------------------------------------------------------] //[ Includes ] //[-------------------------------------------------------] #include "Renderer/Public/RenderQueue/Renderable.h" #include "Renderer/Public/RenderQueue/RenderableManager.h" #include "Renderer/Public/Resource/Material/MaterialResourceManager.h" #include "Renderer/Public/Resource/Material/MaterialResource.h" #include "Renderer/Public/Core/SwizzleVectorElementRemove.h" #include "Renderer/Public/IRenderer.h" //[-------------------------------------------------------] //[ Anonymous detail namespace ] //[-------------------------------------------------------] namespace { namespace detail { //[-------------------------------------------------------] //[ Global variables ] //[-------------------------------------------------------] Renderer::RenderableManager NullRenderableManager; //[-------------------------------------------------------] //[ Anonymous detail namespace ] //[-------------------------------------------------------] } // detail } //[-------------------------------------------------------] //[ Namespace ] //[-------------------------------------------------------] namespace Renderer { //[-------------------------------------------------------] //[ Public methods ] //[-------------------------------------------------------] Renderable::Renderable() : // Debug #ifdef RHI_DEBUG mDebugName{}, #endif // Data mRenderableManager(::detail::NullRenderableManager), mStartIndexLocation(0), mNumberOfIndices(0), mInstanceCount(1), mMaterialResourceId(getInvalid<MaterialResourceId>()), mSkeletonResourceId(getInvalid<SkeletonResourceId>()), mDrawIndexed(false), // Cached material data mRenderQueueIndex(0), mCastShadows(false), mUseAlphaMap(false), // Internal data mMaterialResourceManager(nullptr), mMaterialResourceAttachmentIndex(getInvalid<int>()) { // Nothing here } Renderable::Renderable(RenderableManager& renderableManager, const Rhi::IVertexArrayPtr& vertexArrayPtr, const MaterialResourceManager& materialResourceManager, MaterialResourceId materialResourceId, SkeletonResourceId skeletonResourceId, bool drawIndexed, uint32_t startIndexLocation, uint32_t numberOfIndices, uint32_t instanceCount RHI_RESOURCE_DEBUG_NAME_PARAMETER_NO_DEFAULT) : // Debug #ifdef RHI_DEBUG mDebugName{}, #endif // Data mRenderableManager(renderableManager), mVertexArrayPtr(vertexArrayPtr), mStartIndexLocation(startIndexLocation), mNumberOfIndices(numberOfIndices), mInstanceCount(instanceCount), mMaterialResourceId(getInvalid<MaterialResourceId>()), mSkeletonResourceId(skeletonResourceId), mDrawIndexed(drawIndexed), // Cached material data mRenderQueueIndex(0), mCastShadows(false), mUseAlphaMap(false), // Internal data mMaterialResourceManager(nullptr), mMaterialResourceAttachmentIndex(getInvalid<int>()) { #ifdef RHI_DEBUG if ('\0' != debugName[0]) { setDebugName(debugName); } #endif if (isValid(materialResourceId)) { setMaterialResourceId(materialResourceManager, materialResourceId); } } Renderable::Renderable(RenderableManager& renderableManager, const Rhi::IVertexArrayPtr& vertexArrayPtr, const MaterialResourceManager& materialResourceManager, MaterialResourceId materialResourceId, SkeletonResourceId skeletonResourceId, bool drawIndexed, const Rhi::IIndirectBufferPtr& indirectBufferPtr, uint32_t indirectBufferOffset, uint32_t numberOfDraws RHI_RESOURCE_DEBUG_NAME_PARAMETER_NO_DEFAULT) : // Debug #ifdef RHI_DEBUG mDebugName{}, #endif // Data mRenderableManager(renderableManager), mVertexArrayPtr(vertexArrayPtr), mIndirectBufferPtr(indirectBufferPtr), mIndirectBufferOffset(indirectBufferOffset), // Indirect buffer used mNumberOfIndices(~0u), // Invalid since read from the indirect buffer mNumberOfDraws(numberOfDraws), // Indirect buffer used mMaterialResourceId(getInvalid<MaterialResourceId>()), mSkeletonResourceId(skeletonResourceId), mDrawIndexed(drawIndexed), // Cached material data mRenderQueueIndex(0), mCastShadows(false), mUseAlphaMap(false), // Internal data mMaterialResourceManager(nullptr), mMaterialResourceAttachmentIndex(getInvalid<int>()) { #ifdef RHI_DEBUG if ('\0' != debugName[0]) { setDebugName(debugName); } #endif if (isValid(materialResourceId)) { setMaterialResourceId(materialResourceManager, materialResourceId); } } Renderable::Renderable(RenderableManager& renderableManager, const Rhi::IVertexArrayPtr& vertexArrayPtr, const Rhi::IVertexArrayPtr& positionOnlyVertexArrayPtr, const MaterialResourceManager& materialResourceManager, MaterialResourceId materialResourceId, SkeletonResourceId skeletonResourceId, bool drawIndexed, uint32_t startIndexLocation, uint32_t numberOfIndices, uint32_t instanceCount RHI_RESOURCE_DEBUG_NAME_PARAMETER_NO_DEFAULT) : // Debug #ifdef RHI_DEBUG mDebugName{}, #endif // Data mRenderableManager(renderableManager), mVertexArrayPtr(vertexArrayPtr), mPositionOnlyVertexArrayPtr(positionOnlyVertexArrayPtr), mStartIndexLocation(startIndexLocation), mNumberOfIndices(numberOfIndices), mInstanceCount(instanceCount), mMaterialResourceId(getInvalid<MaterialResourceId>()), mSkeletonResourceId(skeletonResourceId), mDrawIndexed(drawIndexed), // Cached material data mRenderQueueIndex(0), mCastShadows(false), mUseAlphaMap(false), // Internal data mMaterialResourceManager(nullptr), mMaterialResourceAttachmentIndex(getInvalid<int>()) { #ifdef RHI_DEBUG if ('\0' != debugName[0]) { setDebugName(debugName); } #endif if (isValid(materialResourceId)) { setMaterialResourceId(materialResourceManager, materialResourceId); } } Renderable::Renderable(RenderableManager& renderableManager, const Rhi::IVertexArrayPtr& vertexArrayPtr, const Rhi::IVertexArrayPtr& positionOnlyVertexArrayPtr, const MaterialResourceManager& materialResourceManager, MaterialResourceId materialResourceId, SkeletonResourceId skeletonResourceId, bool drawIndexed, const Rhi::IIndirectBufferPtr& indirectBufferPtr, uint32_t indirectBufferOffset, uint32_t numberOfDraws RHI_RESOURCE_DEBUG_NAME_PARAMETER_NO_DEFAULT) : // Debug #ifdef RHI_DEBUG mDebugName{}, #endif // Data mRenderableManager(renderableManager), mVertexArrayPtr(vertexArrayPtr), mPositionOnlyVertexArrayPtr(positionOnlyVertexArrayPtr), mIndirectBufferPtr(indirectBufferPtr), mIndirectBufferOffset(indirectBufferOffset), // Indirect buffer used mNumberOfIndices(~0u), // Invalid since read from the indirect buffer mNumberOfDraws(numberOfDraws), // Indirect buffer used mMaterialResourceId(getInvalid<MaterialResourceId>()), mSkeletonResourceId(skeletonResourceId), mDrawIndexed(drawIndexed), // Cached material data mRenderQueueIndex(0), mCastShadows(false), mUseAlphaMap(false), // Internal data mMaterialResourceManager(nullptr), mMaterialResourceAttachmentIndex(getInvalid<int>()) { #ifdef RHI_DEBUG if ('\0' != debugName[0]) { setDebugName(debugName); } #endif if (isValid(materialResourceId)) { setMaterialResourceId(materialResourceManager, materialResourceId); } } void Renderable::setMaterialResourceId(const MaterialResourceManager& materialResourceManager, MaterialResourceId materialResourceId) { // State change? if (mMaterialResourceId != materialResourceId) { // Detach the renderable from the previous material resource, first unsetMaterialResourceIdInternal(); // Renderables can only be attached to really existing material resources MaterialResource* materialResource = materialResourceManager.tryGetById(materialResourceId); if (nullptr != materialResource) { // Sanity checks RHI_ASSERT(materialResourceManager.getRenderer().getContext(), isInvalid(mMaterialResourceAttachmentIndex), "Invalid material resource attachment index") RHI_ASSERT(materialResourceManager.getRenderer().getContext(), nullptr == mMaterialResourceManager, "Invalid material resource manager instance") // Attach the renderable from the material resource mMaterialResourceId = materialResourceId; mMaterialResourceManager = &materialResourceManager; mMaterialResourceAttachmentIndex = static_cast<int>(materialResource->mAttachedRenderables.size()); materialResource->mAttachedRenderables.push_back(this); { // Cached material data, incremental updates are handled inside "Renderer::MaterialResource::setPropertyByIdInternal()" // Optional "RenderQueueIndex" (e.g. compositor materials usually don't need this property) const MaterialProperty* materialProperty = materialResource->getPropertyById(MaterialResource::RENDER_QUEUE_INDEX_PROPERTY_ID); if (nullptr != materialProperty) { const int renderQueueIndex = materialProperty->getIntegerValue(); // Sanity checks RHI_ASSERT(materialResourceManager.getRenderer().getContext(), materialProperty->getUsage() == MaterialProperty::Usage::STATIC, "Invalid material property usage") RHI_ASSERT(materialResourceManager.getRenderer().getContext(), renderQueueIndex >= 0, "Invalid render queue index") RHI_ASSERT(materialResourceManager.getRenderer().getContext(), renderQueueIndex <= 255, "Invalid render queue index") // Set value mRenderQueueIndex = static_cast<uint8_t>(renderQueueIndex); } else { mRenderQueueIndex = 0; } // Optional "CastShadows" (e.g. compositor materials usually don't need this property) materialProperty = materialResource->getPropertyById(MaterialResource::CAST_SHADOWS_PROPERTY_ID); if (nullptr != materialProperty) { // Sanity checks RHI_ASSERT(materialResourceManager.getRenderer().getContext(), materialProperty->getUsage() == MaterialProperty::Usage::STATIC, "Invalid material property usage") // Set value mCastShadows = materialProperty->getBooleanValue(); } else { mCastShadows = false; } // Optional "UseAlphaMap" materialProperty = materialResource->getPropertyById(MaterialResource::USE_ALPHA_MAP_PROPERTY_ID); if (nullptr != materialProperty) { // Sanity checks RHI_ASSERT(materialResourceManager.getRenderer().getContext(), materialProperty->getUsage() == MaterialProperty::Usage::SHADER_COMBINATION, "Invalid material property usage") // Set value mUseAlphaMap = materialProperty->getBooleanValue(); } else { mUseAlphaMap = false; } } } else { // Error! RHI_ASSERT(materialResourceManager.getRenderer().getContext(), false, "We should never end up in here") } } else { // Sanity check RHI_ASSERT(materialResourceManager.getRenderer().getContext(), (isValid(mMaterialResourceId) && &materialResourceManager == mMaterialResourceManager) || (isInvalid(mMaterialResourceId) && nullptr == mMaterialResourceManager), "Invalid renderable configuration") } } //[-------------------------------------------------------] //[ Private methods ] //[-------------------------------------------------------] void Renderable::unsetMaterialResourceIdInternal() { if (isValid(mMaterialResourceId)) { // Sanity checks ASSERT(nullptr != mMaterialResourceManager, "Invalid material resource manager") ASSERT(isValid(mMaterialResourceAttachmentIndex), "Invalid material resource attachment index") // Get the material resource we're going to detach from MaterialResource& materialResource = mMaterialResourceManager->getById(mMaterialResourceId); // Sanity checks ASSERT(mMaterialResourceAttachmentIndex < static_cast<int>(materialResource.mAttachedRenderables.size()), "Invalid material resource attachment index") ASSERT(this == *(materialResource.mAttachedRenderables.begin() + mMaterialResourceAttachmentIndex), "Invalid material resource attachment index") ASSERT(materialResource.getId() == mMaterialResourceId, "Invalid material resource ID") // Detach the renderable from the material resource MaterialResource::AttachedRenderables::iterator iterator = materialResource.mAttachedRenderables.begin() + mMaterialResourceAttachmentIndex; iterator = ::detail::swizzleVectorElementRemove(materialResource.mAttachedRenderables, iterator); if (iterator != materialResource.mAttachedRenderables.end()) { // The node that was at the end got swapped and has now a different index (*iterator)->mMaterialResourceAttachmentIndex = static_cast<int>(iterator - materialResource.mAttachedRenderables.begin()); } setInvalid(mMaterialResourceId); mMaterialResourceManager = nullptr; setInvalid(mMaterialResourceAttachmentIndex); } } //[-------------------------------------------------------] //[ Namespace ] //[-------------------------------------------------------] } // Renderer
[ "cofenberg@gmail.com" ]
cofenberg@gmail.com
a61ad4cf6afe4dd5a51b2e4cac11a2fe51fcf649
ce60c268c1a68368312f8db794a501d153fed68d
/RebornProject/main.cpp
74ddafffd27d04e7eef2e1812b4bdba716c6ae43
[]
no_license
chapeq/RebornProject
b1813975543cbc61d073ff27ae56f13f11afcdbd
c9bffcc6adea3c5a543b02f9f129f84931c55564
refs/heads/master
2023-04-19T09:09:25.193912
2021-05-07T16:01:45
2021-05-07T16:01:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
165
cpp
#include <iostream> #include <stdafx.h> #include "Game.h" int main() { Game game{}; srand((unsigned)time(NULL)); game.RunGameLoop(); return EXIT_SUCCESS; }
[ "pequignotcharlotte@gmail.com" ]
pequignotcharlotte@gmail.com
2824e048d214963b9108ac086e8e2d9f750bc66c
8ec9f36206e847371ddd9f6e53316fce4f9d49ea
/source/NeuralNetwork.h
71b5944d178ed5ead6c97cf13cc45d7484f3c104
[]
no_license
justinm1093/Ecosim
c388f62ee9a450acefa1705853dba5b7858b121b
095e761aea44a94c3fb4379b877f966299d19903
refs/heads/master
2020-03-18T13:24:02.148555
2018-05-25T00:04:52
2018-05-25T00:04:52
134,780,837
0
0
null
null
null
null
UTF-8
C++
false
false
1,720
h
#pragma once #include "ISimComponent.h" #include "Genome.h" #include "Neuron.h" namespace Ecosim { /** Manages an ordered map of interconnected * Neurons that produce outputs that affect * Agent steering behaviors. */ class NeuralNetwork final : public ISimComponent { public: NeuralNetwork(const NeuralNetwork& other) = delete; NeuralNetwork& operator=(const NeuralNetwork& other) = delete; NeuralNetwork(NeuralNetwork&& other) = delete; NeuralNetwork& operator=(NeuralNetwork&& other) = delete; /** @brief Constructor. * * @param numInputs The number of sensor Neurons that * this network will have. */ explicit NeuralNetwork(std::uint32_t numInputs); /** @brief Destructor. */ ~NeuralNetwork(); /** @brief Creates a network topology using the Neuron * connections described in a given Genome. * * @param genome The Agent's Genome. */ void createNetwork(const Genome& genome); /** @brief Destroys all Neurons in the network. */ void clearNetwork(); /** @brief Calculates the network outputs by evaluating * all Neurons in the network. * * @param inputs The values fed to the sensor Neurons. * @param outputs The values retrieved from the output Neurons. */ void evaluate(const float* inputs, float* outputs); /** @brief Renders each Neuron and connections between them. * * @param renderer The simulation rendering object. */ virtual void render(Renderer& renderer) override; /** @brief Gets the number of sensor Neurons. * * @return Returns mNumInputs. */ std::uint32_t getNumInputs() const; private: std::map<std::uint32_t, Neuron*> mNeurons; std::uint32_t mNumInputs; }; }
[ "justinm1093@gmail.com" ]
justinm1093@gmail.com
db21d27f9c8d50f65a2f6e98b209a0eddb0f0784
78e66bac02019d418a37d5a58cfe9b754e2994f9
/Dev/ida5sdk/module/xa/ins.hpp
fb6c92644779e8c5b1220fda0704c1d3b2577f8c
[]
no_license
raimundojimenez/usefulres
1db49c36bc08d409eec7253367d054e3b85489be
1121a7b280cc95002b5d901b7e151741fffcafd3
refs/heads/master
2021-05-29T12:44:47.694847
2015-05-27T04:14:15
2015-05-27T04:14:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,006
hpp
/* * Interactive disassembler (IDA). * Copyright (c) 1990-98 by Ilfak Guilfanov. * ALL RIGHTS RESERVED. * E-mail: ig@estar.msk.su, ig@datarescue.com * FIDO: 2:5020/209 * */ #ifndef __INSTRS_HPP #define __INSTRS_HPP extern instruc_t Instructions[]; enum nameNum { XA_null = 0, // Unknown Operation XA_add, // Add Second Operand to Acc XA_addc, // Add Second Operand to Acc with carry XA_adds, // Add Second Operand to Acc XA_and, // Logical AND (op1 &= op2) XA_anl, // Logical AND Carry and Bit XA_asl, // Logical shift left XA_asr, // Arithmetic shift left XA_bcc, // Branch if Carry clear XA_bcs, // Branch if Carry set XA_beq, // Branch if Zero XA_bg, // Branch if Greater than (unsigned) XA_bge, // Branch if Greater than or equal to (signed) XA_bgt, // Branch if Greater than (signed) XA_bkpt, // Breakpoint XA_bl, // Branch if Less than or equal to (unsigned) XA_ble, // Branch if less than or equal to (signed) XA_blt, // Branch if less than (signed) XA_bmi, // Branch if negative XA_bne, // Branch if not equal XA_bnv, // Branch if no overflow XA_bov, // Branch if overflow flag XA_bpl, // Branch if positive XA_br, // Branch always XA_call, // Call Subroutine XA_cjne, // Compare Operands and JNE XA_clr, // Clear Operand (0) XA_cmp, // Compare destination and source registers XA_cpl, // Complement Operand XA_da, // Decimal Adjust Accumulator XA_div, // Divide XA_divu, // Divide XA_djnz, // Decrement Operand and JNZ XA_fcall, // Far Call XA_fjmp, // Far Jump XA_jb, // Jump if Bit is set XA_jbc, // Jump if Bit is set & clear Bit XA_jmp, // Jump indirect relative to Data Pointer XA_jnb, // Jump if Bit is clear XA_jnz, // Jump if Acc is not zero XA_jz, // Jump if Acc is zero XA_lea, // Load effective address XA_lsr, // Logical shift right XA_mov, // Move (Op1 <- Op2) XA_movc, // Move code byte relative to second op to Acc XA_movs, // Move short XA_movx, // Move from/to external RAM XA_mul, // Multiply XA_mulu, // Multiply unsigned XA_neg, // Negate XA_nop, // No operation XA_norm, // Normalize XA_or, // Logical OR (op1 |= op2) XA_orl, // Logical OR Carry XA_pop, // Pop from Stack and put in Direct RAM XA_popu, // Pop from Stack and put in Direct RAM XA_push, // Push from Direct RAM to Stack XA_pushu, // Push from Direct RAM to Stack XA_reset, // Software reset XA_ret, // Return from subroutine XA_reti, // Return from Interrupt XA_rl, // Rotate Acc left XA_rlc, // Rotate Acc left through Carry XA_rr, // Rotate Acc right XA_rrc, // Rotate Acc right through Carry XA_setb, // Set Direct Bit XA_sext, // Sign extend XA_sub, // Subtract Second Operand from Acc with Borrow XA_subb, // Subtract Second Operand from Acc with Borrow XA_trap, // Software TRAP XA_xch, // Exchange Operands XA_xor, // Exclusive OR (op1 ^= op2) XA_last, }; #endif
[ "WellKnownSoft@3eee2735-b65a-edde-9f56-9c96bd66f7d7" ]
WellKnownSoft@3eee2735-b65a-edde-9f56-9c96bd66f7d7
e37d38ae0639e3c3fcf3471c8d1b10c4e2543cf4
7c7eefd0052835eda9e4959052654a5547df4288
/midisynth.cpp
b6c5bc94b7b0c181e5c952d6eb6098565eca820d
[ "BSD-3-Clause" ]
permissive
supercatexpert/fmmidi
40377ff4f9f695c1131fc99c13022139bfc5ef51
52dbbe5cb697f89528b2c5abda4e9cac38cf2dbc
refs/heads/master
2020-04-09T09:15:52.168513
2018-12-03T17:41:07
2018-12-03T17:41:07
160,226,774
8
1
null
null
null
null
SHIFT_JIS
C++
false
false
57,095
cpp
// ソフトウェアMIDIシンセサイザ。 // Copyright(c)2003-2005 yuno #include "midisynth.hpp" #include <cassert> #include <cmath> #include <cstring> #include <utility> #ifdef __BORLANDC__ #include <fastmath.h> namespace std{ using ::_fm_sin; using ::_fm_cos; using ::_fm_log10; } #endif #ifndef M_PI #define M_PI 3.14159265358979323846 #endif namespace midisynth{ // チャンネルコンストラクタ。 channel::channel(note_factory* factory_, int bank): factory(factory_), default_bank(bank) { notes.reserve(16); reset_all_parameters(); } // チャンネルデストラクタ。 channel::~channel() { all_sound_off_immediately(); } // 発音中の音を合成する。 int channel::synthesize(int_least32_t* out, std::size_t samples, float rate, int_least32_t master_volume, int master_balance) { double volume = mute ? 0.0 : std::pow(static_cast<double>(master_volume) * this->volume * expression / (16383.0 * 16383.0 * 16383.0), 2) * 16383.0; int num_notes = 0; std::vector<NOTE>::iterator i = notes.begin(); while(i != notes.end()){ class note* note = i->note; uint_least32_t panpot = note->get_panpot(); if(this->panpot <= 8192){ panpot = panpot * this->panpot / 8192; }else{ panpot = panpot * (16384 - this->panpot) / 8192 + (this->panpot - 8192) * 2; } if(master_balance <= 8192){ panpot = panpot * master_balance / 8192; }else{ panpot = panpot * (16384 - master_balance) / 8192 + (master_balance - 8192) * 2; } int_least32_t left = static_cast<int_least32_t>(volume * std::cos(std::max(0u, panpot - 1) * (M_PI / 2 / 16382))); int_least32_t right = static_cast<int_least32_t>(volume * std::sin(std::max(0u, panpot - 1) * (M_PI / 2 / 16382))); bool ret = note->synthesize(out, samples, rate, left, right); if(ret){ ++i; }else{ i = notes.erase(i); delete note; } ++num_notes; } return num_notes; } // すべてのパラメータを初期状態に戻す。 void channel::reset_all_parameters() { program = default_bank * 128; bank = default_bank; panpot = 8192; volume = 12800; fine_tuning = 8192; coarse_tuning = 8192; tremolo_frequency = 3; vibrato_frequency = 3; master_frequency_multiplier = 1; mono = false; mute = false; system_mode = system_mode_default; reset_all_controller(); } // パラメータを初期状態に戻す。 void channel::reset_all_controller() { expression = 16383; channel_pressure(0); pitch_bend = 8192; pitch_bend_sensitivity = 256; update_frequency_multiplier(); modulation_depth = 0; modulation_depth_range = 64; update_modulation(); set_damper(0); set_sostenute(0); set_freeze(0); RPN = 0x3FFF; NRPN = 0x3FFF; } // すべての音をノートオフする。 void channel::all_note_off() { for(std::vector<NOTE>::iterator i = notes.begin(); i != notes.end(); ++i){ if(i->status == NOTE::NOTEON){ i->status = NOTE::NOTEOFF; i->note->note_off(64); } } } // すべての音をサウンドオフする。 void channel::all_sound_off() { for(std::vector<NOTE>::iterator i = notes.begin(); i != notes.end(); ++i){ if(i->status != NOTE::SOUNDOFF){ i->status = NOTE::SOUNDOFF; i->note->sound_off(); } } } // 即時消音。 void channel::all_sound_off_immediately() { for(std::vector<NOTE>::iterator i = notes.begin(); i != notes.end(); ++i){ delete i->note; } notes.clear(); } // ノートオン。音を出す。 void channel::note_on(int note, int velocity) { assert(note >= 0 && note < NUM_NOTES); assert(velocity >= 0 && velocity <= 127); note_off(note, 64); if(velocity){ if(mono){ all_sound_off(); } class note* p = factory->note_on(program, note, velocity, frequency_multiplier); if(p){ int assign = p->get_assign(); if(assign){ for(std::vector<NOTE>::iterator i = notes.begin(); i != notes.end(); ++i){ if(i->note->get_assign() == assign){ i->note->sound_off(); } } } if(freeze){ p->set_freeze(freeze); } if(damper){ p->set_damper(damper); } if(modulation_depth){ float depth = static_cast<double>(modulation_depth) * modulation_depth_range / (16383.0 * 128.0); p->set_vibrato(depth, vibrato_frequency); } if(pressure){ p->set_tremolo(pressure, tremolo_frequency); } notes.push_back(NOTE(p, note)); } } } // ノートオフ。音がリリースタイムに入る。 void channel::note_off(int note, int velocity) { assert(note >= 0 && note < NUM_NOTES); assert(velocity >= 0 && velocity <= 127); for(std::vector<NOTE>::iterator i = notes.begin(); i != notes.end(); ++i){ if(i->key == note && i->status == NOTE::NOTEON){ i->status = NOTE::NOTEOFF; i->note->note_off(velocity); } } } // ポリフォニックキープレッシャ。 void channel::polyphonic_key_pressure(int note, int value) { assert(note >= 0 && note < NUM_NOTES); assert(value >= 0 && value <= 127); for(std::vector<NOTE>::iterator i = notes.begin(); i != notes.end(); ++i){ if(i->key == note && i->status == NOTE::NOTEON){ i->note->set_tremolo(value, tremolo_frequency); } } } // チャンネルプレッシャ。 void channel::channel_pressure(int value) { assert(value >= 0 && value <= 127); if(pressure != value){ pressure = value; for(std::vector<NOTE>::iterator i = notes.begin(); i != notes.end(); ++i){ if(i->status == NOTE::NOTEON){ i->note->set_tremolo(value, tremolo_frequency); } } } } // コントロールチェンジ。 void channel::control_change(int control, int value) { assert(value >= 0 && value <= 0x7F); switch(control){ case 0x00: bank_select((bank & 0x7F) | (value << 7)); break; case 0x01: set_modulation_depth((modulation_depth & 0x7F) | (value << 7)); break; case 0x06: set_registered_parameter((get_registered_parameter() & 0x7F) | (value << 7)); break; case 0x07: volume = (volume & 0x7F) | (value << 7); break; case 0x0A: panpot = (panpot & 0x7F) | (value << 7); break; case 0x0B: expression = (expression & 0x7F) | (value << 7); break; case 0x20: bank_select((bank & 0x7F) | (value << 7)); break; case 0x21: set_modulation_depth((modulation_depth & ~0x7F) | value); break; case 0x26: set_registered_parameter((get_registered_parameter() & ~0x7F) | value); break; case 0x27: volume = (volume & ~0x7F) | value; break; case 0x2A: panpot = (panpot & ~0x7F) | value; break; case 0x2B: expression = (expression & ~0x7F) | value; break; case 0x40: set_damper(value); break; case 0x42: set_sostenute(value); break; case 0x45: set_freeze(value); break; case 0x60: set_registered_parameter(std::max(0x3FFF, get_registered_parameter() + 1)); break; case 0x61: set_registered_parameter(std::min(0, get_registered_parameter() - 1)); break; case 0x62: set_NRPN((NRPN & ~0x7F) | value); break; case 0x63: set_NRPN((NRPN & 0x7F) | (value << 7)); break; case 0x64: set_RPN((RPN & ~0x7F) | value); break; case 0x65: set_RPN((RPN & 0x7F) | (value << 7)); break; case 0x78: all_sound_off(); break; case 0x79: reset_all_controller(); break; case 0x7B: case 0x7C: case 0x7D: all_note_off(); break; case 0x7E: mono_mode_on(); break; case 0x7F: poly_mode_on(); break; } } // バンクセレクト void channel::bank_select(int value) { switch(system_mode){ case system_mode_gm: break; case system_mode_gs: if(((bank & 0x3F80) == 0x3C00) == ((value & 0x3F80) == 0x3C00)){ set_bank(value); } break; case system_mode_xg: if(default_bank == 0x3C00){ set_bank(0x3C00 | (value & 0x7F)); }else if((value & 0x3F80) == 0x3F80){ set_bank(0x3C00 | (value & 0x7F)); }else{ set_bank(value); } break; default: if(default_bank == 0x3C00){ set_bank(0x3C00 | (value & 0x7F)); }else{ set_bank(value); } break; } } // ダンパー効果。 void channel::set_damper(int value) { if(damper != value){ damper = value; for(std::vector<NOTE>::iterator i = notes.begin(); i != notes.end(); ++i){ i->note->set_damper(value); } } } // ソステヌート効果。 void channel::set_sostenute(int value) { sostenute = value; for(std::vector<NOTE>::iterator i = notes.begin(); i != notes.end(); ++i){ i->note->set_sostenute(value); } } // フリーズ効果。 void channel::set_freeze(int value) { if(freeze != value){ freeze = value; for(std::vector<NOTE>::iterator i = notes.begin(); i != notes.end(); ++i){ i->note->set_freeze(value); } } } // RPN取得。 int channel::get_registered_parameter() { switch(RPN){ case 0x0000: return pitch_bend_sensitivity; case 0x0001: return fine_tuning; case 0x0002: return coarse_tuning; case 0x0005: return modulation_depth_range; default: return 0; } } // RPN設定。 void channel::set_registered_parameter(int value) { switch(RPN){ case 0x0000: set_pitch_bend_sensitivity(value); break; case 0x0001: set_fine_tuning(value); break; case 0x0002: set_coarse_tuning(value); break; case 0x0005: set_modulation_depth_range(value); break; default: break; } } // 周波数倍率を再計算し更新する。 void channel::update_frequency_multiplier() { float value = master_frequency_multiplier * std::pow(2, (coarse_tuning - 8192) / (128.0 * 100.0 * 12.0) + (fine_tuning - 8192) / (8192.0 * 100.0 * 12.0) + static_cast<double>(pitch_bend - 8192) * pitch_bend_sensitivity / (8192.0 * 128.0 * 12.0)); if(frequency_multiplier != value){ frequency_multiplier = value; for(std::vector<NOTE>::iterator i = notes.begin(); i != notes.end(); ++i){ i->note->set_frequency_multiplier(value); } } } // モジュレーションデプス効果の更新。 void channel::update_modulation() { float depth = static_cast<double>(modulation_depth) * modulation_depth_range / (16383.0 * 128.0); for(std::vector<NOTE>::iterator i = notes.begin(); i != notes.end(); ++i){ i->note->set_vibrato(depth, vibrato_frequency); } } // シンセサイザコンストラクタ。 synthesizer::synthesizer(note_factory* factory) { for(int i = 0; i < 16; ++i){ channels[i].reset(new channel(factory, i == 9 ? 0x3C00 : 0x3C80)); } reset_all_parameters(); } // チャンネル取得。 channel* synthesizer::get_channel(int ch) { assert(ch >= 0 && ch < NUM_CHANNELS); return channels[ch].get(); } // 音を合成する。発音数を返す。 int synthesizer::synthesize(int_least16_t* output, std::size_t samples, float rate) { std::size_t n = samples * 2; std::vector<int_least32_t> buf(n); int num_notes = synthesize_mixing(&buf[0], samples, rate); if(num_notes){ for(std::size_t i = 0; i < n; ++i){ int_least32_t x = buf[i]; if(x < -32767){ output[i] = -32767; }else if(x > 32767){ output[i] = 32767; }else{ output[i] = static_cast<int_least16_t>(x); } } }else{ std::memset(output, 0, sizeof(int_least16_t) * n); } return num_notes; } int synthesizer::synthesize_mixing(int_least32_t* output, std::size_t samples, float rate) { if(active_sensing == 0){ all_sound_off(); active_sensing = -1; }else if(active_sensing > 0){ active_sensing = std::max(0.0f, active_sensing - samples / rate); } int_least32_t volume = static_cast<int_least32_t>(main_volume) * master_volume / 16384; int num_notes = 0; for(int i = 0; i < NUM_CHANNELS; ++i){ num_notes += channels[i]->synthesize(output, samples, rate, volume, master_balance); } return num_notes; } // シンセサイザを完全にリセットする。 void synthesizer::reset() { all_sound_off_immediately(); reset_all_parameters(); } // すべてのパラメータを初期状態に戻す。 void synthesizer::reset_all_parameters() { active_sensing = -1; main_volume = 8192; master_volume = 16383; master_balance = 8192; master_fine_tuning = 8192; master_coarse_tuning = 8192; master_frequency_multiplier = 1; system_mode = system_mode_default; for(int i = 0; i < NUM_CHANNELS; ++i){ channels[i]->reset_all_parameters(); } } // パラメータを初期状態に戻す。 void synthesizer::reset_all_controller() { for(int i = 0; i < NUM_CHANNELS; ++i){ channels[i]->reset_all_controller(); } } // オールノートオフ。すべての音をノートオフする。 void synthesizer::all_note_off() { for(int i = 0; i < NUM_CHANNELS; ++i){ channels[i]->all_note_off(); } } // オールサウンドオフ。すべての音をサウンドオフする。 void synthesizer::all_sound_off() { for(int i = 0; i < NUM_CHANNELS; ++i){ channels[i]->all_sound_off(); } } // 即時消音。 void synthesizer::all_sound_off_immediately() { for(int i = 0; i < NUM_CHANNELS; ++i){ channels[i]->all_sound_off_immediately(); } } // システムエクスクルーシブメッセージの解釈実行。 void synthesizer::sysex_message(const void* pvdata, std::size_t size) { const unsigned char* data = reinterpret_cast<const unsigned char*>(pvdata); if(size == 6 && std::memcmp(data, "\xF0\x7E\x7F\x09\x01\xF7", 6) == 0){ /* GM system on */ set_system_mode(system_mode_gm); }else if(size == 6 && std::memcmp(data, "\xF0\x7E\x7F\x09\x02\xF7", 6) == 0){ /* GM system off */ set_system_mode(system_mode_gm2); }else if(size == 6 && std::memcmp(data, "\xF0\x7E\x7F\x09\x03\xF7", 6) == 0){ /* GM2 system on */ set_system_mode(system_mode_gm2); }else if(size == 11 && std::memcmp(data, "\xF0\x41", 2) == 0 && std::memcmp(data + 3, "\x42\x12\x40\x00\x7F\x00\x41\xF7", 8) == 0){ /* GS reset */ set_system_mode(system_mode_gs); }else if(size == 9 && std::memcmp(data, "\xF0\x43", 2) == 0 && (data[2] & 0xF0) == 0x10 && std::memcmp(data + 3, "\x4C\x00\x00\x7E\x00\xF7", 6) == 0){ /* XG system on */ set_system_mode(system_mode_xg); }else if(size == 8 && std::memcmp(data, "\xF0\x7F\x7F\x04\x01", 5) == 0 && data[7] == 0xF7){ /* master volume */ set_master_volume((data[5] & 0x7F) | ((data[6] & 0x7F) << 7)); }else if(size == 8 && std::memcmp(data, "\xF0\x7F\x7F\x04\x02", 5) == 0 && data[7] == 0xF7){ /* master balance */ set_master_balance((data[5] & 0x7F) | ((data[6] & 0x7F) << 7)); }else if(size == 8 && std::memcmp(data, "\xF0\x7F\x7F\x04\x03", 5) == 0 && data[7] == 0xF7){ /* master fine tuning */ set_master_fine_tuning((data[5] & 0x7F) | ((data[6] & 0x7F) << 7)); }else if(size == 8 && std::memcmp(data, "\xF0\x7F\x7F\x04\x04", 5) == 0 && data[7] == 0xF7){ /* master coarse tuning */ set_master_coarse_tuning((data[5] & 0x7F) | ((data[6] & 0x7F) << 7)); }else if(size == 11 && std::memcmp(data, "\xF0\x41", 2) == 0 && (data[2] & 0xF0) == 0x10 && std::memcmp(data + 3, "\x42\x12\x40", 3) == 0 && (data[6] & 0xF0) == 0x10 && data[7] == 0x15 && data[10] == 0xF7){ /* use for rhythm part */ int channel = data[6] & 0x0F; int map = data[8]; if(map == 0){ channels[channel]->set_bank(0x3C80); }else{ channels[channel]->set_bank(0x3C00); } channels[channel]->program_change(0); } } // MIDIイベントの解釈実行。 void synthesizer::midi_event(int event, int param1, int param2) { switch(event & 0xF0){ case 0x80: note_off(event & 0x0F, param1 & 0x7F, param2 & 0x7F); break; case 0x90: note_on(event & 0x0F, param1 & 0x7F, param2 & 0x7F); break; case 0xA0: polyphonic_key_pressure(event & 0x0F, param1 & 0x7F, param2 & 0x7F); break; case 0xB0: control_change(event & 0x0F, param1 & 0x7F, param2 & 0x7F); break; case 0xC0: program_change(event & 0x0F, param1 & 0x7F); break; case 0xD0: channel_pressure(event & 0x0F, param1 & 0x7F); break; case 0xE0: pitch_bend_change(event & 0x0F, ((param2 & 0x7F) << 7) | (param1 & 0x7F)); break; case 0xFE: active_sensing = 0.33f; break; case 0xFF: all_sound_off(); reset_all_parameters(); break; default: break; } } // システムモードを変更する。 void synthesizer::set_system_mode(system_mode_t mode) { all_sound_off(); reset_all_parameters(); system_mode = mode; for(int i = 0; i < NUM_CHANNELS; ++i){ channels[i]->set_system_mode(mode); } } // マスターチューニングを再計算し更新する。 void synthesizer::update_master_frequency_multiplier() { float value = std::pow(2, (master_coarse_tuning - 8192) / (128.0 * 100.0 * 12.0) + (master_fine_tuning - 8192) / (8192.0 * 100.0 * 12.0)); if(master_frequency_multiplier != value){ master_frequency_multiplier = value; for(int i = 0; i < NUM_CHANNELS; ++i){ channels[i]->set_master_frequency_multiplier(value); } } } // 正弦テーブル。正弦波ジェネレータ用。 namespace{ class sine_table{ public: enum{ DIVISION = 4096 }; sine_table(); int_least16_t get(int n)const{ return data[n]; } private: int_least16_t data[DIVISION]; }sine_table; sine_table::sine_table() { for(int i = 0; i < DIVISION; ++i){ data[i] = static_cast<int_least16_t>(32767 * std::sin(i * 2 * M_PI / DIVISION)); } } } // 正弦波生成器コンストラクタ。 inline sine_wave_generator::sine_wave_generator(): position(0), step(0) { } inline sine_wave_generator::sine_wave_generator(float cycle): position(0) { set_cycle(cycle); } // 正弦波の周期を変更する。 void sine_wave_generator::set_cycle(float cycle) { if(cycle){ step = static_cast<uint_least32_t>(sine_table::DIVISION * 32768.0 / cycle); }else{ step = 0; } } // モジュレーションを加える。 void sine_wave_generator::add_modulation(int_least32_t x) { position += static_cast<int_least32_t>(static_cast<int_least64_t>(step) * x >> 16); } // 次のサンプルを取り出す。 inline int sine_wave_generator::get_next() { return sine_table.get((position += step) / 32768 % sine_table::DIVISION); } // 次のサンプルを取り出す(周波数変調付き)。 inline int sine_wave_generator::get_next(int_least32_t modulation) { uint_least32_t m = modulation * sine_table::DIVISION / 65536; uint_least32_t p = ((position += step) / 32768 + m) % sine_table::DIVISION; return sine_table.get(p); } // 対数変換テーブル。エンベロープジェネレータのディケイ以降で使う。 namespace{ #define LOG10_32767 4.5154366811416989472479934140484 #define LOGTABLE_SIZE 4096 #define LOGTABLE_FACTOR (LOGTABLE_SIZE / LOG10_32767) class log_table{ public: log_table(); uint_least16_t get(int x)const{ return data[x]; } private: uint_least16_t data[LOGTABLE_SIZE]; }log_table; log_table::log_table() { for(int i = 0; i < LOGTABLE_SIZE; ++i){ data[i] = static_cast<uint_least16_t>(std::pow(10, static_cast<double>(i) / LOGTABLE_FACTOR)); } } } // レートテーブル。AR、DR、SR、RRの計算処理の高速化。 namespace{ struct envelope_table{ envelope_table(); uint_least32_t TL[128]; uint_least32_t SL[16][128]; double AR[64][128]; double RR[64][128]; }const envelope_table; envelope_table::envelope_table() { for(int t = 0; t < 128; ++t){ double fTL = 32767 * std::pow(10, t * -0.75 / 10); TL[t] = static_cast<uint_least32_t>(fTL); if(TL[t] == 0){ TL[t] = 1; } for(int s = 0; s < 16; ++s){ double x = fTL * std::pow(10, s * -3.0 / 10); if(x <= 1){ SL[s][t] = 0; }else{ SL[s][t] = static_cast<uint_least32_t>(65536 * LOGTABLE_FACTOR * std::log10(x)); } } } for(int x = 0; x < 64; ++x){ double attack_time = 15.3262 * std::pow(10, x * -0.75 / 10); double release_time = 211.84 * std::pow(10, x * -0.75 / 10); for(int t = 0; t < 128; ++t){ AR[x][t] = TL[t] / attack_time; RR[x][t] = 65536 * LOGTABLE_FACTOR * 48.0 / 10 * TL[t] / 32767 / release_time; } } } } // エンベロープ生成器コンストラクタ。 envelope_generator::envelope_generator(int AR_, int DR_, int SR_, int RR_, int SL, int TL_): state(ATTACK), AR(AR_), DR(DR_), SR(SR_), RR(RR_), TL(TL_), current(0), rate(1), hold(0), freeze(0) { if(AR >= 63) AR = 63; if(DR >= 63) DR = 63; if(SR >= 63) SR = 63; if(RR >= 63) RR = 63; assert(AR >= 0); assert(DR >= 0); assert(SR >= 0); assert(RR >= 0); assert(SL >= 0 && SL <= 15); assert(TL >= 0 && TL <= 127); fTL = envelope_table.TL[TL]; fSS = fSL = envelope_table.SL[SL][TL]; fAR = 0; fDR = 0; fSR = 0; fRR = 0; fOR = 0; fDRR = 0; fDSS = 0; } // 再生レートを設定する。 inline void envelope_generator::set_rate(float rate) { this->rate = rate ? rate : 1; update_parameters(); } // ホールド(ダンパー&ソステヌート)を設定する。 void envelope_generator::set_hold(float hold) { if(this->hold > hold || state <= SASTAIN || current >= fSL){ this->hold = hold; update_parameters(); } } // フリーズを設定する。 void envelope_generator::set_freeze(float freeze) { if(this->freeze > freeze || state <= SASTAIN || current >= fSL){ this->freeze = freeze; update_parameters(); } } // 各パラメータの更新。 void envelope_generator::update_parameters() { double fAR = envelope_table.AR[AR][TL] / rate; double fDR = envelope_table.RR[DR][TL] / rate; double fSR = envelope_table.RR[SR][TL] / rate; double fRR = envelope_table.RR[RR][TL] / rate; if(fRR < 1){ fRR = 1; } if(hold > 0){ fRR = fSR * hold + fRR * (1 - hold); } if(freeze > 0){ fDR *= (1 - freeze); fSR *= (1 - freeze); fRR *= (1 - freeze); } if(fAR < 1){ fAR = 1; } this->fAR = static_cast<uint_least32_t>(fAR); this->fDR = static_cast<uint_least32_t>(fDR); this->fSR = static_cast<uint_least32_t>(fSR); this->fRR = static_cast<uint_least32_t>(fRR); this->fOR = static_cast<uint_least32_t>(envelope_table.RR[63][0] / rate); this->fSS = std::max(this->fDR, fSL); this->fDRR = std::max(this->fDR, this->fRR); this->fDSS = std::max(this->fDRR, this->fSS); } // キーオフ。リリースに入る。 void envelope_generator::key_off() { switch(state){ case ATTACK: state = ATTACK_RELEASE; break; case DECAY: state = DECAY_RELEASE; break; case SASTAIN: state = RELEASE; break; default: break; } } // サウンドオフ。急速消音モードに入る。 void envelope_generator::sound_off() { switch(state){ case ATTACK: case ATTACK_RELEASE: if(current){ current = static_cast<uint_least32_t>(65536 * LOGTABLE_FACTOR * std::log10(static_cast<double>(current))); } break; default: break; } state = SOUNDOFF; } // リリースからサウンドオフに移るレベル。リリースの長い音をいつまでも発音 // してるとCPUパワーの無駄なので適当なところで切るため。減衰は対数なので // 音量が真にゼロになるには無限の時間を要する。実際には整数に切り捨てて // 処理しているので1未満になったら無音になるとはいえ…。 // 不自然でない程度になるべく高い値の方がパフォーマンスが向上する。 #define SOUNDOFF_LEVEL 1024 // 次のサンプルを得る。 int envelope_generator::get_next() { uint_least32_t current = this->current; switch(state){ case ATTACK: if(current < fTL){ return this->current = current + fAR; } this->current = static_cast<uint_least32_t>(65536 * LOGTABLE_FACTOR * std::log10(static_cast<double>(fTL))); state = DECAY; return fTL; case DECAY: if(current > fSS){ this->current = current -= fDR; return log_table.get(current / 65536); } this->current = current = fSL; state = SASTAIN; return log_table.get(current / 65536); case SASTAIN: if(current > fSR){ this->current = current -= fSR; int n = log_table.get(current / 65536); if(n > 1){ return n; } } state = FINISHED; return 0; case ATTACK_RELEASE: if(current < fTL){ return this->current = current + fAR; } this->current = static_cast<uint_least32_t>(65536 * LOGTABLE_FACTOR * std::log10(static_cast<double>(fTL))); state = DECAY_RELEASE; return fTL; case DECAY_RELEASE: if(current > fDSS){ this->current = current -= fDRR; return log_table.get(current / 65536); } this->current = current = fSL; state = RELEASE; return log_table.get(current / 65536); case RELEASE: if(current > fRR){ this->current = current -= fRR; int n = log_table.get(current / 65536); if(n > SOUNDOFF_LEVEL){ return n; } state = SOUNDOFF; return n; } state = FINISHED; return 0; case SOUNDOFF: if(current > fOR){ this->current = current -= fOR; int n = log_table.get(current / 65536); if(n > 1){ return n; } } state = FINISHED; return 0; default: return 0; } } namespace{ // キースケーリングテーブル const int keyscale_table[4][128] = { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9,10,10,10,10,10,10,10,10, 10,11,11,11,12,12,12,12,12,12,12,12,12,13,13,13, 14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15, 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 5, 5, 6, 6, 7, 8, 8, 8, 8, 8, 8, 8, 9, 9,10,10,11, 12,12,12,12,12,12,12,13,13,14,14,15,16,16,16,16, 16,16,16,17,17,18,18,19,20,20,20,20,20,20,20,21, 21,22,22,23,24,24,24,24,24,24,24,25,25,26,26,27, 28,28,28,28,28,28,28,29,29,30,30,31,31,31,31,31, 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31 } }; // ディチューンテーブル const float detune_table[4][128] = { { 0 }, { 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.159, 0.159, 0.159, 0.159, 0.159, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.264, 0.264, 0.264, 0.264, 0.264, 0.264, 0.264, 0.264, 0.317, 0.317, 0.317, 0.317, 0.370, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423 }, { 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.053, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106 ,0.106, 0.159, 0.159, 0.159, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212 ,0.212, 0.212, 0.212, 0.212, 0.264, 0.264, 0.264, 0.264, 0.264, 0.264, 0.264, 0.264, 0.317, 0.317, 0.317, 0.317, 0.370, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.476, 0.476, 0.529, 0.582, 0.582, 0.582, 0.582, 0.582, 0.582 ,0.582, 0.635, 0.635, 0.688, 0.688, 0.741, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846 ,0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846 }, { 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.106, 0.159, 0.159, 0.159, 0.159, 0.159, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.212, 0.264, 0.264, 0.264, 0.264, 0.264, 0.264, 0.264, 0.264, 0.317, 0.317, 0.317, 0.317, 0.370, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.423, 0.476, 0.476, 0.529, 0.582, 0.582, 0.582, 0.582, 0.582, 0.582, 0.582, 0.635, 0.635, 0.688, 0.688, 0.741, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.846, 0.899, 0.899, 1.005, 1.005, 1.058, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164, 1.164 } }; // LFOテーブル const uint_least32_t ams_table[4] = { 0, static_cast<uint_least32_t>(128 - 128 * std::pow(10, -1.44 / 10)), static_cast<uint_least32_t>(128 - 128 * std::pow(10, -5.9 / 10)), static_cast<uint_least32_t>(128 - 128 * std::pow(10, -11.8 / 10)) }; } // FMオペレータのコンストラクタ。 fm_operator::fm_operator(int AR, int DR, int SR, int RR, int SL, int TL, int KS, int ML_, int DT_, int AMS_, int key): eg(AR * 2 + keyscale_table[KS][key], DR * 2 + keyscale_table[KS][key], SR * 2 + keyscale_table[KS][key], RR * 4 + keyscale_table[KS][key] + 2, SL, TL) { assert(AR >= 0 && AR <= 31); assert(DR >= 0 && DR <= 31); assert(SR >= 0 && SR <= 31); assert(RR >= 0 && RR <= 15); assert(SL >= 0); assert(TL >= 0); assert(KS >= 0 && KS <= 3); assert(ML_ >= 0 && ML_ <= 15); assert(DT_ >= 0 && DT_ <= 7); assert(AMS_ >= 0 && AMS_ <= 3); assert(key >= 0 && key <= 127); if(DT_ >= 4){ DT = -detune_table[DT_ - 4][key]; }else{ DT = detune_table[DT_][key]; } if(ML_ == 0){ ML = 0.5; }else{ ML = ML_; } ams_factor = ams_table[AMS_] / 2; ams_bias = 32768 - ams_factor * 256; } // 再生周波数設定。 void fm_operator::set_freq_rate(float freq, float rate) { freq += DT; freq *= ML; swg.set_cycle(rate / freq); eg.set_rate(rate); } // 次のサンプルを得る。 inline int fm_operator::get_next() { return static_cast<int_least32_t>(swg.get_next()) * eg.get_next() >> 15; } inline int fm_operator::get_next(int modulate) { return static_cast<int_least32_t>(swg.get_next(modulate)) * eg.get_next() >> 15; } inline int fm_operator::get_next(int ams, int modulate) { return (static_cast<int_least32_t>(swg.get_next(modulate)) * eg.get_next() >> 15) * (ams * ams_factor + ams_bias) >> 15; } // ビブラートテーブル。 namespace{ class vibrato_table{ public: enum{ DIVISION = 16384 }; vibrato_table(); int_least32_t get(int x)const{ return data[x + DIVISION / 2]; } private: int_least32_t data[DIVISION]; }vibrato_table; vibrato_table::vibrato_table() { for(int i = 0; i < DIVISION; ++i){ double x = (static_cast<double>(i) / DIVISION - 0.5) * 256.0 / 12.0; data[i] = static_cast<int_least32_t>((std::pow(2, x) - 1) * 65536.0); } } } // FM音源コンストラクタ。 fm_sound_generator::fm_sound_generator(const FMPARAMETER& params, int note, float frequency_multiplier): op1(params.op1.AR, params.op1.DR, params.op1.SR, params.op1.RR, params.op1.SL, params.op1.TL, params.op1.KS, params.op1.ML, params.op1.DT, params.op1.AMS, note), op2(params.op2.AR, params.op2.DR, params.op2.SR, params.op2.RR, params.op2.SL, params.op2.TL, params.op2.KS, params.op2.ML, params.op2.DT, params.op2.AMS, note), op3(params.op3.AR, params.op3.DR, params.op3.SR, params.op3.RR, params.op3.SL, params.op3.TL, params.op3.KS, params.op3.ML, params.op3.DT, params.op3.AMS, note), op4(params.op4.AR, params.op4.DR, params.op4.SR, params.op4.RR, params.op4.SL, params.op4.TL, params.op4.KS, params.op4.ML, params.op4.DT, params.op4.AMS, note), ALG(params.ALG), freq(440 * std::pow(2.0, (note - 69) / 12.0)), freq_mul(frequency_multiplier), tremolo_depth(0), tremolo_freq(1), vibrato_depth(0), vibrato_freq(1), rate(0), feedback(0), damper(0), sostenute(0) { assert(ALG >= 0 && ALG <= 7); assert(params.LFO >= 0 && params.LFO <= 7); assert(params.FB >= 0 && params.FB <= 7); static const int feedbacks[8] = { 31, 6, 5, 4, 3, 2, 1, 0 }; FB = feedbacks[params.FB]; static const float ams_table[8] = { 3.98, 5.56, 6.02, 6.37, 6.88, 9.63, 48.1, 72.2 }; ams_freq = ams_table[params.LFO]; ams_enable = (params.op1.AMS + params.op2.AMS + params.op3.AMS + params.op4.AMS != 0); } // 再生レート設定。 void fm_sound_generator::set_rate(float rate) { if(this->rate != rate){ this->rate = rate; ams_lfo.set_cycle(rate / ams_freq); vibrato_lfo.set_cycle(rate / vibrato_freq); tremolo_lfo.set_cycle(rate / tremolo_freq); float f = freq * freq_mul; op1.set_freq_rate(f, rate); op2.set_freq_rate(f, rate); op3.set_freq_rate(f, rate); op4.set_freq_rate(f, rate); } } // 周波数倍率設定。 void fm_sound_generator::set_frequency_multiplier(float value) { freq_mul = value; float f = freq * freq_mul; op1.set_freq_rate(f, rate); op2.set_freq_rate(f, rate); op3.set_freq_rate(f, rate); op4.set_freq_rate(f, rate); } // ダンパー効果設定。 void fm_sound_generator::set_damper(int damper) { this->damper = damper; float value = 1.0 - (1.0 - damper / 127.0) * (1.0 - sostenute / 127.0); op1.set_hold(value); op2.set_hold(value); op3.set_hold(value); op4.set_hold(value); } // ソステヌート効果設定。 void fm_sound_generator::set_sostenute(int sostenute) { this->sostenute = sostenute; float value = 1.0 - (1.0 - damper / 127.0) * (1.0 - sostenute / 127.0); op1.set_hold(value); op2.set_hold(value); op3.set_hold(value); op4.set_hold(value); } // フリーズ効果設定。 void fm_sound_generator::set_freeze(int freeze) { float value = freeze / 127.0; op1.set_freeze(value); op2.set_freeze(value); op3.set_freeze(value); op4.set_freeze(value); } // トレモロ効果設定。 void fm_sound_generator::set_tremolo(int depth, float frequency) { tremolo_depth = depth; tremolo_freq = frequency; tremolo_lfo.set_cycle(rate / frequency); } // ビブラート効果設定。 void fm_sound_generator::set_vibrato(float depth, float frequency) { vibrato_depth = static_cast<int>(depth * (vibrato_table::DIVISION / 256.0)); vibrato_freq = frequency; vibrato_lfo.set_cycle(rate / frequency); } // キーオフ。 void fm_sound_generator::key_off() { op1.key_off(); op2.key_off(); op3.key_off(); op4.key_off(); } // サウンドオフ。 void fm_sound_generator::sound_off() { op1.sound_off(); op2.sound_off(); op3.sound_off(); op4.sound_off(); } // 音の発生が終了したかどうかを返す。 bool fm_sound_generator::is_finished()const { switch(ALG){ case 0: case 1: case 2: case 3: return op4.is_finished(); case 4: return op2.is_finished() && op4.is_finished(); case 5: case 6: return op2.is_finished() && op3.is_finished() && op4.is_finished(); case 7: return op1.is_finished() && op2.is_finished() && op3.is_finished() && op4.is_finished(); default: assert(!"fm_sound_generator: invalid algorithm number"); return true; } } // 次のサンプルを得る。 int fm_sound_generator::get_next() { if(vibrato_depth){ int x = static_cast<int_least32_t>(vibrato_lfo.get_next()) * vibrato_depth >> 15; int_least32_t modulation = vibrato_table.get(x); op1.add_modulation(modulation); op2.add_modulation(modulation); op3.add_modulation(modulation); op4.add_modulation(modulation); } int feedback = (this->feedback << 1) >> FB; int ret; if(ams_enable){ int ams = ams_lfo.get_next() >> 7; switch(ALG){ case 0: ret = op4(ams, op3(ams, op2(ams, this->feedback = op1(ams, feedback)))); break; case 1: ret = op4(ams, op3(ams, op2(ams, 0) + (this->feedback = op1(ams, feedback)))); break; case 2: ret = op4(ams, op3(ams, op2(ams, 0)) + (this->feedback = op1(ams, feedback))); break; case 3: ret = op4(ams, op3(ams, 0) + op2(ams, this->feedback = op1(ams, feedback))); break; case 4: ret = op4(ams, op3(ams, 0)) + op2(ams, this->feedback = op1(ams, feedback)); break; case 5: this->feedback = feedback = op1(ams, feedback); ret = op4(ams, feedback) + op3(ams, feedback) + op2(ams, feedback); break; case 6: ret = op4(ams, 0) + op3(ams, 0) + op2(ams, this->feedback = op1(ams, feedback)); break; case 7: ret = op4(ams, 0) + op3(ams, 0) + op2(ams, 0) + (this->feedback = op1(ams, feedback)); break; default: assert(!"fm_sound_generator: invalid algorithm number"); return 0; } }else{ switch(ALG){ case 0: ret = op4(op3(op2(this->feedback = op1(feedback)))); break; case 1: ret = op4(op3(op2() + (this->feedback = op1(feedback)))); break; case 2: ret = op4(op3(op2()) + (this->feedback = op1(feedback))); break; case 3: ret = op4(op3() + op2(this->feedback = op1(feedback))); break; case 4: ret = op4(op3()) + op2(this->feedback = op1(feedback)); break; case 5: this->feedback = feedback = op1(feedback); ret = op4(feedback) + op3(feedback) + op2(feedback); break; case 6: ret = op4() + op3() + op2(this->feedback = op1(feedback)); break; case 7: ret = op4() + op3() + op2() + (this->feedback = op1(feedback)); break; default: assert(!"fm_sound_generator: invalid algorithm number"); return 0; } } if(tremolo_depth){ int_least32_t x = 4096 - (((static_cast<int_least32_t>(tremolo_lfo.get_next()) + 32768) * tremolo_depth) >> 11); ret = ret * x >> 12; } return ret; } // FMノートのコンストラクタ。 fm_note::fm_note(const FMPARAMETER& params, int note, int velocity_, int panpot, int assign, float frequency_multiplier): midisynth::note(assign, panpot), fm(params, note, frequency_multiplier), velocity(velocity_) { assert(velocity >= 1 && velocity <= 127); ++velocity; } // 波形出力。 bool fm_note::synthesize(int_least32_t* buf, std::size_t samples, float rate, int_least32_t left, int_least32_t right) { left = (left * velocity) >> 7; right = (right * velocity) >> 7; fm.set_rate(rate); for(std::size_t i = 0; i < samples; ++i){ int_least32_t sample = fm.get_next(); buf[i * 2 + 0] += (sample * left) >> 14; buf[i * 2 + 1] += (sample * right) >> 14; } return !fm.is_finished(); } // ノートオフ。 void fm_note::note_off(int) { fm.key_off(); } // サウンドオフ。 void fm_note::sound_off() { fm.sound_off(); } // 周波数倍率設定。 void fm_note::set_frequency_multiplier(float value) { fm.set_frequency_multiplier(value); } // トレモロ効果設定。 void fm_note::set_tremolo(int depth, float freq) { fm.set_tremolo(depth, freq); } // ビブラート効果設定。 void fm_note::set_vibrato(float depth, float freq) { fm.set_vibrato(depth, freq); } // ダンパー効果設定。 void fm_note::set_damper(int value) { fm.set_damper(value); } // ソステヌート効果設定。 void fm_note::set_sostenute(int value) { fm.set_sostenute(value); } // フリーズ効果設定。 void fm_note::set_freeze(int value) { fm.set_freeze(value); } // FMノートファクトリ初期化。 fm_note_factory::fm_note_factory() { clear(); } // クリア。 void fm_note_factory::clear() { // デフォルトの音色(sin波) static const struct FMPARAMETER param = { 7, 0, 0, // ALG FB LFO //AR DR SR RR SL TL KS ML DT AMS { 31, 0, 0,15, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0,15, 0,127, 0, 0, 0, 0 }, { 0, 0, 0,15, 0,127, 0, 0, 0, 0 }, { 0, 0, 0,15, 0,127, 0, 0, 0, 0 } }; drums.clear(); programs.clear(); programs[-1] = param; } // 音色パラメータの正当性検査 namespace{ bool is_valid_fmparameter(const FMPARAMETER& p) { return p.ALG >= 0 && p.ALG <= 7 && p.FB >= 0 && p.FB <= 7 && p.LFO >= 0 && p.LFO <= 7 && p.op1.AR >= 0 && p.op1.AR <= 31 && p.op1.DR >= 0 && p.op1.DR <= 31 && p.op1.SR >= 0 && p.op1.SR <= 31 && p.op1.RR >= 0 && p.op1.RR <= 15 && p.op1.SL >= 0 && p.op1.SL <= 15 && p.op1.TL >= 0 && p.op1.TL <= 127 && p.op1.KS >= 0 && p.op1.KS <= 3 && p.op1.ML >= 0 && p.op1.ML <= 15 && p.op1.DT >= 0 && p.op1.DT <= 7 && p.op1.AMS >= 0 && p.op1.AMS <= 3 && p.op2.AR >= 0 && p.op2.AR <= 31 && p.op2.DR >= 0 && p.op2.DR <= 31 && p.op2.SR >= 0 && p.op2.SR <= 31 && p.op2.RR >= 0 && p.op2.RR <= 15 && p.op2.SL >= 0 && p.op2.SL <= 15 && p.op2.TL >= 0 && p.op2.TL <= 127 && p.op2.KS >= 0 && p.op2.KS <= 3 && p.op2.ML >= 0 && p.op2.ML <= 15 && p.op2.DT >= 0 && p.op2.DT <= 7 && p.op2.AMS >= 0 && p.op2.AMS <= 3 && p.op3.AR >= 0 && p.op3.AR <= 31 && p.op3.DR >= 0 && p.op3.DR <= 31 && p.op3.SR >= 0 && p.op3.SR <= 31 && p.op3.RR >= 0 && p.op3.RR <= 15 && p.op3.SL >= 0 && p.op3.SL <= 15 && p.op3.TL >= 0 && p.op3.TL <= 127 && p.op3.KS >= 0 && p.op3.KS <= 3 && p.op3.ML >= 0 && p.op3.ML <= 15 && p.op3.DT >= 0 && p.op3.DT <= 7 && p.op3.AMS >= 0 && p.op3.AMS <= 3 && p.op4.AR >= 0 && p.op4.AR <= 31 && p.op4.DR >= 0 && p.op4.DR <= 31 && p.op4.SR >= 0 && p.op4.SR <= 31 && p.op4.RR >= 0 && p.op4.RR <= 15 && p.op4.SL >= 0 && p.op4.SL <= 15 && p.op4.TL >= 0 && p.op4.TL <= 127 && p.op4.KS >= 0 && p.op4.KS <= 3 && p.op4.ML >= 0 && p.op4.ML <= 15 && p.op4.DT >= 0 && p.op4.DT <= 7 && p.op4.AMS >= 0 && p.op4.AMS <= 3; } bool is_valid_drumparameter(const DRUMPARAMETER& p) { return is_valid_fmparameter(p) && p.key >= 0 && p.key <= 127 && p.panpot >= 0 && p.panpot <= 16383; } } // 音色パラメータ取得。 void fm_note_factory::get_program(int program, FMPARAMETER& p) { if(programs.find(program) != programs.end()){ p = programs[program]; }else if(programs.find(program & 0x3FFF) != programs.end()){ p = programs[program & 0x3FFF]; }else if(programs.find(program & 0x7F) != programs.end()){ p = programs[program & 0x7F]; }else{ p = programs[-1]; } } // 音色パラメータをセット。 bool fm_note_factory::set_program(int number, const FMPARAMETER& p) { if(is_valid_fmparameter(p)){ programs[number] = p; return true; }else{ return false; } } // ドラム音色パラメータをセット。 bool fm_note_factory::set_drum_program(int number, const DRUMPARAMETER& p) { if(is_valid_drumparameter(p)){ drums[number] = p; return true; }else{ return false; } } // ノートオン。 note* fm_note_factory::note_on(int_least32_t program, int note, int velocity, float frequency_multiplier) { bool drum = (program >> 14) == 120; if(drum){ int n = (program & 0x3FFF) * 128 + note; struct DRUMPARAMETER* p; if(drums.find(n) != drums.end()){ p = &drums[n]; }else if(drums.find(n & 0x3FFF) != drums.end()){ p = &drums[n & 0x3FFF]; }else if(drums.find(note) != drums.end()){ p = &drums[note]; }else if(drums.find(-1) != drums.end()){ p = &drums[-1]; }else{ return NULL; } return new fm_note(*p, p->key, velocity, p->panpot, p->assign, 1); }else{ struct FMPARAMETER* p; if(programs.find(program) != programs.end()){ p = &programs[program]; }else if(programs.find(program & 0x7F) != programs.end()){ p = &programs[program & 0x7F]; }else{ p = &programs[-1]; } return new fm_note(*p, note, velocity, 8192, 0, frequency_multiplier); } } }
[ "supercatexpert@gmail.com" ]
supercatexpert@gmail.com
64daee8dfb154c4e130d817f50dbebcb886c2c49
a1a8b69b2a24fd86e4d260c8c5d4a039b7c06286
/build/iOS/Debug/include/Fuse.Resources.SystemFileSource.h
530371cb3a5c8a19f6b5520564ac362f430d5df0
[]
no_license
epireve/hikr-tute
df0af11d1cfbdf6e874372b019d30ab0541c09b7
545501fba7044b4cc927baea2edec0674769e22c
refs/heads/master
2021-09-02T13:54:05.359975
2018-01-03T01:21:31
2018-01-03T01:21:31
115,536,756
0
0
null
null
null
null
UTF-8
C++
false
false
938
h
// This file was generated based on /usr/local/share/uno/Packages/Fuse.Common/1.4.2/Resources/SystemFileSource.uno. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.UX.FileSource.h namespace g{namespace Fuse{namespace Resources{struct SystemFileSource;}}} namespace g{namespace Uno{namespace IO{struct Stream;}}} namespace g{ namespace Fuse{ namespace Resources{ // internal sealed class SystemFileSource :6 // { ::g::Uno::UX::FileSource_type* SystemFileSource_typeof(); void SystemFileSource__ctor_1_fn(SystemFileSource* __this, uString* file); void SystemFileSource__New1_fn(uString* file, SystemFileSource** __retval); void SystemFileSource__OpenRead_fn(SystemFileSource* __this, ::g::Uno::IO::Stream** __retval); struct SystemFileSource : ::g::Uno::UX::FileSource { void ctor_1(uString* file); static SystemFileSource* New1(uString* file); }; // } }}} // ::g::Fuse::Resources
[ "i@firdaus.my" ]
i@firdaus.my
5fbd7cb72d07ce71f111a91f06b8c42901c5a75f
d41a12992bbdd7b2b9626bf1bb1466b4b793840e
/gdal/09_registration/exception/MatricesException.h
2b7cd4b999e9635460678b538638b99f1d251f83
[]
no_license
FrankBlues/c-cpp-study
e81975f97a0b0bcdcaff68b9a108241732340b76
a49971365a506e06405a7fc51494cbe6ea282eed
refs/heads/master
2023-01-23T10:53:26.420934
2023-01-19T03:10:14
2023-01-19T03:10:14
179,606,300
0
0
null
null
null
null
UTF-8
C++
false
false
1,377
h
/* * MatricesException.h * _LIB * * Created by Pete Bunting on 02/06/2008. * Copyright 2008 Lib. * * Lib 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 of the License, or * (at your option) any later version. * * Lib 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 Lib. If not, see <http://www.gnu.org/licenses/>. * */ #ifndef MatricesException_H #define MatricesException_H #include "MathException.h" // mark all exported classes/functions with DllExport to have // them exported by Visual Studio #undef DllExport #ifdef _MSC_VER #ifdef rsgis_maths_EXPORTS #define DllExport __declspec( dllexport ) #else #define DllExport __declspec( dllimport ) #endif #else #define DllExport #endif class DllExport MatricesException : public MathException { public: MatricesException(); MatricesException(const char* message); MatricesException(std::string message); }; #endif
[ "dream_15320@163.com" ]
dream_15320@163.com
e935461e93c5d182a0b2ae9db1c69376346f9c1f
ad80f95d33a95f1ed040ef3568189141db24575b
/tools/print_lambda.cpp
f7e10673b5fbb58f3f3d7f36e8d13a5c1be18c72
[]
no_license
amirych/rt
53b03fed9f457d80fcf5f757275d46194d19364d
28039b9c42de18538ea15d6ff88424c6d62b0bfe
refs/heads/master
2021-01-17T16:13:32.820462
2015-11-24T18:50:13
2015-11-24T18:50:13
22,729,570
0
0
null
null
null
null
UTF-8
C++
false
false
2,116
cpp
#include<iostream> #include<fstream> #include<iomanip> #include<cstdlib> #include "../common-lib/num_defs.h" #include "../common-lib/beam.h" #define STR_MAXLEN 1024 using namespace std; int main(int argc, char* argv[]) { ifstream rt_files; size_t Nrays, N_good, N_lambda, N_uniq, j; char rt_filename[STR_MAXLEN+1]; int status, flag; real_t *lambda,*uniq; if ( argc < 2 ) { cerr << "Usage: print_lambda rt_list_filename\n"; return 1; } cout << std::fixed; cout << std::setprecision(9); flag = 0; rt_files.open(argv[1]); while ( !rt_files.eof() ) { rt_files.getline(rt_filename,STR_MAXLEN); if ( rt_files.eof() ) break; if ( rt_files.fail() || rt_files.bad() ) { // thomething is wrong! cerr << "\nAn error occured while read the RT-list file!!!\n"; flag = 1; break; } try { status = load_beam_data(rt_filename,&Nrays,&N_good,&N_lambda,NULL,NULL,NULL,NULL,NULL,NULL,&lambda); if ( status ) throw 10; uniq = (real_t*) calloc(N_lambda,sizeof(real_t)); uniq[0] = lambda[0]; N_uniq = 1; cout << "# " << rt_filename << endl; cout << lambda[0] << endl; for ( size_t i = 1; i < N_good; ++i ) { for ( j = 0; j < N_uniq; ++j ) { if ( lambda[i] == uniq[j] ) { break; } } if ( j == N_uniq ) { cout << lambda[i] << endl; uniq[N_uniq] = lambda[i]; ++N_uniq; } if ( N_uniq == N_lambda ) break; } cout << "\n"; free(uniq); free(lambda); } catch (int err) { flag = err; switch ( err ) { case 1: { cerr << "An error occured while reading RT-file!\n"; } } break; } } rt_files.close(); return flag; }
[ "amirych@gmail.com" ]
amirych@gmail.com
9e12b114ddf4ff44c5469054820d593d38c623b3
992dc008c45c2a7c9181564fce5e0fb9b096786c
/instructions/BranchInstruction.cpp
f50fd457b2e9495421904eb85a9d5993a19f168e
[]
no_license
dusek/army
31136e3264d3745a72eeefc4119581f96ff9ffe7
d1d09ba6c52732395273a5fcb9b9b6d028f35dcf
refs/heads/master
2016-09-09T21:28:57.016834
2014-10-04T17:23:39
2014-10-04T18:27:49
5,245,156
7
3
null
null
null
null
UTF-8
C++
false
false
1,822
cpp
#include <bitset> #include <memory> #include "instructions/BranchInstruction.h" #include "instructions/ImmedArg.h" #include "instructions/RegArg.h" namespace arm { BranchInstruction::BranchInstruction(Arg *target, bool link, bool exchange, Cond cond) : CondInstruction(cond), tgt_(target), link_(link), exchange_(exchange) { } BranchInstruction::~BranchInstruction() { delete tgt_; } class OffsetAddrArg : public Arg { public: OffsetAddrArg(ARM_Word offset): offset_(offset) {}; ARM_Word load(CPURegisters& regs, bool) const { ARM_Word pc = regs.get_reg(CPURegisters::PC) + 8; return pc + offset_; } void fmt(std::ostream& o) const { o << '#' << std::dec << (int)offset_; } private: ARM_Word offset_; }; void BranchInstruction::do_execute(CPURegisters& regs, EndianMemory&) const { ARM_Word tgt_addr = tgt_->load(regs, false); if (link_) { ARM_Word ret_addr = regs.get_reg(CPURegisters::PC) + 4; regs.set_reg(CPURegisters::LR, ret_addr); } regs.set_reg(CPURegisters::PC, tgt_addr); } void BranchInstruction::fmt(std::ostream& o) const { o << "B"; if (exchange_) o << "X"; if (link_) o << "L"; if (cond_ != AL && cond_ != NV) o << cond_; o << " "; tgt_->fmt(o); } namespace is { Instruction *B(ARM_Word offset, bool link, Cond cond) { // sign-extend if needed if (std::bitset<32>(offset).test(23)) offset |= 0xff000000; offset <<= 2; return new BranchInstruction(new OffsetAddrArg(offset), link, false, cond); } Instruction *BX(CPURegisters::Register target_reg, Cond cond) { return new BranchInstruction(new RegArg(target_reg), false, true, cond); } } }
[ "boris.dusek@gmail.com" ]
boris.dusek@gmail.com
16af4124e02973619b32796613c04966b2ea0f7b
806664e3132d5dac5e2e2bd3c43c1aa666c3b629
/Interface/Application/SplashScreen.h
69f27d010332371ab551b62c749a572ffc700ae4
[]
no_license
huangmxsysu/seg3d2
723099a1aa3ee8c741d0c2ff7d710482e516bdcd
1e18c46847e0391d177290d41fa2c031cc007cdf
refs/heads/master
2020-04-27T06:17:54.290762
2013-05-06T11:52:09
2013-05-06T11:52:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,296
h
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2009 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #ifndef INTERFACE_APPLICATION_SPLASHSCREEN_H #define INTERFACE_APPLICATION_SPLASHSCREEN_H // QT includes #include <QtCore/QPointer> #include <QtGui/QListWidgetItem> // Boost includes #include <boost/shared_ptr.hpp> // QtUtils includes #include <QtUtils/Widgets/QtCustomDialog.h> // Interface includes #include <Interface/Application/ProjectWizard.h> namespace Seg3D { class SplashScreenPrivate; class SplashScreen : public QtUtils::QtCustomDialog { Q_OBJECT Q_SIGNALS: void dialog_closed(); public: SplashScreen( QWidget* parent = 0 ); virtual ~SplashScreen(); // GET_USER_INTERACTED: // this function returns whether or not the user has interacted with the splash screen bool get_user_interacted(); private: // POPULATE_RECENT_PROJECTS: // this function is called in the constructor to populate the list of recent projects from the // project manager void populate_recent_projects(); private Q_SLOTS: // NEW_PROJECT: // this function is called when a user clicks the button to create a new project. It starts the // new project wizard and closes the splash screen void new_project(); // OPEN_EXISTING: // this function is called when a user clicks the button to open an existing project. It starts // a file browse dialog. void open_existing(); // OPEN_RECENT: // this function is called when a user double-clicks on an item in the list. void open_recent(); // quit: // this function close the application void quit(); // QUICK_OPEN_FILE: // this function is called when someone clicks the quick open file button void quick_open_file(); // ENABLE_LOAD_RECENT_BUTTON: // this function enables the load recent button if you select a recent project from the list void enable_load_recent_button( QListWidgetItem* item ); void unhide(); private: // Internals of the splash screen boost::shared_ptr< SplashScreenPrivate > private_; // TODO: need to move this into the private class std::vector< std::string > recent_project_list_; QPointer< ProjectWizard > new_project_wizard_; }; } // end namespace #endif
[ "mario.ceresa@alma3d.com" ]
mario.ceresa@alma3d.com
87e43124e2b3ea4ebc411891fdc33f4d344c3309
36f26e40b665fd513321ba7783f0ef305ba28f36
/expression/expression.cpp
fe4a6f82adc619353960ca285d0c1a06e8222f7c
[]
no_license
wy91092/code
7473a2550e6cfbcf2d7178011b59a7df907bb7ef
d4fa976f9dc6002b701062e15f8bf0e31c978e2e
refs/heads/master
2016-09-06T16:24:45.617735
2014-05-16T11:33:28
2014-05-16T11:33:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,298
cpp
/************************************************************************* > File Name: expression.cpp > Author: crooked > Mail:812665244@qq.com > Created Time: Thu 24 Apr 2014 08:37:31 PM CST ************************************************************************/ #include"expression.h" using namespace std; string getPostfixExp(string &infix) //获取后缀表达式 {/* 转换原则: 1.当读到一个操作数时,立即将它放到输出中。操作符则不立即输出,放入栈中,遇到左圆括号也推入栈中。 2.如果遇到一个右括号,那么就将栈顶元素弹出,将符号写出直到遇到一个对应的左括号,但是这个左括号只被弹出,并不输出。 3.在读到操作符时,如果此时栈顶操作符优先级大于或等于此操作符,弹出栈顶操作符直到发现优先级更低的元素位置,除了处理“)”的时候,否则绝不从栈中移走“(”。操作符中,+-优先级最低,()优先级最高。 4.如果读到输入的末尾,将栈元素弹出直到该栈变成空栈,将符号写到输出中。 */ stack<char> operator_stack; string postfix; for(int i=0;i<infix.size();i++) { char p=infix[i]; if(isOperator(p)) { while(!operator_stack.empty()&&isOperator(operator_stack.top())&&priority(operator_stack.top())>=priority(p)) { postfix.push_back(operator_stack.top()); postfix.push_back(' '); operator_stack.pop(); } operator_stack.push(p); } else if(p=='(') { operator_stack.push(p); } else if(p==')') { while(operator_stack.top()!='(') { postfix.push_back(operator_stack.top()); postfix.push_back(' '); operator_stack.pop(); } } else { postfix.push_back(p); postfix.push_back(' '); } } while(!operator_stack.empty()) { postfix.push_back(operator_stack.top()); postfix.push_back(' '); operator_stack.pop(); } postfix[postfix.size()-1]=' '; //将最后一位置为空格 return postfix; } bool isOperator(char ch) { switch(ch) { case '+': case '-': case '*': case '/': return true; default: return false; } } int priority(char a) //运算符优先级 { int temp; if(a=='*'||a=='/') temp=2; else if(a=='+'||a=='-') temp=1; return temp; } int postfixCalculate(string &postfix) //后缀表达所求值 { int first, second; stack<int> num_stack; for(int i=0;i<postfix.size();i++) { switch(postfix[i]) { case '*': getTwoNums(num_stack,first,second); num_stack.push(first*second); break; case '/': getTwoNums(num_stack,first,second); num_stack.push(first/second); break; case '+': getTwoNums(num_stack,first,second); num_stack.push(first+second); break; case '-': getTwoNums(num_stack,first,second); num_stack.push(first-second); break; case ' ': break; default: num_stack.push(postfix[i]-'0'); //读入操作数 break; } } int result=num_stack.top(); num_stack.pop(); return result; } void getTwoNums(stack<int> &num_stack, int &first, int &second) //获取需要计算的2个数 { second=num_stack.top(); num_stack.pop(); first=num_stack.top(); num_stack.pop(); }
[ "crooked@localhost.localdomain" ]
crooked@localhost.localdomain
7e7764b86e14186dfc480456de4ac86263dfbd93
60712a0c58becf528e4a8790810bb5c8adc48183
/src/lobject.cpp
a8e665f60dc9b2a29d976862841eb18951aef3e9
[]
no_license
wuwx/lua_arduino
d112115e07275159b9704a08badcfde0b3346292
6e647b173b5069748d26a470c8806ffa95b9337e
refs/heads/master
2021-01-19T06:20:31.583687
2016-12-05T01:25:34
2016-12-05T01:25:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,175
cpp
/* ** $Id: lobject.c,v 2.22.1.1 2007/12/27 13:02:25 roberto Exp $ ** Some generic functions over Lua objects ** See Copyright Notice in lua.h */ #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define lobject_c #define LUA_CORE #define LUAC_CROSS_FILE #include "lua.h" #include "ldo.h" #include "lmem.h" #include "lobject.h" #include "lstate.h" #include "lstring.h" #include "lvm.h" #ifndef LUA_CROSS_COMPILER #include "platform/flash_api.h" #else #include <limits.h> #endif const TValue luaO_nilobject_ = {LUA_TVALUE_NIL}; /* ** converts an integer to a "floating point byte", represented as ** (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if ** eeeee != 0 and (xxx) otherwise. */ int luaO_int2fb (unsigned int x) { int e = 0; /* expoent */ while (x >= 16) { x = (x+1) >> 1; e++; } if (x < 8) return x; else return ((e+1) << 3) | (cast_int(x) - 8); } /* converts back */ int luaO_fb2int (int x) { int e = (x >> 3) & 31; if (e == 0) return x; else return ((x & 7)+8) << (e - 1); } int luaO_log2 (unsigned int x) { static const lu_byte log_2[256] ICACHE_STORE_ATTR ICACHE_RODATA_ATTR = { 0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5, 6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6, 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8 }; int l = -1; while (x >= 256) { l += 8; x >>= 8; } #ifdef LUA_CROSS_COMPILER return l + log_2[x]; #else return l + byte_of_aligned_array(log_2,x); #endif } int luaO_rawequalObj (const TValue *t1, const TValue *t2) { if (ttype(t1) != ttype(t2)) return 0; else switch (ttype(t1)) { case LUA_TNIL: return 1; case LUA_TNUMBER: return luai_numeq(nvalue(t1), nvalue(t2)); case LUA_TBOOLEAN: return bvalue(t1) == bvalue(t2); /* boolean true must be 1 !! */ case LUA_TLIGHTUSERDATA: return pvalue(t1) == pvalue(t2); case LUA_TROTABLE: return rvalue(t1) == rvalue(t2); case LUA_TLIGHTFUNCTION: return fvalue(t1) == fvalue(t2); default: lua_assert(iscollectable(t1)); return gcvalue(t1) == gcvalue(t2); } } int luaO_str2d (const char *s, lua_Number *result) { char *endptr; *result = lua_str2number(s, &endptr); if (endptr == s) return 0; /* conversion failed */ if (*endptr == 'x' || *endptr == 'X') /* maybe an hexadecimal constant? */ #if defined(LUA_CROSS_COMPILER) { long lres = strtoul(s, &endptr, 16); #if LONG_MAX != 2147483647L if (lres & ~0xffffffffL) *result = cast_num(-1); else if (lres & 0x80000000L) *result = cast_num(lres | ~0x7fffffffL); else #endif *result = cast_num(lres); } #else *result = cast_num(strtoul(s, &endptr, 16)); #endif if (*endptr == '\0') return 1; /* most common case */ while (isspace(cast(unsigned char, *endptr))) endptr++; if (*endptr != '\0') return 0; /* invalid trailing characters? */ return 1; } static void pushstr (lua_State *L, const char *str) { setsvalue2s(L, L->top, luaS_new(L, str)); incr_top(L); } /* this function handles only `%d', `%c', %f, %p, and `%s' formats */ const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) { int n = 1; pushstr(L, ""); for (;;) { const char *e = strchr(fmt, '%'); if (e == NULL) break; setsvalue2s(L, L->top, luaS_newlstr(L, fmt, e-fmt)); incr_top(L); switch (*(e+1)) { case 's': { const char *s = va_arg(argp, char *); if (s == NULL) s = "(null)"; pushstr(L, s); break; } case 'c': { char buff[2]; buff[0] = cast(char, va_arg(argp, int)); buff[1] = '\0'; pushstr(L, buff); break; } case 'd': { setnvalue(L->top, cast_num(va_arg(argp, int))); incr_top(L); break; } case 'f': { setnvalue(L->top, cast_num(va_arg(argp, l_uacNumber))); incr_top(L); break; } case 'p': { char buff[4*sizeof(void *) + 8]; /* should be enough space for a `%p' */ sprintf(buff, "%p", va_arg(argp, void *)); pushstr(L, buff); break; } case '%': { pushstr(L, "%"); break; } default: { char buff[3]; buff[0] = '%'; buff[1] = *(e+1); buff[2] = '\0'; pushstr(L, buff); break; } } n += 2; fmt = e+2; } pushstr(L, fmt); luaV_concat(L, n+1, cast_int(L->top - L->base) - 1); L->top -= n; return svalue(L->top - 1); } const char *luaO_pushfstring (lua_State *L, const char *fmt, ...) { const char *msg; va_list argp; va_start(argp, fmt); msg = luaO_pushvfstring(L, fmt, argp); va_end(argp); return msg; } void luaO_chunkid (char *out, const char *source, size_t bufflen) { if (*source == '=') { strncpy(out, source+1, bufflen); /* remove first char */ out[bufflen-1] = '\0'; /* ensures null termination */ } else { /* out = "source", or "...source" */ if (*source == '@') { size_t l; source++; /* skip the `@' */ bufflen -= sizeof(" '...' "); l = strlen(source); strcpy(out, ""); if (l > bufflen) { source += (l-bufflen); /* get last part of file name */ strcat(out, "..."); } strcat(out, source); } else { /* out = [string "string"] */ size_t len = strcspn(source, "\n\r"); /* stop at first newline */ bufflen -= sizeof(" [string \"...\"] "); if (len > bufflen) len = bufflen; strcpy(out, "[string \""); if (source[len] != '\0') { /* must truncate? */ strncat(out, source, len); strcat(out, "..."); } else strcat(out, source); strcat(out, "\"]"); } } }
[ "iboris@free.fr" ]
iboris@free.fr
8a1c5a11e5b65ab9490d84bb2407a69125eac89a
573b7f2b79b6fb8b21b40985f7639bc003b60f7e
/SDK/BP_murder_sandbag_classes.h
93e0fcbc8e41933f66a076395b7457e1a69e6972
[]
no_license
AlexzDK/SquadSDK2021
8d4c29486922fed3ba8451680d823a04a7b7fc44
cdce732ad4713b6d7f668f8b9c39e160035efb34
refs/heads/main
2023-02-21T02:52:15.634663
2021-01-23T23:28:57
2021-01-23T23:28:57
332,328,796
4
0
null
null
null
null
UTF-8
C++
false
false
719
h
#pragma once // Name: Squad, Version: 13-01-2021 #ifdef _MSC_VER #pragma pack(push, 0x01) #endif /*!!HELPER_DEF!!*/ /*!!DEFINE!!*/ namespace UFT { //--------------------------------------------------------------------------- // Classes //--------------------------------------------------------------------------- // BlueprintGeneratedClass BP_murder_sandbag.BP_murder_sandbag_C // 0x0000 (FullSize[0x00B0] - InheritedSize[0x00B0]) class UBP_murder_sandbag_C : public UBP_DeployActionModel_C { public: static UClass* StaticClass() { static auto ptr = UObject::FindClass("BlueprintGeneratedClass BP_murder_sandbag.BP_murder_sandbag_C"); return ptr; } }; } #ifdef _MSC_VER #pragma pack(pop) #endif
[ "39485681+AlexzDK@users.noreply.github.com" ]
39485681+AlexzDK@users.noreply.github.com
9aadc248419a06804021e68534b6a501742ca80b
ffe0ef08a8d3271ef6dde9d19d3f45fc895c78c8
/hardware/rockchip/camera/CameraHal/CameraHal_Module.cpp
2c5553d9b1801a5c31f9f0ffddf4947fd828bd0d
[]
no_license
isliulin/rp3288-21-5inch
8403ec36ccfd6bc322b6e08329ca5943560ee21d
bccb0026f79f4034a3f74e8b299fb72caf9173c9
refs/heads/main
2023-05-25T19:35:48.290730
2021-01-06T02:11:05
2021-01-06T02:11:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
54,579
cpp
/* * Copyright (C) Texas Instruments - http://www.ti.com/ * * 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 CameraHal.cpp * * This file maps the Camera Hardware Interface to V4L2. * */ #include <utils/threads.h> #include <binder/IPCThreadState.h> #include "CameraHal.h" #include "CameraHal_Module.h" #include "CameraHal_MediaProfile.cpp" #include <time.h> #include "vpu.h" #include "cam_api/cam_engine_interface.h" rk_cam_info_t gCamInfos[CAMERAS_SUPPORT_MAX]; static android::CameraHal* gCameraHals[CAMERAS_SUPPORT_MAX]; #if CONFIG_AUTO_DETECT_FRAMERATE static sp<CameraFpsDetectThread> gCameraFpsDetectThread; #endif static unsigned int gCamerasOpen = 0; static signed int gCamerasNumber = -1; #ifdef LAPTOP static signed int gCamerasUnavailabled = 0; static String8 gUsbCameraNames[CAMERAS_SUPPORT_MAX]; #endif static android::Mutex gCameraHalDeviceLock; static int camera_device_open(const hw_module_t* module, const char* name, hw_device_t** device); static int camera_device_close(hw_device_t* device); static int camera_get_number_of_cameras(void); static int camera_get_camera_info(int camera_id, struct camera_info *info); static struct hw_module_methods_t camera_module_methods = { open: camera_device_open }; camera_module_t HAL_MODULE_INFO_SYM = { common: { tag: HARDWARE_MODULE_TAG, version_major: ((CONFIG_CAMERAHAL_VERSION&0xffff00)>>16), version_minor: CONFIG_CAMERAHAL_VERSION&0xff, id: CAMERA_HARDWARE_MODULE_ID, name: CAMERA_MODULE_NAME, author: "RockChip", methods: &camera_module_methods, dso: NULL, /* remove compilation warnings */ reserved: {0}, /* remove compilation warnings */ }, get_number_of_cameras: camera_get_number_of_cameras, get_camera_info: camera_get_camera_info, set_callbacks:NULL, get_vendor_tag_ops:NULL, #if defined(ANDROID_5_X) open_legacy:NULL, #endif #if defined(ANDROID_6_X) || defined(ANDROID_7_X) || defined(ANDROID_8_X) set_torch_mode:NULL, init:NULL, #endif reserved: {0} }; /******************************************************************* * implementation of camera_device_ops functions *******************************************************************/ int camera_set_preview_window(struct camera_device * device, struct preview_stream_ops *window) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return rv; rk_dev = (rk_camera_device_t*) device; rv = gCameraHals[rk_dev->cameraid]->setPreviewWindow(window); return rv; } void camera_set_callbacks(struct camera_device * device, camera_notify_callback notify_cb, camera_data_callback data_cb, camera_data_timestamp_callback data_cb_timestamp, camera_request_memory get_memory, void *user) { rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return; rk_dev = (rk_camera_device_t*) device; gCameraHals[rk_dev->cameraid]->setCallbacks(notify_cb, data_cb, data_cb_timestamp, get_memory, user); } void camera_enable_msg_type(struct camera_device * device, int32_t msg_type) { rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return; rk_dev = (rk_camera_device_t*) device; gCameraHals[rk_dev->cameraid]->enableMsgType(msg_type); } void camera_disable_msg_type(struct camera_device * device, int32_t msg_type) { rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return; rk_dev = (rk_camera_device_t*) device; gCameraHals[rk_dev->cameraid]->disableMsgType(msg_type); } int camera_msg_type_enabled(struct camera_device * device, int32_t msg_type) { rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return 0; rk_dev = (rk_camera_device_t*) device; return gCameraHals[rk_dev->cameraid]->msgTypeEnabled(msg_type); } int camera_start_preview(struct camera_device * device) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return rv; rk_dev = (rk_camera_device_t*) device; rv = gCameraHals[rk_dev->cameraid]->startPreview(); return rv; } void camera_stop_preview(struct camera_device * device) { rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return; rk_dev = (rk_camera_device_t*) device; gCameraHals[rk_dev->cameraid]->stopPreview(); } int camera_preview_enabled(struct camera_device * device) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return rv; rk_dev = (rk_camera_device_t*) device; rv = gCameraHals[rk_dev->cameraid]->previewEnabled(); return rv; } int camera_store_meta_data_in_buffers(struct camera_device * device, int enable) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return rv; rk_dev = (rk_camera_device_t*) device; // TODO: meta data buffer not current supported rv = gCameraHals[rk_dev->cameraid]->storeMetaDataInBuffers(enable); return rv; //return enable ? android::INVALID_OPERATION: android::OK; } int camera_start_recording(struct camera_device * device) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return rv; rk_dev = (rk_camera_device_t*) device; rv = gCameraHals[rk_dev->cameraid]->startRecording(); return rv; } void camera_stop_recording(struct camera_device * device) { rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return; rk_dev = (rk_camera_device_t*) device; gCameraHals[rk_dev->cameraid]->stopRecording(); } int camera_recording_enabled(struct camera_device * device) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return rv; rk_dev = (rk_camera_device_t*) device; rv = gCameraHals[rk_dev->cameraid]->recordingEnabled(); return rv; } void camera_release_recording_frame(struct camera_device * device, const void *opaque) { rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return; rk_dev = (rk_camera_device_t*) device; gCameraHals[rk_dev->cameraid]->releaseRecordingFrame(opaque); } int camera_auto_focus(struct camera_device * device) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return rv; rk_dev = (rk_camera_device_t*) device; rv = gCameraHals[rk_dev->cameraid]->autoFocus(); return rv; } int camera_cancel_auto_focus(struct camera_device * device) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return rv; rk_dev = (rk_camera_device_t*) device; rv = gCameraHals[rk_dev->cameraid]->cancelAutoFocus(); return rv; } int camera_take_picture(struct camera_device * device) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return rv; rk_dev = (rk_camera_device_t*) device; rv = gCameraHals[rk_dev->cameraid]->takePicture(); return rv; } int camera_cancel_picture(struct camera_device * device) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return rv; rk_dev = (rk_camera_device_t*) device; rv = gCameraHals[rk_dev->cameraid]->cancelPicture(); return rv; } int camera_set_parameters(struct camera_device * device, const char *params) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return rv; rk_dev = (rk_camera_device_t*) device; rv = gCameraHals[rk_dev->cameraid]->setParameters(params); return rv; } char* camera_get_parameters(struct camera_device * device) { char* param = NULL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return NULL; rk_dev = (rk_camera_device_t*) device; param = gCameraHals[rk_dev->cameraid]->getParameters(); return param; } static void camera_put_parameters(struct camera_device *device, char *parms) { rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return; rk_dev = (rk_camera_device_t*) device; gCameraHals[rk_dev->cameraid]->putParameters(parms); } int camera_send_command(struct camera_device * device, int32_t cmd, int32_t arg1, int32_t arg2) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return rv; rk_dev = (rk_camera_device_t*) device; rv = gCameraHals[rk_dev->cameraid]->sendCommand(cmd, arg1, arg2); return rv; } void camera_release(struct camera_device * device) { rk_camera_device_t* rk_dev = NULL; LOGV("%s", __FUNCTION__); if(!device) return; rk_dev = (rk_camera_device_t*) device; gCameraHals[rk_dev->cameraid]->release(); } int camera_dump(struct camera_device * device, int fd) { int rv = -EINVAL; rk_camera_device_t* rk_dev = NULL; if(!device) return rv; rk_dev = (rk_camera_device_t*) device; rv = gCameraHals[rk_dev->cameraid]->dump(fd); return rv; } int camera_device_close(hw_device_t* device) { int ret = 0; rk_camera_device_t* rk_dev = NULL; LOGD("%s", __FUNCTION__); android::Mutex::Autolock lock(gCameraHalDeviceLock); if (!device) { ret = -EINVAL; goto done; } rk_dev = (rk_camera_device_t*) device; if (rk_dev) { if (gCameraHals[rk_dev->cameraid]) { delete gCameraHals[rk_dev->cameraid]; gCameraHals[rk_dev->cameraid] = NULL; gCamerasOpen--; } if (rk_dev->base.ops) { free(rk_dev->base.ops); } free(rk_dev); } done: return ret; } #ifdef LAPTOP int checkUsbCameraStatus(int cameraid) { int fd = -1; bool needRegetCameraNumbers = false; fd = open(gCamInfos[cameraid].device_path, O_RDONLY); if (fd < 0) { LOGE("Open %s failed! strr: %s",gCamInfos[cameraid].device_path,strerror(errno)); needRegetCameraNumbers = true; goto camera_get_number_of_cameras_end; } LOGD("checkUsbCameraStatus Open %s success!",gCamInfos[cameraid].device_path); struct v4l2_capability capability; memset(&capability, 0, sizeof(struct v4l2_capability)); if (ioctl(fd, VIDIOC_QUERYCAP, &capability) < 0) { LOGE("Video device(%s): query capability not supported.\n",gCamInfos[cameraid].device_path); close(fd); needRegetCameraNumbers = true; goto camera_get_number_of_cameras_end; } close(fd); if ((capability.capabilities & (V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING)) != (V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING)) { LOGD("Video device(%s): video capture not supported.\n",gCamInfos[cameraid].device_path); needRegetCameraNumbers = true; } else { if (strcmp(gUsbCameraNames[cameraid].string(), (char*)&capability.card[0])) { LOGE("Current camera %d name(%s) is different from last(%s)", cameraid, (char*)&capability.card[0], gUsbCameraNames[cameraid].string()); needRegetCameraNumbers = true; } else if (cameraid == 0 && strstr(gUsbCameraNames[cameraid].string(), "HP IR")) { LOGE("Current camera %d name(%s) is different from HP HD", cameraid, gUsbCameraNames[cameraid].string()); cameraid = 1; } else if (cameraid == 1 && strstr(gUsbCameraNames[cameraid].string(), "HP HD")) { LOGE("Current camera %d name(%s) is different from HP IR", cameraid, gUsbCameraNames[cameraid].string()); cameraid = 0; } } camera_get_number_of_cameras_end: if (needRegetCameraNumbers) { LOGD("%s(%d): Current usb camera has changed and get_number_of_cameras again.",__FUNCTION__, __LINE__); gCamerasNumber = -1; camera_get_number_of_cameras(); if (cameraid == 0) { if (!strstr(gUsbCameraNames[cameraid].string(), "HP HD")){ if (strstr(gUsbCameraNames[1].string(), "HP HD")) cameraid = 1; } } else { if (!strstr(gUsbCameraNames[cameraid].string(), "HP IR")){ if (strstr(gUsbCameraNames[0].string(), "HP IR")) cameraid = 0; } } LOGD("try to open camera %d after reget number_of_cameras", cameraid); } return cameraid; } #endif /******************************************************************* * implementation of camera_module functions *******************************************************************/ /* open device handle to one of the cameras * * assume camera service will keep singleton of each camera * so this function will always only be called once per camera instance */ int camera_device_open(const hw_module_t* module, const char* name, hw_device_t** device) { int rv = 0; int cameraid; rk_camera_device_t* camera_device = NULL; camera_device_ops_t* camera_ops = NULL; android::CameraHal* camera = NULL; android::Mutex::Autolock lock(gCameraHalDeviceLock); LOGI("camera_device open"); if (name != NULL) { cameraid = atoi(name); #ifdef LAPTOP char sys_device_lock[PROPERTY_VALUE_MAX]; property_get("sys.device_locked.status",sys_device_lock,NULL); const char* cameraCallProcess = getCallingProcess(); if (!strcmp(sys_device_lock, "1") && strstr("com.android.facelock",cameraCallProcess)) { if (strstr(gUsbCameraNames[cameraid].string(), "HD HD")) { LOGD("facelock switch camera to open HP IR camera!!!"); cameraid = cameraid == 0 ? 1 : cameraid; } } cameraid = checkUsbCameraStatus(cameraid); #endif if(cameraid >= gCamerasNumber) { LOGE("camera service provided cameraid out of bounds, " "cameraid = %d, num supported = %d", cameraid, gCamerasNumber); rv = -EINVAL; goto fail; } if(gCamerasOpen >= CAMERAS_SUPPORTED_SIMUL_MAX) { LOGE("maximum number(%d) of cameras already open",gCamerasOpen); rv = -EUSERS; goto fail; } camera_device = (rk_camera_device_t*)malloc(sizeof(*camera_device)); if(!camera_device) { LOGE("camera_device allocation fail"); rv = -ENOMEM; goto fail; } camera_ops = (camera_device_ops_t*)malloc(sizeof(*camera_ops)); if(!camera_ops) { LOGE("camera_ops allocation fail"); rv = -ENOMEM; goto fail; } memset(camera_device, 0, sizeof(*camera_device)); memset(camera_ops, 0, sizeof(*camera_ops)); camera_device->base.common.tag = HARDWARE_DEVICE_TAG; camera_device->base.common.version = 0; camera_device->base.common.module = (hw_module_t *)(module); camera_device->base.common.close = camera_device_close; camera_device->base.ops = camera_ops; camera_ops->set_preview_window = camera_set_preview_window; camera_ops->set_callbacks = camera_set_callbacks; camera_ops->enable_msg_type = camera_enable_msg_type; camera_ops->disable_msg_type = camera_disable_msg_type; camera_ops->msg_type_enabled = camera_msg_type_enabled; camera_ops->start_preview = camera_start_preview; camera_ops->stop_preview = camera_stop_preview; camera_ops->preview_enabled = camera_preview_enabled; camera_ops->store_meta_data_in_buffers = camera_store_meta_data_in_buffers; camera_ops->start_recording = camera_start_recording; camera_ops->stop_recording = camera_stop_recording; camera_ops->recording_enabled = camera_recording_enabled; camera_ops->release_recording_frame = camera_release_recording_frame; camera_ops->auto_focus = camera_auto_focus; camera_ops->cancel_auto_focus = camera_cancel_auto_focus; camera_ops->take_picture = camera_take_picture; camera_ops->cancel_picture = camera_cancel_picture; camera_ops->set_parameters = camera_set_parameters; camera_ops->get_parameters = camera_get_parameters; camera_ops->put_parameters = camera_put_parameters; camera_ops->send_command = camera_send_command; camera_ops->release = camera_release; camera_ops->dump = camera_dump; *device = &camera_device->base.common; // -------- RockChip specific stuff -------- camera_device->cameraid = cameraid; camera = new android::CameraHal(cameraid); if(!camera || !camera->mInitState) { LOGE("Couldn't create instance of CameraHal class"); rv = -ENOMEM; goto fail; } gCameraHals[cameraid] = camera; gCamerasOpen++; } return rv; fail: if(camera_device) { free(camera_device); camera_device = NULL; } if(camera_ops) { free(camera_ops); camera_ops = NULL; } if(camera) { delete camera; camera = NULL; } *device = NULL; return rv; } static uint MediaProfile_Resolution[][2] = {{176,144},{240,160},{320,240},{352,288}, {640,480},{720,480},{800,600},{1280,720},{1920,1080}, {0,0}}; int find_DV_resolution_index(int w, int h) { int list_w, list_h; int i=0; int index=-1; do{ list_w = MediaProfile_Resolution[i][0]; list_h = MediaProfile_Resolution[i][1]; if(list_w==w && list_h==h){ index = i; break; } i++; }while(list_w!=0 && list_h!=0); return index; } int usb_camera_hotplug(void) { char usbcameraPlug[PROPERTY_VALUE_MAX]; property_get("persist.sys.usbcamera.status", usbcameraPlug, ""); bool plugstate = (strcmp(usbcameraPlug, "add") == 0)|| (strcmp(usbcameraPlug, "remove") == 0); return plugstate; } int camera_get_number_of_cameras(void) { char cam_path[20]; char cam_num[3],i; int cam_cnt=0,fd=-1,rk29_cam[CAMERAS_SUPPORT_MAX]; struct v4l2_capability capability; rk_cam_info_t camInfoTmp[CAMERAS_SUPPORT_MAX]; char *ptr,**ptrr; char version[PROPERTY_VALUE_MAX]; char property[PROPERTY_VALUE_MAX]; int hwrotation = 0; int back_cam_rotation = 0; int front_cam_rotation = 0; camera_board_profiles * profiles = NULL; size_t nCamDev = 0; char trace_level[PROPERTY_VALUE_MAX]; bool plugstate = usb_camera_hotplug(); if (gCamerasNumber > 0 && !plugstate) goto camera_get_number_of_cameras_end; { property_set(CAMERAHAL_CAM_OTP_PROPERTY_KEY, "true"); memset(version,0x00,sizeof(version)); sprintf(version,"%d.%d.%d",((CONFIG_CAMERAHAL_VERSION&0xff0000)>>16), ((CONFIG_CAMERAHAL_VERSION&0xff00)>>8),CONFIG_CAMERAHAL_VERSION&0xff); property_set(CAMERAHAL_VERSION_PROPERTY_KEY,version); property_get(CAMERAHAL_TRACE_LEVEL_PROPERTY_KEY, trace_level, "-1"); if (strcmp(trace_level,"-1")==0) { property_set(CAMERAHAL_TRACE_LEVEL_PROPERTY_KEY, "0"); } memset(version,0x00,sizeof(version)); sprintf(version,"%d.%d.%d",((ConfigBoardXmlVersion&0xff0000)>>16), ((ConfigBoardXmlVersion&0xff00)>>8),ConfigBoardXmlVersion&0xff); property_set(CAMERAHAL_CAMBOARDXML_PARSER_PROPERTY_KEY,version); CamEngineVersionItf *camEngVerItf; CamEngVer_t camEngVer; camEngVerItf = new CamEngineVersionItf(); camEngVerItf->getVersion(&camEngVer); memset(version,0x00,sizeof(version)); sprintf(version,"%d.%d.%d",((camEngVer.libisp_ver&0xff0000)>>16), ((camEngVer.libisp_ver&0xff00)>>8),camEngVer.libisp_ver&0xff); property_set(CAMERAHAL_LIBISP_PROPERTY_KEY,version); memset(version,0x00,sizeof(version)); sprintf(version,"%d.%d.%d",((camEngVer.isi_ver&0xff0000)>>16), ((camEngVer.isi_ver&0xff00)>>8),camEngVer.isi_ver&0xff); property_set(CAMERAHAL_ISI_PROPERTY_KEY,version); delete camEngVerItf; } memset(&camInfoTmp[0],0x00,sizeof(rk_cam_info_t)); memset(&camInfoTmp[1],0x00,sizeof(rk_cam_info_t)); profiles = camera_board_profiles::getInstance(); nCamDev = profiles->mDevieVector.size(); LOGD("board profiles cam num %d\n", nCamDev); if (nCamDev>0) { camera_board_profiles::LoadSensor(profiles); char sensor_ver[32]; for (i=0; (i<nCamDev); i++) { LOGD("load sensor name(%s) connect %d\n", profiles->mDevieVector[i]->mHardInfo.mSensorInfo.mSensorName, profiles->mDevieVector[i]->mIsConnect); if(profiles->mDevieVector[i]->mIsConnect==1){ rk_sensor_info *pSensorInfo = &(profiles->mDevieVector[i]->mHardInfo.mSensorInfo); camInfoTmp[cam_cnt&0x01].pcam_total_info = profiles->mDevieVector[i]; strncpy(camInfoTmp[cam_cnt&0x01].device_path, pSensorInfo->mCamsysDevPath, sizeof(camInfoTmp[cam_cnt&0x01].device_path)); strncpy(camInfoTmp[cam_cnt&0x01].driver, pSensorInfo->mSensorDriver, sizeof(camInfoTmp[cam_cnt&0x01].driver)); unsigned int SensorDrvVersion = profiles->mDevieVector[i]->mLoadSensorInfo.mpI2cInfo->sensor_drv_version; memset(version,0x00,sizeof(version)); sprintf(version,"%d.%d.%d",((SensorDrvVersion&0xff0000)>>16), ((SensorDrvVersion&0xff00)>>8),SensorDrvVersion&0xff); if(pSensorInfo->mFacing == RK_CAM_FACING_FRONT){ camInfoTmp[cam_cnt&0x01].facing_info.facing = CAMERA_FACING_FRONT; } else { camInfoTmp[cam_cnt&0x01].facing_info.facing = CAMERA_FACING_BACK; } memset(sensor_ver,0x00,sizeof(sensor_ver)); if (strlen(pSensorInfo->mSensorName) < (sizeof(sensor_ver)-16)) sprintf(sensor_ver,"%s%s%s","sys_graphic.",pSensorInfo->mSensorName,".ver"); else sprintf(sensor_ver,"%s",pSensorInfo->mSensorName); property_set(sensor_ver, version); camInfoTmp[cam_cnt&0x01].facing_info.orientation = pSensorInfo->mOrientation; cam_cnt++; unsigned int CamsysDrvVersion = profiles->mDevieVector[i]->mCamsysVersion.drv_ver; memset(version,0x00,sizeof(version)); sprintf(version,"%d.%d.%d",((CamsysDrvVersion&0xff0000)>>16), ((CamsysDrvVersion&0xff00)>>8),CamsysDrvVersion&0xff); property_set(CAMERAHAL_CAMSYS_VERSION_PROPERTY_KEY,version); } } } #ifdef LAPTOP for (int i = 0; i < CAMERAS_SUPPORT_MAX; i++) gUsbCameraNames[i].clear(); #endif if(cam_cnt<CAMERAS_SUPPORT_MAX){ int i=0; int element_count=0; while(MediaProfile_Resolution[i][0]>0 && MediaProfile_Resolution[i][1]>0){ element_count++; i++; } for (i=0; i<10; i++) { cam_path[0] = 0x00; unsigned int pix_format_tmp = V4L2_PIX_FMT_NV12; strcat(cam_path, CAMERA_DEVICE_NAME); sprintf(cam_num, "%d", i); strcat(cam_path,cam_num); fd = open(cam_path, O_RDONLY); if (fd < 0) { LOGE("Open %s failed! strr: %s",cam_path,strerror(errno)); break; } LOGD("Open %s success!",cam_path); memset(&capability, 0, sizeof(struct v4l2_capability)); if (ioctl(fd, VIDIOC_QUERYCAP, &capability) < 0) { LOGE("Video device(%s): query capability not supported.\n",cam_path); goto loop_continue; } if ((capability.capabilities & (V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING)) != (V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING)) { LOGD("Video device(%s): video capture not supported.\n",cam_path); } else { rk_cam_total_info* pNewCamInfo = new rk_cam_total_info(); memset(camInfoTmp[cam_cnt&0x01].device_path,0x00, sizeof(camInfoTmp[cam_cnt&0x01].device_path)); strcat(camInfoTmp[cam_cnt&0x01].device_path,cam_path); memset(camInfoTmp[cam_cnt&0x01].fival_list,0x00, sizeof(camInfoTmp[cam_cnt&0x01].fival_list)); memcpy(camInfoTmp[cam_cnt&0x01].driver,capability.driver, sizeof(camInfoTmp[cam_cnt&0x01].driver)); camInfoTmp[cam_cnt&0x01].version = capability.version; if(cam_cnt == 0){ camInfoTmp[cam_cnt].facing_info.facing = CAMERA_FACING_BACK; }else if(cam_cnt == 1){ if (camInfoTmp[cam_cnt-1].facing_info.facing == CAMERA_FACING_FRONT){ camInfoTmp[cam_cnt].facing_info.facing = CAMERA_FACING_BACK; }else{ camInfoTmp[cam_cnt].facing_info.facing = CAMERA_FACING_FRONT; } }else{ camInfoTmp[cam_cnt].facing_info.facing = CAMERA_FACING_FRONT; } property_get("ro.sf.only.front", property, "false"); if (strcmp(property,"true")==0) { camInfoTmp[cam_cnt].facing_info.facing = CAMERA_FACING_FRONT; } // if (strstr((char*)&capability.card[0], "front") != NULL) { // camInfoTmp[cam_cnt&0x01].facing_info.facing = CAMERA_FACING_FRONT; //#ifdef LAPTOP // } else if (strstr((char*)&capability.card[0], "HP HD") != NULL // || strstr((char*)&capability.card[0], "HP IR")) { // camInfoTmp[cam_cnt&0x01].facing_info.facing = CAMERA_FACING_FRONT; // if (strstr((char*)&capability.card[0], "HP IR")) // gCamerasUnavailabled++; // gUsbCameraNames[cam_cnt&0x01] = String8((char*)&capability.card[0]); // LOGD("Camera %d name: %s", (cam_cnt&0x01), gUsbCameraNames[cam_cnt&0x01].string()); //#endif // } else { // camInfoTmp[cam_cnt&0x01].facing_info.facing = CAMERA_FACING_BACK; // } ptr = strstr((char*)&capability.card[0],"-"); if (ptr != NULL) { ptr++; camInfoTmp[cam_cnt&0x01].facing_info.orientation = atoi(ptr); } else { camInfoTmp[cam_cnt&0x01].facing_info.orientation = 0; } memset(version,0x00,sizeof(version)); sprintf(version,"%d.%d.%d",((capability.version&0xff0000)>>16), ((capability.version&0xff00)>>8),capability.version&0xff); property_set(CAMERAHAL_V4L2_VERSION_PROPERTY_KEY,version); if(strcmp((char*)&capability.driver[0],"uvcvideo") == 0)//uvc { int ret,i=0,j=0; struct v4l2_frmivalenum fival; struct v4l2_frmsizeenum fsize; struct v4l2_fmtdesc fmtdesc; unsigned int width, height; unsigned int sensor_resolution_w=0,sensor_resolution_h=0; unsigned int CameraHal_SupportFmt[6]={0}; unsigned int mCamDriverSupportFmt[CAMERA_DRIVER_SUPPORT_FORMAT_MAX]={0}; unsigned int mCamDriverPreviewFmt=0; unsigned int maxfps; //add usb camera to board_profiles rk_DV_info *pDVResolution = new rk_DV_info(); memset(pNewCamInfo->mHardInfo.mSensorInfo.mSensorName, 0x00, sizeof(pNewCamInfo->mHardInfo.mSensorInfo.mSensorName)); strcpy(pNewCamInfo->mHardInfo.mSensorInfo.mSensorName, UVC_CAM_NAME); pNewCamInfo->mIsIommuEnabled = VPUClientGetIOMMUStatus(); #if 0 //DV strcpy(pDVResolution->mName, "480p"); pDVResolution->mWidth = 640; pDVResolution->mHeight = 480; pDVResolution->mFps = 10; pDVResolution->mIsSupport = 1; pDVResolution->mResolution = ISI_RES_VGAP15; pNewCamInfo->mSoftInfo.mDV_vector.add(pDVResolution); #endif //paremeters pNewCamInfo->mSoftInfo.mAntiBandingConfig.mAntiBandingSupport = 0; pNewCamInfo->mSoftInfo.mAntiBandingConfig.mDefault = 0; pNewCamInfo->mSoftInfo.mAwbConfig.mAwbSupport = 0; pNewCamInfo->mSoftInfo.mAwbConfig.mDefault = 0; pNewCamInfo->mSoftInfo.mContinue_snapshot_config= 0; pNewCamInfo->mSoftInfo.mEffectConfig.mEffectSupport = 0; pNewCamInfo->mSoftInfo.mEffectConfig.mDefault = 0; pNewCamInfo->mSoftInfo.mFlashConfig.mFlashSupport= 0; pNewCamInfo->mSoftInfo.mFlashConfig.mDefault = 0; pNewCamInfo->mSoftInfo.mFocusConfig.mFocusSupport= 0; pNewCamInfo->mSoftInfo.mFocusConfig.mDefault = 0; pNewCamInfo->mSoftInfo.mHDRConfig= 0; pNewCamInfo->mSoftInfo.mSenceConfig.mSenceSupport= 0; pNewCamInfo->mSoftInfo.mSenceConfig.mDefault = 0; pNewCamInfo->mSoftInfo.mZSLConfig = 0; pNewCamInfo->mSoftInfo.mInterpolationRes = 0; //profiles->AddConnectUVCSensorToVector(pNewCamInfo, profiles); CameraHal_SupportFmt[0] = V4L2_PIX_FMT_NV12; CameraHal_SupportFmt[1] = V4L2_PIX_FMT_NV16; #if CONFIG_CAMERA_UVC_MJPEG_SUPPORT CameraHal_SupportFmt[2] = V4L2_PIX_FMT_MJPEG; CameraHal_SupportFmt[3] = V4L2_PIX_FMT_YUYV; CameraHal_SupportFmt[4] = V4L2_PIX_FMT_RGB565; #else CameraHal_SupportFmt[2] = V4L2_PIX_FMT_YUYV; CameraHal_SupportFmt[3] = V4L2_PIX_FMT_RGB565; CameraHal_SupportFmt[4] = 0x00; #endif CameraHal_SupportFmt[5] = 0x00; memset(&fmtdesc, 0, sizeof(fmtdesc)); fmtdesc.index = 0; fmtdesc.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; while (ioctl(fd, VIDIOC_ENUM_FMT, &fmtdesc) == 0) { mCamDriverSupportFmt[fmtdesc.index] = fmtdesc.pixelformat; LOG1("mCamDriverSupportFmt:(%c%c%c%c),index = %d",fmtdesc.pixelformat&0xFF,(fmtdesc.pixelformat>>8)&0xFF, (fmtdesc.pixelformat>>16)&0xFF,(fmtdesc.pixelformat>>24)&0xFF,fmtdesc.index); fmtdesc.index++; } i = 0; while (CameraHal_SupportFmt[i]) { LOG1("CameraHal_SupportFmt:fmt = %d,index = %d",CameraHal_SupportFmt[i],i); j = 0; while (mCamDriverSupportFmt[j]) { if (mCamDriverSupportFmt[j] == CameraHal_SupportFmt[i]) { break; } j++; } if (mCamDriverSupportFmt[j] == CameraHal_SupportFmt[i]) { break; } i++; } if (CameraHal_SupportFmt[i] == 0x00) { mCamDriverPreviewFmt = 0; delete pNewCamInfo; delete pDVResolution; LOGE("mCamDriverPreviewFmt = %d, no support fmt",mCamDriverPreviewFmt); goto loop_continue; } else { mCamDriverPreviewFmt = CameraHal_SupportFmt[i]; } fsize.index = 0; fsize.pixel_format = mCamDriverPreviewFmt; String8 supportPreviewSizes; char mediaProfile_Resolution[32],str_element[32]; while ((ret = ioctl(fd, VIDIOC_ENUM_FRAMESIZES, &fsize)) == 0) { if (fsize.type == V4L2_FRMSIZE_TYPE_DISCRETE) { //if(fsize.discrete.width%16 || fsize.discrete.height%16) //{ // fsize.index++; // continue; //} if (fsize.discrete.width > sensor_resolution_w) { sensor_resolution_w = fsize.discrete.width; sensor_resolution_h = fsize.discrete.height; } memset(str_element,0x00,sizeof(str_element)); if (supportPreviewSizes.size() != 0) str_element[0]=','; sprintf((char*)(&str_element[strlen(str_element)]),"%d",fsize.discrete.width); strcat(str_element, "x"); sprintf((char*)(&str_element[strlen(str_element)]),"%d",fsize.discrete.height); supportPreviewSizes.append((const char*)str_element); } fsize.index++; } if(sensor_resolution_w == 0){ sensor_resolution_w = 640; sensor_resolution_h = 480; pDVResolution->mResolution = ISI_RES_VGAP15; } for(i=0; i<element_count; i++){ width = MediaProfile_Resolution[i][0]; height = MediaProfile_Resolution[i][1]; memset(&fival, 0, sizeof(fival)); fival.index = 0; fival.pixel_format = fsize.pixel_format; fival.width = width; fival.height = height; fival.reserved[1] = 0x00; maxfps = 0; rk_DV_info *pDVResolution = new rk_DV_info(); pDVResolution->mWidth = width; pDVResolution->mHeight = height; pDVResolution->mFps = 0; memset(mediaProfile_Resolution,0x00,sizeof(mediaProfile_Resolution)); sprintf(mediaProfile_Resolution,"%dx%d",width,height); if (strstr(supportPreviewSizes.string(), mediaProfile_Resolution) != NULL) pDVResolution->mIsSupport = 1; else pDVResolution->mIsSupport = 0; if ((width>sensor_resolution_w) || (height>sensor_resolution_h)) { pNewCamInfo->mSoftInfo.mDV_vector.add(pDVResolution); continue; } //LOGE("index = %d, pixel_format = %d, width = %d, height = %d", // fival.index, fival.pixel_format, fival.width, fival.height); while ((ret = ioctl(fd, VIDIOC_ENUM_FRAMEINTERVALS, &fival)) == 0) { if (fival.type == V4L2_FRMIVAL_TYPE_DISCRETE) { pDVResolution->mFps = fival.discrete.denominator/fival.discrete.numerator; //pDVResolution->mIsSupport = 1; if (pDVResolution->mFps > maxfps) maxfps = pDVResolution->mFps; LOG1("%dx%d : %d %d/%d",fival.width,fival.height, pDVResolution->mFps,fival.discrete.denominator,fival.discrete.numerator); }else if (fival.type == V4L2_FRMIVAL_TYPE_CONTINUOUS) { break; } else if (fival.type == V4L2_FRMIVAL_TYPE_STEPWISE) { break; } fival.index++; } if(ret){ //pDVResolution->mIsSupport = 1; if(maxfps > 0) pDVResolution->mFps = maxfps; else pDVResolution->mFps = 10; } pNewCamInfo->mSoftInfo.mDV_vector.add(pDVResolution); } } else//cif soc camera { int i=0; int fps; int crop_w, crop_h; int width, height; struct v4l2_format fmt; struct v4l2_format format; struct v4l2_frmivalenum fival; int sensor_resolution_w=0,sensor_resolution_h=0; int resolution_index = -1; fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; fmt.fmt.pix.pixelformat= V4L2_PIX_FMT_NV12; fmt.fmt.pix.field = V4L2_FIELD_NONE; fmt.fmt.pix.width = 10000; fmt.fmt.pix.height = 10000; int ret = ioctl(fd, VIDIOC_TRY_FMT, &fmt); sensor_resolution_w = fmt.fmt.pix.width; sensor_resolution_h = fmt.fmt.pix.height; /* ddl@rock-chips.com: v0.4.e */ for(i=0; i<element_count; i++){ width = MediaProfile_Resolution[i][0]; height = MediaProfile_Resolution[i][1]; memset(&fival, 0, sizeof(fival)); fival.index = 0; fival.pixel_format = pix_format_tmp; fival.width = width; fival.height = height; fival.reserved[1] = 0x00; rk_DV_info *pDVResolution = new rk_DV_info(); pDVResolution->mWidth = width; pDVResolution->mHeight = height; pDVResolution->mFps = 0; pDVResolution->mIsSupport = 0; if ((width>sensor_resolution_w) || (height>sensor_resolution_h)) { pNewCamInfo->mSoftInfo.mDV_vector.add(pDVResolution); continue; } if ((ret = ioctl(fd, VIDIOC_ENUM_FRAMEINTERVALS, &fival)) == 0) { if (fival.type == V4L2_FRMIVAL_TYPE_DISCRETE) { fps = (fival.discrete.denominator/fival.discrete.numerator); crop_w = (fival.reserved[1]&0xffff0000)>>16; crop_h = (fival.reserved[1]&0xffff); pDVResolution->mFps = fps; pDVResolution->mIsSupport = 1; if ((crop_w != width) || (crop_h != height)) { if((width==1280 && height==720 ) || (width==1920 && height==1080 )) { pDVResolution->mIsSupport = 0; } } if(width==720 && height==480){ if ((crop_w>800) || (crop_h>600)) { /* ddl@rock-chips.com: v0.4.e */ pDVResolution->mIsSupport = 0; } else { resolution_index = find_DV_resolution_index(640,480); if(resolution_index>0) pNewCamInfo->mSoftInfo.mDV_vector[resolution_index]->mIsSupport = 0; } } /* needn't support dv 800x600 ,just support vga*/ if((width == 800) && (height == 600)){ pDVResolution->mIsSupport = 0; } }else{ pDVResolution->mIsSupport = 0; LOGE("find frame intervals failed ret(%d)\n", ret); } }else{ pDVResolution->mIsSupport = 0; LOGE("find frame intervals failed ret(%d)\n", ret); } pNewCamInfo->mSoftInfo.mDV_vector.add(pDVResolution); } strcpy(pNewCamInfo->mHardInfo.mSensorInfo.mSensorName, SOC_CAM_NAME); pNewCamInfo->mIsIommuEnabled = capability.reserved[0]; if (strstr((char*)&capability.card[0], "front") != NULL) { pNewCamInfo->mHardInfo.mSensorInfo.mFacing = 1; } else { pNewCamInfo->mHardInfo.mSensorInfo.mFacing = 0; } } pNewCamInfo->mHardInfo.mSensorInfo.mPhy.type = CamSys_Phy_end; //pNewCamInfo->mDeviceIndex = (profiles->mDevieVector.size()) - 1; pNewCamInfo->mIsConnect = 1; profiles->mCurDevice= pNewCamInfo; profiles->mDevieVector.add(pNewCamInfo); pNewCamInfo->mDeviceIndex = (profiles->mDevieVector.size()) - 1; camInfoTmp[cam_cnt].pcam_total_info = pNewCamInfo; cam_cnt++; if (cam_cnt >= CAMERAS_SUPPORT_MAX) i = 10; } loop_continue: if (fd > 0) { close(fd); fd = -1; } continue; } } #ifdef TARGET_BOX camera_board_profiles::ProduceNewXml(profiles); #endif gCamerasNumber = cam_cnt; #if CONFIG_AUTO_DETECT_FRAMERATE rk29_cam[0] = 0xff; rk29_cam[1] = 0xff; for (i=0; i<cam_cnt; i++) { if (strcmp((char*)&camInfoTmp[i].driver[0],"rk29xx-camera") == 0) { if (strcmp((char*)&camInfoTmp[i].driver[0],(char*)&gCamInfos[i].driver[0]) != 0) { rk29_cam[i] = i; } } else { rk29_cam[i] = 0xff; } } if ((rk29_cam[0] != 0xff) || (rk29_cam[1] != 0xff)) { if (gCameraFpsDetectThread == NULL) { gCameraFpsDetectThread = new CameraFpsDetectThread(); LOGD("%s create CameraFpsDetectThread for enum camera framerate!!",__FUNCTION__); gCameraFpsDetectThread->run("CameraFpsDetectThread", ANDROID_PRIORITY_AUDIO); } } #endif #if CONFIG_CAMERA_SINGLE_SENSOR_FORCE_BACK_FOR_CTS if ((gCamerasNumber==1) && (camInfoTmp[0].facing_info.facing==CAMERA_FACING_FRONT)) { gCamerasNumber = 2; memcpy(&camInfoTmp[1],&camInfoTmp[0], sizeof(rk_cam_info_t)); camInfoTmp[1].facing_info.facing = CAMERA_FACING_BACK; } #endif memcpy(&gCamInfos[0], &camInfoTmp[0], sizeof(rk_cam_info_t)); memcpy(&gCamInfos[1], &camInfoTmp[1], sizeof(rk_cam_info_t)); property_get("ro.sf.hwrotation", property, "0"); hwrotation = strtol(property,0,0); #if 0 if (hwrotation == 0) { gCamInfos[0].facing_info.orientation = 0; /* ddl@rock-chips.com: v0.4.17 */ gCamInfos[1].facing_info.orientation = 0; } #endif //rpdzkj jeff,for rotation #if 0 property_get("ro.sf.back.camera.rotation", property, "0"); back_cam_rotation = strtol(property,0,0); gCamInfos[0].facing_info.orientation = back_cam_rotation; property_get("ro.sf.front.camera.rotation", property, "0"); front_cam_rotation = strtol(property,0,0); gCamInfos[1].facing_info.orientation = front_cam_rotation; #else if( camInfoTmp[0].facing_info.facing == CAMERA_FACING_BACK){ property_get("ro.sf.back.camera.rotation", property, "0"); back_cam_rotation = strtol(property,0,0); gCamInfos[0].facing_info.orientation = back_cam_rotation; } if( camInfoTmp[1].facing_info.facing == CAMERA_FACING_BACK){ property_get("ro.sf.back.camera.rotation", property, "0"); back_cam_rotation = strtol(property,0,0); gCamInfos[1].facing_info.orientation = back_cam_rotation; } if( camInfoTmp[0].facing_info.facing == CAMERA_FACING_FRONT){ property_get("ro.sf.front.camera.rotation", property, "0"); front_cam_rotation = strtol(property,0,0); gCamInfos[0].facing_info.orientation = front_cam_rotation; } if( camInfoTmp[1].facing_info.facing == CAMERA_FACING_FRONT){ property_get("ro.sf.front.camera.rotation", property, "0"); front_cam_rotation = strtol(property,0,0); gCamInfos[1].facing_info.orientation = front_cam_rotation; } #endif //end //for test isp,zyc // gCamerasNumber =1; // gCamInfos[0].facing_info.orientation = 180; camera_get_number_of_cameras_end: LOGD("%s(%d): Current board have %d cameras attached.",__FUNCTION__, __LINE__, gCamerasNumber); #ifdef LAPTOP return gCamerasNumber > 0 ? gCamerasNumber - gCamerasUnavailabled : gCamerasNumber; #else return gCamerasNumber; #endif } #if 0 int camera_get_number_of_cameras(void) { char cam_path[20]; char cam_num[3],i; int cam_cnt=0,fd=-1,rk29_cam[CAMERAS_SUPPORT_MAX]; struct v4l2_capability capability; rk_cam_info_t camInfoTmp[CAMERAS_SUPPORT_MAX]; char *ptr,**ptrr; char version[PROPERTY_VALUE_MAX]; char property[PROPERTY_VALUE_MAX]; int hwrotation = 0; //oyyf@rock-chips.com: modify /data/media_profiles.xml struct timeval t0, t1; ::gettimeofday(&t0, NULL); media_profiles_xml_control(); ::gettimeofday(&t1, NULL); LOGD("meida_profiles_xml_control time (%ld)us\n", (t1.tv_sec*1000000 + t1.tv_usec) - (t0.tv_sec*1000000 + t0.tv_usec)); if (gCamerasNumber > 0) goto camera_get_number_of_cameras_end; memset(version,0x00,sizeof(version)); sprintf(version,"%d.%d.%d",((CONFIG_CAMERAHAL_VERSION&0xff0000)>>16), ((CONFIG_CAMERAHAL_VERSION&0xff00)>>8),CONFIG_CAMERAHAL_VERSION&0xff); property_set(CAMERAHAL_VERSION_PROPERTY_KEY,version); memset(&camInfoTmp[0],0x00,sizeof(rk_cam_info_t)); memset(&camInfoTmp[1],0x00,sizeof(rk_cam_info_t)); for (i=0; i<10; i++) { cam_path[0] = 0x00; strcat(cam_path, CAMERA_DEVICE_NAME); sprintf(cam_num, "%d", i); strcat(cam_path,cam_num); fd = open(cam_path, O_RDONLY); if (fd < 0) { LOGE("Open %s failed! strr: %s",cam_path,strerror(errno)); break; } memset(&capability, 0, sizeof(struct v4l2_capability)); if (ioctl(fd, VIDIOC_QUERYCAP, &capability) < 0) { LOGE("Video device(%s): query capability not supported.\n",cam_path); goto loop_continue; } if ((capability.capabilities & (V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING)) != (V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING)) { LOGD("Video device(%s): video capture not supported.\n",cam_path); } else { memset(camInfoTmp[cam_cnt&0x01].device_path,0x00, sizeof(camInfoTmp[cam_cnt&0x01].device_path)); strcat(camInfoTmp[cam_cnt&0x01].device_path,cam_path); memset(camInfoTmp[cam_cnt&0x01].fival_list,0x00, sizeof(camInfoTmp[cam_cnt&0x01].fival_list)); memcpy(camInfoTmp[cam_cnt&0x01].driver,capability.driver, sizeof(camInfoTmp[cam_cnt&0x01].driver)); camInfoTmp[cam_cnt&0x01].version = capability.version; if (strstr((char*)&capability.card[0], "front") != NULL) { camInfoTmp[cam_cnt&0x01].facing_info.facing = CAMERA_FACING_FRONT; } else { camInfoTmp[cam_cnt&0x01].facing_info.facing = CAMERA_FACING_BACK; } ptr = strstr((char*)&capability.card[0],"-"); if (ptr != NULL) { ptr++; camInfoTmp[cam_cnt&0x01].facing_info.orientation = atoi(ptr); } else { camInfoTmp[cam_cnt&0x01].facing_info.orientation = 0; } cam_cnt++; memset(version,0x00,sizeof(version)); sprintf(version,"%d.%d.%d",((capability.version&0xff0000)>>16), ((capability.version&0xff00)>>8),capability.version&0xff); property_set(CAMERADRIVER_VERSION_PROPERTY_KEY,version); LOGD("%s(%d): %s:%s",__FUNCTION__,__LINE__,CAMERADRIVER_VERSION_PROPERTY_KEY,version); if (cam_cnt >= CAMERAS_SUPPORT_MAX) i = 10; } loop_continue: if (fd > 0) { close(fd); fd = -1; } continue; } //zyc , change the camera infomation if there is a usb camera if((strcmp(camInfoTmp[0].driver,"uvcvideo") == 0)) { if (cam_cnt == 1) { camInfoTmp[0].facing_info.facing = CAMERA_FACING_BACK; } else { camInfoTmp[0].facing_info.facing = (camInfoTmp[1].facing_info.facing == CAMERA_FACING_FRONT) ? CAMERA_FACING_BACK:CAMERA_FACING_FRONT; } camInfoTmp[0].facing_info.orientation = (camInfoTmp[0].facing_info.facing == CAMERA_FACING_FRONT)?270:90; } else if((strcmp(camInfoTmp[1].driver,"uvcvideo") == 0)) { camInfoTmp[1].facing_info.facing = (camInfoTmp[0].facing_info.facing == CAMERA_FACING_FRONT) ? CAMERA_FACING_BACK:CAMERA_FACING_FRONT; camInfoTmp[1].facing_info.orientation = (camInfoTmp[1].facing_info.facing == CAMERA_FACING_FRONT)?270:90; } gCamerasNumber = cam_cnt; #if CONFIG_AUTO_DETECT_FRAMERATE rk29_cam[0] = 0xff; rk29_cam[1] = 0xff; for (i=0; i<cam_cnt; i++) { if (strcmp((char*)&camInfoTmp[i].driver[0],"rk29xx-camera") == 0) { if (strcmp((char*)&camInfoTmp[i].driver[0],(char*)&gCamInfos[i].driver[0]) != 0) { rk29_cam[i] = i; } } else { rk29_cam[i] = 0xff; } } if ((rk29_cam[0] != 0xff) || (rk29_cam[1] != 0xff)) { if (gCameraFpsDetectThread == NULL) { gCameraFpsDetectThread = new CameraFpsDetectThread(); LOGD("%s create CameraFpsDetectThread for enum camera framerate!!",__FUNCTION__); gCameraFpsDetectThread->run("CameraFpsDetectThread", ANDROID_PRIORITY_AUDIO); } } #endif #if CONFIG_CAMERA_SINGLE_SENSOR_FORCE_BACK_FOR_CTS if ((gCamerasNumber==1) && (camInfoTmp[0].facing_info.facing==CAMERA_FACING_FRONT)) { gCamerasNumber = 2; memcpy(&camInfoTmp[1],&camInfoTmp[0], sizeof(rk_cam_info_t)); camInfoTmp[1].facing_info.facing = CAMERA_FACING_BACK; } #endif memcpy(&gCamInfos[0], &camInfoTmp[0], sizeof(rk_cam_info_t)); memcpy(&gCamInfos[1], &camInfoTmp[1], sizeof(rk_cam_info_t)); property_get("ro.sf.hwrotation", property, "0"); hwrotation = strtol(property,0,0); if (hwrotation == 0) { gCamInfos[0].facing_info.orientation = 0; /* ddl@rock-chips.com: v0.4.17 */ gCamInfos[1].facing_info.orientation = 0; } //for test isp,zyc gCamerasNumber =1; camera_get_number_of_cameras_end: LOGD("%s(%d): Current board have %d cameras attached.",__FUNCTION__, __LINE__, gCamerasNumber); return gCamerasNumber; } #endif int camera_get_camera_info(int camera_id, struct camera_info *info) { int rv = 0,fp; int face_value = CAMERA_FACING_BACK; int orientation = 0; #ifdef LAPTOP char sys_device_lock[PROPERTY_VALUE_MAX]; property_get("sys.device_locked.status",sys_device_lock,NULL); const char* cameraCallProcess = getCallingProcess(); if (!strcmp(sys_device_lock, "1") && strstr("com.android.facelock",cameraCallProcess)) { if (strstr(gUsbCameraNames[camera_id].string(), "HD HD")) { LOGD("facelock switch camera to open HP IR camera!!!"); camera_id = camera_id == 0 ? 1 : camera_id; } } camera_id = checkUsbCameraStatus(camera_id); #endif if(camera_id >= gCamerasNumber) { LOGE("%s camera_id out of bounds, camera_id = %d, num supported = %d",__FUNCTION__, camera_id, gCamerasNumber); rv = -EINVAL; goto end; } #if CONFIG_CAMERA_ORIENTATION_SKYPE const char *process_name = getCallingProcess(); info->facing = gCamInfos[camera_id].facing_info.facing; if (strstr(process_name,"com.skype.rover")) { info->orientation = (info->facing == CAMERA_FACING_BACK)? CONFIG_CAMERA_BACK_ORIENTATION_SKYPE : CONFIG_CAMERA_FRONT_ORIENTATION_SKYPE; } else { info->orientation = gCamInfos[camera_id].facing_info.orientation; } #else info->facing = gCamInfos[camera_id].facing_info.facing; info->orientation = gCamInfos[camera_id].facing_info.orientation; #endif end: #ifdef LAPTOP // if only front camera, qq/weixin self captrue can't work. const char* callProcess = getCallingProcess(); if ((!strcmp("com.tencent.mm:tools",callProcess) || !strcmp("com.tencent.mobileqq:MSF",callProcess) || !strcmp("com.tencent.mobileqq:peak",callProcess)) && (gCamerasNumber - gCamerasUnavailabled) == 1 && info->facing == CAMERA_FACING_FRONT) { info->facing = CAMERA_FACING_BACK; } #endif LOGD("%s(%d): camera_%d facing(%d), orientation(%d)",__FUNCTION__,__LINE__,camera_id,info->facing,info->orientation); return rv; } #if CONFIG_AUTO_DETECT_FRAMERATE int camera_framerate_enum(int fd, struct v4l2_frmivalenum *fival,unsigned int w,unsigned int h, unsigned int fmt,int count) { int ret,i; i = 0; fival->index = 0; fival->pixel_format = fmt; fival->width = w; fival->height = h; while (count && (ret = ioctl(fd, VIDIOC_ENUM_FRAMEINTERVALS, fival)) == 0) { if (fival->type == V4L2_FRMIVAL_TYPE_CONTINUOUS) { ret = -1; break; } else if (fival->type == V4L2_FRMIVAL_TYPE_STEPWISE) { ret = -1; break; } fival++; i++; count--; if (count) { fival->index = i; fival->pixel_format = fmt; fival->width = w; fival->height = h; } } if (fival->index && fival->width && (fival->discrete.denominator == 0)) memset(fival,0x00, sizeof(struct v4l2_frmivalenum)); return i; } int camera_famerate_detect_loop(void) { camera_device_t *camera_dev; Vector<Size> preview_sizes; Size preview_size; CameraParameters parameters; struct v4l2_frmivalenum *fival; unsigned int i,j,w,h,count,ret; char camera_device_name[10]; char *temp; LOGD("%s Enter..",__func__); for (i=0; i<2; i++) { if ((strstr(gCamInfos[i].device_path, CAMERA_DEVICE_NAME) != NULL) && (strcmp((char*)&gCamInfos[i].driver[0],"rk29xx-camera") == 0)) { snprintf(camera_device_name, sizeof(camera_device_name), "%d", i); if (camera_device_open(NULL, camera_device_name, (hw_device_t**)&camera_dev) == 0) { temp = camera_dev->ops->get_parameters(camera_dev); String8 str_parms(temp); camera_dev->ops->put_parameters(camera_dev, temp); parameters.unflatten(str_parms); preview_sizes.clear(); parameters.getSupportedPreviewSizes(preview_sizes); camera_dev->ops->set_parameters(camera_dev,parameters.flatten().string()); fival = gCamInfos[i].fival_list; count = 10; for (j=0; (j<preview_sizes.size()) && (count>0); j++) { preview_size = preview_sizes.itemAt(j); parameters.setPreviewSize(preview_size.width, preview_size.height); camera_dev->ops->start_preview(camera_dev); sleep(2); camera_dev->ops->stop_preview(camera_dev); ret = camera_framerate_enum(gCameraHals[i]->getCameraFd(),fival,preview_size.width, preview_size.height,V4L2_PIX_FMT_NV12,count); if (ret > 0) { count -= ret; fival += ret; } } fival = gCamInfos[i].fival_list; while (fival->width) { LOGD("Camera_%d %dx%d framerate is %d/%d", i,fival->width,fival->height,fival->discrete.denominator,fival->discrete.numerator); fival++; } camera_dev->ops->release(camera_dev); camera_dev->common.close(&camera_dev->common); } } } LOGD("%s Exit..",__func__); return false; } #endif
[ "macian@foxmail.com" ]
macian@foxmail.com
fd551fd5e4ad5f6997be6f554a72f940cc844728
4a3326ad1564a89b2a6f222c30a74a33d2e8f9e1
/StudentManagementSystem_Qt/mainwidget.cpp
520784892ea0e1127f5347cdeec5e1df24643e1c
[]
no_license
qweasdzxf/Test
1eb79fe1f452922a761751098e0dab7b5197efb4
edebc2a1b306e32ae901f9176f61bbdad44a4ce2
refs/heads/master
2022-08-02T13:12:24.162017
2020-05-30T16:50:46
2020-05-30T16:50:46
268,119,685
0
0
null
null
null
null
UTF-8
C++
false
false
1,693
cpp
#include "mainwidget.h" #include "ui_mainwidget.h" #include<QFrame> #include<QtCore> MainWidget::MainWidget(QWidget *parent) : QWidget(parent), ui(new Ui::MainWidget) { ui->setupUi(this); menuwidget = new MenuWidget; addstudentwidget = new AddStudentWidget; selectwidget = new SelectWidget; modifywidget = new ModifyWidget; sortwidget = new SortWidget; timeswidget = new TimesWidget; stackLayout = new QStackedLayout; stackLayout->addWidget(menuwidget); //把不同的界面压到stacklayout栈里 按照栈的运行逻辑 先压入的排在0号位置 stackLayout->addWidget(addstudentwidget); stackLayout->addWidget(selectwidget); stackLayout->addWidget(modifywidget); stackLayout->addWidget(sortwidget); stackLayout->addWidget(timeswidget); setLayout(stackLayout); // connect(menuwidget, &MenuWidget::display, stackLayout, &QStackedLayout::setCurrentIndex); connect(addstudentwidget, &AddStudentWidget::display, stackLayout, &QStackedLayout::setCurrentIndex); connect(selectwidget, &SelectWidget::display, stackLayout, &QStackedLayout::setCurrentIndex); connect(modifywidget, &ModifyWidget::display, stackLayout, &QStackedLayout::setCurrentIndex); connect(sortwidget, &SortWidget::display, stackLayout, &QStackedLayout::setCurrentIndex); connect(timeswidget,&TimesWidget::display,stackLayout,&QStackedLayout::setCurrentIndex); } //具体执行的时候是两段信号槽 //第一段是ui中的button发出信号 函数槽函数调用emit display() //第二段是display()作为信号 在栈中跳转到相应的界面 MainWidget::~MainWidget() { delete ui; }
[ "1179792106@qq.com" ]
1179792106@qq.com
9b196a5bb284dbb977f3003f24bc7ee1da9d9bc0
81337b52fe6613d53a48d277fa7951e212af4cad
/main.cpp
935ec29f7a806bdb77a8c801fdbb02bbcb6c9af6
[]
no_license
Ihivatar/Online-Hearts
22bccc306f3c6b90a5145a43e435ce7bfe0e1ff4
8682439779e066aa3dd8e536551398cd068c0903
refs/heads/main
2023-01-19T03:54:41.777994
2020-11-18T23:46:45
2020-11-18T23:46:45
308,707,188
2
0
null
null
null
null
UTF-8
C++
false
false
16,783
cpp
#include <iostream> #include <stdio.h> #include <string> #include <SFML/Graphics.hpp> #include "imgui.h" #include "imgui-SFML.h" #include "RakPeerInterface.h" #include "RakNetTypes.h" #include "MessageIdentifiers.h" #include "BitStream.h" #define MAX_CLIENTS 10 #define SERVER_PORT 60000 int WIDTH = 1920; int HEIGHT = 1080; int CARDS_IN_ROW = 12; const float CARD_SCALE = 0.3f; const std::string server_ip("34.72.173.188"); //const std::string server_ip("35.223.150.31"); RakNet::AddressOrGUID ServerAddress; const int window_flags = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoScrollbar; char name[256] = ""; std::vector<std::string> connected_players; int player_count; enum GameMessages { ID_GAME_MESSAGE_1 = ID_USER_PACKET_ENUM + 1, ID_REQUEST_NAME, ID_SEND_NAME, ID_GAME_REQUEST_CARD, ID_GAME_SEND_CARD, ID_LOBBY_NUM_PLAYERS, ID_LOBBY_PLAYERS, ID_START_GAME, ID_DEAL_CARD }; enum Suit { Hearts = 0, Clubs = 1, Diamonds = 2, Spades = 3 }; enum Rank { Leader = 0, Joker = 1, Two = 2, Three = 3, Four = 4, Five = 5, Six = 6, Seven = 7, Eight = 8, Nine = 9, Ten = 10, Jack = 11, Queen = 12, King = 13, Ace = 14 }; struct Card { sf::Texture texture; sf::Sprite sprite; Suit suit; Rank rank; int value; bool selected; }; Card* cards[4][15]; enum class State { EnterName = 0, Connecting = 1, Lobby = 2, Playing = 3, Exit = 4 }; void InitCard(Card* card, std::string filepath, Suit suit, Rank rank) { card->texture.loadFromFile(std::string("resources/cards/" + filepath).c_str()); card->sprite.setTexture(card->texture); card->sprite.setScale(CARD_SCALE, CARD_SCALE); card->suit = suit; card->rank = rank; card->selected = false; } void DeleteCards() { for (int suit = 0; suit < 3; ++suit) { for (int rank = 0; rank < 15; ++rank) { delete cards[suit][rank]; } } } std::vector<Card*> hand; State state = State::EnterName; void LoadCardSprites() { for (int suit = 0; suit < 4; ++suit) { for (int rank = 0; rank < 15; ++rank) { cards[suit][rank] = new Card(); } } Suit hearts = Suit::Hearts; Suit clubs = Suit::Clubs; Suit diamonds = Suit::Diamonds; Suit spades = Suit::Spades; InitCard(cards[(int)hearts][(int)Rank::Two], "2_of_hearts.png", hearts, Rank::Two); InitCard(cards[(int)hearts][(int)Rank::Three], "3_of_hearts.png", hearts, Rank::Three); InitCard(cards[(int)hearts][(int)Rank::Four], "4_of_hearts.png", hearts, Rank::Four); InitCard(cards[(int)hearts][(int)Rank::Five], "5_of_hearts.png", hearts, Rank::Five); InitCard(cards[(int)hearts][(int)Rank::Six], "6_of_hearts.png", hearts, Rank::Six); InitCard(cards[(int)hearts][(int)Rank::Seven], "7_of_hearts.png",hearts, Rank::Seven); InitCard(cards[(int)hearts][(int)Rank::Eight], "8_of_hearts.png", hearts, Rank::Eight); InitCard(cards[(int)hearts][(int)Rank::Nine], "9_of_hearts.png", hearts, Rank::Nine); InitCard(cards[(int)hearts][(int)Rank::Ten], "10_of_hearts.png", hearts, Rank::Ten); InitCard(cards[(int)hearts][(int)Rank::Jack], "jack_of_hearts.png", hearts, Rank::Jack); InitCard(cards[(int)hearts][(int)Rank::Queen], "queen_of_hearts.png", hearts, Rank::Queen); InitCard(cards[(int)hearts][(int)Rank::King], "king_of_hearts.png", hearts, Rank::King); InitCard(cards[(int)hearts][(int)Rank::Ace], "ace_of_hearts.png", hearts, Rank::Ace); InitCard(cards[(int)clubs][(int)Rank::Leader], "leader.png", clubs, Rank::Leader); InitCard(cards[(int)clubs][(int)Rank::Joker], "black_joker.png", clubs, Rank::Joker); InitCard(cards[(int)clubs][(int)Rank::Two], "2_of_clubs.png", clubs, Rank::Two); InitCard(cards[(int)clubs][(int)Rank::Three], "3_of_clubs.png", clubs, Rank::Three); InitCard(cards[(int)clubs][(int)Rank::Four], "4_of_clubs.png", clubs, Rank::Four); InitCard(cards[(int)clubs][(int)Rank::Five], "5_of_clubs.png", clubs, Rank::Five); InitCard(cards[(int)clubs][(int)Rank::Six], "6_of_clubs.png", clubs, Rank::Six); InitCard(cards[(int)clubs][(int)Rank::Seven], "7_of_clubs.png",clubs, Rank::Seven); InitCard(cards[(int)clubs][(int)Rank::Eight], "8_of_clubs.png", clubs, Rank::Eight); InitCard(cards[(int)clubs][(int)Rank::Nine], "9_of_clubs.png", clubs, Rank::Nine); InitCard(cards[(int)clubs][(int)Rank::Ten], "10_of_clubs.png", clubs, Rank::Ten); InitCard(cards[(int)clubs][(int)Rank::Jack], "jack_of_clubs.png", clubs, Rank::Jack); InitCard(cards[(int)clubs][(int)Rank::Queen], "queen_of_clubs.png", clubs, Rank::Queen); InitCard(cards[(int)clubs][(int)Rank::King], "king_of_clubs.png", clubs, Rank::King); InitCard(cards[(int)clubs][(int)Rank::Ace], "ace_of_clubs.png", clubs, Rank::Ace); InitCard(cards[(int)diamonds][(int)Rank::Two], "2_of_diamonds.png", diamonds, Rank::Two); InitCard(cards[(int)diamonds][(int)Rank::Three], "3_of_diamonds.png", diamonds, Rank::Three); InitCard(cards[(int)diamonds][(int)Rank::Four], "4_of_diamonds.png", diamonds, Rank::Four); InitCard(cards[(int)diamonds][(int)Rank::Five], "5_of_diamonds.png", diamonds, Rank::Five); InitCard(cards[(int)diamonds][(int)Rank::Six], "6_of_diamonds.png", diamonds, Rank::Six); InitCard(cards[(int)diamonds][(int)Rank::Seven], "7_of_diamonds.png",diamonds, Rank::Seven); InitCard(cards[(int)diamonds][(int)Rank::Eight], "8_of_diamonds.png", diamonds, Rank::Eight); InitCard(cards[(int)diamonds][(int)Rank::Nine], "9_of_diamonds.png", diamonds, Rank::Nine); InitCard(cards[(int)diamonds][(int)Rank::Ten], "10_of_diamonds.png", diamonds, Rank::Ten); InitCard(cards[(int)diamonds][(int)Rank::Jack], "jack_of_diamonds.png", diamonds, Rank::Jack); InitCard(cards[(int)diamonds][(int)Rank::Queen], "queen_of_diamonds.png", diamonds, Rank::Queen); InitCard(cards[(int)diamonds][(int)Rank::King], "king_of_diamonds.png", diamonds, Rank::King); InitCard(cards[(int)diamonds][(int)Rank::Ace], "ace_of_diamonds.png", diamonds, Rank::Ace); InitCard(cards[(int)spades][(int)Rank::Two], "2_of_spades.png", spades, Rank::Two); InitCard(cards[(int)spades][(int)Rank::Three], "3_of_spades.png", spades, Rank::Three); InitCard(cards[(int)spades][(int)Rank::Four], "4_of_spades.png", spades, Rank::Four); InitCard(cards[(int)spades][(int)Rank::Five], "5_of_spades.png", spades, Rank::Five); InitCard(cards[(int)spades][(int)Rank::Six], "6_of_spades.png", spades, Rank::Six); InitCard(cards[(int)spades][(int)Rank::Seven], "7_of_spades.png",spades, Rank::Seven); InitCard(cards[(int)spades][(int)Rank::Eight], "8_of_spades.png", spades, Rank::Eight); InitCard(cards[(int)spades][(int)Rank::Nine], "9_of_spades.png", spades, Rank::Nine); InitCard(cards[(int)spades][(int)Rank::Ten], "10_of_spades.png", spades, Rank::Ten); InitCard(cards[(int)spades][(int)Rank::Jack], "jack_of_spades.png", spades, Rank::Jack); InitCard(cards[(int)spades][(int)Rank::Queen], "queen_of_spades.png", spades, Rank::Queen); InitCard(cards[(int)spades][(int)Rank::King], "king_of_spades.png", spades, Rank::King); InitCard(cards[(int)spades][(int)Rank::Ace], "ace_of_spades.png", spades, Rank::Ace); } void PositionCards() { for (int suit = 0; suit < 4; ++suit) { for (int rank = 0; rank < 15; ++rank) { cards[suit][rank]->sprite.setPosition(125.0f * rank, 250.0f * suit); } } } void UpdateHandPosition() { const int num_cards = hand.size(); int num_rows = num_cards / CARDS_IN_ROW; if (num_rows * CARDS_IN_ROW < num_cards) ++num_rows; int current_card = 0; int cards_left = num_cards; //for (int current_row = num_rows - 1; current_row >= 0; --current_row) for (int current_row = 0; current_row < num_rows; ++current_row) { int num_cards_in_row = cards_left > CARDS_IN_ROW ? CARDS_IN_ROW : cards_left; cards_left -= num_cards_in_row; for (int i = 0; i < num_cards_in_row; ++i) { hand[current_card++]->sprite.setPosition(i * 160.0f, HEIGHT - 225.0f - (current_row * 225.0f)); } } } void AddCardToHand(Suit suit, Rank rank) { hand.push_back(cards[(int)suit][(int)rank]); } void HandlePackets(RakNet::RakPeerInterface* peer) { Card card; RakNet::Packet* packet; for (packet = peer->Receive(); packet; peer->DeallocatePacket(packet), packet = peer->Receive()) { switch (packet->data[0]) { case ID_REMOTE_DISCONNECTION_NOTIFICATION: { printf("Another client has disconnected\n"); } break; case ID_REMOTE_CONNECTION_LOST: { printf("Another client has lost the connection\n"); } break; case ID_REMOTE_NEW_INCOMING_CONNECTION: { printf("A connection is incoming\n"); } break; case ID_CONNECTION_REQUEST_ACCEPTED: { printf("Our connection request has been accepted\n"); ServerAddress = packet->systemAddress; } break; case ID_NEW_INCOMING_CONNECTION: { printf("Another client has connected\n"); } break; case ID_NO_FREE_INCOMING_CONNECTIONS: { printf("The server is full\n"); } break; case ID_DISCONNECTION_NOTIFICATION: { printf("We have been disconnected\n"); state = State::Exit; } break; case ID_CONNECTION_LOST: { printf("Connection lost\n"); state = State::Exit; } break; case ID_CONNECTION_ATTEMPT_FAILED: { printf("Failed to connect to server\n"); state = State::Exit; //return -1; } break; case ID_GAME_MESSAGE_1: { RakNet::RakString rs; RakNet::BitStream bsIn(packet->data, packet->length, false); bsIn.IgnoreBytes(sizeof(RakNet::MessageID)); bsIn.Read(rs); printf("%s\n", rs.C_String()); } break; case ID_REQUEST_NAME: { RakNet::BitStream bsOut; bsOut.Write((RakNet::MessageID)ID_SEND_NAME); RakNet::RakString rs = name; bsOut.Write(rs); peer->Send(&bsOut, HIGH_PRIORITY, RELIABLE_ORDERED, 0, packet->systemAddress, false); } break; case ID_GAME_REQUEST_CARD: { RakNet::BitStream bsOut; bsOut.Write((RakNet::MessageID)ID_GAME_SEND_CARD); bsOut.Write("Ten of Spades"); bsOut.Write((int)Ten); bsOut.Write((int)Spades); peer->Send(&bsOut, HIGH_PRIORITY, RELIABLE_ORDERED, 0, packet->systemAddress, false); } break; case ID_GAME_SEND_CARD: { RakNet::BitStream bsIn(packet->data, packet->length, false); bsIn.IgnoreBytes(sizeof(RakNet::MessageID)); bsIn.Read(card.suit); bsIn.Read(card.rank); printf("Suit: %d\n", (int)card.suit); printf("Rank: %d\n\n", (int)card.rank); } break; case ID_LOBBY_NUM_PLAYERS: { RakNet::BitStream bsIn(packet->data, packet->length, false); bsIn.IgnoreBytes(sizeof(RakNet::MessageID)); bsIn.Read(player_count); } break; case ID_LOBBY_PLAYERS: { RakNet::BitStream bsIn(packet->data, packet->length, false); bsIn.IgnoreBytes(sizeof(RakNet::MessageID)); connected_players.clear(); for (int i = 0; i < player_count; ++i) { RakNet::RakString rs; bsIn.Read(rs); std::string temp = rs.C_String(); connected_players.push_back(temp); } } break; case ID_START_GAME: { state = State::Playing; } break; case ID_DEAL_CARD: { RakNet::BitStream bsIn(packet->data, packet->length, false); bsIn.IgnoreBytes(sizeof(RakNet::MessageID)); Card card; bsIn.Read(card.suit); bsIn.Read(card.rank); AddCardToHand(card.suit, card.rank); } break; default: { printf("Message with identifier %i has arrived\n", packet->data[0]); } break; } } } void StartGame(RakNet::RakPeerInterface* peer) { RakNet::BitStream bsOut; bsOut.Write((RakNet::MessageID)ID_START_GAME); peer->Send(&bsOut, HIGH_PRIORITY, RELIABLE_ORDERED, 0, ServerAddress, false); } int main(int argc, char** argv) { std::vector<sf::VideoMode> modes = sf::VideoMode::getFullscreenModes(); for (std::size_t i = 0; i < modes.size(); ++i) { sf::VideoMode mode = modes[i]; std::cout << "Mode #" << i << ": " << mode.width << "x" << mode.height << " - " << mode.bitsPerPixel << " bpp" << std::endl; } sf::RenderWindow window(modes[0], "Hearts", sf::Style::Fullscreen); WIDTH = modes[0].width; HEIGHT = modes[0].height; state = State::Playing; if (WIDTH == 3300) CARDS_IN_ROW = 20; else CARDS_IN_ROW = 12; RakNet::RakPeerInterface* peer = RakNet::RakPeerInterface::GetInstance(); LoadCardSprites(); PositionCards(); AddCardToHand(Suit::Spades, Rank::Queen); AddCardToHand(Suit::Hearts, Rank::Ace); AddCardToHand(Suit::Clubs, Rank::Seven); AddCardToHand(Suit::Spades, Rank::Five); AddCardToHand(Suit::Clubs, Rank::Leader); AddCardToHand(Suit::Diamonds, Rank::Jack); Card card; card.suit = Suit::Spades; card.rank = Rank::Jack; sf::Font font; font.loadFromFile("resources/fonts/LiberationMono-Regular.ttf"); sf::Text your_hand_text; your_hand_text.setFont(font); your_hand_text.setString("Your hand:"); your_hand_text.setCharacterSize(54); your_hand_text.setPosition(100, HEIGHT - 600); your_hand_text.setFillColor(sf::Color::White); sf::RectangleShape hand_divider; hand_divider.setSize(sf::Vector2f(WIDTH, 10.0f)); hand_divider.setPosition(0, HEIGHT - 500.0f); hand_divider.setFillColor(sf::Color::Black); sf::Texture background_tex; if (modes[0].width == 3300) background_tex.loadFromFile("resources/textures/card_table_background_3300_2100.jpg"); else if (modes[0].width == 2560) background_tex.loadFromFile("resources/textures/card_table_background_2560_1440.jpg"); else background_tex.loadFromFile("resources/textures/card_table_background_1920_1080.jpg"); sf::Sprite background; background.setTexture(background_tex); background.setPosition(0.0f, 0.0f); /* for (int suit = 0; suit < 2; ++suit) { for (int rank = 2; rank < 15; ++rank) { AddCardToHand((Suit)suit, (Rank)rank); } } */ UpdateHandPosition(); ImGui::SFML::Init(window); sf::Clock clock; while (window.isOpen()) { if (state >= State::Connecting) { HandlePackets(peer); } sf::Event event; while (window.pollEvent(event)) { ImGui::SFML::ProcessEvent(event); if (event.type == sf::Event::Closed) window.close(); if (event.type == sf::Event::KeyPressed) { if (event.key.code == sf::Keyboard::Escape) { RakNet::BitStream bsOut; bsOut.Write((RakNet::MessageID)ID_DISCONNECTION_NOTIFICATION); peer->Send(&bsOut, HIGH_PRIORITY, RELIABLE_ORDERED, 0, ServerAddress, false); window.close(); } else if (event.key.code == sf::Keyboard::P) { hand.pop_back(); } else if (event.key.code == sf::Keyboard::L) { for (int i = hand.size() - 1; i >= 0; --i) { if (hand[i]->selected) { hand.erase(hand.begin() + i); } } } } if (event.type == sf::Event::MouseButtonPressed && event.mouseButton.button == sf::Mouse::Left) { sf::Vector2i mouse_pos = sf::Mouse::getPosition(window); for (auto card : hand) { if (card->sprite.getGlobalBounds().contains((float)mouse_pos.x, (float)mouse_pos.y)) { card->selected = !card->selected; if (card->selected) card->sprite.setColor(sf::Color(200, 200, 200, 255)); else card->sprite.setColor(sf::Color(255, 255, 255, 255)); break; } } } } UpdateHandPosition(); if (state == State::Connecting) { static bool init = true; if (init) { init = false; RakNet::SocketDescriptor sd; peer->Startup(1, &sd, 1); printf("Starting the client.\n"); peer->Connect(server_ip.c_str(), SERVER_PORT, 0, 0); state = State::Lobby; } } ImGui::SFML::Update(window, clock.restart()); if (state == State::EnterName) { ImGui::SetNextWindowSize(ImVec2(400, 200)); ImGui::Begin("Window", NULL, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoScrollbar); ImGui::InputTextWithHint("", "Enter Name", name, IM_ARRAYSIZE(name)); if (ImGui::Button("Connect")) { state = State::Connecting; } ImGui::End(); } if (state == State::Lobby) { ImGui::SetNextWindowSize(ImVec2(400, 1000)); ImGui::Begin("Window", NULL, window_flags); ImGui::Text("Users in Lobby"); for (int i = 0; i < connected_players.size(); ++i) { ImGui::Text("%s", connected_players[i].c_str()); } if (ImGui::Button("Start")) { StartGame(peer); } ImGui::End(); } window.clear(sf::Color(120, 120, 120, 255)); window.draw(background); ImGui::SFML::Render(window); if (state == State::Playing) { for (auto card : hand) window.draw(card->sprite); window.draw(your_hand_text); window.draw(hand_divider); } window.display(); if (state == State::Exit) { break; } } RakNet::RakPeerInterface::DestroyInstance(peer); ImGui::SFML::Shutdown(); DeleteCards(); return 0; }
[ "Ihivatar@users.noreply.github.com" ]
Ihivatar@users.noreply.github.com