blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c10618277751f93eb69ac01bade69ed8289a457c | 1619898f4b137ba4d0026730168ff8fc3af98914 | /Tree/Interviewbit/post_order.cpp | 0648a6756870253605e8eb0bed0505805b9c8891 | [] | no_license | pcube99/codes | 92db1cbf134f7a8536b4627416d0cbe8bece21ca | b9cbb17fb370d225ebede57f1b88fc52bec25399 | refs/heads/master | 2022-12-29T05:07:53.522979 | 2020-09-23T11:12:32 | 2020-09-23T11:12:32 | 284,982,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | cpp | // https://www.interviewbit.com/problems/postorder-traversal/
//iterative
unordered_map<TreeNode*, int> mp;
vector<int> Solution::postorderTraversal(TreeNode* a) {
stack<TreeNode*> st;
vector<int> ans;
st.push(a);
while(!st.empty()) {
TreeNode* temp = st.top();
if(temp == NULL) {
st.pop();
continue;
}
if(mp[temp] == 0) {
st.push(temp->left);
} else if(mp[temp] == 1) {
st.push(temp->right);
} else if(mp[temp] == 2) {
ans.push_back(temp -> val);
} else {
st.pop();
}
mp[temp]++;
}
return ans;
}
//recursive
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
void postOrder(TreeNode *a, vector<int> &ans) {
if(a == NULL)
return;
postOrder(a -> left, ans);
postOrder(a -> right, ans);
ans.push_back(a->val);
}
vector<int> Solution::postorderTraversal(TreeNode* a) {\
vector<int> ans;
postOrder(a, ans);
return ans;
}
| [
"panch.pankil99@gmail.com"
] | panch.pankil99@gmail.com |
42463e819b251c929aff83847e67983db9b6d6e7 | 97aab27d4410969e589ae408b2724d0faa5039e2 | /SDK/EXES/INSTALL VISUAL 6 SDK/INPUT/6.0_980820/MSDN/VCPP/SMPL/MSDN98/98VSa/1036/SAMPLES/VC98/sdk/com/inole2/chap23/cosmo/precomp.cpp | 12bb06881ff447e773997c498f9f38ea6400b54d | [] | no_license | FutureWang123/dreamcast-docs | 82e4226cb1915f8772418373d5cb517713f858e2 | 58027aeb669a80aa783a6d2cdcd2d161fd50d359 | refs/heads/master | 2021-10-26T00:04:25.414629 | 2018-08-10T21:20:37 | 2018-08-10T21:20:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19 | cpp | #include "cosmo.h"
| [
"david.koch@9online.fr"
] | david.koch@9online.fr |
64f666160dff339629743a439f93947c1d001bdd | a107450f994d8a40fd31e77a3c457438a3942cd2 | /base/loader/src/loaded_file.cc | b774200beeabd993cc655b93ecd10d676d676d8b | [
"MIT",
"Apache-2.0"
] | permissive | PetrifiedPanda/motis | fb1e785e915314fb3010495bd9d4720a778eb4a0 | 0b641f8a2e5060f99f19a85253422f65e4406b46 | refs/heads/master | 2023-08-15T08:18:31.657428 | 2021-10-21T09:58:45 | 2021-10-21T09:58:45 | 362,524,499 | 0 | 0 | MIT | 2021-04-28T15:46:39 | 2021-04-28T15:46:38 | null | UTF-8 | C++ | false | false | 2,705 | cc | #include "motis/loader/loaded_file.h"
#include "utl/verify.h"
namespace motis::loader {
// Inplace version of
// https://stackoverflow.com/a/23690194
void convert_utf8_to_iso_8859_1(std::string& s) {
auto code_point = unsigned{};
auto out = &s[0];
auto in = reinterpret_cast<unsigned char const*>(&s[0]);
auto to_go = s.size();
while (to_go != 0) {
auto const ch = static_cast<unsigned char>(*in);
if (ch <= 0x7f) {
code_point = ch;
} else if (ch <= 0xbf) {
code_point = (code_point << 6U) | (ch & 0x3fU);
} else if (ch <= 0xdf) {
code_point = ch & 0x1fU;
} else if (ch <= 0xef) {
code_point = ch & 0x0fU;
} else {
code_point = ch & 0x07U;
}
++in;
if (((*in & 0xc0U) != 0x80U) && (code_point <= 0x10ffff)) {
utl::verify(code_point <= 255, "invalid unicode");
*out = static_cast<char>(code_point);
++out;
}
--to_go;
}
s.resize(out - &s[0]);
}
loaded_file::loaded_file() = default;
loaded_file::loaded_file(char const* filename, char const* str,
bool convert_utf8)
: name_(filename), buf_(str) {
if (convert_utf8) {
convert_utf8_to_iso_8859_1(buf_);
}
}
loaded_file::loaded_file(char const* filename, std::string&& buf,
bool convert_utf8)
: name_(filename), buf_(std::move(buf)) {
if (convert_utf8) {
convert_utf8_to_iso_8859_1(buf_);
}
}
loaded_file::loaded_file(boost::filesystem::path const& p, bool convert_utf8)
: name_(p.filename().string()),
buf_(utl::file(p.string().c_str(), "r").content_str()) {
if (convert_utf8) {
convert_utf8_to_iso_8859_1(buf_);
}
}
loaded_file::loaded_file(loaded_file&& o) noexcept {
name_ = std::move(o.name_);
buf_ = std::move(o.buf_);
}
loaded_file::~loaded_file() = default;
loaded_file& loaded_file::operator=(loaded_file&& o) noexcept {
name_ = std::move(o.name_);
buf_ = std::move(o.buf_);
return *this;
}
char const* loaded_file::name() const { return name_.c_str(); }
utl::cstr loaded_file::content() const {
auto const offset = contains_utf8_bom() ? 3 : 0;
return {reinterpret_cast<char const*>(buf_.data() + offset),
buf_.size() - offset};
}
bool loaded_file::empty() const { return buf_.empty(); }
bool loaded_file::contains_utf8_bom() const {
auto const data =
reinterpret_cast<unsigned char const*>(buf_.data()); // NOLINT
return buf_.size() >= 3 &&
(static_cast<int>(data[0]) == 239 &&
static_cast<int>(data[1]) == 187 && static_cast<int>(data[2]) == 191);
}
} // namespace motis::loader | [
"noreply@github.com"
] | noreply@github.com |
1d87b5db4abdce22de87f0fe3a8018a638c9cf2c | cdaf7d24b362b9fa4b0b6dbbb54a21af8d7ee066 | /tb/vip_packet.h | b46b493e235b402b0e05a2daa92eb2eae6c229a7 | [] | no_license | wehu/leo-template | 9014f76d15182f1c53b80a1697d0cd21eaf3938e | 3aa2679bde1d302d59c5e5e70ca8d4b1c2597a05 | refs/heads/master | 2021-04-15T08:25:14.008260 | 2018-04-12T15:53:32 | 2018-04-12T15:53:32 | 125,814,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,066 | h | //----------------------------------------------------------------------
// Copyright 2012-2014 NXP B.V.
// 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.
//----------------------------------------------------------------------
#ifndef VIP_PACKET_H
#define VIP_PACKET_H
#include <systemc>
#include <tlm.h>
#include <uvm>
/////////////////
class vip_packet : public uvm::uvm_sequence_item
{
public:
UVM_OBJECT_UTILS(vip_packet);
vip_packet(const std::string& name = "packet") { data = 17; }
vip_packet(int i) { data = i; }
virtual ~vip_packet() { }
virtual void do_print(const uvm::uvm_printer& printer)
{
printer.print_field_int("data", data);
}
virtual void do_pack(uvm::uvm_packer& p) const
{
p << data;
}
virtual void do_unpack(uvm::uvm_packer& p)
{
p >> data;
}
virtual void do_copy(const uvm::uvm_object& rhs)
{
const vip_packet* drhs = dynamic_cast<const vip_packet*>(&rhs);
if (!drhs) { std::cerr << "ERROR in do_copy" << std::endl; return; }
data = drhs->data;
}
virtual bool do_compare(const uvm_object& rhs) const
{
const vip_packet* drhs = dynamic_cast<const vip_packet*>(&rhs);
if (!drhs) { std::cerr << "ERROR in do_compare" << std::endl; return true; }
if (!(data == drhs->data)) return false;
return true;
}
std::string convert2string() const
{
std::ostringstream str;
str << " data: " << data;
return str.str();
}
public:
int data;
};
#endif /* VIP_PACKET_H_ */
| [
"wei.hu@transwarp.io"
] | wei.hu@transwarp.io |
991750bd452112f0f339bda760585e21723cc206 | 51fdd27bfe20e60dd726b04850a881be110002e3 | /luogu/2852/2852.cpp | 77f2aae7a89e406eaeeb68c91e04da115900230f | [] | no_license | MintSummer/TYC | 0eb4d04851a6ecc8e2d83475a6f16c6d1c6d8f9b | 23700d4d857d0729b2db3b1ef9afc21b040aecbd | refs/heads/master | 2020-04-11T16:13:18.035139 | 2019-03-10T15:18:53 | 2019-03-10T15:18:53 | 161,916,623 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,110 | cpp | #include<bits/stdc++.h>
using namespace std;
const int MAXN=20010;
int n,k,m=20000,a[MAXN],sa[MAXN],w[MAXN],wv[MAXN],x[MAXN],y[MAXN];
int rank[MAXN],height[MAXN];
int h,t,ans,q[MAXN];
//Ìý˵²»ÓÃÀëÉ¢»¯¡¡
int read()
{
int x=0,f=0;
char ch=getchar();
while(ch<'0'||ch>'9') f|=(ch=='-'),ch=getchar();
while(ch>='0'&&ch<='9') x=x*10+ch-'0',ch=getchar();
return f?-x:x;
}
bool cmp(int i,int j,int len)
{
return y[i]==y[j]&&y[i+len]==y[j+len];
}
void get_sa(int n)
{
for(int i=0;i<m;i++) w[i]=0;
for(int i=0;i<n;i++) w[x[i]=a[i]]++;
for(int i=1;i<m;i++) w[i]+=w[i-1];
for(int i=n-1;i>=0;i--) sa[--w[x[i]]]=i;
for(int j=1;j<n;j<<=1)
{
int p=0;
for(int i=n-j;i<n;i++) y[p++]=i;
for(int i=0;i<n;i++) if(sa[i]>=j) y[p++]=sa[i]-j;
for(int i=0;i<n;i++) wv[i]=x[y[i]];
for(int i=0;i<m;i++) w[i]=0;
for(int i=0;i<n;i++) w[wv[i]]++;
for(int i=1;i<m;i++) w[i]+=w[i-1];
for(int i=n-1;i>=0;i--) sa[--w[wv[i]]]=y[i];
swap(x,y);
p=1,x[sa[0]]=0;
for(int i=1;i<n;i++)
x[sa[i]]=cmp(sa[i-1],sa[i],j)?p-1:p++;
if(p>=n) break;
m=p;
}
}
void get_height(int n)
{
for(int i=0;i<=n;i++) rank[sa[i]]=i;
int i,j,k;
for(i=k=0;i<n;height[rank[i++]]=k)
for(k?k--:0,j=sa[rank[i]-1];a[i+k]==a[j+k];k++);
}
bool check(int x)
{
int i=1;
while(true)
{
for(;i<=n&&height[i]<x;i++);
if(i>n) break;
int cnt=1;
for(;i<=n&&height[i]>=x;cnt++,i++);
if(cnt>=k) return true;
}
return false;
}
int main()
{
//freopen("2852.in","r",stdin);
//freopen("TYC.out","w",stdout);
n=read(),k=read();
for(int i=0;i<n;i++) a[i]=read();
a[n]=0;
get_sa(n+1);
get_height(n);
int lt=1,rt=n,mid;
while(lt<=rt)
{
int mid=(lt+rt)>>1;
if(check(mid)) ans=mid,lt=mid+1;
else rt=mid-1;
}
printf("%d",ans);
return 0;
}
| [
"tangyichen0902@126.com"
] | tangyichen0902@126.com |
d101da79e9f0c3615d1683ecee858cbafb7852b2 | 341fbbaa6d7e9b8cf5beba68bde5c8c1090cf3ef | /ACM 模板代码/f-求A^B的约数之和/f-求A^B的约数之和/main.cpp | a6ffd0cc1730d50aa54da70d38e7a7ec8880c7e4 | [] | no_license | webturing/ACM-1 | 0ceb79e5439a95315234ae1e8bee93b353305459 | 7fcf14d1ff2ae42b001139d04bde01378fb4f5c4 | refs/heads/master | 2020-03-19T17:33:37.098619 | 2018-06-09T17:07:14 | 2018-06-09T17:07:14 | 136,766,339 | 3 | 0 | null | 2018-06-09T23:59:30 | 2018-06-09T23:59:30 | null | UTF-8 | C++ | false | false | 2,376 | cpp | //
// main.cpp
// f-求A^B的约数之和
//
// Created by ZYJ on 16/7/7.
// Copyright © 2016年 ZYJ. All rights reserved.
//
#include <iostream>
using namespace std;
const int MAXN = 10000;
int prime[MAXN + 1];
// 获取素数
void getPrime()
{
memset(prime, 0, sizeof(prime));
for (int i = 2; i <= MAXN; i++)
{
if (!prime[i])
{
prime[++prime[0]] = i;
}
for (int j = 1; j <= prime[0] && prime[j] <= MAXN / i; j++)
{
prime[prime[j] * i] = 1;
if (i % prime[j] == 0)
{
break;
}
}
}
return ;
}
long long factor[100][2];
int fatCnt;
// 合数分解
int getFactors(long long x)
{
fatCnt = 0;
long long tmp = x;
for (int i = 1; prime[i] <= tmp / prime[i]; i++)
{
factor[fatCnt][1] = 0;
if (tmp % prime[i] == 0)
{
factor[fatCnt][0] = prime[i];
while (tmp % prime[i] == 0)
{
factor[fatCnt][1]++;
tmp /= prime[i];
}
fatCnt++;
}
}
if (tmp != 1)
{
factor[fatCnt][0] = tmp;
factor[fatCnt++][1] = 1;
}
return fatCnt;
}
/*
* 求A^B的约数之和对MOD取模
* 需要素数筛选和合数分解的算法,需要先调用getPrime();
* 1+p+p^2+p^3+...+p^n
*/
const int MOD = 1000000;
long long pow_m(long long a, long long n)
{
long long ret = 1;
long long tmp = a % MOD;
while(n)
{
if (n & 1)
{
ret = (ret * tmp) % MOD;
}
tmp = tmp * tmp % MOD;
n >>= 1;
}
return ret;
}
// 计算1+p+p^2+...+p^n
long long sum(long long p, long long n)
{
if (p == 0)
{
return 0;
}
if (n == 0)
{
return 1;
}
if (n & 1)
{
return ((1 + pow_m(p, n / 2 + 1)) % MOD * sum(p, n / 2) % MOD) % MOD;
}
else
{
return ((1 + pow_m(p, n / 2 + 1)) % MOD * sum(p, n / 2 - 1) + pow_m(p, n / 2) % MOD) % MOD;
}
}
// 返回A^B的约数之和%MOD
long long solve(long long A, long long B)
{
getFactors(A);
long long ans = 1;
for (int i = 0; i < fatCnt; i++)
{
ans *= sum(factor[i][0], B * factor[i][1]) % MOD;
ans %= MOD;
}
return ans;
}
int main()
{
cout << 1;
return 0;
}
| [
"1179754741@qq.com"
] | 1179754741@qq.com |
aad373e34f734c27ff09d074fc5333d64e336f0b | d460fdbc7dfb05d76308cf0ac26bd0ebd2ba8382 | /tool/dot-pointer-cfg/RunAnalysis.cpp | 89b57f88dcf2a77a472bd0ddb66bd19170eb8cba | [
"MIT"
] | permissive | grievejia/tpa | 5032f1db8fae037227a7efd003abd5d820cf5069 | 8a7aa4c7d41c266fcf3a5e2011ff324bcddf5816 | refs/heads/master | 2020-04-09T11:11:18.898040 | 2016-03-23T20:41:30 | 2016-03-23T20:41:30 | 30,267,261 | 22 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 753 | cpp | #include "RunAnalysis.h"
#include "PointerAnalysis/FrontEnd/SemiSparseProgramBuilder.h"
#include "Util/IO/PointerAnalysis/WriteDotFile.h"
#include <llvm/IR/Function.h>
#include <llvm/Support/raw_ostream.h>
void runAnalysisOnModule(const llvm::Module& module, const llvm::StringRef& dirName, bool writeFile)
{
tpa::SemiSparseProgramBuilder builder;
auto ssProg = builder.runOnModule(module);
for (auto const& cfg: ssProg)
{
auto funName = cfg.getFunction().getName();
llvm::outs() << "Processing PointerCFG for function " << funName << "...\n";
if (writeFile)
{
auto fileName = dirName + funName + ".dot";
llvm::outs() << "\tWriting output file " << fileName << "\n";
util::io::writeDotFile(fileName.str().data(), cfg);
}
}
} | [
"grievejia@gmail.com"
] | grievejia@gmail.com |
68b3b955b57678da82b9ec4b3f0cfe939026240d | 17fdc38df32efbd873302f699889f8b3e93690ff | /ios/versioned-react-native/ABI18_0_0/ReactCommon/cxxReactABI18_0_0/ABI18_0_0JSBigString.h | 3843fce7418fbb5e91136c55accad377f26df47c | [
"MIT",
"BSD-3-Clause",
"CC-BY-4.0",
"Apache-2.0"
] | permissive | mohebifar/expo | a83d51a1e2f886375aa6fb5c535719891dc3efdd | 083f2254c65e71385054172e147765edfb676fe4 | refs/heads/master | 2021-01-15T21:24:31.714042 | 2017-08-09T23:02:36 | 2017-08-09T23:02:36 | 99,859,373 | 2 | 0 | null | 2017-08-09T22:58:22 | 2017-08-09T22:58:22 | null | UTF-8 | C++ | false | false | 4,212 | h | // Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
#include <fcntl.h>
#include <sys/mman.h>
#include <folly/Exception.h>
#ifndef RN_EXPORT
#define RN_EXPORT __attribute__((visibility("default")))
#endif
namespace facebook {
namespace ReactABI18_0_0 {
// JSExecutor functions sometimes take large strings, on the order of
// megabytes. Copying these can be expensive. Introducing a
// move-only, non-CopyConstructible type will let the compiler ensure
// that no copies occur. folly::MoveWrapper should be used when a
// large string needs to be curried into a std::function<>, which must
// by CopyConstructible.
class JSBigString {
public:
JSBigString() = default;
// Not copyable
JSBigString(const JSBigString&) = delete;
JSBigString& operator=(const JSBigString&) = delete;
virtual ~JSBigString() {}
virtual bool isAscii() const = 0;
// This needs to be a \0 terminated string
virtual const char* c_str() const = 0;
// Length of the c_str without the NULL byte.
virtual size_t size() const = 0;
};
// Concrete JSBigString implementation which holds a std::string
// instance.
class JSBigStdString : public JSBigString {
public:
JSBigStdString(std::string str, bool isAscii=false)
: m_isAscii(isAscii)
, m_str(std::move(str)) {}
bool isAscii() const override {
return m_isAscii;
}
const char* c_str() const override {
return m_str.c_str();
}
size_t size() const override {
return m_str.size();
}
private:
bool m_isAscii;
std::string m_str;
};
// Concrete JSBigString implementation which holds a heap-allocated
// buffer, and provides an accessor for writing to it. This can be
// used to construct a JSBigString in place, such as by reading from a
// file.
class JSBigBufferString : public JSBigString {
public:
JSBigBufferString(size_t size)
: m_data(new char[size + 1])
, m_size(size) {
// Guarantee nul-termination. The caller is responsible for
// filling in the rest of m_data.
m_data[m_size] = '\0';
}
~JSBigBufferString() {
delete[] m_data;
}
bool isAscii() const override {
return true;
}
const char* c_str() const override {
return m_data;
}
size_t size() const override {
return m_size;
}
char* data() {
return m_data;
}
private:
char* m_data;
size_t m_size;
};
// JSBigString interface implemented by a file-backed mmap region.
class RN_EXPORT JSBigFileString : public JSBigString {
public:
JSBigFileString(int fd, size_t size, off_t offset = 0)
: m_fd {-1}
, m_data {nullptr}
{
folly::checkUnixError(
m_fd = dup(fd),
"Could not duplicate file descriptor");
// Offsets given to mmap must be page aligend. We abstract away that
// restriction by sending a page aligned offset to mmap, and keeping track
// of the offset within the page that we must alter the mmap pointer by to
// get the final desired offset.
auto ps = getpagesize();
auto d = lldiv(offset, ps);
m_mapOff = d.quot;
m_pageOff = d.rem;
m_size = size + m_pageOff;
}
~JSBigFileString() {
if (m_data) {
munmap((void *)m_data, m_size);
}
close(m_fd);
}
bool isAscii() const override {
return true;
}
const char *c_str() const override {
if (!m_data) {
m_data = (const char *)mmap(0, m_size, PROT_READ, MAP_SHARED, m_fd, m_mapOff);
CHECK(m_data != MAP_FAILED)
<< " fd: " << m_fd
<< " size: " << m_size
<< " offset: " << m_mapOff
<< " error: " << std::strerror(errno);
}
return m_data + m_pageOff;
}
size_t size() const override {
return m_size - m_pageOff;
}
int fd() const {
return m_fd;
}
static std::unique_ptr<const JSBigFileString> fromPath(const std::string& sourceURL);
private:
int m_fd; // The file descriptor being mmaped
size_t m_size; // The size of the mmaped region
size_t m_pageOff; // The offset in the mmaped region to the data.
off_t m_mapOff; // The offset in the file to the mmaped region.
mutable const char *m_data; // Pointer to the mmaped region.
};
} }
| [
"aurora@exp.host"
] | aurora@exp.host |
5dc418ee08c11d2ffc881d1973a4eedcea464539 | cfd33821398cede8c2aadd847d59b89d72d7e0a6 | /Import/src/miranda.cpp | 2c056f711595d381636130030cfa01fbfbc60d4d | [] | no_license | miranda-ng/deprecated | 1c922e502d7ec35371a454131b9e5fa019e241fd | 137526f743d2e8237845b7faea992989a7e8fbd7 | refs/heads/master | 2023-01-28T20:57:12.499530 | 2023-01-13T23:32:54 | 2023-01-13T23:32:54 | 71,989,840 | 3 | 3 | null | 2017-08-22T18:52:34 | 2016-10-26T09:53:01 | C++ | UTF-8 | C++ | false | false | 10,814 | cpp | /*
Import plugin for Miranda NG
Copyright (C) 2012-14 George Hazan
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "import.h"
time_t dwSinceDate = 0;
TCHAR importFile[MAX_PATH];
//=======================================================================================
// Profile selection dialog
static void SearchForLists(HWND hwndDlg, const TCHAR *mirandaPath, const TCHAR *mirandaProf)
{
// find in Miranda profile subfolders
TCHAR searchspec[MAX_PATH];
mir_sntprintf(searchspec, SIZEOF(searchspec), _T("%s\\*.*"), mirandaPath);
WIN32_FIND_DATA fd;
HANDLE hFind = FindFirstFile(searchspec, &fd);
if (hFind == INVALID_HANDLE_VALUE)
return;
do {
// find all subfolders except "." and ".."
if (!(fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) || !_tcscmp(fd.cFileName, _T(".")) || !_tcscmp(fd.cFileName, _T("..")))
continue;
// skip the current profile too
if (mirandaProf != NULL && !_tcsicmp(mirandaProf, fd.cFileName))
continue;
TCHAR buf[MAX_PATH], profile[MAX_PATH];
mir_sntprintf(buf, SIZEOF(buf), _T("%s\\%s\\%s.dat"), mirandaPath, fd.cFileName, fd.cFileName);
if (_taccess(buf, 0) == 0) {
mir_sntprintf(profile, SIZEOF(profile), _T("%s.dat"), fd.cFileName);
int i = SendDlgItemMessage(hwndDlg, IDC_LIST, LB_ADDSTRING, 0, (LPARAM)profile);
SendDlgItemMessage(hwndDlg, IDC_LIST, LB_SETITEMDATA, i, (LPARAM)mir_tstrdup(buf));
}
}
while (FindNextFile(hFind, &fd));
FindClose(hFind);
}
INT_PTR CALLBACK MirandaPageProc(HWND hwndDlg,UINT message,WPARAM wParam,LPARAM lParam)
{
switch(message) {
case WM_INITDIALOG:
TranslateDialogDefault(hwndDlg);
{
VARST pfd(_T("%miranda_path%\\Profiles"));
VARST pfd1(_T("%miranda_path%"));
VARST pfd2(_T("%miranda_profilesdir%"));
VARST pfn(_T("%miranda_profilename%"));
SearchForLists(hwndDlg, pfd2, pfn);
SearchForLists(hwndDlg, pfd1, NULL);
if (mir_tstrcmpi(pfd, pfd2))
SearchForLists(hwndDlg, pfd, NULL);
}
SendDlgItemMessage(hwndDlg, IDC_LIST, LB_SETCURSEL, 0, 0);
SendMessage(hwndDlg, WM_COMMAND, MAKELONG(IDC_LIST, LBN_SELCHANGE), 0);
return TRUE;
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDC_BACK:
PostMessage(GetParent(hwndDlg), WIZM_GOTOPAGE, IDD_WIZARDINTRO, (LPARAM)WizardIntroPageProc);
break;
case IDOK:
TCHAR filename[MAX_PATH];
GetDlgItemText(hwndDlg, IDC_FILENAME, filename, SIZEOF(filename));
if (_taccess(filename, 4)) {
MessageBox(hwndDlg, TranslateT("The given file does not exist. Please check that you have entered the name correctly."), TranslateT("Miranda Import"), MB_OK);
break;
}
mir_tstrcpy(importFile, filename);
PostMessage(GetParent(hwndDlg), WIZM_GOTOPAGE, IDD_OPTIONS, (LPARAM)MirandaOptionsPageProc);
break;
case IDCANCEL:
PostMessage(GetParent(hwndDlg), WM_CLOSE, 0, 0);
break;
case IDC_LIST:
if (HIWORD(wParam) == LBN_SELCHANGE) {
int sel = SendDlgItemMessage(hwndDlg, IDC_LIST, LB_GETCURSEL, 0, 0);
if (sel != LB_ERR)
SetDlgItemText(hwndDlg, IDC_FILENAME, (TCHAR*)SendDlgItemMessage(hwndDlg, IDC_LIST, LB_GETITEMDATA, sel, 0));
}
break;
case IDC_OTHER:
ptrT pfd(Utils_ReplaceVarsT(_T("%miranda_profilesdir%")));
TCHAR str[MAX_PATH], text[256];
GetDlgItemText(hwndDlg, IDC_FILENAME, str, SIZEOF(str));
mir_sntprintf(text, SIZEOF(text), _T("%s (*.dat, *.bak)%c*.dat;*.bak%c%s (*.*)%c*.*%c%c"), TranslateT("Miranda NG database"), 0, 0, TranslateT("All Files"), 0, 0, 0);
OPENFILENAME ofn = { 0 };
ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400;
ofn.hwndOwner = hwndDlg;
ofn.lpstrFilter = text;
ofn.lpstrDefExt = _T("dat");
ofn.lpstrFile = str;
ofn.Flags = OFN_FILEMUSTEXIST | OFN_EXPLORER | OFN_NOCHANGEDIR | OFN_DONTADDTORECENT;
ofn.nMaxFile = SIZEOF(str);
ofn.lpstrInitialDir = pfd;
if (GetOpenFileName(&ofn))
SetDlgItemText(hwndDlg, IDC_FILENAME, str);
}
break;
case WM_DESTROY:
for (int i = SendDlgItemMessage(hwndDlg, IDC_LIST, LB_GETCOUNT, 0, 0) - 1; i >= 0; i--)
mir_free((char*)SendDlgItemMessage(hwndDlg, IDC_LIST, LB_GETITEMDATA, i, 0));
break;
}
return FALSE;
}
//=======================================================================================
// Import options dialog
INT_PTR CALLBACK MirandaOptionsPageProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message) {
case WM_INITDIALOG:
TranslateDialogDefault(hwndDlg);
EnableWindow(GetDlgItem(hwndDlg, IDC_RADIO_ALL), TRUE);
EnableWindow(GetDlgItem(hwndDlg, IDC_STATIC_ALL), TRUE);
EnableWindow(GetDlgItem(hwndDlg, IDC_RADIO_CONTACTS), TRUE);
EnableWindow(GetDlgItem(hwndDlg, IDC_STATIC_CONTACTS), TRUE);
EnableWindow(GetDlgItem(hwndDlg, IDC_RADIO_CUSTOM), TRUE);
EnableWindow(GetDlgItem(hwndDlg, IDC_STATIC_CUSTOM), TRUE);
CheckDlgButton(hwndDlg, IDC_RADIO_ALL, BST_UNCHECKED);
return TRUE;
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDC_BACK:
PostMessage(GetParent(hwndDlg), WIZM_GOTOPAGE, IDD_MIRANDADB, (LPARAM)MirandaPageProc);
break;
case IDOK:
if (IsDlgButtonChecked(hwndDlg, IDC_RADIO_ALL)) {
nImportOption = IMPORT_ALL;
nCustomOptions = 0;//IOPT_MSGSENT|IOPT_MSGRECV|IOPT_URLSENT|IOPT_URLRECV;
PostMessage(GetParent(hwndDlg), WIZM_GOTOPAGE, IDD_PROGRESS, (LPARAM)ProgressPageProc);
break;
}
if (IsDlgButtonChecked(hwndDlg, IDC_RADIO_CONTACTS)) {
nImportOption = IMPORT_CONTACTS;
nCustomOptions = 0;
PostMessage(GetParent(hwndDlg), WIZM_GOTOPAGE, IDD_PROGRESS, (LPARAM)ProgressPageProc);
break;
}
if (IsDlgButtonChecked(hwndDlg, IDC_RADIO_CUSTOM)) {
PostMessage(GetParent(hwndDlg), WIZM_GOTOPAGE, IDD_ADVOPTIONS, (LPARAM)MirandaAdvOptionsPageProc);
break;
}
break;
case IDCANCEL:
PostMessage(GetParent(hwndDlg), WM_CLOSE, 0, 0);
break;
}
break;
}
return FALSE;
}
//=======================================================================================
// Advanced options dialog
static const UINT InControls[] = { IDC_IN_MSG, IDC_IN_URL, IDC_IN_FT, IDC_IN_OTHER };
static const UINT OutControls[] = { IDC_OUT_MSG, IDC_OUT_URL, IDC_OUT_FT, IDC_OUT_OTHER };
static const UINT SysControls[] = { IDC_CONTACTS, IDC_SYSTEM };
INT_PTR CALLBACK MirandaAdvOptionsPageProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message) {
case WM_INITDIALOG:
TranslateDialogDefault(hwndDlg);
{
dwSinceDate = db_get_dw(NULL, IMPORT_MODULE, "ImportSinceTS", time(NULL));
struct tm *TM = localtime(&dwSinceDate);
struct _SYSTEMTIME ST = { 0 };
ST.wYear = TM->tm_year + 1900;
ST.wMonth = TM->tm_mon + 1;
ST.wDay = TM->tm_mday;
DateTime_SetSystemtime(GetDlgItem(hwndDlg, IDC_DATETIMEPICKER), GDT_VALID, &ST);
}
return TRUE;
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDC_BACK:
PostMessage(GetParent(hwndDlg), WIZM_GOTOPAGE, IDD_OPTIONS, (LPARAM)MirandaOptionsPageProc);
break;
case IDOK:
nImportOption = IMPORT_CUSTOM;
nCustomOptions = 0;
if (IsDlgButtonChecked(hwndDlg, IDC_CONTACTS))
nCustomOptions |= IOPT_CONTACTS | IOPT_GROUPS;
if (IsDlgButtonChecked(hwndDlg, IDC_SYSTEM))
nCustomOptions |= IOPT_SYSTEM;
// incoming
if (IsDlgButtonChecked(hwndDlg, IDC_IN_MSG))
nCustomOptions |= IOPT_MSGRECV;
if (IsDlgButtonChecked(hwndDlg, IDC_IN_URL))
nCustomOptions |= IOPT_URLRECV;
if (IsDlgButtonChecked(hwndDlg, IDC_IN_FT))
nCustomOptions |= IOPT_FILERECV;
if (IsDlgButtonChecked(hwndDlg, IDC_IN_OTHER))
nCustomOptions |= IOPT_OTHERRECV;
// outgoing
if (IsDlgButtonChecked(hwndDlg, IDC_OUT_MSG))
nCustomOptions |= IOPT_MSGSENT;
if (IsDlgButtonChecked(hwndDlg, IDC_OUT_URL))
nCustomOptions |= IOPT_URLSENT;
if (IsDlgButtonChecked(hwndDlg, IDC_OUT_FT))
nCustomOptions |= IOPT_FILESENT;
if (IsDlgButtonChecked(hwndDlg, IDC_OUT_OTHER))
nCustomOptions |= IOPT_OTHERSENT;
// since date
dwSinceDate = 0;
if (IsDlgButtonChecked(hwndDlg, IDC_SINCE)) {
struct _SYSTEMTIME ST = { 0 };
if (DateTime_GetSystemtime(GetDlgItem(hwndDlg, IDC_DATETIMEPICKER), &ST) == GDT_VALID) {
struct tm TM = { 0 };
TM.tm_mday = ST.wDay;
TM.tm_mon = ST.wMonth - 1;
TM.tm_year = ST.wYear - 1900;
dwSinceDate = mktime(&TM);
db_set_dw(NULL, IMPORT_MODULE, "ImportSinceTS", dwSinceDate);
}
}
if (nCustomOptions)
PostMessage(GetParent(hwndDlg), WIZM_GOTOPAGE, IDD_PROGRESS, (LPARAM)ProgressPageProc);
break;
case IDCANCEL:
PostMessage(GetParent(hwndDlg), WM_CLOSE, 0, 0);
break;
case IDC_SINCE:
EnableWindow(GetDlgItem(hwndDlg, IDC_DATETIMEPICKER), IsDlgButtonChecked(hwndDlg, IDC_SINCE));
break;
if (HIWORD(wParam) != STN_CLICKED)
break;
case IDC_ALL:
case IDC_INCOMING:
case IDC_OUTGOING:
if (LOWORD(wParam) == IDC_ALL)
for (int i = 0; i < sizeof(SysControls) / sizeof(SysControls[0]); i++)
CheckDlgButton(hwndDlg, SysControls[i], !IsDlgButtonChecked(hwndDlg, SysControls[i]));
if (LOWORD(wParam) != IDC_OUTGOING)
for (int i = 0; i < sizeof(InControls) / sizeof(InControls[0]); i++)
CheckDlgButton(hwndDlg, InControls[i], !IsDlgButtonChecked(hwndDlg, InControls[i]));
if (LOWORD(wParam) != IDC_INCOMING)
for (int i = 0; i < sizeof(OutControls) / sizeof(OutControls[0]); i++)
CheckDlgButton(hwndDlg, OutControls[i], !IsDlgButtonChecked(hwndDlg, OutControls[i]));
break;
case IDC_MSG:
CheckDlgButton(hwndDlg, IDC_IN_MSG, !IsDlgButtonChecked(hwndDlg, IDC_IN_MSG));
CheckDlgButton(hwndDlg, IDC_OUT_MSG, !IsDlgButtonChecked(hwndDlg, IDC_OUT_MSG));
break;
case IDC_URL:
CheckDlgButton(hwndDlg, IDC_IN_URL, !IsDlgButtonChecked(hwndDlg, IDC_IN_URL));
CheckDlgButton(hwndDlg, IDC_OUT_URL, !IsDlgButtonChecked(hwndDlg, IDC_OUT_URL));
break;
case IDC_FT:
CheckDlgButton(hwndDlg, IDC_IN_FT, !IsDlgButtonChecked(hwndDlg, IDC_IN_FT));
CheckDlgButton(hwndDlg, IDC_OUT_FT, !IsDlgButtonChecked(hwndDlg, IDC_OUT_FT));
break;
case IDC_OTHER:
CheckDlgButton(hwndDlg, IDC_IN_OTHER, !IsDlgButtonChecked(hwndDlg, IDC_IN_OTHER));
CheckDlgButton(hwndDlg, IDC_OUT_OTHER, !IsDlgButtonChecked(hwndDlg, IDC_OUT_OTHER));
break;
}
break;
}
return FALSE;
}
| [
"watcherhd@gmail.com"
] | watcherhd@gmail.com |
f14eeaa6e2c9439cbee6c12ce6b89bb50642387a | 14aceee08ee4f928adcb09a77abae33b473416e2 | /hail/src/main/c/NativeModule.cpp | de971dc7f3738dac469d27b83fc319498955c649 | [
"MIT"
] | permissive | liuxiaodong/hail | 4d1caed25cd31d7a1d81caaee0b2dd4220458a1a | 1c6dbf20333aa58c8cf0a5a55bd796e928493b1f | refs/heads/master | 2020-04-02T05:47:10.501703 | 2018-10-21T21:35:43 | 2018-10-21T21:35:43 | 154,104,914 | 1 | 0 | MIT | 2018-10-22T07:46:09 | 2018-10-22T07:46:01 | null | UTF-8 | C++ | false | false | 16,184 | cpp | #include "hail/NativeModule.h"
#include "hail/NativeObj.h"
#include "hail/NativePtr.h"
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <jni.h>
#include <dlfcn.h>
#include <fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <unistd.h>
#include <atomic>
#include <condition_variable>
#include <map>
#include <memory>
#include <mutex>
#include <iostream>
#include <queue>
#include <sstream>
#include <string>
#include <unordered_map>
#include <vector>
namespace hail {
namespace {
// Top-level NativeModule methods lock this mutex. Constructors, and helper methods
// with names ending in "_locked", must be called only while holding the mutex.
//
// That makes everything single-threaded.
std::mutex big_mutex;
// A simple way to get a hash of two strings, take 80bits,
// and produce a 20byte string of hex digits. We also sprinkle
// in some "salt" from a checksum of a tar of all header files, so
// that any change to header files will force recompilation.
//
// The shorter string (corresponding to options), may have only a
// few distinct values, so we need to mix it up with the longer
// string in various ways.
std::string even_bytes(const std::string& a) {
std::stringstream ss;
size_t len = a.length();
for (size_t j = 0; j < len; j += 2) {
ss << a[j];
}
return ss.str();
}
std::string hash_two_strings(const std::string& a, const std::string& b) {
bool a_shorter = (a.length() < b.length());
const std::string* shorter = (a_shorter ? &a : &b);
const std::string* longer = (a_shorter ? &b : &a);
uint64_t hashA = std::hash<std::string>()(*longer);
uint64_t hashB = std::hash<std::string>()(*shorter + even_bytes(*longer));
if (sizeof(size_t) < 8) {
// On a 32bit machine we need to work harder to get 80 bits
uint64_t hashC = std::hash<std::string>()(*longer + "SmallChangeForThirdHash");
hashA += (hashC << 32);
}
if (a_shorter) hashA ^= 0xff; // order of strings should change result
hashA ^= ALL_HEADER_CKSUM; // checksum from all header files
hashA ^= (0x3ac5*hashB); // mix low bits of hashB into hashA
hashB &= 0xffff;
char buf[128];
char* out = buf;
for (int pos = 80; (pos -= 4) >= 0;) {
int64_t nibble = ((pos >= 64) ? (hashB >> (pos-64)) : (hashA >> pos)) & 0xf;
*out++ = ((nibble < 10) ? nibble+'0' : nibble-10+'a');
}
*out = 0;
return std::string(buf);
}
bool file_exists(const std::string& name) {
struct stat st;
int rc = ::stat(name.c_str(), &st);
return (rc == 0);
}
std::string read_file_as_string(const std::string& name) {
FILE* f = fopen(name.c_str(), "r");
if (!f) return std::string("");
std::stringstream ss;
for (;;) {
int c = fgetc(f);
if (c == EOF) break;
ss << (char)c;
}
fclose(f);
return ss.str();
}
std::string get_module_dir() {
// This gives us a distinct temp directory for each process, so that
// we can manage synchronization of threads accessing files in
// the temp directory using only the in-memory big_mutex, rather than
// dealing with the complexity of file locking.
char buf[512];
strcpy(buf, "/tmp/hail_XXXXXX");
return ::mkdtemp(buf);
}
class ModuleConfig {
public:
bool is_darwin_;
std::string java_md_;
std::string ext_cpp_;
std::string ext_lib_;
std::string ext_mak_;
std::string module_dir_;
public:
ModuleConfig() :
#if defined(__APPLE__) && defined(__MACH__)
is_darwin_(true),
#else
is_darwin_(false),
#endif
java_md_(is_darwin_ ? "darwin" : "linux"),
ext_cpp_(".cpp"),
ext_lib_(is_darwin_ ? ".dylib" : ".so"),
ext_mak_(".mak"),
module_dir_(get_module_dir()) {
}
std::string get_lib_name(const std::string& key) {
std:: stringstream ss;
ss << module_dir_ << "/hm_" << key << ext_lib_;
return ss.str();
}
void ensure_module_dir_exists() {
int rc = ::access(module_dir_.c_str(), R_OK);
if (rc < 0) { // create it
rc = ::mkdir(module_dir_.c_str(), 0755);
if (rc < 0) perror(module_dir_.c_str());
}
}
};
ModuleConfig config;
// module_table contains a single NativeModulePtr for each
// key that we have ever seen. We never delete a NativeModule
// or unload its dynamically-loaded code.
std::unordered_map<std::string, std::weak_ptr<NativeModule>> module_table;
NativeModulePtr module_find_or_make(
const char* options,
const char* source,
const char* include
) {
std::lock_guard<std::mutex> mylock(big_mutex);
auto key = hash_two_strings(options, source);
auto mod = module_table[key].lock();
if (!mod) { // make it while holding the lock
mod = std::make_shared<NativeModule>(options, source, include);
module_table[key] = mod; // save a weak_ptr
}
return mod;
}
NativeModulePtr module_find_or_make(
bool is_global,
const char* key,
ssize_t binary_size,
const void* binary
) {
std::lock_guard<std::mutex> mylock(big_mutex);
auto mod = module_table[key].lock();
if (!mod) { // make it while holding the lock
mod = std::make_shared<NativeModule>(is_global, key, binary_size, binary);
module_table[key] = mod; // save a weak_ptr
}
return mod;
}
} // end anon
// ModuleBuilder deals with compiling/linking source code to a DLL,
// and providing the binary DLL as an Array[Byte] which can be broadcast
// to all workers.
class ModuleBuilder {
private:
std::string options_;
std::string source_;
std::string include_;
std::string key_;
std::string hm_base_;
std::string hm_mak_;
std::string hm_cpp_;
std::string hm_lib_;
public:
ModuleBuilder(
const std::string& options,
const std::string& source,
const std::string& include,
const std::string& key
) :
options_(options),
source_(source),
include_(include),
key_(key) {
// To start with, put dynamic code in $HOME/hail_modules
auto base = (config.module_dir_ + "/hm_") + key_;
hm_base_ = base;
hm_mak_ = (base + config.ext_mak_);
hm_cpp_ = (base + config.ext_cpp_);
hm_lib_ = (base + config.ext_lib_);
}
virtual ~ModuleBuilder() { }
private:
void write_cpp() {
FILE* f = fopen(hm_cpp_.c_str(), "w");
if (!f) { perror("fopen"); return; }
fwrite(source_.data(), 1, source_.length(), f);
fclose(f);
}
void write_mak() {
FILE* f = fopen(hm_mak_.c_str(), "w");
if (!f) { perror("fopen"); return; }
fprintf(f, ".PHONY: FORCE\n");
fprintf(f, "\n");
fprintf(f, "MODULE := hm_%s\n", key_.c_str());
fprintf(f, "MODULE_SO := $(MODULE)%s\n", config.ext_lib_.c_str());
fprintf(f, "ifndef JAVA_HOME\n");
fprintf(f, " TMP :=$(shell java -XshowSettings:properties -version 2>&1 | fgrep -i java.home)\n");
fprintf(f, " JAVA_HOME :=$(shell dirname $(filter-out java.home =,$(TMP)))\n");
fprintf(f, "endif\n");
fprintf(f, "JAVA_INCLUDE :=$(JAVA_HOME)/include\n");
fprintf(f, "CXXFLAGS := \\\n");
fprintf(f, " -std=c++11 -fPIC -march=native -fno-strict-aliasing -Wall \\\n");
fprintf(f, " -I$(JAVA_INCLUDE) \\\n");
fprintf(f, " -I$(JAVA_INCLUDE)/%s \\\n", config.java_md_.c_str());
fprintf(f, " -I%s \\\n", include_.c_str());
bool have_oflag = (strstr(options_.c_str(), "-O") != nullptr);
fprintf(f, " %s%s \\\n", have_oflag ? "" : "-O3", options_.c_str());
fprintf(f, " -DHAIL_MODULE=$(MODULE)\n");
fprintf(f, "LIBFLAGS := -fvisibility=default %s\n",
config.is_darwin_ ? "-dynamiclib -Wl,-undefined,dynamic_lookup"
: "-rdynamic -shared");
fprintf(f, "\n");
// build .so from .cpp
fprintf(f, "$(MODULE_SO): FORCE\n");
fprintf(f, "\t$(CXX) $(CXXFLAGS) -o $(MODULE).o -c $(MODULE).cpp 2> $(MODULE).err\n");
fprintf(f, "\t$(CXX) $(CXXFLAGS) $(LIBFLAGS) -o $@ $(MODULE).o 2>> $(MODULE).err\n");
fprintf(f, "\n");
fclose(f);
}
public:
bool try_to_build() {
write_mak();
write_cpp();
std::stringstream ss;
ss << "make -B -C " << config.module_dir_ << " -f " << hm_mak_ << " 1>/dev/null";
// run the command synchronously, while holding the big_mutex
int rc = system(ss.str().c_str());
if (rc != 0) {
std::string base(config.module_dir_ + "/hm_" + key_);
fprintf(stderr, "makefile:\n%s", read_file_as_string(base+".mak").c_str());
fprintf(stderr, "errors:\n%s", read_file_as_string(base+".err").c_str());
}
return (rc == 0);
}
};
NativeModule::NativeModule(
const char* options,
const char* source,
const char* include
) :
build_state_(kInit),
load_state_(kInit),
key_(hash_two_strings(options, source)),
is_global_(false),
dlopen_handle_(nullptr),
lib_name_(config.get_lib_name(key_)) {
// Master constructor - try to get module built in local file
config.ensure_module_dir_exists();
if (file_exists(lib_name_)) {
build_state_ = kPass;
} else {
// The file doesn't exist, let's build it
ModuleBuilder builder(options, source, include, key_);
build_state_ = (builder.try_to_build() ? kPass : kFail);
}
}
NativeModule::NativeModule(
bool is_global,
const char* key,
ssize_t binary_size,
const void* binary
) :
build_state_(is_global ? kPass : kInit),
load_state_(is_global ? kPass : kInit),
key_(key),
is_global_(is_global),
dlopen_handle_(nullptr),
lib_name_(config.get_lib_name(key_)) {
// Worker constructor - try to get the binary written to local file
if (is_global_) return;
int rc = 0;
config.ensure_module_dir_exists();
build_state_ = kPass; // unless we get an error after this
if (!file_exists(lib_name_)) {
// We hold big_mutex so there is no race
if (binary_size == 0) {
// This binary came from a lib which gave errors during reading
build_state_ = kFail;
} else {
int fd = open(lib_name_.c_str(), O_WRONLY|O_CREAT|O_TRUNC, 0666);
if (fd < 0) {
build_state_ = kFail;
} else {
rc = write(fd, binary, binary_size);
if (rc != binary_size) {
build_state_ = kFail;
}
::close(fd);
}
}
}
if (build_state_ == kPass) try_load_locked();
}
NativeModule::~NativeModule() {
if (!is_global_ && dlopen_handle_) {
dlclose(dlopen_handle_);
}
}
bool NativeModule::try_load_locked() {
if (load_state_ == kInit) {
assert(!is_global_);
auto handle = dlopen(lib_name_.c_str(), RTLD_GLOBAL|RTLD_NOW);
if (handle) {
dlopen_handle_ = handle;
load_state_ = kPass;
} else {
// Attempts to find a func will give a bad NativeStatus
load_state_ = kFail;
}
}
return (load_state_ == kPass);
}
std::vector<char> NativeModule::get_binary() {
std::lock_guard<std::mutex> mylock(big_mutex);
std::vector<char> empty;
if (build_state_ == kFail) {
return empty;
}
int fd = open(config.get_lib_name(key_).c_str(), O_RDONLY, 0666);
if (fd < 0) {
return empty; // build failed, no lib, return empty
}
struct stat st;
int rc = fstat(fd, &st);
if (rc < 0) {
return empty;
}
std::vector<char> vec;
size_t file_size = st.st_size;
vec.resize(file_size);
rc = read(fd, &vec[0], file_size);
if ((size_t)rc != file_size) {
return empty;
}
close(fd);
return vec;
}
static std::string to_qualified_name(
JNIEnv* env,
const std::string& key,
jstring nameJ,
int numArgs,
bool is_global,
bool is_longfunc
) {
JString name(env, nameJ);
std::string result;
if (is_global) {
// No name-mangling for global func names
result = name;
} else {
// Mangled name for hail::hm_<key>::funcname(NativeStatus* st, some number of longs)
std::stringstream ss;
auto mod_name = std::string("hm_") + key;
ss << "_ZN4hail"
<< mod_name.length() << mod_name
<< strlen(name) << (const char*)name
<< "E"
<< "P12NativeStatus";
for (int j = 0; j < numArgs; ++j) ss << 'l';
result = ss.str();
}
return result;
}
void NativeModule::find_LongFuncL(
JNIEnv* env,
NativeStatus* st,
jobject funcObj,
jstring nameJ,
int numArgs
) {
std::lock_guard<std::mutex> mylock(big_mutex);
void* funcAddr = nullptr;
if (!try_load_locked()) {
NATIVE_ERROR(st, 1001, "ErrModuleNotFound");
} else {
auto qualName = to_qualified_name(env, key_, nameJ, numArgs, is_global_, true);
funcAddr = ::dlsym(is_global_ ? RTLD_DEFAULT : dlopen_handle_, qualName.c_str());
if (!funcAddr) {
fprintf(stderr, "ErrLongFuncNotFound \"%s\"\n", qualName.c_str());
NATIVE_ERROR(st, 1003, "ErrLongFuncNotFound dlsym(\"%s\")", qualName.c_str());
}
}
NativeObjPtr ptr = std::make_shared< NativeFuncObj<long> >(shared_from_this(), funcAddr);
init_NativePtr(env, funcObj, &ptr);
}
void NativeModule::find_PtrFuncL(
JNIEnv* env,
NativeStatus* st,
jobject funcObj,
jstring nameJ,
int numArgs
) {
std::lock_guard<std::mutex> mylock(big_mutex);
void* funcAddr = nullptr;
if (!try_load_locked()) {
NATIVE_ERROR(st, 1001, "ErrModuleNotFound");
} else {
auto qualName = to_qualified_name(env, key_, nameJ, numArgs, is_global_, false);
funcAddr = ::dlsym(is_global_ ? RTLD_DEFAULT : dlopen_handle_, qualName.c_str());
if (!funcAddr) {
fprintf(stderr, "ErrPtrFuncNotFound \"%s\"\n", qualName.c_str());
NATIVE_ERROR(st, 1003, "ErrPtrFuncNotFound dlsym(\"%s\")", qualName.c_str());
}
}
NativeObjPtr ptr = std::make_shared< NativeFuncObj<NativeObjPtr> >(shared_from_this(), funcAddr);
init_NativePtr(env, funcObj, &ptr);
}
// Functions implementing NativeModule native methods
static NativeModule* to_NativeModule(JNIEnv* env, jobject obj) {
return static_cast<NativeModule*>(get_from_NativePtr(env, obj));
}
NATIVEMETHOD(void, NativeModule, nativeCtorMaster)(
JNIEnv* env,
jobject thisJ,
jstring optionsJ,
jstring sourceJ,
jstring includeJ
) {
JString options(env, optionsJ);
JString source(env, sourceJ);
JString include(env, includeJ);
NativeObjPtr ptr = module_find_or_make(options, source, include);
init_NativePtr(env, thisJ, &ptr);
}
NATIVEMETHOD(void, NativeModule, nativeCtorWorker)(
JNIEnv* env,
jobject thisJ,
jboolean is_globalJ,
jstring keyJ,
jbyteArray binaryJ
) {
bool is_global = (is_globalJ != JNI_FALSE);
JString key(env, keyJ);
ssize_t binary_size = env->GetArrayLength(binaryJ);
auto binary = env->GetByteArrayElements(binaryJ, 0);
NativeObjPtr ptr = module_find_or_make(is_global, key, binary_size, binary);
env->ReleaseByteArrayElements(binaryJ, binary, JNI_ABORT);
init_NativePtr(env, thisJ, &ptr);
}
NATIVEMETHOD(void, NativeModule, nativeFindOrBuild)(
JNIEnv* env,
jobject thisJ,
long stAddr
) {
auto mod = to_NativeModule(env, thisJ);
auto st = reinterpret_cast<NativeStatus*>(stAddr);
st->clear();
if (mod->build_state_ != NativeModule::kPass) {
NATIVE_ERROR(st, 1004, "ErrModuleBuildFailed");
}
}
NATIVEMETHOD(jstring, NativeModule, getKey)(
JNIEnv* env,
jobject thisJ
) {
auto mod = to_NativeModule(env, thisJ);
return env->NewStringUTF(mod->key_.c_str());
}
NATIVEMETHOD(jbyteArray, NativeModule, getBinary)(
JNIEnv* env,
jobject thisJ
) {
auto mod = to_NativeModule(env, thisJ);
auto vec = mod->get_binary();
jbyteArray result = env->NewByteArray(vec.size());
jbyte* rbuf = env->GetByteArrayElements(result, 0);
memcpy(rbuf, &vec[0], vec.size());
env->ReleaseByteArrayElements(result, rbuf, 0);
return result;
}
#define DECLARE_FIND(LongOrPtr, num_args) \
NATIVEMETHOD(void, NativeModule, nativeFind##LongOrPtr##FuncL##num_args)( \
JNIEnv* env, \
jobject thisJ, \
long stAddr, \
jobject funcJ, \
jstring nameJ \
) { \
auto mod = to_NativeModule(env, thisJ); \
auto st = reinterpret_cast<NativeStatus*>(stAddr); \
st->clear(); \
mod->find_##LongOrPtr##FuncL(env, st, funcJ, nameJ, num_args); \
}
DECLARE_FIND(Long, 0)
DECLARE_FIND(Long, 1)
DECLARE_FIND(Long, 2)
DECLARE_FIND(Long, 3)
DECLARE_FIND(Long, 4)
DECLARE_FIND(Long, 5)
DECLARE_FIND(Long, 6)
DECLARE_FIND(Long, 7)
DECLARE_FIND(Long, 8)
DECLARE_FIND(Ptr, 0)
DECLARE_FIND(Ptr, 1)
DECLARE_FIND(Ptr, 2)
DECLARE_FIND(Ptr, 3)
DECLARE_FIND(Ptr, 4)
DECLARE_FIND(Ptr, 5)
DECLARE_FIND(Ptr, 6)
DECLARE_FIND(Ptr, 7)
DECLARE_FIND(Ptr, 8)
} // end hail
| [
"noreply@github.com"
] | noreply@github.com |
5f491e099fed311e97f440db689e34d874fac80f | 5cad367b7a34f124a766cd075a183b44415bb3ee | /CODEFORCE/632_div2/C/main.cpp | 672c5dfe500bb9b49399b7730f9fd14757af223b | [] | no_license | Rkda8071/PS | f8078744397c58380755a5ad3cd238e484068b7a | fbf1cacf8851e100a3c6edc335db77172a24f3db | refs/heads/master | 2023-01-12T17:55:30.313774 | 2022-12-24T12:38:39 | 2022-12-24T12:38:39 | 237,006,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
struct A{
ll s;
int id;
bool operator<(const A &r)const{
return s<r.s || (s==r.s && id<r.id);
}
}a[200100];
ll x,dap;
int y,d[200100];
int main(){
int n;
scanf("%d",&n);
for(int i=1;i<=n;i++) d[i] = n;
for(int i=1;i<=n;i++){
scanf("%lld",&x);
a[i] = {x+a[i-1].s,i};
if(!x) d[i]=i-1;// --dap;}
}
sort(a+1,a+n+1);
for(int i=1;i<=n;i++){
int j = i;
while(j<n && a[i].s==a[j+1].s) ++j;
if(a[i].s==0)
if(d[1]>a[i].id-1)
d[1] = a[i].id-1;
for(int l=i;l<j;l++)
if(d[a[l].id+1]>a[l+1].id-1)
d[a[l].id+1] = a[l+1].id-1;
i = j;
}
int mini = n;
for(int i=n;i>=1;i--){
if(d[i]>mini) d[i] = mini;
//mini = min(mini,d[i]-1);
else if(d[i]<mini) mini = d[i];
}
for(int i=1;i<=n;i++){
dap += (ll)(d[i]-i+1);
}
printf("%lld",dap);
return 0;
}
| [
"gangminson@naver.com"
] | gangminson@naver.com |
232b35479444bf751b514d277d640c8e08aa519b | fa6b5a15bd5d7ed857c1705e26f58f7f6452c1cd | /SEARCHING AND SORTING/7.Find Missing And Repeating .cpp | f9897524ced0b738a0a3fd4dcdde0deeb6d1bd80 | [] | no_license | retro-2106/DSA_450_questions | d4cadc840f168a388db5258581712372be3e8629 | 7b23eba2661d6596870848ca3e3d1582236ca46f | refs/heads/main | 2023-06-14T13:08:35.856589 | 2021-07-04T11:28:21 | 2021-07-04T11:28:21 | 308,229,380 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 483 | cpp | class Solution{
public:
int *findTwoElement(int *arr, int n)
{
int *ans = new int[2];
for(int i=0;i<n;i++)
{
if (arr[abs(arr[i]) - 1] > 0)
arr[abs(arr[i]) - 1] = -arr[abs(arr[i]) - 1];
else
ans[0] = abs(arr[i]);
}
for(int i=0;i<n;i++)
{
if(arr[i] > 0)
{
ans[1] = i+1;
}
}
return ans;
}
}; | [
"ashishcool2106@gmail.com"
] | ashishcool2106@gmail.com |
283b5d4a1baae5c8995c86d1788cae6372497666 | 731d0d3e1d1cc11f31ca8f8c0aa7951814052c15 | /InetSpeed/Generated Files/winrt/impl/Windows.Devices.Sms.2.h | 79a53fe4bdb31b54493c7b9d56e68f116a028483 | [] | no_license | serzh82saratov/InetSpeedCppWinRT | 07623c08b5c8135c7d55c17fed1164c8d9e56c8f | e5051f8c44469bbed0488c1d38731afe874f8c1f | refs/heads/master | 2022-04-20T05:48:22.203411 | 2020-04-02T19:36:13 | 2020-04-02T19:36:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,119 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200316.3
#ifndef WINRT_Windows_Devices_Sms_2_H
#define WINRT_Windows_Devices_Sms_2_H
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.Foundation.Collections.1.h"
#include "winrt/impl/Windows.Devices.Sms.1.h"
WINRT_EXPORT namespace winrt::Windows::Devices::Sms
{
struct SmsDeviceStatusChangedEventHandler : Windows::Foundation::IUnknown
{
SmsDeviceStatusChangedEventHandler(std::nullptr_t = nullptr) noexcept {}
SmsDeviceStatusChangedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {}
template <typename L> SmsDeviceStatusChangedEventHandler(L lambda);
template <typename F> SmsDeviceStatusChangedEventHandler(F* function);
template <typename O, typename M> SmsDeviceStatusChangedEventHandler(O* object, M method);
template <typename O, typename M> SmsDeviceStatusChangedEventHandler(com_ptr<O>&& object, M method);
template <typename O, typename M> SmsDeviceStatusChangedEventHandler(weak_ref<O>&& object, M method);
auto operator()(Windows::Devices::Sms::SmsDevice const& sender) const;
};
struct SmsMessageReceivedEventHandler : Windows::Foundation::IUnknown
{
SmsMessageReceivedEventHandler(std::nullptr_t = nullptr) noexcept {}
SmsMessageReceivedEventHandler(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IUnknown(ptr, take_ownership_from_abi) {}
template <typename L> SmsMessageReceivedEventHandler(L lambda);
template <typename F> SmsMessageReceivedEventHandler(F* function);
template <typename O, typename M> SmsMessageReceivedEventHandler(O* object, M method);
template <typename O, typename M> SmsMessageReceivedEventHandler(com_ptr<O>&& object, M method);
template <typename O, typename M> SmsMessageReceivedEventHandler(weak_ref<O>&& object, M method);
auto operator()(Windows::Devices::Sms::SmsDevice const& sender, Windows::Devices::Sms::SmsMessageReceivedEventArgs const& e) const;
};
struct SmsEncodedLength
{
uint32_t SegmentCount;
uint32_t CharacterCountLastSegment;
uint32_t CharactersPerSegment;
uint32_t ByteCountLastSegment;
uint32_t BytesPerSegment;
};
inline bool operator==(SmsEncodedLength const& left, SmsEncodedLength const& right) noexcept
{
return left.SegmentCount == right.SegmentCount && left.CharacterCountLastSegment == right.CharacterCountLastSegment && left.CharactersPerSegment == right.CharactersPerSegment && left.ByteCountLastSegment == right.ByteCountLastSegment && left.BytesPerSegment == right.BytesPerSegment;
}
inline bool operator!=(SmsEncodedLength const& left, SmsEncodedLength const& right) noexcept
{
return !(left == right);
}
struct __declspec(empty_bases) DeleteSmsMessageOperation : Windows::Foundation::IAsyncAction
{
DeleteSmsMessageOperation(std::nullptr_t) noexcept {}
DeleteSmsMessageOperation(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IAsyncAction(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) DeleteSmsMessagesOperation : Windows::Foundation::IAsyncAction
{
DeleteSmsMessagesOperation(std::nullptr_t) noexcept {}
DeleteSmsMessagesOperation(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IAsyncAction(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) GetSmsDeviceOperation : Windows::Foundation::IAsyncOperation<Windows::Devices::Sms::SmsDevice>
{
GetSmsDeviceOperation(std::nullptr_t) noexcept {}
GetSmsDeviceOperation(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IAsyncOperation<Windows::Devices::Sms::SmsDevice>(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) GetSmsMessageOperation : Windows::Foundation::IAsyncOperation<Windows::Devices::Sms::ISmsMessage>
{
GetSmsMessageOperation(std::nullptr_t) noexcept {}
GetSmsMessageOperation(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IAsyncOperation<Windows::Devices::Sms::ISmsMessage>(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) GetSmsMessagesOperation : Windows::Foundation::IAsyncOperationWithProgress<Windows::Foundation::Collections::IVectorView<Windows::Devices::Sms::ISmsMessage>, int32_t>
{
GetSmsMessagesOperation(std::nullptr_t) noexcept {}
GetSmsMessagesOperation(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IAsyncOperationWithProgress<Windows::Foundation::Collections::IVectorView<Windows::Devices::Sms::ISmsMessage>, int32_t>(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SendSmsMessageOperation : Windows::Foundation::IAsyncAction
{
SendSmsMessageOperation(std::nullptr_t) noexcept {}
SendSmsMessageOperation(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Foundation::IAsyncAction(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SmsAppMessage : Windows::Devices::Sms::ISmsAppMessage
{
SmsAppMessage(std::nullptr_t) noexcept {}
SmsAppMessage(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsAppMessage(ptr, take_ownership_from_abi) {}
SmsAppMessage();
};
struct __declspec(empty_bases) SmsBinaryMessage : Windows::Devices::Sms::ISmsBinaryMessage
{
SmsBinaryMessage(std::nullptr_t) noexcept {}
SmsBinaryMessage(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsBinaryMessage(ptr, take_ownership_from_abi) {}
SmsBinaryMessage();
};
struct __declspec(empty_bases) SmsBroadcastMessage : Windows::Devices::Sms::ISmsBroadcastMessage
{
SmsBroadcastMessage(std::nullptr_t) noexcept {}
SmsBroadcastMessage(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsBroadcastMessage(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SmsDevice : Windows::Devices::Sms::ISmsDevice
{
SmsDevice(std::nullptr_t) noexcept {}
SmsDevice(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsDevice(ptr, take_ownership_from_abi) {}
static auto GetDeviceSelector();
static auto FromIdAsync(param::hstring const& deviceId);
static auto GetDefaultAsync();
static auto FromNetworkAccountIdAsync(param::hstring const& networkAccountId);
};
struct __declspec(empty_bases) SmsDevice2 : Windows::Devices::Sms::ISmsDevice2
{
SmsDevice2(std::nullptr_t) noexcept {}
SmsDevice2(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsDevice2(ptr, take_ownership_from_abi) {}
static auto GetDeviceSelector();
static auto FromId(param::hstring const& deviceId);
static auto GetDefault();
static auto FromParentId(param::hstring const& parentDeviceId);
};
struct __declspec(empty_bases) SmsDeviceMessageStore : Windows::Devices::Sms::ISmsDeviceMessageStore
{
SmsDeviceMessageStore(std::nullptr_t) noexcept {}
SmsDeviceMessageStore(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsDeviceMessageStore(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SmsFilterRule : Windows::Devices::Sms::ISmsFilterRule
{
SmsFilterRule(std::nullptr_t) noexcept {}
SmsFilterRule(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsFilterRule(ptr, take_ownership_from_abi) {}
explicit SmsFilterRule(Windows::Devices::Sms::SmsMessageType const& messageType);
};
struct __declspec(empty_bases) SmsFilterRules : Windows::Devices::Sms::ISmsFilterRules
{
SmsFilterRules(std::nullptr_t) noexcept {}
SmsFilterRules(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsFilterRules(ptr, take_ownership_from_abi) {}
explicit SmsFilterRules(Windows::Devices::Sms::SmsFilterActionType const& actionType);
};
struct __declspec(empty_bases) SmsMessageReceivedEventArgs : Windows::Devices::Sms::ISmsMessageReceivedEventArgs
{
SmsMessageReceivedEventArgs(std::nullptr_t) noexcept {}
SmsMessageReceivedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsMessageReceivedEventArgs(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SmsMessageReceivedTriggerDetails : Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails
{
SmsMessageReceivedTriggerDetails(std::nullptr_t) noexcept {}
SmsMessageReceivedTriggerDetails(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SmsMessageRegistration : Windows::Devices::Sms::ISmsMessageRegistration
{
SmsMessageRegistration(std::nullptr_t) noexcept {}
SmsMessageRegistration(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsMessageRegistration(ptr, take_ownership_from_abi) {}
[[nodiscard]] static auto AllRegistrations();
static auto Register(param::hstring const& id, Windows::Devices::Sms::SmsFilterRules const& filterRules);
};
struct __declspec(empty_bases) SmsReceivedEventDetails : Windows::Devices::Sms::ISmsReceivedEventDetails,
impl::require<SmsReceivedEventDetails, Windows::Devices::Sms::ISmsReceivedEventDetails2>
{
SmsReceivedEventDetails(std::nullptr_t) noexcept {}
SmsReceivedEventDetails(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsReceivedEventDetails(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SmsSendMessageResult : Windows::Devices::Sms::ISmsSendMessageResult
{
SmsSendMessageResult(std::nullptr_t) noexcept {}
SmsSendMessageResult(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsSendMessageResult(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SmsStatusMessage : Windows::Devices::Sms::ISmsStatusMessage
{
SmsStatusMessage(std::nullptr_t) noexcept {}
SmsStatusMessage(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsStatusMessage(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SmsTextMessage : Windows::Devices::Sms::ISmsTextMessage
{
SmsTextMessage(std::nullptr_t) noexcept {}
SmsTextMessage(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsTextMessage(ptr, take_ownership_from_abi) {}
SmsTextMessage();
static auto FromBinaryMessage(Windows::Devices::Sms::SmsBinaryMessage const& binaryMessage);
static auto FromBinaryData(Windows::Devices::Sms::SmsDataFormat const& format, array_view<uint8_t const> value);
};
struct __declspec(empty_bases) SmsTextMessage2 : Windows::Devices::Sms::ISmsTextMessage2
{
SmsTextMessage2(std::nullptr_t) noexcept {}
SmsTextMessage2(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsTextMessage2(ptr, take_ownership_from_abi) {}
SmsTextMessage2();
};
struct __declspec(empty_bases) SmsVoicemailMessage : Windows::Devices::Sms::ISmsVoicemailMessage
{
SmsVoicemailMessage(std::nullptr_t) noexcept {}
SmsVoicemailMessage(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsVoicemailMessage(ptr, take_ownership_from_abi) {}
};
struct __declspec(empty_bases) SmsWapMessage : Windows::Devices::Sms::ISmsWapMessage
{
SmsWapMessage(std::nullptr_t) noexcept {}
SmsWapMessage(void* ptr, take_ownership_from_abi_t) noexcept : Windows::Devices::Sms::ISmsWapMessage(ptr, take_ownership_from_abi) {}
};
}
#endif
| [
"ctorre@microsoft.com"
] | ctorre@microsoft.com |
b027c732af0abbc0cb98270c007e69dc6cc47ce4 | 1f2c7060899566525c0fd934e4996634e4d944b8 | /Project1/Matrix.cpp | 958557a0e9e3affe51a1960b5620d1d1126a0ddc | [] | no_license | skipperuzumaki/image_enhancer_3d_neural_network | 8c1477d851b8fb2ced01630fc59aaa50e22f5c06 | 5359dfa6dd1701a967426f65c3935d3c9406b86b | refs/heads/master | 2020-05-18T13:10:43.503682 | 2019-06-03T08:17:29 | 2019-06-03T08:17:29 | 184,430,462 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,738 | cpp | #include "Matrix.h"
#include <cstdio>
#include <ctime>
#include <cstdlib>
Matrix Matrix::bringrow(int row)
{
Matrix ret = Matrix(1, getcoulmns());
for (int i = 0; i < getcoulmns(); i++) {
ret.start[i] = start[row*getcoulmns() + i];
}
return ret;
}
Matrix Matrix::bringcoulmn(int coulmn)
{
Matrix ret = Matrix(getrows(),1);
for (int i = 0; i < getrows(); i++) {
ret.start[i] = start[i*getrows() + coulmn];
}
return ret;
}
int Matrix::lenght()
{
return getrows()*getcoulmns();
}
Matrix::Matrix(int rows, int coulmns)
{
row = rows;
coulmn = coulmns;
start = new float[row*coulmn];
}
Matrix::Matrix(const Matrix &rhs)
{
row = rhs.getrows();
coulmn = rhs.getcoulmns();
start = new float[row*coulmn];
for (int i = 0; i < row*coulmn; i++) {
start[i] = rhs.start[i];
}
}
Matrix::~Matrix()
{
delete[] start;
start = nullptr;
}
Matrix Matrix::operator*(Matrix & rhs)
{
if (getcoulmns() != rhs.getrows()) {
return Matrix(0, 0);
}
int x = getrows();
int y = rhs.getcoulmns();
Matrix rtn = Matrix(x, y);
for (int i = 0; i < x; i++) {
for (int j = 0; j < y; j++) {
Matrix row_t = bringrow(i);
Matrix coulmn_t = rhs.bringcoulmn(j);
float value = row_t.dot(coulmn_t);
rtn.put(i, j, value);
}
}
return rtn;
}
Matrix Matrix::operator+(Matrix & rhs)
{
if ((getrows() != rhs.getrows()) || (getcoulmns() != rhs.getcoulmns())) {
return Matrix(0,0);
}
Matrix rtn = Matrix(getrows(), getcoulmns());
for (int ix = 0; ix < getrows(); ix++) {
for (int iy = 0; iy < getcoulmns(); iy++) {
rtn.put(ix, iy, (get(ix, iy) + rhs.get(ix, iy)));
}
}
return rtn;
}
Matrix Matrix::operator=(const Matrix & rhs)
{
row = rhs.row;
coulmn = rhs.coulmn;
delete[] start;
start = new float[row*coulmn];
for (int i = 0; i < row*coulmn; i++) {
start[i] = rhs.start[i];
}
return *this;
}
bool Matrix::operator==(const Matrix & rhs)
{
if (row != rhs.row || coulmn != rhs.coulmn) {
return false;
}
else {
for (int i = 0; i < row*coulmn; i++) {
if (start[i] != rhs.start[i]) {
return false;
}
}
}
return true;
}
int Matrix::getrows() const
{
return row;
}
int Matrix::getcoulmns() const
{
return coulmn;
}
float Matrix::get(int rows, int coulmns)
{
return start[rows*coulmn + coulmns];
}
void Matrix::put(int rows, int coulmns, float value)
{
start[rows*coulmn + coulmns] = value;
}
void Matrix::print()
{
for (int i = 0; i < row; i++) {
for (int j = 0; j < coulmn; j++) {
float m = get(i,j);
printf("%f,", m);
}
printf("\n");
}
}
float Matrix::dot(Matrix & rhs)
{
float retn = 0;
for (int i = 0; i < coulmn; i++) {
float q = 1;
q = start[i] * rhs.start[i];
retn = retn + q;
}
return retn;
}
Matrix Matrix::CalcVariance(Matrix &rhs)
{
Matrix rtn = Matrix(row, coulmn);
for (int i = 0; i < row*coulmn; i++) {
rtn.start[i] = rhs.start[i] - start[i];
}
return rtn;
}
float Matrix::Maxval()
{
float rtn = std::numeric_limits<float>::min();
for (int i = 0; i < row*coulmn; i++) {
if (start[i] > rtn) {
rtn = start[i];
}
}
return rtn;
}
void Matrix::Percentise(float maxval)
{
for (int i = 0; i < row*coulmn; i++) {
float k = (start[i] / maxval)*100.0f;
start[i] = k;
}
}
void Matrix::Setall(float val)
{
for (int i = 0; i < row*coulmn; i++) {
start[i] = val;
}
}
Matrix Matrix::Invert()
{
Matrix rtn = Matrix(row, coulmn);
for (int i = 0; i < row*coulmn; i++) {
rtn.start[i] = -start[i];
}
return rtn;
}
void Matrix::Sigmoid()
{
for (int i = 0; i < row*coulmn; i++) {
start[i] = std::pow((1+std::exp(-start[i])),-1);
}
}
void Matrix::RandomlyInitialise(float range)
{
srand(int(time(0)));
for (int i = 0; i < row*coulmn; i++) {
int r = rand() % (int(range) * 2) - int(range);
start[i] = float(r);
}
}
| [
"skipperuzumaki@gmail.com"
] | skipperuzumaki@gmail.com |
83d5ff250db824aac001e1d566d6d46dde54f426 | 06b63d12f3df3e2a67e82361f25ae22a972254d1 | /haixiangsrc/haixiang/GoGameService/Chess.cpp | 76274a93f099618fee13c6868f4f36290a6e28fe | [] | no_license | lindianyin/testboost | 64276f9a33bebcfb77d85f93a71400a58f138875 | 6fa4a98f9773f988a1d0855477a5cc0fc4aeeb64 | refs/heads/master | 2021-01-15T15:42:08.898669 | 2016-08-25T08:13:53 | 2016-08-25T08:13:53 | 53,821,167 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | cpp | #include "Chess.h"
Chess::Chess(int x, int y)
{
this->x = x;
this->y = y;
this->type = ChessType::Empty;
this->step = 0;
}
Chess::~Chess() {}
bool Chess::addChess(ChessType _type, int _step)
{
this->type = _type;
this->step = _step;
return true;
}
int Chess::getPosX()
{
return this->x;
}
int Chess::getPosY()
{
return this->y;
}
Chess::ChessType Chess::getType()
{
return this->type;
}
void Chess::setType(ChessType _type)
{
this->type = _type;
}
int Chess::getStep()
{
return this->step;
}
bool Chess::isEmpty()
{
if(this->type == ChessType::Empty)
{
return true;
}else
{
return false;
}
}
bool Chess::hasLeft()
{
if(this->y > 0)
return true;
else
return false;
}
bool Chess::hasRight()
{
if(this->y < 18)
return true;
else
return false;
}
bool Chess::hasUp()
{
if(this->x > 0)
return true;
else
return false;
}
bool Chess::hasDown()
{
if(this->x < 18)
return true;
else
return false;
}
void Chess::reset()
{
}
void Chess::clean()
{
this->type = ChessType::Empty;
this->step = 0;
} | [
"lindianyin@foxmail.com"
] | lindianyin@foxmail.com |
be94a4f67dd103bbbcb8e2f19a0eb5b69155c342 | eefbc723d9f354adf96cb85ff1639dc5f7799086 | /Configuration/analysis/diLeptonic/src/TreeHandlerBase.cc | f55191dc1eb232feb8711a93b988b9c2dc02ca64 | [] | no_license | kovalch/TopAnalysis | e4bb2c80be61734c56c124522ecf1719a801bf19 | b7c9bb5268e0680cfbe1e0366e1811466e7846a4 | HEAD | 2016-09-05T10:15:16.810334 | 2015-07-23T13:27:19 | 2015-07-23T13:27:19 | 39,569,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,635 | cc | #include <string>
#include <vector>
#include <map>
#include <iostream>
#include <cstdlib>
#include <fstream>
#include <utility>
#include <TTree.h>
#include <TFile.h>
#include <TString.h>
#include <TSelectorList.h>
#include <TIterator.h>
#include <TObject.h>
#include <Rtypes.h>
#include "TreeHandlerBase.h"
#include "VariablesBase.h"
#include "analysisStructs.h"
#include "ttbarUtils.h"
#include "../../common/include/sampleHelpers.h"
#include "../../common/include/analysisObjectStructs.h"
TreeHandlerBase::TreeHandlerBase(const TString& prefix,
const char* inputDir,
const std::vector<TString>& selectionStepsNoCategories):
prefix_(prefix),
selectorList_(0),
selectionSteps_(selectionStepsNoCategories),
inputDir_(inputDir)
{}
void TreeHandlerBase::book()
{
for(const auto& stepShort : selectionSteps_){
const TString step = ttbar::stepName(stepShort);
this->addStep(step);
}
}
void TreeHandlerBase::addStep(const TString& step)
{
// Check whether step already exists
if(this->checkExistence(step)){
std::cout<<"Warning in addStep()! Selection step already contained: "<<step
<<"\n...skip this one\n";
return;
}
// Book the step
m_stepVariables_[step] = std::vector<VariablesBase*>();
}
bool TreeHandlerBase::checkExistence(const TString& step)const
{
return m_stepVariables_.find(step) != m_stepVariables_.end();
}
void TreeHandlerBase::fill(const RecoObjects& recoObjects, const CommonGenObjects& commonGenObjects,
const TopGenObjects& topGenObjects,
const KinRecoObjects& kinRecoObjects,
const ttbar::RecoObjectIndices& recoObjectIndices, const ttbar::GenObjectIndices& genObjectIndices,
const ttbar::GenLevelWeights& genLevelWeights, const ttbar::RecoLevelWeights& recoLevelWeights,
const double& weight, const TString& stepShort)
{
// Set up step name and check if step exists
const TString step = ttbar::stepName(stepShort);
const bool stepExists(this->checkExistence(step));
if(!stepExists) return;
// Fill the variables of the specific treeHandler
std::vector<VariablesBase*>& variables = m_stepVariables_.at(step);
this->fillVariables(recoObjects, commonGenObjects,
topGenObjects, kinRecoObjects,
recoObjectIndices, genObjectIndices,
genLevelWeights, recoLevelWeights,
weight, step,
variables);
}
void TreeHandlerBase::writeTrees(const TString& outputFilename,
const Channel::Channel& channel, const Systematic::Systematic& systematic)
{
// Create output file for tree
TString f_savename = common::assignFolder(inputDir_, channel, systematic);
f_savename.Append(outputFilename);
TFile outputFile(f_savename, "RECREATE");
std::cout<<"\nOutput file for input trees: "<<f_savename<<"\n";
// Produce input TTree and store it in output
TSelectorList* output = new TSelectorList();
this->writeTrees(output);
// Write file and cleanup
TIterator* it = output->MakeIterator();
while(TObject* obj = it->Next()){
obj->Write();
}
outputFile.Close();
output->SetOwner();
output->Clear();
}
void TreeHandlerBase::writeTrees(TSelectorList* output)
{
std::cout<<"--- Beginning production of input trees\n";
// Set pointer to output, so that TTrees are owned by it
selectorList_ = output;
std::map<TString, TTree*> m_stepTree;
for(const auto& stepVariables : m_stepVariables_){
const TString& step = stepVariables.first;
const std::vector<VariablesBase*>& v_variables = stepVariables.second;
TTree* tree = m_stepTree[step];
tree = this->store(new TTree(prefix_+"treeVariables"+step, prefix_+"treeVariables"));
this->createAndFillBranches(tree, v_variables);
}
std::cout<<"tree variables multiplicity per step (step, no. of entries):\n";
for(auto vars : m_stepVariables_){
std::cout<<"\t"<<vars.first<<" , "<<vars.second.size()<<"\n";
}
std::cout<<"=== Finishing production of input trees\n\n";
}
void TreeHandlerBase::createAndFillBranches(TTree*, const std::vector<VariablesBase*>&)const
{
// WARNING: this is empty template method, overwrite for inherited class
std::cerr<<"ERROR! Dummy method createAndFillBranches() in TreeHandlerBase is called, but overridden one should be used\n"
<<"...break\n"<<std::endl;
exit(568);
}
void TreeHandlerBase::createBranch(TTree* tree, const VariableInt& variable)const
{
std::string name(variable.name());
std::string nameType(name);
nameType.append("/").append(variable.type());
tree->Branch(name.data(), (Long_t)&variable.value_, nameType.data());
}
void TreeHandlerBase::createBranch(TTree* tree, const VariableFloat& variable)const
{
std::string name(variable.name());
std::string nameType(name);
nameType.append("/").append(variable.type());
tree->Branch(name.c_str(), (Long_t)&variable.value_, nameType.data());
}
void TreeHandlerBase::importTrees(const TString& f_savename, const TString& prefix)
{
std::cout<<"--- Beginning import of TTrees with variables\n";
// Open input file
TFile* inputFile = TFile::Open(f_savename);
if(inputFile->IsZombie()){
std::cerr<<"ERROR in importTrees()! Cannot open input file to import TTrees, filename is: "
<<f_savename<<"\n...break\n"<<std::endl;
exit(77);
}
// Find all trees of all steps/categories containing MVA input variables
const TString& treeName = prefix;
const std::vector<std::pair<TString, TString> > v_nameStepPair =
ttbar::nameStepPairs(f_savename, treeName);
// Loop over steps and import trees
this->clear();
for(const auto& nameStepPair : v_nameStepPair){
TTree* tree(0);
tree = dynamic_cast<TTree*>(inputFile->Get(nameStepPair.first));
if(!tree){
std::cerr<<"ERROR in importTrees()! TTree not found in file, tree name is: "
<<treeName<<"\n...break\n"<<std::endl;
exit(78);
}
this->importBranches(tree, m_stepVariables_[nameStepPair.second]);
tree = 0;
std::cout<<"Step, Number of entries: "<<nameStepPair.second<<" , "<<m_stepVariables_[nameStepPair.second].size()<<"\n";
}
inputFile->Close();
std::cout<<"=== Finishing import of TTrees with variables\n\n";
}
void TreeHandlerBase::importBranches(TTree*, std::vector<VariablesBase*>&)const
{
// WARNING: this is empty template method, overwrite for inherited class
std::cerr<<"ERROR! Dummy method importBranches() in MvaTreeHandlerBase is called, but overridden one should be used\n"
<<"...break\n"<<std::endl;
exit(568);
}
void TreeHandlerBase::importBranch(TTree* tree, VariableInt& variable)const
{
tree->SetBranchAddress(variable.name().data(), &variable.value_, &variable.branch_);
}
void TreeHandlerBase::importBranch(TTree* tree, VariableFloat& variable)const
{
tree->SetBranchAddress(variable.name().data(), &variable.value_, &variable.branch_);
}
const std::map<TString, std::vector<VariablesBase*> >& TreeHandlerBase::stepVariablesMap()const
{
return m_stepVariables_;
}
void TreeHandlerBase::clear()
{
selectorList_ = 0;
for(auto& stepVariables : m_stepVariables_){
VariablesBase::clearVariables(stepVariables.second);
}
m_stepVariables_.clear();
}
void TreeHandlerBase::fillVariables(const RecoObjects&, const CommonGenObjects&,
const TopGenObjects&,
const KinRecoObjects&,
const ttbar::RecoObjectIndices&, const ttbar::GenObjectIndices&,
const ttbar::GenLevelWeights&, const ttbar::RecoLevelWeights&,
const double&, const TString&,
std::vector<VariablesBase*>&)const
{
// WARNING: this is empty template method, overwrite for inherited class
std::cerr<<"ERROR! Dummy method fillVariables() in MvaTreeHandlerBase is called, but overridden one should be used\n"
<<"...break\n"<<std::endl;
exit(568);
}
| [
"jeka89.23@gmail.com"
] | jeka89.23@gmail.com |
e11f9d694b74351f0ab7594fbb9f0dc0485732b0 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/safe_browsing/incident_reporting/download_metadata_manager_unittest.cc | ec8ef04f23ea6bf8cdafd88a2437a8f236cb10b7 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 23,523 | 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/safe_browsing/incident_reporting/download_metadata_manager.h"
#include <stdint.h>
#include <memory>
#include <string>
#include "base/bind.h"
#include "base/callback.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/run_loop.h"
#include "base/sequenced_task_runner.h"
#include "chrome/test/base/testing_profile.h"
#include "components/download/public/common/mock_download_item.h"
#include "components/safe_browsing/proto/csd.pb.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/download_item_utils.h"
#include "content/public/browser/download_manager.h"
#include "content/public/test/mock_download_manager.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "content/public/test/test_utils.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
using ::testing::AllOf;
using ::testing::Eq;
using ::testing::IsNull;
using ::testing::Ne;
using ::testing::NiceMock;
using ::testing::NotNull;
using ::testing::ResultOf;
using ::testing::Return;
using ::testing::SaveArg;
using ::testing::StrEq;
using ::testing::_;
namespace safe_browsing {
namespace {
const uint32_t kTestDownloadId = 47;
const uint32_t kOtherDownloadId = 48;
const uint32_t kCrazyDowloadId = 655;
const int64_t kTestDownloadTimeMsec = 84;
const char kTestUrl[] = "http://test.test/foo";
const uint64_t kTestDownloadLength = 1000;
const double kTestDownloadEndTimeMs = 1413514824057;
// A utility class suitable for mocking that exposes a
// GetDownloadDetailsCallback.
class DownloadDetailsGetter {
public:
virtual ~DownloadDetailsGetter() {}
virtual void OnDownloadDetails(
ClientIncidentReport_DownloadDetails* details) = 0;
DownloadMetadataManager::GetDownloadDetailsCallback GetCallback() {
return base::Bind(&DownloadDetailsGetter::DownloadDetailsCallback,
base::Unretained(this));
}
private:
void DownloadDetailsCallback(
std::unique_ptr<ClientIncidentReport_DownloadDetails> details) {
OnDownloadDetails(details.get());
}
};
// A mock DownloadDetailsGetter.
class MockDownloadDetailsGetter : public DownloadDetailsGetter {
public:
MOCK_METHOD1(OnDownloadDetails, void(ClientIncidentReport_DownloadDetails*));
};
// A mock DownloadMetadataManager that can be used to map a BrowserContext to
// a DownloadManager.
class MockDownloadMetadataManager : public DownloadMetadataManager {
public:
MockDownloadMetadataManager() = default;
MOCK_METHOD1(GetDownloadManagerForBrowserContext,
content::DownloadManager*(content::BrowserContext*));
};
// A helper function that returns the download URL from a DownloadDetails.
const std::string& GetDetailsDownloadUrl(
const ClientIncidentReport_DownloadDetails* details) {
return details->download().url();
}
// A helper function that returns the open time from a DownloadDetails.
int64_t GetDetailsOpenTime(
const ClientIncidentReport_DownloadDetails* details) {
return details->open_time_msec();
}
} // namespace
// The basis upon which unit tests of the DownloadMetadataManager are built.
class DownloadMetadataManagerTestBase : public ::testing::Test {
protected:
// Sets up a DownloadMetadataManager that will run tasks on the main test
// thread.
DownloadMetadataManagerTestBase() = default;
// Returns the path to the test profile's DownloadMetadata file.
base::FilePath GetMetadataPath() const {
return profile_.GetPath().Append(FILE_PATH_LITERAL("DownloadMetadata"));
}
// Returns a new ClientDownloadRequest for the given download URL.
static std::unique_ptr<ClientDownloadRequest> MakeTestRequest(
const char* url) {
std::unique_ptr<ClientDownloadRequest> request(new ClientDownloadRequest());
request->set_url(url);
request->mutable_digests();
request->set_length(kTestDownloadLength);
return request;
}
// Returns a new DownloadMetdata for the given download id.
static std::unique_ptr<DownloadMetadata> GetTestMetadata(
uint32_t download_id) {
std::unique_ptr<DownloadMetadata> metadata(new DownloadMetadata());
metadata->set_download_id(download_id);
ClientIncidentReport_DownloadDetails* details =
metadata->mutable_download();
details->set_download_time_msec(kTestDownloadTimeMsec);
details->set_allocated_download(MakeTestRequest(kTestUrl).release());
return metadata;
}
// Writes a test DownloadMetadata file for the given download id to the
// test profile directory.
void WriteTestMetadataFileForItem(uint32_t download_id) {
std::string data;
ASSERT_TRUE(GetTestMetadata(download_id)->SerializeToString(&data));
ASSERT_EQ(static_cast<int>(data.size()),
base::WriteFile(GetMetadataPath(), data.data(), data.size()));
}
// Writes a test DownloadMetadata file for kTestDownloadId to the test profile
// directory.
void WriteTestMetadataFile() {
WriteTestMetadataFileForItem(kTestDownloadId);
}
// Reads the DownloadMetadata from the test profile's directory into
// |metadata|.
void ReadTestMetadataFile(std::unique_ptr<DownloadMetadata>* metadata) const {
std::string data;
ASSERT_TRUE(base::ReadFileToString(GetMetadataPath(), &data));
*metadata = std::make_unique<DownloadMetadata>();
ASSERT_TRUE((*metadata)->ParseFromString(data));
}
// Runs all tasks posted to the test thread's message loop.
void RunAllTasks() { content::RunAllTasksUntilIdle(); }
// Adds a DownloadManager for the test profile. The DownloadMetadataManager's
// observer is stashed for later use. Only call once per call to
// ShutdownDownloadManager.
void AddDownloadManager() {
ASSERT_EQ(nullptr, dm_observer_);
// Shove the manager into the browser context.
ON_CALL(download_manager_, GetBrowserContext())
.WillByDefault(Return(&profile_));
ON_CALL(manager_, GetDownloadManagerForBrowserContext(Eq(&profile_)))
.WillByDefault(Return(&download_manager_));
// Capture the metadata manager's observer on the download manager.
EXPECT_CALL(download_manager_, AddObserver(&manager_))
.WillOnce(SaveArg<0>(&dm_observer_));
manager_.AddDownloadManager(&download_manager_);
}
// Shuts down the DownloadManager. Safe to call any number of times.
void ShutdownDownloadManager() {
if (dm_observer_) {
dm_observer_->ManagerGoingDown(&download_manager_);
// Note: these calls may result in "Uninteresting mock function call"
// warnings as a result of MockDownloadItem invoking observers in its
// dtor. This happens after the NiceMock wrapper has removed its niceness
// hook. These can safely be ignored, as they are entirely expected. The
// values specified by ON_CALL invocations in AddDownloadItems are
// returned as desired.
other_item_.reset();
test_item_.reset();
zero_item_.reset();
dm_observer_ = nullptr;
}
}
// Adds two test DownloadItems to the DownloadManager.
void AddDownloadItems() {
ASSERT_NE(nullptr, dm_observer_);
// Add the item under test.
test_item_.reset(new NiceMock<download::MockDownloadItem>);
ON_CALL(*test_item_, GetId())
.WillByDefault(Return(kTestDownloadId));
ON_CALL(*test_item_, GetEndTime())
.WillByDefault(Return(base::Time::FromJsTime(kTestDownloadEndTimeMs)));
ON_CALL(*test_item_, GetState())
.WillByDefault(Return(download::DownloadItem::COMPLETE));
content::DownloadItemUtils::AttachInfo(test_item_.get(), &profile_,
nullptr);
dm_observer_->OnDownloadCreated(&download_manager_, test_item_.get());
// Add another item.
other_item_.reset(new NiceMock<download::MockDownloadItem>);
ON_CALL(*other_item_, GetId())
.WillByDefault(Return(kOtherDownloadId));
ON_CALL(*other_item_, GetEndTime())
.WillByDefault(Return(base::Time::FromJsTime(kTestDownloadEndTimeMs)));
content::DownloadItemUtils::AttachInfo(other_item_.get(), &profile_,
nullptr);
dm_observer_->OnDownloadCreated(&download_manager_, other_item_.get());
// Add an item with an id of zero.
zero_item_.reset(new NiceMock<download::MockDownloadItem>);
ON_CALL(*zero_item_, GetId())
.WillByDefault(Return(0));
ON_CALL(*zero_item_, GetEndTime())
.WillByDefault(Return(base::Time::FromJsTime(kTestDownloadEndTimeMs)));
ON_CALL(*zero_item_, GetState())
.WillByDefault(Return(download::DownloadItem::COMPLETE));
content::DownloadItemUtils::AttachInfo(zero_item_.get(), &profile_,
nullptr);
dm_observer_->OnDownloadCreated(&download_manager_, zero_item_.get());
ON_CALL(download_manager_, GetAllDownloads(_))
.WillByDefault(
Invoke(this, &DownloadMetadataManagerTestBase::GetAllDownloads));
}
// An implementation of the MockDownloadManager's
// DownloadManager::GetAllDownloads method that returns all items.
void GetAllDownloads(content::DownloadManager::DownloadVector* downloads) {
downloads->clear();
if (test_item_)
downloads->push_back(test_item_.get());
if (other_item_)
downloads->push_back(other_item_.get());
if (zero_item_)
downloads->push_back(zero_item_.get());
}
content::TestBrowserThreadBundle thread_bundle_;
NiceMock<MockDownloadMetadataManager> manager_;
TestingProfile profile_;
NiceMock<content::MockDownloadManager> download_manager_;
std::unique_ptr<download::MockDownloadItem> test_item_;
std::unique_ptr<download::MockDownloadItem> other_item_;
std::unique_ptr<download::MockDownloadItem> zero_item_;
// The DownloadMetadataManager's content::DownloadManager::Observer. Captured
// by download_manager_'s AddObserver action.
content::DownloadManager::Observer* dm_observer_ = nullptr;
};
// A parameterized test that exercises GetDownloadDetails. The parameters
// dictate the exact state of affairs leading up to the call as follows:
// 0: if "present", the profile has a pre-existing DownloadMetadata file.
// 1: if "managed", the profile's DownloadManager has been created.
// 2: the state of the DownloadItem prior to the call:
// "not_created": the DownloadItem has not been created.
// "created": the DownloadItem has been created.
// "opened": the DownloadItem has been opened.
// "removed": the DownloadItem has been removed.
// 3: if "loaded", the task to load the DownloadMetadata file is allowed to
// complete.
// 4: if "early_shutdown", the DownloadManager is shut down before the callback
// is allowed to complete.
class GetDetailsTest
: public DownloadMetadataManagerTestBase,
public ::testing::WithParamInterface<testing::tuple<const char*,
const char*,
const char*,
const char*,
const char*>> {
protected:
enum DownloadItemAction {
NOT_CREATED,
CREATED,
OPENED,
REMOVED,
};
GetDetailsTest()
: metadata_file_present_(),
manager_added_(),
item_action_(NOT_CREATED),
details_loaded_(),
early_shutdown_() {}
void SetUp() override {
DownloadMetadataManagerTestBase::SetUp();
metadata_file_present_ =
(std::string(testing::get<0>(GetParam())) == "present");
manager_added_ = (std::string(testing::get<1>(GetParam())) == "managed");
const std::string item_action(testing::get<2>(GetParam()));
item_action_ = (item_action == "not_created" ? NOT_CREATED :
(item_action == "created" ? CREATED :
(item_action == "opened" ? OPENED : REMOVED)));
details_loaded_ = (std::string(testing::get<3>(GetParam())) == "loaded");
early_shutdown_ =
(std::string(testing::get<4>(GetParam())) == "early_shutdown");
// Fixup combinations that don't make sense.
if (!manager_added_)
item_action_ = NOT_CREATED;
}
bool metadata_file_present_;
bool manager_added_;
DownloadItemAction item_action_;
bool details_loaded_;
bool early_shutdown_;
};
// Tests that DownloadMetadataManager::GetDownloadDetails works for all
// combinations of states.
TEST_P(GetDetailsTest, GetDownloadDetails) {
// Optionally put a metadata file in the profile directory.
if (metadata_file_present_)
ASSERT_NO_FATAL_FAILURE(WriteTestMetadataFile());
// Optionally add a download manager for the profile.
if (manager_added_)
ASSERT_NO_FATAL_FAILURE(AddDownloadManager());
// Optionally create download items and perform actions on the one under test.
if (item_action_ != NOT_CREATED)
ASSERT_NO_FATAL_FAILURE(AddDownloadItems());
if (item_action_ == OPENED)
test_item_->NotifyObserversDownloadOpened();
else if (item_action_ == REMOVED)
test_item_->NotifyObserversDownloadRemoved();
// Optionally allow the task to read the file to complete.
if (details_loaded_)
RunAllTasks();
// In http://crbug.com/433928, open after removal during load caused a crash.
if (item_action_ == REMOVED)
test_item_->NotifyObserversDownloadOpened();
MockDownloadDetailsGetter details_getter;
if (metadata_file_present_ && item_action_ != REMOVED) {
// The file is present, so expect that the callback is invoked with the
// details of the test download data written by WriteTestMetadataFile.
if (item_action_ == OPENED) {
EXPECT_CALL(details_getter,
OnDownloadDetails(
AllOf(ResultOf(GetDetailsDownloadUrl, StrEq(kTestUrl)),
ResultOf(GetDetailsOpenTime, Ne(0)))));
} else {
EXPECT_CALL(details_getter,
OnDownloadDetails(
AllOf(ResultOf(GetDetailsDownloadUrl, StrEq(kTestUrl)),
ResultOf(GetDetailsOpenTime, Eq(0)))));
}
} else {
// No file on disk, so expect that the callback is invoked with null.
EXPECT_CALL(details_getter, OnDownloadDetails(IsNull()));
}
// Fire in the hole!
manager_.GetDownloadDetails(&profile_, details_getter.GetCallback());
// Shutdown the download manager, if relevant.
if (early_shutdown_)
ShutdownDownloadManager();
// Allow the read task and the response callback to run.
RunAllTasks();
// Shutdown the download manager, if relevant.
ShutdownDownloadManager();
}
INSTANTIATE_TEST_SUITE_P(
DownloadMetadataManager,
GetDetailsTest,
testing::Combine(
testing::Values("absent", "present"),
testing::Values("not_managed", "managed"),
testing::Values("not_created", "created", "opened", "removed"),
testing::Values("waiting", "loaded"),
testing::Values("normal_shutdown", "early_shutdown")));
// A parameterized test that exercises SetRequest. The parameters dictate the
// exact state of affairs leading up to the call as follows:
// 0: the state of the DownloadMetadata file for the test profile:
// "absent": no file is present.
// "this": the file corresponds to the item being updated.
// "other": the file correponds to a different item.
// "unknown": the file corresponds to an item that has not been created.
// 1: if "pending", an operation is applied to the item being updated prior to
// the call.
// 2: if "pending", an operation is applied to a different item prior to the
// call.
// 3: if "loaded", the task to load the DownloadMetadata file is allowed to
// complete.
// 4: if "set", the call to SetRequest contains a new request; otherwise it
// does not, leading to removal of metadata.
class SetRequestTest
: public DownloadMetadataManagerTestBase,
public ::testing::WithParamInterface<testing::tuple<const char*,
const char*,
const char*,
const char*,
const char*>> {
protected:
enum MetadataFilePresent {
ABSENT,
PRESENT_FOR_THIS_ITEM,
PRESENT_FOR_OTHER_ITEM,
PRESENT_FOR_UNKNOWN_ITEM,
};
SetRequestTest()
: metadata_file_present_(ABSENT),
same_ops_(),
other_ops_(),
details_loaded_(),
set_request_() {}
void SetUp() override {
DownloadMetadataManagerTestBase::SetUp();
const std::string present(testing::get<0>(GetParam()));
metadata_file_present_ = (present == "absent" ? ABSENT :
(present == "this" ? PRESENT_FOR_THIS_ITEM :
(present == "other" ? PRESENT_FOR_OTHER_ITEM :
PRESENT_FOR_UNKNOWN_ITEM)));
same_ops_ = (std::string(testing::get<1>(GetParam())) == "pending");
other_ops_ = (std::string(testing::get<2>(GetParam())) == "pending");
details_loaded_ = (std::string(testing::get<3>(GetParam())) == "loaded");
set_request_ = (std::string(testing::get<4>(GetParam())) == "set");
}
MetadataFilePresent metadata_file_present_;
bool same_ops_;
bool other_ops_;
bool details_loaded_;
bool set_request_;
};
// Tests that DownloadMetadataManager::SetRequest works for all combinations of
// states.
TEST_P(SetRequestTest, SetRequest) {
// Optionally put a metadata file in the profile directory.
switch (metadata_file_present_) {
case ABSENT:
break;
case PRESENT_FOR_THIS_ITEM:
ASSERT_NO_FATAL_FAILURE(WriteTestMetadataFile());
break;
case PRESENT_FOR_OTHER_ITEM:
ASSERT_NO_FATAL_FAILURE(WriteTestMetadataFileForItem(kOtherDownloadId));
break;
case PRESENT_FOR_UNKNOWN_ITEM:
ASSERT_NO_FATAL_FAILURE(WriteTestMetadataFileForItem(kCrazyDowloadId));
break;
}
ASSERT_NO_FATAL_FAILURE(AddDownloadManager());
ASSERT_NO_FATAL_FAILURE(AddDownloadItems());
// Optionally allow the task to read the file to complete.
if (details_loaded_) {
RunAllTasks();
} else {
// Optionally add pending operations if the load is outstanding.
if (same_ops_)
test_item_->NotifyObserversDownloadOpened();
if (other_ops_)
other_item_->NotifyObserversDownloadOpened();
}
static const char kNewUrl[] = "http://blorf";
if (set_request_)
manager_.SetRequest(test_item_.get(), MakeTestRequest(kNewUrl).get());
// Allow the write or remove task to run.
RunAllTasks();
if (set_request_) {
MockDownloadDetailsGetter details_getter;
// Expect that the callback is invoked with details for this item.
EXPECT_CALL(
details_getter,
OnDownloadDetails(ResultOf(GetDetailsDownloadUrl, StrEq(kNewUrl))));
manager_.GetDownloadDetails(&profile_, details_getter.GetCallback());
}
// In http://crbug.com/433928, open after SetRequest(nullpr) caused a crash.
test_item_->NotifyObserversDownloadOpened();
ShutdownDownloadManager();
RunAllTasks();
if (set_request_) {
// Expect that the file contains metadata for the download.
std::unique_ptr<DownloadMetadata> metadata;
ASSERT_NO_FATAL_FAILURE(ReadTestMetadataFile(&metadata))
<< GetMetadataPath().value();
EXPECT_EQ(kTestDownloadId, metadata->download_id());
EXPECT_STREQ(kNewUrl, metadata->download().download().url().c_str());
} else if (metadata_file_present_ != ABSENT) {
// Expect that the metadata file has not been overwritten.
std::unique_ptr<DownloadMetadata> metadata;
ASSERT_NO_FATAL_FAILURE(ReadTestMetadataFile(&metadata))
<< GetMetadataPath().value();
} else {
// Expect that the file is not present.
ASSERT_FALSE(base::PathExists(GetMetadataPath()));
}
}
INSTANTIATE_TEST_SUITE_P(
DownloadMetadataManager,
SetRequestTest,
testing::Combine(testing::Values("absent", "this", "other", "unknown"),
testing::Values("none", "pending"),
testing::Values("none", "pending"),
testing::Values("waiting", "loaded"),
testing::Values("clear", "set")));
TEST_F(DownloadMetadataManagerTestBase, ActiveDownloadNoRequest) {
// Put some metadata on disk from a previous download.
ASSERT_NO_FATAL_FAILURE(WriteTestMetadataFileForItem(kOtherDownloadId));
ASSERT_NO_FATAL_FAILURE(AddDownloadManager());
ASSERT_NO_FATAL_FAILURE(AddDownloadItems());
// Allow everything to load into steady-state.
RunAllTasks();
// The test item is in progress.
ON_CALL(*test_item_, GetState())
.WillByDefault(Return(download::DownloadItem::IN_PROGRESS));
test_item_->NotifyObserversDownloadUpdated();
test_item_->NotifyObserversDownloadUpdated();
// The test item completes.
ON_CALL(*test_item_, GetState())
.WillByDefault(Return(download::DownloadItem::COMPLETE));
test_item_->NotifyObserversDownloadUpdated();
RunAllTasks();
ShutdownDownloadManager();
// Expect that the metadata file is still present.
std::unique_ptr<DownloadMetadata> metadata;
ASSERT_NO_FATAL_FAILURE(ReadTestMetadataFile(&metadata));
EXPECT_EQ(kOtherDownloadId, metadata->download_id());
}
TEST_F(DownloadMetadataManagerTestBase, ActiveDownloadWithRequest) {
// Put some metadata on disk from a previous download.
ASSERT_NO_FATAL_FAILURE(WriteTestMetadataFileForItem(kOtherDownloadId));
ASSERT_NO_FATAL_FAILURE(AddDownloadManager());
ASSERT_NO_FATAL_FAILURE(AddDownloadItems());
// Allow everything to load into steady-state.
RunAllTasks();
// The test item is in progress.
ON_CALL(*test_item_, GetState())
.WillByDefault(Return(download::DownloadItem::IN_PROGRESS));
test_item_->NotifyObserversDownloadUpdated();
// A request is set for it.
static const char kNewUrl[] = "http://blorf";
manager_.SetRequest(test_item_.get(), MakeTestRequest(kNewUrl).get());
test_item_->NotifyObserversDownloadUpdated();
// The test item completes.
ON_CALL(*test_item_, GetState())
.WillByDefault(Return(download::DownloadItem::COMPLETE));
test_item_->NotifyObserversDownloadUpdated();
RunAllTasks();
MockDownloadDetailsGetter details_getter;
// Expect that the callback is invoked with details for this item.
EXPECT_CALL(
details_getter,
OnDownloadDetails(ResultOf(GetDetailsDownloadUrl, StrEq(kNewUrl))));
manager_.GetDownloadDetails(&profile_, details_getter.GetCallback());
ShutdownDownloadManager();
// Expect that the file contains metadata for the download.
std::unique_ptr<DownloadMetadata> metadata;
ASSERT_NO_FATAL_FAILURE(ReadTestMetadataFile(&metadata));
EXPECT_EQ(kTestDownloadId, metadata->download_id());
EXPECT_STREQ(kNewUrl, metadata->download().download().url().c_str());
}
// Regression test for http://crbug.com/504092: open an item with id==0 when
// there is no metadata loaded.
TEST_F(DownloadMetadataManagerTestBase, OpenItemWithZeroId) {
ASSERT_NO_FATAL_FAILURE(AddDownloadManager());
ASSERT_NO_FATAL_FAILURE(AddDownloadItems());
// Allow everything to load into steady-state.
RunAllTasks();
// Open the zero-id item.
zero_item_->NotifyObserversDownloadOpened();
ShutdownDownloadManager();
}
} // namespace safe_browsing
| [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
b19dd114e576ff4b9b39e9f8c0b543b0fec7f7c4 | 7612c22ea34fef4a171368c6c247580a571fa2e3 | /ShaderDummy/src/tests/TestCube.cpp | 7b5e0fe14d181aa61bb0d80c3a3dd5f42be711b2 | [] | no_license | Ale32/ShaderDummy | d2e6c5eeba099ea581b58100ad15c9c37caba533 | f8dc0a6c06f5c4702c54ab8884c9a72fc298d431 | refs/heads/master | 2022-02-22T01:16:18.808140 | 2019-07-07T15:28:00 | 2019-07-07T15:28:00 | 190,259,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,232 | cpp | #include "TestCube.h"
#include "Renderer.h"
#include "imgui/imgui.h"
#include "glm/glm.hpp"
#include "glm/gtc/matrix_transform.hpp"
namespace test {
TestCube::TestCube()
: m_Translation(0.0f, 0.0f, 0.0f), m_Rotation(0.0f, 0.0f, 0.0f)
{
// Vertex data
float vertexData[] = {
-0.5f, -0.5f, -0.5f, 0.0f, 0.0f, // first three are position, next two are uv
0.5f, -0.5f, -0.5f, 1.0f, 0.0f,
0.5f, 0.5f, -0.5f, 1.0f, 1.0f,
0.5f, 0.5f, -0.5f, 1.0f, 1.0f,
-0.5f, 0.5f, -0.5f, 0.0f, 1.0f,
-0.5f, -0.5f, -0.5f, 0.0f, 0.0f,
-0.5f, -0.5f, 0.5f, 0.0f, 0.0f,
0.5f, -0.5f, 0.5f, 1.0f, 0.0f,
0.5f, 0.5f, 0.5f, 1.0f, 1.0f,
0.5f, 0.5f, 0.5f, 1.0f, 1.0f,
-0.5f, 0.5f, 0.5f, 0.0f, 1.0f,
-0.5f, -0.5f, 0.5f, 0.0f, 0.0f,
-0.5f, 0.5f, 0.5f, 1.0f, 0.0f,
-0.5f, 0.5f, -0.5f, 1.0f, 1.0f,
-0.5f, -0.5f, -0.5f, 0.0f, 1.0f,
-0.5f, -0.5f, -0.5f, 0.0f, 1.0f,
-0.5f, -0.5f, 0.5f, 0.0f, 0.0f,
-0.5f, 0.5f, 0.5f, 1.0f, 0.0f,
0.5f, 0.5f, 0.5f, 1.0f, 0.0f,
0.5f, 0.5f, -0.5f, 1.0f, 1.0f,
0.5f, -0.5f, -0.5f, 0.0f, 1.0f,
0.5f, -0.5f, -0.5f, 0.0f, 1.0f,
0.5f, -0.5f, 0.5f, 0.0f, 0.0f,
0.5f, 0.5f, 0.5f, 1.0f, 0.0f,
-0.5f, -0.5f, -0.5f, 0.0f, 1.0f,
0.5f, -0.5f, -0.5f, 1.0f, 1.0f,
0.5f, -0.5f, 0.5f, 1.0f, 0.0f,
0.5f, -0.5f, 0.5f, 1.0f, 0.0f,
-0.5f, -0.5f, 0.5f, 0.0f, 0.0f,
-0.5f, -0.5f, -0.5f, 0.0f, 1.0f,
-0.5f, 0.5f, -0.5f, 0.0f, 1.0f,
0.5f, 0.5f, -0.5f, 1.0f, 1.0f,
0.5f, 0.5f, 0.5f, 1.0f, 0.0f,
0.5f, 0.5f, 0.5f, 1.0f, 0.0f,
-0.5f, 0.5f, 0.5f, 0.0f, 0.0f,
-0.5f, 0.5f, -0.5f, 0.0f, 1.0f
};
GLCall(glEnable(GL_BLEND));
GLCall(glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA));
// Create the vertex buffer
m_VertexBuffer = std::make_unique<VertexBuffer>(vertexData, 5 * 36 * sizeof(float));
VertexBufferLayout layout;
layout.Push<float>(3);
layout.Push<float>(2);
// Create the vertex array object
m_VAO = std::make_unique<VertexArray>();
m_VAO->AddBuffer(*m_VertexBuffer, layout);
// Creating shader
m_Shader = std::make_unique<Shader>("res/shaders/Cube.vertex", "res/shaders/Cube.fragment");
m_Shader->Bind();
// Create a texture
m_Texture = std::make_unique<Texture>("res/textures/SampleImage.png");
m_Shader->SetUniform1i("u_texture", 0);
}
TestCube::~TestCube()
{
}
void TestCube::OnUpdate(float deltaTime)
{
}
void TestCube::OnRender(const glm::mat4& view, const glm::mat4& projection)
{
GLCall(glClearColor(0.0f, 0.0f, 0.0f, 1.0f));
GLCall(glClear(GL_COLOR_BUFFER_BIT));
Renderer renderer;
m_Texture->Bind();
{
glm::mat4 model = glm::translate(glm::mat4(1.0f), m_Translation);
model = glm::rotate(model, glm::radians(m_Rotation.x), glm::vec3(1.0f, 0.0f, 0.0f));
model = glm::rotate(model, glm::radians(m_Rotation.y), glm::vec3(0.0f, 1.0f, 0.0f));
model = glm::rotate(model, glm::radians(m_Rotation.z), glm::vec3(0.0f, 0.0f, 1.0f));
m_Shader->Bind();
m_Shader->SetUniformMat4f("u_model", model);
m_Shader->SetUniformMat4f("u_view", view);
m_Shader->SetUniformMat4f("u_projection", projection);
renderer.Draw(*m_VAO, *m_Shader);
}
}
void TestCube::OnImGuiRender()
{
ImGui::SliderFloat3("Translation", &m_Translation.x, -1.0f, 1.0f);
ImGui::SliderFloat("Translation Z", &m_Translation.z, -10.0f, 0.0f);
ImGui::SliderFloat("Rotation X", &m_Rotation.x, -90, 90);
ImGui::SliderFloat("Rotation Y", &m_Rotation.y, -90, 90);
ImGui::SliderFloat("Rotation Z", &m_Rotation.z, -90, 90);
}
} | [
"alessiopaoletti32@gmail.com"
] | alessiopaoletti32@gmail.com |
cb4b5b06a1861fe45bb757c155121659ca200583 | ac140a854c180f0c6c0ff0f35518c18e32a43758 | /ModernCpp/SubParagraph_14_3_1.cpp | e6554ad799f493decd9e3fbe16f1c08decb555f6 | [] | no_license | klasing/MnistExample | 53bd4e6316b513889acd77a5549082863c643435 | 720479f6768c15fa6e63fafd415b5a2bcff3dfa9 | refs/heads/master | 2020-04-22T00:29:18.102857 | 2019-06-30T18:41:17 | 2019-06-30T18:41:17 | 169,981,063 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,620 | cpp | #include "pch.h"
inline void subParagraph_14_3_1() {
cout << "ECMAScript Syntax" << endl;
cout << "-----------------" << endl;
cout << " Special Charaters:" << endl;
cout << " ^ $ \\ . * + ? ( ) [ ] { } |" << endl;
cout << "a) Anchors" << endl;
cout << " Beginning of the string: ^" << endl;
cout << " End of the string: $" << endl;
cout << "b) Wildcards" << endl;
cout << " Any character, except the newline character: ." << endl;
cout << "c) Repetition" << endl;
cout << " Zero or more times: *" << endl;
cout << " One or more times: +" << endl;
cout << " Zero or one times: ?" << endl;
cout << " bounded repeat {...}" << endl;
cout << "d) Alternation" << endl;
cout << " \"or\" relationship: |" << endl;
cout << "e) Grouping" << endl;
cout << " Capture groups: ()" << endl;
cout << "f) Precedence" << endl;
cout << "g) Character Set Matches" << endl;
cout << " Character set: [...]" << endl;
cout << " Range specification: e.g. [a-zA-Z\\-]*" << endl;
cout << " Character classes: [:name:]" << endl;
cout << "h) Word Boundaries" << endl;
cout << " The beginning of a source string" << endl;
cout << " The end of a source string" << endl;
cout << " The first character of a word" << endl;
cout << " The end of a word" << endl;
cout << " Match a word boundary: \\b" << endl;
cout << " Match anything except a word boundary: \\B" << endl;
cout << "i) Back References" << endl;
cout << " E.g. match: 123-abc-123 or 1234-abcd-1234," << endl;
cout << " ^(\d+)-.*-\\1$" << endl;
cout << "j) Regular Expression and Raw String Literals" << endl;
} | [
"klasing1959@gmail.com"
] | klasing1959@gmail.com |
ccbdb12d4b669f4408c7fc524774f41764d6bc87 | 003660482bec5ad6529c5b2b1f964dac43cbc055 | /opdr5/main.cpp | 8a53be749964c2597870f0ee8e45c7e258d12b39 | [] | no_license | notzain/RTD_Assignments | 77d5dd2903398ae0dd3c4e14cbf8f60cb8e704bc | 7665e1fcb580c3be016e642e13ef0453837fcd27 | refs/heads/master | 2020-03-13T22:33:13.747031 | 2018-06-22T21:39:28 | 2018-06-22T21:39:28 | 131,318,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | //
// Created by zain on 4/27/18.
//
#include <iostream>
#include <memory>
#include "lib_domain/Match.h"
#include "lib_domain/Robot.h"
#include "lib_domainfactory/SimpleDomainFactory.h"
#include "lib_util/IObserver.h"
#include "lib_util/Subject.h"
#include "lib_ui/MainWindow.h"
int main() {
Ui::MainWindow window;
DomainFactory::SimpleDomainFactory factory;
auto robot = factory.makeRobot();
auto match = factory.makeMatch(robot);
dynamic_cast<Domain::Robot*>(robot.get())->attach(&window);
match->run();
return 0;
} | [
"zain.x.ahmad@gmail.com"
] | zain.x.ahmad@gmail.com |
1d546416c100e192bb209bb8b7be689a62e5170f | de01cb554c2292b0fbb79b4d5413a2f6414ea472 | /algorithms/Medium/777.swap-adjacent-in-lr-string.cpp | a0b9ce8c85562156f88228c2e85730797c23d5ab | [] | no_license | h4hany/yeet-the-leet | 98292017eadd3dde98a079aafcd7648aa98701b4 | 563d779467ef5a7cc85cbe954eeaf3c1f5463313 | refs/heads/master | 2022-12-10T08:35:39.830260 | 2020-09-02T23:12:15 | 2020-09-02T23:12:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | /*
* @lc app=leetcode id=777 lang=cpp
*
* [777] Swap Adjacent in LR String
*
* https://leetcode.com/problems/swap-adjacent-in-lr-string/description/
*
* algorithms
* Medium (34.82%)
* Total Accepted: 28.1K
* Total Submissions: 80.7K
* Testcase Example: '"X"\n"L"'
*
* In a string composed of 'L', 'R', and 'X' characters, like "RXXLRXRXL", a
* move consists of either replacing one occurrence of "XL" with "LX", or
* replacing one occurrence of "RX" with "XR". Given the starting string start
* and the ending string end, return True if and only if there exists a
* sequence of moves to transform one string to the other.
*
* Example:
*
*
* Input: start = "RXXLRXRXL", end = "XRLXXRRLX"
* Output: True
* Explanation:
* We can transform start to end following these steps:
* RXXLRXRXL ->
* XRXLRXRXL ->
* XRLXRXRXL ->
* XRLXXRRXL ->
* XRLXXRRLX
*
*
*
* Constraints:
*
*
* 1 <= len(start) == len(end) <= 10000.
* Both start and end will only consist of characters in {'L', 'R', 'X'}.
*
*
*/
class Solution {
public:
bool canTransform(string start, string end) {
}
};
| [
"kevin.wkmiao@gmail.com"
] | kevin.wkmiao@gmail.com |
7ddaddcabc85d8722b52211d79589674652ba683 | f497f47cb9fd50721995905fde02a591c1e844ee | /RobotWar.spritebuilder/Source/AkiRobotCpp.h | a9a9e684ffd4017c8c8da461fab1ed0d3414bd58 | [] | no_license | ryutamaki/RobotWar-Cpp | 027fb705b0978a49a2fb188d81bbd8a8024b51a6 | e1c879887e73a595d6d1b63e320d32232e7c8d3a | refs/heads/master | 2020-12-30T09:50:47.951563 | 2015-07-07T16:22:31 | 2015-07-07T16:22:31 | 38,653,914 | 0 | 0 | null | 2015-07-07T00:23:43 | 2015-07-07T00:23:43 | null | UTF-8 | C++ | false | false | 2,091 | h | //
// AkiRobotCpp.h
// RobotWar
//
// Created by Akihito OKUHATA on 2015/07/06.
// Copyright (c) 2015年 MakeGamesWithUs. All rights reserved.
//
#ifndef __RobotWar__Fliegerhammer__
#define __RobotWar__Fliegerhammer__
#include "RobotCpp.h"
#include <random>
namespace FliegerhammerAction {
enum FliegerhammerAction {
DEFAULT,
TURN_AROUND,
SEARCHING,
RESET_SEARCHING,
FIRING,
RESET_FIRING
};
};
namespace FliegerhammerArea {
enum FliegerhammerArea {
TopLeft,
TopRight,
BottomLeft,
BottomRight,
};
};
class AkiRobotCpp : public RobotCpp
{
public:
AkiRobotCpp();
void run() override;
void gotHit() override;
void hitWallWithSideAndAngle(RobotWallHitSide::RobotWallHitSide side, float hitAngle) override;
void bulletHitEnemy(RWVec enemyPosition) override;
void scannedRobotAtPosition(RWVec position) override;
private:
FliegerhammerAction::FliegerhammerAction currentState;
RWVec lastKnownPosition;
float lastKnownPositionTimestamp;
int actionIndex;
void performNextFiringAction();
void performNextDefaultAction();
void performNextTurnAroundAction();
void performNextSearchingAction();
RWVec enemyPositionInSearch;
float bulletHitTimestampInSearch;
std::vector<RWVec> enemyPositionsInFiring;
std::vector<float> bulletHitTimestampList;
std::vector<float> gotHitTimestampList;
FliegerhammerArea::FliegerhammerArea getAreaFromPosition(RWVec position);
FliegerhammerArea::FliegerhammerArea getNextCorner(FliegerhammerArea::FliegerhammerArea area, bool counterClockwise = false);
void moveToTriangle(FliegerhammerArea::FliegerhammerArea currentArea, int numOfCornder);
void moveToCorner(FliegerhammerArea::FliegerhammerArea area);
RWVec getCornerCoordinateByArea(FliegerhammerArea::FliegerhammerArea area);
void barrage();
std::default_random_engine randomGenerator;
int enemyHp;
int ownHp;
bool emergencyActing;
};
#endif /* defined(__RobotWar__Fliegerhammer__) */
| [
"aokht.zxc.v@gmail.com"
] | aokht.zxc.v@gmail.com |
4fadf0b04affdc8f19f3820f44121f4a275c48a1 | 0e64d27787f4135a3e7c0da4b8da503fa5bb8cce | /Test/Engine/WorldTest.cpp | 661ba941d8394b8f8a8a763623f54712cd25edbf | [
"Zlib"
] | permissive | adamyaxley/Pineapple | c09665e7bc4e6a25da9d5948d87edad786182b80 | 467d64312151a0336bdf60606bf6fd30c330fa20 | refs/heads/master | 2021-08-28T15:43:52.993799 | 2021-08-21T02:54:25 | 2021-08-21T02:54:25 | 87,867,072 | 14 | 1 | NOASSERTION | 2023-08-30T08:49:52 | 2017-04-10T23:32:14 | C++ | UTF-8 | C++ | false | false | 7,431 | cpp | #include <Pineapple/Engine/System/InputHandler.h>
#include <Pineapple/Engine/System/TimerHandler.h>
#include <Pineapple/Engine/System/World.h>
#include <Pineapple/Engine/System/Object.h>
#include <Pineapple/Engine/System/EnableChildList.h>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
struct TestWorldEndObject : public pa::Object
{
TestWorldEndObject(pa::World& world)
: pa::Object(world)
{
}
void onCreate() override
{
getWorld().end();
}
};
struct TestWorldNextSceneObject2;
struct TestWorldNextSceneObject1 : public pa::Object
{
TestWorldNextSceneObject1(pa::World& world)
: pa::Object(world)
{
}
void onCreate() override
{
getWorld().resetNextStep<TestWorldNextSceneObject2>();
}
};
struct TestWorldNextSceneObject2 : public pa::Object
{
TestWorldNextSceneObject2(pa::World& world)
: pa::Object(world)
{
}
};
struct TestWorldNextSceneWithCallbacksObject1 : public pa::Object, public pa::InputHandler
{
TestWorldNextSceneWithCallbacksObject1(pa::World& world)
: pa::Object(world)
, pa::InputHandler(world)
{
}
};
struct TestWorldVariadicTemplatesObject : public pa::Object
{
TestWorldVariadicTemplatesObject(pa::World& world, int x, std::string y)
: pa::Object(world)
{
pa::Log::info("TestWorldVariadicTemplatesObject({}, {})", x, y.c_str());
}
};
struct TestWorldPerfectForwarding : public pa::Object
{
const bool success;
TestWorldPerfectForwarding(pa::World& world, int&& perfect1, int& perfect2)
: pa::Object(world)
, success(true)
{
perfect2 = 1;
}
template <typename T, typename U>
TestWorldPerfectForwarding(pa::World& world, T&& inperfect1, U&& inperfect2)
: pa::Object(world)
, success(false)
{
}
};
TEST(World, PerfectForwarding)
{
{
int lvalue = 0;
int& lvalueref = lvalue;
pa::World world;
world.create<TestWorldPerfectForwarding>(7, lvalueref);
ASSERT_EQ(true, (*world.getList<TestWorldPerfectForwarding>().begin())->success);
ASSERT_EQ(1, lvalueref);
}
{
int lvalue = 0;
int& lvalueref = lvalue;
pa::World world;
world.resetNextStep<TestWorldPerfectForwarding>(7, lvalueref);
ASSERT_EQ(0, lvalueref);
world.step(pa::Time(0.f));
ASSERT_EQ(true, (*world.getList<TestWorldPerfectForwarding>().begin())->success);
ASSERT_EQ(1, lvalueref);
}
}
TEST(World, End)
{
pa::World world;
bool stillAlive = world.step(pa::Time(0.f));
ASSERT_EQ(true, stillAlive);
world.end();
stillAlive = world.step(pa::Time(0.f));
ASSERT_EQ(false, stillAlive);
}
TEST(World, Ticks)
{
pa::World world;
ASSERT_EQ(0, world.getTicks());
world.step(pa::Time(0.f));
ASSERT_EQ(1, world.getTicks());
world.step(pa::Time(0.f));
ASSERT_EQ(2, world.getTicks());
world.step(pa::Time(0.f));
ASSERT_EQ(3, world.getTicks());
}
TEST(World, NextScene)
{
pa::World world;
world.create<TestWorldNextSceneObject1>();
ASSERT_EQ(1u, world.getList<TestWorldNextSceneObject1>().size());
ASSERT_EQ(0u, world.getList<TestWorldNextSceneObject2>().size());
world.step(pa::Time(0.f));
ASSERT_EQ(0u, world.getList<TestWorldNextSceneObject1>().size());
ASSERT_EQ(1u, world.getList<TestWorldNextSceneObject2>().size());
}
struct CreatedObjectOnStep : public pa::Object
{
bool stepped{false};
CreatedObjectOnStep(pa::World& world)
: pa::Object(world)
{
}
void onStep(pa::Time deltaTime) override
{
stepped = true;
}
};
struct CreatesObjectOnFirstStep : public pa::Object
{
CreatesObjectOnFirstStep(pa::World& world)
: pa::Object(world)
{
}
void onStep(pa::Time deltaTime) override
{
if (getWorld().getTicks() == 0)
{
getWorld().create<CreatedObjectOnStep>();
ASSERT_EQ(getWorld().getList<CreatedObjectOnStep>().size(), 1u);
}
}
};
TEST(World, CreatingAnObjectDuringStep)
{
pa::World world;
world.create<CreatesObjectOnFirstStep>();
world.step(pa::Time(0.f));
}
TEST(World, CreatedObjectDuringStepIsNotStepped)
{
{
pa::World world;
world.setPriority<CreatesObjectOnFirstStep>(-1);
world.create<CreatesObjectOnFirstStep>();
world.step(pa::Time(0.f));
ASSERT_EQ(false, (*world.getList<CreatedObjectOnStep>().begin())->stepped);
world.step(pa::Time(0.f));
ASSERT_EQ(true, (*world.getList<CreatedObjectOnStep>().begin())->stepped);
}
{
pa::World world;
world.setPriority<CreatedObjectOnStep>(0);
world.setPriority<CreatesObjectOnFirstStep>(-1);
world.create<CreatesObjectOnFirstStep>();
world.step(pa::Time(0.f));
ASSERT_EQ(false, (*world.getList<CreatedObjectOnStep>().begin())->stepped);
world.step(pa::Time(0.f));
ASSERT_EQ(true, (*world.getList<CreatedObjectOnStep>().begin())->stepped);
}
}
TEST(World, CallbackStepInput)
{
pa::World world;
world.create<TestWorldNextSceneWithCallbacksObject1>();
world.step(pa::Time(0.f));
}
TEST(World, CallbackCleanup)
{
pa::World world;
world.create<TestWorldNextSceneWithCallbacksObject1>();
}
TEST(World, VariadicTemplates)
{
pa::World world;
// This is a compile time test
world.create<TestWorldVariadicTemplatesObject>(5, "hello");
}
namespace
{
struct Base : public pa::Object, private pa::EnableChildList<Base>
{
Base(pa::World& world)
: pa::Object(world)
, pa::EnableChildList<Base>(world)
{
}
};
struct Derived : public Base, private pa::EnableChildList<Derived>
{
Derived(pa::World& world)
: Base(world)
, pa::EnableChildList<Derived>(world)
{
}
};
struct DerivedDerived : public Derived
{
DerivedDerived(pa::World& world)
: Derived(world)
{
}
};
}
TEST(World, RegisterChildren)
{
// Guarantee small memory overhead for registering children
ASSERT_EQ(sizeof(Base), sizeof(pa::Object));
pa::World world;
auto base = world.create<Base>();
ASSERT_EQ(world.getList<Base>().size(), 1u);
ASSERT_EQ(world.getChildList<Base>().size(), 1u);
ASSERT_EQ(world.getList<Derived>().size(), 0u);
ASSERT_EQ(world.getChildList<Derived>().size(), 0u);
base->destroy();
world.step(pa::Time(0.f));
ASSERT_EQ(world.getList<Base>().size(), 0u);
ASSERT_EQ(world.getChildList<Base>().size(), 0u);
ASSERT_EQ(world.getList<Derived>().size(), 0u);
ASSERT_EQ(world.getChildList<Derived>().size(), 0u);
auto derived = world.create<Derived>();
ASSERT_EQ(world.getList<Base>().size(), 0u);
ASSERT_EQ(world.getChildList<Base>().size(), 1u);
ASSERT_EQ(world.getList<Derived>().size(), 1u);
ASSERT_EQ(world.getChildList<Derived>().size(), 1u);
derived->destroy();
world.step(pa::Time(0.f));
ASSERT_EQ(world.getList<Base>().size(), 0u);
ASSERT_EQ(world.getChildList<Base>().size(), 0u);
ASSERT_EQ(world.getList<Derived>().size(), 0u);
ASSERT_EQ(world.getChildList<Derived>().size(), 0u);
auto derivedDerived = world.create<DerivedDerived>();
ASSERT_EQ(world.getList<Base>().size(), 0u);
ASSERT_EQ(world.getChildList<Base>().size(), 1u);
ASSERT_EQ(world.getList<Derived>().size(), 0u);
ASSERT_EQ(world.getChildList<Derived>().size(), 1u);
derivedDerived->destroy();
world.step(pa::Time(0.f));
ASSERT_EQ(world.getList<Base>().size(), 0u);
ASSERT_EQ(world.getChildList<Base>().size(), 0u);
ASSERT_EQ(world.getList<Derived>().size(), 0u);
ASSERT_EQ(world.getChildList<Derived>().size(), 0u);
}
TEST(World, ResetNextStepChildren)
{
pa::World world;
world.create<Base>();
ASSERT_EQ(1u, world.getList<Base>().size());
ASSERT_EQ(1u, world.getChildList<Base>().size());
world.resetNextStep<Base>();
world.step(pa::Time(0));
ASSERT_EQ(1u, world.getList<Base>().size());
ASSERT_EQ(1u, world.getChildList<Base>().size());
}
| [
"craincat666@gmail.com"
] | craincat666@gmail.com |
d9b64b488253d80f9fe6c0df352720b1019f4e55 | 543805ee01f6984798a4d36ee8692e8707a37b23 | /server/src/FileModifyHandler.cpp | 5d84be25b5204b7b4b7e6369ea3f3283332a008c | [] | no_license | eduardoneira/Macho-Drive | 0a5bef41f4c6d8cf927f786cf483dfd1ac928aed | a9b9cb4703dfb3d89908ce756b13bf5648ba4937 | refs/heads/master | 2021-01-22T22:44:07.744386 | 2016-12-06T02:56:03 | 2016-12-06T02:56:03 | 41,469,142 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,493 | cpp | #include "FileModifyHandler.h"
#include "JsonSerializer.h"
#include "FileData.h"
#include "Util.h"
#include "UserMetadata.h"
#include <iostream>
#include "Logger.h"
FileModifyHandler::FileModifyHandler(Database *db, TokenAuthenticator *a) : EventHandlerChecksAuthentication(db, a)
{
//ctor
}
FileModifyHandler::~FileModifyHandler()
{
//dtor
}
bool FileModifyHandler::isMyRequest(HttpRequest &hmsg){
// PUT /files/'username'/'filename' quiere decir modificar archivo de tal usuario
Server_Logger* log = Server_Logger::getInstance();
log->Log("Verifica que se trate de un Handler tipo FileModify",INFO);
if(hmsg.getUriParsedByIndex(0) == HttpRequest::FILES &&
hmsg.getUriCantCampos() == 3 &&
hmsg.getUriType() == HttpRequest::ELEMENT_URI &&
hmsg.getMethod() == HttpRequest::PUT){
log->Log("Confirma que es un Handler tipo FileModify",INFO);
return true;
}
return false;
}
/// FORMATO PARA MODIFICACIONES
/*
{
// estos campos son obligatorios, para encontrar el archivo en la base de datos
"filename" : "test.txt",
"username" : "gabriel",
// estos campos refieren a los cambios y son opcionales, si alguno no existe no se hace ningun cambio a la variable que representan
"filename_change" : "test_update.txt",
// por ahora es todo el nuevo contenido del archivo. tal vez se podria mejorar y hacer que trabaje con diferencias, pero si probamos esto y no es ineficiente esta bien para mi
"content_change" : "nuevo contenido",
// aca no hay ningun chequeo por ahora, si me pasan que borre uno que no existe no pasa nada. Pero si me dicen que agregue a alguien y despues lo borre, es medio turbio
// para mi el chequeo de 'borrar solo los que ya estan en la lista' o por lo menos 'no pedir agregar y borrar a uno en la misma modificacion' deberian ir en el cliente, pero es debatible
"users_with_read_permission_add" : [ "edu" ],
"users_with_read_permission_remove" : [ "nico" ],
// lo mismo, y ademas si le sacan privilegio de leer a alguien tambien le deberian sacar el de escribir
// ese chequeo ahora no esta, yo lo pondria en el cliente tambien (va, tal vez lo mejor es que este en los dos)
"users_with_write_permission_add" : [ "" ],
"users_with_write_permission_remove" : [ "" ],
"tags_add" : [ "" ],
"tags_remove" : [ "" ],
// todos los campos anteriores deberian basarse en el input del usuario, este lo pone el cliente. seria la cuenta desde la que estoy modificando
"user_who_modified" : ""
}
*/
void FileModifyHandler::_handle(HttpRequest &hmsg){
Status s;
Server_Logger* log = Server_Logger::getInstance();
std::string filename = hmsg.getFilename();
log->Log("El campo recibido por filename es : "+filename,DEBUG);
if(filename == ""){
hmsg.setResponse(Status::InvalidArgument());
return;
}
std::string username = hmsg.getUsername();
log->Log("El campo recibido por username es : "+username,DEBUG);
if(username == ""){
hmsg.setResponse(Status::InvalidArgument());
return;
}
std::string owner_username = "";
/*std::string owner_username = hmsg.getCampo("owner_username");
log->Log("El campo recibido por owner username es : "+owner_username,DEBUG);
if(owner_username == ""){
hmsg.setResponse(Status::InvalidArgument());
return;
}*/
UserMetadata user_metadata(db);
user_metadata.setUsername(username);
log->Log("Verifica a quien le pertenece el arcivo buscado",INFO);
if(user_metadata.DBisMyFile(filename)){
owner_username = username;
} else {
owner_username = user_metadata.DBisSharedFile(filename).first;
if(owner_username == ""){
log->Log("No se encontro el archivo buscado",WARNING);
hmsg.setResponse(Status::NotFound("File not found"));
return;
}
}
std::string ubicacion = hmsg.getCampo("ubicacion");
std::string filename_new = hmsg.getCampo("filename_change");
std::string content_new = hmsg.getCampo("content_change");
std::vector<int> delete_versions;
for(int i = 0;; ++i){
std::string v_str = hmsg.getCampoDeArray("delete_versions", i);
if(v_str == "")
break;
delete_versions.push_back(atoi(v_str.c_str()));
}
std::vector<std::string> users_read_add;
for(int i = 0;; ++i){
std::string user = hmsg.getCampoDeArray("users_with_read_permission_add", i);
if(user == "")
break;
//file_data.DBaddUserWithReadPermission(user);
users_read_add.push_back(user);
}
std::vector<std::string> users_read_remove;
for(int i = 0;; ++i){
std::string user = hmsg.getCampoDeArray("users_with_read_permission_remove", i);
if(user == "")
break;
//file_data.DBremoveUserWithReadPermission(user);
users_read_remove.push_back(user);
}
std::vector<std::string> users_write_add;
for(int i = 0;; ++i){
std::string user = hmsg.getCampoDeArray("users_with_write_permission_add", i);
if(user == "")
break;
//file_data.DBaddUserWithWritePermission(user);
users_write_add.push_back(user);
}
std::vector<std::string> users_write_remove;
for(int i = 0;; ++i){
std::string user = hmsg.getCampoDeArray("users_with_write_permission_remove", i);
if(user == "")
break;
//file_data.DBremoveUserWithWritePermission(user);
users_write_remove.push_back(user);
}
std::vector<std::string> tags_add;
for(int i = 0;; ++i){
std::string tag = hmsg.getCampoDeArray("tags_add", i);
if(tag == "")
break;
//file_data.DBaddTag(tag);
tags_add.push_back(tag);
}
std::vector<std::string> tags_remove;
for(int i = 0;; ++i){
std::string tag = hmsg.getCampoDeArray("tags_delete", i);
if(tag == "")
break;
//file_data.DBremoveTag(tag);
tags_remove.push_back(tag);
}
FileData file_data(db);
file_data.setFilename(filename);
file_data.setOwnerUsername(owner_username);
s = file_data.DBmodify(username, filename_new, ubicacion, content_new, users_read_add, users_read_remove, users_write_add, users_write_remove, tags_add, tags_remove, delete_versions);
hmsg.setResponse(s);
}
| [
"ga-yo-so@hotmail.com"
] | ga-yo-so@hotmail.com |
cec5336994b299d37283477b3030213d86f261e7 | 0ca533f11fe7c1130c1a10c7e9171940f70c8121 | /TinQtConsole/TinQTBreakpointsWinMoc.cpp | e25fd9ecc13477d420de1b0f5cae42a409074604 | [] | no_license | KidneyThief/TinScript_2016 | 3166f340a164abaab21b0b0c8a2c6713cd8a273f | 06f05f8393a0d19599f6f61cee3dc52a14b7efe2 | refs/heads/master | 2022-06-27T03:41:00.803498 | 2022-06-05T22:24:23 | 2022-06-05T22:24:23 | 48,601,862 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,648 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'TinQTBreakpointsWin.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "TinQTBreakpointsWin.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'TinQTBreakpointsWin.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.3.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_CDebugBreakpointsWin_t {
QByteArrayData data[5];
char stringdata[65];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_CDebugBreakpointsWin_t, stringdata) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_CDebugBreakpointsWin_t qt_meta_stringdata_CDebugBreakpointsWin = {
{
QT_MOC_LITERAL(0, 0, 20),
QT_MOC_LITERAL(1, 21, 9),
QT_MOC_LITERAL(2, 31, 0),
QT_MOC_LITERAL(3, 32, 16),
QT_MOC_LITERAL(4, 49, 15)
},
"CDebugBreakpointsWin\0OnClicked\0\0"
"QListWidgetItem*\0OnDoubleClicked"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_CDebugBreakpointsWin[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
2, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 1, 24, 2, 0x0a /* Public */,
4, 1, 27, 2, 0x0a /* Public */,
// slots: parameters
QMetaType::Void, 0x80000000 | 3, 2,
QMetaType::Void, 0x80000000 | 3, 2,
0 // eod
};
void CDebugBreakpointsWin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
CDebugBreakpointsWin *_t = static_cast<CDebugBreakpointsWin *>(_o);
switch (_id) {
case 0: _t->OnClicked((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
case 1: _t->OnDoubleClicked((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
default: ;
}
}
}
const QMetaObject CDebugBreakpointsWin::staticMetaObject = {
{ &QListWidget::staticMetaObject, qt_meta_stringdata_CDebugBreakpointsWin.data,
qt_meta_data_CDebugBreakpointsWin, qt_static_metacall, 0, 0}
};
const QMetaObject *CDebugBreakpointsWin::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *CDebugBreakpointsWin::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_CDebugBreakpointsWin.stringdata))
return static_cast<void*>(const_cast< CDebugBreakpointsWin*>(this));
return QListWidget::qt_metacast(_clname);
}
int CDebugBreakpointsWin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QListWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 2)
qt_static_metacall(this, _c, _id, _a);
_id -= 2;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 2)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 2;
}
return _id;
}
struct qt_meta_stringdata_CDebugCallstackWin_t {
QByteArrayData data[4];
char stringdata[53];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_CDebugCallstackWin_t, stringdata) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_CDebugCallstackWin_t qt_meta_stringdata_CDebugCallstackWin = {
{
QT_MOC_LITERAL(0, 0, 18),
QT_MOC_LITERAL(1, 19, 15),
QT_MOC_LITERAL(2, 35, 0),
QT_MOC_LITERAL(3, 36, 16)
},
"CDebugCallstackWin\0OnDoubleClicked\0\0"
"QListWidgetItem*"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_CDebugCallstackWin[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
1, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 1, 19, 2, 0x0a /* Public */,
// slots: parameters
QMetaType::Void, 0x80000000 | 3, 2,
0 // eod
};
void CDebugCallstackWin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
CDebugCallstackWin *_t = static_cast<CDebugCallstackWin *>(_o);
switch (_id) {
case 0: _t->OnDoubleClicked((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
default: ;
}
}
}
const QMetaObject CDebugCallstackWin::staticMetaObject = {
{ &QListWidget::staticMetaObject, qt_meta_stringdata_CDebugCallstackWin.data,
qt_meta_data_CDebugCallstackWin, qt_static_metacall, 0, 0}
};
const QMetaObject *CDebugCallstackWin::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *CDebugCallstackWin::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_CDebugCallstackWin.stringdata))
return static_cast<void*>(const_cast< CDebugCallstackWin*>(this));
return QListWidget::qt_metacast(_clname);
}
int CDebugCallstackWin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QListWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 1)
qt_static_metacall(this, _c, _id, _a);
_id -= 1;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 1)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 1;
}
return _id;
}
QT_END_MOC_NAMESPACE
| [
"kidneythief9@gmail.com"
] | kidneythief9@gmail.com |
544b8fdb739f72c397b4705e773d577180c76a8d | 9bf06fd35d3ac72b220fe75ac23fac3512929f09 | /src/ShapeSkin.h | 2dca433a11548d57bf2e1d85484af79aa799cdef | [] | no_license | zub74/CSCE_489_A2 | 8b4ddf6ea83cbd89c9bf411f0c7d6320d6f41ed2 | 260d15e980953bc2663d4dc95a74e820b61252ea | refs/heads/master | 2022-12-10T00:24:09.176984 | 2020-09-24T03:43:42 | 2020-09-24T03:43:42 | 297,184,041 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | h | #pragma once
#ifndef SHAPESKIN_H
#define SHAPESKIN_H
#include <memory>
#define GLEW_STATIC
#include <GL/glew.h>
class MatrixStack;
class Program;
class TextureMatrix;
class ShapeSkin
{
public:
ShapeSkin();
virtual ~ShapeSkin();
void setTextureMatrixType(const std::string &meshName);
void loadMesh(const std::string &meshName);
void loadAttachment(const std::string &filename);
void setProgram(std::shared_ptr<Program> p) { prog = p; }
void init();
void update(int k);
void draw(int k) const;
void setTextureFilename(const std::string &f) { textureFilename = f; }
std::string getTextureFilename() const { return textureFilename; }
std::shared_ptr<TextureMatrix> getTextureMatrix() { return T; }
glm::mat4* bindPose;
glm::mat4* invertedBindPose;
glm::mat4** animationFrames;
glm::mat4** invertedAnimationFrames;
bool animStarted;
void parseAnimationFile(std::string filename);
int frames() { return sz; }
int numBones() { return bns; }
private:
std::shared_ptr<Program> prog;
std::vector<unsigned int> elemBuf;
std::vector<float> posBuf;
std::vector<float> animPosBuf;
std::vector<float> norBuf;
std::vector<float> animNorBuf;
std::vector<float> texBuf;
std::vector<int> boneIndBuf;
std::vector<float> boneWeightBuf;
int vertices;
int bones;
int maxInfluences;
int sz;
int bns;
GLuint elemBufID;
GLuint posBufID;
GLuint norBufID;
GLuint texBufID;
std::string textureFilename;
std::shared_ptr<TextureMatrix> T;
};
#endif
| [
"46665917+zub74@users.noreply.github.com"
] | 46665917+zub74@users.noreply.github.com |
0a221f90afd7b86008dc6f849ad5843911a77d00 | d49b8536d996a81fd2a356f2ccd850abd4447217 | /VirusPack/ForBot_Olin-SYM-VNC-NETAPI-All The Public Shit/sdthread.cpp | 7d2540d23b7bc0d64d6295d5c4b590fa7cd5a2f9 | [] | no_license | JonnyBanana/botnets | 28a90ab80f973478d54579f3d3eadc5feb33ff77 | 995b9c20aca5de0ae585ae17780a31e8bdfd9844 | refs/heads/master | 2021-07-01T01:51:01.211451 | 2020-10-22T23:14:57 | 2020-10-22T23:14:57 | 148,392,362 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 50 | cpp | #include "sdthread.h"
//#include "mainctrl.h"
| [
"mstr.be832920@gmail.com"
] | mstr.be832920@gmail.com |
1d8ac79c840fd64e600049a771811c4a3d1aebb5 | fa85daab3ef8d0f090c159facdcfdc1734a713e3 | /Calculator/Calc.cpp | 5cbdbf54c1677027fd7de4b23a907932830f406b | [] | no_license | paprika-kr/junknote | 3ff890005e4f7372a9b49cc09d5231a324941f11 | 90b3942bce91059d2d4d477164f1953b34d9a628 | refs/heads/master | 2022-11-28T14:08:26.058930 | 2020-08-10T07:32:13 | 2020-08-10T07:32:13 | 286,407,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | #include "Calc.h"
float Calc::Add(float x, float y)
{
cnt[0]++;
return x + y;
}
float Calc::Min(float x, float y)
{
cnt[1]++;
return x - y;
}
float Calc::Mul(float x, float y)
{
cnt[2]++;
return x * y;
}
float Calc::Div(float x, float y)
{
cnt[3]++;
return x / y;
} | [
"feira@naver.com"
] | feira@naver.com |
32e6ae0af74e921dfd7a0abf8f54871c75114ff0 | 14dc9bb0a8d3c5e892e898d9b447ff599baa1294 | /Test000046.cpp | a31c2602752d45d86751a934485ed83503f5d539 | [] | no_license | PhoenixGS/Test | 04e15cfdf20a6de455ea07d12614136bc0cb347e | a7124b555b09e20418f8561adccf7d43d4d8f9fd | refs/heads/master | 2020-12-25T07:38:11.176761 | 2016-10-23T02:18:13 | 2016-10-23T02:18:13 | 65,564,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,067 | cpp | #include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
#include <queue>
using namespace std;
int c[300];
int u[300];
int Out[300];
int In[300];
vector<int> vet[300];
vector<int> val[300];
deque<int> que;
int main()
{
int n, p;
scanf("%d%d", &n, &p);
for (int i = 1; i <= n; i++)
{
scanf("%d%d", &c[i], &u[i]);
}
for (int i = 1; i <= p; i++)
{
int X, Y, cost;
scanf("%d%d%d", &X, &Y, &cost);
vet[X].push_back(Y);
val[X].push_back(cost);
Out[X]++;
In[Y]++;
}
for (int i = 1; i <= n; i++)
{
if (In[i] == 0 && c[i] > 0)
{
que.push_back(i);
}
else
{
c[i] -= u[i];
}
}
while (! que.empty())
{
int u = que.front();
que.pop_front();
for (int j = 0; j < vet[u].size(); j++)
{
int v = vet[u][j];
c[v] += val[u][j] * c[u];
In[v]--;
if (In[v] == 0 && c[v] > 0)
{
que.push_back(v);
}
}
}
int total = 0;
for (int i = 1; i <= n; i++)
{
if (Out[i] == 0 && c[i] > 0)
{
total++;
printf("%d %d\n", i, c[i]);
}
}
if (total == 0)
{
printf("NULL\n");
}
return 0;
}
| [
"TheStarryDream@gmail.com"
] | TheStarryDream@gmail.com |
2631c5e131564ac6d63780851c2852aa16053bc0 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /chromecast/media/cma/backend/alsa/post_processing_pipeline_impl.cc | 451b802ac6427307385727003ef231d0f7317c0c | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 5,287 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromecast/media/cma/backend/alsa/post_processing_pipeline_impl.h"
#include <cmath>
#include <string>
#include "base/files/file_path.h"
#include "base/memory/ptr_util.h"
#include "base/scoped_native_library.h"
#include "base/values.h"
#include "chromecast/base/serializers.h"
#include "chromecast/public/media/audio_post_processor_shlib.h"
#include "chromecast/public/volume_control.h"
namespace chromecast {
namespace media {
namespace {
const int kNoSampleRate = -1;
const char kProcessorKey[] = "processor";
const char kNameKey[] = "name";
} // namespace
std::unique_ptr<PostProcessingPipeline> PostProcessingPipeline::Create(
const std::string& name,
const base::ListValue* filter_description_list,
int num_channels) {
return base::MakeUnique<PostProcessingPipelineImpl>(
name, filter_description_list, num_channels);
}
PostProcessingPipelineImpl::PostProcessingPipelineImpl(
const std::string& name,
const base::ListValue* filter_description_list,
int channels)
: name_(name), sample_rate_(kNoSampleRate) {
if (!filter_description_list) {
return; // Warning logged.
}
for (size_t i = 0; i < filter_description_list->GetSize(); ++i) {
const base::DictionaryValue* processor_description_dict;
CHECK(
filter_description_list->GetDictionary(i, &processor_description_dict));
std::string processor_name;
processor_description_dict->GetString(kNameKey, &processor_name);
std::vector<PostProcessorInfo>::iterator it =
find_if(processors_.begin(), processors_.end(),
[&processor_name](PostProcessorInfo& p) {
return p.name == processor_name;
});
LOG_IF(DFATAL, it != processors_.end())
<< "Duplicate postprocessor name " << processor_name;
std::string library_path;
CHECK(processor_description_dict->GetString(kProcessorKey, &library_path));
if (library_path == "null" || library_path == "none") {
continue;
}
const base::Value* processor_config_val;
CHECK(processor_description_dict->Get("config", &processor_config_val));
CHECK(processor_config_val->is_dict() || processor_config_val->is_string());
std::unique_ptr<std::string> processor_config_string =
SerializeToJson(*processor_config_val);
LOG(INFO) << "Creating an instance of " << library_path << "("
<< *processor_config_string << ")";
processors_.emplace_back(
PostProcessorInfo{factory_.CreatePostProcessor(
library_path, *processor_config_string, channels),
processor_name});
}
}
PostProcessingPipelineImpl::~PostProcessingPipelineImpl() = default;
int PostProcessingPipelineImpl::ProcessFrames(float* data,
int num_frames,
float current_multiplier,
bool is_silence) {
DCHECK_NE(sample_rate_, kNoSampleRate);
if (is_silence) {
if (!IsRinging()) {
return total_delay_frames_; // Output will be silence.
}
silence_frames_processed_ += num_frames;
} else {
silence_frames_processed_ = 0;
}
UpdateCastVolume(current_multiplier);
total_delay_frames_ = 0;
for (auto& processor : processors_) {
total_delay_frames_ += processor.ptr->ProcessFrames(
data, num_frames, cast_volume_, current_dbfs_);
}
return total_delay_frames_;
}
bool PostProcessingPipelineImpl::SetSampleRate(int sample_rate) {
sample_rate_ = sample_rate;
bool result = true;
for (auto& processor : processors_) {
result &= processor.ptr->SetSampleRate(sample_rate_);
}
ringing_time_in_frames_ = GetRingingTimeInFrames();
silence_frames_processed_ = 0;
return result;
}
bool PostProcessingPipelineImpl::IsRinging() {
return silence_frames_processed_ < ringing_time_in_frames_;
}
int PostProcessingPipelineImpl::GetRingingTimeInFrames() {
int memory_frames = 0;
for (auto& processor : processors_) {
memory_frames += processor.ptr->GetRingingTimeInFrames();
}
return memory_frames;
}
void PostProcessingPipelineImpl::UpdateCastVolume(float multiplier) {
DCHECK_GE(multiplier, 0.0);
if (multiplier == current_multiplier_) {
return;
}
current_multiplier_ = multiplier;
current_dbfs_ = std::log10(multiplier) * 20;
DCHECK(chromecast::media::VolumeControl::DbFSToVolume);
cast_volume_ = chromecast::media::VolumeControl::DbFSToVolume(current_dbfs_);
}
// Send string |config| to postprocessor |name|.
void PostProcessingPipelineImpl::SetPostProcessorConfig(
const std::string& name,
const std::string& config) {
DCHECK(!name.empty());
std::vector<PostProcessorInfo>::iterator it =
find_if(processors_.begin(), processors_.end(),
[&name](PostProcessorInfo& p) { return p.name == name; });
if (it != processors_.end()) {
it->ptr->UpdateParameters(config);
LOG(INFO) << "Config string:\n"
<< config << "\nwas delivered to postprocessor " << name;
}
}
} // namespace media
} // namespace chromecast
| [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
dae98e7f7795e79112e4e58fe7e5ffa791f279a2 | b9c1098de9e26cedad92f6071b060dfeb790fbae | /src/module/players/properties_helper.h | 2c11981e6eacbca08088040df95faf75c7edc8e0 | [] | no_license | vitamin-caig/zxtune | 2a6f38a941f3ba2548a0eb8310eb5c61bb934dbe | 9940f3f0b0b3b19e94a01cebf803d1a14ba028a1 | refs/heads/master | 2023-08-31T01:03:45.603265 | 2023-08-27T11:50:45 | 2023-08-27T11:51:26 | 13,986,319 | 138 | 13 | null | 2021-09-13T13:58:32 | 2013-10-30T12:51:01 | C++ | UTF-8 | C++ | false | false | 1,279 | h | /**
*
* @file
*
* @brief Module properties helper interface
*
* @author vitamin.caig@gmail.com
*
**/
#pragma once
// library includes
#include <formats/chiptune.h>
#include <parameters/modifier.h>
#include <strings/array.h>
#include <time/duration.h>
namespace Module
{
class PropertiesHelper
{
public:
explicit PropertiesHelper(Parameters::Modifier& delegate)
: Delegate(delegate)
{}
// Generic
void SetNonEmptyProperty(StringView name, StringView value);
// Common
void SetType(StringView type);
void SetContainer(StringView container);
void SetSource(const Formats::Chiptune::Container& source);
// Meta
void SetAuthor(StringView author);
void SetTitle(StringView title);
void SetComment(StringView comment);
void SetProgram(StringView program);
void SetComputer(StringView computer);
void SetStrings(const Strings::Array& strings);
void SetVersion(uint_t major, uint_t minor);
void SetVersion(StringView version);
void SetDate(StringView date);
void SetPlatform(StringView platform);
// Sound
void SetFadein(Time::Milliseconds fadein);
void SetFadeout(Time::Milliseconds fadeout);
protected:
Parameters::Modifier& Delegate;
};
} // namespace Module
| [
"vitamin.caig@gmail.com"
] | vitamin.caig@gmail.com |
8890a9bfe6cbfda15d49dac5a175a43793d932ed | 3665d78b31d27b86207f92944f7984818ec687c6 | /Gfg_list/Microsoft_30_Days/Day11/Minimise_the_height1.cpp | 2688cbb77f4edbc08a47203ff05290c8be14a251 | [] | no_license | Stenardt-9002/CODECHEF-Datastructure-and-algo | 120b0c956e764d7fd10c2256430ce2d0a5975d46 | bca909265b9dca6d9dd93f50d68f86f71c3b6bdc | refs/heads/master | 2023-07-10T08:37:35.099195 | 2023-06-28T02:06:00 | 2023-06-28T02:06:00 | 190,029,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | // https://practice.geeksforgeeks.org/problems/minimize-the-heights-i/1
#include <bits/stdc++.h>
#include<ext/pb_ds/tree_policy.hpp>
#include<ext/pb_ds/assoc_container.hpp>
using namespace std;
using namespace __gnu_pbds ;
typedef long long int ll;
#define DEBUG_var 1
#define fastIO ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
const int mod1 = (1e9+7);
const int MOD1 = 1000000007;
int getMinDiff(int arr[], int n, int k)
{
// code here
sort(arr,arr+n);
int min_val = arr[0];
int max_val = arr[n-1];
int ans1 = max_val -min_val;
for (int i1 = 1; i1 < n-1; i1++)
{
min_val = min(arr[0]+k , arr[i1]-k);
max_val = max(arr[n-1]-k , arr[i1-1]+k);
ans1 = min(ans1,abs(max_val-min_val));
}
return ans1 ;
}
| [
"ritvikraj.iiitdm@gmail.com"
] | ritvikraj.iiitdm@gmail.com |
e8fe84ed23a3a1ef574c166d8ec5392e73965030 | 11a9fc9ef1b13eebbc1aca1403aebbcc5aba48eb | /Competitive Programing/Hackerrank 30 Days of code/Day 10.cpp | 905639b9b968823fb57b4d0dda714a62fafd1a2e | [
"MIT"
] | permissive | Ritvikjain/DataStructures-And-Algorithms | 8e711e248a3f596028507633850d7fb6c783b2a4 | 27f2d48343aeb91c67376ae2fee429ca92dbd353 | refs/heads/master | 2020-03-18T07:41:04.319739 | 2019-08-25T19:05:31 | 2019-08-25T19:05:31 | 134,467,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | cpp | #include <bits/stdc++.h>
using namespace std;
long int decToBinary(long int n)
{
// array to store binary number
int binaryNum[1000];
// counter for binary array
long int i = 0;
while (n > 0) {
// storing remainder in binary array
binaryNum[i] = n % 2;
n = n / 2;
i++;
}
// printing binary array in reverse order
long int num=0;
for (long int j = i - 1; j >= 0; j--)
num = num*10 + binaryNum[j];
return num;
}
int main()
{
long int n;
cin >> n;
cin.ignore(numeric_limits<streamsize>::max(), '\n');
long int bin=decToBinary(n);
long int count=0,max=0;
for(long int i=bin;i!=0;i/=10)
{
if(i%10==1)
{
count++;
}
else
{
count=0;
}
if(count>=max)
max=count;
}
cout<<count;
return 0;
}
| [
"ritvikjain2@gmail.com"
] | ritvikjain2@gmail.com |
db4ce0e3451a5463a49ff1b5d19c3f47b523646d | c6c434cac04ffd803d48ca1fc4a0bb19d8df2fa4 | /source/Frame.h | 8c079ee91419ac608904cdb145c1dc18c95075b3 | [
"MIT"
] | permissive | Hyreos/Millibox | 2df3e9297ab38c7870adf6fcd04aefca0b48c560 | 34fcd59bd1e5c1a97c1058032aefba0b11d8e48a | refs/heads/master | 2021-08-28T21:49:05.348173 | 2017-12-13T07:00:14 | 2017-12-13T07:00:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | h | #pragma once
#include<SFML/Graphics.hpp>
#include<vector>
#include"PointGroup.h"
#include"Boxes.h"
class Frame
{
std::vector<PointGroup> hurtboxes_;
Boxes boxes_;
sf::IntRect frameRect_;
public:
Frame();
~Frame();
decltype(boxes_)& getBoxes();
};
| [
"livegoldht22@hotmail.com"
] | livegoldht22@hotmail.com |
08d3918f58341ab226addc8d5107e669a6c4b033 | 32bcbaebc379b3ef3f599d1334269206f7fb6c12 | /src/hdf5io/hdf5io.hpp | a353018c9be90af2c12ab74e10e20b259f58180b | [] | no_license | chengyanlai/ExactDiagonalization | cad10eb52c3003534d26cfcee3d070d54f592c00 | f5e4e697597598d7c92e5a5dc0deab5323ac563e | refs/heads/master | 2020-04-06T06:07:08.929463 | 2018-09-29T04:38:37 | 2018-09-29T04:38:37 | 44,208,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,807 | hpp | #ifndef __HDF5IO_HPP__
#define __HDF5IO_HPP__
#include <string>
#include <complex>
#include <vector>
#include <cassert>
#include <H5Cpp.h>
#include "src/ArmadilloMatrix.hpp"
class HDF5IO: public H5::H5File {
private:
std::string FileName;
H5::CompType ComplexDataType;
const H5::CompType InitComplexDataType(void);
bool FileExists(const std::string &FileName);
template<typename T>
inline H5::DataType DetermineDataType(const T input){
if ( sizeof(T) == 4){//int
return H5::PredType::NATIVE_INT;
}else if ( sizeof(T) == 8 ){//double
return H5::PredType::NATIVE_DOUBLE;
}else if ( sizeof(T) == 16 ){//complex<double>
return ComplexDataType;
}
};
public:
HDF5IO (const std::string &FileName);
HDF5IO (const std::string &FileName, const bool force);
virtual ~HDF5IO (void){};
inline H5::H5File GetFile(){return *this;};
H5::Group GetGroup(const std::string &GroupName);
template<typename T>
void SaveRawBuffer(const std::string& GroupName, const std::string& SetName, const size_t dim, const T* x);
template<typename T>
void LoadRawBuffer(const std::string& GroupName, const std::string& SetName, size_t& dim, T*& x);
template<typename T>
inline void SaveNumber(const std::string& GroupName, const std::string& SetName, const T& x){
size_t dim = 1;
this->SaveRawBuffer(GroupName, SetName, dim, &x);
};
template<typename T>
inline void LoadNumber(const std::string& GroupName, const std::string& SetName, T& x){
T* val;
size_t dim = 1;
this->LoadRawBuffer(GroupName, SetName, dim, val);
x = val[0];
};
template<typename T>
inline void SaveStdVector(const std::string& GroupName, const std::string& SetName, const std::vector<T>& V){
size_t dim = V.size();
this->SaveRawBuffer(GroupName, SetName, dim, V.data());
};
template<typename T>
inline void LoadStdVector(const std::string& GroupName, const std::string& SetName, std::vector<T>& V){
T* val;
size_t dim;
this->LoadRawBuffer(GroupName, SetName, dim, val);
V.clear();
V.assign(val, val+dim);
};
template<typename T>
void SaveVector(const std::string& GroupName, const std::string& SetName, const arma::Col<T> Vec);
template<typename T>
void LoadVector(const std::string& GroupName, const std::string& SetName, arma::Col<T>& Vec);
template<typename T>
void SaveMatrix(const std::string& GroupName, const std::string& SetName, const arma::Mat<T> Mat);
template<typename T>
void LoadMatrix(const std::string& GroupName, const std::string& SetName, arma::Mat<T>& Mat);
};
#endif /* end of include guard: __HDF5IO_HPP__ */
| [
"chengyanlai@gmail.com"
] | chengyanlai@gmail.com |
f90348c1d9f134d80582d4f01bac10ae24037128 | 7d09337ee24fda7894620a9c110e95bc9804a4ef | /Project4/Hash_Tree.h | 5ad95ac657934185b5fb117829f86afdb5ff4a29 | [] | no_license | etsai7/C-and-C-plus-plus-Programs | 5571ef94dd140ff0b6e57d15184f08a6f36be862 | 560d198a12bfbc5a88c0315aa9b1a0f6be147365 | refs/heads/master | 2016-08-11T06:57:34.730516 | 2016-01-13T05:04:26 | 2016-01-13T05:04:26 | 49,550,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,882 | h | #ifndef HASH_TREE_H
#define HASH_TREE_H
#define MAX_LEVELS 9
#include <string>
#include <iostream>
using std::cout;
using std::endl;
using std::ostream;
#include "Hash_Node.h"
#include "ML_hash.h"
template <typename T >
class Hash_Tree;
template< typename T >
ostream& operator<<(ostream &o, Hash_Tree< T > &Tree);
template< typename T >
class Hash_Tree
{
friend ostream& operator << <>(ostream &o, Hash_Tree< T > &Tree);
public:
Hash_Tree();
~Hash_Tree();
void collapse(Hash_Node<T> *x);
int MLH_insert(int key, T &obj);
T* MLH_get(int key);
T* MLH_delete(int key);/*See if the syntax is correct*/
void MLH_set_print_option(int print_all);/*Find out what this means*/
void print();
void print_Head_total();
void print_steps_total();
void print_lowest_level();
private:
int MLH_insert_help(Hash_Node< T > *x, int level, int key, T &obj);
T* MLH_delete_help(Hash_Node< T > *x, int level, int key);
T* MLH_get_help(Hash_Node< T > *x, int level,int key);
void MLH_set_print_option_help(Hash_Node< T > *x,int level, int print_all);
Hash_Node< T > *Head_Node;
int amt_levels[MAX_LEVELS];
long steps;
int amt_objects;
int amt_nodes;
int print_option;
};
template< typename T >
void Hash_Tree< T >::print_Head_total()
{
cout << "Total: " << Head_Node->get_num_objects() << endl;
}
template< typename T >
Hash_Tree< T >::~Hash_Tree()
{
delete Head_Node;
}
template< typename T >
Hash_Tree< T >::Hash_Tree()
{
int x = 0;
Head_Node = new Hash_Node< T >();
while(x < MAX_LEVELS)
{
amt_levels[x] = 0;
x++;
}
amt_levels[0] = amt_levels[0] + 1;
steps = 0;
amt_objects = 0;
amt_nodes = 0;
print_option = 0;
}
/*INSERT*/
template< typename T >
int Hash_Tree< T >::MLH_insert(int id, T &obj)
{
if(Head_Node == NULL)/*This is when we have deleted the top node*/
{
Head_Node = new Hash_Node< T >();
amt_levels[0] = 1;
}
int add = this->MLH_insert_help(Head_Node, 0, id, obj);
amt_objects = amt_objects + add;
return add;
}
template< typename T >
int Hash_Tree< T >::MLH_insert_help(Hash_Node< T > *x, int level, int id, T &obj)
{
int current_level = level;
int can_add = 1;
int counter = 1;
Hash_Node< T > *temp = x;
if(temp->get_num_objects() < 5)
{
while(counter < MAX_SIZE)
{
if(temp->ID_List[counter] == id)
{
can_add = 0;
}
counter++;
}
counter = 1;
if(can_add == 1)
{
while(counter < MAX_SIZE)
{
if(temp->ID_List[counter] == 0)
{
temp->ID_List[counter] = id;
temp->Objects[counter] = &obj;
temp->increase_num_objects(1);
return 1;
}
counter++;
}
}
return 0;
}
else if(temp->get_num_objects() == 5)
{
int not_added = 1;
while(counter < MAX_SIZE)
{
if(temp->ID_List[counter] == id)
{
can_add = 0;
}
counter++;
}
if(can_add == 1) /*Now we need to create a new node*/
{
int next_node;
int x = 1;
int t = 1;
Hash_Node< T >* temp_new_node;/* = new Hash_Node< T >();*/
temp->increase_num_objects(1);
while(x < MAX_SIZE)
{
next_node = ML_hash(current_level+1, temp->ID_List[x]);
if(temp->branch[next_node] == NULL)
{
temp->branch[next_node] = new Hash_Node<T>();
amt_levels[level + 1] = amt_levels[level + 1] + 1;
}
temp_new_node = temp->branch[next_node];
temp_new_node->ID_List[temp_new_node->get_num_objects() + 1] = temp->ID_List[x];
temp_new_node->Objects[temp_new_node->get_num_objects() + 1] = temp->Objects[x];
temp_new_node->increase_num_objects(1);
temp->ID_List[x] = 0;
temp->Objects[x] = NULL;
x++;
}
x = 1;
next_node = ML_hash(current_level + 1, id);
if(temp->branch[next_node] == NULL)
{
temp->branch[next_node] = new Hash_Node<T>();
temp = temp->branch[next_node];
}
else
{
temp_new_node = temp->branch[next_node];
temp = temp_new_node;
}
this->MLH_insert_help(temp, current_level + 1, id, obj);
return 1;
}
return 0;
}
else if(temp->get_num_objects() > 5)
{
int next_node = ML_hash(current_level + 1, id);
if(temp->branch[next_node] == NULL)
{
temp->branch[next_node] = new Hash_Node<T>();
}
steps++;
int add = this->MLH_insert_help(temp->branch[next_node],current_level+1, id, obj);
temp->increase_num_objects(add);
return add;
}
}
/*GET*/
/*Check if this is how you return*/
template< typename T >
T* Hash_Tree< T >::MLH_get(int key)
{
if(Head_Node == NULL)
{
cout << "NULL" << endl;
return NULL;
}
else
{
T* temp;
temp = this->MLH_get_help(Head_Node, 0, key);
if(temp == NULL)
{
}
else if(temp != NULL)
{
}
return temp;
}
}
template< typename T >
T* Hash_Tree< T >::MLH_get_help(Hash_Node< T > *x, int level,int id)
{
int current_level = level;
int counter = 1;
T *object;/*Check if this is the syntax*/
Hash_Node< T > *temp = x;
if(temp->get_num_objects() <= 5)
{
while(counter < MAX_SIZE)
{
if(temp->ID_List[counter] == id)
{
object = temp->Objects[counter];
return object;
}
counter++;
}
object = NULL;
return object;
}
else
{
steps++;
int next_node = ML_hash(current_level + 1, id);
if(temp->branch[next_node] == NULL)
{
object = NULL;
return object;
}
else
{
return this->MLH_get_help(temp->branch[next_node],current_level + 1, id);
}
}
}
template< typename T >
void Hash_Tree< T >::MLH_set_print_option(int print_all)
{
print_option = print_all;
}
template< typename T >
void Hash_Tree< T >::print()
{
amt_nodes = 0;
amt_objects = 0;
int x = 0;
while(x < 9)
{
amt_levels[x] = 0;
x++;
}
this->MLH_set_print_option_help(Head_Node,0, print_option);
cout << endl;
cout << "Amount of objects: " << amt_objects << endl;
cout << "Amount of Nodes: " << amt_nodes << endl;
}
template< typename T >
void Hash_Tree< T >::MLH_set_print_option_help(Hash_Node< T > *x,int level, int print_all)
{
int counter = 1;
int current_level = level;
int to_print = print_all;
Hash_Node< T > *temp = x;
if(temp != NULL)
{
amt_levels[current_level]++;
if(temp->get_num_objects() <= 5)
{
amt_nodes++;
while(counter < MAX_SIZE)
{
if(temp->ID_List[counter] != 0)
{
amt_objects++;
cout << "--------ID: " << temp->ID_List[counter] << endl;
if(to_print == 100)
{
cout << "--------Object " << *(temp->Objects[counter]) << endl;/*Check if this is how you print the object*/
}
}
counter++;
}
}
else
{
while(counter < MAX_SIZE)
{
if(temp->branch[counter] != NULL)
{
steps++;
amt_nodes++;
this->MLH_set_print_option_help(temp->branch[counter], current_level+1, print_all);
}
counter++;
}
}
}
}
template< typename T >
T* Hash_Tree< T >::MLH_delete(int key)
{
T *temp = this->MLH_delete_help(Head_Node, 0, key);
return temp;
}
template< typename T >
T* Hash_Tree< T >::MLH_delete_help(Hash_Node< T > *x, int level, int key)
{
Hash_Node< T > *temp = x;
Hash_Node< T > *temp_delete;
Hash_Node< T > *node_delete;
T *return_obj = NULL;
int copy_id = 1;
int counter = 1;
int non_empty = 0; /*Keeps track of how many that are not empty in the array*/
if(temp == NULL)
{
return NULL;
}
if(temp->get_num_objects() <= 5)
{
while(counter < MAX_SIZE)
{
if(temp->ID_List[counter] != 0)
{
if(temp->ID_List[counter] == key)
{
return_obj = temp->Objects[counter];
temp->Objects[counter] = NULL;
temp->ID_List[counter] = 0;
temp->increase_num_objects(-1); /*subtracts from total amount*/
}
non_empty++;
}
counter++;
}
return return_obj;
}
else
{
int next_node = ML_hash(level + 1, key);
steps++;
return_obj = this->MLH_delete_help(temp->branch[next_node],level + 1, key);
if(return_obj != NULL) /*Found the object and key to delete, so need to check if need to collapse*/
{
if(temp->branch[next_node]->get_num_objects()==0)
{
delete temp->branch[next_node];
amt_levels[level + 1]--;
temp->branch[next_node] = NULL;
}
temp->increase_num_objects(-1); /*decreasing total count*/
if(temp->get_num_objects() <= 5)/*time to collaps*/
{
for(int i = 1; i < MAX_SIZE; i++)
{
node_delete = temp->branch[i];
if(node_delete != NULL)
{
amt_levels[level + 1]--;
for(int j = 1; j< MAX_SIZE; j++)
{
if(node_delete->ID_List[j] != 0)
{
temp->ID_List[copy_id] = node_delete->ID_List[j];
temp->Objects[copy_id] = node_delete->Objects[j];
copy_id++;
}
}
temp_delete = node_delete;
temp->branch[i] = NULL;
delete temp_delete;
amt_levels[level + 1]--;
}
}
}
}
return return_obj;
}
}
template< typename T >
void Hash_Tree< T >::print_steps_total()
{
cout << "Steps: " << steps << endl;
}
template< typename T >
void Hash_Tree< T >::print_lowest_level()
{
int x = 0;
while(x < MAX_LEVELS)
{
if(amt_levels[x] == 0)
{
break;
}
x++;
}
cout << "Lowest Level: " << x << endl;
}
template< typename T >
ostream& operator<<(ostream &out, Hash_Tree< T > &Tree)
{
Tree.print();
Tree.print_steps_total();
Tree.print_lowest_level();
}
#endif
| [
"e.tsai70@gmail.com"
] | e.tsai70@gmail.com |
dadbde11196b662e3e86ee858d11c22a7fd57e19 | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/browser/chromeos/plugin_vm/plugin_vm_util.h | 0de853024bf124b63f457c4a0c59e1210b1853c9 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 4,439 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_PLUGIN_VM_PLUGIN_VM_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_PLUGIN_VM_PLUGIN_VM_UTIL_H_
#include <memory>
#include <string>
#include "base/callback.h"
#include "base/observer_list_types.h"
#include "base/optional.h"
#include "chrome/browser/chromeos/settings/cros_settings.h"
#include "components/prefs/pref_change_registrar.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
namespace aura {
class Window;
} // namespace aura
class Profile;
class GURL;
namespace plugin_vm {
class PluginVmPolicySubscription;
// This is used by both the Plugin VM app and its installer.
// Generated as crx_file::id_util::GenerateId("org.chromium.plugin_vm");
extern const char kPluginVmShelfAppId[];
// Name of the Plugin VM.
extern const char kPluginVmName[];
// Base directory for shared paths in Plugin VM, formatted for display.
extern const char kChromeOSBaseDirectoryDisplayText[];
const net::NetworkTrafficAnnotationTag kPluginVmNetworkTrafficAnnotation =
net::DefineNetworkTrafficAnnotation("plugin_vm_image_download", R"(
semantics {
sender: "Plugin VM image manager"
description: "Request to download Plugin VM image is sent in order "
"to allow user to run Plugin VM."
trigger: "User clicking on Plugin VM icon when Plugin VM is not yet "
"installed."
data: "Request to download Plugin VM image. Sends cookies to "
"authenticate the user."
destination: WEBSITE
}
policy {
cookies_allowed: YES
cookies_store: "user"
chrome_policy {
PluginVmImage {
PluginVmImage: "{'url': 'example.com', 'hash': 'sha256hash'}"
}
}
}
)");
// Determines if the default Plugin VM is running and visible.
bool IsPluginVmRunning(Profile* profile);
void ShowPluginVmInstallerView(Profile* profile);
// Checks if an window is for the Plugin VM app. Note that it returns false for
// the Plugin VM installer.
bool IsPluginVmAppWindow(const aura::Window* window);
// Retrieves the license key to be used for Plugin VM. If
// none is set this will return an empty string.
std::string GetPluginVmLicenseKey();
// Retrieves the User Id to be used for Plugin VM. If none is set this will
// return an empty string.
std::string GetPluginVmUserIdForProfile(const Profile* profile);
// Sets fake policy values and enables Plugin VM for testing. These set global
// state so this should be called with empty strings on tear down.
// TODO(crbug.com/1025136): Remove this once Tast supports setting test
// policies.
void SetFakePluginVmPolicy(Profile* profile,
const std::string& image_path,
const std::string& image_hash,
const std::string& license_key);
bool FakeLicenseKeyIsSet();
bool FakeUserIdIsSet();
// Used to clean up the Plugin VM Drive download directory if it did not get
// removed when it should have, perhaps due to a crash.
void RemoveDriveDownloadDirectoryIfExists();
// Returns nullopt if not a drive URL.
base::Optional<std::string> GetIdFromDriveUrl(const GURL& url);
// A subscription for changes to PluginVm policy that may affect
// PluginVmFeatures::Get()->IsAllowed.
class PluginVmPolicySubscription {
public:
using PluginVmAllowedChanged = base::RepeatingCallback<void(bool is_allowed)>;
PluginVmPolicySubscription(Profile* profile, PluginVmAllowedChanged callback);
~PluginVmPolicySubscription();
PluginVmPolicySubscription(const PluginVmPolicySubscription&) = delete;
PluginVmPolicySubscription& operator=(const PluginVmPolicySubscription&) =
delete;
private:
// Internal callback for policy changes.
void OnPolicyChanged();
Profile* profile_;
// Whether Plugin VM was previously allowed for the profile.
bool is_allowed_;
// The user-provided callback method.
PluginVmAllowedChanged callback_;
std::unique_ptr<PrefChangeRegistrar> pref_change_registrar_;
base::CallbackListSubscription device_allowed_subscription_;
base::CallbackListSubscription license_subscription_;
base::CallbackListSubscription fake_license_subscription_;
};
} // namespace plugin_vm
#endif // CHROME_BROWSER_CHROMEOS_PLUGIN_VM_PLUGIN_VM_UTIL_H_
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5e12fcb6aaf9c5e48d6a035b92a41900cca843b7 | 9a70726d94a8cc2cf98b9752bdf7ea96334fca6a | /student_download/xcode/ex_solutions/ch09_ex1_create_account/create_account/main.cpp | d274a04356b064a6c8b4eacef0da306d4fb820cb | [] | no_license | isaiah-baker/murachcppStartFiles | 84f5fa45970cb42e714cb09b7c2a5ede43fde3f8 | e270e8a26be15d4ae4a18381828678b44ed2b261 | refs/heads/master | 2020-04-28T01:29:44.163882 | 2019-03-10T17:51:40 | 2019-03-10T17:51:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,142 | cpp | #include <iostream>
#include <fstream>
#include <iomanip>
#include <vector>
#include "validation.h"
using namespace std;
using namespace validation;
struct Account {
string first_name = "";
string last_name = "";
string password = "";
string email = "";
bool equals(Account&); // member function declaration
};
// member function definition
bool Account::equals(Account& to_compare) {
return (email == to_compare.email);
}
const string accounts_file = "accounts.txt";
string get_fulll_path() {
// set a full path to the correct directory
const char* home = getenv("HOME");
string user_home = "";
if (home) {
user_home = home;
}
else {
// if home isn't found, edit 'username' so it's correct for your system
user_home = "/Users/username";
}
string file_path = "/Documents/murach/cpp/files/";
return user_home + file_path;
}
vector<Account> read_accounts_from_file() {
vector<Account> accounts;
ifstream input_file(get_fulll_path() + accounts_file);
if (input_file) {
Account account;
while (input_file >> account.first_name >> account.last_name >> account.password >> account.email) {
accounts.push_back(account);
}
input_file.close();
}
return accounts;
}
void write_accounts_to_file(const vector<Account>& accounts) {
ofstream output_file(get_fulll_path() + accounts_file);
if (output_file) {
for (Account account : accounts) {
output_file << account.first_name << '\t'
<< account.last_name << '\t'
<< account.password << '\t'
<< account.email << '\n';
}
output_file.close();
}
}
void display_accounts(const vector<Account>& accounts) {
int col_width = 10;
cout << left
<< setw(col_width * 3) << "Name"
<< setw(col_width * 4) << "Email" << endl;
for (Account account : accounts) {
cout << setw(col_width * 3) << account.first_name + ' ' + account.last_name
<< setw(col_width * 4) << account.email << endl;
}
cout << endl;
}
Account get_account() {
Account account;
cout << "First name: ";
getline(cin, account.first_name);
cout << "Last name: ";
getline(cin, account.last_name);
cout << "Password: ";
getline(cin, account.password);
cout << "Email: ";
getline(cin, account.email);
return account;
}
int main()
{
cout << "Create Account List\n\n";
vector<Account> accounts = read_accounts_from_file();
display_accounts(accounts);
char another = 'y';
while (tolower(another) == 'y') {
Account account = get_account();
// check if account already exists
bool already_exists = false;
for (Account& a : accounts) {
if (a.equals(account)) {
already_exists = true;
break;
}
}
if (already_exists) {
cout << account.email << " already exists - account not added.\n\n";
}
else {
accounts.push_back(account);
write_accounts_to_file(accounts);
cout << endl << account.email << " was added for "
<< account.first_name + ' ' + account.last_name + '.' << endl << endl;
}
cout << "Enter another account? (y/n): ";
cin >> another;
cin.ignore();
cout << endl;
}
// display the Account objects in the vector
display_accounts(accounts);
}
| [
"ibkr10@gmail.com"
] | ibkr10@gmail.com |
045e4b430dad326102abf025d681c193d8662ca1 | 42710d6f618ac0c5e79c7a10a43f9a63fa75103d | /task_2_8_8.cpp | 76fa7748316dc00dc0c8b128bbc0bcea6ece96f0 | [] | no_license | AlterFritz88/interactive_learn_cpp | 605009d8e62ea13aab3a425a6af20bb0758fd7ce | 15ab8dc776d377f21bdcee6de5287a8e1cb2a3f7 | refs/heads/master | 2020-06-30T03:00:36.415208 | 2019-12-23T05:19:31 | 2019-12-23T05:19:31 | 200,700,680 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int temp, twos = 0, marker = 0;
for (int i = 0; i < 25; i++){
cin >> temp;
if (marker == 0)
if (temp == 2) {
marker = 1;
twos++;
continue;
}
if (marker == 1) {
if (temp == 2){
twos++;
}
else {
twos--;
marker = 0;
}
}
}
cout << twos;
return 0;
}
| [
"burdin009@gmail.com"
] | burdin009@gmail.com |
be07ecda47c80b7349206fe3e036262516ea46c0 | d6258ae3c0fd9f36efdd859a2c93ab489da2aa9b | /fulldocset/add/codesnippet/CPP/t-system.componentmodel._134_1.cpp | 2b547e1a5525e25a649a55752d1533bb131ee2aa | [
"CC-BY-4.0",
"MIT"
] | permissive | OpenLocalizationTestOrg/ECMA2YamlTestRepo2 | ca4d3821767bba558336b2ef2d2a40aa100d67f6 | 9a577bbd8ead778fd4723fbdbce691e69b3b14d4 | refs/heads/master | 2020-05-26T22:12:47.034527 | 2017-03-07T07:07:15 | 2017-03-07T07:07:15 | 82,508,764 | 1 | 0 | null | 2017-02-28T02:14:26 | 2017-02-20T02:36:59 | Visual Basic | UTF-8 | C++ | false | false | 8,362 | cpp | #using <System.Windows.Forms.dll>
#using <System.Data.dll>
#using <System.Drawing.dll>
#using <System.dll>
using namespace System;
using namespace System::Collections;
using namespace System::ComponentModel;
using namespace System::ComponentModel::Design;
using namespace System::Drawing;
using namespace System::Data;
using namespace System::Windows::Forms;
// This control displays the name and type of the primary selection
// component in design mode, if there is one,
// and uses the IReferenceService interface to display the names of
// any components of the type of the primary selected component.
// This control uses the IComponentChangeService to monitor for
// selection changed events.
public ref class IReferenceServiceControl: public System::Windows::Forms::UserControl
{
private:
// Indicates the name of the type of the selected component, or "None selected.".
String^ selected_typename;
// Indicates the name of the base type of the selected component, or "None selected."
String^ selected_basetypename;
// Indicates the name of the selected component.
String^ selected_componentname;
// Contains the names of components of the type of the selected
// component in design mode.
array<String^>^typeComponents;
// Contains the names of components of the base type of the selected component in design mode.
array<String^>^basetypeComponents;
// Reference to the IComponentChangeService for the current component.
ISelectionService^ selectionService;
public:
IReferenceServiceControl()
{
// Initializes the control properties.
this->BackColor = Color::White;
this->SetStyle( ControlStyles::ResizeRedraw, true );
this->Name = "IReferenceServiceControl";
this->Size = System::Drawing::Size( 500, 250 );
// Initializes the data properties.
typeComponents = gcnew array<String^>(0);
basetypeComponents = gcnew array<String^>(0);
selected_typename = "None selected.";
selected_basetypename = "None selected.";
selected_componentname = "None selected.";
selectionService = nullptr;
}
property System::ComponentModel::ISite^ Site
{
// Registers and unregisters design-mode services when
// the component is sited and unsited.
virtual System::ComponentModel::ISite^ get() override
{
// Returns the site for the control.
return __super::Site;
}
virtual void set( System::ComponentModel::ISite^ value ) override
{
// The site is set to null when a component is cut or
// removed from a design-mode site.
// If an event handler has already been linked with
// an ISelectionService, remove the handler.
if ( selectionService != nullptr )
selectionService->SelectionChanged -= gcnew EventHandler( this, &IReferenceServiceControl::OnSelectionChanged );
// Sites the control.
__super::Site = value;
// Obtains an ISelectionService interface to register
// the selection changed event handler with.
selectionService = dynamic_cast<ISelectionService^>(this->GetService( ISelectionService::typeid ));
if ( selectionService != nullptr )
{
selectionService->SelectionChanged += gcnew EventHandler( this, &IReferenceServiceControl::OnSelectionChanged );
// Updates the display for the current selection, if any.
DisplayComponentsOfSelectedComponentType();
}
}
}
private:
// Updates the display according to the primary selected component,
// if any, and the names of design-mode components that the
// IReferenceService returns references for when queried for
// references to components of the primary selected component's
// type and base type.
void DisplayComponentsOfSelectedComponentType()
{
// If a component is selected...
if ( selectionService->PrimarySelection != nullptr )
{
// Sets the selected type name and selected component name to the type and name of the primary selected component.
selected_typename = selectionService->PrimarySelection->GetType()->FullName;
selected_basetypename = selectionService->PrimarySelection->GetType()->BaseType->FullName;
selected_componentname = (dynamic_cast<IComponent^>(selectionService->PrimarySelection))->Site->Name;
// Obtain an IReferenceService and obtain references to
// each component in the design-mode project
// of the selected component's type and base type.
IReferenceService^ rs = dynamic_cast<IReferenceService^>(this->GetService( IReferenceService::typeid ));
if ( rs != nullptr )
{
// Get references to design-mode components of the
// primary selected component's type.
array<Object^>^comps = (array<Object^>^)rs->GetReferences( selectionService->PrimarySelection->GetType() );
typeComponents = gcnew array<String^>(comps->Length);
for ( int i = 0; i < comps->Length; i++ )
typeComponents[ i ] = (dynamic_cast<IComponent^>(comps[ i ]))->Site->Name;
// Get references to design-mode components with a base type
// of the primary selected component's base type.
comps = (array<Object^>^)rs->GetReferences( selectionService->PrimarySelection->GetType()->BaseType );
basetypeComponents = gcnew array<String^>(comps->Length);
for ( int i = 0; i < comps->Length; i++ )
basetypeComponents[ i ] = (dynamic_cast<IComponent^>(comps[ i ]))->Site->Name;
}
}
else
{
selected_typename = "None selected.";
selected_basetypename = "None selected.";
selected_componentname = "None selected.";
typeComponents = gcnew array<String^>(0);
basetypeComponents = gcnew array<String^>(0);
}
this->Refresh();
}
void OnSelectionChanged( Object^ /*sender*/, EventArgs^ /*e*/ )
{
DisplayComponentsOfSelectedComponentType();
}
protected:
virtual void OnPaint( System::Windows::Forms::PaintEventArgs^ e ) override
{
e->Graphics->DrawString( "IReferenceService Example Control", gcnew System::Drawing::Font( FontFamily::GenericMonospace,9 ), gcnew SolidBrush( Color::Blue ), 5, 5 );
e->Graphics->DrawString( "Primary Selected Component from IComponentChangeService:", gcnew System::Drawing::Font( FontFamily::GenericMonospace,8 ), gcnew SolidBrush( Color::Red ), 5, 20 );
e->Graphics->DrawString( String::Format( "Name: {0}", selected_componentname ), gcnew System::Drawing::Font( FontFamily::GenericMonospace,8 ), gcnew SolidBrush( Color::Black ), 10, 32 );
e->Graphics->DrawString( String::Format( "Type: {0}", selected_typename ), gcnew System::Drawing::Font( FontFamily::GenericMonospace,8 ), gcnew SolidBrush( Color::Black ), 10, 44 );
e->Graphics->DrawString( String::Format( "Base Type: {0}", selected_basetypename ), gcnew System::Drawing::Font( FontFamily::GenericMonospace,8 ), gcnew SolidBrush( Color::Black ), 10, 56 );
e->Graphics->DrawLine( gcnew Pen( gcnew SolidBrush( Color::Black ),1 ), 5, 77, this->Width - 5, 77 );
e->Graphics->DrawString( "Components of Type from IReferenceService:", gcnew System::Drawing::Font( FontFamily::GenericMonospace,8 ), gcnew SolidBrush( Color::Red ), 5, 85 );
if ( !selected_typename->Equals( "None selected." ) )
for ( int i = 0; i < typeComponents->Length; i++ )
e->Graphics->DrawString( typeComponents[ i ], gcnew System::Drawing::Font( FontFamily::GenericMonospace,8 ), gcnew SolidBrush( Color::Black ), 20.f, 97.f + (i * 12) );
e->Graphics->DrawString( "Components of Base Type from IReferenceService:", gcnew System::Drawing::Font( FontFamily::GenericMonospace,8 ), gcnew SolidBrush( Color::Red ), 5.f, 109.f + (typeComponents->Length * 12) );
if ( !selected_typename->Equals( "None selected." ) )
for ( int i = 0; i < basetypeComponents->Length; i++ )
e->Graphics->DrawString( basetypeComponents[ i ], gcnew System::Drawing::Font( FontFamily::GenericMonospace,8 ), gcnew SolidBrush( Color::Black ), 20.f, 121.f + (typeComponents->Length * 12) + (i * 12) );
}
}; | [
"tianzh@microsoft.com"
] | tianzh@microsoft.com |
caf01d834e1ce98ef7c2b631403292031b133e21 | 38c10c01007624cd2056884f25e0d6ab85442194 | /content/renderer/media/audio_message_filter.cc | b3e4b2edf31815794fdada4fdd7aa92cb9eca112 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 7,636 | 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 "content/renderer/media/audio_message_filter.h"
#include <string>
#include "base/bind.h"
#include "base/single_thread_task_runner.h"
#include "base/strings/stringprintf.h"
#include "content/common/media/audio_messages.h"
#include "content/renderer/media/webrtc_logging.h"
#include "content/renderer/render_thread_impl.h"
#include "ipc/ipc_logging.h"
namespace content {
namespace {
const int kStreamIDNotSet = -1;
}
class AudioMessageFilter::AudioOutputIPCImpl
: public NON_EXPORTED_BASE(media::AudioOutputIPC) {
public:
AudioOutputIPCImpl(const scoped_refptr<AudioMessageFilter>& filter,
int render_frame_id);
~AudioOutputIPCImpl() override;
// media::AudioOutputIPC implementation.
void RequestDeviceAuthorization(media::AudioOutputIPCDelegate* delegate,
int session_id,
const std::string& device_id,
const url::Origin& security_origin) override;
void CreateStream(media::AudioOutputIPCDelegate* delegate,
const media::AudioParameters& params) override;
void PlayStream() override;
void PauseStream() override;
void CloseStream() override;
void SetVolume(double volume) override;
private:
const scoped_refptr<AudioMessageFilter> filter_;
const int render_frame_id_;
int stream_id_;
bool stream_created_;
};
AudioMessageFilter* AudioMessageFilter::g_filter = NULL;
AudioMessageFilter::AudioMessageFilter(
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner)
: sender_(NULL), io_task_runner_(io_task_runner) {
DCHECK(!g_filter);
g_filter = this;
}
AudioMessageFilter::~AudioMessageFilter() {
DCHECK_EQ(g_filter, this);
g_filter = NULL;
}
// static
AudioMessageFilter* AudioMessageFilter::Get() {
return g_filter;
}
AudioMessageFilter::AudioOutputIPCImpl::AudioOutputIPCImpl(
const scoped_refptr<AudioMessageFilter>& filter,
int render_frame_id)
: filter_(filter),
render_frame_id_(render_frame_id),
stream_id_(kStreamIDNotSet),
stream_created_(false) {}
AudioMessageFilter::AudioOutputIPCImpl::~AudioOutputIPCImpl() {}
scoped_ptr<media::AudioOutputIPC> AudioMessageFilter::CreateAudioOutputIPC(
int render_frame_id) {
DCHECK_GT(render_frame_id, 0);
return scoped_ptr<media::AudioOutputIPC>(
new AudioOutputIPCImpl(this, render_frame_id));
}
void AudioMessageFilter::AudioOutputIPCImpl::RequestDeviceAuthorization(
media::AudioOutputIPCDelegate* delegate,
int session_id,
const std::string& device_id,
const url::Origin& security_origin) {
DCHECK(filter_->io_task_runner_->BelongsToCurrentThread());
DCHECK(delegate);
DCHECK_EQ(stream_id_, kStreamIDNotSet);
DCHECK(!stream_created_);
stream_id_ = filter_->delegates_.Add(delegate);
filter_->Send(new AudioHostMsg_RequestDeviceAuthorization(
stream_id_, render_frame_id_, session_id, device_id,
url::Origin(security_origin)));
}
void AudioMessageFilter::AudioOutputIPCImpl::CreateStream(
media::AudioOutputIPCDelegate* delegate,
const media::AudioParameters& params) {
DCHECK(filter_->io_task_runner_->BelongsToCurrentThread());
DCHECK(!stream_created_);
if (stream_id_ == kStreamIDNotSet)
stream_id_ = filter_->delegates_.Add(delegate);
filter_->Send(
new AudioHostMsg_CreateStream(stream_id_, render_frame_id_, params));
stream_created_ = true;
}
void AudioMessageFilter::AudioOutputIPCImpl::PlayStream() {
DCHECK(stream_created_);
filter_->Send(new AudioHostMsg_PlayStream(stream_id_));
}
void AudioMessageFilter::AudioOutputIPCImpl::PauseStream() {
DCHECK(stream_created_);
filter_->Send(new AudioHostMsg_PauseStream(stream_id_));
}
void AudioMessageFilter::AudioOutputIPCImpl::CloseStream() {
DCHECK(filter_->io_task_runner_->BelongsToCurrentThread());
DCHECK_NE(stream_id_, kStreamIDNotSet);
filter_->Send(new AudioHostMsg_CloseStream(stream_id_));
filter_->delegates_.Remove(stream_id_);
stream_id_ = kStreamIDNotSet;
stream_created_ = false;
}
void AudioMessageFilter::AudioOutputIPCImpl::SetVolume(double volume) {
DCHECK(stream_created_);
filter_->Send(new AudioHostMsg_SetVolume(stream_id_, volume));
}
void AudioMessageFilter::Send(IPC::Message* message) {
DCHECK(io_task_runner_->BelongsToCurrentThread());
if (!sender_) {
delete message;
} else {
sender_->Send(message);
}
}
bool AudioMessageFilter::OnMessageReceived(const IPC::Message& message) {
DCHECK(io_task_runner_->BelongsToCurrentThread());
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(AudioMessageFilter, message)
IPC_MESSAGE_HANDLER(AudioMsg_NotifyDeviceAuthorized, OnDeviceAuthorized)
IPC_MESSAGE_HANDLER(AudioMsg_NotifyStreamCreated, OnStreamCreated)
IPC_MESSAGE_HANDLER(AudioMsg_NotifyStreamStateChanged, OnStreamStateChanged)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
}
void AudioMessageFilter::OnFilterAdded(IPC::Sender* sender) {
DCHECK(io_task_runner_->BelongsToCurrentThread());
sender_ = sender;
}
void AudioMessageFilter::OnFilterRemoved() {
DCHECK(io_task_runner_->BelongsToCurrentThread());
// Once removed, a filter will not be used again. At this time all
// delegates must be notified so they release their reference.
OnChannelClosing();
}
void AudioMessageFilter::OnChannelClosing() {
DCHECK(io_task_runner_->BelongsToCurrentThread());
sender_ = NULL;
DLOG_IF(WARNING, !delegates_.IsEmpty())
<< "Not all audio devices have been closed.";
IDMap<media::AudioOutputIPCDelegate>::iterator it(&delegates_);
while (!it.IsAtEnd()) {
it.GetCurrentValue()->OnIPCClosed();
delegates_.Remove(it.GetCurrentKey());
it.Advance();
}
}
void AudioMessageFilter::OnDeviceAuthorized(
int stream_id,
media::OutputDeviceStatus device_status,
const media::AudioParameters& output_params) {
DCHECK(io_task_runner_->BelongsToCurrentThread());
media::AudioOutputIPCDelegate* delegate = delegates_.Lookup(stream_id);
if (!delegate)
return;
delegate->OnDeviceAuthorized(device_status, output_params);
}
void AudioMessageFilter::OnStreamCreated(
int stream_id,
base::SharedMemoryHandle handle,
base::SyncSocket::TransitDescriptor socket_descriptor,
uint32 length) {
DCHECK(io_task_runner_->BelongsToCurrentThread());
WebRtcLogMessage(base::StringPrintf(
"AMF::OnStreamCreated. stream_id=%d",
stream_id));
base::SyncSocket::Handle socket_handle =
base::SyncSocket::UnwrapHandle(socket_descriptor);
media::AudioOutputIPCDelegate* delegate = delegates_.Lookup(stream_id);
if (!delegate) {
DLOG(WARNING) << "Got OnStreamCreated() event for a non-existent or removed"
<< " audio renderer. (stream_id=" << stream_id << ").";
base::SharedMemory::CloseHandle(handle);
base::SyncSocket socket(socket_handle);
return;
}
delegate->OnStreamCreated(handle, socket_handle, length);
}
void AudioMessageFilter::OnStreamStateChanged(
int stream_id, media::AudioOutputIPCDelegateState state) {
DCHECK(io_task_runner_->BelongsToCurrentThread());
media::AudioOutputIPCDelegate* delegate = delegates_.Lookup(stream_id);
if (!delegate) {
DLOG(WARNING) << "Got OnStreamStateChanged() event for a non-existent or"
<< " removed audio renderer. State: " << state;
return;
}
delegate->OnStateChanged(state);
}
} // namespace content
| [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
636672496b25e4063442db8cdb99562d15a399fa | 2ba11c26ed8754ea6c56d1d242010b1fb8385306 | /cwrapper/engine/src/events/MouseMotionEvent.h | 4d525340eca56e452acabf5e4d370b5bc76d309b | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | permissive | tippesi/Go-Atlas-Engine | 60fb4cae781bd475658e29101b08c19cd928a72d | 83aedf376802803eddded6363898f001e4e83c36 | refs/heads/master | 2020-09-20T09:04:14.963788 | 2019-11-28T23:27:41 | 2019-11-28T23:27:41 | 224,431,342 | 0 | 1 | NOASSERTION | 2019-11-28T08:46:17 | 2019-11-27T12:56:37 | C | UTF-8 | C++ | false | false | 1,007 | h | #ifndef AE_MOUSEMOTIONEVENT_H
#define AE_MOUSEMOTIONEVENT_H
#include "../System.h"
#include "EventDelegate.h"
#include <SDL/include/SDL.h>
namespace Atlas {
namespace Events {
/**
* A class to distribute mouse motion events.
*/
class MouseMotionEvent {
public:
MouseMotionEvent(SDL_MouseMotionEvent event) {
windowID = event.windowID;
x = event.x;
y = event.y;
dx = event.xrel;
dy = event.yrel;
}
/**
* The ID of the window the event occurred in
*/
uint32_t windowID;
/**
* The x coordinate relative to the window where the button event occurred
*/
int32_t x;
/**
* The y coordinate relative to the window where the button event occurred
*/
int32_t y;
/**
* The relative motion in x direction
*/
int32_t dx;
/**
* The relative motion in y direction
*/
int32_t dy;
};
}
}
#endif | [
"tippex97@gmail.com"
] | tippex97@gmail.com |
ed7d2867c900036e228deaed91a5de56163e7216 | 870b7d53ca818968ae8bd2f3798f097250cb8e2c | /unique-id.h | b12da0caa69f8f22b87a9aed57f86f5f87267f87 | [] | no_license | slcz/prolog-interpreter | 0c805e5b079983046267d27f1af5c4d3051e3ce7 | 3b430f0bf44c168fcbae9b1b55ba54a6bbedc5c6 | refs/heads/master | 2021-05-02T09:52:43.982945 | 2018-02-19T01:57:18 | 2018-02-19T01:57:18 | 120,785,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | h | #pragma once
#include <unordered_map>
#include <string>
#include <cstdint>
#include <iostream>
class unique_id {
private:
std::unordered_map<std::string, uint64_t> id_map;
uint64_t magic;
public:
unique_id() : magic{0} {}
void clear() { id_map.clear(); }
uint64_t max() const {return magic;}
uint64_t get_id(const std::string &name) {
if (name == "_") {
magic ++;
return magic;
}
auto i = id_map.find(name);
if (i == id_map.end()) {
magic ++;
id_map.insert(make_pair(name, magic));
return magic;
} else
return i->second;
}
};
| [
"sileizhang@yahoo.com"
] | sileizhang@yahoo.com |
7b77fc783aafb6ad45ef2c96ec605c500a9bfff3 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE78_OS_Command_Injection/s01/main_linux.cpp | c3fb03e8623148ebf17cde01119fc2affae42abc | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 93,489 | cpp | /* NOTE - eventually this file will be automatically updated using a Perl script that understand
* the naming of test case files, functions, and namespaces.
*/
#include <time.h> /* for time() */
#include <stdlib.h> /* for srand() */
#include "std_testcase.h"
#include "testcases.h"
int main(int argc, char * argv[]) {
/* seed randomness */
srand( (unsigned)time(NULL) );
globalArgc = argc;
globalArgv = argv;
#ifndef OMITGOOD
/* Calling C good functions */
/* BEGIN-AUTOGENERATED-C-GOOD-FUNCTION-CALLS */
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_01_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_01_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_02_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_02_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_03_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_03_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_04_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_04_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_05_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_05_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_06_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_06_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_07_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_07_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_08_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_08_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_09_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_09_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_10_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_10_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_11_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_11_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_12_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_12_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_13_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_13_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_14_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_14_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_15_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_15_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_16_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_16_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_17_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_17_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_18_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_18_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_21_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_21_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_22_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_22_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_31_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_31_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_32_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_32_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_34_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_34_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_41_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_41_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_42_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_42_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_44_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_44_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_45_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_45_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_51_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_51_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_52_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_52_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_53_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_53_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_54_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_54_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_61_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_61_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_63_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_63_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_64_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_64_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_65_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_65_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_66_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_66_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_67_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_67_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_68_good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_68_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_01_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_01_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_02_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_02_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_03_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_03_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_04_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_04_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_05_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_05_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_06_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_06_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_07_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_07_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_08_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_08_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_09_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_09_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_10_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_10_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_11_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_11_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_12_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_12_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_13_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_13_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_14_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_14_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_15_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_15_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_16_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_16_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_17_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_17_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_18_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_18_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_21_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_21_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_22_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_22_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_31_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_31_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_32_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_32_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_34_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_34_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_41_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_41_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_42_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_42_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_44_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_44_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_45_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_45_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_51_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_51_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_52_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_52_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_53_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_53_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_54_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_54_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_61_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_61_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_63_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_63_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_64_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_64_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_65_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_65_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_66_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_66_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_67_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_67_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_68_good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_68_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_01_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_01_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_02_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_02_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_03_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_03_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_04_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_04_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_05_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_05_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_06_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_06_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_07_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_07_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_08_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_08_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_09_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_09_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_10_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_10_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_11_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_11_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_12_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_12_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_13_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_13_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_14_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_14_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_15_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_15_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_16_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_16_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_17_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_17_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_18_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_18_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_21_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_21_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_22_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_22_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_31_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_31_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_32_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_32_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_34_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_34_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_41_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_41_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_42_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_42_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_44_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_44_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_45_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_45_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_51_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_51_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_52_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_52_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_53_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_53_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_54_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_54_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_61_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_61_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_63_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_63_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_64_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_64_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_65_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_65_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_66_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_66_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_67_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_67_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_68_good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_68_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_01_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_01_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_02_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_02_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_03_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_03_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_04_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_04_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_05_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_05_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_06_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_06_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_07_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_07_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_08_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_08_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_09_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_09_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_10_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_10_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_11_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_11_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_12_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_12_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_13_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_13_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_14_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_14_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_15_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_15_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_16_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_16_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_17_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_17_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_18_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_18_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_21_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_21_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_22_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_22_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_31_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_31_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_32_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_32_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_34_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_34_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_41_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_41_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_42_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_42_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_44_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_44_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_45_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_45_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_51_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_51_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_52_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_52_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_53_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_53_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_54_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_54_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_61_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_61_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_63_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_63_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_64_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_64_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_65_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_65_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_66_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_66_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_67_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_67_good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_68_good();");
CWE78_OS_Command_Injection__char_connect_socket_system_68_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_01_good();");
CWE78_OS_Command_Injection__char_console_execlp_01_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_02_good();");
CWE78_OS_Command_Injection__char_console_execlp_02_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_03_good();");
CWE78_OS_Command_Injection__char_console_execlp_03_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_04_good();");
CWE78_OS_Command_Injection__char_console_execlp_04_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_05_good();");
CWE78_OS_Command_Injection__char_console_execlp_05_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_06_good();");
CWE78_OS_Command_Injection__char_console_execlp_06_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_07_good();");
CWE78_OS_Command_Injection__char_console_execlp_07_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_08_good();");
CWE78_OS_Command_Injection__char_console_execlp_08_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_09_good();");
CWE78_OS_Command_Injection__char_console_execlp_09_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_10_good();");
CWE78_OS_Command_Injection__char_console_execlp_10_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_11_good();");
CWE78_OS_Command_Injection__char_console_execlp_11_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_12_good();");
CWE78_OS_Command_Injection__char_console_execlp_12_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_13_good();");
CWE78_OS_Command_Injection__char_console_execlp_13_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_14_good();");
CWE78_OS_Command_Injection__char_console_execlp_14_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_15_good();");
CWE78_OS_Command_Injection__char_console_execlp_15_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_16_good();");
CWE78_OS_Command_Injection__char_console_execlp_16_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_17_good();");
CWE78_OS_Command_Injection__char_console_execlp_17_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_18_good();");
CWE78_OS_Command_Injection__char_console_execlp_18_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_21_good();");
CWE78_OS_Command_Injection__char_console_execlp_21_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_22_good();");
CWE78_OS_Command_Injection__char_console_execlp_22_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_31_good();");
CWE78_OS_Command_Injection__char_console_execlp_31_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_32_good();");
CWE78_OS_Command_Injection__char_console_execlp_32_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_34_good();");
CWE78_OS_Command_Injection__char_console_execlp_34_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_41_good();");
CWE78_OS_Command_Injection__char_console_execlp_41_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_42_good();");
CWE78_OS_Command_Injection__char_console_execlp_42_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_44_good();");
CWE78_OS_Command_Injection__char_console_execlp_44_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_45_good();");
CWE78_OS_Command_Injection__char_console_execlp_45_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_51_good();");
CWE78_OS_Command_Injection__char_console_execlp_51_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_52_good();");
CWE78_OS_Command_Injection__char_console_execlp_52_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_53_good();");
CWE78_OS_Command_Injection__char_console_execlp_53_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_54_good();");
CWE78_OS_Command_Injection__char_console_execlp_54_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_61_good();");
CWE78_OS_Command_Injection__char_console_execlp_61_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_63_good();");
CWE78_OS_Command_Injection__char_console_execlp_63_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_64_good();");
CWE78_OS_Command_Injection__char_console_execlp_64_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_65_good();");
CWE78_OS_Command_Injection__char_console_execlp_65_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_66_good();");
CWE78_OS_Command_Injection__char_console_execlp_66_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_67_good();");
CWE78_OS_Command_Injection__char_console_execlp_67_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_68_good();");
CWE78_OS_Command_Injection__char_console_execlp_68_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_01_good();");
CWE78_OS_Command_Injection__char_console_execl_01_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_02_good();");
CWE78_OS_Command_Injection__char_console_execl_02_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_03_good();");
CWE78_OS_Command_Injection__char_console_execl_03_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_04_good();");
CWE78_OS_Command_Injection__char_console_execl_04_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_05_good();");
CWE78_OS_Command_Injection__char_console_execl_05_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_06_good();");
CWE78_OS_Command_Injection__char_console_execl_06_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_07_good();");
CWE78_OS_Command_Injection__char_console_execl_07_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_08_good();");
CWE78_OS_Command_Injection__char_console_execl_08_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_09_good();");
CWE78_OS_Command_Injection__char_console_execl_09_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_10_good();");
CWE78_OS_Command_Injection__char_console_execl_10_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_11_good();");
CWE78_OS_Command_Injection__char_console_execl_11_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_12_good();");
CWE78_OS_Command_Injection__char_console_execl_12_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_13_good();");
CWE78_OS_Command_Injection__char_console_execl_13_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_14_good();");
CWE78_OS_Command_Injection__char_console_execl_14_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_15_good();");
CWE78_OS_Command_Injection__char_console_execl_15_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_16_good();");
CWE78_OS_Command_Injection__char_console_execl_16_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_17_good();");
CWE78_OS_Command_Injection__char_console_execl_17_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_18_good();");
CWE78_OS_Command_Injection__char_console_execl_18_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_21_good();");
CWE78_OS_Command_Injection__char_console_execl_21_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_22_good();");
CWE78_OS_Command_Injection__char_console_execl_22_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_31_good();");
CWE78_OS_Command_Injection__char_console_execl_31_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_32_good();");
CWE78_OS_Command_Injection__char_console_execl_32_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_34_good();");
CWE78_OS_Command_Injection__char_console_execl_34_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_41_good();");
CWE78_OS_Command_Injection__char_console_execl_41_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_42_good();");
CWE78_OS_Command_Injection__char_console_execl_42_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_44_good();");
CWE78_OS_Command_Injection__char_console_execl_44_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_45_good();");
CWE78_OS_Command_Injection__char_console_execl_45_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_51_good();");
CWE78_OS_Command_Injection__char_console_execl_51_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_52_good();");
CWE78_OS_Command_Injection__char_console_execl_52_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_53_good();");
CWE78_OS_Command_Injection__char_console_execl_53_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_54_good();");
CWE78_OS_Command_Injection__char_console_execl_54_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_61_good();");
CWE78_OS_Command_Injection__char_console_execl_61_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_63_good();");
CWE78_OS_Command_Injection__char_console_execl_63_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_64_good();");
CWE78_OS_Command_Injection__char_console_execl_64_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_65_good();");
CWE78_OS_Command_Injection__char_console_execl_65_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_66_good();");
CWE78_OS_Command_Injection__char_console_execl_66_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_67_good();");
CWE78_OS_Command_Injection__char_console_execl_67_good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_68_good();");
CWE78_OS_Command_Injection__char_console_execl_68_good();
/* END-AUTOGENERATED-C-GOOD-FUNCTION-CALLS */
#ifdef __cplusplus
/* Calling C++ good functions */
/* BEGIN-AUTOGENERATED-CPP-GOOD-FUNCTION-CALLS */
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_33::good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_33::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_43::good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_43::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_62::good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_62::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_72::good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_72::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_73::good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_73::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_74::good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_74::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_81::good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_81::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_82::good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_82::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_83::good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_83::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_83::good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_83::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_84::good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_84::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_84::good();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_84::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_33::good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_33::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_43::good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_43::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_62::good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_62::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_72::good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_72::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_73::good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_73::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_74::good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_74::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_81::good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_81::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_82::good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_82::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_83::good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_83::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_83::good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_83::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_84::good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_84::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_84::good();");
CWE78_OS_Command_Injection__char_connect_socket_execl_84::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_33::good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_33::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_43::good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_43::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_62::good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_62::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_72::good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_72::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_73::good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_73::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_74::good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_74::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_81::good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_81::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_82::good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_82::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_83::good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_83::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_83::good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_83::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_84::good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_84::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_84::good();");
CWE78_OS_Command_Injection__char_connect_socket_popen_84::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_33::good();");
CWE78_OS_Command_Injection__char_connect_socket_system_33::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_43::good();");
CWE78_OS_Command_Injection__char_connect_socket_system_43::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_62::good();");
CWE78_OS_Command_Injection__char_connect_socket_system_62::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_72::good();");
CWE78_OS_Command_Injection__char_connect_socket_system_72::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_73::good();");
CWE78_OS_Command_Injection__char_connect_socket_system_73::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_74::good();");
CWE78_OS_Command_Injection__char_connect_socket_system_74::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_81::good();");
CWE78_OS_Command_Injection__char_connect_socket_system_81::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_82::good();");
CWE78_OS_Command_Injection__char_connect_socket_system_82::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_83::good();");
CWE78_OS_Command_Injection__char_connect_socket_system_83::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_83::good();");
CWE78_OS_Command_Injection__char_connect_socket_system_83::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_84::good();");
CWE78_OS_Command_Injection__char_connect_socket_system_84::good();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_84::good();");
CWE78_OS_Command_Injection__char_connect_socket_system_84::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_33::good();");
CWE78_OS_Command_Injection__char_console_execlp_33::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_43::good();");
CWE78_OS_Command_Injection__char_console_execlp_43::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_62::good();");
CWE78_OS_Command_Injection__char_console_execlp_62::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_72::good();");
CWE78_OS_Command_Injection__char_console_execlp_72::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_73::good();");
CWE78_OS_Command_Injection__char_console_execlp_73::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_74::good();");
CWE78_OS_Command_Injection__char_console_execlp_74::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_81::good();");
CWE78_OS_Command_Injection__char_console_execlp_81::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_82::good();");
CWE78_OS_Command_Injection__char_console_execlp_82::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_83::good();");
CWE78_OS_Command_Injection__char_console_execlp_83::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_83::good();");
CWE78_OS_Command_Injection__char_console_execlp_83::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_84::good();");
CWE78_OS_Command_Injection__char_console_execlp_84::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_84::good();");
CWE78_OS_Command_Injection__char_console_execlp_84::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_33::good();");
CWE78_OS_Command_Injection__char_console_execl_33::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_43::good();");
CWE78_OS_Command_Injection__char_console_execl_43::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_62::good();");
CWE78_OS_Command_Injection__char_console_execl_62::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_72::good();");
CWE78_OS_Command_Injection__char_console_execl_72::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_73::good();");
CWE78_OS_Command_Injection__char_console_execl_73::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_74::good();");
CWE78_OS_Command_Injection__char_console_execl_74::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_81::good();");
CWE78_OS_Command_Injection__char_console_execl_81::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_82::good();");
CWE78_OS_Command_Injection__char_console_execl_82::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_83::good();");
CWE78_OS_Command_Injection__char_console_execl_83::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_83::good();");
CWE78_OS_Command_Injection__char_console_execl_83::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_84::good();");
CWE78_OS_Command_Injection__char_console_execl_84::good();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_84::good();");
CWE78_OS_Command_Injection__char_console_execl_84::good();
/* END-AUTOGENERATED-CPP-GOOD-FUNCTION-CALLS */
#endif /* __cplusplus */
#endif /* OMITGOOD */
#ifndef OMITBAD
/* Calling C bad functions */
/* BEGIN-AUTOGENERATED-C-BAD-FUNCTION-CALLS */
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_01_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_01_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_02_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_02_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_03_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_03_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_04_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_04_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_05_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_05_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_06_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_06_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_07_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_07_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_08_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_08_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_09_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_09_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_10_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_10_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_11_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_11_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_12_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_12_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_13_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_13_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_14_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_14_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_15_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_15_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_16_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_16_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_17_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_17_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_18_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_18_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_21_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_21_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_22_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_22_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_31_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_31_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_32_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_32_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_34_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_34_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_41_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_41_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_42_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_42_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_44_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_44_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_45_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_45_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_51_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_51_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_52_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_52_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_53_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_53_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_54_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_54_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_61_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_61_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_63_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_63_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_64_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_64_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_65_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_65_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_66_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_66_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_67_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_67_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_68_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_68_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_01_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_01_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_02_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_02_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_03_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_03_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_04_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_04_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_05_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_05_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_06_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_06_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_07_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_07_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_08_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_08_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_09_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_09_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_10_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_10_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_11_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_11_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_12_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_12_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_13_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_13_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_14_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_14_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_15_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_15_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_16_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_16_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_17_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_17_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_18_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_18_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_21_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_21_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_22_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_22_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_31_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_31_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_32_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_32_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_34_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_34_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_41_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_41_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_42_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_42_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_44_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_44_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_45_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_45_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_51_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_51_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_52_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_52_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_53_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_53_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_54_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_54_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_61_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_61_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_63_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_63_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_64_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_64_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_65_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_65_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_66_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_66_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_67_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_67_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_68_bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_68_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_01_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_01_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_02_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_02_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_03_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_03_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_04_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_04_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_05_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_05_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_06_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_06_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_07_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_07_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_08_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_08_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_09_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_09_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_10_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_10_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_11_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_11_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_12_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_12_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_13_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_13_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_14_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_14_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_15_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_15_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_16_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_16_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_17_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_17_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_18_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_18_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_21_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_21_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_22_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_22_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_31_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_31_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_32_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_32_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_34_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_34_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_41_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_41_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_42_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_42_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_44_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_44_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_45_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_45_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_51_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_51_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_52_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_52_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_53_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_53_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_54_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_54_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_61_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_61_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_63_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_63_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_64_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_64_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_65_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_65_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_66_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_66_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_67_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_67_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_68_bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_68_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_01_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_01_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_02_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_02_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_03_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_03_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_04_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_04_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_05_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_05_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_06_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_06_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_07_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_07_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_08_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_08_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_09_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_09_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_10_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_10_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_11_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_11_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_12_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_12_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_13_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_13_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_14_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_14_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_15_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_15_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_16_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_16_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_17_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_17_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_18_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_18_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_21_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_21_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_22_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_22_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_31_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_31_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_32_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_32_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_34_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_34_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_41_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_41_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_42_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_42_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_44_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_44_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_45_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_45_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_51_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_51_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_52_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_52_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_53_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_53_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_54_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_54_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_61_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_61_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_63_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_63_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_64_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_64_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_65_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_65_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_66_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_66_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_67_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_67_bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_68_bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_68_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_01_bad();");
CWE78_OS_Command_Injection__char_console_execlp_01_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_02_bad();");
CWE78_OS_Command_Injection__char_console_execlp_02_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_03_bad();");
CWE78_OS_Command_Injection__char_console_execlp_03_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_04_bad();");
CWE78_OS_Command_Injection__char_console_execlp_04_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_05_bad();");
CWE78_OS_Command_Injection__char_console_execlp_05_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_06_bad();");
CWE78_OS_Command_Injection__char_console_execlp_06_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_07_bad();");
CWE78_OS_Command_Injection__char_console_execlp_07_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_08_bad();");
CWE78_OS_Command_Injection__char_console_execlp_08_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_09_bad();");
CWE78_OS_Command_Injection__char_console_execlp_09_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_10_bad();");
CWE78_OS_Command_Injection__char_console_execlp_10_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_11_bad();");
CWE78_OS_Command_Injection__char_console_execlp_11_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_12_bad();");
CWE78_OS_Command_Injection__char_console_execlp_12_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_13_bad();");
CWE78_OS_Command_Injection__char_console_execlp_13_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_14_bad();");
CWE78_OS_Command_Injection__char_console_execlp_14_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_15_bad();");
CWE78_OS_Command_Injection__char_console_execlp_15_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_16_bad();");
CWE78_OS_Command_Injection__char_console_execlp_16_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_17_bad();");
CWE78_OS_Command_Injection__char_console_execlp_17_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_18_bad();");
CWE78_OS_Command_Injection__char_console_execlp_18_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_21_bad();");
CWE78_OS_Command_Injection__char_console_execlp_21_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_22_bad();");
CWE78_OS_Command_Injection__char_console_execlp_22_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_31_bad();");
CWE78_OS_Command_Injection__char_console_execlp_31_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_32_bad();");
CWE78_OS_Command_Injection__char_console_execlp_32_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_34_bad();");
CWE78_OS_Command_Injection__char_console_execlp_34_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_41_bad();");
CWE78_OS_Command_Injection__char_console_execlp_41_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_42_bad();");
CWE78_OS_Command_Injection__char_console_execlp_42_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_44_bad();");
CWE78_OS_Command_Injection__char_console_execlp_44_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_45_bad();");
CWE78_OS_Command_Injection__char_console_execlp_45_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_51_bad();");
CWE78_OS_Command_Injection__char_console_execlp_51_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_52_bad();");
CWE78_OS_Command_Injection__char_console_execlp_52_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_53_bad();");
CWE78_OS_Command_Injection__char_console_execlp_53_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_54_bad();");
CWE78_OS_Command_Injection__char_console_execlp_54_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_61_bad();");
CWE78_OS_Command_Injection__char_console_execlp_61_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_63_bad();");
CWE78_OS_Command_Injection__char_console_execlp_63_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_64_bad();");
CWE78_OS_Command_Injection__char_console_execlp_64_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_65_bad();");
CWE78_OS_Command_Injection__char_console_execlp_65_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_66_bad();");
CWE78_OS_Command_Injection__char_console_execlp_66_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_67_bad();");
CWE78_OS_Command_Injection__char_console_execlp_67_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_68_bad();");
CWE78_OS_Command_Injection__char_console_execlp_68_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_01_bad();");
CWE78_OS_Command_Injection__char_console_execl_01_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_02_bad();");
CWE78_OS_Command_Injection__char_console_execl_02_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_03_bad();");
CWE78_OS_Command_Injection__char_console_execl_03_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_04_bad();");
CWE78_OS_Command_Injection__char_console_execl_04_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_05_bad();");
CWE78_OS_Command_Injection__char_console_execl_05_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_06_bad();");
CWE78_OS_Command_Injection__char_console_execl_06_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_07_bad();");
CWE78_OS_Command_Injection__char_console_execl_07_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_08_bad();");
CWE78_OS_Command_Injection__char_console_execl_08_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_09_bad();");
CWE78_OS_Command_Injection__char_console_execl_09_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_10_bad();");
CWE78_OS_Command_Injection__char_console_execl_10_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_11_bad();");
CWE78_OS_Command_Injection__char_console_execl_11_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_12_bad();");
CWE78_OS_Command_Injection__char_console_execl_12_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_13_bad();");
CWE78_OS_Command_Injection__char_console_execl_13_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_14_bad();");
CWE78_OS_Command_Injection__char_console_execl_14_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_15_bad();");
CWE78_OS_Command_Injection__char_console_execl_15_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_16_bad();");
CWE78_OS_Command_Injection__char_console_execl_16_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_17_bad();");
CWE78_OS_Command_Injection__char_console_execl_17_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_18_bad();");
CWE78_OS_Command_Injection__char_console_execl_18_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_21_bad();");
CWE78_OS_Command_Injection__char_console_execl_21_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_22_bad();");
CWE78_OS_Command_Injection__char_console_execl_22_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_31_bad();");
CWE78_OS_Command_Injection__char_console_execl_31_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_32_bad();");
CWE78_OS_Command_Injection__char_console_execl_32_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_34_bad();");
CWE78_OS_Command_Injection__char_console_execl_34_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_41_bad();");
CWE78_OS_Command_Injection__char_console_execl_41_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_42_bad();");
CWE78_OS_Command_Injection__char_console_execl_42_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_44_bad();");
CWE78_OS_Command_Injection__char_console_execl_44_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_45_bad();");
CWE78_OS_Command_Injection__char_console_execl_45_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_51_bad();");
CWE78_OS_Command_Injection__char_console_execl_51_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_52_bad();");
CWE78_OS_Command_Injection__char_console_execl_52_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_53_bad();");
CWE78_OS_Command_Injection__char_console_execl_53_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_54_bad();");
CWE78_OS_Command_Injection__char_console_execl_54_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_61_bad();");
CWE78_OS_Command_Injection__char_console_execl_61_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_63_bad();");
CWE78_OS_Command_Injection__char_console_execl_63_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_64_bad();");
CWE78_OS_Command_Injection__char_console_execl_64_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_65_bad();");
CWE78_OS_Command_Injection__char_console_execl_65_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_66_bad();");
CWE78_OS_Command_Injection__char_console_execl_66_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_67_bad();");
CWE78_OS_Command_Injection__char_console_execl_67_bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_68_bad();");
CWE78_OS_Command_Injection__char_console_execl_68_bad();
/* END-AUTOGENERATED-C-BAD-FUNCTION-CALLS */
#ifdef __cplusplus
/* Calling C++ bad functions */
/* BEGIN-AUTOGENERATED-CPP-BAD-FUNCTION-CALLS */
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_33::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_33::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_43::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_43::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_62::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_62::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_72::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_72::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_73::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_73::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_74::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_74::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_81::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_81::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_82::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_82::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_83::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_83::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_83::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_83::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_84::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_84::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execlp_84::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execlp_84::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_33::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_33::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_43::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_43::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_62::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_62::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_72::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_72::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_73::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_73::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_74::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_74::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_81::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_81::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_82::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_82::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_83::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_83::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_83::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_83::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_84::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_84::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_execl_84::bad();");
CWE78_OS_Command_Injection__char_connect_socket_execl_84::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_33::bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_33::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_43::bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_43::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_62::bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_62::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_72::bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_72::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_73::bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_73::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_74::bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_74::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_81::bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_81::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_82::bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_82::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_83::bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_83::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_83::bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_83::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_84::bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_84::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_popen_84::bad();");
CWE78_OS_Command_Injection__char_connect_socket_popen_84::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_33::bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_33::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_43::bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_43::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_62::bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_62::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_72::bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_72::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_73::bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_73::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_74::bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_74::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_81::bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_81::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_82::bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_82::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_83::bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_83::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_83::bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_83::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_84::bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_84::bad();
printLine("Calling CWE78_OS_Command_Injection__char_connect_socket_system_84::bad();");
CWE78_OS_Command_Injection__char_connect_socket_system_84::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_33::bad();");
CWE78_OS_Command_Injection__char_console_execlp_33::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_43::bad();");
CWE78_OS_Command_Injection__char_console_execlp_43::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_62::bad();");
CWE78_OS_Command_Injection__char_console_execlp_62::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_72::bad();");
CWE78_OS_Command_Injection__char_console_execlp_72::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_73::bad();");
CWE78_OS_Command_Injection__char_console_execlp_73::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_74::bad();");
CWE78_OS_Command_Injection__char_console_execlp_74::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_81::bad();");
CWE78_OS_Command_Injection__char_console_execlp_81::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_82::bad();");
CWE78_OS_Command_Injection__char_console_execlp_82::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_83::bad();");
CWE78_OS_Command_Injection__char_console_execlp_83::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_83::bad();");
CWE78_OS_Command_Injection__char_console_execlp_83::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_84::bad();");
CWE78_OS_Command_Injection__char_console_execlp_84::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execlp_84::bad();");
CWE78_OS_Command_Injection__char_console_execlp_84::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_33::bad();");
CWE78_OS_Command_Injection__char_console_execl_33::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_43::bad();");
CWE78_OS_Command_Injection__char_console_execl_43::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_62::bad();");
CWE78_OS_Command_Injection__char_console_execl_62::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_72::bad();");
CWE78_OS_Command_Injection__char_console_execl_72::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_73::bad();");
CWE78_OS_Command_Injection__char_console_execl_73::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_74::bad();");
CWE78_OS_Command_Injection__char_console_execl_74::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_81::bad();");
CWE78_OS_Command_Injection__char_console_execl_81::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_82::bad();");
CWE78_OS_Command_Injection__char_console_execl_82::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_83::bad();");
CWE78_OS_Command_Injection__char_console_execl_83::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_83::bad();");
CWE78_OS_Command_Injection__char_console_execl_83::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_84::bad();");
CWE78_OS_Command_Injection__char_console_execl_84::bad();
printLine("Calling CWE78_OS_Command_Injection__char_console_execl_84::bad();");
CWE78_OS_Command_Injection__char_console_execl_84::bad();
/* END-AUTOGENERATED-CPP-BAD-FUNCTION-CALLS */
#endif /* __cplusplus */
#endif /* OMITBAD */
return 0;
}
| [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
dc705a743db75562918e713f3266558c9c39d8be | 99559eff2332db6fcd7b155969f80ce526f60aac | /include/spice_calS3.h | 58692c2061ae1096eff10637c289675c148d1f7e | [] | no_license | jsmallcombe/SPICETools | 5684753d018dca33b85e843cba8acf2086b0d3c0 | da6ad4b27ffc601be38a3dd04dca413f65d991e0 | refs/heads/master | 2021-05-16T09:40:46.358040 | 2019-10-17T15:21:48 | 2019-10-17T15:21:48 | 104,527,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,575 | h | //g++ spice_parse.cpp spice_enviro.cpp -std=c++0x -I$GRSISYS/include -L$GRSISYS/libraries `grsi-config --cflags --all-libs` `root-config --cflags --libs` -lTreePlayer -lMathMore -lSpectrum `root-config --glibs` -o SSparser
//`grsi-config --all-libs` `root-config --cflags --libs`
// -lXMLParser -lX11 -lXpm -lXMLIO
#ifndef spice_cals3
#define spice_cals3
#include <iostream>
#include <iomanip>
#include <cmath>
#include <limits>
#include <utility>
#include <vector>
#include <cstdio>
#include <sys/stat.h>
#include <sstream>
#include "TROOT.h"
#include "TSystem.h"
#include "TChain.h"
#include "TTree.h"
#include "TBranch.h"
#include "TTreeIndex.h"
#include "TSpectrum.h"
#include "TGraphErrors.h"
#include "TVirtualIndex.h"
#include "TFile.h"
#include "TList.h"
#include "TF1.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TH3F.h"
#include "TH2Poly.h"
#include "TMultiGraph.h"
#include "TStopwatch.h"
#include "TApplication.h"
#include "TCanvas.h"
#include "TMath.h"
#include <jlibmaster.h>
#include "spice_input.h"
#ifndef __CLING__
#ifndef __CINT__
#include "TTigress.h"
#include "TSiLi.h"
#include "TS3.h"
#include "TRF.h"
#include "TChannel.h"
#include "TFragment.h"
#endif
#endif
using namespace std;
int S3CalParse(int,char**,TApplication* app=0);
void S3CalParseChain(TChain* DataChain,string outputcalfile,TApplication* app=0,bool gain=false,int select=-1);
void MakeBlankS3cal(string mnemonic, string calout);
void S3FixCalBeam(TChain* DataChain,string outputfile,TApplication* app=0,double energyring0=5000,bool gain=false,int select=-1);
#endif | [
"jsmallcombe@triumf.ca"
] | jsmallcombe@triumf.ca |
32e59a06c7571f74825f618d474b38c3489b66b4 | 0b624f3cedc24336ecd9e6076e73a7a98e02e241 | /CanvasEngine/Blinn.h | 4039437b8a1acee997249ecc566763c5769419e5 | [] | no_license | weijinweng/CanvasEngine | 7151ccf81866cf4965b4a29d54094c1bd4f75906 | ae00b05e3f665632115164eb4042f7f6e3242129 | refs/heads/master | 2021-01-20T10:11:06.026655 | 2015-01-12T17:44:04 | 2015-01-12T17:44:04 | 25,133,656 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | h | #pragma once
#include "SceneNode.h"
#include "Material.h"
namespace Canvas{
struct BlinnCache{
};
class BlinnMaterialTemplate:public MaterialTemplate{
public:
BlinnMaterialTemplate();
void SetDrawProgram(DrawProgram*);
MaterialNode* GenNewNode(std::string = "Blinn");
void DeleteNode(MaterialNode*);
};
struct BlinnMaterialNode:public MaterialNode{
BlinnMaterialNode(DrawProgram*);
uint32 CacheProgram(DrawProgram*);
void Bind(uint32 = 0);
void Set(uint32, float);
void Set(uint32, int);
void Set(uint32, glm::vec3);
void Set(uint32, glm::mat4);
void Set(uint32, glm::vec4);
void Set(uint32, bool);
void SetActivity(bool);
void SetInputTexture(int loc, Texture*);
void AddNode(RenderNode*);
virtual std::string FetchID();
std::string GetName();
};
} | [
"weijin22@hotmail.com"
] | weijin22@hotmail.com |
234f94629009191f31f7aae1e90d56828834b94c | 90ea36ece9721da54458cf1167e5c185a588eb1d | /Untitled2.cpp | 9dbc0cd13fe05a7fdadde91cf6eea5c15d655ef4 | [] | no_license | hans0090/Test | 446aed333b824324dfec4ae5297e08badcb1229f | df05cfc4eaa43f4e2095e0e2747769cc8643a5c1 | refs/heads/master | 2022-11-14T08:00:33.641279 | 2020-06-16T07:43:07 | 2020-06-16T07:43:07 | 272,626,724 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 461 | cpp |
#include <iostream>
using namespace std;
const int MOD = 100;
int main()
{
int a, b, min;
while(cin >> a >> b) {
if(a == 0 && b == 0)
break;
// 计算最小的答案
min = (b - a * MOD % b) % b;
// 循环输出结果
for(int i=min; i<MOD; i+=b) {
if(i != min)
printf(" ");
printf("%02d", i);
}
printf("\n");
}
return 0;
}
| [
"hs678@gmail.com"
] | hs678@gmail.com |
d3f4f3fdf85eca46f4519401da4c70e40b8ac7e7 | 121ab1e8e400a3397c193bbd4f1976b57d332e9f | /week6/archive/Team.hpp | 72aaa79561c696cd8a3102c026cc944c23b8d768 | [] | no_license | tjfr8s/cs161 | 3e2f94a75eb9cfdbb6a5a3397117f8d221417d48 | 5ed2648cb38c82519da3fb6a6b39b9fec4cbb88d | refs/heads/master | 2020-03-16T20:01:32.210816 | 2018-06-01T20:30:16 | 2018-06-01T20:30:16 | 132,943,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | hpp | /************************************************************
* Author: Tyler Freitas
* Date: 05/01/2018
* Description: This program declares a Team class that has
* five Player member variables. It has a constructor with 5
* Player parameters, get and set methods for each member,
* and a function called totalPoints that returns the total
* points scored by the team.
************************************************************/
#ifndef TEAM_HPP
#define TEAM_HPP
#include "Player.hpp"
class Team
{
private:
Player m_pointGuard;
Player m_shootingGuard;
Player m_smallForward;
Player m_powerForward;
Player m_center;
public:
Team(Player pointGuard,
Player shootingGuard,
Player smallForward,
Player powerForward,
Player center);
void setPointGuard(Player pointGuard);
void setShootingGuard(Player shootingGuard);
void setSmallForward(Player smallForward);
void setPowerForward(Player powerForward);
void setCenter(Player center);
Player getPointGuard() const;
Player getShootingGuard() const;
Player getSmallForward() const;
Player getPowerForward() const;
Player getCenter() const;
int totalPoints() const;
};
#endif
| [
"tjfr8s@gmail.com"
] | tjfr8s@gmail.com |
a8821ba6b7a27412d2fbb2d7d034c1b5a5af34fa | 153b0fe5eeba8fa3a71decb47ff6f54a8ef307c5 | /Homework_week04/Fireworks/src/Firework.cpp | bd5b1694e9d39903c8687f2d98895215000301b4 | [] | no_license | YiZhiYuanYuan-qyy/Mediart_206 | f9d0da731fe87cacd3c187dc24a5c542155d995b | 6d7c44a705a16e5995f0b3f57a4a411dfd2ab3d5 | refs/heads/main | 2023-01-28T05:19:43.697248 | 2020-12-13T12:19:51 | 2020-12-13T12:19:51 | 318,499,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 571 | cpp | #include "Firework.h"
Firework::Firework() {
pos = glm::vec3(0, 0 ,0);
}
Firework::Firework(glm::vec3 _pos) {
pos = _pos;
}
void Firework::setup(glm::vec3 _vel, glm::vec3 _pos) {
vel = glm::vec3(0, 0, 0);
acc = glm::vec3(0, 0, 0);
vel = _vel;
pos = _pos;
}
void Firework::update(glm::vec3 _vel) {
vel += _vel;
pos += vel;
vel += acc;
acc *= 0;
}
void Firework::draw() {
ofPushStyle();
ofSetColor(255);
ofDrawEllipse(pos, 3, 6);
ofPopStyle();
}
void Firework::time() {
bornTime = ofGetElapsedTimef();
} | [
"yq74@duke.edu"
] | yq74@duke.edu |
fb3a5e60e51466e1a0526fd39c325925d24b11b8 | 46bdced06890f17f795c165b207f2b8f8b9fef5d | /src/renderer/include/RenderTexture.h | 0915f9981de9b03962eb435b678dd11498274472 | [] | no_license | zgpxgame/iEngine | 5a74faf5704f199166af538ffc8f1da6b353f0a0 | 25be7ca619dc750cc418e3faa7de88883d5cda6f | refs/heads/master | 2020-06-01T15:39:17.985636 | 2015-09-18T13:20:26 | 2015-09-18T13:20:26 | 4,594,111 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://ogre.sourceforge.net/
Copyright (c)2000-2002 The OGRE Team
Also see acknowledgements in Readme.html
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
http://www.gnu.org/copyleft/lesser.txt.
-----------------------------------------------------------------------------
*/
#ifndef __RenderTexture_H__
#define __RenderTexture_H__
#include "Prerequisites.h"
#include "RenderTarget.h"
namespace renderer {
class _RendererExport RenderTexture : public RenderTarget {
public:
RenderTexture( const String & name, uint width, uint height, TextureType texType = TEX_TYPE_2D );
protected:
RenderTexture() {};
virtual void firePostUpdate();
virtual void _copyToTexture() = 0;
protected:
/// The texture that gets accesses by the rest of the API.
Texture * mTexture;
};
}
#endif
| [
"zgpxgame@126.com"
] | zgpxgame@126.com |
b7e8de15be170b32beb44acf3d5e5d9a80b7aab0 | f9e63c349ded5c8a9dc406a5fac41d14237a53ab | /src/QRCode.h | 171521161f6682588f4e2314cd0689ecaef98792 | [
"MIT"
] | permissive | wanglei-ok/myqrcode | 4c4082ef232f59d64cbc236b5669aa51945c8290 | 7ea9f9124ec4e0de6439471bfd5809428ef3c4a0 | refs/heads/master | 2020-04-09T21:42:47.465469 | 2018-12-06T03:17:55 | 2018-12-06T03:17:55 | 160,610,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | h | #if !defined(AFX_QRCODE_H__70E2B65F_17A0_4815_BAA3_53D7F835027B__INCLUDED_)
#define AFX_QRCODE_H__70E2B65F_17A0_4815_BAA3_53D7F835027B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// QRCode.h : header file
//
#include "qrencode.h"
/////////////////////////////////////////////////////////////////////////////
// CQRCode window
class CQRCode : public CStatic
{
// Construction
public:
CQRCode();
void SetText(const CString &str, BOOL bTextMode = TRUE);
// Attributes
public:
CBitmap * m_qrcode;
CString m_text;
BOOL m_bTextMode;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CQRCode)
protected:
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
public:
void refresh();
virtual ~CQRCode();
// Generated message map functions
protected:
//{{AFX_MSG(CQRCode)
afx_msg void OnPaint();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_QRCODE_H__70E2B65F_17A0_4815_BAA3_53D7F835027B__INCLUDED_)
| [
"wanglei.ok@foxmail.com"
] | wanglei.ok@foxmail.com |
6251fb2ac0655368bc3ae5470aa4af079c6ee3b4 | 5a2b20318c1647f16b6b0c49aa0b4cb272026040 | /programs/mctrace/mctrace.cc | b544f2deddb5c3b6040ccd19c5888eae99f1deec | [] | no_license | OSEN5/kv_engine | 095ad6acb65ed373be8ef30115e0cf8cd396099c | 2191982363ffc5a75a40f451fcfc00f6fb1ef0d5 | refs/heads/master | 2020-04-19T22:17:30.277828 | 2019-01-30T03:40:32 | 2019-01-31T01:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,009 | cc | /* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2017 Couchbase, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* mctrace - Utility program to easily perform trace dumps on a running
* memcached process
*/
#include "config.h"
#include <getopt.h>
#include <memcached/openssl.h>
#include <memcached/protocol_binary.h>
#include <memcached/util.h>
#include <platform/cb_malloc.h>
#include <platform/dirutils.h>
#include <platform/interrupt.h>
#include <platform/platform.h>
#include <platform/strerror.h>
#include <programs/getpass.h>
#include <programs/hostname_utils.h>
#include <protocol/connection/client_connection.h>
#include <chrono>
#include <cstdio>
#include <iostream>
#include <thread>
static bool caughtSigInt = false;
static void sigint_handler() {
// We only want to soft-exit once, if we sigint twice just bail out
if (caughtSigInt) {
exit(1);
}
caughtSigInt = true;
}
static void usage() {
static const char* text = R"(Usage: mctrace [options]
Options:
--ipv4 / -4 Use IPv4
--ipv6 / -6 Use IPv6
--host= / -h Connect to the specified host (with an optional port
number). By default this is set to "localhost".
--port= / -p Connect to the specified port (By default this is 11210)
--user= / -u The username to use for authentication.
--password= / -P The password to use for authentication. If not specified
the textual string set in the environment variable
CB_PASSWORD is used. If '-' is specified the password
is read from standard input.
--ssl / -s Connect over SSL
--ssl=cert,key Try to authenticate over SSL by using the provided SSL
certificate and private key.
--config= / -c Specify the trace configuration to use on the server
(note that this will override the current configuration
and the previous configuration will NOT be restored
when the program terminates).
ex:
"buffer-mode:ring;buffer-size:2000000;enabled-categories:*"
--output / -o Store the trace information in the named file.
--wait / -w Wait until the user press ctrl-c before returning the
data. This option clears the data on the server before
waiting for the user to press ctrl-c and may be used
to get information for a known window of time.
--help This help text
)";
std::cerr << text << std::endl;
exit(EXIT_FAILURE);
}
int main(int argc, char** argv) {
int cmd;
std::string port{"11210"};
std::string host{"localhost"};
std::string user{};
std::string password{};
std::string ssl_cert;
std::string ssl_key;
sa_family_t family = AF_UNSPEC;
bool secure = false;
std::string trace_config;
std::string output("-");
bool interactive = false;
/* Initialize the socket subsystem */
cb_initialize_sockets();
struct option long_options[] = {
{"ipv4", no_argument, nullptr, '4'},
{"ipv6", no_argument, nullptr, '6'},
{"host", required_argument, nullptr, 'h'},
{"port", required_argument, nullptr, 'p'},
{"user", required_argument, nullptr, 'u'},
{"password", required_argument, nullptr, 'P'},
{"ssl=", optional_argument, nullptr, 's'},
{"config", required_argument, nullptr, 'c'},
{"output", required_argument, nullptr, 'o'},
{"wait", no_argument, nullptr, 'w'},
{"help", no_argument, nullptr, 0},
{nullptr, 0, nullptr, 0}};
while ((cmd = getopt_long(
argc, argv, "46h:p:u:P:sc:o:w", long_options, nullptr)) !=
EOF) {
switch (cmd) {
case '6':
family = AF_INET6;
break;
case '4':
family = AF_INET;
break;
case 'h':
host.assign(optarg);
break;
case 'p':
port.assign(optarg);
break;
case 'u':
user.assign(optarg);
break;
case 'P':
password.assign(optarg);
break;
case 's':
secure = true;
if (optarg) {
ssl_cert.assign(optarg);
auto idx = ssl_cert.find(',');
if (idx == std::string::npos) {
std::cerr << "Invalid format for SSL certificate and key\n";
exit(EXIT_FAILURE);
}
ssl_key = ssl_cert.substr(idx + 1);
ssl_cert.resize(idx);
if (!cb::io::isFile(ssl_cert)) {
std::cerr << "SSL certificate file " << ssl_cert
<< " does not exists";
exit(EXIT_FAILURE);
}
if (!cb::io::isFile(ssl_key)) {
std::cerr << "SSL private file " << ssl_key
<< " does not exists";
exit(EXIT_FAILURE);
}
}
break;
case 'c':
trace_config.assign(optarg);
break;
case 'o':
output.assign(optarg);
break;
case 'w':
interactive = true;
break;
default:
usage();
}
}
if (ssl_cert.empty() && ssl_key.empty()) {
// Use normal authentication
if (password.empty()) {
const char* env_password = std::getenv("CB_PASSWORD");
if (env_password) {
password = env_password;
}
}
if (password == "-") {
password.assign(getpass());
}
}
try {
in_port_t in_port;
sa_family_t fam;
std::tie(host, in_port, fam) = cb::inet::parse_hostname(host, port);
if (family == AF_UNSPEC) { // The user may have used -4 or -6
family = fam;
}
MemcachedConnection connection(host, in_port, family, secure);
connection.setSslCertFile(ssl_cert);
connection.setSslKeyFile(ssl_key);
connection.connect();
// MEMCACHED_VERSION contains the git sha
connection.hello(
"mctrace",
MEMCACHED_VERSION,
"command line utility for performing phosphor trace dumps");
connection.setFeatures(
"mctrace " MEMCACHED_VERSION,
std::vector<cb::mcbp::Feature>{cb::mcbp::Feature::XERROR,
cb::mcbp::Feature::JSON});
if (!user.empty()) {
connection.authenticate(
user, password, connection.getSaslMechanisms());
}
if (!trace_config.empty()) {
// Start the trace
connection.ioctl_set("trace.config", trace_config);
connection.ioctl_set("trace.start", {});
} else {
if (connection.ioctl_get("trace.status") != "enabled") {
std::cerr << "Trace is not running. Specify a configuration."
<< std::endl;
exit(EXIT_FAILURE);
}
}
if (interactive) {
// Clear the trace by stopping and starting it
connection.ioctl_set("trace.stop", {});
connection.ioctl_set("trace.start", {});
// Register our SIGINT handler
cb::console::set_sigint_handler(sigint_handler);
std::cerr << "Press CTRL-C to stop trace" << std::endl;
// Wait for the trace to automatically stop or ctrl+c
do {
// In the ideal world we'd use a condition variable to do this
// so we can bail out quickly. Unfortunately it's illegal to do
// that from a signal handler.
std::this_thread::sleep_for(std::chrono::milliseconds(100));
} while (!caughtSigInt);
}
FILE* destination = stdout;
if (!output.empty() && output != "-") {
destination = fopen(output.c_str(), "w");
if (destination == nullptr) {
fprintf(stderr,
R"(Failed to open "%s": %s)",
output.c_str(),
cb_strerror().c_str());
exit(EXIT_FAILURE);
}
}
// Start a dump
auto uuid = connection.ioctl_get("trace.dump.begin");
const std::string chunk_key = "trace.dump.chunk?id=" + uuid;
// Print the dump to stdout
std::string chunk;
do {
chunk = connection.ioctl_get(chunk_key);
fwrite(chunk.data(), chunk.size(), 1, destination);
} while (!chunk.empty());
fprintf(destination, "\n");
if (destination != stdout) {
fclose(destination);
}
// Remove the dump
connection.ioctl_set("trace.dump.clear", uuid);
} catch (const ConnectionError& ex) {
std::cerr << ex.what() << std::endl;
return EXIT_FAILURE;
} catch (const std::runtime_error& ex) {
std::cerr << ex.what() << std::endl;
return EXIT_FAILURE;
}
return EXIT_SUCCESS;
}
| [
"jim@couchbase.com"
] | jim@couchbase.com |
5407bbe2416fcf9830a161b8981e00085c55db63 | 309aaba54a9164967119de46155c6933b0dc4c01 | /src/RenDlg.h | e40b1b6ac108a0c98b71f36f6f5636ae3bf6fee3 | [
"MIT"
] | permissive | Nekomimi1958/NyanFi_x64 | d6ae5b564c980c5088b2b745ee82223a882bc1b2 | dc46e0835af4c985096c2e1c1d86c7016c97ea41 | refs/heads/master | 2023-08-14T23:17:55.410492 | 2023-08-08T11:46:05 | 2023-08-08T11:46:05 | 167,489,294 | 32 | 2 | null | null | null | null | SHIFT_JIS | C++ | false | false | 11,691 | h | //----------------------------------------------------------------------//
// NyanFi //
// 名前の変更 //
//----------------------------------------------------------------------//
#ifndef RenDlgH
#define RenDlgH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <System.Actions.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.Mask.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.ComCtrls.hpp>
#include <Vcl.Menus.hpp>
#include <Vcl.Grids.hpp>
#include <Vcl.Buttons.hpp>
#include <Vcl.ActnList.hpp>
#include <Vcl.CheckLst.hpp>
#include "usr_spbar.h"
#include "Global.h"
//---------------------------------------------------------------------------
class TRenameDlg : public TForm
{
__published: // IDE で管理されるコンポーネント
TAction *AddAssRenAction;
TAction *AddCnvChAction;
TAction *ChgAssRenAction;
TAction *ChgCnvChAction;
TAction *DelAssRenAction;
TAction *DelCnvChAction;
TAction *DelItemAction;
TAction *EditListAction;
TAction *Inp1stNameAction;
TAction *LatestTimeAction;
TAction *RenOkAction;
TAction *SaveSerFmtAction;
TActionList *ActionList1;
TButton *AddAssRenBtn;
TButton *AddKeyBtn;
TButton *CanButton;
TButton *ChgAssRenBtn;
TButton *ChgKeyBtn;
TButton *DelAssRenBtn;
TButton *DelKeyBtn;
TButton *DowColBtn;
TButton *EditListBtn;
TButton *Fmt_A_Btn;
TButton *Fmt_E_Btn;
TButton *Fmt_L_Btn;
TButton *Fmt_R_Btn;
TButton *Fmt_S_Btn;
TButton *Fmt_TS_Btn;
TButton *Fmt_XT_Btn;
TButton *Id3Btn1;
TButton *Id3Btn2;
TButton *Id3Btn3;
TButton *Id3Btn4;
TButton *Id3Btn5;
TButton *OkButton;
TButton *PreviewBtn;
TButton *RefListBtn;
TButton *SaveFmtBtn;
TButton *Time00Btn;
TButton *Time12Btn;
TButton *TimeLatestBtn;
TButton *TimeNowBtn;
TButton *TimeX0Btn;
TButton *UpColBtn;
TCheckBox *ArcCheckBox;
TCheckBox *AutoPrvCheckBox;
TCheckBox *Case2CheckBox;
TCheckBox *CaseCheckBox;
TCheckBox *CmpCheckBox;
TCheckBox *CnvCharCheckBox;
TCheckBox *CnvKanaCheckBox;
TCheckBox *EndMatchCheckBox;
TCheckBox *HiddenCheckBox;
TCheckBox *KeepBsExtCheckBox;
TCheckBox *KeepCsrCheckBox;
TCheckBox *NoRenLogCheckBox;
TCheckBox *OnlyBase2CheckBox;
TCheckBox *OnlyBaseCheckBox;
TCheckBox *PrtChgCheckBox;
TCheckBox *ReadOnlyCheckBox;
TCheckBox *RegExCheckBox;
TCheckBox *SysCheckBox;
TCheckListBox *AssRenListBox;
TComboBox *IniStt2ComboBox;
TComboBox *IniSttComboBox;
TComboBox *Mp3FmtComboBox;
TComboBox *RenListComboBox;
TComboBox *RepStrComboBox;
TComboBox *SerFmtComboBox;
TComboBox *SrcStrComboBox;
TEdit *CnvChREdit;
TEdit *CnvChSEdit;
TEdit *ExtEdit;
TEdit *IncNoEdit;
TEdit *PostNameEdit;
TEdit *PreNameEdit;
TEdit *RenameEdit;
TEdit *SerNoEdit;
TGroupBox *AtrGroupBox;
TGroupBox *CnvCharGroupBox;
TGroupBox *IniSttGroupBox;
TGroupBox *TimeGroupBox;
TLabel *CnvChLabel;
TLabel *DotLabel;
TLabel *ListErrLabel;
TLabel *mp3fextLabel;
TLabel *NameInfMLabel;
TLabel *PathInfMLabel;
TLabel *SttInfLabel;
TLabeledEdit *AssExtEdit;
TLabeledEdit *IniSttWdEdit;
TListBox *CnvCharListBox;
TMaskEdit *TimeMaskEdit;
TMenuItem *DelItemItem;
TPageControl *NamePageControl;
TPageControl *PageControl1;
TPanel *ArcPanel;
TPanel *CmpPanel;
TPanel *CnvCharPanelL;
TPanel *CnvCharPanelR;
TPanel *CommonPanel;
TPanel *HiddenPanel;
TPanel *ListTopPanel;
TPanel *MainPanel;
TPanel *Mp3TopPanel;
TPanel *NameComPanel;
TPanel *NameTopPanel;
TPanel *Opt1BtmPanel;
TPanel *Opt1MainPanel;
TPanel *Opt2MainPanel;
TPanel *Opt2SubPanel;
TPanel *ReadOnlyPanel;
TPanel *ReplaceTopPanel;
TPanel *SerEditPanel;
TPanel *SerialTopPanel;
TPanel *SerLeftPanel;
TPanel *SerRightPanel;
TPanel *SysPanel;
TPopupMenu *FmtPopupMenu;
TRadioGroup *FbaseRadioGroup;
TRadioGroup *FextRadioGroup;
TSplitter *SerSplitter;
TStatusBar *StatusBar1;
TStringGrid *PreviewGrid;
TTabSheet *AssRenSheet;
TTabSheet *Mp3Sheet;
TTabSheet *NameSheet;
TTabSheet *OptionSheet;
TTabSheet *OtherSheet;
TTabSheet *RenListSheet;
TTabSheet *ReplaceSheet;
TTabSheet *SerialSheet;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormDestroy(TObject *Sender);
void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
void __fastcall FormResize(TObject *Sender);
void __fastcall Opt2MainPanelResize(TObject *Sender);
void __fastcall RenPageControlDrawTab(TCustomTabControl *Control, int TabIndex, const TRect &Rect, bool Active);
void __fastcall StatusBar1DrawPanel(TStatusBar *StatusBar, TStatusPanel *Panel, const TRect &Rect);
void __fastcall NamePageControlChange(TObject *Sender);
void __fastcall RenameEditExit(TObject *Sender);
void __fastcall SrcStrComboBoxEnter(TObject *Sender);
void __fastcall SrcStrComboBoxExit(TObject *Sender);
void __fastcall RenameEditChange(TObject *Sender);
void __fastcall RenameEditKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
void __fastcall RenameEditKeyPress(TObject *Sender, System::WideChar &Key);
void __fastcall EtcNameEditKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
void __fastcall RegExCheckBoxClick(TObject *Sender);
void __fastcall ReplaceComboChange(TObject *Sender);
void __fastcall Mp3FmtComboBoxChange(TObject *Sender);
void __fastcall RefFmtBtnClick(TObject *Sender);
void __fastcall FModRadioGroupClick(TObject *Sender);
void __fastcall AttrCheckBoxClick(TObject *Sender);
void __fastcall TimeMaskEditChange(TObject *Sender);
void __fastcall TimeNowBtnClick(TObject *Sender);
void __fastcall Time00BtnClick(TObject *Sender);
void __fastcall Time12BtnClick(TObject *Sender);
void __fastcall TimeX0BtnClick(TObject *Sender);
void __fastcall LatestTimeActionExecute(TObject *Sender);
void __fastcall LatestTimeActionUpdate(TObject *Sender);
void __fastcall Fmt_L_BtnClick(TObject *Sender);
void __fastcall Fmt_S_Btn2Click(TObject *Sender);
void __fastcall Fmt_R_BtnClick(TObject *Sender);
void __fastcall Fmt_A_BtnClick(TObject *Sender);
void __fastcall Fmt_E_BtnClick(TObject *Sender);
void __fastcall Fmt_TS_BtnClick(TObject *Sender);
void __fastcall Fmt_XT_BtnClick(TObject *Sender);
void __fastcall SaveSerFmtActionExecute(TObject *Sender);
void __fastcall SaveSerFmtActionUpdate(TObject *Sender);
void __fastcall SerFmtComboBoxClick(TObject *Sender);
void __fastcall DelItemActionExecute(TObject *Sender);
void __fastcall DelItemActionUpdate(TObject *Sender);
void __fastcall PreviewGridDrawCell(TObject *Sender, int ACol, int ARow, TRect &Rect, TGridDrawState State);
void __fastcall PreviewGridKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
void __fastcall CnvCharListBoxDrawItem(TWinControl *Control, int Index, TRect &Rect, TOwnerDrawState State);
void __fastcall CnvCharListBoxClick(TObject *Sender);
void __fastcall CnvChSEditChange(TObject *Sender);
void __fastcall AddCnvChActionExecute(TObject *Sender);
void __fastcall AddCnvChActionUpdate(TObject *Sender);
void __fastcall ChgCnvChActionExecute(TObject *Sender);
void __fastcall ChgCnvChActionUpdate(TObject *Sender);
void __fastcall DelCnvChActionExecute(TObject *Sender);
void __fastcall DelCnvChActionUpdate(TObject *Sender);
void __fastcall AssRenListBoxDrawItem(TWinControl *Control, int Index, TRect &Rect, TOwnerDrawState State);
void __fastcall AssRenListBoxClick(TObject *Sender);
void __fastcall AssRenListBoxClickCheck(TObject *Sender);
void __fastcall AssRenListBoxKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
void __fastcall AddAssRenActionExecute(TObject *Sender);
void __fastcall AddAssRenActionUpdate(TObject *Sender);
void __fastcall ChgAssRenActionExecute(TObject *Sender);
void __fastcall ChgAssRenActionUpdate(TObject *Sender);
void __fastcall DelAssRenActionExecute(TObject *Sender);
void __fastcall DelAssRenActionUpdate(TObject *Sender);
void __fastcall Inp1stNameActionExecute(TObject *Sender);
void __fastcall Inp1stNameActionUpdate(TObject *Sender);
void __fastcall IniSttComboBoxClick(TObject *Sender);
void __fastcall PreviewBtnClick(TObject *Sender);
void __fastcall AutoPrvCheckBoxClick(TObject *Sender);
void __fastcall RenOkActionExecute(TObject *Sender);
void __fastcall RenOkActionUpdate(TObject *Sender);
void __fastcall RenListComboBoxChange(TObject *Sender);
void __fastcall RefListBtnClick(TObject *Sender);
void __fastcall EditListActionExecute(TObject *Sender);
void __fastcall EditListActionUpdate(TObject *Sender);
private: // ユーザー宣言
bool DlgInitialized;
bool Previewing;
bool Previewed;
int ChangeCount;
bool ExistErr;
bool KeyHandled;
UnicodeString cmnFext; //共通拡張子
bool isMp3; //すべての対象がMP3
bool isFlac; //すべての対象がFLAC
TEdit *LastEdit;
TComboBox *LastComboBox;
int LastSelStart;
int LastSelLength;
TStringList *SerFormatList; //連番改名書式設定リスト
SttProgressBar *SttPrgBar; //プログレスバー
TWndMethod org_SttBar1WndProc;
void __fastcall SttBar1WndProc(TMessage &msg)
{
if (msg.Msg==WM_ERASEBKGND && IsDarkMode && draw_SttBarBg(StatusBar1, msg)) return;
org_SttBar1WndProc(msg);
}
void __fastcall WmFormShowed(TMessage &msg);
void __fastcall WmDpiChanged(TMessage &msg)
{
TForm::Dispatch(&msg);
if (DlgInitialized) SetDarkWinTheme(this, true);
}
void __fastcall WmMenuChar(TMessage &msg)
{
if (msg.WParamHi==MF_POPUP) TForm::Dispatch(&msg); else msg.Result = (MNC_CLOSE << 16);
}
void __fastcall UpdateNewNameList();
void __fastcall UpdatePreview();
UnicodeString __fastcall ConvCharType(UnicodeString s, int idx);
void __fastcall ChangeTime(TDateTime dt);
void __fastcall set_FmtEdit(const _TCHAR *s);
void __fastcall set_FmtEdit(UnicodeString s);
bool __fastcall LoadListFile();
bool __fastcall IsNameSheet() { return (NamePageControl->ActivePage==NameSheet); }
bool __fastcall IsSerialSheet() { return (NamePageControl->ActivePage==SerialSheet); }
bool __fastcall IsRenListSheet() { return (NamePageControl->ActivePage==RenListSheet); }
bool __fastcall IsReplaceSheet() { return (NamePageControl->ActivePage==ReplaceSheet); }
bool __fastcall IsMp3Sheet() { return (NamePageControl->ActivePage==Mp3Sheet); }
bool __fastcall IsOptionSheet() { return (NamePageControl->ActivePage==OptionSheet); }
public: // ユーザー宣言
TStringList *CurNameList; //カレントの全ファイルリスト
TStringList *ItemList; //対象リスト
TStringList *NewNameList; //新しい名前のリスト
UnicodeString OppPath; //反対パス(カレント側改名による反映のチェック用)
TStringList *RepRenList; //改名リスト
UnicodeString RenListFile; //改名リストファイル名
bool EditedList; //リスト編集による改名
bool IsMulti; //複数の対象がある
bool NameChanged; //連番改名で名前変更
bool FExtChanged; //連番改名で拡張子変更
bool AttrChanged; //属性変更
bool TimeChanged; //タイムスタンプ変更
bool KeepCsr; //単独改名後にカーソルを移動しない
__fastcall TRenameDlg(TComponent* Owner);
UnicodeString __fastcall MakeAssRenItem(int idx = -1);
BEGIN_MESSAGE_MAP
VCL_MESSAGE_HANDLER(WM_FORM_SHOWED, TMessage, WmFormShowed)
VCL_MESSAGE_HANDLER(WM_DPICHANGED, TMessage, WmDpiChanged)
VCL_MESSAGE_HANDLER(WM_MENUCHAR, TMessage, WmMenuChar)
END_MESSAGE_MAP(TForm)
};
//---------------------------------------------------------------------------
extern PACKAGE TRenameDlg *RenameDlg;
//---------------------------------------------------------------------------
#endif
| [
"GHH02513@nifty.ne.jp"
] | GHH02513@nifty.ne.jp |
6c1a9589e8c1c78d9dbf6c5d61ec7f2a6b2b5086 | 20c5fc24282592c81fbcb5a76eb0857cfd54a3b8 | /include/c2s/c2s-rest/C2SRestPathSegmentList.h | 4945020a905c69a76d3be40a9f11af89b873710f | [] | no_license | juliuscanute/c2s | 14031c0a05be1556164b47a32fe9dcc8e3762c66 | cef31e82f3a74036a60a16e6bdf304ad8ceefdf3 | refs/heads/master | 2021-04-30T00:19:57.606202 | 2018-02-15T07:18:28 | 2018-02-15T07:18:28 | 121,573,777 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,782 | h | /**
Copyright (c) 2011, C2Serve (http://www.c2serve.eu)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement: "This product includes software of the C2Serve project".
4. Neither the name of the C2Serve project 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 C2SERVE ''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 C2SERVE 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 C2SRESTPATHSEGMENTLIST_H_
#define C2SRESTPATHSEGMENTLIST_H_
#include "C2SRestPathSegment.h"
#include "C2SRestPathIDList.h"
#include <vector>
namespace c2s
{
class C2SRestPathSegmentList
{
public:
C2SRestPathSegmentList();
virtual ~C2SRestPathSegmentList();
typedef std::vector<C2SRestPathSegment*>::iterator iterator;
typedef std::vector<C2SRestPathSegment*>::const_iterator const_iterator;
void appendPathSegment( C2SRestPathSegment *pSegment );
int getDistanceToPathIDs( const C2SRestPathIDList &listOfPathIDs ) const;
void processPathIDs( const C2SRestPathIDList &pathList );
iterator begin() { return m_pathSegments.begin(); }
iterator end() { return m_pathSegments.end(); }
const_iterator begin() const { return m_pathSegments.begin(); }
const_iterator end() const { return m_pathSegments.end(); }
bool operator==( const C2SRestPathSegmentList &pathSegmentsToCheck ) const;
private:
typedef std::vector<C2SRestPathSegment*> SegmentListType;
SegmentListType m_pathSegments;
};
}
#endif /* C2SRESTPATHSEGMENTLIST_H_ */
| [
"juliuscanute@gmail.com"
] | juliuscanute@gmail.com |
dfc1217cca21ad8aab2cde7c006ecbd2898a6638 | 1c82cf9f0f00cd32a61abf196aa0ec388ec7d84b | /tests/FT_PERFOS/src/FT_PERFOS_slave.cpp | 5e066a515440e34e560bbc00523ce96189025c06 | [
"MIT"
] | permissive | fville/ED247_LIBRARY | 4e1ee6e9b39f968099ae8240fda77e29bb83fce2 | c26789d1214ebeed49c3bce979f4281b85ced186 | refs/heads/master | 2022-07-12T09:52:57.711606 | 2020-05-15T16:56:25 | 2020-05-15T16:56:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,775 | cpp | /******************************************************************************
* The MIT Licence
*
* Copyright (c) 2020 Airbus Operations S.A.S
*
* 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 <ed247_test.h>
#include <ed247_memhooks.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
/***********
* Defines *
***********/
#define TEST_ENTITY_MASTER_ID 1
#define TEST_ENTITY_SLAVE_ID 2
#ifdef __linux__
#include <sys/select.h>
#include <sched.h>
#include <sys/mman.h>
#define SCHEDULER_PRIORITY 90
#endif
/********
* Test *
********/
class PerfosStreamsContext : public TestContext {};
class PerfosSignalsContext : public TestContext {};
void display_results(uint64_t loop_count);
void com_send_callback();
void com_recv_callback();
typedef struct {
uint64_t update;
uint64_t send;
uint64_t recv;
uint64_t get;
uint64_t wait;
} timer_data_t;
timer_data_t * times;
unsigned loop;
int64_t counter;
uint64_t counter_recv;
uint64_t counter_send;
void *sample;
size_t sample_size;
uint64_t tic;
uint64_t tac;
uint64_t signal_counter;
void signal_handler(int signo){
signal_counter++;
}
typedef struct {
ed247_stream_t stream;
ed247_stream_assistant_t assistant;
ed247_signal_t * signals;
size_t signals_size;
} stream_t;
stream_t *streams_send;
size_t streams_send_size;
stream_t *streams_recv;
size_t streams_recv_size;
size_t channels_send_size;
size_t channels_recv_size;
bool fill_structures(ed247_context_t context, bool has_signals)
{
ed247_status_t status;
ed247_channel_list_t channels;
ed247_stream_list_t streams;
ed247_stream_t stream;
ed247_stream_assistant_t assistant;
size_t istream;
ed247_signal_list_t signals;
ed247_signal_t signal;
size_t isignal;
// Channels SEND
status = ed247_find_channels(context, "Channel_S2M_.*", &channels);
if(status != ED247_STATUS_SUCCESS) return false;
status = ed247_channel_list_size(channels, &channels_send_size);
if(status != ED247_STATUS_SUCCESS) return false;
std::cout << "# [SEND] # Channels [" << channels_send_size << "]" << std::endl;
status = ed247_channel_list_free(channels);
if(status != ED247_STATUS_SUCCESS) return false;
// Channels RECV
status = ed247_find_channels(context, "Channel_M2S_.*", &channels);
if(status != ED247_STATUS_SUCCESS) return false;
status = ed247_channel_list_size(channels, &channels_recv_size);
if(status != ED247_STATUS_SUCCESS) return false;
std::cout << "# [RECV] # Channels [" << channels_recv_size << "]" << std::endl;
status = ed247_channel_list_free(channels);
if(status != ED247_STATUS_SUCCESS) return false;
// Streams SEND
status = ed247_find_streams(context, "Stream_S2M_.*", &streams);
if(status != ED247_STATUS_SUCCESS) return false;
status = ed247_stream_list_size(streams, &streams_send_size);
if(status != ED247_STATUS_SUCCESS) return false;
std::cout << "# [SEND] ### Streams [" << streams_send_size << "]" << std::endl;
streams_send = (stream_t*)malloc(sizeof(stream_t)*streams_send_size);
istream = 0;
while(ed247_stream_list_next(streams, &stream) == ED247_STATUS_SUCCESS && stream != NULL){
streams_send[istream].stream = stream;
if(has_signals){
status = ed247_stream_get_assistant(stream, &assistant);
if(status != ED247_STATUS_SUCCESS) return false;
streams_send[istream].assistant = assistant;
status = ed247_stream_get_signals(stream, &signals);
if(status != ED247_STATUS_SUCCESS) return false;
status = ed247_signal_list_size(signals, &streams_send[istream].signals_size);
if(status != ED247_STATUS_SUCCESS) return false;
std::cout << "# [SEND] ##### Signals [" << streams_send[istream].signals_size << "]" << std::endl;
streams_send[istream].signals = (ed247_signal_t*)malloc(sizeof(ed247_signal_t)*streams_send[istream].signals_size);
isignal = 0;
while(ed247_signal_list_next(signals, &signal) == ED247_STATUS_SUCCESS && signal != NULL){
streams_send[istream].signals[isignal] = signal;
isignal++;
}
status = ed247_signal_list_free(signals);
if(status != ED247_STATUS_SUCCESS) return false;
}
istream++;
}
status = ed247_stream_list_free(streams);
if(status != ED247_STATUS_SUCCESS) return false;
// Streams RECV
status = ed247_find_streams(context, "Stream_M2S_.*", &streams);
if(status != ED247_STATUS_SUCCESS) return false;
status = ed247_stream_list_size(streams, &streams_recv_size);
if(status != ED247_STATUS_SUCCESS) return false;
std::cout << "# [RECV] ### Streams [" << streams_recv_size << "]" << std::endl;
streams_recv = (stream_t*)malloc(sizeof(stream_t)*streams_recv_size);
istream = 0;
while(ed247_stream_list_next(streams, &stream) == ED247_STATUS_SUCCESS && stream != NULL){
streams_recv[istream].stream = stream;
if(has_signals){
status = ed247_stream_get_assistant(stream, &assistant);
if(status != ED247_STATUS_SUCCESS) return false;
streams_recv[istream].assistant = assistant;
status = ed247_stream_get_signals(stream, &signals);
if(status != ED247_STATUS_SUCCESS) return false;
status = ed247_signal_list_size(signals, &streams_recv[istream].signals_size);
if(status != ED247_STATUS_SUCCESS) return false;
std::cout << "# [RECV] ##### Signals [" << streams_recv[istream].signals_size << "]" << std::endl;
streams_recv[istream].signals = (ed247_signal_t*)malloc(sizeof(ed247_signal_t)*streams_recv[istream].signals_size);
isignal = 0;
while(ed247_signal_list_next(signals, &signal) == ED247_STATUS_SUCCESS && signal != NULL){
streams_recv[istream].signals[isignal] = signal;
isignal++;
}
status = ed247_signal_list_free(signals);
if(status != ED247_STATUS_SUCCESS) return false;
}
istream++;
}
status = ed247_stream_list_free(streams);
if(status != ED247_STATUS_SUCCESS) return false;
return true;
}
TEST_P(PerfosStreamsContext, PingPongStreams)
{
ed247_stream_list_t streams;
ed247_stream_t stream;
const ed247_stream_info_t *info;
std::ostringstream oss;
std::string msg;
uint64_t loop_count;
std::cout << "# FILEPATH [" << GetParam().filepath << "]" << std::endl;
std::string str_loop_count = test::get_env_variable("TEST_LOOP_COUNT");
if(str_loop_count.empty()) str_loop_count = "10";
std::istringstream iss(str_loop_count);
iss >> loop_count;
std::cout << "# LOOP COUNT [" << loop_count << "]" << std::endl;
times = (timer_data_t*)malloc((size_t)loop_count*sizeof(timer_data_t));
#ifdef __linux__
if(mlockall(MCL_CURRENT|MCL_FUTURE) != 0)
std::cout << "WARNING: Executable shall be launched with administrator rights" << std::endl;
struct sched_param param;
param.sched_priority = SCHEDULER_PRIORITY;
if(sched_setscheduler(0, SCHED_FIFO, ¶m) != 0)
std::cout << "WARNING: Executable shall be launched with administrator rights" << std::endl;
#endif
ASSERT_TRUE(fill_structures(_context, false));
// Samples
ASSERT_EQ(ed247_find_streams(_context, "Stream_S2M_1_1", &streams), ED247_STATUS_SUCCESS);
ASSERT_EQ(ed247_stream_list_next(streams, &stream), ED247_STATUS_SUCCESS);
ASSERT_TRUE(stream != NULL);
ASSERT_EQ(ed247_stream_get_info(stream, &info), ED247_STATUS_SUCCESS);
ASSERT_EQ(ed247_stream_allocate_sample(stream, &sample, &sample_size), ED247_STATUS_SUCCESS);
ASSERT_EQ(ed247_stream_list_free(streams), ED247_STATUS_SUCCESS);
// Callback
// ASSERT_EQ(ed247_register_com_send_callback(_context, &com_send_callback), ED247_STATUS_SUCCESS);
// ASSERT_EQ(ed247_register_com_recv_callback(_context, &com_recv_callback), ED247_STATUS_SUCCESS);
// Checkpoint
std::cout << "TEST ENTITY [" << GetParam().src_id << "]: Checkpoint" << std::endl;
TestSend(); TestWait();
counter_send = counter_recv = 0;
#ifdef __linux__
signal_counter = 0;
struct sigaction s;
s.sa_handler = SIG_IGN;
ASSERT_EQ(sigaction(SIGPROF, &s, NULL), 0);
#endif
for(loop = 0 ; loop < loop_count ; loop++)
{
// std::cout << "LOOP [" << loop << "]" << std::endl;
// Prepare message
oss.str("");
oss << std::setw(info->sample_max_size_bytes) << std::setfill('0') << loop;
msg = oss.str();
memcpy(sample, msg.c_str(), info->sample_max_size_bytes);
// Checkpoint
// std::cout << "TEST ENTITY [" << GetParam().src_id << "]: Checkpoint n°1 [" << loop << "]" << std::endl;
TestWait(); TestSend();
memhooks_reset_count();
memhooks_enable(true);
uint64_t start = test::get_time_us();
// Recv
counter = channels_recv_size;
while(counter > 0){
// std::cout << "WAIT" << std::endl;
ASSERT_EQ(ed247_wait_frame(_context, &streams, 45000000), ED247_STATUS_SUCCESS)
<< "# LOOP [" << loop << "] RECV [" << counter_recv << "] SEND [" << counter_send << "]";
// std::cout << "WAIT: OK" << std::endl;
counter--;
}
// Retrieve data
for(size_t istream = 0 ; istream < streams_recv_size ; istream++){
stream = streams_recv[istream].stream;
bool empty = false;
const void * recv_sample;
size_t recv_sample_size;
do{
ASSERT_EQ(ed247_stream_pop_sample(stream, &recv_sample, &recv_sample_size, NULL, NULL, NULL, &empty),ED247_STATUS_SUCCESS);
ASSERT_EQ(memcmp(sample, recv_sample, recv_sample_size), 0);
}while(!empty);
}
tac = test::get_time_us();
times[loop].get = tac - tic;
times[loop].wait = tac - start;
// Update
for(size_t istream = 0 ; istream < streams_send_size ; istream++){
stream = streams_send[istream].stream;
for(unsigned i = 0 ; i < info->sample_max_number ; i++){
ASSERT_EQ(ed247_stream_push_sample(stream, sample, sample_size, NULL, NULL), ED247_STATUS_SUCCESS);
}
}
tac = test::get_time_us();
times[loop].update = tac - tic;
// Send
tic = tac;
// std::cout << "SEND" << std::endl;
ASSERT_EQ(ed247_send_pushed_samples(_context), ED247_STATUS_SUCCESS);
// std::cout << "SEND: OK" << std::endl;
memhooks_enable(false);
#ifdef __linux__
memhooks_count_t count;
memhooks_get_count(&count);
ASSERT_EQ(count.malloc_count, 0);
#endif
}
// Checkpoint
std::cout << "TEST ENTITY [" << GetParam().src_id << "]: Checkpoint n°2" << std::endl;
TestWait(); TestSend();
free(sample);
#ifdef __linux__
param.sched_priority = 0;
if(sched_setscheduler(0, SCHED_OTHER, ¶m) != 0)
std::cout << "WARNING: Executable shall be launched with administrator rights" << std::endl;
#endif
std::cout << "# SIGNAL HANDLER CALLED [" << signal_counter << "] TIMES" << std::endl;
display_results(loop_count);
// Callback
// ASSERT_EQ(ed247_unregister_com_send_callback(_context, &com_send_callback), ED247_STATUS_SUCCESS);
// ASSERT_EQ(ed247_unregister_com_recv_callback(_context, &com_recv_callback), ED247_STATUS_SUCCESS);
}
void *signal_sample;
size_t signal_sample_size;
TEST_P(PerfosSignalsContext, PingPongSignals)
{
ed247_stream_list_t streams;
ed247_stream_t stream;
ed247_stream_assistant_t assistant;
ed247_signal_list_t signals;
ed247_signal_t signal;
const ed247_stream_info_t *info;
std::ostringstream oss;
std::string msg;
uint64_t loop_count;
std::cout << "# FILEPATH [" << GetParam().filepath << "]" << std::endl;
std::string str_loop_count = test::get_env_variable("TEST_LOOP_COUNT");
if(str_loop_count.empty()) str_loop_count = "10";
std::istringstream iss(str_loop_count);
iss >> loop_count;
std::cout << "# LOOP COUNT [" << loop_count << "]" << std::endl;
times = (timer_data_t*)malloc((size_t)loop_count*sizeof(timer_data_t));
#ifdef __linux__
if(mlockall(MCL_CURRENT|MCL_FUTURE) != 0)
std::cout << "WARNING: Executable shall be launched with administrator rights" << std::endl;
struct sched_param param;
param.sched_priority = SCHEDULER_PRIORITY;
if(sched_setscheduler(0, SCHED_FIFO, ¶m) != 0)
std::cout << "WARNING: Executable shall be launched with administrator rights" << std::endl;
#endif
ASSERT_TRUE(fill_structures(_context, true));
// Samples
ASSERT_EQ(ed247_find_streams(_context, "Stream_S2M_1_1", &streams), ED247_STATUS_SUCCESS);
ASSERT_EQ(ed247_stream_list_next(streams, &stream), ED247_STATUS_SUCCESS);
ASSERT_TRUE(stream != NULL);
ASSERT_EQ(ed247_stream_get_info(stream, &info), ED247_STATUS_SUCCESS);
ASSERT_EQ(ed247_stream_allocate_sample(stream, &sample, &sample_size), ED247_STATUS_SUCCESS);
ASSERT_EQ(ed247_stream_list_free(streams), ED247_STATUS_SUCCESS);
// Sample
ASSERT_EQ(ed247_find_signals(_context, "Signal_S2M_.*", &signals), ED247_STATUS_SUCCESS);
ASSERT_EQ(ed247_signal_list_next(signals, &signal), ED247_STATUS_SUCCESS);
ASSERT_EQ(ed247_signal_allocate_sample(signal, &signal_sample, &signal_sample_size), ED247_STATUS_SUCCESS);
ASSERT_EQ(ed247_signal_list_free(signals), ED247_STATUS_SUCCESS);
// Callback
// ASSERT_EQ(ed247_register_recv_callback(_context, &signal_recv_callback), ED247_STATUS_SUCCESS);
ASSERT_EQ(ed247_register_com_send_callback(_context, &com_send_callback), ED247_STATUS_SUCCESS);
ASSERT_EQ(ed247_register_com_recv_callback(_context, &com_recv_callback), ED247_STATUS_SUCCESS);
// Checkpoint
std::cout << "TEST ENTITY [" << GetParam().src_id << "]: Checkpoint n°1" << std::endl;
TestWait(); TestSend();
counter_recv = counter_send = 0;
#ifdef __linux__
signal_counter = 0;
struct sigaction s;
s.sa_handler = SIG_IGN;
ASSERT_EQ(sigaction(SIGPROF, &s, NULL), 0);
#endif
for(loop = 0 ; loop < loop_count ; loop++)
{
// std::cout << "LOOP [" << loop << "]" << std::endl;
// Prepare signal sample
oss.str("");
oss << std::setw(signal_sample_size) << std::setfill('0') << loop;
msg = oss.str();
memcpy(signal_sample, msg.c_str(), signal_sample_size);
// Checkpoint
// std::cout << "TEST ENTITY [" << GetParam().src_id << "]: Checkpoint n°" << loop << std::endl;
TestWait(); TestSend();
memhooks_reset_count();
memhooks_enable(true);
uint64_t start = test::get_time_us();
// Recv
counter = channels_recv_size;
while(counter > 0){
// std::cout << "WAIT" << std::endl;
if(ed247_wait_frame(_context, &streams, 450000000) != ED247_STATUS_SUCCESS)
ASSERT_TRUE(false) << "# LOOP [" << loop << "] RECV [" << counter_recv << "] SEND [" << counter_send << "]";
// std::cout << "WAIT: OK" << std::endl;
counter--;
}
// Retrieve data
for(size_t istream = 0 ; istream < streams_recv_size ; istream++){
stream = streams_recv[istream].stream;
assistant = streams_recv[istream].assistant;
const void * recv_signal_sample;
size_t recv_signal_sample_size;
bool empty = false;
do{
if(ed247_stream_assistant_pop_sample(assistant, NULL, NULL, NULL, &empty) != ED247_STATUS_SUCCESS) ASSERT_TRUE(false);
for(size_t isignal = 0 ; isignal < streams_recv[istream].signals_size ; isignal++){
signal = streams_recv[istream].signals[isignal];
if(ed247_stream_assistant_read_signal(assistant, signal, &recv_signal_sample, &recv_signal_sample_size) != ED247_STATUS_SUCCESS) ASSERT_TRUE(false);
// ASSERT_EQ(memcmp(signal_sample, recv_signal_sample, recv_signal_sample_size), 0);
if(*(const char*)signal_sample != *(const char*)recv_signal_sample) ASSERT_TRUE(false);
}
}while(!empty);
}
tac = test::get_time_us();
times[loop].get = tac - tic;
times[loop].wait = tac - start;
// Update
tic = tac;
for(size_t istream = 0 ; istream < streams_send_size ; istream++){
stream = streams_send[istream].stream;
assistant = streams_send[istream].assistant;
for(unsigned i = 0 ; i < info->sample_max_number ; i++){
for(size_t isignal = 0 ; isignal < streams_send[istream].signals_size ; isignal++){
signal = streams_send[istream].signals[isignal];
if(ed247_stream_assistant_write_signal(assistant, signal, signal_sample, signal_sample_size) != ED247_STATUS_SUCCESS) ASSERT_TRUE(false);
}
if(ed247_stream_assistant_push_sample(assistant, NULL, NULL) != ED247_STATUS_SUCCESS) ASSERT_TRUE(false);
}
}
tac = test::get_time_us();
times[loop].update = tac - tic;
// Send
tic = tac;
// std::cout << "SEND" << std::endl;
if(ed247_send_pushed_samples(_context) != ED247_STATUS_SUCCESS) ASSERT_TRUE(false);
// std::cout << "SEND: OK" << std::endl;
memhooks_enable(false);
#ifdef __linux__
memhooks_count_t count;
memhooks_get_count(&count);
ASSERT_EQ(count.malloc_count, 0);
#endif
}
// Checkpoint
std::cout << "TEST ENTITY [" << GetParam().src_id << "]: Checkpoint n°2" << std::endl;
TestWait(); TestSend();
free(sample);
#ifdef __linux__
param.sched_priority = 0;
if(sched_setscheduler(0, SCHED_OTHER, ¶m) != 0)
std::cout << "WARNING: Executable shall be launched with administrator rights" << std::endl;
#endif
std::cout << "# SIGNAL HANDLER CALLED [" << signal_counter << "] TIMES" << std::endl;
display_results(loop_count);
// Callback
// ASSERT_EQ(ed247_unregister_com_send_callback(_context, &com_send_callback), ED247_STATUS_SUCCESS);
// ASSERT_EQ(ed247_unregister_com_recv_callback(_context, &com_recv_callback), ED247_STATUS_SUCCESS);
}
void com_send_callback()
{
counter_send++;
tac = test::get_time_us();
times[loop].send = tac - tic;
}
void com_recv_callback()
{
counter_recv++;
tic = test::get_time_us();
tac = 0;
}
void display_results(uint64_t loop_count)
{
timer_data_t time = {0, 0, 0, 0, 0};
timer_data_t max = {0, 0, 0, 0, 0};
timer_data_t min = {0, 0, 0, 0, 0};
unsigned begin = 5;
unsigned count = 0;
for(unsigned i = begin ; i < loop_count ; i++){
time.update += times[i].update;
max.update = max.update == 0 ? times[i].update : times[i].update > max.update ? times[i].update : max.update;
min.update = min.update == 0 ? times[i].update : times[i].update < min.update ? times[i].update : min.update;
time.send += times[i].send;
max.send = max.send == 0 ? times[i].send : times[i].send > max.send ? times[i].send : max.send;
min.send = min.send == 0 ? times[i].send : times[i].send < min.send ? times[i].send : min.send;
time.recv += times[i].recv;
max.recv = max.recv == 0 ? times[i].recv : times[i].recv > max.recv ? times[i].recv : max.recv;
min.recv = min.recv == 0 ? times[i].recv : times[i].recv < min.recv ? times[i].recv : min.recv;
time.get += times[i].get;
max.get = max.get == 0 ? times[i].get : times[i].get > max.get ? times[i].get : max.get;
min.get = min.get == 0 ? times[i].get : times[i].get < min.get ? times[i].get : min.get;
time.wait += times[i].wait;
max.wait = max.wait == 0 ? times[i].wait : times[i].wait > max.wait ? times[i].wait : max.wait;
min.wait = min.wait == 0 ? times[i].wait : times[i].wait < min.wait ? times[i].wait : min.wait;
count++;
}
time.update /= count;
time.send /= count;
time.recv /= count;
time.get /= count;
time.wait /= count;
std::cout << "## Performances" << std::endl;
std::cout << "## Receive [" << std::right << std::setw(4) << std::setfill('0') << min.recv << "] < [" << std::right << std::setw(4) << std::setfill('0') << time.recv << "] < [" << std::setw(4) << std::setfill('0') << max.recv << "] us" << std::endl;
std::cout << "## Get [" << std::right << std::setw(4) << std::setfill('0') << min.get << "] < [" << std::right << std::setw(4) << std::setfill('0') << time.get << "] < [" << std::setw(4) << std::setfill('0') << max.get << "] us" << std::endl;
std::cout << "## Update [" << std::right << std::setw(4) << std::setfill('0') << min.update << "] < [" << std::right << std::setw(4) << std::setfill('0') << time.update << "] < [" << std::setw(4) << std::setfill('0') << max.update << "] us" << std::endl;
std::cout << "## Send [" << std::right << std::setw(4) << std::setfill('0') << min.send << "] < [" << std::right << std::setw(4) << std::setfill('0') << time.send << "] < [" << std::setw(4) << std::setfill('0') << max.send << "] us" << std::endl;
std::cout << "## Wait [" << std::right << std::setw(4) << std::setfill('0') << min.wait << "] < [" << std::right << std::setw(4) << std::setfill('0') << time.wait << "] < [" << std::setw(4) << std::setfill('0') << max.wait << "] us" << std::endl;
free(times);
}
std::vector<TestParams> streams_files = {
{TEST_ENTITY_SLAVE_ID, TEST_ENTITY_MASTER_ID, std::string(CONFIG_PATH"/ft_perfos/run_dis_slave.xml")},
{TEST_ENTITY_SLAVE_ID, TEST_ENTITY_MASTER_ID, std::string(CONFIG_PATH"/ft_perfos/run_a429_slave.xml")}
};
std::vector<TestParams> signals_files = {
{TEST_ENTITY_SLAVE_ID, TEST_ENTITY_MASTER_ID, std::string(CONFIG_PATH"/ft_perfos/run_dis_slave.xml")},
};
INSTANTIATE_TEST_CASE_P(FT_PERFOS_STREAMS, PerfosStreamsContext, ::testing::ValuesIn(streams_files));
INSTANTIATE_TEST_CASE_P(FT_PERFOS_SIGNALS, PerfosSignalsContext, ::testing::ValuesIn(signals_files));
int main(int argc, char **argv)
{
ed247_set_log_level(ED247_LOG_LEVEL_ERROR);
::testing::InitGoogleTest(&argc, argv);
::testing::InitGoogleMock(&argc, argv);
return RUN_ALL_TESTS();
} | [
"geoffrey.g.delhomme@airbus.com"
] | geoffrey.g.delhomme@airbus.com |
91dc8fdb93555d7191582f754a66e2b82491151f | 4b250da9813bd51979b7211778f720c0757eb82e | /codeforces/div2/1476/A/hacks/abhishekparihar0902.cpp | 14322126c50a9d194f6967d45e600351616b394c | [
"MIT"
] | permissive | mathemage/CompetitiveProgramming | 07f7d4c269cca0b89955518131b01d037a5a1597 | 11a1a57c6ed144201b58eaeb34248f560f18d250 | refs/heads/master | 2023-04-16T17:55:24.948628 | 2023-04-14T19:16:54 | 2023-04-14T19:16:54 | 26,391,626 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | cpp | #include <bits/stdc++.h>
#define vi vector<int>
#define vvi vector<vector<int>>
#define pb push_back
#define For(i,n) for(int i=0;i<n;i++)
#define MOD 1000000007
#define MAX 100005
#define MAX2 10000
#define endl '\n'
#define Sort(v) sort(v.begin(), v.end())
using namespace std;
void show(int a[MAX], int n)
{
For(i,n)
cout<<a[i]<<" ";
cout<<"\n";
}
void show1(int a[MAX2][MAX2], int r, int c)
{
For(i,r)
{
For(j,c)
{
cout<<a[i][j]<<" ";
}
cout<<endl;
}
}
bool check(vi a ,int k)
{
For(i,a.size())
{
if (a[i] == k)
return true;
}
return false;
}
void show(vector<int> a)
{
for(int i=0;i<a.size();i++)
cout<<a[i]<<" ";
cout<<endl;
}
void show(vector<string> a)
{
for(int i=0;i<a.size();i++)
cout<<a[i]<<" ";
cout<<endl;
}
void show(vector<vector<int>> a)
{
for(int i=0;i<a.size();i++)
{
for(int j=0;j<a[i].size()-1;j++)
{
cout<<a[i][j]<<"/";
}
cout<<a[i][2]<<endl;
}
}
int power(int r,int p)
{
int k = 1;
for(int i=0;i<p;i++)
{
k *= r;
}
return k;
}
int32_t main()
{
int t;
cin>>t;
for(int t1=0;t1<t;t1++)
{
int n,k;
cin>>n>>k;
int temp = k;
while(k < n)
{
k = k + temp;
if (k >= n)
break;
}
//cout<<n<<" "<<k<<endl;
if (k>=n)
{
if(k%n == 0)
cout<<k/n<<endl;
else
cout<<k/n + 1<<endl;
}
}
}
| [
"mathemage@gmail.com"
] | mathemage@gmail.com |
f7b894ceafe89e5d5c15847d91b2d1549c075966 | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /ui/base/x/x11_global_shortcut_listener.h | a966a65e6b2e6d85985bf511c9dc4f94dbe751fa | [
"BSD-3-Clause"
] | permissive | nwjs/chromium.src | 7736ce86a9a0b810449a3b80a4af15de9ef9115d | 454f26d09b2f6204c096b47f778705eab1e3ba46 | refs/heads/nw75 | 2023-08-31T08:01:39.796085 | 2023-04-19T17:25:53 | 2023-04-19T17:25:53 | 50,512,158 | 161 | 201 | BSD-3-Clause | 2023-05-08T03:19:09 | 2016-01-27T14:17:03 | null | UTF-8 | C++ | false | false | 2,990 | h | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_BASE_X_X11_GLOBAL_SHORTCUT_LISTENER_H_
#define UI_BASE_X_X11_GLOBAL_SHORTCUT_LISTENER_H_
#include <stdint.h>
#include <set>
#include "base/memory/raw_ptr.h"
#include "ui/events/keycodes/keyboard_codes.h"
#include "ui/events/platform/platform_event_dispatcher.h"
#include "ui/gfx/x/xproto.h"
namespace x11 {
class Connection;
}
namespace ui {
class KeyEvent;
// X11-specific implementation of the class that listens for global shortcuts.
class COMPONENT_EXPORT(UI_BASE_X) XGlobalShortcutListener
: public PlatformEventDispatcher {
public:
XGlobalShortcutListener();
XGlobalShortcutListener(const XGlobalShortcutListener&) = delete;
XGlobalShortcutListener& operator=(const XGlobalShortcutListener&) = delete;
~XGlobalShortcutListener() override;
// PlatformEventDispatcher:
bool CanDispatchEvent(const PlatformEvent& event) override;
uint32_t DispatchEvent(const PlatformEvent& event) override;
protected:
// Called when the previously registered key combination is pressed.
// The implementation should forward the output to the owner.
virtual void OnKeyPressed(KeyboardCode key_code,
bool is_alt_down,
bool is_ctrl_down,
bool is_shift_down) = 0;
void StartListening();
void StopListening();
bool RegisterAccelerator(KeyboardCode key_code,
bool is_alt_down,
bool is_ctrl_down,
bool is_shift_down,
bool is_cmd_down);
void UnregisterAccelerator(KeyboardCode key_code,
bool is_alt_down,
bool is_ctrl_down,
bool is_shift_down,
bool is_cmd_down);
private:
// Due to how system key grabbing works on X11, we have to be a bit greedy and
// register combinations that we will later reject (see the comment for
// kModifiersMasks in the cc file). For that we store registered combinations
// and filter the incoming events against that registry before notifying the
// observer. This tuple describes the meaningful parts of the event; booleans
// 1, 2, and 3 hold states of Alt, Control, and Shift keys, respectively.
using Accelerator = std::tuple<KeyboardCode, bool, bool, bool>;
// Invoked when a global shortcut is pressed.
void OnKeyPressEvent(const KeyEvent& event);
// Whether this object is listening for global shortcuts.
bool is_listening_ = false;
// Key combinations that we are interested in.
std::set<Accelerator> registered_combinations_;
// The x11 default display and the native root window.
raw_ptr<x11::Connection> connection_;
x11::Window x_root_window_;
};
} // namespace ui
#endif // UI_BASE_X_X11_GLOBAL_SHORTCUT_LISTENER_H_
| [
"roger@nwjs.io"
] | roger@nwjs.io |
62811856a3da8dc1f5fac13d1e512e7254619be6 | 527739ed800e3234136b3284838c81334b751b44 | /include/RED4ext/Types/generated/sense/StimuliEvent.hpp | 37a5c87a11b37f5cff71503ba5d349733a19c9d0 | [
"MIT"
] | permissive | 0xSombra/RED4ext.SDK | 79ed912e5b628ef28efbf92d5bb257b195bfc821 | 218b411991ed0b7cb7acd5efdddd784f31c66f20 | refs/heads/master | 2023-07-02T11:03:45.732337 | 2021-04-15T16:38:19 | 2021-04-15T16:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | hpp | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Types/generated/Vector4.hpp>
#include <RED4ext/Types/generated/sense/BaseStimuliEvent.hpp>
namespace RED4ext
{
namespace game { struct Object; }
namespace sense { struct StimuliData; }
namespace sense {
struct StimuliEvent : sense::BaseStimuliEvent
{
static constexpr const char* NAME = "senseStimuliEvent";
static constexpr const char* ALIAS = "StimuliEvent";
WeakHandle<game::Object> sourceObject; // 50
Vector4 sourcePosition; // 60
float radius; // 70
float detection; // 74
Handle<sense::StimuliData> data; // 78
uint8_t unk88[0x90 - 0x88]; // 88
};
RED4EXT_ASSERT_SIZE(StimuliEvent, 0x90);
} // namespace sense
using StimuliEvent = sense::StimuliEvent;
} // namespace RED4ext
| [
"expired6978@gmail.com"
] | expired6978@gmail.com |
c8c7dd36b343ef99c193e2a428b2bf4bd7ebcf47 | 9b680d9487956b843acdb8a546af7c8b2e120c97 | /区间第K大的数——平方分割法实现.cpp | ea3c4250b6e3428fa2b68140427a1a558ebcffc7 | [] | no_license | Cardinal2376/ACM_learning | c84a85d1ceb4207dbf436c2609e1d62c7ecd5942 | 91b0992f4b27dc4461afb8d079f000a54ea06ad9 | refs/heads/master | 2021-01-01T20:37:24.480422 | 2017-08-13T02:44:20 | 2017-08-13T02:44:20 | 98,897,240 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,707 | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <vector>
using namespace std;
const int B = 1000;
const int MAXN = 1e5 + 5;
const int MAXM = 5005;
int N, M;
int A[MAXN]; // 要处理的数组
int I[MAXM], J[MAXM], K[MAXM]; //存查询
int nums[MAXN]; //对A排序后的数组
vector<int> bucket[MAXN / B];
void solve() {
//初始化
for(int i = 0; i < N; i++) {
bucket[i / B].push_back(A[i]);
nums[i] = A[i];
}
for(int i = 0; i < N / B; i++) { // 桶内排序
sort(bucket[i].begin(), bucket[i].end());
}
sort(nums, nums + N);
for (int i = 0; i < M; i++) {
//求区间[l, r)中的第k个数
int l = I[i] - 1, r = J[i], k = K[i];
int lb = -1, ub = N - 1; //二分下标(-1, N-1]
while(ub - lb > 1) {
int md = (lb + ub) >> 1;
int x = nums[md];
int c = 0, tl = l, tr = r;
// 区间多余部分
while(tl < tr && tl % B != 0) if (A[tl++] <= x) c++; //我也不知道为什么反正就是《=
while(tl < tr && tr % B != 0) if (A[--tr] <= x) c++;
// 桶内计算
while(tl < tr) {
c += upper_bound(bucket[tl / B].begin(), bucket[tl / B].end(), x) - bucket[tl / B].begin();//我也不知道为什么反正就是upper_bound
tl += B;
}
if (c >= k) ub = md;
else lb = md;
}
printf("%d\n", nums[ub]);
}
}
int main()
{
cin >> N >> M;
for (int i = 0; i < N; i++) {
scanf("%d", A + i);
}
for (int i = 0; i < M; i++) {
scanf("%d%d%d", I + i, J + i, K + i);
}
solve();
return 0;
}
| [
"czj237622800@qq.com"
] | czj237622800@qq.com |
94402e05145879ad200763141063aaf56363a239 | a1f6f4bf0d3f6652be5777eb3cc6544e7e9c30de | /VCFEasyReader/MainWindow.h | 6041a234eb835b84ceaebf35018d6a7874e218b8 | [] | no_license | Jackhalabardnik/VCFEasyReader | c456c96eec615cc344ccc8c7cfd268e2db0005d6 | 6abf3b38c9e182aac8663b2a010e358f443bc369 | refs/heads/master | 2023-08-10T21:48:19.892477 | 2021-10-02T10:21:22 | 2021-10-02T10:21:22 | 194,820,403 | 0 | 0 | null | 2019-10-10T16:44:52 | 2019-07-02T08:21:26 | C++ | UTF-8 | C++ | false | false | 698 | h | #pragma once
#include "TreeView.h"
#include "Parser.h"
#include "Exporter.h"
#include <gtkmm.h>
#include <iostream>
class MainWindow : public Gtk::ApplicationWindow
{
public:
MainWindow();
private:
void showAll();
void setButtons();
void setLabels();
void setMenus();
void setOutputBox();
void setMainGrid();
void setWindow();
void openNewFile();
void exportToTextFile();
void printFile();
void changeView(int mode);
void checkAll();
void uncheckAll();
std::string askUserForNewFileName();
protected:
TreeView treeView;
Parser parser;
Exporter exporter;
Gtk::Label pathLabel;
Gtk::ScrolledWindow scrolledWindow;
Gtk::Box outputBox, mainBox;
Gtk::Grid outputGrid;
};
| [
"jackowojcio@wp.pl"
] | jackowojcio@wp.pl |
e513ac7cdfce258baaff551bd6ed6a85b9eead59 | 7a817c495a146b34242995373e19ac83292bcba9 | /problem/9095/main.cpp | 9c36c1c65b0cc0d30882f0bef4456c54e0a22609 | [] | no_license | yous/acmicpc-net | b1cc54f147172437693f58ec358417e754fc91b5 | 4a68bddd4503b708cb45b778a415c26207b3cc63 | refs/heads/master | 2023-08-16T21:46:17.099871 | 2023-08-16T08:43:24 | 2023-08-16T08:43:24 | 13,336,435 | 4 | 0 | null | 2022-12-11T10:17:23 | 2013-10-04T22:47:53 | C++ | UTF-8 | C++ | false | false | 502 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int T;
int N;
int ans;
void solve(int sum) {
if (sum > N) {
return;
}
if (sum == N) {
ans++;
return;
}
solve(sum + 1);
solve(sum + 2);
solve(sum + 3);
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cin >> T;
while (T-- > 0) {
cin >> N;
ans = 0;
solve(0);
cout << ans << "\n";
}
return 0;
}
| [
"yousbe@gmail.com"
] | yousbe@gmail.com |
57091425be6c69a3bb3d743ea79906b1077ffcb7 | b8f0f5d68672af274d2d5aee9813c90a3cf84d91 | /src/client/text_texture.hpp | 9c4f13f8a1818586a7c170c6e2e16ab819b89538 | [
"MIT"
] | permissive | sathwikmatsa/ndn-agar.io | 80069a315b93d8afd268d7f81e6f9db651542215 | a758414d0bb221a6183f20d332f101f3850505cf | refs/heads/master | 2021-03-19T02:42:13.432564 | 2020-06-22T10:19:22 | 2020-06-22T10:19:22 | 247,125,506 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | hpp | #pragma once
#include "camera.hpp"
#include "cell.hpp"
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
#include <map>
#include <string>
#include <tuple>
class TextTexture {
public:
TextTexture(std::string path);
~TextTexture();
// Creates image from font string
void load_from_rendered_text(std::string text, SDL_Renderer *renderer);
// Renders text texture at the given coordinates as centers
void render(std::string text, int cx, int cy, int width, Camera &camera,
SDL_Renderer *renderer);
// Renders text on cell
void render_celltext(std::string text, Cell &cell, Camera &camera,
SDL_Renderer *renderer);
void render_celltext(std::string text, std::tuple<float, float, float> &cell,
Camera &camera, SDL_Renderer *renderer);
private:
std::map<std::string, SDL_Texture *> textures;
TTF_Font *font;
};
| [
"sathwikmatsa@gmail.com"
] | sathwikmatsa@gmail.com |
4fd6e28030cd3aa250c9c3709b97a04a0929fa01 | 88ae8695987ada722184307301e221e1ba3cc2fa | /chrome/common/printing/print_media_l10n.cc | ad0ccb82e65184afc8c499a81f3bde8667bfacc8 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 37,784 | cc | // Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/printing/print_media_l10n.h"
#include <string>
#include "base/containers/contains.h"
#include "base/containers/fixed_flat_map.h"
#include "base/i18n/number_formatting.h"
#include "base/i18n/string_compare.h"
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_piece.h"
#include "base/strings/utf_string_conversions.h"
#include "components/device_event_log/device_event_log.h"
#include "components/strings/grit/components_strings.h"
#include "printing/backend/print_backend_utils.h"
#include "printing/units.h"
#include "ui/base/l10n/l10n_util.h"
namespace printing {
namespace {
// Return the localized PWG name, display name, and sort group of a media name
// specified by `size` if any is found - else return an empty string in the
// named sizes group. The static map contained here is intended to reach all
// translated media names - see print_media_resources.grd.
MediaSizeInfo InfoForStandardSize(const gfx::Size& size) {
struct RegisteredMediaInfo {
base::StringPiece vendor_id;
int l10n_id;
MediaSizeGroup sort_group;
};
static constexpr auto kMediaMap = base::MakeFixedFlatMapSorted<
gfx::Size, RegisteredMediaInfo>(
{
{{2600, 3700},
{"iso_a10_26x37mm", PRINT_PREVIEW_MEDIA_ISO_A10_26X37MM,
MediaSizeGroup::kSizeNamed}},
{{2800, 4000},
{"iso_c10_28x40mm", PRINT_PREVIEW_MEDIA_ISO_C10_28X40MM,
MediaSizeGroup::kSizeNamed}},
{{3100, 4400},
{"iso_b10_31x44mm", PRINT_PREVIEW_MEDIA_ISO_B10_31X44MM,
MediaSizeGroup::kSizeNamed}},
{{3200, 4500},
{"jis_b10_32x45mm", PRINT_PREVIEW_MEDIA_JIS_B10_32X45MM,
MediaSizeGroup::kSizeNamed}},
{{3700, 5200},
{"iso_a9_37x52mm", PRINT_PREVIEW_MEDIA_ISO_A9_37X52MM,
MediaSizeGroup::kSizeNamed}},
{{4000, 5700},
{"iso_c9_40x57mm", PRINT_PREVIEW_MEDIA_ISO_C9_40X57MM,
MediaSizeGroup::kSizeNamed}},
{{4400, 6200},
{"iso_b9_44x62mm", PRINT_PREVIEW_MEDIA_ISO_B9_44X62MM,
MediaSizeGroup::kSizeNamed}},
{{4500, 6400},
{"jis_b9_45x64mm", PRINT_PREVIEW_MEDIA_JIS_B9_45X64MM,
MediaSizeGroup::kSizeNamed}},
{{5080, 8890},
{"oe_business-card_2x3.5in",
PRINT_PREVIEW_MEDIA_OE_BUSINESS_CARD_2X3_5IN,
MediaSizeGroup::kSizeIn}},
{{5200, 7400},
{"iso_a8_52x74mm", PRINT_PREVIEW_MEDIA_ISO_A8_52X74MM,
MediaSizeGroup::kSizeNamed}},
{{5398, 8560},
{"iso_id-1_53.98x85.6mm", PRINT_PREVIEW_MEDIA_ISO_ID_1_53_98X85_6MM,
MediaSizeGroup::kSizeNamed}},
{{5400, 8600},
{"om_card_54x86mm", PRINT_PREVIEW_MEDIA_OM_CARD_54X86MM,
MediaSizeGroup::kSizeMm}},
{{5500, 8500},
{"om_business-card_55x85mm",
PRINT_PREVIEW_MEDIA_OM_BUSINESS_CARD_55X85MM,
MediaSizeGroup::kSizeMm}},
{{5500, 9100},
{"om_business-card_55x91mm",
PRINT_PREVIEW_MEDIA_OM_BUSINESS_CARD_55X91MM,
MediaSizeGroup::kSizeMm}},
{{5700, 8100},
{"iso_c8_57x81mm", PRINT_PREVIEW_MEDIA_ISO_C8_57X81MM,
MediaSizeGroup::kSizeNamed}},
{{6200, 8800},
{"iso_b8_62x88mm", PRINT_PREVIEW_MEDIA_ISO_B8_62X88MM,
MediaSizeGroup::kSizeNamed}},
{{6400, 9100},
{"jis_b8_64x91mm", PRINT_PREVIEW_MEDIA_JIS_B8_64X91MM,
MediaSizeGroup::kSizeNamed}},
{{7400, 10500},
{"iso_a7_74x105mm", PRINT_PREVIEW_MEDIA_ISO_A7_74X105MM,
MediaSizeGroup::kSizeNamed}},
{{7620, 12700},
{"na_index-3x5_3x5in", PRINT_PREVIEW_MEDIA_NA_INDEX_3X5_3X5IN,
MediaSizeGroup::kSizeIn}},
{{8100, 11400},
{"iso_c7_81x114mm", PRINT_PREVIEW_MEDIA_ISO_C7_81X114MM,
MediaSizeGroup::kSizeNamed}},
{{8100, 16200},
{"iso_c7c6_81x162mm", PRINT_PREVIEW_MEDIA_ISO_C7C6_81X162MM,
MediaSizeGroup::kSizeNamed}},
{{8800, 12500},
{"iso_b7_88x125mm", PRINT_PREVIEW_MEDIA_ISO_B7_88X125MM,
MediaSizeGroup::kSizeNamed}},
{{8890, 12700},
{"oe_photo-l_3.5x5in", PRINT_PREVIEW_MEDIA_OE_PHOTO_L_3_5X5IN,
MediaSizeGroup::kSizeIn}},
{{8900, 8900},
{"om_square-photo_89x89mm",
PRINT_PREVIEW_MEDIA_OM_SQUARE_PHOTO_89X89MM,
MediaSizeGroup::kSizeMm}},
{{8900, 11900},
{"om_dsc-photo_89x119mm", PRINT_PREVIEW_MEDIA_OM_DSC_PHOTO_89X119MM,
MediaSizeGroup::kSizeNamed}},
{{9000, 20500},
{"jpn_chou4_90x205mm", PRINT_PREVIEW_MEDIA_JPN_CHOU4_90X205MM,
MediaSizeGroup::kSizeNamed}},
{{9000, 22500},
{"jpn_chou40_90x225mm", PRINT_PREVIEW_MEDIA_JPN_CHOU40_90X225MM,
MediaSizeGroup::kSizeNamed}},
{{9100, 12800},
{"jis_b7_91x128mm", PRINT_PREVIEW_MEDIA_JIS_B7_91X128MM,
MediaSizeGroup::kSizeNamed}},
{{9207, 16510},
{"na_personal_3.625x6.5in",
PRINT_PREVIEW_MEDIA_NA_PERSONAL_3_625X6_5IN,
MediaSizeGroup::kSizeNamed}},
{{9700, 15100},
{"prc_32k_97x151mm", PRINT_PREVIEW_MEDIA_PRC_32K_97X151MM,
MediaSizeGroup::kSizeNamed}},
{{9800, 19000},
{"jpn_you6_98x190mm", PRINT_PREVIEW_MEDIA_JPN_YOU6_98X190MM,
MediaSizeGroup::kSizeNamed}},
{{9842, 19050},
{"na_monarch_3.875x7.5in",
PRINT_PREVIEW_MEDIA_NA_MONARCH_3_875X7_5IN,
MediaSizeGroup::kSizeNamed}},
{{9842, 22542},
{"na_number-9_3.875x8.875in",
PRINT_PREVIEW_MEDIA_NA_NUMBER_9_3_875X8_875IN,
MediaSizeGroup::kSizeNamed}},
{{10000, 14800},
{"jpn_hagaki_100x148mm", PRINT_PREVIEW_MEDIA_JPN_HAGAKI_100X148MM,
MediaSizeGroup::kSizeNamed}},
{{10000, 15000},
{"om_small-photo_100x150mm",
PRINT_PREVIEW_MEDIA_OM_SMALL_PHOTO_100X150MM,
MediaSizeGroup::kSizeMm}},
{{10000, 20000},
{"om_wide-photo_100x200mm",
PRINT_PREVIEW_MEDIA_OM_WIDE_PHOTO_100X200MM,
MediaSizeGroup::kSizeMm}},
{{10160, 10160},
{"oe_square-photo_4x4in", PRINT_PREVIEW_MEDIA_OE_SQUARE_PHOTO_4X4IN,
MediaSizeGroup::kSizeIn}},
{{10160, 15240},
{"na_index-4x6_4x6in", PRINT_PREVIEW_MEDIA_NA_INDEX_4X6_4X6IN,
MediaSizeGroup::kSizeIn}},
{{10200, 16500},
{"prc_1_102x165mm", PRINT_PREVIEW_MEDIA_PRC_1_102X165MM,
MediaSizeGroup::kSizeNamed}},
{{10200, 17600},
{"prc_2_102x176mm", PRINT_PREVIEW_MEDIA_PRC_2_102X176MM,
MediaSizeGroup::kSizeNamed}},
{{10477, 24130},
{"na_number-10_4.125x9.5in",
PRINT_PREVIEW_MEDIA_NA_NUMBER_10_4_125X9_5IN,
MediaSizeGroup::kSizeNamed}},
{{10500, 14800},
{"iso_a6_105x148mm", PRINT_PREVIEW_MEDIA_ISO_A6_105X148MM,
MediaSizeGroup::kSizeNamed}},
{{10500, 23500},
{"jpn_you4_105x235mm", PRINT_PREVIEW_MEDIA_JPN_YOU4_105X235MM,
MediaSizeGroup::kSizeNamed}},
{{11000, 20800},
{"prc_4_110x208mm", PRINT_PREVIEW_MEDIA_PRC_4_110X208MM,
MediaSizeGroup::kSizeNamed}},
{{11000, 22000},
{"iso_dl_110x220mm", PRINT_PREVIEW_MEDIA_ISO_DL_110X220MM,
MediaSizeGroup::kSizeNamed}},
{{11000, 23000},
{"om_italian_110x230mm", PRINT_PREVIEW_MEDIA_OM_ITALIAN_110X230MM,
MediaSizeGroup::kSizeNamed}},
{{11110, 14600},
{"jpn_chou2_111.1x146mm", PRINT_PREVIEW_MEDIA_JPN_CHOU2_111_1X146MM,
MediaSizeGroup::kSizeNamed}},
{{11112, 14605},
{"na_a2_4.375x5.75in", PRINT_PREVIEW_MEDIA_NA_A2_4_375X5_75IN,
MediaSizeGroup::kSizeNamed}},
{{11400, 16200},
{"iso_c6_114x162mm", PRINT_PREVIEW_MEDIA_ISO_C6_114X162MM,
MediaSizeGroup::kSizeNamed}},
{{11400, 22900},
{"iso_c6c5_114x229mm", PRINT_PREVIEW_MEDIA_ISO_C6C5_114X229MM,
MediaSizeGroup::kSizeNamed}},
{{11430, 26352},
{"na_number-11_4.5x10.375in",
PRINT_PREVIEW_MEDIA_NA_NUMBER_11_4_5X10_375IN,
MediaSizeGroup::kSizeNamed}},
{{11900, 19700},
{"jpn_kaku8_119x197mm", PRINT_PREVIEW_MEDIA_JPN_KAKU8_119X197MM,
MediaSizeGroup::kSizeNamed}},
{{12000, 23500},
{"jpn_chou3_120x235mm", PRINT_PREVIEW_MEDIA_JPN_CHOU3_120X235MM,
MediaSizeGroup::kSizeNamed}},
{{12000, 30900},
{"prc_8_120x309mm", PRINT_PREVIEW_MEDIA_PRC_8_120X309MM,
MediaSizeGroup::kSizeNamed}},
{{12000, 32000},
{"prc_6_120x320mm", PRINT_PREVIEW_MEDIA_PRC_6_120X320MM,
MediaSizeGroup::kSizeNamed}},
{{12065, 27940},
{"na_number-12_4.75x11in",
PRINT_PREVIEW_MEDIA_NA_NUMBER_12_4_75X11IN,
MediaSizeGroup::kSizeNamed}},
{{12500, 17600},
{"iso_b6_125x176mm", PRINT_PREVIEW_MEDIA_ISO_B6_125X176MM,
MediaSizeGroup::kSizeNamed}},
{{12500, 32400},
{"iso_b6c4_125x324mm", PRINT_PREVIEW_MEDIA_ISO_B6C4_125X324MM,
MediaSizeGroup::kSizeNamed}},
{{12700, 12700},
{"oe_square-photo_5x5in", PRINT_PREVIEW_MEDIA_OE_SQUARE_PHOTO_5X5IN,
MediaSizeGroup::kSizeIn}},
{{12700, 17780},
{"na_5x7_5x7in", PRINT_PREVIEW_MEDIA_NA_5X7_5X7IN,
MediaSizeGroup::kSizeIn}},
{{12700, 20320},
{"na_index-5x8_5x8in", PRINT_PREVIEW_MEDIA_NA_INDEX_5X8_5X8IN,
MediaSizeGroup::kSizeIn}},
{{12700, 29210},
{"na_number-14_5x11.5in", PRINT_PREVIEW_MEDIA_NA_NUMBER_14_5X11_5IN,
MediaSizeGroup::kSizeNamed}},
{{12800, 18200},
{"jis_b6_128x182mm", PRINT_PREVIEW_MEDIA_JIS_B6_128X182MM,
MediaSizeGroup::kSizeNamed}},
{{13000, 18000},
{"om_medium-photo_130x180mm",
PRINT_PREVIEW_MEDIA_OM_MEDIUM_PHOTO_130X180MM,
MediaSizeGroup::kSizeMm}},
{{13970, 21590},
{"na_invoice_5.5x8.5in", PRINT_PREVIEW_MEDIA_NA_INVOICE_5_5X8_5IN,
MediaSizeGroup::kSizeNamed}},
{{14200, 20500},
{"jpn_kaku7_142x205mm", PRINT_PREVIEW_MEDIA_JPN_KAKU7_142X205MM,
MediaSizeGroup::kSizeNamed}},
{{14600, 21500},
{"prc_16k_146x215mm", PRINT_PREVIEW_MEDIA_PRC_16K_146X215MM,
MediaSizeGroup::kSizeNamed}},
{{14800, 20000},
{"jpn_oufuku_148x200mm", PRINT_PREVIEW_MEDIA_JPN_OUFUKU_148X200MM,
MediaSizeGroup::kSizeNamed}},
{{14800, 21000},
{"iso_a5_148x210mm", PRINT_PREVIEW_MEDIA_ISO_A5_148X210MM,
MediaSizeGroup::kSizeNamed}},
{{15240, 20320},
{"na_index-4x6-ext_6x8in",
PRINT_PREVIEW_MEDIA_NA_INDEX_4X6_EXT_6X8IN,
MediaSizeGroup::kSizeIn}},
{{15240, 22860},
{"na_6x9_6x9in", PRINT_PREVIEW_MEDIA_NA_6X9_6X9IN,
MediaSizeGroup::kSizeNamed}},
{{16000, 23000},
{"prc_7_160x230mm", PRINT_PREVIEW_MEDIA_PRC_7_160X230MM,
MediaSizeGroup::kSizeNamed}},
{{16200, 22900},
{"iso_c5_162x229mm", PRINT_PREVIEW_MEDIA_ISO_C5_162X229MM,
MediaSizeGroup::kSizeNamed}},
{{16510, 24130},
{"na_c5_6.5x9.5in", PRINT_PREVIEW_MEDIA_NA_C5_6_5X9_5IN,
MediaSizeGroup::kSizeNamed}},
{{17400, 23500},
{"iso_a5-extra_174x235mm",
PRINT_PREVIEW_MEDIA_ISO_A5_EXTRA_174X235MM,
MediaSizeGroup::kSizeNamed}},
{{17600, 25000},
{"iso_b5_176x250mm", PRINT_PREVIEW_MEDIA_ISO_B5_176X250MM,
MediaSizeGroup::kSizeNamed}},
{{17780, 22860},
{"na_7x9_7x9in", PRINT_PREVIEW_MEDIA_NA_7X9_7X9IN,
MediaSizeGroup::kSizeNamed}},
{{18200, 25700},
{"jis_b5_182x257mm", PRINT_PREVIEW_MEDIA_JIS_B5_182X257MM,
MediaSizeGroup::kSizeNamed}},
{{18400, 26000},
{"om_16k_184x260mm", PRINT_PREVIEW_MEDIA_OM_16K_184X260MM,
MediaSizeGroup::kSizeMm}},
{{18415, 26670},
{"na_executive_7.25x10.5in",
PRINT_PREVIEW_MEDIA_NA_EXECUTIVE_7_25X10_5IN,
MediaSizeGroup::kSizeNamed}},
{{19000, 24000},
{"jpn_kaku5_190x240mm", PRINT_PREVIEW_MEDIA_JPN_KAKU5_190X240MM,
MediaSizeGroup::kSizeNamed}},
{{19500, 27000},
{"om_16k_195x270mm", PRINT_PREVIEW_MEDIA_OM_16K_195X270MM,
MediaSizeGroup::kSizeMm}},
{{19685, 27305},
{"roc_16k_7.75x10.75in", PRINT_PREVIEW_MEDIA_ROC_16K_7_75X10_75IN,
MediaSizeGroup::kSizeNamed}},
{{19700, 26700},
{"jpn_kaku4_197x267mm", PRINT_PREVIEW_MEDIA_JPN_KAKU4_197X267MM,
MediaSizeGroup::kSizeNamed}},
{{19800, 27500},
{"om_juuro-ku-kai_198x275mm",
PRINT_PREVIEW_MEDIA_OM_JUURO_KU_KAI_198X275MM,
MediaSizeGroup::kSizeMm}},
{{20000, 30000},
{"om_large-photo_200x300mm",
PRINT_PREVIEW_MEDIA_OM_LARGE_PHOTO_200X300,
MediaSizeGroup::kSizeMm}},
{{20100, 27600},
{"iso_b5-extra_201x276mm",
PRINT_PREVIEW_MEDIA_ISO_B5_EXTRA_201X276MM,
MediaSizeGroup::kSizeNamed}},
{{20320, 25400},
{"na_govt-letter_8x10in", PRINT_PREVIEW_MEDIA_NA_GOVT_LETTER_8X10IN,
MediaSizeGroup::kSizeIn}},
{{20320, 30480},
{"oe_photo-s8r_8x12in", PRINT_PREVIEW_MEDIA_OE_PHOTO_S8R_8X12IN,
MediaSizeGroup::kSizeIn}},
{{20320, 33020},
{"na_govt-legal_8x13in", PRINT_PREVIEW_MEDIA_NA_GOVT_LEGAL_8X13IN,
MediaSizeGroup::kSizeIn}},
{{21000, 29700},
{"iso_a4_210x297mm", PRINT_PREVIEW_MEDIA_ISO_A4_210X297MM,
MediaSizeGroup::kSizeNamed}},
{{21000, 33000},
{"om_folio_210x330mm", PRINT_PREVIEW_MEDIA_OM_FOLIO_210X330MM,
MediaSizeGroup::kSizeMm}},
{{21500, 30500},
{"iso_ra4_215x305mm", PRINT_PREVIEW_MEDIA_ISO_RA4_215X305MM,
MediaSizeGroup::kSizeNamed}},
{{21500, 31500},
{"om_folio-sp_215x315mm", PRINT_PREVIEW_MEDIA_OM_FOLIO_SP_215X315MM,
MediaSizeGroup::kSizeMm}},
{{21590, 27508},
{"na_quarto_8.5x10.83in", PRINT_PREVIEW_MEDIA_NA_QUARTO_8_5X10_83IN,
MediaSizeGroup::kSizeNamed}},
{{21590, 27940},
{"na_letter_8.5x11in", PRINT_PREVIEW_MEDIA_NA_LETTER_8_5X11IN,
MediaSizeGroup::kSizeNamed}},
{{21590, 30480},
{"na_fanfold-eur_8.5x12in",
PRINT_PREVIEW_MEDIA_NA_FANFOLD_EUR_8_5X12IN,
MediaSizeGroup::kSizeNamed}},
{{21590, 32232},
{"na_letter-plus_8.5x12.69in",
PRINT_PREVIEW_MEDIA_NA_LETTER_PLUS_8_5X12_69IN,
MediaSizeGroup::kSizeNamed}},
{{21590, 33020},
{"na_foolscap_8.5x13in", PRINT_PREVIEW_MEDIA_NA_FOOLSCAP_8_5X13IN,
MediaSizeGroup::kSizeNamed}},
{{21590, 34036},
{"na_oficio_8.5x13.4in", PRINT_PREVIEW_MEDIA_NA_OFICIO_8_5X13_4IN,
MediaSizeGroup::kSizeNamed}},
{{21590, 35560},
{"na_legal_8.5x14in", PRINT_PREVIEW_MEDIA_NA_LEGAL_8_5X14IN,
MediaSizeGroup::kSizeNamed}},
{{21600, 27700},
{"jpn_kaku3_216x277mm", PRINT_PREVIEW_MEDIA_JPN_KAKU3_216X277MM,
MediaSizeGroup::kSizeNamed}},
{{21600, 33000},
{"jis_exec_216x330mm", PRINT_PREVIEW_MEDIA_JIS_EXEC_216X330MM,
MediaSizeGroup::kSizeNamed}},
{{22000, 22000},
{"om_invite_220x220mm", PRINT_PREVIEW_MEDIA_OM_INVITE_220X220MM,
MediaSizeGroup::kSizeNamed}},
{{22500, 29700},
{"iso_a4-tab_225x297mm", PRINT_PREVIEW_MEDIA_ISO_A4_TAB_225X297MM,
MediaSizeGroup::kSizeNamed}},
{{22500, 32000},
{"iso_sra4_225x320mm", PRINT_PREVIEW_MEDIA_ISO_SRA4_225X320MM,
MediaSizeGroup::kSizeNamed}},
{{22707, 35560},
{"na_super-a_8.94x14in", PRINT_PREVIEW_MEDIA_NA_SUPER_A_8_94X14IN,
MediaSizeGroup::kSizeNamed}},
{{22860, 27940},
{"na_9x11_9x11in", PRINT_PREVIEW_MEDIA_NA_9X11_9X11IN,
MediaSizeGroup::kSizeNamed}},
{{22860, 30480},
{"na_arch-a_9x12in", PRINT_PREVIEW_MEDIA_NA_ARCH_A_9X12IN,
MediaSizeGroup::kSizeNamed}},
{{22900, 32400},
{"iso_c4_229x324mm", PRINT_PREVIEW_MEDIA_ISO_C4_229X324MM,
MediaSizeGroup::kSizeNamed}},
{{23550, 32230},
{"iso_a4-extra_235.5x322.3mm",
PRINT_PREVIEW_MEDIA_ISO_A4_EXTRA_235_5X322_3MM,
MediaSizeGroup::kSizeNamed}},
{{24000, 32210},
{"jpn_kahu_240x322.1mm", PRINT_PREVIEW_MEDIA_JPN_KAHU_240X322_1MM,
MediaSizeGroup::kSizeNamed}},
{{24000, 33200},
{"jpn_kaku2_240x332mm", PRINT_PREVIEW_MEDIA_JPN_KAKU2_240X332MM,
MediaSizeGroup::kSizeNamed}},
{{24130, 30480},
{"na_letter-extra_9.5x12in",
PRINT_PREVIEW_MEDIA_NA_LETTER_EXTRA_9_5X12IN,
MediaSizeGroup::kSizeNamed}},
{{24130, 38100},
{"na_legal-extra_9.5x15in",
PRINT_PREVIEW_MEDIA_NA_LEGAL_EXTRA_9_5X15IN,
MediaSizeGroup::kSizeNamed}},
{{25000, 35300},
{"iso_b4_250x353mm", PRINT_PREVIEW_MEDIA_ISO_B4_250X353MM,
MediaSizeGroup::kSizeNamed}},
{{25400, 27940},
{"na_10x11_10x11in", PRINT_PREVIEW_MEDIA_NA_10X11_10X11IN,
MediaSizeGroup::kSizeIn}},
{{25400, 30480},
{"oe_photo-10r_10x12in", PRINT_PREVIEW_MEDIA_OE_PHOTO_10R_10X12IN,
MediaSizeGroup::kSizeIn}},
{{25400, 33020},
{"na_10x13_10x13in", PRINT_PREVIEW_MEDIA_NA_10X13_10X13IN,
MediaSizeGroup::kSizeIn}},
{{25400, 35560},
{"na_10x14_10x14in", PRINT_PREVIEW_MEDIA_NA_10X14_10X14IN,
MediaSizeGroup::kSizeIn}},
{{25400, 38100},
{"na_10x15_10x15in", PRINT_PREVIEW_MEDIA_NA_10X15_10X15IN,
MediaSizeGroup::kSizeIn}},
{{25700, 36400},
{"jis_b4_257x364mm", PRINT_PREVIEW_MEDIA_JIS_B4_257X364MM,
MediaSizeGroup::kSizeNamed}},
{{26700, 38900},
{"om_pa-kai_267x389mm", PRINT_PREVIEW_MEDIA_OM_PA_KAI_267X389MM,
MediaSizeGroup::kSizeMm}},
{{27000, 38200},
{"jpn_kaku1_270x382mm", PRINT_PREVIEW_MEDIA_JPN_KAKU1_270X382MM,
MediaSizeGroup::kSizeNamed}},
{{27305, 39370},
{"roc_8k_10.75x15.5in", PRINT_PREVIEW_MEDIA_ROC_8K_10_75X15_5IN,
MediaSizeGroup::kSizeNamed}},
{{27500, 39500},
{"om_dai-pa-kai_275x395mm",
PRINT_PREVIEW_MEDIA_OM_DAI_PA_KAI_275X395MM,
MediaSizeGroup::kSizeMm}},
{{27940, 30480},
{"na_11x12_11x12in", PRINT_PREVIEW_MEDIA_NA_11X12_11X12IN,
MediaSizeGroup::kSizeIn}},
{{27940, 35560},
{"na_edp_11x14in", PRINT_PREVIEW_MEDIA_NA_EDP_11X14IN,
MediaSizeGroup::kSizeNamed}},
{{27940, 37782},
{"na_fanfold-us_11x14.875in",
PRINT_PREVIEW_MEDIA_NA_FANFOLD_US_11X14_875IN,
MediaSizeGroup::kSizeNamed}},
{{27940, 38100},
{"na_11x15_11x15in", PRINT_PREVIEW_MEDIA_NA_11X15_11X15IN,
MediaSizeGroup::kSizeIn}},
{{27940, 43180},
{"na_ledger_11x17in", PRINT_PREVIEW_MEDIA_NA_LEDGER_11X17IN,
MediaSizeGroup::kSizeNamed}},
{{29700, 42000},
{"iso_a3_297x420mm", PRINT_PREVIEW_MEDIA_ISO_A3_297X420MM,
MediaSizeGroup::kSizeNamed}},
{{29700, 63000},
{"iso_a4x3_297x630mm", PRINT_PREVIEW_MEDIA_ISO_A4X3_297X630MM,
MediaSizeGroup::kSizeNamed}},
{{29700, 84100},
{"iso_a4x4_297x841mm", PRINT_PREVIEW_MEDIA_ISO_A4X4_297X841MM,
MediaSizeGroup::kSizeNamed}},
{{29700, 105100},
{"iso_a4x5_297x1051mm", PRINT_PREVIEW_MEDIA_ISO_A4X5_297X1051MM,
MediaSizeGroup::kSizeNamed}},
{{29700, 126100},
{"iso_a4x6_297x1261mm", PRINT_PREVIEW_MEDIA_ISO_A4X6_297X1261MM,
MediaSizeGroup::kSizeNamed}},
{{29700, 147100},
{"iso_a4x7_297x1471mm", PRINT_PREVIEW_MEDIA_ISO_A4X7_297X1471MM,
MediaSizeGroup::kSizeNamed}},
{{29700, 168200},
{"iso_a4x8_297x1682mm", PRINT_PREVIEW_MEDIA_ISO_A4X8_297X1682MM,
MediaSizeGroup::kSizeNamed}},
{{29700, 189200},
{"iso_a4x9_297x1892mm", PRINT_PREVIEW_MEDIA_ISO_A4X9_297X1892MM,
MediaSizeGroup::kSizeNamed}},
{{30000, 40000},
{"om_photo-30x40_300x400mm",
PRINT_PREVIEW_MEDIA_OM_PHOTO_30X40_300X400MM,
MediaSizeGroup::kSizeMm}},
{{30000, 45000},
{"om_photo-30x45_300x450mm",
PRINT_PREVIEW_MEDIA_OM_PHOTO_30X45_300X450MM,
MediaSizeGroup::kSizeMm}},
{{30480, 35560},
{"na_eur-edp_12x14in", PRINT_PREVIEW_MEDIA_NA_EUR_EDP_12X14IN,
MediaSizeGroup::kSizeNamed}},
{{30480, 38100},
{"oe_photo-12r_12x15in", PRINT_PREVIEW_MEDIA_OE_PHOTO_12R_12X15IN,
MediaSizeGroup::kSizeIn}},
{{30480, 40640},
{"oe_12x16_12x16in", PRINT_PREVIEW_MEDIA_OE_12X16_12X16IN,
MediaSizeGroup::kSizeIn}},
{{30480, 45720},
{"na_arch-b_12x18in", PRINT_PREVIEW_MEDIA_NA_ARCH_B_12X18IN,
MediaSizeGroup::kSizeIn}},
{{30480, 48260},
{"na_12x19_12x19in", PRINT_PREVIEW_MEDIA_NA_12X19_12X19IN,
MediaSizeGroup::kSizeIn}},
{{30480, 48691},
{"na_b-plus_12x19.17in", PRINT_PREVIEW_MEDIA_NA_B_PLUS_12X19_17IN,
MediaSizeGroup::kSizeNamed}},
{{30500, 43000},
{"iso_ra3_305x430mm", PRINT_PREVIEW_MEDIA_ISO_RA3_305X430MM,
MediaSizeGroup::kSizeNamed}},
{{32000, 45000},
{"iso_sra3_320x450mm", PRINT_PREVIEW_MEDIA_ISO_SRA3_320X450MM,
MediaSizeGroup::kSizeNamed}},
{{32200, 44500},
{"iso_a3-extra_322x445mm",
PRINT_PREVIEW_MEDIA_ISO_A3_EXTRA_322X445MM,
MediaSizeGroup::kSizeNamed}},
{{32400, 45800},
{"iso_c3_324x458mm", PRINT_PREVIEW_MEDIA_ISO_C3_324X458MM,
MediaSizeGroup::kSizeNamed}},
{{33020, 48260},
{"na_super-b_13x19in", PRINT_PREVIEW_MEDIA_NA_SUPER_B_13X19IN,
MediaSizeGroup::kSizeNamed}},
{{35000, 46000},
{"om_photo-35x46_350x460mm",
PRINT_PREVIEW_MEDIA_OM_PHOTO_35X46_350X460MM,
MediaSizeGroup::kSizeMm}},
{{35300, 50000},
{"iso_b3_353x500mm", PRINT_PREVIEW_MEDIA_ISO_B3_353X500MM,
MediaSizeGroup::kSizeNamed}},
{{35560, 43180},
{"oe_14x17_14x17in", PRINT_PREVIEW_MEDIA_OE_14X17_14X17IN,
MediaSizeGroup::kSizeIn}},
{{35560, 45720},
{"oe_photo-14x18_14x18in",
PRINT_PREVIEW_MEDIA_OE_PHOTO_14X18_14X18IN,
MediaSizeGroup::kSizeIn}},
{{36400, 51500},
{"jis_b3_364x515mm", PRINT_PREVIEW_MEDIA_JIS_B3_364X515MM,
MediaSizeGroup::kSizeNamed}},
{{40000, 60000},
{"om_photo-40x60_400x600mm",
PRINT_PREVIEW_MEDIA_OM_PHOTO_40X60_400X600MM,
MediaSizeGroup::kSizeMm}},
{{40640, 50800},
{"oe_photo-16r_16x20in", PRINT_PREVIEW_MEDIA_OE_PHOTO_16R_16X20IN,
MediaSizeGroup::kSizeIn}},
{{42000, 59400},
{"iso_a2_420x594mm", PRINT_PREVIEW_MEDIA_ISO_A2_420X594MM,
MediaSizeGroup::kSizeNamed}},
{{42000, 89100},
{"iso_a3x3_420x891mm", PRINT_PREVIEW_MEDIA_ISO_A3X3_420X891MM,
MediaSizeGroup::kSizeNamed}},
{{42000, 118900},
{"iso_a3x4_420x1189mm", PRINT_PREVIEW_MEDIA_ISO_A3X4_420X1189MM,
MediaSizeGroup::kSizeNamed}},
{{42000, 148600},
{"iso_a3x5_420x1486mm", PRINT_PREVIEW_MEDIA_ISO_A3X5_420X1486MM,
MediaSizeGroup::kSizeNamed}},
{{42000, 178300},
{"iso_a3x6_420x1783mm", PRINT_PREVIEW_MEDIA_ISO_A3X6_420X1783MM,
MediaSizeGroup::kSizeNamed}},
{{42000, 208000},
{"iso_a3x7_420x2080mm", PRINT_PREVIEW_MEDIA_ISO_A3X7_420X2080MM,
MediaSizeGroup::kSizeNamed}},
{{43000, 61000},
{"iso_ra2_430x610mm", PRINT_PREVIEW_MEDIA_ISO_RA2_430X610MM,
MediaSizeGroup::kSizeNamed}},
{{43180, 55880},
{"na_c_17x22in", PRINT_PREVIEW_MEDIA_NA_C_17X22IN,
MediaSizeGroup::kSizeIn}},
{{43180, 60960},
{"oe_a2plus_17x24in", PRINT_PREVIEW_MEDIA_OE_A2PLUS_17X24IN,
MediaSizeGroup::kSizeIn}},
{{45000, 64000},
{"iso_sra2_450x640mm", PRINT_PREVIEW_MEDIA_ISO_SRA2_450X640MM,
MediaSizeGroup::kSizeNamed}},
{{45720, 55880},
{"oe_18x22_18x22in", PRINT_PREVIEW_MEDIA_OE_18X22_18X22IN,
MediaSizeGroup::kSizeIn}},
{{45720, 60960},
{"na_arch-c_18x24in", PRINT_PREVIEW_MEDIA_NA_ARCH_C_18X24IN,
MediaSizeGroup::kSizeIn}},
{{45800, 64800},
{"iso_c2_458x648mm", PRINT_PREVIEW_MEDIA_ISO_C2_458X648MM,
MediaSizeGroup::kSizeNamed}},
{{50000, 70700},
{"iso_b2_500x707mm", PRINT_PREVIEW_MEDIA_ISO_B2_500X707MM,
MediaSizeGroup::kSizeNamed}},
{{50000, 75000},
{"om_photo-50x75_500x750mm",
PRINT_PREVIEW_MEDIA_OM_PHOTO_50X75_500X750MM,
MediaSizeGroup::kSizeMm}},
{{50000, 76000},
{"om_photo-50x76_500x760mm",
PRINT_PREVIEW_MEDIA_OM_PHOTO_50X76_500X760MM,
MediaSizeGroup::kSizeMm}},
{{50800, 60960},
{"oe_photo-20r_20x24in", PRINT_PREVIEW_MEDIA_OE_PHOTO_20R_20X24IN,
MediaSizeGroup::kSizeIn}},
{{51500, 72800},
{"jis_b2_515x728mm", PRINT_PREVIEW_MEDIA_JIS_B2_515X728MM,
MediaSizeGroup::kSizeNamed}},
{{55880, 71120},
{"oe_photo-22x28_22x28in",
PRINT_PREVIEW_MEDIA_OE_PHOTO_22X28_22X28IN,
MediaSizeGroup::kSizeIn}},
{{55880, 74930},
{"oe_photo-22r_22x29.5in",
PRINT_PREVIEW_MEDIA_OE_PHOTO_22R_22X29_5IN,
MediaSizeGroup::kSizeIn}},
{{55880, 86360},
{"na_d_22x34in", PRINT_PREVIEW_MEDIA_NA_D_22X34IN,
MediaSizeGroup::kSizeIn}},
{{59400, 84100},
{"iso_a1_594x841mm", PRINT_PREVIEW_MEDIA_ISO_A1_594X841MM,
MediaSizeGroup::kSizeNamed}},
{{59400, 126100},
{"iso_a2x3_594x1261mm", PRINT_PREVIEW_MEDIA_ISO_A2X3_594X1261MM,
MediaSizeGroup::kSizeNamed}},
{{59400, 168200},
{"iso_a2x4_594x1682mm", PRINT_PREVIEW_MEDIA_ISO_A2X4_594X1682MM,
MediaSizeGroup::kSizeNamed}},
{{59400, 210200},
{"iso_a2x5_594x2102mm", PRINT_PREVIEW_MEDIA_ISO_A2X5_594X2102MM,
MediaSizeGroup::kSizeNamed}},
{{60000, 90000},
{"om_photo-60x90_600x900mm",
PRINT_PREVIEW_MEDIA_OM_PHOTO_60X90_600X900MM,
MediaSizeGroup::kSizeMm}},
{{60960, 76200},
{"oe_photo-24x30_24x30in",
PRINT_PREVIEW_MEDIA_OE_PHOTO_24X30_24X30IN,
MediaSizeGroup::kSizeIn}},
{{60960, 80010},
{"oe_photo-24r_24x31.5in",
PRINT_PREVIEW_MEDIA_OE_PHOTO_24R_24X31_5IN,
MediaSizeGroup::kSizeIn}},
{{60960, 91440},
{"na_arch-d_24x36in", PRINT_PREVIEW_MEDIA_NA_ARCH_D_24X36IN,
MediaSizeGroup::kSizeIn}},
{{61000, 86000},
{"iso_ra1_610x860mm", PRINT_PREVIEW_MEDIA_ISO_RA1_610X860MM,
MediaSizeGroup::kSizeNamed}},
{{64000, 90000},
{"iso_sra1_640x900mm", PRINT_PREVIEW_MEDIA_ISO_SRA1_640X900MM,
MediaSizeGroup::kSizeNamed}},
{{64800, 91700},
{"iso_c1_648x917mm", PRINT_PREVIEW_MEDIA_ISO_C1_648X917MM,
MediaSizeGroup::kSizeNamed}},
{{66040, 96520},
{"na_arch-e2_26x38in", PRINT_PREVIEW_MEDIA_NA_ARCH_E2_26X38IN,
MediaSizeGroup::kSizeIn}},
{{68580, 99060},
{"na_arch-e3_27x39in", PRINT_PREVIEW_MEDIA_NA_ARCH_E3_27X39IN,
MediaSizeGroup::kSizeIn}},
{{70700, 100000},
{"iso_b1_707x1000mm", PRINT_PREVIEW_MEDIA_ISO_B1_707X1000MM,
MediaSizeGroup::kSizeNamed}},
{{71120, 101600},
{"asme_f_28x40in", PRINT_PREVIEW_MEDIA_ASME_F_28X40IN,
MediaSizeGroup::kSizeIn}},
{{72800, 103000},
{"jis_b1_728x1030mm", PRINT_PREVIEW_MEDIA_JIS_B1_728X1030MM,
MediaSizeGroup::kSizeNamed}},
{{76200, 101600},
{"oe_photo-30r_30x40in", PRINT_PREVIEW_MEDIA_OE_PHOTO_30R_30X40IN,
MediaSizeGroup::kSizeIn}},
{{76200, 106680},
{"na_wide-format_30x42in",
PRINT_PREVIEW_MEDIA_NA_WIDE_FORMAT_30X42IN,
MediaSizeGroup::kSizeIn}},
{{84100, 118900},
{"iso_a0_841x1189mm", PRINT_PREVIEW_MEDIA_ISO_A0_841X1189MM,
MediaSizeGroup::kSizeNamed}},
{{84100, 178300},
{"iso_a1x3_841x1783mm", PRINT_PREVIEW_MEDIA_ISO_A1X3_841X1783MM,
MediaSizeGroup::kSizeNamed}},
{{84100, 237800},
{"iso_a1x4_841x2378mm", PRINT_PREVIEW_MEDIA_ISO_A1X4_841X2378MM,
MediaSizeGroup::kSizeNamed}},
{{86000, 122000},
{"iso_ra0_860x1220mm", PRINT_PREVIEW_MEDIA_ISO_RA0_860X1220MM,
MediaSizeGroup::kSizeNamed}},
{{86360, 111760},
{"na_e_34x44in", PRINT_PREVIEW_MEDIA_NA_E_34X44IN,
MediaSizeGroup::kSizeIn}},
{{90000, 128000},
{"iso_sra0_900x1280mm", PRINT_PREVIEW_MEDIA_ISO_SRA0_900X1280MM,
MediaSizeGroup::kSizeNamed}},
{{91440, 121920},
{"na_arch-e_36x48in", PRINT_PREVIEW_MEDIA_NA_ARCH_E_36X48IN,
MediaSizeGroup::kSizeIn}},
{{91700, 129700},
{"iso_c0_917x1297mm", PRINT_PREVIEW_MEDIA_ISO_C0_917X1297MM,
MediaSizeGroup::kSizeNamed}},
{{100000, 141400},
{"iso_b0_1000x1414mm", PRINT_PREVIEW_MEDIA_ISO_B0_1000X1414MM,
MediaSizeGroup::kSizeNamed}},
{{103000, 145600},
{"jis_b0_1030x1456mm", PRINT_PREVIEW_MEDIA_JIS_B0_1030X1456MM,
MediaSizeGroup::kSizeNamed}},
{{111760, 172720},
{"na_f_44x68in", PRINT_PREVIEW_MEDIA_NA_F_44X68IN,
MediaSizeGroup::kSizeIn}},
{{118900, 168200},
{"iso_2a0_1189x1682mm", PRINT_PREVIEW_MEDIA_ISO_2A0_1189X1682MM,
MediaSizeGroup::kSizeNamed}},
{{118900, 252300},
{"iso_a0x3_1189x2523mm", PRINT_PREVIEW_MEDIA_ISO_A0X3_1189X2523MM,
MediaSizeGroup::kSizeNamed}},
},
[](const gfx::Size& a, const gfx::Size& b) {
auto result = a.width() - b.width();
if (result == 0) {
result = a.height() - b.height();
}
return result < 0;
});
auto* it = kMediaMap.find(
{size.width() / kMicronsPerPwgUnit, size.height() / kMicronsPerPwgUnit});
return it != kMediaMap.end()
? MediaSizeInfo{std::string(it->second.vendor_id),
l10n_util::GetStringUTF16(it->second.l10n_id),
it->second.sort_group}
: MediaSizeInfo{"", u"", MediaSizeGroup::kSizeNamed};
}
// Generate a vendor ID, human-readable name, and sort group from size
// information.
MediaSizeInfo InfoForUnregisteredSize(const gfx::Size& size_um) {
int width_um = size_um.width();
int height_um = size_um.height();
// Generate a vendor ID so we have something to populate the field with.
std::string vendor_id =
base::StrCat({"om_", base::NumberToString(width_um), "x",
base::NumberToString(height_um), "um_",
base::NumberToString(width_um / kMicronsPerMm), "x",
base::NumberToString(height_um / kMicronsPerMm), "mm"});
MediaSizeGroup group = MediaSizeGroup::kSizeMm;
int message_id = PRINT_PREVIEW_MEDIA_DIMENSIONS_MM;
int conversion_factor = kMicronsPerMm;
int max_fractional_digits = 0;
// Try converting to inches. If either width or height is a multiple of
// 1/4 inch, display the size as inches. Otherwise, display the size as
// millimeters.
if (width_um % (kMicronsPerInch / 4) == 0 ||
height_um % (kMicronsPerInch / 4) == 0) {
group = MediaSizeGroup::kSizeIn;
message_id = PRINT_PREVIEW_MEDIA_DIMENSIONS_INCHES;
conversion_factor = kMicronsPerInch;
max_fractional_digits = 3;
}
// If the width and height are in inches, display them with up to 3 digits
// after the decimal point. 3 digits is the sweet spot where even unusual
// fractions like sixths, eighths, and ninths are legible without showing the
// rounding errors from their conversion to PWG units. The "up to" is
// important since even many unregistered sizes include integer dimensions,
// and "5 x 6.5 in" is more legible than "5.000 x 6.500 in". Even more
// importantly, it matches how registered but unnamed sizes like "3 x 5 in"
// are written. For millimeter sizes, round to the nearest integer, since any
// fractional part is probably a rounding error from the mm->pt->mm conversion
// imposed by the PPD format.
return {vendor_id,
l10n_util::GetStringFUTF16(
message_id,
base::FormatDouble(static_cast<double>(width_um) /
static_cast<double>(conversion_factor),
0, max_fractional_digits),
base::FormatDouble(static_cast<double>(height_um) /
static_cast<double>(conversion_factor),
0, max_fractional_digits)),
group};
}
} // namespace
PaperWithSizeInfo::PaperWithSizeInfo(MediaSizeInfo msi,
PrinterSemanticCapsAndDefaults::Paper p)
: size_info(msi), paper(p) {}
MediaSizeInfo LocalizePaperDisplayName(const gfx::Size& size_um) {
MediaSizeInfo size_info = InfoForStandardSize(size_um);
return size_info.display_name.empty() ? InfoForUnregisteredSize(size_um)
: size_info;
}
void SortPaperDisplayNames(std::vector<PaperWithSizeInfo>& papers) {
std::vector<PaperWithSizeInfo> mm_sizes;
std::vector<PaperWithSizeInfo> in_sizes;
std::vector<PaperWithSizeInfo> named_sizes;
// Break apart the list into separate sort groups.
for (auto& p : papers) {
switch (p.size_info.sort_group) {
case MediaSizeGroup::kSizeMm:
mm_sizes.emplace_back(p);
break;
case MediaSizeGroup::kSizeIn:
in_sizes.emplace_back(p);
break;
case MediaSizeGroup::kSizeNamed:
named_sizes.emplace_back(p);
break;
}
}
UErrorCode error = U_ZERO_ERROR;
std::unique_ptr<icu::Collator> collator(icu::Collator::createInstance(error));
DCHECK(U_SUCCESS(error));
// Sort dimensional sizes (inch and mm) by width, then height.
auto size_sort = [](const PaperWithSizeInfo& a, const PaperWithSizeInfo& b) {
const gfx::Size& size_a = a.paper.size_um;
const gfx::Size& size_b = b.paper.size_um;
if (size_a.width() != size_b.width())
return size_a.width() < size_b.width();
return size_a.height() < size_b.height();
};
std::sort(mm_sizes.begin(), mm_sizes.end(), size_sort);
std::sort(in_sizes.begin(), in_sizes.end(), size_sort);
// Sort named sizes by name, then width, then height.
auto name_sort = [&collator](const PaperWithSizeInfo& a,
const PaperWithSizeInfo& b) {
const gfx::Size& size_a = a.paper.size_um;
const gfx::Size& size_b = b.paper.size_um;
UCollationResult comp = base::i18n::CompareString16WithCollator(
*collator, a.size_info.display_name, b.size_info.display_name);
if (comp != UCOL_EQUAL)
return comp == UCOL_LESS;
// Same name. Sort by width, then height.
if (size_a.width() != size_b.width())
return size_a.width() < size_b.width();
return size_a.height() < size_b.height();
};
std::sort(named_sizes.begin(), named_sizes.end(), name_sort);
// Replace the original list with the newly sorted groups.
papers.clear();
papers.insert(papers.end(), in_sizes.begin(), in_sizes.end());
papers.insert(papers.end(), mm_sizes.begin(), mm_sizes.end());
papers.insert(papers.end(), named_sizes.begin(), named_sizes.end());
}
} // namespace printing
| [
"jengelh@inai.de"
] | jengelh@inai.de |
5f9d580d25f9d8567c5c399b91fb8f26cb98b805 | 421808fb39f7c45f0e007e9be2ee94875cccad04 | /CS230/Engine/TextureManager.cpp | 05ed6296e39536fa1e34379a96e8b3eb853e7749 | [] | no_license | taejuKwon-digipen/cs230-project-taejuKwon-digipen | bc1511df781925b659c26c06171b1952d4cc2539 | 1e6f2bffa5737cd9775353c3a7f04b7dd4744af3 | refs/heads/main | 2023-05-01T04:06:10.171519 | 2021-05-26T18:41:18 | 2021-05-26T18:41:18 | 346,867,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 988 | cpp | /*--------------------------------------------------------------
Copyright (C) 2021 DigiPen Institute of Technology.
Reproduction or disclosure of this file or its contents without the prior
written consent of DigiPen Institute of Technology is prohibited.
File Name: TextureManager.cpp
Project: CS230
Author: Kevin Wright
Creation date: 2/19/2021
-----------------------------------------------------------------*/
#include "Engine.h"
#include "Texture.h"
#include "TextureManager.h"
CS230::Texture* CS230::TextureManager::Load(const std::filesystem::path& filePath) {
if (pathToTexture.find(filePath) == pathToTexture.end()) {
pathToTexture[filePath] = new Texture(filePath);
}
return pathToTexture[filePath];
}
void CS230::TextureManager::Unload() {
Engine::GetLogger().LogEvent("Clear Textures");
for (std::pair<std::filesystem::path, Texture*> pathTexturePair : pathToTexture) {
delete pathTexturePair.second;
}
pathToTexture.clear();
} | [
"63988719+kevinwrightDigiPen@users.noreply.github.com"
] | 63988719+kevinwrightDigiPen@users.noreply.github.com |
9bbd368aa88c218bab6c4c97a9bfc878ed25e4bd | 8be7a7efbaa6a4034e435bc8221cc5fb54f8067c | /leocad-18.01/qt/lc_qupdatedialog.cpp | 250dcf886447a8166b08f1c5ebc9b99ba78a45c8 | [] | no_license | RinatB2017/Qt_github | 9faaa54e3c8e7a5f84f742d49f4559dcdd5622dd | 5177baa735c0140d39d8b0e84fc6af3dcb581abd | refs/heads/master | 2023-08-08T08:36:17.664868 | 2023-07-28T07:39:35 | 2023-07-28T07:39:35 | 163,097,727 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,308 | cpp | #include "lc_global.h"
#include "lc_qupdatedialog.h"
#include "ui_lc_qupdatedialog.h"
#include "lc_application.h"
#include "lc_library.h"
#include "lc_profile.h"
void lcDoInitialUpdateCheck()
{
int updateFrequency = lcGetProfileInt(LC_PROFILE_CHECK_UPDATES);
if (updateFrequency == 0)
return;
QSettings settings;
QDateTime CheckTime = settings.value("Updates/LastCheck", QDateTime()).toDateTime();
if (!CheckTime.isNull())
{
QDateTime NextCheckTime = CheckTime.addDays(updateFrequency == 1 ? 1 : 7);
#if (QT_VERSION >= QT_VERSION_CHECK(4, 7, 0))
if (NextCheckTime > QDateTime::currentDateTimeUtc())
#else
if (NextCheckTime > QDateTime::currentDateTime())
#endif
return;
}
new lcQUpdateDialog(nullptr, true);
}
lcQUpdateDialog::lcQUpdateDialog(QWidget* Parent, bool InitialUpdate)
: QDialog(Parent), ui(new Ui::lcQUpdateDialog), mInitialUpdate(InitialUpdate)
{
ui->setupUi(this);
connect(this, SIGNAL(finished(int)), this, SLOT(finished(int)));
ui->status->setText(tr("Connecting to update server..."));
manager = new QNetworkAccessManager(this);
connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));
updateReply = manager->get(QNetworkRequest(QUrl("http://www.leocad.org/updates.txt")));
}
lcQUpdateDialog::~lcQUpdateDialog()
{
if (updateReply)
{
updateReply->abort();
updateReply->deleteLater();
}
if (manager)
manager->deleteLater();
delete ui;
}
void lcQUpdateDialog::accept()
{
QSettings settings;
settings.setValue("Updates/IgnoreVersion", versionData);
QDialog::accept();
}
void lcQUpdateDialog::reject()
{
if (updateReply)
{
updateReply->abort();
updateReply->deleteLater();
updateReply = nullptr;
}
QDialog::reject();
}
void lcQUpdateDialog::finished(int result)
{
Q_UNUSED(result);
if (mInitialUpdate)
deleteLater();
}
void lcQUpdateDialog::replyFinished(QNetworkReply *reply)
{
bool updateAvailable = false;
if (reply->error() == QNetworkReply::NoError)
{
int majorVersion, minorVersion, patchVersion;
int parts;
versionData = reply->readAll();
const char *update = versionData;
QSettings settings;
QByteArray ignoreUpdate = settings.value("Updates/IgnoreVersion", QByteArray()).toByteArray();
if (mInitialUpdate && ignoreUpdate == versionData)
{
updateAvailable = false;
}
else if (sscanf(update, "%d.%d.%d %d", &majorVersion, &minorVersion, &patchVersion, &parts) == 4)
{
QString status;
if (majorVersion > LC_VERSION_MAJOR)
updateAvailable = true;
else if (majorVersion == LC_VERSION_MAJOR)
{
if (minorVersion > LC_VERSION_MINOR)
updateAvailable = true;
else if (minorVersion == LC_VERSION_MINOR)
{
if (patchVersion > LC_VERSION_PATCH)
updateAvailable = true;
}
}
if (updateAvailable)
status = QString(tr("<p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p>")).arg(QString::number(majorVersion), QString::number(minorVersion), QString::number(patchVersion));
else
status = tr("<p>You are using the latest LeoCAD version.</p>");
lcPiecesLibrary* library = lcGetPiecesLibrary();
if (library->mNumOfficialPieces)
{
if (parts > library->mNumOfficialPieces)
{
status += tr("<p>There are new parts available.</p>");
updateAvailable = true;
}
else
status += tr("<p>There are no new parts available at this time.</p>");
}
if (updateAvailable)
{
status += tr("<p>Visit <a href=\"https://github.com/leozide/leocad/releases\">https://github.com/leozide/leocad/releases</a> to download.</p>");
}
ui->status->setText(status);
}
else
ui->status->setText(tr("Error parsing update information."));
#if (QT_VERSION >= QT_VERSION_CHECK(4, 7, 0))
settings.setValue("Updates/LastCheck", QDateTime::currentDateTimeUtc());
#else
settings.setValue("Updates/LastCheck", QDateTime::currentDateTime());
#endif
updateReply = nullptr;
reply->deleteLater();
}
else
ui->status->setText(tr("Error connecting to the update server."));
if (mInitialUpdate)
{
if (updateAvailable)
show();
else
deleteLater();
}
if (updateAvailable)
ui->buttonBox->setStandardButtons(QDialogButtonBox::Close | QDialogButtonBox::Ignore);
else
ui->buttonBox->setStandardButtons(QDialogButtonBox::Close);
}
| [
"tux4096@gmail.com"
] | tux4096@gmail.com |
dd3b8fe99e0bd0d302ff0b0555e4e3cba9acdbfa | e217eaf05d0dab8dd339032b6c58636841aa8815 | /IfcRoad/src/OpenInfraPlatform/IfcRoad/entity/include/IfcAbsorbedDoseMeasure.h | e4d4d02a1247b5969de42b160d62948211cc4e10 | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 1,120 | h | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the OpenInfraPlatform.
* \endverbatim
*/
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "OpenInfraPlatform/IfcRoad/model/shared_ptr.h"
#include "OpenInfraPlatform/IfcRoad/model/IfcRoadObject.h"
#include "IfcDerivedMeasureValue.h"
namespace OpenInfraPlatform
{
namespace IfcRoad
{
// TYPE IfcAbsorbedDoseMeasure = REAL;
class IfcAbsorbedDoseMeasure : public IfcDerivedMeasureValue, public IfcRoadType
{
public:
IfcAbsorbedDoseMeasure();
IfcAbsorbedDoseMeasure( double value );
~IfcAbsorbedDoseMeasure();
virtual const char* classname() const { return "IfcAbsorbedDoseMeasure"; }
virtual void getStepParameter( std::stringstream& stream, bool is_select_type = false ) const;
static shared_ptr<IfcAbsorbedDoseMeasure> readStepData( std::string& arg );
double m_value;
};
} // end namespace IfcRoad
} // end namespace OpenInfraPlatform
| [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
9de825d4b731899235f74acb1c503c2e3eb94972 | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/CreateDataCellsFilterResult.h | 976ec9a4f129028c6d7bc84bd30a8474487993c6 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 854 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lakeformation/LakeFormation_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace LakeFormation
{
namespace Model
{
class CreateDataCellsFilterResult
{
public:
AWS_LAKEFORMATION_API CreateDataCellsFilterResult();
AWS_LAKEFORMATION_API CreateDataCellsFilterResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AWS_LAKEFORMATION_API CreateDataCellsFilterResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace LakeFormation
} // namespace Aws
| [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
c9eb77d69684e606947f67e886f2da79e1242612 | d2f30d9fb226185956c3da1e5372664aaa506312 | /msvis/MSVis/VBContinuumSubtractor.cc | acd2733948fd7a8ecbef49877847bd7ab5d6ae58 | [] | no_license | radio-astro/casasynthesis | 1e2fdacfcfc4313adde8f7524739a4dfd80d4c8f | 1cb9cd6a346d3ade9a6f563696d225c24654041c | refs/heads/master | 2021-01-17T05:22:01.380405 | 2019-01-08T10:43:34 | 2019-01-08T10:43:34 | 40,664,934 | 1 | 1 | null | 2022-12-16T13:17:36 | 2015-08-13T15:01:41 | C++ | UTF-8 | C++ | false | false | 18,430 | cc | //# VBContinuumSubtractor.cc: Subtract continuum from spectral line data
//# Copyright (C) 2004
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library is distributed in the hope that it will be useful, but WITHOUT
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: aips2-request@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//#
//# $Id$
//#
//#include <casa/Arrays/ArrayLogical.h>
//#include <casa/Arrays/ArrayMath.h>
//#include <casa/Arrays/ArrayUtil.h>
#include <casa/Arrays/Cube.h>
//#include <casa/Arrays/MaskedArray.h>
//#include <casa/Arrays/MaskArrMath.h>
//#include <casa/Containers/Record.h>
//#include <casa/Containers/RecordFieldId.h>
//#include <casa/Exceptions/Error.h>
#include <casa/Logging/LogIO.h>
//#include <casa/Quanta/MVTime.h>
//#include <casa/Quanta/QuantumHolder.h>
#include <ms/MeasurementSets/MeasurementSet.h>
#include <ms/MeasurementSets/MSColumns.h>
#include <msvis/MSVis/VBContinuumSubtractor.h>
#include <msvis/MSVis/VisBuffGroupAcc.h>
#include <msvis/MSVis/VisBuffer.h>
#include <scimath/Fitting/LinearFitSVD.h>
#include <scimath/Functionals/Polynomial.h>
//#include <algorithm>
namespace casa { //# NAMESPACE CASA - BEGIN
VBContinuumSubtractor::VBContinuumSubtractor():
fitorder_p(-1),
lofreq_p(-1.0),
hifreq_p(-1.0),
midfreq_p(-1.0),
freqscale_p(1.0),
maxAnt_p(-1),
nHashes_p(0),
ncorr_p(0),
totnumchan_p(0)
{
}
VBContinuumSubtractor::VBContinuumSubtractor(const Double lofreq,
const Double hifreq):
fitorder_p(-1),
lofreq_p(lofreq),
hifreq_p(hifreq),
midfreq_p(-1.0),
freqscale_p(1.0),
maxAnt_p(-1),
nHashes_p(0),
ncorr_p(0),
totnumchan_p(0)
{
midfreq_p = 0.5 * (lofreq + hifreq);
freqscale_p = calcFreqScale();
}
void VBContinuumSubtractor::resize(Cube<Complex>& coeffs,
Cube<Bool>& coeffsOK) const
{
if(maxAnt_p < 0 || fitorder_p < 0 || ncorr_p < 1)
throw(AipsError("The fit order, # of corrs, and/or max antenna # must be set."));
// An nth order polynomial has n + 1 coefficients.
coeffs.resize(ncorr_p, fitorder_p + 1, nHashes_p);
// Calibrater wants coeffsOK to be a Cube, even though a Matrix would do for
// VBContinuumSubtractor. Unfortunately problems arise (worse, quietly) in
// SolvableVisCal::keep() and store() if one tries to get away with
//coeffsOK.resize(ncorr_p, 1, nHashes_p);
coeffsOK.resize(ncorr_p, fitorder_p + 1, nHashes_p);
}
void VBContinuumSubtractor::init(const IPosition& shp, const uInt maxAnt,
const uInt totnumchan,
const Double lof, const Double hif)
{
ncorr_p = shp[0];
fitorder_p = shp[1] - 1;
//// Going from the number of baselines to the number of antennas is a little
//// backwards, but so is this function.
// uInt nAnt = round((-1 + sqrt(1 + 8 * shp[2])) / 2);
setNAnt(maxAnt + 1);
totnumchan_p = totnumchan;
setScalingFreqs(lof, hif);
}
Bool VBContinuumSubtractor::initFromVBGA(VisBuffGroupAcc& vbga)
{
Bool retval = True;
if(vbga.nBuf() > 0){
ncorr_p = vbga(0).nCorr();
setNAnt(vbga.nAnt());
// Count the total number of channels, and get the minimum and maximum
// frequencies for scaling.
totnumchan_p = 0;
hifreq_p = -1.0;
lofreq_p = DBL_MAX;
for(Int ibuf = 0; ibuf < vbga.nBuf(); ++ibuf){
VisBuffer& vb(vbga(ibuf));
totnumchan_p += vb.nChannel();
getMinMaxFreq(vb, lofreq_p, hifreq_p, False);
}
midfreq_p = 0.5 * (lofreq_p + hifreq_p);
freqscale_p = calcFreqScale();
}
else
retval = False;
return retval;
}
VBContinuumSubtractor::~VBContinuumSubtractor()
{}
void VBContinuumSubtractor::fit(VisBuffGroupAcc& vbga, const Int fitorder,
MS::PredefinedColumns whichcol,
Cube<Complex>& coeffs,
Cube<Bool>& coeffsOK, const Bool doInit,
const Bool doResize,
const Bool squawk)
{
LogIO os(LogOrigin("VBContinuumSubtractor", "fit()", WHERE));
fitorder_p = fitorder;
if(!(whichcol == MS::DATA || whichcol == MS::MODEL_DATA ||
whichcol == MS::CORRECTED_DATA)){
if(squawk)
os << LogIO::SEVERE
<< MS::columnName(whichcol) << " is not supported.\n"
<< MS::columnName(MS::DATA) << " will be used instead."
<< LogIO::POST;
whichcol = MS::DATA;
}
if(doInit)
initFromVBGA(vbga);
if(maxAnt_p < 0 || fitorder_p < 0 || ncorr_p < 1 || totnumchan_p < 1
|| lofreq_p < 0.0 || hifreq_p < 0.0)
throw(AipsError("The continuum fitter must first be initialized."));
if(doResize)
resize(coeffs, coeffsOK);
if(!checkSize(coeffs, coeffsOK))
throw(AipsError("Shape mismatch in the coefficient storage cubes."));
// Make the estimate
LinearFitSVD<Float> fitter;
fitter.asWeight(true); // Makes the "sigma" arg = w = 1/sig**2
coeffsOK.set(False);
// Translate vbga to arrays for use by LinearFitSVD.
// The fitorder will actually be clamped on a baseline-by-baseline basis
// because of flagging, but a summary note is in order here.
if(static_cast<Int>(totnumchan_p) < fitorder_p)
os << LogIO::WARN
<< "fitorder = " << fitorder_p
<< ", but only " << totnumchan_p << " channels were selected.\n"
<< "The polynomial order will be lowered accordingly."
<< LogIO::POST;
// Scale frequencies to [-1, 1].
midfreq_p = 0.5 * (lofreq_p + hifreq_p);
freqscale_p = calcFreqScale();
Vector<Float> freqs(totnumchan_p);
uInt totchan = 0;
for(Int ibuf = 0; ibuf < vbga.nBuf(); ++ibuf){
VisBuffer& vb(vbga(ibuf));
Vector<Double> freq(vb.frequency());
uInt nchan = vb.nChannel();
for(uInt c = 0; c < nchan; ++c){
freqs[totchan] = freqscale_p * (freq[c] - midfreq_p);
++totchan;
}
}
Vector<Float> wt(totnumchan_p);
Vector<Float> unflaggedfreqs(totnumchan_p);
Vector<Complex> vizzes(totnumchan_p);
Vector<Float> floatvs(totnumchan_p);
Vector<Float> realsolution(fitorder_p + 1);
Vector<Float> imagsolution(fitorder_p + 1);
for(uInt corrind = 0; corrind < ncorr_p; ++corrind){
for(uInt blind = 0; blind < nHashes_p; ++blind){
uInt totchan = 0;
uInt totunflaggedchan = 0;
// Fill wt, unflaggedfreqs, and vizzes with the baseline's values for
// all channels being used in the fit.
wt.resize(totnumchan_p);
vizzes.resize(totnumchan_p);
unflaggedfreqs.resize(totnumchan_p);
for(Int ibuf = 0; ibuf < vbga.nBuf(); ++ibuf){
VisBuffer& vb(vbga(ibuf));
uInt nchan = vb.nChannel();
//Int vbrow = vbga.outToInRow(ibuf, False)[blind];
if(!vb.flagRow()[blind]){
Cube<Complex>& viscube(vb.dataCube(whichcol));
Float w;
// 2/24/2011: VisBuffer doesn't (yet) have sigmaSpectrum, and I have
// never seen it in an MS anyway. Settle for 1/sqrt(weightSpectrum)
// if it is available or sigmaMat otherwise.
//const Bool haveWS = vb.existsWeightSpectrum();
// 5/13/2011: Sigh. VisBuffAccumulator doesn't even handle
// WeightSpectrum, let alone sigma.
//const Bool haveWS = false;
//if(!haveWS) // w is needed either way, in case ws == 0.0.
w = vb.weightMat()(corrind, blind);
// w needs a sanity check, because a VisBuffer from vbga is not
// necessarily still attached to the MS and sigmaMat() is not one
// of the accumulated quantities. This caused problems for
// the last integration in CAS-3135. checkVisIter() didn't do the
// trick in that case. Fortunately w isn't all that important; if
// all the channels have the same weight the only consequence of
// setting w to 1 is that the estimated errors (which we don't yet
// use) will be wrong.
//
// 5e-45 ended up getting squared in the fitter and producing a NaN.
if(isnan(w) || w < 1.0e-20 || w > 1.0e20)
w = 1.0; // Emit a warning?
for(uInt c = 0; c < nchan; ++c){
// AAARRGGGHHH!! With Calibrater you have to use vb.flag(), not
// flagCube(), to get the channel selection!
//if(!vb.flagCube()(corrind, c, vbrow)){
if(!vb.flag()(c, blind)){
unflaggedfreqs[totunflaggedchan] = freqs[totchan];
// if(haveWS){
// Double ws = vb.weightSpectrum()(corrind, c, vbrow);
// wt[totunflaggedchan] = ws;
// }
// else
wt[totunflaggedchan] = w / nchan;
vizzes[totunflaggedchan] = viscube(corrind, c, blind);
++totunflaggedchan;
}
++totchan;
}
}
else
totchan += nchan;
}
if(totunflaggedchan > 0){ // OK, try a fit.
// Truncate the Vectors.
wt.resize(totunflaggedchan, True);
//vizzes.resize(totunflaggedchan, True);
floatvs.resize(totunflaggedchan);
unflaggedfreqs.resize(totunflaggedchan, True);
// perform least-squares fit of a polynomial.
// Don't try to solve for more coefficients than valid channels.
Int locFitOrd = min(fitorder_p, static_cast<Int>(totunflaggedchan) - 1);
// if(locFitOrd < 1)
// os << LogIO::DEBUG1
// << "locFitOrd = " << locFitOrd
// << LogIO::POST;
Polynomial<AutoDiff<Float> > pnom(locFitOrd);
// The way LinearFit is templated, "y" can be Complex, but at the cost
// of "x" being Complex as well, and worse, wt too. It is better to
// separately fit the reals and imags.
// Do reals.
for(Int ordind = 0; ordind <= locFitOrd; ++ordind) // Note <=.
pnom.setCoefficient(ordind, 1.0);
for(uInt c = 0; c < totunflaggedchan; ++c)
floatvs[c] = vizzes[c].real();
fitter.setFunction(pnom);
realsolution(Slice(0,locFitOrd+1,1)) = fitter.fit(unflaggedfreqs, floatvs, wt);
// if(isnan(realsolution[0])){
// os << LogIO::DEBUG1 << "NaN found." << LogIO::POST;
// for(uInt c = 0; c < totunflaggedchan; ++c){
// if(isnan(unflaggedfreqs[c]))
// os << LogIO::DEBUG1
// << "unflaggedfreqs[" << c << "] is a NaN."
// << LogIO::POST;
// if(isnan(floatvs[c]))
// os << LogIO::DEBUG1
// << "floatvs[" << c << "] is a NaN."
// << LogIO::POST;
// if(isnan(wt[c]))
// os << LogIO::DEBUG1
// << "wt[" << c << "] is a NaN."
// << LogIO::POST;
// else if(wt[c] <= 0.0)
// os << LogIO::DEBUG1
// << "wt[" << c << "] = " << wt[c]
// << LogIO::POST;
// }
// }
// Do imags.
for(Int ordind = 0; ordind <= locFitOrd; ++ordind) // Note <=.
pnom.setCoefficient(ordind, 1.0);
for(uInt c = 0; c < totunflaggedchan; ++c)
floatvs[c] = vizzes[c].imag();
fitter.setFunction(pnom);
imagsolution(Slice(0,locFitOrd+1,1)) = fitter.fit(unflaggedfreqs, floatvs, wt);
for(Int ordind = 0; ordind <= locFitOrd; ++ordind){ // Note <=.
coeffs(corrind, ordind, blind) = Complex(realsolution[ordind],
imagsolution[ordind]);
coeffsOK(corrind, ordind, blind) = True;
}
// Pad remaining orders (if any) with 0.0. Note <=.
for(Int ordind = locFitOrd + 1; ordind <= fitorder_p; ++ordind){
coeffs(corrind, ordind, blind) = 0.0;
// Since coeffs(corrind, ordind, blind) == 0, it isn't necessary to
// pay attention to coeffsOK(corrind, ordind, blind) (especially?) if
// ordind > 0. But Calibrater's SolvableVisCal::keep() and store()
// quietly go awry if you try coeffsOK.resize(ncorr_p, 1, nHashes_p);
coeffsOK(corrind, ordind, blind) = False;
}
// TODO: store uncertainties
}
}
}
}
void VBContinuumSubtractor::getMinMaxFreq(VisBuffer& vb,
Double& minfreq,
Double& maxfreq,
const Bool initialize)
{
const Vector<Double>& freq(vb.frequency());
Int hichan = vb.nChannel() - 1;
Int lochan = 0;
if(initialize){
maxfreq = -1.0;
minfreq = DBL_MAX;
}
if(freq[hichan] < freq[lochan]){
lochan = hichan;
hichan = 0;
}
if(freq[hichan] > maxfreq)
maxfreq = freq[hichan];
if(freq[lochan] < minfreq)
minfreq = freq[lochan];
}
Bool VBContinuumSubtractor::areFreqsInBounds(VisBuffer& vb,
const Bool squawk) const
{
Double maxfreq, minfreq;
getMinMaxFreq(vb, minfreq, maxfreq);
Bool result = minfreq >= lofreq_p && maxfreq <= hifreq_p;
if(squawk && !result){
// The truth was considered too alarming (CAS-1968).
// LogIO os(LogOrigin("VBContinuumSubtractor", "areFreqsInBounds"));
LogIO os(LogOrigin("VBContinuumSubtractor", "apply"));
os << LogIO::WARN
<< "Extrapolating to cover [" << 1.0e-9 * minfreq << ", "
<< 1.0e-9 * maxfreq << "] (GHz).\n"
<< "The frequency range used for the continuum fit was ["
<< 1.0e-9 * lofreq_p << ", "
<< 1.0e-9 * hifreq_p << "] (GHz)."
<< LogIO::POST;
}
return result;
}
Bool VBContinuumSubtractor::doShapesMatch(VisBuffer& vb,
LogIO& os, const Bool squawk) const
{
Bool theydo = True;
if(vb.nCorr() != static_cast<Int>(ncorr_p)){
theydo = False;
if(squawk)
os << LogIO::SEVERE
<< "The supplied number of correlations, " << vb.nCorr()
<< ", does not match the expected " << ncorr_p
<< LogIO::POST;
}
// It's no longer the # of rows that matter but the maximum antenna #.
// if(vb.nRow() != nrow_p){
if(max(vb.antenna2()) > maxAnt_p){
theydo = False; // Should it just flag unknown baselines?
if(squawk)
os << LogIO::SEVERE
<< "The fit is only valid for antennas with indices <= " << maxAnt_p
<< LogIO::POST;
}
return theydo;
}
// Do the subtraction
Bool VBContinuumSubtractor::apply(VisBuffer& vb,
const MS::PredefinedColumns whichcol,
const Cube<Complex>& coeffs,
const Cube<Bool>& coeffsOK,
const Bool doSubtraction,
const Bool squawk)
{
LogIO os(LogOrigin("VBContinuumSubtractor", "apply"));
if(!doShapesMatch(vb, os, squawk))
return False;
Bool ok = areFreqsInBounds(vb, squawk); // A Bool might be too Boolean here.
ok = True; // Yep, returning False for a slight
// extrapolation is too harsh.
if(!(whichcol == MS::DATA || whichcol == MS::MODEL_DATA ||
whichcol == MS::CORRECTED_DATA)){
if(squawk)
os << LogIO::SEVERE
<< MS::columnName(whichcol) << " is not supported."
<< LogIO::POST;
return False;
}
Cube<Complex>& viscube(vb.dataCube(whichcol));
uInt nchan = vb.nChannel();
uInt nvbrow = vb.nRow();
// DEBUGGING
// os << LogIO::DEBUG1
// << "nvbrow: " << nvbrow << ", nchan: " << nchan
// << LogIO::POST;
// // Check coeffs.
// for(uInt vbrow = 0; vbrow < nvbrow; ++vbrow){
// uInt blind = hashFunction(vb.antenna1()[vbrow],
// vb.antenna2()[vbrow]);
// for(uInt corrind = 0; corrind < ncorr_p; ++corrind){
// if(coeffsOK(corrind, 0, blind)){
// Complex cont = coeffs(corrind, 0, blind);
// if(fabs(cont) < 0.001)
// os << LogIO::WARN
// << "cont(" << corrind << ", 0, " << blind << ") = "
// << cont
// << LogIO::POST;
// }
// }
// }
// END DEBUGGING
Vector<Double> freqpow(fitorder_p + 1); // sf**ordind
freqpow[0] = 1.0;
Vector<Double>& freq(vb.frequency());
for(uInt c = 0; c < nchan; ++c){
Double sf = freqscale_p * (freq[c] - midfreq_p); // scaled frequency
for(Int ordind = 1; ordind <= fitorder_p; ++ordind)
freqpow[ordind] = sf * freqpow[ordind - 1];
for(uInt vbrow = 0; vbrow < nvbrow; ++vbrow){
uInt blind = hashFunction(vb.antenna1()[vbrow],
vb.antenna2()[vbrow]);
for(uInt corrind = 0; corrind < ncorr_p; ++corrind){
if(coeffsOK(corrind, 0, blind)){
Complex cont = coeffs(corrind, 0, blind);
for(Int ordind = 1; ordind <= fitorder_p; ++ordind)
cont += coeffs(corrind, ordind, blind) * freqpow[ordind];
if(doSubtraction)
viscube(corrind, c, vbrow) -= cont;
else
viscube(corrind, c, vbrow) = cont;
// TODO: Adjust WEIGHT_SPECTRUM (create if necessary?), WEIGHT, and
// SIGMA.
}
else
vb.flagCube()(corrind, c, vbrow) = true;
//vb.flag()(c, vbrow) = true;
}
}
}
return ok;
}
} //# NAMESPACE CASA - END
| [
"gijs@pythonic.nl"
] | gijs@pythonic.nl |
5bee94948e588c62d773a690bc3ef0af7d9e2f3c | b3feb8b18b40575f221bff71fa006e45099b2792 | /src/psvrconfigtool/AppStage_AccelerometerCalibration.cpp | 34667f0f5bdd6437eba33aeaa768580cc2cca67f | [
"MIT"
] | permissive | Bozdoc84/PSVRTracker | 88fe4037446de3b0a3ba929550f1825ac03020c9 | 15702ac94969c44bd60b80c8896eb8c739247db4 | refs/heads/master | 2023-04-23T03:16:51.498798 | 2021-05-03T03:33:15 | 2021-05-03T03:33:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,340 | cpp | //-- inludes -----
#include "AppStage_AccelerometerCalibration.h"
#include "AppStage_ControllerSettings.h"
#include "AppStage_MainMenu.h"
#include "App.h"
#include "Camera.h"
#include "MathTypeConversion.h"
#include "Logger.h"
#include "MathAlignment.h"
#include "MathGLM.h"
#include "MathEigen.h"
#include "MathUtility.h"
#include "PSVRClient_CAPI.h"
#include "Renderer.h"
#include "UIConstants.h"
#include "SDL_keycode.h"
#include <imgui.h>
#include <algorithm>
//-- statics ----
const char *AppStage_AccelerometerCalibration::APP_STAGE_NAME = "AcceleromterCalibration";
//-- constants -----
static const double k_stabilize_wait_time_ms = 1000.f;
static const int k_max_accelerometer_samples = 500;
static const float k_min_sample_distance = 1000.f;
static const float k_min_sample_distance_sq = k_min_sample_distance*k_min_sample_distance;
//-- definitions -----
struct AccelerometerStatistics
{
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
PSVRVector3f accelerometer_samples[k_max_accelerometer_samples];
Eigen::Vector3f eigen_accelerometer_samples[k_max_accelerometer_samples];
Eigen::Vector3f avg_accelerometer_sample;
float noise_variance;
float noise_radius;
int sample_count;
void clear()
{
sample_count= 0;
noise_radius= 0.f;
}
bool getIsComplete() const
{
return sample_count >= k_max_accelerometer_samples;
}
void addSample(const PSVRVector3f &sample)
{
if (getIsComplete())
{
return;
}
accelerometer_samples[sample_count] = sample;
eigen_accelerometer_samples[sample_count] = PSVR_vector3f_to_eigen_vector3(sample);
++sample_count;
if (getIsComplete())
{
// Compute the mean and variance of the accelerometer readings
Eigen::Vector3f accelerometer_variance;
eigen_vector3f_compute_mean_and_variance(
eigen_accelerometer_samples, sample_count,
&avg_accelerometer_sample, &accelerometer_variance);
noise_variance = accelerometer_variance.maxCoeff();
// Compute the bounding radius of the accelerometer error
noise_radius = 0;
for (int sample_index = 0; sample_index < k_max_accelerometer_samples; ++sample_index)
{
Eigen::Vector3f error = eigen_accelerometer_samples[sample_index] - avg_accelerometer_sample;
noise_radius = fmaxf(noise_radius, error.norm());
}
}
}
};
//-- private methods -----
static void drawController(PSVRController *controllerView, const glm::mat4 &transform);
//-- public methods -----
AppStage_AccelerometerCalibration::AppStage_AccelerometerCalibration(App *app)
: AppStage(app)
, m_menuState(AppStage_AccelerometerCalibration::inactive)
, m_testMode(AppStage_AccelerometerCalibration::controllerRelative)
, m_bBypassCalibration(false)
, m_controllerView(nullptr)
, m_isControllerStreamActive(false)
, m_lastControllerSeqNum(-1)
, m_noiseSamples(new AccelerometerStatistics)
{
}
AppStage_AccelerometerCalibration::~AppStage_AccelerometerCalibration()
{
delete m_noiseSamples;
}
void AppStage_AccelerometerCalibration::enter()
{
const AppStage_ControllerSettings *controllerSettings =
m_app->getAppStage<AppStage_ControllerSettings>();
const AppStage_ControllerSettings::ControllerInfo *info =
controllerSettings->getSelectedControllerInfo();
// Reset the menu state
m_app->setCameraType(_cameraOrbit);
m_app->getOrbitCamera()->resetOrientation();
m_app->getOrbitCamera()->setCameraOrbitRadius(1000.f); // zoom out to see the magnetometer data at scale
m_menuState = eCalibrationMenuState::waitingForStreamStartResponse;
m_noiseSamples->clear();
// Initialize the controller state
assert(info->controller.controller_id != -1);
assert(m_controllerView == nullptr);
PSVR_AllocateControllerListener(info->controller.controller_id);
m_controllerView = PSVR_GetController(info->controller.controller_id);
m_lastCalibratedAccelerometer = *k_PSVR_float_vector3_zero;
m_lastControllerSeqNum = -1;
// Start streaming in controller data
assert(!m_isControllerStreamActive);
if (PSVR_StartControllerDataStream(
m_controllerView->ControllerID, PSVRStreamFlags_includeCalibratedSensorData) == PSVRResult_Success)
{
m_isControllerStreamActive = true;
m_lastControllerSeqNum = -1;
// Wait for the first controller packet to show up...
}
else
{
m_menuState = AppStage_AccelerometerCalibration::failedStreamStart;
}
}
void AppStage_AccelerometerCalibration::exit()
{
assert(m_controllerView != nullptr);
PSVR_FreeControllerListener(m_controllerView->ControllerID);
m_controllerView = nullptr;
m_menuState = eCalibrationMenuState::inactive;
// Reset the orbit camera back to default orientation and scale
m_app->getOrbitCamera()->reset();
}
void AppStage_AccelerometerCalibration::update()
{
bool bControllerDataUpdatedThisFrame = false;
if (m_isControllerStreamActive && m_controllerView->OutputSequenceNum != m_lastControllerSeqNum)
{
switch(m_controllerView->ControllerType)
{
case PSVRController_DualShock4:
{
const PSVRDS4CalibratedSensorData &calibratedSensorData =
m_controllerView->ControllerState.DS4State.CalibratedSensorData;
m_lastCalibratedAccelerometer = calibratedSensorData.Accelerometer;
} break;
case PSVRController_Move:
{
const PSVRPSMoveCalibratedSensorData &calibratedSensorData =
m_controllerView->ControllerState.PSMoveState.CalibratedSensorData;
m_lastCalibratedAccelerometer = calibratedSensorData.Accelerometer;
} break;
default:
assert(0 && "unreachable");
}
m_lastControllerSeqNum = m_controllerView->OutputSequenceNum;
bControllerDataUpdatedThisFrame = true;
}
switch (m_menuState)
{
case eCalibrationMenuState::waitingForStreamStartResponse:
{
if (bControllerDataUpdatedThisFrame)
{
if (m_bBypassCalibration)
{
m_app->getOrbitCamera()->resetOrientation();
m_menuState = AppStage_AccelerometerCalibration::test;
}
else
{
m_menuState = AppStage_AccelerometerCalibration::placeController;
}
}
} break;
case eCalibrationMenuState::failedStreamStart:
case eCalibrationMenuState::placeController:
{
} break;
case eCalibrationMenuState::measureNoise:
{
if (bControllerDataUpdatedThisFrame && m_noiseSamples->sample_count < k_max_accelerometer_samples)
{
// Store the new sample
m_noiseSamples->addSample(m_lastCalibratedAccelerometer);
// See if we filled all of the samples for this pose
if (m_noiseSamples->getIsComplete())
{
// Tell the service what the new calibration constraints are
PSVR_SetControllerAccelerometerCalibration(
m_controllerView->ControllerID,
m_noiseSamples->noise_radius,
m_noiseSamples->noise_variance);
m_menuState = AppStage_AccelerometerCalibration::measureComplete;
}
}
} break;
case eCalibrationMenuState::measureComplete:
case eCalibrationMenuState::test:
{
if (m_controllerView->ControllerType == PSVRController_DualShock4 &&
m_controllerView->ControllerState.DS4State.OptionsButton == PSVRButtonState_PRESSED)
{
PSVR_ResetControllerOrientation(m_controllerView->ControllerID, k_PSVR_quaternion_identity);
}
} break;
default:
assert(0 && "unreachable");
}
}
void AppStage_AccelerometerCalibration::render()
{
const float k_modelScale = 18.f;
glm::mat4 defaultControllerTransform;
switch(m_controllerView->ControllerType)
{
case PSVRController_Move:
defaultControllerTransform=
glm::rotate(
glm::scale(glm::mat4(1.f), glm::vec3(k_modelScale, k_modelScale, k_modelScale)),
90.f, glm::vec3(1.f, 0.f, 0.f));
break;
case PSVRController_DualShock4:
defaultControllerTransform = glm::scale(glm::mat4(1.f), glm::vec3(k_modelScale, k_modelScale, k_modelScale));
break;
}
switch (m_menuState)
{
case eCalibrationMenuState::waitingForStreamStartResponse:
case eCalibrationMenuState::failedStreamStart:
{
} break;
case eCalibrationMenuState::placeController:
{
// Draw the controller model in the pose we want the user place it in
drawController(m_controllerView, defaultControllerTransform);
} break;
case eCalibrationMenuState::measureNoise:
case eCalibrationMenuState::measureComplete:
{
const float sampleScale = 100.f;
glm::mat4 sampleTransform = glm::scale(glm::mat4(1.f), glm::vec3(sampleScale, sampleScale, sampleScale));
// Draw the controller in the middle
drawController(m_controllerView, defaultControllerTransform);
// Draw the sample point cloud around the origin
drawPointCloud(sampleTransform, glm::vec3(1.f, 1.f, 1.f),
reinterpret_cast<float *>(m_noiseSamples->accelerometer_samples),
m_noiseSamples->sample_count);
// Draw the current raw accelerometer direction
{
glm::vec3 m_start = glm::vec3(0.f, 0.f, 0.f);
glm::vec3 m_end = PSVR_vector3f_to_glm_vec3(m_lastCalibratedAccelerometer);
drawArrow(sampleTransform, m_start, m_end, 0.1f, glm::vec3(1.f, 0.f, 0.f));
drawTextAtWorldPosition(sampleTransform, m_end, "A");
}
} break;
case eCalibrationMenuState::test:
{
const float k_sensorScale = 200.f;
glm::mat4 controllerTransform;
glm::mat4 sensorTransform;
switch (m_testMode)
{
case eTestMode::controllerRelative:
{
controllerTransform = defaultControllerTransform;
sensorTransform = glm::scale(glm::mat4(1.f), glm::vec3(k_sensorScale, k_sensorScale, k_sensorScale));
} break;
case eTestMode::worldRelative:
{
// Get the orientation of the controller in world space (OpenGL Coordinate System)
glm::quat q;
switch(m_controllerView->ControllerType)
{
case PSVRController_Move:
q= PSVR_quatf_to_glm_quat(m_controllerView->ControllerState.PSMoveState.Pose.Orientation);
break;
case PSVRController_DualShock4:
q= PSVR_quatf_to_glm_quat(m_controllerView->ControllerState.DS4State.Pose.Orientation);
break;
}
glm::mat4 worldSpaceOrientation = glm::mat4_cast(q);
controllerTransform = glm::scale(worldSpaceOrientation, glm::vec3(k_modelScale, k_modelScale, k_modelScale));
sensorTransform = glm::rotate(
glm::scale(worldSpaceOrientation, glm::vec3(k_sensorScale, k_sensorScale, k_sensorScale)),
-90.f, glm::vec3(1.f, 0.f, 0.f));
} break;
default:
assert(0 && "unreachable");
}
// Draw the fixed world space axes
drawTransformedAxes(glm::scale(glm::mat4(1.f), glm::vec3(k_modelScale, k_modelScale, k_modelScale)), 200.f);
// Draw the controller
drawController(m_controllerView, controllerTransform);
drawTransformedAxes(controllerTransform, 200.f);
// Draw the accelerometer
{
const float accel_g = PSVR_Vector3fLength(&m_lastCalibratedAccelerometer);
glm::vec3 m_start = glm::vec3(0.f);
glm::vec3 m_end = PSVR_vector3f_to_glm_vec3(m_lastCalibratedAccelerometer);
drawArrow(sensorTransform, m_start, m_end, 0.1f, glm::vec3(1.f, 1.f, 1.f));
drawTextAtWorldPosition(sensorTransform, m_end, "A(%.1fg)", accel_g);
}
} break;
default:
assert(0 && "unreachable");
}
}
void AppStage_AccelerometerCalibration::renderUI()
{
const float k_panel_width = 500;
const char *k_window_title = "Accelerometer Calibration";
const ImGuiWindowFlags window_flags =
ImGuiWindowFlags_ShowBorders |
ImGuiWindowFlags_NoResize |
ImGuiWindowFlags_NoMove |
ImGuiWindowFlags_NoScrollbar |
ImGuiWindowFlags_NoCollapse;
switch (m_menuState)
{
case eCalibrationMenuState::waitingForStreamStartResponse:
{
ImGui::SetNextWindowPosCenter();
ImGui::SetNextWindowSize(ImVec2(k_panel_width, 130));
ImGui::Begin(k_window_title, nullptr, window_flags);
ImGui::Text("Waiting for controller stream to start...");
ImGui::End();
} break;
case eCalibrationMenuState::failedStreamStart:
{
ImGui::SetNextWindowPosCenter();
ImGui::SetNextWindowSize(ImVec2(k_panel_width, 130));
ImGui::Begin(k_window_title, nullptr, window_flags);
ImGui::Text("Failed to start controller stream!");
if (ImGui::Button("Ok"))
{
request_exit_to_app_stage(AppStage_ControllerSettings::APP_STAGE_NAME);
}
ImGui::SameLine();
if (ImGui::Button("Return to Main Menu"))
{
request_exit_to_app_stage(AppStage_MainMenu::APP_STAGE_NAME);
}
ImGui::End();
} break;
case eCalibrationMenuState::placeController:
{
ImGui::SetNextWindowPos(ImVec2(ImGui::GetIO().DisplaySize.x / 2.f - k_panel_width / 2.f, 20.f));
ImGui::SetNextWindowSize(ImVec2(k_panel_width, 130));
ImGui::Begin(k_window_title, nullptr, window_flags);
switch(m_controllerView->ControllerType)
{
case PSVRController_Move:
ImGui::Text("Stand the controller on a level surface with the Move button facing you");
break;
case PSVRController_DualShock4:
ImGui::Text("Lay the controller flat on the table face up");
break;
}
if (ImGui::Button("Start Sampling"))
{
m_menuState = eCalibrationMenuState::measureNoise;
}
ImGui::SameLine();
if (ImGui::Button("Cancel"))
{
request_exit_to_app_stage(AppStage_ControllerSettings::APP_STAGE_NAME);
}
ImGui::End();
} break;
case eCalibrationMenuState::measureNoise:
{
ImGui::SetNextWindowPos(ImVec2(ImGui::GetIO().DisplaySize.x / 2.f - k_panel_width / 2.f, 20.f));
ImGui::SetNextWindowSize(ImVec2(k_panel_width, 130));
ImGui::Begin(k_window_title, nullptr, window_flags);
float sampleFraction =
static_cast<float>(m_noiseSamples->sample_count)
/ static_cast<float>(k_max_accelerometer_samples);
ImGui::Text("Sampling accelerometer.");
ImGui::ProgressBar(sampleFraction, ImVec2(250, 20));
ImGui::End();
} break;
case eCalibrationMenuState::measureComplete:
{
ImGui::SetNextWindowPos(ImVec2(ImGui::GetIO().DisplaySize.x / 2.f - k_panel_width / 2.f, 20.f));
ImGui::SetNextWindowSize(ImVec2(k_panel_width, 130));
ImGui::Begin(k_window_title, nullptr, window_flags);
ImGui::TextWrapped(
"Sampling complete.\n" \
"Press OK to continue or Redo to resample.");
if (ImGui::Button("Ok"))
{
PSVR_SetControllerLEDOverrideColor(m_controllerView->ControllerID, 0, 0, 0);
request_exit_to_app_stage(AppStage_ControllerSettings::APP_STAGE_NAME);
}
ImGui::SameLine();
if (ImGui::Button("Redo"))
{
// Reset the sample info for the current pose
m_noiseSamples->clear();
m_menuState = eCalibrationMenuState::placeController;
}
ImGui::End();
} break;
case eCalibrationMenuState::test:
{
ImGui::SetNextWindowPos(ImVec2(ImGui::GetIO().DisplaySize.x / 2.f - k_panel_width / 2.f, 20.f));
ImGui::SetNextWindowSize(ImVec2(k_panel_width, 130));
ImGui::Begin("Test Accelerometer", nullptr, window_flags);
if (m_bBypassCalibration)
{
ImGui::Text("Testing Calibration of Controller ID #%d", m_controllerView->ControllerID);
}
else
{
ImGui::Text("Calibration of Controller ID #%d complete!", m_controllerView->ControllerID);
}
if (m_testMode == eTestMode::controllerRelative)
{
if (ImGui::Button("World Relative"))
{
m_testMode = eTestMode::worldRelative;
}
}
else if (m_testMode == eTestMode::worldRelative)
{
if (ImGui::Button("Controller Relative"))
{
m_testMode= eTestMode::controllerRelative;
}
}
if (ImGui::Button("Ok"))
{
request_exit_to_app_stage(AppStage_ControllerSettings::APP_STAGE_NAME);
}
ImGui::SameLine();
if (ImGui::Button("Return to Main Menu"))
{
request_exit_to_app_stage(AppStage_MainMenu::APP_STAGE_NAME);
}
ImGui::End();
} break;
default:
assert(0 && "unreachable");
}
}
//-- private methods -----
static void request_set_accelerometer_calibration(
const int controller_id,
const float noise_radius,
const float noise_variance)
{
PSVR_SetControllerAccelerometerCalibration(controller_id, noise_radius, noise_variance);
}
void AppStage_AccelerometerCalibration::request_exit_to_app_stage(const char *app_stage_name)
{
PSVR_StopControllerDataStream(m_controllerView->ControllerID);
m_isControllerStreamActive= false;
m_app->setAppStage(app_stage_name);
}
//-- private methods -----
static void drawController(PSVRController *controllerView, const glm::mat4 &transform)
{
switch(controllerView->ControllerType)
{
case PSVRController_Move:
drawPSMoveModel(transform, glm::vec3(1.f, 1.f, 1.f));
break;
case PSVRController_DualShock4:
drawPSDualShock4Model(transform, glm::vec3(1.f, 1.f, 1.f));
break;
}
}
| [
"hipstersloth908@gmail.com"
] | hipstersloth908@gmail.com |
6041da1b9f03e45e2936ce14c463b8f7cfbcbf0d | e2227524377dbb7641d3eabb7d7a4db835ee2bae | /Construct Tree from Preorder and Inorder/Construct Tree from Preorder and Inorder/Construct Tree from Preorder and Inorder.cpp | bf4f8ffabd42e90a5e88b7c6c19f61df54dd2291 | [] | no_license | tezheng/LeetCode | a7a920e0e9c880a0589efc98ad4f551243af2dc3 | 1ae450d469076228b5e720480d1d2ff877ffc14e | refs/heads/master | 2021-01-16T18:01:08.048098 | 2013-05-11T13:23:20 | 2013-05-11T13:23:20 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,250 | cpp | //和Construct Binary Tree from Inorder and Postorder Traversal类似
//不能通过large judge memory limit exceeded
#include<vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
TreeNode *buildTree(vector<int> &preorder, vector<int> &inorder) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
if(preorder.size() == 0 && inorder.size() == 0)
return NULL;
int val = preorder[0];
TreeNode *root = new TreeNode(val);
int rootindex = 0;
while (inorder[rootindex] != val)
rootindex++;
if (rootindex > 0)
{
int lsize = rootindex ;
vector<int> linorder(inorder.begin(),inorder.begin() + lsize);
vector<int> lpreorder(preorder.begin() + 1 ,preorder.begin() + 1 + lsize);
root->left = buildTree(lpreorder,linorder);
}
if (rootindex < inorder.size() - 1)
{
int rsize = inorder.size() - rootindex - 1;
vector<int> rinorder(inorder.begin() + rootindex + 1,inorder.end());
vector<int> rpreorder(preorder.begin() + rootindex + 1,preorder.end());
root->right = buildTree(rpreorder,rinorder);
}
return root;
}
}; | [
"liumengxinfly@gmail.com"
] | liumengxinfly@gmail.com |
06ed32726fa7d0ac67f04813e9c5b1e3b99171e4 | 1918bc571a99cb197574468b2384fe1f5a1e1256 | /include/ASECP/ObjectTypeProperty.h | e3a8da3ffe0d5baa84e11d044f37f2cf0d5d6fa0 | [] | no_license | RangelReale/ASECP | 805b73c3863f4c90db541cc7dbaac74c3438d8c9 | 3e80316012ba1dd5fe269bc4cb81f973cc112d51 | refs/heads/master | 2023-08-19T14:05:11.996829 | 2015-06-09T13:15:54 | 2015-06-09T13:15:54 | 37,068,932 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,346 | h | #ifndef H__ASECP_OBJECTTYPEPROPERTY__H
#define H__ASECP_OBJECTTYPEPROPERTY__H
#include <Poco/RefCountedObject.h>
#include <Poco/AutoPtr.h>
#include <Poco/SharedPtr.h>
#include <angelscript.h>
#include <vector>
namespace ASECP {
class ObjectType;
class ObjectTypeProperty;
class ObjectTypePropertyList : public std::vector<Poco::AutoPtr<ObjectTypeProperty> >
{
};
typedef Poco::SharedPtr<ObjectTypePropertyList> ObjectTypePropertyListPtr;
class ObjectTypeProperty : public Poco::RefCountedObject
{
public:
typedef Poco::AutoPtr<ObjectTypeProperty> Ptr;
ObjectTypeProperty(Poco::AutoPtr<ObjectType> objecttype, asUINT index);
virtual ~ObjectTypeProperty();
Poco::AutoPtr<ObjectType> objectType() const;
asUINT index() const { return _index; }
const std::string &name() const { return _name; }
int typeId() const { return _typeid; }
bool isPrivate() const { return _isprivate; }
bool isProtected() const { return _isprotected; }
int offset() const { return _offset; }
bool isReference() const { return _isreference; }
asDWORD accessMask() const { return _accessmask; }
private:
void load();
Poco::AutoPtr<ObjectType> _objecttype;
asUINT _index;
std::string _name;
int _typeid;
bool _isprivate;
bool _isprotected;
int _offset;
bool _isreference;
asDWORD _accessmask;
};
}
#endif // H__ASECP_OBJECTTYPEPROPERTY__H | [
"rangelspam@gmail.com"
] | rangelspam@gmail.com |
724fe45e92093df8fc5b37d410865d9fcad92057 | d51e54dccbb594a056005cb50a9dbad472ddb034 | /Volume_02/Number_2/Wong1997/source/udpoint_windows/vecmath.cpp | 02111a07dbf133bc5f8b0e7ce76837c727a8dddd | [
"MIT"
] | permissive | skn123/jgt-code | 4aa8d39d6354a1ede9b141e5e7131e403465f4f7 | 1c80455c8aafe61955f61372380d983ce7453e6d | refs/heads/master | 2023-08-30T22:54:09.412136 | 2023-08-28T20:54:09 | 2023-08-28T20:54:09 | 217,573,703 | 0 | 0 | MIT | 2023-08-29T02:29:29 | 2019-10-25T16:27:56 | MATLAB | UTF-8 | C++ | false | false | 2,286 | cpp | /*
* vecmath.cpp
*
* A set of vector math functions.
* It will be continuously updated in the future version.
*
* Copyright (c) Tien-Tsin Wong, 1996
* All Rights Reserved.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define TRUE 1
#define FALSE 0
/*************************** Float vector ********************************/
/*
* In the following implemetation of vector functions. The data structure
* of a vector is assumed to be a 3-elements array of float type. In C, it is
*
* float vector[3];
*
*/
void vzero(float *v)
{
v[0] = 0.0;
v[1] = 0.0;
v[2] = 0.0;
}
void vset(float *v, float x, float y, float z)
{
v[0] = x;
v[1] = y;
v[2] = z;
}
void vsub(const float *src1, const float *src2, float *dst)
{
dst[0] = src1[0] - src2[0];
dst[1] = src1[1] - src2[1];
dst[2] = src1[2] - src2[2];
}
void vcopy(const float *v1, float *v2)
{
register int i;
for (i = 0 ; i < 3 ; i++)
v2[i] = v1[i];
}
void vcross(const float *v1, const float *v2, float *cross)
{
float temp[3];
temp[0] = (v1[1] * v2[2]) - (v1[2] * v2[1]);
temp[1] = (v1[2] * v2[0]) - (v1[0] * v2[2]);
temp[2] = (v1[0] * v2[1]) - (v1[1] * v2[0]);
vcopy(temp, cross);
}
float vlength(const float *v)
{
return sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]);
}
void vscale(float *v, float scale)
{
v[0] *= scale;
v[1] *= scale;
v[2] *= scale;
}
/* Normalize the vector */
void vnormal(float *v)
{
vscale(v,1.0/vlength(v));
}
float vdot(const float *v1, const float *v2)
{
return v1[0]*v2[0] + v1[1]*v2[1] + v1[2]*v2[2];
}
void vadd(const float *src1, const float *src2, float *dst)
{
dst[0] = src1[0] + src2[0];
dst[1] = src1[1] + src2[1];
dst[2] = src1[2] + src2[2];
}
/*
* linearly interpolate between 2 vectors
* dst = src1*ratio + src2*(1-ratio)
*/
void vlerp(const float *src1, const float *src2, float ratio, float *dst)
{
float recip = 1-ratio;
dst[0] = src1[0]*ratio + src2[0]*recip;
dst[1] = src1[1]*ratio + src2[1]*recip;
dst[2] = src1[2]*ratio + src2[2]*recip;
}
/*
* Compare 2 vectors
* return TRUE if equal
* return FALSE otherwise
*/
int vequal(const float *src1, const float *src2)
{
register int i;
for (i=0 ; i<3 ; i++)
if (src1[i]!=src2[i])
return FALSE;
return TRUE;
}
| [
"erich@acm.org"
] | erich@acm.org |
ccddda51502bb2835ea76c461009424628e5e59e | b471a7221281ed2c43222879ab699094c507bbfe | /tests/BasicBrokerTest/BasicBrokerTest.ino | 1d01a85d748e569ff7542bcef0568bc97ed5cfca | [
"MIT"
] | permissive | bxparks/AceTime | 03c484e5d146d564b0bec2bb3d37b7f1d6fa5928 | bd859a87bec012711cba8d19466aba398d2025d7 | refs/heads/develop | 2023-08-11T20:57:39.583786 | 2023-07-31T23:39:24 | 2023-07-31T23:39:24 | 150,208,350 | 70 | 19 | MIT | 2023-06-28T00:07:54 | 2018-09-25T04:38:14 | C++ | UTF-8 | C++ | false | false | 4,631 | ino | #line 2 "BasicBrokerTest.ino"
#include <Arduino.h>
#include <AUnit.h>
#include <AceTime.h>
#include <zonedbtesting/zone_policies.h>
#include <zonedbtesting/zone_infos.h>
#include <zonedbtesting/zone_registry.h>
using namespace ace_time;
using ace_time::basic::ZoneContext;
using ace_time::basic::ZoneContextBroker;
using ace_time::basic::ZoneInfoBroker;
using ace_time::basic::ZoneEraBroker;
using ace_time::basic::ZoneRuleBroker;
using ace_time::basic::ZonePolicyBroker;
using ace_time::zonedbtesting::kZoneContext;
using ace_time::zonedbtesting::kTzDatabaseVersion;
using ace_time::zonedbtesting::kZonePolicyUS;
using ace_time::zonedbtesting::kZoneAmerica_Los_Angeles;
using ace_time::zonedbtesting::kZoneIdUS_Pacific;
using ace_time::zonedbtesting::kZoneIdAmerica_Los_Angeles;
//---------------------------------------------------------------------------
test(BasicBrokerTest, ZoneContextBroker) {
auto broker = ZoneContextBroker(&kZoneContext);
assertEqual(kTzDatabaseVersion, broker.tzVersion());
assertEqual("D", broker.letter(1));
}
test(BasicBrokerTest, ZoneRuleBroker_toYearFromTiny) {
ZoneRuleBroker rule(&kZoneContext, &kZonePolicyUS.rules[1]);
assertEqual(-32768, rule.toYearFromTiny(-128, 2100));
assertEqual(-32767, rule.toYearFromTiny(-127, 2100));
assertEqual(2100-126, rule.toYearFromTiny(-126, 2100));
assertEqual(2100, rule.toYearFromTiny(0, 2100));
assertEqual(2100+125, rule.toYearFromTiny(125, 2100));
assertEqual(32766, rule.toYearFromTiny(126, 2100));
// int16 toYear is limited to 32766 (one less than the maximum untilYear),
// so toYearTiny should never be 127. But if it is, let's peg it to 32766.
assertEqual(32766, rule.toYearFromTiny(127, 2100));
}
test(BasicBrokerTest, ZoneRuleBroker) {
ZoneRuleBroker rule(&kZoneContext, &kZonePolicyUS.rules[1]);
assertFalse(rule.isNull());
assertEqual(-32767, rule.fromYear());
assertEqual(2006, rule.toYear());
assertEqual(10, rule.inMonth());
assertEqual(7, rule.onDayOfWeek());
assertEqual(0, rule.onDayOfMonth());
assertEqual((uint32_t)2*60*60, rule.atTimeSeconds());
assertEqual(ZoneContext::kSuffixW, rule.atTimeSuffix());
assertEqual(0, rule.deltaSeconds());
assertEqual("S", rule.letter());
}
test(BasicBrokerTest, ZonePolicyBroker) {
ZonePolicyBroker policy(&kZoneContext, &kZonePolicyUS);
assertFalse(policy.isNull());
assertEqual(7, policy.numRules());
}
test(BasicBrokerTest, ZoneEraBroker_toUntilYearFromTiny) {
const basic::ZoneEra* eras = kZoneAmerica_Los_Angeles.eras;
ZoneEraBroker era(&kZoneContext, &eras[0]);
assertEqual(-32768, era.toUntilYearFromTiny(-128, 2100));
assertEqual(-32767, era.toUntilYearFromTiny(-127, 2100));
assertEqual(2100-126, era.toUntilYearFromTiny(-126, 2100));
assertEqual(2100, era.toUntilYearFromTiny(0, 2100));
assertEqual(2100+125, era.toUntilYearFromTiny(125, 2100));
assertEqual(2100+126, era.toUntilYearFromTiny(126, 2100));
assertEqual(32767, era.toUntilYearFromTiny(127, 2100));
}
test(BasicBrokerTest, ZoneEraBroker) {
const basic::ZoneEra* eras = kZoneAmerica_Los_Angeles.eras;
ZoneEraBroker era(&kZoneContext, &eras[0]);
assertFalse(era.isNull());
assertEqual(-8*60*60, era.offsetSeconds());
assertEqual(0, era.deltaSeconds());
assertEqual("P%T", era.format());
assertEqual(ZoneContext::kMaxUntilYear, era.untilYear());
assertEqual((uint8_t)1, era.untilMonth());
assertEqual((uint8_t)1, era.untilDay());
assertEqual((uint32_t)0, era.untilTimeSeconds());
assertEqual(ZoneContext::kSuffixW, era.untilTimeSuffix());
const basic::ZoneEra* eras2 = kZoneAmerica_Los_Angeles.eras;
ZoneEraBroker era2(&kZoneContext, &eras2[0]);
assertTrue(era.equals(era2));
}
test(BasicBrokerTest, ZoneInfoBroker) {
ZoneInfoBroker info(&kZoneAmerica_Los_Angeles);
assertEqual(&kZoneContext, info.zoneContext().raw());
assertEqual("America/Los_Angeles", info.name());
assertEqual((uint32_t) 0xb7f7e8f2, info.zoneId());
assertEqual(1980, info.zoneContext().startYear());
assertEqual(2200, info.zoneContext().untilYear());
assertEqual(1980, info.zoneContext().startYearAccurate());
assertEqual(ZoneContext::kMaxUntilYear,
info.zoneContext().untilYearAccurate());
assertEqual(1, info.numEras());
}
//---------------------------------------------------------------------------
void setup() {
#if ! defined(EPOXY_DUINO)
delay(1000); // wait to prevent garbage on SERIAL_PORT_MONITOR
#endif
SERIAL_PORT_MONITOR.begin(115200);
while (!SERIAL_PORT_MONITOR); // Leonardo/Micro
#if defined(EPOXY_DUINO)
SERIAL_PORT_MONITOR.setLineModeUnix();
#endif
}
void loop() {
aunit::TestRunner::run();
}
| [
"brian@xparks.net"
] | brian@xparks.net |
4a5e3849b9ca9c2f3e406ae56094d7f3752e3c97 | 284d8657b07536bea5d400168a98c1a3ce0bc851 | /xray/core/sources/geometry_utils.cpp | b9d56b2be9bf764fb863990de4087823553f79b9 | [] | no_license | yxf010/xray-2.0 | c6bcd35caa4677ab19cd8be241ce1cc0a25c74a7 | 47461806c25e34005453a373b07ce5b00df2c295 | refs/heads/master | 2020-08-29T21:35:38.253150 | 2019-05-23T16:00:42 | 2019-05-23T16:00:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,939 | cpp | ////////////////////////////////////////////////////////////////////////////
// Created : 09.12.2009
// Author : Andrew Kolomiets
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#include "pch.h"
#include <xray/geometry_utils.h>
#include <xray/geometry_primitives.h>
#include <xray/linkage_helper.h>
#ifndef XRAY_STATIC_LIBRARIES
DECLARE_LINKAGE_ID(core_geometry_utils)
#endif // #ifndef XRAY_STATIC_LIBRARIES
using xray::math::float4x4;
using xray::math::float3;
namespace xray {
namespace geometry_utils{
void create_primitive( geom_vertices_type& avertices,
geom_indices_type& aindices,
float4x4 transform,
float const* vertices,
u32 vertex_count,
u16 const* faces,
u32 index_count )
{
float3 tmp_vertex;
avertices.resize( vertex_count );
for( u32 i = 0, j = 0 ; i < vertex_count; ++i, j+=3 )
{
tmp_vertex.x = vertices[j];
tmp_vertex.y = vertices[j+1];
tmp_vertex.z = vertices[j+2];
avertices[i] = transform.transform_position( tmp_vertex );
}
aindices.resize( index_count );
for( u32 i = 0; i < index_count; ++i)
aindices[i] = faces[i];
}
//bool create_torus( debug_vertices_type& vertices, debug_indices_type& indices, float outer_raduius, float inner_raduius, u16 outer_segments, u16 inner_segments, color color )
// {
// xray::vectora< float3 > tmp_vertices ( *g_allocator );
// xray::vectora< u16 > tmp_indices ( *g_allocator );
//
// bool result = create_torus ( tmp_vertices, tmp_indices, float4x4().identity(), outer_raduius, inner_raduius, outer_segments, inner_segments );
//
// vertices.resize( tmp_vertices.size() );
// for ( u32 i = 0; i < tmp_vertices.size(); ++i)
// {
// vertices[i].position = tmp_vertices[i];
// vertices[i].color = color;
// }
//
// indices.resize( tmp_indices.size() );
// for ( u32 i = 0; i < tmp_indices.size(); ++i)
// indices[i] = tmp_indices[i];
//
// return result;
// }
bool create_torus( geom_vertices_type& vertices,
geom_indices_type& indices,
float4x4 transform,
float outer_raduius,
float inner_raduius,
u16 outer_segments,
u16 inner_segments )
{
return generate_torus( vertices, indices, transform, outer_raduius, inner_raduius, outer_segments, inner_segments );
}
bool create_cylinder( geom_vertices_type& vertices, geom_indices_type& indices, float4x4 transform, float3 size )
{
create_primitive ( vertices,
indices,
create_scale(size)*transform,
cylinder_solid::vertices,
cylinder_solid::vertex_count,
cylinder_solid::faces,
cylinder_solid::index_count );
return true;
}
bool create_cone( geom_vertices_type& vertices, xray::vectora< u16 >& indices, float4x4 transform, float3 size )
{
create_primitive ( vertices,
indices,
create_scale(size)*transform,
cone_solid::vertices,
cone_solid::vertex_count,
cone_solid::faces,
cone_solid::index_count );
return true;
}
bool create_cube( geom_vertices_type& vertices, geom_indices_type& indices, float4x4 transform, float3 size )
{
create_primitive ( vertices,
indices,
create_scale(size)*transform,
cube_solid::vertices,
cube_solid::vertex_count,
cube_solid::faces,
cube_solid::index_count );
return true;
}
bool create_ellipsoid( geom_vertices_type& vertices, geom_indices_type& indices, float4x4 transform, float3 size )
{
create_primitive ( vertices,
indices,
create_scale(size)*transform,
ellipsoid_solid::vertices,
ellipsoid_solid::vertex_count,
ellipsoid_solid::faces,
ellipsoid_solid::index_count );
return true;
}
bool create_ring( geom_vertices_type& vertices,
geom_indices_type& indices,
float inner_radius,
float width,
u16 segments_count)
{
ASSERT (segments_count>3);
vertices.resize (segments_count*2);
indices.resize (segments_count*6);
float segment_ang = math::pi_x2/segments_count;
u16 i = 0;
u32 vidx = 0;
float outer_radius = inner_radius+width;
for(i=0; i<segments_count;++i)
{
math::sine_cosine sincos(segment_ang*i);
vertices[vidx++].set(inner_radius*sincos.cosine, 0.0f, -inner_radius*sincos.sine);
vertices[vidx++].set(outer_radius*sincos.cosine, 0.0f, -outer_radius*sincos.sine);
}
u32 iidx = 0;
for(i=0; i<segments_count-1; ++i)
{
indices[iidx++] = (i*2);
indices[iidx++] = (i*2+1);
indices[iidx++] = (i*2+3);
indices[iidx++] = (i*2);
indices[iidx++] = (i*2+3);
indices[iidx++] = (i*2+2);
}
{ // last segment
indices[iidx++] = (i*2);
indices[iidx++] = (i*2+1);
indices[iidx++] = (1);
indices[iidx++] = (i*2);
indices[iidx++] = (1);
indices[iidx++] = (0);
}
return true;
}
} //namespace geometry_utils
} //namespace xray
| [
"tyabustest@gmail.com"
] | tyabustest@gmail.com |
d1afd1dc784e026ae42b0e04b55580cbf21ba541 | 98c114d7b8076f04b3d99e9083fcf08ef8b64a6e | /Vector3D.cpp | fb05e655496970e16ffd838e08d80aca05bafed5 | [] | no_license | sarrus3x3/ImitateIFOfMario64 | 765a320b14a6f791034d2a4df220cb0bc39daddc | ab67b10db75d6c0f1fc5dd5acc4727364c65f875 | refs/heads/master | 2020-04-12T07:28:36.624472 | 2018-05-19T12:21:52 | 2018-05-19T12:21:52 | 57,305,116 | 2 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 423 | cpp | #include <stdio.h>
#include <time.h> // time()関数用
#include "Vector3D.h"
// ベクトル vec が与えられたとき、this と vec の作る平面において
// vec 側を向いた( i.e. vec*this > 0 となる )this に直行する単位ベクトルを返す。
Vector3D Vector3D::getOrthoVec( const Vector3D &vec )
{
double t = ( (*this) * vec ) / sqlen();
return ( t * (*this) + vec ).normalize();
};
| [
"3pisu8ban0@gmail.com"
] | 3pisu8ban0@gmail.com |
bed084fd81560a3a170f8d26e81317a376c2e128 | e716db770f5c3cc81fdb376de9af204b785e9057 | /x64.debug/gen/src/inspector/protocol/Console.h | 03e74eeb57b2bdc8c1f5b2a45f9d85807054cce8 | [] | no_license | uk959595/v8_build | 694fb9e38e18f6f17488d77a252a3877e8c77e21 | c805051a1a664e198d678cd73f9fdc9d34268919 | refs/heads/master | 2022-01-21T12:16:24.199681 | 2018-12-18T23:49:21 | 2018-12-18T23:49:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,608 | h | // This file is generated
// Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef v8_inspector_protocol_Console_h
#define v8_inspector_protocol_Console_h
#include "src/inspector/protocol/Protocol.h"
// For each imported domain we generate a ValueConversions struct instead of a full domain definition
// and include Domain::API version from there.
#include "src/inspector/protocol/Runtime.h"
namespace v8_inspector {
namespace protocol {
namespace Console {
// ------------- Forward and enum declarations.
class ConsoleMessage;
class MessageAddedNotification;
// ------------- Type and builder declarations.
class ConsoleMessage : public Serializable{
PROTOCOL_DISALLOW_COPY(ConsoleMessage);
public:
static std::unique_ptr<ConsoleMessage> fromValue(protocol::Value* value, ErrorSupport* errors);
~ConsoleMessage() override { }
struct SourceEnum {
static const char* Xml;
static const char* Javascript;
static const char* Network;
static const char* ConsoleApi;
static const char* Storage;
static const char* Appcache;
static const char* Rendering;
static const char* Security;
static const char* Other;
static const char* Deprecation;
static const char* Worker;
}; // SourceEnum
String getSource() { return m_source; }
void setSource(const String& value) { m_source = value; }
struct LevelEnum {
static const char* Log;
static const char* Warning;
static const char* Error;
static const char* Debug;
static const char* Info;
}; // LevelEnum
String getLevel() { return m_level; }
void setLevel(const String& value) { m_level = value; }
String getText() { return m_text; }
void setText(const String& value) { m_text = value; }
bool hasUrl() { return m_url.isJust(); }
String getUrl(const String& defaultValue) { return m_url.isJust() ? m_url.fromJust() : defaultValue; }
void setUrl(const String& value) { m_url = value; }
bool hasLine() { return m_line.isJust(); }
int getLine(int defaultValue) { return m_line.isJust() ? m_line.fromJust() : defaultValue; }
void setLine(int value) { m_line = value; }
bool hasColumn() { return m_column.isJust(); }
int getColumn(int defaultValue) { return m_column.isJust() ? m_column.fromJust() : defaultValue; }
void setColumn(int value) { m_column = value; }
std::unique_ptr<protocol::DictionaryValue> toValue() const;
String serialize() override { return toValue()->serialize(); }
std::unique_ptr<ConsoleMessage> clone() const;
template<int STATE>
class ConsoleMessageBuilder {
public:
enum {
NoFieldsSet = 0,
SourceSet = 1 << 1,
LevelSet = 1 << 2,
TextSet = 1 << 3,
AllFieldsSet = (SourceSet | LevelSet | TextSet | 0)};
ConsoleMessageBuilder<STATE | SourceSet>& setSource(const String& value)
{
static_assert(!(STATE & SourceSet), "property source should not be set yet");
m_result->setSource(value);
return castState<SourceSet>();
}
ConsoleMessageBuilder<STATE | LevelSet>& setLevel(const String& value)
{
static_assert(!(STATE & LevelSet), "property level should not be set yet");
m_result->setLevel(value);
return castState<LevelSet>();
}
ConsoleMessageBuilder<STATE | TextSet>& setText(const String& value)
{
static_assert(!(STATE & TextSet), "property text should not be set yet");
m_result->setText(value);
return castState<TextSet>();
}
ConsoleMessageBuilder<STATE>& setUrl(const String& value)
{
m_result->setUrl(value);
return *this;
}
ConsoleMessageBuilder<STATE>& setLine(int value)
{
m_result->setLine(value);
return *this;
}
ConsoleMessageBuilder<STATE>& setColumn(int value)
{
m_result->setColumn(value);
return *this;
}
std::unique_ptr<ConsoleMessage> build()
{
static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
return std::move(m_result);
}
private:
friend class ConsoleMessage;
ConsoleMessageBuilder() : m_result(new ConsoleMessage()) { }
template<int STEP> ConsoleMessageBuilder<STATE | STEP>& castState()
{
return *reinterpret_cast<ConsoleMessageBuilder<STATE | STEP>*>(this);
}
std::unique_ptr<protocol::Console::ConsoleMessage> m_result;
};
static ConsoleMessageBuilder<0> create()
{
return ConsoleMessageBuilder<0>();
}
private:
ConsoleMessage()
{
}
String m_source;
String m_level;
String m_text;
Maybe<String> m_url;
Maybe<int> m_line;
Maybe<int> m_column;
};
class MessageAddedNotification : public Serializable{
PROTOCOL_DISALLOW_COPY(MessageAddedNotification);
public:
static std::unique_ptr<MessageAddedNotification> fromValue(protocol::Value* value, ErrorSupport* errors);
~MessageAddedNotification() override { }
protocol::Console::ConsoleMessage* getMessage() { return m_message.get(); }
void setMessage(std::unique_ptr<protocol::Console::ConsoleMessage> value) { m_message = std::move(value); }
std::unique_ptr<protocol::DictionaryValue> toValue() const;
String serialize() override { return toValue()->serialize(); }
std::unique_ptr<MessageAddedNotification> clone() const;
template<int STATE>
class MessageAddedNotificationBuilder {
public:
enum {
NoFieldsSet = 0,
MessageSet = 1 << 1,
AllFieldsSet = (MessageSet | 0)};
MessageAddedNotificationBuilder<STATE | MessageSet>& setMessage(std::unique_ptr<protocol::Console::ConsoleMessage> value)
{
static_assert(!(STATE & MessageSet), "property message should not be set yet");
m_result->setMessage(std::move(value));
return castState<MessageSet>();
}
std::unique_ptr<MessageAddedNotification> build()
{
static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
return std::move(m_result);
}
private:
friend class MessageAddedNotification;
MessageAddedNotificationBuilder() : m_result(new MessageAddedNotification()) { }
template<int STEP> MessageAddedNotificationBuilder<STATE | STEP>& castState()
{
return *reinterpret_cast<MessageAddedNotificationBuilder<STATE | STEP>*>(this);
}
std::unique_ptr<protocol::Console::MessageAddedNotification> m_result;
};
static MessageAddedNotificationBuilder<0> create()
{
return MessageAddedNotificationBuilder<0>();
}
private:
MessageAddedNotification()
{
}
std::unique_ptr<protocol::Console::ConsoleMessage> m_message;
};
// ------------- Backend interface.
class Backend {
public:
virtual ~Backend() { }
virtual DispatchResponse clearMessages() = 0;
virtual DispatchResponse disable() = 0;
virtual DispatchResponse enable() = 0;
};
// ------------- Frontend interface.
class Frontend {
public:
explicit Frontend(FrontendChannel* frontendChannel) : m_frontendChannel(frontendChannel) { }
void messageAdded(std::unique_ptr<protocol::Console::ConsoleMessage> message);
void flush();
void sendRawNotification(const String&);
private:
FrontendChannel* m_frontendChannel;
};
// ------------- Dispatcher.
class Dispatcher {
public:
static void wire(UberDispatcher*, Backend*);
private:
Dispatcher() { }
};
// ------------- Metainfo.
class Metainfo {
public:
using BackendClass = Backend;
using FrontendClass = Frontend;
using DispatcherClass = Dispatcher;
static const char domainName[];
static const char commandPrefix[];
static const char version[];
};
} // namespace Console
} // namespace v8_inspector
} // namespace protocol
#endif // !defined(v8_inspector_protocol_Console_h)
| [
"sanjay.pec@gmail.com"
] | sanjay.pec@gmail.com |
6749a55189f430112ac83a7263d22c172796433f | d864aee02bc9e3588d8e70c708448374fb2387aa | /OI/2012/11月7日上午/上午/Program/高胜寒/tournament.cpp | de1acd75e33b1a9d9ef4275f3c030704eb848189 | [] | no_license | BanSheeGun/Gun | 075ebf62891a0ab4db6ff5ca13e1ae0644248119 | 8a046a9c3eb56fb5e87897343f383253b1736694 | refs/heads/master | 2021-01-17T00:18:41.834830 | 2018-03-18T06:32:04 | 2018-03-18T06:32:04 | 44,953,535 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | #include<cstdio>
#include<cstring>
int map[60][60],cnt[60],n;
bool dfs(int x,int y){
if (x==y) return true;
for (int i=1;i<=n;i++)
if (map[x][i] && dfs(i,y)) return true;
return false;
}
int main(){
int i,a,b,x,y;
freopen("tournament.in","r",stdin);
freopen("tournament.out","w",stdout);
scanf("%d",&n);
memset(map,false,sizeof map);
memset(cnt,0,sizeof cnt);
for (i=1;i<n*(n-1)/2;i++){
scanf("%d%d",&a,&b);
map[a][b]=true;
cnt[a]++;
cnt[b]++;
}
x=y=0;
for (i=1;i<=n;i++)
if (cnt[i]!=n-1)
if (x) y=i; else x=i;
if (dfs(x,y)) printf("%d %d\n",x,y); else printf("%d %d\n",y,x);
return 0;
}
| [
"ccp750707@126.com"
] | ccp750707@126.com |
b43e505b3e0c4911d375c6c1a1765e3a277b2c5b | cf85f8ee951490dc13648ec5815e022e31bf6676 | /src/Platform/OSX/System/TcpConnection.cpp | 8b090ceae3007c744e3aea5993b511d81c61354c | [] | no_license | rainmanp7/phfx | 1c61ee112c22e9c942287536891a7bf94bb9a829 | c00be01f89ceca09003f4f10bb42ab80a363c9b5 | refs/heads/master | 2020-03-28T03:04:06.843858 | 2018-09-07T02:50:01 | 2018-09-07T02:50:01 | 147,617,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,748 | cpp | // Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2017-2018 PHF-project developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "TcpConnection.h"
#include <cassert>
#include <netinet/in.h>
#include <sys/event.h>
#include <sys/errno.h>
#include <sys/socket.h>
#include <unistd.h>
#include "Dispatcher.h"
#include <System/ErrorMessage.h>
#include <System/InterruptedException.h>
#include <System/Ipv4Address.h>
namespace System {
TcpConnection::TcpConnection() : dispatcher(nullptr) {
}
TcpConnection::TcpConnection(TcpConnection&& other) : dispatcher(other.dispatcher) {
if (other.dispatcher != nullptr) {
assert(other.readContext == nullptr);
assert(other.writeContext == nullptr);
connection = other.connection;
readContext = nullptr;
writeContext = nullptr;
other.dispatcher = nullptr;
}
}
TcpConnection::~TcpConnection() {
if (dispatcher != nullptr) {
assert(readContext == nullptr);
assert(writeContext == nullptr);
int result = close(connection);
assert(result != -1);
}
}
TcpConnection& TcpConnection::operator=(TcpConnection&& other) {
if (dispatcher != nullptr) {
assert(readContext == nullptr);
assert(writeContext == nullptr);
if (close(connection) == -1) {
throw std::runtime_error("TcpConnection::operator=, close failed, " + lastErrorMessage());
}
}
dispatcher = other.dispatcher;
if (other.dispatcher != nullptr) {
assert(other.readContext == nullptr);
assert(other.writeContext == nullptr);
connection = other.connection;
readContext = nullptr;
writeContext = nullptr;
other.dispatcher = nullptr;
}
return *this;
}
size_t TcpConnection::read(uint8_t* data, size_t size) {
assert(dispatcher != nullptr);
assert(readContext == nullptr);
if (dispatcher->interrupted()) {
throw InterruptedException();
}
std::string message;
ssize_t transferred = ::recv(connection, (void *)data, size, 0);
if (transferred == -1) {
if (errno != EAGAIN && errno != EWOULDBLOCK) {
message = "recv failed, " + lastErrorMessage();
} else {
OperationContext context;
context.context = dispatcher->getCurrentContext();
context.interrupted = false;
struct kevent event;
EV_SET(&event, connection, EVFILT_READ, EV_ADD | EV_ENABLE | EV_CLEAR | EV_ONESHOT, 0, 0, &context);
if (kevent(dispatcher->getKqueue(), &event, 1, NULL, 0, NULL) == -1) {
message = "kevent failed, " + lastErrorMessage();
} else {
readContext = &context;
dispatcher->getCurrentContext()->interruptProcedure = [&] {
assert(dispatcher != nullptr);
assert(readContext != nullptr);
OperationContext* context = static_cast<OperationContext*>(readContext);
if (!context->interrupted) {
struct kevent event;
EV_SET(&event, connection, EVFILT_READ, EV_DELETE | EV_DISABLE, 0, 0, NULL);
if (kevent(dispatcher->getKqueue(), &event, 1, NULL, 0, NULL) == -1) {
throw std::runtime_error("TcpListener::interruptionProcedure, kevent failed, " + lastErrorMessage());
}
context->interrupted = true;
dispatcher->pushContext(context->context);
}
};
dispatcher->dispatch();
dispatcher->getCurrentContext()->interruptProcedure = nullptr;
assert(dispatcher != nullptr);
assert(context.context == dispatcher->getCurrentContext());
assert(readContext == &context);
readContext = nullptr;
context.context = nullptr;
if (context.interrupted) {
throw InterruptedException();
}
ssize_t transferred = ::recv(connection, (void *)data, size, 0);
if (transferred == -1) {
message = "recv failed, " + lastErrorMessage();
} else {
assert(transferred <= static_cast<ssize_t>(size));
return transferred;
}
}
}
throw std::runtime_error("TcpConnection::read, " + message);
}
assert(transferred <= static_cast<ssize_t>(size));
return transferred;
}
size_t TcpConnection::write(const uint8_t* data, size_t size) {
assert(dispatcher != nullptr);
assert(writeContext == nullptr);
if (dispatcher->interrupted()) {
throw InterruptedException();
}
std::string message;
if (size == 0) {
if (shutdown(connection, SHUT_WR) == -1) {
throw std::runtime_error("TcpConnection::write, shutdown failed, " + lastErrorMessage());
}
return 0;
}
ssize_t transferred = ::send(connection, (void *)data, size, 0);
if (transferred == -1) {
if (errno != EAGAIN && errno != EWOULDBLOCK) {
message = "send failed, " + lastErrorMessage();
} else {
OperationContext context;
context.context = dispatcher->getCurrentContext();
context.interrupted = false;
struct kevent event;
EV_SET(&event, connection, EVFILT_WRITE, EV_ADD | EV_ENABLE, 0, 0, &context);
if (kevent(dispatcher->getKqueue(), &event, 1, NULL, 0, NULL) == -1) {
message = "kevent failed, " + lastErrorMessage();
} else {
writeContext = &context;
dispatcher->getCurrentContext()->interruptProcedure = [&] {
assert(dispatcher != nullptr);
assert(writeContext != nullptr);
OperationContext* context = static_cast<OperationContext*>(writeContext);
if (!context->interrupted) {
struct kevent event;
EV_SET(&event, connection, EVFILT_WRITE, EV_DELETE | EV_DISABLE, 0, 0, NULL);
if (kevent(dispatcher->getKqueue(), &event, 1, NULL, 0, NULL) == -1) {
throw std::runtime_error("TcpListener::stop, kevent failed, " + lastErrorMessage());
}
context->interrupted = true;
dispatcher->pushContext(context->context);
}
};
dispatcher->dispatch();
dispatcher->getCurrentContext()->interruptProcedure = nullptr;
assert(dispatcher != nullptr);
assert(context.context == dispatcher->getCurrentContext());
assert(writeContext == &context);
writeContext = nullptr;
context.context = nullptr;
if (context.interrupted) {
throw InterruptedException();
}
ssize_t transferred = ::send(connection, (void *)data, size, 0);
if (transferred == -1) {
message = "send failed, " + lastErrorMessage();
} else {
assert(transferred <= static_cast<ssize_t>(size));
return transferred;
}
}
}
throw std::runtime_error("TcpConnection::write, " + message);
}
assert(transferred <= static_cast<ssize_t>(size));
return transferred;
}
std::pair<Ipv4Address, uint16_t> TcpConnection::getPeerAddressAndPort() const {
sockaddr_in addr;
socklen_t size = sizeof(addr);
if (getpeername(connection, reinterpret_cast<sockaddr*>(&addr), &size) != 0) {
throw std::runtime_error("TcpConnection::getPeerAddress, getpeername failed, " + lastErrorMessage());
}
assert(size == sizeof(sockaddr_in));
return std::make_pair(Ipv4Address(htonl(addr.sin_addr.s_addr)), htons(addr.sin_port));
}
TcpConnection::TcpConnection(Dispatcher& dispatcher, int socket) : dispatcher(&dispatcher), connection(socket), readContext(nullptr), writeContext(nullptr) {
int val = 1;
if (setsockopt(connection, SOL_SOCKET, SO_NOSIGPIPE, (void*)&val, sizeof val) == -1) {
throw std::runtime_error("TcpConnection::TcpConnection, setsockopt failed, " + lastErrorMessage());
}
}
}
| [
"muslimsoap@gmail.com"
] | muslimsoap@gmail.com |
d6fef453a85f1de3838bc3b35a941a39d7220a32 | ec68c973b7cd3821dd70ed6787497a0f808e18e1 | /Cpp/SDK/Widget_EquipmentSlot_classes.h | f6d653b37e043dfa75aeda193a19a0c8b43f5d36 | [] | no_license | Hengle/zRemnant-SDK | 05be5801567a8cf67e8b03c50010f590d4e2599d | be2d99fb54f44a09ca52abc5f898e665964a24cb | refs/heads/main | 2023-07-16T04:44:43.113226 | 2021-08-27T14:26:40 | 2021-08-27T14:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | h | #pragma once
// Name: Remnant, Version: 1.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass Widget_EquipmentSlot.Widget_EquipmentSlot_C
// 0x0000
class UWidget_EquipmentSlot_C : public UWidget_FocusWidget_C
{
public:
static UClass* StaticClass()
{
static auto ptr = UObject::FindClass("WidgetBlueprintGeneratedClass Widget_EquipmentSlot.Widget_EquipmentSlot_C");
return ptr;
}
void GetEquippedItem();
void SimulateAction();
void GetSlotItemType();
void Refresh();
void Cache();
void Construct();
void OnInventoryChanged_Event_1();
void ExecuteUbergraph_Widget_EquipmentSlot();
void OnSelected__DelegateSignature();
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
2b4126c66125f8adb3bbc37d4ce4ddc984f18ef5 | 057fdc8f0cfe51041878cafebafbef0a3b07360c | /src/ppl/nn/engines/x86/optimizer/opt_kernel_creator_manager.cc | 79ff4e5674ac9f2f8f6e636db6b21bb500949f48 | [
"Apache-2.0"
] | permissive | wonderzy/ppl.nn | 8ca93f7bd4d136b88489674a12fa31544c3217d6 | 7dd75a1077867fc9a762449953417088446ae2f8 | refs/heads/master | 2023-06-06T13:45:00.119077 | 2021-07-01T13:39:47 | 2021-07-01T13:39:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,611 | cc | #include "ppl/nn/engines/x86/optimizer/opt_kernel_creator_manager.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/conv_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/add_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/and_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/argmax_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/average_pool_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/batch_normalization_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/cast_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/ceil_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/convtranspose_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/clip_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/concat_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/constant_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/constant_of_shape_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/depth_to_space_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/div_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/equal_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/exp_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/expand_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/flatten_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/floor_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/gather_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/gather_nd_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/gemm_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/greater_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/identity_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/if_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/leaky_relu_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/less_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/log_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/loop_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/matmul_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/max_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/max_pool_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/max_unpool_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/min_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/mul_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/non_max_suppression_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/non_zero_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/not_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/roialign_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/pad_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/pow_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/range_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/reduce_max_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/reduce_min_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/reduce_mean_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/reduce_prod_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/reduce_sum_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/relu_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/reshape_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/resize_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/scatter_elements_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/scatter_nd_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/sequence_at_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/shape_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/sigmoid_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/slice_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/softmax_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/split_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/split_to_sequence_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/sqrt_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/squeeze_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/sub_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/sum_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/tanh_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/tile_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/topk_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/transpose_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/unsqueeze_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/onnx/where_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/mmcv/mmcv_gridsample_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/mmcv/mmcv_non_max_suppression_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/mmcv/mmcv_roialign_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/ppl/reorder_op.h"
#include "ppl/nn/engines/x86/optimizer/ops/ppl/channel_shuffle_op.h"
#include "ppl/nn/common/logger.h"
using namespace std;
using namespace ppl::common;
namespace ppl { namespace nn { namespace x86 {
RetCode OptKernelCreatorManager::Register(const string& domain, const string& type, OptKernelCreator creator) {
auto domain_ret = domain_type_creator_.insert(make_pair(domain, map<string, OptKernelCreator>()));
auto type_ret = domain_ret.first->second.insert(make_pair(type, creator));
return type_ret.second ? RC_SUCCESS : RC_EXISTS;
}
OptKernelCreator OptKernelCreatorManager::Find(const string& domain, const string& type) {
auto type_creator_ref = domain_type_creator_.find(domain);
if (type_creator_ref != domain_type_creator_.end()) {
auto creator_ref = type_creator_ref->second.find(type);
if (creator_ref != type_creator_ref->second.end()) {
return creator_ref->second;
}
}
return nullptr;
}
template <typename T>
static X86OptKernel* GenericCreateOptKernel(const ir::Node* node) {
return new T(node);
}
#define REGISTER_OPT_KERNEL_CREATOR(domain, type, classname) \
domain_type_creator_[domain].insert(make_pair(type, GenericCreateOptKernel<classname>))
OptKernelCreatorManager::OptKernelCreatorManager() {
// onnx op default domain is ""
REGISTER_OPT_KERNEL_CREATOR("", "Conv", ConvOp);
REGISTER_OPT_KERNEL_CREATOR("", "Add", AddOp);
REGISTER_OPT_KERNEL_CREATOR("", "And", AndOp);
REGISTER_OPT_KERNEL_CREATOR("", "ArgMax", ArgmaxOp);
REGISTER_OPT_KERNEL_CREATOR("", "AveragePool", AveragePoolOp);
REGISTER_OPT_KERNEL_CREATOR("", "GlobalAveragePool", AveragePoolOp);
REGISTER_OPT_KERNEL_CREATOR("", "BatchNormalization", BatchNormalizationOp);
REGISTER_OPT_KERNEL_CREATOR("", "Cast", CastOp);
REGISTER_OPT_KERNEL_CREATOR("", "Ceil", CeilOp);
REGISTER_OPT_KERNEL_CREATOR("", "ConvTranspose", ConvTransposeOp);
REGISTER_OPT_KERNEL_CREATOR("", "Clip", ClipOp);
REGISTER_OPT_KERNEL_CREATOR("", "Concat", ConcatOp);
REGISTER_OPT_KERNEL_CREATOR("", "Constant", ConstantOp);
REGISTER_OPT_KERNEL_CREATOR("", "ConstantOfShape", ConstantOfShapeOp);
REGISTER_OPT_KERNEL_CREATOR("", "DepthToSpace", DepthToSpaceOp);
REGISTER_OPT_KERNEL_CREATOR("", "Div", DivOp);
REGISTER_OPT_KERNEL_CREATOR("", "Equal", EqualOp);
REGISTER_OPT_KERNEL_CREATOR("", "Exp", ExpOp);
REGISTER_OPT_KERNEL_CREATOR("", "Expand", ExpandOp);
REGISTER_OPT_KERNEL_CREATOR("", "Flatten", FlattenOp);
REGISTER_OPT_KERNEL_CREATOR("", "Floor", FloorOp);
REGISTER_OPT_KERNEL_CREATOR("", "GatherND", GatherNDOp);
REGISTER_OPT_KERNEL_CREATOR("", "Gather", GatherOp);
REGISTER_OPT_KERNEL_CREATOR("", "Gemm", GemmOp);
REGISTER_OPT_KERNEL_CREATOR("", "Greater", GreaterOp);
REGISTER_OPT_KERNEL_CREATOR("", "Identity", IdentityOp);
REGISTER_OPT_KERNEL_CREATOR("", "If", IfOp);
REGISTER_OPT_KERNEL_CREATOR("", "LeakyRelu", LeakyReluOp);
REGISTER_OPT_KERNEL_CREATOR("", "Less", LessOp);
REGISTER_OPT_KERNEL_CREATOR("", "Log", LogOp);
REGISTER_OPT_KERNEL_CREATOR("", "Loop", LoopOp);
REGISTER_OPT_KERNEL_CREATOR("", "MatMul", MatMulOp);
REGISTER_OPT_KERNEL_CREATOR("", "Max", MaxOp);
REGISTER_OPT_KERNEL_CREATOR("", "MaxPool", MaxPoolOp);
REGISTER_OPT_KERNEL_CREATOR("", "MaxUnpool", MaxUnPoolOp);
REGISTER_OPT_KERNEL_CREATOR("", "Min", MinOp);
REGISTER_OPT_KERNEL_CREATOR("", "Mul", MulOp);
REGISTER_OPT_KERNEL_CREATOR("", "NonMaxSuppression", NonMaxSupressionOp);
REGISTER_OPT_KERNEL_CREATOR("", "NonZero", NonZeroOp);
REGISTER_OPT_KERNEL_CREATOR("", "Not", NotOp);
REGISTER_OPT_KERNEL_CREATOR("", "Pad", PadOp);
REGISTER_OPT_KERNEL_CREATOR("", "Pow", PowOp);
REGISTER_OPT_KERNEL_CREATOR("", "Range", RangeOp);
REGISTER_OPT_KERNEL_CREATOR("", "ReduceMax", ReduceMaxOp);
REGISTER_OPT_KERNEL_CREATOR("", "ReduceMin", ReduceMinOp);
REGISTER_OPT_KERNEL_CREATOR("", "ReduceMean", ReduceMeanOp);
REGISTER_OPT_KERNEL_CREATOR("", "ReduceProd", ReduceProdOp);
REGISTER_OPT_KERNEL_CREATOR("", "ReduceSum", ReduceSumOp);
REGISTER_OPT_KERNEL_CREATOR("", "Relu", ReluOp);
REGISTER_OPT_KERNEL_CREATOR("", "Reshape", ReshapeOp);
REGISTER_OPT_KERNEL_CREATOR("", "Resize", ResizeOp);
REGISTER_OPT_KERNEL_CREATOR("", "RoiAlign", ROIAlignOp);
REGISTER_OPT_KERNEL_CREATOR("", "ScatterElements", ScatterElementsOp);
REGISTER_OPT_KERNEL_CREATOR("", "ScatterND", ScatterNDOp);
REGISTER_OPT_KERNEL_CREATOR("", "SequenceAt", SequenceAtOp);
REGISTER_OPT_KERNEL_CREATOR("", "Shape", ShapeOp);
REGISTER_OPT_KERNEL_CREATOR("", "Sigmoid", SigmoidOp);
REGISTER_OPT_KERNEL_CREATOR("", "Slice", SliceOp);
REGISTER_OPT_KERNEL_CREATOR("", "Softmax", SoftmaxOp);
REGISTER_OPT_KERNEL_CREATOR("", "Split", SplitOp);
REGISTER_OPT_KERNEL_CREATOR("", "SplitToSequence", SplitToSequenceOp);
REGISTER_OPT_KERNEL_CREATOR("", "Sqrt", SqrtOp);
REGISTER_OPT_KERNEL_CREATOR("", "Squeeze", SqueezeOp);
REGISTER_OPT_KERNEL_CREATOR("", "Sub", SubOp);
REGISTER_OPT_KERNEL_CREATOR("", "Sum", SumOp);
REGISTER_OPT_KERNEL_CREATOR("", "Tanh", TanhOp);
REGISTER_OPT_KERNEL_CREATOR("", "Tile", TileOp);
REGISTER_OPT_KERNEL_CREATOR("", "TopK", TopKOp);
REGISTER_OPT_KERNEL_CREATOR("", "Transpose", TransposeOp);
REGISTER_OPT_KERNEL_CREATOR("", "Unsqueeze", UnsqueezeOp);
REGISTER_OPT_KERNEL_CREATOR("", "Where", WhereOp);
// mmcv custom op
REGISTER_OPT_KERNEL_CREATOR("mmcv", "grid_sampler", MMCVGridSampleOp);
REGISTER_OPT_KERNEL_CREATOR("mmcv", "NonMaxSuppression", MMCVNonMaxSuppressionOp);
REGISTER_OPT_KERNEL_CREATOR("mmcv", "MMCVRoiAlign", MMCVROIAlignOp);
// ppl
REGISTER_OPT_KERNEL_CREATOR("ppl", "ChannelShuffle", ChannelShuffleOp);
REGISTER_OPT_KERNEL_CREATOR("ppl", "Reorder", ReorderOp);
}
}}} // namespace ppl::nn::x86
| [
"openppl.ai@hotmail.com"
] | openppl.ai@hotmail.com |
131f7bee4d1bc1825882e74f8233fc62a852e0a8 | 188b947949e17fac6b4601a77ad6ca6c63b62117 | /Temp/il2cppOutput/il2cppOutput/Bulk_UnityEngine.UI_1.cpp | b319950276a5a066a862ccc7a73e15d8f1ac94a8 | [] | no_license | Zeppar/Secret | 93b35b99712668eddf232a4c3479124afa5732a5 | 77e5b9ef0e66e640c12cfc93f7edce220840b4d1 | refs/heads/master | 2021-01-01T18:20:35.334929 | 2017-07-25T13:51:38 | 2017-07-25T13:51:38 | 98,311,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934,149 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "mscorlib_System_Array3829468939.h"
#include "UnityEngine_UI_UnityEngine_UI_LayoutUtility4076838048.h"
#include "UnityEngine_UnityEngine_RectTransform3349966182.h"
#include "mscorlib_System_Single2076509932.h"
#include "mscorlib_System_Int322071877448.h"
#include "mscorlib_System_Object2689449295.h"
#include "mscorlib_System_IntPtr2504060609.h"
#include "System_Core_System_Func_2_gen1976155184.h"
#include "mscorlib_System_Void1841601450.h"
#include "UnityEngine_UnityEngine_Object1021602117.h"
#include "mscorlib_System_RuntimeTypeHandle2330101084.h"
#include "mscorlib_System_Type1303803226.h"
#include "mscorlib_System_Collections_Generic_List_1_gen3188497603.h"
#include "mscorlib_System_Boolean3825574718.h"
#include "UnityEngine_UnityEngine_Component3819376471.h"
#include "UnityEngine_UnityEngine_Behaviour955675639.h"
#include "UnityEngine_UI_UnityEngine_UI_Mask2977958238.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_UIBehaviou3960014691.h"
#include "UnityEngine_UI_UnityEngine_UI_Graphic2426225576.h"
#include "UnityEngine_UnityEngine_CanvasRenderer261436805.h"
#include "UnityEngine_UnityEngine_Material193706927.h"
#include "UnityEngine_UnityEngine_Vector22243707579.h"
#include "UnityEngine_UnityEngine_Camera189460977.h"
#include "UnityEngine_UnityEngine_Transform3275118058.h"
#include "UnityEngine_UnityEngine_Rendering_StencilOp2936374925.h"
#include "UnityEngine_UnityEngine_Rendering_CompareFunction457874581.h"
#include "UnityEngine_UnityEngine_Rendering_ColorWriteMask926634530.h"
#include "mscorlib_System_String2029220233.h"
#include "UnityEngine_UnityEngine_GameObject1756533147.h"
#include "UnityEngine_UI_UnityEngine_UI_MaskableGraphic540192618.h"
#include "UnityEngine_UI_UnityEngine_UI_MaskableGraphic_Cull3778758259.h"
#include "UnityEngine_UnityEngine_Vector32243707580.h"
#include "UnityEngine_UnityEngine_Rect3681755626.h"
#include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen3863924733.h"
#include "UnityEngine_UnityEngine_Canvas209405766.h"
#include "UnityEngine_UI_UnityEngine_UI_RectMask2D1156185964.h"
#include "UnityEngine_UI_UnityEngine_UI_MaskUtilities1936577068.h"
#include "mscorlib_System_Collections_Generic_List_1_gen3873494194.h"
#include "mscorlib_System_Collections_Generic_List_1_gen2347079370.h"
#include "mscorlib_System_Collections_Generic_List_1_gen525307096.h"
#include "UnityEngine_UI_UnityEngine_UI_Misc2977957982.h"
#include "UnityEngine_UI_UnityEngine_UI_Navigation1571958496.h"
#include "UnityEngine_UI_UnityEngine_UI_Navigation_Mode1081683921.h"
#include "UnityEngine_UI_UnityEngine_UI_Selectable1490392188.h"
#include "UnityEngine_UI_UnityEngine_UI_Outline1417504278.h"
#include "UnityEngine_UI_UnityEngine_UI_Shadow4269599528.h"
#include "UnityEngine_UI_UnityEngine_UI_VertexHelper385374196.h"
#include "UnityEngine_UnityEngine_Color2020392075.h"
#include "UnityEngine_UnityEngine_Color32874517518.h"
#include "mscorlib_System_Collections_Generic_List_1_gen573379950.h"
#include "UnityEngine_UI_UnityEngine_UI_PositionAsUV11102546563.h"
#include "UnityEngine_UI_UnityEngine_UI_BaseMeshEffect1728560551.h"
#include "UnityEngine_UnityEngine_UIVertex1204258818.h"
#include "UnityEngine_UI_UnityEngine_UI_RawImage2749640213.h"
#include "UnityEngine_UnityEngine_Texture2243626319.h"
#include "UnityEngine_UnityEngine_Texture2D3542995729.h"
#include "UnityEngine_UnityEngine_Vector42243707581.h"
#include "UnityEngine_UI_UnityEngine_UI_RectangularVertexCli3349113845.h"
#include "System_Core_System_Collections_Generic_HashSet_1_ge274736911.h"
#include "System_Core_System_Collections_Generic_HashSet_1_E3058020049.h"
#include "System_Core_System_Collections_Generic_HashSet_1_E3806193287.h"
#include "UnityEngine_UI_UnityEngine_UI_ReflectionMethodsCac3343836395.h"
#include "mscorlib_System_Reflection_MethodInfo3330546337.h"
#include "UnityEngine_UI_UnityEngine_UI_ReflectionMethodsCac3928470916.h"
#include "UnityEngine_UI_UnityEngine_UI_ReflectionMethodsCac3435657708.h"
#include "UnityEngine_UI_UnityEngine_UI_ReflectionMethodsCac2260664863.h"
#include "UnityEngine_UI_UnityEngine_UI_ReflectionMethodsCac2213949596.h"
#include "mscorlib_System_Delegate3022476291.h"
#include "UnityEngine_UnityEngine_Ray2469606224.h"
#include "UnityEngine_UnityEngine_RaycastHit2D4063908774.h"
#include "mscorlib_System_AsyncCallback163412349.h"
#include "UnityEngine_UnityEngine_RaycastHit87180320.h"
#include "UnityEngine_UI_UnityEngine_UI_Scrollbar3248359358.h"
#include "UnityEngine_UI_UnityEngine_UI_Scrollbar_Direction3696775921.h"
#include "UnityEngine_UI_UnityEngine_UI_Scrollbar_ScrollEven1794825321.h"
#include "UnityEngine_UI_UnityEngine_UI_CanvasUpdate1528800019.h"
#include "UnityEngine_UnityEngine_DrivenRectTransformTracker154385424.h"
#include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen2114859947.h"
#include "UnityEngine_UI_UnityEngine_UI_Scrollbar_Axis2427050347.h"
#include "UnityEngine_UnityEngine_DrivenTransformProperties2488747555.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_PointerEve1599784723.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_PointerEve2981963041.h"
#include "UnityEngine_UnityEngine_Coroutine2299508840.h"
#include "UnityEngine_UnityEngine_MonoBehaviour1158329972.h"
#include "UnityEngine_UI_UnityEngine_UI_Scrollbar_U3CClickRe4156771994.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_AxisEventD1524870173.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_MoveDirect1406276862.h"
#include "mscorlib_System_UInt322149682021.h"
#include "UnityEngine_UnityEngine_WaitForEndOfFrame1785723201.h"
#include "mscorlib_System_NotSupportedException1793819818.h"
#include "UnityEngine_UI_UnityEngine_UI_ScrollRect1199013257.h"
#include "UnityEngine_UI_UnityEngine_UI_ScrollRect_MovementTy905360158.h"
#include "UnityEngine_UI_UnityEngine_UI_ScrollRect_ScrollRec3529018992.h"
#include "UnityEngine_UnityEngine_Events_UnityAction_1_gen3443095683.h"
#include "UnityEngine_UI_UnityEngine_UI_ScrollRect_Scrollbar3834843475.h"
#include "UnityEngine_UnityEngine_Bounds3033363703.h"
#include "UnityEngine_UnityEngine_Events_UnityEvent_1_gen2282057594.h"
#include "UnityEngine_UnityEngine_Matrix4x42933234003.h"
#include "UnityEngine_UI_UnityEngine_UI_ColorBlock2652774230.h"
#include "UnityEngine_UI_UnityEngine_UI_Selectable_Transition605142169.h"
#include "UnityEngine_UI_UnityEngine_UI_AnimationTriggers3244928895.h"
#include "mscorlib_System_Collections_Generic_List_1_gen2665681875.h"
#include "mscorlib_System_Collections_Generic_List_1_gen859513320.h"
#include "UnityEngine_UI_UnityEngine_UI_SpriteState1353336012.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_EventSyste3466835263.h"
#include "UnityEngine_UI_UnityEngine_UI_Image2042527209.h"
#include "UnityEngine_UnityEngine_Animator69676727.h"
#include "UnityEngine_UnityEngine_CanvasGroup3296560743.h"
#include "UnityEngine_UI_UnityEngine_UI_Selectable_Selection3187567897.h"
#include "UnityEngine_UnityEngine_Sprite309593783.h"
#include "UnityEngine_UnityEngine_Quaternion4030073918.h"
#include "UnityEngine_UI_UnityEngine_EventSystems_BaseEventD2681005625.h"
#include "UnityEngine_UI_UnityEngine_UI_SetPropertyUtility4019374597.h"
#include "mscorlib_System_Byte3683104436.h"
#include "UnityEngine_UI_UnityEngine_UI_Slider297367283.h"
#include "UnityEngine_UI_UnityEngine_UI_Slider_Direction1525323322.h"
#include "UnityEngine_UI_UnityEngine_UI_Slider_SliderEvent2111116400.h"
#include "UnityEngine_UI_UnityEngine_UI_Image_Type3352948571.h"
#include "UnityEngine_UI_UnityEngine_UI_Slider_Axis375128448.h"
#include "UnityEngine_UI_UnityEngine_UI_StencilMaterial1630303189.h"
#include "UnityEngine_UnityEngine_HideFlags1434274199.h"
#include "UnityEngine_UI_UnityEngine_UI_StencilMaterial_MatE3157325053.h"
#include "mscorlib_System_Collections_Generic_List_1_gen2526446185.h"
#include "UnityEngine_UI_UnityEngine_UI_Text356221433.h"
#include "UnityEngine_UI_UnityEngine_UI_FontData2614388407.h"
#include "UnityEngine_UnityEngine_TextGenerator647235000.h"
#include "UnityEngine_UnityEngine_Font4239498691.h"
#include "UnityEngine_UnityEngine_TextAnchor112990806.h"
#include "UnityEngine_UnityEngine_HorizontalWrapMode2027154177.h"
#include "UnityEngine_UnityEngine_VerticalWrapMode3668245347.h"
#include "UnityEngine_UnityEngine_FontStyle2764949590.h"
#include "UnityEngine_UnityEngine_TextGenerationSettings2543476768.h"
#include "UnityEngine_UI_UnityEngine_UI_Toggle3976754468.h"
#include "UnityEngine_UI_UnityEngine_UI_Toggle_ToggleTransit1114673831.h"
#include "UnityEngine_UI_UnityEngine_UI_Toggle_ToggleEvent1896830814.h"
#include "UnityEngine_UI_UnityEngine_UI_ToggleGroup1030026315.h"
#include "mscorlib_System_Collections_Generic_List_1_gen3345875600.h"
#include "mscorlib_System_ArgumentException3259014390.h"
#include "mscorlib_System_Predicate_1_gen2419724583.h"
#include "System_Core_System_Func_2_gen2318645467.h"
#include "mscorlib_System_Collections_Generic_List_1_gen1612828712.h"
#include "mscorlib_System_Collections_Generic_List_1_gen243638650.h"
#include "mscorlib_System_Collections_Generic_List_1_gen1612828711.h"
#include "mscorlib_System_Collections_Generic_List_1_gen1612828713.h"
#include "mscorlib_System_Collections_Generic_List_1_gen1440998580.h"
#include "UnityEngine_UnityEngine_Mesh1356156583.h"
#include "UnityEngine_UI_UnityEngine_UI_VerticalLayoutGroup2468316403.h"
#include "UnityEngine_UI_UnityEngine_UI_HorizontalOrVertical1968298610.h"
#include "UnityEngine_UI_UnityEngine_UI_LayoutGroup3962498969.h"
// UnityEngine.RectTransform
struct RectTransform_t3349966182;
// System.Func`2<UnityEngine.UI.ILayoutElement,System.Single>
struct Func_2_t1976155184;
// System.Object
struct Il2CppObject;
// System.Func`2<System.Object,System.Single>
struct Func_2_t2212564818;
// UnityEngine.UI.ILayoutElement
struct ILayoutElement_t1975293769;
// UnityEngine.Object
struct Object_t1021602117;
// System.Collections.Generic.List`1<UnityEngine.Component>
struct List_1_t3188497603;
// System.Collections.Generic.List`1<System.Object>
struct List_1_t2058570427;
// System.Type
struct Type_t;
// UnityEngine.Component
struct Component_t3819376471;
// UnityEngine.Behaviour
struct Behaviour_t955675639;
// UnityEngine.UI.Mask
struct Mask_t2977958238;
// UnityEngine.EventSystems.UIBehaviour
struct UIBehaviour_t3960014691;
// UnityEngine.UI.Graphic
struct Graphic_t2426225576;
// UnityEngine.CanvasRenderer
struct CanvasRenderer_t261436805;
// UnityEngine.Material
struct Material_t193706927;
// UnityEngine.Camera
struct Camera_t189460977;
// UnityEngine.Transform
struct Transform_t3275118058;
// UnityEngine.GameObject
struct GameObject_t1756533147;
// UnityEngine.UI.MaskableGraphic
struct MaskableGraphic_t540192618;
// UnityEngine.UI.MaskableGraphic/CullStateChangedEvent
struct CullStateChangedEvent_t3778758259;
// UnityEngine.Events.UnityEvent`1<System.Boolean>
struct UnityEvent_1_t3863924733;
// UnityEngine.Vector3[]
struct Vector3U5BU5D_t1172311765;
// UnityEngine.Canvas
struct Canvas_t209405766;
// UnityEngine.UI.RectMask2D
struct RectMask2D_t1156185964;
// UnityEngine.UI.IClippable
struct IClippable_t1941276057;
// UnityEngine.UI.MaskUtilities
struct MaskUtilities_t1936577068;
// System.Collections.Generic.List`1<UnityEngine.Canvas>
struct List_1_t3873494194;
// System.Collections.Generic.List`1<UnityEngine.UI.Mask>
struct List_1_t2347079370;
// System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>
struct List_1_t525307096;
// UnityEngine.UI.Selectable
struct Selectable_t1490392188;
// UnityEngine.UI.Outline
struct Outline_t1417504278;
// UnityEngine.UI.Shadow
struct Shadow_t4269599528;
// UnityEngine.UI.VertexHelper
struct VertexHelper_t385374196;
// System.Collections.Generic.List`1<UnityEngine.UIVertex>
struct List_1_t573379950;
// UnityEngine.UI.PositionAsUV1
struct PositionAsUV1_t1102546563;
// UnityEngine.UI.BaseMeshEffect
struct BaseMeshEffect_t1728560551;
// UnityEngine.UI.RawImage
struct RawImage_t2749640213;
// UnityEngine.Texture
struct Texture_t2243626319;
// UnityEngine.UI.RectangularVertexClipper
struct RectangularVertexClipper_t3349113845;
// System.Collections.Generic.HashSet`1<UnityEngine.UI.IClippable>
struct HashSet_1_t274736911;
// System.Collections.Generic.HashSet`1<System.Object>
struct HashSet_1_t1022910149;
// UnityEngine.UI.IClipper
struct IClipper_t900477982;
// UnityEngine.UI.ReflectionMethodsCache
struct ReflectionMethodsCache_t3343836395;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.String
struct String_t;
// System.Type[]
struct TypeU5BU5D_t1664964607;
// System.Delegate
struct Delegate_t3022476291;
// UnityEngine.UI.ReflectionMethodsCache/GetRayIntersectionAllCallback
struct GetRayIntersectionAllCallback_t2213949596;
// UnityEngine.RaycastHit2D[]
struct RaycastHit2DU5BU5D_t4176517891;
// System.IAsyncResult
struct IAsyncResult_t1999651008;
// System.AsyncCallback
struct AsyncCallback_t163412349;
// UnityEngine.UI.ReflectionMethodsCache/Raycast2DCallback
struct Raycast2DCallback_t2260664863;
// UnityEngine.UI.ReflectionMethodsCache/Raycast3DCallback
struct Raycast3DCallback_t3928470916;
// UnityEngine.UI.ReflectionMethodsCache/RaycastAllCallback
struct RaycastAllCallback_t3435657708;
// UnityEngine.RaycastHit[]
struct RaycastHitU5BU5D_t1214023521;
// UnityEngine.UI.Scrollbar
struct Scrollbar_t3248359358;
// UnityEngine.UI.Scrollbar/ScrollEvent
struct ScrollEvent_t1794825321;
// UnityEngine.Events.UnityEvent`1<System.Single>
struct UnityEvent_1_t2114859947;
// UnityEngine.EventSystems.PointerEventData
struct PointerEventData_t1599784723;
// System.Collections.IEnumerator
struct IEnumerator_t1466026749;
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t1158329972;
// UnityEngine.Coroutine
struct Coroutine_t2299508840;
// UnityEngine.UI.Scrollbar/<ClickRepeat>c__Iterator0
struct U3CClickRepeatU3Ec__Iterator0_t4156771994;
// UnityEngine.EventSystems.AxisEventData
struct AxisEventData_t1524870173;
// UnityEngine.WaitForEndOfFrame
struct WaitForEndOfFrame_t1785723201;
// System.NotSupportedException
struct NotSupportedException_t1793819818;
// UnityEngine.UI.ScrollRect
struct ScrollRect_t1199013257;
// UnityEngine.UI.ScrollRect/ScrollRectEvent
struct ScrollRectEvent_t3529018992;
// UnityEngine.Events.UnityAction`1<System.Single>
struct UnityAction_1_t3443095683;
// UnityEngine.UI.ICanvasElement
struct ICanvasElement_t986520779;
// UnityEngine.Events.UnityEvent`1<UnityEngine.Vector2>
struct UnityEvent_1_t2282057594;
// UnityEngine.UI.AnimationTriggers
struct AnimationTriggers_t3244928895;
// System.Collections.Generic.List`1<UnityEngine.CanvasGroup>
struct List_1_t2665681875;
// System.Collections.Generic.List`1<UnityEngine.UI.Selectable>
struct List_1_t859513320;
// UnityEngine.EventSystems.EventSystem
struct EventSystem_t3466835263;
// UnityEngine.UI.Image
struct Image_t2042527209;
// UnityEngine.Animator
struct Animator_t69676727;
// UnityEngine.CanvasGroup
struct CanvasGroup_t3296560743;
// UnityEngine.Sprite
struct Sprite_t309593783;
// UnityEngine.EventSystems.BaseEventData
struct BaseEventData_t2681005625;
// UnityEngine.UI.Slider
struct Slider_t297367283;
// UnityEngine.UI.Slider/SliderEvent
struct SliderEvent_t2111116400;
// System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>
struct List_1_t2526446185;
// UnityEngine.UI.StencilMaterial/MatEntry
struct MatEntry_t3157325053;
// System.Object[]
struct ObjectU5BU5D_t3614634134;
// UnityEngine.UI.Text
struct Text_t356221433;
// UnityEngine.UI.FontData
struct FontData_t2614388407;
// UnityEngine.TextGenerator
struct TextGenerator_t647235000;
// UnityEngine.Font
struct Font_t4239498691;
// System.Collections.Generic.IList`1<UnityEngine.UIVertex>
struct IList_1_t1745199419;
// UnityEngine.UIVertex[]
struct UIVertexU5BU5D_t3048644023;
// UnityEngine.UI.Toggle
struct Toggle_t3976754468;
// UnityEngine.UI.Toggle/ToggleEvent
struct ToggleEvent_t1896830814;
// UnityEngine.UI.ToggleGroup
struct ToggleGroup_t1030026315;
// System.Collections.Generic.List`1<UnityEngine.UI.Toggle>
struct List_1_t3345875600;
// System.ArgumentException
struct ArgumentException_t3259014390;
// System.Predicate`1<UnityEngine.UI.Toggle>
struct Predicate_1_t2419724583;
// System.Predicate`1<System.Object>
struct Predicate_1_t1132419410;
// System.Collections.Generic.IEnumerable`1<UnityEngine.UI.Toggle>
struct IEnumerable_1_t4268881513;
// System.Func`2<UnityEngine.UI.Toggle,System.Boolean>
struct Func_2_t2318645467;
// System.Func`2<System.Object,System.Boolean>
struct Func_2_t3961629604;
// System.Collections.Generic.IEnumerable`1<System.Object>
struct IEnumerable_1_t2981576340;
// System.Collections.Generic.List`1<UnityEngine.Vector3>
struct List_1_t1612828712;
// System.Collections.Generic.List`1<UnityEngine.Color32>
struct List_1_t243638650;
// System.Collections.Generic.List`1<UnityEngine.Vector2>
struct List_1_t1612828711;
// System.Collections.Generic.List`1<UnityEngine.Vector4>
struct List_1_t1612828713;
// System.Collections.Generic.List`1<System.Int32>
struct List_1_t1440998580;
// UnityEngine.Mesh
struct Mesh_t1356156583;
// System.Collections.Generic.IEnumerable`1<UnityEngine.Vector3>
struct IEnumerable_1_t2535834625;
// UnityEngine.Color32[]
struct Color32U5BU5D_t30278651;
// System.Collections.Generic.IEnumerable`1<UnityEngine.Color32>
struct IEnumerable_1_t1166644563;
// UnityEngine.Vector2[]
struct Vector2U5BU5D_t686124026;
// System.Collections.Generic.IEnumerable`1<UnityEngine.Vector2>
struct IEnumerable_1_t2535834624;
// UnityEngine.Vector4[]
struct Vector4U5BU5D_t1658499504;
// System.Collections.Generic.IEnumerable`1<UnityEngine.Vector4>
struct IEnumerable_1_t2535834626;
// System.Int32[]
struct Int32U5BU5D_t3030399641;
// System.Collections.Generic.IEnumerable`1<System.Int32>
struct IEnumerable_1_t2364004493;
// UnityEngine.UI.VerticalLayoutGroup
struct VerticalLayoutGroup_t2468316403;
// UnityEngine.UI.HorizontalOrVerticalLayoutGroup
struct HorizontalOrVerticalLayoutGroup_t1968298610;
// UnityEngine.UI.LayoutGroup
struct LayoutGroup_t3962498969;
extern Il2CppClass* LayoutUtility_t4076838048_il2cpp_TypeInfo_var;
extern Il2CppClass* Func_2_t1976155184_il2cpp_TypeInfo_var;
extern const MethodInfo* LayoutUtility_U3CGetMinWidthU3Em__0_m2819807638_MethodInfo_var;
extern const MethodInfo* Func_2__ctor_m3475534202_MethodInfo_var;
extern const uint32_t LayoutUtility_GetMinWidth_m3099306786_MetadataUsageId;
extern Il2CppClass* Mathf_t2336485820_il2cpp_TypeInfo_var;
extern const MethodInfo* LayoutUtility_U3CGetPreferredWidthU3Em__1_m858056744_MethodInfo_var;
extern const MethodInfo* LayoutUtility_U3CGetPreferredWidthU3Em__2_m2944504345_MethodInfo_var;
extern const uint32_t LayoutUtility_GetPreferredWidth_m2895813867_MetadataUsageId;
extern const MethodInfo* LayoutUtility_U3CGetFlexibleWidthU3Em__3_m3345200332_MethodInfo_var;
extern const uint32_t LayoutUtility_GetFlexibleWidth_m1731978987_MetadataUsageId;
extern const MethodInfo* LayoutUtility_U3CGetMinHeightU3Em__4_m1769295917_MethodInfo_var;
extern const uint32_t LayoutUtility_GetMinHeight_m253934105_MetadataUsageId;
extern const MethodInfo* LayoutUtility_U3CGetPreferredHeightU3Em__5_m1524880643_MethodInfo_var;
extern const MethodInfo* LayoutUtility_U3CGetPreferredHeightU3Em__6_m72173670_MethodInfo_var;
extern const uint32_t LayoutUtility_GetPreferredHeight_m1078616356_MetadataUsageId;
extern const MethodInfo* LayoutUtility_U3CGetFlexibleHeightU3Em__7_m947156537_MethodInfo_var;
extern const uint32_t LayoutUtility_GetFlexibleHeight_m791192670_MetadataUsageId;
extern const Il2CppType* ILayoutElement_t1975293769_0_0_0_var;
extern Il2CppClass* Object_t1021602117_il2cpp_TypeInfo_var;
extern Il2CppClass* ListPool_1_t2672351287_il2cpp_TypeInfo_var;
extern Il2CppClass* Type_t_il2cpp_TypeInfo_var;
extern Il2CppClass* ILayoutElement_t1975293769_il2cpp_TypeInfo_var;
extern Il2CppClass* Behaviour_t955675639_il2cpp_TypeInfo_var;
extern const MethodInfo* ListPool_1_Get_m1238534579_MethodInfo_var;
extern const MethodInfo* List_1_get_Item_m2919783149_MethodInfo_var;
extern const MethodInfo* Func_2_Invoke_m3701828196_MethodInfo_var;
extern const MethodInfo* List_1_get_Count_m688539176_MethodInfo_var;
extern const MethodInfo* ListPool_1_Release_m1646128643_MethodInfo_var;
extern const uint32_t LayoutUtility_GetLayoutProperty_m2473621994_MetadataUsageId;
extern const uint32_t LayoutUtility_U3CGetMinWidthU3Em__0_m2819807638_MetadataUsageId;
extern const uint32_t LayoutUtility_U3CGetPreferredWidthU3Em__1_m858056744_MetadataUsageId;
extern const uint32_t LayoutUtility_U3CGetPreferredWidthU3Em__2_m2944504345_MetadataUsageId;
extern const uint32_t LayoutUtility_U3CGetFlexibleWidthU3Em__3_m3345200332_MetadataUsageId;
extern const uint32_t LayoutUtility_U3CGetMinHeightU3Em__4_m1769295917_MetadataUsageId;
extern const uint32_t LayoutUtility_U3CGetPreferredHeightU3Em__5_m1524880643_MetadataUsageId;
extern const uint32_t LayoutUtility_U3CGetPreferredHeightU3Em__6_m72173670_MetadataUsageId;
extern const uint32_t LayoutUtility_U3CGetFlexibleHeightU3Em__7_m947156537_MetadataUsageId;
extern const MethodInfo* Component_GetComponent_TisRectTransform_t3349966182_m1310250299_MethodInfo_var;
extern const uint32_t Mask_get_rectTransform_m3304369086_MetadataUsageId;
extern const uint32_t Mask_set_showMaskGraphic_m2985320778_MetadataUsageId;
extern const MethodInfo* Component_GetComponent_TisGraphic_t2426225576_m650184603_MethodInfo_var;
extern const uint32_t Mask_get_graphic_m775949552_MetadataUsageId;
extern const uint32_t Mask_MaskEnabled_m2584190482_MetadataUsageId;
extern const uint32_t Mask_OnEnable_m501850981_MetadataUsageId;
extern Il2CppClass* StencilMaterial_t1630303189_il2cpp_TypeInfo_var;
extern const uint32_t Mask_OnDisable_m2648774416_MetadataUsageId;
extern Il2CppClass* RectTransformUtility_t2941082270_il2cpp_TypeInfo_var;
extern const uint32_t Mask_IsRaycastLocationValid_m62488857_MetadataUsageId;
extern Il2CppClass* Debug_t1368543263_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1141441603;
extern const uint32_t Mask_GetModifiedMaterial_m99213640_MetadataUsageId;
extern Il2CppClass* CullStateChangedEvent_t3778758259_il2cpp_TypeInfo_var;
extern Il2CppClass* Vector3U5BU5D_t1172311765_il2cpp_TypeInfo_var;
extern Il2CppClass* Graphic_t2426225576_il2cpp_TypeInfo_var;
extern const uint32_t MaskableGraphic__ctor_m1454660053_MetadataUsageId;
extern const MethodInfo* Component_GetComponent_TisMask_t2977958238_m2071028213_MethodInfo_var;
extern const uint32_t MaskableGraphic_GetModifiedMaterial_m1389843550_MetadataUsageId;
extern const MethodInfo* UnityEvent_1_Invoke_m667974834_MethodInfo_var;
extern const uint32_t MaskableGraphic_UpdateCull_m3420980261_MetadataUsageId;
extern const uint32_t MaskableGraphic_OnEnable_m694112877_MetadataUsageId;
extern const uint32_t MaskableGraphic_OnDisable_m2605143092_MetadataUsageId;
extern const uint32_t MaskableGraphic_get_rootCanvasRect_m2245431682_MetadataUsageId;
extern const uint32_t MaskableGraphic_UpdateClipParent_m3533760836_MetadataUsageId;
extern const MethodInfo* UnityEvent_1__ctor_m4051141261_MethodInfo_var;
extern const uint32_t CullStateChangedEvent__ctor_m4025397477_MetadataUsageId;
extern Il2CppClass* IClippable_t1941276057_il2cpp_TypeInfo_var;
extern const MethodInfo* Component_GetComponentsInChildren_TisComponent_t3819376471_m1300564530_MethodInfo_var;
extern const uint32_t MaskUtilities_Notify2DMaskStateChanged_m1704785167_MetadataUsageId;
extern Il2CppClass* IMaskable_t1431842707_il2cpp_TypeInfo_var;
extern const uint32_t MaskUtilities_NotifyStencilStateChanged_m1527407683_MetadataUsageId;
extern Il2CppClass* ListPool_1_t3357347878_il2cpp_TypeInfo_var;
extern const MethodInfo* ListPool_1_Get_m2770280140_MethodInfo_var;
extern const MethodInfo* Component_GetComponentsInParent_TisCanvas_t209405766_m334209269_MethodInfo_var;
extern const MethodInfo* List_1_get_Item_m3871422818_MethodInfo_var;
extern const MethodInfo* List_1_get_Count_m797577425_MethodInfo_var;
extern const MethodInfo* ListPool_1_Release_m2449989212_MethodInfo_var;
extern const uint32_t MaskUtilities_FindRootSortOverrideCanvas_m433286381_MetadataUsageId;
extern Il2CppClass* ListPool_1_t1830933054_il2cpp_TypeInfo_var;
extern const MethodInfo* ListPool_1_Get_m1447713146_MethodInfo_var;
extern const MethodInfo* Component_GetComponents_TisMask_t2977958238_m1568477639_MethodInfo_var;
extern const MethodInfo* List_1_get_Item_m4170315654_MethodInfo_var;
extern const MethodInfo* List_1_get_Count_m2876061359_MethodInfo_var;
extern const MethodInfo* ListPool_1_Release_m3086823280_MethodInfo_var;
extern const uint32_t MaskUtilities_GetStencilDepth_m3432755788_MetadataUsageId;
extern const uint32_t MaskUtilities_IsDescendantOrSelf_m1896676501_MetadataUsageId;
extern Il2CppClass* ListPool_1_t9160780_il2cpp_TypeInfo_var;
extern const MethodInfo* ListPool_1_Get_m450402794_MethodInfo_var;
extern const MethodInfo* Component_GetComponentsInParent_TisRectMask2D_t1156185964_m1865812113_MethodInfo_var;
extern const MethodInfo* List_1_get_Count_m3765596117_MethodInfo_var;
extern const MethodInfo* List_1_get_Item_m215805666_MethodInfo_var;
extern const MethodInfo* ListPool_1_Release_m3380020388_MethodInfo_var;
extern const uint32_t MaskUtilities_GetRectMaskForClippable_m3534151072_MetadataUsageId;
extern const MethodInfo* List_1_Clear_m1697221398_MethodInfo_var;
extern const MethodInfo* List_1_Add_m1013816477_MethodInfo_var;
extern const uint32_t MaskUtilities_GetRectMasksForClip_m1540508301_MetadataUsageId;
extern Il2CppClass* GameObject_t1756533147_il2cpp_TypeInfo_var;
extern const uint32_t Misc_Destroy_m2873191669_MetadataUsageId;
extern const uint32_t Misc_DestroyImmediate_m2145363668_MetadataUsageId;
extern Il2CppClass* Navigation_t1571958496_il2cpp_TypeInfo_var;
extern const uint32_t Navigation_get_defaultNavigation_m2185194207_MetadataUsageId;
extern const uint32_t Navigation_Equals_m4214630671_MetadataUsageId;
extern Il2CppClass* ListPool_1_t57233634_il2cpp_TypeInfo_var;
extern const MethodInfo* ListPool_1_Get_m4215629480_MethodInfo_var;
extern const MethodInfo* List_1_get_Count_m2390119157_MethodInfo_var;
extern const MethodInfo* List_1_get_Capacity_m3497182270_MethodInfo_var;
extern const MethodInfo* List_1_set_Capacity_m3121007037_MethodInfo_var;
extern const MethodInfo* ListPool_1_Release_m782571048_MethodInfo_var;
extern const uint32_t Outline_ModifyMesh_m3796381413_MetadataUsageId;
extern Il2CppClass* UIVertex_t1204258818_il2cpp_TypeInfo_var;
extern const uint32_t PositionAsUV1_ModifyMesh_m234268446_MetadataUsageId;
extern const uint32_t RawImage_get_mainTexture_m3865646934_MetadataUsageId;
extern const uint32_t RawImage_set_texture_m2400157626_MetadataUsageId;
extern const uint32_t RawImage_SetNativeSize_m672994452_MetadataUsageId;
extern const uint32_t RawImage_OnPopulateMesh_m1575353317_MetadataUsageId;
extern const uint32_t RectangularVertexClipper__ctor_m2262454802_MetadataUsageId;
extern Il2CppClass* Rect_t3681755626_il2cpp_TypeInfo_var;
extern const MethodInfo* Component_GetComponent_TisTransform_t3275118058_m235623703_MethodInfo_var;
extern const uint32_t RectangularVertexClipper_GetCanvasRect_m2728708140_MetadataUsageId;
extern Il2CppClass* RectangularVertexClipper_t3349113845_il2cpp_TypeInfo_var;
extern Il2CppClass* HashSet_1_t274736911_il2cpp_TypeInfo_var;
extern Il2CppClass* List_1_t525307096_il2cpp_TypeInfo_var;
extern const MethodInfo* HashSet_1__ctor_m3946193976_MethodInfo_var;
extern const MethodInfo* List_1__ctor_m1473022209_MethodInfo_var;
extern const uint32_t RectMask2D__ctor_m2406004327_MetadataUsageId;
extern const MethodInfo* GameObject_GetComponentsInParent_TisCanvas_t209405766_m1754656689_MethodInfo_var;
extern const uint32_t RectMask2D_get_canvasRect_m176109918_MetadataUsageId;
extern const uint32_t RectMask2D_get_rectTransform_m130488702_MetadataUsageId;
extern const MethodInfo* HashSet_1_Clear_m3861807753_MethodInfo_var;
extern const uint32_t RectMask2D_OnDisable_m1995667256_MetadataUsageId;
extern const uint32_t RectMask2D_IsRaycastLocationValid_m2489402131_MetadataUsageId;
extern Il2CppClass* MaskableGraphic_t540192618_il2cpp_TypeInfo_var;
extern const MethodInfo* HashSet_1_GetEnumerator_m147500535_MethodInfo_var;
extern const MethodInfo* Enumerator_get_Current_m3326071153_MethodInfo_var;
extern const MethodInfo* Enumerator_MoveNext_m1604522117_MethodInfo_var;
extern const MethodInfo* Enumerator_Dispose_m1728662143_MethodInfo_var;
extern const uint32_t RectMask2D_PerformClipping_m1232012832_MetadataUsageId;
extern const MethodInfo* HashSet_1_Contains_m3523819500_MethodInfo_var;
extern const MethodInfo* HashSet_1_Add_m2599901964_MethodInfo_var;
extern const uint32_t RectMask2D_AddClippable_m2808547408_MetadataUsageId;
extern const MethodInfo* HashSet_1_Remove_m2022801403_MethodInfo_var;
extern const uint32_t RectMask2D_RemoveClippable_m1579973877_MetadataUsageId;
extern const Il2CppType* Physics_t634932869_0_0_0_var;
extern const Il2CppType* Ray_t2469606224_0_0_0_var;
extern const Il2CppType* RaycastHit_t87180320_0_0_0_var;
extern const Il2CppType* Single_t2076509932_0_0_0_var;
extern const Il2CppType* Int32_t2071877448_0_0_0_var;
extern const Il2CppType* Raycast3DCallback_t3928470916_0_0_0_var;
extern const Il2CppType* Physics2D_t2540166467_0_0_0_var;
extern const Il2CppType* Vector2_t2243707579_0_0_0_var;
extern const Il2CppType* Raycast2DCallback_t2260664863_0_0_0_var;
extern const Il2CppType* RaycastAllCallback_t3435657708_0_0_0_var;
extern const Il2CppType* GetRayIntersectionAllCallback_t2213949596_0_0_0_var;
extern Il2CppClass* TypeU5BU5D_t1664964607_il2cpp_TypeInfo_var;
extern Il2CppClass* Raycast3DCallback_t3928470916_il2cpp_TypeInfo_var;
extern Il2CppClass* Raycast2DCallback_t2260664863_il2cpp_TypeInfo_var;
extern Il2CppClass* RaycastAllCallback_t3435657708_il2cpp_TypeInfo_var;
extern Il2CppClass* GetRayIntersectionAllCallback_t2213949596_il2cpp_TypeInfo_var;
extern Il2CppCodeGenString* _stringLiteral1169200223;
extern Il2CppCodeGenString* _stringLiteral1980497940;
extern Il2CppCodeGenString* _stringLiteral3746308594;
extern const uint32_t ReflectionMethodsCache__ctor_m1835220_MetadataUsageId;
extern Il2CppClass* ReflectionMethodsCache_t3343836395_il2cpp_TypeInfo_var;
extern const uint32_t ReflectionMethodsCache_get_Singleton_m2330935729_MetadataUsageId;
extern const uint32_t ReflectionMethodsCache__cctor_m2699179845_MetadataUsageId;
extern Il2CppClass* Ray_t2469606224_il2cpp_TypeInfo_var;
extern Il2CppClass* Single_t2076509932_il2cpp_TypeInfo_var;
extern Il2CppClass* Int32_t2071877448_il2cpp_TypeInfo_var;
extern const uint32_t GetRayIntersectionAllCallback_BeginInvoke_m1307032462_MetadataUsageId;
extern Il2CppClass* Vector2_t2243707579_il2cpp_TypeInfo_var;
extern const uint32_t Raycast2DCallback_BeginInvoke_m4219004388_MetadataUsageId;
extern Il2CppClass* RaycastHit_t87180320_il2cpp_TypeInfo_var;
extern const uint32_t Raycast3DCallback_BeginInvoke_m3028685017_MetadataUsageId;
extern const uint32_t RaycastAllCallback_BeginInvoke_m861412204_MetadataUsageId;
extern Il2CppClass* ScrollEvent_t1794825321_il2cpp_TypeInfo_var;
extern Il2CppClass* Selectable_t1490392188_il2cpp_TypeInfo_var;
extern const uint32_t Scrollbar__ctor_m2244981801_MetadataUsageId;
extern const MethodInfo* SetPropertyUtility_SetClass_TisRectTransform_t3349966182_m3360806591_MethodInfo_var;
extern const uint32_t Scrollbar_set_handleRect_m596734077_MetadataUsageId;
extern const MethodInfo* SetPropertyUtility_SetStruct_TisDirection_t3696775921_m2182046118_MethodInfo_var;
extern const uint32_t Scrollbar_set_direction_m1388523458_MetadataUsageId;
extern const uint32_t Scrollbar_get_value_m3913193633_MetadataUsageId;
extern const MethodInfo* SetPropertyUtility_SetStruct_TisSingle_t2076509932_m3849235084_MethodInfo_var;
extern const uint32_t Scrollbar_set_size_m2088196430_MetadataUsageId;
extern const MethodInfo* SetPropertyUtility_SetStruct_TisInt32_t2071877448_m2056826294_MethodInfo_var;
extern const uint32_t Scrollbar_set_numberOfSteps_m579707524_MetadataUsageId;
extern const uint32_t Scrollbar_UpdateCachedReferences_m3295556124_MetadataUsageId;
extern const MethodInfo* UnityEvent_1_Invoke_m1298892870_MethodInfo_var;
extern const uint32_t Scrollbar_Set_m3993445697_MetadataUsageId;
extern const uint32_t Scrollbar_UpdateVisuals_m2935018543_MetadataUsageId;
extern const uint32_t Scrollbar_UpdateDrag_m3839695926_MetadataUsageId;
extern const uint32_t Scrollbar_OnBeginDrag_m574021735_MetadataUsageId;
extern const uint32_t Scrollbar_OnDrag_m3231798634_MetadataUsageId;
extern Il2CppClass* U3CClickRepeatU3Ec__Iterator0_t4156771994_il2cpp_TypeInfo_var;
extern const uint32_t Scrollbar_ClickRepeat_m3403943364_MetadataUsageId;
extern const uint32_t Scrollbar_OnMove_m2464650737_MetadataUsageId;
extern Il2CppClass* RectTransform_t3349966182_il2cpp_TypeInfo_var;
extern const uint32_t Scrollbar_SetDirection_m3264558284_MetadataUsageId;
extern Il2CppClass* WaitForEndOfFrame_t1785723201_il2cpp_TypeInfo_var;
extern const uint32_t U3CClickRepeatU3Ec__Iterator0_MoveNext_m1747924386_MetadataUsageId;
extern Il2CppClass* NotSupportedException_t1793819818_il2cpp_TypeInfo_var;
extern const uint32_t U3CClickRepeatU3Ec__Iterator0_Reset_m1177396749_MetadataUsageId;
extern const MethodInfo* UnityEvent_1__ctor_m29611311_MethodInfo_var;
extern const uint32_t ScrollEvent__ctor_m1258909311_MetadataUsageId;
extern Il2CppClass* ScrollRectEvent_t3529018992_il2cpp_TypeInfo_var;
extern const uint32_t ScrollRect__ctor_m2760636366_MetadataUsageId;
extern Il2CppClass* UnityAction_1_t3443095683_il2cpp_TypeInfo_var;
extern const MethodInfo* ScrollRect_SetHorizontalNormalizedPosition_m1084560733_MethodInfo_var;
extern const MethodInfo* UnityAction_1__ctor_m2172708761_MethodInfo_var;
extern const MethodInfo* UnityEvent_1_RemoveListener_m2564825698_MethodInfo_var;
extern const MethodInfo* UnityEvent_1_AddListener_m2377847221_MethodInfo_var;
extern const uint32_t ScrollRect_set_horizontalScrollbar_m552664892_MetadataUsageId;
extern const MethodInfo* ScrollRect_SetVerticalNormalizedPosition_m216554321_MethodInfo_var;
extern const uint32_t ScrollRect_set_verticalScrollbar_m2903688658_MetadataUsageId;
extern const uint32_t ScrollRect_get_viewRect_m2663817630_MetadataUsageId;
extern const uint32_t ScrollRect_get_rectTransform_m1256747885_MetadataUsageId;
extern const uint32_t ScrollRect_UpdateCachedData_m2107447137_MetadataUsageId;
extern Il2CppClass* CanvasUpdateRegistry_t1780385998_il2cpp_TypeInfo_var;
extern const uint32_t ScrollRect_OnEnable_m2748112742_MetadataUsageId;
extern Il2CppClass* LayoutRebuilder_t2155218138_il2cpp_TypeInfo_var;
extern const uint32_t ScrollRect_OnDisable_m2695050977_MetadataUsageId;
extern const uint32_t ScrollRect_IsActive_m4078699278_MetadataUsageId;
extern const uint32_t ScrollRect_EnsureLayoutHasRebuilt_m2073458811_MetadataUsageId;
extern const uint32_t ScrollRect_OnScroll_m3346515304_MetadataUsageId;
extern const uint32_t ScrollRect_OnBeginDrag_m4285253530_MetadataUsageId;
extern const uint32_t ScrollRect_OnDrag_m1424848249_MetadataUsageId;
extern const MethodInfo* UnityEvent_1_Invoke_m1533100983_MethodInfo_var;
extern const uint32_t ScrollRect_LateUpdate_m653657617_MetadataUsageId;
extern const uint32_t ScrollRect_UpdatePrevData_m3092887300_MetadataUsageId;
extern const uint32_t ScrollRect_UpdateScrollbars_m3921404746_MetadataUsageId;
extern const uint32_t ScrollRect_SetNormalizedPosition_m3782185980_MetadataUsageId;
extern const uint32_t ScrollRect_RubberDelta_m2533506730_MetadataUsageId;
extern const uint32_t ScrollRect_SetLayoutHorizontal_m3486408020_MetadataUsageId;
extern const uint32_t ScrollRect_UpdateOneScrollbarVisibility_m3990871387_MetadataUsageId;
extern const uint32_t ScrollRect_UpdateScrollbarLayout_m1731749879_MetadataUsageId;
extern const uint32_t ScrollRect_UpdateBounds_m3266596336_MetadataUsageId;
extern Il2CppClass* Bounds_t3033363703_il2cpp_TypeInfo_var;
extern const uint32_t ScrollRect_GetBounds_m1950012700_MetadataUsageId;
extern const uint32_t ScrollRect_SetDirty_m93243192_MetadataUsageId;
extern const uint32_t ScrollRect_SetDirtyCaching_m1491302821_MetadataUsageId;
extern const MethodInfo* UnityEvent_1__ctor_m3317039790_MethodInfo_var;
extern const uint32_t ScrollRectEvent__ctor_m2283981448_MetadataUsageId;
extern Il2CppClass* AnimationTriggers_t3244928895_il2cpp_TypeInfo_var;
extern Il2CppClass* List_1_t2665681875_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1__ctor_m4115107272_MethodInfo_var;
extern const uint32_t Selectable__ctor_m1440593935_MetadataUsageId;
extern const uint32_t Selectable_get_allSelectables_m3045831006_MetadataUsageId;
extern const MethodInfo* SetPropertyUtility_SetStruct_TisNavigation_t1571958496_m1169349290_MethodInfo_var;
extern const uint32_t Selectable_set_navigation_m2001068675_MetadataUsageId;
extern const MethodInfo* SetPropertyUtility_SetStruct_TisTransition_t605142169_m3831531952_MethodInfo_var;
extern const uint32_t Selectable_set_transition_m2241234562_MetadataUsageId;
extern const MethodInfo* SetPropertyUtility_SetStruct_TisColorBlock_t2652774230_m2085520896_MethodInfo_var;
extern const uint32_t Selectable_set_colors_m3015002425_MetadataUsageId;
extern const MethodInfo* SetPropertyUtility_SetStruct_TisSpriteState_t1353336012_m2898060836_MethodInfo_var;
extern const uint32_t Selectable_set_spriteState_m4038458823_MetadataUsageId;
extern const MethodInfo* SetPropertyUtility_SetClass_TisAnimationTriggers_t3244928895_m2883472752_MethodInfo_var;
extern const uint32_t Selectable_set_animationTriggers_m2206222963_MetadataUsageId;
extern const MethodInfo* SetPropertyUtility_SetClass_TisGraphic_t2426225576_m1272552023_MethodInfo_var;
extern const uint32_t Selectable_set_targetGraphic_m2955419854_MetadataUsageId;
extern Il2CppClass* EventSystem_t3466835263_il2cpp_TypeInfo_var;
extern const MethodInfo* SetPropertyUtility_SetStruct_TisBoolean_t3825574718_m752301298_MethodInfo_var;
extern const uint32_t Selectable_set_interactable_m63718297_MetadataUsageId;
extern Il2CppClass* Image_t2042527209_il2cpp_TypeInfo_var;
extern const uint32_t Selectable_get_image_m3720077502_MetadataUsageId;
extern const MethodInfo* Component_GetComponent_TisAnimator_t69676727_m475627522_MethodInfo_var;
extern const uint32_t Selectable_get_animator_m627999862_MetadataUsageId;
extern const uint32_t Selectable_Awake_m3850617460_MetadataUsageId;
extern const MethodInfo* Component_GetComponents_TisCanvasGroup_t3296560743_m1269266598_MethodInfo_var;
extern const MethodInfo* List_1_get_Item_m953066341_MethodInfo_var;
extern const MethodInfo* List_1_get_Count_m2569835416_MethodInfo_var;
extern const uint32_t Selectable_OnCanvasGroupChanged_m2380137883_MetadataUsageId;
extern const MethodInfo* List_1_Add_m1402257845_MethodInfo_var;
extern const uint32_t Selectable_OnEnable_m3825327683_MetadataUsageId;
extern const MethodInfo* List_1_Remove_m820472044_MethodInfo_var;
extern const uint32_t Selectable_OnDisable_m2660228016_MetadataUsageId;
extern Il2CppClass* String_t_il2cpp_TypeInfo_var;
extern const uint32_t Selectable_DoStateTransition_m539253088_MetadataUsageId;
extern const MethodInfo* List_1_get_Item_m1917748490_MethodInfo_var;
extern const MethodInfo* List_1_get_Count_m2819288149_MethodInfo_var;
extern const uint32_t Selectable_FindSelectable_m2739582497_MetadataUsageId;
extern const uint32_t Selectable_GetPointOnRectEdge_m2342175406_MetadataUsageId;
extern const uint32_t Selectable_Navigate_m915280351_MetadataUsageId;
extern const uint32_t Selectable_StartColorTween_m407357486_MetadataUsageId;
extern const uint32_t Selectable_DoSpriteSwap_m586643230_MetadataUsageId;
extern const uint32_t Selectable_TriggerAnimation_m3096883407_MetadataUsageId;
extern Il2CppClass* PointerEventData_t1599784723_il2cpp_TypeInfo_var;
extern const uint32_t Selectable_IsHighlighted_m664420838_MetadataUsageId;
extern const uint32_t Selectable_OnPointerDown_m3110480835_MetadataUsageId;
extern const uint32_t Selectable_Select_m1366427711_MetadataUsageId;
extern Il2CppClass* List_1_t859513320_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1__ctor_m961445489_MethodInfo_var;
extern const uint32_t Selectable__cctor_m400599998_MetadataUsageId;
extern const uint32_t Shadow_set_effectColor_m3110056844_MetadataUsageId;
extern const uint32_t Shadow_set_effectDistance_m1951993364_MetadataUsageId;
extern const uint32_t Shadow_set_useGraphicAlpha_m141905402_MetadataUsageId;
extern const MethodInfo* List_1_get_Item_m2318061838_MethodInfo_var;
extern const MethodInfo* List_1_Add_m3591975577_MethodInfo_var;
extern const MethodInfo* List_1_set_Item_m1747579297_MethodInfo_var;
extern const uint32_t Shadow_ApplyShadowZeroAlloc_m2132231878_MetadataUsageId;
extern const uint32_t Shadow_ModifyMesh_m2723453831_MetadataUsageId;
extern Il2CppClass* SliderEvent_t2111116400_il2cpp_TypeInfo_var;
extern const uint32_t Slider__ctor_m3124136916_MetadataUsageId;
extern const uint32_t Slider_set_fillRect_m2483082889_MetadataUsageId;
extern const uint32_t Slider_set_handleRect_m4274581402_MetadataUsageId;
extern const MethodInfo* SetPropertyUtility_SetStruct_TisDirection_t1525323322_m3913288783_MethodInfo_var;
extern const uint32_t Slider_set_direction_m612975266_MetadataUsageId;
extern const uint32_t Slider_set_minValue_m1484509981_MetadataUsageId;
extern const uint32_t Slider_set_maxValue_m2951480075_MetadataUsageId;
extern const uint32_t Slider_set_wholeNumbers_m2922063719_MetadataUsageId;
extern const uint32_t Slider_get_value_m4182660424_MetadataUsageId;
extern const uint32_t Slider_get_normalizedValue_m4164062921_MetadataUsageId;
extern const uint32_t Slider_set_normalizedValue_m3093868078_MetadataUsageId;
extern const uint32_t Slider_OnDidApplyAnimationProperties_m3202463395_MetadataUsageId;
extern const MethodInfo* Component_GetComponent_TisImage_t2042527209_m2189462422_MethodInfo_var;
extern const uint32_t Slider_UpdateCachedReferences_m3161887229_MetadataUsageId;
extern const uint32_t Slider_ClampValue_m2851810895_MetadataUsageId;
extern const uint32_t Slider_Set_m2698239572_MetadataUsageId;
extern const uint32_t Slider_UpdateVisuals_m1325504022_MetadataUsageId;
extern const uint32_t Slider_UpdateDrag_m1963963631_MetadataUsageId;
extern const uint32_t Slider_OnPointerDown_m753374106_MetadataUsageId;
extern const uint32_t Slider_OnMove_m641164662_MetadataUsageId;
extern const uint32_t Slider_SetDirection_m2177048756_MetadataUsageId;
extern const uint32_t SliderEvent__ctor_m262797720_MetadataUsageId;
extern const uint32_t SpriteState_Equals_m3820547775_MetadataUsageId;
extern const uint32_t StencilMaterial_Add_m2540251346_MetadataUsageId;
extern Il2CppClass* MatEntry_t3157325053_il2cpp_TypeInfo_var;
extern Il2CppClass* Material_t193706927_il2cpp_TypeInfo_var;
extern Il2CppClass* ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var;
extern Il2CppClass* StencilOp_t2936374925_il2cpp_TypeInfo_var;
extern Il2CppClass* CompareFunction_t457874581_il2cpp_TypeInfo_var;
extern Il2CppClass* ColorWriteMask_t926634530_il2cpp_TypeInfo_var;
extern Il2CppClass* Boolean_t3825574718_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1_get_Item_m218316962_MethodInfo_var;
extern const MethodInfo* List_1_get_Count_m774819925_MethodInfo_var;
extern const MethodInfo* List_1_Add_m4146062301_MethodInfo_var;
extern Il2CppCodeGenString* _stringLiteral32437173;
extern Il2CppCodeGenString* _stringLiteral1189418979;
extern Il2CppCodeGenString* _stringLiteral938436242;
extern Il2CppCodeGenString* _stringLiteral357966050;
extern Il2CppCodeGenString* _stringLiteral3435120403;
extern Il2CppCodeGenString* _stringLiteral3498622006;
extern Il2CppCodeGenString* _stringLiteral448281081;
extern Il2CppCodeGenString* _stringLiteral975253783;
extern Il2CppCodeGenString* _stringLiteral866807422;
extern Il2CppCodeGenString* _stringLiteral2660185964;
extern Il2CppCodeGenString* _stringLiteral1920964081;
extern Il2CppCodeGenString* _stringLiteral263979358;
extern Il2CppCodeGenString* _stringLiteral4273903311;
extern Il2CppCodeGenString* _stringLiteral1601483922;
extern Il2CppCodeGenString* _stringLiteral748789772;
extern Il2CppCodeGenString* _stringLiteral4101398013;
extern const uint32_t StencilMaterial_Add_m3307959964_MetadataUsageId;
extern const MethodInfo* List_1_RemoveAt_m3266343727_MethodInfo_var;
extern const uint32_t StencilMaterial_Remove_m3616154292_MetadataUsageId;
extern const MethodInfo* List_1_Clear_m3399322582_MethodInfo_var;
extern const uint32_t StencilMaterial_ClearAll_m1372779118_MetadataUsageId;
extern Il2CppClass* List_1_t2526446185_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1__ctor_m2025590529_MethodInfo_var;
extern const uint32_t StencilMaterial__cctor_m2963056855_MetadataUsageId;
extern Il2CppClass* UIVertexU5BU5D_t3048644023_il2cpp_TypeInfo_var;
extern const uint32_t Text__ctor_m1798771934_MetadataUsageId;
extern Il2CppClass* TextGenerator_t647235000_il2cpp_TypeInfo_var;
extern const uint32_t Text_get_cachedTextGenerator_m224335893_MetadataUsageId;
extern const uint32_t Text_get_cachedTextGeneratorForLayout_m1357670532_MetadataUsageId;
extern const uint32_t Text_get_mainTexture_m813502234_MetadataUsageId;
extern const uint32_t Text_FontTextureChanged_m4236993972_MetadataUsageId;
extern Il2CppClass* FontUpdateTracker_t2633059652_il2cpp_TypeInfo_var;
extern const uint32_t Text_set_font_m1095513810_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral371857150;
extern const uint32_t Text_set_text_m888865420_MetadataUsageId;
extern const uint32_t Text_get_pixelsPerUnit_m1202765365_MetadataUsageId;
extern const uint32_t Text_OnEnable_m820523638_MetadataUsageId;
extern const uint32_t Text_OnDisable_m3232354257_MetadataUsageId;
extern const uint32_t Text_UpdateGeometry_m1148372319_MetadataUsageId;
extern const MethodInfo* Resources_GetBuiltinResource_TisFont_t4239498691_m2274058818_MethodInfo_var;
extern Il2CppCodeGenString* _stringLiteral4003888335;
extern const uint32_t Text_AssignDefaultFont_m1295571657_MetadataUsageId;
extern Il2CppClass* TextGenerationSettings_t2543476768_il2cpp_TypeInfo_var;
extern const uint32_t Text_GetGenerationSettings_m3659206515_MetadataUsageId;
extern Il2CppClass* ICollection_1_t2156334123_il2cpp_TypeInfo_var;
extern Il2CppClass* IList_1_t1745199419_il2cpp_TypeInfo_var;
extern const uint32_t Text_OnPopulateMesh_m835520031_MetadataUsageId;
extern Il2CppClass* Text_t356221433_il2cpp_TypeInfo_var;
extern const uint32_t Text__cctor_m3352338011_MetadataUsageId;
extern Il2CppClass* ToggleEvent_t1896830814_il2cpp_TypeInfo_var;
extern const uint32_t Toggle__ctor_m272261215_MetadataUsageId;
extern const uint32_t Toggle_OnDidApplyAnimationProperties_m325835214_MetadataUsageId;
extern const uint32_t Toggle_SetToggleGroup_m3009136959_MetadataUsageId;
extern const uint32_t Toggle_Set_m3604285137_MetadataUsageId;
extern const uint32_t Toggle_PlayEffect_m3950629415_MetadataUsageId;
extern const uint32_t ToggleEvent__ctor_m1310623378_MetadataUsageId;
extern Il2CppClass* List_1_t3345875600_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1__ctor_m1346706045_MethodInfo_var;
extern const uint32_t ToggleGroup__ctor_m2685216210_MetadataUsageId;
extern Il2CppClass* ArgumentException_t3259014390_il2cpp_TypeInfo_var;
extern const MethodInfo* List_1_Contains_m2895393343_MethodInfo_var;
extern Il2CppCodeGenString* _stringLiteral310208851;
extern const uint32_t ToggleGroup_ValidateToggleIsInGroup_m3420956585_MetadataUsageId;
extern const MethodInfo* List_1_get_Item_m4004664826_MethodInfo_var;
extern const MethodInfo* List_1_get_Count_m908496529_MethodInfo_var;
extern const uint32_t ToggleGroup_NotifyToggleOn_m997426227_MetadataUsageId;
extern const MethodInfo* List_1_Remove_m261340164_MethodInfo_var;
extern const uint32_t ToggleGroup_UnregisterToggle_m1686703375_MetadataUsageId;
extern const MethodInfo* List_1_Add_m419687769_MethodInfo_var;
extern const uint32_t ToggleGroup_RegisterToggle_m3118973598_MetadataUsageId;
extern Il2CppClass* ToggleGroup_t1030026315_il2cpp_TypeInfo_var;
extern Il2CppClass* Predicate_1_t2419724583_il2cpp_TypeInfo_var;
extern const MethodInfo* ToggleGroup_U3CAnyTogglesOnU3Em__0_m1218114300_MethodInfo_var;
extern const MethodInfo* Predicate_1__ctor_m924252486_MethodInfo_var;
extern const MethodInfo* List_1_Find_m1914351498_MethodInfo_var;
extern const uint32_t ToggleGroup_AnyTogglesOn_m840462814_MetadataUsageId;
extern Il2CppClass* Func_2_t2318645467_il2cpp_TypeInfo_var;
extern const MethodInfo* ToggleGroup_U3CActiveTogglesU3Em__1_m4052653494_MethodInfo_var;
extern const MethodInfo* Func_2__ctor_m201687245_MethodInfo_var;
extern const MethodInfo* Enumerable_Where_TisToggle_t3976754468_m3031640376_MethodInfo_var;
extern const uint32_t ToggleGroup_ActiveToggles_m2659510444_MetadataUsageId;
extern const uint32_t ToggleGroup_SetAllTogglesOff_m4062279257_MetadataUsageId;
extern Il2CppClass* ListPool_1_t1096682396_il2cpp_TypeInfo_var;
extern Il2CppClass* ListPool_1_t4022459630_il2cpp_TypeInfo_var;
extern Il2CppClass* ListPool_1_t1096682395_il2cpp_TypeInfo_var;
extern Il2CppClass* ListPool_1_t1096682397_il2cpp_TypeInfo_var;
extern Il2CppClass* ListPool_1_t924852264_il2cpp_TypeInfo_var;
extern const MethodInfo* ListPool_1_Get_m2998644518_MethodInfo_var;
extern const MethodInfo* ListPool_1_Get_m3357896252_MethodInfo_var;
extern const MethodInfo* ListPool_1_Get_m3002130343_MethodInfo_var;
extern const MethodInfo* ListPool_1_Get_m3009093805_MethodInfo_var;
extern const MethodInfo* ListPool_1_Get_m3809147792_MethodInfo_var;
extern const uint32_t VertexHelper__ctor_m732625615_MetadataUsageId;
extern const MethodInfo* List_1_AddRange_m2878063899_MethodInfo_var;
extern const MethodInfo* List_1_AddRange_m1309698249_MethodInfo_var;
extern const MethodInfo* List_1_AddRange_m4255157622_MethodInfo_var;
extern const MethodInfo* List_1_AddRange_m3345533268_MethodInfo_var;
extern const MethodInfo* List_1_AddRange_m2567809379_MethodInfo_var;
extern const uint32_t VertexHelper__ctor_m1386464415_MetadataUsageId;
extern const MethodInfo* List_1_Clear_m576262818_MethodInfo_var;
extern const MethodInfo* List_1_Clear_m3889887144_MethodInfo_var;
extern const MethodInfo* List_1_Clear_m1402865383_MethodInfo_var;
extern const MethodInfo* List_1_Clear_m981597149_MethodInfo_var;
extern const MethodInfo* List_1_Clear_m3644677550_MethodInfo_var;
extern const uint32_t VertexHelper_Clear_m648714328_MetadataUsageId;
extern const MethodInfo* List_1_get_Count_m4027941115_MethodInfo_var;
extern const uint32_t VertexHelper_get_currentVertCount_m1723889923_MetadataUsageId;
extern const MethodInfo* List_1_get_Count_m852068579_MethodInfo_var;
extern const uint32_t VertexHelper_get_currentIndexCount_m136081244_MetadataUsageId;
extern const MethodInfo* List_1_get_Item_m2503489122_MethodInfo_var;
extern const MethodInfo* List_1_get_Item_m2079323980_MethodInfo_var;
extern const MethodInfo* List_1_get_Item_m2892902305_MethodInfo_var;
extern const MethodInfo* List_1_get_Item_m3157283227_MethodInfo_var;
extern const uint32_t VertexHelper_PopulateUIVertex_m1570922497_MetadataUsageId;
extern const MethodInfo* List_1_set_Item_m3393612627_MethodInfo_var;
extern const MethodInfo* List_1_set_Item_m1209652185_MethodInfo_var;
extern const MethodInfo* List_1_set_Item_m1027817326_MethodInfo_var;
extern const MethodInfo* List_1_set_Item_m1431784996_MethodInfo_var;
extern const uint32_t VertexHelper_SetUIVertex_m2397401947_MetadataUsageId;
extern Il2CppCodeGenString* _stringLiteral358983960;
extern const uint32_t VertexHelper_FillMesh_m1891350547_MetadataUsageId;
extern const MethodInfo* ListPool_1_Release_m4118150756_MethodInfo_var;
extern const MethodInfo* ListPool_1_Release_m3047738410_MethodInfo_var;
extern const MethodInfo* ListPool_1_Release_m2208096831_MethodInfo_var;
extern const MethodInfo* ListPool_1_Release_m1119005941_MethodInfo_var;
extern const MethodInfo* ListPool_1_Release_m3716853512_MethodInfo_var;
extern const uint32_t VertexHelper_Dispose_m2847257624_MetadataUsageId;
extern const MethodInfo* List_1_Add_m2338641291_MethodInfo_var;
extern const MethodInfo* List_1_Add_m2405105969_MethodInfo_var;
extern const MethodInfo* List_1_Add_m148291600_MethodInfo_var;
extern const MethodInfo* List_1_Add_m1346004230_MethodInfo_var;
extern const uint32_t VertexHelper_AddVert_m4073901784_MetadataUsageId;
extern Il2CppClass* VertexHelper_t385374196_il2cpp_TypeInfo_var;
extern const uint32_t VertexHelper_AddVert_m2953034489_MetadataUsageId;
extern const MethodInfo* List_1_Add_m688682013_MethodInfo_var;
extern const uint32_t VertexHelper_AddTriangle_m3666051761_MetadataUsageId;
extern const uint32_t VertexHelper_AddUIVertexStream_m3599763288_MetadataUsageId;
extern const uint32_t VertexHelper__cctor_m1150948588_MetadataUsageId;
// UnityEngine.Vector3[]
struct Vector3U5BU5D_t1172311765 : public Il2CppArray
{
public:
ALIGN_FIELD (8) Vector3_t2243707580 m_Items[1];
public:
inline Vector3_t2243707580 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector3_t2243707580 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector3_t2243707580 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector3_t2243707580 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector3_t2243707580 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_t2243707580 value)
{
m_Items[index] = value;
}
};
// System.Type[]
struct TypeU5BU5D_t1664964607 : public Il2CppArray
{
public:
ALIGN_FIELD (8) Type_t * m_Items[1];
public:
inline Type_t * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Type_t ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Type_t * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline Type_t * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Type_t ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Type_t * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// UnityEngine.RaycastHit2D[]
struct RaycastHit2DU5BU5D_t4176517891 : public Il2CppArray
{
public:
ALIGN_FIELD (8) RaycastHit2D_t4063908774 m_Items[1];
public:
inline RaycastHit2D_t4063908774 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RaycastHit2D_t4063908774 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RaycastHit2D_t4063908774 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline RaycastHit2D_t4063908774 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RaycastHit2D_t4063908774 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RaycastHit2D_t4063908774 value)
{
m_Items[index] = value;
}
};
// UnityEngine.RaycastHit[]
struct RaycastHitU5BU5D_t1214023521 : public Il2CppArray
{
public:
ALIGN_FIELD (8) RaycastHit_t87180320 m_Items[1];
public:
inline RaycastHit_t87180320 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RaycastHit_t87180320 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, RaycastHit_t87180320 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline RaycastHit_t87180320 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RaycastHit_t87180320 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RaycastHit_t87180320 value)
{
m_Items[index] = value;
}
};
// System.Object[]
struct ObjectU5BU5D_t3614634134 : public Il2CppArray
{
public:
ALIGN_FIELD (8) Il2CppObject * m_Items[1];
public:
inline Il2CppObject * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Il2CppObject ** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Il2CppObject * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
inline Il2CppObject * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Il2CppObject ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Il2CppObject * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier(m_Items + index, value);
}
};
// UnityEngine.UIVertex[]
struct UIVertexU5BU5D_t3048644023 : public Il2CppArray
{
public:
ALIGN_FIELD (8) UIVertex_t1204258818 m_Items[1];
public:
inline UIVertex_t1204258818 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline UIVertex_t1204258818 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, UIVertex_t1204258818 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline UIVertex_t1204258818 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline UIVertex_t1204258818 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, UIVertex_t1204258818 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Color32[]
struct Color32U5BU5D_t30278651 : public Il2CppArray
{
public:
ALIGN_FIELD (8) Color32_t874517518 m_Items[1];
public:
inline Color32_t874517518 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Color32_t874517518 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Color32_t874517518 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Color32_t874517518 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Color32_t874517518 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Color32_t874517518 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector2[]
struct Vector2U5BU5D_t686124026 : public Il2CppArray
{
public:
ALIGN_FIELD (8) Vector2_t2243707579 m_Items[1];
public:
inline Vector2_t2243707579 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector2_t2243707579 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector2_t2243707579 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector2_t2243707579 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector2_t2243707579 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector2_t2243707579 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector4[]
struct Vector4U5BU5D_t1658499504 : public Il2CppArray
{
public:
ALIGN_FIELD (8) Vector4_t2243707581 m_Items[1];
public:
inline Vector4_t2243707581 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector4_t2243707581 * GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, Vector4_t2243707581 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector4_t2243707581 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector4_t2243707581 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector4_t2243707581 value)
{
m_Items[index] = value;
}
};
// System.Int32[]
struct Int32U5BU5D_t3030399641 : public Il2CppArray
{
public:
ALIGN_FIELD (8) int32_t m_Items[1];
public:
inline int32_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, int32_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
{
m_Items[index] = value;
}
};
// System.Void System.Func`2<System.Object,System.Single>::.ctor(System.Object,System.IntPtr)
extern "C" void Func_2__ctor_m1874497973_gshared (Func_2_t2212564818 * __this, Il2CppObject * p0, IntPtr_t p1, const MethodInfo* method);
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<System.Object>::Get()
extern "C" List_1_t2058570427 * ListPool_1_Get_m529219189_gshared (Il2CppObject * __this /* static, unused */, const MethodInfo* method);
// !0 System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
extern "C" Il2CppObject * List_1_get_Item_m2062981835_gshared (List_1_t2058570427 * __this, int32_t p0, const MethodInfo* method);
// !1 System.Func`2<System.Object,System.Single>::Invoke(!0)
extern "C" float Func_2_Invoke_m4121137703_gshared (Func_2_t2212564818 * __this, Il2CppObject * p0, const MethodInfo* method);
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
extern "C" int32_t List_1_get_Count_m2375293942_gshared (List_1_t2058570427 * __this, const MethodInfo* method);
// System.Void UnityEngine.UI.ListPool`1<System.Object>::Release(System.Collections.Generic.List`1<T>)
extern "C" void ListPool_1_Release_m1464559125_gshared (Il2CppObject * __this /* static, unused */, List_1_t2058570427 * p0, const MethodInfo* method);
// !!0 UnityEngine.Component::GetComponent<System.Object>()
extern "C" Il2CppObject * Component_GetComponent_TisIl2CppObject_m4109961936_gshared (Component_t3819376471 * __this, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::Invoke(!0)
extern "C" void UnityEvent_1_Invoke_m667974834_gshared (UnityEvent_1_t3863924733 * __this, bool p0, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::.ctor()
extern "C" void UnityEvent_1__ctor_m4051141261_gshared (UnityEvent_1_t3863924733 * __this, const MethodInfo* method);
// System.Void UnityEngine.Component::GetComponentsInChildren<System.Object>(System.Collections.Generic.List`1<!!0>)
extern "C" void Component_GetComponentsInChildren_TisIl2CppObject_m1992201622_gshared (Component_t3819376471 * __this, List_1_t2058570427 * p0, const MethodInfo* method);
// System.Void UnityEngine.Component::GetComponentsInParent<System.Object>(System.Boolean,System.Collections.Generic.List`1<!!0>)
extern "C" void Component_GetComponentsInParent_TisIl2CppObject_m1689132204_gshared (Component_t3819376471 * __this, bool p0, List_1_t2058570427 * p1, const MethodInfo* method);
// System.Void UnityEngine.Component::GetComponents<System.Object>(System.Collections.Generic.List`1<!!0>)
extern "C" void Component_GetComponents_TisIl2CppObject_m1186222966_gshared (Component_t3819376471 * __this, List_1_t2058570427 * p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Clear()
extern "C" void List_1_Clear_m4254626809_gshared (List_1_t2058570427 * __this, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Add(!0)
extern "C" void List_1_Add_m4157722533_gshared (List_1_t2058570427 * __this, Il2CppObject * p0, const MethodInfo* method);
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.UIVertex>::Get()
extern "C" List_1_t573379950 * ListPool_1_Get_m4215629480_gshared (Il2CppObject * __this /* static, unused */, const MethodInfo* method);
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count()
extern "C" int32_t List_1_get_Count_m2390119157_gshared (List_1_t573379950 * __this, const MethodInfo* method);
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Capacity()
extern "C" int32_t List_1_get_Capacity_m3497182270_gshared (List_1_t573379950 * __this, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.UIVertex>::set_Capacity(System.Int32)
extern "C" void List_1_set_Capacity_m3121007037_gshared (List_1_t573379950 * __this, int32_t p0, const MethodInfo* method);
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.UIVertex>::Release(System.Collections.Generic.List`1<T>)
extern "C" void ListPool_1_Release_m782571048_gshared (Il2CppObject * __this /* static, unused */, List_1_t573379950 * p0, const MethodInfo* method);
// System.Void System.Collections.Generic.HashSet`1<System.Object>::.ctor()
extern "C" void HashSet_1__ctor_m2858247305_gshared (HashSet_1_t1022910149 * __this, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
extern "C" void List_1__ctor_m310736118_gshared (List_1_t2058570427 * __this, const MethodInfo* method);
// System.Void UnityEngine.GameObject::GetComponentsInParent<System.Object>(System.Boolean,System.Collections.Generic.List`1<!!0>)
extern "C" void GameObject_GetComponentsInParent_TisIl2CppObject_m3757051886_gshared (GameObject_t1756533147 * __this, bool p0, List_1_t2058570427 * p1, const MethodInfo* method);
// System.Void System.Collections.Generic.HashSet`1<System.Object>::Clear()
extern "C" void HashSet_1_Clear_m350367572_gshared (HashSet_1_t1022910149 * __this, const MethodInfo* method);
// System.Collections.Generic.HashSet`1/Enumerator<!0> System.Collections.Generic.HashSet`1<System.Object>::GetEnumerator()
extern "C" Enumerator_t3806193287 HashSet_1_GetEnumerator_m2393522520_gshared (HashSet_1_t1022910149 * __this, const MethodInfo* method);
// !0 System.Collections.Generic.HashSet`1/Enumerator<System.Object>::get_Current()
extern "C" Il2CppObject * Enumerator_get_Current_m1303936404_gshared (Enumerator_t3806193287 * __this, const MethodInfo* method);
// System.Boolean System.Collections.Generic.HashSet`1/Enumerator<System.Object>::MoveNext()
extern "C" bool Enumerator_MoveNext_m2097560514_gshared (Enumerator_t3806193287 * __this, const MethodInfo* method);
// System.Void System.Collections.Generic.HashSet`1/Enumerator<System.Object>::Dispose()
extern "C" void Enumerator_Dispose_m2585752265_gshared (Enumerator_t3806193287 * __this, const MethodInfo* method);
// System.Boolean System.Collections.Generic.HashSet`1<System.Object>::Contains(!0)
extern "C" bool HashSet_1_Contains_m3626542335_gshared (HashSet_1_t1022910149 * __this, Il2CppObject * p0, const MethodInfo* method);
// System.Boolean System.Collections.Generic.HashSet`1<System.Object>::Add(!0)
extern "C" bool HashSet_1_Add_m199171953_gshared (HashSet_1_t1022910149 * __this, Il2CppObject * p0, const MethodInfo* method);
// System.Boolean System.Collections.Generic.HashSet`1<System.Object>::Remove(!0)
extern "C" bool HashSet_1_Remove_m3273285564_gshared (HashSet_1_t1022910149 * __this, Il2CppObject * p0, const MethodInfo* method);
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetClass<System.Object>(T&,T)
extern "C" bool SetPropertyUtility_SetClass_TisIl2CppObject_m3524554928_gshared (Il2CppObject * __this /* static, unused */, Il2CppObject ** ___currentValue0, Il2CppObject * ___newValue1, const MethodInfo* method);
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.Scrollbar/Direction>(T&,T)
extern "C" bool SetPropertyUtility_SetStruct_TisDirection_t3696775921_m2182046118_gshared (Il2CppObject * __this /* static, unused */, int32_t* ___currentValue0, int32_t ___newValue1, const MethodInfo* method);
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<System.Single>(T&,T)
extern "C" bool SetPropertyUtility_SetStruct_TisSingle_t2076509932_m3849235084_gshared (Il2CppObject * __this /* static, unused */, float* ___currentValue0, float ___newValue1, const MethodInfo* method);
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<System.Int32>(T&,T)
extern "C" bool SetPropertyUtility_SetStruct_TisInt32_t2071877448_m2056826294_gshared (Il2CppObject * __this /* static, unused */, int32_t* ___currentValue0, int32_t ___newValue1, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Single>::Invoke(!0)
extern "C" void UnityEvent_1_Invoke_m1298892870_gshared (UnityEvent_1_t2114859947 * __this, float p0, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Single>::.ctor()
extern "C" void UnityEvent_1__ctor_m29611311_gshared (UnityEvent_1_t2114859947 * __this, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityAction`1<System.Single>::.ctor(System.Object,System.IntPtr)
extern "C" void UnityAction_1__ctor_m2172708761_gshared (UnityAction_1_t3443095683 * __this, Il2CppObject * p0, IntPtr_t p1, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Single>::RemoveListener(UnityEngine.Events.UnityAction`1<!0>)
extern "C" void UnityEvent_1_RemoveListener_m2564825698_gshared (UnityEvent_1_t2114859947 * __this, UnityAction_1_t3443095683 * p0, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Single>::AddListener(UnityEngine.Events.UnityAction`1<!0>)
extern "C" void UnityEvent_1_AddListener_m2377847221_gshared (UnityEvent_1_t2114859947 * __this, UnityAction_1_t3443095683 * p0, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<UnityEngine.Vector2>::Invoke(!0)
extern "C" void UnityEvent_1_Invoke_m1533100983_gshared (UnityEvent_1_t2282057594 * __this, Vector2_t2243707579 p0, const MethodInfo* method);
// System.Void UnityEngine.Events.UnityEvent`1<UnityEngine.Vector2>::.ctor()
extern "C" void UnityEvent_1__ctor_m3317039790_gshared (UnityEvent_1_t2282057594 * __this, const MethodInfo* method);
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.Navigation>(T&,T)
extern "C" bool SetPropertyUtility_SetStruct_TisNavigation_t1571958496_m1169349290_gshared (Il2CppObject * __this /* static, unused */, Navigation_t1571958496 * ___currentValue0, Navigation_t1571958496 ___newValue1, const MethodInfo* method);
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.Selectable/Transition>(T&,T)
extern "C" bool SetPropertyUtility_SetStruct_TisTransition_t605142169_m3831531952_gshared (Il2CppObject * __this /* static, unused */, int32_t* ___currentValue0, int32_t ___newValue1, const MethodInfo* method);
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.ColorBlock>(T&,T)
extern "C" bool SetPropertyUtility_SetStruct_TisColorBlock_t2652774230_m2085520896_gshared (Il2CppObject * __this /* static, unused */, ColorBlock_t2652774230 * ___currentValue0, ColorBlock_t2652774230 ___newValue1, const MethodInfo* method);
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.SpriteState>(T&,T)
extern "C" bool SetPropertyUtility_SetStruct_TisSpriteState_t1353336012_m2898060836_gshared (Il2CppObject * __this /* static, unused */, SpriteState_t1353336012 * ___currentValue0, SpriteState_t1353336012 ___newValue1, const MethodInfo* method);
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<System.Boolean>(T&,T)
extern "C" bool SetPropertyUtility_SetStruct_TisBoolean_t3825574718_m752301298_gshared (Il2CppObject * __this /* static, unused */, bool* ___currentValue0, bool ___newValue1, const MethodInfo* method);
// System.Boolean System.Collections.Generic.List`1<System.Object>::Remove(!0)
extern "C" bool List_1_Remove_m3164383811_gshared (List_1_t2058570427 * __this, Il2CppObject * p0, const MethodInfo* method);
// !0 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Item(System.Int32)
extern "C" UIVertex_t1204258818 List_1_get_Item_m2318061838_gshared (List_1_t573379950 * __this, int32_t p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.UIVertex>::Add(!0)
extern "C" void List_1_Add_m3591975577_gshared (List_1_t573379950 * __this, UIVertex_t1204258818 p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.UIVertex>::set_Item(System.Int32,!0)
extern "C" void List_1_set_Item_m1747579297_gshared (List_1_t573379950 * __this, int32_t p0, UIVertex_t1204258818 p1, const MethodInfo* method);
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.Slider/Direction>(T&,T)
extern "C" bool SetPropertyUtility_SetStruct_TisDirection_t1525323322_m3913288783_gshared (Il2CppObject * __this /* static, unused */, int32_t* ___currentValue0, int32_t ___newValue1, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<System.Object>::RemoveAt(System.Int32)
extern "C" void List_1_RemoveAt_m3615096820_gshared (List_1_t2058570427 * __this, int32_t p0, const MethodInfo* method);
// !!0 UnityEngine.Resources::GetBuiltinResource<System.Object>(System.String)
extern "C" Il2CppObject * Resources_GetBuiltinResource_TisIl2CppObject_m1023501484_gshared (Il2CppObject * __this /* static, unused */, String_t* p0, const MethodInfo* method);
// System.Boolean System.Collections.Generic.List`1<System.Object>::Contains(!0)
extern "C" bool List_1_Contains_m1658838094_gshared (List_1_t2058570427 * __this, Il2CppObject * p0, const MethodInfo* method);
// System.Void System.Predicate`1<System.Object>::.ctor(System.Object,System.IntPtr)
extern "C" void Predicate_1__ctor_m2289454599_gshared (Predicate_1_t1132419410 * __this, Il2CppObject * p0, IntPtr_t p1, const MethodInfo* method);
// !0 System.Collections.Generic.List`1<System.Object>::Find(System.Predicate`1<!0>)
extern "C" Il2CppObject * List_1_Find_m1881447651_gshared (List_1_t2058570427 * __this, Predicate_1_t1132419410 * p0, const MethodInfo* method);
// System.Void System.Func`2<System.Object,System.Boolean>::.ctor(System.Object,System.IntPtr)
extern "C" void Func_2__ctor_m1354888807_gshared (Func_2_t3961629604 * __this, Il2CppObject * p0, IntPtr_t p1, const MethodInfo* method);
// System.Collections.Generic.IEnumerable`1<!!0> System.Linq.Enumerable::Where<System.Object>(System.Collections.Generic.IEnumerable`1<!!0>,System.Func`2<!!0,System.Boolean>)
extern "C" Il2CppObject* Enumerable_Where_TisIl2CppObject_m1516493223_gshared (Il2CppObject * __this /* static, unused */, Il2CppObject* p0, Func_2_t3961629604 * p1, const MethodInfo* method);
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Vector3>::Get()
extern "C" List_1_t1612828712 * ListPool_1_Get_m2998644518_gshared (Il2CppObject * __this /* static, unused */, const MethodInfo* method);
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Color32>::Get()
extern "C" List_1_t243638650 * ListPool_1_Get_m3357896252_gshared (Il2CppObject * __this /* static, unused */, const MethodInfo* method);
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Vector2>::Get()
extern "C" List_1_t1612828711 * ListPool_1_Get_m3002130343_gshared (Il2CppObject * __this /* static, unused */, const MethodInfo* method);
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Vector4>::Get()
extern "C" List_1_t1612828713 * ListPool_1_Get_m3009093805_gshared (Il2CppObject * __this /* static, unused */, const MethodInfo* method);
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<System.Int32>::Get()
extern "C" List_1_t1440998580 * ListPool_1_Get_m3809147792_gshared (Il2CppObject * __this /* static, unused */, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
extern "C" void List_1_AddRange_m2878063899_gshared (List_1_t1612828712 * __this, Il2CppObject* p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
extern "C" void List_1_AddRange_m1309698249_gshared (List_1_t243638650 * __this, Il2CppObject* p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
extern "C" void List_1_AddRange_m4255157622_gshared (List_1_t1612828711 * __this, Il2CppObject* p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
extern "C" void List_1_AddRange_m3345533268_gshared (List_1_t1612828713 * __this, Il2CppObject* p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<System.Int32>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
extern "C" void List_1_AddRange_m2567809379_gshared (List_1_t1440998580 * __this, Il2CppObject* p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Clear()
extern "C" void List_1_Clear_m576262818_gshared (List_1_t1612828712 * __this, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Clear()
extern "C" void List_1_Clear_m3889887144_gshared (List_1_t243638650 * __this, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Clear()
extern "C" void List_1_Clear_m1402865383_gshared (List_1_t1612828711 * __this, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::Clear()
extern "C" void List_1_Clear_m981597149_gshared (List_1_t1612828713 * __this, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<System.Int32>::Clear()
extern "C" void List_1_Clear_m3644677550_gshared (List_1_t1440998580 * __this, const MethodInfo* method);
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Count()
extern "C" int32_t List_1_get_Count_m4027941115_gshared (List_1_t1612828712 * __this, const MethodInfo* method);
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Count()
extern "C" int32_t List_1_get_Count_m852068579_gshared (List_1_t1440998580 * __this, const MethodInfo* method);
// !0 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Item(System.Int32)
extern "C" Vector3_t2243707580 List_1_get_Item_m2503489122_gshared (List_1_t1612828712 * __this, int32_t p0, const MethodInfo* method);
// !0 System.Collections.Generic.List`1<UnityEngine.Color32>::get_Item(System.Int32)
extern "C" Color32_t874517518 List_1_get_Item_m2079323980_gshared (List_1_t243638650 * __this, int32_t p0, const MethodInfo* method);
// !0 System.Collections.Generic.List`1<UnityEngine.Vector2>::get_Item(System.Int32)
extern "C" Vector2_t2243707579 List_1_get_Item_m2892902305_gshared (List_1_t1612828711 * __this, int32_t p0, const MethodInfo* method);
// !0 System.Collections.Generic.List`1<UnityEngine.Vector4>::get_Item(System.Int32)
extern "C" Vector4_t2243707581 List_1_get_Item_m3157283227_gshared (List_1_t1612828713 * __this, int32_t p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::set_Item(System.Int32,!0)
extern "C" void List_1_set_Item_m3393612627_gshared (List_1_t1612828712 * __this, int32_t p0, Vector3_t2243707580 p1, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::set_Item(System.Int32,!0)
extern "C" void List_1_set_Item_m1209652185_gshared (List_1_t243638650 * __this, int32_t p0, Color32_t874517518 p1, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::set_Item(System.Int32,!0)
extern "C" void List_1_set_Item_m1027817326_gshared (List_1_t1612828711 * __this, int32_t p0, Vector2_t2243707579 p1, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::set_Item(System.Int32,!0)
extern "C" void List_1_set_Item_m1431784996_gshared (List_1_t1612828713 * __this, int32_t p0, Vector4_t2243707581 p1, const MethodInfo* method);
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Vector3>::Release(System.Collections.Generic.List`1<T>)
extern "C" void ListPool_1_Release_m4118150756_gshared (Il2CppObject * __this /* static, unused */, List_1_t1612828712 * p0, const MethodInfo* method);
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Color32>::Release(System.Collections.Generic.List`1<T>)
extern "C" void ListPool_1_Release_m3047738410_gshared (Il2CppObject * __this /* static, unused */, List_1_t243638650 * p0, const MethodInfo* method);
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Vector2>::Release(System.Collections.Generic.List`1<T>)
extern "C" void ListPool_1_Release_m2208096831_gshared (Il2CppObject * __this /* static, unused */, List_1_t1612828711 * p0, const MethodInfo* method);
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Vector4>::Release(System.Collections.Generic.List`1<T>)
extern "C" void ListPool_1_Release_m1119005941_gshared (Il2CppObject * __this /* static, unused */, List_1_t1612828713 * p0, const MethodInfo* method);
// System.Void UnityEngine.UI.ListPool`1<System.Int32>::Release(System.Collections.Generic.List`1<T>)
extern "C" void ListPool_1_Release_m3716853512_gshared (Il2CppObject * __this /* static, unused */, List_1_t1440998580 * p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Add(!0)
extern "C" void List_1_Add_m2338641291_gshared (List_1_t1612828712 * __this, Vector3_t2243707580 p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Add(!0)
extern "C" void List_1_Add_m2405105969_gshared (List_1_t243638650 * __this, Color32_t874517518 p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Add(!0)
extern "C" void List_1_Add_m148291600_gshared (List_1_t1612828711 * __this, Vector2_t2243707579 p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::Add(!0)
extern "C" void List_1_Add_m1346004230_gshared (List_1_t1612828713 * __this, Vector4_t2243707581 p0, const MethodInfo* method);
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(!0)
extern "C" void List_1_Add_m688682013_gshared (List_1_t1440998580 * __this, int32_t p0, const MethodInfo* method);
// System.Single UnityEngine.UI.LayoutUtility::GetMinWidth(UnityEngine.RectTransform)
extern "C" float LayoutUtility_GetMinWidth_m3099306786 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.LayoutUtility::GetMinHeight(UnityEngine.RectTransform)
extern "C" float LayoutUtility_GetMinHeight_m253934105 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.LayoutUtility::GetPreferredWidth(UnityEngine.RectTransform)
extern "C" float LayoutUtility_GetPreferredWidth_m2895813867 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.LayoutUtility::GetPreferredHeight(UnityEngine.RectTransform)
extern "C" float LayoutUtility_GetPreferredHeight_m1078616356 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.LayoutUtility::GetFlexibleWidth(UnityEngine.RectTransform)
extern "C" float LayoutUtility_GetFlexibleWidth_m1731978987 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.LayoutUtility::GetFlexibleHeight(UnityEngine.RectTransform)
extern "C" float LayoutUtility_GetFlexibleHeight_m791192670 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Func`2<UnityEngine.UI.ILayoutElement,System.Single>::.ctor(System.Object,System.IntPtr)
#define Func_2__ctor_m3475534202(__this, p0, p1, method) (( void (*) (Func_2_t1976155184 *, Il2CppObject *, IntPtr_t, const MethodInfo*))Func_2__ctor_m1874497973_gshared)(__this, p0, p1, method)
// System.Single UnityEngine.UI.LayoutUtility::GetLayoutProperty(UnityEngine.RectTransform,System.Func`2<UnityEngine.UI.ILayoutElement,System.Single>,System.Single)
extern "C" float LayoutUtility_GetLayoutProperty_m4052007472 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, Func_2_t1976155184 * ___property1, float ___defaultValue2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Mathf::Max(System.Single,System.Single)
extern "C" float Mathf_Max_m2564622569 (Il2CppObject * __this /* static, unused */, float p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.LayoutUtility::GetLayoutProperty(UnityEngine.RectTransform,System.Func`2<UnityEngine.UI.ILayoutElement,System.Single>,System.Single,UnityEngine.UI.ILayoutElement&)
extern "C" float LayoutUtility_GetLayoutProperty_m2473621994 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, Func_2_t1976155184 * ___property1, float ___defaultValue2, Il2CppObject ** ___source3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
extern "C" bool Object_op_Equality_m3764089466 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * p0, Object_t1021602117 * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Component>::Get()
#define ListPool_1_Get_m1238534579(__this /* static, unused */, method) (( List_1_t3188497603 * (*) (Il2CppObject * /* static, unused */, const MethodInfo*))ListPool_1_Get_m529219189_gshared)(__this /* static, unused */, method)
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
extern "C" Type_t * Type_GetTypeFromHandle_m432505302 (Il2CppObject * __this /* static, unused */, RuntimeTypeHandle_t2330101084 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Component::GetComponents(System.Type,System.Collections.Generic.List`1<UnityEngine.Component>)
extern "C" void Component_GetComponents_m3712441745 (Component_t3819376471 * __this, Type_t * p0, List_1_t3188497603 * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !0 System.Collections.Generic.List`1<UnityEngine.Component>::get_Item(System.Int32)
#define List_1_get_Item_m2919783149(__this, p0, method) (( Component_t3819376471 * (*) (List_1_t3188497603 *, int32_t, const MethodInfo*))List_1_get_Item_m2062981835_gshared)(__this, p0, method)
// System.Boolean UnityEngine.Behaviour::get_isActiveAndEnabled()
extern "C" bool Behaviour_get_isActiveAndEnabled_m3838334305 (Behaviour_t955675639 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !1 System.Func`2<UnityEngine.UI.ILayoutElement,System.Single>::Invoke(!0)
#define Func_2_Invoke_m3701828196(__this, p0, method) (( float (*) (Func_2_t1976155184 *, Il2CppObject *, const MethodInfo*))Func_2_Invoke_m4121137703_gshared)(__this, p0, method)
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Component>::get_Count()
#define List_1_get_Count_m688539176(__this, method) (( int32_t (*) (List_1_t3188497603 *, const MethodInfo*))List_1_get_Count_m2375293942_gshared)(__this, method)
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Component>::Release(System.Collections.Generic.List`1<T>)
#define ListPool_1_Release_m1646128643(__this /* static, unused */, p0, method) (( void (*) (Il2CppObject * /* static, unused */, List_1_t3188497603 *, const MethodInfo*))ListPool_1_Release_m1464559125_gshared)(__this /* static, unused */, p0, method)
// System.Void UnityEngine.EventSystems.UIBehaviour::.ctor()
extern "C" void UIBehaviour__ctor_m984034336 (UIBehaviour_t3960014691 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.Component::GetComponent<UnityEngine.RectTransform>()
#define Component_GetComponent_TisRectTransform_t3349966182_m1310250299(__this, method) (( RectTransform_t3349966182 * (*) (Component_t3819376471 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m4109961936_gshared)(__this, method)
// UnityEngine.UI.Graphic UnityEngine.UI.Mask::get_graphic()
extern "C" Graphic_t2426225576 * Mask_get_graphic_m775949552 (Mask_t2977958238 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
extern "C" bool Object_op_Inequality_m2402264703 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * p0, Object_t1021602117 * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.Component::GetComponent<UnityEngine.UI.Graphic>()
#define Component_GetComponent_TisGraphic_t2426225576_m650184603(__this, method) (( Graphic_t2426225576 * (*) (Component_t3819376471 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m4109961936_gshared)(__this, method)
// System.Void UnityEngine.EventSystems.UIBehaviour::OnEnable()
extern "C" void UIBehaviour_OnEnable_m152520444 (UIBehaviour_t3960014691 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.CanvasRenderer UnityEngine.UI.Graphic::get_canvasRenderer()
extern "C" CanvasRenderer_t261436805 * Graphic_get_canvasRenderer_m2902370808 (Graphic_t2426225576 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.CanvasRenderer::set_hasPopInstruction(System.Boolean)
extern "C" void CanvasRenderer_set_hasPopInstruction_m1388844875 (CanvasRenderer_t261436805 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.MaskUtilities::NotifyStencilStateChanged(UnityEngine.Component)
extern "C" void MaskUtilities_NotifyStencilStateChanged_m1527407683 (Il2CppObject * __this /* static, unused */, Component_t3819376471 * ___mask0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.EventSystems.UIBehaviour::OnDisable()
extern "C" void UIBehaviour_OnDisable_m2533338171 (UIBehaviour_t3960014691 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.CanvasRenderer::set_popMaterialCount(System.Int32)
extern "C" void CanvasRenderer_set_popMaterialCount_m3394823403 (CanvasRenderer_t261436805 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.StencilMaterial::Remove(UnityEngine.Material)
extern "C" void StencilMaterial_Remove_m3616154292 (Il2CppObject * __this /* static, unused */, Material_t193706927 * ___customMat0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.RectTransform UnityEngine.UI.Mask::get_rectTransform()
extern "C" RectTransform_t3349966182 * Mask_get_rectTransform_m3304369086 (Mask_t2977958238 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.RectTransformUtility::RectangleContainsScreenPoint(UnityEngine.RectTransform,UnityEngine.Vector2,UnityEngine.Camera)
extern "C" bool RectTransformUtility_RectangleContainsScreenPoint_m1244853728 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * p0, Vector2_t2243707579 p1, Camera_t189460977 * p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Transform UnityEngine.Component::get_transform()
extern "C" Transform_t3275118058 * Component_get_transform_m2697483695 (Component_t3819376471 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Transform UnityEngine.UI.MaskUtilities::FindRootSortOverrideCanvas(UnityEngine.Transform)
extern "C" Transform_t3275118058 * MaskUtilities_FindRootSortOverrideCanvas_m433286381 (Il2CppObject * __this /* static, unused */, Transform_t3275118058 * ___start0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 UnityEngine.UI.MaskUtilities::GetStencilDepth(UnityEngine.Transform,UnityEngine.Transform)
extern "C" int32_t MaskUtilities_GetStencilDepth_m3432755788 (Il2CppObject * __this /* static, unused */, Transform_t3275118058 * ___transform0, Transform_t3275118058 * ___stopAfter1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.GameObject UnityEngine.Component::get_gameObject()
extern "C" GameObject_t1756533147 * Component_get_gameObject_m3105766835 (Component_t3819376471 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Debug::LogError(System.Object,UnityEngine.Object)
extern "C" void Debug_LogError_m865553560 (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, Object_t1021602117 * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Material UnityEngine.UI.StencilMaterial::Add(UnityEngine.Material,System.Int32,UnityEngine.Rendering.StencilOp,UnityEngine.Rendering.CompareFunction,UnityEngine.Rendering.ColorWriteMask)
extern "C" Material_t193706927 * StencilMaterial_Add_m2540251346 (Il2CppObject * __this /* static, unused */, Material_t193706927 * ___baseMat0, int32_t ___stencilID1, int32_t ___operation2, int32_t ___compareFunction3, int32_t ___colorWriteMask4, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.CanvasRenderer::SetPopMaterial(UnityEngine.Material,System.Int32)
extern "C" void CanvasRenderer_SetPopMaterial_m3522214039 (CanvasRenderer_t261436805 * __this, Material_t193706927 * p0, int32_t p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Material UnityEngine.UI.StencilMaterial::Add(UnityEngine.Material,System.Int32,UnityEngine.Rendering.StencilOp,UnityEngine.Rendering.CompareFunction,UnityEngine.Rendering.ColorWriteMask,System.Int32,System.Int32)
extern "C" Material_t193706927 * StencilMaterial_Add_m3307959964 (Il2CppObject * __this /* static, unused */, Material_t193706927 * ___baseMat0, int32_t ___stencilID1, int32_t ___operation2, int32_t ___compareFunction3, int32_t ___colorWriteMask4, int32_t ___readMask5, int32_t ___writeMask6, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.MaskableGraphic/CullStateChangedEvent::.ctor()
extern "C" void CullStateChangedEvent__ctor_m4025397477 (CullStateChangedEvent_t3778758259 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Graphic::.ctor()
extern "C" void Graphic__ctor_m821539719 (Graphic_t2426225576 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.MaskableGraphic::get_maskable()
extern "C" bool MaskableGraphic_get_maskable_m4135222746 (MaskableGraphic_t540192618 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.Component::GetComponent<UnityEngine.UI.Mask>()
#define Component_GetComponent_TisMask_t2977958238_m2071028213(__this, method) (( Mask_t2977958238 * (*) (Component_t3819376471 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m4109961936_gshared)(__this, method)
// UnityEngine.Rect UnityEngine.UI.MaskableGraphic::get_rootCanvasRect()
extern "C" Rect_t3681755626 MaskableGraphic_get_rootCanvasRect_m2245431682 (MaskableGraphic_t540192618 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Rect::Overlaps(UnityEngine.Rect,System.Boolean)
extern "C" bool Rect_Overlaps_m4145874649 (Rect_t3681755626 * __this, Rect_t3681755626 p0, bool p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.MaskableGraphic::UpdateCull(System.Boolean)
extern "C" void MaskableGraphic_UpdateCull_m3420980261 (MaskableGraphic_t540192618 * __this, bool ___cull0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.CanvasRenderer::get_cull()
extern "C" bool CanvasRenderer_get_cull_m3577089379 (CanvasRenderer_t261436805 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.CanvasRenderer::set_cull(System.Boolean)
extern "C" void CanvasRenderer_set_cull_m1437892490 (CanvasRenderer_t261436805 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::Invoke(!0)
#define UnityEvent_1_Invoke_m667974834(__this, p0, method) (( void (*) (UnityEvent_1_t3863924733 *, bool, const MethodInfo*))UnityEvent_1_Invoke_m667974834_gshared)(__this, p0, method)
// System.Void UnityEngine.CanvasRenderer::EnableRectClipping(UnityEngine.Rect)
extern "C" void CanvasRenderer_EnableRectClipping_m478557626 (CanvasRenderer_t261436805 * __this, Rect_t3681755626 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.CanvasRenderer::DisableRectClipping()
extern "C" void CanvasRenderer_DisableRectClipping_m2720508088 (CanvasRenderer_t261436805 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Graphic::OnEnable()
extern "C" void Graphic_OnEnable_m2900261811 (Graphic_t2426225576 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.MaskableGraphic::UpdateClipParent()
extern "C" void MaskableGraphic_UpdateClipParent_m3533760836 (MaskableGraphic_t540192618 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Graphic::OnDisable()
extern "C" void Graphic_OnDisable_m2360886868 (Graphic_t2426225576 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Graphic::OnTransformParentChanged()
extern "C" void Graphic_OnTransformParentChanged_m966389462 (Graphic_t2426225576 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Graphic::OnCanvasHierarchyChanged()
extern "C" void Graphic_OnCanvasHierarchyChanged_m403140731 (Graphic_t2426225576 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.RectTransform UnityEngine.UI.Graphic::get_rectTransform()
extern "C" RectTransform_t3349966182 * Graphic_get_rectTransform_m2697395074 (Graphic_t2426225576 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.RectTransform::GetWorldCorners(UnityEngine.Vector3[])
extern "C" void RectTransform_GetWorldCorners_m3873546362 (RectTransform_t3349966182 * __this, Vector3U5BU5D_t1172311765* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Canvas UnityEngine.UI.Graphic::get_canvas()
extern "C" Canvas_t209405766 * Graphic_get_canvas_m274525322 (Graphic_t2426225576 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Object::op_Implicit(UnityEngine.Object)
extern "C" bool Object_op_Implicit_m2856731593 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Canvas UnityEngine.Canvas::get_rootCanvas()
extern "C" Canvas_t209405766 * Canvas_get_rootCanvas_m1790974328 (Canvas_t209405766 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Transform::InverseTransformPoint(UnityEngine.Vector3)
extern "C" Vector3_t2243707580 Transform_InverseTransformPoint_m2648491174 (Transform_t3275118058 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Rect::.ctor(System.Single,System.Single,System.Single,System.Single)
extern "C" void Rect__ctor_m1220545469 (Rect_t3681755626 * __this, float p0, float p1, float p2, float p3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.RectMask2D UnityEngine.UI.MaskUtilities::GetRectMaskForClippable(UnityEngine.UI.IClippable)
extern "C" RectMask2D_t1156185964 * MaskUtilities_GetRectMaskForClippable_m3534151072 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___clippable0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.RectMask2D::RemoveClippable(UnityEngine.UI.IClippable)
extern "C" void RectMask2D_RemoveClippable_m1579973877 (RectMask2D_t1156185964 * __this, Il2CppObject * ___clippable0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.RectMask2D::AddClippable(UnityEngine.UI.IClippable)
extern "C" void RectMask2D_AddClippable_m2808547408 (RectMask2D_t1156185964 * __this, Il2CppObject * ___clippable0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Events.UnityEvent`1<System.Boolean>::.ctor()
#define UnityEvent_1__ctor_m4051141261(__this, method) (( void (*) (UnityEvent_1_t3863924733 *, const MethodInfo*))UnityEvent_1__ctor_m4051141261_gshared)(__this, method)
// System.Void System.Object::.ctor()
extern "C" void Object__ctor_m2551263788 (Il2CppObject * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Component::GetComponentsInChildren<UnityEngine.Component>(System.Collections.Generic.List`1<!!0>)
#define Component_GetComponentsInChildren_TisComponent_t3819376471_m1300564530(__this, p0, method) (( void (*) (Component_t3819376471 *, List_1_t3188497603 *, const MethodInfo*))Component_GetComponentsInChildren_TisIl2CppObject_m1992201622_gshared)(__this, p0, method)
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Canvas>::Get()
#define ListPool_1_Get_m2770280140(__this /* static, unused */, method) (( List_1_t3873494194 * (*) (Il2CppObject * /* static, unused */, const MethodInfo*))ListPool_1_Get_m529219189_gshared)(__this /* static, unused */, method)
// System.Void UnityEngine.Component::GetComponentsInParent<UnityEngine.Canvas>(System.Boolean,System.Collections.Generic.List`1<!!0>)
#define Component_GetComponentsInParent_TisCanvas_t209405766_m334209269(__this, p0, p1, method) (( void (*) (Component_t3819376471 *, bool, List_1_t3873494194 *, const MethodInfo*))Component_GetComponentsInParent_TisIl2CppObject_m1689132204_gshared)(__this, p0, p1, method)
// !0 System.Collections.Generic.List`1<UnityEngine.Canvas>::get_Item(System.Int32)
#define List_1_get_Item_m3871422818(__this, p0, method) (( Canvas_t209405766 * (*) (List_1_t3873494194 *, int32_t, const MethodInfo*))List_1_get_Item_m2062981835_gshared)(__this, p0, method)
// System.Boolean UnityEngine.Canvas::get_overrideSorting()
extern "C" bool Canvas_get_overrideSorting_m3223770298 (Canvas_t209405766 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Canvas>::get_Count()
#define List_1_get_Count_m797577425(__this, method) (( int32_t (*) (List_1_t3873494194 *, const MethodInfo*))List_1_get_Count_m2375293942_gshared)(__this, method)
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Canvas>::Release(System.Collections.Generic.List`1<T>)
#define ListPool_1_Release_m2449989212(__this /* static, unused */, p0, method) (( void (*) (Il2CppObject * /* static, unused */, List_1_t3873494194 *, const MethodInfo*))ListPool_1_Release_m1464559125_gshared)(__this /* static, unused */, p0, method)
// UnityEngine.Transform UnityEngine.Transform::get_parent()
extern "C" Transform_t3275118058 * Transform_get_parent_m147407266 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.UI.Mask>::Get()
#define ListPool_1_Get_m1447713146(__this /* static, unused */, method) (( List_1_t2347079370 * (*) (Il2CppObject * /* static, unused */, const MethodInfo*))ListPool_1_Get_m529219189_gshared)(__this /* static, unused */, method)
// System.Void UnityEngine.Component::GetComponents<UnityEngine.UI.Mask>(System.Collections.Generic.List`1<!!0>)
#define Component_GetComponents_TisMask_t2977958238_m1568477639(__this, p0, method) (( void (*) (Component_t3819376471 *, List_1_t2347079370 *, const MethodInfo*))Component_GetComponents_TisIl2CppObject_m1186222966_gshared)(__this, p0, method)
// !0 System.Collections.Generic.List`1<UnityEngine.UI.Mask>::get_Item(System.Int32)
#define List_1_get_Item_m4170315654(__this, p0, method) (( Mask_t2977958238 * (*) (List_1_t2347079370 *, int32_t, const MethodInfo*))List_1_get_Item_m2062981835_gshared)(__this, p0, method)
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Mask>::get_Count()
#define List_1_get_Count_m2876061359(__this, method) (( int32_t (*) (List_1_t2347079370 *, const MethodInfo*))List_1_get_Count_m2375293942_gshared)(__this, method)
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.UI.Mask>::Release(System.Collections.Generic.List`1<T>)
#define ListPool_1_Release_m3086823280(__this /* static, unused */, p0, method) (( void (*) (Il2CppObject * /* static, unused */, List_1_t2347079370 *, const MethodInfo*))ListPool_1_Release_m1464559125_gshared)(__this /* static, unused */, p0, method)
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.UI.RectMask2D>::Get()
#define ListPool_1_Get_m450402794(__this /* static, unused */, method) (( List_1_t525307096 * (*) (Il2CppObject * /* static, unused */, const MethodInfo*))ListPool_1_Get_m529219189_gshared)(__this /* static, unused */, method)
// System.Void UnityEngine.Component::GetComponentsInParent<UnityEngine.UI.RectMask2D>(System.Boolean,System.Collections.Generic.List`1<!!0>)
#define Component_GetComponentsInParent_TisRectMask2D_t1156185964_m1865812113(__this, p0, p1, method) (( void (*) (Component_t3819376471 *, bool, List_1_t525307096 *, const MethodInfo*))Component_GetComponentsInParent_TisIl2CppObject_m1689132204_gshared)(__this, p0, p1, method)
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>::get_Count()
#define List_1_get_Count_m3765596117(__this, method) (( int32_t (*) (List_1_t525307096 *, const MethodInfo*))List_1_get_Count_m2375293942_gshared)(__this, method)
// !0 System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>::get_Item(System.Int32)
#define List_1_get_Item_m215805666(__this, p0, method) (( RectMask2D_t1156185964 * (*) (List_1_t525307096 *, int32_t, const MethodInfo*))List_1_get_Item_m2062981835_gshared)(__this, p0, method)
// System.Boolean UnityEngine.UI.MaskUtilities::IsDescendantOrSelf(UnityEngine.Transform,UnityEngine.Transform)
extern "C" bool MaskUtilities_IsDescendantOrSelf_m1896676501 (Il2CppObject * __this /* static, unused */, Transform_t3275118058 * ___father0, Transform_t3275118058 * ___child1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.UI.RectMask2D>::Release(System.Collections.Generic.List`1<T>)
#define ListPool_1_Release_m3380020388(__this /* static, unused */, p0, method) (( void (*) (Il2CppObject * /* static, unused */, List_1_t525307096 *, const MethodInfo*))ListPool_1_Release_m1464559125_gshared)(__this /* static, unused */, p0, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>::Clear()
#define List_1_Clear_m1697221398(__this, method) (( void (*) (List_1_t525307096 *, const MethodInfo*))List_1_Clear_m4254626809_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>::Add(!0)
#define List_1_Add_m1013816477(__this, p0, method) (( void (*) (List_1_t525307096 *, RectMask2D_t1156185964 *, const MethodInfo*))List_1_Add_m4157722533_gshared)(__this, p0, method)
// System.Boolean UnityEngine.Application::get_isPlaying()
extern "C" bool Application_get_isPlaying_m4091950718 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Transform UnityEngine.GameObject::get_transform()
extern "C" Transform_t3275118058 * GameObject_get_transform_m909382139 (GameObject_t1756533147 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Transform::set_parent(UnityEngine.Transform)
extern "C" void Transform_set_parent_m3281327839 (Transform_t3275118058 * __this, Transform_t3275118058 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Object::Destroy(UnityEngine.Object)
extern "C" void Object_Destroy_m4145850038 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Object::DestroyImmediate(UnityEngine.Object)
extern "C" void Object_DestroyImmediate_m95027445 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Application::get_isEditor()
extern "C" bool Application_get_isEditor_m2474583393 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Navigation/Mode UnityEngine.UI.Navigation::get_mode()
extern "C" int32_t Navigation_get_mode_m1837991501 (Navigation_t1571958496 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Navigation::set_mode(UnityEngine.UI.Navigation/Mode)
extern "C" void Navigation_set_mode_m2631871514 (Navigation_t1571958496 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::get_selectOnUp()
extern "C" Selectable_t1490392188 * Navigation_get_selectOnUp_m3734591810 (Navigation_t1571958496 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Navigation::set_selectOnUp(UnityEngine.UI.Selectable)
extern "C" void Navigation_set_selectOnUp_m1130955569 (Navigation_t1571958496 * __this, Selectable_t1490392188 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::get_selectOnDown()
extern "C" Selectable_t1490392188 * Navigation_get_selectOnDown_m3127721149 (Navigation_t1571958496 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Navigation::set_selectOnDown(UnityEngine.UI.Selectable)
extern "C" void Navigation_set_selectOnDown_m3161742238 (Navigation_t1571958496 * __this, Selectable_t1490392188 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::get_selectOnLeft()
extern "C" Selectable_t1490392188 * Navigation_get_selectOnLeft_m3980387574 (Navigation_t1571958496 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Navigation::set_selectOnLeft(UnityEngine.UI.Selectable)
extern "C" void Navigation_set_selectOnLeft_m299987831 (Navigation_t1571958496 * __this, Selectable_t1490392188 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::get_selectOnRight()
extern "C" Selectable_t1490392188 * Navigation_get_selectOnRight_m96837927 (Navigation_t1571958496 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Navigation::set_selectOnRight(UnityEngine.UI.Selectable)
extern "C" void Navigation_set_selectOnRight_m3296376676 (Navigation_t1571958496 * __this, Selectable_t1490392188 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.Navigation::Equals(UnityEngine.UI.Navigation)
extern "C" bool Navigation_Equals_m4214630671 (Navigation_t1571958496 * __this, Navigation_t1571958496 ___other0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Shadow::.ctor()
extern "C" void Shadow__ctor_m924057531 (Shadow_t4269599528 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.UIVertex>::Get()
#define ListPool_1_Get_m4215629480(__this /* static, unused */, method) (( List_1_t573379950 * (*) (Il2CppObject * /* static, unused */, const MethodInfo*))ListPool_1_Get_m4215629480_gshared)(__this /* static, unused */, method)
// System.Void UnityEngine.UI.VertexHelper::GetUIVertexStream(System.Collections.Generic.List`1<UnityEngine.UIVertex>)
extern "C" void VertexHelper_GetUIVertexStream_m3849188814 (VertexHelper_t385374196 * __this, List_1_t573379950 * ___stream0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Count()
#define List_1_get_Count_m2390119157(__this, method) (( int32_t (*) (List_1_t573379950 *, const MethodInfo*))List_1_get_Count_m2390119157_gshared)(__this, method)
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Capacity()
#define List_1_get_Capacity_m3497182270(__this, method) (( int32_t (*) (List_1_t573379950 *, const MethodInfo*))List_1_get_Capacity_m3497182270_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.UIVertex>::set_Capacity(System.Int32)
#define List_1_set_Capacity_m3121007037(__this, p0, method) (( void (*) (List_1_t573379950 *, int32_t, const MethodInfo*))List_1_set_Capacity_m3121007037_gshared)(__this, p0, method)
// UnityEngine.Color UnityEngine.UI.Shadow::get_effectColor()
extern "C" Color_t2020392075 Shadow_get_effectColor_m792481977 (Shadow_t4269599528 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color32 UnityEngine.Color32::op_Implicit(UnityEngine.Color)
extern "C" Color32_t874517518 Color32_op_Implicit_m624191464 (Il2CppObject * __this /* static, unused */, Color_t2020392075 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.UI.Shadow::get_effectDistance()
extern "C" Vector2_t2243707579 Shadow_get_effectDistance_m1859706485 (Shadow_t4269599528 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Shadow::ApplyShadowZeroAlloc(System.Collections.Generic.List`1<UnityEngine.UIVertex>,UnityEngine.Color32,System.Int32,System.Int32,System.Single,System.Single)
extern "C" void Shadow_ApplyShadowZeroAlloc_m2132231878 (Shadow_t4269599528 * __this, List_1_t573379950 * ___verts0, Color32_t874517518 ___color1, int32_t ___start2, int32_t ___end3, float ___x4, float ___y5, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.VertexHelper::Clear()
extern "C" void VertexHelper_Clear_m648714328 (VertexHelper_t385374196 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.VertexHelper::AddUIVertexTriangleStream(System.Collections.Generic.List`1<UnityEngine.UIVertex>)
extern "C" void VertexHelper_AddUIVertexTriangleStream_m4009409241 (VertexHelper_t385374196 * __this, List_1_t573379950 * ___verts0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.UIVertex>::Release(System.Collections.Generic.List`1<T>)
#define ListPool_1_Release_m782571048(__this /* static, unused */, p0, method) (( void (*) (Il2CppObject * /* static, unused */, List_1_t573379950 *, const MethodInfo*))ListPool_1_Release_m782571048_gshared)(__this /* static, unused */, p0, method)
// System.Void UnityEngine.UI.BaseMeshEffect::.ctor()
extern "C" void BaseMeshEffect__ctor_m2843647600 (BaseMeshEffect_t1728560551 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.VertexHelper::PopulateUIVertex(UnityEngine.UIVertex&,System.Int32)
extern "C" void VertexHelper_PopulateUIVertex_m1570922497 (VertexHelper_t385374196 * __this, UIVertex_t1204258818 * ___vertex0, int32_t ___i1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Vector2::.ctor(System.Single,System.Single)
extern "C" void Vector2__ctor_m3067419446 (Vector2_t2243707579 * __this, float p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.VertexHelper::SetUIVertex(UnityEngine.UIVertex,System.Int32)
extern "C" void VertexHelper_SetUIVertex_m2397401947 (VertexHelper_t385374196 * __this, UIVertex_t1204258818 ___vertex0, int32_t ___i1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 UnityEngine.UI.VertexHelper::get_currentVertCount()
extern "C" int32_t VertexHelper_get_currentVertCount_m1723889923 (VertexHelper_t385374196 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.MaskableGraphic::.ctor()
extern "C" void MaskableGraphic__ctor_m1454660053 (MaskableGraphic_t540192618 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Graphic::set_useLegacyMeshGeneration(System.Boolean)
extern "C" void Graphic_set_useLegacyMeshGeneration_m3023904722 (Graphic_t2426225576 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Texture UnityEngine.Material::get_mainTexture()
extern "C" Texture_t2243626319 * Material_get_mainTexture_m432794412 (Material_t193706927 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Rect::op_Equality(UnityEngine.Rect,UnityEngine.Rect)
extern "C" bool Rect_op_Equality_m2793663577 (Il2CppObject * __this /* static, unused */, Rect_t3681755626 p0, Rect_t3681755626 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Rect UnityEngine.UI.RawImage::get_uvRect()
extern "C" Rect_t3681755626 RawImage_get_uvRect_m2051606962 (RawImage_t2749640213 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Rect::get_width()
extern "C" float Rect_get_width_m1138015702 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 UnityEngine.Mathf::RoundToInt(System.Single)
extern "C" int32_t Mathf_RoundToInt_m2927198556 (Il2CppObject * __this /* static, unused */, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Rect::get_height()
extern "C" float Rect_get_height_m3128694305 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.RectTransform::get_anchorMin()
extern "C" Vector2_t2243707579 RectTransform_get_anchorMin_m1497323108 (RectTransform_t3349966182 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.RectTransform::set_anchorMax(UnityEngine.Vector2)
extern "C" void RectTransform_set_anchorMax_m2955899993 (RectTransform_t3349966182 * __this, Vector2_t2243707579 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.RectTransform::set_sizeDelta(UnityEngine.Vector2)
extern "C" void RectTransform_set_sizeDelta_m2319668137 (RectTransform_t3349966182 * __this, Vector2_t2243707579 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Rect UnityEngine.UI.Graphic::GetPixelAdjustedRect()
extern "C" Rect_t3681755626 Graphic_GetPixelAdjustedRect_m245815321 (Graphic_t2426225576 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Rect::get_x()
extern "C" float Rect_get_x_m1393582490 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Rect::get_y()
extern "C" float Rect_get_y_m1393582395 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Vector4::.ctor(System.Single,System.Single,System.Single,System.Single)
extern "C" void Vector4__ctor_m1222289168 (Vector4_t2243707581 * __this, float p0, float p1, float p2, float p3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.Texture::get_texelSize()
extern "C" Vector2_t2243707579 Texture_get_texelSize_m4226268553 (Texture_t2243626319 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Vector3::.ctor(System.Single,System.Single)
extern "C" void Vector3__ctor_m2720820983 (Vector3_t2243707580 * __this, float p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Rect::get_xMin()
extern "C" float Rect_get_xMin_m1161102488 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Rect::get_yMin()
extern "C" float Rect_get_yMin_m1161103577 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.VertexHelper::AddVert(UnityEngine.Vector3,UnityEngine.Color32,UnityEngine.Vector2)
extern "C" void VertexHelper_AddVert_m2953034489 (VertexHelper_t385374196 * __this, Vector3_t2243707580 ___position0, Color32_t874517518 ___color1, Vector2_t2243707579 ___uv02, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Rect::get_yMax()
extern "C" float Rect_get_yMax_m2915146103 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Rect::get_xMax()
extern "C" float Rect_get_xMax_m2915145014 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.VertexHelper::AddTriangle(System.Int32,System.Int32,System.Int32)
extern "C" void VertexHelper_AddTriangle_m3666051761 (VertexHelper_t385374196 * __this, int32_t ___idx00, int32_t ___idx11, int32_t ___idx22, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.Component::GetComponent<UnityEngine.Transform>()
#define Component_GetComponent_TisTransform_t3275118058_m235623703(__this, method) (( Transform_t3275118058 * (*) (Component_t3819376471 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m4109961936_gshared)(__this, method)
// System.Void UnityEngine.UI.RectangularVertexClipper::.ctor()
extern "C" void RectangularVertexClipper__ctor_m2262454802 (RectangularVertexClipper_t3349113845 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.HashSet`1<UnityEngine.UI.IClippable>::.ctor()
#define HashSet_1__ctor_m3946193976(__this, method) (( void (*) (HashSet_1_t274736911 *, const MethodInfo*))HashSet_1__ctor_m2858247305_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>::.ctor()
#define List_1__ctor_m1473022209(__this, method) (( void (*) (List_1_t525307096 *, const MethodInfo*))List_1__ctor_m310736118_gshared)(__this, method)
// System.Void UnityEngine.GameObject::GetComponentsInParent<UnityEngine.Canvas>(System.Boolean,System.Collections.Generic.List`1<!!0>)
#define GameObject_GetComponentsInParent_TisCanvas_t209405766_m1754656689(__this, p0, p1, method) (( void (*) (GameObject_t1756533147 *, bool, List_1_t3873494194 *, const MethodInfo*))GameObject_GetComponentsInParent_TisIl2CppObject_m3757051886_gshared)(__this, p0, p1, method)
// UnityEngine.RectTransform UnityEngine.UI.RectMask2D::get_rectTransform()
extern "C" RectTransform_t3349966182 * RectMask2D_get_rectTransform_m130488702 (RectMask2D_t1156185964 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Rect UnityEngine.UI.RectangularVertexClipper::GetCanvasRect(UnityEngine.RectTransform,UnityEngine.Canvas)
extern "C" Rect_t3681755626 RectangularVertexClipper_GetCanvasRect_m2728708140 (RectangularVertexClipper_t3349113845 * __this, RectTransform_t3349966182 * ___t0, Canvas_t209405766 * ___c1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ClipperRegistry::Register(UnityEngine.UI.IClipper)
extern "C" void ClipperRegistry_Register_m582125837 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___c0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.MaskUtilities::Notify2DMaskStateChanged(UnityEngine.Component)
extern "C" void MaskUtilities_Notify2DMaskStateChanged_m1704785167 (Il2CppObject * __this /* static, unused */, Component_t3819376471 * ___mask0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.HashSet`1<UnityEngine.UI.IClippable>::Clear()
#define HashSet_1_Clear_m3861807753(__this, method) (( void (*) (HashSet_1_t274736911 *, const MethodInfo*))HashSet_1_Clear_m350367572_gshared)(__this, method)
// System.Void UnityEngine.UI.ClipperRegistry::Unregister(UnityEngine.UI.IClipper)
extern "C" void ClipperRegistry_Unregister_m2938209708 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___c0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.MaskUtilities::GetRectMasksForClip(UnityEngine.UI.RectMask2D,System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>)
extern "C" void MaskUtilities_GetRectMasksForClip_m1540508301 (Il2CppObject * __this /* static, unused */, RectMask2D_t1156185964 * ___clipper0, List_1_t525307096 * ___masks1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Rect UnityEngine.UI.Clipping::FindCullAndClipWorldRect(System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>,System.Boolean&)
extern "C" Rect_t3681755626 Clipping_FindCullAndClipWorldRect_m3959472775 (Il2CppObject * __this /* static, unused */, List_1_t525307096 * ___rectMaskParents0, bool* ___validRect1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Rect::op_Inequality(UnityEngine.Rect,UnityEngine.Rect)
extern "C" bool Rect_op_Inequality_m3595915756 (Il2CppObject * __this /* static, unused */, Rect_t3681755626 p0, Rect_t3681755626 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Collections.Generic.HashSet`1/Enumerator<!0> System.Collections.Generic.HashSet`1<UnityEngine.UI.IClippable>::GetEnumerator()
#define HashSet_1_GetEnumerator_m147500535(__this, method) (( Enumerator_t3058020049 (*) (HashSet_1_t274736911 *, const MethodInfo*))HashSet_1_GetEnumerator_m2393522520_gshared)(__this, method)
// !0 System.Collections.Generic.HashSet`1/Enumerator<UnityEngine.UI.IClippable>::get_Current()
#define Enumerator_get_Current_m3326071153(__this, method) (( Il2CppObject * (*) (Enumerator_t3058020049 *, const MethodInfo*))Enumerator_get_Current_m1303936404_gshared)(__this, method)
// System.Boolean System.Collections.Generic.HashSet`1/Enumerator<UnityEngine.UI.IClippable>::MoveNext()
#define Enumerator_MoveNext_m1604522117(__this, method) (( bool (*) (Enumerator_t3058020049 *, const MethodInfo*))Enumerator_MoveNext_m2097560514_gshared)(__this, method)
// System.Void System.Collections.Generic.HashSet`1/Enumerator<UnityEngine.UI.IClippable>::Dispose()
#define Enumerator_Dispose_m1728662143(__this, method) (( void (*) (Enumerator_t3058020049 *, const MethodInfo*))Enumerator_Dispose_m2585752265_gshared)(__this, method)
// System.Boolean UnityEngine.CanvasRenderer::get_hasMoved()
extern "C" bool CanvasRenderer_get_hasMoved_m2428030996 (CanvasRenderer_t261436805 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean System.Collections.Generic.HashSet`1<UnityEngine.UI.IClippable>::Contains(!0)
#define HashSet_1_Contains_m3523819500(__this, p0, method) (( bool (*) (HashSet_1_t274736911 *, Il2CppObject *, const MethodInfo*))HashSet_1_Contains_m3626542335_gshared)(__this, p0, method)
// System.Boolean System.Collections.Generic.HashSet`1<UnityEngine.UI.IClippable>::Add(!0)
#define HashSet_1_Add_m2599901964(__this, p0, method) (( bool (*) (HashSet_1_t274736911 *, Il2CppObject *, const MethodInfo*))HashSet_1_Add_m199171953_gshared)(__this, p0, method)
// System.Boolean System.Collections.Generic.HashSet`1<UnityEngine.UI.IClippable>::Remove(!0)
#define HashSet_1_Remove_m2022801403(__this, p0, method) (( bool (*) (HashSet_1_t274736911 *, Il2CppObject *, const MethodInfo*))HashSet_1_Remove_m3273285564_gshared)(__this, p0, method)
// System.Void UnityEngine.EventSystems.UIBehaviour::OnTransformParentChanged()
extern "C" void UIBehaviour_OnTransformParentChanged_m3500538417 (UIBehaviour_t3960014691 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.EventSystems.UIBehaviour::OnCanvasHierarchyChanged()
extern "C" void UIBehaviour_OnCanvasHierarchyChanged_m762109874 (UIBehaviour_t3960014691 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Reflection.MethodInfo System.Type::GetMethod(System.String,System.Type[])
extern "C" MethodInfo_t * Type_GetMethod_m2079823229 (Type_t * __this, String_t* p0, TypeU5BU5D_t1664964607* p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Delegate UnityEngineInternal.ScriptingUtils::CreateDelegate(System.Type,System.Reflection.MethodInfo)
extern "C" Delegate_t3022476291 * ScriptingUtils_CreateDelegate_m1848023196 (Il2CppObject * __this /* static, unused */, Type_t * p0, MethodInfo_t * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ReflectionMethodsCache::.ctor()
extern "C" void ReflectionMethodsCache__ctor_m1835220 (ReflectionMethodsCache_t3343836395 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.RaycastHit2D[] UnityEngine.UI.ReflectionMethodsCache/GetRayIntersectionAllCallback::Invoke(UnityEngine.Ray,System.Single,System.Int32)
extern "C" RaycastHit2DU5BU5D_t4176517891* GetRayIntersectionAllCallback_Invoke_m3406736891 (GetRayIntersectionAllCallback_t2213949596 * __this, Ray_t2469606224 ___r0, float ___f1, int32_t ___i2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.RaycastHit2D UnityEngine.UI.ReflectionMethodsCache/Raycast2DCallback::Invoke(UnityEngine.Vector2,UnityEngine.Vector2,System.Single,System.Int32)
extern "C" RaycastHit2D_t4063908774 Raycast2DCallback_Invoke_m3172972373 (Raycast2DCallback_t2260664863 * __this, Vector2_t2243707579 ___p10, Vector2_t2243707579 ___p21, float ___f2, int32_t ___i3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.ReflectionMethodsCache/Raycast3DCallback::Invoke(UnityEngine.Ray,UnityEngine.RaycastHit&,System.Single,System.Int32)
extern "C" bool Raycast3DCallback_Invoke_m2271859924 (Raycast3DCallback_t3928470916 * __this, Ray_t2469606224 ___r0, RaycastHit_t87180320 * ___hit1, float ___f2, int32_t ___i3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.RaycastHit[] UnityEngine.UI.ReflectionMethodsCache/RaycastAllCallback::Invoke(UnityEngine.Ray,System.Single,System.Int32)
extern "C" RaycastHitU5BU5D_t1214023521* RaycastAllCallback_Invoke_m981876639 (RaycastAllCallback_t3435657708 * __this, Ray_t2469606224 ___r0, float ___f1, int32_t ___i2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Scrollbar/ScrollEvent::.ctor()
extern "C" void ScrollEvent__ctor_m1258909311 (ScrollEvent_t1794825321 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.Vector2::get_zero()
extern "C" Vector2_t2243707579 Vector2_get_zero_m3966848876 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::.ctor()
extern "C" void Selectable__ctor_m1440593935 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetClass<UnityEngine.RectTransform>(T&,T)
#define SetPropertyUtility_SetClass_TisRectTransform_t3349966182_m3360806591(__this /* static, unused */, ___currentValue0, ___newValue1, method) (( bool (*) (Il2CppObject * /* static, unused */, RectTransform_t3349966182 **, RectTransform_t3349966182 *, const MethodInfo*))SetPropertyUtility_SetClass_TisIl2CppObject_m3524554928_gshared)(__this /* static, unused */, ___currentValue0, ___newValue1, method)
// System.Void UnityEngine.UI.Scrollbar::UpdateCachedReferences()
extern "C" void Scrollbar_UpdateCachedReferences_m3295556124 (Scrollbar_t3248359358 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Scrollbar::UpdateVisuals()
extern "C" void Scrollbar_UpdateVisuals_m2935018543 (Scrollbar_t3248359358 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.Scrollbar/Direction>(T&,T)
#define SetPropertyUtility_SetStruct_TisDirection_t3696775921_m2182046118(__this /* static, unused */, ___currentValue0, ___newValue1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisDirection_t3696775921_m2182046118_gshared)(__this /* static, unused */, ___currentValue0, ___newValue1, method)
// System.Void UnityEngine.UI.Scrollbar::Set(System.Single)
extern "C" void Scrollbar_Set_m244028386 (Scrollbar_t3248359358 * __this, float ___input0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Mathf::Clamp01(System.Single)
extern "C" float Mathf_Clamp01_m3888954684 (Il2CppObject * __this /* static, unused */, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<System.Single>(T&,T)
#define SetPropertyUtility_SetStruct_TisSingle_t2076509932_m3849235084(__this /* static, unused */, ___currentValue0, ___newValue1, method) (( bool (*) (Il2CppObject * /* static, unused */, float*, float, const MethodInfo*))SetPropertyUtility_SetStruct_TisSingle_t2076509932_m3849235084_gshared)(__this /* static, unused */, ___currentValue0, ___newValue1, method)
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<System.Int32>(T&,T)
#define SetPropertyUtility_SetStruct_TisInt32_t2071877448_m2056826294(__this /* static, unused */, ___currentValue0, ___newValue1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisInt32_t2071877448_m2056826294_gshared)(__this /* static, unused */, ___currentValue0, ___newValue1, method)
// System.Void UnityEngine.UI.Selectable::OnEnable()
extern "C" void Selectable_OnEnable_m3825327683 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Scrollbar::Set(System.Single,System.Boolean)
extern "C" void Scrollbar_Set_m3993445697 (Scrollbar_t3248359358 * __this, float ___input0, bool ___sendCallback1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.DrivenRectTransformTracker::Clear()
extern "C" void DrivenRectTransformTracker_Clear_m864483440 (DrivenRectTransformTracker_t154385424 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::OnDisable()
extern "C" void Selectable_OnDisable_m2660228016 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.Scrollbar::get_value()
extern "C" float Scrollbar_get_value_m3913193633 (Scrollbar_t3248359358 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Events.UnityEvent`1<System.Single>::Invoke(!0)
#define UnityEvent_1_Invoke_m1298892870(__this, p0, method) (( void (*) (UnityEvent_1_t2114859947 *, float, const MethodInfo*))UnityEvent_1_Invoke_m1298892870_gshared)(__this, p0, method)
// System.Void UnityEngine.EventSystems.UIBehaviour::OnRectTransformDimensionsChange()
extern "C" void UIBehaviour_OnRectTransformDimensionsChange_m2743105076 (UIBehaviour_t3960014691 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.DrivenRectTransformTracker::Add(UnityEngine.Object,UnityEngine.RectTransform,UnityEngine.DrivenTransformProperties)
extern "C" void DrivenRectTransformTracker_Add_m310530075 (DrivenRectTransformTracker_t154385424 * __this, Object_t1021602117 * p0, RectTransform_t3349966182 * p1, int32_t p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.Vector2::get_one()
extern "C" Vector2_t2243707579 Vector2_get_one_m3174311904 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.Scrollbar::get_size()
extern "C" float Scrollbar_get_size_m247135391 (Scrollbar_t3248359358 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.Scrollbar::get_reverseValue()
extern "C" bool Scrollbar_get_reverseValue_m1971418883 (Scrollbar_t3248359358 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Scrollbar/Axis UnityEngine.UI.Scrollbar::get_axis()
extern "C" int32_t Scrollbar_get_axis_m2254740629 (Scrollbar_t3248359358 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Vector2::set_Item(System.Int32,System.Single)
extern "C" void Vector2_set_Item_m3881967114 (Vector2_t2243707579 * __this, int32_t p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.RectTransform::set_anchorMin(UnityEngine.Vector2)
extern "C" void RectTransform_set_anchorMin_m4247668187 (RectTransform_t3349966182 * __this, Vector2_t2243707579 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.EventSystems.PointerEventData/InputButton UnityEngine.EventSystems.PointerEventData::get_button()
extern "C" int32_t PointerEventData_get_button_m2339189303 (PointerEventData_t1599784723 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::get_position()
extern "C" Vector2_t2243707579 PointerEventData_get_position_m2131765015 (PointerEventData_t1599784723 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Camera UnityEngine.EventSystems.PointerEventData::get_pressEventCamera()
extern "C" Camera_t189460977 * PointerEventData_get_pressEventCamera_m724559964 (PointerEventData_t1599784723 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.RectTransformUtility::ScreenPointToLocalPointInRectangle(UnityEngine.RectTransform,UnityEngine.Vector2,UnityEngine.Camera,UnityEngine.Vector2&)
extern "C" bool RectTransformUtility_ScreenPointToLocalPointInRectangle_m2398565080 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * p0, Vector2_t2243707579 p1, Camera_t189460977 * p2, Vector2_t2243707579 * p3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.Vector2::op_Subtraction(UnityEngine.Vector2,UnityEngine.Vector2)
extern "C" Vector2_t2243707579 Vector2_op_Subtraction_m1984215297 (Il2CppObject * __this /* static, unused */, Vector2_t2243707579 p0, Vector2_t2243707579 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Rect UnityEngine.RectTransform::get_rect()
extern "C" Rect_t3681755626 RectTransform_get_rect_m73954734 (RectTransform_t3349966182 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.Rect::get_position()
extern "C" Vector2_t2243707579 Rect_get_position_m24550734 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.Rect::get_size()
extern "C" Vector2_t2243707579 Rect_get_size_m3833121112 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.RectTransform::get_sizeDelta()
extern "C" Vector2_t2243707579 RectTransform_get_sizeDelta_m2157326342 (RectTransform_t3349966182 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.Vector2::op_Multiply(UnityEngine.Vector2,System.Single)
extern "C" Vector2_t2243707579 Vector2_op_Multiply_m4236139442 (Il2CppObject * __this /* static, unused */, Vector2_t2243707579 p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.Scrollbar::MayDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" bool Scrollbar_MayDrag_m1332926026 (Scrollbar_t3248359358 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Camera UnityEngine.EventSystems.PointerEventData::get_enterEventCamera()
extern "C" Camera_t189460977 * PointerEventData_get_enterEventCamera_m1539996745 (PointerEventData_t1599784723 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.Rect::get_center()
extern "C" Vector2_t2243707579 Rect_get_center_m3049923624 (Rect_t3681755626 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Scrollbar::UpdateDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" void Scrollbar_UpdateDrag_m3839695926 (Scrollbar_t3248359358 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::OnPointerDown(UnityEngine.EventSystems.PointerEventData)
extern "C" void Selectable_OnPointerDown_m3110480835 (Selectable_t1490392188 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Collections.IEnumerator UnityEngine.UI.Scrollbar::ClickRepeat(UnityEngine.EventSystems.PointerEventData)
extern "C" Il2CppObject * Scrollbar_ClickRepeat_m3403943364 (Scrollbar_t3248359358 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Coroutine UnityEngine.MonoBehaviour::StartCoroutine(System.Collections.IEnumerator)
extern "C" Coroutine_t2299508840 * MonoBehaviour_StartCoroutine_m2470621050 (MonoBehaviour_t1158329972 * __this, Il2CppObject * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Scrollbar/<ClickRepeat>c__Iterator0::.ctor()
extern "C" void U3CClickRepeatU3Ec__Iterator0__ctor_m1515509136 (U3CClickRepeatU3Ec__Iterator0_t4156771994 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::OnPointerUp(UnityEngine.EventSystems.PointerEventData)
extern "C" void Selectable_OnPointerUp_m3316013008 (Selectable_t1490392188 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::OnMove(UnityEngine.EventSystems.AxisEventData)
extern "C" void Selectable_OnMove_m2019752219 (Selectable_t1490392188 * __this, AxisEventData_t1524870173 * ___eventData0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.EventSystems.MoveDirection UnityEngine.EventSystems.AxisEventData::get_moveDir()
extern "C" int32_t AxisEventData_get_moveDir_m3968662359 (AxisEventData_t1524870173 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.Scrollbar::get_stepSize()
extern "C" float Scrollbar_get_stepSize_m244845137 (Scrollbar_t3248359358 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Navigation UnityEngine.UI.Selectable::get_navigation()
extern "C" Navigation_t1571958496 Selectable_get_navigation_m200542616 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnLeft()
extern "C" Selectable_t1490392188 * Selectable_FindSelectableOnLeft_m3706572906 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnRight()
extern "C" Selectable_t1490392188 * Selectable_FindSelectableOnRight_m1439791817 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnUp()
extern "C" Selectable_t1490392188 * Selectable_FindSelectableOnUp_m1852383750 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnDown()
extern "C" Selectable_t1490392188 * Selectable_FindSelectableOnDown_m3892524915 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.EventSystems.PointerEventData::set_useDragThreshold(System.Boolean)
extern "C" void PointerEventData_set_useDragThreshold_m2778439880 (PointerEventData_t1599784723 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Scrollbar::set_direction(UnityEngine.UI.Scrollbar/Direction)
extern "C" void Scrollbar_set_direction_m1388523458 (Scrollbar_t3248359358 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.RectTransformUtility::FlipLayoutAxes(UnityEngine.RectTransform,System.Boolean,System.Boolean)
extern "C" void RectTransformUtility_FlipLayoutAxes_m532748168 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * p0, bool p1, bool p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.RectTransformUtility::FlipLayoutOnAxis(UnityEngine.RectTransform,System.Int32,System.Boolean,System.Boolean)
extern "C" void RectTransformUtility_FlipLayoutOnAxis_m3920364518 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * p0, int32_t p1, bool p2, bool p3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Scrollbar::set_value(System.Single)
extern "C" void Scrollbar_set_value_m1056753036 (Scrollbar_t3248359358 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.WaitForEndOfFrame::.ctor()
extern "C" void WaitForEndOfFrame__ctor_m3062480170 (WaitForEndOfFrame_t1785723201 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.MonoBehaviour::StopCoroutine(UnityEngine.Coroutine)
extern "C" void MonoBehaviour_StopCoroutine_m1668572632 (MonoBehaviour_t1158329972 * __this, Coroutine_t2299508840 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.NotSupportedException::.ctor()
extern "C" void NotSupportedException__ctor_m3232764727 (NotSupportedException_t1793819818 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Events.UnityEvent`1<System.Single>::.ctor()
#define UnityEvent_1__ctor_m29611311(__this, method) (( void (*) (UnityEvent_1_t2114859947 *, const MethodInfo*))UnityEvent_1__ctor_m29611311_gshared)(__this, method)
// System.Void UnityEngine.UI.ScrollRect/ScrollRectEvent::.ctor()
extern "C" void ScrollRectEvent__ctor_m2283981448 (ScrollRectEvent_t3529018992 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ScrollRect::SetDirtyCaching()
extern "C" void ScrollRect_SetDirtyCaching_m1491302821 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Scrollbar/ScrollEvent UnityEngine.UI.Scrollbar::get_onValueChanged()
extern "C" ScrollEvent_t1794825321 * Scrollbar_get_onValueChanged_m2506773176 (Scrollbar_t3248359358 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Events.UnityAction`1<System.Single>::.ctor(System.Object,System.IntPtr)
#define UnityAction_1__ctor_m2172708761(__this, p0, p1, method) (( void (*) (UnityAction_1_t3443095683 *, Il2CppObject *, IntPtr_t, const MethodInfo*))UnityAction_1__ctor_m2172708761_gshared)(__this, p0, p1, method)
// System.Void UnityEngine.Events.UnityEvent`1<System.Single>::RemoveListener(UnityEngine.Events.UnityAction`1<!0>)
#define UnityEvent_1_RemoveListener_m2564825698(__this, p0, method) (( void (*) (UnityEvent_1_t2114859947 *, UnityAction_1_t3443095683 *, const MethodInfo*))UnityEvent_1_RemoveListener_m2564825698_gshared)(__this, p0, method)
// System.Void UnityEngine.Events.UnityEvent`1<System.Single>::AddListener(UnityEngine.Events.UnityAction`1<!0>)
#define UnityEvent_1_AddListener_m2377847221(__this, p0, method) (( void (*) (UnityEvent_1_t2114859947 *, UnityAction_1_t3443095683 *, const MethodInfo*))UnityEvent_1_AddListener_m2377847221_gshared)(__this, p0, method)
// System.Void UnityEngine.UI.ScrollRect::SetDirty()
extern "C" void ScrollRect_SetDirty_m93243192 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ScrollRect::UpdateCachedData()
extern "C" void ScrollRect_UpdateCachedData_m2107447137 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ScrollRect::UpdateBounds()
extern "C" void ScrollRect_UpdateBounds_m3266596336 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ScrollRect::UpdateScrollbars(UnityEngine.Vector2)
extern "C" void ScrollRect_UpdateScrollbars_m3921404746 (ScrollRect_t1199013257 * __this, Vector2_t2243707579 ___offset0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ScrollRect::UpdatePrevData()
extern "C" void ScrollRect_UpdatePrevData_m3092887300 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::get_viewRect()
extern "C" RectTransform_t3349966182 * ScrollRect_get_viewRect_m2663817630 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.ScrollRect/ScrollbarVisibility UnityEngine.UI.ScrollRect::get_horizontalScrollbarVisibility()
extern "C" int32_t ScrollRect_get_horizontalScrollbarVisibility_m4152068235 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.ScrollRect/ScrollbarVisibility UnityEngine.UI.ScrollRect::get_verticalScrollbarVisibility()
extern "C" int32_t ScrollRect_get_verticalScrollbarVisibility_m2829757187 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.CanvasUpdateRegistry::RegisterCanvasElementForLayoutRebuild(UnityEngine.UI.ICanvasElement)
extern "C" void CanvasUpdateRegistry_RegisterCanvasElementForLayoutRebuild_m669674528 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___element0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.CanvasUpdateRegistry::UnRegisterCanvasElementForRebuild(UnityEngine.UI.ICanvasElement)
extern "C" void CanvasUpdateRegistry_UnRegisterCanvasElementForRebuild_m1497083313 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___element0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::get_rectTransform()
extern "C" RectTransform_t3349966182 * ScrollRect_get_rectTransform_m1256747885 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.LayoutRebuilder::MarkLayoutForRebuild(UnityEngine.RectTransform)
extern "C" void LayoutRebuilder_MarkLayoutForRebuild_m640589351 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive()
extern "C" bool UIBehaviour_IsActive_m1944693168 (UIBehaviour_t3960014691 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.CanvasUpdateRegistry::IsRebuildingLayout()
extern "C" bool CanvasUpdateRegistry_IsRebuildingLayout_m1677873278 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Canvas::ForceUpdateCanvases()
extern "C" void Canvas_ForceUpdateCanvases_m2446828475 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ScrollRect::EnsureLayoutHasRebuilt()
extern "C" void ScrollRect_EnsureLayoutHasRebuilt_m2073458811 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::get_scrollDelta()
extern "C" Vector2_t2243707579 PointerEventData_get_scrollDelta_m1283145047 (PointerEventData_t1599784723 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.ScrollRect::get_vertical()
extern "C" bool ScrollRect_get_vertical_m3957330783 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.ScrollRect::get_horizontal()
extern "C" bool ScrollRect_get_horizontal_m2408340743 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.RectTransform::get_anchoredPosition()
extern "C" Vector2_t2243707579 RectTransform_get_anchoredPosition_m3570822376 (RectTransform_t3349966182 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.Vector2::op_Addition(UnityEngine.Vector2,UnityEngine.Vector2)
extern "C" Vector2_t2243707579 Vector2_op_Addition_m1389598521 (Il2CppObject * __this /* static, unused */, Vector2_t2243707579 p0, Vector2_t2243707579 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.UI.ScrollRect::CalculateOffset(UnityEngine.Vector2)
extern "C" Vector2_t2243707579 ScrollRect_CalculateOffset_m1659273054 (ScrollRect_t1199013257 * __this, Vector2_t2243707579 ___delta0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Bounds::get_size()
extern "C" Vector3_t2243707580 Bounds_get_size_m1728027642 (Bounds_t3033363703 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.ScrollRect::RubberDelta(System.Single,System.Single)
extern "C" float ScrollRect_RubberDelta_m2533506730 (Il2CppObject * __this /* static, unused */, float ___overStretching0, float ___viewSize1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Vector2::op_Inequality(UnityEngine.Vector2,UnityEngine.Vector2)
extern "C" bool Vector2_op_Inequality_m4283136193 (Il2CppObject * __this /* static, unused */, Vector2_t2243707579 p0, Vector2_t2243707579 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.RectTransform::set_anchoredPosition(UnityEngine.Vector2)
extern "C" void RectTransform_set_anchoredPosition_m2077229449 (RectTransform_t3349966182 * __this, Vector2_t2243707579 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ScrollRect::UpdateScrollbarVisibility()
extern "C" void ScrollRect_UpdateScrollbarVisibility_m2738472183 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Time::get_unscaledDeltaTime()
extern "C" float Time_get_unscaledDeltaTime_m4281640537 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Vector2::get_Item(System.Int32)
extern "C" float Vector2_get_Item_m2792130561 (Vector2_t2243707579 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Mathf::SmoothDamp(System.Single,System.Single,System.Single&,System.Single,System.Single,System.Single)
extern "C" float Mathf_SmoothDamp_m1604773625 (Il2CppObject * __this /* static, unused */, float p0, float p1, float* p2, float p3, float p4, float p5, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.Vector2::op_Division(UnityEngine.Vector2,System.Single)
extern "C" Vector2_t2243707579 Vector2_op_Division_m96580069 (Il2CppObject * __this /* static, unused */, Vector2_t2243707579 p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector2::op_Implicit(UnityEngine.Vector2)
extern "C" Vector3_t2243707580 Vector2_op_Implicit_m176791411 (Il2CppObject * __this /* static, unused */, Vector2_t2243707579 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::Lerp(UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
extern "C" Vector3_t2243707580 Vector3_Lerp_m2935648359 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, Vector3_t2243707580 p1, float p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.Vector2::op_Implicit(UnityEngine.Vector3)
extern "C" Vector2_t2243707579 Vector2_op_Implicit_m1064335535 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Bounds::op_Inequality(UnityEngine.Bounds,UnityEngine.Bounds)
extern "C" bool Bounds_op_Inequality_m2315096783 (Il2CppObject * __this /* static, unused */, Bounds_t3033363703 p0, Bounds_t3033363703 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.UI.ScrollRect::get_normalizedPosition()
extern "C" Vector2_t2243707579 ScrollRect_get_normalizedPosition_m1640825682 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Events.UnityEvent`1<UnityEngine.Vector2>::Invoke(!0)
#define UnityEvent_1_Invoke_m1533100983(__this, p0, method) (( void (*) (UnityEvent_1_t2282057594 *, Vector2_t2243707579 , const MethodInfo*))UnityEvent_1_Invoke_m1533100983_gshared)(__this, p0, method)
// System.Void UnityEngine.UI.Scrollbar::set_size(System.Single)
extern "C" void Scrollbar_set_size_m2088196430 (Scrollbar_t3248359358 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.ScrollRect::get_horizontalNormalizedPosition()
extern "C" float ScrollRect_get_horizontalNormalizedPosition_m3769146345 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.ScrollRect::get_verticalNormalizedPosition()
extern "C" float ScrollRect_get_verticalNormalizedPosition_m1701804869 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Bounds::get_min()
extern "C" Vector3_t2243707580 Bounds_get_min_m2405290441 (Bounds_t3033363703 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Vector3::get_Item(System.Int32)
extern "C" float Vector3_get_Item_m3616014016 (Vector3_t2243707580 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Transform::get_localPosition()
extern "C" Vector3_t2243707580 Transform_get_localPosition_m2533925116 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Vector3::set_Item(System.Int32,System.Single)
extern "C" void Vector3_set_Item_m499708011 (Vector3_t2243707580 * __this, int32_t p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Transform::set_localPosition(UnityEngine.Vector3)
extern "C" void Transform_set_localPosition_m1026930133 (Transform_t3275118058 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Mathf::Sign(System.Single)
extern "C" float Mathf_Sign_m2039143327 (Il2CppObject * __this /* static, unused */, float p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::get_content()
extern "C" RectTransform_t3349966182 * ScrollRect_get_content_m1116544752 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.LayoutRebuilder::ForceRebuildLayoutImmediate(UnityEngine.RectTransform)
extern "C" void LayoutRebuilder_ForceRebuildLayoutImmediate_m566681977 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___layoutRoot0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Bounds::.ctor(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" void Bounds__ctor_m1202659404 (Bounds_t3033363703 * __this, Vector3_t2243707580 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Bounds UnityEngine.UI.ScrollRect::GetBounds()
extern "C" Bounds_t3033363703 ScrollRect_GetBounds_m1950012700 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.ScrollRect::get_vScrollingNeeded()
extern "C" bool ScrollRect_get_vScrollingNeeded_m2581071961 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.ScrollRect::get_hScrollingNeeded()
extern "C" bool ScrollRect_get_hScrollingNeeded_m717195555 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ScrollRect::UpdateScrollbarLayout()
extern "C" void ScrollRect_UpdateScrollbarLayout_m1731749879 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ScrollRect::UpdateOneScrollbarVisibility(System.Boolean,System.Boolean,UnityEngine.UI.ScrollRect/ScrollbarVisibility,UnityEngine.UI.Scrollbar)
extern "C" void ScrollRect_UpdateOneScrollbarVisibility_m3990871387 (Il2CppObject * __this /* static, unused */, bool ___xScrollingNeeded0, bool ___xAxisEnabled1, int32_t ___scrollbarVisibility2, Scrollbar_t3248359358 * ___scrollbar3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.GameObject::get_activeSelf()
extern "C" bool GameObject_get_activeSelf_m313590879 (GameObject_t1756533147 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.GameObject::SetActive(System.Boolean)
extern "C" void GameObject_SetActive_m2887581199 (GameObject_t1756533147 * __this, bool p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.RectTransform::get_anchorMax()
extern "C" Vector2_t2243707579 RectTransform_get_anchorMax_m3816015142 (RectTransform_t3349966182 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Bounds::get_center()
extern "C" Vector3_t2243707580 Bounds_get_center_m129401026 (Bounds_t3033363703 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.RectTransform::get_pivot()
extern "C" Vector2_t2243707579 RectTransform_get_pivot_m759087479 (RectTransform_t3349966182 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ScrollRect::AdjustBounds(UnityEngine.Bounds&,UnityEngine.Vector2&,UnityEngine.Vector3&,UnityEngine.Vector3&)
extern "C" void ScrollRect_AdjustBounds_m1033723448 (Il2CppObject * __this /* static, unused */, Bounds_t3033363703 * ___viewBounds0, Vector2_t2243707579 * ___contentPivot1, Vector3_t2243707580 * ___contentSize2, Vector3_t2243707580 * ___contentPos3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Bounds::set_size(UnityEngine.Vector3)
extern "C" void Bounds_set_size_m3943815629 (Bounds_t3033363703 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Bounds::set_center(UnityEngine.Vector3)
extern "C" void Bounds_set_center_m2069004927 (Bounds_t3033363703 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.ScrollRect/MovementType UnityEngine.UI.ScrollRect::get_movementType()
extern "C" int32_t ScrollRect_get_movementType_m1025861213 (ScrollRect_t1199013257 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Bounds::get_max()
extern "C" Vector3_t2243707580 Bounds_get_max_m4247050707 (Bounds_t3033363703 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single System.Math::Min(System.Single,System.Single)
extern "C" float Math_Min_m105057611 (Il2CppObject * __this /* static, unused */, float p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single System.Math::Max(System.Single,System.Single)
extern "C" float Math_Max_m3360711905 (Il2CppObject * __this /* static, unused */, float p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Vector2::get_sqrMagnitude()
extern "C" float Vector2_get_sqrMagnitude_m1226294581 (Vector2_t2243707579 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Subtraction(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" Vector3_t2243707580 Vector3_op_Subtraction_m2407545601 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Matrix4x4 UnityEngine.Transform::get_worldToLocalMatrix()
extern "C" Matrix4x4_t2933234003 Transform_get_worldToLocalMatrix_m3299477436 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Bounds UnityEngine.UI.ScrollRect::InternalGetBounds(UnityEngine.Vector3[],UnityEngine.Matrix4x4&)
extern "C" Bounds_t3033363703 ScrollRect_InternalGetBounds_m1871388050 (Il2CppObject * __this /* static, unused */, Vector3U5BU5D_t1172311765* ___corners0, Matrix4x4_t2933234003 * ___viewWorldToLocalMatrix1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Vector3::.ctor(System.Single,System.Single,System.Single)
extern "C" void Vector3__ctor_m2638739322 (Vector3_t2243707580 * __this, float p0, float p1, float p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Matrix4x4::MultiplyPoint3x4(UnityEngine.Vector3)
extern "C" Vector3_t2243707580 Matrix4x4_MultiplyPoint3x4_m1007952212 (Matrix4x4_t2933234003 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::Min(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" Vector3_t2243707580 Vector3_Min_m4249067335 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::Max(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" Vector3_t2243707580 Vector3_Max_m2105825185 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::get_zero()
extern "C" Vector3_t2243707580 Vector3_get_zero_m1527993324 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Bounds::Encapsulate(UnityEngine.Vector3)
extern "C" void Bounds_Encapsulate_m3688171368 (Bounds_t3033363703 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.UI.ScrollRect::InternalCalculateOffset(UnityEngine.Bounds&,UnityEngine.Bounds&,System.Boolean,System.Boolean,UnityEngine.UI.ScrollRect/MovementType,UnityEngine.Vector2&)
extern "C" Vector2_t2243707579 ScrollRect_InternalCalculateOffset_m3083065267 (Il2CppObject * __this /* static, unused */, Bounds_t3033363703 * ___viewBounds0, Bounds_t3033363703 * ___contentBounds1, bool ___horizontal2, bool ___vertical3, int32_t ___movementType4, Vector2_t2243707579 * ___delta5, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Events.UnityEvent`1<UnityEngine.Vector2>::.ctor()
#define UnityEvent_1__ctor_m3317039790(__this, method) (( void (*) (UnityEvent_1_t2282057594 *, const MethodInfo*))UnityEvent_1__ctor_m3317039790_gshared)(__this, method)
// UnityEngine.UI.Navigation UnityEngine.UI.Navigation::get_defaultNavigation()
extern "C" Navigation_t1571958496 Navigation_get_defaultNavigation_m2185194207 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.ColorBlock UnityEngine.UI.ColorBlock::get_defaultColorBlock()
extern "C" ColorBlock_t2652774230 ColorBlock_get_defaultColorBlock_m3723879509 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.AnimationTriggers::.ctor()
extern "C" void AnimationTriggers__ctor_m2623627182 (AnimationTriggers_t3244928895 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<UnityEngine.CanvasGroup>::.ctor()
#define List_1__ctor_m4115107272(__this, method) (( void (*) (List_1_t2665681875 *, const MethodInfo*))List_1__ctor_m310736118_gshared)(__this, method)
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.Navigation>(T&,T)
#define SetPropertyUtility_SetStruct_TisNavigation_t1571958496_m1169349290(__this /* static, unused */, ___currentValue0, ___newValue1, method) (( bool (*) (Il2CppObject * /* static, unused */, Navigation_t1571958496 *, Navigation_t1571958496 , const MethodInfo*))SetPropertyUtility_SetStruct_TisNavigation_t1571958496_m1169349290_gshared)(__this /* static, unused */, ___currentValue0, ___newValue1, method)
// System.Void UnityEngine.UI.Selectable::OnSetProperty()
extern "C" void Selectable_OnSetProperty_m2948696955 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.Selectable/Transition>(T&,T)
#define SetPropertyUtility_SetStruct_TisTransition_t605142169_m3831531952(__this /* static, unused */, ___currentValue0, ___newValue1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisTransition_t605142169_m3831531952_gshared)(__this /* static, unused */, ___currentValue0, ___newValue1, method)
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.ColorBlock>(T&,T)
#define SetPropertyUtility_SetStruct_TisColorBlock_t2652774230_m2085520896(__this /* static, unused */, ___currentValue0, ___newValue1, method) (( bool (*) (Il2CppObject * /* static, unused */, ColorBlock_t2652774230 *, ColorBlock_t2652774230 , const MethodInfo*))SetPropertyUtility_SetStruct_TisColorBlock_t2652774230_m2085520896_gshared)(__this /* static, unused */, ___currentValue0, ___newValue1, method)
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.SpriteState>(T&,T)
#define SetPropertyUtility_SetStruct_TisSpriteState_t1353336012_m2898060836(__this /* static, unused */, ___currentValue0, ___newValue1, method) (( bool (*) (Il2CppObject * /* static, unused */, SpriteState_t1353336012 *, SpriteState_t1353336012 , const MethodInfo*))SetPropertyUtility_SetStruct_TisSpriteState_t1353336012_m2898060836_gshared)(__this /* static, unused */, ___currentValue0, ___newValue1, method)
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetClass<UnityEngine.UI.AnimationTriggers>(T&,T)
#define SetPropertyUtility_SetClass_TisAnimationTriggers_t3244928895_m2883472752(__this /* static, unused */, ___currentValue0, ___newValue1, method) (( bool (*) (Il2CppObject * /* static, unused */, AnimationTriggers_t3244928895 **, AnimationTriggers_t3244928895 *, const MethodInfo*))SetPropertyUtility_SetClass_TisIl2CppObject_m3524554928_gshared)(__this /* static, unused */, ___currentValue0, ___newValue1, method)
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetClass<UnityEngine.UI.Graphic>(T&,T)
#define SetPropertyUtility_SetClass_TisGraphic_t2426225576_m1272552023(__this /* static, unused */, ___currentValue0, ___newValue1, method) (( bool (*) (Il2CppObject * /* static, unused */, Graphic_t2426225576 **, Graphic_t2426225576 *, const MethodInfo*))SetPropertyUtility_SetClass_TisIl2CppObject_m3524554928_gshared)(__this /* static, unused */, ___currentValue0, ___newValue1, method)
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<System.Boolean>(T&,T)
#define SetPropertyUtility_SetStruct_TisBoolean_t3825574718_m752301298(__this /* static, unused */, ___currentValue0, ___newValue1, method) (( bool (*) (Il2CppObject * /* static, unused */, bool*, bool, const MethodInfo*))SetPropertyUtility_SetStruct_TisBoolean_t3825574718_m752301298_gshared)(__this /* static, unused */, ___currentValue0, ___newValue1, method)
// UnityEngine.EventSystems.EventSystem UnityEngine.EventSystems.EventSystem::get_current()
extern "C" EventSystem_t3466835263 * EventSystem_get_current_m319019811 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.GameObject UnityEngine.EventSystems.EventSystem::get_currentSelectedGameObject()
extern "C" GameObject_t1756533147 * EventSystem_get_currentSelectedGameObject_m701101735 (EventSystem_t3466835263 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.EventSystems.EventSystem::SetSelectedGameObject(UnityEngine.GameObject)
extern "C" void EventSystem_SetSelectedGameObject_m2211816110 (EventSystem_t3466835263 * __this, GameObject_t1756533147 * ___selected0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.Component::GetComponent<UnityEngine.Animator>()
#define Component_GetComponent_TisAnimator_t69676727_m475627522(__this, method) (( Animator_t69676727 * (*) (Component_t3819376471 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m4109961936_gshared)(__this, method)
// System.Void UnityEngine.Component::GetComponents<UnityEngine.CanvasGroup>(System.Collections.Generic.List`1<!!0>)
#define Component_GetComponents_TisCanvasGroup_t3296560743_m1269266598(__this, p0, method) (( void (*) (Component_t3819376471 *, List_1_t2665681875 *, const MethodInfo*))Component_GetComponents_TisIl2CppObject_m1186222966_gshared)(__this, p0, method)
// !0 System.Collections.Generic.List`1<UnityEngine.CanvasGroup>::get_Item(System.Int32)
#define List_1_get_Item_m953066341(__this, p0, method) (( CanvasGroup_t3296560743 * (*) (List_1_t2665681875 *, int32_t, const MethodInfo*))List_1_get_Item_m2062981835_gshared)(__this, p0, method)
// System.Boolean UnityEngine.CanvasGroup::get_interactable()
extern "C" bool CanvasGroup_get_interactable_m3354621007 (CanvasGroup_t3296560743 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.CanvasGroup::get_ignoreParentGroups()
extern "C" bool CanvasGroup_get_ignoreParentGroups_m534041855 (CanvasGroup_t3296560743 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 System.Collections.Generic.List`1<UnityEngine.CanvasGroup>::get_Count()
#define List_1_get_Count_m2569835416(__this, method) (( int32_t (*) (List_1_t2665681875 *, const MethodInfo*))List_1_get_Count_m2375293942_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.Selectable>::Add(!0)
#define List_1_Add_m1402257845(__this, p0, method) (( void (*) (List_1_t859513320 *, Selectable_t1490392188 *, const MethodInfo*))List_1_Add_m4157722533_gshared)(__this, p0, method)
// System.Boolean UnityEngine.UI.Selectable::get_hasSelection()
extern "C" bool Selectable_get_hasSelection_m307792052 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::InternalEvaluateAndTransitionToSelectionState(System.Boolean)
extern "C" void Selectable_InternalEvaluateAndTransitionToSelectionState_m175518412 (Selectable_t1490392188 * __this, bool ___instant0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UI.Selectable>::Remove(!0)
#define List_1_Remove_m820472044(__this, p0, method) (( bool (*) (List_1_t859513320 *, Selectable_t1490392188 *, const MethodInfo*))List_1_Remove_m3164383811_gshared)(__this, p0, method)
// System.String UnityEngine.UI.AnimationTriggers::get_normalTrigger()
extern "C" String_t* AnimationTriggers_get_normalTrigger_m809511251 (AnimationTriggers_t3244928895 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::set_isPointerInside(System.Boolean)
extern "C" void Selectable_set_isPointerInside_m375338048 (Selectable_t1490392188 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::set_isPointerDown(System.Boolean)
extern "C" void Selectable_set_isPointerDown_m2177301980 (Selectable_t1490392188 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::set_hasSelection(System.Boolean)
extern "C" void Selectable_set_hasSelection_m2076391827 (Selectable_t1490392188 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.Color::get_white()
extern "C" Color_t2020392075 Color_get_white_m3987539815 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::StartColorTween(UnityEngine.Color,System.Boolean)
extern "C" void Selectable_StartColorTween_m407357486 (Selectable_t1490392188 * __this, Color_t2020392075 ___targetColor0, bool ___instant1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::DoSpriteSwap(UnityEngine.Sprite)
extern "C" void Selectable_DoSpriteSwap_m586643230 (Selectable_t1490392188 * __this, Sprite_t309593783 * ___newSprite0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::TriggerAnimation(System.String)
extern "C" void Selectable_TriggerAnimation_m3096883407 (Selectable_t1490392188 * __this, String_t* ___triggername0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.UI.ColorBlock::get_normalColor()
extern "C" Color_t2020392075 ColorBlock_get_normalColor_m189118899 (ColorBlock_t2652774230 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.UI.ColorBlock::get_highlightedColor()
extern "C" Color_t2020392075 ColorBlock_get_highlightedColor_m456424517 (ColorBlock_t2652774230 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_highlightedSprite()
extern "C" Sprite_t309593783 * SpriteState_get_highlightedSprite_m3684401887 (SpriteState_t1353336012 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String UnityEngine.UI.AnimationTriggers::get_highlightedTrigger()
extern "C" String_t* AnimationTriggers_get_highlightedTrigger_m3039065073 (AnimationTriggers_t3244928895 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.UI.ColorBlock::get_pressedColor()
extern "C" Color_t2020392075 ColorBlock_get_pressedColor_m1364631214 (ColorBlock_t2652774230 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_pressedSprite()
extern "C" Sprite_t309593783 * SpriteState_get_pressedSprite_m1768273732 (SpriteState_t1353336012 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String UnityEngine.UI.AnimationTriggers::get_pressedTrigger()
extern "C" String_t* AnimationTriggers_get_pressedTrigger_m4066042774 (AnimationTriggers_t3244928895 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.UI.ColorBlock::get_disabledColor()
extern "C" Color_t2020392075 ColorBlock_get_disabledColor_m244002848 (ColorBlock_t2652774230 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_disabledSprite()
extern "C" Sprite_t309593783 * SpriteState_get_disabledSprite_m4278459634 (SpriteState_t1353336012 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String UnityEngine.UI.AnimationTriggers::get_disabledTrigger()
extern "C" String_t* AnimationTriggers_get_disabledTrigger_m2987312382 (AnimationTriggers_t3244928895 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.Color::get_black()
extern "C" Color_t2020392075 Color_get_black_m2650940523 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.GameObject::get_activeInHierarchy()
extern "C" bool GameObject_get_activeInHierarchy_m4242915935 (GameObject_t1756533147 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.ColorBlock::get_colorMultiplier()
extern "C" float ColorBlock_get_colorMultiplier_m2946087706 (ColorBlock_t2652774230 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.Color::op_Multiply(UnityEngine.Color,System.Single)
extern "C" Color_t2020392075 Color_op_Multiply_m325555950 (Il2CppObject * __this /* static, unused */, Color_t2020392075 p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::get_normalized()
extern "C" Vector3_t2243707580 Vector3_get_normalized_m936072361 (Vector3_t2243707580 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Quaternion UnityEngine.Transform::get_rotation()
extern "C" Quaternion_t4030073918 Transform_get_rotation_m1033555130 (Transform_t3275118058 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Quaternion UnityEngine.Quaternion::Inverse(UnityEngine.Quaternion)
extern "C" Quaternion_t4030073918 Quaternion_Inverse_m3931399088 (Il2CppObject * __this /* static, unused */, Quaternion_t4030073918 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Quaternion::op_Multiply(UnityEngine.Quaternion,UnityEngine.Vector3)
extern "C" Vector3_t2243707580 Quaternion_op_Multiply_m1483423721 (Il2CppObject * __this /* static, unused */, Quaternion_t4030073918 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.UI.Selectable::GetPointOnRectEdge(UnityEngine.RectTransform,UnityEngine.Vector2)
extern "C" Vector3_t2243707580 Selectable_GetPointOnRectEdge_m2342175406 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, Vector2_t2243707579 ___dir1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Transform::TransformPoint(UnityEngine.Vector3)
extern "C" Vector3_t2243707580 Transform_TransformPoint_m3272254198 (Transform_t3275118058 * __this, Vector3_t2243707580 p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !0 System.Collections.Generic.List`1<UnityEngine.UI.Selectable>::get_Item(System.Int32)
#define List_1_get_Item_m1917748490(__this, p0, method) (( Selectable_t1490392188 * (*) (List_1_t859513320 *, int32_t, const MethodInfo*))List_1_get_Item_m2062981835_gshared)(__this, p0, method)
// System.Single UnityEngine.Vector3::Dot(UnityEngine.Vector3,UnityEngine.Vector3)
extern "C" float Vector3_Dot_m3161182818 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, Vector3_t2243707580 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Vector3::get_sqrMagnitude()
extern "C" float Vector3_get_sqrMagnitude_m1814096310 (Vector3_t2243707580 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Selectable>::get_Count()
#define List_1_get_Count_m2819288149(__this, method) (( int32_t (*) (List_1_t859513320 *, const MethodInfo*))List_1_get_Count_m2375293942_gshared)(__this, method)
// UnityEngine.Vector2 UnityEngine.Vector2::Scale(UnityEngine.Vector2,UnityEngine.Vector2)
extern "C" Vector2_t2243707579 Vector2_Scale_m3228063809 (Il2CppObject * __this /* static, unused */, Vector2_t2243707579 p0, Vector2_t2243707579 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.EventSystems.BaseEventData::set_selectedObject(UnityEngine.GameObject)
extern "C" void BaseEventData_set_selectedObject_m2198139983 (BaseEventData_t2681005625 * __this, GameObject_t1756533147 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::get_left()
extern "C" Vector3_t2243707580 Vector3_get_left_m2429378123 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectable(UnityEngine.Vector3)
extern "C" Selectable_t1490392188 * Selectable_FindSelectable_m2739582497 (Selectable_t1490392188 * __this, Vector3_t2243707580 ___dir0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::get_right()
extern "C" Vector3_t2243707580 Vector3_get_right_m1884123822 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::get_up()
extern "C" Vector3_t2243707580 Vector3_get_up_m2725403797 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::get_down()
extern "C" Vector3_t2243707580 Vector3_get_down_m2372302126 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::Navigate(UnityEngine.EventSystems.AxisEventData,UnityEngine.UI.Selectable)
extern "C" void Selectable_Navigate_m915280351 (Selectable_t1490392188 * __this, AxisEventData_t1524870173 * ___eventData0, Selectable_t1490392188 * ___sel1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.ColorBlock::get_fadeDuration()
extern "C" float ColorBlock_get_fadeDuration_m987725262 (ColorBlock_t2652774230 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Image UnityEngine.UI.Selectable::get_image()
extern "C" Image_t2042527209 * Selectable_get_image_m3720077502 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Image::set_overrideSprite(UnityEngine.Sprite)
extern "C" void Image_set_overrideSprite_m3362535904 (Image_t2042527209 * __this, Sprite_t309593783 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Selectable/Transition UnityEngine.UI.Selectable::get_transition()
extern "C" int32_t Selectable_get_transition_m4266657949 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Animator UnityEngine.UI.Selectable::get_animator()
extern "C" Animator_t69676727 * Selectable_get_animator_m627999862 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Animator::get_hasBoundPlayables()
extern "C" bool Animator_get_hasBoundPlayables_m3670407842 (Animator_t69676727 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean System.String::IsNullOrEmpty(System.String)
extern "C" bool String_IsNullOrEmpty_m2802126737 (Il2CppObject * __this /* static, unused */, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Animator::ResetTrigger(System.String)
extern "C" void Animator_ResetTrigger_m865269317 (Animator_t69676727 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Animator::SetTrigger(System.String)
extern "C" void Animator_SetTrigger_m3418492570 (Animator_t69676727 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.Selectable::IsPressed()
extern "C" bool Selectable_IsPressed_m1221184327 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.Selectable::get_isPointerDown()
extern "C" bool Selectable_get_isPointerDown_m774209881 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.Selectable::get_isPointerInside()
extern "C" bool Selectable_get_isPointerInside_m3162215687 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::get_pointerPress()
extern "C" GameObject_t1756533147 * PointerEventData_get_pointerPress_m880101744 (PointerEventData_t1599784723 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.Selectable::IsHighlighted(UnityEngine.EventSystems.BaseEventData)
extern "C" bool Selectable_IsHighlighted_m664420838 (Selectable_t1490392188 * __this, BaseEventData_t2681005625 * ___eventData0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::UpdateSelectionState(UnityEngine.EventSystems.BaseEventData)
extern "C" void Selectable_UpdateSelectionState_m185346103 (Selectable_t1490392188 * __this, BaseEventData_t2681005625 * ___eventData0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.EventSystems.EventSystem::SetSelectedGameObject(UnityEngine.GameObject,UnityEngine.EventSystems.BaseEventData)
extern "C" void EventSystem_SetSelectedGameObject_m2232036508 (EventSystem_t3466835263 * __this, GameObject_t1756533147 * ___selected0, BaseEventData_t2681005625 * ___pointer1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::EvaluateAndTransitionToSelectionState(UnityEngine.EventSystems.BaseEventData)
extern "C" void Selectable_EvaluateAndTransitionToSelectionState_m983473078 (Selectable_t1490392188 * __this, BaseEventData_t2681005625 * ___eventData0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.EventSystems.EventSystem::get_alreadySelecting()
extern "C" bool EventSystem_get_alreadySelecting_m784345345 (EventSystem_t3466835263 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.Selectable>::.ctor()
#define List_1__ctor_m961445489(__this, method) (( void (*) (List_1_t859513320 *, const MethodInfo*))List_1__ctor_m310736118_gshared)(__this, method)
// System.Void UnityEngine.Color::.ctor(System.Single,System.Single,System.Single,System.Single)
extern "C" void Color__ctor_m1909920690 (Color_t2020392075 * __this, float p0, float p1, float p2, float p3, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Graphic UnityEngine.UI.BaseMeshEffect::get_graphic()
extern "C" Graphic_t2426225576 * BaseMeshEffect_get_graphic_m3358796463 (BaseMeshEffect_t1728560551 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Vector2::op_Equality(UnityEngine.Vector2,UnityEngine.Vector2)
extern "C" bool Vector2_op_Equality_m4168854394 (Il2CppObject * __this /* static, unused */, Vector2_t2243707579 p0, Vector2_t2243707579 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !0 System.Collections.Generic.List`1<UnityEngine.UIVertex>::get_Item(System.Int32)
#define List_1_get_Item_m2318061838(__this, p0, method) (( UIVertex_t1204258818 (*) (List_1_t573379950 *, int32_t, const MethodInfo*))List_1_get_Item_m2318061838_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.UIVertex>::Add(!0)
#define List_1_Add_m3591975577(__this, p0, method) (( void (*) (List_1_t573379950 *, UIVertex_t1204258818 , const MethodInfo*))List_1_Add_m3591975577_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.UIVertex>::set_Item(System.Int32,!0)
#define List_1_set_Item_m1747579297(__this, p0, p1, method) (( void (*) (List_1_t573379950 *, int32_t, UIVertex_t1204258818 , const MethodInfo*))List_1_set_Item_m1747579297_gshared)(__this, p0, p1, method)
// System.Void UnityEngine.UI.Shadow::ApplyShadow(System.Collections.Generic.List`1<UnityEngine.UIVertex>,UnityEngine.Color32,System.Int32,System.Int32,System.Single,System.Single)
extern "C" void Shadow_ApplyShadow_m1951874787 (Shadow_t4269599528 * __this, List_1_t573379950 * ___verts0, Color32_t874517518 ___color1, int32_t ___start2, int32_t ___end3, float ___x4, float ___y5, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Slider/SliderEvent::.ctor()
extern "C" void SliderEvent__ctor_m262797720 (SliderEvent_t2111116400 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Slider::UpdateCachedReferences()
extern "C" void Slider_UpdateCachedReferences_m3161887229 (Slider_t297367283 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Slider::UpdateVisuals()
extern "C" void Slider_UpdateVisuals_m1325504022 (Slider_t297367283 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetStruct<UnityEngine.UI.Slider/Direction>(T&,T)
#define SetPropertyUtility_SetStruct_TisDirection_t1525323322_m3913288783(__this /* static, unused */, ___currentValue0, ___newValue1, method) (( bool (*) (Il2CppObject * /* static, unused */, int32_t*, int32_t, const MethodInfo*))SetPropertyUtility_SetStruct_TisDirection_t1525323322_m3913288783_gshared)(__this /* static, unused */, ___currentValue0, ___newValue1, method)
// System.Void UnityEngine.UI.Slider::Set(System.Single)
extern "C" void Slider_Set_m3835352751 (Slider_t297367283 * __this, float ___input0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.Slider::get_wholeNumbers()
extern "C" bool Slider_get_wholeNumbers_m4228975260 (Slider_t297367283 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.Slider::get_minValue()
extern "C" float Slider_get_minValue_m749054492 (Slider_t297367283 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.Slider::get_maxValue()
extern "C" float Slider_get_maxValue_m3319962262 (Slider_t297367283 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Mathf::Approximately(System.Single,System.Single)
extern "C" bool Mathf_Approximately_m1064446634 (Il2CppObject * __this /* static, unused */, float p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Mathf::InverseLerp(System.Single,System.Single,System.Single)
extern "C" float Mathf_InverseLerp_m55890283 (Il2CppObject * __this /* static, unused */, float p0, float p1, float p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Mathf::Lerp(System.Single,System.Single,System.Single)
extern "C" float Mathf_Lerp_m1686556575 (Il2CppObject * __this /* static, unused */, float p0, float p1, float p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.Slider::ClampValue(System.Single)
extern "C" float Slider_ClampValue_m2851810895 (Slider_t297367283 * __this, float ___input0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.Slider::get_normalizedValue()
extern "C" float Slider_get_normalizedValue_m4164062921 (Slider_t297367283 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Image/Type UnityEngine.UI.Image::get_type()
extern "C" int32_t Image_get_type_m949318765 (Image_t2042527209 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.Image::get_fillAmount()
extern "C" float Image_get_fillAmount_m3354146540 (Image_t2042527209 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.Slider::get_reverseValue()
extern "C" bool Slider_get_reverseValue_m3146075392 (Slider_t297367283 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Slider/Axis UnityEngine.UI.Slider::get_axis()
extern "C" int32_t Slider_get_axis_m162140813 (Slider_t297367283 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.UI.Slider/SliderEvent UnityEngine.UI.Slider::get_onValueChanged()
extern "C" SliderEvent_t2111116400 * Slider_get_onValueChanged_m4261003214 (Slider_t297367283 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.Component::GetComponent<UnityEngine.UI.Image>()
#define Component_GetComponent_TisImage_t2042527209_m2189462422(__this, method) (( Image_t2042527209 * (*) (Component_t3819376471 *, const MethodInfo*))Component_GetComponent_TisIl2CppObject_m4109961936_gshared)(__this, method)
// System.Single UnityEngine.Mathf::Clamp(System.Single,System.Single,System.Single)
extern "C" float Mathf_Clamp_m2354025655 (Il2CppObject * __this /* static, unused */, float p0, float p1, float p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Image::set_fillAmount(System.Single)
extern "C" void Image_set_fillAmount_m2220966753 (Image_t2042527209 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Slider::set_normalizedValue(System.Single)
extern "C" void Slider_set_normalizedValue_m3093868078 (Slider_t297367283 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.Slider::MayDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" bool Slider_MayDrag_m102620117 (Slider_t297367283 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Slider::UpdateDrag(UnityEngine.EventSystems.PointerEventData,UnityEngine.Camera)
extern "C" void Slider_UpdateDrag_m1963963631 (Slider_t297367283 * __this, PointerEventData_t1599784723 * ___eventData0, Camera_t189460977 * ___cam1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.Slider::get_stepSize()
extern "C" float Slider_get_stepSize_m195019090 (Slider_t297367283 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Slider::set_direction(UnityEngine.UI.Slider/Direction)
extern "C" void Slider_set_direction_m612975266 (Slider_t297367283 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.SpriteState::set_highlightedSprite(UnityEngine.Sprite)
extern "C" void SpriteState_set_highlightedSprite_m3403972788 (SpriteState_t1353336012 * __this, Sprite_t309593783 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.SpriteState::set_pressedSprite(UnityEngine.Sprite)
extern "C" void SpriteState_set_pressedSprite_m1310514895 (SpriteState_t1353336012 * __this, Sprite_t309593783 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.SpriteState::set_disabledSprite(UnityEngine.Sprite)
extern "C" void SpriteState_set_disabledSprite_m2014046153 (SpriteState_t1353336012 * __this, Sprite_t309593783 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.SpriteState::Equals(UnityEngine.UI.SpriteState)
extern "C" bool SpriteState_Equals_m3820547775 (SpriteState_t1353336012 * __this, SpriteState_t1353336012 ___other0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Material::HasProperty(System.String)
extern "C" bool Material_HasProperty_m3511389613 (Material_t193706927 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String UnityEngine.Object::get_name()
extern "C" String_t* Object_get_name_m2079638459 (Object_t1021602117 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String System.String::Concat(System.String,System.String,System.String)
extern "C" String_t* String_Concat_m612901809 (Il2CppObject * __this /* static, unused */, String_t* p0, String_t* p1, String_t* p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Debug::LogWarning(System.Object,UnityEngine.Object)
extern "C" void Debug_LogWarning_m1280021602 (Il2CppObject * __this /* static, unused */, Il2CppObject * p0, Object_t1021602117 * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !0 System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>::get_Item(System.Int32)
#define List_1_get_Item_m218316962(__this, p0, method) (( MatEntry_t3157325053 * (*) (List_1_t2526446185 *, int32_t, const MethodInfo*))List_1_get_Item_m2062981835_gshared)(__this, p0, method)
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>::get_Count()
#define List_1_get_Count_m774819925(__this, method) (( int32_t (*) (List_1_t2526446185 *, const MethodInfo*))List_1_get_Count_m2375293942_gshared)(__this, method)
// System.Void UnityEngine.UI.StencilMaterial/MatEntry::.ctor()
extern "C" void MatEntry__ctor_m3650167335 (MatEntry_t3157325053 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Material::.ctor(UnityEngine.Material)
extern "C" void Material__ctor_m1440882780 (Material_t193706927 * __this, Material_t193706927 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Object::set_hideFlags(UnityEngine.HideFlags)
extern "C" void Object_set_hideFlags_m2204253440 (Object_t1021602117 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.String System.String::Format(System.String,System.Object[])
extern "C" String_t* String_Format_m1263743648 (Il2CppObject * __this /* static, unused */, String_t* p0, ObjectU5BU5D_t3614634134* p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Object::set_name(System.String)
extern "C" void Object_set_name_m4157836998 (Object_t1021602117 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Material::SetInt(System.String,System.Int32)
extern "C" void Material_SetInt_m522302436 (Material_t193706927 * __this, String_t* p0, int32_t p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Material::EnableKeyword(System.String)
extern "C" void Material_EnableKeyword_m3724752646 (Material_t193706927 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Material::DisableKeyword(System.String)
extern "C" void Material_DisableKeyword_m1204728089 (Material_t193706927 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>::Add(!0)
#define List_1_Add_m4146062301(__this, p0, method) (( void (*) (List_1_t2526446185 *, MatEntry_t3157325053 *, const MethodInfo*))List_1_Add_m4157722533_gshared)(__this, p0, method)
// System.Void UnityEngine.UI.Misc::DestroyImmediate(UnityEngine.Object)
extern "C" void Misc_DestroyImmediate_m2145363668 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * ___obj0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>::RemoveAt(System.Int32)
#define List_1_RemoveAt_m3266343727(__this, p0, method) (( void (*) (List_1_t2526446185 *, int32_t, const MethodInfo*))List_1_RemoveAt_m3615096820_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>::Clear()
#define List_1_Clear_m3399322582(__this, method) (( void (*) (List_1_t2526446185 *, const MethodInfo*))List_1_Clear_m4254626809_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.StencilMaterial/MatEntry>::.ctor()
#define List_1__ctor_m2025590529(__this, method) (( void (*) (List_1_t2526446185 *, const MethodInfo*))List_1__ctor_m310736118_gshared)(__this, method)
// UnityEngine.UI.FontData UnityEngine.UI.FontData::get_defaultFontData()
extern "C" FontData_t2614388407 * FontData_get_defaultFontData_m3296571046 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 System.String::get_Length()
extern "C" int32_t String_get_Length_m1606060069 (String_t* __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.TextGenerator::.ctor(System.Int32)
extern "C" void TextGenerator__ctor_m1169691060 (TextGenerator_t647235000 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.TextGenerator::.ctor()
extern "C" void TextGenerator__ctor_m11880227 (TextGenerator_t647235000 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Font UnityEngine.UI.Text::get_font()
extern "C" Font_t4239498691 * Text_get_font_m3115501113 (Text_t356221433 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Material UnityEngine.Font::get_material()
extern "C" Material_t193706927 * Font_get_material_m2086804907 (Font_t4239498691 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Texture UnityEngine.UI.Graphic::get_mainTexture()
extern "C" Texture_t2243626319 * Graphic_get_mainTexture_m3801744081 (Graphic_t2426225576 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.TextGenerator UnityEngine.UI.Text::get_cachedTextGenerator()
extern "C" TextGenerator_t647235000 * Text_get_cachedTextGenerator_m224335893 (Text_t356221433 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.TextGenerator::Invalidate()
extern "C" void TextGenerator_Invalidate_m3217235344 (TextGenerator_t647235000 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.CanvasUpdateRegistry::IsRebuildingGraphics()
extern "C" bool CanvasUpdateRegistry_IsRebuildingGraphics_m1758776983 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Font UnityEngine.UI.FontData::get_font()
extern "C" Font_t4239498691 * FontData_get_font_m349918651 (FontData_t2614388407 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontUpdateTracker::UntrackText(UnityEngine.UI.Text)
extern "C" void FontUpdateTracker_UntrackText_m3827316510 (Il2CppObject * __this /* static, unused */, Text_t356221433 * ___t0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontData::set_font(UnityEngine.Font)
extern "C" void FontData_set_font_m1821705952 (FontData_t2614388407 * __this, Font_t4239498691 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontUpdateTracker::TrackText(UnityEngine.UI.Text)
extern "C" void FontUpdateTracker_TrackText_m1295609677 (Il2CppObject * __this /* static, unused */, Text_t356221433 * ___t0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean System.String::op_Inequality(System.String,System.String)
extern "C" bool String_op_Inequality_m304203149 (Il2CppObject * __this /* static, unused */, String_t* p0, String_t* p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.FontData::get_richText()
extern "C" bool FontData_get_richText_m2013560754 (FontData_t2614388407 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontData::set_richText(System.Boolean)
extern "C" void FontData_set_richText_m29558601 (FontData_t2614388407 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.FontData::get_bestFit()
extern "C" bool FontData_get_bestFit_m3106926966 (FontData_t2614388407 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontData::set_bestFit(System.Boolean)
extern "C" void FontData_set_bestFit_m1987821379 (FontData_t2614388407 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 UnityEngine.UI.FontData::get_minSize()
extern "C" int32_t FontData_get_minSize_m3288934630 (FontData_t2614388407 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontData::set_minSize(System.Int32)
extern "C" void FontData_set_minSize_m3999670749 (FontData_t2614388407 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 UnityEngine.UI.FontData::get_maxSize()
extern "C" int32_t FontData_get_maxSize_m3261234724 (FontData_t2614388407 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontData::set_maxSize(System.Int32)
extern "C" void FontData_set_maxSize_m137550699 (FontData_t2614388407 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.TextAnchor UnityEngine.UI.FontData::get_alignment()
extern "C" int32_t FontData_get_alignment_m1588881892 (FontData_t2614388407 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontData::set_alignment(UnityEngine.TextAnchor)
extern "C" void FontData_set_alignment_m2339753079 (FontData_t2614388407 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.FontData::get_alignByGeometry()
extern "C" bool FontData_get_alignByGeometry_m63062771 (FontData_t2614388407 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontData::set_alignByGeometry(System.Boolean)
extern "C" void FontData_set_alignByGeometry_m2819509290 (FontData_t2614388407 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 UnityEngine.UI.FontData::get_fontSize()
extern "C" int32_t FontData_get_fontSize_m581313067 (FontData_t2614388407 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontData::set_fontSize(System.Int32)
extern "C" void FontData_set_fontSize_m1055003686 (FontData_t2614388407 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.HorizontalWrapMode UnityEngine.UI.FontData::get_horizontalOverflow()
extern "C" int32_t FontData_get_horizontalOverflow_m2335063062 (FontData_t2614388407 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontData::set_horizontalOverflow(UnityEngine.HorizontalWrapMode)
extern "C" void FontData_set_horizontalOverflow_m1847453819 (FontData_t2614388407 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.VerticalWrapMode UnityEngine.UI.FontData::get_verticalOverflow()
extern "C" int32_t FontData_get_verticalOverflow_m83665814 (FontData_t2614388407 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontData::set_verticalOverflow(UnityEngine.VerticalWrapMode)
extern "C" void FontData_set_verticalOverflow_m4211463083 (FontData_t2614388407 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.FontData::get_lineSpacing()
extern "C" float FontData_get_lineSpacing_m4145828566 (FontData_t2614388407 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontData::set_lineSpacing(System.Single)
extern "C" void FontData_set_lineSpacing_m4007864705 (FontData_t2614388407 * __this, float ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.FontStyle UnityEngine.UI.FontData::get_fontStyle()
extern "C" int32_t FontData_get_fontStyle_m1208804911 (FontData_t2614388407 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.FontData::set_fontStyle(UnityEngine.FontStyle)
extern "C" void FontData_set_fontStyle_m130790064 (FontData_t2614388407 * __this, int32_t ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.Font::get_dynamic()
extern "C" bool Font_get_dynamic_m1803576936 (Font_t4239498691 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.Canvas::get_scaleFactor()
extern "C" float Canvas_get_scaleFactor_m1115379735 (Canvas_t209405766 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Int32 UnityEngine.Font::get_fontSize()
extern "C" int32_t Font_get_fontSize_m1732593415 (Font_t4239498691 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.MaskableGraphic::OnEnable()
extern "C" void MaskableGraphic_OnEnable_m694112877 (MaskableGraphic_t540192618 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.MaskableGraphic::OnDisable()
extern "C" void MaskableGraphic_OnDisable_m2605143092 (MaskableGraphic_t540192618 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Graphic::UpdateGeometry()
extern "C" void Graphic_UpdateGeometry_m2431537946 (Graphic_t2426225576 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !!0 UnityEngine.Resources::GetBuiltinResource<UnityEngine.Font>(System.String)
#define Resources_GetBuiltinResource_TisFont_t4239498691_m2274058818(__this /* static, unused */, p0, method) (( Font_t4239498691 * (*) (Il2CppObject * /* static, unused */, String_t*, const MethodInfo*))Resources_GetBuiltinResource_TisIl2CppObject_m1023501484_gshared)(__this /* static, unused */, p0, method)
// System.Void UnityEngine.UI.Text::set_font(UnityEngine.Font)
extern "C" void Text_set_font_m1095513810 (Text_t356221433 * __this, Font_t4239498691 * ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.UI.Text::get_pixelsPerUnit()
extern "C" float Text_get_pixelsPerUnit_m1202765365 (Text_t356221433 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.TextGenerationSettings UnityEngine.UI.Text::GetGenerationSettings(UnityEngine.Vector2)
extern "C" TextGenerationSettings_t2543476768 Text_GetGenerationSettings_m3659206515 (Text_t356221433 * __this, Vector2_t2243707579 ___extents0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.TextGenerator::PopulateWithErrors(System.String,UnityEngine.TextGenerationSettings,UnityEngine.GameObject)
extern "C" bool TextGenerator_PopulateWithErrors_m467881283 (TextGenerator_t647235000 * __this, String_t* p0, TextGenerationSettings_t2543476768 p1, GameObject_t1756533147 * p2, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Collections.Generic.IList`1<UnityEngine.UIVertex> UnityEngine.TextGenerator::get_verts()
extern "C" Il2CppObject* TextGenerator_get_verts_m3124035267 (TextGenerator_t647235000 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2 UnityEngine.UI.Graphic::PixelAdjustPoint(UnityEngine.Vector2)
extern "C" Vector2_t2243707579 Graphic_PixelAdjustPoint_m451653269 (Graphic_t2426225576 * __this, Vector2_t2243707579 ___point0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3,System.Single)
extern "C" Vector3_t2243707580 Vector3_op_Multiply_m1351554733 (Il2CppObject * __this /* static, unused */, Vector3_t2243707580 p0, float p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.VertexHelper::AddUIVertexQuad(UnityEngine.UIVertex[])
extern "C" void VertexHelper_AddUIVertexQuad_m280792808 (VertexHelper_t385374196 * __this, UIVertexU5BU5D_t3048644023* ___verts0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.TextGenerator UnityEngine.UI.Text::get_cachedTextGeneratorForLayout()
extern "C" TextGenerator_t647235000 * Text_get_cachedTextGeneratorForLayout_m1357670532 (Text_t356221433 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.TextGenerator::GetPreferredWidth(System.String,UnityEngine.TextGenerationSettings)
extern "C" float TextGenerator_GetPreferredWidth_m3480985839 (TextGenerator_t647235000 * __this, String_t* p0, TextGenerationSettings_t2543476768 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Single UnityEngine.TextGenerator::GetPreferredHeight(System.String,UnityEngine.TextGenerationSettings)
extern "C" float TextGenerator_GetPreferredHeight_m274483688 (TextGenerator_t647235000 * __this, String_t* p0, TextGenerationSettings_t2543476768 p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Toggle/ToggleEvent::.ctor()
extern "C" void ToggleEvent__ctor_m1310623378 (ToggleEvent_t1896830814 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Toggle::SetToggleGroup(UnityEngine.UI.ToggleGroup,System.Boolean)
extern "C" void Toggle_SetToggleGroup_m3009136959 (Toggle_t3976754468 * __this, ToggleGroup_t1030026315 * ___newGroup0, bool ___setMemberValue1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Toggle::PlayEffect(System.Boolean)
extern "C" void Toggle_PlayEffect_m3950629415 (Toggle_t3976754468 * __this, bool ___instant0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Color UnityEngine.CanvasRenderer::GetColor()
extern "C" Color_t2020392075 CanvasRenderer_GetColor_m3395389094 (CanvasRenderer_t261436805 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Toggle::Set(System.Boolean)
extern "C" void Toggle_Set_m861914546 (Toggle_t3976754468 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Selectable::OnDidApplyAnimationProperties()
extern "C" void Selectable_OnDidApplyAnimationProperties_m3173688706 (Selectable_t1490392188 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ToggleGroup::UnregisterToggle(UnityEngine.UI.Toggle)
extern "C" void ToggleGroup_UnregisterToggle_m1686703375 (ToggleGroup_t1030026315 * __this, Toggle_t3976754468 * ___toggle0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ToggleGroup::RegisterToggle(UnityEngine.UI.Toggle)
extern "C" void ToggleGroup_RegisterToggle_m3118973598 (ToggleGroup_t1030026315 * __this, Toggle_t3976754468 * ___toggle0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.Toggle::get_isOn()
extern "C" bool Toggle_get_isOn_m366838229 (Toggle_t3976754468 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ToggleGroup::NotifyToggleOn(UnityEngine.UI.Toggle)
extern "C" void ToggleGroup_NotifyToggleOn_m997426227 (ToggleGroup_t1030026315 * __this, Toggle_t3976754468 * ___toggle0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Toggle::Set(System.Boolean,System.Boolean)
extern "C" void Toggle_Set_m3604285137 (Toggle_t3976754468 * __this, bool ___value0, bool ___sendCallback1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.ToggleGroup::AnyTogglesOn()
extern "C" bool ToggleGroup_AnyTogglesOn_m840462814 (ToggleGroup_t1030026315 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Boolean UnityEngine.UI.ToggleGroup::get_allowSwitchOff()
extern "C" bool ToggleGroup_get_allowSwitchOff_m3835712425 (ToggleGroup_t1030026315 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Toggle::set_isOn(System.Boolean)
extern "C" void Toggle_set_isOn_m4022556286 (Toggle_t3976754468 * __this, bool ___value0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.Toggle::InternalToggle()
extern "C" void Toggle_InternalToggle_m2323729210 (Toggle_t3976754468 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::.ctor()
#define List_1__ctor_m1346706045(__this, method) (( void (*) (List_1_t3345875600 *, const MethodInfo*))List_1__ctor_m310736118_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::Contains(!0)
#define List_1_Contains_m2895393343(__this, p0, method) (( bool (*) (List_1_t3345875600 *, Toggle_t3976754468 *, const MethodInfo*))List_1_Contains_m1658838094_gshared)(__this, p0, method)
// System.Void System.ArgumentException::.ctor(System.String)
extern "C" void ArgumentException__ctor_m3739475201 (ArgumentException_t3259014390 * __this, String_t* p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ToggleGroup::ValidateToggleIsInGroup(UnityEngine.UI.Toggle)
extern "C" void ToggleGroup_ValidateToggleIsInGroup_m3420956585 (ToggleGroup_t1030026315 * __this, Toggle_t3976754468 * ___toggle0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// !0 System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::get_Item(System.Int32)
#define List_1_get_Item_m4004664826(__this, p0, method) (( Toggle_t3976754468 * (*) (List_1_t3345875600 *, int32_t, const MethodInfo*))List_1_get_Item_m2062981835_gshared)(__this, p0, method)
// System.Int32 System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::get_Count()
#define List_1_get_Count_m908496529(__this, method) (( int32_t (*) (List_1_t3345875600 *, const MethodInfo*))List_1_get_Count_m2375293942_gshared)(__this, method)
// System.Boolean System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::Remove(!0)
#define List_1_Remove_m261340164(__this, p0, method) (( bool (*) (List_1_t3345875600 *, Toggle_t3976754468 *, const MethodInfo*))List_1_Remove_m3164383811_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::Add(!0)
#define List_1_Add_m419687769(__this, p0, method) (( void (*) (List_1_t3345875600 *, Toggle_t3976754468 *, const MethodInfo*))List_1_Add_m4157722533_gshared)(__this, p0, method)
// System.Void System.Predicate`1<UnityEngine.UI.Toggle>::.ctor(System.Object,System.IntPtr)
#define Predicate_1__ctor_m924252486(__this, p0, p1, method) (( void (*) (Predicate_1_t2419724583 *, Il2CppObject *, IntPtr_t, const MethodInfo*))Predicate_1__ctor_m2289454599_gshared)(__this, p0, p1, method)
// !0 System.Collections.Generic.List`1<UnityEngine.UI.Toggle>::Find(System.Predicate`1<!0>)
#define List_1_Find_m1914351498(__this, p0, method) (( Toggle_t3976754468 * (*) (List_1_t3345875600 *, Predicate_1_t2419724583 *, const MethodInfo*))List_1_Find_m1881447651_gshared)(__this, p0, method)
// System.Void System.Func`2<UnityEngine.UI.Toggle,System.Boolean>::.ctor(System.Object,System.IntPtr)
#define Func_2__ctor_m201687245(__this, p0, p1, method) (( void (*) (Func_2_t2318645467 *, Il2CppObject *, IntPtr_t, const MethodInfo*))Func_2__ctor_m1354888807_gshared)(__this, p0, p1, method)
// System.Collections.Generic.IEnumerable`1<!!0> System.Linq.Enumerable::Where<UnityEngine.UI.Toggle>(System.Collections.Generic.IEnumerable`1<!!0>,System.Func`2<!!0,System.Boolean>)
#define Enumerable_Where_TisToggle_t3976754468_m3031640376(__this /* static, unused */, p0, p1, method) (( Il2CppObject* (*) (Il2CppObject * /* static, unused */, Il2CppObject*, Func_2_t2318645467 *, const MethodInfo*))Enumerable_Where_TisIl2CppObject_m1516493223_gshared)(__this /* static, unused */, p0, p1, method)
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Vector3>::Get()
#define ListPool_1_Get_m2998644518(__this /* static, unused */, method) (( List_1_t1612828712 * (*) (Il2CppObject * /* static, unused */, const MethodInfo*))ListPool_1_Get_m2998644518_gshared)(__this /* static, unused */, method)
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Color32>::Get()
#define ListPool_1_Get_m3357896252(__this /* static, unused */, method) (( List_1_t243638650 * (*) (Il2CppObject * /* static, unused */, const MethodInfo*))ListPool_1_Get_m3357896252_gshared)(__this /* static, unused */, method)
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Vector2>::Get()
#define ListPool_1_Get_m3002130343(__this /* static, unused */, method) (( List_1_t1612828711 * (*) (Il2CppObject * /* static, unused */, const MethodInfo*))ListPool_1_Get_m3002130343_gshared)(__this /* static, unused */, method)
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<UnityEngine.Vector4>::Get()
#define ListPool_1_Get_m3009093805(__this /* static, unused */, method) (( List_1_t1612828713 * (*) (Il2CppObject * /* static, unused */, const MethodInfo*))ListPool_1_Get_m3009093805_gshared)(__this /* static, unused */, method)
// System.Collections.Generic.List`1<T> UnityEngine.UI.ListPool`1<System.Int32>::Get()
#define ListPool_1_Get_m3809147792(__this /* static, unused */, method) (( List_1_t1440998580 * (*) (Il2CppObject * /* static, unused */, const MethodInfo*))ListPool_1_Get_m3809147792_gshared)(__this /* static, unused */, method)
// UnityEngine.Vector3[] UnityEngine.Mesh::get_vertices()
extern "C" Vector3U5BU5D_t1172311765* Mesh_get_vertices_m626989480 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
#define List_1_AddRange_m2878063899(__this, p0, method) (( void (*) (List_1_t1612828712 *, Il2CppObject*, const MethodInfo*))List_1_AddRange_m2878063899_gshared)(__this, p0, method)
// UnityEngine.Color32[] UnityEngine.Mesh::get_colors32()
extern "C" Color32U5BU5D_t30278651* Mesh_get_colors32_m4153271224 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
#define List_1_AddRange_m1309698249(__this, p0, method) (( void (*) (List_1_t243638650 *, Il2CppObject*, const MethodInfo*))List_1_AddRange_m1309698249_gshared)(__this, p0, method)
// UnityEngine.Vector2[] UnityEngine.Mesh::get_uv()
extern "C" Vector2U5BU5D_t686124026* Mesh_get_uv_m3811151337 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
#define List_1_AddRange_m4255157622(__this, p0, method) (( void (*) (List_1_t1612828711 *, Il2CppObject*, const MethodInfo*))List_1_AddRange_m4255157622_gshared)(__this, p0, method)
// UnityEngine.Vector2[] UnityEngine.Mesh::get_uv2()
extern "C" Vector2U5BU5D_t686124026* Mesh_get_uv2_m3215494975 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2[] UnityEngine.Mesh::get_uv3()
extern "C" Vector2U5BU5D_t686124026* Mesh_get_uv3_m3215494880 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector2[] UnityEngine.Mesh::get_uv4()
extern "C" Vector2U5BU5D_t686124026* Mesh_get_uv4_m3215494777 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3[] UnityEngine.Mesh::get_normals()
extern "C" Vector3U5BU5D_t1172311765* Mesh_get_normals_m1837187359 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector4[] UnityEngine.Mesh::get_tangents()
extern "C" Vector4U5BU5D_t1658499504* Mesh_get_tangents_m2910922714 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
#define List_1_AddRange_m3345533268(__this, p0, method) (( void (*) (List_1_t1612828713 *, Il2CppObject*, const MethodInfo*))List_1_AddRange_m3345533268_gshared)(__this, p0, method)
// System.Int32[] UnityEngine.Mesh::GetIndices(System.Int32)
extern "C" Int32U5BU5D_t3030399641* Mesh_GetIndices_m3085881884 (Mesh_t1356156583 * __this, int32_t p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<System.Int32>::AddRange(System.Collections.Generic.IEnumerable`1<!0>)
#define List_1_AddRange_m2567809379(__this, p0, method) (( void (*) (List_1_t1440998580 *, Il2CppObject*, const MethodInfo*))List_1_AddRange_m2567809379_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Clear()
#define List_1_Clear_m576262818(__this, method) (( void (*) (List_1_t1612828712 *, const MethodInfo*))List_1_Clear_m576262818_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Clear()
#define List_1_Clear_m3889887144(__this, method) (( void (*) (List_1_t243638650 *, const MethodInfo*))List_1_Clear_m3889887144_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Clear()
#define List_1_Clear_m1402865383(__this, method) (( void (*) (List_1_t1612828711 *, const MethodInfo*))List_1_Clear_m1402865383_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::Clear()
#define List_1_Clear_m981597149(__this, method) (( void (*) (List_1_t1612828713 *, const MethodInfo*))List_1_Clear_m981597149_gshared)(__this, method)
// System.Void System.Collections.Generic.List`1<System.Int32>::Clear()
#define List_1_Clear_m3644677550(__this, method) (( void (*) (List_1_t1440998580 *, const MethodInfo*))List_1_Clear_m3644677550_gshared)(__this, method)
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Count()
#define List_1_get_Count_m4027941115(__this, method) (( int32_t (*) (List_1_t1612828712 *, const MethodInfo*))List_1_get_Count_m4027941115_gshared)(__this, method)
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Count()
#define List_1_get_Count_m852068579(__this, method) (( int32_t (*) (List_1_t1440998580 *, const MethodInfo*))List_1_get_Count_m852068579_gshared)(__this, method)
// !0 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Item(System.Int32)
#define List_1_get_Item_m2503489122(__this, p0, method) (( Vector3_t2243707580 (*) (List_1_t1612828712 *, int32_t, const MethodInfo*))List_1_get_Item_m2503489122_gshared)(__this, p0, method)
// !0 System.Collections.Generic.List`1<UnityEngine.Color32>::get_Item(System.Int32)
#define List_1_get_Item_m2079323980(__this, p0, method) (( Color32_t874517518 (*) (List_1_t243638650 *, int32_t, const MethodInfo*))List_1_get_Item_m2079323980_gshared)(__this, p0, method)
// !0 System.Collections.Generic.List`1<UnityEngine.Vector2>::get_Item(System.Int32)
#define List_1_get_Item_m2892902305(__this, p0, method) (( Vector2_t2243707579 (*) (List_1_t1612828711 *, int32_t, const MethodInfo*))List_1_get_Item_m2892902305_gshared)(__this, p0, method)
// !0 System.Collections.Generic.List`1<UnityEngine.Vector4>::get_Item(System.Int32)
#define List_1_get_Item_m3157283227(__this, p0, method) (( Vector4_t2243707581 (*) (List_1_t1612828713 *, int32_t, const MethodInfo*))List_1_get_Item_m3157283227_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::set_Item(System.Int32,!0)
#define List_1_set_Item_m3393612627(__this, p0, p1, method) (( void (*) (List_1_t1612828712 *, int32_t, Vector3_t2243707580 , const MethodInfo*))List_1_set_Item_m3393612627_gshared)(__this, p0, p1, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::set_Item(System.Int32,!0)
#define List_1_set_Item_m1209652185(__this, p0, p1, method) (( void (*) (List_1_t243638650 *, int32_t, Color32_t874517518 , const MethodInfo*))List_1_set_Item_m1209652185_gshared)(__this, p0, p1, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::set_Item(System.Int32,!0)
#define List_1_set_Item_m1027817326(__this, p0, p1, method) (( void (*) (List_1_t1612828711 *, int32_t, Vector2_t2243707579 , const MethodInfo*))List_1_set_Item_m1027817326_gshared)(__this, p0, p1, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::set_Item(System.Int32,!0)
#define List_1_set_Item_m1431784996(__this, p0, p1, method) (( void (*) (List_1_t1612828713 *, int32_t, Vector4_t2243707581 , const MethodInfo*))List_1_set_Item_m1431784996_gshared)(__this, p0, p1, method)
// System.Void UnityEngine.Mesh::Clear()
extern "C" void Mesh_Clear_m231813403 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Mesh::SetVertices(System.Collections.Generic.List`1<UnityEngine.Vector3>)
extern "C" void Mesh_SetVertices_m3500868388 (Mesh_t1356156583 * __this, List_1_t1612828712 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Mesh::SetColors(System.Collections.Generic.List`1<UnityEngine.Color32>)
extern "C" void Mesh_SetColors_m3438776703 (Mesh_t1356156583 * __this, List_1_t243638650 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Mesh::SetUVs(System.Int32,System.Collections.Generic.List`1<UnityEngine.Vector2>)
extern "C" void Mesh_SetUVs_m841280343 (Mesh_t1356156583 * __this, int32_t p0, List_1_t1612828711 * p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Mesh::SetNormals(System.Collections.Generic.List`1<UnityEngine.Vector3>)
extern "C" void Mesh_SetNormals_m3341225499 (Mesh_t1356156583 * __this, List_1_t1612828712 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Mesh::SetTangents(System.Collections.Generic.List`1<UnityEngine.Vector4>)
extern "C" void Mesh_SetTangents_m282399504 (Mesh_t1356156583 * __this, List_1_t1612828713 * p0, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Mesh::SetTriangles(System.Collections.Generic.List`1<System.Int32>,System.Int32)
extern "C" void Mesh_SetTriangles_m2017297103 (Mesh_t1356156583 * __this, List_1_t1440998580 * p0, int32_t p1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.Mesh::RecalculateBounds()
extern "C" void Mesh_RecalculateBounds_m3559909024 (Mesh_t1356156583 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Vector3>::Release(System.Collections.Generic.List`1<T>)
#define ListPool_1_Release_m4118150756(__this /* static, unused */, p0, method) (( void (*) (Il2CppObject * /* static, unused */, List_1_t1612828712 *, const MethodInfo*))ListPool_1_Release_m4118150756_gshared)(__this /* static, unused */, p0, method)
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Color32>::Release(System.Collections.Generic.List`1<T>)
#define ListPool_1_Release_m3047738410(__this /* static, unused */, p0, method) (( void (*) (Il2CppObject * /* static, unused */, List_1_t243638650 *, const MethodInfo*))ListPool_1_Release_m3047738410_gshared)(__this /* static, unused */, p0, method)
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Vector2>::Release(System.Collections.Generic.List`1<T>)
#define ListPool_1_Release_m2208096831(__this /* static, unused */, p0, method) (( void (*) (Il2CppObject * /* static, unused */, List_1_t1612828711 *, const MethodInfo*))ListPool_1_Release_m2208096831_gshared)(__this /* static, unused */, p0, method)
// System.Void UnityEngine.UI.ListPool`1<UnityEngine.Vector4>::Release(System.Collections.Generic.List`1<T>)
#define ListPool_1_Release_m1119005941(__this /* static, unused */, p0, method) (( void (*) (Il2CppObject * /* static, unused */, List_1_t1612828713 *, const MethodInfo*))ListPool_1_Release_m1119005941_gshared)(__this /* static, unused */, p0, method)
// System.Void UnityEngine.UI.ListPool`1<System.Int32>::Release(System.Collections.Generic.List`1<T>)
#define ListPool_1_Release_m3716853512(__this /* static, unused */, p0, method) (( void (*) (Il2CppObject * /* static, unused */, List_1_t1440998580 *, const MethodInfo*))ListPool_1_Release_m3716853512_gshared)(__this /* static, unused */, p0, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Add(!0)
#define List_1_Add_m2338641291(__this, p0, method) (( void (*) (List_1_t1612828712 *, Vector3_t2243707580 , const MethodInfo*))List_1_Add_m2338641291_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.Color32>::Add(!0)
#define List_1_Add_m2405105969(__this, p0, method) (( void (*) (List_1_t243638650 *, Color32_t874517518 , const MethodInfo*))List_1_Add_m2405105969_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Add(!0)
#define List_1_Add_m148291600(__this, p0, method) (( void (*) (List_1_t1612828711 *, Vector2_t2243707579 , const MethodInfo*))List_1_Add_m148291600_gshared)(__this, p0, method)
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector4>::Add(!0)
#define List_1_Add_m1346004230(__this, p0, method) (( void (*) (List_1_t1612828713 *, Vector4_t2243707581 , const MethodInfo*))List_1_Add_m1346004230_gshared)(__this, p0, method)
// System.Void UnityEngine.UI.VertexHelper::AddVert(UnityEngine.Vector3,UnityEngine.Color32,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector3,UnityEngine.Vector4)
extern "C" void VertexHelper_AddVert_m4073901784 (VertexHelper_t385374196 * __this, Vector3_t2243707580 ___position0, Color32_t874517518 ___color1, Vector2_t2243707579 ___uv02, Vector2_t2243707579 ___uv13, Vector3_t2243707580 ___normal4, Vector4_t2243707581 ___tangent5, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(!0)
#define List_1_Add_m688682013(__this, p0, method) (( void (*) (List_1_t1440998580 *, int32_t, const MethodInfo*))List_1_Add_m688682013_gshared)(__this, p0, method)
// System.Void UnityEngine.CanvasRenderer::AddUIVertexStream(System.Collections.Generic.List`1<UnityEngine.UIVertex>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Color32>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector4>)
extern "C" void CanvasRenderer_AddUIVertexStream_m1334037553 (Il2CppObject * __this /* static, unused */, List_1_t573379950 * p0, List_1_t1612828712 * p1, List_1_t243638650 * p2, List_1_t1612828711 * p3, List_1_t1612828711 * p4, List_1_t1612828712 * p5, List_1_t1612828713 * p6, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.CanvasRenderer::SplitUIVertexStreams(System.Collections.Generic.List`1<UnityEngine.UIVertex>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Color32>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector4>,System.Collections.Generic.List`1<System.Int32>)
extern "C" void CanvasRenderer_SplitUIVertexStreams_m2145837300 (Il2CppObject * __this /* static, unused */, List_1_t573379950 * p0, List_1_t1612828712 * p1, List_1_t243638650 * p2, List_1_t1612828711 * p3, List_1_t1612828711 * p4, List_1_t1612828712 * p5, List_1_t1612828713 * p6, List_1_t1440998580 * p7, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.CanvasRenderer::CreateUIVertexStream(System.Collections.Generic.List`1<UnityEngine.UIVertex>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Color32>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector2>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector4>,System.Collections.Generic.List`1<System.Int32>)
extern "C" void CanvasRenderer_CreateUIVertexStream_m197449703 (Il2CppObject * __this /* static, unused */, List_1_t573379950 * p0, List_1_t1612828712 * p1, List_1_t243638650 * p2, List_1_t1612828711 * p3, List_1_t1612828711 * p4, List_1_t1612828712 * p5, List_1_t1612828713 * p6, List_1_t1440998580 * p7, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// UnityEngine.Vector3 UnityEngine.Vector3::get_back()
extern "C" Vector3_t2243707580 Vector3_get_back_m4246539215 (Il2CppObject * __this /* static, unused */, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.HorizontalOrVerticalLayoutGroup::.ctor()
extern "C" void HorizontalOrVerticalLayoutGroup__ctor_m653248149 (HorizontalOrVerticalLayoutGroup_t1968298610 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.LayoutGroup::CalculateLayoutInputHorizontal()
extern "C" void LayoutGroup_CalculateLayoutInputHorizontal_m212315684 (LayoutGroup_t3962498969 * __this, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.HorizontalOrVerticalLayoutGroup::CalcAlongAxis(System.Int32,System.Boolean)
extern "C" void HorizontalOrVerticalLayoutGroup_CalcAlongAxis_m309111836 (HorizontalOrVerticalLayoutGroup_t1968298610 * __this, int32_t ___axis0, bool ___isVertical1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
// System.Void UnityEngine.UI.HorizontalOrVerticalLayoutGroup::SetChildrenAlongAxis(System.Int32,System.Boolean)
extern "C" void HorizontalOrVerticalLayoutGroup_SetChildrenAlongAxis_m671331202 (HorizontalOrVerticalLayoutGroup_t1968298610 * __this, int32_t ___axis0, bool ___isVertical1, const MethodInfo* method) IL2CPP_METHOD_ATTR;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Single UnityEngine.UI.LayoutUtility::GetMinSize(UnityEngine.RectTransform,System.Int32)
extern "C" float LayoutUtility_GetMinSize_m1490062212 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, int32_t ___axis1, const MethodInfo* method)
{
float V_0 = 0.0f;
{
int32_t L_0 = ___axis1;
if (L_0)
{
goto IL_0013;
}
}
{
RectTransform_t3349966182 * L_1 = ___rect0;
float L_2 = LayoutUtility_GetMinWidth_m3099306786(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
V_0 = L_2;
goto IL_001f;
}
IL_0013:
{
RectTransform_t3349966182 * L_3 = ___rect0;
float L_4 = LayoutUtility_GetMinHeight_m253934105(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
V_0 = L_4;
goto IL_001f;
}
IL_001f:
{
float L_5 = V_0;
return L_5;
}
}
// System.Single UnityEngine.UI.LayoutUtility::GetPreferredSize(UnityEngine.RectTransform,System.Int32)
extern "C" float LayoutUtility_GetPreferredSize_m1628281337 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, int32_t ___axis1, const MethodInfo* method)
{
float V_0 = 0.0f;
{
int32_t L_0 = ___axis1;
if (L_0)
{
goto IL_0013;
}
}
{
RectTransform_t3349966182 * L_1 = ___rect0;
float L_2 = LayoutUtility_GetPreferredWidth_m2895813867(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
V_0 = L_2;
goto IL_001f;
}
IL_0013:
{
RectTransform_t3349966182 * L_3 = ___rect0;
float L_4 = LayoutUtility_GetPreferredHeight_m1078616356(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
V_0 = L_4;
goto IL_001f;
}
IL_001f:
{
float L_5 = V_0;
return L_5;
}
}
// System.Single UnityEngine.UI.LayoutUtility::GetFlexibleSize(UnityEngine.RectTransform,System.Int32)
extern "C" float LayoutUtility_GetFlexibleSize_m4130664733 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, int32_t ___axis1, const MethodInfo* method)
{
float V_0 = 0.0f;
{
int32_t L_0 = ___axis1;
if (L_0)
{
goto IL_0013;
}
}
{
RectTransform_t3349966182 * L_1 = ___rect0;
float L_2 = LayoutUtility_GetFlexibleWidth_m1731978987(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
V_0 = L_2;
goto IL_001f;
}
IL_0013:
{
RectTransform_t3349966182 * L_3 = ___rect0;
float L_4 = LayoutUtility_GetFlexibleHeight_m791192670(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
V_0 = L_4;
goto IL_001f;
}
IL_001f:
{
float L_5 = V_0;
return L_5;
}
}
// System.Single UnityEngine.UI.LayoutUtility::GetMinWidth(UnityEngine.RectTransform)
extern "C" float LayoutUtility_GetMinWidth_m3099306786 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_GetMinWidth_m3099306786_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
RectTransform_t3349966182 * G_B2_0 = NULL;
RectTransform_t3349966182 * G_B1_0 = NULL;
{
RectTransform_t3349966182 * L_0 = ___rect0;
Func_2_t1976155184 * L_1 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache0_0();
G_B1_0 = L_0;
if (L_1)
{
G_B2_0 = L_0;
goto IL_001a;
}
}
{
IntPtr_t L_2;
L_2.set_m_value_0((void*)(void*)LayoutUtility_U3CGetMinWidthU3Em__0_m2819807638_MethodInfo_var);
Func_2_t1976155184 * L_3 = (Func_2_t1976155184 *)il2cpp_codegen_object_new(Func_2_t1976155184_il2cpp_TypeInfo_var);
Func_2__ctor_m3475534202(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m3475534202_MethodInfo_var);
((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache0_0(L_3);
G_B2_0 = G_B1_0;
}
IL_001a:
{
Func_2_t1976155184 * L_4 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache0_0();
float L_5 = LayoutUtility_GetLayoutProperty_m4052007472(NULL /*static, unused*/, G_B2_0, L_4, (0.0f), /*hidden argument*/NULL);
V_0 = L_5;
goto IL_002f;
}
IL_002f:
{
float L_6 = V_0;
return L_6;
}
}
// System.Single UnityEngine.UI.LayoutUtility::GetPreferredWidth(UnityEngine.RectTransform)
extern "C" float LayoutUtility_GetPreferredWidth_m2895813867 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_GetPreferredWidth_m2895813867_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
RectTransform_t3349966182 * G_B2_0 = NULL;
RectTransform_t3349966182 * G_B1_0 = NULL;
RectTransform_t3349966182 * G_B4_0 = NULL;
float G_B4_1 = 0.0f;
RectTransform_t3349966182 * G_B3_0 = NULL;
float G_B3_1 = 0.0f;
{
RectTransform_t3349966182 * L_0 = ___rect0;
Func_2_t1976155184 * L_1 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache1_1();
G_B1_0 = L_0;
if (L_1)
{
G_B2_0 = L_0;
goto IL_001a;
}
}
{
IntPtr_t L_2;
L_2.set_m_value_0((void*)(void*)LayoutUtility_U3CGetPreferredWidthU3Em__1_m858056744_MethodInfo_var);
Func_2_t1976155184 * L_3 = (Func_2_t1976155184 *)il2cpp_codegen_object_new(Func_2_t1976155184_il2cpp_TypeInfo_var);
Func_2__ctor_m3475534202(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m3475534202_MethodInfo_var);
((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache1_1(L_3);
G_B2_0 = G_B1_0;
}
IL_001a:
{
Func_2_t1976155184 * L_4 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache1_1();
float L_5 = LayoutUtility_GetLayoutProperty_m4052007472(NULL /*static, unused*/, G_B2_0, L_4, (0.0f), /*hidden argument*/NULL);
RectTransform_t3349966182 * L_6 = ___rect0;
Func_2_t1976155184 * L_7 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_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_0042;
}
}
{
IntPtr_t L_8;
L_8.set_m_value_0((void*)(void*)LayoutUtility_U3CGetPreferredWidthU3Em__2_m2944504345_MethodInfo_var);
Func_2_t1976155184 * L_9 = (Func_2_t1976155184 *)il2cpp_codegen_object_new(Func_2_t1976155184_il2cpp_TypeInfo_var);
Func_2__ctor_m3475534202(L_9, NULL, L_8, /*hidden argument*/Func_2__ctor_m3475534202_MethodInfo_var);
((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache2_2(L_9);
G_B4_0 = G_B3_0;
G_B4_1 = G_B3_1;
}
IL_0042:
{
Func_2_t1976155184 * L_10 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache2_2();
float L_11 = LayoutUtility_GetLayoutProperty_m4052007472(NULL /*static, unused*/, G_B4_0, L_10, (0.0f), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_12 = Mathf_Max_m2564622569(NULL /*static, unused*/, G_B4_1, L_11, /*hidden argument*/NULL);
V_0 = L_12;
goto IL_005c;
}
IL_005c:
{
float L_13 = V_0;
return L_13;
}
}
// System.Single UnityEngine.UI.LayoutUtility::GetFlexibleWidth(UnityEngine.RectTransform)
extern "C" float LayoutUtility_GetFlexibleWidth_m1731978987 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_GetFlexibleWidth_m1731978987_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
RectTransform_t3349966182 * G_B2_0 = NULL;
RectTransform_t3349966182 * G_B1_0 = NULL;
{
RectTransform_t3349966182 * L_0 = ___rect0;
Func_2_t1976155184 * L_1 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache3_3();
G_B1_0 = L_0;
if (L_1)
{
G_B2_0 = L_0;
goto IL_001a;
}
}
{
IntPtr_t L_2;
L_2.set_m_value_0((void*)(void*)LayoutUtility_U3CGetFlexibleWidthU3Em__3_m3345200332_MethodInfo_var);
Func_2_t1976155184 * L_3 = (Func_2_t1976155184 *)il2cpp_codegen_object_new(Func_2_t1976155184_il2cpp_TypeInfo_var);
Func_2__ctor_m3475534202(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m3475534202_MethodInfo_var);
((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache3_3(L_3);
G_B2_0 = G_B1_0;
}
IL_001a:
{
Func_2_t1976155184 * L_4 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache3_3();
float L_5 = LayoutUtility_GetLayoutProperty_m4052007472(NULL /*static, unused*/, G_B2_0, L_4, (0.0f), /*hidden argument*/NULL);
V_0 = L_5;
goto IL_002f;
}
IL_002f:
{
float L_6 = V_0;
return L_6;
}
}
// System.Single UnityEngine.UI.LayoutUtility::GetMinHeight(UnityEngine.RectTransform)
extern "C" float LayoutUtility_GetMinHeight_m253934105 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_GetMinHeight_m253934105_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
RectTransform_t3349966182 * G_B2_0 = NULL;
RectTransform_t3349966182 * G_B1_0 = NULL;
{
RectTransform_t3349966182 * L_0 = ___rect0;
Func_2_t1976155184 * L_1 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache4_4();
G_B1_0 = L_0;
if (L_1)
{
G_B2_0 = L_0;
goto IL_001a;
}
}
{
IntPtr_t L_2;
L_2.set_m_value_0((void*)(void*)LayoutUtility_U3CGetMinHeightU3Em__4_m1769295917_MethodInfo_var);
Func_2_t1976155184 * L_3 = (Func_2_t1976155184 *)il2cpp_codegen_object_new(Func_2_t1976155184_il2cpp_TypeInfo_var);
Func_2__ctor_m3475534202(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m3475534202_MethodInfo_var);
((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache4_4(L_3);
G_B2_0 = G_B1_0;
}
IL_001a:
{
Func_2_t1976155184 * L_4 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache4_4();
float L_5 = LayoutUtility_GetLayoutProperty_m4052007472(NULL /*static, unused*/, G_B2_0, L_4, (0.0f), /*hidden argument*/NULL);
V_0 = L_5;
goto IL_002f;
}
IL_002f:
{
float L_6 = V_0;
return L_6;
}
}
// System.Single UnityEngine.UI.LayoutUtility::GetPreferredHeight(UnityEngine.RectTransform)
extern "C" float LayoutUtility_GetPreferredHeight_m1078616356 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_GetPreferredHeight_m1078616356_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
RectTransform_t3349966182 * G_B2_0 = NULL;
RectTransform_t3349966182 * G_B1_0 = NULL;
RectTransform_t3349966182 * G_B4_0 = NULL;
float G_B4_1 = 0.0f;
RectTransform_t3349966182 * G_B3_0 = NULL;
float G_B3_1 = 0.0f;
{
RectTransform_t3349966182 * L_0 = ___rect0;
Func_2_t1976155184 * L_1 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache5_5();
G_B1_0 = L_0;
if (L_1)
{
G_B2_0 = L_0;
goto IL_001a;
}
}
{
IntPtr_t L_2;
L_2.set_m_value_0((void*)(void*)LayoutUtility_U3CGetPreferredHeightU3Em__5_m1524880643_MethodInfo_var);
Func_2_t1976155184 * L_3 = (Func_2_t1976155184 *)il2cpp_codegen_object_new(Func_2_t1976155184_il2cpp_TypeInfo_var);
Func_2__ctor_m3475534202(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m3475534202_MethodInfo_var);
((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache5_5(L_3);
G_B2_0 = G_B1_0;
}
IL_001a:
{
Func_2_t1976155184 * L_4 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache5_5();
float L_5 = LayoutUtility_GetLayoutProperty_m4052007472(NULL /*static, unused*/, G_B2_0, L_4, (0.0f), /*hidden argument*/NULL);
RectTransform_t3349966182 * L_6 = ___rect0;
Func_2_t1976155184 * L_7 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_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_0042;
}
}
{
IntPtr_t L_8;
L_8.set_m_value_0((void*)(void*)LayoutUtility_U3CGetPreferredHeightU3Em__6_m72173670_MethodInfo_var);
Func_2_t1976155184 * L_9 = (Func_2_t1976155184 *)il2cpp_codegen_object_new(Func_2_t1976155184_il2cpp_TypeInfo_var);
Func_2__ctor_m3475534202(L_9, NULL, L_8, /*hidden argument*/Func_2__ctor_m3475534202_MethodInfo_var);
((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache6_6(L_9);
G_B4_0 = G_B3_0;
G_B4_1 = G_B3_1;
}
IL_0042:
{
Func_2_t1976155184 * L_10 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache6_6();
float L_11 = LayoutUtility_GetLayoutProperty_m4052007472(NULL /*static, unused*/, G_B4_0, L_10, (0.0f), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_12 = Mathf_Max_m2564622569(NULL /*static, unused*/, G_B4_1, L_11, /*hidden argument*/NULL);
V_0 = L_12;
goto IL_005c;
}
IL_005c:
{
float L_13 = V_0;
return L_13;
}
}
// System.Single UnityEngine.UI.LayoutUtility::GetFlexibleHeight(UnityEngine.RectTransform)
extern "C" float LayoutUtility_GetFlexibleHeight_m791192670 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_GetFlexibleHeight_m791192670_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
RectTransform_t3349966182 * G_B2_0 = NULL;
RectTransform_t3349966182 * G_B1_0 = NULL;
{
RectTransform_t3349966182 * L_0 = ___rect0;
Func_2_t1976155184 * L_1 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache7_7();
G_B1_0 = L_0;
if (L_1)
{
G_B2_0 = L_0;
goto IL_001a;
}
}
{
IntPtr_t L_2;
L_2.set_m_value_0((void*)(void*)LayoutUtility_U3CGetFlexibleHeightU3Em__7_m947156537_MethodInfo_var);
Func_2_t1976155184 * L_3 = (Func_2_t1976155184 *)il2cpp_codegen_object_new(Func_2_t1976155184_il2cpp_TypeInfo_var);
Func_2__ctor_m3475534202(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m3475534202_MethodInfo_var);
((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache7_7(L_3);
G_B2_0 = G_B1_0;
}
IL_001a:
{
Func_2_t1976155184 * L_4 = ((LayoutUtility_t4076838048_StaticFields*)LayoutUtility_t4076838048_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache7_7();
float L_5 = LayoutUtility_GetLayoutProperty_m4052007472(NULL /*static, unused*/, G_B2_0, L_4, (0.0f), /*hidden argument*/NULL);
V_0 = L_5;
goto IL_002f;
}
IL_002f:
{
float L_6 = V_0;
return L_6;
}
}
// System.Single UnityEngine.UI.LayoutUtility::GetLayoutProperty(UnityEngine.RectTransform,System.Func`2<UnityEngine.UI.ILayoutElement,System.Single>,System.Single)
extern "C" float LayoutUtility_GetLayoutProperty_m4052007472 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, Func_2_t1976155184 * ___property1, float ___defaultValue2, const MethodInfo* method)
{
Il2CppObject * V_0 = NULL;
float V_1 = 0.0f;
{
RectTransform_t3349966182 * L_0 = ___rect0;
Func_2_t1976155184 * L_1 = ___property1;
float L_2 = ___defaultValue2;
float L_3 = LayoutUtility_GetLayoutProperty_m2473621994(NULL /*static, unused*/, L_0, L_1, L_2, (&V_0), /*hidden argument*/NULL);
V_1 = L_3;
goto IL_0011;
}
IL_0011:
{
float L_4 = V_1;
return L_4;
}
}
// System.Single UnityEngine.UI.LayoutUtility::GetLayoutProperty(UnityEngine.RectTransform,System.Func`2<UnityEngine.UI.ILayoutElement,System.Single>,System.Single,UnityEngine.UI.ILayoutElement&)
extern "C" float LayoutUtility_GetLayoutProperty_m2473621994 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, Func_2_t1976155184 * ___property1, float ___defaultValue2, Il2CppObject ** ___source3, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_GetLayoutProperty_m2473621994_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
int32_t V_2 = 0;
List_1_t3188497603 * V_3 = NULL;
int32_t V_4 = 0;
Il2CppObject * V_5 = NULL;
int32_t V_6 = 0;
float V_7 = 0.0f;
{
Il2CppObject ** L_0 = ___source3;
*((Il2CppObject **)(L_0)) = (Il2CppObject *)NULL;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_0), (Il2CppObject *)NULL);
RectTransform_t3349966182 * L_1 = ___rect0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_001b;
}
}
{
V_0 = (0.0f);
goto IL_00f0;
}
IL_001b:
{
float L_3 = ___defaultValue2;
V_1 = L_3;
V_2 = ((int32_t)-2147483648LL);
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t2672351287_il2cpp_TypeInfo_var);
List_1_t3188497603 * L_4 = ListPool_1_Get_m1238534579(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m1238534579_MethodInfo_var);
V_3 = L_4;
RectTransform_t3349966182 * L_5 = ___rect0;
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_6 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(ILayoutElement_t1975293769_0_0_0_var), /*hidden argument*/NULL);
List_1_t3188497603 * L_7 = V_3;
NullCheck(L_5);
Component_GetComponents_m3712441745(L_5, L_6, L_7, /*hidden argument*/NULL);
V_4 = 0;
goto IL_00d6;
}
IL_0042:
{
List_1_t3188497603 * L_8 = V_3;
int32_t L_9 = V_4;
NullCheck(L_8);
Component_t3819376471 * L_10 = List_1_get_Item_m2919783149(L_8, L_9, /*hidden argument*/List_1_get_Item_m2919783149_MethodInfo_var);
V_5 = ((Il2CppObject *)IsInst(L_10, ILayoutElement_t1975293769_il2cpp_TypeInfo_var));
Il2CppObject * L_11 = V_5;
if (!((Behaviour_t955675639 *)IsInstClass(L_11, Behaviour_t955675639_il2cpp_TypeInfo_var)))
{
goto IL_0074;
}
}
{
Il2CppObject * L_12 = V_5;
NullCheck(((Behaviour_t955675639 *)CastclassClass(L_12, Behaviour_t955675639_il2cpp_TypeInfo_var)));
bool L_13 = Behaviour_get_isActiveAndEnabled_m3838334305(((Behaviour_t955675639 *)CastclassClass(L_12, Behaviour_t955675639_il2cpp_TypeInfo_var)), /*hidden argument*/NULL);
if (L_13)
{
goto IL_0074;
}
}
{
goto IL_00d0;
}
IL_0074:
{
Il2CppObject * L_14 = V_5;
NullCheck(L_14);
int32_t L_15 = InterfaceFuncInvoker0< int32_t >::Invoke(8 /* System.Int32 UnityEngine.UI.ILayoutElement::get_layoutPriority() */, ILayoutElement_t1975293769_il2cpp_TypeInfo_var, L_14);
V_6 = L_15;
int32_t L_16 = V_6;
int32_t L_17 = V_2;
if ((((int32_t)L_16) >= ((int32_t)L_17)))
{
goto IL_008a;
}
}
{
goto IL_00d0;
}
IL_008a:
{
Func_2_t1976155184 * L_18 = ___property1;
Il2CppObject * L_19 = V_5;
NullCheck(L_18);
float L_20 = Func_2_Invoke_m3701828196(L_18, L_19, /*hidden argument*/Func_2_Invoke_m3701828196_MethodInfo_var);
V_7 = L_20;
float L_21 = V_7;
if ((!(((float)L_21) < ((float)(0.0f)))))
{
goto IL_00a5;
}
}
{
goto IL_00d0;
}
IL_00a5:
{
int32_t L_22 = V_6;
int32_t L_23 = V_2;
if ((((int32_t)L_22) <= ((int32_t)L_23)))
{
goto IL_00be;
}
}
{
float L_24 = V_7;
V_1 = L_24;
int32_t L_25 = V_6;
V_2 = L_25;
Il2CppObject ** L_26 = ___source3;
Il2CppObject * L_27 = V_5;
*((Il2CppObject **)(L_26)) = (Il2CppObject *)L_27;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_26), (Il2CppObject *)L_27);
goto IL_00cf;
}
IL_00be:
{
float L_28 = V_7;
float L_29 = V_1;
if ((!(((float)L_28) > ((float)L_29))))
{
goto IL_00cf;
}
}
{
float L_30 = V_7;
V_1 = L_30;
Il2CppObject ** L_31 = ___source3;
Il2CppObject * L_32 = V_5;
*((Il2CppObject **)(L_31)) = (Il2CppObject *)L_32;
Il2CppCodeGenWriteBarrier((Il2CppObject **)(L_31), (Il2CppObject *)L_32);
}
IL_00cf:
{
}
IL_00d0:
{
int32_t L_33 = V_4;
V_4 = ((int32_t)((int32_t)L_33+(int32_t)1));
}
IL_00d6:
{
int32_t L_34 = V_4;
List_1_t3188497603 * L_35 = V_3;
NullCheck(L_35);
int32_t L_36 = List_1_get_Count_m688539176(L_35, /*hidden argument*/List_1_get_Count_m688539176_MethodInfo_var);
if ((((int32_t)L_34) < ((int32_t)L_36)))
{
goto IL_0042;
}
}
{
List_1_t3188497603 * L_37 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t2672351287_il2cpp_TypeInfo_var);
ListPool_1_Release_m1646128643(NULL /*static, unused*/, L_37, /*hidden argument*/ListPool_1_Release_m1646128643_MethodInfo_var);
float L_38 = V_1;
V_0 = L_38;
goto IL_00f0;
}
IL_00f0:
{
float L_39 = V_0;
return L_39;
}
}
// System.Single UnityEngine.UI.LayoutUtility::<GetMinWidth>m__0(UnityEngine.UI.ILayoutElement)
extern "C" float LayoutUtility_U3CGetMinWidthU3Em__0_m2819807638 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_U3CGetMinWidthU3Em__0_m2819807638_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
Il2CppObject * L_0 = ___e0;
NullCheck(L_0);
float L_1 = InterfaceFuncInvoker0< float >::Invoke(2 /* System.Single UnityEngine.UI.ILayoutElement::get_minWidth() */, ILayoutElement_t1975293769_il2cpp_TypeInfo_var, L_0);
V_0 = L_1;
goto IL_000c;
}
IL_000c:
{
float L_2 = V_0;
return L_2;
}
}
// System.Single UnityEngine.UI.LayoutUtility::<GetPreferredWidth>m__1(UnityEngine.UI.ILayoutElement)
extern "C" float LayoutUtility_U3CGetPreferredWidthU3Em__1_m858056744 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_U3CGetPreferredWidthU3Em__1_m858056744_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
Il2CppObject * L_0 = ___e0;
NullCheck(L_0);
float L_1 = InterfaceFuncInvoker0< float >::Invoke(2 /* System.Single UnityEngine.UI.ILayoutElement::get_minWidth() */, ILayoutElement_t1975293769_il2cpp_TypeInfo_var, L_0);
V_0 = L_1;
goto IL_000c;
}
IL_000c:
{
float L_2 = V_0;
return L_2;
}
}
// System.Single UnityEngine.UI.LayoutUtility::<GetPreferredWidth>m__2(UnityEngine.UI.ILayoutElement)
extern "C" float LayoutUtility_U3CGetPreferredWidthU3Em__2_m2944504345 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_U3CGetPreferredWidthU3Em__2_m2944504345_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
Il2CppObject * L_0 = ___e0;
NullCheck(L_0);
float L_1 = InterfaceFuncInvoker0< float >::Invoke(3 /* System.Single UnityEngine.UI.ILayoutElement::get_preferredWidth() */, ILayoutElement_t1975293769_il2cpp_TypeInfo_var, L_0);
V_0 = L_1;
goto IL_000c;
}
IL_000c:
{
float L_2 = V_0;
return L_2;
}
}
// System.Single UnityEngine.UI.LayoutUtility::<GetFlexibleWidth>m__3(UnityEngine.UI.ILayoutElement)
extern "C" float LayoutUtility_U3CGetFlexibleWidthU3Em__3_m3345200332 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_U3CGetFlexibleWidthU3Em__3_m3345200332_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
Il2CppObject * L_0 = ___e0;
NullCheck(L_0);
float L_1 = InterfaceFuncInvoker0< float >::Invoke(4 /* System.Single UnityEngine.UI.ILayoutElement::get_flexibleWidth() */, ILayoutElement_t1975293769_il2cpp_TypeInfo_var, L_0);
V_0 = L_1;
goto IL_000c;
}
IL_000c:
{
float L_2 = V_0;
return L_2;
}
}
// System.Single UnityEngine.UI.LayoutUtility::<GetMinHeight>m__4(UnityEngine.UI.ILayoutElement)
extern "C" float LayoutUtility_U3CGetMinHeightU3Em__4_m1769295917 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_U3CGetMinHeightU3Em__4_m1769295917_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
Il2CppObject * L_0 = ___e0;
NullCheck(L_0);
float L_1 = InterfaceFuncInvoker0< float >::Invoke(5 /* System.Single UnityEngine.UI.ILayoutElement::get_minHeight() */, ILayoutElement_t1975293769_il2cpp_TypeInfo_var, L_0);
V_0 = L_1;
goto IL_000c;
}
IL_000c:
{
float L_2 = V_0;
return L_2;
}
}
// System.Single UnityEngine.UI.LayoutUtility::<GetPreferredHeight>m__5(UnityEngine.UI.ILayoutElement)
extern "C" float LayoutUtility_U3CGetPreferredHeightU3Em__5_m1524880643 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_U3CGetPreferredHeightU3Em__5_m1524880643_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
Il2CppObject * L_0 = ___e0;
NullCheck(L_0);
float L_1 = InterfaceFuncInvoker0< float >::Invoke(5 /* System.Single UnityEngine.UI.ILayoutElement::get_minHeight() */, ILayoutElement_t1975293769_il2cpp_TypeInfo_var, L_0);
V_0 = L_1;
goto IL_000c;
}
IL_000c:
{
float L_2 = V_0;
return L_2;
}
}
// System.Single UnityEngine.UI.LayoutUtility::<GetPreferredHeight>m__6(UnityEngine.UI.ILayoutElement)
extern "C" float LayoutUtility_U3CGetPreferredHeightU3Em__6_m72173670 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_U3CGetPreferredHeightU3Em__6_m72173670_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
Il2CppObject * L_0 = ___e0;
NullCheck(L_0);
float L_1 = InterfaceFuncInvoker0< float >::Invoke(6 /* System.Single UnityEngine.UI.ILayoutElement::get_preferredHeight() */, ILayoutElement_t1975293769_il2cpp_TypeInfo_var, L_0);
V_0 = L_1;
goto IL_000c;
}
IL_000c:
{
float L_2 = V_0;
return L_2;
}
}
// System.Single UnityEngine.UI.LayoutUtility::<GetFlexibleHeight>m__7(UnityEngine.UI.ILayoutElement)
extern "C" float LayoutUtility_U3CGetFlexibleHeightU3Em__7_m947156537 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___e0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (LayoutUtility_U3CGetFlexibleHeightU3Em__7_m947156537_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
Il2CppObject * L_0 = ___e0;
NullCheck(L_0);
float L_1 = InterfaceFuncInvoker0< float >::Invoke(7 /* System.Single UnityEngine.UI.ILayoutElement::get_flexibleHeight() */, ILayoutElement_t1975293769_il2cpp_TypeInfo_var, L_0);
V_0 = L_1;
goto IL_000c;
}
IL_000c:
{
float L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Mask::.ctor()
extern "C" void Mask__ctor_m1716732261 (Mask_t2977958238 * __this, const MethodInfo* method)
{
{
__this->set_m_ShowMaskGraphic_3((bool)1);
UIBehaviour__ctor_m984034336(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.RectTransform UnityEngine.UI.Mask::get_rectTransform()
extern "C" RectTransform_t3349966182 * Mask_get_rectTransform_m3304369086 (Mask_t2977958238 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Mask_get_rectTransform_m3304369086_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RectTransform_t3349966182 * V_0 = NULL;
RectTransform_t3349966182 * V_1 = NULL;
RectTransform_t3349966182 * G_B2_0 = NULL;
RectTransform_t3349966182 * G_B1_0 = NULL;
{
RectTransform_t3349966182 * L_0 = __this->get_m_RectTransform_2();
RectTransform_t3349966182 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_001d;
}
}
{
RectTransform_t3349966182 * L_2 = Component_GetComponent_TisRectTransform_t3349966182_m1310250299(__this, /*hidden argument*/Component_GetComponent_TisRectTransform_t3349966182_m1310250299_MethodInfo_var);
RectTransform_t3349966182 * L_3 = L_2;
V_0 = L_3;
__this->set_m_RectTransform_2(L_3);
RectTransform_t3349966182 * L_4 = V_0;
G_B2_0 = L_4;
}
IL_001d:
{
V_1 = G_B2_0;
goto IL_0023;
}
IL_0023:
{
RectTransform_t3349966182 * L_5 = V_1;
return L_5;
}
}
// System.Boolean UnityEngine.UI.Mask::get_showMaskGraphic()
extern "C" bool Mask_get_showMaskGraphic_m916796405 (Mask_t2977958238 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_m_ShowMaskGraphic_3();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Mask::set_showMaskGraphic(System.Boolean)
extern "C" void Mask_set_showMaskGraphic_m2985320778 (Mask_t2977958238 * __this, bool ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Mask_set_showMaskGraphic_m2985320778_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_m_ShowMaskGraphic_3();
bool L_1 = ___value0;
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
goto IL_0035;
}
IL_0012:
{
bool L_2 = ___value0;
__this->set_m_ShowMaskGraphic_3(L_2);
Graphic_t2426225576 * L_3 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_3, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0035;
}
}
{
Graphic_t2426225576 * L_5 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
NullCheck(L_5);
VirtActionInvoker0::Invoke(29 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, L_5);
}
IL_0035:
{
return;
}
}
// UnityEngine.UI.Graphic UnityEngine.UI.Mask::get_graphic()
extern "C" Graphic_t2426225576 * Mask_get_graphic_m775949552 (Mask_t2977958238 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Mask_get_graphic_m775949552_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Graphic_t2426225576 * V_0 = NULL;
Graphic_t2426225576 * V_1 = NULL;
Graphic_t2426225576 * G_B2_0 = NULL;
Graphic_t2426225576 * G_B1_0 = NULL;
{
Graphic_t2426225576 * L_0 = __this->get_m_Graphic_4();
Graphic_t2426225576 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_001d;
}
}
{
Graphic_t2426225576 * L_2 = Component_GetComponent_TisGraphic_t2426225576_m650184603(__this, /*hidden argument*/Component_GetComponent_TisGraphic_t2426225576_m650184603_MethodInfo_var);
Graphic_t2426225576 * L_3 = L_2;
V_0 = L_3;
__this->set_m_Graphic_4(L_3);
Graphic_t2426225576 * L_4 = V_0;
G_B2_0 = L_4;
}
IL_001d:
{
V_1 = G_B2_0;
goto IL_0023;
}
IL_0023:
{
Graphic_t2426225576 * L_5 = V_1;
return L_5;
}
}
// System.Boolean UnityEngine.UI.Mask::MaskEnabled()
extern "C" bool Mask_MaskEnabled_m2584190482 (Mask_t2977958238 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Mask_MaskEnabled_m2584190482_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B3_0 = 0;
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_0)
{
goto IL_001a;
}
}
{
Graphic_t2426225576 * L_1 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
G_B3_0 = ((int32_t)(L_2));
goto IL_001b;
}
IL_001a:
{
G_B3_0 = 0;
}
IL_001b:
{
V_0 = (bool)G_B3_0;
goto IL_0021;
}
IL_0021:
{
bool L_3 = V_0;
return L_3;
}
}
// System.Void UnityEngine.UI.Mask::OnSiblingGraphicEnabledDisabled()
extern "C" void Mask_OnSiblingGraphicEnabledDisabled_m865494155 (Mask_t2977958238 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.Mask::OnEnable()
extern "C" void Mask_OnEnable_m501850981 (Mask_t2977958238 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Mask_OnEnable_m501850981_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UIBehaviour_OnEnable_m152520444(__this, /*hidden argument*/NULL);
Graphic_t2426225576 * L_0 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0036;
}
}
{
Graphic_t2426225576 * L_2 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
NullCheck(L_2);
CanvasRenderer_t261436805 * L_3 = Graphic_get_canvasRenderer_m2902370808(L_2, /*hidden argument*/NULL);
NullCheck(L_3);
CanvasRenderer_set_hasPopInstruction_m1388844875(L_3, (bool)1, /*hidden argument*/NULL);
Graphic_t2426225576 * L_4 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
NullCheck(L_4);
VirtActionInvoker0::Invoke(29 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, L_4);
}
IL_0036:
{
MaskUtilities_NotifyStencilStateChanged_m1527407683(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Mask::OnDisable()
extern "C" void Mask_OnDisable_m2648774416 (Mask_t2977958238 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Mask_OnDisable_m2648774416_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UIBehaviour_OnDisable_m2533338171(__this, /*hidden argument*/NULL);
Graphic_t2426225576 * L_0 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0047;
}
}
{
Graphic_t2426225576 * L_2 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
NullCheck(L_2);
VirtActionInvoker0::Invoke(29 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, L_2);
Graphic_t2426225576 * L_3 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
NullCheck(L_3);
CanvasRenderer_t261436805 * L_4 = Graphic_get_canvasRenderer_m2902370808(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
CanvasRenderer_set_hasPopInstruction_m1388844875(L_4, (bool)0, /*hidden argument*/NULL);
Graphic_t2426225576 * L_5 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
NullCheck(L_5);
CanvasRenderer_t261436805 * L_6 = Graphic_get_canvasRenderer_m2902370808(L_5, /*hidden argument*/NULL);
NullCheck(L_6);
CanvasRenderer_set_popMaterialCount_m3394823403(L_6, 0, /*hidden argument*/NULL);
}
IL_0047:
{
Material_t193706927 * L_7 = __this->get_m_MaskMaterial_5();
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
StencilMaterial_Remove_m3616154292(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
__this->set_m_MaskMaterial_5((Material_t193706927 *)NULL);
Material_t193706927 * L_8 = __this->get_m_UnmaskMaterial_6();
StencilMaterial_Remove_m3616154292(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
__this->set_m_UnmaskMaterial_6((Material_t193706927 *)NULL);
MaskUtilities_NotifyStencilStateChanged_m1527407683(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean UnityEngine.UI.Mask::IsRaycastLocationValid(UnityEngine.Vector2,UnityEngine.Camera)
extern "C" bool Mask_IsRaycastLocationValid_m62488857 (Mask_t2977958238 * __this, Vector2_t2243707579 ___sp0, Camera_t189460977 * ___eventCamera1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Mask_IsRaycastLocationValid_m62488857_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
bool L_0 = Behaviour_get_isActiveAndEnabled_m3838334305(__this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0013;
}
}
{
V_0 = (bool)1;
goto IL_0026;
}
IL_0013:
{
RectTransform_t3349966182 * L_1 = Mask_get_rectTransform_m3304369086(__this, /*hidden argument*/NULL);
Vector2_t2243707579 L_2 = ___sp0;
Camera_t189460977 * L_3 = ___eventCamera1;
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
bool L_4 = RectTransformUtility_RectangleContainsScreenPoint_m1244853728(NULL /*static, unused*/, L_1, L_2, L_3, /*hidden argument*/NULL);
V_0 = L_4;
goto IL_0026;
}
IL_0026:
{
bool L_5 = V_0;
return L_5;
}
}
// UnityEngine.Material UnityEngine.UI.Mask::GetModifiedMaterial(UnityEngine.Material)
extern "C" Material_t193706927 * Mask_GetModifiedMaterial_m99213640 (Mask_t2977958238 * __this, Material_t193706927 * ___baseMaterial0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Mask_GetModifiedMaterial_m99213640_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Material_t193706927 * V_0 = NULL;
Transform_t3275118058 * V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
Material_t193706927 * V_4 = NULL;
Material_t193706927 * V_5 = NULL;
Material_t193706927 * V_6 = NULL;
Material_t193706927 * V_7 = NULL;
int32_t G_B7_0 = 0;
int32_t G_B7_1 = 0;
int32_t G_B7_2 = 0;
Material_t193706927 * G_B7_3 = NULL;
int32_t G_B6_0 = 0;
int32_t G_B6_1 = 0;
int32_t G_B6_2 = 0;
Material_t193706927 * G_B6_3 = NULL;
int32_t G_B8_0 = 0;
int32_t G_B8_1 = 0;
int32_t G_B8_2 = 0;
int32_t G_B8_3 = 0;
Material_t193706927 * G_B8_4 = NULL;
int32_t G_B11_0 = 0;
int32_t G_B11_1 = 0;
int32_t G_B11_2 = 0;
Material_t193706927 * G_B11_3 = NULL;
int32_t G_B10_0 = 0;
int32_t G_B10_1 = 0;
int32_t G_B10_2 = 0;
Material_t193706927 * G_B10_3 = NULL;
int32_t G_B12_0 = 0;
int32_t G_B12_1 = 0;
int32_t G_B12_2 = 0;
int32_t G_B12_3 = 0;
Material_t193706927 * G_B12_4 = NULL;
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(19 /* System.Boolean UnityEngine.UI.Mask::MaskEnabled() */, __this);
if (L_0)
{
goto IL_0013;
}
}
{
Material_t193706927 * L_1 = ___baseMaterial0;
V_0 = L_1;
goto IL_0189;
}
IL_0013:
{
Transform_t3275118058 * L_2 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
Transform_t3275118058 * L_3 = MaskUtilities_FindRootSortOverrideCanvas_m433286381(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
V_1 = L_3;
Transform_t3275118058 * L_4 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
Transform_t3275118058 * L_5 = V_1;
int32_t L_6 = MaskUtilities_GetStencilDepth_m3432755788(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
V_2 = L_6;
int32_t L_7 = V_2;
if ((((int32_t)L_7) < ((int32_t)8)))
{
goto IL_004b;
}
}
{
GameObject_t1756533147 * L_8 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogError_m865553560(NULL /*static, unused*/, _stringLiteral1141441603, L_8, /*hidden argument*/NULL);
Material_t193706927 * L_9 = ___baseMaterial0;
V_0 = L_9;
goto IL_0189;
}
IL_004b:
{
int32_t L_10 = V_2;
V_3 = ((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)L_10&(int32_t)((int32_t)31)))));
int32_t L_11 = V_3;
if ((!(((uint32_t)L_11) == ((uint32_t)1))))
{
goto IL_00de;
}
}
{
Material_t193706927 * L_12 = ___baseMaterial0;
bool L_13 = __this->get_m_ShowMaskGraphic_3();
G_B6_0 = 8;
G_B6_1 = 2;
G_B6_2 = 1;
G_B6_3 = L_12;
if (!L_13)
{
G_B7_0 = 8;
G_B7_1 = 2;
G_B7_2 = 1;
G_B7_3 = L_12;
goto IL_0070;
}
}
{
G_B8_0 = ((int32_t)15);
G_B8_1 = G_B6_0;
G_B8_2 = G_B6_1;
G_B8_3 = G_B6_2;
G_B8_4 = G_B6_3;
goto IL_0071;
}
IL_0070:
{
G_B8_0 = 0;
G_B8_1 = G_B7_0;
G_B8_2 = G_B7_1;
G_B8_3 = G_B7_2;
G_B8_4 = G_B7_3;
}
IL_0071:
{
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
Material_t193706927 * L_14 = StencilMaterial_Add_m2540251346(NULL /*static, unused*/, G_B8_4, G_B8_3, G_B8_2, G_B8_1, G_B8_0, /*hidden argument*/NULL);
V_4 = L_14;
Material_t193706927 * L_15 = __this->get_m_MaskMaterial_5();
StencilMaterial_Remove_m3616154292(NULL /*static, unused*/, L_15, /*hidden argument*/NULL);
Material_t193706927 * L_16 = V_4;
__this->set_m_MaskMaterial_5(L_16);
Material_t193706927 * L_17 = ___baseMaterial0;
Material_t193706927 * L_18 = StencilMaterial_Add_m2540251346(NULL /*static, unused*/, L_17, 1, 1, 8, 0, /*hidden argument*/NULL);
V_5 = L_18;
Material_t193706927 * L_19 = __this->get_m_UnmaskMaterial_6();
StencilMaterial_Remove_m3616154292(NULL /*static, unused*/, L_19, /*hidden argument*/NULL);
Material_t193706927 * L_20 = V_5;
__this->set_m_UnmaskMaterial_6(L_20);
Graphic_t2426225576 * L_21 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
NullCheck(L_21);
CanvasRenderer_t261436805 * L_22 = Graphic_get_canvasRenderer_m2902370808(L_21, /*hidden argument*/NULL);
NullCheck(L_22);
CanvasRenderer_set_popMaterialCount_m3394823403(L_22, 1, /*hidden argument*/NULL);
Graphic_t2426225576 * L_23 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
NullCheck(L_23);
CanvasRenderer_t261436805 * L_24 = Graphic_get_canvasRenderer_m2902370808(L_23, /*hidden argument*/NULL);
Material_t193706927 * L_25 = __this->get_m_UnmaskMaterial_6();
NullCheck(L_24);
CanvasRenderer_SetPopMaterial_m3522214039(L_24, L_25, 0, /*hidden argument*/NULL);
Material_t193706927 * L_26 = __this->get_m_MaskMaterial_5();
V_0 = L_26;
goto IL_0189;
}
IL_00de:
{
Material_t193706927 * L_27 = ___baseMaterial0;
int32_t L_28 = V_3;
int32_t L_29 = V_3;
bool L_30 = __this->get_m_ShowMaskGraphic_3();
G_B10_0 = 3;
G_B10_1 = 2;
G_B10_2 = ((int32_t)((int32_t)L_28|(int32_t)((int32_t)((int32_t)L_29-(int32_t)1))));
G_B10_3 = L_27;
if (!L_30)
{
G_B11_0 = 3;
G_B11_1 = 2;
G_B11_2 = ((int32_t)((int32_t)L_28|(int32_t)((int32_t)((int32_t)L_29-(int32_t)1))));
G_B11_3 = L_27;
goto IL_00f8;
}
}
{
G_B12_0 = ((int32_t)15);
G_B12_1 = G_B10_0;
G_B12_2 = G_B10_1;
G_B12_3 = G_B10_2;
G_B12_4 = G_B10_3;
goto IL_00f9;
}
IL_00f8:
{
G_B12_0 = 0;
G_B12_1 = G_B11_0;
G_B12_2 = G_B11_1;
G_B12_3 = G_B11_2;
G_B12_4 = G_B11_3;
}
IL_00f9:
{
int32_t L_31 = V_3;
int32_t L_32 = V_3;
int32_t L_33 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
Material_t193706927 * L_34 = StencilMaterial_Add_m3307959964(NULL /*static, unused*/, G_B12_4, G_B12_3, G_B12_2, G_B12_1, G_B12_0, ((int32_t)((int32_t)L_31-(int32_t)1)), ((int32_t)((int32_t)L_32|(int32_t)((int32_t)((int32_t)L_33-(int32_t)1)))), /*hidden argument*/NULL);
V_6 = L_34;
Material_t193706927 * L_35 = __this->get_m_MaskMaterial_5();
StencilMaterial_Remove_m3616154292(NULL /*static, unused*/, L_35, /*hidden argument*/NULL);
Material_t193706927 * L_36 = V_6;
__this->set_m_MaskMaterial_5(L_36);
Graphic_t2426225576 * L_37 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
NullCheck(L_37);
CanvasRenderer_t261436805 * L_38 = Graphic_get_canvasRenderer_m2902370808(L_37, /*hidden argument*/NULL);
NullCheck(L_38);
CanvasRenderer_set_hasPopInstruction_m1388844875(L_38, (bool)1, /*hidden argument*/NULL);
Material_t193706927 * L_39 = ___baseMaterial0;
int32_t L_40 = V_3;
int32_t L_41 = V_3;
int32_t L_42 = V_3;
int32_t L_43 = V_3;
Material_t193706927 * L_44 = StencilMaterial_Add_m3307959964(NULL /*static, unused*/, L_39, ((int32_t)((int32_t)L_40-(int32_t)1)), 2, 3, 0, ((int32_t)((int32_t)L_41-(int32_t)1)), ((int32_t)((int32_t)L_42|(int32_t)((int32_t)((int32_t)L_43-(int32_t)1)))), /*hidden argument*/NULL);
V_7 = L_44;
Material_t193706927 * L_45 = __this->get_m_UnmaskMaterial_6();
StencilMaterial_Remove_m3616154292(NULL /*static, unused*/, L_45, /*hidden argument*/NULL);
Material_t193706927 * L_46 = V_7;
__this->set_m_UnmaskMaterial_6(L_46);
Graphic_t2426225576 * L_47 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
NullCheck(L_47);
CanvasRenderer_t261436805 * L_48 = Graphic_get_canvasRenderer_m2902370808(L_47, /*hidden argument*/NULL);
NullCheck(L_48);
CanvasRenderer_set_popMaterialCount_m3394823403(L_48, 1, /*hidden argument*/NULL);
Graphic_t2426225576 * L_49 = Mask_get_graphic_m775949552(__this, /*hidden argument*/NULL);
NullCheck(L_49);
CanvasRenderer_t261436805 * L_50 = Graphic_get_canvasRenderer_m2902370808(L_49, /*hidden argument*/NULL);
Material_t193706927 * L_51 = __this->get_m_UnmaskMaterial_6();
NullCheck(L_50);
CanvasRenderer_SetPopMaterial_m3522214039(L_50, L_51, 0, /*hidden argument*/NULL);
Material_t193706927 * L_52 = __this->get_m_MaskMaterial_5();
V_0 = L_52;
goto IL_0189;
}
IL_0189:
{
Material_t193706927 * L_53 = V_0;
return L_53;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::.ctor()
extern "C" void MaskableGraphic__ctor_m1454660053 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskableGraphic__ctor_m1454660053_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_m_ShouldRecalculateStencil_19((bool)1);
__this->set_m_Maskable_22((bool)1);
__this->set_m_IncludeForMasking_23((bool)0);
CullStateChangedEvent_t3778758259 * L_0 = (CullStateChangedEvent_t3778758259 *)il2cpp_codegen_object_new(CullStateChangedEvent_t3778758259_il2cpp_TypeInfo_var);
CullStateChangedEvent__ctor_m4025397477(L_0, /*hidden argument*/NULL);
__this->set_m_OnCullStateChanged_24(L_0);
__this->set_m_ShouldRecalculate_25((bool)1);
__this->set_m_Corners_27(((Vector3U5BU5D_t1172311765*)SZArrayNew(Vector3U5BU5D_t1172311765_il2cpp_TypeInfo_var, (uint32_t)4)));
IL2CPP_RUNTIME_CLASS_INIT(Graphic_t2426225576_il2cpp_TypeInfo_var);
Graphic__ctor_m821539719(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.UI.MaskableGraphic/CullStateChangedEvent UnityEngine.UI.MaskableGraphic::get_onCullStateChanged()
extern "C" CullStateChangedEvent_t3778758259 * MaskableGraphic_get_onCullStateChanged_m3012302562 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
CullStateChangedEvent_t3778758259 * V_0 = NULL;
{
CullStateChangedEvent_t3778758259 * L_0 = __this->get_m_OnCullStateChanged_24();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
CullStateChangedEvent_t3778758259 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::set_onCullStateChanged(UnityEngine.UI.MaskableGraphic/CullStateChangedEvent)
extern "C" void MaskableGraphic_set_onCullStateChanged_m87987059 (MaskableGraphic_t540192618 * __this, CullStateChangedEvent_t3778758259 * ___value0, const MethodInfo* method)
{
{
CullStateChangedEvent_t3778758259 * L_0 = ___value0;
__this->set_m_OnCullStateChanged_24(L_0);
return;
}
}
// System.Boolean UnityEngine.UI.MaskableGraphic::get_maskable()
extern "C" bool MaskableGraphic_get_maskable_m4135222746 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_m_Maskable_22();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::set_maskable(System.Boolean)
extern "C" void MaskableGraphic_set_maskable_m370947381 (MaskableGraphic_t540192618 * __this, bool ___value0, const MethodInfo* method)
{
{
bool L_0 = ___value0;
bool L_1 = __this->get_m_Maskable_22();
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
goto IL_0026;
}
IL_0012:
{
bool L_2 = ___value0;
__this->set_m_Maskable_22(L_2);
__this->set_m_ShouldRecalculateStencil_19((bool)1);
VirtActionInvoker0::Invoke(29 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, __this);
}
IL_0026:
{
return;
}
}
// UnityEngine.Material UnityEngine.UI.MaskableGraphic::GetModifiedMaterial(UnityEngine.Material)
extern "C" Material_t193706927 * MaskableGraphic_GetModifiedMaterial_m1389843550 (MaskableGraphic_t540192618 * __this, Material_t193706927 * ___baseMaterial0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskableGraphic_GetModifiedMaterial_m1389843550_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Material_t193706927 * V_0 = NULL;
Transform_t3275118058 * V_1 = NULL;
Mask_t2977958238 * V_2 = NULL;
Material_t193706927 * V_3 = NULL;
Material_t193706927 * V_4 = NULL;
MaskableGraphic_t540192618 * G_B3_0 = NULL;
MaskableGraphic_t540192618 * G_B2_0 = NULL;
int32_t G_B4_0 = 0;
MaskableGraphic_t540192618 * G_B4_1 = NULL;
{
Material_t193706927 * L_0 = ___baseMaterial0;
V_0 = L_0;
bool L_1 = __this->get_m_ShouldRecalculateStencil_19();
if (!L_1)
{
goto IL_0046;
}
}
{
Transform_t3275118058 * L_2 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
Transform_t3275118058 * L_3 = MaskUtilities_FindRootSortOverrideCanvas_m433286381(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
V_1 = L_3;
bool L_4 = MaskableGraphic_get_maskable_m4135222746(__this, /*hidden argument*/NULL);
G_B2_0 = __this;
if (!L_4)
{
G_B3_0 = __this;
goto IL_0038;
}
}
{
Transform_t3275118058 * L_5 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
Transform_t3275118058 * L_6 = V_1;
int32_t L_7 = MaskUtilities_GetStencilDepth_m3432755788(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
G_B4_0 = L_7;
G_B4_1 = G_B2_0;
goto IL_0039;
}
IL_0038:
{
G_B4_0 = 0;
G_B4_1 = G_B3_0;
}
IL_0039:
{
NullCheck(G_B4_1);
G_B4_1->set_m_StencilValue_26(G_B4_0);
__this->set_m_ShouldRecalculateStencil_19((bool)0);
}
IL_0046:
{
Mask_t2977958238 * L_8 = Component_GetComponent_TisMask_t2977958238_m2071028213(__this, /*hidden argument*/Component_GetComponent_TisMask_t2977958238_m2071028213_MethodInfo_var);
V_2 = L_8;
int32_t L_9 = __this->get_m_StencilValue_26();
if ((((int32_t)L_9) <= ((int32_t)0)))
{
goto IL_00b1;
}
}
{
Mask_t2977958238 * L_10 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_11 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_10, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (L_11)
{
goto IL_0070;
}
}
{
Mask_t2977958238 * L_12 = V_2;
NullCheck(L_12);
bool L_13 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, L_12);
if (L_13)
{
goto IL_00b1;
}
}
IL_0070:
{
Material_t193706927 * L_14 = V_0;
int32_t L_15 = __this->get_m_StencilValue_26();
int32_t L_16 = __this->get_m_StencilValue_26();
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
Material_t193706927 * L_17 = StencilMaterial_Add_m3307959964(NULL /*static, unused*/, L_14, ((int32_t)((int32_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)L_15&(int32_t)((int32_t)31)))))-(int32_t)1)), 0, 3, ((int32_t)15), ((int32_t)((int32_t)((int32_t)((int32_t)1<<(int32_t)((int32_t)((int32_t)L_16&(int32_t)((int32_t)31)))))-(int32_t)1)), 0, /*hidden argument*/NULL);
V_3 = L_17;
Material_t193706927 * L_18 = __this->get_m_MaskMaterial_20();
StencilMaterial_Remove_m3616154292(NULL /*static, unused*/, L_18, /*hidden argument*/NULL);
Material_t193706927 * L_19 = V_3;
__this->set_m_MaskMaterial_20(L_19);
Material_t193706927 * L_20 = __this->get_m_MaskMaterial_20();
V_0 = L_20;
}
IL_00b1:
{
Material_t193706927 * L_21 = V_0;
V_4 = L_21;
goto IL_00b9;
}
IL_00b9:
{
Material_t193706927 * L_22 = V_4;
return L_22;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::Cull(UnityEngine.Rect,System.Boolean)
extern "C" void MaskableGraphic_Cull_m3130802047 (MaskableGraphic_t540192618 * __this, Rect_t3681755626 ___clipRect0, bool ___validRect1, const MethodInfo* method)
{
bool V_0 = false;
int32_t G_B3_0 = 0;
{
bool L_0 = ___validRect1;
if (!L_0)
{
goto IL_001a;
}
}
{
Rect_t3681755626 L_1 = MaskableGraphic_get_rootCanvasRect_m2245431682(__this, /*hidden argument*/NULL);
bool L_2 = Rect_Overlaps_m4145874649((&___clipRect0), L_1, (bool)1, /*hidden argument*/NULL);
G_B3_0 = ((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
goto IL_001b;
}
IL_001a:
{
G_B3_0 = 1;
}
IL_001b:
{
V_0 = (bool)G_B3_0;
bool L_3 = V_0;
MaskableGraphic_UpdateCull_m3420980261(__this, L_3, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::UpdateCull(System.Boolean)
extern "C" void MaskableGraphic_UpdateCull_m3420980261 (MaskableGraphic_t540192618 * __this, bool ___cull0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskableGraphic_UpdateCull_m3420980261_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
CanvasRenderer_t261436805 * L_0 = Graphic_get_canvasRenderer_m2902370808(__this, /*hidden argument*/NULL);
NullCheck(L_0);
bool L_1 = CanvasRenderer_get_cull_m3577089379(L_0, /*hidden argument*/NULL);
bool L_2 = ___cull0;
V_0 = (bool)((((int32_t)((((int32_t)L_1) == ((int32_t)L_2))? 1 : 0)) == ((int32_t)0))? 1 : 0);
CanvasRenderer_t261436805 * L_3 = Graphic_get_canvasRenderer_m2902370808(__this, /*hidden argument*/NULL);
bool L_4 = ___cull0;
NullCheck(L_3);
CanvasRenderer_set_cull_m1437892490(L_3, L_4, /*hidden argument*/NULL);
bool L_5 = V_0;
if (!L_5)
{
goto IL_0039;
}
}
{
CullStateChangedEvent_t3778758259 * L_6 = __this->get_m_OnCullStateChanged_24();
bool L_7 = ___cull0;
NullCheck(L_6);
UnityEvent_1_Invoke_m667974834(L_6, L_7, /*hidden argument*/UnityEvent_1_Invoke_m667974834_MethodInfo_var);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
}
IL_0039:
{
return;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::SetClipRect(UnityEngine.Rect,System.Boolean)
extern "C" void MaskableGraphic_SetClipRect_m3871029457 (MaskableGraphic_t540192618 * __this, Rect_t3681755626 ___clipRect0, bool ___validRect1, const MethodInfo* method)
{
{
bool L_0 = ___validRect1;
if (!L_0)
{
goto IL_0018;
}
}
{
CanvasRenderer_t261436805 * L_1 = Graphic_get_canvasRenderer_m2902370808(__this, /*hidden argument*/NULL);
Rect_t3681755626 L_2 = ___clipRect0;
NullCheck(L_1);
CanvasRenderer_EnableRectClipping_m478557626(L_1, L_2, /*hidden argument*/NULL);
goto IL_0023;
}
IL_0018:
{
CanvasRenderer_t261436805 * L_3 = Graphic_get_canvasRenderer_m2902370808(__this, /*hidden argument*/NULL);
NullCheck(L_3);
CanvasRenderer_DisableRectClipping_m2720508088(L_3, /*hidden argument*/NULL);
}
IL_0023:
{
return;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::OnEnable()
extern "C" void MaskableGraphic_OnEnable_m694112877 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskableGraphic_OnEnable_m694112877_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Graphic_OnEnable_m2900261811(__this, /*hidden argument*/NULL);
__this->set_m_ShouldRecalculateStencil_19((bool)1);
MaskableGraphic_UpdateClipParent_m3533760836(__this, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(29 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, __this);
Mask_t2977958238 * L_0 = Component_GetComponent_TisMask_t2977958238_m2071028213(__this, /*hidden argument*/Component_GetComponent_TisMask_t2977958238_m2071028213_MethodInfo_var);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0033;
}
}
{
MaskUtilities_NotifyStencilStateChanged_m1527407683(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
}
IL_0033:
{
return;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::OnDisable()
extern "C" void MaskableGraphic_OnDisable_m2605143092 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskableGraphic_OnDisable_m2605143092_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Graphic_OnDisable_m2360886868(__this, /*hidden argument*/NULL);
__this->set_m_ShouldRecalculateStencil_19((bool)1);
VirtActionInvoker0::Invoke(29 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, __this);
MaskableGraphic_UpdateClipParent_m3533760836(__this, /*hidden argument*/NULL);
Material_t193706927 * L_0 = __this->get_m_MaskMaterial_20();
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
StencilMaterial_Remove_m3616154292(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
__this->set_m_MaskMaterial_20((Material_t193706927 *)NULL);
Mask_t2977958238 * L_1 = Component_GetComponent_TisMask_t2977958238_m2071028213(__this, /*hidden argument*/Component_GetComponent_TisMask_t2977958238_m2071028213_MethodInfo_var);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0045;
}
}
{
MaskUtilities_NotifyStencilStateChanged_m1527407683(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
}
IL_0045:
{
return;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::OnTransformParentChanged()
extern "C" void MaskableGraphic_OnTransformParentChanged_m2569356350 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
{
Graphic_OnTransformParentChanged_m966389462(__this, /*hidden argument*/NULL);
bool L_0 = Behaviour_get_isActiveAndEnabled_m3838334305(__this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0017;
}
}
{
goto IL_002a;
}
IL_0017:
{
__this->set_m_ShouldRecalculateStencil_19((bool)1);
MaskableGraphic_UpdateClipParent_m3533760836(__this, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(29 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, __this);
}
IL_002a:
{
return;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::ParentMaskStateChanged()
extern "C" void MaskableGraphic_ParentMaskStateChanged_m3643747340 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::OnCanvasHierarchyChanged()
extern "C" void MaskableGraphic_OnCanvasHierarchyChanged_m2012659245 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
{
Graphic_OnCanvasHierarchyChanged_m403140731(__this, /*hidden argument*/NULL);
bool L_0 = Behaviour_get_isActiveAndEnabled_m3838334305(__this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0017;
}
}
{
goto IL_002a;
}
IL_0017:
{
__this->set_m_ShouldRecalculateStencil_19((bool)1);
MaskableGraphic_UpdateClipParent_m3533760836(__this, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(29 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, __this);
}
IL_002a:
{
return;
}
}
// UnityEngine.Rect UnityEngine.UI.MaskableGraphic::get_rootCanvasRect()
extern "C" Rect_t3681755626 MaskableGraphic_get_rootCanvasRect_m2245431682 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskableGraphic_get_rootCanvasRect_m2245431682_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Canvas_t209405766 * V_0 = NULL;
int32_t V_1 = 0;
Rect_t3681755626 V_2;
memset(&V_2, 0, sizeof(V_2));
{
RectTransform_t3349966182 * L_0 = Graphic_get_rectTransform_m2697395074(__this, /*hidden argument*/NULL);
Vector3U5BU5D_t1172311765* L_1 = __this->get_m_Corners_27();
NullCheck(L_0);
RectTransform_GetWorldCorners_m3873546362(L_0, L_1, /*hidden argument*/NULL);
Canvas_t209405766 * L_2 = Graphic_get_canvas_m274525322(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_006f;
}
}
{
Canvas_t209405766 * L_4 = Graphic_get_canvas_m274525322(__this, /*hidden argument*/NULL);
NullCheck(L_4);
Canvas_t209405766 * L_5 = Canvas_get_rootCanvas_m1790974328(L_4, /*hidden argument*/NULL);
V_0 = L_5;
V_1 = 0;
goto IL_0067;
}
IL_0036:
{
Vector3U5BU5D_t1172311765* L_6 = __this->get_m_Corners_27();
int32_t L_7 = V_1;
NullCheck(L_6);
Canvas_t209405766 * L_8 = V_0;
NullCheck(L_8);
Transform_t3275118058 * L_9 = Component_get_transform_m2697483695(L_8, /*hidden argument*/NULL);
Vector3U5BU5D_t1172311765* L_10 = __this->get_m_Corners_27();
int32_t L_11 = V_1;
NullCheck(L_10);
NullCheck(L_9);
Vector3_t2243707580 L_12 = Transform_InverseTransformPoint_m2648491174(L_9, (*(Vector3_t2243707580 *)((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))), /*hidden argument*/NULL);
(*(Vector3_t2243707580 *)((L_6)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_7)))) = L_12;
int32_t L_13 = V_1;
V_1 = ((int32_t)((int32_t)L_13+(int32_t)1));
}
IL_0067:
{
int32_t L_14 = V_1;
if ((((int32_t)L_14) < ((int32_t)4)))
{
goto IL_0036;
}
}
{
}
IL_006f:
{
Vector3U5BU5D_t1172311765* L_15 = __this->get_m_Corners_27();
NullCheck(L_15);
float L_16 = ((L_15)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_x_1();
Vector3U5BU5D_t1172311765* L_17 = __this->get_m_Corners_27();
NullCheck(L_17);
float L_18 = ((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_y_2();
Vector3U5BU5D_t1172311765* L_19 = __this->get_m_Corners_27();
NullCheck(L_19);
float L_20 = ((L_19)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->get_x_1();
Vector3U5BU5D_t1172311765* L_21 = __this->get_m_Corners_27();
NullCheck(L_21);
float L_22 = ((L_21)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_x_1();
Vector3U5BU5D_t1172311765* L_23 = __this->get_m_Corners_27();
NullCheck(L_23);
float L_24 = ((L_23)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->get_y_2();
Vector3U5BU5D_t1172311765* L_25 = __this->get_m_Corners_27();
NullCheck(L_25);
float L_26 = ((L_25)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_y_2();
Rect_t3681755626 L_27;
memset(&L_27, 0, sizeof(L_27));
Rect__ctor_m1220545469(&L_27, L_16, L_18, ((float)((float)L_20-(float)L_22)), ((float)((float)L_24-(float)L_26)), /*hidden argument*/NULL);
V_2 = L_27;
goto IL_00e2;
}
IL_00e2:
{
Rect_t3681755626 L_28 = V_2;
return L_28;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::UpdateClipParent()
extern "C" void MaskableGraphic_UpdateClipParent_m3533760836 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskableGraphic_UpdateClipParent_m3533760836_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RectMask2D_t1156185964 * V_0 = NULL;
RectMask2D_t1156185964 * G_B4_0 = NULL;
{
bool L_0 = MaskableGraphic_get_maskable_m4135222746(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0022;
}
}
{
bool L_1 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_1)
{
goto IL_0022;
}
}
{
RectMask2D_t1156185964 * L_2 = MaskUtilities_GetRectMaskForClippable_m3534151072(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
G_B4_0 = L_2;
goto IL_0023;
}
IL_0022:
{
G_B4_0 = ((RectMask2D_t1156185964 *)(NULL));
}
IL_0023:
{
V_0 = G_B4_0;
RectMask2D_t1156185964 * L_3 = __this->get_m_ParentMask_21();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_3, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0066;
}
}
{
RectMask2D_t1156185964 * L_5 = V_0;
RectMask2D_t1156185964 * L_6 = __this->get_m_ParentMask_21();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_7 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
if (L_7)
{
goto IL_0051;
}
}
{
RectMask2D_t1156185964 * L_8 = V_0;
NullCheck(L_8);
bool L_9 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, L_8);
if (L_9)
{
goto IL_0066;
}
}
IL_0051:
{
RectMask2D_t1156185964 * L_10 = __this->get_m_ParentMask_21();
NullCheck(L_10);
RectMask2D_RemoveClippable_m1579973877(L_10, __this, /*hidden argument*/NULL);
MaskableGraphic_UpdateCull_m3420980261(__this, (bool)0, /*hidden argument*/NULL);
}
IL_0066:
{
RectMask2D_t1156185964 * L_11 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_12 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_11, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_0084;
}
}
{
RectMask2D_t1156185964 * L_13 = V_0;
NullCheck(L_13);
bool L_14 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, L_13);
if (!L_14)
{
goto IL_0084;
}
}
{
RectMask2D_t1156185964 * L_15 = V_0;
NullCheck(L_15);
RectMask2D_AddClippable_m2808547408(L_15, __this, /*hidden argument*/NULL);
}
IL_0084:
{
RectMask2D_t1156185964 * L_16 = V_0;
__this->set_m_ParentMask_21(L_16);
return;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::RecalculateClipping()
extern "C" void MaskableGraphic_RecalculateClipping_m3715887610 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
{
MaskableGraphic_UpdateClipParent_m3533760836(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.MaskableGraphic::RecalculateMasking()
extern "C" void MaskableGraphic_RecalculateMasking_m3836406258 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
{
__this->set_m_ShouldRecalculateStencil_19((bool)1);
VirtActionInvoker0::Invoke(29 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, __this);
return;
}
}
// UnityEngine.GameObject UnityEngine.UI.MaskableGraphic::UnityEngine.UI.IClippable.get_gameObject()
extern "C" GameObject_t1756533147 * MaskableGraphic_UnityEngine_UI_IClippable_get_gameObject_m954171032 (MaskableGraphic_t540192618 * __this, const MethodInfo* method)
{
{
GameObject_t1756533147 * L_0 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Void UnityEngine.UI.MaskableGraphic/CullStateChangedEvent::.ctor()
extern "C" void CullStateChangedEvent__ctor_m4025397477 (CullStateChangedEvent_t3778758259 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (CullStateChangedEvent__ctor_m4025397477_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m4051141261(__this, /*hidden argument*/UnityEvent_1__ctor_m4051141261_MethodInfo_var);
return;
}
}
// System.Void UnityEngine.UI.MaskUtilities::.ctor()
extern "C" void MaskUtilities__ctor_m1760365795 (MaskUtilities_t1936577068 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.MaskUtilities::Notify2DMaskStateChanged(UnityEngine.Component)
extern "C" void MaskUtilities_Notify2DMaskStateChanged_m1704785167 (Il2CppObject * __this /* static, unused */, Component_t3819376471 * ___mask0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskUtilities_Notify2DMaskStateChanged_m1704785167_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_t3188497603 * V_0 = NULL;
int32_t V_1 = 0;
Il2CppObject * V_2 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t2672351287_il2cpp_TypeInfo_var);
List_1_t3188497603 * L_0 = ListPool_1_Get_m1238534579(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m1238534579_MethodInfo_var);
V_0 = L_0;
Component_t3819376471 * L_1 = ___mask0;
List_1_t3188497603 * L_2 = V_0;
NullCheck(L_1);
Component_GetComponentsInChildren_TisComponent_t3819376471_m1300564530(L_1, L_2, /*hidden argument*/Component_GetComponentsInChildren_TisComponent_t3819376471_m1300564530_MethodInfo_var);
V_1 = 0;
goto IL_0067;
}
IL_0015:
{
List_1_t3188497603 * L_3 = V_0;
int32_t L_4 = V_1;
NullCheck(L_3);
Component_t3819376471 * L_5 = List_1_get_Item_m2919783149(L_3, L_4, /*hidden argument*/List_1_get_Item_m2919783149_MethodInfo_var);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_6 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_5, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0044;
}
}
{
List_1_t3188497603 * L_7 = V_0;
int32_t L_8 = V_1;
NullCheck(L_7);
Component_t3819376471 * L_9 = List_1_get_Item_m2919783149(L_7, L_8, /*hidden argument*/List_1_get_Item_m2919783149_MethodInfo_var);
NullCheck(L_9);
GameObject_t1756533147 * L_10 = Component_get_gameObject_m3105766835(L_9, /*hidden argument*/NULL);
Component_t3819376471 * L_11 = ___mask0;
NullCheck(L_11);
GameObject_t1756533147 * L_12 = Component_get_gameObject_m3105766835(L_11, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_13 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_10, L_12, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_0049;
}
}
IL_0044:
{
goto IL_0063;
}
IL_0049:
{
List_1_t3188497603 * L_14 = V_0;
int32_t L_15 = V_1;
NullCheck(L_14);
Component_t3819376471 * L_16 = List_1_get_Item_m2919783149(L_14, L_15, /*hidden argument*/List_1_get_Item_m2919783149_MethodInfo_var);
V_2 = ((Il2CppObject *)IsInst(L_16, IClippable_t1941276057_il2cpp_TypeInfo_var));
Il2CppObject * L_17 = V_2;
if (!L_17)
{
goto IL_0062;
}
}
{
Il2CppObject * L_18 = V_2;
NullCheck(L_18);
InterfaceActionInvoker0::Invoke(1 /* System.Void UnityEngine.UI.IClippable::RecalculateClipping() */, IClippable_t1941276057_il2cpp_TypeInfo_var, L_18);
}
IL_0062:
{
}
IL_0063:
{
int32_t L_19 = V_1;
V_1 = ((int32_t)((int32_t)L_19+(int32_t)1));
}
IL_0067:
{
int32_t L_20 = V_1;
List_1_t3188497603 * L_21 = V_0;
NullCheck(L_21);
int32_t L_22 = List_1_get_Count_m688539176(L_21, /*hidden argument*/List_1_get_Count_m688539176_MethodInfo_var);
if ((((int32_t)L_20) < ((int32_t)L_22)))
{
goto IL_0015;
}
}
{
List_1_t3188497603 * L_23 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t2672351287_il2cpp_TypeInfo_var);
ListPool_1_Release_m1646128643(NULL /*static, unused*/, L_23, /*hidden argument*/ListPool_1_Release_m1646128643_MethodInfo_var);
return;
}
}
// System.Void UnityEngine.UI.MaskUtilities::NotifyStencilStateChanged(UnityEngine.Component)
extern "C" void MaskUtilities_NotifyStencilStateChanged_m1527407683 (Il2CppObject * __this /* static, unused */, Component_t3819376471 * ___mask0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskUtilities_NotifyStencilStateChanged_m1527407683_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_t3188497603 * V_0 = NULL;
int32_t V_1 = 0;
Il2CppObject * V_2 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t2672351287_il2cpp_TypeInfo_var);
List_1_t3188497603 * L_0 = ListPool_1_Get_m1238534579(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m1238534579_MethodInfo_var);
V_0 = L_0;
Component_t3819376471 * L_1 = ___mask0;
List_1_t3188497603 * L_2 = V_0;
NullCheck(L_1);
Component_GetComponentsInChildren_TisComponent_t3819376471_m1300564530(L_1, L_2, /*hidden argument*/Component_GetComponentsInChildren_TisComponent_t3819376471_m1300564530_MethodInfo_var);
V_1 = 0;
goto IL_0067;
}
IL_0015:
{
List_1_t3188497603 * L_3 = V_0;
int32_t L_4 = V_1;
NullCheck(L_3);
Component_t3819376471 * L_5 = List_1_get_Item_m2919783149(L_3, L_4, /*hidden argument*/List_1_get_Item_m2919783149_MethodInfo_var);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_6 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_5, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0044;
}
}
{
List_1_t3188497603 * L_7 = V_0;
int32_t L_8 = V_1;
NullCheck(L_7);
Component_t3819376471 * L_9 = List_1_get_Item_m2919783149(L_7, L_8, /*hidden argument*/List_1_get_Item_m2919783149_MethodInfo_var);
NullCheck(L_9);
GameObject_t1756533147 * L_10 = Component_get_gameObject_m3105766835(L_9, /*hidden argument*/NULL);
Component_t3819376471 * L_11 = ___mask0;
NullCheck(L_11);
GameObject_t1756533147 * L_12 = Component_get_gameObject_m3105766835(L_11, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_13 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_10, L_12, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_0049;
}
}
IL_0044:
{
goto IL_0063;
}
IL_0049:
{
List_1_t3188497603 * L_14 = V_0;
int32_t L_15 = V_1;
NullCheck(L_14);
Component_t3819376471 * L_16 = List_1_get_Item_m2919783149(L_14, L_15, /*hidden argument*/List_1_get_Item_m2919783149_MethodInfo_var);
V_2 = ((Il2CppObject *)IsInst(L_16, IMaskable_t1431842707_il2cpp_TypeInfo_var));
Il2CppObject * L_17 = V_2;
if (!L_17)
{
goto IL_0062;
}
}
{
Il2CppObject * L_18 = V_2;
NullCheck(L_18);
InterfaceActionInvoker0::Invoke(0 /* System.Void UnityEngine.UI.IMaskable::RecalculateMasking() */, IMaskable_t1431842707_il2cpp_TypeInfo_var, L_18);
}
IL_0062:
{
}
IL_0063:
{
int32_t L_19 = V_1;
V_1 = ((int32_t)((int32_t)L_19+(int32_t)1));
}
IL_0067:
{
int32_t L_20 = V_1;
List_1_t3188497603 * L_21 = V_0;
NullCheck(L_21);
int32_t L_22 = List_1_get_Count_m688539176(L_21, /*hidden argument*/List_1_get_Count_m688539176_MethodInfo_var);
if ((((int32_t)L_20) < ((int32_t)L_22)))
{
goto IL_0015;
}
}
{
List_1_t3188497603 * L_23 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t2672351287_il2cpp_TypeInfo_var);
ListPool_1_Release_m1646128643(NULL /*static, unused*/, L_23, /*hidden argument*/ListPool_1_Release_m1646128643_MethodInfo_var);
return;
}
}
// UnityEngine.Transform UnityEngine.UI.MaskUtilities::FindRootSortOverrideCanvas(UnityEngine.Transform)
extern "C" Transform_t3275118058 * MaskUtilities_FindRootSortOverrideCanvas_m433286381 (Il2CppObject * __this /* static, unused */, Transform_t3275118058 * ___start0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskUtilities_FindRootSortOverrideCanvas_m433286381_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_t3873494194 * V_0 = NULL;
Canvas_t209405766 * V_1 = NULL;
int32_t V_2 = 0;
Transform_t3275118058 * V_3 = NULL;
Transform_t3275118058 * G_B8_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t3357347878_il2cpp_TypeInfo_var);
List_1_t3873494194 * L_0 = ListPool_1_Get_m2770280140(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2770280140_MethodInfo_var);
V_0 = L_0;
Transform_t3275118058 * L_1 = ___start0;
List_1_t3873494194 * L_2 = V_0;
NullCheck(L_1);
Component_GetComponentsInParent_TisCanvas_t209405766_m334209269(L_1, (bool)0, L_2, /*hidden argument*/Component_GetComponentsInParent_TisCanvas_t209405766_m334209269_MethodInfo_var);
V_1 = (Canvas_t209405766 *)NULL;
V_2 = 0;
goto IL_0036;
}
IL_0018:
{
List_1_t3873494194 * L_3 = V_0;
int32_t L_4 = V_2;
NullCheck(L_3);
Canvas_t209405766 * L_5 = List_1_get_Item_m3871422818(L_3, L_4, /*hidden argument*/List_1_get_Item_m3871422818_MethodInfo_var);
V_1 = L_5;
Canvas_t209405766 * L_6 = V_1;
NullCheck(L_6);
bool L_7 = Canvas_get_overrideSorting_m3223770298(L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0031;
}
}
{
goto IL_0042;
}
IL_0031:
{
int32_t L_8 = V_2;
V_2 = ((int32_t)((int32_t)L_8+(int32_t)1));
}
IL_0036:
{
int32_t L_9 = V_2;
List_1_t3873494194 * L_10 = V_0;
NullCheck(L_10);
int32_t L_11 = List_1_get_Count_m797577425(L_10, /*hidden argument*/List_1_get_Count_m797577425_MethodInfo_var);
if ((((int32_t)L_9) < ((int32_t)L_11)))
{
goto IL_0018;
}
}
IL_0042:
{
List_1_t3873494194 * L_12 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t3357347878_il2cpp_TypeInfo_var);
ListPool_1_Release_m2449989212(NULL /*static, unused*/, L_12, /*hidden argument*/ListPool_1_Release_m2449989212_MethodInfo_var);
Canvas_t209405766 * L_13 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_14 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_13, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_005f;
}
}
{
Canvas_t209405766 * L_15 = V_1;
NullCheck(L_15);
Transform_t3275118058 * L_16 = Component_get_transform_m2697483695(L_15, /*hidden argument*/NULL);
G_B8_0 = L_16;
goto IL_0060;
}
IL_005f:
{
G_B8_0 = ((Transform_t3275118058 *)(NULL));
}
IL_0060:
{
V_3 = G_B8_0;
goto IL_0066;
}
IL_0066:
{
Transform_t3275118058 * L_17 = V_3;
return L_17;
}
}
// System.Int32 UnityEngine.UI.MaskUtilities::GetStencilDepth(UnityEngine.Transform,UnityEngine.Transform)
extern "C" int32_t MaskUtilities_GetStencilDepth_m3432755788 (Il2CppObject * __this /* static, unused */, Transform_t3275118058 * ___transform0, Transform_t3275118058 * ___stopAfter1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskUtilities_GetStencilDepth_m3432755788_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
Transform_t3275118058 * V_2 = NULL;
List_1_t2347079370 * V_3 = NULL;
int32_t V_4 = 0;
{
V_0 = 0;
Transform_t3275118058 * L_0 = ___transform0;
Transform_t3275118058 * L_1 = ___stopAfter1;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0016;
}
}
{
int32_t L_3 = V_0;
V_1 = L_3;
goto IL_00c5;
}
IL_0016:
{
Transform_t3275118058 * L_4 = ___transform0;
NullCheck(L_4);
Transform_t3275118058 * L_5 = Transform_get_parent_m147407266(L_4, /*hidden argument*/NULL);
V_2 = L_5;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1830933054_il2cpp_TypeInfo_var);
List_1_t2347079370 * L_6 = ListPool_1_Get_m1447713146(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m1447713146_MethodInfo_var);
V_3 = L_6;
goto IL_00ac;
}
IL_0028:
{
Transform_t3275118058 * L_7 = V_2;
List_1_t2347079370 * L_8 = V_3;
NullCheck(L_7);
Component_GetComponents_TisMask_t2977958238_m1568477639(L_7, L_8, /*hidden argument*/Component_GetComponents_TisMask_t2977958238_m1568477639_MethodInfo_var);
V_4 = 0;
goto IL_0086;
}
IL_0038:
{
List_1_t2347079370 * L_9 = V_3;
int32_t L_10 = V_4;
NullCheck(L_9);
Mask_t2977958238 * L_11 = List_1_get_Item_m4170315654(L_9, L_10, /*hidden argument*/List_1_get_Item_m4170315654_MethodInfo_var);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_12 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_11, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_007f;
}
}
{
List_1_t2347079370 * L_13 = V_3;
int32_t L_14 = V_4;
NullCheck(L_13);
Mask_t2977958238 * L_15 = List_1_get_Item_m4170315654(L_13, L_14, /*hidden argument*/List_1_get_Item_m4170315654_MethodInfo_var);
NullCheck(L_15);
bool L_16 = VirtFuncInvoker0< bool >::Invoke(19 /* System.Boolean UnityEngine.UI.Mask::MaskEnabled() */, L_15);
if (!L_16)
{
goto IL_007f;
}
}
{
List_1_t2347079370 * L_17 = V_3;
int32_t L_18 = V_4;
NullCheck(L_17);
Mask_t2977958238 * L_19 = List_1_get_Item_m4170315654(L_17, L_18, /*hidden argument*/List_1_get_Item_m4170315654_MethodInfo_var);
NullCheck(L_19);
Graphic_t2426225576 * L_20 = Mask_get_graphic_m775949552(L_19, /*hidden argument*/NULL);
NullCheck(L_20);
bool L_21 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, L_20);
if (!L_21)
{
goto IL_007f;
}
}
{
int32_t L_22 = V_0;
V_0 = ((int32_t)((int32_t)L_22+(int32_t)1));
goto IL_0093;
}
IL_007f:
{
int32_t L_23 = V_4;
V_4 = ((int32_t)((int32_t)L_23+(int32_t)1));
}
IL_0086:
{
int32_t L_24 = V_4;
List_1_t2347079370 * L_25 = V_3;
NullCheck(L_25);
int32_t L_26 = List_1_get_Count_m2876061359(L_25, /*hidden argument*/List_1_get_Count_m2876061359_MethodInfo_var);
if ((((int32_t)L_24) < ((int32_t)L_26)))
{
goto IL_0038;
}
}
IL_0093:
{
Transform_t3275118058 * L_27 = V_2;
Transform_t3275118058 * L_28 = ___stopAfter1;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_29 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_27, L_28, /*hidden argument*/NULL);
if (!L_29)
{
goto IL_00a4;
}
}
{
goto IL_00b8;
}
IL_00a4:
{
Transform_t3275118058 * L_30 = V_2;
NullCheck(L_30);
Transform_t3275118058 * L_31 = Transform_get_parent_m147407266(L_30, /*hidden argument*/NULL);
V_2 = L_31;
}
IL_00ac:
{
Transform_t3275118058 * L_32 = V_2;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_33 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_32, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (L_33)
{
goto IL_0028;
}
}
IL_00b8:
{
List_1_t2347079370 * L_34 = V_3;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1830933054_il2cpp_TypeInfo_var);
ListPool_1_Release_m3086823280(NULL /*static, unused*/, L_34, /*hidden argument*/ListPool_1_Release_m3086823280_MethodInfo_var);
int32_t L_35 = V_0;
V_1 = L_35;
goto IL_00c5;
}
IL_00c5:
{
int32_t L_36 = V_1;
return L_36;
}
}
// System.Boolean UnityEngine.UI.MaskUtilities::IsDescendantOrSelf(UnityEngine.Transform,UnityEngine.Transform)
extern "C" bool MaskUtilities_IsDescendantOrSelf_m1896676501 (Il2CppObject * __this /* static, unused */, Transform_t3275118058 * ___father0, Transform_t3275118058 * ___child1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskUtilities_IsDescendantOrSelf_m1896676501_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
Transform_t3275118058 * L_0 = ___father0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0019;
}
}
{
Transform_t3275118058 * L_2 = ___child1;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_2, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0020;
}
}
IL_0019:
{
V_0 = (bool)0;
goto IL_0072;
}
IL_0020:
{
Transform_t3275118058 * L_4 = ___father0;
Transform_t3275118058 * L_5 = ___child1;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_6 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0033;
}
}
{
V_0 = (bool)1;
goto IL_0072;
}
IL_0033:
{
goto IL_005a;
}
IL_0038:
{
Transform_t3275118058 * L_7 = ___child1;
NullCheck(L_7);
Transform_t3275118058 * L_8 = Transform_get_parent_m147407266(L_7, /*hidden argument*/NULL);
Transform_t3275118058 * L_9 = ___father0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_10 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_0051;
}
}
{
V_0 = (bool)1;
goto IL_0072;
}
IL_0051:
{
Transform_t3275118058 * L_11 = ___child1;
NullCheck(L_11);
Transform_t3275118058 * L_12 = Transform_get_parent_m147407266(L_11, /*hidden argument*/NULL);
___child1 = L_12;
}
IL_005a:
{
Transform_t3275118058 * L_13 = ___child1;
NullCheck(L_13);
Transform_t3275118058 * L_14 = Transform_get_parent_m147407266(L_13, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_15 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_14, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (L_15)
{
goto IL_0038;
}
}
{
V_0 = (bool)0;
goto IL_0072;
}
IL_0072:
{
bool L_16 = V_0;
return L_16;
}
}
// UnityEngine.UI.RectMask2D UnityEngine.UI.MaskUtilities::GetRectMaskForClippable(UnityEngine.UI.IClippable)
extern "C" RectMask2D_t1156185964 * MaskUtilities_GetRectMaskForClippable_m3534151072 (Il2CppObject * __this /* static, unused */, Il2CppObject * ___clippable0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskUtilities_GetRectMaskForClippable_m3534151072_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_t525307096 * V_0 = NULL;
List_1_t3873494194 * V_1 = NULL;
RectMask2D_t1156185964 * V_2 = NULL;
int32_t V_3 = 0;
int32_t V_4 = 0;
RectMask2D_t1156185964 * V_5 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t9160780_il2cpp_TypeInfo_var);
List_1_t525307096 * L_0 = ListPool_1_Get_m450402794(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m450402794_MethodInfo_var);
V_0 = L_0;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t3357347878_il2cpp_TypeInfo_var);
List_1_t3873494194 * L_1 = ListPool_1_Get_m2770280140(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2770280140_MethodInfo_var);
V_1 = L_1;
V_2 = (RectMask2D_t1156185964 *)NULL;
Il2CppObject * L_2 = ___clippable0;
NullCheck(L_2);
RectTransform_t3349966182 * L_3 = InterfaceFuncInvoker0< RectTransform_t3349966182 * >::Invoke(2 /* UnityEngine.RectTransform UnityEngine.UI.IClippable::get_rectTransform() */, IClippable_t1941276057_il2cpp_TypeInfo_var, L_2);
List_1_t525307096 * L_4 = V_0;
NullCheck(L_3);
Component_GetComponentsInParent_TisRectMask2D_t1156185964_m1865812113(L_3, (bool)0, L_4, /*hidden argument*/Component_GetComponentsInParent_TisRectMask2D_t1156185964_m1865812113_MethodInfo_var);
List_1_t525307096 * L_5 = V_0;
NullCheck(L_5);
int32_t L_6 = List_1_get_Count_m3765596117(L_5, /*hidden argument*/List_1_get_Count_m3765596117_MethodInfo_var);
if ((((int32_t)L_6) <= ((int32_t)0)))
{
goto IL_00e6;
}
}
{
V_3 = 0;
goto IL_00d9;
}
IL_0030:
{
List_1_t525307096 * L_7 = V_0;
int32_t L_8 = V_3;
NullCheck(L_7);
RectMask2D_t1156185964 * L_9 = List_1_get_Item_m215805666(L_7, L_8, /*hidden argument*/List_1_get_Item_m215805666_MethodInfo_var);
V_2 = L_9;
RectMask2D_t1156185964 * L_10 = V_2;
NullCheck(L_10);
GameObject_t1756533147 * L_11 = Component_get_gameObject_m3105766835(L_10, /*hidden argument*/NULL);
Il2CppObject * L_12 = ___clippable0;
NullCheck(L_12);
GameObject_t1756533147 * L_13 = InterfaceFuncInvoker0< GameObject_t1756533147 * >::Invoke(0 /* UnityEngine.GameObject UnityEngine.UI.IClippable::get_gameObject() */, IClippable_t1941276057_il2cpp_TypeInfo_var, L_12);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_14 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_11, L_13, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_0057;
}
}
{
V_2 = (RectMask2D_t1156185964 *)NULL;
goto IL_00d5;
}
IL_0057:
{
RectMask2D_t1156185964 * L_15 = V_2;
NullCheck(L_15);
bool L_16 = Behaviour_get_isActiveAndEnabled_m3838334305(L_15, /*hidden argument*/NULL);
if (L_16)
{
goto IL_006a;
}
}
{
V_2 = (RectMask2D_t1156185964 *)NULL;
goto IL_00d5;
}
IL_006a:
{
Il2CppObject * L_17 = ___clippable0;
NullCheck(L_17);
RectTransform_t3349966182 * L_18 = InterfaceFuncInvoker0< RectTransform_t3349966182 * >::Invoke(2 /* UnityEngine.RectTransform UnityEngine.UI.IClippable::get_rectTransform() */, IClippable_t1941276057_il2cpp_TypeInfo_var, L_17);
List_1_t3873494194 * L_19 = V_1;
NullCheck(L_18);
Component_GetComponentsInParent_TisCanvas_t209405766_m334209269(L_18, (bool)0, L_19, /*hidden argument*/Component_GetComponentsInParent_TisCanvas_t209405766_m334209269_MethodInfo_var);
List_1_t3873494194 * L_20 = V_1;
NullCheck(L_20);
int32_t L_21 = List_1_get_Count_m797577425(L_20, /*hidden argument*/List_1_get_Count_m797577425_MethodInfo_var);
V_4 = ((int32_t)((int32_t)L_21-(int32_t)1));
goto IL_00c5;
}
IL_0086:
{
List_1_t3873494194 * L_22 = V_1;
int32_t L_23 = V_4;
NullCheck(L_22);
Canvas_t209405766 * L_24 = List_1_get_Item_m3871422818(L_22, L_23, /*hidden argument*/List_1_get_Item_m3871422818_MethodInfo_var);
NullCheck(L_24);
Transform_t3275118058 * L_25 = Component_get_transform_m2697483695(L_24, /*hidden argument*/NULL);
RectMask2D_t1156185964 * L_26 = V_2;
NullCheck(L_26);
Transform_t3275118058 * L_27 = Component_get_transform_m2697483695(L_26, /*hidden argument*/NULL);
bool L_28 = MaskUtilities_IsDescendantOrSelf_m1896676501(NULL /*static, unused*/, L_25, L_27, /*hidden argument*/NULL);
if (L_28)
{
goto IL_00be;
}
}
{
List_1_t3873494194 * L_29 = V_1;
int32_t L_30 = V_4;
NullCheck(L_29);
Canvas_t209405766 * L_31 = List_1_get_Item_m3871422818(L_29, L_30, /*hidden argument*/List_1_get_Item_m3871422818_MethodInfo_var);
NullCheck(L_31);
bool L_32 = Canvas_get_overrideSorting_m3223770298(L_31, /*hidden argument*/NULL);
if (!L_32)
{
goto IL_00be;
}
}
{
V_2 = (RectMask2D_t1156185964 *)NULL;
goto IL_00cd;
}
IL_00be:
{
int32_t L_33 = V_4;
V_4 = ((int32_t)((int32_t)L_33-(int32_t)1));
}
IL_00c5:
{
int32_t L_34 = V_4;
if ((((int32_t)L_34) >= ((int32_t)0)))
{
goto IL_0086;
}
}
IL_00cd:
{
RectMask2D_t1156185964 * L_35 = V_2;
V_5 = L_35;
goto IL_00fa;
}
IL_00d5:
{
int32_t L_36 = V_3;
V_3 = ((int32_t)((int32_t)L_36+(int32_t)1));
}
IL_00d9:
{
int32_t L_37 = V_3;
List_1_t525307096 * L_38 = V_0;
NullCheck(L_38);
int32_t L_39 = List_1_get_Count_m3765596117(L_38, /*hidden argument*/List_1_get_Count_m3765596117_MethodInfo_var);
if ((((int32_t)L_37) < ((int32_t)L_39)))
{
goto IL_0030;
}
}
{
}
IL_00e6:
{
List_1_t525307096 * L_40 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t9160780_il2cpp_TypeInfo_var);
ListPool_1_Release_m3380020388(NULL /*static, unused*/, L_40, /*hidden argument*/ListPool_1_Release_m3380020388_MethodInfo_var);
List_1_t3873494194 * L_41 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t3357347878_il2cpp_TypeInfo_var);
ListPool_1_Release_m2449989212(NULL /*static, unused*/, L_41, /*hidden argument*/ListPool_1_Release_m2449989212_MethodInfo_var);
RectMask2D_t1156185964 * L_42 = V_2;
V_5 = L_42;
goto IL_00fa;
}
IL_00fa:
{
RectMask2D_t1156185964 * L_43 = V_5;
return L_43;
}
}
// System.Void UnityEngine.UI.MaskUtilities::GetRectMasksForClip(UnityEngine.UI.RectMask2D,System.Collections.Generic.List`1<UnityEngine.UI.RectMask2D>)
extern "C" void MaskUtilities_GetRectMasksForClip_m1540508301 (Il2CppObject * __this /* static, unused */, RectMask2D_t1156185964 * ___clipper0, List_1_t525307096 * ___masks1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (MaskUtilities_GetRectMasksForClip_m1540508301_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_t3873494194 * V_0 = NULL;
List_1_t525307096 * V_1 = NULL;
int32_t V_2 = 0;
bool V_3 = false;
int32_t V_4 = 0;
{
List_1_t525307096 * L_0 = ___masks1;
NullCheck(L_0);
List_1_Clear_m1697221398(L_0, /*hidden argument*/List_1_Clear_m1697221398_MethodInfo_var);
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t3357347878_il2cpp_TypeInfo_var);
List_1_t3873494194 * L_1 = ListPool_1_Get_m2770280140(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2770280140_MethodInfo_var);
V_0 = L_1;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t9160780_il2cpp_TypeInfo_var);
List_1_t525307096 * L_2 = ListPool_1_Get_m450402794(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m450402794_MethodInfo_var);
V_1 = L_2;
RectMask2D_t1156185964 * L_3 = ___clipper0;
NullCheck(L_3);
Transform_t3275118058 * L_4 = Component_get_transform_m2697483695(L_3, /*hidden argument*/NULL);
List_1_t525307096 * L_5 = V_1;
NullCheck(L_4);
Component_GetComponentsInParent_TisRectMask2D_t1156185964_m1865812113(L_4, (bool)0, L_5, /*hidden argument*/Component_GetComponentsInParent_TisRectMask2D_t1156185964_m1865812113_MethodInfo_var);
List_1_t525307096 * L_6 = V_1;
NullCheck(L_6);
int32_t L_7 = List_1_get_Count_m3765596117(L_6, /*hidden argument*/List_1_get_Count_m3765596117_MethodInfo_var);
if ((((int32_t)L_7) <= ((int32_t)0)))
{
goto IL_00dd;
}
}
{
RectMask2D_t1156185964 * L_8 = ___clipper0;
NullCheck(L_8);
Transform_t3275118058 * L_9 = Component_get_transform_m2697483695(L_8, /*hidden argument*/NULL);
List_1_t3873494194 * L_10 = V_0;
NullCheck(L_9);
Component_GetComponentsInParent_TisCanvas_t209405766_m334209269(L_9, (bool)0, L_10, /*hidden argument*/Component_GetComponentsInParent_TisCanvas_t209405766_m334209269_MethodInfo_var);
List_1_t525307096 * L_11 = V_1;
NullCheck(L_11);
int32_t L_12 = List_1_get_Count_m3765596117(L_11, /*hidden argument*/List_1_get_Count_m3765596117_MethodInfo_var);
V_2 = ((int32_t)((int32_t)L_12-(int32_t)1));
goto IL_00d5;
}
IL_0048:
{
List_1_t525307096 * L_13 = V_1;
int32_t L_14 = V_2;
NullCheck(L_13);
RectMask2D_t1156185964 * L_15 = List_1_get_Item_m215805666(L_13, L_14, /*hidden argument*/List_1_get_Item_m215805666_MethodInfo_var);
NullCheck(L_15);
bool L_16 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, L_15);
if (L_16)
{
goto IL_005f;
}
}
{
goto IL_00d1;
}
IL_005f:
{
V_3 = (bool)1;
List_1_t3873494194 * L_17 = V_0;
NullCheck(L_17);
int32_t L_18 = List_1_get_Count_m797577425(L_17, /*hidden argument*/List_1_get_Count_m797577425_MethodInfo_var);
V_4 = ((int32_t)((int32_t)L_18-(int32_t)1));
goto IL_00b5;
}
IL_0070:
{
List_1_t3873494194 * L_19 = V_0;
int32_t L_20 = V_4;
NullCheck(L_19);
Canvas_t209405766 * L_21 = List_1_get_Item_m3871422818(L_19, L_20, /*hidden argument*/List_1_get_Item_m3871422818_MethodInfo_var);
NullCheck(L_21);
Transform_t3275118058 * L_22 = Component_get_transform_m2697483695(L_21, /*hidden argument*/NULL);
List_1_t525307096 * L_23 = V_1;
int32_t L_24 = V_2;
NullCheck(L_23);
RectMask2D_t1156185964 * L_25 = List_1_get_Item_m215805666(L_23, L_24, /*hidden argument*/List_1_get_Item_m215805666_MethodInfo_var);
NullCheck(L_25);
Transform_t3275118058 * L_26 = Component_get_transform_m2697483695(L_25, /*hidden argument*/NULL);
bool L_27 = MaskUtilities_IsDescendantOrSelf_m1896676501(NULL /*static, unused*/, L_22, L_26, /*hidden argument*/NULL);
if (L_27)
{
goto IL_00ae;
}
}
{
List_1_t3873494194 * L_28 = V_0;
int32_t L_29 = V_4;
NullCheck(L_28);
Canvas_t209405766 * L_30 = List_1_get_Item_m3871422818(L_28, L_29, /*hidden argument*/List_1_get_Item_m3871422818_MethodInfo_var);
NullCheck(L_30);
bool L_31 = Canvas_get_overrideSorting_m3223770298(L_30, /*hidden argument*/NULL);
if (!L_31)
{
goto IL_00ae;
}
}
{
V_3 = (bool)0;
goto IL_00bd;
}
IL_00ae:
{
int32_t L_32 = V_4;
V_4 = ((int32_t)((int32_t)L_32-(int32_t)1));
}
IL_00b5:
{
int32_t L_33 = V_4;
if ((((int32_t)L_33) >= ((int32_t)0)))
{
goto IL_0070;
}
}
IL_00bd:
{
bool L_34 = V_3;
if (!L_34)
{
goto IL_00d0;
}
}
{
List_1_t525307096 * L_35 = ___masks1;
List_1_t525307096 * L_36 = V_1;
int32_t L_37 = V_2;
NullCheck(L_36);
RectMask2D_t1156185964 * L_38 = List_1_get_Item_m215805666(L_36, L_37, /*hidden argument*/List_1_get_Item_m215805666_MethodInfo_var);
NullCheck(L_35);
List_1_Add_m1013816477(L_35, L_38, /*hidden argument*/List_1_Add_m1013816477_MethodInfo_var);
}
IL_00d0:
{
}
IL_00d1:
{
int32_t L_39 = V_2;
V_2 = ((int32_t)((int32_t)L_39-(int32_t)1));
}
IL_00d5:
{
int32_t L_40 = V_2;
if ((((int32_t)L_40) >= ((int32_t)0)))
{
goto IL_0048;
}
}
{
}
IL_00dd:
{
List_1_t525307096 * L_41 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t9160780_il2cpp_TypeInfo_var);
ListPool_1_Release_m3380020388(NULL /*static, unused*/, L_41, /*hidden argument*/ListPool_1_Release_m3380020388_MethodInfo_var);
List_1_t3873494194 * L_42 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t3357347878_il2cpp_TypeInfo_var);
ListPool_1_Release_m2449989212(NULL /*static, unused*/, L_42, /*hidden argument*/ListPool_1_Release_m2449989212_MethodInfo_var);
return;
}
}
// System.Void UnityEngine.UI.Misc::Destroy(UnityEngine.Object)
extern "C" void Misc_Destroy_m2873191669 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * ___obj0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Misc_Destroy_m2873191669_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
GameObject_t1756533147 * V_0 = NULL;
{
Object_t1021602117 * L_0 = ___obj0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_004c;
}
}
{
bool L_2 = Application_get_isPlaying_m4091950718(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0045;
}
}
{
Object_t1021602117 * L_3 = ___obj0;
if (!((GameObject_t1756533147 *)IsInstSealed(L_3, GameObject_t1756533147_il2cpp_TypeInfo_var)))
{
goto IL_0039;
}
}
{
Object_t1021602117 * L_4 = ___obj0;
V_0 = ((GameObject_t1756533147 *)IsInstSealed(L_4, GameObject_t1756533147_il2cpp_TypeInfo_var));
GameObject_t1756533147 * L_5 = V_0;
NullCheck(L_5);
Transform_t3275118058 * L_6 = GameObject_get_transform_m909382139(L_5, /*hidden argument*/NULL);
NullCheck(L_6);
Transform_set_parent_m3281327839(L_6, (Transform_t3275118058 *)NULL, /*hidden argument*/NULL);
}
IL_0039:
{
Object_t1021602117 * L_7 = ___obj0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_Destroy_m4145850038(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
goto IL_004b;
}
IL_0045:
{
Object_t1021602117 * L_8 = ___obj0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_DestroyImmediate_m95027445(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
}
IL_004b:
{
}
IL_004c:
{
return;
}
}
// System.Void UnityEngine.UI.Misc::DestroyImmediate(UnityEngine.Object)
extern "C" void Misc_DestroyImmediate_m2145363668 (Il2CppObject * __this /* static, unused */, Object_t1021602117 * ___obj0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Misc_DestroyImmediate_m2145363668_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Object_t1021602117 * L_0 = ___obj0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_002a;
}
}
{
bool L_2 = Application_get_isEditor_m2474583393(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0023;
}
}
{
Object_t1021602117 * L_3 = ___obj0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_DestroyImmediate_m95027445(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
goto IL_0029;
}
IL_0023:
{
Object_t1021602117 * L_4 = ___obj0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
Object_Destroy_m4145850038(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
}
IL_0029:
{
}
IL_002a:
{
return;
}
}
// Conversion methods for marshalling of: UnityEngine.UI.Navigation
extern "C" void Navigation_t1571958496_marshal_pinvoke(const Navigation_t1571958496& unmarshaled, Navigation_t1571958496_marshaled_pinvoke& marshaled)
{
Il2CppCodeGenException* ___m_SelectOnUp_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_SelectOnUp' of type 'Navigation': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_SelectOnUp_1Exception);
}
extern "C" void Navigation_t1571958496_marshal_pinvoke_back(const Navigation_t1571958496_marshaled_pinvoke& marshaled, Navigation_t1571958496& unmarshaled)
{
Il2CppCodeGenException* ___m_SelectOnUp_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_SelectOnUp' of type 'Navigation': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_SelectOnUp_1Exception);
}
// Conversion method for clean up from marshalling of: UnityEngine.UI.Navigation
extern "C" void Navigation_t1571958496_marshal_pinvoke_cleanup(Navigation_t1571958496_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: UnityEngine.UI.Navigation
extern "C" void Navigation_t1571958496_marshal_com(const Navigation_t1571958496& unmarshaled, Navigation_t1571958496_marshaled_com& marshaled)
{
Il2CppCodeGenException* ___m_SelectOnUp_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_SelectOnUp' of type 'Navigation': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_SelectOnUp_1Exception);
}
extern "C" void Navigation_t1571958496_marshal_com_back(const Navigation_t1571958496_marshaled_com& marshaled, Navigation_t1571958496& unmarshaled)
{
Il2CppCodeGenException* ___m_SelectOnUp_1Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_SelectOnUp' of type 'Navigation': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_SelectOnUp_1Exception);
}
// Conversion method for clean up from marshalling of: UnityEngine.UI.Navigation
extern "C" void Navigation_t1571958496_marshal_com_cleanup(Navigation_t1571958496_marshaled_com& marshaled)
{
}
// UnityEngine.UI.Navigation/Mode UnityEngine.UI.Navigation::get_mode()
extern "C" int32_t Navigation_get_mode_m1837991501 (Navigation_t1571958496 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_m_Mode_0();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
int32_t L_1 = V_0;
return L_1;
}
}
extern "C" int32_t Navigation_get_mode_m1837991501_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
Navigation_t1571958496 * _thisAdjusted = reinterpret_cast<Navigation_t1571958496 *>(__this + 1);
return Navigation_get_mode_m1837991501(_thisAdjusted, method);
}
// System.Void UnityEngine.UI.Navigation::set_mode(UnityEngine.UI.Navigation/Mode)
extern "C" void Navigation_set_mode_m2631871514 (Navigation_t1571958496 * __this, int32_t ___value0, const MethodInfo* method)
{
{
int32_t L_0 = ___value0;
__this->set_m_Mode_0(L_0);
return;
}
}
extern "C" void Navigation_set_mode_m2631871514_AdjustorThunk (Il2CppObject * __this, int32_t ___value0, const MethodInfo* method)
{
Navigation_t1571958496 * _thisAdjusted = reinterpret_cast<Navigation_t1571958496 *>(__this + 1);
Navigation_set_mode_m2631871514(_thisAdjusted, ___value0, method);
}
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::get_selectOnUp()
extern "C" Selectable_t1490392188 * Navigation_get_selectOnUp_m3734591810 (Navigation_t1571958496 * __this, const MethodInfo* method)
{
Selectable_t1490392188 * V_0 = NULL;
{
Selectable_t1490392188 * L_0 = __this->get_m_SelectOnUp_1();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Selectable_t1490392188 * L_1 = V_0;
return L_1;
}
}
extern "C" Selectable_t1490392188 * Navigation_get_selectOnUp_m3734591810_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
Navigation_t1571958496 * _thisAdjusted = reinterpret_cast<Navigation_t1571958496 *>(__this + 1);
return Navigation_get_selectOnUp_m3734591810(_thisAdjusted, method);
}
// System.Void UnityEngine.UI.Navigation::set_selectOnUp(UnityEngine.UI.Selectable)
extern "C" void Navigation_set_selectOnUp_m1130955569 (Navigation_t1571958496 * __this, Selectable_t1490392188 * ___value0, const MethodInfo* method)
{
{
Selectable_t1490392188 * L_0 = ___value0;
__this->set_m_SelectOnUp_1(L_0);
return;
}
}
extern "C" void Navigation_set_selectOnUp_m1130955569_AdjustorThunk (Il2CppObject * __this, Selectable_t1490392188 * ___value0, const MethodInfo* method)
{
Navigation_t1571958496 * _thisAdjusted = reinterpret_cast<Navigation_t1571958496 *>(__this + 1);
Navigation_set_selectOnUp_m1130955569(_thisAdjusted, ___value0, method);
}
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::get_selectOnDown()
extern "C" Selectable_t1490392188 * Navigation_get_selectOnDown_m3127721149 (Navigation_t1571958496 * __this, const MethodInfo* method)
{
Selectable_t1490392188 * V_0 = NULL;
{
Selectable_t1490392188 * L_0 = __this->get_m_SelectOnDown_2();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Selectable_t1490392188 * L_1 = V_0;
return L_1;
}
}
extern "C" Selectable_t1490392188 * Navigation_get_selectOnDown_m3127721149_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
Navigation_t1571958496 * _thisAdjusted = reinterpret_cast<Navigation_t1571958496 *>(__this + 1);
return Navigation_get_selectOnDown_m3127721149(_thisAdjusted, method);
}
// System.Void UnityEngine.UI.Navigation::set_selectOnDown(UnityEngine.UI.Selectable)
extern "C" void Navigation_set_selectOnDown_m3161742238 (Navigation_t1571958496 * __this, Selectable_t1490392188 * ___value0, const MethodInfo* method)
{
{
Selectable_t1490392188 * L_0 = ___value0;
__this->set_m_SelectOnDown_2(L_0);
return;
}
}
extern "C" void Navigation_set_selectOnDown_m3161742238_AdjustorThunk (Il2CppObject * __this, Selectable_t1490392188 * ___value0, const MethodInfo* method)
{
Navigation_t1571958496 * _thisAdjusted = reinterpret_cast<Navigation_t1571958496 *>(__this + 1);
Navigation_set_selectOnDown_m3161742238(_thisAdjusted, ___value0, method);
}
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::get_selectOnLeft()
extern "C" Selectable_t1490392188 * Navigation_get_selectOnLeft_m3980387574 (Navigation_t1571958496 * __this, const MethodInfo* method)
{
Selectable_t1490392188 * V_0 = NULL;
{
Selectable_t1490392188 * L_0 = __this->get_m_SelectOnLeft_3();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Selectable_t1490392188 * L_1 = V_0;
return L_1;
}
}
extern "C" Selectable_t1490392188 * Navigation_get_selectOnLeft_m3980387574_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
Navigation_t1571958496 * _thisAdjusted = reinterpret_cast<Navigation_t1571958496 *>(__this + 1);
return Navigation_get_selectOnLeft_m3980387574(_thisAdjusted, method);
}
// System.Void UnityEngine.UI.Navigation::set_selectOnLeft(UnityEngine.UI.Selectable)
extern "C" void Navigation_set_selectOnLeft_m299987831 (Navigation_t1571958496 * __this, Selectable_t1490392188 * ___value0, const MethodInfo* method)
{
{
Selectable_t1490392188 * L_0 = ___value0;
__this->set_m_SelectOnLeft_3(L_0);
return;
}
}
extern "C" void Navigation_set_selectOnLeft_m299987831_AdjustorThunk (Il2CppObject * __this, Selectable_t1490392188 * ___value0, const MethodInfo* method)
{
Navigation_t1571958496 * _thisAdjusted = reinterpret_cast<Navigation_t1571958496 *>(__this + 1);
Navigation_set_selectOnLeft_m299987831(_thisAdjusted, ___value0, method);
}
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::get_selectOnRight()
extern "C" Selectable_t1490392188 * Navigation_get_selectOnRight_m96837927 (Navigation_t1571958496 * __this, const MethodInfo* method)
{
Selectable_t1490392188 * V_0 = NULL;
{
Selectable_t1490392188 * L_0 = __this->get_m_SelectOnRight_4();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Selectable_t1490392188 * L_1 = V_0;
return L_1;
}
}
extern "C" Selectable_t1490392188 * Navigation_get_selectOnRight_m96837927_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
Navigation_t1571958496 * _thisAdjusted = reinterpret_cast<Navigation_t1571958496 *>(__this + 1);
return Navigation_get_selectOnRight_m96837927(_thisAdjusted, method);
}
// System.Void UnityEngine.UI.Navigation::set_selectOnRight(UnityEngine.UI.Selectable)
extern "C" void Navigation_set_selectOnRight_m3296376676 (Navigation_t1571958496 * __this, Selectable_t1490392188 * ___value0, const MethodInfo* method)
{
{
Selectable_t1490392188 * L_0 = ___value0;
__this->set_m_SelectOnRight_4(L_0);
return;
}
}
extern "C" void Navigation_set_selectOnRight_m3296376676_AdjustorThunk (Il2CppObject * __this, Selectable_t1490392188 * ___value0, const MethodInfo* method)
{
Navigation_t1571958496 * _thisAdjusted = reinterpret_cast<Navigation_t1571958496 *>(__this + 1);
Navigation_set_selectOnRight_m3296376676(_thisAdjusted, ___value0, method);
}
// UnityEngine.UI.Navigation UnityEngine.UI.Navigation::get_defaultNavigation()
extern "C" Navigation_t1571958496 Navigation_get_defaultNavigation_m2185194207 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Navigation_get_defaultNavigation_m2185194207_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Navigation_t1571958496 V_0;
memset(&V_0, 0, sizeof(V_0));
Navigation_t1571958496 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Initobj (Navigation_t1571958496_il2cpp_TypeInfo_var, (&V_0));
(&V_0)->set_m_Mode_0(3);
Navigation_t1571958496 L_0 = V_0;
V_1 = L_0;
goto IL_0018;
}
IL_0018:
{
Navigation_t1571958496 L_1 = V_1;
return L_1;
}
}
// System.Boolean UnityEngine.UI.Navigation::Equals(UnityEngine.UI.Navigation)
extern "C" bool Navigation_Equals_m4214630671 (Navigation_t1571958496 * __this, Navigation_t1571958496 ___other0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Navigation_Equals_m4214630671_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B6_0 = 0;
{
int32_t L_0 = Navigation_get_mode_m1837991501(__this, /*hidden argument*/NULL);
int32_t L_1 = Navigation_get_mode_m1837991501((&___other0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
{
goto IL_006c;
}
}
{
Selectable_t1490392188 * L_2 = Navigation_get_selectOnUp_m3734591810(__this, /*hidden argument*/NULL);
Selectable_t1490392188 * L_3 = Navigation_get_selectOnUp_m3734591810((&___other0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_2, L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_006c;
}
}
{
Selectable_t1490392188 * L_5 = Navigation_get_selectOnDown_m3127721149(__this, /*hidden argument*/NULL);
Selectable_t1490392188 * L_6 = Navigation_get_selectOnDown_m3127721149((&___other0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_7 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_5, L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_006c;
}
}
{
Selectable_t1490392188 * L_8 = Navigation_get_selectOnLeft_m3980387574(__this, /*hidden argument*/NULL);
Selectable_t1490392188 * L_9 = Navigation_get_selectOnLeft_m3980387574((&___other0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_10 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_8, L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_006c;
}
}
{
Selectable_t1490392188 * L_11 = Navigation_get_selectOnRight_m96837927(__this, /*hidden argument*/NULL);
Selectable_t1490392188 * L_12 = Navigation_get_selectOnRight_m96837927((&___other0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_13 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_11, L_12, /*hidden argument*/NULL);
G_B6_0 = ((int32_t)(L_13));
goto IL_006d;
}
IL_006c:
{
G_B6_0 = 0;
}
IL_006d:
{
V_0 = (bool)G_B6_0;
goto IL_0073;
}
IL_0073:
{
bool L_14 = V_0;
return L_14;
}
}
extern "C" bool Navigation_Equals_m4214630671_AdjustorThunk (Il2CppObject * __this, Navigation_t1571958496 ___other0, const MethodInfo* method)
{
Navigation_t1571958496 * _thisAdjusted = reinterpret_cast<Navigation_t1571958496 *>(__this + 1);
return Navigation_Equals_m4214630671(_thisAdjusted, ___other0, method);
}
// System.Void UnityEngine.UI.Outline::.ctor()
extern "C" void Outline__ctor_m4243789705 (Outline_t1417504278 * __this, const MethodInfo* method)
{
{
Shadow__ctor_m924057531(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Outline::ModifyMesh(UnityEngine.UI.VertexHelper)
extern "C" void Outline_ModifyMesh_m3796381413 (Outline_t1417504278 * __this, VertexHelper_t385374196 * ___vh0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Outline_ModifyMesh_m3796381413_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_t573379950 * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
Vector2_t2243707579 V_4;
memset(&V_4, 0, sizeof(V_4));
Vector2_t2243707579 V_5;
memset(&V_5, 0, sizeof(V_5));
Vector2_t2243707579 V_6;
memset(&V_6, 0, sizeof(V_6));
Vector2_t2243707579 V_7;
memset(&V_7, 0, sizeof(V_7));
Vector2_t2243707579 V_8;
memset(&V_8, 0, sizeof(V_8));
Vector2_t2243707579 V_9;
memset(&V_9, 0, sizeof(V_9));
Vector2_t2243707579 V_10;
memset(&V_10, 0, sizeof(V_10));
Vector2_t2243707579 V_11;
memset(&V_11, 0, sizeof(V_11));
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_0)
{
goto IL_0011;
}
}
{
goto IL_0151;
}
IL_0011:
{
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t57233634_il2cpp_TypeInfo_var);
List_1_t573379950 * L_1 = ListPool_1_Get_m4215629480(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m4215629480_MethodInfo_var);
V_0 = L_1;
VertexHelper_t385374196 * L_2 = ___vh0;
List_1_t573379950 * L_3 = V_0;
NullCheck(L_2);
VertexHelper_GetUIVertexStream_m3849188814(L_2, L_3, /*hidden argument*/NULL);
List_1_t573379950 * L_4 = V_0;
NullCheck(L_4);
int32_t L_5 = List_1_get_Count_m2390119157(L_4, /*hidden argument*/List_1_get_Count_m2390119157_MethodInfo_var);
V_1 = ((int32_t)((int32_t)L_5*(int32_t)5));
List_1_t573379950 * L_6 = V_0;
NullCheck(L_6);
int32_t L_7 = List_1_get_Capacity_m3497182270(L_6, /*hidden argument*/List_1_get_Capacity_m3497182270_MethodInfo_var);
int32_t L_8 = V_1;
if ((((int32_t)L_7) >= ((int32_t)L_8)))
{
goto IL_003a;
}
}
{
List_1_t573379950 * L_9 = V_0;
int32_t L_10 = V_1;
NullCheck(L_9);
List_1_set_Capacity_m3121007037(L_9, L_10, /*hidden argument*/List_1_set_Capacity_m3121007037_MethodInfo_var);
}
IL_003a:
{
V_2 = 0;
List_1_t573379950 * L_11 = V_0;
NullCheck(L_11);
int32_t L_12 = List_1_get_Count_m2390119157(L_11, /*hidden argument*/List_1_get_Count_m2390119157_MethodInfo_var);
V_3 = L_12;
List_1_t573379950 * L_13 = V_0;
Color_t2020392075 L_14 = Shadow_get_effectColor_m792481977(__this, /*hidden argument*/NULL);
Color32_t874517518 L_15 = Color32_op_Implicit_m624191464(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
int32_t L_16 = V_2;
List_1_t573379950 * L_17 = V_0;
NullCheck(L_17);
int32_t L_18 = List_1_get_Count_m2390119157(L_17, /*hidden argument*/List_1_get_Count_m2390119157_MethodInfo_var);
Vector2_t2243707579 L_19 = Shadow_get_effectDistance_m1859706485(__this, /*hidden argument*/NULL);
V_4 = L_19;
float L_20 = (&V_4)->get_x_0();
Vector2_t2243707579 L_21 = Shadow_get_effectDistance_m1859706485(__this, /*hidden argument*/NULL);
V_5 = L_21;
float L_22 = (&V_5)->get_y_1();
Shadow_ApplyShadowZeroAlloc_m2132231878(__this, L_13, L_15, L_16, L_18, L_20, L_22, /*hidden argument*/NULL);
int32_t L_23 = V_3;
V_2 = L_23;
List_1_t573379950 * L_24 = V_0;
NullCheck(L_24);
int32_t L_25 = List_1_get_Count_m2390119157(L_24, /*hidden argument*/List_1_get_Count_m2390119157_MethodInfo_var);
V_3 = L_25;
List_1_t573379950 * L_26 = V_0;
Color_t2020392075 L_27 = Shadow_get_effectColor_m792481977(__this, /*hidden argument*/NULL);
Color32_t874517518 L_28 = Color32_op_Implicit_m624191464(NULL /*static, unused*/, L_27, /*hidden argument*/NULL);
int32_t L_29 = V_2;
List_1_t573379950 * L_30 = V_0;
NullCheck(L_30);
int32_t L_31 = List_1_get_Count_m2390119157(L_30, /*hidden argument*/List_1_get_Count_m2390119157_MethodInfo_var);
Vector2_t2243707579 L_32 = Shadow_get_effectDistance_m1859706485(__this, /*hidden argument*/NULL);
V_6 = L_32;
float L_33 = (&V_6)->get_x_0();
Vector2_t2243707579 L_34 = Shadow_get_effectDistance_m1859706485(__this, /*hidden argument*/NULL);
V_7 = L_34;
float L_35 = (&V_7)->get_y_1();
Shadow_ApplyShadowZeroAlloc_m2132231878(__this, L_26, L_28, L_29, L_31, L_33, ((-L_35)), /*hidden argument*/NULL);
int32_t L_36 = V_3;
V_2 = L_36;
List_1_t573379950 * L_37 = V_0;
NullCheck(L_37);
int32_t L_38 = List_1_get_Count_m2390119157(L_37, /*hidden argument*/List_1_get_Count_m2390119157_MethodInfo_var);
V_3 = L_38;
List_1_t573379950 * L_39 = V_0;
Color_t2020392075 L_40 = Shadow_get_effectColor_m792481977(__this, /*hidden argument*/NULL);
Color32_t874517518 L_41 = Color32_op_Implicit_m624191464(NULL /*static, unused*/, L_40, /*hidden argument*/NULL);
int32_t L_42 = V_2;
List_1_t573379950 * L_43 = V_0;
NullCheck(L_43);
int32_t L_44 = List_1_get_Count_m2390119157(L_43, /*hidden argument*/List_1_get_Count_m2390119157_MethodInfo_var);
Vector2_t2243707579 L_45 = Shadow_get_effectDistance_m1859706485(__this, /*hidden argument*/NULL);
V_8 = L_45;
float L_46 = (&V_8)->get_x_0();
Vector2_t2243707579 L_47 = Shadow_get_effectDistance_m1859706485(__this, /*hidden argument*/NULL);
V_9 = L_47;
float L_48 = (&V_9)->get_y_1();
Shadow_ApplyShadowZeroAlloc_m2132231878(__this, L_39, L_41, L_42, L_44, ((-L_46)), L_48, /*hidden argument*/NULL);
int32_t L_49 = V_3;
V_2 = L_49;
List_1_t573379950 * L_50 = V_0;
NullCheck(L_50);
int32_t L_51 = List_1_get_Count_m2390119157(L_50, /*hidden argument*/List_1_get_Count_m2390119157_MethodInfo_var);
V_3 = L_51;
List_1_t573379950 * L_52 = V_0;
Color_t2020392075 L_53 = Shadow_get_effectColor_m792481977(__this, /*hidden argument*/NULL);
Color32_t874517518 L_54 = Color32_op_Implicit_m624191464(NULL /*static, unused*/, L_53, /*hidden argument*/NULL);
int32_t L_55 = V_2;
List_1_t573379950 * L_56 = V_0;
NullCheck(L_56);
int32_t L_57 = List_1_get_Count_m2390119157(L_56, /*hidden argument*/List_1_get_Count_m2390119157_MethodInfo_var);
Vector2_t2243707579 L_58 = Shadow_get_effectDistance_m1859706485(__this, /*hidden argument*/NULL);
V_10 = L_58;
float L_59 = (&V_10)->get_x_0();
Vector2_t2243707579 L_60 = Shadow_get_effectDistance_m1859706485(__this, /*hidden argument*/NULL);
V_11 = L_60;
float L_61 = (&V_11)->get_y_1();
Shadow_ApplyShadowZeroAlloc_m2132231878(__this, L_52, L_54, L_55, L_57, ((-L_59)), ((-L_61)), /*hidden argument*/NULL);
VertexHelper_t385374196 * L_62 = ___vh0;
NullCheck(L_62);
VertexHelper_Clear_m648714328(L_62, /*hidden argument*/NULL);
VertexHelper_t385374196 * L_63 = ___vh0;
List_1_t573379950 * L_64 = V_0;
NullCheck(L_63);
VertexHelper_AddUIVertexTriangleStream_m4009409241(L_63, L_64, /*hidden argument*/NULL);
List_1_t573379950 * L_65 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t57233634_il2cpp_TypeInfo_var);
ListPool_1_Release_m782571048(NULL /*static, unused*/, L_65, /*hidden argument*/ListPool_1_Release_m782571048_MethodInfo_var);
}
IL_0151:
{
return;
}
}
// System.Void UnityEngine.UI.PositionAsUV1::.ctor()
extern "C" void PositionAsUV1__ctor_m412270210 (PositionAsUV1_t1102546563 * __this, const MethodInfo* method)
{
{
BaseMeshEffect__ctor_m2843647600(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.PositionAsUV1::ModifyMesh(UnityEngine.UI.VertexHelper)
extern "C" void PositionAsUV1_ModifyMesh_m234268446 (PositionAsUV1_t1102546563 * __this, VertexHelper_t385374196 * ___vh0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (PositionAsUV1_ModifyMesh_m234268446_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
UIVertex_t1204258818 V_0;
memset(&V_0, 0, sizeof(V_0));
int32_t V_1 = 0;
{
Initobj (UIVertex_t1204258818_il2cpp_TypeInfo_var, (&V_0));
V_1 = 0;
goto IL_004b;
}
IL_0010:
{
VertexHelper_t385374196 * L_0 = ___vh0;
int32_t L_1 = V_1;
NullCheck(L_0);
VertexHelper_PopulateUIVertex_m1570922497(L_0, (&V_0), L_1, /*hidden argument*/NULL);
Vector3_t2243707580 * L_2 = (&V_0)->get_address_of_position_0();
float L_3 = L_2->get_x_1();
Vector3_t2243707580 * L_4 = (&V_0)->get_address_of_position_0();
float L_5 = L_4->get_y_2();
Vector2_t2243707579 L_6;
memset(&L_6, 0, sizeof(L_6));
Vector2__ctor_m3067419446(&L_6, L_3, L_5, /*hidden argument*/NULL);
(&V_0)->set_uv1_4(L_6);
VertexHelper_t385374196 * L_7 = ___vh0;
UIVertex_t1204258818 L_8 = V_0;
int32_t L_9 = V_1;
NullCheck(L_7);
VertexHelper_SetUIVertex_m2397401947(L_7, L_8, L_9, /*hidden argument*/NULL);
int32_t L_10 = V_1;
V_1 = ((int32_t)((int32_t)L_10+(int32_t)1));
}
IL_004b:
{
int32_t L_11 = V_1;
VertexHelper_t385374196 * L_12 = ___vh0;
NullCheck(L_12);
int32_t L_13 = VertexHelper_get_currentVertCount_m1723889923(L_12, /*hidden argument*/NULL);
if ((((int32_t)L_11) < ((int32_t)L_13)))
{
goto IL_0010;
}
}
{
return;
}
}
// System.Void UnityEngine.UI.RawImage::.ctor()
extern "C" void RawImage__ctor_m527845386 (RawImage_t2749640213 * __this, const MethodInfo* method)
{
{
Rect_t3681755626 L_0;
memset(&L_0, 0, sizeof(L_0));
Rect__ctor_m1220545469(&L_0, (0.0f), (0.0f), (1.0f), (1.0f), /*hidden argument*/NULL);
__this->set_m_UVRect_29(L_0);
MaskableGraphic__ctor_m1454660053(__this, /*hidden argument*/NULL);
Graphic_set_useLegacyMeshGeneration_m3023904722(__this, (bool)0, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.Texture UnityEngine.UI.RawImage::get_mainTexture()
extern "C" Texture_t2243626319 * RawImage_get_mainTexture_m3865646934 (RawImage_t2749640213 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RawImage_get_mainTexture_m3865646934_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Texture_t2243626319 * V_0 = NULL;
{
Texture_t2243626319 * L_0 = __this->get_m_Texture_28();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0057;
}
}
{
Material_t193706927 * L_2 = VirtFuncInvoker0< Material_t193706927 * >::Invoke(32 /* UnityEngine.Material UnityEngine.UI.Graphic::get_material() */, __this);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_2, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_004c;
}
}
{
Material_t193706927 * L_4 = VirtFuncInvoker0< Material_t193706927 * >::Invoke(32 /* UnityEngine.Material UnityEngine.UI.Graphic::get_material() */, __this);
NullCheck(L_4);
Texture_t2243626319 * L_5 = Material_get_mainTexture_m432794412(L_4, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_6 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_5, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_004c;
}
}
{
Material_t193706927 * L_7 = VirtFuncInvoker0< Material_t193706927 * >::Invoke(32 /* UnityEngine.Material UnityEngine.UI.Graphic::get_material() */, __this);
NullCheck(L_7);
Texture_t2243626319 * L_8 = Material_get_mainTexture_m432794412(L_7, /*hidden argument*/NULL);
V_0 = L_8;
goto IL_0063;
}
IL_004c:
{
IL2CPP_RUNTIME_CLASS_INIT(Graphic_t2426225576_il2cpp_TypeInfo_var);
Texture2D_t3542995729 * L_9 = ((Graphic_t2426225576_StaticFields*)Graphic_t2426225576_il2cpp_TypeInfo_var->static_fields)->get_s_WhiteTexture_3();
V_0 = L_9;
goto IL_0063;
}
IL_0057:
{
Texture_t2243626319 * L_10 = __this->get_m_Texture_28();
V_0 = L_10;
goto IL_0063;
}
IL_0063:
{
Texture_t2243626319 * L_11 = V_0;
return L_11;
}
}
// UnityEngine.Texture UnityEngine.UI.RawImage::get_texture()
extern "C" Texture_t2243626319 * RawImage_get_texture_m2258734143 (RawImage_t2749640213 * __this, const MethodInfo* method)
{
Texture_t2243626319 * V_0 = NULL;
{
Texture_t2243626319 * L_0 = __this->get_m_Texture_28();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Texture_t2243626319 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.RawImage::set_texture(UnityEngine.Texture)
extern "C" void RawImage_set_texture_m2400157626 (RawImage_t2749640213 * __this, Texture_t2243626319 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RawImage_set_texture_m2400157626_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Texture_t2243626319 * L_0 = __this->get_m_Texture_28();
Texture_t2243626319 * L_1 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0017;
}
}
{
goto IL_002a;
}
IL_0017:
{
Texture_t2243626319 * L_3 = ___value0;
__this->set_m_Texture_28(L_3);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
VirtActionInvoker0::Invoke(29 /* System.Void UnityEngine.UI.Graphic::SetMaterialDirty() */, __this);
}
IL_002a:
{
return;
}
}
// UnityEngine.Rect UnityEngine.UI.RawImage::get_uvRect()
extern "C" Rect_t3681755626 RawImage_get_uvRect_m2051606962 (RawImage_t2749640213 * __this, const MethodInfo* method)
{
Rect_t3681755626 V_0;
memset(&V_0, 0, sizeof(V_0));
{
Rect_t3681755626 L_0 = __this->get_m_UVRect_29();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Rect_t3681755626 L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.RawImage::set_uvRect(UnityEngine.Rect)
extern "C" void RawImage_set_uvRect_m3807597783 (RawImage_t2749640213 * __this, Rect_t3681755626 ___value0, const MethodInfo* method)
{
{
Rect_t3681755626 L_0 = __this->get_m_UVRect_29();
Rect_t3681755626 L_1 = ___value0;
bool L_2 = Rect_op_Equality_m2793663577(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0017;
}
}
{
goto IL_0024;
}
IL_0017:
{
Rect_t3681755626 L_3 = ___value0;
__this->set_m_UVRect_29(L_3);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
}
IL_0024:
{
return;
}
}
// System.Void UnityEngine.UI.RawImage::SetNativeSize()
extern "C" void RawImage_SetNativeSize_m672994452 (RawImage_t2749640213 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RawImage_SetNativeSize_m672994452_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Texture_t2243626319 * V_0 = NULL;
int32_t V_1 = 0;
Rect_t3681755626 V_2;
memset(&V_2, 0, sizeof(V_2));
int32_t V_3 = 0;
Rect_t3681755626 V_4;
memset(&V_4, 0, sizeof(V_4));
{
Texture_t2243626319 * L_0 = VirtFuncInvoker0< Texture_t2243626319 * >::Invoke(35 /* UnityEngine.Texture UnityEngine.UI.Graphic::get_mainTexture() */, __this);
V_0 = L_0;
Texture_t2243626319 * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0079;
}
}
{
Texture_t2243626319 * L_3 = V_0;
NullCheck(L_3);
int32_t L_4 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.Texture::get_width() */, L_3);
Rect_t3681755626 L_5 = RawImage_get_uvRect_m2051606962(__this, /*hidden argument*/NULL);
V_2 = L_5;
float L_6 = Rect_get_width_m1138015702((&V_2), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
int32_t L_7 = Mathf_RoundToInt_m2927198556(NULL /*static, unused*/, ((float)((float)(((float)((float)L_4)))*(float)L_6)), /*hidden argument*/NULL);
V_1 = L_7;
Texture_t2243626319 * L_8 = V_0;
NullCheck(L_8);
int32_t L_9 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_height() */, L_8);
Rect_t3681755626 L_10 = RawImage_get_uvRect_m2051606962(__this, /*hidden argument*/NULL);
V_4 = L_10;
float L_11 = Rect_get_height_m3128694305((&V_4), /*hidden argument*/NULL);
int32_t L_12 = Mathf_RoundToInt_m2927198556(NULL /*static, unused*/, ((float)((float)(((float)((float)L_9)))*(float)L_11)), /*hidden argument*/NULL);
V_3 = L_12;
RectTransform_t3349966182 * L_13 = Graphic_get_rectTransform_m2697395074(__this, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_14 = Graphic_get_rectTransform_m2697395074(__this, /*hidden argument*/NULL);
NullCheck(L_14);
Vector2_t2243707579 L_15 = RectTransform_get_anchorMin_m1497323108(L_14, /*hidden argument*/NULL);
NullCheck(L_13);
RectTransform_set_anchorMax_m2955899993(L_13, L_15, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_16 = Graphic_get_rectTransform_m2697395074(__this, /*hidden argument*/NULL);
int32_t L_17 = V_1;
int32_t L_18 = V_3;
Vector2_t2243707579 L_19;
memset(&L_19, 0, sizeof(L_19));
Vector2__ctor_m3067419446(&L_19, (((float)((float)L_17))), (((float)((float)L_18))), /*hidden argument*/NULL);
NullCheck(L_16);
RectTransform_set_sizeDelta_m2319668137(L_16, L_19, /*hidden argument*/NULL);
}
IL_0079:
{
return;
}
}
// System.Void UnityEngine.UI.RawImage::OnPopulateMesh(UnityEngine.UI.VertexHelper)
extern "C" void RawImage_OnPopulateMesh_m1575353317 (RawImage_t2749640213 * __this, VertexHelper_t385374196 * ___vh0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RawImage_OnPopulateMesh_m1575353317_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Texture_t2243626319 * V_0 = NULL;
Rect_t3681755626 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector4_t2243707581 V_2;
memset(&V_2, 0, sizeof(V_2));
float V_3 = 0.0f;
Vector2_t2243707579 V_4;
memset(&V_4, 0, sizeof(V_4));
float V_5 = 0.0f;
Vector2_t2243707579 V_6;
memset(&V_6, 0, sizeof(V_6));
Color_t2020392075 V_7;
memset(&V_7, 0, sizeof(V_7));
{
Texture_t2243626319 * L_0 = VirtFuncInvoker0< Texture_t2243626319 * >::Invoke(35 /* UnityEngine.Texture UnityEngine.UI.Graphic::get_mainTexture() */, __this);
V_0 = L_0;
VertexHelper_t385374196 * L_1 = ___vh0;
NullCheck(L_1);
VertexHelper_Clear_m648714328(L_1, /*hidden argument*/NULL);
Texture_t2243626319 * L_2 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_2, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_01a3;
}
}
{
Rect_t3681755626 L_4 = Graphic_GetPixelAdjustedRect_m245815321(__this, /*hidden argument*/NULL);
V_1 = L_4;
float L_5 = Rect_get_x_m1393582490((&V_1), /*hidden argument*/NULL);
float L_6 = Rect_get_y_m1393582395((&V_1), /*hidden argument*/NULL);
float L_7 = Rect_get_x_m1393582490((&V_1), /*hidden argument*/NULL);
float L_8 = Rect_get_width_m1138015702((&V_1), /*hidden argument*/NULL);
float L_9 = Rect_get_y_m1393582395((&V_1), /*hidden argument*/NULL);
float L_10 = Rect_get_height_m3128694305((&V_1), /*hidden argument*/NULL);
Vector4__ctor_m1222289168((&V_2), L_5, L_6, ((float)((float)L_7+(float)L_8)), ((float)((float)L_9+(float)L_10)), /*hidden argument*/NULL);
Texture_t2243626319 * L_11 = V_0;
NullCheck(L_11);
int32_t L_12 = VirtFuncInvoker0< int32_t >::Invoke(4 /* System.Int32 UnityEngine.Texture::get_width() */, L_11);
Texture_t2243626319 * L_13 = V_0;
NullCheck(L_13);
Vector2_t2243707579 L_14 = Texture_get_texelSize_m4226268553(L_13, /*hidden argument*/NULL);
V_4 = L_14;
float L_15 = (&V_4)->get_x_0();
V_3 = ((float)((float)(((float)((float)L_12)))*(float)L_15));
Texture_t2243626319 * L_16 = V_0;
NullCheck(L_16);
int32_t L_17 = VirtFuncInvoker0< int32_t >::Invoke(5 /* System.Int32 UnityEngine.Texture::get_height() */, L_16);
Texture_t2243626319 * L_18 = V_0;
NullCheck(L_18);
Vector2_t2243707579 L_19 = Texture_get_texelSize_m4226268553(L_18, /*hidden argument*/NULL);
V_6 = L_19;
float L_20 = (&V_6)->get_y_1();
V_5 = ((float)((float)(((float)((float)L_17)))*(float)L_20));
Color_t2020392075 L_21 = VirtFuncInvoker0< Color_t2020392075 >::Invoke(22 /* UnityEngine.Color UnityEngine.UI.Graphic::get_color() */, __this);
V_7 = L_21;
VertexHelper_t385374196 * L_22 = ___vh0;
float L_23 = (&V_2)->get_x_1();
float L_24 = (&V_2)->get_y_2();
Vector3_t2243707580 L_25;
memset(&L_25, 0, sizeof(L_25));
Vector3__ctor_m2720820983(&L_25, L_23, L_24, /*hidden argument*/NULL);
Color_t2020392075 L_26 = V_7;
Color32_t874517518 L_27 = Color32_op_Implicit_m624191464(NULL /*static, unused*/, L_26, /*hidden argument*/NULL);
Rect_t3681755626 * L_28 = __this->get_address_of_m_UVRect_29();
float L_29 = Rect_get_xMin_m1161102488(L_28, /*hidden argument*/NULL);
float L_30 = V_3;
Rect_t3681755626 * L_31 = __this->get_address_of_m_UVRect_29();
float L_32 = Rect_get_yMin_m1161103577(L_31, /*hidden argument*/NULL);
float L_33 = V_5;
Vector2_t2243707579 L_34;
memset(&L_34, 0, sizeof(L_34));
Vector2__ctor_m3067419446(&L_34, ((float)((float)L_29*(float)L_30)), ((float)((float)L_32*(float)L_33)), /*hidden argument*/NULL);
NullCheck(L_22);
VertexHelper_AddVert_m2953034489(L_22, L_25, L_27, L_34, /*hidden argument*/NULL);
VertexHelper_t385374196 * L_35 = ___vh0;
float L_36 = (&V_2)->get_x_1();
float L_37 = (&V_2)->get_w_4();
Vector3_t2243707580 L_38;
memset(&L_38, 0, sizeof(L_38));
Vector3__ctor_m2720820983(&L_38, L_36, L_37, /*hidden argument*/NULL);
Color_t2020392075 L_39 = V_7;
Color32_t874517518 L_40 = Color32_op_Implicit_m624191464(NULL /*static, unused*/, L_39, /*hidden argument*/NULL);
Rect_t3681755626 * L_41 = __this->get_address_of_m_UVRect_29();
float L_42 = Rect_get_xMin_m1161102488(L_41, /*hidden argument*/NULL);
float L_43 = V_3;
Rect_t3681755626 * L_44 = __this->get_address_of_m_UVRect_29();
float L_45 = Rect_get_yMax_m2915146103(L_44, /*hidden argument*/NULL);
float L_46 = V_5;
Vector2_t2243707579 L_47;
memset(&L_47, 0, sizeof(L_47));
Vector2__ctor_m3067419446(&L_47, ((float)((float)L_42*(float)L_43)), ((float)((float)L_45*(float)L_46)), /*hidden argument*/NULL);
NullCheck(L_35);
VertexHelper_AddVert_m2953034489(L_35, L_38, L_40, L_47, /*hidden argument*/NULL);
VertexHelper_t385374196 * L_48 = ___vh0;
float L_49 = (&V_2)->get_z_3();
float L_50 = (&V_2)->get_w_4();
Vector3_t2243707580 L_51;
memset(&L_51, 0, sizeof(L_51));
Vector3__ctor_m2720820983(&L_51, L_49, L_50, /*hidden argument*/NULL);
Color_t2020392075 L_52 = V_7;
Color32_t874517518 L_53 = Color32_op_Implicit_m624191464(NULL /*static, unused*/, L_52, /*hidden argument*/NULL);
Rect_t3681755626 * L_54 = __this->get_address_of_m_UVRect_29();
float L_55 = Rect_get_xMax_m2915145014(L_54, /*hidden argument*/NULL);
float L_56 = V_3;
Rect_t3681755626 * L_57 = __this->get_address_of_m_UVRect_29();
float L_58 = Rect_get_yMax_m2915146103(L_57, /*hidden argument*/NULL);
float L_59 = V_5;
Vector2_t2243707579 L_60;
memset(&L_60, 0, sizeof(L_60));
Vector2__ctor_m3067419446(&L_60, ((float)((float)L_55*(float)L_56)), ((float)((float)L_58*(float)L_59)), /*hidden argument*/NULL);
NullCheck(L_48);
VertexHelper_AddVert_m2953034489(L_48, L_51, L_53, L_60, /*hidden argument*/NULL);
VertexHelper_t385374196 * L_61 = ___vh0;
float L_62 = (&V_2)->get_z_3();
float L_63 = (&V_2)->get_y_2();
Vector3_t2243707580 L_64;
memset(&L_64, 0, sizeof(L_64));
Vector3__ctor_m2720820983(&L_64, L_62, L_63, /*hidden argument*/NULL);
Color_t2020392075 L_65 = V_7;
Color32_t874517518 L_66 = Color32_op_Implicit_m624191464(NULL /*static, unused*/, L_65, /*hidden argument*/NULL);
Rect_t3681755626 * L_67 = __this->get_address_of_m_UVRect_29();
float L_68 = Rect_get_xMax_m2915145014(L_67, /*hidden argument*/NULL);
float L_69 = V_3;
Rect_t3681755626 * L_70 = __this->get_address_of_m_UVRect_29();
float L_71 = Rect_get_yMin_m1161103577(L_70, /*hidden argument*/NULL);
float L_72 = V_5;
Vector2_t2243707579 L_73;
memset(&L_73, 0, sizeof(L_73));
Vector2__ctor_m3067419446(&L_73, ((float)((float)L_68*(float)L_69)), ((float)((float)L_71*(float)L_72)), /*hidden argument*/NULL);
NullCheck(L_61);
VertexHelper_AddVert_m2953034489(L_61, L_64, L_66, L_73, /*hidden argument*/NULL);
VertexHelper_t385374196 * L_74 = ___vh0;
NullCheck(L_74);
VertexHelper_AddTriangle_m3666051761(L_74, 0, 1, 2, /*hidden argument*/NULL);
VertexHelper_t385374196 * L_75 = ___vh0;
NullCheck(L_75);
VertexHelper_AddTriangle_m3666051761(L_75, 2, 3, 0, /*hidden argument*/NULL);
}
IL_01a3:
{
return;
}
}
// System.Void UnityEngine.UI.RectangularVertexClipper::.ctor()
extern "C" void RectangularVertexClipper__ctor_m2262454802 (RectangularVertexClipper_t3349113845 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RectangularVertexClipper__ctor_m2262454802_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_m_WorldCorners_0(((Vector3U5BU5D_t1172311765*)SZArrayNew(Vector3U5BU5D_t1172311765_il2cpp_TypeInfo_var, (uint32_t)4)));
__this->set_m_CanvasCorners_1(((Vector3U5BU5D_t1172311765*)SZArrayNew(Vector3U5BU5D_t1172311765_il2cpp_TypeInfo_var, (uint32_t)4)));
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.Rect UnityEngine.UI.RectangularVertexClipper::GetCanvasRect(UnityEngine.RectTransform,UnityEngine.Canvas)
extern "C" Rect_t3681755626 RectangularVertexClipper_GetCanvasRect_m2728708140 (RectangularVertexClipper_t3349113845 * __this, RectTransform_t3349966182 * ___t0, Canvas_t209405766 * ___c1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RectangularVertexClipper_GetCanvasRect_m2728708140_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Rect_t3681755626 V_0;
memset(&V_0, 0, sizeof(V_0));
Rect_t3681755626 V_1;
memset(&V_1, 0, sizeof(V_1));
Transform_t3275118058 * V_2 = NULL;
int32_t V_3 = 0;
{
Canvas_t209405766 * L_0 = ___c1;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001c;
}
}
{
Initobj (Rect_t3681755626_il2cpp_TypeInfo_var, (&V_0));
Rect_t3681755626 L_2 = V_0;
V_1 = L_2;
goto IL_00dc;
}
IL_001c:
{
RectTransform_t3349966182 * L_3 = ___t0;
Vector3U5BU5D_t1172311765* L_4 = __this->get_m_WorldCorners_0();
NullCheck(L_3);
RectTransform_GetWorldCorners_m3873546362(L_3, L_4, /*hidden argument*/NULL);
Canvas_t209405766 * L_5 = ___c1;
NullCheck(L_5);
Transform_t3275118058 * L_6 = Component_GetComponent_TisTransform_t3275118058_m235623703(L_5, /*hidden argument*/Component_GetComponent_TisTransform_t3275118058_m235623703_MethodInfo_var);
V_2 = L_6;
V_3 = 0;
goto IL_0062;
}
IL_0036:
{
Vector3U5BU5D_t1172311765* L_7 = __this->get_m_CanvasCorners_1();
int32_t L_8 = V_3;
NullCheck(L_7);
Transform_t3275118058 * L_9 = V_2;
Vector3U5BU5D_t1172311765* L_10 = __this->get_m_WorldCorners_0();
int32_t L_11 = V_3;
NullCheck(L_10);
NullCheck(L_9);
Vector3_t2243707580 L_12 = Transform_InverseTransformPoint_m2648491174(L_9, (*(Vector3_t2243707580 *)((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))), /*hidden argument*/NULL);
(*(Vector3_t2243707580 *)((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8)))) = L_12;
int32_t L_13 = V_3;
V_3 = ((int32_t)((int32_t)L_13+(int32_t)1));
}
IL_0062:
{
int32_t L_14 = V_3;
if ((((int32_t)L_14) < ((int32_t)4)))
{
goto IL_0036;
}
}
{
Vector3U5BU5D_t1172311765* L_15 = __this->get_m_CanvasCorners_1();
NullCheck(L_15);
float L_16 = ((L_15)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_x_1();
Vector3U5BU5D_t1172311765* L_17 = __this->get_m_CanvasCorners_1();
NullCheck(L_17);
float L_18 = ((L_17)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_y_2();
Vector3U5BU5D_t1172311765* L_19 = __this->get_m_CanvasCorners_1();
NullCheck(L_19);
float L_20 = ((L_19)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->get_x_1();
Vector3U5BU5D_t1172311765* L_21 = __this->get_m_CanvasCorners_1();
NullCheck(L_21);
float L_22 = ((L_21)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_x_1();
Vector3U5BU5D_t1172311765* L_23 = __this->get_m_CanvasCorners_1();
NullCheck(L_23);
float L_24 = ((L_23)->GetAddressAt(static_cast<il2cpp_array_size_t>(2)))->get_y_2();
Vector3U5BU5D_t1172311765* L_25 = __this->get_m_CanvasCorners_1();
NullCheck(L_25);
float L_26 = ((L_25)->GetAddressAt(static_cast<il2cpp_array_size_t>(0)))->get_y_2();
Rect_t3681755626 L_27;
memset(&L_27, 0, sizeof(L_27));
Rect__ctor_m1220545469(&L_27, L_16, L_18, ((float)((float)L_20-(float)L_22)), ((float)((float)L_24-(float)L_26)), /*hidden argument*/NULL);
V_1 = L_27;
goto IL_00dc;
}
IL_00dc:
{
Rect_t3681755626 L_28 = V_1;
return L_28;
}
}
// System.Void UnityEngine.UI.RectMask2D::.ctor()
extern "C" void RectMask2D__ctor_m2406004327 (RectMask2D_t1156185964 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RectMask2D__ctor_m2406004327_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RectangularVertexClipper_t3349113845 * L_0 = (RectangularVertexClipper_t3349113845 *)il2cpp_codegen_object_new(RectangularVertexClipper_t3349113845_il2cpp_TypeInfo_var);
RectangularVertexClipper__ctor_m2262454802(L_0, /*hidden argument*/NULL);
__this->set_m_VertexClipper_2(L_0);
HashSet_1_t274736911 * L_1 = (HashSet_1_t274736911 *)il2cpp_codegen_object_new(HashSet_1_t274736911_il2cpp_TypeInfo_var);
HashSet_1__ctor_m3946193976(L_1, /*hidden argument*/HashSet_1__ctor_m3946193976_MethodInfo_var);
__this->set_m_ClipTargets_4(L_1);
List_1_t525307096 * L_2 = (List_1_t525307096 *)il2cpp_codegen_object_new(List_1_t525307096_il2cpp_TypeInfo_var);
List_1__ctor_m1473022209(L_2, /*hidden argument*/List_1__ctor_m1473022209_MethodInfo_var);
__this->set_m_Clippers_6(L_2);
UIBehaviour__ctor_m984034336(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.Rect UnityEngine.UI.RectMask2D::get_canvasRect()
extern "C" Rect_t3681755626 RectMask2D_get_canvasRect_m176109918 (RectMask2D_t1156185964 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RectMask2D_get_canvasRect_m176109918_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Canvas_t209405766 * V_0 = NULL;
List_1_t3873494194 * V_1 = NULL;
Rect_t3681755626 V_2;
memset(&V_2, 0, sizeof(V_2));
{
V_0 = (Canvas_t209405766 *)NULL;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t3357347878_il2cpp_TypeInfo_var);
List_1_t3873494194 * L_0 = ListPool_1_Get_m2770280140(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2770280140_MethodInfo_var);
V_1 = L_0;
GameObject_t1756533147 * L_1 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
List_1_t3873494194 * L_2 = V_1;
NullCheck(L_1);
GameObject_GetComponentsInParent_TisCanvas_t209405766_m1754656689(L_1, (bool)0, L_2, /*hidden argument*/GameObject_GetComponentsInParent_TisCanvas_t209405766_m1754656689_MethodInfo_var);
List_1_t3873494194 * L_3 = V_1;
NullCheck(L_3);
int32_t L_4 = List_1_get_Count_m797577425(L_3, /*hidden argument*/List_1_get_Count_m797577425_MethodInfo_var);
if ((((int32_t)L_4) <= ((int32_t)0)))
{
goto IL_0031;
}
}
{
List_1_t3873494194 * L_5 = V_1;
List_1_t3873494194 * L_6 = V_1;
NullCheck(L_6);
int32_t L_7 = List_1_get_Count_m797577425(L_6, /*hidden argument*/List_1_get_Count_m797577425_MethodInfo_var);
NullCheck(L_5);
Canvas_t209405766 * L_8 = List_1_get_Item_m3871422818(L_5, ((int32_t)((int32_t)L_7-(int32_t)1)), /*hidden argument*/List_1_get_Item_m3871422818_MethodInfo_var);
V_0 = L_8;
}
IL_0031:
{
List_1_t3873494194 * L_9 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t3357347878_il2cpp_TypeInfo_var);
ListPool_1_Release_m2449989212(NULL /*static, unused*/, L_9, /*hidden argument*/ListPool_1_Release_m2449989212_MethodInfo_var);
RectangularVertexClipper_t3349113845 * L_10 = __this->get_m_VertexClipper_2();
RectTransform_t3349966182 * L_11 = RectMask2D_get_rectTransform_m130488702(__this, /*hidden argument*/NULL);
Canvas_t209405766 * L_12 = V_0;
NullCheck(L_10);
Rect_t3681755626 L_13 = RectangularVertexClipper_GetCanvasRect_m2728708140(L_10, L_11, L_12, /*hidden argument*/NULL);
V_2 = L_13;
goto IL_004f;
}
IL_004f:
{
Rect_t3681755626 L_14 = V_2;
return L_14;
}
}
// UnityEngine.RectTransform UnityEngine.UI.RectMask2D::get_rectTransform()
extern "C" RectTransform_t3349966182 * RectMask2D_get_rectTransform_m130488702 (RectMask2D_t1156185964 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RectMask2D_get_rectTransform_m130488702_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RectTransform_t3349966182 * V_0 = NULL;
RectTransform_t3349966182 * V_1 = NULL;
RectTransform_t3349966182 * G_B2_0 = NULL;
RectTransform_t3349966182 * G_B1_0 = NULL;
{
RectTransform_t3349966182 * L_0 = __this->get_m_RectTransform_3();
RectTransform_t3349966182 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_001d;
}
}
{
RectTransform_t3349966182 * L_2 = Component_GetComponent_TisRectTransform_t3349966182_m1310250299(__this, /*hidden argument*/Component_GetComponent_TisRectTransform_t3349966182_m1310250299_MethodInfo_var);
RectTransform_t3349966182 * L_3 = L_2;
V_0 = L_3;
__this->set_m_RectTransform_3(L_3);
RectTransform_t3349966182 * L_4 = V_0;
G_B2_0 = L_4;
}
IL_001d:
{
V_1 = G_B2_0;
goto IL_0023;
}
IL_0023:
{
RectTransform_t3349966182 * L_5 = V_1;
return L_5;
}
}
// System.Void UnityEngine.UI.RectMask2D::OnEnable()
extern "C" void RectMask2D_OnEnable_m1538644099 (RectMask2D_t1156185964 * __this, const MethodInfo* method)
{
{
UIBehaviour_OnEnable_m152520444(__this, /*hidden argument*/NULL);
__this->set_m_ShouldRecalculateClipRects_5((bool)1);
ClipperRegistry_Register_m582125837(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
MaskUtilities_Notify2DMaskStateChanged_m1704785167(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.RectMask2D::OnDisable()
extern "C" void RectMask2D_OnDisable_m1995667256 (RectMask2D_t1156185964 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RectMask2D_OnDisable_m1995667256_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UIBehaviour_OnDisable_m2533338171(__this, /*hidden argument*/NULL);
HashSet_1_t274736911 * L_0 = __this->get_m_ClipTargets_4();
NullCheck(L_0);
HashSet_1_Clear_m3861807753(L_0, /*hidden argument*/HashSet_1_Clear_m3861807753_MethodInfo_var);
List_1_t525307096 * L_1 = __this->get_m_Clippers_6();
NullCheck(L_1);
List_1_Clear_m1697221398(L_1, /*hidden argument*/List_1_Clear_m1697221398_MethodInfo_var);
ClipperRegistry_Unregister_m2938209708(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
MaskUtilities_Notify2DMaskStateChanged_m1704785167(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean UnityEngine.UI.RectMask2D::IsRaycastLocationValid(UnityEngine.Vector2,UnityEngine.Camera)
extern "C" bool RectMask2D_IsRaycastLocationValid_m2489402131 (RectMask2D_t1156185964 * __this, Vector2_t2243707579 ___sp0, Camera_t189460977 * ___eventCamera1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RectMask2D_IsRaycastLocationValid_m2489402131_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
{
bool L_0 = Behaviour_get_isActiveAndEnabled_m3838334305(__this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0013;
}
}
{
V_0 = (bool)1;
goto IL_0026;
}
IL_0013:
{
RectTransform_t3349966182 * L_1 = RectMask2D_get_rectTransform_m130488702(__this, /*hidden argument*/NULL);
Vector2_t2243707579 L_2 = ___sp0;
Camera_t189460977 * L_3 = ___eventCamera1;
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
bool L_4 = RectTransformUtility_RectangleContainsScreenPoint_m1244853728(NULL /*static, unused*/, L_1, L_2, L_3, /*hidden argument*/NULL);
V_0 = L_4;
goto IL_0026;
}
IL_0026:
{
bool L_5 = V_0;
return L_5;
}
}
// System.Void UnityEngine.UI.RectMask2D::PerformClipping()
extern "C" void RectMask2D_PerformClipping_m1232012832 (RectMask2D_t1156185964 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RectMask2D_PerformClipping_m1232012832_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Rect_t3681755626 V_1;
memset(&V_1, 0, sizeof(V_1));
bool V_2 = false;
Il2CppObject * V_3 = NULL;
Enumerator_t3058020049 V_4;
memset(&V_4, 0, sizeof(V_4));
Il2CppObject * V_5 = NULL;
Enumerator_t3058020049 V_6;
memset(&V_6, 0, sizeof(V_6));
MaskableGraphic_t540192618 * V_7 = NULL;
Exception_t1927440687 * __last_unhandled_exception = 0;
NO_UNUSED_WARNING (__last_unhandled_exception);
Exception_t1927440687 * __exception_local = 0;
NO_UNUSED_WARNING (__exception_local);
int32_t __leave_target = 0;
NO_UNUSED_WARNING (__leave_target);
{
bool L_0 = __this->get_m_ShouldRecalculateClipRects_5();
if (!L_0)
{
goto IL_0021;
}
}
{
List_1_t525307096 * L_1 = __this->get_m_Clippers_6();
MaskUtilities_GetRectMasksForClip_m1540508301(NULL /*static, unused*/, __this, L_1, /*hidden argument*/NULL);
__this->set_m_ShouldRecalculateClipRects_5((bool)0);
}
IL_0021:
{
V_0 = (bool)1;
List_1_t525307096 * L_2 = __this->get_m_Clippers_6();
Rect_t3681755626 L_3 = Clipping_FindCullAndClipWorldRect_m3959472775(NULL /*static, unused*/, L_2, (&V_0), /*hidden argument*/NULL);
V_1 = L_3;
Rect_t3681755626 L_4 = V_1;
Rect_t3681755626 L_5 = __this->get_m_LastClipRectCanvasSpace_7();
bool L_6 = Rect_op_Inequality_m3595915756(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
V_2 = L_6;
bool L_7 = V_2;
if (L_7)
{
goto IL_004f;
}
}
{
bool L_8 = __this->get_m_ForceClip_9();
if (!L_8)
{
goto IL_00a1;
}
}
IL_004f:
{
HashSet_1_t274736911 * L_9 = __this->get_m_ClipTargets_4();
NullCheck(L_9);
Enumerator_t3058020049 L_10 = HashSet_1_GetEnumerator_m147500535(L_9, /*hidden argument*/HashSet_1_GetEnumerator_m147500535_MethodInfo_var);
V_4 = L_10;
}
IL_005e:
try
{ // begin try (depth: 1)
{
goto IL_0073;
}
IL_0063:
{
Il2CppObject * L_11 = Enumerator_get_Current_m3326071153((&V_4), /*hidden argument*/Enumerator_get_Current_m3326071153_MethodInfo_var);
V_3 = L_11;
Il2CppObject * L_12 = V_3;
Rect_t3681755626 L_13 = V_1;
bool L_14 = V_0;
NullCheck(L_12);
InterfaceActionInvoker2< Rect_t3681755626 , bool >::Invoke(4 /* System.Void UnityEngine.UI.IClippable::SetClipRect(UnityEngine.Rect,System.Boolean) */, IClippable_t1941276057_il2cpp_TypeInfo_var, L_12, L_13, L_14);
}
IL_0073:
{
bool L_15 = Enumerator_MoveNext_m1604522117((&V_4), /*hidden argument*/Enumerator_MoveNext_m1604522117_MethodInfo_var);
if (L_15)
{
goto IL_0063;
}
}
IL_007f:
{
IL2CPP_LEAVE(0x92, FINALLY_0084);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0084;
}
FINALLY_0084:
{ // begin finally (depth: 1)
Enumerator_Dispose_m1728662143((&V_4), /*hidden argument*/Enumerator_Dispose_m1728662143_MethodInfo_var);
IL2CPP_END_FINALLY(132)
} // end finally (depth: 1)
IL2CPP_CLEANUP(132)
{
IL2CPP_JUMP_TBL(0x92, IL_0092)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0092:
{
Rect_t3681755626 L_16 = V_1;
__this->set_m_LastClipRectCanvasSpace_7(L_16);
bool L_17 = V_0;
__this->set_m_LastValidClipRect_8(L_17);
}
IL_00a1:
{
HashSet_1_t274736911 * L_18 = __this->get_m_ClipTargets_4();
NullCheck(L_18);
Enumerator_t3058020049 L_19 = HashSet_1_GetEnumerator_m147500535(L_18, /*hidden argument*/HashSet_1_GetEnumerator_m147500535_MethodInfo_var);
V_6 = L_19;
}
IL_00af:
try
{ // begin try (depth: 1)
{
goto IL_0104;
}
IL_00b4:
{
Il2CppObject * L_20 = Enumerator_get_Current_m3326071153((&V_6), /*hidden argument*/Enumerator_get_Current_m3326071153_MethodInfo_var);
V_5 = L_20;
Il2CppObject * L_21 = V_5;
V_7 = ((MaskableGraphic_t540192618 *)IsInstClass(L_21, MaskableGraphic_t540192618_il2cpp_TypeInfo_var));
MaskableGraphic_t540192618 * L_22 = V_7;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_23 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_22, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_23)
{
goto IL_00f0;
}
}
IL_00d4:
{
MaskableGraphic_t540192618 * L_24 = V_7;
NullCheck(L_24);
CanvasRenderer_t261436805 * L_25 = Graphic_get_canvasRenderer_m2902370808(L_24, /*hidden argument*/NULL);
NullCheck(L_25);
bool L_26 = CanvasRenderer_get_hasMoved_m2428030996(L_25, /*hidden argument*/NULL);
if (L_26)
{
goto IL_00f0;
}
}
IL_00e5:
{
bool L_27 = V_2;
if (L_27)
{
goto IL_00f0;
}
}
IL_00eb:
{
goto IL_0104;
}
IL_00f0:
{
Il2CppObject * L_28 = V_5;
Rect_t3681755626 L_29 = __this->get_m_LastClipRectCanvasSpace_7();
bool L_30 = __this->get_m_LastValidClipRect_8();
NullCheck(L_28);
InterfaceActionInvoker2< Rect_t3681755626 , bool >::Invoke(3 /* System.Void UnityEngine.UI.IClippable::Cull(UnityEngine.Rect,System.Boolean) */, IClippable_t1941276057_il2cpp_TypeInfo_var, L_28, L_29, L_30);
}
IL_0104:
{
bool L_31 = Enumerator_MoveNext_m1604522117((&V_6), /*hidden argument*/Enumerator_MoveNext_m1604522117_MethodInfo_var);
if (L_31)
{
goto IL_00b4;
}
}
IL_0110:
{
IL2CPP_LEAVE(0x123, FINALLY_0115);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t1927440687 *)e.ex;
goto FINALLY_0115;
}
FINALLY_0115:
{ // begin finally (depth: 1)
Enumerator_Dispose_m1728662143((&V_6), /*hidden argument*/Enumerator_Dispose_m1728662143_MethodInfo_var);
IL2CPP_END_FINALLY(277)
} // end finally (depth: 1)
IL2CPP_CLEANUP(277)
{
IL2CPP_JUMP_TBL(0x123, IL_0123)
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t1927440687 *)
}
IL_0123:
{
return;
}
}
// System.Void UnityEngine.UI.RectMask2D::AddClippable(UnityEngine.UI.IClippable)
extern "C" void RectMask2D_AddClippable_m2808547408 (RectMask2D_t1156185964 * __this, Il2CppObject * ___clippable0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RectMask2D_AddClippable_m2808547408_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Il2CppObject * L_0 = ___clippable0;
if (L_0)
{
goto IL_000c;
}
}
{
goto IL_0038;
}
IL_000c:
{
__this->set_m_ShouldRecalculateClipRects_5((bool)1);
HashSet_1_t274736911 * L_1 = __this->get_m_ClipTargets_4();
Il2CppObject * L_2 = ___clippable0;
NullCheck(L_1);
bool L_3 = HashSet_1_Contains_m3523819500(L_1, L_2, /*hidden argument*/HashSet_1_Contains_m3523819500_MethodInfo_var);
if (L_3)
{
goto IL_0031;
}
}
{
HashSet_1_t274736911 * L_4 = __this->get_m_ClipTargets_4();
Il2CppObject * L_5 = ___clippable0;
NullCheck(L_4);
HashSet_1_Add_m2599901964(L_4, L_5, /*hidden argument*/HashSet_1_Add_m2599901964_MethodInfo_var);
}
IL_0031:
{
__this->set_m_ForceClip_9((bool)1);
}
IL_0038:
{
return;
}
}
// System.Void UnityEngine.UI.RectMask2D::RemoveClippable(UnityEngine.UI.IClippable)
extern "C" void RectMask2D_RemoveClippable_m1579973877 (RectMask2D_t1156185964 * __this, Il2CppObject * ___clippable0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RectMask2D_RemoveClippable_m1579973877_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Rect_t3681755626 V_0;
memset(&V_0, 0, sizeof(V_0));
{
Il2CppObject * L_0 = ___clippable0;
if (L_0)
{
goto IL_000c;
}
}
{
goto IL_0037;
}
IL_000c:
{
__this->set_m_ShouldRecalculateClipRects_5((bool)1);
Il2CppObject * L_1 = ___clippable0;
Initobj (Rect_t3681755626_il2cpp_TypeInfo_var, (&V_0));
Rect_t3681755626 L_2 = V_0;
NullCheck(L_1);
InterfaceActionInvoker2< Rect_t3681755626 , bool >::Invoke(4 /* System.Void UnityEngine.UI.IClippable::SetClipRect(UnityEngine.Rect,System.Boolean) */, IClippable_t1941276057_il2cpp_TypeInfo_var, L_1, L_2, (bool)0);
HashSet_1_t274736911 * L_3 = __this->get_m_ClipTargets_4();
Il2CppObject * L_4 = ___clippable0;
NullCheck(L_3);
HashSet_1_Remove_m2022801403(L_3, L_4, /*hidden argument*/HashSet_1_Remove_m2022801403_MethodInfo_var);
__this->set_m_ForceClip_9((bool)1);
}
IL_0037:
{
return;
}
}
// System.Void UnityEngine.UI.RectMask2D::OnTransformParentChanged()
extern "C" void RectMask2D_OnTransformParentChanged_m2601128726 (RectMask2D_t1156185964 * __this, const MethodInfo* method)
{
{
UIBehaviour_OnTransformParentChanged_m3500538417(__this, /*hidden argument*/NULL);
__this->set_m_ShouldRecalculateClipRects_5((bool)1);
return;
}
}
// System.Void UnityEngine.UI.RectMask2D::OnCanvasHierarchyChanged()
extern "C" void RectMask2D_OnCanvasHierarchyChanged_m2610677147 (RectMask2D_t1156185964 * __this, const MethodInfo* method)
{
{
UIBehaviour_OnCanvasHierarchyChanged_m762109874(__this, /*hidden argument*/NULL);
__this->set_m_ShouldRecalculateClipRects_5((bool)1);
return;
}
}
// System.Void UnityEngine.UI.ReflectionMethodsCache::.ctor()
extern "C" void ReflectionMethodsCache__ctor_m1835220 (ReflectionMethodsCache_t3343836395 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ReflectionMethodsCache__ctor_m1835220_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
MethodInfo_t * V_0 = NULL;
MethodInfo_t * V_1 = NULL;
MethodInfo_t * V_2 = NULL;
MethodInfo_t * V_3 = NULL;
{
__this->set_raycast3D_0((Raycast3DCallback_t3928470916 *)NULL);
__this->set_raycast3DAll_1((RaycastAllCallback_t3435657708 *)NULL);
__this->set_raycast2D_2((Raycast2DCallback_t2260664863 *)NULL);
__this->set_getRayIntersectionAll_3((GetRayIntersectionAllCallback_t2213949596 *)NULL);
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_0 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Physics_t634932869_0_0_0_var), /*hidden argument*/NULL);
TypeU5BU5D_t1664964607* L_1 = ((TypeU5BU5D_t1664964607*)SZArrayNew(TypeU5BU5D_t1664964607_il2cpp_TypeInfo_var, (uint32_t)4));
Type_t * L_2 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Ray_t2469606224_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_1);
ArrayElementTypeCheck (L_1, L_2);
(L_1)->SetAt(static_cast<il2cpp_array_size_t>(0), (Type_t *)L_2);
TypeU5BU5D_t1664964607* L_3 = L_1;
Type_t * L_4 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(RaycastHit_t87180320_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_4);
Type_t * L_5 = VirtFuncInvoker0< Type_t * >::Invoke(84 /* System.Type System.Type::MakeByRefType() */, L_4);
NullCheck(L_3);
ArrayElementTypeCheck (L_3, L_5);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(1), (Type_t *)L_5);
TypeU5BU5D_t1664964607* L_6 = L_3;
Type_t * L_7 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Single_t2076509932_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_6);
ArrayElementTypeCheck (L_6, L_7);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(2), (Type_t *)L_7);
TypeU5BU5D_t1664964607* L_8 = L_6;
Type_t * L_9 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Int32_t2071877448_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_8);
ArrayElementTypeCheck (L_8, L_9);
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(3), (Type_t *)L_9);
NullCheck(L_0);
MethodInfo_t * L_10 = Type_GetMethod_m2079823229(L_0, _stringLiteral1169200223, L_8, /*hidden argument*/NULL);
V_0 = L_10;
MethodInfo_t * L_11 = V_0;
if (!L_11)
{
goto IL_0098;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_12 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Raycast3DCallback_t3928470916_0_0_0_var), /*hidden argument*/NULL);
MethodInfo_t * L_13 = V_0;
Delegate_t3022476291 * L_14 = ScriptingUtils_CreateDelegate_m1848023196(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL);
__this->set_raycast3D_0(((Raycast3DCallback_t3928470916 *)CastclassSealed(L_14, Raycast3DCallback_t3928470916_il2cpp_TypeInfo_var)));
}
IL_0098:
{
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_15 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Physics2D_t2540166467_0_0_0_var), /*hidden argument*/NULL);
TypeU5BU5D_t1664964607* L_16 = ((TypeU5BU5D_t1664964607*)SZArrayNew(TypeU5BU5D_t1664964607_il2cpp_TypeInfo_var, (uint32_t)4));
Type_t * L_17 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Vector2_t2243707579_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_16);
ArrayElementTypeCheck (L_16, L_17);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(0), (Type_t *)L_17);
TypeU5BU5D_t1664964607* L_18 = L_16;
Type_t * L_19 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Vector2_t2243707579_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_18);
ArrayElementTypeCheck (L_18, L_19);
(L_18)->SetAt(static_cast<il2cpp_array_size_t>(1), (Type_t *)L_19);
TypeU5BU5D_t1664964607* L_20 = L_18;
Type_t * L_21 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Single_t2076509932_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_20);
ArrayElementTypeCheck (L_20, L_21);
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(2), (Type_t *)L_21);
TypeU5BU5D_t1664964607* L_22 = L_20;
Type_t * L_23 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Int32_t2071877448_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_22);
ArrayElementTypeCheck (L_22, L_23);
(L_22)->SetAt(static_cast<il2cpp_array_size_t>(3), (Type_t *)L_23);
NullCheck(L_15);
MethodInfo_t * L_24 = Type_GetMethod_m2079823229(L_15, _stringLiteral1169200223, L_22, /*hidden argument*/NULL);
V_1 = L_24;
MethodInfo_t * L_25 = V_1;
if (!L_25)
{
goto IL_0108;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_26 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Raycast2DCallback_t2260664863_0_0_0_var), /*hidden argument*/NULL);
MethodInfo_t * L_27 = V_1;
Delegate_t3022476291 * L_28 = ScriptingUtils_CreateDelegate_m1848023196(NULL /*static, unused*/, L_26, L_27, /*hidden argument*/NULL);
__this->set_raycast2D_2(((Raycast2DCallback_t2260664863 *)CastclassSealed(L_28, Raycast2DCallback_t2260664863_il2cpp_TypeInfo_var)));
}
IL_0108:
{
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_29 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Physics_t634932869_0_0_0_var), /*hidden argument*/NULL);
TypeU5BU5D_t1664964607* L_30 = ((TypeU5BU5D_t1664964607*)SZArrayNew(TypeU5BU5D_t1664964607_il2cpp_TypeInfo_var, (uint32_t)3));
Type_t * L_31 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Ray_t2469606224_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_30);
ArrayElementTypeCheck (L_30, L_31);
(L_30)->SetAt(static_cast<il2cpp_array_size_t>(0), (Type_t *)L_31);
TypeU5BU5D_t1664964607* L_32 = L_30;
Type_t * L_33 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Single_t2076509932_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_32);
ArrayElementTypeCheck (L_32, L_33);
(L_32)->SetAt(static_cast<il2cpp_array_size_t>(1), (Type_t *)L_33);
TypeU5BU5D_t1664964607* L_34 = L_32;
Type_t * L_35 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Int32_t2071877448_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_34);
ArrayElementTypeCheck (L_34, L_35);
(L_34)->SetAt(static_cast<il2cpp_array_size_t>(2), (Type_t *)L_35);
NullCheck(L_29);
MethodInfo_t * L_36 = Type_GetMethod_m2079823229(L_29, _stringLiteral1980497940, L_34, /*hidden argument*/NULL);
V_2 = L_36;
MethodInfo_t * L_37 = V_2;
if (!L_37)
{
goto IL_016b;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_38 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(RaycastAllCallback_t3435657708_0_0_0_var), /*hidden argument*/NULL);
MethodInfo_t * L_39 = V_2;
Delegate_t3022476291 * L_40 = ScriptingUtils_CreateDelegate_m1848023196(NULL /*static, unused*/, L_38, L_39, /*hidden argument*/NULL);
__this->set_raycast3DAll_1(((RaycastAllCallback_t3435657708 *)CastclassSealed(L_40, RaycastAllCallback_t3435657708_il2cpp_TypeInfo_var)));
}
IL_016b:
{
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_41 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Physics2D_t2540166467_0_0_0_var), /*hidden argument*/NULL);
TypeU5BU5D_t1664964607* L_42 = ((TypeU5BU5D_t1664964607*)SZArrayNew(TypeU5BU5D_t1664964607_il2cpp_TypeInfo_var, (uint32_t)3));
Type_t * L_43 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Ray_t2469606224_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_42);
ArrayElementTypeCheck (L_42, L_43);
(L_42)->SetAt(static_cast<il2cpp_array_size_t>(0), (Type_t *)L_43);
TypeU5BU5D_t1664964607* L_44 = L_42;
Type_t * L_45 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Single_t2076509932_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_44);
ArrayElementTypeCheck (L_44, L_45);
(L_44)->SetAt(static_cast<il2cpp_array_size_t>(1), (Type_t *)L_45);
TypeU5BU5D_t1664964607* L_46 = L_44;
Type_t * L_47 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(Int32_t2071877448_0_0_0_var), /*hidden argument*/NULL);
NullCheck(L_46);
ArrayElementTypeCheck (L_46, L_47);
(L_46)->SetAt(static_cast<il2cpp_array_size_t>(2), (Type_t *)L_47);
NullCheck(L_41);
MethodInfo_t * L_48 = Type_GetMethod_m2079823229(L_41, _stringLiteral3746308594, L_46, /*hidden argument*/NULL);
V_3 = L_48;
MethodInfo_t * L_49 = V_3;
if (!L_49)
{
goto IL_01ce;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Type_t_il2cpp_TypeInfo_var);
Type_t * L_50 = Type_GetTypeFromHandle_m432505302(NULL /*static, unused*/, LoadTypeToken(GetRayIntersectionAllCallback_t2213949596_0_0_0_var), /*hidden argument*/NULL);
MethodInfo_t * L_51 = V_3;
Delegate_t3022476291 * L_52 = ScriptingUtils_CreateDelegate_m1848023196(NULL /*static, unused*/, L_50, L_51, /*hidden argument*/NULL);
__this->set_getRayIntersectionAll_3(((GetRayIntersectionAllCallback_t2213949596 *)CastclassSealed(L_52, GetRayIntersectionAllCallback_t2213949596_il2cpp_TypeInfo_var)));
}
IL_01ce:
{
return;
}
}
// UnityEngine.UI.ReflectionMethodsCache UnityEngine.UI.ReflectionMethodsCache::get_Singleton()
extern "C" ReflectionMethodsCache_t3343836395 * ReflectionMethodsCache_get_Singleton_m2330935729 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ReflectionMethodsCache_get_Singleton_m2330935729_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ReflectionMethodsCache_t3343836395 * V_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(ReflectionMethodsCache_t3343836395_il2cpp_TypeInfo_var);
ReflectionMethodsCache_t3343836395 * L_0 = ((ReflectionMethodsCache_t3343836395_StaticFields*)ReflectionMethodsCache_t3343836395_il2cpp_TypeInfo_var->static_fields)->get_s_ReflectionMethodsCache_4();
if (L_0)
{
goto IL_0015;
}
}
{
ReflectionMethodsCache_t3343836395 * L_1 = (ReflectionMethodsCache_t3343836395 *)il2cpp_codegen_object_new(ReflectionMethodsCache_t3343836395_il2cpp_TypeInfo_var);
ReflectionMethodsCache__ctor_m1835220(L_1, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(ReflectionMethodsCache_t3343836395_il2cpp_TypeInfo_var);
((ReflectionMethodsCache_t3343836395_StaticFields*)ReflectionMethodsCache_t3343836395_il2cpp_TypeInfo_var->static_fields)->set_s_ReflectionMethodsCache_4(L_1);
}
IL_0015:
{
IL2CPP_RUNTIME_CLASS_INIT(ReflectionMethodsCache_t3343836395_il2cpp_TypeInfo_var);
ReflectionMethodsCache_t3343836395 * L_2 = ((ReflectionMethodsCache_t3343836395_StaticFields*)ReflectionMethodsCache_t3343836395_il2cpp_TypeInfo_var->static_fields)->get_s_ReflectionMethodsCache_4();
V_0 = L_2;
goto IL_0020;
}
IL_0020:
{
ReflectionMethodsCache_t3343836395 * L_3 = V_0;
return L_3;
}
}
// System.Void UnityEngine.UI.ReflectionMethodsCache::.cctor()
extern "C" void ReflectionMethodsCache__cctor_m2699179845 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ReflectionMethodsCache__cctor_m2699179845_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
((ReflectionMethodsCache_t3343836395_StaticFields*)ReflectionMethodsCache_t3343836395_il2cpp_TypeInfo_var->static_fields)->set_s_ReflectionMethodsCache_4((ReflectionMethodsCache_t3343836395 *)NULL);
return;
}
}
// System.Void UnityEngine.UI.ReflectionMethodsCache/GetRayIntersectionAllCallback::.ctor(System.Object,System.IntPtr)
extern "C" void GetRayIntersectionAllCallback__ctor_m958408444 (GetRayIntersectionAllCallback_t2213949596 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method)
{
__this->set_method_ptr_0((Il2CppMethodPointer)((MethodInfo*)___method1.get_m_value_0())->methodPointer);
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// UnityEngine.RaycastHit2D[] UnityEngine.UI.ReflectionMethodsCache/GetRayIntersectionAllCallback::Invoke(UnityEngine.Ray,System.Single,System.Int32)
extern "C" RaycastHit2DU5BU5D_t4176517891* GetRayIntersectionAllCallback_Invoke_m3406736891 (GetRayIntersectionAllCallback_t2213949596 * __this, Ray_t2469606224 ___r0, float ___f1, int32_t ___i2, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
GetRayIntersectionAllCallback_Invoke_m3406736891((GetRayIntersectionAllCallback_t2213949596 *)__this->get_prev_9(),___r0, ___f1, ___i2, 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 RaycastHit2DU5BU5D_t4176517891* (*FunctionPointerType) (Il2CppObject *, void* __this, Ray_t2469606224 ___r0, float ___f1, int32_t ___i2, const MethodInfo* method);
return ((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___r0, ___f1, ___i2,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef RaycastHit2DU5BU5D_t4176517891* (*FunctionPointerType) (void* __this, Ray_t2469606224 ___r0, float ___f1, int32_t ___i2, const MethodInfo* method);
return ((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___r0, ___f1, ___i2,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult UnityEngine.UI.ReflectionMethodsCache/GetRayIntersectionAllCallback::BeginInvoke(UnityEngine.Ray,System.Single,System.Int32,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * GetRayIntersectionAllCallback_BeginInvoke_m1307032462 (GetRayIntersectionAllCallback_t2213949596 * __this, Ray_t2469606224 ___r0, float ___f1, int32_t ___i2, AsyncCallback_t163412349 * ___callback3, Il2CppObject * ___object4, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (GetRayIntersectionAllCallback_BeginInvoke_m1307032462_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[4] = {0};
__d_args[0] = Box(Ray_t2469606224_il2cpp_TypeInfo_var, &___r0);
__d_args[1] = Box(Single_t2076509932_il2cpp_TypeInfo_var, &___f1);
__d_args[2] = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &___i2);
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback3, (Il2CppObject*)___object4);
}
// UnityEngine.RaycastHit2D[] UnityEngine.UI.ReflectionMethodsCache/GetRayIntersectionAllCallback::EndInvoke(System.IAsyncResult)
extern "C" RaycastHit2DU5BU5D_t4176517891* GetRayIntersectionAllCallback_EndInvoke_m3877463464 (GetRayIntersectionAllCallback_t2213949596 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
Il2CppObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return (RaycastHit2DU5BU5D_t4176517891*)__result;
}
// System.Void UnityEngine.UI.ReflectionMethodsCache/Raycast2DCallback::.ctor(System.Object,System.IntPtr)
extern "C" void Raycast2DCallback__ctor_m652601653 (Raycast2DCallback_t2260664863 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method)
{
__this->set_method_ptr_0((Il2CppMethodPointer)((MethodInfo*)___method1.get_m_value_0())->methodPointer);
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// UnityEngine.RaycastHit2D UnityEngine.UI.ReflectionMethodsCache/Raycast2DCallback::Invoke(UnityEngine.Vector2,UnityEngine.Vector2,System.Single,System.Int32)
extern "C" RaycastHit2D_t4063908774 Raycast2DCallback_Invoke_m3172972373 (Raycast2DCallback_t2260664863 * __this, Vector2_t2243707579 ___p10, Vector2_t2243707579 ___p21, float ___f2, int32_t ___i3, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
Raycast2DCallback_Invoke_m3172972373((Raycast2DCallback_t2260664863 *)__this->get_prev_9(),___p10, ___p21, ___f2, ___i3, 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 RaycastHit2D_t4063908774 (*FunctionPointerType) (Il2CppObject *, void* __this, Vector2_t2243707579 ___p10, Vector2_t2243707579 ___p21, float ___f2, int32_t ___i3, const MethodInfo* method);
return ((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___p10, ___p21, ___f2, ___i3,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef RaycastHit2D_t4063908774 (*FunctionPointerType) (void* __this, Vector2_t2243707579 ___p10, Vector2_t2243707579 ___p21, float ___f2, int32_t ___i3, const MethodInfo* method);
return ((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___p10, ___p21, ___f2, ___i3,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult UnityEngine.UI.ReflectionMethodsCache/Raycast2DCallback::BeginInvoke(UnityEngine.Vector2,UnityEngine.Vector2,System.Single,System.Int32,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * Raycast2DCallback_BeginInvoke_m4219004388 (Raycast2DCallback_t2260664863 * __this, Vector2_t2243707579 ___p10, Vector2_t2243707579 ___p21, float ___f2, int32_t ___i3, AsyncCallback_t163412349 * ___callback4, Il2CppObject * ___object5, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Raycast2DCallback_BeginInvoke_m4219004388_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[5] = {0};
__d_args[0] = Box(Vector2_t2243707579_il2cpp_TypeInfo_var, &___p10);
__d_args[1] = Box(Vector2_t2243707579_il2cpp_TypeInfo_var, &___p21);
__d_args[2] = Box(Single_t2076509932_il2cpp_TypeInfo_var, &___f2);
__d_args[3] = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &___i3);
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback4, (Il2CppObject*)___object5);
}
// UnityEngine.RaycastHit2D UnityEngine.UI.ReflectionMethodsCache/Raycast2DCallback::EndInvoke(System.IAsyncResult)
extern "C" RaycastHit2D_t4063908774 Raycast2DCallback_EndInvoke_m780407171 (Raycast2DCallback_t2260664863 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
Il2CppObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return *(RaycastHit2D_t4063908774 *)UnBox ((Il2CppCodeGenObject*)__result);
}
// System.Void UnityEngine.UI.ReflectionMethodsCache/Raycast3DCallback::.ctor(System.Object,System.IntPtr)
extern "C" void Raycast3DCallback__ctor_m1572862580 (Raycast3DCallback_t3928470916 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method)
{
__this->set_method_ptr_0((Il2CppMethodPointer)((MethodInfo*)___method1.get_m_value_0())->methodPointer);
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// System.Boolean UnityEngine.UI.ReflectionMethodsCache/Raycast3DCallback::Invoke(UnityEngine.Ray,UnityEngine.RaycastHit&,System.Single,System.Int32)
extern "C" bool Raycast3DCallback_Invoke_m2271859924 (Raycast3DCallback_t3928470916 * __this, Ray_t2469606224 ___r0, RaycastHit_t87180320 * ___hit1, float ___f2, int32_t ___i3, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
Raycast3DCallback_Invoke_m2271859924((Raycast3DCallback_t3928470916 *)__this->get_prev_9(),___r0, ___hit1, ___f2, ___i3, method);
}
il2cpp_codegen_raise_execution_engine_exception_if_method_is_not_found((MethodInfo*)(__this->get_method_3().get_m_value_0()));
bool ___methodIsStatic = MethodIsStatic((MethodInfo*)(__this->get_method_3().get_m_value_0()));
if (__this->get_m_target_2() != NULL && ___methodIsStatic)
{
typedef bool (*FunctionPointerType) (Il2CppObject *, void* __this, Ray_t2469606224 ___r0, RaycastHit_t87180320 * ___hit1, float ___f2, int32_t ___i3, const MethodInfo* method);
return ((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___r0, ___hit1, ___f2, ___i3,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef bool (*FunctionPointerType) (void* __this, Ray_t2469606224 ___r0, RaycastHit_t87180320 * ___hit1, float ___f2, int32_t ___i3, const MethodInfo* method);
return ((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___r0, ___hit1, ___f2, ___i3,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult UnityEngine.UI.ReflectionMethodsCache/Raycast3DCallback::BeginInvoke(UnityEngine.Ray,UnityEngine.RaycastHit&,System.Single,System.Int32,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * Raycast3DCallback_BeginInvoke_m3028685017 (Raycast3DCallback_t3928470916 * __this, Ray_t2469606224 ___r0, RaycastHit_t87180320 * ___hit1, float ___f2, int32_t ___i3, AsyncCallback_t163412349 * ___callback4, Il2CppObject * ___object5, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Raycast3DCallback_BeginInvoke_m3028685017_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[5] = {0};
__d_args[0] = Box(Ray_t2469606224_il2cpp_TypeInfo_var, &___r0);
__d_args[1] = Box(RaycastHit_t87180320_il2cpp_TypeInfo_var, &(*___hit1));
__d_args[2] = Box(Single_t2076509932_il2cpp_TypeInfo_var, &___f2);
__d_args[3] = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &___i3);
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback4, (Il2CppObject*)___object5);
}
// System.Boolean UnityEngine.UI.ReflectionMethodsCache/Raycast3DCallback::EndInvoke(UnityEngine.RaycastHit&,System.IAsyncResult)
extern "C" bool Raycast3DCallback_EndInvoke_m3234280377 (Raycast3DCallback_t3928470916 * __this, RaycastHit_t87180320 * ___hit0, Il2CppObject * ___result1, const MethodInfo* method)
{
void* ___out_args[] = {
___hit0,
};
Il2CppObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result1, ___out_args);
return *(bool*)UnBox ((Il2CppCodeGenObject*)__result);
}
// System.Void UnityEngine.UI.ReflectionMethodsCache/RaycastAllCallback::.ctor(System.Object,System.IntPtr)
extern "C" void RaycastAllCallback__ctor_m3281594834 (RaycastAllCallback_t3435657708 * __this, Il2CppObject * ___object0, IntPtr_t ___method1, const MethodInfo* method)
{
__this->set_method_ptr_0((Il2CppMethodPointer)((MethodInfo*)___method1.get_m_value_0())->methodPointer);
__this->set_method_3(___method1);
__this->set_m_target_2(___object0);
}
// UnityEngine.RaycastHit[] UnityEngine.UI.ReflectionMethodsCache/RaycastAllCallback::Invoke(UnityEngine.Ray,System.Single,System.Int32)
extern "C" RaycastHitU5BU5D_t1214023521* RaycastAllCallback_Invoke_m981876639 (RaycastAllCallback_t3435657708 * __this, Ray_t2469606224 ___r0, float ___f1, int32_t ___i2, const MethodInfo* method)
{
if(__this->get_prev_9() != NULL)
{
RaycastAllCallback_Invoke_m981876639((RaycastAllCallback_t3435657708 *)__this->get_prev_9(),___r0, ___f1, ___i2, 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 RaycastHitU5BU5D_t1214023521* (*FunctionPointerType) (Il2CppObject *, void* __this, Ray_t2469606224 ___r0, float ___f1, int32_t ___i2, const MethodInfo* method);
return ((FunctionPointerType)__this->get_method_ptr_0())(NULL,__this->get_m_target_2(),___r0, ___f1, ___i2,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
else
{
typedef RaycastHitU5BU5D_t1214023521* (*FunctionPointerType) (void* __this, Ray_t2469606224 ___r0, float ___f1, int32_t ___i2, const MethodInfo* method);
return ((FunctionPointerType)__this->get_method_ptr_0())(__this->get_m_target_2(),___r0, ___f1, ___i2,(MethodInfo*)(__this->get_method_3().get_m_value_0()));
}
}
// System.IAsyncResult UnityEngine.UI.ReflectionMethodsCache/RaycastAllCallback::BeginInvoke(UnityEngine.Ray,System.Single,System.Int32,System.AsyncCallback,System.Object)
extern "C" Il2CppObject * RaycastAllCallback_BeginInvoke_m861412204 (RaycastAllCallback_t3435657708 * __this, Ray_t2469606224 ___r0, float ___f1, int32_t ___i2, AsyncCallback_t163412349 * ___callback3, Il2CppObject * ___object4, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (RaycastAllCallback_BeginInvoke_m861412204_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
void *__d_args[4] = {0};
__d_args[0] = Box(Ray_t2469606224_il2cpp_TypeInfo_var, &___r0);
__d_args[1] = Box(Single_t2076509932_il2cpp_TypeInfo_var, &___f1);
__d_args[2] = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &___i2);
return (Il2CppObject *)il2cpp_codegen_delegate_begin_invoke((Il2CppDelegate*)__this, __d_args, (Il2CppDelegate*)___callback3, (Il2CppObject*)___object4);
}
// UnityEngine.RaycastHit[] UnityEngine.UI.ReflectionMethodsCache/RaycastAllCallback::EndInvoke(System.IAsyncResult)
extern "C" RaycastHitU5BU5D_t1214023521* RaycastAllCallback_EndInvoke_m2007065444 (RaycastAllCallback_t3435657708 * __this, Il2CppObject * ___result0, const MethodInfo* method)
{
Il2CppObject *__result = il2cpp_codegen_delegate_end_invoke((Il2CppAsyncResult*) ___result0, 0);
return (RaycastHitU5BU5D_t1214023521*)__result;
}
// System.Void UnityEngine.UI.Scrollbar::.ctor()
extern "C" void Scrollbar__ctor_m2244981801 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar__ctor_m2244981801_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_m_Direction_17(0);
__this->set_m_Size_19((0.2f));
__this->set_m_NumberOfSteps_20(0);
ScrollEvent_t1794825321 * L_0 = (ScrollEvent_t1794825321 *)il2cpp_codegen_object_new(ScrollEvent_t1794825321_il2cpp_TypeInfo_var);
ScrollEvent__ctor_m1258909311(L_0, /*hidden argument*/NULL);
__this->set_m_OnValueChanged_21(L_0);
Vector2_t2243707579 L_1 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_Offset_23(L_1);
__this->set_isPointerDownAndNotDragging_26((bool)0);
IL2CPP_RUNTIME_CLASS_INIT(Selectable_t1490392188_il2cpp_TypeInfo_var);
Selectable__ctor_m1440593935(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.RectTransform UnityEngine.UI.Scrollbar::get_handleRect()
extern "C" RectTransform_t3349966182 * Scrollbar_get_handleRect_m3657594764 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
RectTransform_t3349966182 * V_0 = NULL;
{
RectTransform_t3349966182 * L_0 = __this->get_m_HandleRect_16();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
RectTransform_t3349966182 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Scrollbar::set_handleRect(UnityEngine.RectTransform)
extern "C" void Scrollbar_set_handleRect_m596734077 (Scrollbar_t3248359358 * __this, RectTransform_t3349966182 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_set_handleRect_m596734077_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RectTransform_t3349966182 ** L_0 = __this->get_address_of_m_HandleRect_16();
RectTransform_t3349966182 * L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetClass_TisRectTransform_t3349966182_m3360806591(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetClass_TisRectTransform_t3349966182_m3360806591_MethodInfo_var);
if (!L_2)
{
goto IL_0020;
}
}
{
Scrollbar_UpdateCachedReferences_m3295556124(__this, /*hidden argument*/NULL);
Scrollbar_UpdateVisuals_m2935018543(__this, /*hidden argument*/NULL);
}
IL_0020:
{
return;
}
}
// UnityEngine.UI.Scrollbar/Direction UnityEngine.UI.Scrollbar::get_direction()
extern "C" int32_t Scrollbar_get_direction_m3041952077 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_m_Direction_17();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Scrollbar::set_direction(UnityEngine.UI.Scrollbar/Direction)
extern "C" void Scrollbar_set_direction_m1388523458 (Scrollbar_t3248359358 * __this, int32_t ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_set_direction_m1388523458_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t* L_0 = __this->get_address_of_m_Direction_17();
int32_t L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetStruct_TisDirection_t3696775921_m2182046118(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisDirection_t3696775921_m2182046118_MethodInfo_var);
if (!L_2)
{
goto IL_0018;
}
}
{
Scrollbar_UpdateVisuals_m2935018543(__this, /*hidden argument*/NULL);
}
IL_0018:
{
return;
}
}
// System.Single UnityEngine.UI.Scrollbar::get_value()
extern "C" float Scrollbar_get_value_m3913193633 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_get_value_m3913193633_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
{
float L_0 = __this->get_m_Value_18();
V_0 = L_0;
int32_t L_1 = __this->get_m_NumberOfSteps_20();
if ((((int32_t)L_1) <= ((int32_t)1)))
{
goto IL_002f;
}
}
{
float L_2 = V_0;
int32_t L_3 = __this->get_m_NumberOfSteps_20();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_4 = bankers_roundf(((float)((float)L_2*(float)(((float)((float)((int32_t)((int32_t)L_3-(int32_t)1))))))));
int32_t L_5 = __this->get_m_NumberOfSteps_20();
V_0 = ((float)((float)L_4/(float)(((float)((float)((int32_t)((int32_t)L_5-(int32_t)1)))))));
}
IL_002f:
{
float L_6 = V_0;
V_1 = L_6;
goto IL_0036;
}
IL_0036:
{
float L_7 = V_1;
return L_7;
}
}
// System.Void UnityEngine.UI.Scrollbar::set_value(System.Single)
extern "C" void Scrollbar_set_value_m1056753036 (Scrollbar_t3248359358 * __this, float ___value0, const MethodInfo* method)
{
{
float L_0 = ___value0;
Scrollbar_Set_m244028386(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Single UnityEngine.UI.Scrollbar::get_size()
extern "C" float Scrollbar_get_size_m247135391 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->get_m_Size_19();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
float L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Scrollbar::set_size(System.Single)
extern "C" void Scrollbar_set_size_m2088196430 (Scrollbar_t3248359358 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_set_size_m2088196430_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
float* L_0 = __this->get_address_of_m_Size_19();
float L_1 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_2 = Mathf_Clamp01_m3888954684(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
bool L_3 = SetPropertyUtility_SetStruct_TisSingle_t2076509932_m3849235084(NULL /*static, unused*/, L_0, L_2, /*hidden argument*/SetPropertyUtility_SetStruct_TisSingle_t2076509932_m3849235084_MethodInfo_var);
if (!L_3)
{
goto IL_001d;
}
}
{
Scrollbar_UpdateVisuals_m2935018543(__this, /*hidden argument*/NULL);
}
IL_001d:
{
return;
}
}
// System.Int32 UnityEngine.UI.Scrollbar::get_numberOfSteps()
extern "C" int32_t Scrollbar_get_numberOfSteps_m3604735905 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_m_NumberOfSteps_20();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Scrollbar::set_numberOfSteps(System.Int32)
extern "C" void Scrollbar_set_numberOfSteps_m579707524 (Scrollbar_t3248359358 * __this, int32_t ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_set_numberOfSteps_m579707524_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t* L_0 = __this->get_address_of_m_NumberOfSteps_20();
int32_t L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetStruct_TisInt32_t2071877448_m2056826294(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisInt32_t2071877448_m2056826294_MethodInfo_var);
if (!L_2)
{
goto IL_0026;
}
}
{
float L_3 = __this->get_m_Value_18();
Scrollbar_Set_m244028386(__this, L_3, /*hidden argument*/NULL);
Scrollbar_UpdateVisuals_m2935018543(__this, /*hidden argument*/NULL);
}
IL_0026:
{
return;
}
}
// UnityEngine.UI.Scrollbar/ScrollEvent UnityEngine.UI.Scrollbar::get_onValueChanged()
extern "C" ScrollEvent_t1794825321 * Scrollbar_get_onValueChanged_m2506773176 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
ScrollEvent_t1794825321 * V_0 = NULL;
{
ScrollEvent_t1794825321 * L_0 = __this->get_m_OnValueChanged_21();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
ScrollEvent_t1794825321 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Scrollbar::set_onValueChanged(UnityEngine.UI.Scrollbar/ScrollEvent)
extern "C" void Scrollbar_set_onValueChanged_m2954631035 (Scrollbar_t3248359358 * __this, ScrollEvent_t1794825321 * ___value0, const MethodInfo* method)
{
{
ScrollEvent_t1794825321 * L_0 = ___value0;
__this->set_m_OnValueChanged_21(L_0);
return;
}
}
// System.Single UnityEngine.UI.Scrollbar::get_stepSize()
extern "C" float Scrollbar_get_stepSize_m244845137 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
float G_B3_0 = 0.0f;
{
int32_t L_0 = __this->get_m_NumberOfSteps_20();
if ((((int32_t)L_0) <= ((int32_t)1)))
{
goto IL_0021;
}
}
{
int32_t L_1 = __this->get_m_NumberOfSteps_20();
G_B3_0 = ((float)((float)(1.0f)/(float)(((float)((float)((int32_t)((int32_t)L_1-(int32_t)1)))))));
goto IL_0026;
}
IL_0021:
{
G_B3_0 = (0.1f);
}
IL_0026:
{
V_0 = G_B3_0;
goto IL_002c;
}
IL_002c:
{
float L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Scrollbar::Rebuild(UnityEngine.UI.CanvasUpdate)
extern "C" void Scrollbar_Rebuild_m3505386904 (Scrollbar_t3248359358 * __this, int32_t ___executing0, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::LayoutComplete()
extern "C" void Scrollbar_LayoutComplete_m2444839688 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::GraphicUpdateComplete()
extern "C" void Scrollbar_GraphicUpdateComplete_m3342840631 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::OnEnable()
extern "C" void Scrollbar_OnEnable_m3769727025 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
{
Selectable_OnEnable_m3825327683(__this, /*hidden argument*/NULL);
Scrollbar_UpdateCachedReferences_m3295556124(__this, /*hidden argument*/NULL);
float L_0 = __this->get_m_Value_18();
Scrollbar_Set_m3993445697(__this, L_0, (bool)0, /*hidden argument*/NULL);
Scrollbar_UpdateVisuals_m2935018543(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::OnDisable()
extern "C" void Scrollbar_OnDisable_m2434913122 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
{
DrivenRectTransformTracker_t154385424 * L_0 = __this->get_address_of_m_Tracker_24();
DrivenRectTransformTracker_Clear_m864483440(L_0, /*hidden argument*/NULL);
Selectable_OnDisable_m2660228016(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::UpdateCachedReferences()
extern "C" void Scrollbar_UpdateCachedReferences_m3295556124 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_UpdateCachedReferences_m3295556124_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RectTransform_t3349966182 * L_0 = __this->get_m_HandleRect_16();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0042;
}
}
{
RectTransform_t3349966182 * L_2 = __this->get_m_HandleRect_16();
NullCheck(L_2);
Transform_t3275118058 * L_3 = Transform_get_parent_m147407266(L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_3, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0042;
}
}
{
RectTransform_t3349966182 * L_5 = __this->get_m_HandleRect_16();
NullCheck(L_5);
Transform_t3275118058 * L_6 = Transform_get_parent_m147407266(L_5, /*hidden argument*/NULL);
NullCheck(L_6);
RectTransform_t3349966182 * L_7 = Component_GetComponent_TisRectTransform_t3349966182_m1310250299(L_6, /*hidden argument*/Component_GetComponent_TisRectTransform_t3349966182_m1310250299_MethodInfo_var);
__this->set_m_ContainerRect_22(L_7);
goto IL_0049;
}
IL_0042:
{
__this->set_m_ContainerRect_22((RectTransform_t3349966182 *)NULL);
}
IL_0049:
{
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::Set(System.Single)
extern "C" void Scrollbar_Set_m244028386 (Scrollbar_t3248359358 * __this, float ___input0, const MethodInfo* method)
{
{
float L_0 = ___input0;
Scrollbar_Set_m3993445697(__this, L_0, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::Set(System.Single,System.Boolean)
extern "C" void Scrollbar_Set_m3993445697 (Scrollbar_t3248359358 * __this, float ___input0, bool ___sendCallback1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_Set_m3993445697_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
float L_0 = __this->get_m_Value_18();
V_0 = L_0;
float L_1 = ___input0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_2 = Mathf_Clamp01_m3888954684(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
__this->set_m_Value_18(L_2);
float L_3 = V_0;
float L_4 = Scrollbar_get_value_m3913193633(__this, /*hidden argument*/NULL);
if ((!(((float)L_3) == ((float)L_4))))
{
goto IL_0025;
}
}
{
goto IL_0042;
}
IL_0025:
{
Scrollbar_UpdateVisuals_m2935018543(__this, /*hidden argument*/NULL);
bool L_5 = ___sendCallback1;
if (!L_5)
{
goto IL_0042;
}
}
{
ScrollEvent_t1794825321 * L_6 = __this->get_m_OnValueChanged_21();
float L_7 = Scrollbar_get_value_m3913193633(__this, /*hidden argument*/NULL);
NullCheck(L_6);
UnityEvent_1_Invoke_m1298892870(L_6, L_7, /*hidden argument*/UnityEvent_1_Invoke_m1298892870_MethodInfo_var);
}
IL_0042:
{
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::OnRectTransformDimensionsChange()
extern "C" void Scrollbar_OnRectTransformDimensionsChange_m330142657 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
{
UIBehaviour_OnRectTransformDimensionsChange_m2743105076(__this, /*hidden argument*/NULL);
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_0)
{
goto IL_0017;
}
}
{
goto IL_001d;
}
IL_0017:
{
Scrollbar_UpdateVisuals_m2935018543(__this, /*hidden argument*/NULL);
}
IL_001d:
{
return;
}
}
// UnityEngine.UI.Scrollbar/Axis UnityEngine.UI.Scrollbar::get_axis()
extern "C" int32_t Scrollbar_get_axis_m2254740629 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
int32_t L_0 = __this->get_m_Direction_17();
if (!L_0)
{
goto IL_0018;
}
}
{
int32_t L_1 = __this->get_m_Direction_17();
if ((!(((uint32_t)L_1) == ((uint32_t)1))))
{
goto IL_001e;
}
}
IL_0018:
{
G_B4_0 = 0;
goto IL_001f;
}
IL_001e:
{
G_B4_0 = 1;
}
IL_001f:
{
V_0 = G_B4_0;
goto IL_0025;
}
IL_0025:
{
int32_t L_2 = V_0;
return L_2;
}
}
// System.Boolean UnityEngine.UI.Scrollbar::get_reverseValue()
extern "C" bool Scrollbar_get_reverseValue_m1971418883 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
bool V_0 = false;
int32_t G_B3_0 = 0;
{
int32_t L_0 = __this->get_m_Direction_17();
if ((((int32_t)L_0) == ((int32_t)1)))
{
goto IL_0018;
}
}
{
int32_t L_1 = __this->get_m_Direction_17();
G_B3_0 = ((((int32_t)L_1) == ((int32_t)3))? 1 : 0);
goto IL_0019;
}
IL_0018:
{
G_B3_0 = 1;
}
IL_0019:
{
V_0 = (bool)G_B3_0;
goto IL_001f;
}
IL_001f:
{
bool L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Scrollbar::UpdateVisuals()
extern "C" void Scrollbar_UpdateVisuals_m2935018543 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_UpdateVisuals_m2935018543_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector2_t2243707579 V_1;
memset(&V_1, 0, sizeof(V_1));
float V_2 = 0.0f;
{
DrivenRectTransformTracker_t154385424 * L_0 = __this->get_address_of_m_Tracker_24();
DrivenRectTransformTracker_Clear_m864483440(L_0, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_1 = __this->get_m_ContainerRect_22();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_00d4;
}
}
{
DrivenRectTransformTracker_t154385424 * L_3 = __this->get_address_of_m_Tracker_24();
RectTransform_t3349966182 * L_4 = __this->get_m_HandleRect_16();
DrivenRectTransformTracker_Add_m310530075(L_3, __this, L_4, ((int32_t)3840), /*hidden argument*/NULL);
Vector2_t2243707579 L_5 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_5;
Vector2_t2243707579 L_6 = Vector2_get_one_m3174311904(NULL /*static, unused*/, /*hidden argument*/NULL);
V_1 = L_6;
float L_7 = Scrollbar_get_value_m3913193633(__this, /*hidden argument*/NULL);
float L_8 = Scrollbar_get_size_m247135391(__this, /*hidden argument*/NULL);
V_2 = ((float)((float)L_7*(float)((float)((float)(1.0f)-(float)L_8))));
bool L_9 = Scrollbar_get_reverseValue_m1971418883(__this, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_0096;
}
}
{
int32_t L_10 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
float L_11 = V_2;
float L_12 = Scrollbar_get_size_m247135391(__this, /*hidden argument*/NULL);
Vector2_set_Item_m3881967114((&V_0), L_10, ((float)((float)((float)((float)(1.0f)-(float)L_11))-(float)L_12)), /*hidden argument*/NULL);
int32_t L_13 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
float L_14 = V_2;
Vector2_set_Item_m3881967114((&V_1), L_13, ((float)((float)(1.0f)-(float)L_14)), /*hidden argument*/NULL);
goto IL_00bb;
}
IL_0096:
{
int32_t L_15 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
float L_16 = V_2;
Vector2_set_Item_m3881967114((&V_0), L_15, L_16, /*hidden argument*/NULL);
int32_t L_17 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
float L_18 = V_2;
float L_19 = Scrollbar_get_size_m247135391(__this, /*hidden argument*/NULL);
Vector2_set_Item_m3881967114((&V_1), L_17, ((float)((float)L_18+(float)L_19)), /*hidden argument*/NULL);
}
IL_00bb:
{
RectTransform_t3349966182 * L_20 = __this->get_m_HandleRect_16();
Vector2_t2243707579 L_21 = V_0;
NullCheck(L_20);
RectTransform_set_anchorMin_m4247668187(L_20, L_21, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_22 = __this->get_m_HandleRect_16();
Vector2_t2243707579 L_23 = V_1;
NullCheck(L_22);
RectTransform_set_anchorMax_m2955899993(L_22, L_23, /*hidden argument*/NULL);
}
IL_00d4:
{
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::UpdateDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" void Scrollbar_UpdateDrag_m3839695926 (Scrollbar_t3248359358 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_UpdateDrag_m3839695926_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector2_t2243707579 V_1;
memset(&V_1, 0, sizeof(V_1));
Rect_t3681755626 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector2_t2243707579 V_3;
memset(&V_3, 0, sizeof(V_3));
Rect_t3681755626 V_4;
memset(&V_4, 0, sizeof(V_4));
float V_5 = 0.0f;
Rect_t3681755626 V_6;
memset(&V_6, 0, sizeof(V_6));
Rect_t3681755626 V_7;
memset(&V_7, 0, sizeof(V_7));
float V_8 = 0.0f;
int32_t V_9 = 0;
float G_B9_0 = 0.0f;
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
NullCheck(L_0);
int32_t L_1 = PointerEventData_get_button_m2339189303(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0011;
}
}
{
goto IL_0184;
}
IL_0011:
{
RectTransform_t3349966182 * L_2 = __this->get_m_ContainerRect_22();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_2, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0027;
}
}
{
goto IL_0184;
}
IL_0027:
{
RectTransform_t3349966182 * L_4 = __this->get_m_ContainerRect_22();
PointerEventData_t1599784723 * L_5 = ___eventData0;
NullCheck(L_5);
Vector2_t2243707579 L_6 = PointerEventData_get_position_m2131765015(L_5, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_7 = ___eventData0;
NullCheck(L_7);
Camera_t189460977 * L_8 = PointerEventData_get_pressEventCamera_m724559964(L_7, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
bool L_9 = RectTransformUtility_ScreenPointToLocalPointInRectangle_m2398565080(NULL /*static, unused*/, L_4, L_6, L_8, (&V_0), /*hidden argument*/NULL);
if (L_9)
{
goto IL_004a;
}
}
{
goto IL_0184;
}
IL_004a:
{
Vector2_t2243707579 L_10 = V_0;
Vector2_t2243707579 L_11 = __this->get_m_Offset_23();
Vector2_t2243707579 L_12 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_10, L_11, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_13 = __this->get_m_ContainerRect_22();
NullCheck(L_13);
Rect_t3681755626 L_14 = RectTransform_get_rect_m73954734(L_13, /*hidden argument*/NULL);
V_2 = L_14;
Vector2_t2243707579 L_15 = Rect_get_position_m24550734((&V_2), /*hidden argument*/NULL);
Vector2_t2243707579 L_16 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_12, L_15, /*hidden argument*/NULL);
V_1 = L_16;
Vector2_t2243707579 L_17 = V_1;
RectTransform_t3349966182 * L_18 = __this->get_m_HandleRect_16();
NullCheck(L_18);
Rect_t3681755626 L_19 = RectTransform_get_rect_m73954734(L_18, /*hidden argument*/NULL);
V_4 = L_19;
Vector2_t2243707579 L_20 = Rect_get_size_m3833121112((&V_4), /*hidden argument*/NULL);
RectTransform_t3349966182 * L_21 = __this->get_m_HandleRect_16();
NullCheck(L_21);
Vector2_t2243707579 L_22 = RectTransform_get_sizeDelta_m2157326342(L_21, /*hidden argument*/NULL);
Vector2_t2243707579 L_23 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_20, L_22, /*hidden argument*/NULL);
Vector2_t2243707579 L_24 = Vector2_op_Multiply_m4236139442(NULL /*static, unused*/, L_23, (0.5f), /*hidden argument*/NULL);
Vector2_t2243707579 L_25 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_17, L_24, /*hidden argument*/NULL);
V_3 = L_25;
int32_t L_26 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
if (L_26)
{
goto IL_00c8;
}
}
{
RectTransform_t3349966182 * L_27 = __this->get_m_ContainerRect_22();
NullCheck(L_27);
Rect_t3681755626 L_28 = RectTransform_get_rect_m73954734(L_27, /*hidden argument*/NULL);
V_6 = L_28;
float L_29 = Rect_get_width_m1138015702((&V_6), /*hidden argument*/NULL);
G_B9_0 = L_29;
goto IL_00dc;
}
IL_00c8:
{
RectTransform_t3349966182 * L_30 = __this->get_m_ContainerRect_22();
NullCheck(L_30);
Rect_t3681755626 L_31 = RectTransform_get_rect_m73954734(L_30, /*hidden argument*/NULL);
V_7 = L_31;
float L_32 = Rect_get_height_m3128694305((&V_7), /*hidden argument*/NULL);
G_B9_0 = L_32;
}
IL_00dc:
{
V_5 = G_B9_0;
float L_33 = V_5;
float L_34 = Scrollbar_get_size_m247135391(__this, /*hidden argument*/NULL);
V_8 = ((float)((float)L_33*(float)((float)((float)(1.0f)-(float)L_34))));
float L_35 = V_8;
if ((!(((float)L_35) <= ((float)(0.0f)))))
{
goto IL_0100;
}
}
{
goto IL_0184;
}
IL_0100:
{
int32_t L_36 = __this->get_m_Direction_17();
V_9 = L_36;
int32_t L_37 = V_9;
switch (L_37)
{
case 0:
{
goto IL_0124;
}
case 1:
{
goto IL_0139;
}
case 2:
{
goto IL_0154;
}
case 3:
{
goto IL_0169;
}
}
}
{
goto IL_0184;
}
IL_0124:
{
float L_38 = (&V_3)->get_x_0();
float L_39 = V_8;
Scrollbar_Set_m244028386(__this, ((float)((float)L_38/(float)L_39)), /*hidden argument*/NULL);
goto IL_0184;
}
IL_0139:
{
float L_40 = (&V_3)->get_x_0();
float L_41 = V_8;
Scrollbar_Set_m244028386(__this, ((float)((float)(1.0f)-(float)((float)((float)L_40/(float)L_41)))), /*hidden argument*/NULL);
goto IL_0184;
}
IL_0154:
{
float L_42 = (&V_3)->get_y_1();
float L_43 = V_8;
Scrollbar_Set_m244028386(__this, ((float)((float)L_42/(float)L_43)), /*hidden argument*/NULL);
goto IL_0184;
}
IL_0169:
{
float L_44 = (&V_3)->get_y_1();
float L_45 = V_8;
Scrollbar_Set_m244028386(__this, ((float)((float)(1.0f)-(float)((float)((float)L_44/(float)L_45)))), /*hidden argument*/NULL);
goto IL_0184;
}
IL_0184:
{
return;
}
}
// System.Boolean UnityEngine.UI.Scrollbar::MayDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" bool Scrollbar_MayDrag_m1332926026 (Scrollbar_t3248359358 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
bool V_0 = false;
int32_t G_B4_0 = 0;
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_0)
{
goto IL_0022;
}
}
{
bool L_1 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this);
if (!L_1)
{
goto IL_0022;
}
}
{
PointerEventData_t1599784723 * L_2 = ___eventData0;
NullCheck(L_2);
int32_t L_3 = PointerEventData_get_button_m2339189303(L_2, /*hidden argument*/NULL);
G_B4_0 = ((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
goto IL_0023;
}
IL_0022:
{
G_B4_0 = 0;
}
IL_0023:
{
V_0 = (bool)G_B4_0;
goto IL_0029;
}
IL_0029:
{
bool L_4 = V_0;
return L_4;
}
}
// System.Void UnityEngine.UI.Scrollbar::OnBeginDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" void Scrollbar_OnBeginDrag_m574021735 (Scrollbar_t3248359358 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_OnBeginDrag_m574021735_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
Rect_t3681755626 V_1;
memset(&V_1, 0, sizeof(V_1));
{
__this->set_isPointerDownAndNotDragging_26((bool)0);
PointerEventData_t1599784723 * L_0 = ___eventData0;
bool L_1 = Scrollbar_MayDrag_m1332926026(__this, L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0019;
}
}
{
goto IL_0095;
}
IL_0019:
{
RectTransform_t3349966182 * L_2 = __this->get_m_ContainerRect_22();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_2, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_002f;
}
}
{
goto IL_0095;
}
IL_002f:
{
Vector2_t2243707579 L_4 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_Offset_23(L_4);
RectTransform_t3349966182 * L_5 = __this->get_m_HandleRect_16();
PointerEventData_t1599784723 * L_6 = ___eventData0;
NullCheck(L_6);
Vector2_t2243707579 L_7 = PointerEventData_get_position_m2131765015(L_6, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_8 = ___eventData0;
NullCheck(L_8);
Camera_t189460977 * L_9 = PointerEventData_get_enterEventCamera_m1539996745(L_8, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
bool L_10 = RectTransformUtility_RectangleContainsScreenPoint_m1244853728(NULL /*static, unused*/, L_5, L_7, L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_0095;
}
}
{
RectTransform_t3349966182 * L_11 = __this->get_m_HandleRect_16();
PointerEventData_t1599784723 * L_12 = ___eventData0;
NullCheck(L_12);
Vector2_t2243707579 L_13 = PointerEventData_get_position_m2131765015(L_12, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_14 = ___eventData0;
NullCheck(L_14);
Camera_t189460977 * L_15 = PointerEventData_get_pressEventCamera_m724559964(L_14, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
bool L_16 = RectTransformUtility_ScreenPointToLocalPointInRectangle_m2398565080(NULL /*static, unused*/, L_11, L_13, L_15, (&V_0), /*hidden argument*/NULL);
if (!L_16)
{
goto IL_0094;
}
}
{
Vector2_t2243707579 L_17 = V_0;
RectTransform_t3349966182 * L_18 = __this->get_m_HandleRect_16();
NullCheck(L_18);
Rect_t3681755626 L_19 = RectTransform_get_rect_m73954734(L_18, /*hidden argument*/NULL);
V_1 = L_19;
Vector2_t2243707579 L_20 = Rect_get_center_m3049923624((&V_1), /*hidden argument*/NULL);
Vector2_t2243707579 L_21 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_17, L_20, /*hidden argument*/NULL);
__this->set_m_Offset_23(L_21);
}
IL_0094:
{
}
IL_0095:
{
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::OnDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" void Scrollbar_OnDrag_m3231798634 (Scrollbar_t3248359358 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_OnDrag_m3231798634_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
bool L_1 = Scrollbar_MayDrag_m1332926026(__this, L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0012;
}
}
{
goto IL_002a;
}
IL_0012:
{
RectTransform_t3349966182 * L_2 = __this->get_m_ContainerRect_22();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_2, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_002a;
}
}
{
PointerEventData_t1599784723 * L_4 = ___eventData0;
Scrollbar_UpdateDrag_m3839695926(__this, L_4, /*hidden argument*/NULL);
}
IL_002a:
{
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::OnPointerDown(UnityEngine.EventSystems.PointerEventData)
extern "C" void Scrollbar_OnPointerDown_m1614863933 (Scrollbar_t3248359358 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
bool L_1 = Scrollbar_MayDrag_m1332926026(__this, L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0012;
}
}
{
goto IL_0033;
}
IL_0012:
{
PointerEventData_t1599784723 * L_2 = ___eventData0;
Selectable_OnPointerDown_m3110480835(__this, L_2, /*hidden argument*/NULL);
__this->set_isPointerDownAndNotDragging_26((bool)1);
PointerEventData_t1599784723 * L_3 = ___eventData0;
Il2CppObject * L_4 = Scrollbar_ClickRepeat_m3403943364(__this, L_3, /*hidden argument*/NULL);
Coroutine_t2299508840 * L_5 = MonoBehaviour_StartCoroutine_m2470621050(__this, L_4, /*hidden argument*/NULL);
__this->set_m_PointerDownRepeat_25(L_5);
}
IL_0033:
{
return;
}
}
// System.Collections.IEnumerator UnityEngine.UI.Scrollbar::ClickRepeat(UnityEngine.EventSystems.PointerEventData)
extern "C" Il2CppObject * Scrollbar_ClickRepeat_m3403943364 (Scrollbar_t3248359358 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_ClickRepeat_m3403943364_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
U3CClickRepeatU3Ec__Iterator0_t4156771994 * V_0 = NULL;
Il2CppObject * V_1 = NULL;
{
U3CClickRepeatU3Ec__Iterator0_t4156771994 * L_0 = (U3CClickRepeatU3Ec__Iterator0_t4156771994 *)il2cpp_codegen_object_new(U3CClickRepeatU3Ec__Iterator0_t4156771994_il2cpp_TypeInfo_var);
U3CClickRepeatU3Ec__Iterator0__ctor_m1515509136(L_0, /*hidden argument*/NULL);
V_0 = L_0;
U3CClickRepeatU3Ec__Iterator0_t4156771994 * L_1 = V_0;
PointerEventData_t1599784723 * L_2 = ___eventData0;
NullCheck(L_1);
L_1->set_eventData_0(L_2);
U3CClickRepeatU3Ec__Iterator0_t4156771994 * L_3 = V_0;
NullCheck(L_3);
L_3->set_U24this_1(__this);
U3CClickRepeatU3Ec__Iterator0_t4156771994 * L_4 = V_0;
V_1 = L_4;
goto IL_001b;
}
IL_001b:
{
Il2CppObject * L_5 = V_1;
return L_5;
}
}
// System.Void UnityEngine.UI.Scrollbar::OnPointerUp(UnityEngine.EventSystems.PointerEventData)
extern "C" void Scrollbar_OnPointerUp_m3865268138 (Scrollbar_t3248359358 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
Selectable_OnPointerUp_m3316013008(__this, L_0, /*hidden argument*/NULL);
__this->set_isPointerDownAndNotDragging_26((bool)0);
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::OnMove(UnityEngine.EventSystems.AxisEventData)
extern "C" void Scrollbar_OnMove_m2464650737 (Scrollbar_t3248359358 * __this, AxisEventData_t1524870173 * ___eventData0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_OnMove_m2464650737_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Scrollbar_t3248359358 * G_B9_0 = NULL;
Scrollbar_t3248359358 * G_B8_0 = NULL;
float G_B10_0 = 0.0f;
Scrollbar_t3248359358 * G_B10_1 = NULL;
Scrollbar_t3248359358 * G_B17_0 = NULL;
Scrollbar_t3248359358 * G_B16_0 = NULL;
float G_B18_0 = 0.0f;
Scrollbar_t3248359358 * G_B18_1 = NULL;
Scrollbar_t3248359358 * G_B25_0 = NULL;
Scrollbar_t3248359358 * G_B24_0 = NULL;
float G_B26_0 = 0.0f;
Scrollbar_t3248359358 * G_B26_1 = NULL;
Scrollbar_t3248359358 * G_B33_0 = NULL;
Scrollbar_t3248359358 * G_B32_0 = NULL;
float G_B34_0 = 0.0f;
Scrollbar_t3248359358 * G_B34_1 = NULL;
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_0)
{
goto IL_0017;
}
}
{
bool L_1 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this);
if (L_1)
{
goto IL_0024;
}
}
IL_0017:
{
AxisEventData_t1524870173 * L_2 = ___eventData0;
Selectable_OnMove_m2019752219(__this, L_2, /*hidden argument*/NULL);
goto IL_01bc;
}
IL_0024:
{
AxisEventData_t1524870173 * L_3 = ___eventData0;
NullCheck(L_3);
int32_t L_4 = AxisEventData_get_moveDir_m3968662359(L_3, /*hidden argument*/NULL);
V_0 = L_4;
int32_t L_5 = V_0;
switch (L_5)
{
case 0:
{
goto IL_0046;
}
case 1:
{
goto IL_0100;
}
case 2:
{
goto IL_00a3;
}
case 3:
{
goto IL_015e;
}
}
}
{
goto IL_01bc;
}
IL_0046:
{
int32_t L_6 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0097;
}
}
{
Selectable_t1490392188 * L_7 = VirtFuncInvoker0< Selectable_t1490392188 * >::Invoke(27 /* UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnLeft() */, __this);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_7, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0097;
}
}
{
bool L_9 = Scrollbar_get_reverseValue_m1971418883(__this, /*hidden argument*/NULL);
G_B8_0 = __this;
if (!L_9)
{
G_B9_0 = __this;
goto IL_0080;
}
}
{
float L_10 = Scrollbar_get_value_m3913193633(__this, /*hidden argument*/NULL);
float L_11 = Scrollbar_get_stepSize_m244845137(__this, /*hidden argument*/NULL);
G_B10_0 = ((float)((float)L_10+(float)L_11));
G_B10_1 = G_B8_0;
goto IL_008d;
}
IL_0080:
{
float L_12 = Scrollbar_get_value_m3913193633(__this, /*hidden argument*/NULL);
float L_13 = Scrollbar_get_stepSize_m244845137(__this, /*hidden argument*/NULL);
G_B10_0 = ((float)((float)L_12-(float)L_13));
G_B10_1 = G_B9_0;
}
IL_008d:
{
NullCheck(G_B10_1);
Scrollbar_Set_m244028386(G_B10_1, G_B10_0, /*hidden argument*/NULL);
goto IL_009e;
}
IL_0097:
{
AxisEventData_t1524870173 * L_14 = ___eventData0;
Selectable_OnMove_m2019752219(__this, L_14, /*hidden argument*/NULL);
}
IL_009e:
{
goto IL_01bc;
}
IL_00a3:
{
int32_t L_15 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
if (L_15)
{
goto IL_00f4;
}
}
{
Selectable_t1490392188 * L_16 = VirtFuncInvoker0< Selectable_t1490392188 * >::Invoke(28 /* UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnRight() */, __this);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_17 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_16, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_17)
{
goto IL_00f4;
}
}
{
bool L_18 = Scrollbar_get_reverseValue_m1971418883(__this, /*hidden argument*/NULL);
G_B16_0 = __this;
if (!L_18)
{
G_B17_0 = __this;
goto IL_00dd;
}
}
{
float L_19 = Scrollbar_get_value_m3913193633(__this, /*hidden argument*/NULL);
float L_20 = Scrollbar_get_stepSize_m244845137(__this, /*hidden argument*/NULL);
G_B18_0 = ((float)((float)L_19-(float)L_20));
G_B18_1 = G_B16_0;
goto IL_00ea;
}
IL_00dd:
{
float L_21 = Scrollbar_get_value_m3913193633(__this, /*hidden argument*/NULL);
float L_22 = Scrollbar_get_stepSize_m244845137(__this, /*hidden argument*/NULL);
G_B18_0 = ((float)((float)L_21+(float)L_22));
G_B18_1 = G_B17_0;
}
IL_00ea:
{
NullCheck(G_B18_1);
Scrollbar_Set_m244028386(G_B18_1, G_B18_0, /*hidden argument*/NULL);
goto IL_00fb;
}
IL_00f4:
{
AxisEventData_t1524870173 * L_23 = ___eventData0;
Selectable_OnMove_m2019752219(__this, L_23, /*hidden argument*/NULL);
}
IL_00fb:
{
goto IL_01bc;
}
IL_0100:
{
int32_t L_24 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_24) == ((uint32_t)1))))
{
goto IL_0152;
}
}
{
Selectable_t1490392188 * L_25 = VirtFuncInvoker0< Selectable_t1490392188 * >::Invoke(29 /* UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnUp() */, __this);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_26 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_25, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_26)
{
goto IL_0152;
}
}
{
bool L_27 = Scrollbar_get_reverseValue_m1971418883(__this, /*hidden argument*/NULL);
G_B24_0 = __this;
if (!L_27)
{
G_B25_0 = __this;
goto IL_013b;
}
}
{
float L_28 = Scrollbar_get_value_m3913193633(__this, /*hidden argument*/NULL);
float L_29 = Scrollbar_get_stepSize_m244845137(__this, /*hidden argument*/NULL);
G_B26_0 = ((float)((float)L_28-(float)L_29));
G_B26_1 = G_B24_0;
goto IL_0148;
}
IL_013b:
{
float L_30 = Scrollbar_get_value_m3913193633(__this, /*hidden argument*/NULL);
float L_31 = Scrollbar_get_stepSize_m244845137(__this, /*hidden argument*/NULL);
G_B26_0 = ((float)((float)L_30+(float)L_31));
G_B26_1 = G_B25_0;
}
IL_0148:
{
NullCheck(G_B26_1);
Scrollbar_Set_m244028386(G_B26_1, G_B26_0, /*hidden argument*/NULL);
goto IL_0159;
}
IL_0152:
{
AxisEventData_t1524870173 * L_32 = ___eventData0;
Selectable_OnMove_m2019752219(__this, L_32, /*hidden argument*/NULL);
}
IL_0159:
{
goto IL_01bc;
}
IL_015e:
{
int32_t L_33 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_33) == ((uint32_t)1))))
{
goto IL_01b0;
}
}
{
Selectable_t1490392188 * L_34 = VirtFuncInvoker0< Selectable_t1490392188 * >::Invoke(30 /* UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnDown() */, __this);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_35 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_34, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_35)
{
goto IL_01b0;
}
}
{
bool L_36 = Scrollbar_get_reverseValue_m1971418883(__this, /*hidden argument*/NULL);
G_B32_0 = __this;
if (!L_36)
{
G_B33_0 = __this;
goto IL_0199;
}
}
{
float L_37 = Scrollbar_get_value_m3913193633(__this, /*hidden argument*/NULL);
float L_38 = Scrollbar_get_stepSize_m244845137(__this, /*hidden argument*/NULL);
G_B34_0 = ((float)((float)L_37+(float)L_38));
G_B34_1 = G_B32_0;
goto IL_01a6;
}
IL_0199:
{
float L_39 = Scrollbar_get_value_m3913193633(__this, /*hidden argument*/NULL);
float L_40 = Scrollbar_get_stepSize_m244845137(__this, /*hidden argument*/NULL);
G_B34_0 = ((float)((float)L_39-(float)L_40));
G_B34_1 = G_B33_0;
}
IL_01a6:
{
NullCheck(G_B34_1);
Scrollbar_Set_m244028386(G_B34_1, G_B34_0, /*hidden argument*/NULL);
goto IL_01b7;
}
IL_01b0:
{
AxisEventData_t1524870173 * L_41 = ___eventData0;
Selectable_OnMove_m2019752219(__this, L_41, /*hidden argument*/NULL);
}
IL_01b7:
{
goto IL_01bc;
}
IL_01bc:
{
return;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Scrollbar::FindSelectableOnLeft()
extern "C" Selectable_t1490392188 * Scrollbar_FindSelectableOnLeft_m2785583700 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
Navigation_t1571958496 V_0;
memset(&V_0, 0, sizeof(V_0));
Selectable_t1490392188 * V_1 = NULL;
{
Navigation_t1571958496 L_0 = Selectable_get_navigation_m200542616(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = Navigation_get_mode_m1837991501((&V_0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)3))))
{
goto IL_0027;
}
}
{
int32_t L_2 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0027;
}
}
{
V_1 = (Selectable_t1490392188 *)NULL;
goto IL_0033;
}
IL_0027:
{
Selectable_t1490392188 * L_3 = Selectable_FindSelectableOnLeft_m3706572906(__this, /*hidden argument*/NULL);
V_1 = L_3;
goto IL_0033;
}
IL_0033:
{
Selectable_t1490392188 * L_4 = V_1;
return L_4;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Scrollbar::FindSelectableOnRight()
extern "C" Selectable_t1490392188 * Scrollbar_FindSelectableOnRight_m3219495255 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
Navigation_t1571958496 V_0;
memset(&V_0, 0, sizeof(V_0));
Selectable_t1490392188 * V_1 = NULL;
{
Navigation_t1571958496 L_0 = Selectable_get_navigation_m200542616(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = Navigation_get_mode_m1837991501((&V_0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)3))))
{
goto IL_0027;
}
}
{
int32_t L_2 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0027;
}
}
{
V_1 = (Selectable_t1490392188 *)NULL;
goto IL_0033;
}
IL_0027:
{
Selectable_t1490392188 * L_3 = Selectable_FindSelectableOnRight_m1439791817(__this, /*hidden argument*/NULL);
V_1 = L_3;
goto IL_0033;
}
IL_0033:
{
Selectable_t1490392188 * L_4 = V_1;
return L_4;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Scrollbar::FindSelectableOnUp()
extern "C" Selectable_t1490392188 * Scrollbar_FindSelectableOnUp_m3313045424 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
Navigation_t1571958496 V_0;
memset(&V_0, 0, sizeof(V_0));
Selectable_t1490392188 * V_1 = NULL;
{
Navigation_t1571958496 L_0 = Selectable_get_navigation_m200542616(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = Navigation_get_mode_m1837991501((&V_0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)3))))
{
goto IL_0028;
}
}
{
int32_t L_2 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_2) == ((uint32_t)1))))
{
goto IL_0028;
}
}
{
V_1 = (Selectable_t1490392188 *)NULL;
goto IL_0034;
}
IL_0028:
{
Selectable_t1490392188 * L_3 = Selectable_FindSelectableOnUp_m1852383750(__this, /*hidden argument*/NULL);
V_1 = L_3;
goto IL_0034;
}
IL_0034:
{
Selectable_t1490392188 * L_4 = V_1;
return L_4;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Scrollbar::FindSelectableOnDown()
extern "C" Selectable_t1490392188 * Scrollbar_FindSelectableOnDown_m3010836929 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
Navigation_t1571958496 V_0;
memset(&V_0, 0, sizeof(V_0));
Selectable_t1490392188 * V_1 = NULL;
{
Navigation_t1571958496 L_0 = Selectable_get_navigation_m200542616(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = Navigation_get_mode_m1837991501((&V_0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)3))))
{
goto IL_0028;
}
}
{
int32_t L_2 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_2) == ((uint32_t)1))))
{
goto IL_0028;
}
}
{
V_1 = (Selectable_t1490392188 *)NULL;
goto IL_0034;
}
IL_0028:
{
Selectable_t1490392188 * L_3 = Selectable_FindSelectableOnDown_m3892524915(__this, /*hidden argument*/NULL);
V_1 = L_3;
goto IL_0034;
}
IL_0034:
{
Selectable_t1490392188 * L_4 = V_1;
return L_4;
}
}
// System.Void UnityEngine.UI.Scrollbar::OnInitializePotentialDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" void Scrollbar_OnInitializePotentialDrag_m3975375980 (Scrollbar_t3248359358 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
NullCheck(L_0);
PointerEventData_set_useDragThreshold_m2778439880(L_0, (bool)0, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Scrollbar::SetDirection(UnityEngine.UI.Scrollbar/Direction,System.Boolean)
extern "C" void Scrollbar_SetDirection_m3264558284 (Scrollbar_t3248359358 * __this, int32_t ___direction0, bool ___includeRectLayouts1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Scrollbar_SetDirection_m3264558284_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
bool V_1 = false;
{
int32_t L_0 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
V_0 = L_0;
bool L_1 = Scrollbar_get_reverseValue_m1971418883(__this, /*hidden argument*/NULL);
V_1 = L_1;
int32_t L_2 = ___direction0;
Scrollbar_set_direction_m1388523458(__this, L_2, /*hidden argument*/NULL);
bool L_3 = ___includeRectLayouts1;
if (L_3)
{
goto IL_0021;
}
}
{
goto IL_0063;
}
IL_0021:
{
int32_t L_4 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
int32_t L_5 = V_0;
if ((((int32_t)L_4) == ((int32_t)L_5)))
{
goto IL_003f;
}
}
{
Transform_t3275118058 * L_6 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
RectTransformUtility_FlipLayoutAxes_m532748168(NULL /*static, unused*/, ((RectTransform_t3349966182 *)IsInstSealed(L_6, RectTransform_t3349966182_il2cpp_TypeInfo_var)), (bool)1, (bool)1, /*hidden argument*/NULL);
}
IL_003f:
{
bool L_7 = Scrollbar_get_reverseValue_m1971418883(__this, /*hidden argument*/NULL);
bool L_8 = V_1;
if ((((int32_t)L_7) == ((int32_t)L_8)))
{
goto IL_0063;
}
}
{
Transform_t3275118058 * L_9 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
int32_t L_10 = Scrollbar_get_axis_m2254740629(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
RectTransformUtility_FlipLayoutOnAxis_m3920364518(NULL /*static, unused*/, ((RectTransform_t3349966182 *)IsInstSealed(L_9, RectTransform_t3349966182_il2cpp_TypeInfo_var)), L_10, (bool)1, (bool)1, /*hidden argument*/NULL);
}
IL_0063:
{
return;
}
}
// UnityEngine.Transform UnityEngine.UI.Scrollbar::UnityEngine.UI.ICanvasElement.get_transform()
extern "C" Transform_t3275118058 * Scrollbar_UnityEngine_UI_ICanvasElement_get_transform_m2433956430 (Scrollbar_t3248359358 * __this, const MethodInfo* method)
{
{
Transform_t3275118058 * L_0 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Void UnityEngine.UI.Scrollbar/<ClickRepeat>c__Iterator0::.ctor()
extern "C" void U3CClickRepeatU3Ec__Iterator0__ctor_m1515509136 (U3CClickRepeatU3Ec__Iterator0_t4156771994 * __this, const MethodInfo* method)
{
{
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean UnityEngine.UI.Scrollbar/<ClickRepeat>c__Iterator0::MoveNext()
extern "C" bool U3CClickRepeatU3Ec__Iterator0_MoveNext_m1747924386 (U3CClickRepeatU3Ec__Iterator0_t4156771994 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CClickRepeatU3Ec__Iterator0_MoveNext_m1747924386_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
uint32_t V_0 = 0;
Vector2_t2243707579 V_1;
memset(&V_1, 0, sizeof(V_1));
float V_2 = 0.0f;
float G_B8_0 = 0.0f;
{
int32_t L_0 = __this->get_U24PC_4();
V_0 = L_0;
__this->set_U24PC_4((-1));
uint32_t L_1 = V_0;
switch (L_1)
{
case 0:
{
goto IL_0021;
}
case 1:
{
goto IL_0111;
}
}
}
{
goto IL_013f;
}
IL_0021:
{
goto IL_0112;
}
IL_0027:
{
Scrollbar_t3248359358 * L_2 = __this->get_U24this_1();
NullCheck(L_2);
RectTransform_t3349966182 * L_3 = L_2->get_m_HandleRect_16();
PointerEventData_t1599784723 * L_4 = __this->get_eventData_0();
NullCheck(L_4);
Vector2_t2243707579 L_5 = PointerEventData_get_position_m2131765015(L_4, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_6 = __this->get_eventData_0();
NullCheck(L_6);
Camera_t189460977 * L_7 = PointerEventData_get_enterEventCamera_m1539996745(L_6, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
bool L_8 = RectTransformUtility_RectangleContainsScreenPoint_m1244853728(NULL /*static, unused*/, L_3, L_5, L_7, /*hidden argument*/NULL);
if (L_8)
{
goto IL_00f2;
}
}
{
Scrollbar_t3248359358 * L_9 = __this->get_U24this_1();
NullCheck(L_9);
RectTransform_t3349966182 * L_10 = L_9->get_m_HandleRect_16();
PointerEventData_t1599784723 * L_11 = __this->get_eventData_0();
NullCheck(L_11);
Vector2_t2243707579 L_12 = PointerEventData_get_position_m2131765015(L_11, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_13 = __this->get_eventData_0();
NullCheck(L_13);
Camera_t189460977 * L_14 = PointerEventData_get_pressEventCamera_m724559964(L_13, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
bool L_15 = RectTransformUtility_ScreenPointToLocalPointInRectangle_m2398565080(NULL /*static, unused*/, L_10, L_12, L_14, (&V_1), /*hidden argument*/NULL);
if (!L_15)
{
goto IL_00f1;
}
}
{
Scrollbar_t3248359358 * L_16 = __this->get_U24this_1();
NullCheck(L_16);
int32_t L_17 = Scrollbar_get_axis_m2254740629(L_16, /*hidden argument*/NULL);
if (L_17)
{
goto IL_009e;
}
}
{
float L_18 = (&V_1)->get_x_0();
G_B8_0 = L_18;
goto IL_00a5;
}
IL_009e:
{
float L_19 = (&V_1)->get_y_1();
G_B8_0 = L_19;
}
IL_00a5:
{
V_2 = G_B8_0;
float L_20 = V_2;
if ((!(((float)L_20) < ((float)(0.0f)))))
{
goto IL_00d3;
}
}
{
Scrollbar_t3248359358 * L_21 = __this->get_U24this_1();
Scrollbar_t3248359358 * L_22 = L_21;
NullCheck(L_22);
float L_23 = Scrollbar_get_value_m3913193633(L_22, /*hidden argument*/NULL);
Scrollbar_t3248359358 * L_24 = __this->get_U24this_1();
NullCheck(L_24);
float L_25 = Scrollbar_get_size_m247135391(L_24, /*hidden argument*/NULL);
NullCheck(L_22);
Scrollbar_set_value_m1056753036(L_22, ((float)((float)L_23-(float)L_25)), /*hidden argument*/NULL);
goto IL_00f0;
}
IL_00d3:
{
Scrollbar_t3248359358 * L_26 = __this->get_U24this_1();
Scrollbar_t3248359358 * L_27 = L_26;
NullCheck(L_27);
float L_28 = Scrollbar_get_value_m3913193633(L_27, /*hidden argument*/NULL);
Scrollbar_t3248359358 * L_29 = __this->get_U24this_1();
NullCheck(L_29);
float L_30 = Scrollbar_get_size_m247135391(L_29, /*hidden argument*/NULL);
NullCheck(L_27);
Scrollbar_set_value_m1056753036(L_27, ((float)((float)L_28+(float)L_30)), /*hidden argument*/NULL);
}
IL_00f0:
{
}
IL_00f1:
{
}
IL_00f2:
{
WaitForEndOfFrame_t1785723201 * L_31 = (WaitForEndOfFrame_t1785723201 *)il2cpp_codegen_object_new(WaitForEndOfFrame_t1785723201_il2cpp_TypeInfo_var);
WaitForEndOfFrame__ctor_m3062480170(L_31, /*hidden argument*/NULL);
__this->set_U24current_2(L_31);
bool L_32 = __this->get_U24disposing_3();
if (L_32)
{
goto IL_010c;
}
}
{
__this->set_U24PC_4(1);
}
IL_010c:
{
goto IL_0141;
}
IL_0111:
{
}
IL_0112:
{
Scrollbar_t3248359358 * L_33 = __this->get_U24this_1();
NullCheck(L_33);
bool L_34 = L_33->get_isPointerDownAndNotDragging_26();
if (L_34)
{
goto IL_0027;
}
}
{
Scrollbar_t3248359358 * L_35 = __this->get_U24this_1();
Scrollbar_t3248359358 * L_36 = __this->get_U24this_1();
NullCheck(L_36);
Coroutine_t2299508840 * L_37 = L_36->get_m_PointerDownRepeat_25();
NullCheck(L_35);
MonoBehaviour_StopCoroutine_m1668572632(L_35, L_37, /*hidden argument*/NULL);
__this->set_U24PC_4((-1));
}
IL_013f:
{
return (bool)0;
}
IL_0141:
{
return (bool)1;
}
}
// System.Object UnityEngine.UI.Scrollbar/<ClickRepeat>c__Iterator0::System.Collections.Generic.IEnumerator<object>.get_Current()
extern "C" Il2CppObject * U3CClickRepeatU3Ec__Iterator0_System_Collections_Generic_IEnumeratorU3CobjectU3E_get_Current_m3444627780 (U3CClickRepeatU3Ec__Iterator0_t4156771994 * __this, const MethodInfo* method)
{
Il2CppObject * V_0 = NULL;
{
Il2CppObject * L_0 = __this->get_U24current_2();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Il2CppObject * L_1 = V_0;
return L_1;
}
}
// System.Object UnityEngine.UI.Scrollbar/<ClickRepeat>c__Iterator0::System.Collections.IEnumerator.get_Current()
extern "C" Il2CppObject * U3CClickRepeatU3Ec__Iterator0_System_Collections_IEnumerator_get_Current_m4049780396 (U3CClickRepeatU3Ec__Iterator0_t4156771994 * __this, const MethodInfo* method)
{
Il2CppObject * V_0 = NULL;
{
Il2CppObject * L_0 = __this->get_U24current_2();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
Il2CppObject * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Scrollbar/<ClickRepeat>c__Iterator0::Dispose()
extern "C" void U3CClickRepeatU3Ec__Iterator0_Dispose_m684116271 (U3CClickRepeatU3Ec__Iterator0_t4156771994 * __this, const MethodInfo* method)
{
{
__this->set_U24disposing_3((bool)1);
__this->set_U24PC_4((-1));
return;
}
}
// System.Void UnityEngine.UI.Scrollbar/<ClickRepeat>c__Iterator0::Reset()
extern "C" void U3CClickRepeatU3Ec__Iterator0_Reset_m1177396749 (U3CClickRepeatU3Ec__Iterator0_t4156771994 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (U3CClickRepeatU3Ec__Iterator0_Reset_m1177396749_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
NotSupportedException_t1793819818 * L_0 = (NotSupportedException_t1793819818 *)il2cpp_codegen_object_new(NotSupportedException_t1793819818_il2cpp_TypeInfo_var);
NotSupportedException__ctor_m3232764727(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0);
}
}
// System.Void UnityEngine.UI.Scrollbar/ScrollEvent::.ctor()
extern "C" void ScrollEvent__ctor_m1258909311 (ScrollEvent_t1794825321 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollEvent__ctor_m1258909311_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m29611311(__this, /*hidden argument*/UnityEvent_1__ctor_m29611311_MethodInfo_var);
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::.ctor()
extern "C" void ScrollRect__ctor_m2760636366 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect__ctor_m2760636366_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_m_Horizontal_3((bool)1);
__this->set_m_Vertical_4((bool)1);
__this->set_m_MovementType_5(1);
__this->set_m_Elasticity_6((0.1f));
__this->set_m_Inertia_7((bool)1);
__this->set_m_DecelerationRate_8((0.135f));
__this->set_m_ScrollSensitivity_9((1.0f));
ScrollRectEvent_t3529018992 * L_0 = (ScrollRectEvent_t3529018992 *)il2cpp_codegen_object_new(ScrollRectEvent_t3529018992_il2cpp_TypeInfo_var);
ScrollRectEvent__ctor_m2283981448(L_0, /*hidden argument*/NULL);
__this->set_m_OnValueChanged_17(L_0);
Vector2_t2243707579 L_1 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_PointerStartLocalCursor_18(L_1);
Vector2_t2243707579 L_2 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_ContentStartPosition_19(L_2);
Vector2_t2243707579 L_3 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_PrevPosition_25(L_3);
__this->set_m_HasRebuiltLayout_28((bool)0);
__this->set_m_Corners_37(((Vector3U5BU5D_t1172311765*)SZArrayNew(Vector3U5BU5D_t1172311765_il2cpp_TypeInfo_var, (uint32_t)4)));
UIBehaviour__ctor_m984034336(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::get_content()
extern "C" RectTransform_t3349966182 * ScrollRect_get_content_m1116544752 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
RectTransform_t3349966182 * V_0 = NULL;
{
RectTransform_t3349966182 * L_0 = __this->get_m_Content_2();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
RectTransform_t3349966182 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_content(UnityEngine.RectTransform)
extern "C" void ScrollRect_set_content_m1046034367 (ScrollRect_t1199013257 * __this, RectTransform_t3349966182 * ___value0, const MethodInfo* method)
{
{
RectTransform_t3349966182 * L_0 = ___value0;
__this->set_m_Content_2(L_0);
return;
}
}
// System.Boolean UnityEngine.UI.ScrollRect::get_horizontal()
extern "C" bool ScrollRect_get_horizontal_m2408340743 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_m_Horizontal_3();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_horizontal(System.Boolean)
extern "C" void ScrollRect_set_horizontal_m3740662372 (ScrollRect_t1199013257 * __this, bool ___value0, const MethodInfo* method)
{
{
bool L_0 = ___value0;
__this->set_m_Horizontal_3(L_0);
return;
}
}
// System.Boolean UnityEngine.UI.ScrollRect::get_vertical()
extern "C" bool ScrollRect_get_vertical_m3957330783 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_m_Vertical_4();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_vertical(System.Boolean)
extern "C" void ScrollRect_set_vertical_m1010550418 (ScrollRect_t1199013257 * __this, bool ___value0, const MethodInfo* method)
{
{
bool L_0 = ___value0;
__this->set_m_Vertical_4(L_0);
return;
}
}
// UnityEngine.UI.ScrollRect/MovementType UnityEngine.UI.ScrollRect::get_movementType()
extern "C" int32_t ScrollRect_get_movementType_m1025861213 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_m_MovementType_5();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_movementType(UnityEngine.UI.ScrollRect/MovementType)
extern "C" void ScrollRect_set_movementType_m3292965850 (ScrollRect_t1199013257 * __this, int32_t ___value0, const MethodInfo* method)
{
{
int32_t L_0 = ___value0;
__this->set_m_MovementType_5(L_0);
return;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_elasticity()
extern "C" float ScrollRect_get_elasticity_m3987376518 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->get_m_Elasticity_6();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
float L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_elasticity(System.Single)
extern "C" void ScrollRect_set_elasticity_m4144797413 (ScrollRect_t1199013257 * __this, float ___value0, const MethodInfo* method)
{
{
float L_0 = ___value0;
__this->set_m_Elasticity_6(L_0);
return;
}
}
// System.Boolean UnityEngine.UI.ScrollRect::get_inertia()
extern "C" bool ScrollRect_get_inertia_m1220046273 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_m_Inertia_7();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_inertia(System.Boolean)
extern "C" void ScrollRect_set_inertia_m2575649134 (ScrollRect_t1199013257 * __this, bool ___value0, const MethodInfo* method)
{
{
bool L_0 = ___value0;
__this->set_m_Inertia_7(L_0);
return;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_decelerationRate()
extern "C" float ScrollRect_get_decelerationRate_m1979153358 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->get_m_DecelerationRate_8();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
float L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_decelerationRate(System.Single)
extern "C" void ScrollRect_set_decelerationRate_m3237363647 (ScrollRect_t1199013257 * __this, float ___value0, const MethodInfo* method)
{
{
float L_0 = ___value0;
__this->set_m_DecelerationRate_8(L_0);
return;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_scrollSensitivity()
extern "C" float ScrollRect_get_scrollSensitivity_m1160815603 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->get_m_ScrollSensitivity_9();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
float L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_scrollSensitivity(System.Single)
extern "C" void ScrollRect_set_scrollSensitivity_m1818737642 (ScrollRect_t1199013257 * __this, float ___value0, const MethodInfo* method)
{
{
float L_0 = ___value0;
__this->set_m_ScrollSensitivity_9(L_0);
return;
}
}
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::get_viewport()
extern "C" RectTransform_t3349966182 * ScrollRect_get_viewport_m3177057249 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
RectTransform_t3349966182 * V_0 = NULL;
{
RectTransform_t3349966182 * L_0 = __this->get_m_Viewport_10();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
RectTransform_t3349966182 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_viewport(UnityEngine.RectTransform)
extern "C" void ScrollRect_set_viewport_m323693490 (ScrollRect_t1199013257 * __this, RectTransform_t3349966182 * ___value0, const MethodInfo* method)
{
{
RectTransform_t3349966182 * L_0 = ___value0;
__this->set_m_Viewport_10(L_0);
ScrollRect_SetDirtyCaching_m1491302821(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.UI.Scrollbar UnityEngine.UI.ScrollRect::get_horizontalScrollbar()
extern "C" Scrollbar_t3248359358 * ScrollRect_get_horizontalScrollbar_m4261690441 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
Scrollbar_t3248359358 * V_0 = NULL;
{
Scrollbar_t3248359358 * L_0 = __this->get_m_HorizontalScrollbar_11();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Scrollbar_t3248359358 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_horizontalScrollbar(UnityEngine.UI.Scrollbar)
extern "C" void ScrollRect_set_horizontalScrollbar_m552664892 (ScrollRect_t1199013257 * __this, Scrollbar_t3248359358 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_set_horizontalScrollbar_m552664892_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Scrollbar_t3248359358 * L_0 = __this->get_m_HorizontalScrollbar_11();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_002d;
}
}
{
Scrollbar_t3248359358 * L_2 = __this->get_m_HorizontalScrollbar_11();
NullCheck(L_2);
ScrollEvent_t1794825321 * L_3 = Scrollbar_get_onValueChanged_m2506773176(L_2, /*hidden argument*/NULL);
IntPtr_t L_4;
L_4.set_m_value_0((void*)(void*)ScrollRect_SetHorizontalNormalizedPosition_m1084560733_MethodInfo_var);
UnityAction_1_t3443095683 * L_5 = (UnityAction_1_t3443095683 *)il2cpp_codegen_object_new(UnityAction_1_t3443095683_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m2172708761(L_5, __this, L_4, /*hidden argument*/UnityAction_1__ctor_m2172708761_MethodInfo_var);
NullCheck(L_3);
UnityEvent_1_RemoveListener_m2564825698(L_3, L_5, /*hidden argument*/UnityEvent_1_RemoveListener_m2564825698_MethodInfo_var);
}
IL_002d:
{
Scrollbar_t3248359358 * L_6 = ___value0;
__this->set_m_HorizontalScrollbar_11(L_6);
Scrollbar_t3248359358 * L_7 = __this->get_m_HorizontalScrollbar_11();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0060;
}
}
{
Scrollbar_t3248359358 * L_9 = __this->get_m_HorizontalScrollbar_11();
NullCheck(L_9);
ScrollEvent_t1794825321 * L_10 = Scrollbar_get_onValueChanged_m2506773176(L_9, /*hidden argument*/NULL);
IntPtr_t L_11;
L_11.set_m_value_0((void*)(void*)ScrollRect_SetHorizontalNormalizedPosition_m1084560733_MethodInfo_var);
UnityAction_1_t3443095683 * L_12 = (UnityAction_1_t3443095683 *)il2cpp_codegen_object_new(UnityAction_1_t3443095683_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m2172708761(L_12, __this, L_11, /*hidden argument*/UnityAction_1__ctor_m2172708761_MethodInfo_var);
NullCheck(L_10);
UnityEvent_1_AddListener_m2377847221(L_10, L_12, /*hidden argument*/UnityEvent_1_AddListener_m2377847221_MethodInfo_var);
}
IL_0060:
{
ScrollRect_SetDirtyCaching_m1491302821(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.UI.Scrollbar UnityEngine.UI.ScrollRect::get_verticalScrollbar()
extern "C" Scrollbar_t3248359358 * ScrollRect_get_verticalScrollbar_m2455612493 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
Scrollbar_t3248359358 * V_0 = NULL;
{
Scrollbar_t3248359358 * L_0 = __this->get_m_VerticalScrollbar_12();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Scrollbar_t3248359358 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_verticalScrollbar(UnityEngine.UI.Scrollbar)
extern "C" void ScrollRect_set_verticalScrollbar_m2903688658 (ScrollRect_t1199013257 * __this, Scrollbar_t3248359358 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_set_verticalScrollbar_m2903688658_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Scrollbar_t3248359358 * L_0 = __this->get_m_VerticalScrollbar_12();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_002d;
}
}
{
Scrollbar_t3248359358 * L_2 = __this->get_m_VerticalScrollbar_12();
NullCheck(L_2);
ScrollEvent_t1794825321 * L_3 = Scrollbar_get_onValueChanged_m2506773176(L_2, /*hidden argument*/NULL);
IntPtr_t L_4;
L_4.set_m_value_0((void*)(void*)ScrollRect_SetVerticalNormalizedPosition_m216554321_MethodInfo_var);
UnityAction_1_t3443095683 * L_5 = (UnityAction_1_t3443095683 *)il2cpp_codegen_object_new(UnityAction_1_t3443095683_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m2172708761(L_5, __this, L_4, /*hidden argument*/UnityAction_1__ctor_m2172708761_MethodInfo_var);
NullCheck(L_3);
UnityEvent_1_RemoveListener_m2564825698(L_3, L_5, /*hidden argument*/UnityEvent_1_RemoveListener_m2564825698_MethodInfo_var);
}
IL_002d:
{
Scrollbar_t3248359358 * L_6 = ___value0;
__this->set_m_VerticalScrollbar_12(L_6);
Scrollbar_t3248359358 * L_7 = __this->get_m_VerticalScrollbar_12();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0060;
}
}
{
Scrollbar_t3248359358 * L_9 = __this->get_m_VerticalScrollbar_12();
NullCheck(L_9);
ScrollEvent_t1794825321 * L_10 = Scrollbar_get_onValueChanged_m2506773176(L_9, /*hidden argument*/NULL);
IntPtr_t L_11;
L_11.set_m_value_0((void*)(void*)ScrollRect_SetVerticalNormalizedPosition_m216554321_MethodInfo_var);
UnityAction_1_t3443095683 * L_12 = (UnityAction_1_t3443095683 *)il2cpp_codegen_object_new(UnityAction_1_t3443095683_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m2172708761(L_12, __this, L_11, /*hidden argument*/UnityAction_1__ctor_m2172708761_MethodInfo_var);
NullCheck(L_10);
UnityEvent_1_AddListener_m2377847221(L_10, L_12, /*hidden argument*/UnityEvent_1_AddListener_m2377847221_MethodInfo_var);
}
IL_0060:
{
ScrollRect_SetDirtyCaching_m1491302821(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.UI.ScrollRect/ScrollbarVisibility UnityEngine.UI.ScrollRect::get_horizontalScrollbarVisibility()
extern "C" int32_t ScrollRect_get_horizontalScrollbarVisibility_m4152068235 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_m_HorizontalScrollbarVisibility_13();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_horizontalScrollbarVisibility(UnityEngine.UI.ScrollRect/ScrollbarVisibility)
extern "C" void ScrollRect_set_horizontalScrollbarVisibility_m3790647510 (ScrollRect_t1199013257 * __this, int32_t ___value0, const MethodInfo* method)
{
{
int32_t L_0 = ___value0;
__this->set_m_HorizontalScrollbarVisibility_13(L_0);
ScrollRect_SetDirtyCaching_m1491302821(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.UI.ScrollRect/ScrollbarVisibility UnityEngine.UI.ScrollRect::get_verticalScrollbarVisibility()
extern "C" int32_t ScrollRect_get_verticalScrollbarVisibility_m2829757187 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_m_VerticalScrollbarVisibility_14();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_verticalScrollbarVisibility(UnityEngine.UI.ScrollRect/ScrollbarVisibility)
extern "C" void ScrollRect_set_verticalScrollbarVisibility_m2424788384 (ScrollRect_t1199013257 * __this, int32_t ___value0, const MethodInfo* method)
{
{
int32_t L_0 = ___value0;
__this->set_m_VerticalScrollbarVisibility_14(L_0);
ScrollRect_SetDirtyCaching_m1491302821(__this, /*hidden argument*/NULL);
return;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_horizontalScrollbarSpacing()
extern "C" float ScrollRect_get_horizontalScrollbarSpacing_m2466213724 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->get_m_HorizontalScrollbarSpacing_15();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
float L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_horizontalScrollbarSpacing(System.Single)
extern "C" void ScrollRect_set_horizontalScrollbarSpacing_m2029313035 (ScrollRect_t1199013257 * __this, float ___value0, const MethodInfo* method)
{
{
float L_0 = ___value0;
__this->set_m_HorizontalScrollbarSpacing_15(L_0);
ScrollRect_SetDirty_m93243192(__this, /*hidden argument*/NULL);
return;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_verticalScrollbarSpacing()
extern "C" float ScrollRect_get_verticalScrollbarSpacing_m793718754 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->get_m_VerticalScrollbarSpacing_16();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
float L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_verticalScrollbarSpacing(System.Single)
extern "C" void ScrollRect_set_verticalScrollbarSpacing_m2356851539 (ScrollRect_t1199013257 * __this, float ___value0, const MethodInfo* method)
{
{
float L_0 = ___value0;
__this->set_m_VerticalScrollbarSpacing_16(L_0);
ScrollRect_SetDirty_m93243192(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.UI.ScrollRect/ScrollRectEvent UnityEngine.UI.ScrollRect::get_onValueChanged()
extern "C" ScrollRectEvent_t3529018992 * ScrollRect_get_onValueChanged_m2013130908 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
ScrollRectEvent_t3529018992 * V_0 = NULL;
{
ScrollRectEvent_t3529018992 * L_0 = __this->get_m_OnValueChanged_17();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
ScrollRectEvent_t3529018992 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_onValueChanged(UnityEngine.UI.ScrollRect/ScrollRectEvent)
extern "C" void ScrollRect_set_onValueChanged_m3957749575 (ScrollRect_t1199013257 * __this, ScrollRectEvent_t3529018992 * ___value0, const MethodInfo* method)
{
{
ScrollRectEvent_t3529018992 * L_0 = ___value0;
__this->set_m_OnValueChanged_17(L_0);
return;
}
}
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::get_viewRect()
extern "C" RectTransform_t3349966182 * ScrollRect_get_viewRect_m2663817630 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_get_viewRect_m2663817630_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RectTransform_t3349966182 * V_0 = NULL;
{
RectTransform_t3349966182 * L_0 = __this->get_m_ViewRect_20();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001e;
}
}
{
RectTransform_t3349966182 * L_2 = __this->get_m_Viewport_10();
__this->set_m_ViewRect_20(L_2);
}
IL_001e:
{
RectTransform_t3349966182 * L_3 = __this->get_m_ViewRect_20();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_3, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0040;
}
}
{
Transform_t3275118058 * L_5 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
__this->set_m_ViewRect_20(((RectTransform_t3349966182 *)CastclassSealed(L_5, RectTransform_t3349966182_il2cpp_TypeInfo_var)));
}
IL_0040:
{
RectTransform_t3349966182 * L_6 = __this->get_m_ViewRect_20();
V_0 = L_6;
goto IL_004c;
}
IL_004c:
{
RectTransform_t3349966182 * L_7 = V_0;
return L_7;
}
}
// UnityEngine.Vector2 UnityEngine.UI.ScrollRect::get_velocity()
extern "C" Vector2_t2243707579 ScrollRect_get_velocity_m2019475793 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
{
Vector2_t2243707579 L_0 = __this->get_m_Velocity_23();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Vector2_t2243707579 L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_velocity(UnityEngine.Vector2)
extern "C" void ScrollRect_set_velocity_m65591334 (ScrollRect_t1199013257 * __this, Vector2_t2243707579 ___value0, const MethodInfo* method)
{
{
Vector2_t2243707579 L_0 = ___value0;
__this->set_m_Velocity_23(L_0);
return;
}
}
// UnityEngine.RectTransform UnityEngine.UI.ScrollRect::get_rectTransform()
extern "C" RectTransform_t3349966182 * ScrollRect_get_rectTransform_m1256747885 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_get_rectTransform_m1256747885_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RectTransform_t3349966182 * V_0 = NULL;
{
RectTransform_t3349966182 * L_0 = __this->get_m_Rect_33();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001e;
}
}
{
RectTransform_t3349966182 * L_2 = Component_GetComponent_TisRectTransform_t3349966182_m1310250299(__this, /*hidden argument*/Component_GetComponent_TisRectTransform_t3349966182_m1310250299_MethodInfo_var);
__this->set_m_Rect_33(L_2);
}
IL_001e:
{
RectTransform_t3349966182 * L_3 = __this->get_m_Rect_33();
V_0 = L_3;
goto IL_002a;
}
IL_002a:
{
RectTransform_t3349966182 * L_4 = V_0;
return L_4;
}
}
// System.Void UnityEngine.UI.ScrollRect::Rebuild(UnityEngine.UI.CanvasUpdate)
extern "C" void ScrollRect_Rebuild_m3423824761 (ScrollRect_t1199013257 * __this, int32_t ___executing0, const MethodInfo* method)
{
{
int32_t L_0 = ___executing0;
if (L_0)
{
goto IL_000f;
}
}
{
ScrollRect_UpdateCachedData_m2107447137(__this, /*hidden argument*/NULL);
}
IL_000f:
{
int32_t L_1 = ___executing0;
if ((!(((uint32_t)L_1) == ((uint32_t)2))))
{
goto IL_0036;
}
}
{
ScrollRect_UpdateBounds_m3266596336(__this, /*hidden argument*/NULL);
Vector2_t2243707579 L_2 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
ScrollRect_UpdateScrollbars_m3921404746(__this, L_2, /*hidden argument*/NULL);
ScrollRect_UpdatePrevData_m3092887300(__this, /*hidden argument*/NULL);
__this->set_m_HasRebuiltLayout_28((bool)1);
}
IL_0036:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::LayoutComplete()
extern "C" void ScrollRect_LayoutComplete_m1484602527 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::GraphicUpdateComplete()
extern "C" void ScrollRect_GraphicUpdateComplete_m4293381620 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::UpdateCachedData()
extern "C" void ScrollRect_UpdateCachedData_m2107447137 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_UpdateCachedData_m2107447137_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Transform_t3275118058 * V_0 = NULL;
bool V_1 = false;
bool V_2 = false;
bool V_3 = false;
bool V_4 = false;
Rect_t3681755626 V_5;
memset(&V_5, 0, sizeof(V_5));
Rect_t3681755626 V_6;
memset(&V_6, 0, sizeof(V_6));
ScrollRect_t1199013257 * G_B2_0 = NULL;
ScrollRect_t1199013257 * G_B1_0 = NULL;
RectTransform_t3349966182 * G_B3_0 = NULL;
ScrollRect_t1199013257 * G_B3_1 = NULL;
ScrollRect_t1199013257 * G_B5_0 = NULL;
ScrollRect_t1199013257 * G_B4_0 = NULL;
RectTransform_t3349966182 * G_B6_0 = NULL;
ScrollRect_t1199013257 * G_B6_1 = NULL;
int32_t G_B9_0 = 0;
int32_t G_B12_0 = 0;
int32_t G_B16_0 = 0;
ScrollRect_t1199013257 * G_B19_0 = NULL;
ScrollRect_t1199013257 * G_B17_0 = NULL;
ScrollRect_t1199013257 * G_B18_0 = NULL;
int32_t G_B20_0 = 0;
ScrollRect_t1199013257 * G_B20_1 = NULL;
ScrollRect_t1199013257 * G_B23_0 = NULL;
ScrollRect_t1199013257 * G_B21_0 = NULL;
ScrollRect_t1199013257 * G_B22_0 = NULL;
int32_t G_B24_0 = 0;
ScrollRect_t1199013257 * G_B24_1 = NULL;
ScrollRect_t1199013257 * G_B26_0 = NULL;
ScrollRect_t1199013257 * G_B25_0 = NULL;
float G_B27_0 = 0.0f;
ScrollRect_t1199013257 * G_B27_1 = NULL;
ScrollRect_t1199013257 * G_B29_0 = NULL;
ScrollRect_t1199013257 * G_B28_0 = NULL;
float G_B30_0 = 0.0f;
ScrollRect_t1199013257 * G_B30_1 = NULL;
{
Transform_t3275118058 * L_0 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
V_0 = L_0;
Scrollbar_t3248359358 * L_1 = __this->get_m_HorizontalScrollbar_11();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
G_B1_0 = __this;
if (!L_2)
{
G_B2_0 = __this;
goto IL_0020;
}
}
{
G_B3_0 = ((RectTransform_t3349966182 *)(NULL));
G_B3_1 = G_B1_0;
goto IL_0030;
}
IL_0020:
{
Scrollbar_t3248359358 * L_3 = __this->get_m_HorizontalScrollbar_11();
NullCheck(L_3);
Transform_t3275118058 * L_4 = Component_get_transform_m2697483695(L_3, /*hidden argument*/NULL);
G_B3_0 = ((RectTransform_t3349966182 *)IsInstSealed(L_4, RectTransform_t3349966182_il2cpp_TypeInfo_var));
G_B3_1 = G_B2_0;
}
IL_0030:
{
NullCheck(G_B3_1);
G_B3_1->set_m_HorizontalScrollbarRect_34(G_B3_0);
Scrollbar_t3248359358 * L_5 = __this->get_m_VerticalScrollbar_12();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_6 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_5, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
G_B4_0 = __this;
if (!L_6)
{
G_B5_0 = __this;
goto IL_004d;
}
}
{
G_B6_0 = ((RectTransform_t3349966182 *)(NULL));
G_B6_1 = G_B4_0;
goto IL_005d;
}
IL_004d:
{
Scrollbar_t3248359358 * L_7 = __this->get_m_VerticalScrollbar_12();
NullCheck(L_7);
Transform_t3275118058 * L_8 = Component_get_transform_m2697483695(L_7, /*hidden argument*/NULL);
G_B6_0 = ((RectTransform_t3349966182 *)IsInstSealed(L_8, RectTransform_t3349966182_il2cpp_TypeInfo_var));
G_B6_1 = G_B5_0;
}
IL_005d:
{
NullCheck(G_B6_1);
G_B6_1->set_m_VerticalScrollbarRect_35(G_B6_0);
RectTransform_t3349966182 * L_9 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_9);
Transform_t3275118058 * L_10 = Transform_get_parent_m147407266(L_9, /*hidden argument*/NULL);
Transform_t3275118058 * L_11 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_12 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_10, L_11, /*hidden argument*/NULL);
V_1 = L_12;
RectTransform_t3349966182 * L_13 = __this->get_m_HorizontalScrollbarRect_34();
bool L_14 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_13, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_0097;
}
}
{
RectTransform_t3349966182 * L_15 = __this->get_m_HorizontalScrollbarRect_34();
NullCheck(L_15);
Transform_t3275118058 * L_16 = Transform_get_parent_m147407266(L_15, /*hidden argument*/NULL);
Transform_t3275118058 * L_17 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_16, L_17, /*hidden argument*/NULL);
G_B9_0 = ((int32_t)(L_18));
goto IL_0098;
}
IL_0097:
{
G_B9_0 = 1;
}
IL_0098:
{
V_2 = (bool)G_B9_0;
RectTransform_t3349966182 * L_19 = __this->get_m_VerticalScrollbarRect_35();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_20 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_19, /*hidden argument*/NULL);
if (!L_20)
{
goto IL_00bc;
}
}
{
RectTransform_t3349966182 * L_21 = __this->get_m_VerticalScrollbarRect_35();
NullCheck(L_21);
Transform_t3275118058 * L_22 = Transform_get_parent_m147407266(L_21, /*hidden argument*/NULL);
Transform_t3275118058 * L_23 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_24 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_22, L_23, /*hidden argument*/NULL);
G_B12_0 = ((int32_t)(L_24));
goto IL_00bd;
}
IL_00bc:
{
G_B12_0 = 1;
}
IL_00bd:
{
V_3 = (bool)G_B12_0;
bool L_25 = V_1;
if (!L_25)
{
goto IL_00cd;
}
}
{
bool L_26 = V_2;
if (!L_26)
{
goto IL_00cd;
}
}
{
bool L_27 = V_3;
G_B16_0 = ((int32_t)(L_27));
goto IL_00ce;
}
IL_00cd:
{
G_B16_0 = 0;
}
IL_00ce:
{
V_4 = (bool)G_B16_0;
bool L_28 = V_4;
G_B17_0 = __this;
if (!L_28)
{
G_B19_0 = __this;
goto IL_00f3;
}
}
{
RectTransform_t3349966182 * L_29 = __this->get_m_HorizontalScrollbarRect_34();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_30 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_29, /*hidden argument*/NULL);
G_B18_0 = G_B17_0;
if (!L_30)
{
G_B19_0 = G_B17_0;
goto IL_00f3;
}
}
{
int32_t L_31 = ScrollRect_get_horizontalScrollbarVisibility_m4152068235(__this, /*hidden argument*/NULL);
G_B20_0 = ((((int32_t)L_31) == ((int32_t)2))? 1 : 0);
G_B20_1 = G_B18_0;
goto IL_00f4;
}
IL_00f3:
{
G_B20_0 = 0;
G_B20_1 = G_B19_0;
}
IL_00f4:
{
NullCheck(G_B20_1);
G_B20_1->set_m_HSliderExpand_29((bool)G_B20_0);
bool L_32 = V_4;
G_B21_0 = __this;
if (!L_32)
{
G_B23_0 = __this;
goto IL_011c;
}
}
{
RectTransform_t3349966182 * L_33 = __this->get_m_VerticalScrollbarRect_35();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_34 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_33, /*hidden argument*/NULL);
G_B22_0 = G_B21_0;
if (!L_34)
{
G_B23_0 = G_B21_0;
goto IL_011c;
}
}
{
int32_t L_35 = ScrollRect_get_verticalScrollbarVisibility_m2829757187(__this, /*hidden argument*/NULL);
G_B24_0 = ((((int32_t)L_35) == ((int32_t)2))? 1 : 0);
G_B24_1 = G_B22_0;
goto IL_011d;
}
IL_011c:
{
G_B24_0 = 0;
G_B24_1 = G_B23_0;
}
IL_011d:
{
NullCheck(G_B24_1);
G_B24_1->set_m_VSliderExpand_30((bool)G_B24_0);
RectTransform_t3349966182 * L_36 = __this->get_m_HorizontalScrollbarRect_34();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_37 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_36, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
G_B25_0 = __this;
if (!L_37)
{
G_B26_0 = __this;
goto IL_013e;
}
}
{
G_B27_0 = (0.0f);
G_B27_1 = G_B25_0;
goto IL_0152;
}
IL_013e:
{
RectTransform_t3349966182 * L_38 = __this->get_m_HorizontalScrollbarRect_34();
NullCheck(L_38);
Rect_t3681755626 L_39 = RectTransform_get_rect_m73954734(L_38, /*hidden argument*/NULL);
V_5 = L_39;
float L_40 = Rect_get_height_m3128694305((&V_5), /*hidden argument*/NULL);
G_B27_0 = L_40;
G_B27_1 = G_B26_0;
}
IL_0152:
{
NullCheck(G_B27_1);
G_B27_1->set_m_HSliderHeight_31(G_B27_0);
RectTransform_t3349966182 * L_41 = __this->get_m_VerticalScrollbarRect_35();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_42 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_41, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
G_B28_0 = __this;
if (!L_42)
{
G_B29_0 = __this;
goto IL_0173;
}
}
{
G_B30_0 = (0.0f);
G_B30_1 = G_B28_0;
goto IL_0187;
}
IL_0173:
{
RectTransform_t3349966182 * L_43 = __this->get_m_VerticalScrollbarRect_35();
NullCheck(L_43);
Rect_t3681755626 L_44 = RectTransform_get_rect_m73954734(L_43, /*hidden argument*/NULL);
V_6 = L_44;
float L_45 = Rect_get_width_m1138015702((&V_6), /*hidden argument*/NULL);
G_B30_0 = L_45;
G_B30_1 = G_B29_0;
}
IL_0187:
{
NullCheck(G_B30_1);
G_B30_1->set_m_VSliderWidth_32(G_B30_0);
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::OnEnable()
extern "C" void ScrollRect_OnEnable_m2748112742 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_OnEnable_m2748112742_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UIBehaviour_OnEnable_m152520444(__this, /*hidden argument*/NULL);
Scrollbar_t3248359358 * L_0 = __this->get_m_HorizontalScrollbar_11();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0033;
}
}
{
Scrollbar_t3248359358 * L_2 = __this->get_m_HorizontalScrollbar_11();
NullCheck(L_2);
ScrollEvent_t1794825321 * L_3 = Scrollbar_get_onValueChanged_m2506773176(L_2, /*hidden argument*/NULL);
IntPtr_t L_4;
L_4.set_m_value_0((void*)(void*)ScrollRect_SetHorizontalNormalizedPosition_m1084560733_MethodInfo_var);
UnityAction_1_t3443095683 * L_5 = (UnityAction_1_t3443095683 *)il2cpp_codegen_object_new(UnityAction_1_t3443095683_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m2172708761(L_5, __this, L_4, /*hidden argument*/UnityAction_1__ctor_m2172708761_MethodInfo_var);
NullCheck(L_3);
UnityEvent_1_AddListener_m2377847221(L_3, L_5, /*hidden argument*/UnityEvent_1_AddListener_m2377847221_MethodInfo_var);
}
IL_0033:
{
Scrollbar_t3248359358 * L_6 = __this->get_m_VerticalScrollbar_12();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_7 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_005f;
}
}
{
Scrollbar_t3248359358 * L_8 = __this->get_m_VerticalScrollbar_12();
NullCheck(L_8);
ScrollEvent_t1794825321 * L_9 = Scrollbar_get_onValueChanged_m2506773176(L_8, /*hidden argument*/NULL);
IntPtr_t L_10;
L_10.set_m_value_0((void*)(void*)ScrollRect_SetVerticalNormalizedPosition_m216554321_MethodInfo_var);
UnityAction_1_t3443095683 * L_11 = (UnityAction_1_t3443095683 *)il2cpp_codegen_object_new(UnityAction_1_t3443095683_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m2172708761(L_11, __this, L_10, /*hidden argument*/UnityAction_1__ctor_m2172708761_MethodInfo_var);
NullCheck(L_9);
UnityEvent_1_AddListener_m2377847221(L_9, L_11, /*hidden argument*/UnityEvent_1_AddListener_m2377847221_MethodInfo_var);
}
IL_005f:
{
IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t1780385998_il2cpp_TypeInfo_var);
CanvasUpdateRegistry_RegisterCanvasElementForLayoutRebuild_m669674528(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::OnDisable()
extern "C" void ScrollRect_OnDisable_m2695050977 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_OnDisable_m2695050977_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t1780385998_il2cpp_TypeInfo_var);
CanvasUpdateRegistry_UnRegisterCanvasElementForRebuild_m1497083313(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
Scrollbar_t3248359358 * L_0 = __this->get_m_HorizontalScrollbar_11();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0033;
}
}
{
Scrollbar_t3248359358 * L_2 = __this->get_m_HorizontalScrollbar_11();
NullCheck(L_2);
ScrollEvent_t1794825321 * L_3 = Scrollbar_get_onValueChanged_m2506773176(L_2, /*hidden argument*/NULL);
IntPtr_t L_4;
L_4.set_m_value_0((void*)(void*)ScrollRect_SetHorizontalNormalizedPosition_m1084560733_MethodInfo_var);
UnityAction_1_t3443095683 * L_5 = (UnityAction_1_t3443095683 *)il2cpp_codegen_object_new(UnityAction_1_t3443095683_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m2172708761(L_5, __this, L_4, /*hidden argument*/UnityAction_1__ctor_m2172708761_MethodInfo_var);
NullCheck(L_3);
UnityEvent_1_RemoveListener_m2564825698(L_3, L_5, /*hidden argument*/UnityEvent_1_RemoveListener_m2564825698_MethodInfo_var);
}
IL_0033:
{
Scrollbar_t3248359358 * L_6 = __this->get_m_VerticalScrollbar_12();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_7 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_005f;
}
}
{
Scrollbar_t3248359358 * L_8 = __this->get_m_VerticalScrollbar_12();
NullCheck(L_8);
ScrollEvent_t1794825321 * L_9 = Scrollbar_get_onValueChanged_m2506773176(L_8, /*hidden argument*/NULL);
IntPtr_t L_10;
L_10.set_m_value_0((void*)(void*)ScrollRect_SetVerticalNormalizedPosition_m216554321_MethodInfo_var);
UnityAction_1_t3443095683 * L_11 = (UnityAction_1_t3443095683 *)il2cpp_codegen_object_new(UnityAction_1_t3443095683_il2cpp_TypeInfo_var);
UnityAction_1__ctor_m2172708761(L_11, __this, L_10, /*hidden argument*/UnityAction_1__ctor_m2172708761_MethodInfo_var);
NullCheck(L_9);
UnityEvent_1_RemoveListener_m2564825698(L_9, L_11, /*hidden argument*/UnityEvent_1_RemoveListener_m2564825698_MethodInfo_var);
}
IL_005f:
{
__this->set_m_HasRebuiltLayout_28((bool)0);
DrivenRectTransformTracker_t154385424 * L_12 = __this->get_address_of_m_Tracker_36();
DrivenRectTransformTracker_Clear_m864483440(L_12, /*hidden argument*/NULL);
Vector2_t2243707579 L_13 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_Velocity_23(L_13);
RectTransform_t3349966182 * L_14 = ScrollRect_get_rectTransform_m1256747885(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t2155218138_il2cpp_TypeInfo_var);
LayoutRebuilder_MarkLayoutForRebuild_m640589351(NULL /*static, unused*/, L_14, /*hidden argument*/NULL);
UIBehaviour_OnDisable_m2533338171(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean UnityEngine.UI.ScrollRect::IsActive()
extern "C" bool ScrollRect_IsActive_m4078699278 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_IsActive_m4078699278_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B3_0 = 0;
{
bool L_0 = UIBehaviour_IsActive_m1944693168(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_001a;
}
}
{
RectTransform_t3349966182 * L_1 = __this->get_m_Content_2();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
G_B3_0 = ((int32_t)(L_2));
goto IL_001b;
}
IL_001a:
{
G_B3_0 = 0;
}
IL_001b:
{
V_0 = (bool)G_B3_0;
goto IL_0021;
}
IL_0021:
{
bool L_3 = V_0;
return L_3;
}
}
// System.Void UnityEngine.UI.ScrollRect::EnsureLayoutHasRebuilt()
extern "C" void ScrollRect_EnsureLayoutHasRebuilt_m2073458811 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_EnsureLayoutHasRebuilt_m2073458811_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_m_HasRebuiltLayout_28();
if (L_0)
{
goto IL_001b;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t1780385998_il2cpp_TypeInfo_var);
bool L_1 = CanvasUpdateRegistry_IsRebuildingLayout_m1677873278(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_1)
{
goto IL_001b;
}
}
{
Canvas_ForceUpdateCanvases_m2446828475(NULL /*static, unused*/, /*hidden argument*/NULL);
}
IL_001b:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::StopMovement()
extern "C" void ScrollRect_StopMovement_m1824352159 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
{
Vector2_t2243707579 L_0 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_Velocity_23(L_0);
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::OnScroll(UnityEngine.EventSystems.PointerEventData)
extern "C" void ScrollRect_OnScroll_m3346515304 (ScrollRect_t1199013257 * __this, PointerEventData_t1599784723 * ___data0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_OnScroll_m3346515304_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector2_t2243707579 V_1;
memset(&V_1, 0, sizeof(V_1));
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_0)
{
goto IL_0011;
}
}
{
goto IL_012b;
}
IL_0011:
{
ScrollRect_EnsureLayoutHasRebuilt_m2073458811(__this, /*hidden argument*/NULL);
ScrollRect_UpdateBounds_m3266596336(__this, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_1 = ___data0;
NullCheck(L_1);
Vector2_t2243707579 L_2 = PointerEventData_get_scrollDelta_m1283145047(L_1, /*hidden argument*/NULL);
V_0 = L_2;
Vector2_t2243707579 * L_3 = (&V_0);
float L_4 = L_3->get_y_1();
L_3->set_y_1(((float)((float)L_4*(float)(-1.0f))));
bool L_5 = ScrollRect_get_vertical_m3957330783(__this, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0086;
}
}
{
bool L_6 = ScrollRect_get_horizontal_m2408340743(__this, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0086;
}
}
{
float L_7 = (&V_0)->get_x_0();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_8 = fabsf(L_7);
float L_9 = (&V_0)->get_y_1();
float L_10 = fabsf(L_9);
if ((!(((float)L_8) > ((float)L_10))))
{
goto IL_0079;
}
}
{
float L_11 = (&V_0)->get_x_0();
(&V_0)->set_y_1(L_11);
}
IL_0079:
{
(&V_0)->set_x_0((0.0f));
}
IL_0086:
{
bool L_12 = ScrollRect_get_horizontal_m2408340743(__this, /*hidden argument*/NULL);
if (!L_12)
{
goto IL_00d5;
}
}
{
bool L_13 = ScrollRect_get_vertical_m3957330783(__this, /*hidden argument*/NULL);
if (L_13)
{
goto IL_00d5;
}
}
{
float L_14 = (&V_0)->get_y_1();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_15 = fabsf(L_14);
float L_16 = (&V_0)->get_x_0();
float L_17 = fabsf(L_16);
if ((!(((float)L_15) > ((float)L_17))))
{
goto IL_00c8;
}
}
{
float L_18 = (&V_0)->get_y_1();
(&V_0)->set_x_0(L_18);
}
IL_00c8:
{
(&V_0)->set_y_1((0.0f));
}
IL_00d5:
{
RectTransform_t3349966182 * L_19 = __this->get_m_Content_2();
NullCheck(L_19);
Vector2_t2243707579 L_20 = RectTransform_get_anchoredPosition_m3570822376(L_19, /*hidden argument*/NULL);
V_1 = L_20;
Vector2_t2243707579 L_21 = V_1;
Vector2_t2243707579 L_22 = V_0;
float L_23 = __this->get_m_ScrollSensitivity_9();
Vector2_t2243707579 L_24 = Vector2_op_Multiply_m4236139442(NULL /*static, unused*/, L_22, L_23, /*hidden argument*/NULL);
Vector2_t2243707579 L_25 = Vector2_op_Addition_m1389598521(NULL /*static, unused*/, L_21, L_24, /*hidden argument*/NULL);
V_1 = L_25;
int32_t L_26 = __this->get_m_MovementType_5();
if ((!(((uint32_t)L_26) == ((uint32_t)2))))
{
goto IL_011e;
}
}
{
Vector2_t2243707579 L_27 = V_1;
Vector2_t2243707579 L_28 = V_1;
RectTransform_t3349966182 * L_29 = __this->get_m_Content_2();
NullCheck(L_29);
Vector2_t2243707579 L_30 = RectTransform_get_anchoredPosition_m3570822376(L_29, /*hidden argument*/NULL);
Vector2_t2243707579 L_31 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_28, L_30, /*hidden argument*/NULL);
Vector2_t2243707579 L_32 = ScrollRect_CalculateOffset_m1659273054(__this, L_31, /*hidden argument*/NULL);
Vector2_t2243707579 L_33 = Vector2_op_Addition_m1389598521(NULL /*static, unused*/, L_27, L_32, /*hidden argument*/NULL);
V_1 = L_33;
}
IL_011e:
{
Vector2_t2243707579 L_34 = V_1;
VirtActionInvoker1< Vector2_t2243707579 >::Invoke(47 /* System.Void UnityEngine.UI.ScrollRect::SetContentAnchoredPosition(UnityEngine.Vector2) */, __this, L_34);
ScrollRect_UpdateBounds_m3266596336(__this, /*hidden argument*/NULL);
}
IL_012b:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::OnInitializePotentialDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" void ScrollRect_OnInitializePotentialDrag_m3110658189 (ScrollRect_t1199013257 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
NullCheck(L_0);
int32_t L_1 = PointerEventData_get_button_m2339189303(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0011;
}
}
{
goto IL_001c;
}
IL_0011:
{
Vector2_t2243707579 L_2 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_Velocity_23(L_2);
}
IL_001c:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::OnBeginDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" void ScrollRect_OnBeginDrag_m4285253530 (ScrollRect_t1199013257 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_OnBeginDrag_m4285253530_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
NullCheck(L_0);
int32_t L_1 = PointerEventData_get_button_m2339189303(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0011;
}
}
{
goto IL_0068;
}
IL_0011:
{
bool L_2 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_2)
{
goto IL_0021;
}
}
{
goto IL_0068;
}
IL_0021:
{
ScrollRect_UpdateBounds_m3266596336(__this, /*hidden argument*/NULL);
Vector2_t2243707579 L_3 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_PointerStartLocalCursor_18(L_3);
RectTransform_t3349966182 * L_4 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_5 = ___eventData0;
NullCheck(L_5);
Vector2_t2243707579 L_6 = PointerEventData_get_position_m2131765015(L_5, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_7 = ___eventData0;
NullCheck(L_7);
Camera_t189460977 * L_8 = PointerEventData_get_pressEventCamera_m724559964(L_7, /*hidden argument*/NULL);
Vector2_t2243707579 * L_9 = __this->get_address_of_m_PointerStartLocalCursor_18();
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
RectTransformUtility_ScreenPointToLocalPointInRectangle_m2398565080(NULL /*static, unused*/, L_4, L_6, L_8, L_9, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_10 = __this->get_m_Content_2();
NullCheck(L_10);
Vector2_t2243707579 L_11 = RectTransform_get_anchoredPosition_m3570822376(L_10, /*hidden argument*/NULL);
__this->set_m_ContentStartPosition_19(L_11);
__this->set_m_Dragging_24((bool)1);
}
IL_0068:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::OnEndDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" void ScrollRect_OnEndDrag_m2473889850 (ScrollRect_t1199013257 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
NullCheck(L_0);
int32_t L_1 = PointerEventData_get_button_m2339189303(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0011;
}
}
{
goto IL_0018;
}
IL_0011:
{
__this->set_m_Dragging_24((bool)0);
}
IL_0018:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::OnDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" void ScrollRect_OnDrag_m1424848249 (ScrollRect_t1199013257 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_OnDrag_m1424848249_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector2_t2243707579 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector2_t2243707579 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector2_t2243707579 V_3;
memset(&V_3, 0, sizeof(V_3));
Vector3_t2243707580 V_4;
memset(&V_4, 0, sizeof(V_4));
Vector3_t2243707580 V_5;
memset(&V_5, 0, sizeof(V_5));
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
NullCheck(L_0);
int32_t L_1 = PointerEventData_get_button_m2339189303(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0011;
}
}
{
goto IL_0119;
}
IL_0011:
{
bool L_2 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_2)
{
goto IL_0021;
}
}
{
goto IL_0119;
}
IL_0021:
{
RectTransform_t3349966182 * L_3 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_4 = ___eventData0;
NullCheck(L_4);
Vector2_t2243707579 L_5 = PointerEventData_get_position_m2131765015(L_4, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_6 = ___eventData0;
NullCheck(L_6);
Camera_t189460977 * L_7 = PointerEventData_get_pressEventCamera_m724559964(L_6, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
bool L_8 = RectTransformUtility_ScreenPointToLocalPointInRectangle_m2398565080(NULL /*static, unused*/, L_3, L_5, L_7, (&V_0), /*hidden argument*/NULL);
if (L_8)
{
goto IL_0044;
}
}
{
goto IL_0119;
}
IL_0044:
{
ScrollRect_UpdateBounds_m3266596336(__this, /*hidden argument*/NULL);
Vector2_t2243707579 L_9 = V_0;
Vector2_t2243707579 L_10 = __this->get_m_PointerStartLocalCursor_18();
Vector2_t2243707579 L_11 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_9, L_10, /*hidden argument*/NULL);
V_1 = L_11;
Vector2_t2243707579 L_12 = __this->get_m_ContentStartPosition_19();
Vector2_t2243707579 L_13 = V_1;
Vector2_t2243707579 L_14 = Vector2_op_Addition_m1389598521(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL);
V_2 = L_14;
Vector2_t2243707579 L_15 = V_2;
RectTransform_t3349966182 * L_16 = __this->get_m_Content_2();
NullCheck(L_16);
Vector2_t2243707579 L_17 = RectTransform_get_anchoredPosition_m3570822376(L_16, /*hidden argument*/NULL);
Vector2_t2243707579 L_18 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_15, L_17, /*hidden argument*/NULL);
Vector2_t2243707579 L_19 = ScrollRect_CalculateOffset_m1659273054(__this, L_18, /*hidden argument*/NULL);
V_3 = L_19;
Vector2_t2243707579 L_20 = V_2;
Vector2_t2243707579 L_21 = V_3;
Vector2_t2243707579 L_22 = Vector2_op_Addition_m1389598521(NULL /*static, unused*/, L_20, L_21, /*hidden argument*/NULL);
V_2 = L_22;
int32_t L_23 = __this->get_m_MovementType_5();
if ((!(((uint32_t)L_23) == ((uint32_t)1))))
{
goto IL_0112;
}
}
{
float L_24 = (&V_3)->get_x_0();
if ((((float)L_24) == ((float)(0.0f))))
{
goto IL_00d1;
}
}
{
float L_25 = (&V_2)->get_x_0();
float L_26 = (&V_3)->get_x_0();
Bounds_t3033363703 * L_27 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_28 = Bounds_get_size_m1728027642(L_27, /*hidden argument*/NULL);
V_4 = L_28;
float L_29 = (&V_4)->get_x_1();
float L_30 = ScrollRect_RubberDelta_m2533506730(NULL /*static, unused*/, L_26, L_29, /*hidden argument*/NULL);
(&V_2)->set_x_0(((float)((float)L_25-(float)L_30)));
}
IL_00d1:
{
float L_31 = (&V_3)->get_y_1();
if ((((float)L_31) == ((float)(0.0f))))
{
goto IL_0111;
}
}
{
float L_32 = (&V_2)->get_y_1();
float L_33 = (&V_3)->get_y_1();
Bounds_t3033363703 * L_34 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_35 = Bounds_get_size_m1728027642(L_34, /*hidden argument*/NULL);
V_5 = L_35;
float L_36 = (&V_5)->get_y_2();
float L_37 = ScrollRect_RubberDelta_m2533506730(NULL /*static, unused*/, L_33, L_36, /*hidden argument*/NULL);
(&V_2)->set_y_1(((float)((float)L_32-(float)L_37)));
}
IL_0111:
{
}
IL_0112:
{
Vector2_t2243707579 L_38 = V_2;
VirtActionInvoker1< Vector2_t2243707579 >::Invoke(47 /* System.Void UnityEngine.UI.ScrollRect::SetContentAnchoredPosition(UnityEngine.Vector2) */, __this, L_38);
}
IL_0119:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::SetContentAnchoredPosition(UnityEngine.Vector2)
extern "C" void ScrollRect_SetContentAnchoredPosition_m1194305206 (ScrollRect_t1199013257 * __this, Vector2_t2243707579 ___position0, const MethodInfo* method)
{
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector2_t2243707579 V_1;
memset(&V_1, 0, sizeof(V_1));
{
bool L_0 = __this->get_m_Horizontal_3();
if (L_0)
{
goto IL_0026;
}
}
{
RectTransform_t3349966182 * L_1 = __this->get_m_Content_2();
NullCheck(L_1);
Vector2_t2243707579 L_2 = RectTransform_get_anchoredPosition_m3570822376(L_1, /*hidden argument*/NULL);
V_0 = L_2;
float L_3 = (&V_0)->get_x_0();
(&___position0)->set_x_0(L_3);
}
IL_0026:
{
bool L_4 = __this->get_m_Vertical_4();
if (L_4)
{
goto IL_004b;
}
}
{
RectTransform_t3349966182 * L_5 = __this->get_m_Content_2();
NullCheck(L_5);
Vector2_t2243707579 L_6 = RectTransform_get_anchoredPosition_m3570822376(L_5, /*hidden argument*/NULL);
V_1 = L_6;
float L_7 = (&V_1)->get_y_1();
(&___position0)->set_y_1(L_7);
}
IL_004b:
{
Vector2_t2243707579 L_8 = ___position0;
RectTransform_t3349966182 * L_9 = __this->get_m_Content_2();
NullCheck(L_9);
Vector2_t2243707579 L_10 = RectTransform_get_anchoredPosition_m3570822376(L_9, /*hidden argument*/NULL);
bool L_11 = Vector2_op_Inequality_m4283136193(NULL /*static, unused*/, L_8, L_10, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0075;
}
}
{
RectTransform_t3349966182 * L_12 = __this->get_m_Content_2();
Vector2_t2243707579 L_13 = ___position0;
NullCheck(L_12);
RectTransform_set_anchoredPosition_m2077229449(L_12, L_13, /*hidden argument*/NULL);
ScrollRect_UpdateBounds_m3266596336(__this, /*hidden argument*/NULL);
}
IL_0075:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::LateUpdate()
extern "C" void ScrollRect_LateUpdate_m653657617 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_LateUpdate_m653657617_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
Vector2_t2243707579 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector2_t2243707579 V_2;
memset(&V_2, 0, sizeof(V_2));
int32_t V_3 = 0;
float V_4 = 0.0f;
Vector2_t2243707579 V_5;
memset(&V_5, 0, sizeof(V_5));
Vector2_t2243707579 V_6;
memset(&V_6, 0, sizeof(V_6));
Vector2_t2243707579 * V_7 = NULL;
int32_t V_8 = 0;
int32_t V_9 = 0;
Vector3_t2243707580 V_10;
memset(&V_10, 0, sizeof(V_10));
{
RectTransform_t3349966182 * L_0 = __this->get_m_Content_2();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0016;
}
}
{
goto IL_02e4;
}
IL_0016:
{
ScrollRect_EnsureLayoutHasRebuilt_m2073458811(__this, /*hidden argument*/NULL);
ScrollRect_UpdateScrollbarVisibility_m2738472183(__this, /*hidden argument*/NULL);
ScrollRect_UpdateBounds_m3266596336(__this, /*hidden argument*/NULL);
float L_2 = Time_get_unscaledDeltaTime_m4281640537(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_2;
Vector2_t2243707579 L_3 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
Vector2_t2243707579 L_4 = ScrollRect_CalculateOffset_m1659273054(__this, L_3, /*hidden argument*/NULL);
V_1 = L_4;
bool L_5 = __this->get_m_Dragging_24();
if (L_5)
{
goto IL_021e;
}
}
{
Vector2_t2243707579 L_6 = V_1;
Vector2_t2243707579 L_7 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
bool L_8 = Vector2_op_Inequality_m4283136193(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL);
if (L_8)
{
goto IL_006a;
}
}
{
Vector2_t2243707579 L_9 = __this->get_m_Velocity_23();
Vector2_t2243707579 L_10 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
bool L_11 = Vector2_op_Inequality_m4283136193(NULL /*static, unused*/, L_9, L_10, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_021e;
}
}
IL_006a:
{
RectTransform_t3349966182 * L_12 = __this->get_m_Content_2();
NullCheck(L_12);
Vector2_t2243707579 L_13 = RectTransform_get_anchoredPosition_m3570822376(L_12, /*hidden argument*/NULL);
V_2 = L_13;
V_3 = 0;
goto IL_01ca;
}
IL_007e:
{
int32_t L_14 = __this->get_m_MovementType_5();
if ((!(((uint32_t)L_14) == ((uint32_t)1))))
{
goto IL_0126;
}
}
{
int32_t L_15 = V_3;
float L_16 = Vector2_get_Item_m2792130561((&V_1), L_15, /*hidden argument*/NULL);
if ((((float)L_16) == ((float)(0.0f))))
{
goto IL_0126;
}
}
{
Vector2_t2243707579 * L_17 = __this->get_address_of_m_Velocity_23();
int32_t L_18 = V_3;
float L_19 = Vector2_get_Item_m2792130561(L_17, L_18, /*hidden argument*/NULL);
V_4 = L_19;
int32_t L_20 = V_3;
RectTransform_t3349966182 * L_21 = __this->get_m_Content_2();
NullCheck(L_21);
Vector2_t2243707579 L_22 = RectTransform_get_anchoredPosition_m3570822376(L_21, /*hidden argument*/NULL);
V_5 = L_22;
int32_t L_23 = V_3;
float L_24 = Vector2_get_Item_m2792130561((&V_5), L_23, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_25 = __this->get_m_Content_2();
NullCheck(L_25);
Vector2_t2243707579 L_26 = RectTransform_get_anchoredPosition_m3570822376(L_25, /*hidden argument*/NULL);
V_6 = L_26;
int32_t L_27 = V_3;
float L_28 = Vector2_get_Item_m2792130561((&V_6), L_27, /*hidden argument*/NULL);
int32_t L_29 = V_3;
float L_30 = Vector2_get_Item_m2792130561((&V_1), L_29, /*hidden argument*/NULL);
float L_31 = __this->get_m_Elasticity_6();
float L_32 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_33 = Mathf_SmoothDamp_m1604773625(NULL /*static, unused*/, L_24, ((float)((float)L_28+(float)L_30)), (&V_4), L_31, (std::numeric_limits<float>::infinity()), L_32, /*hidden argument*/NULL);
Vector2_set_Item_m3881967114((&V_2), L_20, L_33, /*hidden argument*/NULL);
float L_34 = V_4;
float L_35 = fabsf(L_34);
if ((!(((float)L_35) < ((float)(1.0f)))))
{
goto IL_0112;
}
}
{
V_4 = (0.0f);
}
IL_0112:
{
Vector2_t2243707579 * L_36 = __this->get_address_of_m_Velocity_23();
int32_t L_37 = V_3;
float L_38 = V_4;
Vector2_set_Item_m3881967114(L_36, L_37, L_38, /*hidden argument*/NULL);
goto IL_01c5;
}
IL_0126:
{
bool L_39 = __this->get_m_Inertia_7();
if (!L_39)
{
goto IL_01b2;
}
}
{
Vector2_t2243707579 * L_40 = __this->get_address_of_m_Velocity_23();
Vector2_t2243707579 * L_41 = L_40;
V_7 = (Vector2_t2243707579 *)L_41;
int32_t L_42 = V_3;
int32_t L_43 = L_42;
V_8 = L_43;
Vector2_t2243707579 * L_44 = V_7;
int32_t L_45 = V_8;
float L_46 = Vector2_get_Item_m2792130561(L_44, L_45, /*hidden argument*/NULL);
float L_47 = __this->get_m_DecelerationRate_8();
float L_48 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_49 = powf(L_47, L_48);
Vector2_set_Item_m3881967114(L_41, L_43, ((float)((float)L_46*(float)L_49)), /*hidden argument*/NULL);
Vector2_t2243707579 * L_50 = __this->get_address_of_m_Velocity_23();
int32_t L_51 = V_3;
float L_52 = Vector2_get_Item_m2792130561(L_50, L_51, /*hidden argument*/NULL);
float L_53 = fabsf(L_52);
if ((!(((float)L_53) < ((float)(1.0f)))))
{
goto IL_0186;
}
}
{
Vector2_t2243707579 * L_54 = __this->get_address_of_m_Velocity_23();
int32_t L_55 = V_3;
Vector2_set_Item_m3881967114(L_54, L_55, (0.0f), /*hidden argument*/NULL);
}
IL_0186:
{
Vector2_t2243707579 * L_56 = (&V_2);
V_7 = (Vector2_t2243707579 *)L_56;
int32_t L_57 = V_3;
int32_t L_58 = L_57;
V_9 = L_58;
Vector2_t2243707579 * L_59 = V_7;
int32_t L_60 = V_9;
float L_61 = Vector2_get_Item_m2792130561(L_59, L_60, /*hidden argument*/NULL);
Vector2_t2243707579 * L_62 = __this->get_address_of_m_Velocity_23();
int32_t L_63 = V_3;
float L_64 = Vector2_get_Item_m2792130561(L_62, L_63, /*hidden argument*/NULL);
float L_65 = V_0;
Vector2_set_Item_m3881967114(L_56, L_58, ((float)((float)L_61+(float)((float)((float)L_64*(float)L_65)))), /*hidden argument*/NULL);
goto IL_01c5;
}
IL_01b2:
{
Vector2_t2243707579 * L_66 = __this->get_address_of_m_Velocity_23();
int32_t L_67 = V_3;
Vector2_set_Item_m3881967114(L_66, L_67, (0.0f), /*hidden argument*/NULL);
}
IL_01c5:
{
int32_t L_68 = V_3;
V_3 = ((int32_t)((int32_t)L_68+(int32_t)1));
}
IL_01ca:
{
int32_t L_69 = V_3;
if ((((int32_t)L_69) < ((int32_t)2)))
{
goto IL_007e;
}
}
{
Vector2_t2243707579 L_70 = __this->get_m_Velocity_23();
Vector2_t2243707579 L_71 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
bool L_72 = Vector2_op_Inequality_m4283136193(NULL /*static, unused*/, L_70, L_71, /*hidden argument*/NULL);
if (!L_72)
{
goto IL_021d;
}
}
{
int32_t L_73 = __this->get_m_MovementType_5();
if ((!(((uint32_t)L_73) == ((uint32_t)2))))
{
goto IL_0215;
}
}
{
Vector2_t2243707579 L_74 = V_2;
RectTransform_t3349966182 * L_75 = __this->get_m_Content_2();
NullCheck(L_75);
Vector2_t2243707579 L_76 = RectTransform_get_anchoredPosition_m3570822376(L_75, /*hidden argument*/NULL);
Vector2_t2243707579 L_77 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_74, L_76, /*hidden argument*/NULL);
Vector2_t2243707579 L_78 = ScrollRect_CalculateOffset_m1659273054(__this, L_77, /*hidden argument*/NULL);
V_1 = L_78;
Vector2_t2243707579 L_79 = V_2;
Vector2_t2243707579 L_80 = V_1;
Vector2_t2243707579 L_81 = Vector2_op_Addition_m1389598521(NULL /*static, unused*/, L_79, L_80, /*hidden argument*/NULL);
V_2 = L_81;
}
IL_0215:
{
Vector2_t2243707579 L_82 = V_2;
VirtActionInvoker1< Vector2_t2243707579 >::Invoke(47 /* System.Void UnityEngine.UI.ScrollRect::SetContentAnchoredPosition(UnityEngine.Vector2) */, __this, L_82);
}
IL_021d:
{
}
IL_021e:
{
bool L_83 = __this->get_m_Dragging_24();
if (!L_83)
{
goto IL_027d;
}
}
{
bool L_84 = __this->get_m_Inertia_7();
if (!L_84)
{
goto IL_027d;
}
}
{
RectTransform_t3349966182 * L_85 = __this->get_m_Content_2();
NullCheck(L_85);
Vector2_t2243707579 L_86 = RectTransform_get_anchoredPosition_m3570822376(L_85, /*hidden argument*/NULL);
Vector2_t2243707579 L_87 = __this->get_m_PrevPosition_25();
Vector2_t2243707579 L_88 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_86, L_87, /*hidden argument*/NULL);
float L_89 = V_0;
Vector2_t2243707579 L_90 = Vector2_op_Division_m96580069(NULL /*static, unused*/, L_88, L_89, /*hidden argument*/NULL);
Vector3_t2243707580 L_91 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_90, /*hidden argument*/NULL);
V_10 = L_91;
Vector2_t2243707579 L_92 = __this->get_m_Velocity_23();
Vector3_t2243707580 L_93 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_92, /*hidden argument*/NULL);
Vector3_t2243707580 L_94 = V_10;
float L_95 = V_0;
Vector3_t2243707580 L_96 = Vector3_Lerp_m2935648359(NULL /*static, unused*/, L_93, L_94, ((float)((float)L_95*(float)(10.0f))), /*hidden argument*/NULL);
Vector2_t2243707579 L_97 = Vector2_op_Implicit_m1064335535(NULL /*static, unused*/, L_96, /*hidden argument*/NULL);
__this->set_m_Velocity_23(L_97);
}
IL_027d:
{
Bounds_t3033363703 L_98 = __this->get_m_ViewBounds_22();
Bounds_t3033363703 L_99 = __this->get_m_PrevViewBounds_27();
bool L_100 = Bounds_op_Inequality_m2315096783(NULL /*static, unused*/, L_98, L_99, /*hidden argument*/NULL);
if (L_100)
{
goto IL_02c4;
}
}
{
Bounds_t3033363703 L_101 = __this->get_m_ContentBounds_21();
Bounds_t3033363703 L_102 = __this->get_m_PrevContentBounds_26();
bool L_103 = Bounds_op_Inequality_m2315096783(NULL /*static, unused*/, L_101, L_102, /*hidden argument*/NULL);
if (L_103)
{
goto IL_02c4;
}
}
{
RectTransform_t3349966182 * L_104 = __this->get_m_Content_2();
NullCheck(L_104);
Vector2_t2243707579 L_105 = RectTransform_get_anchoredPosition_m3570822376(L_104, /*hidden argument*/NULL);
Vector2_t2243707579 L_106 = __this->get_m_PrevPosition_25();
bool L_107 = Vector2_op_Inequality_m4283136193(NULL /*static, unused*/, L_105, L_106, /*hidden argument*/NULL);
if (!L_107)
{
goto IL_02e4;
}
}
IL_02c4:
{
Vector2_t2243707579 L_108 = V_1;
ScrollRect_UpdateScrollbars_m3921404746(__this, L_108, /*hidden argument*/NULL);
ScrollRectEvent_t3529018992 * L_109 = __this->get_m_OnValueChanged_17();
Vector2_t2243707579 L_110 = ScrollRect_get_normalizedPosition_m1640825682(__this, /*hidden argument*/NULL);
NullCheck(L_109);
UnityEvent_1_Invoke_m1533100983(L_109, L_110, /*hidden argument*/UnityEvent_1_Invoke_m1533100983_MethodInfo_var);
ScrollRect_UpdatePrevData_m3092887300(__this, /*hidden argument*/NULL);
}
IL_02e4:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::UpdatePrevData()
extern "C" void ScrollRect_UpdatePrevData_m3092887300 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_UpdatePrevData_m3092887300_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RectTransform_t3349966182 * L_0 = __this->get_m_Content_2();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0022;
}
}
{
Vector2_t2243707579 L_2 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_PrevPosition_25(L_2);
goto IL_0033;
}
IL_0022:
{
RectTransform_t3349966182 * L_3 = __this->get_m_Content_2();
NullCheck(L_3);
Vector2_t2243707579 L_4 = RectTransform_get_anchoredPosition_m3570822376(L_3, /*hidden argument*/NULL);
__this->set_m_PrevPosition_25(L_4);
}
IL_0033:
{
Bounds_t3033363703 L_5 = __this->get_m_ViewBounds_22();
__this->set_m_PrevViewBounds_27(L_5);
Bounds_t3033363703 L_6 = __this->get_m_ContentBounds_21();
__this->set_m_PrevContentBounds_26(L_6);
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::UpdateScrollbars(UnityEngine.Vector2)
extern "C" void ScrollRect_UpdateScrollbars_m3921404746 (ScrollRect_t1199013257 * __this, Vector2_t2243707579 ___offset0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_UpdateScrollbars_m3921404746_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector3_t2243707580 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector3_t2243707580 V_3;
memset(&V_3, 0, sizeof(V_3));
Vector3_t2243707580 V_4;
memset(&V_4, 0, sizeof(V_4));
Vector3_t2243707580 V_5;
memset(&V_5, 0, sizeof(V_5));
{
Scrollbar_t3248359358 * L_0 = __this->get_m_HorizontalScrollbar_11();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_009a;
}
}
{
Bounds_t3033363703 * L_2 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_3 = Bounds_get_size_m1728027642(L_2, /*hidden argument*/NULL);
V_0 = L_3;
float L_4 = (&V_0)->get_x_1();
if ((!(((float)L_4) > ((float)(0.0f)))))
{
goto IL_0078;
}
}
{
Scrollbar_t3248359358 * L_5 = __this->get_m_HorizontalScrollbar_11();
Bounds_t3033363703 * L_6 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_7 = Bounds_get_size_m1728027642(L_6, /*hidden argument*/NULL);
V_1 = L_7;
float L_8 = (&V_1)->get_x_1();
float L_9 = (&___offset0)->get_x_0();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_10 = fabsf(L_9);
Bounds_t3033363703 * L_11 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_12 = Bounds_get_size_m1728027642(L_11, /*hidden argument*/NULL);
V_2 = L_12;
float L_13 = (&V_2)->get_x_1();
float L_14 = Mathf_Clamp01_m3888954684(NULL /*static, unused*/, ((float)((float)((float)((float)L_8-(float)L_10))/(float)L_13)), /*hidden argument*/NULL);
NullCheck(L_5);
Scrollbar_set_size_m2088196430(L_5, L_14, /*hidden argument*/NULL);
goto IL_0088;
}
IL_0078:
{
Scrollbar_t3248359358 * L_15 = __this->get_m_HorizontalScrollbar_11();
NullCheck(L_15);
Scrollbar_set_size_m2088196430(L_15, (1.0f), /*hidden argument*/NULL);
}
IL_0088:
{
Scrollbar_t3248359358 * L_16 = __this->get_m_HorizontalScrollbar_11();
float L_17 = ScrollRect_get_horizontalNormalizedPosition_m3769146345(__this, /*hidden argument*/NULL);
NullCheck(L_16);
Scrollbar_set_value_m1056753036(L_16, L_17, /*hidden argument*/NULL);
}
IL_009a:
{
Scrollbar_t3248359358 * L_18 = __this->get_m_VerticalScrollbar_12();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_19 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_18, /*hidden argument*/NULL);
if (!L_19)
{
goto IL_0135;
}
}
{
Bounds_t3033363703 * L_20 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_21 = Bounds_get_size_m1728027642(L_20, /*hidden argument*/NULL);
V_3 = L_21;
float L_22 = (&V_3)->get_y_2();
if ((!(((float)L_22) > ((float)(0.0f)))))
{
goto IL_0113;
}
}
{
Scrollbar_t3248359358 * L_23 = __this->get_m_VerticalScrollbar_12();
Bounds_t3033363703 * L_24 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_25 = Bounds_get_size_m1728027642(L_24, /*hidden argument*/NULL);
V_4 = L_25;
float L_26 = (&V_4)->get_y_2();
float L_27 = (&___offset0)->get_y_1();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_28 = fabsf(L_27);
Bounds_t3033363703 * L_29 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_30 = Bounds_get_size_m1728027642(L_29, /*hidden argument*/NULL);
V_5 = L_30;
float L_31 = (&V_5)->get_y_2();
float L_32 = Mathf_Clamp01_m3888954684(NULL /*static, unused*/, ((float)((float)((float)((float)L_26-(float)L_28))/(float)L_31)), /*hidden argument*/NULL);
NullCheck(L_23);
Scrollbar_set_size_m2088196430(L_23, L_32, /*hidden argument*/NULL);
goto IL_0123;
}
IL_0113:
{
Scrollbar_t3248359358 * L_33 = __this->get_m_VerticalScrollbar_12();
NullCheck(L_33);
Scrollbar_set_size_m2088196430(L_33, (1.0f), /*hidden argument*/NULL);
}
IL_0123:
{
Scrollbar_t3248359358 * L_34 = __this->get_m_VerticalScrollbar_12();
float L_35 = ScrollRect_get_verticalNormalizedPosition_m1701804869(__this, /*hidden argument*/NULL);
NullCheck(L_34);
Scrollbar_set_value_m1056753036(L_34, L_35, /*hidden argument*/NULL);
}
IL_0135:
{
return;
}
}
// UnityEngine.Vector2 UnityEngine.UI.ScrollRect::get_normalizedPosition()
extern "C" Vector2_t2243707579 ScrollRect_get_normalizedPosition_m1640825682 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
{
float L_0 = ScrollRect_get_horizontalNormalizedPosition_m3769146345(__this, /*hidden argument*/NULL);
float L_1 = ScrollRect_get_verticalNormalizedPosition_m1701804869(__this, /*hidden argument*/NULL);
Vector2_t2243707579 L_2;
memset(&L_2, 0, sizeof(L_2));
Vector2__ctor_m3067419446(&L_2, L_0, L_1, /*hidden argument*/NULL);
V_0 = L_2;
goto IL_0018;
}
IL_0018:
{
Vector2_t2243707579 L_3 = V_0;
return L_3;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_normalizedPosition(UnityEngine.Vector2)
extern "C" void ScrollRect_set_normalizedPosition_m854787777 (ScrollRect_t1199013257 * __this, Vector2_t2243707579 ___value0, const MethodInfo* method)
{
{
float L_0 = (&___value0)->get_x_0();
VirtActionInvoker2< float, int32_t >::Invoke(49 /* System.Void UnityEngine.UI.ScrollRect::SetNormalizedPosition(System.Single,System.Int32) */, __this, L_0, 0);
float L_1 = (&___value0)->get_y_1();
VirtActionInvoker2< float, int32_t >::Invoke(49 /* System.Void UnityEngine.UI.ScrollRect::SetNormalizedPosition(System.Single,System.Int32) */, __this, L_1, 1);
return;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_horizontalNormalizedPosition()
extern "C" float ScrollRect_get_horizontalNormalizedPosition_m3769146345 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector3_t2243707580 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector3_t2243707580 V_3;
memset(&V_3, 0, sizeof(V_3));
float V_4 = 0.0f;
Vector3_t2243707580 V_5;
memset(&V_5, 0, sizeof(V_5));
Vector3_t2243707580 V_6;
memset(&V_6, 0, sizeof(V_6));
Vector3_t2243707580 V_7;
memset(&V_7, 0, sizeof(V_7));
Vector3_t2243707580 V_8;
memset(&V_8, 0, sizeof(V_8));
int32_t G_B4_0 = 0;
{
ScrollRect_UpdateBounds_m3266596336(__this, /*hidden argument*/NULL);
Bounds_t3033363703 * L_0 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_1 = Bounds_get_size_m1728027642(L_0, /*hidden argument*/NULL);
V_0 = L_1;
float L_2 = (&V_0)->get_x_1();
Bounds_t3033363703 * L_3 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_4 = Bounds_get_size_m1728027642(L_3, /*hidden argument*/NULL);
V_1 = L_4;
float L_5 = (&V_1)->get_x_1();
if ((!(((float)L_2) <= ((float)L_5))))
{
goto IL_006c;
}
}
{
Bounds_t3033363703 * L_6 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_7 = Bounds_get_min_m2405290441(L_6, /*hidden argument*/NULL);
V_2 = L_7;
float L_8 = (&V_2)->get_x_1();
Bounds_t3033363703 * L_9 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_10 = Bounds_get_min_m2405290441(L_9, /*hidden argument*/NULL);
V_3 = L_10;
float L_11 = (&V_3)->get_x_1();
if ((!(((float)L_8) > ((float)L_11))))
{
goto IL_0063;
}
}
{
G_B4_0 = 1;
goto IL_0064;
}
IL_0063:
{
G_B4_0 = 0;
}
IL_0064:
{
V_4 = (((float)((float)G_B4_0)));
goto IL_00c6;
}
IL_006c:
{
Bounds_t3033363703 * L_12 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_13 = Bounds_get_min_m2405290441(L_12, /*hidden argument*/NULL);
V_5 = L_13;
float L_14 = (&V_5)->get_x_1();
Bounds_t3033363703 * L_15 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_16 = Bounds_get_min_m2405290441(L_15, /*hidden argument*/NULL);
V_6 = L_16;
float L_17 = (&V_6)->get_x_1();
Bounds_t3033363703 * L_18 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_19 = Bounds_get_size_m1728027642(L_18, /*hidden argument*/NULL);
V_7 = L_19;
float L_20 = (&V_7)->get_x_1();
Bounds_t3033363703 * L_21 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_22 = Bounds_get_size_m1728027642(L_21, /*hidden argument*/NULL);
V_8 = L_22;
float L_23 = (&V_8)->get_x_1();
V_4 = ((float)((float)((float)((float)L_14-(float)L_17))/(float)((float)((float)L_20-(float)L_23))));
goto IL_00c6;
}
IL_00c6:
{
float L_24 = V_4;
return L_24;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_horizontalNormalizedPosition(System.Single)
extern "C" void ScrollRect_set_horizontalNormalizedPosition_m3654350248 (ScrollRect_t1199013257 * __this, float ___value0, const MethodInfo* method)
{
{
float L_0 = ___value0;
VirtActionInvoker2< float, int32_t >::Invoke(49 /* System.Void UnityEngine.UI.ScrollRect::SetNormalizedPosition(System.Single,System.Int32) */, __this, L_0, 0);
return;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_verticalNormalizedPosition()
extern "C" float ScrollRect_get_verticalNormalizedPosition_m1701804869 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector3_t2243707580 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector3_t2243707580 V_3;
memset(&V_3, 0, sizeof(V_3));
float V_4 = 0.0f;
Vector3_t2243707580 V_5;
memset(&V_5, 0, sizeof(V_5));
Vector3_t2243707580 V_6;
memset(&V_6, 0, sizeof(V_6));
Vector3_t2243707580 V_7;
memset(&V_7, 0, sizeof(V_7));
Vector3_t2243707580 V_8;
memset(&V_8, 0, sizeof(V_8));
int32_t G_B4_0 = 0;
{
ScrollRect_UpdateBounds_m3266596336(__this, /*hidden argument*/NULL);
Bounds_t3033363703 * L_0 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_1 = Bounds_get_size_m1728027642(L_0, /*hidden argument*/NULL);
V_0 = L_1;
float L_2 = (&V_0)->get_y_2();
Bounds_t3033363703 * L_3 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_4 = Bounds_get_size_m1728027642(L_3, /*hidden argument*/NULL);
V_1 = L_4;
float L_5 = (&V_1)->get_y_2();
if ((!(((float)L_2) <= ((float)L_5))))
{
goto IL_006c;
}
}
{
Bounds_t3033363703 * L_6 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_7 = Bounds_get_min_m2405290441(L_6, /*hidden argument*/NULL);
V_2 = L_7;
float L_8 = (&V_2)->get_y_2();
Bounds_t3033363703 * L_9 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_10 = Bounds_get_min_m2405290441(L_9, /*hidden argument*/NULL);
V_3 = L_10;
float L_11 = (&V_3)->get_y_2();
if ((!(((float)L_8) > ((float)L_11))))
{
goto IL_0063;
}
}
{
G_B4_0 = 1;
goto IL_0064;
}
IL_0063:
{
G_B4_0 = 0;
}
IL_0064:
{
V_4 = (((float)((float)G_B4_0)));
goto IL_00c6;
}
IL_006c:
{
Bounds_t3033363703 * L_12 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_13 = Bounds_get_min_m2405290441(L_12, /*hidden argument*/NULL);
V_5 = L_13;
float L_14 = (&V_5)->get_y_2();
Bounds_t3033363703 * L_15 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_16 = Bounds_get_min_m2405290441(L_15, /*hidden argument*/NULL);
V_6 = L_16;
float L_17 = (&V_6)->get_y_2();
Bounds_t3033363703 * L_18 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_19 = Bounds_get_size_m1728027642(L_18, /*hidden argument*/NULL);
V_7 = L_19;
float L_20 = (&V_7)->get_y_2();
Bounds_t3033363703 * L_21 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_22 = Bounds_get_size_m1728027642(L_21, /*hidden argument*/NULL);
V_8 = L_22;
float L_23 = (&V_8)->get_y_2();
V_4 = ((float)((float)((float)((float)L_14-(float)L_17))/(float)((float)((float)L_20-(float)L_23))));
goto IL_00c6;
}
IL_00c6:
{
float L_24 = V_4;
return L_24;
}
}
// System.Void UnityEngine.UI.ScrollRect::set_verticalNormalizedPosition(System.Single)
extern "C" void ScrollRect_set_verticalNormalizedPosition_m18991718 (ScrollRect_t1199013257 * __this, float ___value0, const MethodInfo* method)
{
{
float L_0 = ___value0;
VirtActionInvoker2< float, int32_t >::Invoke(49 /* System.Void UnityEngine.UI.ScrollRect::SetNormalizedPosition(System.Single,System.Int32) */, __this, L_0, 1);
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::SetHorizontalNormalizedPosition(System.Single)
extern "C" void ScrollRect_SetHorizontalNormalizedPosition_m1084560733 (ScrollRect_t1199013257 * __this, float ___value0, const MethodInfo* method)
{
{
float L_0 = ___value0;
VirtActionInvoker2< float, int32_t >::Invoke(49 /* System.Void UnityEngine.UI.ScrollRect::SetNormalizedPosition(System.Single,System.Int32) */, __this, L_0, 0);
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::SetVerticalNormalizedPosition(System.Single)
extern "C" void ScrollRect_SetVerticalNormalizedPosition_m216554321 (ScrollRect_t1199013257 * __this, float ___value0, const MethodInfo* method)
{
{
float L_0 = ___value0;
VirtActionInvoker2< float, int32_t >::Invoke(49 /* System.Void UnityEngine.UI.ScrollRect::SetNormalizedPosition(System.Single,System.Int32) */, __this, L_0, 1);
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::SetNormalizedPosition(System.Single,System.Int32)
extern "C" void ScrollRect_SetNormalizedPosition_m3782185980 (ScrollRect_t1199013257 * __this, float ___value0, int32_t ___axis1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_SetNormalizedPosition_m3782185980_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector3_t2243707580 V_2;
memset(&V_2, 0, sizeof(V_2));
float V_3 = 0.0f;
Vector3_t2243707580 V_4;
memset(&V_4, 0, sizeof(V_4));
float V_5 = 0.0f;
Vector3_t2243707580 V_6;
memset(&V_6, 0, sizeof(V_6));
Vector3_t2243707580 V_7;
memset(&V_7, 0, sizeof(V_7));
Vector3_t2243707580 V_8;
memset(&V_8, 0, sizeof(V_8));
{
ScrollRect_EnsureLayoutHasRebuilt_m2073458811(__this, /*hidden argument*/NULL);
ScrollRect_UpdateBounds_m3266596336(__this, /*hidden argument*/NULL);
Bounds_t3033363703 * L_0 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_1 = Bounds_get_size_m1728027642(L_0, /*hidden argument*/NULL);
V_1 = L_1;
int32_t L_2 = ___axis1;
float L_3 = Vector3_get_Item_m3616014016((&V_1), L_2, /*hidden argument*/NULL);
Bounds_t3033363703 * L_4 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_5 = Bounds_get_size_m1728027642(L_4, /*hidden argument*/NULL);
V_2 = L_5;
int32_t L_6 = ___axis1;
float L_7 = Vector3_get_Item_m3616014016((&V_2), L_6, /*hidden argument*/NULL);
V_0 = ((float)((float)L_3-(float)L_7));
Bounds_t3033363703 * L_8 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_9 = Bounds_get_min_m2405290441(L_8, /*hidden argument*/NULL);
V_4 = L_9;
int32_t L_10 = ___axis1;
float L_11 = Vector3_get_Item_m3616014016((&V_4), L_10, /*hidden argument*/NULL);
float L_12 = ___value0;
float L_13 = V_0;
V_3 = ((float)((float)L_11-(float)((float)((float)L_12*(float)L_13))));
RectTransform_t3349966182 * L_14 = __this->get_m_Content_2();
NullCheck(L_14);
Vector3_t2243707580 L_15 = Transform_get_localPosition_m2533925116(L_14, /*hidden argument*/NULL);
V_6 = L_15;
int32_t L_16 = ___axis1;
float L_17 = Vector3_get_Item_m3616014016((&V_6), L_16, /*hidden argument*/NULL);
float L_18 = V_3;
Bounds_t3033363703 * L_19 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_20 = Bounds_get_min_m2405290441(L_19, /*hidden argument*/NULL);
V_7 = L_20;
int32_t L_21 = ___axis1;
float L_22 = Vector3_get_Item_m3616014016((&V_7), L_21, /*hidden argument*/NULL);
V_5 = ((float)((float)((float)((float)L_17+(float)L_18))-(float)L_22));
RectTransform_t3349966182 * L_23 = __this->get_m_Content_2();
NullCheck(L_23);
Vector3_t2243707580 L_24 = Transform_get_localPosition_m2533925116(L_23, /*hidden argument*/NULL);
V_8 = L_24;
int32_t L_25 = ___axis1;
float L_26 = Vector3_get_Item_m3616014016((&V_8), L_25, /*hidden argument*/NULL);
float L_27 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_28 = fabsf(((float)((float)L_26-(float)L_27)));
if ((!(((float)L_28) > ((float)(0.01f)))))
{
goto IL_00d7;
}
}
{
int32_t L_29 = ___axis1;
float L_30 = V_5;
Vector3_set_Item_m499708011((&V_8), L_29, L_30, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_31 = __this->get_m_Content_2();
Vector3_t2243707580 L_32 = V_8;
NullCheck(L_31);
Transform_set_localPosition_m1026930133(L_31, L_32, /*hidden argument*/NULL);
Vector2_t2243707579 * L_33 = __this->get_address_of_m_Velocity_23();
int32_t L_34 = ___axis1;
Vector2_set_Item_m3881967114(L_33, L_34, (0.0f), /*hidden argument*/NULL);
ScrollRect_UpdateBounds_m3266596336(__this, /*hidden argument*/NULL);
}
IL_00d7:
{
return;
}
}
// System.Single UnityEngine.UI.ScrollRect::RubberDelta(System.Single,System.Single)
extern "C" float ScrollRect_RubberDelta_m2533506730 (Il2CppObject * __this /* static, unused */, float ___overStretching0, float ___viewSize1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_RubberDelta_m2533506730_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
float L_0 = ___overStretching0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_1 = fabsf(L_0);
float L_2 = ___viewSize1;
float L_3 = ___viewSize1;
float L_4 = ___overStretching0;
float L_5 = Mathf_Sign_m2039143327(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
V_0 = ((float)((float)((float)((float)((float)((float)(1.0f)-(float)((float)((float)(1.0f)/(float)((float)((float)((float)((float)((float)((float)L_1*(float)(0.55f)))/(float)L_2))+(float)(1.0f)))))))*(float)L_3))*(float)L_5));
goto IL_0030;
}
IL_0030:
{
float L_6 = V_0;
return L_6;
}
}
// System.Void UnityEngine.UI.ScrollRect::OnRectTransformDimensionsChange()
extern "C" void ScrollRect_OnRectTransformDimensionsChange_m3940143462 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
{
ScrollRect_SetDirty_m93243192(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean UnityEngine.UI.ScrollRect::get_hScrollingNeeded()
extern "C" bool ScrollRect_get_hScrollingNeeded_m717195555 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
bool V_2 = false;
{
bool L_0 = Application_get_isPlaying_m4091950718(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_003f;
}
}
{
Bounds_t3033363703 * L_1 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_2 = Bounds_get_size_m1728027642(L_1, /*hidden argument*/NULL);
V_0 = L_2;
float L_3 = (&V_0)->get_x_1();
Bounds_t3033363703 * L_4 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_5 = Bounds_get_size_m1728027642(L_4, /*hidden argument*/NULL);
V_1 = L_5;
float L_6 = (&V_1)->get_x_1();
V_2 = (bool)((((float)L_3) > ((float)((float)((float)L_6+(float)(0.01f)))))? 1 : 0);
goto IL_0046;
}
IL_003f:
{
V_2 = (bool)1;
goto IL_0046;
}
IL_0046:
{
bool L_7 = V_2;
return L_7;
}
}
// System.Boolean UnityEngine.UI.ScrollRect::get_vScrollingNeeded()
extern "C" bool ScrollRect_get_vScrollingNeeded_m2581071961 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
bool V_2 = false;
{
bool L_0 = Application_get_isPlaying_m4091950718(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_003f;
}
}
{
Bounds_t3033363703 * L_1 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_2 = Bounds_get_size_m1728027642(L_1, /*hidden argument*/NULL);
V_0 = L_2;
float L_3 = (&V_0)->get_y_2();
Bounds_t3033363703 * L_4 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_5 = Bounds_get_size_m1728027642(L_4, /*hidden argument*/NULL);
V_1 = L_5;
float L_6 = (&V_1)->get_y_2();
V_2 = (bool)((((float)L_3) > ((float)((float)((float)L_6+(float)(0.01f)))))? 1 : 0);
goto IL_0046;
}
IL_003f:
{
V_2 = (bool)1;
goto IL_0046;
}
IL_0046:
{
bool L_7 = V_2;
return L_7;
}
}
// System.Void UnityEngine.UI.ScrollRect::CalculateLayoutInputHorizontal()
extern "C" void ScrollRect_CalculateLayoutInputHorizontal_m2532225422 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::CalculateLayoutInputVertical()
extern "C" void ScrollRect_CalculateLayoutInputVertical_m3287140208 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_minWidth()
extern "C" float ScrollRect_get_minWidth_m3151814267 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
V_0 = (-1.0f);
goto IL_000c;
}
IL_000c:
{
float L_0 = V_0;
return L_0;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_preferredWidth()
extern "C" float ScrollRect_get_preferredWidth_m3354182892 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
V_0 = (-1.0f);
goto IL_000c;
}
IL_000c:
{
float L_0 = V_0;
return L_0;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_flexibleWidth()
extern "C" float ScrollRect_get_flexibleWidth_m3410614750 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
V_0 = (-1.0f);
goto IL_000c;
}
IL_000c:
{
float L_0 = V_0;
return L_0;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_minHeight()
extern "C" float ScrollRect_get_minHeight_m2662466048 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
V_0 = (-1.0f);
goto IL_000c;
}
IL_000c:
{
float L_0 = V_0;
return L_0;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_preferredHeight()
extern "C" float ScrollRect_get_preferredHeight_m4220788453 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
V_0 = (-1.0f);
goto IL_000c;
}
IL_000c:
{
float L_0 = V_0;
return L_0;
}
}
// System.Single UnityEngine.UI.ScrollRect::get_flexibleHeight()
extern "C" float ScrollRect_get_flexibleHeight_m731107497 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
V_0 = (-1.0f);
goto IL_000c;
}
IL_000c:
{
float L_0 = V_0;
return L_0;
}
}
// System.Int32 UnityEngine.UI.ScrollRect::get_layoutPriority()
extern "C" int32_t ScrollRect_get_layoutPriority_m3562155219 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
V_0 = (-1);
goto IL_0008;
}
IL_0008:
{
int32_t L_0 = V_0;
return L_0;
}
}
// System.Void UnityEngine.UI.ScrollRect::SetLayoutHorizontal()
extern "C" void ScrollRect_SetLayoutHorizontal_m3486408020 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_SetLayoutHorizontal_m3486408020_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Rect_t3681755626 V_0;
memset(&V_0, 0, sizeof(V_0));
Rect_t3681755626 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector2_t2243707579 V_2;
memset(&V_2, 0, sizeof(V_2));
Rect_t3681755626 V_3;
memset(&V_3, 0, sizeof(V_3));
Rect_t3681755626 V_4;
memset(&V_4, 0, sizeof(V_4));
Vector2_t2243707579 V_5;
memset(&V_5, 0, sizeof(V_5));
Rect_t3681755626 V_6;
memset(&V_6, 0, sizeof(V_6));
Rect_t3681755626 V_7;
memset(&V_7, 0, sizeof(V_7));
Vector2_t2243707579 V_8;
memset(&V_8, 0, sizeof(V_8));
Vector2_t2243707579 V_9;
memset(&V_9, 0, sizeof(V_9));
Vector2_t2243707579 V_10;
memset(&V_10, 0, sizeof(V_10));
{
DrivenRectTransformTracker_t154385424 * L_0 = __this->get_address_of_m_Tracker_36();
DrivenRectTransformTracker_Clear_m864483440(L_0, /*hidden argument*/NULL);
bool L_1 = __this->get_m_HSliderExpand_29();
if (L_1)
{
goto IL_0022;
}
}
{
bool L_2 = __this->get_m_VSliderExpand_30();
if (!L_2)
{
goto IL_00cd;
}
}
IL_0022:
{
DrivenRectTransformTracker_t154385424 * L_3 = __this->get_address_of_m_Tracker_36();
RectTransform_t3349966182 * L_4 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
DrivenRectTransformTracker_Add_m310530075(L_3, __this, L_4, ((int32_t)16134), /*hidden argument*/NULL);
RectTransform_t3349966182 * L_5 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
Vector2_t2243707579 L_6 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_5);
RectTransform_set_anchorMin_m4247668187(L_5, L_6, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_7 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
Vector2_t2243707579 L_8 = Vector2_get_one_m3174311904(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_7);
RectTransform_set_anchorMax_m2955899993(L_7, L_8, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_9 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
Vector2_t2243707579 L_10 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_9);
RectTransform_set_sizeDelta_m2319668137(L_9, L_10, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_11 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
Vector2_t2243707579 L_12 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_11);
RectTransform_set_anchoredPosition_m2077229449(L_11, L_12, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_13 = ScrollRect_get_content_m1116544752(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t2155218138_il2cpp_TypeInfo_var);
LayoutRebuilder_ForceRebuildLayoutImmediate_m566681977(NULL /*static, unused*/, L_13, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_14 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_14);
Rect_t3681755626 L_15 = RectTransform_get_rect_m73954734(L_14, /*hidden argument*/NULL);
V_0 = L_15;
Vector2_t2243707579 L_16 = Rect_get_center_m3049923624((&V_0), /*hidden argument*/NULL);
Vector3_t2243707580 L_17 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_16, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_18 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_18);
Rect_t3681755626 L_19 = RectTransform_get_rect_m73954734(L_18, /*hidden argument*/NULL);
V_1 = L_19;
Vector2_t2243707579 L_20 = Rect_get_size_m3833121112((&V_1), /*hidden argument*/NULL);
Vector3_t2243707580 L_21 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_20, /*hidden argument*/NULL);
Bounds_t3033363703 L_22;
memset(&L_22, 0, sizeof(L_22));
Bounds__ctor_m1202659404(&L_22, L_17, L_21, /*hidden argument*/NULL);
__this->set_m_ViewBounds_22(L_22);
Bounds_t3033363703 L_23 = ScrollRect_GetBounds_m1950012700(__this, /*hidden argument*/NULL);
__this->set_m_ContentBounds_21(L_23);
}
IL_00cd:
{
bool L_24 = __this->get_m_VSliderExpand_30();
if (!L_24)
{
goto IL_0169;
}
}
{
bool L_25 = ScrollRect_get_vScrollingNeeded_m2581071961(__this, /*hidden argument*/NULL);
if (!L_25)
{
goto IL_0169;
}
}
{
RectTransform_t3349966182 * L_26 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
float L_27 = __this->get_m_VSliderWidth_32();
float L_28 = __this->get_m_VerticalScrollbarSpacing_16();
RectTransform_t3349966182 * L_29 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_29);
Vector2_t2243707579 L_30 = RectTransform_get_sizeDelta_m2157326342(L_29, /*hidden argument*/NULL);
V_2 = L_30;
float L_31 = (&V_2)->get_y_1();
Vector2_t2243707579 L_32;
memset(&L_32, 0, sizeof(L_32));
Vector2__ctor_m3067419446(&L_32, ((-((float)((float)L_27+(float)L_28)))), L_31, /*hidden argument*/NULL);
NullCheck(L_26);
RectTransform_set_sizeDelta_m2319668137(L_26, L_32, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_33 = ScrollRect_get_content_m1116544752(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t2155218138_il2cpp_TypeInfo_var);
LayoutRebuilder_ForceRebuildLayoutImmediate_m566681977(NULL /*static, unused*/, L_33, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_34 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_34);
Rect_t3681755626 L_35 = RectTransform_get_rect_m73954734(L_34, /*hidden argument*/NULL);
V_3 = L_35;
Vector2_t2243707579 L_36 = Rect_get_center_m3049923624((&V_3), /*hidden argument*/NULL);
Vector3_t2243707580 L_37 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_36, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_38 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_38);
Rect_t3681755626 L_39 = RectTransform_get_rect_m73954734(L_38, /*hidden argument*/NULL);
V_4 = L_39;
Vector2_t2243707579 L_40 = Rect_get_size_m3833121112((&V_4), /*hidden argument*/NULL);
Vector3_t2243707580 L_41 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_40, /*hidden argument*/NULL);
Bounds_t3033363703 L_42;
memset(&L_42, 0, sizeof(L_42));
Bounds__ctor_m1202659404(&L_42, L_37, L_41, /*hidden argument*/NULL);
__this->set_m_ViewBounds_22(L_42);
Bounds_t3033363703 L_43 = ScrollRect_GetBounds_m1950012700(__this, /*hidden argument*/NULL);
__this->set_m_ContentBounds_21(L_43);
}
IL_0169:
{
bool L_44 = __this->get_m_HSliderExpand_29();
if (!L_44)
{
goto IL_01fc;
}
}
{
bool L_45 = ScrollRect_get_hScrollingNeeded_m717195555(__this, /*hidden argument*/NULL);
if (!L_45)
{
goto IL_01fc;
}
}
{
RectTransform_t3349966182 * L_46 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_47 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_47);
Vector2_t2243707579 L_48 = RectTransform_get_sizeDelta_m2157326342(L_47, /*hidden argument*/NULL);
V_5 = L_48;
float L_49 = (&V_5)->get_x_0();
float L_50 = __this->get_m_HSliderHeight_31();
float L_51 = __this->get_m_HorizontalScrollbarSpacing_15();
Vector2_t2243707579 L_52;
memset(&L_52, 0, sizeof(L_52));
Vector2__ctor_m3067419446(&L_52, L_49, ((-((float)((float)L_50+(float)L_51)))), /*hidden argument*/NULL);
NullCheck(L_46);
RectTransform_set_sizeDelta_m2319668137(L_46, L_52, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_53 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_53);
Rect_t3681755626 L_54 = RectTransform_get_rect_m73954734(L_53, /*hidden argument*/NULL);
V_6 = L_54;
Vector2_t2243707579 L_55 = Rect_get_center_m3049923624((&V_6), /*hidden argument*/NULL);
Vector3_t2243707580 L_56 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_55, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_57 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_57);
Rect_t3681755626 L_58 = RectTransform_get_rect_m73954734(L_57, /*hidden argument*/NULL);
V_7 = L_58;
Vector2_t2243707579 L_59 = Rect_get_size_m3833121112((&V_7), /*hidden argument*/NULL);
Vector3_t2243707580 L_60 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_59, /*hidden argument*/NULL);
Bounds_t3033363703 L_61;
memset(&L_61, 0, sizeof(L_61));
Bounds__ctor_m1202659404(&L_61, L_56, L_60, /*hidden argument*/NULL);
__this->set_m_ViewBounds_22(L_61);
Bounds_t3033363703 L_62 = ScrollRect_GetBounds_m1950012700(__this, /*hidden argument*/NULL);
__this->set_m_ContentBounds_21(L_62);
}
IL_01fc:
{
bool L_63 = __this->get_m_VSliderExpand_30();
if (!L_63)
{
goto IL_0282;
}
}
{
bool L_64 = ScrollRect_get_vScrollingNeeded_m2581071961(__this, /*hidden argument*/NULL);
if (!L_64)
{
goto IL_0282;
}
}
{
RectTransform_t3349966182 * L_65 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_65);
Vector2_t2243707579 L_66 = RectTransform_get_sizeDelta_m2157326342(L_65, /*hidden argument*/NULL);
V_8 = L_66;
float L_67 = (&V_8)->get_x_0();
if ((!(((float)L_67) == ((float)(0.0f)))))
{
goto IL_0282;
}
}
{
RectTransform_t3349966182 * L_68 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_68);
Vector2_t2243707579 L_69 = RectTransform_get_sizeDelta_m2157326342(L_68, /*hidden argument*/NULL);
V_9 = L_69;
float L_70 = (&V_9)->get_y_1();
if ((!(((float)L_70) < ((float)(0.0f)))))
{
goto IL_0282;
}
}
{
RectTransform_t3349966182 * L_71 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
float L_72 = __this->get_m_VSliderWidth_32();
float L_73 = __this->get_m_VerticalScrollbarSpacing_16();
RectTransform_t3349966182 * L_74 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_74);
Vector2_t2243707579 L_75 = RectTransform_get_sizeDelta_m2157326342(L_74, /*hidden argument*/NULL);
V_10 = L_75;
float L_76 = (&V_10)->get_y_1();
Vector2_t2243707579 L_77;
memset(&L_77, 0, sizeof(L_77));
Vector2__ctor_m3067419446(&L_77, ((-((float)((float)L_72+(float)L_73)))), L_76, /*hidden argument*/NULL);
NullCheck(L_71);
RectTransform_set_sizeDelta_m2319668137(L_71, L_77, /*hidden argument*/NULL);
}
IL_0282:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::SetLayoutVertical()
extern "C" void ScrollRect_SetLayoutVertical_m1225848090 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
Rect_t3681755626 V_0;
memset(&V_0, 0, sizeof(V_0));
Rect_t3681755626 V_1;
memset(&V_1, 0, sizeof(V_1));
{
ScrollRect_UpdateScrollbarLayout_m1731749879(__this, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_0 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_0);
Rect_t3681755626 L_1 = RectTransform_get_rect_m73954734(L_0, /*hidden argument*/NULL);
V_0 = L_1;
Vector2_t2243707579 L_2 = Rect_get_center_m3049923624((&V_0), /*hidden argument*/NULL);
Vector3_t2243707580 L_3 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_4 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_4);
Rect_t3681755626 L_5 = RectTransform_get_rect_m73954734(L_4, /*hidden argument*/NULL);
V_1 = L_5;
Vector2_t2243707579 L_6 = Rect_get_size_m3833121112((&V_1), /*hidden argument*/NULL);
Vector3_t2243707580 L_7 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
Bounds_t3033363703 L_8;
memset(&L_8, 0, sizeof(L_8));
Bounds__ctor_m1202659404(&L_8, L_3, L_7, /*hidden argument*/NULL);
__this->set_m_ViewBounds_22(L_8);
Bounds_t3033363703 L_9 = ScrollRect_GetBounds_m1950012700(__this, /*hidden argument*/NULL);
__this->set_m_ContentBounds_21(L_9);
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::UpdateScrollbarVisibility()
extern "C" void ScrollRect_UpdateScrollbarVisibility_m2738472183 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
{
bool L_0 = ScrollRect_get_vScrollingNeeded_m2581071961(__this, /*hidden argument*/NULL);
bool L_1 = __this->get_m_Vertical_4();
int32_t L_2 = __this->get_m_VerticalScrollbarVisibility_14();
Scrollbar_t3248359358 * L_3 = __this->get_m_VerticalScrollbar_12();
ScrollRect_UpdateOneScrollbarVisibility_m3990871387(NULL /*static, unused*/, L_0, L_1, L_2, L_3, /*hidden argument*/NULL);
bool L_4 = ScrollRect_get_hScrollingNeeded_m717195555(__this, /*hidden argument*/NULL);
bool L_5 = __this->get_m_Horizontal_3();
int32_t L_6 = __this->get_m_HorizontalScrollbarVisibility_13();
Scrollbar_t3248359358 * L_7 = __this->get_m_HorizontalScrollbar_11();
ScrollRect_UpdateOneScrollbarVisibility_m3990871387(NULL /*static, unused*/, L_4, L_5, L_6, L_7, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::UpdateOneScrollbarVisibility(System.Boolean,System.Boolean,UnityEngine.UI.ScrollRect/ScrollbarVisibility,UnityEngine.UI.Scrollbar)
extern "C" void ScrollRect_UpdateOneScrollbarVisibility_m3990871387 (Il2CppObject * __this /* static, unused */, bool ___xScrollingNeeded0, bool ___xAxisEnabled1, int32_t ___scrollbarVisibility2, Scrollbar_t3248359358 * ___scrollbar3, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_UpdateOneScrollbarVisibility_m3990871387_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Scrollbar_t3248359358 * L_0 = ___scrollbar3;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0057;
}
}
{
int32_t L_2 = ___scrollbarVisibility2;
if (L_2)
{
goto IL_0037;
}
}
{
Scrollbar_t3248359358 * L_3 = ___scrollbar3;
NullCheck(L_3);
GameObject_t1756533147 * L_4 = Component_get_gameObject_m3105766835(L_3, /*hidden argument*/NULL);
NullCheck(L_4);
bool L_5 = GameObject_get_activeSelf_m313590879(L_4, /*hidden argument*/NULL);
bool L_6 = ___xAxisEnabled1;
if ((((int32_t)L_5) == ((int32_t)L_6)))
{
goto IL_0031;
}
}
{
Scrollbar_t3248359358 * L_7 = ___scrollbar3;
NullCheck(L_7);
GameObject_t1756533147 * L_8 = Component_get_gameObject_m3105766835(L_7, /*hidden argument*/NULL);
bool L_9 = ___xAxisEnabled1;
NullCheck(L_8);
GameObject_SetActive_m2887581199(L_8, L_9, /*hidden argument*/NULL);
}
IL_0031:
{
goto IL_0056;
}
IL_0037:
{
Scrollbar_t3248359358 * L_10 = ___scrollbar3;
NullCheck(L_10);
GameObject_t1756533147 * L_11 = Component_get_gameObject_m3105766835(L_10, /*hidden argument*/NULL);
NullCheck(L_11);
bool L_12 = GameObject_get_activeSelf_m313590879(L_11, /*hidden argument*/NULL);
bool L_13 = ___xScrollingNeeded0;
if ((((int32_t)L_12) == ((int32_t)L_13)))
{
goto IL_0055;
}
}
{
Scrollbar_t3248359358 * L_14 = ___scrollbar3;
NullCheck(L_14);
GameObject_t1756533147 * L_15 = Component_get_gameObject_m3105766835(L_14, /*hidden argument*/NULL);
bool L_16 = ___xScrollingNeeded0;
NullCheck(L_15);
GameObject_SetActive_m2887581199(L_15, L_16, /*hidden argument*/NULL);
}
IL_0055:
{
}
IL_0056:
{
}
IL_0057:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::UpdateScrollbarLayout()
extern "C" void ScrollRect_UpdateScrollbarLayout_m1731749879 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_UpdateScrollbarLayout_m1731749879_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector2_t2243707579 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector2_t2243707579 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector2_t2243707579 V_3;
memset(&V_3, 0, sizeof(V_3));
Vector2_t2243707579 V_4;
memset(&V_4, 0, sizeof(V_4));
Vector2_t2243707579 V_5;
memset(&V_5, 0, sizeof(V_5));
Vector2_t2243707579 V_6;
memset(&V_6, 0, sizeof(V_6));
Vector2_t2243707579 V_7;
memset(&V_7, 0, sizeof(V_7));
Vector2_t2243707579 V_8;
memset(&V_8, 0, sizeof(V_8));
Vector2_t2243707579 V_9;
memset(&V_9, 0, sizeof(V_9));
{
bool L_0 = __this->get_m_VSliderExpand_30();
if (!L_0)
{
goto IL_0117;
}
}
{
Scrollbar_t3248359358 * L_1 = __this->get_m_HorizontalScrollbar_11();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0117;
}
}
{
DrivenRectTransformTracker_t154385424 * L_3 = __this->get_address_of_m_Tracker_36();
RectTransform_t3349966182 * L_4 = __this->get_m_HorizontalScrollbarRect_34();
DrivenRectTransformTracker_Add_m310530075(L_3, __this, L_4, ((int32_t)5378), /*hidden argument*/NULL);
RectTransform_t3349966182 * L_5 = __this->get_m_HorizontalScrollbarRect_34();
RectTransform_t3349966182 * L_6 = __this->get_m_HorizontalScrollbarRect_34();
NullCheck(L_6);
Vector2_t2243707579 L_7 = RectTransform_get_anchorMin_m1497323108(L_6, /*hidden argument*/NULL);
V_0 = L_7;
float L_8 = (&V_0)->get_y_1();
Vector2_t2243707579 L_9;
memset(&L_9, 0, sizeof(L_9));
Vector2__ctor_m3067419446(&L_9, (0.0f), L_8, /*hidden argument*/NULL);
NullCheck(L_5);
RectTransform_set_anchorMin_m4247668187(L_5, L_9, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_10 = __this->get_m_HorizontalScrollbarRect_34();
RectTransform_t3349966182 * L_11 = __this->get_m_HorizontalScrollbarRect_34();
NullCheck(L_11);
Vector2_t2243707579 L_12 = RectTransform_get_anchorMax_m3816015142(L_11, /*hidden argument*/NULL);
V_1 = L_12;
float L_13 = (&V_1)->get_y_1();
Vector2_t2243707579 L_14;
memset(&L_14, 0, sizeof(L_14));
Vector2__ctor_m3067419446(&L_14, (1.0f), L_13, /*hidden argument*/NULL);
NullCheck(L_10);
RectTransform_set_anchorMax_m2955899993(L_10, L_14, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_15 = __this->get_m_HorizontalScrollbarRect_34();
RectTransform_t3349966182 * L_16 = __this->get_m_HorizontalScrollbarRect_34();
NullCheck(L_16);
Vector2_t2243707579 L_17 = RectTransform_get_anchoredPosition_m3570822376(L_16, /*hidden argument*/NULL);
V_2 = L_17;
float L_18 = (&V_2)->get_y_1();
Vector2_t2243707579 L_19;
memset(&L_19, 0, sizeof(L_19));
Vector2__ctor_m3067419446(&L_19, (0.0f), L_18, /*hidden argument*/NULL);
NullCheck(L_15);
RectTransform_set_anchoredPosition_m2077229449(L_15, L_19, /*hidden argument*/NULL);
bool L_20 = ScrollRect_get_vScrollingNeeded_m2581071961(__this, /*hidden argument*/NULL);
if (!L_20)
{
goto IL_00ed;
}
}
{
RectTransform_t3349966182 * L_21 = __this->get_m_HorizontalScrollbarRect_34();
float L_22 = __this->get_m_VSliderWidth_32();
float L_23 = __this->get_m_VerticalScrollbarSpacing_16();
RectTransform_t3349966182 * L_24 = __this->get_m_HorizontalScrollbarRect_34();
NullCheck(L_24);
Vector2_t2243707579 L_25 = RectTransform_get_sizeDelta_m2157326342(L_24, /*hidden argument*/NULL);
V_3 = L_25;
float L_26 = (&V_3)->get_y_1();
Vector2_t2243707579 L_27;
memset(&L_27, 0, sizeof(L_27));
Vector2__ctor_m3067419446(&L_27, ((-((float)((float)L_22+(float)L_23)))), L_26, /*hidden argument*/NULL);
NullCheck(L_21);
RectTransform_set_sizeDelta_m2319668137(L_21, L_27, /*hidden argument*/NULL);
goto IL_0116;
}
IL_00ed:
{
RectTransform_t3349966182 * L_28 = __this->get_m_HorizontalScrollbarRect_34();
RectTransform_t3349966182 * L_29 = __this->get_m_HorizontalScrollbarRect_34();
NullCheck(L_29);
Vector2_t2243707579 L_30 = RectTransform_get_sizeDelta_m2157326342(L_29, /*hidden argument*/NULL);
V_4 = L_30;
float L_31 = (&V_4)->get_y_1();
Vector2_t2243707579 L_32;
memset(&L_32, 0, sizeof(L_32));
Vector2__ctor_m3067419446(&L_32, (0.0f), L_31, /*hidden argument*/NULL);
NullCheck(L_28);
RectTransform_set_sizeDelta_m2319668137(L_28, L_32, /*hidden argument*/NULL);
}
IL_0116:
{
}
IL_0117:
{
bool L_33 = __this->get_m_HSliderExpand_29();
if (!L_33)
{
goto IL_0231;
}
}
{
Scrollbar_t3248359358 * L_34 = __this->get_m_VerticalScrollbar_12();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_35 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_34, /*hidden argument*/NULL);
if (!L_35)
{
goto IL_0231;
}
}
{
DrivenRectTransformTracker_t154385424 * L_36 = __this->get_address_of_m_Tracker_36();
RectTransform_t3349966182 * L_37 = __this->get_m_VerticalScrollbarRect_35();
DrivenRectTransformTracker_Add_m310530075(L_36, __this, L_37, ((int32_t)10756), /*hidden argument*/NULL);
RectTransform_t3349966182 * L_38 = __this->get_m_VerticalScrollbarRect_35();
RectTransform_t3349966182 * L_39 = __this->get_m_VerticalScrollbarRect_35();
NullCheck(L_39);
Vector2_t2243707579 L_40 = RectTransform_get_anchorMin_m1497323108(L_39, /*hidden argument*/NULL);
V_5 = L_40;
float L_41 = (&V_5)->get_x_0();
Vector2_t2243707579 L_42;
memset(&L_42, 0, sizeof(L_42));
Vector2__ctor_m3067419446(&L_42, L_41, (0.0f), /*hidden argument*/NULL);
NullCheck(L_38);
RectTransform_set_anchorMin_m4247668187(L_38, L_42, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_43 = __this->get_m_VerticalScrollbarRect_35();
RectTransform_t3349966182 * L_44 = __this->get_m_VerticalScrollbarRect_35();
NullCheck(L_44);
Vector2_t2243707579 L_45 = RectTransform_get_anchorMax_m3816015142(L_44, /*hidden argument*/NULL);
V_6 = L_45;
float L_46 = (&V_6)->get_x_0();
Vector2_t2243707579 L_47;
memset(&L_47, 0, sizeof(L_47));
Vector2__ctor_m3067419446(&L_47, L_46, (1.0f), /*hidden argument*/NULL);
NullCheck(L_43);
RectTransform_set_anchorMax_m2955899993(L_43, L_47, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_48 = __this->get_m_VerticalScrollbarRect_35();
RectTransform_t3349966182 * L_49 = __this->get_m_VerticalScrollbarRect_35();
NullCheck(L_49);
Vector2_t2243707579 L_50 = RectTransform_get_anchoredPosition_m3570822376(L_49, /*hidden argument*/NULL);
V_7 = L_50;
float L_51 = (&V_7)->get_x_0();
Vector2_t2243707579 L_52;
memset(&L_52, 0, sizeof(L_52));
Vector2__ctor_m3067419446(&L_52, L_51, (0.0f), /*hidden argument*/NULL);
NullCheck(L_48);
RectTransform_set_anchoredPosition_m2077229449(L_48, L_52, /*hidden argument*/NULL);
bool L_53 = ScrollRect_get_hScrollingNeeded_m717195555(__this, /*hidden argument*/NULL);
if (!L_53)
{
goto IL_0207;
}
}
{
RectTransform_t3349966182 * L_54 = __this->get_m_VerticalScrollbarRect_35();
RectTransform_t3349966182 * L_55 = __this->get_m_VerticalScrollbarRect_35();
NullCheck(L_55);
Vector2_t2243707579 L_56 = RectTransform_get_sizeDelta_m2157326342(L_55, /*hidden argument*/NULL);
V_8 = L_56;
float L_57 = (&V_8)->get_x_0();
float L_58 = __this->get_m_HSliderHeight_31();
float L_59 = __this->get_m_HorizontalScrollbarSpacing_15();
Vector2_t2243707579 L_60;
memset(&L_60, 0, sizeof(L_60));
Vector2__ctor_m3067419446(&L_60, L_57, ((-((float)((float)L_58+(float)L_59)))), /*hidden argument*/NULL);
NullCheck(L_54);
RectTransform_set_sizeDelta_m2319668137(L_54, L_60, /*hidden argument*/NULL);
goto IL_0230;
}
IL_0207:
{
RectTransform_t3349966182 * L_61 = __this->get_m_VerticalScrollbarRect_35();
RectTransform_t3349966182 * L_62 = __this->get_m_VerticalScrollbarRect_35();
NullCheck(L_62);
Vector2_t2243707579 L_63 = RectTransform_get_sizeDelta_m2157326342(L_62, /*hidden argument*/NULL);
V_9 = L_63;
float L_64 = (&V_9)->get_x_0();
Vector2_t2243707579 L_65;
memset(&L_65, 0, sizeof(L_65));
Vector2__ctor_m3067419446(&L_65, L_64, (0.0f), /*hidden argument*/NULL);
NullCheck(L_61);
RectTransform_set_sizeDelta_m2319668137(L_61, L_65, /*hidden argument*/NULL);
}
IL_0230:
{
}
IL_0231:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::UpdateBounds()
extern "C" void ScrollRect_UpdateBounds_m3266596336 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_UpdateBounds_m3266596336_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Rect_t3681755626 V_0;
memset(&V_0, 0, sizeof(V_0));
Rect_t3681755626 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector3_t2243707580 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector3_t2243707580 V_3;
memset(&V_3, 0, sizeof(V_3));
Vector2_t2243707579 V_4;
memset(&V_4, 0, sizeof(V_4));
Vector2_t2243707579 V_5;
memset(&V_5, 0, sizeof(V_5));
Vector3_t2243707580 V_6;
memset(&V_6, 0, sizeof(V_6));
Vector3_t2243707580 V_7;
memset(&V_7, 0, sizeof(V_7));
Vector3_t2243707580 V_8;
memset(&V_8, 0, sizeof(V_8));
Vector3_t2243707580 V_9;
memset(&V_9, 0, sizeof(V_9));
Vector3_t2243707580 V_10;
memset(&V_10, 0, sizeof(V_10));
Vector3_t2243707580 V_11;
memset(&V_11, 0, sizeof(V_11));
Vector3_t2243707580 V_12;
memset(&V_12, 0, sizeof(V_12));
Vector3_t2243707580 V_13;
memset(&V_13, 0, sizeof(V_13));
Vector3_t2243707580 V_14;
memset(&V_14, 0, sizeof(V_14));
Vector3_t2243707580 V_15;
memset(&V_15, 0, sizeof(V_15));
Vector3_t2243707580 V_16;
memset(&V_16, 0, sizeof(V_16));
Vector3_t2243707580 V_17;
memset(&V_17, 0, sizeof(V_17));
Vector3_t2243707580 V_18;
memset(&V_18, 0, sizeof(V_18));
Vector3_t2243707580 V_19;
memset(&V_19, 0, sizeof(V_19));
Vector3_t2243707580 V_20;
memset(&V_20, 0, sizeof(V_20));
Vector3_t2243707580 V_21;
memset(&V_21, 0, sizeof(V_21));
Vector3_t2243707580 V_22;
memset(&V_22, 0, sizeof(V_22));
Vector3_t2243707580 V_23;
memset(&V_23, 0, sizeof(V_23));
Vector3_t2243707580 V_24;
memset(&V_24, 0, sizeof(V_24));
Vector3_t2243707580 V_25;
memset(&V_25, 0, sizeof(V_25));
Vector3_t2243707580 V_26;
memset(&V_26, 0, sizeof(V_26));
Vector3_t2243707580 V_27;
memset(&V_27, 0, sizeof(V_27));
Vector3_t2243707580 V_28;
memset(&V_28, 0, sizeof(V_28));
Vector3_t2243707580 V_29;
memset(&V_29, 0, sizeof(V_29));
Vector2_t2243707579 V_30;
memset(&V_30, 0, sizeof(V_30));
Vector2_t2243707579 V_31;
memset(&V_31, 0, sizeof(V_31));
{
RectTransform_t3349966182 * L_0 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_0);
Rect_t3681755626 L_1 = RectTransform_get_rect_m73954734(L_0, /*hidden argument*/NULL);
V_0 = L_1;
Vector2_t2243707579 L_2 = Rect_get_center_m3049923624((&V_0), /*hidden argument*/NULL);
Vector3_t2243707580 L_3 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_4 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_4);
Rect_t3681755626 L_5 = RectTransform_get_rect_m73954734(L_4, /*hidden argument*/NULL);
V_1 = L_5;
Vector2_t2243707579 L_6 = Rect_get_size_m3833121112((&V_1), /*hidden argument*/NULL);
Vector3_t2243707580 L_7 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_6, /*hidden argument*/NULL);
Bounds_t3033363703 L_8;
memset(&L_8, 0, sizeof(L_8));
Bounds__ctor_m1202659404(&L_8, L_3, L_7, /*hidden argument*/NULL);
__this->set_m_ViewBounds_22(L_8);
Bounds_t3033363703 L_9 = ScrollRect_GetBounds_m1950012700(__this, /*hidden argument*/NULL);
__this->set_m_ContentBounds_21(L_9);
RectTransform_t3349966182 * L_10 = __this->get_m_Content_2();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_11 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_10, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_005e;
}
}
{
goto IL_0387;
}
IL_005e:
{
Bounds_t3033363703 * L_12 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_13 = Bounds_get_size_m1728027642(L_12, /*hidden argument*/NULL);
V_2 = L_13;
Bounds_t3033363703 * L_14 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_15 = Bounds_get_center_m129401026(L_14, /*hidden argument*/NULL);
V_3 = L_15;
RectTransform_t3349966182 * L_16 = __this->get_m_Content_2();
NullCheck(L_16);
Vector2_t2243707579 L_17 = RectTransform_get_pivot_m759087479(L_16, /*hidden argument*/NULL);
V_4 = L_17;
Bounds_t3033363703 * L_18 = __this->get_address_of_m_ViewBounds_22();
ScrollRect_AdjustBounds_m1033723448(NULL /*static, unused*/, L_18, (&V_4), (&V_2), (&V_3), /*hidden argument*/NULL);
Bounds_t3033363703 * L_19 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_20 = V_2;
Bounds_set_size_m3943815629(L_19, L_20, /*hidden argument*/NULL);
Bounds_t3033363703 * L_21 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_22 = V_3;
Bounds_set_center_m2069004927(L_21, L_22, /*hidden argument*/NULL);
int32_t L_23 = ScrollRect_get_movementType_m1025861213(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_23) == ((uint32_t)2))))
{
goto IL_0387;
}
}
{
Vector2_t2243707579 L_24 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
V_5 = L_24;
Bounds_t3033363703 * L_25 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_26 = Bounds_get_max_m4247050707(L_25, /*hidden argument*/NULL);
V_6 = L_26;
float L_27 = (&V_6)->get_x_1();
Bounds_t3033363703 * L_28 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_29 = Bounds_get_max_m4247050707(L_28, /*hidden argument*/NULL);
V_7 = L_29;
float L_30 = (&V_7)->get_x_1();
if ((!(((float)L_27) > ((float)L_30))))
{
goto IL_0152;
}
}
{
Bounds_t3033363703 * L_31 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_32 = Bounds_get_min_m2405290441(L_31, /*hidden argument*/NULL);
V_8 = L_32;
float L_33 = (&V_8)->get_x_1();
Bounds_t3033363703 * L_34 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_35 = Bounds_get_min_m2405290441(L_34, /*hidden argument*/NULL);
V_9 = L_35;
float L_36 = (&V_9)->get_x_1();
Bounds_t3033363703 * L_37 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_38 = Bounds_get_max_m4247050707(L_37, /*hidden argument*/NULL);
V_10 = L_38;
float L_39 = (&V_10)->get_x_1();
Bounds_t3033363703 * L_40 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_41 = Bounds_get_max_m4247050707(L_40, /*hidden argument*/NULL);
V_11 = L_41;
float L_42 = (&V_11)->get_x_1();
float L_43 = Math_Min_m105057611(NULL /*static, unused*/, ((float)((float)L_33-(float)L_36)), ((float)((float)L_39-(float)L_42)), /*hidden argument*/NULL);
(&V_5)->set_x_0(L_43);
goto IL_01df;
}
IL_0152:
{
Bounds_t3033363703 * L_44 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_45 = Bounds_get_min_m2405290441(L_44, /*hidden argument*/NULL);
V_12 = L_45;
float L_46 = (&V_12)->get_x_1();
Bounds_t3033363703 * L_47 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_48 = Bounds_get_min_m2405290441(L_47, /*hidden argument*/NULL);
V_13 = L_48;
float L_49 = (&V_13)->get_x_1();
if ((!(((float)L_46) < ((float)L_49))))
{
goto IL_01df;
}
}
{
Bounds_t3033363703 * L_50 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_51 = Bounds_get_min_m2405290441(L_50, /*hidden argument*/NULL);
V_14 = L_51;
float L_52 = (&V_14)->get_x_1();
Bounds_t3033363703 * L_53 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_54 = Bounds_get_min_m2405290441(L_53, /*hidden argument*/NULL);
V_15 = L_54;
float L_55 = (&V_15)->get_x_1();
Bounds_t3033363703 * L_56 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_57 = Bounds_get_max_m4247050707(L_56, /*hidden argument*/NULL);
V_16 = L_57;
float L_58 = (&V_16)->get_x_1();
Bounds_t3033363703 * L_59 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_60 = Bounds_get_max_m4247050707(L_59, /*hidden argument*/NULL);
V_17 = L_60;
float L_61 = (&V_17)->get_x_1();
float L_62 = Math_Max_m3360711905(NULL /*static, unused*/, ((float)((float)L_52-(float)L_55)), ((float)((float)L_58-(float)L_61)), /*hidden argument*/NULL);
(&V_5)->set_x_0(L_62);
}
IL_01df:
{
Bounds_t3033363703 * L_63 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_64 = Bounds_get_min_m2405290441(L_63, /*hidden argument*/NULL);
V_18 = L_64;
float L_65 = (&V_18)->get_y_2();
Bounds_t3033363703 * L_66 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_67 = Bounds_get_min_m2405290441(L_66, /*hidden argument*/NULL);
V_19 = L_67;
float L_68 = (&V_19)->get_y_2();
if ((!(((float)L_65) < ((float)L_68))))
{
goto IL_0271;
}
}
{
Bounds_t3033363703 * L_69 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_70 = Bounds_get_min_m2405290441(L_69, /*hidden argument*/NULL);
V_20 = L_70;
float L_71 = (&V_20)->get_y_2();
Bounds_t3033363703 * L_72 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_73 = Bounds_get_min_m2405290441(L_72, /*hidden argument*/NULL);
V_21 = L_73;
float L_74 = (&V_21)->get_y_2();
Bounds_t3033363703 * L_75 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_76 = Bounds_get_max_m4247050707(L_75, /*hidden argument*/NULL);
V_22 = L_76;
float L_77 = (&V_22)->get_y_2();
Bounds_t3033363703 * L_78 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_79 = Bounds_get_max_m4247050707(L_78, /*hidden argument*/NULL);
V_23 = L_79;
float L_80 = (&V_23)->get_y_2();
float L_81 = Math_Max_m3360711905(NULL /*static, unused*/, ((float)((float)L_71-(float)L_74)), ((float)((float)L_77-(float)L_80)), /*hidden argument*/NULL);
(&V_5)->set_y_1(L_81);
goto IL_02fe;
}
IL_0271:
{
Bounds_t3033363703 * L_82 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_83 = Bounds_get_max_m4247050707(L_82, /*hidden argument*/NULL);
V_24 = L_83;
float L_84 = (&V_24)->get_y_2();
Bounds_t3033363703 * L_85 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_86 = Bounds_get_max_m4247050707(L_85, /*hidden argument*/NULL);
V_25 = L_86;
float L_87 = (&V_25)->get_y_2();
if ((!(((float)L_84) > ((float)L_87))))
{
goto IL_02fe;
}
}
{
Bounds_t3033363703 * L_88 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_89 = Bounds_get_min_m2405290441(L_88, /*hidden argument*/NULL);
V_26 = L_89;
float L_90 = (&V_26)->get_y_2();
Bounds_t3033363703 * L_91 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_92 = Bounds_get_min_m2405290441(L_91, /*hidden argument*/NULL);
V_27 = L_92;
float L_93 = (&V_27)->get_y_2();
Bounds_t3033363703 * L_94 = __this->get_address_of_m_ViewBounds_22();
Vector3_t2243707580 L_95 = Bounds_get_max_m4247050707(L_94, /*hidden argument*/NULL);
V_28 = L_95;
float L_96 = (&V_28)->get_y_2();
Bounds_t3033363703 * L_97 = __this->get_address_of_m_ContentBounds_21();
Vector3_t2243707580 L_98 = Bounds_get_max_m4247050707(L_97, /*hidden argument*/NULL);
V_29 = L_98;
float L_99 = (&V_29)->get_y_2();
float L_100 = Math_Min_m105057611(NULL /*static, unused*/, ((float)((float)L_90-(float)L_93)), ((float)((float)L_96-(float)L_99)), /*hidden argument*/NULL);
(&V_5)->set_y_1(L_100);
}
IL_02fe:
{
float L_101 = Vector2_get_sqrMagnitude_m1226294581((&V_5), /*hidden argument*/NULL);
if ((!(((float)L_101) > ((float)(1.401298E-45f)))))
{
goto IL_0386;
}
}
{
RectTransform_t3349966182 * L_102 = __this->get_m_Content_2();
NullCheck(L_102);
Vector2_t2243707579 L_103 = RectTransform_get_anchoredPosition_m3570822376(L_102, /*hidden argument*/NULL);
Vector2_t2243707579 L_104 = V_5;
Vector2_t2243707579 L_105 = Vector2_op_Addition_m1389598521(NULL /*static, unused*/, L_103, L_104, /*hidden argument*/NULL);
Vector3_t2243707580 L_106 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_105, /*hidden argument*/NULL);
V_3 = L_106;
bool L_107 = __this->get_m_Horizontal_3();
if (L_107)
{
goto IL_034e;
}
}
{
RectTransform_t3349966182 * L_108 = __this->get_m_Content_2();
NullCheck(L_108);
Vector2_t2243707579 L_109 = RectTransform_get_anchoredPosition_m3570822376(L_108, /*hidden argument*/NULL);
V_30 = L_109;
float L_110 = (&V_30)->get_x_0();
(&V_3)->set_x_1(L_110);
}
IL_034e:
{
bool L_111 = __this->get_m_Vertical_4();
if (L_111)
{
goto IL_0374;
}
}
{
RectTransform_t3349966182 * L_112 = __this->get_m_Content_2();
NullCheck(L_112);
Vector2_t2243707579 L_113 = RectTransform_get_anchoredPosition_m3570822376(L_112, /*hidden argument*/NULL);
V_31 = L_113;
float L_114 = (&V_31)->get_y_1();
(&V_3)->set_y_2(L_114);
}
IL_0374:
{
Bounds_t3033363703 * L_115 = __this->get_address_of_m_ViewBounds_22();
ScrollRect_AdjustBounds_m1033723448(NULL /*static, unused*/, L_115, (&V_4), (&V_2), (&V_3), /*hidden argument*/NULL);
}
IL_0386:
{
}
IL_0387:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::AdjustBounds(UnityEngine.Bounds&,UnityEngine.Vector2&,UnityEngine.Vector3&,UnityEngine.Vector3&)
extern "C" void ScrollRect_AdjustBounds_m1033723448 (Il2CppObject * __this /* static, unused */, Bounds_t3033363703 * ___viewBounds0, Vector2_t2243707579 * ___contentPivot1, Vector3_t2243707580 * ___contentSize2, Vector3_t2243707580 * ___contentPos3, const MethodInfo* method)
{
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector3_t2243707580 V_2;
memset(&V_2, 0, sizeof(V_2));
{
Bounds_t3033363703 * L_0 = ___viewBounds0;
Vector3_t2243707580 L_1 = Bounds_get_size_m1728027642(L_0, /*hidden argument*/NULL);
Vector3_t2243707580 * L_2 = ___contentSize2;
Vector3_t2243707580 L_3 = Vector3_op_Subtraction_m2407545601(NULL /*static, unused*/, L_1, (*(Vector3_t2243707580 *)L_2), /*hidden argument*/NULL);
V_0 = L_3;
float L_4 = (&V_0)->get_x_1();
if ((!(((float)L_4) > ((float)(0.0f)))))
{
goto IL_005b;
}
}
{
Vector3_t2243707580 * L_5 = ___contentPos3;
Vector3_t2243707580 * L_6 = L_5;
float L_7 = L_6->get_x_1();
float L_8 = (&V_0)->get_x_1();
Vector2_t2243707579 * L_9 = ___contentPivot1;
float L_10 = L_9->get_x_0();
L_6->set_x_1(((float)((float)L_7-(float)((float)((float)L_8*(float)((float)((float)L_10-(float)(0.5f))))))));
Vector3_t2243707580 * L_11 = ___contentSize2;
Bounds_t3033363703 * L_12 = ___viewBounds0;
Vector3_t2243707580 L_13 = Bounds_get_size_m1728027642(L_12, /*hidden argument*/NULL);
V_1 = L_13;
float L_14 = (&V_1)->get_x_1();
L_11->set_x_1(L_14);
}
IL_005b:
{
float L_15 = (&V_0)->get_y_2();
if ((!(((float)L_15) > ((float)(0.0f)))))
{
goto IL_00a3;
}
}
{
Vector3_t2243707580 * L_16 = ___contentPos3;
Vector3_t2243707580 * L_17 = L_16;
float L_18 = L_17->get_y_2();
float L_19 = (&V_0)->get_y_2();
Vector2_t2243707579 * L_20 = ___contentPivot1;
float L_21 = L_20->get_y_1();
L_17->set_y_2(((float)((float)L_18-(float)((float)((float)L_19*(float)((float)((float)L_21-(float)(0.5f))))))));
Vector3_t2243707580 * L_22 = ___contentSize2;
Bounds_t3033363703 * L_23 = ___viewBounds0;
Vector3_t2243707580 L_24 = Bounds_get_size_m1728027642(L_23, /*hidden argument*/NULL);
V_2 = L_24;
float L_25 = (&V_2)->get_y_2();
L_22->set_y_2(L_25);
}
IL_00a3:
{
return;
}
}
// UnityEngine.Bounds UnityEngine.UI.ScrollRect::GetBounds()
extern "C" Bounds_t3033363703 ScrollRect_GetBounds_m1950012700 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_GetBounds_m1950012700_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Bounds_t3033363703 V_0;
memset(&V_0, 0, sizeof(V_0));
Bounds_t3033363703 V_1;
memset(&V_1, 0, sizeof(V_1));
Matrix4x4_t2933234003 V_2;
memset(&V_2, 0, sizeof(V_2));
{
RectTransform_t3349966182 * L_0 = __this->get_m_Content_2();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0021;
}
}
{
Initobj (Bounds_t3033363703_il2cpp_TypeInfo_var, (&V_0));
Bounds_t3033363703 L_2 = V_0;
V_1 = L_2;
goto IL_0051;
}
IL_0021:
{
RectTransform_t3349966182 * L_3 = __this->get_m_Content_2();
Vector3U5BU5D_t1172311765* L_4 = __this->get_m_Corners_37();
NullCheck(L_3);
RectTransform_GetWorldCorners_m3873546362(L_3, L_4, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_5 = ScrollRect_get_viewRect_m2663817630(__this, /*hidden argument*/NULL);
NullCheck(L_5);
Matrix4x4_t2933234003 L_6 = Transform_get_worldToLocalMatrix_m3299477436(L_5, /*hidden argument*/NULL);
V_2 = L_6;
Vector3U5BU5D_t1172311765* L_7 = __this->get_m_Corners_37();
Bounds_t3033363703 L_8 = ScrollRect_InternalGetBounds_m1871388050(NULL /*static, unused*/, L_7, (&V_2), /*hidden argument*/NULL);
V_1 = L_8;
goto IL_0051;
}
IL_0051:
{
Bounds_t3033363703 L_9 = V_1;
return L_9;
}
}
// UnityEngine.Bounds UnityEngine.UI.ScrollRect::InternalGetBounds(UnityEngine.Vector3[],UnityEngine.Matrix4x4&)
extern "C" Bounds_t3033363703 ScrollRect_InternalGetBounds_m1871388050 (Il2CppObject * __this /* static, unused */, Vector3U5BU5D_t1172311765* ___corners0, Matrix4x4_t2933234003 * ___viewWorldToLocalMatrix1, const MethodInfo* method)
{
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
int32_t V_2 = 0;
Vector3_t2243707580 V_3;
memset(&V_3, 0, sizeof(V_3));
Bounds_t3033363703 V_4;
memset(&V_4, 0, sizeof(V_4));
Bounds_t3033363703 V_5;
memset(&V_5, 0, sizeof(V_5));
{
Vector3__ctor_m2638739322((&V_0), (std::numeric_limits<float>::max()), (std::numeric_limits<float>::max()), (std::numeric_limits<float>::max()), /*hidden argument*/NULL);
Vector3__ctor_m2638739322((&V_1), (-std::numeric_limits<float>::max()), (-std::numeric_limits<float>::max()), (-std::numeric_limits<float>::max()), /*hidden argument*/NULL);
V_2 = 0;
goto IL_005d;
}
IL_0034:
{
Matrix4x4_t2933234003 * L_0 = ___viewWorldToLocalMatrix1;
Vector3U5BU5D_t1172311765* L_1 = ___corners0;
int32_t L_2 = V_2;
NullCheck(L_1);
Vector3_t2243707580 L_3 = Matrix4x4_MultiplyPoint3x4_m1007952212(L_0, (*(Vector3_t2243707580 *)((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))), /*hidden argument*/NULL);
V_3 = L_3;
Vector3_t2243707580 L_4 = V_3;
Vector3_t2243707580 L_5 = V_0;
Vector3_t2243707580 L_6 = Vector3_Min_m4249067335(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
V_0 = L_6;
Vector3_t2243707580 L_7 = V_3;
Vector3_t2243707580 L_8 = V_1;
Vector3_t2243707580 L_9 = Vector3_Max_m2105825185(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
V_1 = L_9;
int32_t L_10 = V_2;
V_2 = ((int32_t)((int32_t)L_10+(int32_t)1));
}
IL_005d:
{
int32_t L_11 = V_2;
if ((((int32_t)L_11) < ((int32_t)4)))
{
goto IL_0034;
}
}
{
Vector3_t2243707580 L_12 = V_0;
Vector3_t2243707580 L_13 = Vector3_get_zero_m1527993324(NULL /*static, unused*/, /*hidden argument*/NULL);
Bounds__ctor_m1202659404((&V_4), L_12, L_13, /*hidden argument*/NULL);
Vector3_t2243707580 L_14 = V_1;
Bounds_Encapsulate_m3688171368((&V_4), L_14, /*hidden argument*/NULL);
Bounds_t3033363703 L_15 = V_4;
V_5 = L_15;
goto IL_0082;
}
IL_0082:
{
Bounds_t3033363703 L_16 = V_5;
return L_16;
}
}
// UnityEngine.Vector2 UnityEngine.UI.ScrollRect::CalculateOffset(UnityEngine.Vector2)
extern "C" Vector2_t2243707579 ScrollRect_CalculateOffset_m1659273054 (ScrollRect_t1199013257 * __this, Vector2_t2243707579 ___delta0, const MethodInfo* method)
{
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
{
Bounds_t3033363703 * L_0 = __this->get_address_of_m_ViewBounds_22();
Bounds_t3033363703 * L_1 = __this->get_address_of_m_ContentBounds_21();
bool L_2 = __this->get_m_Horizontal_3();
bool L_3 = __this->get_m_Vertical_4();
int32_t L_4 = __this->get_m_MovementType_5();
Vector2_t2243707579 L_5 = ScrollRect_InternalCalculateOffset_m3083065267(NULL /*static, unused*/, L_0, L_1, L_2, L_3, L_4, (&___delta0), /*hidden argument*/NULL);
V_0 = L_5;
goto IL_002c;
}
IL_002c:
{
Vector2_t2243707579 L_6 = V_0;
return L_6;
}
}
// UnityEngine.Vector2 UnityEngine.UI.ScrollRect::InternalCalculateOffset(UnityEngine.Bounds&,UnityEngine.Bounds&,System.Boolean,System.Boolean,UnityEngine.UI.ScrollRect/MovementType,UnityEngine.Vector2&)
extern "C" Vector2_t2243707579 ScrollRect_InternalCalculateOffset_m3083065267 (Il2CppObject * __this /* static, unused */, Bounds_t3033363703 * ___viewBounds0, Bounds_t3033363703 * ___contentBounds1, bool ___horizontal2, bool ___vertical3, int32_t ___movementType4, Vector2_t2243707579 * ___delta5, const MethodInfo* method)
{
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector2_t2243707579 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector2_t2243707579 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector2_t2243707579 V_3;
memset(&V_3, 0, sizeof(V_3));
Vector3_t2243707580 V_4;
memset(&V_4, 0, sizeof(V_4));
Vector3_t2243707580 V_5;
memset(&V_5, 0, sizeof(V_5));
Vector3_t2243707580 V_6;
memset(&V_6, 0, sizeof(V_6));
Vector3_t2243707580 V_7;
memset(&V_7, 0, sizeof(V_7));
Vector3_t2243707580 V_8;
memset(&V_8, 0, sizeof(V_8));
Vector3_t2243707580 V_9;
memset(&V_9, 0, sizeof(V_9));
Vector3_t2243707580 V_10;
memset(&V_10, 0, sizeof(V_10));
Vector3_t2243707580 V_11;
memset(&V_11, 0, sizeof(V_11));
{
Vector2_t2243707579 L_0 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = ___movementType4;
if (L_1)
{
goto IL_0015;
}
}
{
Vector2_t2243707579 L_2 = V_0;
V_1 = L_2;
goto IL_0186;
}
IL_0015:
{
Bounds_t3033363703 * L_3 = ___contentBounds1;
Vector3_t2243707580 L_4 = Bounds_get_min_m2405290441(L_3, /*hidden argument*/NULL);
Vector2_t2243707579 L_5 = Vector2_op_Implicit_m1064335535(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
V_2 = L_5;
Bounds_t3033363703 * L_6 = ___contentBounds1;
Vector3_t2243707580 L_7 = Bounds_get_max_m4247050707(L_6, /*hidden argument*/NULL);
Vector2_t2243707579 L_8 = Vector2_op_Implicit_m1064335535(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
V_3 = L_8;
bool L_9 = ___horizontal2;
if (!L_9)
{
goto IL_00d6;
}
}
{
Vector2_t2243707579 * L_10 = (&V_2);
float L_11 = L_10->get_x_0();
Vector2_t2243707579 * L_12 = ___delta5;
float L_13 = L_12->get_x_0();
L_10->set_x_0(((float)((float)L_11+(float)L_13)));
Vector2_t2243707579 * L_14 = (&V_3);
float L_15 = L_14->get_x_0();
Vector2_t2243707579 * L_16 = ___delta5;
float L_17 = L_16->get_x_0();
L_14->set_x_0(((float)((float)L_15+(float)L_17)));
float L_18 = (&V_2)->get_x_0();
Bounds_t3033363703 * L_19 = ___viewBounds0;
Vector3_t2243707580 L_20 = Bounds_get_min_m2405290441(L_19, /*hidden argument*/NULL);
V_4 = L_20;
float L_21 = (&V_4)->get_x_1();
if ((!(((float)L_18) > ((float)L_21))))
{
goto IL_009c;
}
}
{
Bounds_t3033363703 * L_22 = ___viewBounds0;
Vector3_t2243707580 L_23 = Bounds_get_min_m2405290441(L_22, /*hidden argument*/NULL);
V_5 = L_23;
float L_24 = (&V_5)->get_x_1();
float L_25 = (&V_2)->get_x_0();
(&V_0)->set_x_0(((float)((float)L_24-(float)L_25)));
goto IL_00d5;
}
IL_009c:
{
float L_26 = (&V_3)->get_x_0();
Bounds_t3033363703 * L_27 = ___viewBounds0;
Vector3_t2243707580 L_28 = Bounds_get_max_m4247050707(L_27, /*hidden argument*/NULL);
V_6 = L_28;
float L_29 = (&V_6)->get_x_1();
if ((!(((float)L_26) < ((float)L_29))))
{
goto IL_00d5;
}
}
{
Bounds_t3033363703 * L_30 = ___viewBounds0;
Vector3_t2243707580 L_31 = Bounds_get_max_m4247050707(L_30, /*hidden argument*/NULL);
V_7 = L_31;
float L_32 = (&V_7)->get_x_1();
float L_33 = (&V_3)->get_x_0();
(&V_0)->set_x_0(((float)((float)L_32-(float)L_33)));
}
IL_00d5:
{
}
IL_00d6:
{
bool L_34 = ___vertical3;
if (!L_34)
{
goto IL_017f;
}
}
{
Vector2_t2243707579 * L_35 = (&V_2);
float L_36 = L_35->get_y_1();
Vector2_t2243707579 * L_37 = ___delta5;
float L_38 = L_37->get_y_1();
L_35->set_y_1(((float)((float)L_36+(float)L_38)));
Vector2_t2243707579 * L_39 = (&V_3);
float L_40 = L_39->get_y_1();
Vector2_t2243707579 * L_41 = ___delta5;
float L_42 = L_41->get_y_1();
L_39->set_y_1(((float)((float)L_40+(float)L_42)));
float L_43 = (&V_3)->get_y_1();
Bounds_t3033363703 * L_44 = ___viewBounds0;
Vector3_t2243707580 L_45 = Bounds_get_max_m4247050707(L_44, /*hidden argument*/NULL);
V_8 = L_45;
float L_46 = (&V_8)->get_y_2();
if ((!(((float)L_43) < ((float)L_46))))
{
goto IL_0145;
}
}
{
Bounds_t3033363703 * L_47 = ___viewBounds0;
Vector3_t2243707580 L_48 = Bounds_get_max_m4247050707(L_47, /*hidden argument*/NULL);
V_9 = L_48;
float L_49 = (&V_9)->get_y_2();
float L_50 = (&V_3)->get_y_1();
(&V_0)->set_y_1(((float)((float)L_49-(float)L_50)));
goto IL_017e;
}
IL_0145:
{
float L_51 = (&V_2)->get_y_1();
Bounds_t3033363703 * L_52 = ___viewBounds0;
Vector3_t2243707580 L_53 = Bounds_get_min_m2405290441(L_52, /*hidden argument*/NULL);
V_10 = L_53;
float L_54 = (&V_10)->get_y_2();
if ((!(((float)L_51) > ((float)L_54))))
{
goto IL_017e;
}
}
{
Bounds_t3033363703 * L_55 = ___viewBounds0;
Vector3_t2243707580 L_56 = Bounds_get_min_m2405290441(L_55, /*hidden argument*/NULL);
V_11 = L_56;
float L_57 = (&V_11)->get_y_2();
float L_58 = (&V_2)->get_y_1();
(&V_0)->set_y_1(((float)((float)L_57-(float)L_58)));
}
IL_017e:
{
}
IL_017f:
{
Vector2_t2243707579 L_59 = V_0;
V_1 = L_59;
goto IL_0186;
}
IL_0186:
{
Vector2_t2243707579 L_60 = V_1;
return L_60;
}
}
// System.Void UnityEngine.UI.ScrollRect::SetDirty()
extern "C" void ScrollRect_SetDirty_m93243192 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_SetDirty_m93243192_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_0)
{
goto IL_0011;
}
}
{
goto IL_001c;
}
IL_0011:
{
RectTransform_t3349966182 * L_1 = ScrollRect_get_rectTransform_m1256747885(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t2155218138_il2cpp_TypeInfo_var);
LayoutRebuilder_MarkLayoutForRebuild_m640589351(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_001c:
{
return;
}
}
// System.Void UnityEngine.UI.ScrollRect::SetDirtyCaching()
extern "C" void ScrollRect_SetDirtyCaching_m1491302821 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRect_SetDirtyCaching_m1491302821_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_0)
{
goto IL_0011;
}
}
{
goto IL_0022;
}
IL_0011:
{
IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t1780385998_il2cpp_TypeInfo_var);
CanvasUpdateRegistry_RegisterCanvasElementForLayoutRebuild_m669674528(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_1 = ScrollRect_get_rectTransform_m1256747885(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(LayoutRebuilder_t2155218138_il2cpp_TypeInfo_var);
LayoutRebuilder_MarkLayoutForRebuild_m640589351(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
}
IL_0022:
{
return;
}
}
// UnityEngine.Transform UnityEngine.UI.ScrollRect::UnityEngine.UI.ICanvasElement.get_transform()
extern "C" Transform_t3275118058 * ScrollRect_UnityEngine_UI_ICanvasElement_get_transform_m3611711997 (ScrollRect_t1199013257 * __this, const MethodInfo* method)
{
{
Transform_t3275118058 * L_0 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Void UnityEngine.UI.ScrollRect/ScrollRectEvent::.ctor()
extern "C" void ScrollRectEvent__ctor_m2283981448 (ScrollRectEvent_t3529018992 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ScrollRectEvent__ctor_m2283981448_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m3317039790(__this, /*hidden argument*/UnityEvent_1__ctor_m3317039790_MethodInfo_var);
return;
}
}
// System.Void UnityEngine.UI.Selectable::.ctor()
extern "C" void Selectable__ctor_m1440593935 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable__ctor_m1440593935_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Navigation_t1571958496 L_0 = Navigation_get_defaultNavigation_m2185194207(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_Navigation_3(L_0);
__this->set_m_Transition_4(1);
ColorBlock_t2652774230 L_1 = ColorBlock_get_defaultColorBlock_m3723879509(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_Colors_5(L_1);
AnimationTriggers_t3244928895 * L_2 = (AnimationTriggers_t3244928895 *)il2cpp_codegen_object_new(AnimationTriggers_t3244928895_il2cpp_TypeInfo_var);
AnimationTriggers__ctor_m2623627182(L_2, /*hidden argument*/NULL);
__this->set_m_AnimationTriggers_7(L_2);
__this->set_m_Interactable_8((bool)1);
__this->set_m_GroupsAllowInteraction_10((bool)1);
List_1_t2665681875 * L_3 = (List_1_t2665681875 *)il2cpp_codegen_object_new(List_1_t2665681875_il2cpp_TypeInfo_var);
List_1__ctor_m4115107272(L_3, /*hidden argument*/List_1__ctor_m4115107272_MethodInfo_var);
__this->set_m_CanvasGroupCache_15(L_3);
UIBehaviour__ctor_m984034336(__this, /*hidden argument*/NULL);
return;
}
}
// System.Collections.Generic.List`1<UnityEngine.UI.Selectable> UnityEngine.UI.Selectable::get_allSelectables()
extern "C" List_1_t859513320 * Selectable_get_allSelectables_m3045831006 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_get_allSelectables_m3045831006_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_t859513320 * V_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(Selectable_t1490392188_il2cpp_TypeInfo_var);
List_1_t859513320 * L_0 = ((Selectable_t1490392188_StaticFields*)Selectable_t1490392188_il2cpp_TypeInfo_var->static_fields)->get_s_List_2();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
List_1_t859513320 * L_1 = V_0;
return L_1;
}
}
// UnityEngine.UI.Navigation UnityEngine.UI.Selectable::get_navigation()
extern "C" Navigation_t1571958496 Selectable_get_navigation_m200542616 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
Navigation_t1571958496 V_0;
memset(&V_0, 0, sizeof(V_0));
{
Navigation_t1571958496 L_0 = __this->get_m_Navigation_3();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Navigation_t1571958496 L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::set_navigation(UnityEngine.UI.Navigation)
extern "C" void Selectable_set_navigation_m2001068675 (Selectable_t1490392188 * __this, Navigation_t1571958496 ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_set_navigation_m2001068675_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Navigation_t1571958496 * L_0 = __this->get_address_of_m_Navigation_3();
Navigation_t1571958496 L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetStruct_TisNavigation_t1571958496_m1169349290(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisNavigation_t1571958496_m1169349290_MethodInfo_var);
if (!L_2)
{
goto IL_0018;
}
}
{
Selectable_OnSetProperty_m2948696955(__this, /*hidden argument*/NULL);
}
IL_0018:
{
return;
}
}
// UnityEngine.UI.Selectable/Transition UnityEngine.UI.Selectable::get_transition()
extern "C" int32_t Selectable_get_transition_m4266657949 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_m_Transition_4();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::set_transition(UnityEngine.UI.Selectable/Transition)
extern "C" void Selectable_set_transition_m2241234562 (Selectable_t1490392188 * __this, int32_t ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_set_transition_m2241234562_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t* L_0 = __this->get_address_of_m_Transition_4();
int32_t L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetStruct_TisTransition_t605142169_m3831531952(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisTransition_t605142169_m3831531952_MethodInfo_var);
if (!L_2)
{
goto IL_0018;
}
}
{
Selectable_OnSetProperty_m2948696955(__this, /*hidden argument*/NULL);
}
IL_0018:
{
return;
}
}
// UnityEngine.UI.ColorBlock UnityEngine.UI.Selectable::get_colors()
extern "C" ColorBlock_t2652774230 Selectable_get_colors_m3501193396 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
ColorBlock_t2652774230 V_0;
memset(&V_0, 0, sizeof(V_0));
{
ColorBlock_t2652774230 L_0 = __this->get_m_Colors_5();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
ColorBlock_t2652774230 L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::set_colors(UnityEngine.UI.ColorBlock)
extern "C" void Selectable_set_colors_m3015002425 (Selectable_t1490392188 * __this, ColorBlock_t2652774230 ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_set_colors_m3015002425_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
ColorBlock_t2652774230 * L_0 = __this->get_address_of_m_Colors_5();
ColorBlock_t2652774230 L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetStruct_TisColorBlock_t2652774230_m2085520896(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisColorBlock_t2652774230_m2085520896_MethodInfo_var);
if (!L_2)
{
goto IL_0018;
}
}
{
Selectable_OnSetProperty_m2948696955(__this, /*hidden argument*/NULL);
}
IL_0018:
{
return;
}
}
// UnityEngine.UI.SpriteState UnityEngine.UI.Selectable::get_spriteState()
extern "C" SpriteState_t1353336012 Selectable_get_spriteState_m827338040 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
SpriteState_t1353336012 V_0;
memset(&V_0, 0, sizeof(V_0));
{
SpriteState_t1353336012 L_0 = __this->get_m_SpriteState_6();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
SpriteState_t1353336012 L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::set_spriteState(UnityEngine.UI.SpriteState)
extern "C" void Selectable_set_spriteState_m4038458823 (Selectable_t1490392188 * __this, SpriteState_t1353336012 ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_set_spriteState_m4038458823_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
SpriteState_t1353336012 * L_0 = __this->get_address_of_m_SpriteState_6();
SpriteState_t1353336012 L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetStruct_TisSpriteState_t1353336012_m2898060836(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisSpriteState_t1353336012_m2898060836_MethodInfo_var);
if (!L_2)
{
goto IL_0018;
}
}
{
Selectable_OnSetProperty_m2948696955(__this, /*hidden argument*/NULL);
}
IL_0018:
{
return;
}
}
// UnityEngine.UI.AnimationTriggers UnityEngine.UI.Selectable::get_animationTriggers()
extern "C" AnimationTriggers_t3244928895 * Selectable_get_animationTriggers_m208326418 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
AnimationTriggers_t3244928895 * V_0 = NULL;
{
AnimationTriggers_t3244928895 * L_0 = __this->get_m_AnimationTriggers_7();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
AnimationTriggers_t3244928895 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::set_animationTriggers(UnityEngine.UI.AnimationTriggers)
extern "C" void Selectable_set_animationTriggers_m2206222963 (Selectable_t1490392188 * __this, AnimationTriggers_t3244928895 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_set_animationTriggers_m2206222963_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
AnimationTriggers_t3244928895 ** L_0 = __this->get_address_of_m_AnimationTriggers_7();
AnimationTriggers_t3244928895 * L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetClass_TisAnimationTriggers_t3244928895_m2883472752(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetClass_TisAnimationTriggers_t3244928895_m2883472752_MethodInfo_var);
if (!L_2)
{
goto IL_0018;
}
}
{
Selectable_OnSetProperty_m2948696955(__this, /*hidden argument*/NULL);
}
IL_0018:
{
return;
}
}
// UnityEngine.UI.Graphic UnityEngine.UI.Selectable::get_targetGraphic()
extern "C" Graphic_t2426225576 * Selectable_get_targetGraphic_m137842753 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
Graphic_t2426225576 * V_0 = NULL;
{
Graphic_t2426225576 * L_0 = __this->get_m_TargetGraphic_9();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Graphic_t2426225576 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::set_targetGraphic(UnityEngine.UI.Graphic)
extern "C" void Selectable_set_targetGraphic_m2955419854 (Selectable_t1490392188 * __this, Graphic_t2426225576 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_set_targetGraphic_m2955419854_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Graphic_t2426225576 ** L_0 = __this->get_address_of_m_TargetGraphic_9();
Graphic_t2426225576 * L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetClass_TisGraphic_t2426225576_m1272552023(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetClass_TisGraphic_t2426225576_m1272552023_MethodInfo_var);
if (!L_2)
{
goto IL_0018;
}
}
{
Selectable_OnSetProperty_m2948696955(__this, /*hidden argument*/NULL);
}
IL_0018:
{
return;
}
}
// System.Boolean UnityEngine.UI.Selectable::get_interactable()
extern "C" bool Selectable_get_interactable_m1725029500 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_m_Interactable_8();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::set_interactable(System.Boolean)
extern "C" void Selectable_set_interactable_m63718297 (Selectable_t1490392188 * __this, bool ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_set_interactable_m63718297_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool* L_0 = __this->get_address_of_m_Interactable_8();
bool L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetStruct_TisBoolean_t3825574718_m752301298(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisBoolean_t3825574718_m752301298_MethodInfo_var);
if (!L_2)
{
goto IL_005a;
}
}
{
bool L_3 = __this->get_m_Interactable_8();
if (L_3)
{
goto IL_0053;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t3466835263_il2cpp_TypeInfo_var);
EventSystem_t3466835263 * L_4 = EventSystem_get_current_m319019811(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_5 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_4, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0053;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t3466835263_il2cpp_TypeInfo_var);
EventSystem_t3466835263 * L_6 = EventSystem_get_current_m319019811(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_6);
GameObject_t1756533147 * L_7 = EventSystem_get_currentSelectedGameObject_m701101735(L_6, /*hidden argument*/NULL);
GameObject_t1756533147 * L_8 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_9 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_0053;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t3466835263_il2cpp_TypeInfo_var);
EventSystem_t3466835263 * L_10 = EventSystem_get_current_m319019811(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_10);
EventSystem_SetSelectedGameObject_m2211816110(L_10, (GameObject_t1756533147 *)NULL, /*hidden argument*/NULL);
}
IL_0053:
{
Selectable_OnSetProperty_m2948696955(__this, /*hidden argument*/NULL);
}
IL_005a:
{
return;
}
}
// System.Boolean UnityEngine.UI.Selectable::get_isPointerInside()
extern "C" bool Selectable_get_isPointerInside_m3162215687 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_U3CisPointerInsideU3Ek__BackingField_12();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::set_isPointerInside(System.Boolean)
extern "C" void Selectable_set_isPointerInside_m375338048 (Selectable_t1490392188 * __this, bool ___value0, const MethodInfo* method)
{
{
bool L_0 = ___value0;
__this->set_U3CisPointerInsideU3Ek__BackingField_12(L_0);
return;
}
}
// System.Boolean UnityEngine.UI.Selectable::get_isPointerDown()
extern "C" bool Selectable_get_isPointerDown_m774209881 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_U3CisPointerDownU3Ek__BackingField_13();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::set_isPointerDown(System.Boolean)
extern "C" void Selectable_set_isPointerDown_m2177301980 (Selectable_t1490392188 * __this, bool ___value0, const MethodInfo* method)
{
{
bool L_0 = ___value0;
__this->set_U3CisPointerDownU3Ek__BackingField_13(L_0);
return;
}
}
// System.Boolean UnityEngine.UI.Selectable::get_hasSelection()
extern "C" bool Selectable_get_hasSelection_m307792052 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_U3ChasSelectionU3Ek__BackingField_14();
V_0 = L_0;
goto IL_000c;
}
IL_000c:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::set_hasSelection(System.Boolean)
extern "C" void Selectable_set_hasSelection_m2076391827 (Selectable_t1490392188 * __this, bool ___value0, const MethodInfo* method)
{
{
bool L_0 = ___value0;
__this->set_U3ChasSelectionU3Ek__BackingField_14(L_0);
return;
}
}
// UnityEngine.UI.Image UnityEngine.UI.Selectable::get_image()
extern "C" Image_t2042527209 * Selectable_get_image_m3720077502 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_get_image_m3720077502_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Image_t2042527209 * V_0 = NULL;
{
Graphic_t2426225576 * L_0 = __this->get_m_TargetGraphic_9();
V_0 = ((Image_t2042527209 *)IsInstClass(L_0, Image_t2042527209_il2cpp_TypeInfo_var));
goto IL_0012;
}
IL_0012:
{
Image_t2042527209 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::set_image(UnityEngine.UI.Image)
extern "C" void Selectable_set_image_m1887335899 (Selectable_t1490392188 * __this, Image_t2042527209 * ___value0, const MethodInfo* method)
{
{
Image_t2042527209 * L_0 = ___value0;
__this->set_m_TargetGraphic_9(L_0);
return;
}
}
// UnityEngine.Animator UnityEngine.UI.Selectable::get_animator()
extern "C" Animator_t69676727 * Selectable_get_animator_m627999862 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_get_animator_m627999862_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Animator_t69676727 * V_0 = NULL;
{
Animator_t69676727 * L_0 = Component_GetComponent_TisAnimator_t69676727_m475627522(__this, /*hidden argument*/Component_GetComponent_TisAnimator_t69676727_m475627522_MethodInfo_var);
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Animator_t69676727 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::Awake()
extern "C" void Selectable_Awake_m3850617460 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_Awake_m3850617460_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Graphic_t2426225576 * L_0 = __this->get_m_TargetGraphic_9();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001e;
}
}
{
Graphic_t2426225576 * L_2 = Component_GetComponent_TisGraphic_t2426225576_m650184603(__this, /*hidden argument*/Component_GetComponent_TisGraphic_t2426225576_m650184603_MethodInfo_var);
__this->set_m_TargetGraphic_9(L_2);
}
IL_001e:
{
return;
}
}
// System.Void UnityEngine.UI.Selectable::OnCanvasGroupChanged()
extern "C" void Selectable_OnCanvasGroupChanged_m2380137883 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_OnCanvasGroupChanged_m2380137883_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Transform_t3275118058 * V_1 = NULL;
bool V_2 = false;
int32_t V_3 = 0;
{
V_0 = (bool)1;
Transform_t3275118058 * L_0 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
V_1 = L_0;
goto IL_0083;
}
IL_000f:
{
Transform_t3275118058 * L_1 = V_1;
List_1_t2665681875 * L_2 = __this->get_m_CanvasGroupCache_15();
NullCheck(L_1);
Component_GetComponents_TisCanvasGroup_t3296560743_m1269266598(L_1, L_2, /*hidden argument*/Component_GetComponents_TisCanvasGroup_t3296560743_m1269266598_MethodInfo_var);
V_2 = (bool)0;
V_3 = 0;
goto IL_005f;
}
IL_0025:
{
List_1_t2665681875 * L_3 = __this->get_m_CanvasGroupCache_15();
int32_t L_4 = V_3;
NullCheck(L_3);
CanvasGroup_t3296560743 * L_5 = List_1_get_Item_m953066341(L_3, L_4, /*hidden argument*/List_1_get_Item_m953066341_MethodInfo_var);
NullCheck(L_5);
bool L_6 = CanvasGroup_get_interactable_m3354621007(L_5, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0042;
}
}
{
V_0 = (bool)0;
V_2 = (bool)1;
}
IL_0042:
{
List_1_t2665681875 * L_7 = __this->get_m_CanvasGroupCache_15();
int32_t L_8 = V_3;
NullCheck(L_7);
CanvasGroup_t3296560743 * L_9 = List_1_get_Item_m953066341(L_7, L_8, /*hidden argument*/List_1_get_Item_m953066341_MethodInfo_var);
NullCheck(L_9);
bool L_10 = CanvasGroup_get_ignoreParentGroups_m534041855(L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_005a;
}
}
{
V_2 = (bool)1;
}
IL_005a:
{
int32_t L_11 = V_3;
V_3 = ((int32_t)((int32_t)L_11+(int32_t)1));
}
IL_005f:
{
int32_t L_12 = V_3;
List_1_t2665681875 * L_13 = __this->get_m_CanvasGroupCache_15();
NullCheck(L_13);
int32_t L_14 = List_1_get_Count_m2569835416(L_13, /*hidden argument*/List_1_get_Count_m2569835416_MethodInfo_var);
if ((((int32_t)L_12) < ((int32_t)L_14)))
{
goto IL_0025;
}
}
{
bool L_15 = V_2;
if (!L_15)
{
goto IL_007b;
}
}
{
goto IL_008f;
}
IL_007b:
{
Transform_t3275118058 * L_16 = V_1;
NullCheck(L_16);
Transform_t3275118058 * L_17 = Transform_get_parent_m147407266(L_16, /*hidden argument*/NULL);
V_1 = L_17;
}
IL_0083:
{
Transform_t3275118058 * L_18 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_19 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_18, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (L_19)
{
goto IL_000f;
}
}
IL_008f:
{
bool L_20 = V_0;
bool L_21 = __this->get_m_GroupsAllowInteraction_10();
if ((((int32_t)L_20) == ((int32_t)L_21)))
{
goto IL_00aa;
}
}
{
bool L_22 = V_0;
__this->set_m_GroupsAllowInteraction_10(L_22);
Selectable_OnSetProperty_m2948696955(__this, /*hidden argument*/NULL);
}
IL_00aa:
{
return;
}
}
// System.Boolean UnityEngine.UI.Selectable::IsInteractable()
extern "C" bool Selectable_IsInteractable_m3245596965 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
bool V_0 = false;
int32_t G_B3_0 = 0;
{
bool L_0 = __this->get_m_GroupsAllowInteraction_10();
if (!L_0)
{
goto IL_0014;
}
}
{
bool L_1 = __this->get_m_Interactable_8();
G_B3_0 = ((int32_t)(L_1));
goto IL_0015;
}
IL_0014:
{
G_B3_0 = 0;
}
IL_0015:
{
V_0 = (bool)G_B3_0;
goto IL_001b;
}
IL_001b:
{
bool L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Selectable::OnDidApplyAnimationProperties()
extern "C" void Selectable_OnDidApplyAnimationProperties_m3173688706 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
{
Selectable_OnSetProperty_m2948696955(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Selectable::OnEnable()
extern "C" void Selectable_OnEnable_m3825327683 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_OnEnable_m3825327683_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
UIBehaviour_OnEnable_m152520444(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Selectable_t1490392188_il2cpp_TypeInfo_var);
List_1_t859513320 * L_0 = ((Selectable_t1490392188_StaticFields*)Selectable_t1490392188_il2cpp_TypeInfo_var->static_fields)->get_s_List_2();
NullCheck(L_0);
List_1_Add_m1402257845(L_0, __this, /*hidden argument*/List_1_Add_m1402257845_MethodInfo_var);
V_0 = 0;
bool L_1 = Selectable_get_hasSelection_m307792052(__this, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0021;
}
}
{
V_0 = 1;
}
IL_0021:
{
int32_t L_2 = V_0;
__this->set_m_CurrentSelectionState_11(L_2);
Selectable_InternalEvaluateAndTransitionToSelectionState_m175518412(__this, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Selectable::OnSetProperty()
extern "C" void Selectable_OnSetProperty_m2948696955 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
{
Selectable_InternalEvaluateAndTransitionToSelectionState_m175518412(__this, (bool)0, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Selectable::OnDisable()
extern "C" void Selectable_OnDisable_m2660228016 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_OnDisable_m2660228016_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Selectable_t1490392188_il2cpp_TypeInfo_var);
List_1_t859513320 * L_0 = ((Selectable_t1490392188_StaticFields*)Selectable_t1490392188_il2cpp_TypeInfo_var->static_fields)->get_s_List_2();
NullCheck(L_0);
List_1_Remove_m820472044(L_0, __this, /*hidden argument*/List_1_Remove_m820472044_MethodInfo_var);
VirtActionInvoker0::Invoke(25 /* System.Void UnityEngine.UI.Selectable::InstantClearState() */, __this);
UIBehaviour_OnDisable_m2533338171(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.UI.Selectable/SelectionState UnityEngine.UI.Selectable::get_currentSelectionState()
extern "C" int32_t Selectable_get_currentSelectionState_m3750934256 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_m_CurrentSelectionState_11();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Selectable::InstantClearState()
extern "C" void Selectable_InstantClearState_m406588920 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
String_t* V_0 = NULL;
int32_t V_1 = 0;
{
AnimationTriggers_t3244928895 * L_0 = __this->get_m_AnimationTriggers_7();
NullCheck(L_0);
String_t* L_1 = AnimationTriggers_get_normalTrigger_m809511251(L_0, /*hidden argument*/NULL);
V_0 = L_1;
Selectable_set_isPointerInside_m375338048(__this, (bool)0, /*hidden argument*/NULL);
Selectable_set_isPointerDown_m2177301980(__this, (bool)0, /*hidden argument*/NULL);
Selectable_set_hasSelection_m2076391827(__this, (bool)0, /*hidden argument*/NULL);
int32_t L_2 = __this->get_m_Transition_4();
V_1 = L_2;
int32_t L_3 = V_1;
if ((((int32_t)L_3) == ((int32_t)1)))
{
goto IL_0043;
}
}
{
int32_t L_4 = V_1;
if ((((int32_t)L_4) == ((int32_t)2)))
{
goto IL_0054;
}
}
{
int32_t L_5 = V_1;
if ((((int32_t)L_5) == ((int32_t)3)))
{
goto IL_0060;
}
}
{
goto IL_006c;
}
IL_0043:
{
Color_t2020392075 L_6 = Color_get_white_m3987539815(NULL /*static, unused*/, /*hidden argument*/NULL);
Selectable_StartColorTween_m407357486(__this, L_6, (bool)1, /*hidden argument*/NULL);
goto IL_006c;
}
IL_0054:
{
Selectable_DoSpriteSwap_m586643230(__this, (Sprite_t309593783 *)NULL, /*hidden argument*/NULL);
goto IL_006c;
}
IL_0060:
{
String_t* L_7 = V_0;
Selectable_TriggerAnimation_m3096883407(__this, L_7, /*hidden argument*/NULL);
goto IL_006c;
}
IL_006c:
{
return;
}
}
// System.Void UnityEngine.UI.Selectable::DoStateTransition(UnityEngine.UI.Selectable/SelectionState,System.Boolean)
extern "C" void Selectable_DoStateTransition_m539253088 (Selectable_t1490392188 * __this, int32_t ___state0, bool ___instant1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_DoStateTransition_m539253088_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Color_t2020392075 V_0;
memset(&V_0, 0, sizeof(V_0));
Sprite_t309593783 * V_1 = NULL;
String_t* V_2 = NULL;
int32_t V_3 = 0;
{
int32_t L_0 = ___state0;
switch (L_0)
{
case 0:
{
goto IL_001c;
}
case 1:
{
goto IL_003b;
}
case 2:
{
goto IL_0064;
}
case 3:
{
goto IL_008d;
}
}
}
{
goto IL_00b6;
}
IL_001c:
{
ColorBlock_t2652774230 * L_1 = __this->get_address_of_m_Colors_5();
Color_t2020392075 L_2 = ColorBlock_get_normalColor_m189118899(L_1, /*hidden argument*/NULL);
V_0 = L_2;
V_1 = (Sprite_t309593783 *)NULL;
AnimationTriggers_t3244928895 * L_3 = __this->get_m_AnimationTriggers_7();
NullCheck(L_3);
String_t* L_4 = AnimationTriggers_get_normalTrigger_m809511251(L_3, /*hidden argument*/NULL);
V_2 = L_4;
goto IL_00c9;
}
IL_003b:
{
ColorBlock_t2652774230 * L_5 = __this->get_address_of_m_Colors_5();
Color_t2020392075 L_6 = ColorBlock_get_highlightedColor_m456424517(L_5, /*hidden argument*/NULL);
V_0 = L_6;
SpriteState_t1353336012 * L_7 = __this->get_address_of_m_SpriteState_6();
Sprite_t309593783 * L_8 = SpriteState_get_highlightedSprite_m3684401887(L_7, /*hidden argument*/NULL);
V_1 = L_8;
AnimationTriggers_t3244928895 * L_9 = __this->get_m_AnimationTriggers_7();
NullCheck(L_9);
String_t* L_10 = AnimationTriggers_get_highlightedTrigger_m3039065073(L_9, /*hidden argument*/NULL);
V_2 = L_10;
goto IL_00c9;
}
IL_0064:
{
ColorBlock_t2652774230 * L_11 = __this->get_address_of_m_Colors_5();
Color_t2020392075 L_12 = ColorBlock_get_pressedColor_m1364631214(L_11, /*hidden argument*/NULL);
V_0 = L_12;
SpriteState_t1353336012 * L_13 = __this->get_address_of_m_SpriteState_6();
Sprite_t309593783 * L_14 = SpriteState_get_pressedSprite_m1768273732(L_13, /*hidden argument*/NULL);
V_1 = L_14;
AnimationTriggers_t3244928895 * L_15 = __this->get_m_AnimationTriggers_7();
NullCheck(L_15);
String_t* L_16 = AnimationTriggers_get_pressedTrigger_m4066042774(L_15, /*hidden argument*/NULL);
V_2 = L_16;
goto IL_00c9;
}
IL_008d:
{
ColorBlock_t2652774230 * L_17 = __this->get_address_of_m_Colors_5();
Color_t2020392075 L_18 = ColorBlock_get_disabledColor_m244002848(L_17, /*hidden argument*/NULL);
V_0 = L_18;
SpriteState_t1353336012 * L_19 = __this->get_address_of_m_SpriteState_6();
Sprite_t309593783 * L_20 = SpriteState_get_disabledSprite_m4278459634(L_19, /*hidden argument*/NULL);
V_1 = L_20;
AnimationTriggers_t3244928895 * L_21 = __this->get_m_AnimationTriggers_7();
NullCheck(L_21);
String_t* L_22 = AnimationTriggers_get_disabledTrigger_m2987312382(L_21, /*hidden argument*/NULL);
V_2 = L_22;
goto IL_00c9;
}
IL_00b6:
{
Color_t2020392075 L_23 = Color_get_black_m2650940523(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_23;
V_1 = (Sprite_t309593783 *)NULL;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_24 = ((String_t_StaticFields*)String_t_il2cpp_TypeInfo_var->static_fields)->get_Empty_2();
V_2 = L_24;
goto IL_00c9;
}
IL_00c9:
{
GameObject_t1756533147 * L_25 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
NullCheck(L_25);
bool L_26 = GameObject_get_activeInHierarchy_m4242915935(L_25, /*hidden argument*/NULL);
if (!L_26)
{
goto IL_0131;
}
}
{
int32_t L_27 = __this->get_m_Transition_4();
V_3 = L_27;
int32_t L_28 = V_3;
if ((((int32_t)L_28) == ((int32_t)1)))
{
goto IL_00fb;
}
}
{
int32_t L_29 = V_3;
if ((((int32_t)L_29) == ((int32_t)2)))
{
goto IL_0118;
}
}
{
int32_t L_30 = V_3;
if ((((int32_t)L_30) == ((int32_t)3)))
{
goto IL_0124;
}
}
{
goto IL_0130;
}
IL_00fb:
{
Color_t2020392075 L_31 = V_0;
ColorBlock_t2652774230 * L_32 = __this->get_address_of_m_Colors_5();
float L_33 = ColorBlock_get_colorMultiplier_m2946087706(L_32, /*hidden argument*/NULL);
Color_t2020392075 L_34 = Color_op_Multiply_m325555950(NULL /*static, unused*/, L_31, L_33, /*hidden argument*/NULL);
bool L_35 = ___instant1;
Selectable_StartColorTween_m407357486(__this, L_34, L_35, /*hidden argument*/NULL);
goto IL_0130;
}
IL_0118:
{
Sprite_t309593783 * L_36 = V_1;
Selectable_DoSpriteSwap_m586643230(__this, L_36, /*hidden argument*/NULL);
goto IL_0130;
}
IL_0124:
{
String_t* L_37 = V_2;
Selectable_TriggerAnimation_m3096883407(__this, L_37, /*hidden argument*/NULL);
goto IL_0130;
}
IL_0130:
{
}
IL_0131:
{
return;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectable(UnityEngine.Vector3)
extern "C" Selectable_t1490392188 * Selectable_FindSelectable_m2739582497 (Selectable_t1490392188 * __this, Vector3_t2243707580 ___dir0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_FindSelectable_m2739582497_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector3_t2243707580 V_1;
memset(&V_1, 0, sizeof(V_1));
float V_2 = 0.0f;
Selectable_t1490392188 * V_3 = NULL;
int32_t V_4 = 0;
Selectable_t1490392188 * V_5 = NULL;
Navigation_t1571958496 V_6;
memset(&V_6, 0, sizeof(V_6));
RectTransform_t3349966182 * V_7 = NULL;
Vector3_t2243707580 V_8;
memset(&V_8, 0, sizeof(V_8));
Rect_t3681755626 V_9;
memset(&V_9, 0, sizeof(V_9));
Vector3_t2243707580 V_10;
memset(&V_10, 0, sizeof(V_10));
float V_11 = 0.0f;
float V_12 = 0.0f;
Selectable_t1490392188 * V_13 = NULL;
Vector3_t2243707580 G_B10_0;
memset(&G_B10_0, 0, sizeof(G_B10_0));
{
Vector3_t2243707580 L_0 = Vector3_get_normalized_m936072361((&___dir0), /*hidden argument*/NULL);
___dir0 = L_0;
Transform_t3275118058 * L_1 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
NullCheck(L_1);
Quaternion_t4030073918 L_2 = Transform_get_rotation_m1033555130(L_1, /*hidden argument*/NULL);
Quaternion_t4030073918 L_3 = Quaternion_Inverse_m3931399088(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
Vector3_t2243707580 L_4 = ___dir0;
Vector3_t2243707580 L_5 = Quaternion_op_Multiply_m1483423721(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
V_0 = L_5;
Transform_t3275118058 * L_6 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
Transform_t3275118058 * L_7 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
Vector3_t2243707580 L_8 = V_0;
Vector2_t2243707579 L_9 = Vector2_op_Implicit_m1064335535(NULL /*static, unused*/, L_8, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Selectable_t1490392188_il2cpp_TypeInfo_var);
Vector3_t2243707580 L_10 = Selectable_GetPointOnRectEdge_m2342175406(NULL /*static, unused*/, ((RectTransform_t3349966182 *)IsInstSealed(L_7, RectTransform_t3349966182_il2cpp_TypeInfo_var)), L_9, /*hidden argument*/NULL);
NullCheck(L_6);
Vector3_t2243707580 L_11 = Transform_TransformPoint_m3272254198(L_6, L_10, /*hidden argument*/NULL);
V_1 = L_11;
V_2 = (-std::numeric_limits<float>::infinity());
V_3 = (Selectable_t1490392188 *)NULL;
V_4 = 0;
goto IL_0137;
}
IL_0053:
{
IL2CPP_RUNTIME_CLASS_INIT(Selectable_t1490392188_il2cpp_TypeInfo_var);
List_1_t859513320 * L_12 = ((Selectable_t1490392188_StaticFields*)Selectable_t1490392188_il2cpp_TypeInfo_var->static_fields)->get_s_List_2();
int32_t L_13 = V_4;
NullCheck(L_12);
Selectable_t1490392188 * L_14 = List_1_get_Item_m1917748490(L_12, L_13, /*hidden argument*/List_1_get_Item_m1917748490_MethodInfo_var);
V_5 = L_14;
Selectable_t1490392188 * L_15 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_16 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_15, __this, /*hidden argument*/NULL);
if (L_16)
{
goto IL_007c;
}
}
{
Selectable_t1490392188 * L_17 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_17, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_18)
{
goto IL_0081;
}
}
IL_007c:
{
goto IL_0131;
}
IL_0081:
{
Selectable_t1490392188 * L_19 = V_5;
NullCheck(L_19);
bool L_20 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, L_19);
if (!L_20)
{
goto IL_00a2;
}
}
{
Selectable_t1490392188 * L_21 = V_5;
NullCheck(L_21);
Navigation_t1571958496 L_22 = Selectable_get_navigation_m200542616(L_21, /*hidden argument*/NULL);
V_6 = L_22;
int32_t L_23 = Navigation_get_mode_m1837991501((&V_6), /*hidden argument*/NULL);
if (L_23)
{
goto IL_00a7;
}
}
IL_00a2:
{
goto IL_0131;
}
IL_00a7:
{
Selectable_t1490392188 * L_24 = V_5;
NullCheck(L_24);
Transform_t3275118058 * L_25 = Component_get_transform_m2697483695(L_24, /*hidden argument*/NULL);
V_7 = ((RectTransform_t3349966182 *)IsInstSealed(L_25, RectTransform_t3349966182_il2cpp_TypeInfo_var));
RectTransform_t3349966182 * L_26 = V_7;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_27 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_26, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_27)
{
goto IL_00dc;
}
}
{
RectTransform_t3349966182 * L_28 = V_7;
NullCheck(L_28);
Rect_t3681755626 L_29 = RectTransform_get_rect_m73954734(L_28, /*hidden argument*/NULL);
V_9 = L_29;
Vector2_t2243707579 L_30 = Rect_get_center_m3049923624((&V_9), /*hidden argument*/NULL);
Vector3_t2243707580 L_31 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_30, /*hidden argument*/NULL);
G_B10_0 = L_31;
goto IL_00e1;
}
IL_00dc:
{
Vector3_t2243707580 L_32 = Vector3_get_zero_m1527993324(NULL /*static, unused*/, /*hidden argument*/NULL);
G_B10_0 = L_32;
}
IL_00e1:
{
V_8 = G_B10_0;
Selectable_t1490392188 * L_33 = V_5;
NullCheck(L_33);
Transform_t3275118058 * L_34 = Component_get_transform_m2697483695(L_33, /*hidden argument*/NULL);
Vector3_t2243707580 L_35 = V_8;
NullCheck(L_34);
Vector3_t2243707580 L_36 = Transform_TransformPoint_m3272254198(L_34, L_35, /*hidden argument*/NULL);
Vector3_t2243707580 L_37 = V_1;
Vector3_t2243707580 L_38 = Vector3_op_Subtraction_m2407545601(NULL /*static, unused*/, L_36, L_37, /*hidden argument*/NULL);
V_10 = L_38;
Vector3_t2243707580 L_39 = ___dir0;
Vector3_t2243707580 L_40 = V_10;
float L_41 = Vector3_Dot_m3161182818(NULL /*static, unused*/, L_39, L_40, /*hidden argument*/NULL);
V_11 = L_41;
float L_42 = V_11;
if ((!(((float)L_42) <= ((float)(0.0f)))))
{
goto IL_0114;
}
}
{
goto IL_0131;
}
IL_0114:
{
float L_43 = V_11;
float L_44 = Vector3_get_sqrMagnitude_m1814096310((&V_10), /*hidden argument*/NULL);
V_12 = ((float)((float)L_43/(float)L_44));
float L_45 = V_12;
float L_46 = V_2;
if ((!(((float)L_45) > ((float)L_46))))
{
goto IL_0130;
}
}
{
float L_47 = V_12;
V_2 = L_47;
Selectable_t1490392188 * L_48 = V_5;
V_3 = L_48;
}
IL_0130:
{
}
IL_0131:
{
int32_t L_49 = V_4;
V_4 = ((int32_t)((int32_t)L_49+(int32_t)1));
}
IL_0137:
{
int32_t L_50 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(Selectable_t1490392188_il2cpp_TypeInfo_var);
List_1_t859513320 * L_51 = ((Selectable_t1490392188_StaticFields*)Selectable_t1490392188_il2cpp_TypeInfo_var->static_fields)->get_s_List_2();
NullCheck(L_51);
int32_t L_52 = List_1_get_Count_m2819288149(L_51, /*hidden argument*/List_1_get_Count_m2819288149_MethodInfo_var);
if ((((int32_t)L_50) < ((int32_t)L_52)))
{
goto IL_0053;
}
}
{
Selectable_t1490392188 * L_53 = V_3;
V_13 = L_53;
goto IL_0150;
}
IL_0150:
{
Selectable_t1490392188 * L_54 = V_13;
return L_54;
}
}
// UnityEngine.Vector3 UnityEngine.UI.Selectable::GetPointOnRectEdge(UnityEngine.RectTransform,UnityEngine.Vector2)
extern "C" Vector3_t2243707580 Selectable_GetPointOnRectEdge_m2342175406 (Il2CppObject * __this /* static, unused */, RectTransform_t3349966182 * ___rect0, Vector2_t2243707579 ___dir1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_GetPointOnRectEdge_m2342175406_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector3_t2243707580 V_0;
memset(&V_0, 0, sizeof(V_0));
Rect_t3681755626 V_1;
memset(&V_1, 0, sizeof(V_1));
Rect_t3681755626 V_2;
memset(&V_2, 0, sizeof(V_2));
{
RectTransform_t3349966182 * L_0 = ___rect0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0018;
}
}
{
Vector3_t2243707580 L_2 = Vector3_get_zero_m1527993324(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_2;
goto IL_008c;
}
IL_0018:
{
Vector2_t2243707579 L_3 = ___dir1;
Vector2_t2243707579 L_4 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
bool L_5 = Vector2_op_Inequality_m4283136193(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_004d;
}
}
{
Vector2_t2243707579 L_6 = ___dir1;
float L_7 = (&___dir1)->get_x_0();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_8 = fabsf(L_7);
float L_9 = (&___dir1)->get_y_1();
float L_10 = fabsf(L_9);
float L_11 = Mathf_Max_m2564622569(NULL /*static, unused*/, L_8, L_10, /*hidden argument*/NULL);
Vector2_t2243707579 L_12 = Vector2_op_Division_m96580069(NULL /*static, unused*/, L_6, L_11, /*hidden argument*/NULL);
___dir1 = L_12;
}
IL_004d:
{
RectTransform_t3349966182 * L_13 = ___rect0;
NullCheck(L_13);
Rect_t3681755626 L_14 = RectTransform_get_rect_m73954734(L_13, /*hidden argument*/NULL);
V_1 = L_14;
Vector2_t2243707579 L_15 = Rect_get_center_m3049923624((&V_1), /*hidden argument*/NULL);
RectTransform_t3349966182 * L_16 = ___rect0;
NullCheck(L_16);
Rect_t3681755626 L_17 = RectTransform_get_rect_m73954734(L_16, /*hidden argument*/NULL);
V_2 = L_17;
Vector2_t2243707579 L_18 = Rect_get_size_m3833121112((&V_2), /*hidden argument*/NULL);
Vector2_t2243707579 L_19 = ___dir1;
Vector2_t2243707579 L_20 = Vector2_op_Multiply_m4236139442(NULL /*static, unused*/, L_19, (0.5f), /*hidden argument*/NULL);
Vector2_t2243707579 L_21 = Vector2_Scale_m3228063809(NULL /*static, unused*/, L_18, L_20, /*hidden argument*/NULL);
Vector2_t2243707579 L_22 = Vector2_op_Addition_m1389598521(NULL /*static, unused*/, L_15, L_21, /*hidden argument*/NULL);
___dir1 = L_22;
Vector2_t2243707579 L_23 = ___dir1;
Vector3_t2243707580 L_24 = Vector2_op_Implicit_m176791411(NULL /*static, unused*/, L_23, /*hidden argument*/NULL);
V_0 = L_24;
goto IL_008c;
}
IL_008c:
{
Vector3_t2243707580 L_25 = V_0;
return L_25;
}
}
// System.Void UnityEngine.UI.Selectable::Navigate(UnityEngine.EventSystems.AxisEventData,UnityEngine.UI.Selectable)
extern "C" void Selectable_Navigate_m915280351 (Selectable_t1490392188 * __this, AxisEventData_t1524870173 * ___eventData0, Selectable_t1490392188 * ___sel1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_Navigate_m915280351_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Selectable_t1490392188 * L_0 = ___sel1;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0024;
}
}
{
Selectable_t1490392188 * L_2 = ___sel1;
NullCheck(L_2);
bool L_3 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, L_2);
if (!L_3)
{
goto IL_0024;
}
}
{
AxisEventData_t1524870173 * L_4 = ___eventData0;
Selectable_t1490392188 * L_5 = ___sel1;
NullCheck(L_5);
GameObject_t1756533147 * L_6 = Component_get_gameObject_m3105766835(L_5, /*hidden argument*/NULL);
NullCheck(L_4);
BaseEventData_set_selectedObject_m2198139983(L_4, L_6, /*hidden argument*/NULL);
}
IL_0024:
{
return;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnLeft()
extern "C" Selectable_t1490392188 * Selectable_FindSelectableOnLeft_m3706572906 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
Selectable_t1490392188 * V_0 = NULL;
{
Navigation_t1571958496 * L_0 = __this->get_address_of_m_Navigation_3();
int32_t L_1 = Navigation_get_mode_m1837991501(L_0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)4))))
{
goto IL_0024;
}
}
{
Navigation_t1571958496 * L_2 = __this->get_address_of_m_Navigation_3();
Selectable_t1490392188 * L_3 = Navigation_get_selectOnLeft_m3980387574(L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_005f;
}
IL_0024:
{
Navigation_t1571958496 * L_4 = __this->get_address_of_m_Navigation_3();
int32_t L_5 = Navigation_get_mode_m1837991501(L_4, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_5&(int32_t)1)))
{
goto IL_0058;
}
}
{
Transform_t3275118058 * L_6 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
NullCheck(L_6);
Quaternion_t4030073918 L_7 = Transform_get_rotation_m1033555130(L_6, /*hidden argument*/NULL);
Vector3_t2243707580 L_8 = Vector3_get_left_m2429378123(NULL /*static, unused*/, /*hidden argument*/NULL);
Vector3_t2243707580 L_9 = Quaternion_op_Multiply_m1483423721(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
Selectable_t1490392188 * L_10 = Selectable_FindSelectable_m2739582497(__this, L_9, /*hidden argument*/NULL);
V_0 = L_10;
goto IL_005f;
}
IL_0058:
{
V_0 = (Selectable_t1490392188 *)NULL;
goto IL_005f;
}
IL_005f:
{
Selectable_t1490392188 * L_11 = V_0;
return L_11;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnRight()
extern "C" Selectable_t1490392188 * Selectable_FindSelectableOnRight_m1439791817 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
Selectable_t1490392188 * V_0 = NULL;
{
Navigation_t1571958496 * L_0 = __this->get_address_of_m_Navigation_3();
int32_t L_1 = Navigation_get_mode_m1837991501(L_0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)4))))
{
goto IL_0024;
}
}
{
Navigation_t1571958496 * L_2 = __this->get_address_of_m_Navigation_3();
Selectable_t1490392188 * L_3 = Navigation_get_selectOnRight_m96837927(L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_005f;
}
IL_0024:
{
Navigation_t1571958496 * L_4 = __this->get_address_of_m_Navigation_3();
int32_t L_5 = Navigation_get_mode_m1837991501(L_4, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_5&(int32_t)1)))
{
goto IL_0058;
}
}
{
Transform_t3275118058 * L_6 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
NullCheck(L_6);
Quaternion_t4030073918 L_7 = Transform_get_rotation_m1033555130(L_6, /*hidden argument*/NULL);
Vector3_t2243707580 L_8 = Vector3_get_right_m1884123822(NULL /*static, unused*/, /*hidden argument*/NULL);
Vector3_t2243707580 L_9 = Quaternion_op_Multiply_m1483423721(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
Selectable_t1490392188 * L_10 = Selectable_FindSelectable_m2739582497(__this, L_9, /*hidden argument*/NULL);
V_0 = L_10;
goto IL_005f;
}
IL_0058:
{
V_0 = (Selectable_t1490392188 *)NULL;
goto IL_005f;
}
IL_005f:
{
Selectable_t1490392188 * L_11 = V_0;
return L_11;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnUp()
extern "C" Selectable_t1490392188 * Selectable_FindSelectableOnUp_m1852383750 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
Selectable_t1490392188 * V_0 = NULL;
{
Navigation_t1571958496 * L_0 = __this->get_address_of_m_Navigation_3();
int32_t L_1 = Navigation_get_mode_m1837991501(L_0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)4))))
{
goto IL_0024;
}
}
{
Navigation_t1571958496 * L_2 = __this->get_address_of_m_Navigation_3();
Selectable_t1490392188 * L_3 = Navigation_get_selectOnUp_m3734591810(L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_005f;
}
IL_0024:
{
Navigation_t1571958496 * L_4 = __this->get_address_of_m_Navigation_3();
int32_t L_5 = Navigation_get_mode_m1837991501(L_4, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_5&(int32_t)2)))
{
goto IL_0058;
}
}
{
Transform_t3275118058 * L_6 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
NullCheck(L_6);
Quaternion_t4030073918 L_7 = Transform_get_rotation_m1033555130(L_6, /*hidden argument*/NULL);
Vector3_t2243707580 L_8 = Vector3_get_up_m2725403797(NULL /*static, unused*/, /*hidden argument*/NULL);
Vector3_t2243707580 L_9 = Quaternion_op_Multiply_m1483423721(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
Selectable_t1490392188 * L_10 = Selectable_FindSelectable_m2739582497(__this, L_9, /*hidden argument*/NULL);
V_0 = L_10;
goto IL_005f;
}
IL_0058:
{
V_0 = (Selectable_t1490392188 *)NULL;
goto IL_005f;
}
IL_005f:
{
Selectable_t1490392188 * L_11 = V_0;
return L_11;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnDown()
extern "C" Selectable_t1490392188 * Selectable_FindSelectableOnDown_m3892524915 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
Selectable_t1490392188 * V_0 = NULL;
{
Navigation_t1571958496 * L_0 = __this->get_address_of_m_Navigation_3();
int32_t L_1 = Navigation_get_mode_m1837991501(L_0, /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)4))))
{
goto IL_0024;
}
}
{
Navigation_t1571958496 * L_2 = __this->get_address_of_m_Navigation_3();
Selectable_t1490392188 * L_3 = Navigation_get_selectOnDown_m3127721149(L_2, /*hidden argument*/NULL);
V_0 = L_3;
goto IL_005f;
}
IL_0024:
{
Navigation_t1571958496 * L_4 = __this->get_address_of_m_Navigation_3();
int32_t L_5 = Navigation_get_mode_m1837991501(L_4, /*hidden argument*/NULL);
if (!((int32_t)((int32_t)L_5&(int32_t)2)))
{
goto IL_0058;
}
}
{
Transform_t3275118058 * L_6 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
NullCheck(L_6);
Quaternion_t4030073918 L_7 = Transform_get_rotation_m1033555130(L_6, /*hidden argument*/NULL);
Vector3_t2243707580 L_8 = Vector3_get_down_m2372302126(NULL /*static, unused*/, /*hidden argument*/NULL);
Vector3_t2243707580 L_9 = Quaternion_op_Multiply_m1483423721(NULL /*static, unused*/, L_7, L_8, /*hidden argument*/NULL);
Selectable_t1490392188 * L_10 = Selectable_FindSelectable_m2739582497(__this, L_9, /*hidden argument*/NULL);
V_0 = L_10;
goto IL_005f;
}
IL_0058:
{
V_0 = (Selectable_t1490392188 *)NULL;
goto IL_005f;
}
IL_005f:
{
Selectable_t1490392188 * L_11 = V_0;
return L_11;
}
}
// System.Void UnityEngine.UI.Selectable::OnMove(UnityEngine.EventSystems.AxisEventData)
extern "C" void Selectable_OnMove_m2019752219 (Selectable_t1490392188 * __this, AxisEventData_t1524870173 * ___eventData0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
AxisEventData_t1524870173 * L_0 = ___eventData0;
NullCheck(L_0);
int32_t L_1 = AxisEventData_get_moveDir_m3968662359(L_0, /*hidden argument*/NULL);
V_0 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0047;
}
case 1:
{
goto IL_0035;
}
case 2:
{
goto IL_0023;
}
case 3:
{
goto IL_0059;
}
}
}
{
goto IL_006b;
}
IL_0023:
{
AxisEventData_t1524870173 * L_3 = ___eventData0;
Selectable_t1490392188 * L_4 = VirtFuncInvoker0< Selectable_t1490392188 * >::Invoke(28 /* UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnRight() */, __this);
Selectable_Navigate_m915280351(__this, L_3, L_4, /*hidden argument*/NULL);
goto IL_006b;
}
IL_0035:
{
AxisEventData_t1524870173 * L_5 = ___eventData0;
Selectable_t1490392188 * L_6 = VirtFuncInvoker0< Selectable_t1490392188 * >::Invoke(29 /* UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnUp() */, __this);
Selectable_Navigate_m915280351(__this, L_5, L_6, /*hidden argument*/NULL);
goto IL_006b;
}
IL_0047:
{
AxisEventData_t1524870173 * L_7 = ___eventData0;
Selectable_t1490392188 * L_8 = VirtFuncInvoker0< Selectable_t1490392188 * >::Invoke(27 /* UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnLeft() */, __this);
Selectable_Navigate_m915280351(__this, L_7, L_8, /*hidden argument*/NULL);
goto IL_006b;
}
IL_0059:
{
AxisEventData_t1524870173 * L_9 = ___eventData0;
Selectable_t1490392188 * L_10 = VirtFuncInvoker0< Selectable_t1490392188 * >::Invoke(30 /* UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnDown() */, __this);
Selectable_Navigate_m915280351(__this, L_9, L_10, /*hidden argument*/NULL);
goto IL_006b;
}
IL_006b:
{
return;
}
}
// System.Void UnityEngine.UI.Selectable::StartColorTween(UnityEngine.Color,System.Boolean)
extern "C" void Selectable_StartColorTween_m407357486 (Selectable_t1490392188 * __this, Color_t2020392075 ___targetColor0, bool ___instant1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_StartColorTween_m407357486_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Color_t2020392075 G_B4_0;
memset(&G_B4_0, 0, sizeof(G_B4_0));
Graphic_t2426225576 * G_B4_1 = NULL;
Color_t2020392075 G_B3_0;
memset(&G_B3_0, 0, sizeof(G_B3_0));
Graphic_t2426225576 * G_B3_1 = NULL;
float G_B5_0 = 0.0f;
Color_t2020392075 G_B5_1;
memset(&G_B5_1, 0, sizeof(G_B5_1));
Graphic_t2426225576 * G_B5_2 = NULL;
{
Graphic_t2426225576 * L_0 = __this->get_m_TargetGraphic_9();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0017;
}
}
{
goto IL_0040;
}
IL_0017:
{
Graphic_t2426225576 * L_2 = __this->get_m_TargetGraphic_9();
Color_t2020392075 L_3 = ___targetColor0;
bool L_4 = ___instant1;
G_B3_0 = L_3;
G_B3_1 = L_2;
if (!L_4)
{
G_B4_0 = L_3;
G_B4_1 = L_2;
goto IL_002e;
}
}
{
G_B5_0 = (0.0f);
G_B5_1 = G_B3_0;
G_B5_2 = G_B3_1;
goto IL_0039;
}
IL_002e:
{
ColorBlock_t2652774230 * L_5 = __this->get_address_of_m_Colors_5();
float L_6 = ColorBlock_get_fadeDuration_m987725262(L_5, /*hidden argument*/NULL);
G_B5_0 = L_6;
G_B5_1 = G_B4_0;
G_B5_2 = G_B4_1;
}
IL_0039:
{
NullCheck(G_B5_2);
VirtActionInvoker4< Color_t2020392075 , float, bool, bool >::Invoke(46 /* System.Void UnityEngine.UI.Graphic::CrossFadeColor(UnityEngine.Color,System.Single,System.Boolean,System.Boolean) */, G_B5_2, G_B5_1, G_B5_0, (bool)1, (bool)1);
}
IL_0040:
{
return;
}
}
// System.Void UnityEngine.UI.Selectable::DoSpriteSwap(UnityEngine.Sprite)
extern "C" void Selectable_DoSpriteSwap_m586643230 (Selectable_t1490392188 * __this, Sprite_t309593783 * ___newSprite0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_DoSpriteSwap_m586643230_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Image_t2042527209 * L_0 = Selectable_get_image_m3720077502(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0017;
}
}
{
goto IL_0023;
}
IL_0017:
{
Image_t2042527209 * L_2 = Selectable_get_image_m3720077502(__this, /*hidden argument*/NULL);
Sprite_t309593783 * L_3 = ___newSprite0;
NullCheck(L_2);
Image_set_overrideSprite_m3362535904(L_2, L_3, /*hidden argument*/NULL);
}
IL_0023:
{
return;
}
}
// System.Void UnityEngine.UI.Selectable::TriggerAnimation(System.String)
extern "C" void Selectable_TriggerAnimation_m3096883407 (Selectable_t1490392188 * __this, String_t* ___triggername0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_TriggerAnimation_m3096883407_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = Selectable_get_transition_m4266657949(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_0) == ((uint32_t)3))))
{
goto IL_0049;
}
}
{
Animator_t69676727 * L_1 = Selectable_get_animator_m627999862(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0049;
}
}
{
Animator_t69676727 * L_3 = Selectable_get_animator_m627999862(__this, /*hidden argument*/NULL);
NullCheck(L_3);
bool L_4 = Behaviour_get_isActiveAndEnabled_m3838334305(L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0049;
}
}
{
Animator_t69676727 * L_5 = Selectable_get_animator_m627999862(__this, /*hidden argument*/NULL);
NullCheck(L_5);
bool L_6 = Animator_get_hasBoundPlayables_m3670407842(L_5, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0049;
}
}
{
String_t* L_7 = ___triggername0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_8 = String_IsNullOrEmpty_m2802126737(NULL /*static, unused*/, L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_004e;
}
}
IL_0049:
{
goto IL_00b2;
}
IL_004e:
{
Animator_t69676727 * L_9 = Selectable_get_animator_m627999862(__this, /*hidden argument*/NULL);
AnimationTriggers_t3244928895 * L_10 = __this->get_m_AnimationTriggers_7();
NullCheck(L_10);
String_t* L_11 = AnimationTriggers_get_normalTrigger_m809511251(L_10, /*hidden argument*/NULL);
NullCheck(L_9);
Animator_ResetTrigger_m865269317(L_9, L_11, /*hidden argument*/NULL);
Animator_t69676727 * L_12 = Selectable_get_animator_m627999862(__this, /*hidden argument*/NULL);
AnimationTriggers_t3244928895 * L_13 = __this->get_m_AnimationTriggers_7();
NullCheck(L_13);
String_t* L_14 = AnimationTriggers_get_pressedTrigger_m4066042774(L_13, /*hidden argument*/NULL);
NullCheck(L_12);
Animator_ResetTrigger_m865269317(L_12, L_14, /*hidden argument*/NULL);
Animator_t69676727 * L_15 = Selectable_get_animator_m627999862(__this, /*hidden argument*/NULL);
AnimationTriggers_t3244928895 * L_16 = __this->get_m_AnimationTriggers_7();
NullCheck(L_16);
String_t* L_17 = AnimationTriggers_get_highlightedTrigger_m3039065073(L_16, /*hidden argument*/NULL);
NullCheck(L_15);
Animator_ResetTrigger_m865269317(L_15, L_17, /*hidden argument*/NULL);
Animator_t69676727 * L_18 = Selectable_get_animator_m627999862(__this, /*hidden argument*/NULL);
AnimationTriggers_t3244928895 * L_19 = __this->get_m_AnimationTriggers_7();
NullCheck(L_19);
String_t* L_20 = AnimationTriggers_get_disabledTrigger_m2987312382(L_19, /*hidden argument*/NULL);
NullCheck(L_18);
Animator_ResetTrigger_m865269317(L_18, L_20, /*hidden argument*/NULL);
Animator_t69676727 * L_21 = Selectable_get_animator_m627999862(__this, /*hidden argument*/NULL);
String_t* L_22 = ___triggername0;
NullCheck(L_21);
Animator_SetTrigger_m3418492570(L_21, L_22, /*hidden argument*/NULL);
}
IL_00b2:
{
return;
}
}
// System.Boolean UnityEngine.UI.Selectable::IsHighlighted(UnityEngine.EventSystems.BaseEventData)
extern "C" bool Selectable_IsHighlighted_m664420838 (Selectable_t1490392188 * __this, BaseEventData_t2681005625 * ___eventData0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_IsHighlighted_m664420838_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
bool V_1 = false;
PointerEventData_t1599784723 * V_2 = NULL;
bool G_B8_0 = false;
bool G_B6_0 = false;
bool G_B7_0 = false;
bool G_B16_0 = false;
bool G_B11_0 = false;
bool G_B9_0 = false;
bool G_B10_0 = false;
bool G_B14_0 = false;
bool G_B12_0 = false;
bool G_B13_0 = false;
int32_t G_B15_0 = 0;
bool G_B15_1 = false;
int32_t G_B17_0 = 0;
bool G_B17_1 = false;
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_0)
{
goto IL_0013;
}
}
{
V_0 = (bool)0;
goto IL_00da;
}
IL_0013:
{
bool L_1 = Selectable_IsPressed_m1221184327(__this, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0025;
}
}
{
V_0 = (bool)0;
goto IL_00da;
}
IL_0025:
{
bool L_2 = Selectable_get_hasSelection_m307792052(__this, /*hidden argument*/NULL);
V_1 = L_2;
BaseEventData_t2681005625 * L_3 = ___eventData0;
if (!((PointerEventData_t1599784723 *)IsInstClass(L_3, PointerEventData_t1599784723_il2cpp_TypeInfo_var)))
{
goto IL_00c8;
}
}
{
BaseEventData_t2681005625 * L_4 = ___eventData0;
V_2 = ((PointerEventData_t1599784723 *)IsInstClass(L_4, PointerEventData_t1599784723_il2cpp_TypeInfo_var));
bool L_5 = V_1;
bool L_6 = Selectable_get_isPointerDown_m774209881(__this, /*hidden argument*/NULL);
G_B6_0 = L_5;
if (!L_6)
{
G_B8_0 = L_5;
goto IL_006c;
}
}
{
bool L_7 = Selectable_get_isPointerInside_m3162215687(__this, /*hidden argument*/NULL);
G_B7_0 = G_B6_0;
if (L_7)
{
G_B8_0 = G_B6_0;
goto IL_006c;
}
}
{
PointerEventData_t1599784723 * L_8 = V_2;
NullCheck(L_8);
GameObject_t1756533147 * L_9 = PointerEventData_get_pointerPress_m880101744(L_8, /*hidden argument*/NULL);
GameObject_t1756533147 * L_10 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_11 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_9, L_10, /*hidden argument*/NULL);
G_B8_0 = G_B7_0;
if (L_11)
{
G_B16_0 = G_B7_0;
goto IL_00bf;
}
}
IL_006c:
{
bool L_12 = Selectable_get_isPointerDown_m774209881(__this, /*hidden argument*/NULL);
G_B9_0 = G_B8_0;
if (L_12)
{
G_B11_0 = G_B8_0;
goto IL_0098;
}
}
{
bool L_13 = Selectable_get_isPointerInside_m3162215687(__this, /*hidden argument*/NULL);
G_B10_0 = G_B9_0;
if (!L_13)
{
G_B11_0 = G_B9_0;
goto IL_0098;
}
}
{
PointerEventData_t1599784723 * L_14 = V_2;
NullCheck(L_14);
GameObject_t1756533147 * L_15 = PointerEventData_get_pointerPress_m880101744(L_14, /*hidden argument*/NULL);
GameObject_t1756533147 * L_16 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_17 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_15, L_16, /*hidden argument*/NULL);
G_B11_0 = G_B10_0;
if (L_17)
{
G_B16_0 = G_B10_0;
goto IL_00bf;
}
}
IL_0098:
{
bool L_18 = Selectable_get_isPointerDown_m774209881(__this, /*hidden argument*/NULL);
G_B12_0 = G_B11_0;
if (L_18)
{
G_B14_0 = G_B11_0;
goto IL_00bc;
}
}
{
bool L_19 = Selectable_get_isPointerInside_m3162215687(__this, /*hidden argument*/NULL);
G_B13_0 = G_B12_0;
if (!L_19)
{
G_B14_0 = G_B12_0;
goto IL_00bc;
}
}
{
PointerEventData_t1599784723 * L_20 = V_2;
NullCheck(L_20);
GameObject_t1756533147 * L_21 = PointerEventData_get_pointerPress_m880101744(L_20, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_22 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_21, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
G_B15_0 = ((int32_t)(L_22));
G_B15_1 = G_B13_0;
goto IL_00bd;
}
IL_00bc:
{
G_B15_0 = 0;
G_B15_1 = G_B14_0;
}
IL_00bd:
{
G_B17_0 = G_B15_0;
G_B17_1 = G_B15_1;
goto IL_00c0;
}
IL_00bf:
{
G_B17_0 = 1;
G_B17_1 = G_B16_0;
}
IL_00c0:
{
V_1 = (bool)((int32_t)((int32_t)G_B17_1|(int32_t)G_B17_0));
goto IL_00d3;
}
IL_00c8:
{
bool L_23 = V_1;
bool L_24 = Selectable_get_isPointerInside_m3162215687(__this, /*hidden argument*/NULL);
V_1 = (bool)((int32_t)((int32_t)L_23|(int32_t)L_24));
}
IL_00d3:
{
bool L_25 = V_1;
V_0 = L_25;
goto IL_00da;
}
IL_00da:
{
bool L_26 = V_0;
return L_26;
}
}
// System.Boolean UnityEngine.UI.Selectable::IsPressed(UnityEngine.EventSystems.BaseEventData)
extern "C" bool Selectable_IsPressed_m3349168065 (Selectable_t1490392188 * __this, BaseEventData_t2681005625 * ___eventData0, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = Selectable_IsPressed_m1221184327(__this, /*hidden argument*/NULL);
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Boolean UnityEngine.UI.Selectable::IsPressed()
extern "C" bool Selectable_IsPressed_m1221184327 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
bool V_0 = false;
int32_t G_B5_0 = 0;
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_0)
{
goto IL_0013;
}
}
{
V_0 = (bool)0;
goto IL_002d;
}
IL_0013:
{
bool L_1 = Selectable_get_isPointerInside_m3162215687(__this, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0026;
}
}
{
bool L_2 = Selectable_get_isPointerDown_m774209881(__this, /*hidden argument*/NULL);
G_B5_0 = ((int32_t)(L_2));
goto IL_0027;
}
IL_0026:
{
G_B5_0 = 0;
}
IL_0027:
{
V_0 = (bool)G_B5_0;
goto IL_002d;
}
IL_002d:
{
bool L_3 = V_0;
return L_3;
}
}
// System.Void UnityEngine.UI.Selectable::UpdateSelectionState(UnityEngine.EventSystems.BaseEventData)
extern "C" void Selectable_UpdateSelectionState_m185346103 (Selectable_t1490392188 * __this, BaseEventData_t2681005625 * ___eventData0, const MethodInfo* method)
{
{
bool L_0 = Selectable_IsPressed_m1221184327(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0019;
}
}
{
__this->set_m_CurrentSelectionState_11(2);
goto IL_0039;
}
IL_0019:
{
BaseEventData_t2681005625 * L_1 = ___eventData0;
bool L_2 = Selectable_IsHighlighted_m664420838(__this, L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0032;
}
}
{
__this->set_m_CurrentSelectionState_11(1);
goto IL_0039;
}
IL_0032:
{
__this->set_m_CurrentSelectionState_11(0);
}
IL_0039:
{
return;
}
}
// System.Void UnityEngine.UI.Selectable::EvaluateAndTransitionToSelectionState(UnityEngine.EventSystems.BaseEventData)
extern "C" void Selectable_EvaluateAndTransitionToSelectionState_m983473078 (Selectable_t1490392188 * __this, BaseEventData_t2681005625 * ___eventData0, const MethodInfo* method)
{
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_0)
{
goto IL_0017;
}
}
{
bool L_1 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this);
if (L_1)
{
goto IL_001c;
}
}
IL_0017:
{
goto IL_002a;
}
IL_001c:
{
BaseEventData_t2681005625 * L_2 = ___eventData0;
Selectable_UpdateSelectionState_m185346103(__this, L_2, /*hidden argument*/NULL);
Selectable_InternalEvaluateAndTransitionToSelectionState_m175518412(__this, (bool)0, /*hidden argument*/NULL);
}
IL_002a:
{
return;
}
}
// System.Void UnityEngine.UI.Selectable::InternalEvaluateAndTransitionToSelectionState(System.Boolean)
extern "C" void Selectable_InternalEvaluateAndTransitionToSelectionState_m175518412 (Selectable_t1490392188 * __this, bool ___instant0, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_m_CurrentSelectionState_11();
V_0 = L_0;
bool L_1 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_1)
{
goto IL_0020;
}
}
{
bool L_2 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this);
if (L_2)
{
goto IL_0020;
}
}
{
V_0 = 3;
}
IL_0020:
{
int32_t L_3 = V_0;
bool L_4 = ___instant0;
VirtActionInvoker2< int32_t, bool >::Invoke(26 /* System.Void UnityEngine.UI.Selectable::DoStateTransition(UnityEngine.UI.Selectable/SelectionState,System.Boolean) */, __this, L_3, L_4);
return;
}
}
// System.Void UnityEngine.UI.Selectable::OnPointerDown(UnityEngine.EventSystems.PointerEventData)
extern "C" void Selectable_OnPointerDown_m3110480835 (Selectable_t1490392188 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_OnPointerDown_m3110480835_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Navigation_t1571958496 V_0;
memset(&V_0, 0, sizeof(V_0));
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
NullCheck(L_0);
int32_t L_1 = PointerEventData_get_button_m2339189303(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0011;
}
}
{
goto IL_005e;
}
IL_0011:
{
bool L_2 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this);
if (!L_2)
{
goto IL_0050;
}
}
{
Navigation_t1571958496 L_3 = Selectable_get_navigation_m200542616(__this, /*hidden argument*/NULL);
V_0 = L_3;
int32_t L_4 = Navigation_get_mode_m1837991501((&V_0), /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0050;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t3466835263_il2cpp_TypeInfo_var);
EventSystem_t3466835263 * L_5 = EventSystem_get_current_m319019811(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_6 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_5, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_0050;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t3466835263_il2cpp_TypeInfo_var);
EventSystem_t3466835263 * L_7 = EventSystem_get_current_m319019811(NULL /*static, unused*/, /*hidden argument*/NULL);
GameObject_t1756533147 * L_8 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_9 = ___eventData0;
NullCheck(L_7);
EventSystem_SetSelectedGameObject_m2232036508(L_7, L_8, L_9, /*hidden argument*/NULL);
}
IL_0050:
{
Selectable_set_isPointerDown_m2177301980(__this, (bool)1, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_10 = ___eventData0;
Selectable_EvaluateAndTransitionToSelectionState_m983473078(__this, L_10, /*hidden argument*/NULL);
}
IL_005e:
{
return;
}
}
// System.Void UnityEngine.UI.Selectable::OnPointerUp(UnityEngine.EventSystems.PointerEventData)
extern "C" void Selectable_OnPointerUp_m3316013008 (Selectable_t1490392188 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
NullCheck(L_0);
int32_t L_1 = PointerEventData_get_button_m2339189303(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0011;
}
}
{
goto IL_001f;
}
IL_0011:
{
Selectable_set_isPointerDown_m2177301980(__this, (bool)0, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_2 = ___eventData0;
Selectable_EvaluateAndTransitionToSelectionState_m983473078(__this, L_2, /*hidden argument*/NULL);
}
IL_001f:
{
return;
}
}
// System.Void UnityEngine.UI.Selectable::OnPointerEnter(UnityEngine.EventSystems.PointerEventData)
extern "C" void Selectable_OnPointerEnter_m1786540213 (Selectable_t1490392188 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
Selectable_set_isPointerInside_m375338048(__this, (bool)1, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_0 = ___eventData0;
Selectable_EvaluateAndTransitionToSelectionState_m983473078(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Selectable::OnPointerExit(UnityEngine.EventSystems.PointerEventData)
extern "C" void Selectable_OnPointerExit_m1869719177 (Selectable_t1490392188 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
Selectable_set_isPointerInside_m375338048(__this, (bool)0, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_0 = ___eventData0;
Selectable_EvaluateAndTransitionToSelectionState_m983473078(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Selectable::OnSelect(UnityEngine.EventSystems.BaseEventData)
extern "C" void Selectable_OnSelect_m2797325470 (Selectable_t1490392188 * __this, BaseEventData_t2681005625 * ___eventData0, const MethodInfo* method)
{
{
Selectable_set_hasSelection_m2076391827(__this, (bool)1, /*hidden argument*/NULL);
BaseEventData_t2681005625 * L_0 = ___eventData0;
Selectable_EvaluateAndTransitionToSelectionState_m983473078(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Selectable::OnDeselect(UnityEngine.EventSystems.BaseEventData)
extern "C" void Selectable_OnDeselect_m4178078793 (Selectable_t1490392188 * __this, BaseEventData_t2681005625 * ___eventData0, const MethodInfo* method)
{
{
Selectable_set_hasSelection_m2076391827(__this, (bool)0, /*hidden argument*/NULL);
BaseEventData_t2681005625 * L_0 = ___eventData0;
Selectable_EvaluateAndTransitionToSelectionState_m983473078(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Selectable::Select()
extern "C" void Selectable_Select_m1366427711 (Selectable_t1490392188 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable_Select_m1366427711_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t3466835263_il2cpp_TypeInfo_var);
EventSystem_t3466835263 * L_0 = EventSystem_get_current_m319019811(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0020;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t3466835263_il2cpp_TypeInfo_var);
EventSystem_t3466835263 * L_2 = EventSystem_get_current_m319019811(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_2);
bool L_3 = EventSystem_get_alreadySelecting_m784345345(L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0025;
}
}
IL_0020:
{
goto IL_0035;
}
IL_0025:
{
IL2CPP_RUNTIME_CLASS_INIT(EventSystem_t3466835263_il2cpp_TypeInfo_var);
EventSystem_t3466835263 * L_4 = EventSystem_get_current_m319019811(NULL /*static, unused*/, /*hidden argument*/NULL);
GameObject_t1756533147 * L_5 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
NullCheck(L_4);
EventSystem_SetSelectedGameObject_m2211816110(L_4, L_5, /*hidden argument*/NULL);
}
IL_0035:
{
return;
}
}
// System.Void UnityEngine.UI.Selectable::.cctor()
extern "C" void Selectable__cctor_m400599998 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Selectable__cctor_m400599998_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t859513320 * L_0 = (List_1_t859513320 *)il2cpp_codegen_object_new(List_1_t859513320_il2cpp_TypeInfo_var);
List_1__ctor_m961445489(L_0, /*hidden argument*/List_1__ctor_m961445489_MethodInfo_var);
((Selectable_t1490392188_StaticFields*)Selectable_t1490392188_il2cpp_TypeInfo_var->static_fields)->set_s_List_2(L_0);
return;
}
}
// System.Boolean UnityEngine.UI.SetPropertyUtility::SetColor(UnityEngine.Color&,UnityEngine.Color)
extern "C" bool SetPropertyUtility_SetColor_m1471297701 (Il2CppObject * __this /* static, unused */, Color_t2020392075 * ___currentValue0, Color_t2020392075 ___newValue1, const MethodInfo* method)
{
bool V_0 = false;
{
Color_t2020392075 * L_0 = ___currentValue0;
float L_1 = L_0->get_r_0();
float L_2 = (&___newValue1)->get_r_0();
if ((!(((float)L_1) == ((float)L_2))))
{
goto IL_0050;
}
}
{
Color_t2020392075 * L_3 = ___currentValue0;
float L_4 = L_3->get_g_1();
float L_5 = (&___newValue1)->get_g_1();
if ((!(((float)L_4) == ((float)L_5))))
{
goto IL_0050;
}
}
{
Color_t2020392075 * L_6 = ___currentValue0;
float L_7 = L_6->get_b_2();
float L_8 = (&___newValue1)->get_b_2();
if ((!(((float)L_7) == ((float)L_8))))
{
goto IL_0050;
}
}
{
Color_t2020392075 * L_9 = ___currentValue0;
float L_10 = L_9->get_a_3();
float L_11 = (&___newValue1)->get_a_3();
if ((!(((float)L_10) == ((float)L_11))))
{
goto IL_0050;
}
}
{
V_0 = (bool)0;
goto IL_005e;
}
IL_0050:
{
Color_t2020392075 * L_12 = ___currentValue0;
Color_t2020392075 L_13 = ___newValue1;
(*(Color_t2020392075 *)L_12) = L_13;
V_0 = (bool)1;
goto IL_005e;
}
IL_005e:
{
bool L_14 = V_0;
return L_14;
}
}
// System.Void UnityEngine.UI.Shadow::.ctor()
extern "C" void Shadow__ctor_m924057531 (Shadow_t4269599528 * __this, const MethodInfo* method)
{
{
Color_t2020392075 L_0;
memset(&L_0, 0, sizeof(L_0));
Color__ctor_m1909920690(&L_0, (0.0f), (0.0f), (0.0f), (0.5f), /*hidden argument*/NULL);
__this->set_m_EffectColor_3(L_0);
Vector2_t2243707579 L_1;
memset(&L_1, 0, sizeof(L_1));
Vector2__ctor_m3067419446(&L_1, (1.0f), (-1.0f), /*hidden argument*/NULL);
__this->set_m_EffectDistance_4(L_1);
__this->set_m_UseGraphicAlpha_5((bool)1);
BaseMeshEffect__ctor_m2843647600(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.Color UnityEngine.UI.Shadow::get_effectColor()
extern "C" Color_t2020392075 Shadow_get_effectColor_m792481977 (Shadow_t4269599528 * __this, const MethodInfo* method)
{
Color_t2020392075 V_0;
memset(&V_0, 0, sizeof(V_0));
{
Color_t2020392075 L_0 = __this->get_m_EffectColor_3();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Color_t2020392075 L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Shadow::set_effectColor(UnityEngine.Color)
extern "C" void Shadow_set_effectColor_m3110056844 (Shadow_t4269599528 * __this, Color_t2020392075 ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Shadow_set_effectColor_m3110056844_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Color_t2020392075 L_0 = ___value0;
__this->set_m_EffectColor_3(L_0);
Graphic_t2426225576 * L_1 = BaseMeshEffect_get_graphic_m3358796463(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0024;
}
}
{
Graphic_t2426225576 * L_3 = BaseMeshEffect_get_graphic_m3358796463(__this, /*hidden argument*/NULL);
NullCheck(L_3);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, L_3);
}
IL_0024:
{
return;
}
}
// UnityEngine.Vector2 UnityEngine.UI.Shadow::get_effectDistance()
extern "C" Vector2_t2243707579 Shadow_get_effectDistance_m1859706485 (Shadow_t4269599528 * __this, const MethodInfo* method)
{
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
{
Vector2_t2243707579 L_0 = __this->get_m_EffectDistance_4();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Vector2_t2243707579 L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Shadow::set_effectDistance(UnityEngine.Vector2)
extern "C" void Shadow_set_effectDistance_m1951993364 (Shadow_t4269599528 * __this, Vector2_t2243707579 ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Shadow_set_effectDistance_m1951993364_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
float L_0 = (&___value0)->get_x_0();
if ((!(((float)L_0) > ((float)(600.0f)))))
{
goto IL_001e;
}
}
{
(&___value0)->set_x_0((600.0f));
}
IL_001e:
{
float L_1 = (&___value0)->get_x_0();
if ((!(((float)L_1) < ((float)(-600.0f)))))
{
goto IL_003b;
}
}
{
(&___value0)->set_x_0((-600.0f));
}
IL_003b:
{
float L_2 = (&___value0)->get_y_1();
if ((!(((float)L_2) > ((float)(600.0f)))))
{
goto IL_0058;
}
}
{
(&___value0)->set_y_1((600.0f));
}
IL_0058:
{
float L_3 = (&___value0)->get_y_1();
if ((!(((float)L_3) < ((float)(-600.0f)))))
{
goto IL_0075;
}
}
{
(&___value0)->set_y_1((-600.0f));
}
IL_0075:
{
Vector2_t2243707579 L_4 = __this->get_m_EffectDistance_4();
Vector2_t2243707579 L_5 = ___value0;
bool L_6 = Vector2_op_Equality_m4168854394(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_008b;
}
}
{
goto IL_00ae;
}
IL_008b:
{
Vector2_t2243707579 L_7 = ___value0;
__this->set_m_EffectDistance_4(L_7);
Graphic_t2426225576 * L_8 = BaseMeshEffect_get_graphic_m3358796463(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_9 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_8, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_9)
{
goto IL_00ae;
}
}
{
Graphic_t2426225576 * L_10 = BaseMeshEffect_get_graphic_m3358796463(__this, /*hidden argument*/NULL);
NullCheck(L_10);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, L_10);
}
IL_00ae:
{
return;
}
}
// System.Boolean UnityEngine.UI.Shadow::get_useGraphicAlpha()
extern "C" bool Shadow_get_useGraphicAlpha_m103020179 (Shadow_t4269599528 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_m_UseGraphicAlpha_5();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Shadow::set_useGraphicAlpha(System.Boolean)
extern "C" void Shadow_set_useGraphicAlpha_m141905402 (Shadow_t4269599528 * __this, bool ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Shadow_set_useGraphicAlpha_m141905402_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = ___value0;
__this->set_m_UseGraphicAlpha_5(L_0);
Graphic_t2426225576 * L_1 = BaseMeshEffect_get_graphic_m3358796463(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0024;
}
}
{
Graphic_t2426225576 * L_3 = BaseMeshEffect_get_graphic_m3358796463(__this, /*hidden argument*/NULL);
NullCheck(L_3);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, L_3);
}
IL_0024:
{
return;
}
}
// System.Void UnityEngine.UI.Shadow::ApplyShadowZeroAlloc(System.Collections.Generic.List`1<UnityEngine.UIVertex>,UnityEngine.Color32,System.Int32,System.Int32,System.Single,System.Single)
extern "C" void Shadow_ApplyShadowZeroAlloc_m2132231878 (Shadow_t4269599528 * __this, List_1_t573379950 * ___verts0, Color32_t874517518 ___color1, int32_t ___start2, int32_t ___end3, float ___x4, float ___y5, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Shadow_ApplyShadowZeroAlloc_m2132231878_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
UIVertex_t1204258818 V_0;
memset(&V_0, 0, sizeof(V_0));
int32_t V_1 = 0;
int32_t V_2 = 0;
Vector3_t2243707580 V_3;
memset(&V_3, 0, sizeof(V_3));
Color32_t874517518 V_4;
memset(&V_4, 0, sizeof(V_4));
UIVertex_t1204258818 V_5;
memset(&V_5, 0, sizeof(V_5));
{
List_1_t573379950 * L_0 = ___verts0;
NullCheck(L_0);
int32_t L_1 = List_1_get_Count_m2390119157(L_0, /*hidden argument*/List_1_get_Count_m2390119157_MethodInfo_var);
int32_t L_2 = ___end3;
int32_t L_3 = ___start2;
V_1 = ((int32_t)((int32_t)((int32_t)((int32_t)L_1+(int32_t)L_2))-(int32_t)L_3));
List_1_t573379950 * L_4 = ___verts0;
NullCheck(L_4);
int32_t L_5 = List_1_get_Capacity_m3497182270(L_4, /*hidden argument*/List_1_get_Capacity_m3497182270_MethodInfo_var);
int32_t L_6 = V_1;
if ((((int32_t)L_5) >= ((int32_t)L_6)))
{
goto IL_0020;
}
}
{
List_1_t573379950 * L_7 = ___verts0;
int32_t L_8 = V_1;
NullCheck(L_7);
List_1_set_Capacity_m3121007037(L_7, L_8, /*hidden argument*/List_1_set_Capacity_m3121007037_MethodInfo_var);
}
IL_0020:
{
int32_t L_9 = ___start2;
V_2 = L_9;
goto IL_00b6;
}
IL_0027:
{
List_1_t573379950 * L_10 = ___verts0;
int32_t L_11 = V_2;
NullCheck(L_10);
UIVertex_t1204258818 L_12 = List_1_get_Item_m2318061838(L_10, L_11, /*hidden argument*/List_1_get_Item_m2318061838_MethodInfo_var);
V_0 = L_12;
List_1_t573379950 * L_13 = ___verts0;
UIVertex_t1204258818 L_14 = V_0;
NullCheck(L_13);
List_1_Add_m3591975577(L_13, L_14, /*hidden argument*/List_1_Add_m3591975577_MethodInfo_var);
Vector3_t2243707580 L_15 = (&V_0)->get_position_0();
V_3 = L_15;
Vector3_t2243707580 * L_16 = (&V_3);
float L_17 = L_16->get_x_1();
float L_18 = ___x4;
L_16->set_x_1(((float)((float)L_17+(float)L_18)));
Vector3_t2243707580 * L_19 = (&V_3);
float L_20 = L_19->get_y_2();
float L_21 = ___y5;
L_19->set_y_2(((float)((float)L_20+(float)L_21)));
Vector3_t2243707580 L_22 = V_3;
(&V_0)->set_position_0(L_22);
Color32_t874517518 L_23 = ___color1;
V_4 = L_23;
bool L_24 = __this->get_m_UseGraphicAlpha_5();
if (!L_24)
{
goto IL_00a0;
}
}
{
uint8_t L_25 = (&V_4)->get_a_3();
List_1_t573379950 * L_26 = ___verts0;
int32_t L_27 = V_2;
NullCheck(L_26);
UIVertex_t1204258818 L_28 = List_1_get_Item_m2318061838(L_26, L_27, /*hidden argument*/List_1_get_Item_m2318061838_MethodInfo_var);
V_5 = L_28;
Color32_t874517518 * L_29 = (&V_5)->get_address_of_color_2();
uint8_t L_30 = L_29->get_a_3();
(&V_4)->set_a_3((uint8_t)(((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_25*(int32_t)L_30))/(int32_t)((int32_t)255)))))));
}
IL_00a0:
{
Color32_t874517518 L_31 = V_4;
(&V_0)->set_color_2(L_31);
List_1_t573379950 * L_32 = ___verts0;
int32_t L_33 = V_2;
UIVertex_t1204258818 L_34 = V_0;
NullCheck(L_32);
List_1_set_Item_m1747579297(L_32, L_33, L_34, /*hidden argument*/List_1_set_Item_m1747579297_MethodInfo_var);
int32_t L_35 = V_2;
V_2 = ((int32_t)((int32_t)L_35+(int32_t)1));
}
IL_00b6:
{
int32_t L_36 = V_2;
int32_t L_37 = ___end3;
if ((((int32_t)L_36) < ((int32_t)L_37)))
{
goto IL_0027;
}
}
{
return;
}
}
// System.Void UnityEngine.UI.Shadow::ApplyShadow(System.Collections.Generic.List`1<UnityEngine.UIVertex>,UnityEngine.Color32,System.Int32,System.Int32,System.Single,System.Single)
extern "C" void Shadow_ApplyShadow_m1951874787 (Shadow_t4269599528 * __this, List_1_t573379950 * ___verts0, Color32_t874517518 ___color1, int32_t ___start2, int32_t ___end3, float ___x4, float ___y5, const MethodInfo* method)
{
{
List_1_t573379950 * L_0 = ___verts0;
Color32_t874517518 L_1 = ___color1;
int32_t L_2 = ___start2;
int32_t L_3 = ___end3;
float L_4 = ___x4;
float L_5 = ___y5;
Shadow_ApplyShadowZeroAlloc_m2132231878(__this, L_0, L_1, L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Shadow::ModifyMesh(UnityEngine.UI.VertexHelper)
extern "C" void Shadow_ModifyMesh_m2723453831 (Shadow_t4269599528 * __this, VertexHelper_t385374196 * ___vh0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Shadow_ModifyMesh_m2723453831_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
List_1_t573379950 * V_0 = NULL;
Vector2_t2243707579 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector2_t2243707579 V_2;
memset(&V_2, 0, sizeof(V_2));
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_0)
{
goto IL_0011;
}
}
{
goto IL_0066;
}
IL_0011:
{
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t57233634_il2cpp_TypeInfo_var);
List_1_t573379950 * L_1 = ListPool_1_Get_m4215629480(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m4215629480_MethodInfo_var);
V_0 = L_1;
VertexHelper_t385374196 * L_2 = ___vh0;
List_1_t573379950 * L_3 = V_0;
NullCheck(L_2);
VertexHelper_GetUIVertexStream_m3849188814(L_2, L_3, /*hidden argument*/NULL);
List_1_t573379950 * L_4 = V_0;
Color_t2020392075 L_5 = Shadow_get_effectColor_m792481977(__this, /*hidden argument*/NULL);
Color32_t874517518 L_6 = Color32_op_Implicit_m624191464(NULL /*static, unused*/, L_5, /*hidden argument*/NULL);
List_1_t573379950 * L_7 = V_0;
NullCheck(L_7);
int32_t L_8 = List_1_get_Count_m2390119157(L_7, /*hidden argument*/List_1_get_Count_m2390119157_MethodInfo_var);
Vector2_t2243707579 L_9 = Shadow_get_effectDistance_m1859706485(__this, /*hidden argument*/NULL);
V_1 = L_9;
float L_10 = (&V_1)->get_x_0();
Vector2_t2243707579 L_11 = Shadow_get_effectDistance_m1859706485(__this, /*hidden argument*/NULL);
V_2 = L_11;
float L_12 = (&V_2)->get_y_1();
Shadow_ApplyShadow_m1951874787(__this, L_4, L_6, 0, L_8, L_10, L_12, /*hidden argument*/NULL);
VertexHelper_t385374196 * L_13 = ___vh0;
NullCheck(L_13);
VertexHelper_Clear_m648714328(L_13, /*hidden argument*/NULL);
VertexHelper_t385374196 * L_14 = ___vh0;
List_1_t573379950 * L_15 = V_0;
NullCheck(L_14);
VertexHelper_AddUIVertexTriangleStream_m4009409241(L_14, L_15, /*hidden argument*/NULL);
List_1_t573379950 * L_16 = V_0;
ListPool_1_Release_m782571048(NULL /*static, unused*/, L_16, /*hidden argument*/ListPool_1_Release_m782571048_MethodInfo_var);
}
IL_0066:
{
return;
}
}
// System.Void UnityEngine.UI.Slider::.ctor()
extern "C" void Slider__ctor_m3124136916 (Slider_t297367283 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider__ctor_m3124136916_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_m_Direction_18(0);
__this->set_m_MinValue_19((0.0f));
__this->set_m_MaxValue_20((1.0f));
__this->set_m_WholeNumbers_21((bool)0);
SliderEvent_t2111116400 * L_0 = (SliderEvent_t2111116400 *)il2cpp_codegen_object_new(SliderEvent_t2111116400_il2cpp_TypeInfo_var);
SliderEvent__ctor_m262797720(L_0, /*hidden argument*/NULL);
__this->set_m_OnValueChanged_23(L_0);
Vector2_t2243707579 L_1 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_Offset_29(L_1);
IL2CPP_RUNTIME_CLASS_INIT(Selectable_t1490392188_il2cpp_TypeInfo_var);
Selectable__ctor_m1440593935(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.RectTransform UnityEngine.UI.Slider::get_fillRect()
extern "C" RectTransform_t3349966182 * Slider_get_fillRect_m3981597768 (Slider_t297367283 * __this, const MethodInfo* method)
{
RectTransform_t3349966182 * V_0 = NULL;
{
RectTransform_t3349966182 * L_0 = __this->get_m_FillRect_16();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
RectTransform_t3349966182 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Slider::set_fillRect(UnityEngine.RectTransform)
extern "C" void Slider_set_fillRect_m2483082889 (Slider_t297367283 * __this, RectTransform_t3349966182 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_set_fillRect_m2483082889_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RectTransform_t3349966182 ** L_0 = __this->get_address_of_m_FillRect_16();
RectTransform_t3349966182 * L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetClass_TisRectTransform_t3349966182_m3360806591(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetClass_TisRectTransform_t3349966182_m3360806591_MethodInfo_var);
if (!L_2)
{
goto IL_0020;
}
}
{
Slider_UpdateCachedReferences_m3161887229(__this, /*hidden argument*/NULL);
Slider_UpdateVisuals_m1325504022(__this, /*hidden argument*/NULL);
}
IL_0020:
{
return;
}
}
// UnityEngine.RectTransform UnityEngine.UI.Slider::get_handleRect()
extern "C" RectTransform_t3349966182 * Slider_get_handleRect_m2416838927 (Slider_t297367283 * __this, const MethodInfo* method)
{
RectTransform_t3349966182 * V_0 = NULL;
{
RectTransform_t3349966182 * L_0 = __this->get_m_HandleRect_17();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
RectTransform_t3349966182 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Slider::set_handleRect(UnityEngine.RectTransform)
extern "C" void Slider_set_handleRect_m4274581402 (Slider_t297367283 * __this, RectTransform_t3349966182 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_set_handleRect_m4274581402_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RectTransform_t3349966182 ** L_0 = __this->get_address_of_m_HandleRect_17();
RectTransform_t3349966182 * L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetClass_TisRectTransform_t3349966182_m3360806591(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetClass_TisRectTransform_t3349966182_m3360806591_MethodInfo_var);
if (!L_2)
{
goto IL_0020;
}
}
{
Slider_UpdateCachedReferences_m3161887229(__this, /*hidden argument*/NULL);
Slider_UpdateVisuals_m1325504022(__this, /*hidden argument*/NULL);
}
IL_0020:
{
return;
}
}
// UnityEngine.UI.Slider/Direction UnityEngine.UI.Slider::get_direction()
extern "C" int32_t Slider_get_direction_m2992255637 (Slider_t297367283 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get_m_Direction_18();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
int32_t L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Slider::set_direction(UnityEngine.UI.Slider/Direction)
extern "C" void Slider_set_direction_m612975266 (Slider_t297367283 * __this, int32_t ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_set_direction_m612975266_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
int32_t* L_0 = __this->get_address_of_m_Direction_18();
int32_t L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetStruct_TisDirection_t1525323322_m3913288783(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisDirection_t1525323322_m3913288783_MethodInfo_var);
if (!L_2)
{
goto IL_0018;
}
}
{
Slider_UpdateVisuals_m1325504022(__this, /*hidden argument*/NULL);
}
IL_0018:
{
return;
}
}
// System.Single UnityEngine.UI.Slider::get_minValue()
extern "C" float Slider_get_minValue_m749054492 (Slider_t297367283 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->get_m_MinValue_19();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
float L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Slider::set_minValue(System.Single)
extern "C" void Slider_set_minValue_m1484509981 (Slider_t297367283 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_set_minValue_m1484509981_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
float* L_0 = __this->get_address_of_m_MinValue_19();
float L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetStruct_TisSingle_t2076509932_m3849235084(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisSingle_t2076509932_m3849235084_MethodInfo_var);
if (!L_2)
{
goto IL_0026;
}
}
{
float L_3 = __this->get_m_Value_22();
Slider_Set_m3835352751(__this, L_3, /*hidden argument*/NULL);
Slider_UpdateVisuals_m1325504022(__this, /*hidden argument*/NULL);
}
IL_0026:
{
return;
}
}
// System.Single UnityEngine.UI.Slider::get_maxValue()
extern "C" float Slider_get_maxValue_m3319962262 (Slider_t297367283 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->get_m_MaxValue_20();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
float L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Slider::set_maxValue(System.Single)
extern "C" void Slider_set_maxValue_m2951480075 (Slider_t297367283 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_set_maxValue_m2951480075_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
float* L_0 = __this->get_address_of_m_MaxValue_20();
float L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetStruct_TisSingle_t2076509932_m3849235084(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisSingle_t2076509932_m3849235084_MethodInfo_var);
if (!L_2)
{
goto IL_0026;
}
}
{
float L_3 = __this->get_m_Value_22();
Slider_Set_m3835352751(__this, L_3, /*hidden argument*/NULL);
Slider_UpdateVisuals_m1325504022(__this, /*hidden argument*/NULL);
}
IL_0026:
{
return;
}
}
// System.Boolean UnityEngine.UI.Slider::get_wholeNumbers()
extern "C" bool Slider_get_wholeNumbers_m4228975260 (Slider_t297367283 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_m_WholeNumbers_21();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Slider::set_wholeNumbers(System.Boolean)
extern "C" void Slider_set_wholeNumbers_m2922063719 (Slider_t297367283 * __this, bool ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_set_wholeNumbers_m2922063719_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool* L_0 = __this->get_address_of_m_WholeNumbers_21();
bool L_1 = ___value0;
bool L_2 = SetPropertyUtility_SetStruct_TisBoolean_t3825574718_m752301298(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/SetPropertyUtility_SetStruct_TisBoolean_t3825574718_m752301298_MethodInfo_var);
if (!L_2)
{
goto IL_0026;
}
}
{
float L_3 = __this->get_m_Value_22();
Slider_Set_m3835352751(__this, L_3, /*hidden argument*/NULL);
Slider_UpdateVisuals_m1325504022(__this, /*hidden argument*/NULL);
}
IL_0026:
{
return;
}
}
// System.Single UnityEngine.UI.Slider::get_value()
extern "C" float Slider_get_value_m4182660424 (Slider_t297367283 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_get_value_m4182660424_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
bool L_0 = Slider_get_wholeNumbers_m4228975260(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_001d;
}
}
{
float L_1 = __this->get_m_Value_22();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_2 = bankers_roundf(L_1);
V_0 = L_2;
goto IL_0029;
}
IL_001d:
{
float L_3 = __this->get_m_Value_22();
V_0 = L_3;
goto IL_0029;
}
IL_0029:
{
float L_4 = V_0;
return L_4;
}
}
// System.Void UnityEngine.UI.Slider::set_value(System.Single)
extern "C" void Slider_set_value_m3092569199 (Slider_t297367283 * __this, float ___value0, const MethodInfo* method)
{
{
float L_0 = ___value0;
Slider_Set_m3835352751(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Single UnityEngine.UI.Slider::get_normalizedValue()
extern "C" float Slider_get_normalizedValue_m4164062921 (Slider_t297367283 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_get_normalizedValue_m4164062921_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
float L_0 = Slider_get_minValue_m749054492(__this, /*hidden argument*/NULL);
float L_1 = Slider_get_maxValue_m3319962262(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
bool L_2 = Mathf_Approximately_m1064446634(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0022;
}
}
{
V_0 = (0.0f);
goto IL_003f;
}
IL_0022:
{
float L_3 = Slider_get_minValue_m749054492(__this, /*hidden argument*/NULL);
float L_4 = Slider_get_maxValue_m3319962262(__this, /*hidden argument*/NULL);
float L_5 = VirtFuncInvoker0< float >::Invoke(46 /* System.Single UnityEngine.UI.Slider::get_value() */, __this);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_6 = Mathf_InverseLerp_m55890283(NULL /*static, unused*/, L_3, L_4, L_5, /*hidden argument*/NULL);
V_0 = L_6;
goto IL_003f;
}
IL_003f:
{
float L_7 = V_0;
return L_7;
}
}
// System.Void UnityEngine.UI.Slider::set_normalizedValue(System.Single)
extern "C" void Slider_set_normalizedValue_m3093868078 (Slider_t297367283 * __this, float ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_set_normalizedValue_m3093868078_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
float L_0 = Slider_get_minValue_m749054492(__this, /*hidden argument*/NULL);
float L_1 = Slider_get_maxValue_m3319962262(__this, /*hidden argument*/NULL);
float L_2 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_3 = Mathf_Lerp_m1686556575(NULL /*static, unused*/, L_0, L_1, L_2, /*hidden argument*/NULL);
VirtActionInvoker1< float >::Invoke(47 /* System.Void UnityEngine.UI.Slider::set_value(System.Single) */, __this, L_3);
return;
}
}
// UnityEngine.UI.Slider/SliderEvent UnityEngine.UI.Slider::get_onValueChanged()
extern "C" SliderEvent_t2111116400 * Slider_get_onValueChanged_m4261003214 (Slider_t297367283 * __this, const MethodInfo* method)
{
SliderEvent_t2111116400 * V_0 = NULL;
{
SliderEvent_t2111116400 * L_0 = __this->get_m_OnValueChanged_23();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
SliderEvent_t2111116400 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Slider::set_onValueChanged(UnityEngine.UI.Slider/SliderEvent)
extern "C" void Slider_set_onValueChanged_m1751815187 (Slider_t297367283 * __this, SliderEvent_t2111116400 * ___value0, const MethodInfo* method)
{
{
SliderEvent_t2111116400 * L_0 = ___value0;
__this->set_m_OnValueChanged_23(L_0);
return;
}
}
// System.Single UnityEngine.UI.Slider::get_stepSize()
extern "C" float Slider_get_stepSize_m195019090 (Slider_t297367283 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
float G_B3_0 = 0.0f;
{
bool L_0 = Slider_get_wholeNumbers_m4228975260(__this, /*hidden argument*/NULL);
if (!L_0)
{
goto IL_0016;
}
}
{
G_B3_0 = (1.0f);
goto IL_0029;
}
IL_0016:
{
float L_1 = Slider_get_maxValue_m3319962262(__this, /*hidden argument*/NULL);
float L_2 = Slider_get_minValue_m749054492(__this, /*hidden argument*/NULL);
G_B3_0 = ((float)((float)((float)((float)L_1-(float)L_2))*(float)(0.1f)));
}
IL_0029:
{
V_0 = G_B3_0;
goto IL_002f;
}
IL_002f:
{
float L_3 = V_0;
return L_3;
}
}
// System.Void UnityEngine.UI.Slider::Rebuild(UnityEngine.UI.CanvasUpdate)
extern "C" void Slider_Rebuild_m3442875945 (Slider_t297367283 * __this, int32_t ___executing0, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.Slider::LayoutComplete()
extern "C" void Slider_LayoutComplete_m2237060187 (Slider_t297367283 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.Slider::GraphicUpdateComplete()
extern "C" void Slider_GraphicUpdateComplete_m4151779134 (Slider_t297367283 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.Slider::OnEnable()
extern "C" void Slider_OnEnable_m2886106036 (Slider_t297367283 * __this, const MethodInfo* method)
{
{
Selectable_OnEnable_m3825327683(__this, /*hidden argument*/NULL);
Slider_UpdateCachedReferences_m3161887229(__this, /*hidden argument*/NULL);
float L_0 = __this->get_m_Value_22();
VirtActionInvoker2< float, bool >::Invoke(51 /* System.Void UnityEngine.UI.Slider::Set(System.Single,System.Boolean) */, __this, L_0, (bool)0);
Slider_UpdateVisuals_m1325504022(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Slider::OnDisable()
extern "C" void Slider_OnDisable_m3161005185 (Slider_t297367283 * __this, const MethodInfo* method)
{
{
DrivenRectTransformTracker_t154385424 * L_0 = __this->get_address_of_m_Tracker_30();
DrivenRectTransformTracker_Clear_m864483440(L_0, /*hidden argument*/NULL);
Selectable_OnDisable_m2660228016(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Slider::OnDidApplyAnimationProperties()
extern "C" void Slider_OnDidApplyAnimationProperties_m3202463395 (Slider_t297367283 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_OnDidApplyAnimationProperties_m3202463395_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
Vector2_t2243707579 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector2_t2243707579 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector2_t2243707579 V_3;
memset(&V_3, 0, sizeof(V_3));
Vector2_t2243707579 V_4;
memset(&V_4, 0, sizeof(V_4));
float G_B7_0 = 0.0f;
float G_B13_0 = 0.0f;
{
float L_0 = __this->get_m_Value_22();
float L_1 = Slider_ClampValue_m2851810895(__this, L_0, /*hidden argument*/NULL);
__this->set_m_Value_22(L_1);
float L_2 = Slider_get_normalizedValue_m4164062921(__this, /*hidden argument*/NULL);
V_0 = L_2;
RectTransform_t3349966182 * L_3 = __this->get_m_FillContainerRect_26();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_3, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_00ae;
}
}
{
Image_t2042527209 * L_5 = __this->get_m_FillImage_24();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_6 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_5, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_005f;
}
}
{
Image_t2042527209 * L_7 = __this->get_m_FillImage_24();
NullCheck(L_7);
int32_t L_8 = Image_get_type_m949318765(L_7, /*hidden argument*/NULL);
if ((!(((uint32_t)L_8) == ((uint32_t)3))))
{
goto IL_005f;
}
}
{
Image_t2042527209 * L_9 = __this->get_m_FillImage_24();
NullCheck(L_9);
float L_10 = Image_get_fillAmount_m3354146540(L_9, /*hidden argument*/NULL);
V_0 = L_10;
goto IL_00a8;
}
IL_005f:
{
bool L_11 = Slider_get_reverseValue_m3146075392(__this, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_008e;
}
}
{
RectTransform_t3349966182 * L_12 = __this->get_m_FillRect_16();
NullCheck(L_12);
Vector2_t2243707579 L_13 = RectTransform_get_anchorMin_m1497323108(L_12, /*hidden argument*/NULL);
V_1 = L_13;
int32_t L_14 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
float L_15 = Vector2_get_Item_m2792130561((&V_1), L_14, /*hidden argument*/NULL);
G_B7_0 = ((float)((float)(1.0f)-(float)L_15));
goto IL_00a7;
}
IL_008e:
{
RectTransform_t3349966182 * L_16 = __this->get_m_FillRect_16();
NullCheck(L_16);
Vector2_t2243707579 L_17 = RectTransform_get_anchorMax_m3816015142(L_16, /*hidden argument*/NULL);
V_2 = L_17;
int32_t L_18 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
float L_19 = Vector2_get_Item_m2792130561((&V_2), L_18, /*hidden argument*/NULL);
G_B7_0 = L_19;
}
IL_00a7:
{
V_0 = G_B7_0;
}
IL_00a8:
{
goto IL_0109;
}
IL_00ae:
{
RectTransform_t3349966182 * L_20 = __this->get_m_HandleContainerRect_28();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_21 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_20, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_21)
{
goto IL_0109;
}
}
{
bool L_22 = Slider_get_reverseValue_m3146075392(__this, /*hidden argument*/NULL);
if (!L_22)
{
goto IL_00ee;
}
}
{
RectTransform_t3349966182 * L_23 = __this->get_m_HandleRect_17();
NullCheck(L_23);
Vector2_t2243707579 L_24 = RectTransform_get_anchorMin_m1497323108(L_23, /*hidden argument*/NULL);
V_3 = L_24;
int32_t L_25 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
float L_26 = Vector2_get_Item_m2792130561((&V_3), L_25, /*hidden argument*/NULL);
G_B13_0 = ((float)((float)(1.0f)-(float)L_26));
goto IL_0108;
}
IL_00ee:
{
RectTransform_t3349966182 * L_27 = __this->get_m_HandleRect_17();
NullCheck(L_27);
Vector2_t2243707579 L_28 = RectTransform_get_anchorMin_m1497323108(L_27, /*hidden argument*/NULL);
V_4 = L_28;
int32_t L_29 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
float L_30 = Vector2_get_Item_m2792130561((&V_4), L_29, /*hidden argument*/NULL);
G_B13_0 = L_30;
}
IL_0108:
{
V_0 = G_B13_0;
}
IL_0109:
{
Slider_UpdateVisuals_m1325504022(__this, /*hidden argument*/NULL);
float L_31 = V_0;
float L_32 = Slider_get_normalizedValue_m4164062921(__this, /*hidden argument*/NULL);
if ((((float)L_31) == ((float)L_32)))
{
goto IL_012c;
}
}
{
SliderEvent_t2111116400 * L_33 = Slider_get_onValueChanged_m4261003214(__this, /*hidden argument*/NULL);
float L_34 = __this->get_m_Value_22();
NullCheck(L_33);
UnityEvent_1_Invoke_m1298892870(L_33, L_34, /*hidden argument*/UnityEvent_1_Invoke_m1298892870_MethodInfo_var);
}
IL_012c:
{
return;
}
}
// System.Void UnityEngine.UI.Slider::UpdateCachedReferences()
extern "C" void Slider_UpdateCachedReferences_m3161887229 (Slider_t297367283 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_UpdateCachedReferences_m3161887229_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
RectTransform_t3349966182 * L_0 = __this->get_m_FillRect_16();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0066;
}
}
{
RectTransform_t3349966182 * L_2 = __this->get_m_FillRect_16();
NullCheck(L_2);
Transform_t3275118058 * L_3 = Component_get_transform_m2697483695(L_2, /*hidden argument*/NULL);
__this->set_m_FillTransform_25(L_3);
RectTransform_t3349966182 * L_4 = __this->get_m_FillRect_16();
NullCheck(L_4);
Image_t2042527209 * L_5 = Component_GetComponent_TisImage_t2042527209_m2189462422(L_4, /*hidden argument*/Component_GetComponent_TisImage_t2042527209_m2189462422_MethodInfo_var);
__this->set_m_FillImage_24(L_5);
Transform_t3275118058 * L_6 = __this->get_m_FillTransform_25();
NullCheck(L_6);
Transform_t3275118058 * L_7 = Transform_get_parent_m147407266(L_6, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_7, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0060;
}
}
{
Transform_t3275118058 * L_9 = __this->get_m_FillTransform_25();
NullCheck(L_9);
Transform_t3275118058 * L_10 = Transform_get_parent_m147407266(L_9, /*hidden argument*/NULL);
NullCheck(L_10);
RectTransform_t3349966182 * L_11 = Component_GetComponent_TisRectTransform_t3349966182_m1310250299(L_10, /*hidden argument*/Component_GetComponent_TisRectTransform_t3349966182_m1310250299_MethodInfo_var);
__this->set_m_FillContainerRect_26(L_11);
}
IL_0060:
{
goto IL_0076;
}
IL_0066:
{
__this->set_m_FillContainerRect_26((RectTransform_t3349966182 *)NULL);
__this->set_m_FillImage_24((Image_t2042527209 *)NULL);
}
IL_0076:
{
RectTransform_t3349966182 * L_12 = __this->get_m_HandleRect_17();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_13 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_12, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_00ca;
}
}
{
RectTransform_t3349966182 * L_14 = __this->get_m_HandleRect_17();
NullCheck(L_14);
Transform_t3275118058 * L_15 = Component_get_transform_m2697483695(L_14, /*hidden argument*/NULL);
__this->set_m_HandleTransform_27(L_15);
Transform_t3275118058 * L_16 = __this->get_m_HandleTransform_27();
NullCheck(L_16);
Transform_t3275118058 * L_17 = Transform_get_parent_m147407266(L_16, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_18 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_17, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_18)
{
goto IL_00c4;
}
}
{
Transform_t3275118058 * L_19 = __this->get_m_HandleTransform_27();
NullCheck(L_19);
Transform_t3275118058 * L_20 = Transform_get_parent_m147407266(L_19, /*hidden argument*/NULL);
NullCheck(L_20);
RectTransform_t3349966182 * L_21 = Component_GetComponent_TisRectTransform_t3349966182_m1310250299(L_20, /*hidden argument*/Component_GetComponent_TisRectTransform_t3349966182_m1310250299_MethodInfo_var);
__this->set_m_HandleContainerRect_28(L_21);
}
IL_00c4:
{
goto IL_00d3;
}
IL_00ca:
{
__this->set_m_HandleContainerRect_28((RectTransform_t3349966182 *)NULL);
}
IL_00d3:
{
return;
}
}
// System.Single UnityEngine.UI.Slider::ClampValue(System.Single)
extern "C" float Slider_ClampValue_m2851810895 (Slider_t297367283 * __this, float ___input0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_ClampValue_m2851810895_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
{
float L_0 = ___input0;
float L_1 = Slider_get_minValue_m749054492(__this, /*hidden argument*/NULL);
float L_2 = Slider_get_maxValue_m3319962262(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_3 = Mathf_Clamp_m2354025655(NULL /*static, unused*/, L_0, L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
bool L_4 = Slider_get_wholeNumbers_m4228975260(__this, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0026;
}
}
{
float L_5 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_6 = bankers_roundf(L_5);
V_0 = L_6;
}
IL_0026:
{
float L_7 = V_0;
V_1 = L_7;
goto IL_002d;
}
IL_002d:
{
float L_8 = V_1;
return L_8;
}
}
// System.Void UnityEngine.UI.Slider::Set(System.Single)
extern "C" void Slider_Set_m3835352751 (Slider_t297367283 * __this, float ___input0, const MethodInfo* method)
{
{
float L_0 = ___input0;
VirtActionInvoker2< float, bool >::Invoke(51 /* System.Void UnityEngine.UI.Slider::Set(System.Single,System.Boolean) */, __this, L_0, (bool)1);
return;
}
}
// System.Void UnityEngine.UI.Slider::Set(System.Single,System.Boolean)
extern "C" void Slider_Set_m2698239572 (Slider_t297367283 * __this, float ___input0, bool ___sendCallback1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_Set_m2698239572_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
float L_0 = ___input0;
float L_1 = Slider_ClampValue_m2851810895(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
float L_2 = __this->get_m_Value_22();
float L_3 = V_0;
if ((!(((float)L_2) == ((float)L_3))))
{
goto IL_001a;
}
}
{
goto IL_0039;
}
IL_001a:
{
float L_4 = V_0;
__this->set_m_Value_22(L_4);
Slider_UpdateVisuals_m1325504022(__this, /*hidden argument*/NULL);
bool L_5 = ___sendCallback1;
if (!L_5)
{
goto IL_0039;
}
}
{
SliderEvent_t2111116400 * L_6 = __this->get_m_OnValueChanged_23();
float L_7 = V_0;
NullCheck(L_6);
UnityEvent_1_Invoke_m1298892870(L_6, L_7, /*hidden argument*/UnityEvent_1_Invoke_m1298892870_MethodInfo_var);
}
IL_0039:
{
return;
}
}
// System.Void UnityEngine.UI.Slider::OnRectTransformDimensionsChange()
extern "C" void Slider_OnRectTransformDimensionsChange_m4109401172 (Slider_t297367283 * __this, const MethodInfo* method)
{
{
UIBehaviour_OnRectTransformDimensionsChange_m2743105076(__this, /*hidden argument*/NULL);
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_0)
{
goto IL_0017;
}
}
{
goto IL_001d;
}
IL_0017:
{
Slider_UpdateVisuals_m1325504022(__this, /*hidden argument*/NULL);
}
IL_001d:
{
return;
}
}
// UnityEngine.UI.Slider/Axis UnityEngine.UI.Slider::get_axis()
extern "C" int32_t Slider_get_axis_m162140813 (Slider_t297367283 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t G_B4_0 = 0;
{
int32_t L_0 = __this->get_m_Direction_18();
if (!L_0)
{
goto IL_0018;
}
}
{
int32_t L_1 = __this->get_m_Direction_18();
if ((!(((uint32_t)L_1) == ((uint32_t)1))))
{
goto IL_001e;
}
}
IL_0018:
{
G_B4_0 = 0;
goto IL_001f;
}
IL_001e:
{
G_B4_0 = 1;
}
IL_001f:
{
V_0 = G_B4_0;
goto IL_0025;
}
IL_0025:
{
int32_t L_2 = V_0;
return L_2;
}
}
// System.Boolean UnityEngine.UI.Slider::get_reverseValue()
extern "C" bool Slider_get_reverseValue_m3146075392 (Slider_t297367283 * __this, const MethodInfo* method)
{
bool V_0 = false;
int32_t G_B3_0 = 0;
{
int32_t L_0 = __this->get_m_Direction_18();
if ((((int32_t)L_0) == ((int32_t)1)))
{
goto IL_0018;
}
}
{
int32_t L_1 = __this->get_m_Direction_18();
G_B3_0 = ((((int32_t)L_1) == ((int32_t)3))? 1 : 0);
goto IL_0019;
}
IL_0018:
{
G_B3_0 = 1;
}
IL_0019:
{
V_0 = (bool)G_B3_0;
goto IL_001f;
}
IL_001f:
{
bool L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Slider::UpdateVisuals()
extern "C" void Slider_UpdateVisuals_m1325504022 (Slider_t297367283 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_UpdateVisuals_m1325504022_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
Vector2_t2243707579 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector2_t2243707579 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector2_t2243707579 V_3;
memset(&V_3, 0, sizeof(V_3));
float V_4 = 0.0f;
int32_t G_B12_0 = 0;
Vector2_t2243707579 * G_B12_1 = NULL;
int32_t G_B11_0 = 0;
Vector2_t2243707579 * G_B11_1 = NULL;
float G_B13_0 = 0.0f;
int32_t G_B13_1 = 0;
Vector2_t2243707579 * G_B13_2 = NULL;
{
DrivenRectTransformTracker_t154385424 * L_0 = __this->get_address_of_m_Tracker_30();
DrivenRectTransformTracker_Clear_m864483440(L_0, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_1 = __this->get_m_FillContainerRect_26();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_00d2;
}
}
{
DrivenRectTransformTracker_t154385424 * L_3 = __this->get_address_of_m_Tracker_30();
RectTransform_t3349966182 * L_4 = __this->get_m_FillRect_16();
DrivenRectTransformTracker_Add_m310530075(L_3, __this, L_4, ((int32_t)3840), /*hidden argument*/NULL);
Vector2_t2243707579 L_5 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_5;
Vector2_t2243707579 L_6 = Vector2_get_one_m3174311904(NULL /*static, unused*/, /*hidden argument*/NULL);
V_1 = L_6;
Image_t2042527209 * L_7 = __this->get_m_FillImage_24();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_7, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_007b;
}
}
{
Image_t2042527209 * L_9 = __this->get_m_FillImage_24();
NullCheck(L_9);
int32_t L_10 = Image_get_type_m949318765(L_9, /*hidden argument*/NULL);
if ((!(((uint32_t)L_10) == ((uint32_t)3))))
{
goto IL_007b;
}
}
{
Image_t2042527209 * L_11 = __this->get_m_FillImage_24();
float L_12 = Slider_get_normalizedValue_m4164062921(__this, /*hidden argument*/NULL);
NullCheck(L_11);
Image_set_fillAmount_m2220966753(L_11, L_12, /*hidden argument*/NULL);
goto IL_00b9;
}
IL_007b:
{
bool L_13 = Slider_get_reverseValue_m3146075392(__this, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_00a5;
}
}
{
int32_t L_14 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
float L_15 = Slider_get_normalizedValue_m4164062921(__this, /*hidden argument*/NULL);
Vector2_set_Item_m3881967114((&V_0), L_14, ((float)((float)(1.0f)-(float)L_15)), /*hidden argument*/NULL);
goto IL_00b8;
}
IL_00a5:
{
int32_t L_16 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
float L_17 = Slider_get_normalizedValue_m4164062921(__this, /*hidden argument*/NULL);
Vector2_set_Item_m3881967114((&V_1), L_16, L_17, /*hidden argument*/NULL);
}
IL_00b8:
{
}
IL_00b9:
{
RectTransform_t3349966182 * L_18 = __this->get_m_FillRect_16();
Vector2_t2243707579 L_19 = V_0;
NullCheck(L_18);
RectTransform_set_anchorMin_m4247668187(L_18, L_19, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_20 = __this->get_m_FillRect_16();
Vector2_t2243707579 L_21 = V_1;
NullCheck(L_20);
RectTransform_set_anchorMax_m2955899993(L_20, L_21, /*hidden argument*/NULL);
}
IL_00d2:
{
RectTransform_t3349966182 * L_22 = __this->get_m_HandleContainerRect_28();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_23 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_22, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_23)
{
goto IL_0162;
}
}
{
DrivenRectTransformTracker_t154385424 * L_24 = __this->get_address_of_m_Tracker_30();
RectTransform_t3349966182 * L_25 = __this->get_m_HandleRect_17();
DrivenRectTransformTracker_Add_m310530075(L_24, __this, L_25, ((int32_t)3840), /*hidden argument*/NULL);
Vector2_t2243707579 L_26 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
V_2 = L_26;
Vector2_t2243707579 L_27 = Vector2_get_one_m3174311904(NULL /*static, unused*/, /*hidden argument*/NULL);
V_3 = L_27;
int32_t L_28 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
bool L_29 = Slider_get_reverseValue_m3146075392(__this, /*hidden argument*/NULL);
G_B11_0 = L_28;
G_B11_1 = (&V_2);
if (!L_29)
{
G_B12_0 = L_28;
G_B12_1 = (&V_2);
goto IL_012b;
}
}
{
float L_30 = Slider_get_normalizedValue_m4164062921(__this, /*hidden argument*/NULL);
G_B13_0 = ((float)((float)(1.0f)-(float)L_30));
G_B13_1 = G_B11_0;
G_B13_2 = G_B11_1;
goto IL_0131;
}
IL_012b:
{
float L_31 = Slider_get_normalizedValue_m4164062921(__this, /*hidden argument*/NULL);
G_B13_0 = L_31;
G_B13_1 = G_B12_0;
G_B13_2 = G_B12_1;
}
IL_0131:
{
V_4 = G_B13_0;
int32_t L_32 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
float L_33 = V_4;
Vector2_set_Item_m3881967114((&V_3), L_32, L_33, /*hidden argument*/NULL);
float L_34 = V_4;
Vector2_set_Item_m3881967114(G_B13_2, G_B13_1, L_34, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_35 = __this->get_m_HandleRect_17();
Vector2_t2243707579 L_36 = V_2;
NullCheck(L_35);
RectTransform_set_anchorMin_m4247668187(L_35, L_36, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_37 = __this->get_m_HandleRect_17();
Vector2_t2243707579 L_38 = V_3;
NullCheck(L_37);
RectTransform_set_anchorMax_m2955899993(L_37, L_38, /*hidden argument*/NULL);
}
IL_0162:
{
return;
}
}
// System.Void UnityEngine.UI.Slider::UpdateDrag(UnityEngine.EventSystems.PointerEventData,UnityEngine.Camera)
extern "C" void Slider_UpdateDrag_m1963963631 (Slider_t297367283 * __this, PointerEventData_t1599784723 * ___eventData0, Camera_t189460977 * ___cam1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_UpdateDrag_m1963963631_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
RectTransform_t3349966182 * V_0 = NULL;
Rect_t3681755626 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector2_t2243707579 V_2;
memset(&V_2, 0, sizeof(V_2));
Vector2_t2243707579 V_3;
memset(&V_3, 0, sizeof(V_3));
Rect_t3681755626 V_4;
memset(&V_4, 0, sizeof(V_4));
float V_5 = 0.0f;
Vector2_t2243707579 V_6;
memset(&V_6, 0, sizeof(V_6));
Rect_t3681755626 V_7;
memset(&V_7, 0, sizeof(V_7));
Vector2_t2243707579 V_8;
memset(&V_8, 0, sizeof(V_8));
RectTransform_t3349966182 * G_B2_0 = NULL;
RectTransform_t3349966182 * G_B1_0 = NULL;
Slider_t297367283 * G_B8_0 = NULL;
Slider_t297367283 * G_B7_0 = NULL;
float G_B9_0 = 0.0f;
Slider_t297367283 * G_B9_1 = NULL;
{
RectTransform_t3349966182 * L_0 = __this->get_m_HandleContainerRect_28();
RectTransform_t3349966182 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_0014;
}
}
{
RectTransform_t3349966182 * L_2 = __this->get_m_FillContainerRect_26();
G_B2_0 = L_2;
}
IL_0014:
{
V_0 = G_B2_0;
RectTransform_t3349966182 * L_3 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_3, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_00d9;
}
}
{
RectTransform_t3349966182 * L_5 = V_0;
NullCheck(L_5);
Rect_t3681755626 L_6 = RectTransform_get_rect_m73954734(L_5, /*hidden argument*/NULL);
V_1 = L_6;
Vector2_t2243707579 L_7 = Rect_get_size_m3833121112((&V_1), /*hidden argument*/NULL);
V_2 = L_7;
int32_t L_8 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
float L_9 = Vector2_get_Item_m2792130561((&V_2), L_8, /*hidden argument*/NULL);
if ((!(((float)L_9) > ((float)(0.0f)))))
{
goto IL_00d9;
}
}
{
RectTransform_t3349966182 * L_10 = V_0;
PointerEventData_t1599784723 * L_11 = ___eventData0;
NullCheck(L_11);
Vector2_t2243707579 L_12 = PointerEventData_get_position_m2131765015(L_11, /*hidden argument*/NULL);
Camera_t189460977 * L_13 = ___cam1;
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
bool L_14 = RectTransformUtility_ScreenPointToLocalPointInRectangle_m2398565080(NULL /*static, unused*/, L_10, L_12, L_13, (&V_3), /*hidden argument*/NULL);
if (L_14)
{
goto IL_0061;
}
}
{
goto IL_00d9;
}
IL_0061:
{
Vector2_t2243707579 L_15 = V_3;
RectTransform_t3349966182 * L_16 = V_0;
NullCheck(L_16);
Rect_t3681755626 L_17 = RectTransform_get_rect_m73954734(L_16, /*hidden argument*/NULL);
V_4 = L_17;
Vector2_t2243707579 L_18 = Rect_get_position_m24550734((&V_4), /*hidden argument*/NULL);
Vector2_t2243707579 L_19 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_15, L_18, /*hidden argument*/NULL);
V_3 = L_19;
Vector2_t2243707579 L_20 = V_3;
Vector2_t2243707579 L_21 = __this->get_m_Offset_29();
Vector2_t2243707579 L_22 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_20, L_21, /*hidden argument*/NULL);
V_6 = L_22;
int32_t L_23 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
float L_24 = Vector2_get_Item_m2792130561((&V_6), L_23, /*hidden argument*/NULL);
RectTransform_t3349966182 * L_25 = V_0;
NullCheck(L_25);
Rect_t3681755626 L_26 = RectTransform_get_rect_m73954734(L_25, /*hidden argument*/NULL);
V_7 = L_26;
Vector2_t2243707579 L_27 = Rect_get_size_m3833121112((&V_7), /*hidden argument*/NULL);
V_8 = L_27;
int32_t L_28 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
float L_29 = Vector2_get_Item_m2792130561((&V_8), L_28, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
float L_30 = Mathf_Clamp01_m3888954684(NULL /*static, unused*/, ((float)((float)L_24/(float)L_29)), /*hidden argument*/NULL);
V_5 = L_30;
bool L_31 = Slider_get_reverseValue_m3146075392(__this, /*hidden argument*/NULL);
G_B7_0 = __this;
if (!L_31)
{
G_B8_0 = __this;
goto IL_00d1;
}
}
{
float L_32 = V_5;
G_B9_0 = ((float)((float)(1.0f)-(float)L_32));
G_B9_1 = G_B7_0;
goto IL_00d3;
}
IL_00d1:
{
float L_33 = V_5;
G_B9_0 = L_33;
G_B9_1 = G_B8_0;
}
IL_00d3:
{
NullCheck(G_B9_1);
Slider_set_normalizedValue_m3093868078(G_B9_1, G_B9_0, /*hidden argument*/NULL);
}
IL_00d9:
{
return;
}
}
// System.Boolean UnityEngine.UI.Slider::MayDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" bool Slider_MayDrag_m102620117 (Slider_t297367283 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
bool V_0 = false;
int32_t G_B4_0 = 0;
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_0)
{
goto IL_0022;
}
}
{
bool L_1 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this);
if (!L_1)
{
goto IL_0022;
}
}
{
PointerEventData_t1599784723 * L_2 = ___eventData0;
NullCheck(L_2);
int32_t L_3 = PointerEventData_get_button_m2339189303(L_2, /*hidden argument*/NULL);
G_B4_0 = ((((int32_t)L_3) == ((int32_t)0))? 1 : 0);
goto IL_0023;
}
IL_0022:
{
G_B4_0 = 0;
}
IL_0023:
{
V_0 = (bool)G_B4_0;
goto IL_0029;
}
IL_0029:
{
bool L_4 = V_0;
return L_4;
}
}
// System.Void UnityEngine.UI.Slider::OnPointerDown(UnityEngine.EventSystems.PointerEventData)
extern "C" void Slider_OnPointerDown_m753374106 (Slider_t297367283 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_OnPointerDown_m753374106_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
bool L_1 = Slider_MayDrag_m102620117(__this, L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0012;
}
}
{
goto IL_008c;
}
IL_0012:
{
PointerEventData_t1599784723 * L_2 = ___eventData0;
Selectable_OnPointerDown_m3110480835(__this, L_2, /*hidden argument*/NULL);
Vector2_t2243707579 L_3 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_Offset_29(L_3);
RectTransform_t3349966182 * L_4 = __this->get_m_HandleContainerRect_28();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_5 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_4, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_007d;
}
}
{
RectTransform_t3349966182 * L_6 = __this->get_m_HandleRect_17();
PointerEventData_t1599784723 * L_7 = ___eventData0;
NullCheck(L_7);
Vector2_t2243707579 L_8 = PointerEventData_get_position_m2131765015(L_7, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_9 = ___eventData0;
NullCheck(L_9);
Camera_t189460977 * L_10 = PointerEventData_get_enterEventCamera_m1539996745(L_9, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
bool L_11 = RectTransformUtility_RectangleContainsScreenPoint_m1244853728(NULL /*static, unused*/, L_6, L_8, L_10, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_007d;
}
}
{
RectTransform_t3349966182 * L_12 = __this->get_m_HandleRect_17();
PointerEventData_t1599784723 * L_13 = ___eventData0;
NullCheck(L_13);
Vector2_t2243707579 L_14 = PointerEventData_get_position_m2131765015(L_13, /*hidden argument*/NULL);
PointerEventData_t1599784723 * L_15 = ___eventData0;
NullCheck(L_15);
Camera_t189460977 * L_16 = PointerEventData_get_pressEventCamera_m724559964(L_15, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
bool L_17 = RectTransformUtility_ScreenPointToLocalPointInRectangle_m2398565080(NULL /*static, unused*/, L_12, L_14, L_16, (&V_0), /*hidden argument*/NULL);
if (!L_17)
{
goto IL_0077;
}
}
{
Vector2_t2243707579 L_18 = V_0;
__this->set_m_Offset_29(L_18);
}
IL_0077:
{
goto IL_008c;
}
IL_007d:
{
PointerEventData_t1599784723 * L_19 = ___eventData0;
PointerEventData_t1599784723 * L_20 = ___eventData0;
NullCheck(L_20);
Camera_t189460977 * L_21 = PointerEventData_get_pressEventCamera_m724559964(L_20, /*hidden argument*/NULL);
Slider_UpdateDrag_m1963963631(__this, L_19, L_21, /*hidden argument*/NULL);
}
IL_008c:
{
return;
}
}
// System.Void UnityEngine.UI.Slider::OnDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" void Slider_OnDrag_m626220953 (Slider_t297367283 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
bool L_1 = Slider_MayDrag_m102620117(__this, L_0, /*hidden argument*/NULL);
if (L_1)
{
goto IL_0012;
}
}
{
goto IL_001f;
}
IL_0012:
{
PointerEventData_t1599784723 * L_2 = ___eventData0;
PointerEventData_t1599784723 * L_3 = ___eventData0;
NullCheck(L_3);
Camera_t189460977 * L_4 = PointerEventData_get_pressEventCamera_m724559964(L_3, /*hidden argument*/NULL);
Slider_UpdateDrag_m1963963631(__this, L_2, L_4, /*hidden argument*/NULL);
}
IL_001f:
{
return;
}
}
// System.Void UnityEngine.UI.Slider::OnMove(UnityEngine.EventSystems.AxisEventData)
extern "C" void Slider_OnMove_m641164662 (Slider_t297367283 * __this, AxisEventData_t1524870173 * ___eventData0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_OnMove_m641164662_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Slider_t297367283 * G_B9_0 = NULL;
Slider_t297367283 * G_B8_0 = NULL;
float G_B10_0 = 0.0f;
Slider_t297367283 * G_B10_1 = NULL;
Slider_t297367283 * G_B17_0 = NULL;
Slider_t297367283 * G_B16_0 = NULL;
float G_B18_0 = 0.0f;
Slider_t297367283 * G_B18_1 = NULL;
Slider_t297367283 * G_B25_0 = NULL;
Slider_t297367283 * G_B24_0 = NULL;
float G_B26_0 = 0.0f;
Slider_t297367283 * G_B26_1 = NULL;
Slider_t297367283 * G_B33_0 = NULL;
Slider_t297367283 * G_B32_0 = NULL;
float G_B34_0 = 0.0f;
Slider_t297367283 * G_B34_1 = NULL;
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_0)
{
goto IL_0017;
}
}
{
bool L_1 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this);
if (L_1)
{
goto IL_0024;
}
}
IL_0017:
{
AxisEventData_t1524870173 * L_2 = ___eventData0;
Selectable_OnMove_m2019752219(__this, L_2, /*hidden argument*/NULL);
goto IL_01bc;
}
IL_0024:
{
AxisEventData_t1524870173 * L_3 = ___eventData0;
NullCheck(L_3);
int32_t L_4 = AxisEventData_get_moveDir_m3968662359(L_3, /*hidden argument*/NULL);
V_0 = L_4;
int32_t L_5 = V_0;
switch (L_5)
{
case 0:
{
goto IL_0046;
}
case 1:
{
goto IL_0100;
}
case 2:
{
goto IL_00a3;
}
case 3:
{
goto IL_015e;
}
}
}
{
goto IL_01bc;
}
IL_0046:
{
int32_t L_6 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0097;
}
}
{
Selectable_t1490392188 * L_7 = VirtFuncInvoker0< Selectable_t1490392188 * >::Invoke(27 /* UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnLeft() */, __this);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_7, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0097;
}
}
{
bool L_9 = Slider_get_reverseValue_m3146075392(__this, /*hidden argument*/NULL);
G_B8_0 = __this;
if (!L_9)
{
G_B9_0 = __this;
goto IL_0080;
}
}
{
float L_10 = VirtFuncInvoker0< float >::Invoke(46 /* System.Single UnityEngine.UI.Slider::get_value() */, __this);
float L_11 = Slider_get_stepSize_m195019090(__this, /*hidden argument*/NULL);
G_B10_0 = ((float)((float)L_10+(float)L_11));
G_B10_1 = G_B8_0;
goto IL_008d;
}
IL_0080:
{
float L_12 = VirtFuncInvoker0< float >::Invoke(46 /* System.Single UnityEngine.UI.Slider::get_value() */, __this);
float L_13 = Slider_get_stepSize_m195019090(__this, /*hidden argument*/NULL);
G_B10_0 = ((float)((float)L_12-(float)L_13));
G_B10_1 = G_B9_0;
}
IL_008d:
{
NullCheck(G_B10_1);
Slider_Set_m3835352751(G_B10_1, G_B10_0, /*hidden argument*/NULL);
goto IL_009e;
}
IL_0097:
{
AxisEventData_t1524870173 * L_14 = ___eventData0;
Selectable_OnMove_m2019752219(__this, L_14, /*hidden argument*/NULL);
}
IL_009e:
{
goto IL_01bc;
}
IL_00a3:
{
int32_t L_15 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
if (L_15)
{
goto IL_00f4;
}
}
{
Selectable_t1490392188 * L_16 = VirtFuncInvoker0< Selectable_t1490392188 * >::Invoke(28 /* UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnRight() */, __this);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_17 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_16, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_17)
{
goto IL_00f4;
}
}
{
bool L_18 = Slider_get_reverseValue_m3146075392(__this, /*hidden argument*/NULL);
G_B16_0 = __this;
if (!L_18)
{
G_B17_0 = __this;
goto IL_00dd;
}
}
{
float L_19 = VirtFuncInvoker0< float >::Invoke(46 /* System.Single UnityEngine.UI.Slider::get_value() */, __this);
float L_20 = Slider_get_stepSize_m195019090(__this, /*hidden argument*/NULL);
G_B18_0 = ((float)((float)L_19-(float)L_20));
G_B18_1 = G_B16_0;
goto IL_00ea;
}
IL_00dd:
{
float L_21 = VirtFuncInvoker0< float >::Invoke(46 /* System.Single UnityEngine.UI.Slider::get_value() */, __this);
float L_22 = Slider_get_stepSize_m195019090(__this, /*hidden argument*/NULL);
G_B18_0 = ((float)((float)L_21+(float)L_22));
G_B18_1 = G_B17_0;
}
IL_00ea:
{
NullCheck(G_B18_1);
Slider_Set_m3835352751(G_B18_1, G_B18_0, /*hidden argument*/NULL);
goto IL_00fb;
}
IL_00f4:
{
AxisEventData_t1524870173 * L_23 = ___eventData0;
Selectable_OnMove_m2019752219(__this, L_23, /*hidden argument*/NULL);
}
IL_00fb:
{
goto IL_01bc;
}
IL_0100:
{
int32_t L_24 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_24) == ((uint32_t)1))))
{
goto IL_0152;
}
}
{
Selectable_t1490392188 * L_25 = VirtFuncInvoker0< Selectable_t1490392188 * >::Invoke(29 /* UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnUp() */, __this);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_26 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_25, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_26)
{
goto IL_0152;
}
}
{
bool L_27 = Slider_get_reverseValue_m3146075392(__this, /*hidden argument*/NULL);
G_B24_0 = __this;
if (!L_27)
{
G_B25_0 = __this;
goto IL_013b;
}
}
{
float L_28 = VirtFuncInvoker0< float >::Invoke(46 /* System.Single UnityEngine.UI.Slider::get_value() */, __this);
float L_29 = Slider_get_stepSize_m195019090(__this, /*hidden argument*/NULL);
G_B26_0 = ((float)((float)L_28-(float)L_29));
G_B26_1 = G_B24_0;
goto IL_0148;
}
IL_013b:
{
float L_30 = VirtFuncInvoker0< float >::Invoke(46 /* System.Single UnityEngine.UI.Slider::get_value() */, __this);
float L_31 = Slider_get_stepSize_m195019090(__this, /*hidden argument*/NULL);
G_B26_0 = ((float)((float)L_30+(float)L_31));
G_B26_1 = G_B25_0;
}
IL_0148:
{
NullCheck(G_B26_1);
Slider_Set_m3835352751(G_B26_1, G_B26_0, /*hidden argument*/NULL);
goto IL_0159;
}
IL_0152:
{
AxisEventData_t1524870173 * L_32 = ___eventData0;
Selectable_OnMove_m2019752219(__this, L_32, /*hidden argument*/NULL);
}
IL_0159:
{
goto IL_01bc;
}
IL_015e:
{
int32_t L_33 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_33) == ((uint32_t)1))))
{
goto IL_01b0;
}
}
{
Selectable_t1490392188 * L_34 = VirtFuncInvoker0< Selectable_t1490392188 * >::Invoke(30 /* UnityEngine.UI.Selectable UnityEngine.UI.Selectable::FindSelectableOnDown() */, __this);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_35 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_34, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_35)
{
goto IL_01b0;
}
}
{
bool L_36 = Slider_get_reverseValue_m3146075392(__this, /*hidden argument*/NULL);
G_B32_0 = __this;
if (!L_36)
{
G_B33_0 = __this;
goto IL_0199;
}
}
{
float L_37 = VirtFuncInvoker0< float >::Invoke(46 /* System.Single UnityEngine.UI.Slider::get_value() */, __this);
float L_38 = Slider_get_stepSize_m195019090(__this, /*hidden argument*/NULL);
G_B34_0 = ((float)((float)L_37+(float)L_38));
G_B34_1 = G_B32_0;
goto IL_01a6;
}
IL_0199:
{
float L_39 = VirtFuncInvoker0< float >::Invoke(46 /* System.Single UnityEngine.UI.Slider::get_value() */, __this);
float L_40 = Slider_get_stepSize_m195019090(__this, /*hidden argument*/NULL);
G_B34_0 = ((float)((float)L_39-(float)L_40));
G_B34_1 = G_B33_0;
}
IL_01a6:
{
NullCheck(G_B34_1);
Slider_Set_m3835352751(G_B34_1, G_B34_0, /*hidden argument*/NULL);
goto IL_01b7;
}
IL_01b0:
{
AxisEventData_t1524870173 * L_41 = ___eventData0;
Selectable_OnMove_m2019752219(__this, L_41, /*hidden argument*/NULL);
}
IL_01b7:
{
goto IL_01bc;
}
IL_01bc:
{
return;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Slider::FindSelectableOnLeft()
extern "C" Selectable_t1490392188 * Slider_FindSelectableOnLeft_m3136767885 (Slider_t297367283 * __this, const MethodInfo* method)
{
Navigation_t1571958496 V_0;
memset(&V_0, 0, sizeof(V_0));
Selectable_t1490392188 * V_1 = NULL;
{
Navigation_t1571958496 L_0 = Selectable_get_navigation_m200542616(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = Navigation_get_mode_m1837991501((&V_0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)3))))
{
goto IL_0027;
}
}
{
int32_t L_2 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0027;
}
}
{
V_1 = (Selectable_t1490392188 *)NULL;
goto IL_0033;
}
IL_0027:
{
Selectable_t1490392188 * L_3 = Selectable_FindSelectableOnLeft_m3706572906(__this, /*hidden argument*/NULL);
V_1 = L_3;
goto IL_0033;
}
IL_0033:
{
Selectable_t1490392188 * L_4 = V_1;
return L_4;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Slider::FindSelectableOnRight()
extern "C" Selectable_t1490392188 * Slider_FindSelectableOnRight_m3896773838 (Slider_t297367283 * __this, const MethodInfo* method)
{
Navigation_t1571958496 V_0;
memset(&V_0, 0, sizeof(V_0));
Selectable_t1490392188 * V_1 = NULL;
{
Navigation_t1571958496 L_0 = Selectable_get_navigation_m200542616(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = Navigation_get_mode_m1837991501((&V_0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)3))))
{
goto IL_0027;
}
}
{
int32_t L_2 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
if (L_2)
{
goto IL_0027;
}
}
{
V_1 = (Selectable_t1490392188 *)NULL;
goto IL_0033;
}
IL_0027:
{
Selectable_t1490392188 * L_3 = Selectable_FindSelectableOnRight_m1439791817(__this, /*hidden argument*/NULL);
V_1 = L_3;
goto IL_0033;
}
IL_0033:
{
Selectable_t1490392188 * L_4 = V_1;
return L_4;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Slider::FindSelectableOnUp()
extern "C" Selectable_t1490392188 * Slider_FindSelectableOnUp_m15474611 (Slider_t297367283 * __this, const MethodInfo* method)
{
Navigation_t1571958496 V_0;
memset(&V_0, 0, sizeof(V_0));
Selectable_t1490392188 * V_1 = NULL;
{
Navigation_t1571958496 L_0 = Selectable_get_navigation_m200542616(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = Navigation_get_mode_m1837991501((&V_0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)3))))
{
goto IL_0028;
}
}
{
int32_t L_2 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_2) == ((uint32_t)1))))
{
goto IL_0028;
}
}
{
V_1 = (Selectable_t1490392188 *)NULL;
goto IL_0034;
}
IL_0028:
{
Selectable_t1490392188 * L_3 = Selectable_FindSelectableOnUp_m1852383750(__this, /*hidden argument*/NULL);
V_1 = L_3;
goto IL_0034;
}
IL_0034:
{
Selectable_t1490392188 * L_4 = V_1;
return L_4;
}
}
// UnityEngine.UI.Selectable UnityEngine.UI.Slider::FindSelectableOnDown()
extern "C" Selectable_t1490392188 * Slider_FindSelectableOnDown_m4061980806 (Slider_t297367283 * __this, const MethodInfo* method)
{
Navigation_t1571958496 V_0;
memset(&V_0, 0, sizeof(V_0));
Selectable_t1490392188 * V_1 = NULL;
{
Navigation_t1571958496 L_0 = Selectable_get_navigation_m200542616(__this, /*hidden argument*/NULL);
V_0 = L_0;
int32_t L_1 = Navigation_get_mode_m1837991501((&V_0), /*hidden argument*/NULL);
if ((!(((uint32_t)L_1) == ((uint32_t)3))))
{
goto IL_0028;
}
}
{
int32_t L_2 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
if ((!(((uint32_t)L_2) == ((uint32_t)1))))
{
goto IL_0028;
}
}
{
V_1 = (Selectable_t1490392188 *)NULL;
goto IL_0034;
}
IL_0028:
{
Selectable_t1490392188 * L_3 = Selectable_FindSelectableOnDown_m3892524915(__this, /*hidden argument*/NULL);
V_1 = L_3;
goto IL_0034;
}
IL_0034:
{
Selectable_t1490392188 * L_4 = V_1;
return L_4;
}
}
// System.Void UnityEngine.UI.Slider::OnInitializePotentialDrag(UnityEngine.EventSystems.PointerEventData)
extern "C" void Slider_OnInitializePotentialDrag_m3681330709 (Slider_t297367283 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
NullCheck(L_0);
PointerEventData_set_useDragThreshold_m2778439880(L_0, (bool)0, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Slider::SetDirection(UnityEngine.UI.Slider/Direction,System.Boolean)
extern "C" void Slider_SetDirection_m2177048756 (Slider_t297367283 * __this, int32_t ___direction0, bool ___includeRectLayouts1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Slider_SetDirection_m2177048756_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
bool V_1 = false;
{
int32_t L_0 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
V_0 = L_0;
bool L_1 = Slider_get_reverseValue_m3146075392(__this, /*hidden argument*/NULL);
V_1 = L_1;
int32_t L_2 = ___direction0;
Slider_set_direction_m612975266(__this, L_2, /*hidden argument*/NULL);
bool L_3 = ___includeRectLayouts1;
if (L_3)
{
goto IL_0021;
}
}
{
goto IL_0063;
}
IL_0021:
{
int32_t L_4 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
int32_t L_5 = V_0;
if ((((int32_t)L_4) == ((int32_t)L_5)))
{
goto IL_003f;
}
}
{
Transform_t3275118058 * L_6 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
RectTransformUtility_FlipLayoutAxes_m532748168(NULL /*static, unused*/, ((RectTransform_t3349966182 *)IsInstSealed(L_6, RectTransform_t3349966182_il2cpp_TypeInfo_var)), (bool)1, (bool)1, /*hidden argument*/NULL);
}
IL_003f:
{
bool L_7 = Slider_get_reverseValue_m3146075392(__this, /*hidden argument*/NULL);
bool L_8 = V_1;
if ((((int32_t)L_7) == ((int32_t)L_8)))
{
goto IL_0063;
}
}
{
Transform_t3275118058 * L_9 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
int32_t L_10 = Slider_get_axis_m162140813(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(RectTransformUtility_t2941082270_il2cpp_TypeInfo_var);
RectTransformUtility_FlipLayoutOnAxis_m3920364518(NULL /*static, unused*/, ((RectTransform_t3349966182 *)IsInstSealed(L_9, RectTransform_t3349966182_il2cpp_TypeInfo_var)), L_10, (bool)1, (bool)1, /*hidden argument*/NULL);
}
IL_0063:
{
return;
}
}
// UnityEngine.Transform UnityEngine.UI.Slider::UnityEngine.UI.ICanvasElement.get_transform()
extern "C" Transform_t3275118058 * Slider_UnityEngine_UI_ICanvasElement_get_transform_m413816645 (Slider_t297367283 * __this, const MethodInfo* method)
{
{
Transform_t3275118058 * L_0 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Void UnityEngine.UI.Slider/SliderEvent::.ctor()
extern "C" void SliderEvent__ctor_m262797720 (SliderEvent_t2111116400 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SliderEvent__ctor_m262797720_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m29611311(__this, /*hidden argument*/UnityEvent_1__ctor_m29611311_MethodInfo_var);
return;
}
}
// Conversion methods for marshalling of: UnityEngine.UI.SpriteState
extern "C" void SpriteState_t1353336012_marshal_pinvoke(const SpriteState_t1353336012& unmarshaled, SpriteState_t1353336012_marshaled_pinvoke& marshaled)
{
Il2CppCodeGenException* ___m_HighlightedSprite_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_HighlightedSprite' of type 'SpriteState': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_HighlightedSprite_0Exception);
}
extern "C" void SpriteState_t1353336012_marshal_pinvoke_back(const SpriteState_t1353336012_marshaled_pinvoke& marshaled, SpriteState_t1353336012& unmarshaled)
{
Il2CppCodeGenException* ___m_HighlightedSprite_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_HighlightedSprite' of type 'SpriteState': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_HighlightedSprite_0Exception);
}
// Conversion method for clean up from marshalling of: UnityEngine.UI.SpriteState
extern "C" void SpriteState_t1353336012_marshal_pinvoke_cleanup(SpriteState_t1353336012_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: UnityEngine.UI.SpriteState
extern "C" void SpriteState_t1353336012_marshal_com(const SpriteState_t1353336012& unmarshaled, SpriteState_t1353336012_marshaled_com& marshaled)
{
Il2CppCodeGenException* ___m_HighlightedSprite_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_HighlightedSprite' of type 'SpriteState': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_HighlightedSprite_0Exception);
}
extern "C" void SpriteState_t1353336012_marshal_com_back(const SpriteState_t1353336012_marshaled_com& marshaled, SpriteState_t1353336012& unmarshaled)
{
Il2CppCodeGenException* ___m_HighlightedSprite_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'm_HighlightedSprite' of type 'SpriteState': Reference type field marshaling is not supported.");
IL2CPP_RAISE_MANAGED_EXCEPTION(___m_HighlightedSprite_0Exception);
}
// Conversion method for clean up from marshalling of: UnityEngine.UI.SpriteState
extern "C" void SpriteState_t1353336012_marshal_com_cleanup(SpriteState_t1353336012_marshaled_com& marshaled)
{
}
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_highlightedSprite()
extern "C" Sprite_t309593783 * SpriteState_get_highlightedSprite_m3684401887 (SpriteState_t1353336012 * __this, const MethodInfo* method)
{
Sprite_t309593783 * V_0 = NULL;
{
Sprite_t309593783 * L_0 = __this->get_m_HighlightedSprite_0();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Sprite_t309593783 * L_1 = V_0;
return L_1;
}
}
extern "C" Sprite_t309593783 * SpriteState_get_highlightedSprite_m3684401887_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
SpriteState_t1353336012 * _thisAdjusted = reinterpret_cast<SpriteState_t1353336012 *>(__this + 1);
return SpriteState_get_highlightedSprite_m3684401887(_thisAdjusted, method);
}
// System.Void UnityEngine.UI.SpriteState::set_highlightedSprite(UnityEngine.Sprite)
extern "C" void SpriteState_set_highlightedSprite_m3403972788 (SpriteState_t1353336012 * __this, Sprite_t309593783 * ___value0, const MethodInfo* method)
{
{
Sprite_t309593783 * L_0 = ___value0;
__this->set_m_HighlightedSprite_0(L_0);
return;
}
}
extern "C" void SpriteState_set_highlightedSprite_m3403972788_AdjustorThunk (Il2CppObject * __this, Sprite_t309593783 * ___value0, const MethodInfo* method)
{
SpriteState_t1353336012 * _thisAdjusted = reinterpret_cast<SpriteState_t1353336012 *>(__this + 1);
SpriteState_set_highlightedSprite_m3403972788(_thisAdjusted, ___value0, method);
}
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_pressedSprite()
extern "C" Sprite_t309593783 * SpriteState_get_pressedSprite_m1768273732 (SpriteState_t1353336012 * __this, const MethodInfo* method)
{
Sprite_t309593783 * V_0 = NULL;
{
Sprite_t309593783 * L_0 = __this->get_m_PressedSprite_1();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Sprite_t309593783 * L_1 = V_0;
return L_1;
}
}
extern "C" Sprite_t309593783 * SpriteState_get_pressedSprite_m1768273732_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
SpriteState_t1353336012 * _thisAdjusted = reinterpret_cast<SpriteState_t1353336012 *>(__this + 1);
return SpriteState_get_pressedSprite_m1768273732(_thisAdjusted, method);
}
// System.Void UnityEngine.UI.SpriteState::set_pressedSprite(UnityEngine.Sprite)
extern "C" void SpriteState_set_pressedSprite_m1310514895 (SpriteState_t1353336012 * __this, Sprite_t309593783 * ___value0, const MethodInfo* method)
{
{
Sprite_t309593783 * L_0 = ___value0;
__this->set_m_PressedSprite_1(L_0);
return;
}
}
extern "C" void SpriteState_set_pressedSprite_m1310514895_AdjustorThunk (Il2CppObject * __this, Sprite_t309593783 * ___value0, const MethodInfo* method)
{
SpriteState_t1353336012 * _thisAdjusted = reinterpret_cast<SpriteState_t1353336012 *>(__this + 1);
SpriteState_set_pressedSprite_m1310514895(_thisAdjusted, ___value0, method);
}
// UnityEngine.Sprite UnityEngine.UI.SpriteState::get_disabledSprite()
extern "C" Sprite_t309593783 * SpriteState_get_disabledSprite_m4278459634 (SpriteState_t1353336012 * __this, const MethodInfo* method)
{
Sprite_t309593783 * V_0 = NULL;
{
Sprite_t309593783 * L_0 = __this->get_m_DisabledSprite_2();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
Sprite_t309593783 * L_1 = V_0;
return L_1;
}
}
extern "C" Sprite_t309593783 * SpriteState_get_disabledSprite_m4278459634_AdjustorThunk (Il2CppObject * __this, const MethodInfo* method)
{
SpriteState_t1353336012 * _thisAdjusted = reinterpret_cast<SpriteState_t1353336012 *>(__this + 1);
return SpriteState_get_disabledSprite_m4278459634(_thisAdjusted, method);
}
// System.Void UnityEngine.UI.SpriteState::set_disabledSprite(UnityEngine.Sprite)
extern "C" void SpriteState_set_disabledSprite_m2014046153 (SpriteState_t1353336012 * __this, Sprite_t309593783 * ___value0, const MethodInfo* method)
{
{
Sprite_t309593783 * L_0 = ___value0;
__this->set_m_DisabledSprite_2(L_0);
return;
}
}
extern "C" void SpriteState_set_disabledSprite_m2014046153_AdjustorThunk (Il2CppObject * __this, Sprite_t309593783 * ___value0, const MethodInfo* method)
{
SpriteState_t1353336012 * _thisAdjusted = reinterpret_cast<SpriteState_t1353336012 *>(__this + 1);
SpriteState_set_disabledSprite_m2014046153(_thisAdjusted, ___value0, method);
}
// System.Boolean UnityEngine.UI.SpriteState::Equals(UnityEngine.UI.SpriteState)
extern "C" bool SpriteState_Equals_m3820547775 (SpriteState_t1353336012 * __this, SpriteState_t1353336012 ___other0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (SpriteState_Equals_m3820547775_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t G_B4_0 = 0;
{
Sprite_t309593783 * L_0 = SpriteState_get_highlightedSprite_m3684401887(__this, /*hidden argument*/NULL);
Sprite_t309593783 * L_1 = SpriteState_get_highlightedSprite_m3684401887((&___other0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0043;
}
}
{
Sprite_t309593783 * L_3 = SpriteState_get_pressedSprite_m1768273732(__this, /*hidden argument*/NULL);
Sprite_t309593783 * L_4 = SpriteState_get_pressedSprite_m1768273732((&___other0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_5 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_0043;
}
}
{
Sprite_t309593783 * L_6 = SpriteState_get_disabledSprite_m4278459634(__this, /*hidden argument*/NULL);
Sprite_t309593783 * L_7 = SpriteState_get_disabledSprite_m4278459634((&___other0), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL);
G_B4_0 = ((int32_t)(L_8));
goto IL_0044;
}
IL_0043:
{
G_B4_0 = 0;
}
IL_0044:
{
V_0 = (bool)G_B4_0;
goto IL_004a;
}
IL_004a:
{
bool L_9 = V_0;
return L_9;
}
}
extern "C" bool SpriteState_Equals_m3820547775_AdjustorThunk (Il2CppObject * __this, SpriteState_t1353336012 ___other0, const MethodInfo* method)
{
SpriteState_t1353336012 * _thisAdjusted = reinterpret_cast<SpriteState_t1353336012 *>(__this + 1);
return SpriteState_Equals_m3820547775(_thisAdjusted, ___other0, method);
}
// UnityEngine.Material UnityEngine.UI.StencilMaterial::Add(UnityEngine.Material,System.Int32)
extern "C" Material_t193706927 * StencilMaterial_Add_m1745413071 (Il2CppObject * __this /* static, unused */, Material_t193706927 * ___baseMat0, int32_t ___stencilID1, const MethodInfo* method)
{
Material_t193706927 * V_0 = NULL;
{
V_0 = (Material_t193706927 *)NULL;
goto IL_0008;
}
IL_0008:
{
Material_t193706927 * L_0 = V_0;
return L_0;
}
}
// UnityEngine.Material UnityEngine.UI.StencilMaterial::Add(UnityEngine.Material,System.Int32,UnityEngine.Rendering.StencilOp,UnityEngine.Rendering.CompareFunction,UnityEngine.Rendering.ColorWriteMask)
extern "C" Material_t193706927 * StencilMaterial_Add_m2540251346 (Il2CppObject * __this /* static, unused */, Material_t193706927 * ___baseMat0, int32_t ___stencilID1, int32_t ___operation2, int32_t ___compareFunction3, int32_t ___colorWriteMask4, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StencilMaterial_Add_m2540251346_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Material_t193706927 * V_0 = NULL;
{
Material_t193706927 * L_0 = ___baseMat0;
int32_t L_1 = ___stencilID1;
int32_t L_2 = ___operation2;
int32_t L_3 = ___compareFunction3;
int32_t L_4 = ___colorWriteMask4;
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
Material_t193706927 * L_5 = StencilMaterial_Add_m3307959964(NULL /*static, unused*/, L_0, L_1, L_2, L_3, L_4, ((int32_t)255), ((int32_t)255), /*hidden argument*/NULL);
V_0 = L_5;
goto IL_001c;
}
IL_001c:
{
Material_t193706927 * L_6 = V_0;
return L_6;
}
}
// UnityEngine.Material UnityEngine.UI.StencilMaterial::Add(UnityEngine.Material,System.Int32,UnityEngine.Rendering.StencilOp,UnityEngine.Rendering.CompareFunction,UnityEngine.Rendering.ColorWriteMask,System.Int32,System.Int32)
extern "C" Material_t193706927 * StencilMaterial_Add_m3307959964 (Il2CppObject * __this /* static, unused */, Material_t193706927 * ___baseMat0, int32_t ___stencilID1, int32_t ___operation2, int32_t ___compareFunction3, int32_t ___colorWriteMask4, int32_t ___readMask5, int32_t ___writeMask6, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StencilMaterial_Add_m3307959964_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Material_t193706927 * V_0 = NULL;
int32_t V_1 = 0;
MatEntry_t3157325053 * V_2 = NULL;
MatEntry_t3157325053 * V_3 = NULL;
MatEntry_t3157325053 * G_B29_0 = NULL;
MatEntry_t3157325053 * G_B28_0 = NULL;
int32_t G_B30_0 = 0;
MatEntry_t3157325053 * G_B30_1 = NULL;
String_t* G_B33_0 = NULL;
Material_t193706927 * G_B33_1 = NULL;
String_t* G_B32_0 = NULL;
Material_t193706927 * G_B32_1 = NULL;
int32_t G_B34_0 = 0;
String_t* G_B34_1 = NULL;
Material_t193706927 * G_B34_2 = NULL;
{
int32_t L_0 = ___stencilID1;
if ((((int32_t)L_0) > ((int32_t)0)))
{
goto IL_0011;
}
}
{
int32_t L_1 = ___colorWriteMask4;
if ((((int32_t)L_1) == ((int32_t)((int32_t)15))))
{
goto IL_001d;
}
}
IL_0011:
{
Material_t193706927 * L_2 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_2, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0024;
}
}
IL_001d:
{
Material_t193706927 * L_4 = ___baseMat0;
V_0 = L_4;
goto IL_03b6;
}
IL_0024:
{
Material_t193706927 * L_5 = ___baseMat0;
NullCheck(L_5);
bool L_6 = Material_HasProperty_m3511389613(L_5, _stringLiteral32437173, /*hidden argument*/NULL);
if (L_6)
{
goto IL_0057;
}
}
{
Material_t193706927 * L_7 = ___baseMat0;
NullCheck(L_7);
String_t* L_8 = Object_get_name_m2079638459(L_7, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_9 = String_Concat_m612901809(NULL /*static, unused*/, _stringLiteral1189418979, L_8, _stringLiteral938436242, /*hidden argument*/NULL);
Material_t193706927 * L_10 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m1280021602(NULL /*static, unused*/, L_9, L_10, /*hidden argument*/NULL);
Material_t193706927 * L_11 = ___baseMat0;
V_0 = L_11;
goto IL_03b6;
}
IL_0057:
{
Material_t193706927 * L_12 = ___baseMat0;
NullCheck(L_12);
bool L_13 = Material_HasProperty_m3511389613(L_12, _stringLiteral357966050, /*hidden argument*/NULL);
if (L_13)
{
goto IL_008a;
}
}
{
Material_t193706927 * L_14 = ___baseMat0;
NullCheck(L_14);
String_t* L_15 = Object_get_name_m2079638459(L_14, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_16 = String_Concat_m612901809(NULL /*static, unused*/, _stringLiteral1189418979, L_15, _stringLiteral3435120403, /*hidden argument*/NULL);
Material_t193706927 * L_17 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m1280021602(NULL /*static, unused*/, L_16, L_17, /*hidden argument*/NULL);
Material_t193706927 * L_18 = ___baseMat0;
V_0 = L_18;
goto IL_03b6;
}
IL_008a:
{
Material_t193706927 * L_19 = ___baseMat0;
NullCheck(L_19);
bool L_20 = Material_HasProperty_m3511389613(L_19, _stringLiteral3498622006, /*hidden argument*/NULL);
if (L_20)
{
goto IL_00bd;
}
}
{
Material_t193706927 * L_21 = ___baseMat0;
NullCheck(L_21);
String_t* L_22 = Object_get_name_m2079638459(L_21, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_23 = String_Concat_m612901809(NULL /*static, unused*/, _stringLiteral1189418979, L_22, _stringLiteral448281081, /*hidden argument*/NULL);
Material_t193706927 * L_24 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m1280021602(NULL /*static, unused*/, L_23, L_24, /*hidden argument*/NULL);
Material_t193706927 * L_25 = ___baseMat0;
V_0 = L_25;
goto IL_03b6;
}
IL_00bd:
{
Material_t193706927 * L_26 = ___baseMat0;
NullCheck(L_26);
bool L_27 = Material_HasProperty_m3511389613(L_26, _stringLiteral975253783, /*hidden argument*/NULL);
if (L_27)
{
goto IL_00f0;
}
}
{
Material_t193706927 * L_28 = ___baseMat0;
NullCheck(L_28);
String_t* L_29 = Object_get_name_m2079638459(L_28, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_30 = String_Concat_m612901809(NULL /*static, unused*/, _stringLiteral1189418979, L_29, _stringLiteral866807422, /*hidden argument*/NULL);
Material_t193706927 * L_31 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m1280021602(NULL /*static, unused*/, L_30, L_31, /*hidden argument*/NULL);
Material_t193706927 * L_32 = ___baseMat0;
V_0 = L_32;
goto IL_03b6;
}
IL_00f0:
{
Material_t193706927 * L_33 = ___baseMat0;
NullCheck(L_33);
bool L_34 = Material_HasProperty_m3511389613(L_33, _stringLiteral2660185964, /*hidden argument*/NULL);
if (L_34)
{
goto IL_0123;
}
}
{
Material_t193706927 * L_35 = ___baseMat0;
NullCheck(L_35);
String_t* L_36 = Object_get_name_m2079638459(L_35, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_37 = String_Concat_m612901809(NULL /*static, unused*/, _stringLiteral1189418979, L_36, _stringLiteral1920964081, /*hidden argument*/NULL);
Material_t193706927 * L_38 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m1280021602(NULL /*static, unused*/, L_37, L_38, /*hidden argument*/NULL);
Material_t193706927 * L_39 = ___baseMat0;
V_0 = L_39;
goto IL_03b6;
}
IL_0123:
{
Material_t193706927 * L_40 = ___baseMat0;
NullCheck(L_40);
bool L_41 = Material_HasProperty_m3511389613(L_40, _stringLiteral263979358, /*hidden argument*/NULL);
if (L_41)
{
goto IL_0156;
}
}
{
Material_t193706927 * L_42 = ___baseMat0;
NullCheck(L_42);
String_t* L_43 = Object_get_name_m2079638459(L_42, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_44 = String_Concat_m612901809(NULL /*static, unused*/, _stringLiteral1189418979, L_43, _stringLiteral4273903311, /*hidden argument*/NULL);
Material_t193706927 * L_45 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Debug_t1368543263_il2cpp_TypeInfo_var);
Debug_LogWarning_m1280021602(NULL /*static, unused*/, L_44, L_45, /*hidden argument*/NULL);
Material_t193706927 * L_46 = ___baseMat0;
V_0 = L_46;
goto IL_03b6;
}
IL_0156:
{
V_1 = 0;
goto IL_01e6;
}
IL_015d:
{
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
List_1_t2526446185 * L_47 = ((StencilMaterial_t1630303189_StaticFields*)StencilMaterial_t1630303189_il2cpp_TypeInfo_var->static_fields)->get_m_List_0();
int32_t L_48 = V_1;
NullCheck(L_47);
MatEntry_t3157325053 * L_49 = List_1_get_Item_m218316962(L_47, L_48, /*hidden argument*/List_1_get_Item_m218316962_MethodInfo_var);
V_2 = L_49;
MatEntry_t3157325053 * L_50 = V_2;
NullCheck(L_50);
Material_t193706927 * L_51 = L_50->get_baseMat_0();
Material_t193706927 * L_52 = ___baseMat0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_53 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_51, L_52, /*hidden argument*/NULL);
if (!L_53)
{
goto IL_01e1;
}
}
{
MatEntry_t3157325053 * L_54 = V_2;
NullCheck(L_54);
int32_t L_55 = L_54->get_stencilId_3();
int32_t L_56 = ___stencilID1;
if ((!(((uint32_t)L_55) == ((uint32_t)L_56))))
{
goto IL_01e1;
}
}
{
MatEntry_t3157325053 * L_57 = V_2;
NullCheck(L_57);
int32_t L_58 = L_57->get_operation_4();
int32_t L_59 = ___operation2;
if ((!(((uint32_t)L_58) == ((uint32_t)L_59))))
{
goto IL_01e1;
}
}
{
MatEntry_t3157325053 * L_60 = V_2;
NullCheck(L_60);
int32_t L_61 = L_60->get_compareFunction_5();
int32_t L_62 = ___compareFunction3;
if ((!(((uint32_t)L_61) == ((uint32_t)L_62))))
{
goto IL_01e1;
}
}
{
MatEntry_t3157325053 * L_63 = V_2;
NullCheck(L_63);
int32_t L_64 = L_63->get_readMask_6();
int32_t L_65 = ___readMask5;
if ((!(((uint32_t)L_64) == ((uint32_t)L_65))))
{
goto IL_01e1;
}
}
{
MatEntry_t3157325053 * L_66 = V_2;
NullCheck(L_66);
int32_t L_67 = L_66->get_writeMask_7();
int32_t L_68 = ___writeMask6;
if ((!(((uint32_t)L_67) == ((uint32_t)L_68))))
{
goto IL_01e1;
}
}
{
MatEntry_t3157325053 * L_69 = V_2;
NullCheck(L_69);
int32_t L_70 = L_69->get_colorMask_9();
int32_t L_71 = ___colorWriteMask4;
if ((!(((uint32_t)L_70) == ((uint32_t)L_71))))
{
goto IL_01e1;
}
}
{
MatEntry_t3157325053 * L_72 = V_2;
MatEntry_t3157325053 * L_73 = L_72;
NullCheck(L_73);
int32_t L_74 = L_73->get_count_2();
NullCheck(L_73);
L_73->set_count_2(((int32_t)((int32_t)L_74+(int32_t)1)));
MatEntry_t3157325053 * L_75 = V_2;
NullCheck(L_75);
Material_t193706927 * L_76 = L_75->get_customMat_1();
V_0 = L_76;
goto IL_03b6;
}
IL_01e1:
{
int32_t L_77 = V_1;
V_1 = ((int32_t)((int32_t)L_77+(int32_t)1));
}
IL_01e6:
{
int32_t L_78 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
List_1_t2526446185 * L_79 = ((StencilMaterial_t1630303189_StaticFields*)StencilMaterial_t1630303189_il2cpp_TypeInfo_var->static_fields)->get_m_List_0();
NullCheck(L_79);
int32_t L_80 = List_1_get_Count_m774819925(L_79, /*hidden argument*/List_1_get_Count_m774819925_MethodInfo_var);
if ((((int32_t)L_78) < ((int32_t)L_80)))
{
goto IL_015d;
}
}
{
MatEntry_t3157325053 * L_81 = (MatEntry_t3157325053 *)il2cpp_codegen_object_new(MatEntry_t3157325053_il2cpp_TypeInfo_var);
MatEntry__ctor_m3650167335(L_81, /*hidden argument*/NULL);
V_3 = L_81;
MatEntry_t3157325053 * L_82 = V_3;
NullCheck(L_82);
L_82->set_count_2(1);
MatEntry_t3157325053 * L_83 = V_3;
Material_t193706927 * L_84 = ___baseMat0;
NullCheck(L_83);
L_83->set_baseMat_0(L_84);
MatEntry_t3157325053 * L_85 = V_3;
Material_t193706927 * L_86 = ___baseMat0;
Material_t193706927 * L_87 = (Material_t193706927 *)il2cpp_codegen_object_new(Material_t193706927_il2cpp_TypeInfo_var);
Material__ctor_m1440882780(L_87, L_86, /*hidden argument*/NULL);
NullCheck(L_85);
L_85->set_customMat_1(L_87);
MatEntry_t3157325053 * L_88 = V_3;
NullCheck(L_88);
Material_t193706927 * L_89 = L_88->get_customMat_1();
NullCheck(L_89);
Object_set_hideFlags_m2204253440(L_89, ((int32_t)61), /*hidden argument*/NULL);
MatEntry_t3157325053 * L_90 = V_3;
int32_t L_91 = ___stencilID1;
NullCheck(L_90);
L_90->set_stencilId_3(L_91);
MatEntry_t3157325053 * L_92 = V_3;
int32_t L_93 = ___operation2;
NullCheck(L_92);
L_92->set_operation_4(L_93);
MatEntry_t3157325053 * L_94 = V_3;
int32_t L_95 = ___compareFunction3;
NullCheck(L_94);
L_94->set_compareFunction_5(L_95);
MatEntry_t3157325053 * L_96 = V_3;
int32_t L_97 = ___readMask5;
NullCheck(L_96);
L_96->set_readMask_6(L_97);
MatEntry_t3157325053 * L_98 = V_3;
int32_t L_99 = ___writeMask6;
NullCheck(L_98);
L_98->set_writeMask_7(L_99);
MatEntry_t3157325053 * L_100 = V_3;
int32_t L_101 = ___colorWriteMask4;
NullCheck(L_100);
L_100->set_colorMask_9(L_101);
MatEntry_t3157325053 * L_102 = V_3;
int32_t L_103 = ___operation2;
G_B28_0 = L_102;
if (!L_103)
{
G_B29_0 = L_102;
goto IL_025e;
}
}
{
int32_t L_104 = ___writeMask6;
G_B30_0 = ((((int32_t)L_104) > ((int32_t)0))? 1 : 0);
G_B30_1 = G_B28_0;
goto IL_025f;
}
IL_025e:
{
G_B30_0 = 0;
G_B30_1 = G_B29_0;
}
IL_025f:
{
NullCheck(G_B30_1);
G_B30_1->set_useAlphaClip_8((bool)G_B30_0);
MatEntry_t3157325053 * L_105 = V_3;
NullCheck(L_105);
Material_t193706927 * L_106 = L_105->get_customMat_1();
ObjectU5BU5D_t3614634134* L_107 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)8));
int32_t L_108 = ___stencilID1;
int32_t L_109 = L_108;
Il2CppObject * L_110 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_109);
NullCheck(L_107);
ArrayElementTypeCheck (L_107, L_110);
(L_107)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_110);
ObjectU5BU5D_t3614634134* L_111 = L_107;
int32_t L_112 = ___operation2;
int32_t L_113 = L_112;
Il2CppObject * L_114 = Box(StencilOp_t2936374925_il2cpp_TypeInfo_var, &L_113);
NullCheck(L_111);
ArrayElementTypeCheck (L_111, L_114);
(L_111)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)L_114);
ObjectU5BU5D_t3614634134* L_115 = L_111;
int32_t L_116 = ___compareFunction3;
int32_t L_117 = L_116;
Il2CppObject * L_118 = Box(CompareFunction_t457874581_il2cpp_TypeInfo_var, &L_117);
NullCheck(L_115);
ArrayElementTypeCheck (L_115, L_118);
(L_115)->SetAt(static_cast<il2cpp_array_size_t>(2), (Il2CppObject *)L_118);
ObjectU5BU5D_t3614634134* L_119 = L_115;
int32_t L_120 = ___writeMask6;
int32_t L_121 = L_120;
Il2CppObject * L_122 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_121);
NullCheck(L_119);
ArrayElementTypeCheck (L_119, L_122);
(L_119)->SetAt(static_cast<il2cpp_array_size_t>(3), (Il2CppObject *)L_122);
ObjectU5BU5D_t3614634134* L_123 = L_119;
int32_t L_124 = ___readMask5;
int32_t L_125 = L_124;
Il2CppObject * L_126 = Box(Int32_t2071877448_il2cpp_TypeInfo_var, &L_125);
NullCheck(L_123);
ArrayElementTypeCheck (L_123, L_126);
(L_123)->SetAt(static_cast<il2cpp_array_size_t>(4), (Il2CppObject *)L_126);
ObjectU5BU5D_t3614634134* L_127 = L_123;
int32_t L_128 = ___colorWriteMask4;
int32_t L_129 = L_128;
Il2CppObject * L_130 = Box(ColorWriteMask_t926634530_il2cpp_TypeInfo_var, &L_129);
NullCheck(L_127);
ArrayElementTypeCheck (L_127, L_130);
(L_127)->SetAt(static_cast<il2cpp_array_size_t>(5), (Il2CppObject *)L_130);
ObjectU5BU5D_t3614634134* L_131 = L_127;
MatEntry_t3157325053 * L_132 = V_3;
NullCheck(L_132);
bool L_133 = L_132->get_useAlphaClip_8();
bool L_134 = L_133;
Il2CppObject * L_135 = Box(Boolean_t3825574718_il2cpp_TypeInfo_var, &L_134);
NullCheck(L_131);
ArrayElementTypeCheck (L_131, L_135);
(L_131)->SetAt(static_cast<il2cpp_array_size_t>(6), (Il2CppObject *)L_135);
ObjectU5BU5D_t3614634134* L_136 = L_131;
Material_t193706927 * L_137 = ___baseMat0;
NullCheck(L_137);
String_t* L_138 = Object_get_name_m2079638459(L_137, /*hidden argument*/NULL);
NullCheck(L_136);
ArrayElementTypeCheck (L_136, L_138);
(L_136)->SetAt(static_cast<il2cpp_array_size_t>(7), (Il2CppObject *)L_138);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_139 = String_Format_m1263743648(NULL /*static, unused*/, _stringLiteral1601483922, L_136, /*hidden argument*/NULL);
NullCheck(L_106);
Object_set_name_m4157836998(L_106, L_139, /*hidden argument*/NULL);
MatEntry_t3157325053 * L_140 = V_3;
NullCheck(L_140);
Material_t193706927 * L_141 = L_140->get_customMat_1();
int32_t L_142 = ___stencilID1;
NullCheck(L_141);
Material_SetInt_m522302436(L_141, _stringLiteral32437173, L_142, /*hidden argument*/NULL);
MatEntry_t3157325053 * L_143 = V_3;
NullCheck(L_143);
Material_t193706927 * L_144 = L_143->get_customMat_1();
int32_t L_145 = ___operation2;
NullCheck(L_144);
Material_SetInt_m522302436(L_144, _stringLiteral357966050, L_145, /*hidden argument*/NULL);
MatEntry_t3157325053 * L_146 = V_3;
NullCheck(L_146);
Material_t193706927 * L_147 = L_146->get_customMat_1();
int32_t L_148 = ___compareFunction3;
NullCheck(L_147);
Material_SetInt_m522302436(L_147, _stringLiteral3498622006, L_148, /*hidden argument*/NULL);
MatEntry_t3157325053 * L_149 = V_3;
NullCheck(L_149);
Material_t193706927 * L_150 = L_149->get_customMat_1();
int32_t L_151 = ___readMask5;
NullCheck(L_150);
Material_SetInt_m522302436(L_150, _stringLiteral975253783, L_151, /*hidden argument*/NULL);
MatEntry_t3157325053 * L_152 = V_3;
NullCheck(L_152);
Material_t193706927 * L_153 = L_152->get_customMat_1();
int32_t L_154 = ___writeMask6;
NullCheck(L_153);
Material_SetInt_m522302436(L_153, _stringLiteral2660185964, L_154, /*hidden argument*/NULL);
MatEntry_t3157325053 * L_155 = V_3;
NullCheck(L_155);
Material_t193706927 * L_156 = L_155->get_customMat_1();
int32_t L_157 = ___colorWriteMask4;
NullCheck(L_156);
Material_SetInt_m522302436(L_156, _stringLiteral263979358, L_157, /*hidden argument*/NULL);
MatEntry_t3157325053 * L_158 = V_3;
NullCheck(L_158);
Material_t193706927 * L_159 = L_158->get_customMat_1();
NullCheck(L_159);
bool L_160 = Material_HasProperty_m3511389613(L_159, _stringLiteral748789772, /*hidden argument*/NULL);
if (!L_160)
{
goto IL_036f;
}
}
{
MatEntry_t3157325053 * L_161 = V_3;
NullCheck(L_161);
Material_t193706927 * L_162 = L_161->get_customMat_1();
MatEntry_t3157325053 * L_163 = V_3;
NullCheck(L_163);
bool L_164 = L_163->get_useAlphaClip_8();
G_B32_0 = _stringLiteral748789772;
G_B32_1 = L_162;
if (!L_164)
{
G_B33_0 = _stringLiteral748789772;
G_B33_1 = L_162;
goto IL_0369;
}
}
{
G_B34_0 = 1;
G_B34_1 = G_B32_0;
G_B34_2 = G_B32_1;
goto IL_036a;
}
IL_0369:
{
G_B34_0 = 0;
G_B34_1 = G_B33_0;
G_B34_2 = G_B33_1;
}
IL_036a:
{
NullCheck(G_B34_2);
Material_SetInt_m522302436(G_B34_2, G_B34_1, G_B34_0, /*hidden argument*/NULL);
}
IL_036f:
{
MatEntry_t3157325053 * L_165 = V_3;
NullCheck(L_165);
bool L_166 = L_165->get_useAlphaClip_8();
if (!L_166)
{
goto IL_038f;
}
}
{
MatEntry_t3157325053 * L_167 = V_3;
NullCheck(L_167);
Material_t193706927 * L_168 = L_167->get_customMat_1();
NullCheck(L_168);
Material_EnableKeyword_m3724752646(L_168, _stringLiteral4101398013, /*hidden argument*/NULL);
goto IL_039f;
}
IL_038f:
{
MatEntry_t3157325053 * L_169 = V_3;
NullCheck(L_169);
Material_t193706927 * L_170 = L_169->get_customMat_1();
NullCheck(L_170);
Material_DisableKeyword_m1204728089(L_170, _stringLiteral4101398013, /*hidden argument*/NULL);
}
IL_039f:
{
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
List_1_t2526446185 * L_171 = ((StencilMaterial_t1630303189_StaticFields*)StencilMaterial_t1630303189_il2cpp_TypeInfo_var->static_fields)->get_m_List_0();
MatEntry_t3157325053 * L_172 = V_3;
NullCheck(L_171);
List_1_Add_m4146062301(L_171, L_172, /*hidden argument*/List_1_Add_m4146062301_MethodInfo_var);
MatEntry_t3157325053 * L_173 = V_3;
NullCheck(L_173);
Material_t193706927 * L_174 = L_173->get_customMat_1();
V_0 = L_174;
goto IL_03b6;
}
IL_03b6:
{
Material_t193706927 * L_175 = V_0;
return L_175;
}
}
// System.Void UnityEngine.UI.StencilMaterial::Remove(UnityEngine.Material)
extern "C" void StencilMaterial_Remove_m3616154292 (Il2CppObject * __this /* static, unused */, Material_t193706927 * ___customMat0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StencilMaterial_Remove_m3616154292_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
MatEntry_t3157325053 * V_1 = NULL;
int32_t V_2 = 0;
{
Material_t193706927 * L_0 = ___customMat0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0012;
}
}
{
goto IL_008a;
}
IL_0012:
{
V_0 = 0;
goto IL_007a;
}
IL_0019:
{
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
List_1_t2526446185 * L_2 = ((StencilMaterial_t1630303189_StaticFields*)StencilMaterial_t1630303189_il2cpp_TypeInfo_var->static_fields)->get_m_List_0();
int32_t L_3 = V_0;
NullCheck(L_2);
MatEntry_t3157325053 * L_4 = List_1_get_Item_m218316962(L_2, L_3, /*hidden argument*/List_1_get_Item_m218316962_MethodInfo_var);
V_1 = L_4;
MatEntry_t3157325053 * L_5 = V_1;
NullCheck(L_5);
Material_t193706927 * L_6 = L_5->get_customMat_1();
Material_t193706927 * L_7 = ___customMat0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_6, L_7, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_003c;
}
}
{
goto IL_0076;
}
IL_003c:
{
MatEntry_t3157325053 * L_9 = V_1;
MatEntry_t3157325053 * L_10 = L_9;
NullCheck(L_10);
int32_t L_11 = L_10->get_count_2();
int32_t L_12 = ((int32_t)((int32_t)L_11-(int32_t)1));
V_2 = L_12;
NullCheck(L_10);
L_10->set_count_2(L_12);
int32_t L_13 = V_2;
if (L_13)
{
goto IL_0071;
}
}
{
MatEntry_t3157325053 * L_14 = V_1;
NullCheck(L_14);
Material_t193706927 * L_15 = L_14->get_customMat_1();
Misc_DestroyImmediate_m2145363668(NULL /*static, unused*/, L_15, /*hidden argument*/NULL);
MatEntry_t3157325053 * L_16 = V_1;
NullCheck(L_16);
L_16->set_baseMat_0((Material_t193706927 *)NULL);
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
List_1_t2526446185 * L_17 = ((StencilMaterial_t1630303189_StaticFields*)StencilMaterial_t1630303189_il2cpp_TypeInfo_var->static_fields)->get_m_List_0();
int32_t L_18 = V_0;
NullCheck(L_17);
List_1_RemoveAt_m3266343727(L_17, L_18, /*hidden argument*/List_1_RemoveAt_m3266343727_MethodInfo_var);
}
IL_0071:
{
goto IL_008a;
}
IL_0076:
{
int32_t L_19 = V_0;
V_0 = ((int32_t)((int32_t)L_19+(int32_t)1));
}
IL_007a:
{
int32_t L_20 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
List_1_t2526446185 * L_21 = ((StencilMaterial_t1630303189_StaticFields*)StencilMaterial_t1630303189_il2cpp_TypeInfo_var->static_fields)->get_m_List_0();
NullCheck(L_21);
int32_t L_22 = List_1_get_Count_m774819925(L_21, /*hidden argument*/List_1_get_Count_m774819925_MethodInfo_var);
if ((((int32_t)L_20) < ((int32_t)L_22)))
{
goto IL_0019;
}
}
IL_008a:
{
return;
}
}
// System.Void UnityEngine.UI.StencilMaterial::ClearAll()
extern "C" void StencilMaterial_ClearAll_m1372779118 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StencilMaterial_ClearAll_m1372779118_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
MatEntry_t3157325053 * V_1 = NULL;
{
V_0 = 0;
goto IL_002c;
}
IL_0008:
{
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
List_1_t2526446185 * L_0 = ((StencilMaterial_t1630303189_StaticFields*)StencilMaterial_t1630303189_il2cpp_TypeInfo_var->static_fields)->get_m_List_0();
int32_t L_1 = V_0;
NullCheck(L_0);
MatEntry_t3157325053 * L_2 = List_1_get_Item_m218316962(L_0, L_1, /*hidden argument*/List_1_get_Item_m218316962_MethodInfo_var);
V_1 = L_2;
MatEntry_t3157325053 * L_3 = V_1;
NullCheck(L_3);
Material_t193706927 * L_4 = L_3->get_customMat_1();
Misc_DestroyImmediate_m2145363668(NULL /*static, unused*/, L_4, /*hidden argument*/NULL);
MatEntry_t3157325053 * L_5 = V_1;
NullCheck(L_5);
L_5->set_baseMat_0((Material_t193706927 *)NULL);
int32_t L_6 = V_0;
V_0 = ((int32_t)((int32_t)L_6+(int32_t)1));
}
IL_002c:
{
int32_t L_7 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
List_1_t2526446185 * L_8 = ((StencilMaterial_t1630303189_StaticFields*)StencilMaterial_t1630303189_il2cpp_TypeInfo_var->static_fields)->get_m_List_0();
NullCheck(L_8);
int32_t L_9 = List_1_get_Count_m774819925(L_8, /*hidden argument*/List_1_get_Count_m774819925_MethodInfo_var);
if ((((int32_t)L_7) < ((int32_t)L_9)))
{
goto IL_0008;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(StencilMaterial_t1630303189_il2cpp_TypeInfo_var);
List_1_t2526446185 * L_10 = ((StencilMaterial_t1630303189_StaticFields*)StencilMaterial_t1630303189_il2cpp_TypeInfo_var->static_fields)->get_m_List_0();
NullCheck(L_10);
List_1_Clear_m3399322582(L_10, /*hidden argument*/List_1_Clear_m3399322582_MethodInfo_var);
return;
}
}
// System.Void UnityEngine.UI.StencilMaterial::.cctor()
extern "C" void StencilMaterial__cctor_m2963056855 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (StencilMaterial__cctor_m2963056855_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t2526446185 * L_0 = (List_1_t2526446185 *)il2cpp_codegen_object_new(List_1_t2526446185_il2cpp_TypeInfo_var);
List_1__ctor_m2025590529(L_0, /*hidden argument*/List_1__ctor_m2025590529_MethodInfo_var);
((StencilMaterial_t1630303189_StaticFields*)StencilMaterial_t1630303189_il2cpp_TypeInfo_var->static_fields)->set_m_List_0(L_0);
return;
}
}
// System.Void UnityEngine.UI.StencilMaterial/MatEntry::.ctor()
extern "C" void MatEntry__ctor_m3650167335 (MatEntry_t3157325053 * __this, const MethodInfo* method)
{
{
__this->set_operation_4(0);
__this->set_compareFunction_5(8);
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Text::.ctor()
extern "C" void Text__ctor_m1798771934 (Text_t356221433 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text__ctor_m1798771934_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
FontData_t2614388407 * L_0 = FontData_get_defaultFontData_m3296571046(NULL /*static, unused*/, /*hidden argument*/NULL);
__this->set_m_FontData_28(L_0);
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_29(L_1);
__this->set_m_DisableFontTextureRebuiltCallback_33((bool)0);
__this->set_m_TempVerts_34(((UIVertexU5BU5D_t3048644023*)SZArrayNew(UIVertexU5BU5D_t3048644023_il2cpp_TypeInfo_var, (uint32_t)4)));
MaskableGraphic__ctor_m1454660053(__this, /*hidden argument*/NULL);
Graphic_set_useLegacyMeshGeneration_m3023904722(__this, (bool)0, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.TextGenerator UnityEngine.UI.Text::get_cachedTextGenerator()
extern "C" TextGenerator_t647235000 * Text_get_cachedTextGenerator_m224335893 (Text_t356221433 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_get_cachedTextGenerator_m224335893_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TextGenerator_t647235000 * V_0 = NULL;
TextGenerator_t647235000 * V_1 = NULL;
TextGenerator_t647235000 * G_B5_0 = NULL;
TextGenerator_t647235000 * G_B1_0 = NULL;
Text_t356221433 * G_B3_0 = NULL;
Text_t356221433 * G_B2_0 = NULL;
TextGenerator_t647235000 * G_B4_0 = NULL;
Text_t356221433 * G_B4_1 = NULL;
{
TextGenerator_t647235000 * L_0 = __this->get_m_TextCache_30();
TextGenerator_t647235000 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B5_0 = L_1;
goto IL_0041;
}
}
{
String_t* L_2 = __this->get_m_Text_29();
NullCheck(L_2);
int32_t L_3 = String_get_Length_m1606060069(L_2, /*hidden argument*/NULL);
G_B2_0 = __this;
if (!L_3)
{
G_B3_0 = __this;
goto IL_0034;
}
}
{
String_t* L_4 = __this->get_m_Text_29();
NullCheck(L_4);
int32_t L_5 = String_get_Length_m1606060069(L_4, /*hidden argument*/NULL);
TextGenerator_t647235000 * L_6 = (TextGenerator_t647235000 *)il2cpp_codegen_object_new(TextGenerator_t647235000_il2cpp_TypeInfo_var);
TextGenerator__ctor_m1169691060(L_6, L_5, /*hidden argument*/NULL);
G_B4_0 = L_6;
G_B4_1 = G_B2_0;
goto IL_0039;
}
IL_0034:
{
TextGenerator_t647235000 * L_7 = (TextGenerator_t647235000 *)il2cpp_codegen_object_new(TextGenerator_t647235000_il2cpp_TypeInfo_var);
TextGenerator__ctor_m11880227(L_7, /*hidden argument*/NULL);
G_B4_0 = L_7;
G_B4_1 = G_B3_0;
}
IL_0039:
{
TextGenerator_t647235000 * L_8 = G_B4_0;
V_0 = L_8;
NullCheck(G_B4_1);
G_B4_1->set_m_TextCache_30(L_8);
TextGenerator_t647235000 * L_9 = V_0;
G_B5_0 = L_9;
}
IL_0041:
{
V_1 = G_B5_0;
goto IL_0047;
}
IL_0047:
{
TextGenerator_t647235000 * L_10 = V_1;
return L_10;
}
}
// UnityEngine.TextGenerator UnityEngine.UI.Text::get_cachedTextGeneratorForLayout()
extern "C" TextGenerator_t647235000 * Text_get_cachedTextGeneratorForLayout_m1357670532 (Text_t356221433 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_get_cachedTextGeneratorForLayout_m1357670532_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TextGenerator_t647235000 * V_0 = NULL;
TextGenerator_t647235000 * V_1 = NULL;
TextGenerator_t647235000 * G_B2_0 = NULL;
TextGenerator_t647235000 * G_B1_0 = NULL;
{
TextGenerator_t647235000 * L_0 = __this->get_m_TextCacheForLayout_31();
TextGenerator_t647235000 * L_1 = L_0;
G_B1_0 = L_1;
if (L_1)
{
G_B2_0 = L_1;
goto IL_001c;
}
}
{
TextGenerator_t647235000 * L_2 = (TextGenerator_t647235000 *)il2cpp_codegen_object_new(TextGenerator_t647235000_il2cpp_TypeInfo_var);
TextGenerator__ctor_m11880227(L_2, /*hidden argument*/NULL);
TextGenerator_t647235000 * L_3 = L_2;
V_0 = L_3;
__this->set_m_TextCacheForLayout_31(L_3);
TextGenerator_t647235000 * L_4 = V_0;
G_B2_0 = L_4;
}
IL_001c:
{
V_1 = G_B2_0;
goto IL_0022;
}
IL_0022:
{
TextGenerator_t647235000 * L_5 = V_1;
return L_5;
}
}
// UnityEngine.Texture UnityEngine.UI.Text::get_mainTexture()
extern "C" Texture_t2243626319 * Text_get_mainTexture_m813502234 (Text_t356221433 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_get_mainTexture_m813502234_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Texture_t2243626319 * V_0 = NULL;
{
Font_t4239498691 * L_0 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0059;
}
}
{
Font_t4239498691 * L_2 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
NullCheck(L_2);
Material_t193706927 * L_3 = Font_get_material_m2086804907(L_2, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_3, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0059;
}
}
{
Font_t4239498691 * L_5 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
NullCheck(L_5);
Material_t193706927 * L_6 = Font_get_material_m2086804907(L_5, /*hidden argument*/NULL);
NullCheck(L_6);
Texture_t2243626319 * L_7 = Material_get_mainTexture_m432794412(L_6, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_8 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_7, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_8)
{
goto IL_0059;
}
}
{
Font_t4239498691 * L_9 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
NullCheck(L_9);
Material_t193706927 * L_10 = Font_get_material_m2086804907(L_9, /*hidden argument*/NULL);
NullCheck(L_10);
Texture_t2243626319 * L_11 = Material_get_mainTexture_m432794412(L_10, /*hidden argument*/NULL);
V_0 = L_11;
goto IL_0087;
}
IL_0059:
{
Material_t193706927 * L_12 = ((Graphic_t2426225576 *)__this)->get_m_Material_4();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_13 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_12, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_13)
{
goto IL_007b;
}
}
{
Material_t193706927 * L_14 = ((Graphic_t2426225576 *)__this)->get_m_Material_4();
NullCheck(L_14);
Texture_t2243626319 * L_15 = Material_get_mainTexture_m432794412(L_14, /*hidden argument*/NULL);
V_0 = L_15;
goto IL_0087;
}
IL_007b:
{
Texture_t2243626319 * L_16 = Graphic_get_mainTexture_m3801744081(__this, /*hidden argument*/NULL);
V_0 = L_16;
goto IL_0087;
}
IL_0087:
{
Texture_t2243626319 * L_17 = V_0;
return L_17;
}
}
// System.Void UnityEngine.UI.Text::FontTextureChanged()
extern "C" void Text_FontTextureChanged_m4236993972 (Text_t356221433 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_FontTextureChanged_m4236993972_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_0 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
if (L_0)
{
goto IL_0011;
}
}
{
goto IL_0061;
}
IL_0011:
{
bool L_1 = __this->get_m_DisableFontTextureRebuiltCallback_33();
if (!L_1)
{
goto IL_0021;
}
}
{
goto IL_0061;
}
IL_0021:
{
TextGenerator_t647235000 * L_2 = Text_get_cachedTextGenerator_m224335893(__this, /*hidden argument*/NULL);
NullCheck(L_2);
TextGenerator_Invalidate_m3217235344(L_2, /*hidden argument*/NULL);
bool L_3 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (L_3)
{
goto IL_003c;
}
}
{
goto IL_0061;
}
IL_003c:
{
IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t1780385998_il2cpp_TypeInfo_var);
bool L_4 = CanvasUpdateRegistry_IsRebuildingGraphics_m1758776983(NULL /*static, unused*/, /*hidden argument*/NULL);
if (L_4)
{
goto IL_0050;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(CanvasUpdateRegistry_t1780385998_il2cpp_TypeInfo_var);
bool L_5 = CanvasUpdateRegistry_IsRebuildingLayout_m1677873278(NULL /*static, unused*/, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_005b;
}
}
IL_0050:
{
VirtActionInvoker0::Invoke(40 /* System.Void UnityEngine.UI.Graphic::UpdateGeometry() */, __this);
goto IL_0061;
}
IL_005b:
{
VirtActionInvoker0::Invoke(26 /* System.Void UnityEngine.UI.Graphic::SetAllDirty() */, __this);
}
IL_0061:
{
return;
}
}
// UnityEngine.Font UnityEngine.UI.Text::get_font()
extern "C" Font_t4239498691 * Text_get_font_m3115501113 (Text_t356221433 * __this, const MethodInfo* method)
{
Font_t4239498691 * V_0 = NULL;
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
Font_t4239498691 * L_1 = FontData_get_font_m349918651(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
Font_t4239498691 * L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Text::set_font(UnityEngine.Font)
extern "C" void Text_set_font_m1095513810 (Text_t356221433 * __this, Font_t4239498691 * ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_set_font_m1095513810_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
Font_t4239498691 * L_1 = FontData_get_font_m349918651(L_0, /*hidden argument*/NULL);
Font_t4239498691 * L_2 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_3 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_1, L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_001c;
}
}
{
goto IL_003a;
}
IL_001c:
{
IL2CPP_RUNTIME_CLASS_INIT(FontUpdateTracker_t2633059652_il2cpp_TypeInfo_var);
FontUpdateTracker_UntrackText_m3827316510(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
FontData_t2614388407 * L_4 = __this->get_m_FontData_28();
Font_t4239498691 * L_5 = ___value0;
NullCheck(L_4);
FontData_set_font_m1821705952(L_4, L_5, /*hidden argument*/NULL);
FontUpdateTracker_TrackText_m1295609677(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(26 /* System.Void UnityEngine.UI.Graphic::SetAllDirty() */, __this);
}
IL_003a:
{
return;
}
}
// System.String UnityEngine.UI.Text::get_text()
extern "C" String_t* Text_get_text_m2068535949 (Text_t356221433 * __this, const MethodInfo* method)
{
String_t* V_0 = NULL;
{
String_t* L_0 = __this->get_m_Text_29();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
String_t* L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Text::set_text(System.String)
extern "C" void Text_set_text_m888865420 (Text_t356221433 * __this, String_t* ___value0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_set_text_m888865420_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
String_t* L_0 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_1 = String_IsNullOrEmpty_m2802126737(NULL /*static, unused*/, L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0039;
}
}
{
String_t* L_2 = __this->get_m_Text_29();
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_3 = String_IsNullOrEmpty_m2802126737(NULL /*static, unused*/, L_2, /*hidden argument*/NULL);
if (!L_3)
{
goto IL_0022;
}
}
{
goto IL_005f;
}
IL_0022:
{
__this->set_m_Text_29(_stringLiteral371857150);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
goto IL_005f;
}
IL_0039:
{
String_t* L_4 = __this->get_m_Text_29();
String_t* L_5 = ___value0;
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
bool L_6 = String_op_Inequality_m304203149(NULL /*static, unused*/, L_4, L_5, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_005f;
}
}
{
String_t* L_7 = ___value0;
__this->set_m_Text_29(L_7);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
}
IL_005f:
{
return;
}
}
// System.Boolean UnityEngine.UI.Text::get_supportRichText()
extern "C" bool Text_get_supportRichText_m3291105891 (Text_t356221433 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
bool L_1 = FontData_get_richText_m2013560754(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
bool L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Text::set_supportRichText(System.Boolean)
extern "C" void Text_set_supportRichText_m3026155622 (Text_t356221433 * __this, bool ___value0, const MethodInfo* method)
{
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
bool L_1 = FontData_get_richText_m2013560754(L_0, /*hidden argument*/NULL);
bool L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0017;
}
}
{
goto IL_002f;
}
IL_0017:
{
FontData_t2614388407 * L_3 = __this->get_m_FontData_28();
bool L_4 = ___value0;
NullCheck(L_3);
FontData_set_richText_m29558601(L_3, L_4, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
}
IL_002f:
{
return;
}
}
// System.Boolean UnityEngine.UI.Text::get_resizeTextForBestFit()
extern "C" bool Text_get_resizeTextForBestFit_m1319489526 (Text_t356221433 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
bool L_1 = FontData_get_bestFit_m3106926966(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
bool L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Text::set_resizeTextForBestFit(System.Boolean)
extern "C" void Text_set_resizeTextForBestFit_m1410334841 (Text_t356221433 * __this, bool ___value0, const MethodInfo* method)
{
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
bool L_1 = FontData_get_bestFit_m3106926966(L_0, /*hidden argument*/NULL);
bool L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0017;
}
}
{
goto IL_002f;
}
IL_0017:
{
FontData_t2614388407 * L_3 = __this->get_m_FontData_28();
bool L_4 = ___value0;
NullCheck(L_3);
FontData_set_bestFit_m1987821379(L_3, L_4, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
}
IL_002f:
{
return;
}
}
// System.Int32 UnityEngine.UI.Text::get_resizeTextMinSize()
extern "C" int32_t Text_get_resizeTextMinSize_m3422718371 (Text_t356221433 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_minSize_m3288934630(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
int32_t L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Text::set_resizeTextMinSize(System.Int32)
extern "C" void Text_set_resizeTextMinSize_m3072695704 (Text_t356221433 * __this, int32_t ___value0, const MethodInfo* method)
{
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_minSize_m3288934630(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0017;
}
}
{
goto IL_002f;
}
IL_0017:
{
FontData_t2614388407 * L_3 = __this->get_m_FontData_28();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_minSize_m3999670749(L_3, L_4, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
}
IL_002f:
{
return;
}
}
// System.Int32 UnityEngine.UI.Text::get_resizeTextMaxSize()
extern "C" int32_t Text_get_resizeTextMaxSize_m2671487437 (Text_t356221433 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_maxSize_m3261234724(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
int32_t L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Text::set_resizeTextMaxSize(System.Int32)
extern "C" void Text_set_resizeTextMaxSize_m4034967714 (Text_t356221433 * __this, int32_t ___value0, const MethodInfo* method)
{
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_maxSize_m3261234724(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0017;
}
}
{
goto IL_002f;
}
IL_0017:
{
FontData_t2614388407 * L_3 = __this->get_m_FontData_28();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_maxSize_m137550699(L_3, L_4, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
}
IL_002f:
{
return;
}
}
// UnityEngine.TextAnchor UnityEngine.UI.Text::get_alignment()
extern "C" int32_t Text_get_alignment_m1451596010 (Text_t356221433 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_alignment_m1588881892(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
int32_t L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Text::set_alignment(UnityEngine.TextAnchor)
extern "C" void Text_set_alignment_m1816221961 (Text_t356221433 * __this, int32_t ___value0, const MethodInfo* method)
{
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_alignment_m1588881892(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0017;
}
}
{
goto IL_002f;
}
IL_0017:
{
FontData_t2614388407 * L_3 = __this->get_m_FontData_28();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_alignment_m2339753079(L_3, L_4, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
}
IL_002f:
{
return;
}
}
// System.Boolean UnityEngine.UI.Text::get_alignByGeometry()
extern "C" bool Text_get_alignByGeometry_m3926457273 (Text_t356221433 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
bool L_1 = FontData_get_alignByGeometry_m63062771(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
bool L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Text::set_alignByGeometry(System.Boolean)
extern "C" void Text_set_alignByGeometry_m1514652028 (Text_t356221433 * __this, bool ___value0, const MethodInfo* method)
{
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
bool L_1 = FontData_get_alignByGeometry_m63062771(L_0, /*hidden argument*/NULL);
bool L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0017;
}
}
{
goto IL_0029;
}
IL_0017:
{
FontData_t2614388407 * L_3 = __this->get_m_FontData_28();
bool L_4 = ___value0;
NullCheck(L_3);
FontData_set_alignByGeometry_m2819509290(L_3, L_4, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
}
IL_0029:
{
return;
}
}
// System.Int32 UnityEngine.UI.Text::get_fontSize()
extern "C" int32_t Text_get_fontSize_m3105730761 (Text_t356221433 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_fontSize_m581313067(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
int32_t L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Text::set_fontSize(System.Int32)
extern "C" void Text_set_fontSize_m2101304336 (Text_t356221433 * __this, int32_t ___value0, const MethodInfo* method)
{
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_fontSize_m581313067(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0017;
}
}
{
goto IL_002f;
}
IL_0017:
{
FontData_t2614388407 * L_3 = __this->get_m_FontData_28();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_fontSize_m1055003686(L_3, L_4, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
}
IL_002f:
{
return;
}
}
// UnityEngine.HorizontalWrapMode UnityEngine.UI.Text::get_horizontalOverflow()
extern "C" int32_t Text_get_horizontalOverflow_m3717876488 (Text_t356221433 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_horizontalOverflow_m2335063062(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
int32_t L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Text::set_horizontalOverflow(UnityEngine.HorizontalWrapMode)
extern "C" void Text_set_horizontalOverflow_m1927259605 (Text_t356221433 * __this, int32_t ___value0, const MethodInfo* method)
{
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_horizontalOverflow_m2335063062(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0017;
}
}
{
goto IL_002f;
}
IL_0017:
{
FontData_t2614388407 * L_3 = __this->get_m_FontData_28();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_horizontalOverflow_m1847453819(L_3, L_4, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
}
IL_002f:
{
return;
}
}
// UnityEngine.VerticalWrapMode UnityEngine.UI.Text::get_verticalOverflow()
extern "C" int32_t Text_get_verticalOverflow_m3134063496 (Text_t356221433 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_verticalOverflow_m83665814(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
int32_t L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Text::set_verticalOverflow(UnityEngine.VerticalWrapMode)
extern "C" void Text_set_verticalOverflow_m1773740637 (Text_t356221433 * __this, int32_t ___value0, const MethodInfo* method)
{
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_verticalOverflow_m83665814(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0017;
}
}
{
goto IL_002f;
}
IL_0017:
{
FontData_t2614388407 * L_3 = __this->get_m_FontData_28();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_verticalOverflow_m4211463083(L_3, L_4, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
}
IL_002f:
{
return;
}
}
// System.Single UnityEngine.UI.Text::get_lineSpacing()
extern "C" float Text_get_lineSpacing_m1813883264 (Text_t356221433 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
float L_1 = FontData_get_lineSpacing_m4145828566(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
float L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Text::set_lineSpacing(System.Single)
extern "C" void Text_set_lineSpacing_m3040793467 (Text_t356221433 * __this, float ___value0, const MethodInfo* method)
{
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
float L_1 = FontData_get_lineSpacing_m4145828566(L_0, /*hidden argument*/NULL);
float L_2 = ___value0;
if ((!(((float)L_1) == ((float)L_2))))
{
goto IL_0017;
}
}
{
goto IL_002f;
}
IL_0017:
{
FontData_t2614388407 * L_3 = __this->get_m_FontData_28();
float L_4 = ___value0;
NullCheck(L_3);
FontData_set_lineSpacing_m4007864705(L_3, L_4, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
}
IL_002f:
{
return;
}
}
// UnityEngine.FontStyle UnityEngine.UI.Text::get_fontStyle()
extern "C" int32_t Text_get_fontStyle_m1386722317 (Text_t356221433 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_fontStyle_m1208804911(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
int32_t L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.Text::set_fontStyle(UnityEngine.FontStyle)
extern "C" void Text_set_fontStyle_m1766503514 (Text_t356221433 * __this, int32_t ___value0, const MethodInfo* method)
{
{
FontData_t2614388407 * L_0 = __this->get_m_FontData_28();
NullCheck(L_0);
int32_t L_1 = FontData_get_fontStyle_m1208804911(L_0, /*hidden argument*/NULL);
int32_t L_2 = ___value0;
if ((!(((uint32_t)L_1) == ((uint32_t)L_2))))
{
goto IL_0017;
}
}
{
goto IL_002f;
}
IL_0017:
{
FontData_t2614388407 * L_3 = __this->get_m_FontData_28();
int32_t L_4 = ___value0;
NullCheck(L_3);
FontData_set_fontStyle_m130790064(L_3, L_4, /*hidden argument*/NULL);
VirtActionInvoker0::Invoke(28 /* System.Void UnityEngine.UI.Graphic::SetVerticesDirty() */, __this);
VirtActionInvoker0::Invoke(27 /* System.Void UnityEngine.UI.Graphic::SetLayoutDirty() */, __this);
}
IL_002f:
{
return;
}
}
// System.Single UnityEngine.UI.Text::get_pixelsPerUnit()
extern "C" float Text_get_pixelsPerUnit_m1202765365 (Text_t356221433 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_get_pixelsPerUnit_m1202765365_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Canvas_t209405766 * V_0 = NULL;
float V_1 = 0.0f;
{
Canvas_t209405766 * L_0 = Graphic_get_canvas_m274525322(__this, /*hidden argument*/NULL);
V_0 = L_0;
Canvas_t209405766 * L_1 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_1, /*hidden argument*/NULL);
if (L_2)
{
goto IL_001e;
}
}
{
V_1 = (1.0f);
goto IL_0096;
}
IL_001e:
{
Font_t4239498691 * L_3 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Implicit_m2856731593(NULL /*static, unused*/, L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_003e;
}
}
{
Font_t4239498691 * L_5 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
NullCheck(L_5);
bool L_6 = Font_get_dynamic_m1803576936(L_5, /*hidden argument*/NULL);
if (!L_6)
{
goto IL_004a;
}
}
IL_003e:
{
Canvas_t209405766 * L_7 = V_0;
NullCheck(L_7);
float L_8 = Canvas_get_scaleFactor_m1115379735(L_7, /*hidden argument*/NULL);
V_1 = L_8;
goto IL_0096;
}
IL_004a:
{
FontData_t2614388407 * L_9 = __this->get_m_FontData_28();
NullCheck(L_9);
int32_t L_10 = FontData_get_fontSize_m581313067(L_9, /*hidden argument*/NULL);
if ((((int32_t)L_10) <= ((int32_t)0)))
{
goto IL_006c;
}
}
{
Font_t4239498691 * L_11 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
NullCheck(L_11);
int32_t L_12 = Font_get_fontSize_m1732593415(L_11, /*hidden argument*/NULL);
if ((((int32_t)L_12) > ((int32_t)0)))
{
goto IL_0077;
}
}
IL_006c:
{
V_1 = (1.0f);
goto IL_0096;
}
IL_0077:
{
Font_t4239498691 * L_13 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
NullCheck(L_13);
int32_t L_14 = Font_get_fontSize_m1732593415(L_13, /*hidden argument*/NULL);
FontData_t2614388407 * L_15 = __this->get_m_FontData_28();
NullCheck(L_15);
int32_t L_16 = FontData_get_fontSize_m581313067(L_15, /*hidden argument*/NULL);
V_1 = ((float)((float)(((float)((float)L_14)))/(float)(((float)((float)L_16)))));
goto IL_0096;
}
IL_0096:
{
float L_17 = V_1;
return L_17;
}
}
// System.Void UnityEngine.UI.Text::OnEnable()
extern "C" void Text_OnEnable_m820523638 (Text_t356221433 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_OnEnable_m820523638_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
MaskableGraphic_OnEnable_m694112877(__this, /*hidden argument*/NULL);
TextGenerator_t647235000 * L_0 = Text_get_cachedTextGenerator_m224335893(__this, /*hidden argument*/NULL);
NullCheck(L_0);
TextGenerator_Invalidate_m3217235344(L_0, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(FontUpdateTracker_t2633059652_il2cpp_TypeInfo_var);
FontUpdateTracker_TrackText_m1295609677(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Text::OnDisable()
extern "C" void Text_OnDisable_m3232354257 (Text_t356221433 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_OnDisable_m3232354257_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(FontUpdateTracker_t2633059652_il2cpp_TypeInfo_var);
FontUpdateTracker_UntrackText_m3827316510(NULL /*static, unused*/, __this, /*hidden argument*/NULL);
MaskableGraphic_OnDisable_m2605143092(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Text::UpdateGeometry()
extern "C" void Text_UpdateGeometry_m1148372319 (Text_t356221433 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_UpdateGeometry_m1148372319_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Font_t4239498691 * L_0 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_001a;
}
}
{
Graphic_UpdateGeometry_m2431537946(__this, /*hidden argument*/NULL);
}
IL_001a:
{
return;
}
}
// System.Void UnityEngine.UI.Text::AssignDefaultFont()
extern "C" void Text_AssignDefaultFont_m1295571657 (Text_t356221433 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_AssignDefaultFont_m1295571657_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Font_t4239498691 * L_0 = Resources_GetBuiltinResource_TisFont_t4239498691_m2274058818(NULL /*static, unused*/, _stringLiteral4003888335, /*hidden argument*/Resources_GetBuiltinResource_TisFont_t4239498691_m2274058818_MethodInfo_var);
Text_set_font_m1095513810(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.TextGenerationSettings UnityEngine.UI.Text::GetGenerationSettings(UnityEngine.Vector2)
extern "C" TextGenerationSettings_t2543476768 Text_GetGenerationSettings_m3659206515 (Text_t356221433 * __this, Vector2_t2243707579 ___extents0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_GetGenerationSettings_m3659206515_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
TextGenerationSettings_t2543476768 V_0;
memset(&V_0, 0, sizeof(V_0));
TextGenerationSettings_t2543476768 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Initobj (TextGenerationSettings_t2543476768_il2cpp_TypeInfo_var, (&V_0));
Vector2_t2243707579 L_0 = ___extents0;
(&V_0)->set_generationExtents_15(L_0);
Font_t4239498691 * L_1 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_006a;
}
}
{
Font_t4239498691 * L_3 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
NullCheck(L_3);
bool L_4 = Font_get_dynamic_m1803576936(L_3, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_006a;
}
}
{
FontData_t2614388407 * L_5 = __this->get_m_FontData_28();
NullCheck(L_5);
int32_t L_6 = FontData_get_fontSize_m581313067(L_5, /*hidden argument*/NULL);
(&V_0)->set_fontSize_2(L_6);
FontData_t2614388407 * L_7 = __this->get_m_FontData_28();
NullCheck(L_7);
int32_t L_8 = FontData_get_minSize_m3288934630(L_7, /*hidden argument*/NULL);
(&V_0)->set_resizeTextMinSize_10(L_8);
FontData_t2614388407 * L_9 = __this->get_m_FontData_28();
NullCheck(L_9);
int32_t L_10 = FontData_get_maxSize_m3261234724(L_9, /*hidden argument*/NULL);
(&V_0)->set_resizeTextMaxSize_11(L_10);
}
IL_006a:
{
FontData_t2614388407 * L_11 = __this->get_m_FontData_28();
NullCheck(L_11);
int32_t L_12 = FontData_get_alignment_m1588881892(L_11, /*hidden argument*/NULL);
(&V_0)->set_textAnchor_7(L_12);
FontData_t2614388407 * L_13 = __this->get_m_FontData_28();
NullCheck(L_13);
bool L_14 = FontData_get_alignByGeometry_m63062771(L_13, /*hidden argument*/NULL);
(&V_0)->set_alignByGeometry_8(L_14);
float L_15 = Text_get_pixelsPerUnit_m1202765365(__this, /*hidden argument*/NULL);
(&V_0)->set_scaleFactor_5(L_15);
Color_t2020392075 L_16 = VirtFuncInvoker0< Color_t2020392075 >::Invoke(22 /* UnityEngine.Color UnityEngine.UI.Graphic::get_color() */, __this);
(&V_0)->set_color_1(L_16);
Font_t4239498691 * L_17 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
(&V_0)->set_font_0(L_17);
RectTransform_t3349966182 * L_18 = Graphic_get_rectTransform_m2697395074(__this, /*hidden argument*/NULL);
NullCheck(L_18);
Vector2_t2243707579 L_19 = RectTransform_get_pivot_m759087479(L_18, /*hidden argument*/NULL);
(&V_0)->set_pivot_16(L_19);
FontData_t2614388407 * L_20 = __this->get_m_FontData_28();
NullCheck(L_20);
bool L_21 = FontData_get_richText_m2013560754(L_20, /*hidden argument*/NULL);
(&V_0)->set_richText_4(L_21);
FontData_t2614388407 * L_22 = __this->get_m_FontData_28();
NullCheck(L_22);
float L_23 = FontData_get_lineSpacing_m4145828566(L_22, /*hidden argument*/NULL);
(&V_0)->set_lineSpacing_3(L_23);
FontData_t2614388407 * L_24 = __this->get_m_FontData_28();
NullCheck(L_24);
int32_t L_25 = FontData_get_fontStyle_m1208804911(L_24, /*hidden argument*/NULL);
(&V_0)->set_fontStyle_6(L_25);
FontData_t2614388407 * L_26 = __this->get_m_FontData_28();
NullCheck(L_26);
bool L_27 = FontData_get_bestFit_m3106926966(L_26, /*hidden argument*/NULL);
(&V_0)->set_resizeTextForBestFit_9(L_27);
(&V_0)->set_updateBounds_12((bool)0);
FontData_t2614388407 * L_28 = __this->get_m_FontData_28();
NullCheck(L_28);
int32_t L_29 = FontData_get_horizontalOverflow_m2335063062(L_28, /*hidden argument*/NULL);
(&V_0)->set_horizontalOverflow_14(L_29);
FontData_t2614388407 * L_30 = __this->get_m_FontData_28();
NullCheck(L_30);
int32_t L_31 = FontData_get_verticalOverflow_m83665814(L_30, /*hidden argument*/NULL);
(&V_0)->set_verticalOverflow_13(L_31);
TextGenerationSettings_t2543476768 L_32 = V_0;
V_1 = L_32;
goto IL_0142;
}
IL_0142:
{
TextGenerationSettings_t2543476768 L_33 = V_1;
return L_33;
}
}
// UnityEngine.Vector2 UnityEngine.UI.Text::GetTextAnchorPivot(UnityEngine.TextAnchor)
extern "C" Vector2_t2243707579 Text_GetTextAnchorPivot_m2651969380 (Il2CppObject * __this /* static, unused */, int32_t ___anchor0, const MethodInfo* method)
{
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
{
int32_t L_0 = ___anchor0;
switch (L_0)
{
case 0:
{
goto IL_00ae;
}
case 1:
{
goto IL_00c3;
}
case 2:
{
goto IL_00d8;
}
case 3:
{
goto IL_006f;
}
case 4:
{
goto IL_0084;
}
case 5:
{
goto IL_0099;
}
case 6:
{
goto IL_0030;
}
case 7:
{
goto IL_0045;
}
case 8:
{
goto IL_005a;
}
}
}
{
goto IL_00ed;
}
IL_0030:
{
Vector2_t2243707579 L_1;
memset(&L_1, 0, sizeof(L_1));
Vector2__ctor_m3067419446(&L_1, (0.0f), (0.0f), /*hidden argument*/NULL);
V_0 = L_1;
goto IL_00f8;
}
IL_0045:
{
Vector2_t2243707579 L_2;
memset(&L_2, 0, sizeof(L_2));
Vector2__ctor_m3067419446(&L_2, (0.5f), (0.0f), /*hidden argument*/NULL);
V_0 = L_2;
goto IL_00f8;
}
IL_005a:
{
Vector2_t2243707579 L_3;
memset(&L_3, 0, sizeof(L_3));
Vector2__ctor_m3067419446(&L_3, (1.0f), (0.0f), /*hidden argument*/NULL);
V_0 = L_3;
goto IL_00f8;
}
IL_006f:
{
Vector2_t2243707579 L_4;
memset(&L_4, 0, sizeof(L_4));
Vector2__ctor_m3067419446(&L_4, (0.0f), (0.5f), /*hidden argument*/NULL);
V_0 = L_4;
goto IL_00f8;
}
IL_0084:
{
Vector2_t2243707579 L_5;
memset(&L_5, 0, sizeof(L_5));
Vector2__ctor_m3067419446(&L_5, (0.5f), (0.5f), /*hidden argument*/NULL);
V_0 = L_5;
goto IL_00f8;
}
IL_0099:
{
Vector2_t2243707579 L_6;
memset(&L_6, 0, sizeof(L_6));
Vector2__ctor_m3067419446(&L_6, (1.0f), (0.5f), /*hidden argument*/NULL);
V_0 = L_6;
goto IL_00f8;
}
IL_00ae:
{
Vector2_t2243707579 L_7;
memset(&L_7, 0, sizeof(L_7));
Vector2__ctor_m3067419446(&L_7, (0.0f), (1.0f), /*hidden argument*/NULL);
V_0 = L_7;
goto IL_00f8;
}
IL_00c3:
{
Vector2_t2243707579 L_8;
memset(&L_8, 0, sizeof(L_8));
Vector2__ctor_m3067419446(&L_8, (0.5f), (1.0f), /*hidden argument*/NULL);
V_0 = L_8;
goto IL_00f8;
}
IL_00d8:
{
Vector2_t2243707579 L_9;
memset(&L_9, 0, sizeof(L_9));
Vector2__ctor_m3067419446(&L_9, (1.0f), (1.0f), /*hidden argument*/NULL);
V_0 = L_9;
goto IL_00f8;
}
IL_00ed:
{
Vector2_t2243707579 L_10 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
V_0 = L_10;
goto IL_00f8;
}
IL_00f8:
{
Vector2_t2243707579 L_11 = V_0;
return L_11;
}
}
// System.Void UnityEngine.UI.Text::OnPopulateMesh(UnityEngine.UI.VertexHelper)
extern "C" void Text_OnPopulateMesh_m835520031 (Text_t356221433 * __this, VertexHelper_t385374196 * ___toFill0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text_OnPopulateMesh_m835520031_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Vector2_t2243707579 V_0;
memset(&V_0, 0, sizeof(V_0));
Rect_t3681755626 V_1;
memset(&V_1, 0, sizeof(V_1));
TextGenerationSettings_t2543476768 V_2;
memset(&V_2, 0, sizeof(V_2));
Il2CppObject* V_3 = NULL;
float V_4 = 0.0f;
int32_t V_5 = 0;
Vector2_t2243707579 V_6;
memset(&V_6, 0, sizeof(V_6));
UIVertex_t1204258818 V_7;
memset(&V_7, 0, sizeof(V_7));
UIVertex_t1204258818 V_8;
memset(&V_8, 0, sizeof(V_8));
int32_t V_9 = 0;
int32_t V_10 = 0;
int32_t V_11 = 0;
int32_t V_12 = 0;
{
Font_t4239498691 * L_0 = Text_get_font_m3115501113(__this, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0017;
}
}
{
goto IL_0209;
}
IL_0017:
{
__this->set_m_DisableFontTextureRebuiltCallback_33((bool)1);
RectTransform_t3349966182 * L_2 = Graphic_get_rectTransform_m2697395074(__this, /*hidden argument*/NULL);
NullCheck(L_2);
Rect_t3681755626 L_3 = RectTransform_get_rect_m73954734(L_2, /*hidden argument*/NULL);
V_1 = L_3;
Vector2_t2243707579 L_4 = Rect_get_size_m3833121112((&V_1), /*hidden argument*/NULL);
V_0 = L_4;
Vector2_t2243707579 L_5 = V_0;
TextGenerationSettings_t2543476768 L_6 = Text_GetGenerationSettings_m3659206515(__this, L_5, /*hidden argument*/NULL);
V_2 = L_6;
TextGenerator_t647235000 * L_7 = Text_get_cachedTextGenerator_m224335893(__this, /*hidden argument*/NULL);
String_t* L_8 = VirtFuncInvoker0< String_t* >::Invoke(71 /* System.String UnityEngine.UI.Text::get_text() */, __this);
TextGenerationSettings_t2543476768 L_9 = V_2;
GameObject_t1756533147 * L_10 = Component_get_gameObject_m3105766835(__this, /*hidden argument*/NULL);
NullCheck(L_7);
TextGenerator_PopulateWithErrors_m467881283(L_7, L_8, L_9, L_10, /*hidden argument*/NULL);
TextGenerator_t647235000 * L_11 = Text_get_cachedTextGenerator_m224335893(__this, /*hidden argument*/NULL);
NullCheck(L_11);
Il2CppObject* L_12 = TextGenerator_get_verts_m3124035267(L_11, /*hidden argument*/NULL);
V_3 = L_12;
float L_13 = Text_get_pixelsPerUnit_m1202765365(__this, /*hidden argument*/NULL);
V_4 = ((float)((float)(1.0f)/(float)L_13));
Il2CppObject* L_14 = V_3;
NullCheck(L_14);
int32_t L_15 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* System.Int32 System.Collections.Generic.ICollection`1<UnityEngine.UIVertex>::get_Count() */, ICollection_1_t2156334123_il2cpp_TypeInfo_var, L_14);
V_5 = ((int32_t)((int32_t)L_15-(int32_t)4));
Il2CppObject* L_16 = V_3;
NullCheck(L_16);
UIVertex_t1204258818 L_17 = InterfaceFuncInvoker1< UIVertex_t1204258818 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, IList_1_t1745199419_il2cpp_TypeInfo_var, L_16, 0);
V_7 = L_17;
Vector3_t2243707580 * L_18 = (&V_7)->get_address_of_position_0();
float L_19 = L_18->get_x_1();
Il2CppObject* L_20 = V_3;
NullCheck(L_20);
UIVertex_t1204258818 L_21 = InterfaceFuncInvoker1< UIVertex_t1204258818 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, IList_1_t1745199419_il2cpp_TypeInfo_var, L_20, 0);
V_8 = L_21;
Vector3_t2243707580 * L_22 = (&V_8)->get_address_of_position_0();
float L_23 = L_22->get_y_2();
Vector2_t2243707579 L_24;
memset(&L_24, 0, sizeof(L_24));
Vector2__ctor_m3067419446(&L_24, L_19, L_23, /*hidden argument*/NULL);
float L_25 = V_4;
Vector2_t2243707579 L_26 = Vector2_op_Multiply_m4236139442(NULL /*static, unused*/, L_24, L_25, /*hidden argument*/NULL);
V_6 = L_26;
Vector2_t2243707579 L_27 = V_6;
Vector2_t2243707579 L_28 = Graphic_PixelAdjustPoint_m451653269(__this, L_27, /*hidden argument*/NULL);
Vector2_t2243707579 L_29 = V_6;
Vector2_t2243707579 L_30 = Vector2_op_Subtraction_m1984215297(NULL /*static, unused*/, L_28, L_29, /*hidden argument*/NULL);
V_6 = L_30;
VertexHelper_t385374196 * L_31 = ___toFill0;
NullCheck(L_31);
VertexHelper_Clear_m648714328(L_31, /*hidden argument*/NULL);
Vector2_t2243707579 L_32 = V_6;
Vector2_t2243707579 L_33 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
bool L_34 = Vector2_op_Inequality_m4283136193(NULL /*static, unused*/, L_32, L_33, /*hidden argument*/NULL);
if (!L_34)
{
goto IL_0194;
}
}
{
V_9 = 0;
goto IL_0185;
}
IL_00e0:
{
int32_t L_35 = V_9;
V_10 = ((int32_t)((int32_t)L_35&(int32_t)3));
UIVertexU5BU5D_t3048644023* L_36 = __this->get_m_TempVerts_34();
int32_t L_37 = V_10;
NullCheck(L_36);
Il2CppObject* L_38 = V_3;
int32_t L_39 = V_9;
NullCheck(L_38);
UIVertex_t1204258818 L_40 = InterfaceFuncInvoker1< UIVertex_t1204258818 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, IList_1_t1745199419_il2cpp_TypeInfo_var, L_38, L_39);
(*(UIVertex_t1204258818 *)((L_36)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_37)))) = L_40;
UIVertexU5BU5D_t3048644023* L_41 = __this->get_m_TempVerts_34();
int32_t L_42 = V_10;
NullCheck(L_41);
UIVertex_t1204258818 * L_43 = ((L_41)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_42)));
Vector3_t2243707580 L_44 = L_43->get_position_0();
float L_45 = V_4;
Vector3_t2243707580 L_46 = Vector3_op_Multiply_m1351554733(NULL /*static, unused*/, L_44, L_45, /*hidden argument*/NULL);
L_43->set_position_0(L_46);
UIVertexU5BU5D_t3048644023* L_47 = __this->get_m_TempVerts_34();
int32_t L_48 = V_10;
NullCheck(L_47);
Vector3_t2243707580 * L_49 = ((L_47)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_48)))->get_address_of_position_0();
Vector3_t2243707580 * L_50 = L_49;
float L_51 = L_50->get_x_1();
float L_52 = (&V_6)->get_x_0();
L_50->set_x_1(((float)((float)L_51+(float)L_52)));
UIVertexU5BU5D_t3048644023* L_53 = __this->get_m_TempVerts_34();
int32_t L_54 = V_10;
NullCheck(L_53);
Vector3_t2243707580 * L_55 = ((L_53)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_54)))->get_address_of_position_0();
Vector3_t2243707580 * L_56 = L_55;
float L_57 = L_56->get_y_2();
float L_58 = (&V_6)->get_y_1();
L_56->set_y_2(((float)((float)L_57+(float)L_58)));
int32_t L_59 = V_10;
if ((!(((uint32_t)L_59) == ((uint32_t)3))))
{
goto IL_017e;
}
}
{
VertexHelper_t385374196 * L_60 = ___toFill0;
UIVertexU5BU5D_t3048644023* L_61 = __this->get_m_TempVerts_34();
NullCheck(L_60);
VertexHelper_AddUIVertexQuad_m280792808(L_60, L_61, /*hidden argument*/NULL);
}
IL_017e:
{
int32_t L_62 = V_9;
V_9 = ((int32_t)((int32_t)L_62+(int32_t)1));
}
IL_0185:
{
int32_t L_63 = V_9;
int32_t L_64 = V_5;
if ((((int32_t)L_63) < ((int32_t)L_64)))
{
goto IL_00e0;
}
}
{
goto IL_0202;
}
IL_0194:
{
V_11 = 0;
goto IL_01f8;
}
IL_019d:
{
int32_t L_65 = V_11;
V_12 = ((int32_t)((int32_t)L_65&(int32_t)3));
UIVertexU5BU5D_t3048644023* L_66 = __this->get_m_TempVerts_34();
int32_t L_67 = V_12;
NullCheck(L_66);
Il2CppObject* L_68 = V_3;
int32_t L_69 = V_11;
NullCheck(L_68);
UIVertex_t1204258818 L_70 = InterfaceFuncInvoker1< UIVertex_t1204258818 , int32_t >::Invoke(3 /* !0 System.Collections.Generic.IList`1<UnityEngine.UIVertex>::get_Item(System.Int32) */, IList_1_t1745199419_il2cpp_TypeInfo_var, L_68, L_69);
(*(UIVertex_t1204258818 *)((L_66)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_67)))) = L_70;
UIVertexU5BU5D_t3048644023* L_71 = __this->get_m_TempVerts_34();
int32_t L_72 = V_12;
NullCheck(L_71);
UIVertex_t1204258818 * L_73 = ((L_71)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_72)));
Vector3_t2243707580 L_74 = L_73->get_position_0();
float L_75 = V_4;
Vector3_t2243707580 L_76 = Vector3_op_Multiply_m1351554733(NULL /*static, unused*/, L_74, L_75, /*hidden argument*/NULL);
L_73->set_position_0(L_76);
int32_t L_77 = V_12;
if ((!(((uint32_t)L_77) == ((uint32_t)3))))
{
goto IL_01f1;
}
}
{
VertexHelper_t385374196 * L_78 = ___toFill0;
UIVertexU5BU5D_t3048644023* L_79 = __this->get_m_TempVerts_34();
NullCheck(L_78);
VertexHelper_AddUIVertexQuad_m280792808(L_78, L_79, /*hidden argument*/NULL);
}
IL_01f1:
{
int32_t L_80 = V_11;
V_11 = ((int32_t)((int32_t)L_80+(int32_t)1));
}
IL_01f8:
{
int32_t L_81 = V_11;
int32_t L_82 = V_5;
if ((((int32_t)L_81) < ((int32_t)L_82)))
{
goto IL_019d;
}
}
{
}
IL_0202:
{
__this->set_m_DisableFontTextureRebuiltCallback_33((bool)0);
}
IL_0209:
{
return;
}
}
// System.Void UnityEngine.UI.Text::CalculateLayoutInputHorizontal()
extern "C" void Text_CalculateLayoutInputHorizontal_m1578553982 (Text_t356221433 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.Text::CalculateLayoutInputVertical()
extern "C" void Text_CalculateLayoutInputVertical_m1732119136 (Text_t356221433 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Single UnityEngine.UI.Text::get_minWidth()
extern "C" float Text_get_minWidth_m1519703499 (Text_t356221433 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
V_0 = (0.0f);
goto IL_000c;
}
IL_000c:
{
float L_0 = V_0;
return L_0;
}
}
// System.Single UnityEngine.UI.Text::get_preferredWidth()
extern "C" float Text_get_preferredWidth_m3352156860 (Text_t356221433 * __this, const MethodInfo* method)
{
TextGenerationSettings_t2543476768 V_0;
memset(&V_0, 0, sizeof(V_0));
float V_1 = 0.0f;
{
Vector2_t2243707579 L_0 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
TextGenerationSettings_t2543476768 L_1 = Text_GetGenerationSettings_m3659206515(__this, L_0, /*hidden argument*/NULL);
V_0 = L_1;
TextGenerator_t647235000 * L_2 = Text_get_cachedTextGeneratorForLayout_m1357670532(__this, /*hidden argument*/NULL);
String_t* L_3 = __this->get_m_Text_29();
TextGenerationSettings_t2543476768 L_4 = V_0;
NullCheck(L_2);
float L_5 = TextGenerator_GetPreferredWidth_m3480985839(L_2, L_3, L_4, /*hidden argument*/NULL);
float L_6 = Text_get_pixelsPerUnit_m1202765365(__this, /*hidden argument*/NULL);
V_1 = ((float)((float)L_5/(float)L_6));
goto IL_002c;
}
IL_002c:
{
float L_7 = V_1;
return L_7;
}
}
// System.Single UnityEngine.UI.Text::get_flexibleWidth()
extern "C" float Text_get_flexibleWidth_m2332182958 (Text_t356221433 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
V_0 = (-1.0f);
goto IL_000c;
}
IL_000c:
{
float L_0 = V_0;
return L_0;
}
}
// System.Single UnityEngine.UI.Text::get_minHeight()
extern "C" float Text_get_minHeight_m1562513104 (Text_t356221433 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
V_0 = (0.0f);
goto IL_000c;
}
IL_000c:
{
float L_0 = V_0;
return L_0;
}
}
// System.Single UnityEngine.UI.Text::get_preferredHeight()
extern "C" float Text_get_preferredHeight_m452532789 (Text_t356221433 * __this, const MethodInfo* method)
{
TextGenerationSettings_t2543476768 V_0;
memset(&V_0, 0, sizeof(V_0));
Rect_t3681755626 V_1;
memset(&V_1, 0, sizeof(V_1));
Vector2_t2243707579 V_2;
memset(&V_2, 0, sizeof(V_2));
float V_3 = 0.0f;
{
Rect_t3681755626 L_0 = Graphic_GetPixelAdjustedRect_m245815321(__this, /*hidden argument*/NULL);
V_1 = L_0;
Vector2_t2243707579 L_1 = Rect_get_size_m3833121112((&V_1), /*hidden argument*/NULL);
V_2 = L_1;
float L_2 = (&V_2)->get_x_0();
Vector2_t2243707579 L_3;
memset(&L_3, 0, sizeof(L_3));
Vector2__ctor_m3067419446(&L_3, L_2, (0.0f), /*hidden argument*/NULL);
TextGenerationSettings_t2543476768 L_4 = Text_GetGenerationSettings_m3659206515(__this, L_3, /*hidden argument*/NULL);
V_0 = L_4;
TextGenerator_t647235000 * L_5 = Text_get_cachedTextGeneratorForLayout_m1357670532(__this, /*hidden argument*/NULL);
String_t* L_6 = __this->get_m_Text_29();
TextGenerationSettings_t2543476768 L_7 = V_0;
NullCheck(L_5);
float L_8 = TextGenerator_GetPreferredHeight_m274483688(L_5, L_6, L_7, /*hidden argument*/NULL);
float L_9 = Text_get_pixelsPerUnit_m1202765365(__this, /*hidden argument*/NULL);
V_3 = ((float)((float)L_8/(float)L_9));
goto IL_0047;
}
IL_0047:
{
float L_10 = V_3;
return L_10;
}
}
// System.Single UnityEngine.UI.Text::get_flexibleHeight()
extern "C" float Text_get_flexibleHeight_m2366977369 (Text_t356221433 * __this, const MethodInfo* method)
{
float V_0 = 0.0f;
{
V_0 = (-1.0f);
goto IL_000c;
}
IL_000c:
{
float L_0 = V_0;
return L_0;
}
}
// System.Int32 UnityEngine.UI.Text::get_layoutPriority()
extern "C" int32_t Text_get_layoutPriority_m1088242691 (Text_t356221433 * __this, const MethodInfo* method)
{
int32_t V_0 = 0;
{
V_0 = 0;
goto IL_0008;
}
IL_0008:
{
int32_t L_0 = V_0;
return L_0;
}
}
// System.Void UnityEngine.UI.Text::.cctor()
extern "C" void Text__cctor_m3352338011 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Text__cctor_m3352338011_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
((Text_t356221433_StaticFields*)Text_t356221433_il2cpp_TypeInfo_var->static_fields)->set_s_DefaultText_32((Material_t193706927 *)NULL);
return;
}
}
// System.Void UnityEngine.UI.Toggle::.ctor()
extern "C" void Toggle__ctor_m272261215 (Toggle_t3976754468 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Toggle__ctor_m272261215_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_toggleTransition_16(1);
ToggleEvent_t1896830814 * L_0 = (ToggleEvent_t1896830814 *)il2cpp_codegen_object_new(ToggleEvent_t1896830814_il2cpp_TypeInfo_var);
ToggleEvent__ctor_m1310623378(L_0, /*hidden argument*/NULL);
__this->set_onValueChanged_19(L_0);
IL2CPP_RUNTIME_CLASS_INIT(Selectable_t1490392188_il2cpp_TypeInfo_var);
Selectable__ctor_m1440593935(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.UI.ToggleGroup UnityEngine.UI.Toggle::get_group()
extern "C" ToggleGroup_t1030026315 * Toggle_get_group_m83566222 (Toggle_t3976754468 * __this, const MethodInfo* method)
{
ToggleGroup_t1030026315 * V_0 = NULL;
{
ToggleGroup_t1030026315 * L_0 = __this->get_m_Group_18();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
ToggleGroup_t1030026315 * L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Toggle::set_group(UnityEngine.UI.ToggleGroup)
extern "C" void Toggle_set_group_m3833595685 (Toggle_t3976754468 * __this, ToggleGroup_t1030026315 * ___value0, const MethodInfo* method)
{
{
ToggleGroup_t1030026315 * L_0 = ___value0;
__this->set_m_Group_18(L_0);
ToggleGroup_t1030026315 * L_1 = __this->get_m_Group_18();
Toggle_SetToggleGroup_m3009136959(__this, L_1, (bool)1, /*hidden argument*/NULL);
Toggle_PlayEffect_m3950629415(__this, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Toggle::Rebuild(UnityEngine.UI.CanvasUpdate)
extern "C" void Toggle_Rebuild_m929023818 (Toggle_t3976754468 * __this, int32_t ___executing0, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.Toggle::LayoutComplete()
extern "C" void Toggle_LayoutComplete_m3333019142 (Toggle_t3976754468 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.Toggle::GraphicUpdateComplete()
extern "C" void Toggle_GraphicUpdateComplete_m491158481 (Toggle_t3976754468 * __this, const MethodInfo* method)
{
{
return;
}
}
// System.Void UnityEngine.UI.Toggle::OnEnable()
extern "C" void Toggle_OnEnable_m559022123 (Toggle_t3976754468 * __this, const MethodInfo* method)
{
{
Selectable_OnEnable_m3825327683(__this, /*hidden argument*/NULL);
ToggleGroup_t1030026315 * L_0 = __this->get_m_Group_18();
Toggle_SetToggleGroup_m3009136959(__this, L_0, (bool)0, /*hidden argument*/NULL);
Toggle_PlayEffect_m3950629415(__this, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Toggle::OnDisable()
extern "C" void Toggle_OnDisable_m1946363040 (Toggle_t3976754468 * __this, const MethodInfo* method)
{
{
Toggle_SetToggleGroup_m3009136959(__this, (ToggleGroup_t1030026315 *)NULL, (bool)0, /*hidden argument*/NULL);
Selectable_OnDisable_m2660228016(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Toggle::OnDidApplyAnimationProperties()
extern "C" void Toggle_OnDidApplyAnimationProperties_m325835214 (Toggle_t3976754468 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Toggle_OnDidApplyAnimationProperties_m325835214_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
Color_t2020392075 V_1;
memset(&V_1, 0, sizeof(V_1));
{
Graphic_t2426225576 * L_0 = __this->get_graphic_17();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0059;
}
}
{
Graphic_t2426225576 * L_2 = __this->get_graphic_17();
NullCheck(L_2);
CanvasRenderer_t261436805 * L_3 = Graphic_get_canvasRenderer_m2902370808(L_2, /*hidden argument*/NULL);
NullCheck(L_3);
Color_t2020392075 L_4 = CanvasRenderer_GetColor_m3395389094(L_3, /*hidden argument*/NULL);
V_1 = L_4;
float L_5 = (&V_1)->get_a_3();
IL2CPP_RUNTIME_CLASS_INIT(Mathf_t2336485820_il2cpp_TypeInfo_var);
bool L_6 = Mathf_Approximately_m1064446634(NULL /*static, unused*/, L_5, (0.0f), /*hidden argument*/NULL);
V_0 = (bool)((((int32_t)L_6) == ((int32_t)0))? 1 : 0);
bool L_7 = __this->get_m_IsOn_20();
bool L_8 = V_0;
if ((((int32_t)L_7) == ((int32_t)L_8)))
{
goto IL_0058;
}
}
{
bool L_9 = V_0;
__this->set_m_IsOn_20(L_9);
bool L_10 = V_0;
Toggle_Set_m861914546(__this, (bool)((((int32_t)L_10) == ((int32_t)0))? 1 : 0), /*hidden argument*/NULL);
}
IL_0058:
{
}
IL_0059:
{
Selectable_OnDidApplyAnimationProperties_m3173688706(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Toggle::SetToggleGroup(UnityEngine.UI.ToggleGroup,System.Boolean)
extern "C" void Toggle_SetToggleGroup_m3009136959 (Toggle_t3976754468 * __this, ToggleGroup_t1030026315 * ___newGroup0, bool ___setMemberValue1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Toggle_SetToggleGroup_m3009136959_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
ToggleGroup_t1030026315 * V_0 = NULL;
{
ToggleGroup_t1030026315 * L_0 = __this->get_m_Group_18();
V_0 = L_0;
ToggleGroup_t1030026315 * L_1 = __this->get_m_Group_18();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_2 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_1, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_0025;
}
}
{
ToggleGroup_t1030026315 * L_3 = __this->get_m_Group_18();
NullCheck(L_3);
ToggleGroup_UnregisterToggle_m1686703375(L_3, __this, /*hidden argument*/NULL);
}
IL_0025:
{
bool L_4 = ___setMemberValue1;
if (!L_4)
{
goto IL_0032;
}
}
{
ToggleGroup_t1030026315 * L_5 = ___newGroup0;
__this->set_m_Group_18(L_5);
}
IL_0032:
{
ToggleGroup_t1030026315 * L_6 = ___newGroup0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_7 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_6, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0050;
}
}
{
bool L_8 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_8)
{
goto IL_0050;
}
}
{
ToggleGroup_t1030026315 * L_9 = ___newGroup0;
NullCheck(L_9);
ToggleGroup_RegisterToggle_m3118973598(L_9, __this, /*hidden argument*/NULL);
}
IL_0050:
{
ToggleGroup_t1030026315 * L_10 = ___newGroup0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_11 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_10, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_11)
{
goto IL_0085;
}
}
{
ToggleGroup_t1030026315 * L_12 = ___newGroup0;
ToggleGroup_t1030026315 * L_13 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_14 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_12, L_13, /*hidden argument*/NULL);
if (!L_14)
{
goto IL_0085;
}
}
{
bool L_15 = Toggle_get_isOn_m366838229(__this, /*hidden argument*/NULL);
if (!L_15)
{
goto IL_0085;
}
}
{
bool L_16 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_16)
{
goto IL_0085;
}
}
{
ToggleGroup_t1030026315 * L_17 = ___newGroup0;
NullCheck(L_17);
ToggleGroup_NotifyToggleOn_m997426227(L_17, __this, /*hidden argument*/NULL);
}
IL_0085:
{
return;
}
}
// System.Boolean UnityEngine.UI.Toggle::get_isOn()
extern "C" bool Toggle_get_isOn_m366838229 (Toggle_t3976754468 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_m_IsOn_20();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.Toggle::set_isOn(System.Boolean)
extern "C" void Toggle_set_isOn_m4022556286 (Toggle_t3976754468 * __this, bool ___value0, const MethodInfo* method)
{
{
bool L_0 = ___value0;
Toggle_Set_m861914546(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Toggle::Set(System.Boolean)
extern "C" void Toggle_Set_m861914546 (Toggle_t3976754468 * __this, bool ___value0, const MethodInfo* method)
{
{
bool L_0 = ___value0;
Toggle_Set_m3604285137(__this, L_0, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Toggle::Set(System.Boolean,System.Boolean)
extern "C" void Toggle_Set_m3604285137 (Toggle_t3976754468 * __this, bool ___value0, bool ___sendCallback1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Toggle_Set_m3604285137_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
bool L_0 = __this->get_m_IsOn_20();
bool L_1 = ___value0;
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
{
goto IL_0012;
}
}
{
goto IL_009d;
}
IL_0012:
{
bool L_2 = ___value0;
__this->set_m_IsOn_20(L_2);
ToggleGroup_t1030026315 * L_3 = __this->get_m_Group_18();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_4 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_3, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_4)
{
goto IL_0077;
}
}
{
bool L_5 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_5)
{
goto IL_0077;
}
}
{
bool L_6 = __this->get_m_IsOn_20();
if (L_6)
{
goto IL_0061;
}
}
{
ToggleGroup_t1030026315 * L_7 = __this->get_m_Group_18();
NullCheck(L_7);
bool L_8 = ToggleGroup_AnyTogglesOn_m840462814(L_7, /*hidden argument*/NULL);
if (L_8)
{
goto IL_0076;
}
}
{
ToggleGroup_t1030026315 * L_9 = __this->get_m_Group_18();
NullCheck(L_9);
bool L_10 = ToggleGroup_get_allowSwitchOff_m3835712425(L_9, /*hidden argument*/NULL);
if (L_10)
{
goto IL_0076;
}
}
IL_0061:
{
__this->set_m_IsOn_20((bool)1);
ToggleGroup_t1030026315 * L_11 = __this->get_m_Group_18();
NullCheck(L_11);
ToggleGroup_NotifyToggleOn_m997426227(L_11, __this, /*hidden argument*/NULL);
}
IL_0076:
{
}
IL_0077:
{
int32_t L_12 = __this->get_toggleTransition_16();
Toggle_PlayEffect_m3950629415(__this, (bool)((((int32_t)L_12) == ((int32_t)0))? 1 : 0), /*hidden argument*/NULL);
bool L_13 = ___sendCallback1;
if (!L_13)
{
goto IL_009d;
}
}
{
ToggleEvent_t1896830814 * L_14 = __this->get_onValueChanged_19();
bool L_15 = __this->get_m_IsOn_20();
NullCheck(L_14);
UnityEvent_1_Invoke_m667974834(L_14, L_15, /*hidden argument*/UnityEvent_1_Invoke_m667974834_MethodInfo_var);
}
IL_009d:
{
return;
}
}
// System.Void UnityEngine.UI.Toggle::PlayEffect(System.Boolean)
extern "C" void Toggle_PlayEffect_m3950629415 (Toggle_t3976754468 * __this, bool ___instant0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (Toggle_PlayEffect_m3950629415_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Graphic_t2426225576 * G_B4_0 = NULL;
Graphic_t2426225576 * G_B3_0 = NULL;
float G_B5_0 = 0.0f;
Graphic_t2426225576 * G_B5_1 = NULL;
float G_B7_0 = 0.0f;
Graphic_t2426225576 * G_B7_1 = NULL;
float G_B6_0 = 0.0f;
Graphic_t2426225576 * G_B6_1 = NULL;
float G_B8_0 = 0.0f;
float G_B8_1 = 0.0f;
Graphic_t2426225576 * G_B8_2 = NULL;
{
Graphic_t2426225576 * L_0 = __this->get_graphic_17();
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0017;
}
}
{
goto IL_0052;
}
IL_0017:
{
Graphic_t2426225576 * L_2 = __this->get_graphic_17();
bool L_3 = __this->get_m_IsOn_20();
G_B3_0 = L_2;
if (!L_3)
{
G_B4_0 = L_2;
goto IL_0032;
}
}
{
G_B5_0 = (1.0f);
G_B5_1 = G_B3_0;
goto IL_0037;
}
IL_0032:
{
G_B5_0 = (0.0f);
G_B5_1 = G_B4_0;
}
IL_0037:
{
bool L_4 = ___instant0;
G_B6_0 = G_B5_0;
G_B6_1 = G_B5_1;
if (!L_4)
{
G_B7_0 = G_B5_0;
G_B7_1 = G_B5_1;
goto IL_0047;
}
}
{
G_B8_0 = (0.0f);
G_B8_1 = G_B6_0;
G_B8_2 = G_B6_1;
goto IL_004c;
}
IL_0047:
{
G_B8_0 = (0.1f);
G_B8_1 = G_B7_0;
G_B8_2 = G_B7_1;
}
IL_004c:
{
NullCheck(G_B8_2);
VirtActionInvoker3< float, float, bool >::Invoke(48 /* System.Void UnityEngine.UI.Graphic::CrossFadeAlpha(System.Single,System.Single,System.Boolean) */, G_B8_2, G_B8_1, G_B8_0, (bool)1);
}
IL_0052:
{
return;
}
}
// System.Void UnityEngine.UI.Toggle::Start()
extern "C" void Toggle_Start_m551422251 (Toggle_t3976754468 * __this, const MethodInfo* method)
{
{
Toggle_PlayEffect_m3950629415(__this, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.Toggle::InternalToggle()
extern "C" void Toggle_InternalToggle_m2323729210 (Toggle_t3976754468 * __this, const MethodInfo* method)
{
{
bool L_0 = VirtFuncInvoker0< bool >::Invoke(9 /* System.Boolean UnityEngine.EventSystems.UIBehaviour::IsActive() */, __this);
if (!L_0)
{
goto IL_0017;
}
}
{
bool L_1 = VirtFuncInvoker0< bool >::Invoke(24 /* System.Boolean UnityEngine.UI.Selectable::IsInteractable() */, __this);
if (L_1)
{
goto IL_001c;
}
}
IL_0017:
{
goto IL_002b;
}
IL_001c:
{
bool L_2 = Toggle_get_isOn_m366838229(__this, /*hidden argument*/NULL);
Toggle_set_isOn_m4022556286(__this, (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0), /*hidden argument*/NULL);
}
IL_002b:
{
return;
}
}
// System.Void UnityEngine.UI.Toggle::OnPointerClick(UnityEngine.EventSystems.PointerEventData)
extern "C" void Toggle_OnPointerClick_m2582949427 (Toggle_t3976754468 * __this, PointerEventData_t1599784723 * ___eventData0, const MethodInfo* method)
{
{
PointerEventData_t1599784723 * L_0 = ___eventData0;
NullCheck(L_0);
int32_t L_1 = PointerEventData_get_button_m2339189303(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_0011;
}
}
{
goto IL_0017;
}
IL_0011:
{
Toggle_InternalToggle_m2323729210(__this, /*hidden argument*/NULL);
}
IL_0017:
{
return;
}
}
// System.Void UnityEngine.UI.Toggle::OnSubmit(UnityEngine.EventSystems.BaseEventData)
extern "C" void Toggle_OnSubmit_m2130445678 (Toggle_t3976754468 * __this, BaseEventData_t2681005625 * ___eventData0, const MethodInfo* method)
{
{
Toggle_InternalToggle_m2323729210(__this, /*hidden argument*/NULL);
return;
}
}
// UnityEngine.Transform UnityEngine.UI.Toggle::UnityEngine.UI.ICanvasElement.get_transform()
extern "C" Transform_t3275118058 * Toggle_UnityEngine_UI_ICanvasElement_get_transform_m4177274032 (Toggle_t3976754468 * __this, const MethodInfo* method)
{
{
Transform_t3275118058 * L_0 = Component_get_transform_m2697483695(__this, /*hidden argument*/NULL);
return L_0;
}
}
// System.Void UnityEngine.UI.Toggle/ToggleEvent::.ctor()
extern "C" void ToggleEvent__ctor_m1310623378 (ToggleEvent_t1896830814 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleEvent__ctor_m1310623378_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_1__ctor_m4051141261(__this, /*hidden argument*/UnityEvent_1__ctor_m4051141261_MethodInfo_var);
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup::.ctor()
extern "C" void ToggleGroup__ctor_m2685216210 (ToggleGroup_t1030026315 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup__ctor_m2685216210_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
__this->set_m_AllowSwitchOff_2((bool)0);
List_1_t3345875600 * L_0 = (List_1_t3345875600 *)il2cpp_codegen_object_new(List_1_t3345875600_il2cpp_TypeInfo_var);
List_1__ctor_m1346706045(L_0, /*hidden argument*/List_1__ctor_m1346706045_MethodInfo_var);
__this->set_m_Toggles_3(L_0);
UIBehaviour__ctor_m984034336(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean UnityEngine.UI.ToggleGroup::get_allowSwitchOff()
extern "C" bool ToggleGroup_get_allowSwitchOff_m3835712425 (ToggleGroup_t1030026315 * __this, const MethodInfo* method)
{
bool V_0 = false;
{
bool L_0 = __this->get_m_AllowSwitchOff_2();
V_0 = L_0;
goto IL_000d;
}
IL_000d:
{
bool L_1 = V_0;
return L_1;
}
}
// System.Void UnityEngine.UI.ToggleGroup::set_allowSwitchOff(System.Boolean)
extern "C" void ToggleGroup_set_allowSwitchOff_m2945603446 (ToggleGroup_t1030026315 * __this, bool ___value0, const MethodInfo* method)
{
{
bool L_0 = ___value0;
__this->set_m_AllowSwitchOff_2(L_0);
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup::ValidateToggleIsInGroup(UnityEngine.UI.Toggle)
extern "C" void ToggleGroup_ValidateToggleIsInGroup_m3420956585 (ToggleGroup_t1030026315 * __this, Toggle_t3976754468 * ___toggle0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_ValidateToggleIsInGroup_m3420956585_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Toggle_t3976754468 * L_0 = ___toggle0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_1 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_0, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
if (L_1)
{
goto IL_001e;
}
}
{
List_1_t3345875600 * L_2 = __this->get_m_Toggles_3();
Toggle_t3976754468 * L_3 = ___toggle0;
NullCheck(L_2);
bool L_4 = List_1_Contains_m2895393343(L_2, L_3, /*hidden argument*/List_1_Contains_m2895393343_MethodInfo_var);
if (L_4)
{
goto IL_003c;
}
}
IL_001e:
{
ObjectU5BU5D_t3614634134* L_5 = ((ObjectU5BU5D_t3614634134*)SZArrayNew(ObjectU5BU5D_t3614634134_il2cpp_TypeInfo_var, (uint32_t)2));
Toggle_t3976754468 * L_6 = ___toggle0;
NullCheck(L_5);
ArrayElementTypeCheck (L_5, L_6);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(0), (Il2CppObject *)L_6);
ObjectU5BU5D_t3614634134* L_7 = L_5;
NullCheck(L_7);
ArrayElementTypeCheck (L_7, __this);
(L_7)->SetAt(static_cast<il2cpp_array_size_t>(1), (Il2CppObject *)__this);
IL2CPP_RUNTIME_CLASS_INIT(String_t_il2cpp_TypeInfo_var);
String_t* L_8 = String_Format_m1263743648(NULL /*static, unused*/, _stringLiteral310208851, L_7, /*hidden argument*/NULL);
ArgumentException_t3259014390 * L_9 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_9, L_8, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_9);
}
IL_003c:
{
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup::NotifyToggleOn(UnityEngine.UI.Toggle)
extern "C" void ToggleGroup_NotifyToggleOn_m997426227 (ToggleGroup_t1030026315 * __this, Toggle_t3976754468 * ___toggle0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_NotifyToggleOn_m997426227_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
Toggle_t3976754468 * L_0 = ___toggle0;
ToggleGroup_ValidateToggleIsInGroup_m3420956585(__this, L_0, /*hidden argument*/NULL);
V_0 = 0;
goto IL_0043;
}
IL_000f:
{
List_1_t3345875600 * L_1 = __this->get_m_Toggles_3();
int32_t L_2 = V_0;
NullCheck(L_1);
Toggle_t3976754468 * L_3 = List_1_get_Item_m4004664826(L_1, L_2, /*hidden argument*/List_1_get_Item_m4004664826_MethodInfo_var);
Toggle_t3976754468 * L_4 = ___toggle0;
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_5 = Object_op_Equality_m3764089466(NULL /*static, unused*/, L_3, L_4, /*hidden argument*/NULL);
if (!L_5)
{
goto IL_002c;
}
}
{
goto IL_003f;
}
IL_002c:
{
List_1_t3345875600 * L_6 = __this->get_m_Toggles_3();
int32_t L_7 = V_0;
NullCheck(L_6);
Toggle_t3976754468 * L_8 = List_1_get_Item_m4004664826(L_6, L_7, /*hidden argument*/List_1_get_Item_m4004664826_MethodInfo_var);
NullCheck(L_8);
Toggle_set_isOn_m4022556286(L_8, (bool)0, /*hidden argument*/NULL);
}
IL_003f:
{
int32_t L_9 = V_0;
V_0 = ((int32_t)((int32_t)L_9+(int32_t)1));
}
IL_0043:
{
int32_t L_10 = V_0;
List_1_t3345875600 * L_11 = __this->get_m_Toggles_3();
NullCheck(L_11);
int32_t L_12 = List_1_get_Count_m908496529(L_11, /*hidden argument*/List_1_get_Count_m908496529_MethodInfo_var);
if ((((int32_t)L_10) < ((int32_t)L_12)))
{
goto IL_000f;
}
}
{
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup::UnregisterToggle(UnityEngine.UI.Toggle)
extern "C" void ToggleGroup_UnregisterToggle_m1686703375 (ToggleGroup_t1030026315 * __this, Toggle_t3976754468 * ___toggle0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_UnregisterToggle_m1686703375_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t3345875600 * L_0 = __this->get_m_Toggles_3();
Toggle_t3976754468 * L_1 = ___toggle0;
NullCheck(L_0);
bool L_2 = List_1_Contains_m2895393343(L_0, L_1, /*hidden argument*/List_1_Contains_m2895393343_MethodInfo_var);
if (!L_2)
{
goto IL_001f;
}
}
{
List_1_t3345875600 * L_3 = __this->get_m_Toggles_3();
Toggle_t3976754468 * L_4 = ___toggle0;
NullCheck(L_3);
List_1_Remove_m261340164(L_3, L_4, /*hidden argument*/List_1_Remove_m261340164_MethodInfo_var);
}
IL_001f:
{
return;
}
}
// System.Void UnityEngine.UI.ToggleGroup::RegisterToggle(UnityEngine.UI.Toggle)
extern "C" void ToggleGroup_RegisterToggle_m3118973598 (ToggleGroup_t1030026315 * __this, Toggle_t3976754468 * ___toggle0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_RegisterToggle_m3118973598_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t3345875600 * L_0 = __this->get_m_Toggles_3();
Toggle_t3976754468 * L_1 = ___toggle0;
NullCheck(L_0);
bool L_2 = List_1_Contains_m2895393343(L_0, L_1, /*hidden argument*/List_1_Contains_m2895393343_MethodInfo_var);
if (L_2)
{
goto IL_001e;
}
}
{
List_1_t3345875600 * L_3 = __this->get_m_Toggles_3();
Toggle_t3976754468 * L_4 = ___toggle0;
NullCheck(L_3);
List_1_Add_m419687769(L_3, L_4, /*hidden argument*/List_1_Add_m419687769_MethodInfo_var);
}
IL_001e:
{
return;
}
}
// System.Boolean UnityEngine.UI.ToggleGroup::AnyTogglesOn()
extern "C" bool ToggleGroup_AnyTogglesOn_m840462814 (ToggleGroup_t1030026315 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_AnyTogglesOn_m840462814_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
List_1_t3345875600 * G_B2_0 = NULL;
List_1_t3345875600 * G_B1_0 = NULL;
{
List_1_t3345875600 * L_0 = __this->get_m_Toggles_3();
Predicate_1_t2419724583 * L_1 = ((ToggleGroup_t1030026315_StaticFields*)ToggleGroup_t1030026315_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache0_4();
G_B1_0 = L_0;
if (L_1)
{
G_B2_0 = L_0;
goto IL_001f;
}
}
{
IntPtr_t L_2;
L_2.set_m_value_0((void*)(void*)ToggleGroup_U3CAnyTogglesOnU3Em__0_m1218114300_MethodInfo_var);
Predicate_1_t2419724583 * L_3 = (Predicate_1_t2419724583 *)il2cpp_codegen_object_new(Predicate_1_t2419724583_il2cpp_TypeInfo_var);
Predicate_1__ctor_m924252486(L_3, NULL, L_2, /*hidden argument*/Predicate_1__ctor_m924252486_MethodInfo_var);
((ToggleGroup_t1030026315_StaticFields*)ToggleGroup_t1030026315_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache0_4(L_3);
G_B2_0 = G_B1_0;
}
IL_001f:
{
Predicate_1_t2419724583 * L_4 = ((ToggleGroup_t1030026315_StaticFields*)ToggleGroup_t1030026315_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache0_4();
NullCheck(G_B2_0);
Toggle_t3976754468 * L_5 = List_1_Find_m1914351498(G_B2_0, L_4, /*hidden argument*/List_1_Find_m1914351498_MethodInfo_var);
IL2CPP_RUNTIME_CLASS_INIT(Object_t1021602117_il2cpp_TypeInfo_var);
bool L_6 = Object_op_Inequality_m2402264703(NULL /*static, unused*/, L_5, (Object_t1021602117 *)NULL, /*hidden argument*/NULL);
V_0 = L_6;
goto IL_0035;
}
IL_0035:
{
bool L_7 = V_0;
return L_7;
}
}
// System.Collections.Generic.IEnumerable`1<UnityEngine.UI.Toggle> UnityEngine.UI.ToggleGroup::ActiveToggles()
extern "C" Il2CppObject* ToggleGroup_ActiveToggles_m2659510444 (ToggleGroup_t1030026315 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_ActiveToggles_m2659510444_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
Il2CppObject* V_0 = NULL;
List_1_t3345875600 * G_B2_0 = NULL;
List_1_t3345875600 * G_B1_0 = NULL;
{
List_1_t3345875600 * L_0 = __this->get_m_Toggles_3();
Func_2_t2318645467 * L_1 = ((ToggleGroup_t1030026315_StaticFields*)ToggleGroup_t1030026315_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache1_5();
G_B1_0 = L_0;
if (L_1)
{
G_B2_0 = L_0;
goto IL_001f;
}
}
{
IntPtr_t L_2;
L_2.set_m_value_0((void*)(void*)ToggleGroup_U3CActiveTogglesU3Em__1_m4052653494_MethodInfo_var);
Func_2_t2318645467 * L_3 = (Func_2_t2318645467 *)il2cpp_codegen_object_new(Func_2_t2318645467_il2cpp_TypeInfo_var);
Func_2__ctor_m201687245(L_3, NULL, L_2, /*hidden argument*/Func_2__ctor_m201687245_MethodInfo_var);
((ToggleGroup_t1030026315_StaticFields*)ToggleGroup_t1030026315_il2cpp_TypeInfo_var->static_fields)->set_U3CU3Ef__amU24cache1_5(L_3);
G_B2_0 = G_B1_0;
}
IL_001f:
{
Func_2_t2318645467 * L_4 = ((ToggleGroup_t1030026315_StaticFields*)ToggleGroup_t1030026315_il2cpp_TypeInfo_var->static_fields)->get_U3CU3Ef__amU24cache1_5();
Il2CppObject* L_5 = Enumerable_Where_TisToggle_t3976754468_m3031640376(NULL /*static, unused*/, G_B2_0, L_4, /*hidden argument*/Enumerable_Where_TisToggle_t3976754468_m3031640376_MethodInfo_var);
V_0 = L_5;
goto IL_002f;
}
IL_002f:
{
Il2CppObject* L_6 = V_0;
return L_6;
}
}
// System.Void UnityEngine.UI.ToggleGroup::SetAllTogglesOff()
extern "C" void ToggleGroup_SetAllTogglesOff_m4062279257 (ToggleGroup_t1030026315 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (ToggleGroup_SetAllTogglesOff_m4062279257_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
bool V_0 = false;
int32_t V_1 = 0;
{
bool L_0 = __this->get_m_AllowSwitchOff_2();
V_0 = L_0;
__this->set_m_AllowSwitchOff_2((bool)1);
V_1 = 0;
goto IL_002c;
}
IL_0016:
{
List_1_t3345875600 * L_1 = __this->get_m_Toggles_3();
int32_t L_2 = V_1;
NullCheck(L_1);
Toggle_t3976754468 * L_3 = List_1_get_Item_m4004664826(L_1, L_2, /*hidden argument*/List_1_get_Item_m4004664826_MethodInfo_var);
NullCheck(L_3);
Toggle_set_isOn_m4022556286(L_3, (bool)0, /*hidden argument*/NULL);
int32_t L_4 = V_1;
V_1 = ((int32_t)((int32_t)L_4+(int32_t)1));
}
IL_002c:
{
int32_t L_5 = V_1;
List_1_t3345875600 * L_6 = __this->get_m_Toggles_3();
NullCheck(L_6);
int32_t L_7 = List_1_get_Count_m908496529(L_6, /*hidden argument*/List_1_get_Count_m908496529_MethodInfo_var);
if ((((int32_t)L_5) < ((int32_t)L_7)))
{
goto IL_0016;
}
}
{
bool L_8 = V_0;
__this->set_m_AllowSwitchOff_2(L_8);
return;
}
}
// System.Boolean UnityEngine.UI.ToggleGroup::<AnyTogglesOn>m__0(UnityEngine.UI.Toggle)
extern "C" bool ToggleGroup_U3CAnyTogglesOnU3Em__0_m1218114300 (Il2CppObject * __this /* static, unused */, Toggle_t3976754468 * ___x0, const MethodInfo* method)
{
bool V_0 = false;
{
Toggle_t3976754468 * L_0 = ___x0;
NullCheck(L_0);
bool L_1 = Toggle_get_isOn_m366838229(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_000c;
}
IL_000c:
{
bool L_2 = V_0;
return L_2;
}
}
// System.Boolean UnityEngine.UI.ToggleGroup::<ActiveToggles>m__1(UnityEngine.UI.Toggle)
extern "C" bool ToggleGroup_U3CActiveTogglesU3Em__1_m4052653494 (Il2CppObject * __this /* static, unused */, Toggle_t3976754468 * ___x0, const MethodInfo* method)
{
bool V_0 = false;
{
Toggle_t3976754468 * L_0 = ___x0;
NullCheck(L_0);
bool L_1 = Toggle_get_isOn_m366838229(L_0, /*hidden argument*/NULL);
V_0 = L_1;
goto IL_000c;
}
IL_000c:
{
bool L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.VertexHelper::.ctor()
extern "C" void VertexHelper__ctor_m732625615 (VertexHelper_t385374196 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper__ctor_m732625615_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1096682396_il2cpp_TypeInfo_var);
List_1_t1612828712 * L_0 = ListPool_1_Get_m2998644518(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2998644518_MethodInfo_var);
__this->set_m_Positions_0(L_0);
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t4022459630_il2cpp_TypeInfo_var);
List_1_t243638650 * L_1 = ListPool_1_Get_m3357896252(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3357896252_MethodInfo_var);
__this->set_m_Colors_1(L_1);
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1096682395_il2cpp_TypeInfo_var);
List_1_t1612828711 * L_2 = ListPool_1_Get_m3002130343(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3002130343_MethodInfo_var);
__this->set_m_Uv0S_2(L_2);
List_1_t1612828711 * L_3 = ListPool_1_Get_m3002130343(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3002130343_MethodInfo_var);
__this->set_m_Uv1S_3(L_3);
List_1_t1612828711 * L_4 = ListPool_1_Get_m3002130343(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3002130343_MethodInfo_var);
__this->set_m_Uv2S_4(L_4);
List_1_t1612828711 * L_5 = ListPool_1_Get_m3002130343(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3002130343_MethodInfo_var);
__this->set_m_Uv3S_5(L_5);
List_1_t1612828712 * L_6 = ListPool_1_Get_m2998644518(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2998644518_MethodInfo_var);
__this->set_m_Normals_6(L_6);
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1096682397_il2cpp_TypeInfo_var);
List_1_t1612828713 * L_7 = ListPool_1_Get_m3009093805(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3009093805_MethodInfo_var);
__this->set_m_Tangents_7(L_7);
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t924852264_il2cpp_TypeInfo_var);
List_1_t1440998580 * L_8 = ListPool_1_Get_m3809147792(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3809147792_MethodInfo_var);
__this->set_m_Indices_8(L_8);
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::.ctor(UnityEngine.Mesh)
extern "C" void VertexHelper__ctor_m1386464415 (VertexHelper_t385374196 * __this, Mesh_t1356156583 * ___m0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper__ctor_m1386464415_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1096682396_il2cpp_TypeInfo_var);
List_1_t1612828712 * L_0 = ListPool_1_Get_m2998644518(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2998644518_MethodInfo_var);
__this->set_m_Positions_0(L_0);
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t4022459630_il2cpp_TypeInfo_var);
List_1_t243638650 * L_1 = ListPool_1_Get_m3357896252(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3357896252_MethodInfo_var);
__this->set_m_Colors_1(L_1);
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1096682395_il2cpp_TypeInfo_var);
List_1_t1612828711 * L_2 = ListPool_1_Get_m3002130343(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3002130343_MethodInfo_var);
__this->set_m_Uv0S_2(L_2);
List_1_t1612828711 * L_3 = ListPool_1_Get_m3002130343(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3002130343_MethodInfo_var);
__this->set_m_Uv1S_3(L_3);
List_1_t1612828711 * L_4 = ListPool_1_Get_m3002130343(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3002130343_MethodInfo_var);
__this->set_m_Uv2S_4(L_4);
List_1_t1612828711 * L_5 = ListPool_1_Get_m3002130343(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3002130343_MethodInfo_var);
__this->set_m_Uv3S_5(L_5);
List_1_t1612828712 * L_6 = ListPool_1_Get_m2998644518(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m2998644518_MethodInfo_var);
__this->set_m_Normals_6(L_6);
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1096682397_il2cpp_TypeInfo_var);
List_1_t1612828713 * L_7 = ListPool_1_Get_m3009093805(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3009093805_MethodInfo_var);
__this->set_m_Tangents_7(L_7);
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t924852264_il2cpp_TypeInfo_var);
List_1_t1440998580 * L_8 = ListPool_1_Get_m3809147792(NULL /*static, unused*/, /*hidden argument*/ListPool_1_Get_m3809147792_MethodInfo_var);
__this->set_m_Indices_8(L_8);
Object__ctor_m2551263788(__this, /*hidden argument*/NULL);
List_1_t1612828712 * L_9 = __this->get_m_Positions_0();
Mesh_t1356156583 * L_10 = ___m0;
NullCheck(L_10);
Vector3U5BU5D_t1172311765* L_11 = Mesh_get_vertices_m626989480(L_10, /*hidden argument*/NULL);
NullCheck(L_9);
List_1_AddRange_m2878063899(L_9, (Il2CppObject*)(Il2CppObject*)L_11, /*hidden argument*/List_1_AddRange_m2878063899_MethodInfo_var);
List_1_t243638650 * L_12 = __this->get_m_Colors_1();
Mesh_t1356156583 * L_13 = ___m0;
NullCheck(L_13);
Color32U5BU5D_t30278651* L_14 = Mesh_get_colors32_m4153271224(L_13, /*hidden argument*/NULL);
NullCheck(L_12);
List_1_AddRange_m1309698249(L_12, (Il2CppObject*)(Il2CppObject*)L_14, /*hidden argument*/List_1_AddRange_m1309698249_MethodInfo_var);
List_1_t1612828711 * L_15 = __this->get_m_Uv0S_2();
Mesh_t1356156583 * L_16 = ___m0;
NullCheck(L_16);
Vector2U5BU5D_t686124026* L_17 = Mesh_get_uv_m3811151337(L_16, /*hidden argument*/NULL);
NullCheck(L_15);
List_1_AddRange_m4255157622(L_15, (Il2CppObject*)(Il2CppObject*)L_17, /*hidden argument*/List_1_AddRange_m4255157622_MethodInfo_var);
List_1_t1612828711 * L_18 = __this->get_m_Uv1S_3();
Mesh_t1356156583 * L_19 = ___m0;
NullCheck(L_19);
Vector2U5BU5D_t686124026* L_20 = Mesh_get_uv2_m3215494975(L_19, /*hidden argument*/NULL);
NullCheck(L_18);
List_1_AddRange_m4255157622(L_18, (Il2CppObject*)(Il2CppObject*)L_20, /*hidden argument*/List_1_AddRange_m4255157622_MethodInfo_var);
List_1_t1612828711 * L_21 = __this->get_m_Uv2S_4();
Mesh_t1356156583 * L_22 = ___m0;
NullCheck(L_22);
Vector2U5BU5D_t686124026* L_23 = Mesh_get_uv3_m3215494880(L_22, /*hidden argument*/NULL);
NullCheck(L_21);
List_1_AddRange_m4255157622(L_21, (Il2CppObject*)(Il2CppObject*)L_23, /*hidden argument*/List_1_AddRange_m4255157622_MethodInfo_var);
List_1_t1612828711 * L_24 = __this->get_m_Uv3S_5();
Mesh_t1356156583 * L_25 = ___m0;
NullCheck(L_25);
Vector2U5BU5D_t686124026* L_26 = Mesh_get_uv4_m3215494777(L_25, /*hidden argument*/NULL);
NullCheck(L_24);
List_1_AddRange_m4255157622(L_24, (Il2CppObject*)(Il2CppObject*)L_26, /*hidden argument*/List_1_AddRange_m4255157622_MethodInfo_var);
List_1_t1612828712 * L_27 = __this->get_m_Normals_6();
Mesh_t1356156583 * L_28 = ___m0;
NullCheck(L_28);
Vector3U5BU5D_t1172311765* L_29 = Mesh_get_normals_m1837187359(L_28, /*hidden argument*/NULL);
NullCheck(L_27);
List_1_AddRange_m2878063899(L_27, (Il2CppObject*)(Il2CppObject*)L_29, /*hidden argument*/List_1_AddRange_m2878063899_MethodInfo_var);
List_1_t1612828713 * L_30 = __this->get_m_Tangents_7();
Mesh_t1356156583 * L_31 = ___m0;
NullCheck(L_31);
Vector4U5BU5D_t1658499504* L_32 = Mesh_get_tangents_m2910922714(L_31, /*hidden argument*/NULL);
NullCheck(L_30);
List_1_AddRange_m3345533268(L_30, (Il2CppObject*)(Il2CppObject*)L_32, /*hidden argument*/List_1_AddRange_m3345533268_MethodInfo_var);
List_1_t1440998580 * L_33 = __this->get_m_Indices_8();
Mesh_t1356156583 * L_34 = ___m0;
NullCheck(L_34);
Int32U5BU5D_t3030399641* L_35 = Mesh_GetIndices_m3085881884(L_34, 0, /*hidden argument*/NULL);
NullCheck(L_33);
List_1_AddRange_m2567809379(L_33, (Il2CppObject*)(Il2CppObject*)L_35, /*hidden argument*/List_1_AddRange_m2567809379_MethodInfo_var);
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::Clear()
extern "C" void VertexHelper_Clear_m648714328 (VertexHelper_t385374196 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_Clear_m648714328_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t1612828712 * L_0 = __this->get_m_Positions_0();
NullCheck(L_0);
List_1_Clear_m576262818(L_0, /*hidden argument*/List_1_Clear_m576262818_MethodInfo_var);
List_1_t243638650 * L_1 = __this->get_m_Colors_1();
NullCheck(L_1);
List_1_Clear_m3889887144(L_1, /*hidden argument*/List_1_Clear_m3889887144_MethodInfo_var);
List_1_t1612828711 * L_2 = __this->get_m_Uv0S_2();
NullCheck(L_2);
List_1_Clear_m1402865383(L_2, /*hidden argument*/List_1_Clear_m1402865383_MethodInfo_var);
List_1_t1612828711 * L_3 = __this->get_m_Uv1S_3();
NullCheck(L_3);
List_1_Clear_m1402865383(L_3, /*hidden argument*/List_1_Clear_m1402865383_MethodInfo_var);
List_1_t1612828711 * L_4 = __this->get_m_Uv2S_4();
NullCheck(L_4);
List_1_Clear_m1402865383(L_4, /*hidden argument*/List_1_Clear_m1402865383_MethodInfo_var);
List_1_t1612828711 * L_5 = __this->get_m_Uv3S_5();
NullCheck(L_5);
List_1_Clear_m1402865383(L_5, /*hidden argument*/List_1_Clear_m1402865383_MethodInfo_var);
List_1_t1612828712 * L_6 = __this->get_m_Normals_6();
NullCheck(L_6);
List_1_Clear_m576262818(L_6, /*hidden argument*/List_1_Clear_m576262818_MethodInfo_var);
List_1_t1612828713 * L_7 = __this->get_m_Tangents_7();
NullCheck(L_7);
List_1_Clear_m981597149(L_7, /*hidden argument*/List_1_Clear_m981597149_MethodInfo_var);
List_1_t1440998580 * L_8 = __this->get_m_Indices_8();
NullCheck(L_8);
List_1_Clear_m3644677550(L_8, /*hidden argument*/List_1_Clear_m3644677550_MethodInfo_var);
return;
}
}
// System.Int32 UnityEngine.UI.VertexHelper::get_currentVertCount()
extern "C" int32_t VertexHelper_get_currentVertCount_m1723889923 (VertexHelper_t385374196 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_get_currentVertCount_m1723889923_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
List_1_t1612828712 * L_0 = __this->get_m_Positions_0();
NullCheck(L_0);
int32_t L_1 = List_1_get_Count_m4027941115(L_0, /*hidden argument*/List_1_get_Count_m4027941115_MethodInfo_var);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
int32_t L_2 = V_0;
return L_2;
}
}
// System.Int32 UnityEngine.UI.VertexHelper::get_currentIndexCount()
extern "C" int32_t VertexHelper_get_currentIndexCount_m136081244 (VertexHelper_t385374196 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_get_currentIndexCount_m136081244_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
List_1_t1440998580 * L_0 = __this->get_m_Indices_8();
NullCheck(L_0);
int32_t L_1 = List_1_get_Count_m852068579(L_0, /*hidden argument*/List_1_get_Count_m852068579_MethodInfo_var);
V_0 = L_1;
goto IL_0012;
}
IL_0012:
{
int32_t L_2 = V_0;
return L_2;
}
}
// System.Void UnityEngine.UI.VertexHelper::PopulateUIVertex(UnityEngine.UIVertex&,System.Int32)
extern "C" void VertexHelper_PopulateUIVertex_m1570922497 (VertexHelper_t385374196 * __this, UIVertex_t1204258818 * ___vertex0, int32_t ___i1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_PopulateUIVertex_m1570922497_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
UIVertex_t1204258818 * L_0 = ___vertex0;
List_1_t1612828712 * L_1 = __this->get_m_Positions_0();
int32_t L_2 = ___i1;
NullCheck(L_1);
Vector3_t2243707580 L_3 = List_1_get_Item_m2503489122(L_1, L_2, /*hidden argument*/List_1_get_Item_m2503489122_MethodInfo_var);
L_0->set_position_0(L_3);
UIVertex_t1204258818 * L_4 = ___vertex0;
List_1_t243638650 * L_5 = __this->get_m_Colors_1();
int32_t L_6 = ___i1;
NullCheck(L_5);
Color32_t874517518 L_7 = List_1_get_Item_m2079323980(L_5, L_6, /*hidden argument*/List_1_get_Item_m2079323980_MethodInfo_var);
L_4->set_color_2(L_7);
UIVertex_t1204258818 * L_8 = ___vertex0;
List_1_t1612828711 * L_9 = __this->get_m_Uv0S_2();
int32_t L_10 = ___i1;
NullCheck(L_9);
Vector2_t2243707579 L_11 = List_1_get_Item_m2892902305(L_9, L_10, /*hidden argument*/List_1_get_Item_m2892902305_MethodInfo_var);
L_8->set_uv0_3(L_11);
UIVertex_t1204258818 * L_12 = ___vertex0;
List_1_t1612828711 * L_13 = __this->get_m_Uv1S_3();
int32_t L_14 = ___i1;
NullCheck(L_13);
Vector2_t2243707579 L_15 = List_1_get_Item_m2892902305(L_13, L_14, /*hidden argument*/List_1_get_Item_m2892902305_MethodInfo_var);
L_12->set_uv1_4(L_15);
UIVertex_t1204258818 * L_16 = ___vertex0;
List_1_t1612828711 * L_17 = __this->get_m_Uv2S_4();
int32_t L_18 = ___i1;
NullCheck(L_17);
Vector2_t2243707579 L_19 = List_1_get_Item_m2892902305(L_17, L_18, /*hidden argument*/List_1_get_Item_m2892902305_MethodInfo_var);
L_16->set_uv2_5(L_19);
UIVertex_t1204258818 * L_20 = ___vertex0;
List_1_t1612828711 * L_21 = __this->get_m_Uv3S_5();
int32_t L_22 = ___i1;
NullCheck(L_21);
Vector2_t2243707579 L_23 = List_1_get_Item_m2892902305(L_21, L_22, /*hidden argument*/List_1_get_Item_m2892902305_MethodInfo_var);
L_20->set_uv3_6(L_23);
UIVertex_t1204258818 * L_24 = ___vertex0;
List_1_t1612828712 * L_25 = __this->get_m_Normals_6();
int32_t L_26 = ___i1;
NullCheck(L_25);
Vector3_t2243707580 L_27 = List_1_get_Item_m2503489122(L_25, L_26, /*hidden argument*/List_1_get_Item_m2503489122_MethodInfo_var);
L_24->set_normal_1(L_27);
UIVertex_t1204258818 * L_28 = ___vertex0;
List_1_t1612828713 * L_29 = __this->get_m_Tangents_7();
int32_t L_30 = ___i1;
NullCheck(L_29);
Vector4_t2243707581 L_31 = List_1_get_Item_m3157283227(L_29, L_30, /*hidden argument*/List_1_get_Item_m3157283227_MethodInfo_var);
L_28->set_tangent_7(L_31);
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::SetUIVertex(UnityEngine.UIVertex,System.Int32)
extern "C" void VertexHelper_SetUIVertex_m2397401947 (VertexHelper_t385374196 * __this, UIVertex_t1204258818 ___vertex0, int32_t ___i1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_SetUIVertex_m2397401947_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t1612828712 * L_0 = __this->get_m_Positions_0();
int32_t L_1 = ___i1;
Vector3_t2243707580 L_2 = (&___vertex0)->get_position_0();
NullCheck(L_0);
List_1_set_Item_m3393612627(L_0, L_1, L_2, /*hidden argument*/List_1_set_Item_m3393612627_MethodInfo_var);
List_1_t243638650 * L_3 = __this->get_m_Colors_1();
int32_t L_4 = ___i1;
Color32_t874517518 L_5 = (&___vertex0)->get_color_2();
NullCheck(L_3);
List_1_set_Item_m1209652185(L_3, L_4, L_5, /*hidden argument*/List_1_set_Item_m1209652185_MethodInfo_var);
List_1_t1612828711 * L_6 = __this->get_m_Uv0S_2();
int32_t L_7 = ___i1;
Vector2_t2243707579 L_8 = (&___vertex0)->get_uv0_3();
NullCheck(L_6);
List_1_set_Item_m1027817326(L_6, L_7, L_8, /*hidden argument*/List_1_set_Item_m1027817326_MethodInfo_var);
List_1_t1612828711 * L_9 = __this->get_m_Uv1S_3();
int32_t L_10 = ___i1;
Vector2_t2243707579 L_11 = (&___vertex0)->get_uv1_4();
NullCheck(L_9);
List_1_set_Item_m1027817326(L_9, L_10, L_11, /*hidden argument*/List_1_set_Item_m1027817326_MethodInfo_var);
List_1_t1612828711 * L_12 = __this->get_m_Uv2S_4();
int32_t L_13 = ___i1;
Vector2_t2243707579 L_14 = (&___vertex0)->get_uv2_5();
NullCheck(L_12);
List_1_set_Item_m1027817326(L_12, L_13, L_14, /*hidden argument*/List_1_set_Item_m1027817326_MethodInfo_var);
List_1_t1612828711 * L_15 = __this->get_m_Uv3S_5();
int32_t L_16 = ___i1;
Vector2_t2243707579 L_17 = (&___vertex0)->get_uv3_6();
NullCheck(L_15);
List_1_set_Item_m1027817326(L_15, L_16, L_17, /*hidden argument*/List_1_set_Item_m1027817326_MethodInfo_var);
List_1_t1612828712 * L_18 = __this->get_m_Normals_6();
int32_t L_19 = ___i1;
Vector3_t2243707580 L_20 = (&___vertex0)->get_normal_1();
NullCheck(L_18);
List_1_set_Item_m3393612627(L_18, L_19, L_20, /*hidden argument*/List_1_set_Item_m3393612627_MethodInfo_var);
List_1_t1612828713 * L_21 = __this->get_m_Tangents_7();
int32_t L_22 = ___i1;
Vector4_t2243707581 L_23 = (&___vertex0)->get_tangent_7();
NullCheck(L_21);
List_1_set_Item_m1431784996(L_21, L_22, L_23, /*hidden argument*/List_1_set_Item_m1431784996_MethodInfo_var);
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::FillMesh(UnityEngine.Mesh)
extern "C" void VertexHelper_FillMesh_m1891350547 (VertexHelper_t385374196 * __this, Mesh_t1356156583 * ___mesh0, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_FillMesh_m1891350547_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Mesh_t1356156583 * L_0 = ___mesh0;
NullCheck(L_0);
Mesh_Clear_m231813403(L_0, /*hidden argument*/NULL);
List_1_t1612828712 * L_1 = __this->get_m_Positions_0();
NullCheck(L_1);
int32_t L_2 = List_1_get_Count_m4027941115(L_1, /*hidden argument*/List_1_get_Count_m4027941115_MethodInfo_var);
if ((((int32_t)L_2) < ((int32_t)((int32_t)65000))))
{
goto IL_0027;
}
}
{
ArgumentException_t3259014390 * L_3 = (ArgumentException_t3259014390 *)il2cpp_codegen_object_new(ArgumentException_t3259014390_il2cpp_TypeInfo_var);
ArgumentException__ctor_m3739475201(L_3, _stringLiteral358983960, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3);
}
IL_0027:
{
Mesh_t1356156583 * L_4 = ___mesh0;
List_1_t1612828712 * L_5 = __this->get_m_Positions_0();
NullCheck(L_4);
Mesh_SetVertices_m3500868388(L_4, L_5, /*hidden argument*/NULL);
Mesh_t1356156583 * L_6 = ___mesh0;
List_1_t243638650 * L_7 = __this->get_m_Colors_1();
NullCheck(L_6);
Mesh_SetColors_m3438776703(L_6, L_7, /*hidden argument*/NULL);
Mesh_t1356156583 * L_8 = ___mesh0;
List_1_t1612828711 * L_9 = __this->get_m_Uv0S_2();
NullCheck(L_8);
Mesh_SetUVs_m841280343(L_8, 0, L_9, /*hidden argument*/NULL);
Mesh_t1356156583 * L_10 = ___mesh0;
List_1_t1612828711 * L_11 = __this->get_m_Uv1S_3();
NullCheck(L_10);
Mesh_SetUVs_m841280343(L_10, 1, L_11, /*hidden argument*/NULL);
Mesh_t1356156583 * L_12 = ___mesh0;
List_1_t1612828711 * L_13 = __this->get_m_Uv2S_4();
NullCheck(L_12);
Mesh_SetUVs_m841280343(L_12, 2, L_13, /*hidden argument*/NULL);
Mesh_t1356156583 * L_14 = ___mesh0;
List_1_t1612828711 * L_15 = __this->get_m_Uv3S_5();
NullCheck(L_14);
Mesh_SetUVs_m841280343(L_14, 3, L_15, /*hidden argument*/NULL);
Mesh_t1356156583 * L_16 = ___mesh0;
List_1_t1612828712 * L_17 = __this->get_m_Normals_6();
NullCheck(L_16);
Mesh_SetNormals_m3341225499(L_16, L_17, /*hidden argument*/NULL);
Mesh_t1356156583 * L_18 = ___mesh0;
List_1_t1612828713 * L_19 = __this->get_m_Tangents_7();
NullCheck(L_18);
Mesh_SetTangents_m282399504(L_18, L_19, /*hidden argument*/NULL);
Mesh_t1356156583 * L_20 = ___mesh0;
List_1_t1440998580 * L_21 = __this->get_m_Indices_8();
NullCheck(L_20);
Mesh_SetTriangles_m2017297103(L_20, L_21, 0, /*hidden argument*/NULL);
Mesh_t1356156583 * L_22 = ___mesh0;
NullCheck(L_22);
Mesh_RecalculateBounds_m3559909024(L_22, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::Dispose()
extern "C" void VertexHelper_Dispose_m2847257624 (VertexHelper_t385374196 * __this, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_Dispose_m2847257624_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t1612828712 * L_0 = __this->get_m_Positions_0();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1096682396_il2cpp_TypeInfo_var);
ListPool_1_Release_m4118150756(NULL /*static, unused*/, L_0, /*hidden argument*/ListPool_1_Release_m4118150756_MethodInfo_var);
List_1_t243638650 * L_1 = __this->get_m_Colors_1();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t4022459630_il2cpp_TypeInfo_var);
ListPool_1_Release_m3047738410(NULL /*static, unused*/, L_1, /*hidden argument*/ListPool_1_Release_m3047738410_MethodInfo_var);
List_1_t1612828711 * L_2 = __this->get_m_Uv0S_2();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1096682395_il2cpp_TypeInfo_var);
ListPool_1_Release_m2208096831(NULL /*static, unused*/, L_2, /*hidden argument*/ListPool_1_Release_m2208096831_MethodInfo_var);
List_1_t1612828711 * L_3 = __this->get_m_Uv1S_3();
ListPool_1_Release_m2208096831(NULL /*static, unused*/, L_3, /*hidden argument*/ListPool_1_Release_m2208096831_MethodInfo_var);
List_1_t1612828711 * L_4 = __this->get_m_Uv2S_4();
ListPool_1_Release_m2208096831(NULL /*static, unused*/, L_4, /*hidden argument*/ListPool_1_Release_m2208096831_MethodInfo_var);
List_1_t1612828711 * L_5 = __this->get_m_Uv3S_5();
ListPool_1_Release_m2208096831(NULL /*static, unused*/, L_5, /*hidden argument*/ListPool_1_Release_m2208096831_MethodInfo_var);
List_1_t1612828712 * L_6 = __this->get_m_Normals_6();
ListPool_1_Release_m4118150756(NULL /*static, unused*/, L_6, /*hidden argument*/ListPool_1_Release_m4118150756_MethodInfo_var);
List_1_t1612828713 * L_7 = __this->get_m_Tangents_7();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t1096682397_il2cpp_TypeInfo_var);
ListPool_1_Release_m1119005941(NULL /*static, unused*/, L_7, /*hidden argument*/ListPool_1_Release_m1119005941_MethodInfo_var);
List_1_t1440998580 * L_8 = __this->get_m_Indices_8();
IL2CPP_RUNTIME_CLASS_INIT(ListPool_1_t924852264_il2cpp_TypeInfo_var);
ListPool_1_Release_m3716853512(NULL /*static, unused*/, L_8, /*hidden argument*/ListPool_1_Release_m3716853512_MethodInfo_var);
__this->set_m_Positions_0((List_1_t1612828712 *)NULL);
__this->set_m_Colors_1((List_1_t243638650 *)NULL);
__this->set_m_Uv0S_2((List_1_t1612828711 *)NULL);
__this->set_m_Uv1S_3((List_1_t1612828711 *)NULL);
__this->set_m_Uv2S_4((List_1_t1612828711 *)NULL);
__this->set_m_Uv3S_5((List_1_t1612828711 *)NULL);
__this->set_m_Normals_6((List_1_t1612828712 *)NULL);
__this->set_m_Tangents_7((List_1_t1612828713 *)NULL);
__this->set_m_Indices_8((List_1_t1440998580 *)NULL);
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddVert(UnityEngine.Vector3,UnityEngine.Color32,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector3,UnityEngine.Vector4)
extern "C" void VertexHelper_AddVert_m4073901784 (VertexHelper_t385374196 * __this, Vector3_t2243707580 ___position0, Color32_t874517518 ___color1, Vector2_t2243707579 ___uv02, Vector2_t2243707579 ___uv13, Vector3_t2243707580 ___normal4, Vector4_t2243707581 ___tangent5, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_AddVert_m4073901784_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t1612828712 * L_0 = __this->get_m_Positions_0();
Vector3_t2243707580 L_1 = ___position0;
NullCheck(L_0);
List_1_Add_m2338641291(L_0, L_1, /*hidden argument*/List_1_Add_m2338641291_MethodInfo_var);
List_1_t243638650 * L_2 = __this->get_m_Colors_1();
Color32_t874517518 L_3 = ___color1;
NullCheck(L_2);
List_1_Add_m2405105969(L_2, L_3, /*hidden argument*/List_1_Add_m2405105969_MethodInfo_var);
List_1_t1612828711 * L_4 = __this->get_m_Uv0S_2();
Vector2_t2243707579 L_5 = ___uv02;
NullCheck(L_4);
List_1_Add_m148291600(L_4, L_5, /*hidden argument*/List_1_Add_m148291600_MethodInfo_var);
List_1_t1612828711 * L_6 = __this->get_m_Uv1S_3();
Vector2_t2243707579 L_7 = ___uv13;
NullCheck(L_6);
List_1_Add_m148291600(L_6, L_7, /*hidden argument*/List_1_Add_m148291600_MethodInfo_var);
List_1_t1612828711 * L_8 = __this->get_m_Uv2S_4();
Vector2_t2243707579 L_9 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_8);
List_1_Add_m148291600(L_8, L_9, /*hidden argument*/List_1_Add_m148291600_MethodInfo_var);
List_1_t1612828711 * L_10 = __this->get_m_Uv3S_5();
Vector2_t2243707579 L_11 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
NullCheck(L_10);
List_1_Add_m148291600(L_10, L_11, /*hidden argument*/List_1_Add_m148291600_MethodInfo_var);
List_1_t1612828712 * L_12 = __this->get_m_Normals_6();
Vector3_t2243707580 L_13 = ___normal4;
NullCheck(L_12);
List_1_Add_m2338641291(L_12, L_13, /*hidden argument*/List_1_Add_m2338641291_MethodInfo_var);
List_1_t1612828713 * L_14 = __this->get_m_Tangents_7();
Vector4_t2243707581 L_15 = ___tangent5;
NullCheck(L_14);
List_1_Add_m1346004230(L_14, L_15, /*hidden argument*/List_1_Add_m1346004230_MethodInfo_var);
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddVert(UnityEngine.Vector3,UnityEngine.Color32,UnityEngine.Vector2)
extern "C" void VertexHelper_AddVert_m2953034489 (VertexHelper_t385374196 * __this, Vector3_t2243707580 ___position0, Color32_t874517518 ___color1, Vector2_t2243707579 ___uv02, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_AddVert_m2953034489_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Vector3_t2243707580 L_0 = ___position0;
Color32_t874517518 L_1 = ___color1;
Vector2_t2243707579 L_2 = ___uv02;
Vector2_t2243707579 L_3 = Vector2_get_zero_m3966848876(NULL /*static, unused*/, /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(VertexHelper_t385374196_il2cpp_TypeInfo_var);
Vector3_t2243707580 L_4 = ((VertexHelper_t385374196_StaticFields*)VertexHelper_t385374196_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultNormal_10();
Vector4_t2243707581 L_5 = ((VertexHelper_t385374196_StaticFields*)VertexHelper_t385374196_il2cpp_TypeInfo_var->static_fields)->get_s_DefaultTangent_9();
VertexHelper_AddVert_m4073901784(__this, L_0, L_1, L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddVert(UnityEngine.UIVertex)
extern "C" void VertexHelper_AddVert_m3290455716 (VertexHelper_t385374196 * __this, UIVertex_t1204258818 ___v0, const MethodInfo* method)
{
{
Vector3_t2243707580 L_0 = (&___v0)->get_position_0();
Color32_t874517518 L_1 = (&___v0)->get_color_2();
Vector2_t2243707579 L_2 = (&___v0)->get_uv0_3();
Vector2_t2243707579 L_3 = (&___v0)->get_uv1_4();
Vector3_t2243707580 L_4 = (&___v0)->get_normal_1();
Vector4_t2243707581 L_5 = (&___v0)->get_tangent_7();
VertexHelper_AddVert_m4073901784(__this, L_0, L_1, L_2, L_3, L_4, L_5, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddTriangle(System.Int32,System.Int32,System.Int32)
extern "C" void VertexHelper_AddTriangle_m3666051761 (VertexHelper_t385374196 * __this, int32_t ___idx00, int32_t ___idx11, int32_t ___idx22, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_AddTriangle_m3666051761_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t1440998580 * L_0 = __this->get_m_Indices_8();
int32_t L_1 = ___idx00;
NullCheck(L_0);
List_1_Add_m688682013(L_0, L_1, /*hidden argument*/List_1_Add_m688682013_MethodInfo_var);
List_1_t1440998580 * L_2 = __this->get_m_Indices_8();
int32_t L_3 = ___idx11;
NullCheck(L_2);
List_1_Add_m688682013(L_2, L_3, /*hidden argument*/List_1_Add_m688682013_MethodInfo_var);
List_1_t1440998580 * L_4 = __this->get_m_Indices_8();
int32_t L_5 = ___idx22;
NullCheck(L_4);
List_1_Add_m688682013(L_4, L_5, /*hidden argument*/List_1_Add_m688682013_MethodInfo_var);
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddUIVertexQuad(UnityEngine.UIVertex[])
extern "C" void VertexHelper_AddUIVertexQuad_m280792808 (VertexHelper_t385374196 * __this, UIVertexU5BU5D_t3048644023* ___verts0, const MethodInfo* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = VertexHelper_get_currentVertCount_m1723889923(__this, /*hidden argument*/NULL);
V_0 = L_0;
V_1 = 0;
goto IL_0061;
}
IL_000f:
{
UIVertexU5BU5D_t3048644023* L_1 = ___verts0;
int32_t L_2 = V_1;
NullCheck(L_1);
Vector3_t2243707580 L_3 = ((L_1)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_2)))->get_position_0();
UIVertexU5BU5D_t3048644023* L_4 = ___verts0;
int32_t L_5 = V_1;
NullCheck(L_4);
Color32_t874517518 L_6 = ((L_4)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_5)))->get_color_2();
UIVertexU5BU5D_t3048644023* L_7 = ___verts0;
int32_t L_8 = V_1;
NullCheck(L_7);
Vector2_t2243707579 L_9 = ((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_8)))->get_uv0_3();
UIVertexU5BU5D_t3048644023* L_10 = ___verts0;
int32_t L_11 = V_1;
NullCheck(L_10);
Vector2_t2243707579 L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)))->get_uv1_4();
UIVertexU5BU5D_t3048644023* L_13 = ___verts0;
int32_t L_14 = V_1;
NullCheck(L_13);
Vector3_t2243707580 L_15 = ((L_13)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_14)))->get_normal_1();
UIVertexU5BU5D_t3048644023* L_16 = ___verts0;
int32_t L_17 = V_1;
NullCheck(L_16);
Vector4_t2243707581 L_18 = ((L_16)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_17)))->get_tangent_7();
VertexHelper_AddVert_m4073901784(__this, L_3, L_6, L_9, L_12, L_15, L_18, /*hidden argument*/NULL);
int32_t L_19 = V_1;
V_1 = ((int32_t)((int32_t)L_19+(int32_t)1));
}
IL_0061:
{
int32_t L_20 = V_1;
if ((((int32_t)L_20) < ((int32_t)4)))
{
goto IL_000f;
}
}
{
int32_t L_21 = V_0;
int32_t L_22 = V_0;
int32_t L_23 = V_0;
VertexHelper_AddTriangle_m3666051761(__this, L_21, ((int32_t)((int32_t)L_22+(int32_t)1)), ((int32_t)((int32_t)L_23+(int32_t)2)), /*hidden argument*/NULL);
int32_t L_24 = V_0;
int32_t L_25 = V_0;
int32_t L_26 = V_0;
VertexHelper_AddTriangle_m3666051761(__this, ((int32_t)((int32_t)L_24+(int32_t)2)), ((int32_t)((int32_t)L_25+(int32_t)3)), L_26, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddUIVertexStream(System.Collections.Generic.List`1<UnityEngine.UIVertex>,System.Collections.Generic.List`1<System.Int32>)
extern "C" void VertexHelper_AddUIVertexStream_m3599763288 (VertexHelper_t385374196 * __this, List_1_t573379950 * ___verts0, List_1_t1440998580 * ___indices1, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper_AddUIVertexStream_m3599763288_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
List_1_t573379950 * L_0 = ___verts0;
if (!L_0)
{
goto IL_0033;
}
}
{
List_1_t573379950 * L_1 = ___verts0;
List_1_t1612828712 * L_2 = __this->get_m_Positions_0();
List_1_t243638650 * L_3 = __this->get_m_Colors_1();
List_1_t1612828711 * L_4 = __this->get_m_Uv0S_2();
List_1_t1612828711 * L_5 = __this->get_m_Uv1S_3();
List_1_t1612828712 * L_6 = __this->get_m_Normals_6();
List_1_t1612828713 * L_7 = __this->get_m_Tangents_7();
CanvasRenderer_AddUIVertexStream_m1334037553(NULL /*static, unused*/, L_1, L_2, L_3, L_4, L_5, L_6, L_7, /*hidden argument*/NULL);
}
IL_0033:
{
List_1_t1440998580 * L_8 = ___indices1;
if (!L_8)
{
goto IL_0047;
}
}
{
List_1_t1440998580 * L_9 = __this->get_m_Indices_8();
List_1_t1440998580 * L_10 = ___indices1;
NullCheck(L_9);
List_1_AddRange_m2567809379(L_9, L_10, /*hidden argument*/List_1_AddRange_m2567809379_MethodInfo_var);
}
IL_0047:
{
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::AddUIVertexTriangleStream(System.Collections.Generic.List`1<UnityEngine.UIVertex>)
extern "C" void VertexHelper_AddUIVertexTriangleStream_m4009409241 (VertexHelper_t385374196 * __this, List_1_t573379950 * ___verts0, const MethodInfo* method)
{
{
List_1_t573379950 * L_0 = ___verts0;
if (L_0)
{
goto IL_000c;
}
}
{
goto IL_003c;
}
IL_000c:
{
List_1_t573379950 * L_1 = ___verts0;
List_1_t1612828712 * L_2 = __this->get_m_Positions_0();
List_1_t243638650 * L_3 = __this->get_m_Colors_1();
List_1_t1612828711 * L_4 = __this->get_m_Uv0S_2();
List_1_t1612828711 * L_5 = __this->get_m_Uv1S_3();
List_1_t1612828712 * L_6 = __this->get_m_Normals_6();
List_1_t1612828713 * L_7 = __this->get_m_Tangents_7();
List_1_t1440998580 * L_8 = __this->get_m_Indices_8();
CanvasRenderer_SplitUIVertexStreams_m2145837300(NULL /*static, unused*/, L_1, L_2, L_3, L_4, L_5, L_6, L_7, L_8, /*hidden argument*/NULL);
}
IL_003c:
{
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::GetUIVertexStream(System.Collections.Generic.List`1<UnityEngine.UIVertex>)
extern "C" void VertexHelper_GetUIVertexStream_m3849188814 (VertexHelper_t385374196 * __this, List_1_t573379950 * ___stream0, const MethodInfo* method)
{
{
List_1_t573379950 * L_0 = ___stream0;
if (L_0)
{
goto IL_000c;
}
}
{
goto IL_003c;
}
IL_000c:
{
List_1_t573379950 * L_1 = ___stream0;
List_1_t1612828712 * L_2 = __this->get_m_Positions_0();
List_1_t243638650 * L_3 = __this->get_m_Colors_1();
List_1_t1612828711 * L_4 = __this->get_m_Uv0S_2();
List_1_t1612828711 * L_5 = __this->get_m_Uv1S_3();
List_1_t1612828712 * L_6 = __this->get_m_Normals_6();
List_1_t1612828713 * L_7 = __this->get_m_Tangents_7();
List_1_t1440998580 * L_8 = __this->get_m_Indices_8();
CanvasRenderer_CreateUIVertexStream_m197449703(NULL /*static, unused*/, L_1, L_2, L_3, L_4, L_5, L_6, L_7, L_8, /*hidden argument*/NULL);
}
IL_003c:
{
return;
}
}
// System.Void UnityEngine.UI.VertexHelper::.cctor()
extern "C" void VertexHelper__cctor_m1150948588 (Il2CppObject * __this /* static, unused */, const MethodInfo* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_method (VertexHelper__cctor_m1150948588_MetadataUsageId);
s_Il2CppMethodInitialized = true;
}
{
Vector4_t2243707581 L_0;
memset(&L_0, 0, sizeof(L_0));
Vector4__ctor_m1222289168(&L_0, (1.0f), (0.0f), (0.0f), (-1.0f), /*hidden argument*/NULL);
((VertexHelper_t385374196_StaticFields*)VertexHelper_t385374196_il2cpp_TypeInfo_var->static_fields)->set_s_DefaultTangent_9(L_0);
Vector3_t2243707580 L_1 = Vector3_get_back_m4246539215(NULL /*static, unused*/, /*hidden argument*/NULL);
((VertexHelper_t385374196_StaticFields*)VertexHelper_t385374196_il2cpp_TypeInfo_var->static_fields)->set_s_DefaultNormal_10(L_1);
return;
}
}
// System.Void UnityEngine.UI.VerticalLayoutGroup::.ctor()
extern "C" void VerticalLayoutGroup__ctor_m4106040966 (VerticalLayoutGroup_t2468316403 * __this, const MethodInfo* method)
{
{
HorizontalOrVerticalLayoutGroup__ctor_m653248149(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.VerticalLayoutGroup::CalculateLayoutInputHorizontal()
extern "C" void VerticalLayoutGroup_CalculateLayoutInputHorizontal_m497637066 (VerticalLayoutGroup_t2468316403 * __this, const MethodInfo* method)
{
{
LayoutGroup_CalculateLayoutInputHorizontal_m212315684(__this, /*hidden argument*/NULL);
HorizontalOrVerticalLayoutGroup_CalcAlongAxis_m309111836(__this, 0, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.VerticalLayoutGroup::CalculateLayoutInputVertical()
extern "C" void VerticalLayoutGroup_CalculateLayoutInputVertical_m3227111700 (VerticalLayoutGroup_t2468316403 * __this, const MethodInfo* method)
{
{
HorizontalOrVerticalLayoutGroup_CalcAlongAxis_m309111836(__this, 1, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.VerticalLayoutGroup::SetLayoutHorizontal()
extern "C" void VerticalLayoutGroup_SetLayoutHorizontal_m2935499508 (VerticalLayoutGroup_t2468316403 * __this, const MethodInfo* method)
{
{
HorizontalOrVerticalLayoutGroup_SetChildrenAlongAxis_m671331202(__this, 0, (bool)1, /*hidden argument*/NULL);
return;
}
}
// System.Void UnityEngine.UI.VerticalLayoutGroup::SetLayoutVertical()
extern "C" void VerticalLayoutGroup_SetLayoutVertical_m1302409034 (VerticalLayoutGroup_t2468316403 * __this, const MethodInfo* method)
{
{
HorizontalOrVerticalLayoutGroup_SetChildrenAlongAxis_m671331202(__this, 1, (bool)1, /*hidden argument*/NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"849166805@qq.com"
] | 849166805@qq.com |
fa56f5df273f911225cc17d8802211b1ced6b65c | 8aee93ee0dc09c6cf9df91a215713fa957fa883b | /test/encodings/unicode_group_Zp_x_encoding_policy_ignore.re | 41bb6494aa0bf731f5e492d2cab812df2e1ce972 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | trofi/re2c | 7bbe5a3ffa6398c69d3e48886fcd2c38f88296c6 | 51c3d5f5acd18da6aea9d3deebc855776344fe8f | refs/heads/master | 2022-07-11T21:33:43.253548 | 2022-07-03T08:24:37 | 2022-07-03T08:24:37 | 270,314,465 | 0 | 0 | NOASSERTION | 2020-06-07T13:25:47 | 2020-06-07T13:25:46 | null | UTF-8 | C++ | false | false | 1,386 | re | // re2c $INPUT -o $OUTPUT -x --encoding-policy ignore
#include <stdio.h>
#include "utf16.h"
#define YYCTYPE unsigned short
bool scan(const YYCTYPE * start, const YYCTYPE * const limit)
{
__attribute__((unused)) const YYCTYPE * YYMARKER; // silence compiler warnings when YYMARKER is not used
# define YYCURSOR start
Zp:
/*!re2c
re2c:yyfill:enable = 0;
Zp = [\u2029-\u2029];
Zp { goto Zp; }
* { return YYCURSOR == limit; }
*/
}
static const unsigned int chars_Zp [] = {0x2029,0x2029, 0x0,0x0};
static unsigned int encode_utf16 (const unsigned int * ranges, unsigned int ranges_count, unsigned int * s)
{
unsigned int * const s_start = s;
for (unsigned int i = 0; i < ranges_count; i += 2)
for (unsigned int j = ranges[i]; j <= ranges[i + 1]; ++j)
{
if (j <= re2c::utf16::MAX_1WORD_RUNE)
*s++ = j;
else
{
*s++ = re2c::utf16::lead_surr(j);
*s++ = re2c::utf16::trail_surr(j);
}
}
return s - s_start;
}
int main ()
{
unsigned int * buffer_Zp = new unsigned int [4];
YYCTYPE * s = (YYCTYPE *) buffer_Zp;
unsigned int buffer_len = encode_utf16 (chars_Zp, sizeof (chars_Zp) / sizeof (unsigned int), buffer_Zp);
/* convert 32-bit code units to YYCTYPE; reuse the same buffer */
for (unsigned int i = 0; i < buffer_len; ++i) s[i] = buffer_Zp[i];
if (!scan (s, s + buffer_len))
printf("test 'Zp' failed\n");
delete [] buffer_Zp;
return 0;
}
| [
"skvadrik@gmail.com"
] | skvadrik@gmail.com |
ef00bb8668c8b25cad557b6fc7efa12a75480af1 | fdef86bbf1cf0bcb4335b9e76b95a9e9ca558bf4 | /KinectMusic/KinectMusic/gestureExtraction/blobs/blobsclust.hpp | c50564d3753251f3d87cbea17e8b5e89537fccc1 | [] | no_license | mgsvetlov/KinectMusic | 32befbf347c3f43ab9e87362219dac90a6a62bdd | 92bb0b7cfae208b6ed201f0f18d6ddf2e9e55755 | refs/heads/master | 2021-01-13T10:15:02.596513 | 2017-09-20T18:08:23 | 2017-09-20T18:08:23 | 69,746,528 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,859 | hpp | //
// blobsclust.hpp
// KinectMusic
//
// Created by Mikhail Svetlov on 16/07/17.
// Copyright © 2017 mgsvetlov. All rights reserved.
//
#ifndef blobsclust_hpp
#define blobsclust_hpp
#include "blobext.hpp"
template<typename T> class BlobsClust {
public:
BlobsClust( std::list<T>& blobs, int xyThresh, int depthThresh, int blobMinSize = -1, bool isAdjacentTest = false);
std::list<T>& getBlobsClust();
private:
bool isBlobNear(const T& blob1, const T& blob2);
private:
std::list<T>& blobs;
std::list<T> blobsClust;
int xyThresh;
int depthThresh;
bool isAdjacentTest;
};
template<typename T> BlobsClust<T>::BlobsClust( std::list<T>& blobs, int xyThresh, int depthThresh, int blobMinSize, bool isAdjacentTest) :
blobs (blobs),
xyThresh(xyThresh),
depthThresh(depthThresh),
isAdjacentTest(isAdjacentTest)
{
if(blobs.empty())
return;
for(auto& blob : blobs) {
bool isMerged(false);
for(auto& blobClust : blobsClust){
if(isBlobNear(blob, blobClust)){
blobClust.getCells().Merge(blob.getCells());
isMerged = true;
break;
}
}
if(!isMerged){
blobsClust.push_back(std::move(blob));
}
}
bool merge (true);
while(merge) {
merge = false;
auto it = blobsClust.begin();
while(it != blobsClust.end()){
auto it1 = it;
it1++;
while(it1 != blobsClust.end()){
if(isBlobNear(*it, *it1 )) {
it->getCells().Merge(it1->getCells());
it1 = blobsClust.erase(it1);
merge = true;
continue;
}
it1++;
}
it++;
}
}
//filter small blobs
if(blobMinSize == -1)
return;
auto it = blobsClust.begin();
while(it != blobsClust.end()){
if(it->getCellsConst().Size() < blobMinSize){
it = blobsClust.erase(it);
continue;
}
++it;
}
}
template<typename T> std::list<T>& BlobsClust<T>::getBlobsClust(){
return blobsClust;
}
template<typename T> bool BlobsClust<T>::isBlobNear(const T& blob1, const T& blob2) {
if(!blob1.getCellsConst().MinValCell()|| !blob2.getCellsConst().MinValCell())
return false;
if(depthThresh > 0){
if(std::abs(blob1.getCellsConst().MinValCell()->val - blob2.getCellsConst().MinValCell()->val) > depthThresh)
return false;
}
if(xyThresh > 0){
if(isAdjacentTest){
bool isNear(false);
for(const auto& cell1 : blob1.getCellsConst().AllConst()){
int x1 = cell1.x;
int y1 = cell1.y;
for(const auto& cell2 : blob2.getCellsConst().AllConst()){
int x2 = cell2.x;
int y2 = cell2.y;
int dx = x1 - x2;
int dy = y1 - y2;
if(dx * dx + dy * dy < xyThresh * xyThresh){
isNear = true;
break;
}
}
if(isNear)
break;
}
if(!isNear)
return false;
}
else {
int x1 = blob1.getCellsConst().MinValCell()->x;
int y1 = blob1.getCellsConst().MinValCell()->y;
int x2 = blob2.getCellsConst().MinValCell()->x;
int y2 = blob2.getCellsConst().MinValCell()->y;
int dx = x1 - x2;
int dy = y1 - y2;
if(dx * dx + dy * dy > xyThresh * xyThresh)
return false;
}
}
if(!isAdjacentTest)
return true;
return blob1.IsAdjacent(blob2, depthThresh);
}
#endif /* blobsclust_hpp */
| [
"mikhail.svetlov@rutoll.ru"
] | mikhail.svetlov@rutoll.ru |
37fb6f13b629941ec3acf9614d6cd7d1b6beb78a | 6e3c1325a3037237860a6f65b3df50a870162ace | /fitparam/src/XsecParameters.hh | 445eb633748758b750ba9f297322c1de02f04705 | [] | no_license | cvson/pmcccohana1x | 1fcab1765b693d7385ef8ba26ab8960f194490d3 | fbdee0dcfe3df4eeb67838d4cceabdeeb64236e9 | refs/heads/master | 2021-01-01T04:45:20.752562 | 2016-05-27T03:25:12 | 2016-05-27T03:25:12 | 59,724,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,161 | hh | //////////////////////////////////////////////////////////
//
// Xsec modeling parameters
//
//
//
// Created: Oct 2013
// Modified:
//
//////////////////////////////////////////////////////////
#ifndef __XsecParameters_hh__
#define __XsecParameters_hh__
#include "AnaFitParameters.hh"
#include <TFile.h>
#include <TGraph.h>
// Sample types
// 0 --> SIG
// 1 --> CR1
// 2 --> CR2A
// 3 --> CR2B
// 4 --> CR2C
// 5 --> More2trk
// 6 --> Onetrack
enum SampleTypes { s_SIG = 0,
s_CRI = 1,
s_CRII = 2,
s_CRIII = 3};
// Reaction and backgrounds
// the indices should match with ntuples
// 0 - CC1picoh
// 1 - CCQE
// 2 - CC1pion
// 3 - CC OTHER
// 4 - NC & Anti-nu background
// 5 - Wall & INGRID
/*enum ReactionTypes { ReCC1picoh = 0,
ReCCQE = 1,
ReCC1pi = 2,
ReCCDIS = 3,
ReNCAntiNu = 4,
OutFGD = 5 };*/
enum ReactionTypes { ReCCQE = 0,
ReCC1pi = 1,
ReCCDIS = 2,
ReNCAntiNu = 3,
OutFGD = 4 };
struct XsecBin
{
double recoPlow, recoPhigh;
//double truePlow, truePhigh;
double recoCTHlow, recoCTHhigh;
//double trueCTHlow, trueCTHhigh;
SampleTypes topology;
ReactionTypes reaction;
std::vector<TGraph*> respfuncs;
};
class XsecParameters : public AnaFitParameters
{
public:
XsecParameters(const char *name = "par_xsec");
~XsecParameters();
void StoreResponseFunctions(std::vector<TFile*> respfuncs,
std::vector<std::pair <double,double> > v_pedges,
std::vector<std::pair <double,double> > v_cthedges);
void InitEventMap(std::vector<AnaSample*> &sample);
void EventWeights(std::vector<AnaSample*> &sample,
std::vector<double> ¶ms);
void ReWeight(AnaEvent *event, int nsample, int nevent,
std::vector<double> ¶ms);
private:
/*int GetBinIndex(SampleTypes sampletype, ReactionTypes reactype,
double recoP, double trueP, double recoCTH, double trueCTH);*/
int GetBinIndex(SampleTypes sampletype, ReactionTypes reactype,
double recoP, double recoCTH);
std::vector<XsecBin> m_bins;
};
#endif
| [
"cvson@utexas.edu"
] | cvson@utexas.edu |
acabfac4977db2f4c07dae3e537f7046ccdb041f | 53df9a41558b36ee80cce63fbb1133fb0b11a8f0 | /CheckList/CheckList/CheckList.cpp | d79255e2b320986a466f9cf149cbae6c2533bbc8 | [] | no_license | NaamaK/IControlers | 0b1d999ee26138f97e0cb259a412309b2547745f | fb86d81d8456d7c273ce4f2b1729e45e511c033e | refs/heads/master | 2016-09-13T01:14:59.230970 | 2016-05-08T23:44:44 | 2016-05-08T23:44:44 | 58,336,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include <Windows.h>
#include <iostream>
#include "CheckList.h"
#include "MyLine.h"
using namespace std;
CheckList::CheckList(DWORD color, COORD loc, MyLine lines[3], HANDLE hStdin, HANDLE hStdout) : IControler(loc, Size(-1, -1), hStdin, hStdout, NONE, color, color, false, false) {
SetConsoleCursorPosition(_hStdout, loc);
CONSOLE_CURSOR_INFO cci = { 100, FALSE };
SetConsoleCursorInfo(_hStdout, &cci);
SetConsoleTextAttribute(_hStdout, color);
int index = 0;
for (index = 0; index < 3; index++){
cout << lines[index].getUnMarked();
_loc.Y = _loc.Y + 1;
SetConsoleCursorPosition(_hStdout, _loc);
}
_loc.Y = _loc.Y - (index);
SetConsoleCursorPosition(_hStdout, _loc);
}
CheckList::~CheckList() {
} | [
"naama.kapach@gmail.com"
] | naama.kapach@gmail.com |
09d8cf5480b9d949ec0c9bcd9ac34f5a0cf80886 | 4c071cfb8a1af93fff5e31e8d4e2cd6aa0827bed | /raygame/SteeringForce.cpp | 91891fc5ca079ee271e7745a15c52547c2c05068 | [
"MIT"
] | permissive | kimjo562/AgentsAI | 3374f0cd3fcc030614e4742b9fc763ded4fd9286 | b3ea03edc6c3eee3880697cd874ad1f5a0bcf919 | refs/heads/master | 2021-04-18T13:26:06.012171 | 2020-04-01T22:54:27 | 2020-04-01T22:54:27 | 249,549,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27 | cpp | #include "SteeringForce.h"
| [
"s198022@students.aie.edu"
] | s198022@students.aie.edu |
86a92115d4c94aec886881452d28f9fce8d6412a | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_RhinoAnimBlueprint_parameters.hpp | a453ea44dec3c33ae2ed1a7d9f31b9df007f56c1 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_RhinoAnimBlueprint_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function RhinoAnimBlueprint.RhinoAnimBlueprint_C.ExecuteUbergraph_RhinoAnimBlueprint
struct URhinoAnimBlueprint_C_ExecuteUbergraph_RhinoAnimBlueprint_Params
{
int EntryPoint; // (Parm, ZeroConstructor, IsPlainOldData)
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
1174b3447bd90d86429c4caff30f0e69fcb30de4 | eec050208816a4c0e274cb14e6f6aa12b9897d87 | /OptiTrack/src/exampleCode.cpp | c8f8cf31c85ebd6a6e5147d45ab16f1983b4e501 | [] | no_license | reinkek/robo-shooter | 1bbf87c7940c8b5b9b90a593b1dd6a477652dbd2 | 3f8de136deaa1cbbb2cf24e094253324f56e4987 | refs/heads/master | 2021-01-23T14:47:48.534291 | 2015-02-13T04:48:44 | 2015-02-13T04:48:44 | 30,399,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,306 | cpp | /**************************************************************************
*** Copyright (c) 2014 S. Mohammad Khansari, Stnford Robotics, ***
*** Stanford University, USA ***
***************************************************************************
*
* The program is free for non-commercial academic use, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. The author DOES NOT take any responsibility for
* this software.
*
* This wrapper relies on vrpn software, which is provided by Georgia Tech Research
* Corporation. You NEED to refer to vrpn package for the license information.
*
* Please send your feedbacks or questions to:
* khansari_at_cs.stanford.edu
***************************************************************************/
#include "OptiTrack.h"
int main(int argc, char* argv[])
{
std::string vrpn_server_ip = "172.24.68.48:3883"; //you should not change this ip address
std::cout << "vrpn_server_ip:" << vrpn_server_ip << std::endl;
//The name of the objects that you want to track
std::string target_name[] = {"quad"};
//computing the number of strings in the target_name
int nbObjects = sizeof( target_name ) / sizeof( std::string );
//initializing the optitrack object(s)
OptiTrack *objects = new OptiTrack[nbObjects];
for (int i=0; i<nbObjects; i++){
objects[i].Init(vrpn_server_ip, target_name[i]);
//if you want to use your own coordinate system T, you could load it here
//T is a homogeneous matrix from OptiTrack coordinate system to your coordinate system
objects[i].loadCalibrationMatrix("VisionCalib.txt");
}
bool b_useCalibration = false;
double currentPosition[3];
double **currentRotationMatrix;
currentRotationMatrix = new double*[3];
for (int i=0; i<3; i++)
currentRotationMatrix[i] = new double[3];
while(true)
{
for (int i=0; i<nbObjects; i++)
{
if (objects[i].IsEnabled()){
//reading new values, if there is any
objects[i].Update();
// Getting the object position
objects[i].GetPosition(currentPosition, b_useCalibration);
// Getting the object orientation
objects[i].GetRotationMatrix(currentRotationMatrix, b_useCalibration);
//printing
std::cout << "Object name: " << objects[i].GetObjectName() << std::endl;
std::cout << "Position: [" << currentPosition[0] << "," << currentPosition[1] << "," << currentPosition[2] << "]" << std::endl;
std::cout << "Orientation: [" << currentRotationMatrix[0][0] << "," << currentRotationMatrix[0][1] << "," << currentRotationMatrix[0][2] << std::endl;
std::cout << " " << currentRotationMatrix[1][0] << "," << currentRotationMatrix[1][1] << "," << currentRotationMatrix[1][2] << std::endl;
std::cout << " " << currentRotationMatrix[2][0] << "," << currentRotationMatrix[2][1] << "," << currentRotationMatrix[2][2] << "]" << std::endl;
}
}
vrpn_SleepMsecs(10);
}
return 0;
}
| [
"kyle.reinke@gmail.com"
] | kyle.reinke@gmail.com |
13b647c06c1fb3870aae9174fb0e32444fe61476 | 8b6f779bcb15d90fc1da0135af227bdebfdd231d | /Array/medium/11.cpp | bc6114abb8fe5f970bc19846584e479172103a34 | [] | no_license | labulaka6/Leetcode | 0979d58658a08db65843fe70cd468e9b57bfc2cd | 868d8684a082f840c362150a7fdd0286accfc5c8 | refs/heads/master | 2021-03-08T14:46:47.938315 | 2020-07-14T08:29:11 | 2020-07-14T08:29:11 | 246,352,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,840 | cpp | // 暴力解法 - 超出时间限制
static const auto _ = [](){
ios::sync_with_stdio(false);
cin.tie(nullptr);
return nullptr;
}();
class Solution {
public:
int maxArea(vector<int>& height) {
int len = height.size();
int maxi = 0;
for(int i = 0; i < len-1; ++i){
for(int j = i+1; j < len; ++j){
maxi = max(maxi, (j-i)*min(height[i], height[j]));
}
}
return maxi;
}
};
// 双指针法
// 暴力法的优化可以得到双指针法。
// 首先看暴力法,遍历两个数i, j(假定i是左边索引,j是右边索引, 方便起见,把两个数看成一个坐标[i, j])
// 所以需要遍历的所有坐标是:
// [0, 1], [0, 2], [0, 3] ...[0, n]
// [1, 2], [1, 3] ...[1, n]
// ...
// [n-1, n]
// 如果按以上遍历顺序,会发现改进遍历的顺序,会产生非常好的效果,
// 拿第一行来说,遍历到[0,1]坐标时,这个坐标的信息(0和1谁的高度小)不能为我们省去遍历步数,
// 因为无论这个信息如何,[0,2]比[0,1]宽度增加了一,那[0,2]对应的最大容量就有可能大于[0,1],
// 这种可能是我们必须再必须遍历[0,2]的原因。
// 但是,如果我们倒转每一行的遍历顺序呢,按以下顺序遍历:
// [0, n], [0, n-1], [0, n-2] ...[0, 1]
// [1, n], [1, n-1] ...[1, 2]
// ...
// [n, n-1]
// 首先我们遍历到[0, n], 有两种可能:
// 第一种可能: 0的高度小于等于n的高度。
// 这种情况下无需再遍历[0, n-1], [0, n-2] ...[0, 1]了,
// 因为后面坐标对应的矩形,首先在宽度上在逐渐减小,高度上又不能比0的大(高度取决于两边最小的高度),
// 所以后面坐标形成的矩形面积不会比[0,n]大了,即当i=0的坐标,都可以不用遍历了,
// 这其实是削减了i的遍历范围,从刚开始的 0 <= i <= n-1 变成了 1 <= i <= n-1,
// 这本质上就是双指针算法里面的左指针右移。
// 第二种可能:0的高度大于等于n的高度。这种情况下我们无需再遍历 [1, n], [2, n], [3, n] ... [0,n]了,
// 原因同上,宽度在逐渐减小,高度不会大于n对应的高度。
// 即当j=n的坐标都不会遍历了,这其实是削减了j的遍历范围, 从刚开始的1 <=j <= n 变成了 1<= i <= n-1,
// 这本质上就是双指针算法里面的右指针左移。
// 把以上思路转换为代码,其实就是双指针法
class Solution {
public:
int maxArea(vector<int>& height) {
int l = 0, r = height.size() - 1;
int ans = 0;
while(l < r){
ans = max(ans, (r-l)*min(height[r], height[l]));
if(height[l] <= height[r]) l++;
else r--;
}
return ans;
}
}; | [
"13399226198@163.com"
] | 13399226198@163.com |
b2c4b9c29367e56ef5664d35329c57e304dbcdd1 | 907447adefbdfed0b6b146aedb490148ac3d40ad | /TD4/JDV0.h | 28c8f1e18f183cc968d365c1c99d7fd889b7de89 | [] | no_license | SabNVDY/Jeu-de-la-vie | a8702a0f530fdfc1db32a4967eb962b22b744e0a | 8e0fd55f4593965c938812c202c21af770ec1d1c | refs/heads/master | 2023-04-17T07:36:36.005235 | 2021-05-04T19:10:19 | 2021-05-04T19:10:19 | 364,349,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | h | #ifndef __JDV_H
#define __JDV_H
#include "population-vivante-v2.h"
class JeuDeLaVie {
private:
PopulationVivante POP;
void nettoie(std::string &s);
bool findCleVal(std::string &s, std::string &s1,std::string &s2);
void TraiteOption(const std::string &cle, const std::string &valeur, size_t num_ligne);
public:
JeuDeLaVie();
void loadConfig(std::string file);
void run(size_t);
};
#endif
| [
"djebrouni.sabrina@gmail.com"
] | djebrouni.sabrina@gmail.com |
8e9fd3580c525a6a7e5c48ac6a664f086ce1cf40 | 391c3971ff196e3c1ae862d50dee460a3faf00f4 | /persistent/trade/quote/order_book.hpp | 9f533536f96bd18d60c7da17ae92020361ffd7cb | [] | no_license | OpenTrader9000/quik | 257c954fc219338d9f25ccae9cff52b4ec7b7520 | 117e9f3439b9e05bfd5a73c837d6921de66bf239 | refs/heads/master | 2021-09-01T04:30:41.349079 | 2017-12-24T20:14:52 | 2017-12-24T20:14:52 | 110,351,902 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | hpp | #pragma once
#include <common/numbers/bcd.hpp>
#include <vector>
#include <list>
namespace persistent {
namespace trade {
namespace quote {
struct order_book_element {
common::numbers::bcd price_;
int quantity_;
};
struct order_book {
using iterator_t = std::vector<order_book_element>::iterator;
std::vector<order_book_element> bid_;
std::vector<order_book_element> offer_;
};
} // namespace quote
} // namespace trade
} // namespace persistent | [
"likhachevae@1488a.ru"
] | likhachevae@1488a.ru |
46cac05ae9d89942296ba5d75a319a8533698c8b | e20cae149e72b1cd8da27bb92e8cfaddecf8c641 | /include/ast/float_constant.hpp | 6fd20d9cc9a085582b4df2e6d28d26117493e0b6 | [
"MIT"
] | permissive | k1r0d3v/lambda | 971ee16194beef467e8451b0e2e1527e77f70716 | 3db2e5895dd19f1111845b6f47840b6f9eff3c36 | refs/heads/master | 2022-11-19T23:21:21.544958 | 2020-07-18T10:07:34 | 2020-07-18T10:07:34 | 216,243,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | hpp | #ifndef LAMBDA_FLOAT_CONSTANT_HPP
#define LAMBDA_FLOAT_CONSTANT_HPP
#include <ast/node.hpp>
namespace ast
{
class FloatConstant : public Node
{
public:
using Pointer = Node::PointerType<FloatConstant>;
using FloatValueType = double;
public:
explicit FloatConstant(FloatValueType value);
const FloatValueType &value() const { return mValue; }
Node::Pointer evaluate(Context &context) const override;
Type::Pointer typecheck(TypeContext &context) override;
Node::Pointer transform(NodeVisitor *visitor) override;
Node::Pointer copy() const override;
string toString() const override;
private:
FloatValueType mValue;
};
}
#endif //LAMBDA_FLOAT_CONSTANT_HPP
| [
"mario.carpente@udc.es"
] | mario.carpente@udc.es |
51aee9e774dfb036d6c0a26a9333e7ec5219c622 | ac75558b13b1eb5a220ea7b84739c87ad50f6da5 | /OthersAll/Discover the Web.lightoj.cpp | 537a51e7e02c60ff5ae50f4e9291d6230f5aa98a | [] | no_license | Anik-Modak/CompetitiveProgramming | 670a53f323292b16484ca28f340e123e8da8fcff | 3fa0b9712f6bb4879d53a066fa16274e480b31a4 | refs/heads/master | 2022-03-22T06:21:30.654964 | 2019-12-10T12:58:35 | 2019-12-10T12:58:35 | 184,308,402 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t,c;
cin>>t;
for(c=1;c<=t;c++)
{
string a;
stack<string>bs;
stack<string>fs;
bs.push("http://www.lightoj.com/");
printf("Case %d:\n",c);
while(cin>>a)
{
if(a=="QUIT") break;
else if(a=="VISIT") continue;
else if(a=="BACK"){
if(bs.size()<=1) cout<<"Ignored"<<endl;
else{
fs.push(bs.top());
bs.pop();
cout<<bs.top()<<endl;
}
}
else if(a=="FORWARD"){
if(fs.size()==0) cout<<"Ignored"<<endl;
else{
cout<<fs.top()<<endl;
bs.push(fs.top());
fs.pop();
}
}
else{
bs.push(a);
cout<<bs.top()<<endl;
while(fs.size()) fs.pop();
}
}
}
}
| [
"anikmodak.rucse@gmail.com"
] | anikmodak.rucse@gmail.com |
a55f48093de1cc2a1a45ca57b67fddb481ae03f5 | 61c5150c9c11c013460ec8386b3fd1c4196e632c | /src/include/protocol/abd/span.h | ddcd7d59469317b551fe8133d040119227a9a403 | [
"MIT"
] | permissive | mbailleu/avocado | 73e10151204e8ccdff202f914de55c721f5d624a | 6b835f580671412be975fea70b8d1890cdd8e399 | refs/heads/main | 2023-07-30T23:27:59.498506 | 2021-09-20T14:19:56 | 2021-09-20T14:19:56 | 363,992,538 | 16 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 378 | h | #pragma once
#include <cstdint>
#include <cstddef>
namespace avocado {
template<class NET_MSG, class KV_BUF>
struct Span {
size_t size;
uint8_t * buf;
Span(NET_MSG const & msg) : size(msg.get_data_size()), buf(msg.buf) {}
Span(KV_BUF const & msg) : size(msg.size), buf(msg.value.get()) {}
Span(size_t size, uint8_t * buf) : size(size), buf(buf) {}
};
} //avocado
| [
"M.Bailleu@web.de"
] | M.Bailleu@web.de |
ad5840dc625d739f26226eb494d08bc61205cdcf | 9b4b0c3faa5f3002ed85c3054164e0b9fb427f56 | /Codes/17800/17869.cpp | 7a58f1a168f02e0ecfc5d3684a80190dbfbc7e58 | [] | no_license | calofmijuck/BOJ | 246ae31b830d448c777878a90e1d658b7cdf27f4 | 4b29e0c7f487aac3186661176d2795f85f0ab21b | refs/heads/master | 2023-04-27T04:47:11.205041 | 2023-04-17T01:53:03 | 2023-04-17T01:53:03 | 155,859,002 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
long long n;
cin >> n;
int steps = 0;
while (n != 1) {
if (n % 2 == 0) {
n /= 2;
} else {
n++;
}
steps++;
}
cout << steps;
return 0;
}
| [
"calofmijuck@snu.ac.kr"
] | calofmijuck@snu.ac.kr |
ad3147f34eff59b68c5209da55fa228581790826 | 40ec1693279ab2a8ae09cf295ff966036755ab90 | /UN601-API_Demo-Private/scanner.cpp | 250bd79ba7fcc7fffe78896aad028cd36c302084 | [] | no_license | Tubbxl/MasterApp | dcffc702a6236f7d6518fc93cefa9bf190feb7b3 | 9cb4173e57219bd0159063013e0f49fa10dfa08f | refs/heads/master | 2020-12-02T06:37:38.970267 | 2017-07-11T07:54:37 | 2017-07-11T07:54:37 | 96,865,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,423 | cpp | #include "scanner.h"
#include "ui_scanner.h"
#include <QDebug>
#include <QFile>
extern "C"{
#include "dll_api.h"
}
#define setbit(x,y) x|=(1<<y) //将X的第Y位置1
#define clrbit(x,y) x&=~(1<<y) //将X的第Y位清0
Scanner::Scanner(QWidget *parent) :
QWidget(parent),
ui(new Ui::Scanner)
{
ui->setupUi(this);
ui->label->close();
ui->pre->setMaxLength(4);
ui->suf->setMaxLength(2);
ui->pre->close();
ui->suf->close();
memset(mDate,0x00,sizeof(mDate));
mMode = 0;
ui->set->close();
ui->set_2->close();
mReadThread = new scanread;
// connect(this,SIGNAL(readend()),this,SLOT(datedeal()));
loadStyleSheet("uistyle1");
}
void Scanner::loadStyleSheet(const QString &sheetName)
{
QFile file(":/qss/" + sheetName.toLower() + ".qss");
file.open(QFile::ReadOnly);
QString styleSheet = QLatin1String(file.readAll());
qApp->setStyleSheet(styleSheet);
file.close();
}
void Scanner::setContainerPointer(QWidget *ptrContainer)
{
mPtrContainer = ptrContainer;
}
Scanner::~Scanner()
{
delete ui;
}
void Scanner::on_set_clicked()
{
QString str;
QString suffix;
str = ui->pre->text();
QByteArray pre = str.toLatin1();//str.toLatin1();
mPrefix = pre.data();
if(str.isEmpty())
mPrefix = NULL;
suffix = ui->suf->text();
QByteArray suf = suffix.toLatin1();
mSuffix = suf.data();
if(suffix.isEmpty())
mSuffix = NULL;
//qDebug("mode = %02x mPrefix=[%s] mSuffix=[%s]",mMode,mPrefix,mSuffix);
DLL_ScanModeSet((unsigned char)mMode,(unsigned char*)mPrefix,(unsigned char*)mSuffix);
}
void Scanner::on_set_2_clicked()
{
ui->label->clear();
ui->resultt->clear();
DLL_ScanTrigger();
/*connect(mReadThread,&scanread::sendreaddate( mDatalen, mDate),[ =]{
printf(" in thread readdata = %s %d\n",mDate,mDatalen);
qDebug("0000000000000000000");
});*/
QObject::connect(mReadThread,SIGNAL(sendreaddate(int *,unsigned char*)),this,SLOT(getdata(int *, unsigned char*)));
mReadThread->start();
}
void Scanner::on_mode_clicked() //mode
{
if(ui->mode->isChecked())
{
qDebug("keywedge 1");
setbit(mMode,0);
return;
}
qDebug("keywedge 0");
clrbit(mMode,0);
}
void Scanner::on_mode_2_clicked() //have enter
{
if(ui->mode_2->isChecked())
{
qDebug("enter 1");
setbit(mMode,2);
return;
}
clrbit(mMode,2);
qDebug("enter 0");
}
void Scanner::on_prefix_clicked() //prefix
{
if(ui->prefix->isChecked())
{
qDebug("prefix 1");
setbit(mMode,1);
ui->pre->show();
return;
}
clrbit(mMode,1);
ui->pre->close();
ui->pre->clear();
qDebug("prefix 0");
}
void Scanner::on_suffix_clicked() //suffix
{
if(ui->suffix->isChecked())
{
qDebug("suffix 1");
setbit(mMode,1);
ui->suf->show();
return;
}
clrbit(mMode,1);
ui->suf->close();
ui->suf->clear();
qDebug("suffix 0");
}
void Scanner::on_pushButton_clicked()
{
ui->pushButton->close();
ui->set->show();
ui->set_2->show();
DLL_ScanOpen();
}
void Scanner::datedeal()
{
QString str;
qDebug("deal data");
// if(mDatalen)
{
ui->resultt->setText(QString(QLatin1String(mDate)));
str.sprintf("Len:%s",strlen(mDate));
ui->label->setText(str);
}
}
void Scanner::getdata(int *len, unsigned char * data)
{
QString str;
int Len = 0;
Len = *len;
qDebug("get data %d %s",Len,data);
strcpy((char *)mDate,(char *)data);
if(Len<strlen(mDate))
Len = strlen(mDate);
if(Len>0)
{
str.sprintf("Len:%d",Len);
ui->label->setText(str);
ui->label->show();
}
if(Len>0&&mDate[3]!=0)
{
mDatalen = Len;
if((mMode&0x01)==0)
{
ui->resultt->setText(QString(QLatin1String(mDate)));
}
}
//emit readend();
}
void Scanner::on_pushButton_2_clicked()
{
DLL_ScanClose();
mPtrContainer->close();
}
void Scanner::on_setkey_clicked()
{
QString Str;
Str = ui->setkey->text();
if(QString::compare(Str,"DisKey") == 0)
{
ui->setkey->setText("EnKey");
DLL_ScanKeySet(0);
}
else
{
ui->setkey->setText("DisKey");
DLL_ScanKeySet(1);
}
}
| [
"tubb@unifou.com"
] | tubb@unifou.com |
5cbe92e8dd3ee53438e784270c81eaccb06023bd | 9467e2502183e843a67736800199e31674b1d8f6 | /HybridCLRData/LocalIl2CppData-OSXEditor/il2cpp/libil2cpp/metadata/Il2CppGenericMethodHash.cpp | 337ee699602a6b6f2bb4a2482f4aaa0cc44e4b1d | [
"Apache-2.0"
] | permissive | yimengfan/BDFramework.Core | 3a046fcd755a84ba55d648dd3ad52c37a1cc1a04 | 81380fce8e84367f912777717665b53f074ab617 | refs/heads/master | 2023-09-04T10:08:47.644992 | 2023-07-05T16:22:11 | 2023-07-05T16:22:11 | 85,928,537 | 2,421 | 497 | Apache-2.0 | 2023-03-21T06:56:21 | 2017-03-23T09:03:48 | C# | UTF-8 | C++ | false | false | 710 | cpp | #include "il2cpp-config.h"
#include "il2cpp-class-internals.h"
#include "Il2CppGenericMethodHash.h"
#include "Il2CppGenericContextHash.h"
#include "utils/HashUtils.h"
using il2cpp::utils::HashUtils;
namespace il2cpp
{
namespace metadata
{
size_t Il2CppGenericMethodHash::operator()(const Il2CppGenericMethod* method) const
{
return Hash(method);
}
size_t Il2CppGenericMethodHash::Hash(const Il2CppGenericMethod* method)
{
size_t tokenHash = method->methodDefinition->token;
size_t contextHash = Il2CppGenericContextHash::Hash(&method->context);
return HashUtils::Combine(tokenHash, contextHash);
}
} /* namespace metadata */
} /* namespace il2cpp */
| [
"y755737878@gmail.com"
] | y755737878@gmail.com |
46ec6115d0f52a1b896aa22b6cf147676a1ee7c5 | e3ff90b5f2510e679ee381194534188c97be18ad | /WB139dp.cpp | 9c4337fc957e2d2cd62673f3bfa1f43e79179899 | [] | no_license | hitcszq/leetcode | 144f561f04c04e87ffd5a5d991f103e4a8f9f35f | df81c1d29b87bdd533b289924dbe32f54abf7f3a | refs/heads/master | 2021-01-17T08:49:30.169910 | 2016-08-22T15:27:29 | 2016-08-22T15:27:29 | 62,711,513 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 586 | cpp | class Solution {
public:
bool wordBreak(string s, unordered_set<string> &dict) {
vector<bool> wordB(s.length() + 1, false);
wordB[0] = true;
for (int i = 1; i < s.length() + 1; i++) {
for (int j = i - 1; j >= 0; j--) {
if (wordB[j] && dict.find(s.substr(j, i - j)) != dict.end()) {
wordB[i] = true;
break; //只要找到一种切分方式就说明长度为i的单词可以成功切分,因此可以跳出内层循环。
}
}
}
return wordB[s.length()];
}
}; | [
"583101017@qq.com"
] | 583101017@qq.com |
487c1ce90819933a0acc0844727304f8f8846f5e | ddf29d62f515848891499d229b2357b908177236 | /1Arrays/maxsumsubarrayoptimize.cpp | 314726b36539b9ed2d42a9b3712ef5dcb475fac4 | [] | no_license | Gosai99nikita/Cpp-programs1 | a4cee9195b809d430294dcff62f37140b9752b06 | c095cb70037463d6e70e066f69a11ac9fd5b8a31 | refs/heads/main | 2023-08-12T22:59:56.569423 | 2021-10-14T10:43:45 | 2021-10-14T10:43:45 | 417,089,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | cpp | //maximum sum sub array
//(o)^2 solution
//1.first find cumulative sum
//2.csum[j]-csum[i-1] will give you sum of that sunarray
#include <iostream>
using namespace std;
int main()
{
int a[] = {-4, 1, 3, -2, 16, 2, -8, -9, 4};
int n = sizeof(a) / sizeof(int);
int i, j;
int csum[n] = {0};
int current_sum = 0;
int max_sum = 0;
int start;
int end;
//computing cumilative sum
csum[0] = a[0];
for (int i = 1; i < n; i++)
{
csum[i] = csum[i - 1] + a[i];
cout << csum[i];
}
for (i = 0; i < n; i++)
{
for (j = i; j < n; j++)
{
current_sum = 0;
current_sum = csum[j] - csum[i - 1];
cout << "\nCurret_sum: " << current_sum;
if (current_sum > max_sum)
{
max_sum = current_sum;
start = i;
end = j;
}
}
}
cout << "\nMaximum sum from index " << start << " till index " << end << " is: " << max_sum;
return 0;
//takes more time complexity
} | [
"noreply@github.com"
] | noreply@github.com |
aaa51353347a87b307ce0617ebbb0594c8dc1671 | 0a6b8662fbbd0989b92924c1f6a0a0dc9726f099 | /source/backend/cpu/compute/ImageProcessFunction.cpp | a60dee53b6b647631023fc146e14113ff3b85a3a | [
"Apache-2.0"
] | permissive | sunnythree/MNN | 585412719c9aef8c564d47f1962a833174846db6 | 9771a2b6570c7dc6227da3f1116e88b9d768a1e0 | refs/heads/master | 2023-03-18T10:05:08.959518 | 2023-02-20T03:38:58 | 2023-02-20T03:38:58 | 185,763,230 | 2 | 0 | null | 2019-05-09T08:56:28 | 2019-05-09T08:56:28 | null | UTF-8 | C++ | false | false | 39,671 | cpp | //
// ImageProcessFunction.cpp
// MNN
//
// Created by MNN on 2021/10/29.
// Copyright © 2018 Alibaba. All rights reserved.
//
#include "backend/cpu/compute/ImageProcessFunction.hpp"
#include "core/Macro.h"
#include <algorithm>
#ifdef MNN_USE_NEON
#include <arm_neon.h>
#endif
extern "C" {
void MNNNV21ToRGBUnit(const unsigned char* source, unsigned char* dest, size_t countDiv8, const unsigned char* uv);
void MNNNV21ToBGRUnit(const unsigned char* source, unsigned char* dest, size_t countDiv8, const unsigned char* uv);
void MNNNV21ToRGBAUnit(const unsigned char* source, unsigned char* dest, size_t countDiv8, const unsigned char* uv);
void MNNNV21ToBGRAUnit(const unsigned char* source, unsigned char* dest, size_t countDiv8, const unsigned char* uv);
void MNNSamplerC4BilinearOpt(const unsigned char* source, unsigned char* dest, float* points, size_t count, size_t xMax, size_t yMax, size_t yStride);
void MNNSamplerC1BilinearOpt(const unsigned char* source, unsigned char* dest, float* points, size_t count, size_t xMax, size_t yMax, size_t yStride);
void MNNSamplerC4NearestOpt(const unsigned char* source, unsigned char* dest, float* points, size_t count, size_t iw, size_t ih, size_t yStride);
void MNNSamplerC1NearestOpt(const unsigned char* source, unsigned char* dest, float* points, size_t count, size_t iw, size_t ih, size_t yStride);
void MNNBlitC1ToFloatRGBA(const unsigned char* source, float* dest, const float* mean, const float* normal, size_t count);
void MNNBlitC3ToFloatRGBA(const unsigned char* source, float* dest, const float* mean, const float* normal, size_t count);
}
void MNNGRAYToC4(const unsigned char* source, unsigned char* dest, size_t count) {
int sta = 0;
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
for (int i = 0; i < countD8; ++i) {
auto gray = vld1_u8(source + 8 * i);
uint8x8x4_t rgba;
rgba.val[0] = gray;
rgba.val[1] = gray;
rgba.val[2] = gray;
rgba.val[3] = vdup_n_u8(255);
vst4_u8(dest + 32 * i, rgba);
}
sta = countD8 * 8;
}
#endif
for (int i = sta; i < count; ++i) {
dest[4 * i + 0] = source[i];
dest[4 * i + 1] = source[i];
dest[4 * i + 2] = source[i];
dest[4 * i + 3] = 255;
}
}
void MNNGRAYToC3(const unsigned char* source, unsigned char* dest, size_t count) {
int sta = 0;
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
for (int i = 0; i < countD8; ++i) {
auto gray = vld1_u8(source + 8 * i);
uint8x8x3_t rgba;
rgba.val[0] = gray;
rgba.val[1] = gray;
rgba.val[2] = gray;
vst3_u8(dest + 24 * i, rgba);
}
sta = countD8 * 8;
}
#endif
for (int i = sta; i < count; ++i) {
dest[3 * i + 0] = source[i];
dest[3 * i + 1] = source[i];
dest[3 * i + 2] = source[i];
}
}
void MNNC3ToC4(const unsigned char* source, unsigned char* dest, size_t count) {
int sta = 0;
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
for (int i = 0; i < countD8; ++i) {
uint8x8x3_t c3 = vld3_u8(source + 24 * i);
uint8x8x4_t c4;
c4.val[0] = c3.val[0];
c4.val[1] = c3.val[1];
c4.val[2] = c3.val[2];
c4.val[3] = vdup_n_u8(255);
vst4_u8(dest + 32 * i, c4);
}
sta = countD8 * 8;
}
#endif
for (int i = sta; i < count; i++) {
dest[i * 4 + 0] = source[i * 3 + 0];
dest[i * 4 + 1] = source[i * 3 + 1];
dest[i * 4 + 2] = source[i * 3 + 2];
dest[i * 4 + 3] = 255;
}
}
void MNNRGBAToBGRA(const unsigned char* source, unsigned char* dest, size_t count) {
int sta = 0;
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
for (int i = 0; i < countD8; ++i) {
uint8x8x4_t rgba = vld4_u8(source + 32 * i);
auto t = rgba.val[0];
rgba.val[0] = rgba.val[2];
rgba.val[2] = t;
vst4_u8(dest + 32 * i, rgba);
}
sta = countD8 * 8;
}
#endif
for (int i = sta; i < count; ++i) {
dest[4 * i + 0] = source[4 * i + 2];
dest[4 * i + 1] = source[4 * i + 1];
dest[4 * i + 2] = source[4 * i + 0];
dest[4 * i + 3] = source[4 * i + 3];
}
}
void MNNRGBAToBGR(const unsigned char* source, unsigned char* dest, size_t count) {
int sta = 0;
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
for (int i = 0; i < countD8; ++i) {
uint8x8x4_t rgba = vld4_u8(source + 32 * i);
uint8x8x3_t bgr;
bgr.val[0] = rgba.val[2];
bgr.val[1] = rgba.val[1];
bgr.val[2] = rgba.val[0];
vst3_u8(dest + 24 * i, bgr);
}
sta = countD8 * 8;
}
#endif
for (int i = sta; i < count; ++i) {
dest[3 * i + 0] = source[4 * i + 2];
dest[3 * i + 1] = source[4 * i + 1];
dest[3 * i + 2] = source[4 * i + 0];
}
}
void MNNRGBToBGR(const unsigned char* source, unsigned char* dest, size_t count) {
int sta = 0;
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
for (int i = 0; i < countD8; ++i) {
uint8x8x3_t rgba = vld3_u8(source + 24 * i);
uint8x8x3_t bgr;
bgr.val[0] = rgba.val[2];
bgr.val[1] = rgba.val[1];
bgr.val[2] = rgba.val[0];
vst3_u8(dest + 24 * i, bgr);
}
sta = countD8 * 8;
}
#endif
for (int i = sta; i < count; ++i) {
dest[3 * i + 0] = source[3 * i + 2];
dest[3 * i + 1] = source[3 * i + 1];
dest[3 * i + 2] = source[3 * i + 0];
}
}
void MNNBGRAToBGR(const unsigned char* source, unsigned char* dest, size_t count) {
int sta = 0;
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
for (int i = 0; i < countD8; ++i) {
uint8x8x4_t bgra = vld4_u8(source + 32 * i);
uint8x8x3_t bgr;
bgr.val[0] = bgra.val[0];
bgr.val[1] = bgra.val[1];
bgr.val[2] = bgra.val[2];
vst3_u8(dest + 24 * i, bgr);
}
sta = countD8 * 8;
}
#endif
for (int i = sta; i < count; ++i) {
dest[3 * i + 0] = source[4 * i + 0];
dest[3 * i + 1] = source[4 * i + 1];
dest[3 * i + 2] = source[4 * i + 2];
}
}
void MNNBGRAToGRAY(const unsigned char* source, unsigned char* dest, size_t count) {
int sta = 0;
/*
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
auto rC = vdup_n_u8(19);
auto gC = vdup_n_u8(38);
auto bC = vdup_n_u8(7);
for (int i = 0; i < countD8; ++i) {
auto rgb = vld4_u8(source + 32 * i);
auto res = vmull_u8(rC, rgb.val[2]) + vmull_u8(gC, rgb.val[1]) + vmull_u8(bC, rgb.val[0]);
auto resU8 = vshrn_n_u16(res, 6);
vst1_u8(dest + 8 * i, resU8);
}
sta = countD8 * 8;
}
#endif
*/
for (int i = sta; i < count; ++i) {
int r = source[4 * i + 2];
int g = source[4 * i + 1];
int b = source[4 * i + 0];
int y = (19 * r + 38 * g + 7 * b) >> 6;
dest[i] = y;
}
}
void MNNRGBAToGRAY(const unsigned char* source, unsigned char* dest, size_t count) {
int sta = 0;
/*
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
auto rC = vdup_n_u8(19);
auto gC = vdup_n_u8(38);
auto bC = vdup_n_u8(7);
for (int i = 0; i < countD8; ++i) {
auto rgb = vld4_u8(source + 32 * i);
auto res = vmull_u8(rC, rgb.val[0]) + vmull_u8(gC, rgb.val[1]) + vmull_u8(bC, rgb.val[2]);
auto resU8 = vshrn_n_u16(res, 6);
vst1_u8(dest + 8 * i, resU8);
}
sta = countD8 * 8;
}
#endif
*/
for (int i = sta; i < count; ++i) {
int r = source[4 * i + 0];
int g = source[4 * i + 1];
int b = source[4 * i + 2];
int y = (19 * r + 38 * g + 7 * b) >> 6;
dest[i] = y;
}
}
uint8_t saturate_cast(int v) { return (uint8_t)((unsigned)v <= 255 ? v : v > 0 ? 255 : 0); }
#define CV_DESCALE(x,n) (((x) + (1 << ((n)-1))) >> (n))
#define CV_MUL_SHIFT(rC, gC, bC, n) vshrn_n_u16((vmull_u8(rC, rgb.val[0]) + vmull_u8(gC, rgb.val[1]) + vmull_u8(bC, rgb.val[2])), n)
void MNNC3ToYUV(const unsigned char* source, unsigned char* dest, size_t count, bool bgr, bool yuv) {
static const int coeffs[] = {
// Y
4899, 9617, 1868,
// Cr
8192, -6860, -1332,
// Cb
-2765, -5427, 8192,
// U
-2412, -4734, 7146,
// V
10076, -8438, -1638
};
int r0 = 0, r1 = 3, r2 = 6,
g0 = 1, g1 = 4, g2 = 7,
b0 = 2, b1 = 5, b2 = 8;
if (yuv) {
r1 = 9, r2 = 12;
g1 = 10, g2 = 13;
b1 = 11, b2 = 14;
}
if (bgr) {
std::swap(r0, b0);
std::swap(r1, b1);
std::swap(r2, b2);
}
int C0 = coeffs[r0], C1 = coeffs[g0], C2 = coeffs[b0],
C3 = coeffs[r1], C4 = coeffs[g1], C5 = coeffs[b1],
C6 = coeffs[r2], C7 = coeffs[g2], C8 = coeffs[b2];
int sta = 0;
/*
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
auto rC0 = vdup_n_u8(C0), rC1 = vdup_n_u8(C1), rC2 = vdup_n_u8(C2),
rC3 = vdup_n_u8(C3), rC4 = vdup_n_u8(C4), rC5 = vdup_n_u8(C5),
rC6 = vdup_n_u8(C6), rC7 = vdup_n_u8(C7), rC8 = vdup_n_u8(C8);
auto delta = vdup_n_u8(128);
for (int i = 0; i < countD8; ++i) {
auto rgb = vld4_u8(source + 24 * i);
uint8x8x3_t yuv;
yuv.val[0] = CV_MUL_SHIFT(rC0, rC1, rC2, 14);
yuv.val[1] = CV_MUL_SHIFT(rC3, rC4, rC5, 14);
yuv.val[2] = CV_MUL_SHIFT(rC6, rC7, rC8, 14);
yuv.val[1] = vadd_u8(yuv.val[1], delta);
yuv.val[2] = vadd_u8(yuv.val[2], delta);
vst3_u8(dest + 24 * i, yuv);
}
sta = countD8 * 8;
}
#endif
*/
for (int i = sta; i < count; ++i) {
int r = source[3 * i + 0];
int g = source[3 * i + 1];
int b = source[3 * i + 2];
int y = CV_DESCALE(r*C0 + g*C1 + b*C2, 14);
int u = CV_DESCALE(r*C3 + g*C4 + b*C5, 14) + 128;
int v = CV_DESCALE(r*C6 + g*C7 + b*C8, 14) + 128;
dest[3 * i + 0] = y;
dest[3 * i + 1] = u;
dest[3 * i + 2] = v;
}
}
void MNNC3ToXYZ(const unsigned char* source, unsigned char* dest, size_t count, bool bgr) {
static const int coeffs[] = {
1689, 1465, 739,
871, 2929, 296,
79, 488, 3892
};
int r0 = 0, r1 = 3, r2 = 6, b0 = 2, b1 = 5, b2 = 8;
if (bgr) {
std::swap(r0, b0);
std::swap(r1, b1);
std::swap(r2, b2);
}
int C0 = coeffs[r0], C1 = coeffs[1], C2 = coeffs[b0],
C3 = coeffs[r1], C4 = coeffs[4], C5 = coeffs[b1],
C6 = coeffs[r2], C7 = coeffs[7], C8 = coeffs[b2];
int sta = 0;
/*
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
auto rC0 = vdup_n_u8(C0), rC1 = vdup_n_u8(C1), rC2 = vdup_n_u8(C2),
rC3 = vdup_n_u8(C3), rC4 = vdup_n_u8(C4), rC5 = vdup_n_u8(C5),
rC6 = vdup_n_u8(C6), rC7 = vdup_n_u8(C7), rC8 = vdup_n_u8(C8);
for (int i = 0; i < countD8; ++i) {
auto rgb = vld4_u8(source + 24 * i);
uint8x8x3_t xyz;
xyz.val[0] = CV_MUL_SHIFT(rC0, rC1, rC2, 12);
xyz.val[1] = CV_MUL_SHIFT(rC3, rC4, rC5, 12);
xyz.val[2] = CV_MUL_SHIFT(rC6, rC7, rC8, 12);
vst3_u8(dest + 24 * i, xyz);
}
sta = countD8 * 8;
}
#endif
*/
for (int i = sta; i < count; ++i) {
int r = source[3 * i + 0];
int g = source[3 * i + 1];
int b = source[3 * i + 2];
int x = CV_DESCALE(r*C0 + g*C1 + b*C2, 12);
int y = CV_DESCALE(r*C3 + g*C4 + b*C5, 12);
int z = CV_DESCALE(r*C6 + g*C7 + b*C8, 12);
dest[3 * i + 0] = saturate_cast(x);
dest[3 * i + 1] = saturate_cast(y);
dest[3 * i + 2] = saturate_cast(z);
}
}
void MNNC3ToHSV(const unsigned char* source, unsigned char* dest, size_t count, bool bgr, bool full) {
int hrange = full ? 256 : 180;
int i = 0;
for (; i < count; ++i) {
int r = source[3 * i + 0];
int g = source[3 * i + 1];
int b = source[3 * i + 2];
if (bgr) std::swap(r, b);
int h, s, v = b, vmin = b, vr, vg;
vmin = std::min({r, g, b});
v = std::max({r, g, b});
uint8_t diff = saturate_cast(v - vmin);
vr = v == r ? -1 : 0;
vg = v == g ? -1 : 0;
s = (int(diff * (255 << 12) * (1.0f/(float)v)) + (1 << (11))) >> 12;
h = (vr & (g - b)) + (~vr & ((vg & (b - r + 2 * diff)) + ((~vg) & (r - g + 4 * diff))));
h = ((h * int((hrange << 12)/(6.f*diff) + 0.5)) + (1 << (11))) >> 12;
h += h < 0 ? hrange : 0;
dest[3 * i + 0] = saturate_cast(h);
dest[3 * i + 1] = s;
dest[3 * i + 2] = v;
}
}
void MNNC3ToBGR555(const unsigned char* source, unsigned char* dest, size_t count, bool bgr) {
int i = 0;
for (; i < count; ++i) {
int r = source[3 * i + 0];
int g = source[3 * i + 1];
int b = source[3 * i + 2];
if (bgr) std::swap(r, b);
reinterpret_cast<unsigned short*>(dest)[i] = (b >> 3)|((g & ~7) << 2)|((r & ~7) << 7);
}
}
void MNNC3ToBGR565(const unsigned char* source, unsigned char* dest, size_t count, bool bgr) {
int i = 0;
for (; i < count; ++i) {
int r = source[3 * i + 0];
int g = source[3 * i + 1];
int b = source[3 * i + 2];
if (bgr) std::swap(r, b);
reinterpret_cast<unsigned short*>(dest)[i] = (b >> 3)|((g&~3) << 3)|((r&~7) << 8);
}
}
void MNNRGBToGRAY(const unsigned char* source, unsigned char* dest, size_t count) {
int sta = 0;
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
auto rC = vdup_n_u8(19);
auto gC = vdup_n_u8(38);
auto bC = vdup_n_u8(7);
for (int i = 0; i < countD8; ++i) {
auto rgb = vld3_u8(source + 24 * i);
auto res = vmull_u8(rC, rgb.val[0]) + vmull_u8(gC, rgb.val[1]) + vmull_u8(bC, rgb.val[2]);
auto resU8 = vshrn_n_u16(res, 6);
vst1_u8(dest + 8 * i, resU8);
}
sta = countD8 * 8;
}
#endif
for (int i = sta; i < count; ++i) {
int r = source[3 * i + 0];
int g = source[3 * i + 1];
int b = source[3 * i + 2];
int y = (19 * r + 38 * g + 7 * b) >> 6;
// opencv impl: int y = (9798 * r + 19235 * g + 3735 * b + (1 << 14)) >> 15;
dest[i] = y;
}
}
void MNNBRGToGRAY(const unsigned char* source, unsigned char* dest, size_t count) {
int sta = 0;
#ifdef MNN_USE_NEON
int countD8 = (int)count / 8;
if (countD8 > 0) {
auto rC = vdup_n_u8(19);
auto gC = vdup_n_u8(38);
auto bC = vdup_n_u8(7);
for (int i = 0; i < countD8; ++i) {
auto rgb = vld3_u8(source + 24 * i);
auto res = vmull_u8(rC, rgb.val[2]) + vmull_u8(gC, rgb.val[1]) + vmull_u8(bC, rgb.val[0]);
auto resU8 = vshrn_n_u16(res, 6);
vst1_u8(dest + 8 * i, resU8);
}
sta = countD8 * 8;
}
#endif
for (int i = sta; i < count; ++i) {
int r = source[3 * i + 2];
int g = source[3 * i + 1];
int b = source[3 * i + 0];
int y = (19 * r + 38 * g + 7 * b) >> 6;
dest[i] = y;
}
}
void MNNNV21ToRGBA(const unsigned char* source, unsigned char* dest, size_t count) {
auto y = source;
auto uv = source + count;
auto dst = dest;
int sta = 0;
#ifdef MNN_USE_NEON
const int unit = 16;
size_t countDiv8 = count / unit;
if (countDiv8 > 0) {
MNNNV21ToRGBAUnit(source, dest, countDiv8, uv);
sta = (int)countDiv8 * unit;
}
#endif
for (int i = sta; i < count; ++i) {
int Y = y[i];
int U = (int)uv[(i / 2) * 2 + 1] - 128;
int V = (int)uv[(i / 2) * 2 + 0] - 128;
Y = Y << 6;
int R = (Y + 73 * V) >> 6;
int G = (Y - 25 * U - 37 * V) >> 6;
int B = (Y + 130 * U) >> 6;
R = std::min(std::max(R, 0), 255);
G = std::min(std::max(G, 0), 255);
B = std::min(std::max(B, 0), 255);
dst[4 * i + 0] = (uint8_t)R;
dst[4 * i + 1] = (uint8_t)G;
dst[4 * i + 2] = (uint8_t)B;
dst[4 * i + 3] = 255;
}
}
void MNNNV21ToRGB(const unsigned char* source, unsigned char* dest, size_t count) {
auto y = source;
auto uv = source + count;
auto dst = dest;
int sta = 0;
#ifdef MNN_USE_NEON
const int unit = 16;
size_t countDiv8 = count / unit;
if (countDiv8 > 0) {
MNNNV21ToRGBUnit(source, dest, countDiv8, uv);
sta = (int)countDiv8 * unit;
}
#endif
for (int i = sta; i < count; ++i) {
int Y = y[i];
int U = (int)uv[(i / 2) * 2 + 1] - 128;
int V = (int)uv[(i / 2) * 2 + 0] - 128;
/*
OpenCV impl is as below:
Y = std::max(0, Y - 16) * 1220542;
int R = (Y + (V * 1673527) + (1 << 19)) >> 20;
int G = (Y + (-852492 * V + -409993 * U) + (1 << 19)) >> 20;
int B = (Y + (2116026 * U) + (1 << 19)) >> 20;
*/
Y = Y << 6;
int R = (Y + 73 * V) >> 6;
int G = (Y - 25 * U - 37 * V) >> 6;
int B = (Y + 130 * U) >> 6;
R = std::min(std::max(R, 0), 255);
G = std::min(std::max(G, 0), 255);
B = std::min(std::max(B, 0), 255);
dst[3 * i + 0] = (uint8_t)R;
dst[3 * i + 1] = (uint8_t)G;
dst[3 * i + 2] = (uint8_t)B;
}
}
void MNNNV21ToBGRA(const unsigned char* source, unsigned char* dest, size_t count) {
auto y = source;
auto uv = source + count;
auto dst = dest;
int sta = 0;
#ifdef MNN_USE_NEON
const int unit = 16;
size_t countDiv8 = count / unit;
if (countDiv8 > 0) {
MNNNV21ToBGRAUnit(source, dest, countDiv8, uv);
sta = (int)countDiv8 * unit;
}
#endif
for (int i = sta; i < count; ++i) {
int Y = y[i];
int U = (int)uv[(i / 2) * 2 + 1] - 128;
int V = (int)uv[(i / 2) * 2 + 0] - 128;
Y = Y << 6;
int R = (Y + 73 * V) >> 6;
int G = (Y - 25 * U - 37 * V) >> 6;
int B = (Y + 130 * U) >> 6;
R = std::min(std::max(R, 0), 255);
G = std::min(std::max(G, 0), 255);
B = std::min(std::max(B, 0), 255);
dst[4 * i + 0] = (uint8_t)B;
dst[4 * i + 1] = (uint8_t)G;
dst[4 * i + 2] = (uint8_t)R;
dst[4 * i + 3] = 255;
}
}
void MNNNV21ToBGR(const unsigned char* source, unsigned char* dest, size_t count) {
auto y = source;
auto uv = source + count;
auto dst = dest;
int sta = 0;
#ifdef MNN_USE_NEON
const int unit = 16;
size_t countDiv8 = count / unit;
if (countDiv8 > 0) {
MNNNV21ToBGRUnit(source, dest, countDiv8, uv);
sta = (int)countDiv8 * unit;
}
#endif
for (int i = sta; i < count; ++i) {
int Y = y[i];
int U = (int)uv[(i / 2) * 2 + 1] - 128;
int V = (int)uv[(i / 2) * 2 + 0] - 128;
Y = Y << 6;
int R = (Y + 73 * V) >> 6;
int G = (Y - 25 * U - 37 * V) >> 6;
int B = (Y + 130 * U) >> 6;
R = std::min(std::max(R, 0), 255);
G = std::min(std::max(G, 0), 255);
B = std::min(std::max(B, 0), 255);
dst[3 * i + 0] = (uint8_t)B;
dst[3 * i + 1] = (uint8_t)G;
dst[3 * i + 2] = (uint8_t)R;
}
}
void MNNC1ToFloatC1(const unsigned char* source, float* dest, const float* mean, const float* normal, size_t count) {
#ifdef MNN_USE_NEON
unsigned long size = count >> 4;
float32x4_t cache = vdupq_n_f32(0);
float32x4_t _mean = vdupq_n_f32(-mean[0]);
float32x4_t _normal = vdupq_n_f32(normal[0]);
for (int i = 0; i < size; i++, source += 16) {
uint8x16_t v = vld1q_u8(source);
int16x8_t vl = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(v))); // 0..7
int16x8_t vh = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(v))); // 8..15
// unpack to 32 bits
float32x4_t vll = vcvtq_f32_s32(vmovl_s16(vget_low_s16(vl))); // 0..3
cache = vaddq_f32(_mean, vll);
cache = vmulq_f32(cache, _normal);
vst1q_f32(dest, cache);
dest += 4;
float32x4_t vlh = vcvtq_f32_s32(vmovl_s16(vget_high_s16(vl))); // 4..7
cache = vaddq_f32(_mean, vlh);
cache = vmulq_f32(cache, _normal);
vst1q_f32(dest, cache);
dest += 4;
float32x4_t vhl = vcvtq_f32_s32(vmovl_s16(vget_low_s16(vh))); // 8..11
cache = vaddq_f32(_mean, vhl);
cache = vmulq_f32(cache, _normal);
vst1q_f32(dest, cache);
dest += 4;
float32x4_t vhh = vcvtq_f32_s32(vmovl_s16(vget_high_s16(vh))); // 12..15
cache = vaddq_f32(_mean, vhh);
cache = vmulq_f32(cache, _normal);
vst1q_f32(dest, cache);
dest += 4;
}
int left = count & 15;
if (left == 0) {
return;
}
for (int i = 0; i < left; ++i, ++dest, ++source) {
*dest = normal[0] * (*source - mean[0]);
}
#else
for (int i = 0; i < count; ++i) {
dest[i + 0] = normal[0] * (source[i + 0] - mean[0]);
}
#endif
}
void MNNC3ToFloatC3(const unsigned char* source, float* dest, const float* mean, const float* normal,
size_t count) {
#ifdef MNN_USE_NEON
int size = (int)count / 16;
float32x4x3_t cachell = {vmovq_n_f32(0), vmovq_n_f32(0), vmovq_n_f32(0)};
float32x4x3_t cachelh = {vmovq_n_f32(0), vmovq_n_f32(0), vmovq_n_f32(0)};
float32x4x3_t cachehl = {vmovq_n_f32(0), vmovq_n_f32(0), vmovq_n_f32(0)};
float32x4x3_t cachehh = {vmovq_n_f32(0), vmovq_n_f32(0), vmovq_n_f32(0)};
float32x4x3_t _mean;
float32x4x3_t _normal;
for (int c = 0; c < 3; c++) {
_mean.val[c] = vmovq_n_f32(-mean[c]);
_normal.val[c] = vmovq_n_f32(normal[c]);
}
for (int i = 0; i < size; i++) {
uint8x16x3_t v = vld3q_u8(source + 16 * 3 * i);
int c = 0;
{
int16x8_t vl = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(v.val[c]))); // 0..7
// unpack to 32 bits
float32x4_t vll = vcvtq_f32_s32(vmovl_s16(vget_low_s16(vl))); // 0..3
cachell.val[c] = vaddq_f32(_mean.val[c], vll);
cachell.val[c] = vmulq_f32(cachell.val[c], _normal.val[c]);
float32x4_t vlh = vcvtq_f32_s32(vmovl_s16(vget_high_s16(vl))); // 4..7
cachelh.val[c] = vaddq_f32(_mean.val[c], vlh);
cachelh.val[c] = vmulq_f32(cachelh.val[c], _normal.val[c]);
int16x8_t vh = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(v.val[c]))); // 8..15
// unpack to 32 bits
float32x4_t vhl = vcvtq_f32_s32(vmovl_s16(vget_low_s16(vh))); // 8..11
cachehl.val[c] = vaddq_f32(_mean.val[c], vhl);
cachehl.val[c] = vmulq_f32(cachehl.val[c], _normal.val[c]);
float32x4_t vhh = vcvtq_f32_s32(vmovl_s16(vget_high_s16(vh))); // 12..15
cachehh.val[c] = vaddq_f32(_mean.val[c], vhh);
cachehh.val[c] = vmulq_f32(cachehh.val[c], _normal.val[c]);
}
c = 1;
{
int16x8_t vl = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(v.val[c]))); // 0..7
// unpack to 32 bits
float32x4_t vll = vcvtq_f32_s32(vmovl_s16(vget_low_s16(vl))); // 0..3
cachell.val[c] = vaddq_f32(_mean.val[c], vll);
cachell.val[c] = vmulq_f32(cachell.val[c], _normal.val[c]);
float32x4_t vlh = vcvtq_f32_s32(vmovl_s16(vget_high_s16(vl))); // 4..7
cachelh.val[c] = vaddq_f32(_mean.val[c], vlh);
cachelh.val[c] = vmulq_f32(cachelh.val[c], _normal.val[c]);
int16x8_t vh = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(v.val[c]))); // 8..15
// unpack to 32 bits
float32x4_t vhl = vcvtq_f32_s32(vmovl_s16(vget_low_s16(vh))); // 8..11
cachehl.val[c] = vaddq_f32(_mean.val[c], vhl);
cachehl.val[c] = vmulq_f32(cachehl.val[c], _normal.val[c]);
float32x4_t vhh = vcvtq_f32_s32(vmovl_s16(vget_high_s16(vh))); // 12..15
cachehh.val[c] = vaddq_f32(_mean.val[c], vhh);
cachehh.val[c] = vmulq_f32(cachehh.val[c], _normal.val[c]);
}
c = 2;
{
int16x8_t vl = vreinterpretq_s16_u16(vmovl_u8(vget_low_u8(v.val[c]))); // 0..7
// unpack to 32 bits
float32x4_t vll = vcvtq_f32_s32(vmovl_s16(vget_low_s16(vl))); // 0..3
cachell.val[c] = vaddq_f32(_mean.val[c], vll);
cachell.val[c] = vmulq_f32(cachell.val[c], _normal.val[c]);
float32x4_t vlh = vcvtq_f32_s32(vmovl_s16(vget_high_s16(vl))); // 4..7
cachelh.val[c] = vaddq_f32(_mean.val[c], vlh);
cachelh.val[c] = vmulq_f32(cachelh.val[c], _normal.val[c]);
int16x8_t vh = vreinterpretq_s16_u16(vmovl_u8(vget_high_u8(v.val[c]))); // 8..15
// unpack to 32 bits
float32x4_t vhl = vcvtq_f32_s32(vmovl_s16(vget_low_s16(vh))); // 8..11
cachehl.val[c] = vaddq_f32(_mean.val[c], vhl);
cachehl.val[c] = vmulq_f32(cachehl.val[c], _normal.val[c]);
float32x4_t vhh = vcvtq_f32_s32(vmovl_s16(vget_high_s16(vh))); // 12..15
cachehh.val[c] = vaddq_f32(_mean.val[c], vhh);
cachehh.val[c] = vmulq_f32(cachehh.val[c], _normal.val[c]);
}
vst3q_f32(dest + 48 * i + 0 * 3, cachell);
vst3q_f32(dest + 48 * i + 4 * 3, cachelh);
vst3q_f32(dest + 48 * i + 8 * 3, cachehl);
vst3q_f32(dest + 48 * i + 12 * 3, cachehh);
}
int remain = size * 16;
for (int i = remain; i < count; i++) {
dest[3 * i + 0] = normal[0] * (source[3 * i + 0] - mean[0]);
dest[3 * i + 1] = normal[1] * (source[3 * i + 1] - mean[1]);
dest[3 * i + 2] = normal[2] * (source[3 * i + 2] - mean[2]);
}
#else
for (int i = 0; i < count; ++i) {
dest[3 * i + 0] = normal[0] * (source[3 * i + 0] - mean[0]);
dest[3 * i + 1] = normal[1] * (source[3 * i + 1] - mean[1]);
dest[3 * i + 2] = normal[2] * (source[3 * i + 2] - mean[2]);
}
#endif
}
void MNNC4ToFloatC4(const unsigned char* source, float* dest, const float* mean, const float* normal, size_t count) {
for (int i = 0; i < count; ++i) {
dest[4 * i + 0] = normal[0] * (source[4 * i + 0] - mean[0]);
dest[4 * i + 1] = normal[1] * (source[4 * i + 1] - mean[1]);
dest[4 * i + 2] = normal[2] * (source[4 * i + 2] - mean[2]);
dest[4 * i + 3] = normal[3] * (source[4 * i + 3] - mean[3]);
}
}
void MNNC1ToFloatRGBA(const unsigned char* source, float* dest, const float* mean, const float* normal, size_t count) {
#ifdef MNN_USE_NEON
MNNBlitC1ToFloatRGBA(source, dest, mean, normal, count);
#else
// MNN_PRINT("normal = %f\n", normal[0]);
::memset(dest, 0, 4 * sizeof(float) * count);
for (int i = 0; i < count; ++i) {
dest[4 * i + 0] = normal[0] * (source[i + 0] - mean[0]);
}
#endif
}
void MNNC3ToFloatRGBA(const unsigned char* source, float* dest, const float* mean, const float* normal, size_t count) {
#ifdef MNN_USE_NEON
MNNBlitC3ToFloatRGBA(source, dest, mean, normal, count);
#else
for (int i = 0; i < count; ++i) {
dest[4 * i + 0] = normal[0] * (source[3 * i + 0] - mean[0]);
dest[4 * i + 1] = normal[1] * (source[3 * i + 1] - mean[1]);
dest[4 * i + 2] = normal[2] * (source[3 * i + 2] - mean[2]);
dest[4 * i + 3] = 0.0f;
}
#endif
}
static inline float __clamp(float v, float minV, float maxV) {
return std::max(std::min(v, maxV), minV);
}
static void _sampleBilinearCommon(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t count,
size_t iw, size_t ih, size_t yStride, size_t bpp) {
float dy = points[1].fY;
float dx = points[1].fX;
float xMax = iw - 1;
float yMax = ih - 1;
MNN::CV::Point curPoints;
curPoints.fX = points[0].fX;
curPoints.fY = points[0].fY;
for (int i = 0; i < count; ++i) {
float y = __clamp(curPoints.fY, 0, yMax);
float x = __clamp(curPoints.fX, 0, xMax);
int y0 = (int)y;
int x0 = (int)x;
int y1 = (int)ceilf(y);
int x1 = (int)ceilf(x);
float xF = x - (float)x0;
float yF = y - (float)y0;
for (int b = 0; b < bpp; ++b) {
unsigned char c00 = source[y0 * yStride + bpp * x0 + b];
unsigned char c01 = source[y0 * yStride + bpp * x1 + b];
unsigned char c10 = source[y1 * yStride + bpp * x0 + b];
unsigned char c11 = source[y1 * yStride + bpp * x1 + b];
float v =
(1.0f - xF) * (1.0f - yF) * c00 + xF * (1.0f - yF) * c01 + yF * (1.0 - xF) * c10 + xF * yF * (c11);
v = std::min(std::max(v, 0.0f), 255.0f);
dest[bpp * i + b] = (unsigned char)v;
}
curPoints.fY += dy;
curPoints.fX += dx;
}
}
void MNNSamplerC4Bilinear(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t capacity, size_t iw, size_t ih, size_t yStride) {
#ifdef MNN_USE_NEON
MNNSamplerC4BilinearOpt(source, dest + 4 * sta, reinterpret_cast<float*>(points), count, iw - 1, ih - 1, yStride);
#else
_sampleBilinearCommon(source, dest + 4 * sta, points, count, iw, ih, yStride, 4);
#endif
}
void MNNSamplerC3Bilinear(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t capacity, size_t iw, size_t ih, size_t yStride) {
_sampleBilinearCommon(source, dest + 3 * sta, points, count, iw, ih, yStride, 3);
}
void MNNSamplerC1Bilinear(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t capacity, size_t iw, size_t ih, size_t yStride) {
#ifdef MNN_USE_NEON
MNNSamplerC1BilinearOpt(source, dest + sta, reinterpret_cast<float*>(points), count, iw - 1, ih - 1, yStride);
#else
_sampleBilinearCommon(source, dest + sta, points, count, iw, ih, yStride, 1);
#endif
}
void MNNSamplerNearest(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta, size_t count,
size_t iw, size_t ih, size_t yStride, int bpp) {
dest = dest + bpp * sta;
MNN::CV::Point curPoints;
curPoints.fX = points[0].fX;
curPoints.fY = points[0].fY;
float dy = points[1].fY;
float dx = points[1].fX;
float xMax = iw - 1;
float yMax = ih - 1;
for (int i = 0; i < count; ++i) {
int y = (int)roundf(__clamp(curPoints.fY, 0, yMax));
int x = (int)roundf(__clamp(curPoints.fX, 0, xMax));
curPoints.fY += dy;
curPoints.fX += dx;
auto sourcePos = y * yStride + bpp * x;
for (int j = 0; j < bpp; ++j) {
dest[bpp * i + j] = source[sourcePos + j];
}
}
}
void MNNSamplerC4Nearest(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t capacity, size_t iw, size_t ih, size_t yStride) {
#ifdef MNN_USE_NEON
MNNSamplerC4NearestOpt(source, dest + 4 * sta, (float*)points, count, iw - 1, ih - 1, yStride);
#else
MNNSamplerNearest(source, dest, points, sta, count, iw, ih, yStride, 4);
#endif
}
void MNNSamplerC1Nearest(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t capacity, size_t iw, size_t ih, size_t yStride) {
#ifdef MNN_USE_NEON
MNNSamplerC1NearestOpt(source, dest + sta, (float*)points, count, iw - 1, ih - 1, yStride);
#else
MNNSamplerNearest(source, dest, points, sta, count, iw, ih, yStride, 1);
#endif
}
void MNNSamplerC3Nearest(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t capacity, size_t iw, size_t ih, size_t yStride) {
MNNSamplerNearest(source, dest, points, sta, count, iw, ih, yStride, 3);
}
void MNNSamplerCopyCommon(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t iw, size_t ih, size_t yStride, int bpp) {
dest = dest + bpp * sta;
MNN::CV::Point curPoints;
curPoints.fX = points[0].fX;
curPoints.fY = points[0].fY;
float xMax = iw - 1;
float yMax = ih - 1;
int y = (int)roundf(__clamp(curPoints.fY, 0, yMax));
int x = (int)roundf(__clamp(curPoints.fX, 0, xMax));
auto sourcePos = y * yStride + bpp * x;
::memcpy(dest, source + sourcePos, bpp * count);
}
void MNNSamplerI420Copy(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t capacity, size_t iw, size_t ih, size_t yStride) {
MNN::CV::Point curPoints;
curPoints.fX = points[0].fX;
curPoints.fY = points[0].fY;
float xMax = iw - 1;
float yMax = ih - 1;
int y = (int)roundf(__clamp(curPoints.fY, 0, yMax));
int x = (int)roundf(__clamp(curPoints.fX, 0, xMax));
auto uvPlane = (((int)iw + 1) / 2) * ((int(ih) + 1) / 2);
int sourcePosY = y * (int)iw + x;
auto sourcePosU = source + (int)iw * (int)ih + (y / 2) * (((int)iw + 1) / 2) + (x / 2);
auto sourcePosV = source + (int)iw * (int)ih + (y / 2) * (((int)iw + 1) / 2) + (x / 2) + uvPlane;
auto uvCount = (count + 1) / 2;
::memcpy(dest + sta, source + sourcePosY, count);
auto uDest = dest + (capacity) + (sta / 2) * 2;
for (int i=0; i<uvCount; ++i) {
uDest[2 * i + 0] = sourcePosV[i];
uDest[2 * i + 1] = sourcePosU[i];
}
}
void MNNSamplerI420Nearest(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t capacity, size_t iw, size_t ih, size_t yStride) {
auto srcY = source;
auto dstY = dest + sta;
auto dstUV = dest + (capacity) + (sta / 2) * 2;
auto stride = yStride;
if (yStride == 0) {
stride = iw;
}
auto srcU = source + stride * ih;
MNNSamplerC1Nearest(srcY, dstY, points, 0, count, capacity, iw, ih, stride);
MNN::CV::Point uvPoints[2];
uvPoints[0].fX = (points[0].fX - 0.01f) / 2.0f;
uvPoints[0].fY = (points[0].fY - 0.01f) / 2.0f;
uvPoints[1].fX = points[1].fX / 2.0f;
uvPoints[1].fY = points[1].fY / 2.0f;
if (yStride == 0) {
stride = ((iw + 1) / 2);
}
auto srcV = srcU + stride * ((ih + 1) / 2);
auto uvCount = (count + 1) / 2;
{
MNN::CV::Point curPoints;
curPoints.fX = uvPoints[0].fX;
curPoints.fY = uvPoints[0].fY;
float dy = uvPoints[1].fY;
float dx = uvPoints[1].fX;
float xMax = ((iw + 1) / 2) - 1;
float yMax = ((ih + 1) / 2) - 1;
for (int i = 0; i < uvCount; ++i) {
int y = (int)roundf(__clamp(curPoints.fY, 0, yMax));
int x = (int)roundf(__clamp(curPoints.fX, 0, xMax));
curPoints.fY += dy;
curPoints.fX += dx;
auto offset = y * stride + x;
dstUV[2 * i + 0] = srcV[offset];
dstUV[2 * i + 1] = srcU[offset];
}
}
}
void MNNSamplerNV21Copy(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t capacity, size_t iw, size_t ih, size_t yStride) {
MNN::CV::Point curPoints;
curPoints.fX = points[0].fX;
curPoints.fY = points[0].fY;
float xMax = iw - 1;
float yMax = ih - 1;
int y = (int)roundf(__clamp(curPoints.fY, 0, yMax));
int x = (int)roundf(__clamp(curPoints.fX, 0, xMax));
int sourcePosY = y * (int)iw + x;
int sourcePosUV = (int)iw * (int)ih + (y / 2) * (((int)iw + 1) / 2) * 2 + (x / 2) * 2;
::memcpy(dest + sta, source + sourcePosY, count);
::memcpy(dest + (capacity) + (sta / 2) * 2, source + sourcePosUV, ((count + 1) / 2) * 2);
}
void MNNSamplerNV21Nearest(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t capacity, size_t iw, size_t ih, size_t yStride) {
auto srcY = source;
auto dstY = dest + sta;
auto dstUV = dest + (capacity) + (sta / 2) * 2;
auto stride = yStride;
if (yStride == 0) {
stride = iw;
}
auto srcUV = source + stride * ih;
MNNSamplerC1Nearest(srcY, dstY, points, 0, count, capacity, iw, ih, stride);
MNN::CV::Point uvPoints[2];
uvPoints[0].fX = (points[0].fX - 0.01f) / 2.0f;
uvPoints[0].fY = (points[0].fY - 0.01f) / 2.0f;
uvPoints[1].fX = points[1].fX;
uvPoints[1].fY = points[1].fY;
if (yStride == 0) {
stride = ((iw + 1) / 2) * 2;
}
MNNSamplerNearest(srcUV, dstUV, uvPoints, 0, (count + 1) / 2, (iw + 1) / 2, (ih + 1) / 2, stride, 2);
}
static void _swapUV(const unsigned char* source, unsigned char* dest, size_t countC2) {
int sta = 0;
#ifdef MNN_USE_NEON
int countC2C16 = (int)countC2 / 16;
sta = countC2C16 * 16;
for (int i=0; i<countC2C16; ++i) {
auto src = vld2q_u8(source + i * 32);
auto temp = src.val[0];
src.val[0] = src.val[1];
src.val[1] = temp;
vst2q_u8(dest + i * 32, src);
}
#endif
for (int i=sta; i < countC2; ++i) {
auto temp = source[2*i];
dest[2*i] = source[2*i+1];
dest[2*i+1] = temp;
}
}
void MNNSamplerNV12Copy(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t capacity, size_t iw, size_t ih, size_t yStride) {
MNNSamplerNV21Copy(source, dest, points, sta, count, capacity, iw, ih, yStride);
auto destUV = dest + (capacity) + (sta / 2) * 2;
auto countC2 = ((count + 1) / 2);
_swapUV(destUV, destUV, countC2);
}
void MNNSamplerNV12Nearest(const unsigned char* source, unsigned char* dest, MNN::CV::Point* points, size_t sta,
size_t count, size_t capacity, size_t iw, size_t ih, size_t yStride) {
MNNSamplerNV21Nearest(source, dest, points, sta, count, capacity, iw, ih, yStride);
auto destUV = dest + (capacity) + (sta / 2) * 2;
auto countC2 = ((count + 1) / 2);
_swapUV(destUV, destUV, countC2);
}
void MNNC3blitH(const unsigned char* source, unsigned char* dest, size_t count) {
for (int i = 0; i < count; i++) {
memcpy(dest + 3 * i, source, 3);
}
}
void MNNC4blitH(const unsigned char* source, unsigned char* dest, size_t count) {
for (int i = 0; i < count; i++) {
memcpy(dest + 4 * i, source, 4);
}
}
void MNNC1blitH(const unsigned char* source, unsigned char* dest, size_t count) {
for (int i = 0; i < count; i++) {
memcpy(dest + i, source, 1);
}
}
| [
"xiaotang.jxt@alibaba-inc.com"
] | xiaotang.jxt@alibaba-inc.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.