blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
089eaabfedad70f474d790e692736f570607bc50 | 9b441df89a7ff2cb86afae98b42c4b9640fcecad | /CursesConsole.cpp | 94aa1e642da5d647f3182042a359deb521284021 | [] | no_license | 112212/commands | 508c9211474e7d892cdfe2372129adfcb05cb342 | 1f24c2a7c0f5779d106e766ea9a6e0496eb35c7a | refs/heads/master | 2021-01-21T09:42:37.936036 | 2020-10-08T20:25:01 | 2020-10-08T20:25:01 | 68,653,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,437 | cpp | #include "CursesConsole.hpp"
#include <iostream>
#include <string>
#include <ncurses.h>
// using namespace curses;
class ncursesbuf: public std::streambuf {
public:
void SetConsole(CursesConsole* cons) { this->cons = cons; }
ncursesbuf() { cons = 0; }
virtual int overflow(int c) {
cons->Print((char)c);
return 1;
}
private:
CursesConsole* cons;
};
class ncurses_stream : public std::ostream {
public:
ncursesbuf tbuf;
std::ostream &src;
std::streambuf* const old_buf;
ncurses_stream(CursesConsole* cons, std::ostream &o) :
src(o),
old_buf(o.rdbuf()),
std::ostream(&tbuf)
{
tbuf.SetConsole(cons);
o.rdbuf(rdbuf());
}
~ncurses_stream() {
src.rdbuf(old_buf);
}
};
void CursesConsole::StartCurses() {
initscr();
cbreak();
int h,w;
w = COLS;
h = LINES;
m_window = newwin(h,w,0,0);
keypad(m_window, true);
if(!m_stream)
m_stream = new ncurses_stream(this, std::cout);
m_window_width = w;
m_window_height = h;
m_lines.emplace_back("");
m_command_prefix = "";
m_command = m_command_prefix;
m_command_cursor = m_command_prefix.size();
m_auto_refresh = true;
m_auto_code_complete = false;
}
void CursesConsole::SetAutoCodeComplete(bool value) {
m_auto_code_complete = value;
}
void CursesConsole::StopCurses() {
if(m_stream) {
delete ((ncurses_stream*)m_stream);
m_stream = 0;
}
endwin();
}
void CursesConsole::SetRefreshOnInput(bool value) {
m_auto_refresh = value;
}
void CursesConsole::SetCommandPrefix(std::string prefix) {
m_command = prefix + GetCommand();
m_command_prefix = prefix;
m_command_cursor = std::min<int>( std::max<int>(m_command_prefix.size(), m_command_cursor), m_command.size() );
dirty = true;
if(m_auto_refresh) {
Refresh();
}
}
void CursesConsole::ClearLog() {
m_lines.clear();
m_cursor = 0;
dirty = true;
if(m_auto_refresh) {
Refresh();
}
}
void CursesConsole::SetInfoString(std::string str) {
m_info_string = str;
dirty = true;
if(m_auto_refresh) {
Refresh();
}
}
void CursesConsole::SetTmpInfoString(std::string str) {
m_tmp_info_string = str;
dirty = true;
if(m_auto_refresh) {
Refresh();
}
}
std::string CursesConsole::GetInfoString() {
return m_info_string;
}
int CursesConsole::get_log_height() {
std::string info_strings = m_info_string+m_tmp_info_string;
return m_window_height-1-m_command.size()/m_window_width-1 - get_info_height(&info_strings);
}
int CursesConsole::get_info_height(std::string* info_string) {
if(!info_string) info_string = &m_info_string;
if(info_string->empty()) return 0;
std::string::size_type prev=0;
int lines = 1;
for(auto it = info_string->find_first_of('\n'); ;
prev=it, it = info_string->find_first_of('\n', it+1)) {
lines += (std::min(info_string->size(), it) - prev + 1) / m_window_width + 1;
if(it == std::string::npos) {
break;
}
}
return lines;
}
void CursesConsole::Refresh() {
if(dirty && m_window) {
dirty = false;
wclear(m_window);
int curs = 0;
int log_height = get_log_height();
for(auto it = m_lines.begin()+m_cursor; curs < log_height && it != m_lines.end(); it++) {
wmove(m_window, curs++, 0);
wprintw(m_window, it->c_str());
}
std::string info_strings = m_info_string+m_tmp_info_string;
int info_height = get_info_height(&info_strings);
// int tmp_info_height = get_info_height(&m_tmp_info_string);
if(info_height > 0) {
std::string info_string = !m_tmp_info_string.empty() ? (m_info_string + m_tmp_info_string) : m_info_string;
mvwhline(m_window, log_height, 0, ACS_HLINE, m_window_width);
mvwprintw(m_window, log_height+1, 0, info_string.c_str());
// mvwhline(m_window, log_height+info_height, 0, ACS_HLINE, m_window_width);
}
mvwhline(m_window, log_height+info_height, 0, ACS_HLINE, m_window_width);
mvwprintw(m_window, log_height+info_height+1, 0, m_command.c_str());
wmove(m_window, log_height+info_height+1, m_command_cursor);
wrefresh(m_window);
}
}
void CursesConsole::Print(std::string str) {
for(auto c : str) {
Print(c);
}
dirty = true;
}
void CursesConsole::Print(char ch) {
if(ch == '\n')
m_lines.emplace_back("");
else {
if(m_lines.back().size() >= m_window_width)
m_lines.emplace_back("");
m_lines.back() += ch;
}
int log_height = get_log_height();
if(m_lines.size() > log_height) {
m_cursor = m_lines.size() - log_height - 1;
}
dirty = true;
}
CursesConsole::CursesConsole() {
dirty = false;
m_stream = 0;
m_window = 0;
m_cursor = 0;
code_complete_handler = 0;
m_history_counter = 0;
}
void CursesConsole::SetCodeCompleteHandler( std::string (*handler)(std::string cmd, int cursor) ) {
code_complete_handler = handler;
}
std::string CursesConsole::GetCommand() {
return m_command.substr(m_command_prefix.size());
}
std::string CursesConsole::Input() {
while(1) {
if(m_auto_refresh) {
Refresh();
}
if(!m_tmp_info_string.empty()) {
m_tmp_info_string.clear();
}
int input = wgetch(m_window);
switch(input) {
case KEY_UP:
if(m_history_counter == 0)
break;
if(m_history_counter == m_history.size()) {
m_last_command = m_command;
}
m_command = m_history[--m_history_counter];
m_command_cursor = m_command.size();
break;
case KEY_DOWN:
if(m_history_counter >= m_history.size())
break;
if(m_history_counter == m_history.size()-1) {
m_command = m_last_command;
m_history_counter = m_history.size();
} else {
m_command = m_history[++m_history_counter];
}
m_command_cursor = m_command.size();
break;
case KEY_PPAGE:
m_cursor = std::max<int>(m_cursor - get_log_height(), 0);
break;
case KEY_NPAGE:
m_cursor = std::min<int>(m_cursor + get_log_height(), std::max<int>(0, m_lines.size() - get_log_height() - 1) );
break;
case KEY_EOL:
m_cursor = m_lines.size() - get_log_height() - 1;
break;
case KEY_BACKSPACE:
case 127:
if(m_command_cursor > m_command_prefix.size()) {
m_command_cursor--;
m_command.erase(m_command_cursor, 1);
}
break;
case KEY_HOME:
m_command_cursor = m_command_prefix.size();
break;
case KEY_END:
m_command_cursor = m_command.size();
break;
case KEY_LEFT:
if(m_command_cursor > m_command_prefix.size()) {
m_command_cursor--;
}
break;
case KEY_RIGHT:
if(m_command_cursor < m_command.size())
m_command_cursor++;
break;
case '\t':
if(code_complete_handler) {
std::string cmd = GetCommand();
std::string complete = code_complete_handler(cmd, cmd.size());
m_command.insert(m_command_cursor, complete);
m_command_cursor += complete.size();
}
break;
case KEY_DL:
case 21:
m_command = m_command_prefix;
m_command_cursor = m_command_prefix.size();
break;
case KEY_MOUSE:
break;
case KEY_RESIZE:
getmaxyx(stdscr, m_window_height, m_window_width);
break;
default:
if(input == '\n') {
std::string cmd = GetCommand();
m_history.push_back(m_command);
m_history_counter = m_history.size();
m_command = m_command_prefix;
m_command_cursor = m_command_prefix.size();
dirty = true;
if(m_auto_refresh) {
Refresh();
}
return cmd;
} else {
m_command.insert(m_command_cursor++, 1, input);
}
if(m_auto_code_complete) {
std::string cmd = GetCommand();
code_complete_handler(cmd, cmd.size());
}
}
dirty = true;
}
}
| [
"sciliquant@gmail.com"
] | sciliquant@gmail.com |
f18d74e0fd62361375bf6f1dd31934b0d52ad6c3 | 7f296c0247edd773640d75e43f59f671235f9115 | /M_Framework/Utilities/Math.h | dfb9ae9b9212207fd4986649e60ae899994d1a35 | [] | no_license | alpenglow93/SGA | 43007ec9c8713465e69479d278bc5d93bfb29c43 | 265241b56f834fc7b0ee4f7f830877c6a7eb7725 | refs/heads/master | 2020-03-28T04:04:14.756772 | 2019-02-11T13:56:01 | 2019-02-11T13:56:01 | 147,687,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | h | #pragma once
class Math
{
public:
Math();
~Math();
static D3DXVECTOR2 Vec2Cross(D3DXVECTOR2 v);
static float Clamp(float value, float max, float min);
static float Vec2Cross(D3DXVECTOR2 vec1, D3DXVECTOR2 vec2);
};
| [
"dktmzptm@gmail.com"
] | dktmzptm@gmail.com |
4d506424d20bc73ffad78a4db615c8170f6fa51c | 07a4f6c3a084d4f491149958519b8cbf038184f1 | /treefrog-framework-2.1.0/tools/tmake/test/tmaketest.cpp | b7730dd72563cc2c7a38ed7754a3ee715e9b23df | [
"BSD-3-Clause"
] | permissive | lzxqaq/blogapp | a4d91984c9957a0c45c29f70e81afa0da68e8263 | 7523a34ac3ee1ed47e55c41f0ace3599f6112101 | refs/heads/master | 2023-08-26T08:57:46.174210 | 2021-10-15T04:50:58 | 2021-10-15T04:50:58 | 417,371,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,927 | cpp | #include <QtTest/QtTest>
#include <QFile>
#include <QDir>
#include <QTextStream>
#include <iostream>
#include <THtmlParser>
#include "otmparser.h"
#include "otamaconverter.h"
#include "erbconverter.h"
#include "erbparser.h"
extern int defaultTrimMode;
class TestTfpconverter: public QObject, public ErbConverter
{
Q_OBJECT
public:
TestTfpconverter() : ErbConverter(QDir("."), QDir(), QDir()) { }
private slots:
void initTestCase();
void parse_data();
void parse();
void otamaconvert_data();
void otamaconvert();
void otamaconvertStrong_data();
void otamaconvertStrong();
void erbparse_data();
void erbparse();
void erbparseStrong_data();
void erbparseStrong();
};
void TestTfpconverter::initTestCase()
{
defaultTrimMode = 1;
}
void TestTfpconverter::parse_data()
{
QTest::addColumn<QString>("fileName");
QTest::newRow("1") << "data1.phtm";
QTest::newRow("2") << "data2.phtm";
QTest::newRow("3") << "data3.phtm";
QTest::newRow("4") << "data4.phtm";
QTest::newRow("5") << "data5.phtm";
QTest::newRow("6") << "data6.phtm";
QTest::newRow("6-1") << "data6-1.phtm";
QTest::newRow("7") << "data7.phtm";
QTest::newRow("8") << "data8.phtm";
}
void TestTfpconverter::parse()
{
QFETCH(QString, fileName);
QFile file(fileName);
QVERIFY(file.open(QIODevice::ReadOnly | QIODevice::Text));
QTextStream ts(&file);
#if QT_VERSION < 0x060000
ts.setCodec("UTF-8");
#endif
QString html = ts.readAll();
THtmlParser parser;
parser.parse(html);
QString result = parser.toString();
QFile res("result.phtm");
res.open(QIODevice::WriteOnly | QIODevice::Truncate);
QTextStream rests(&res);
#if QT_VERSION < 0x060000
rests.setCodec("UTF-8");
#endif
rests << result;
res.close();
QCOMPARE(html, result);
}
void TestTfpconverter::otamaconvert_data()
{
QTest::addColumn<QString>("htmlFileName");
QTest::addColumn<QString>("olgFileName");
QTest::addColumn<QString>("resultFileName");
QTest::newRow("1") << "index1.html" << "logic1.olg" << "res1.html";
QTest::newRow("1-2") << "index1-2.html" << "logic1.olg" << "res1-2.html";
QTest::newRow("2") << "index2.html" << "logic1.olg" << "res2.html";
QTest::newRow("3") << "index3.html" << "logic1.olg" << "res3.html";
QTest::newRow("4") << "index4.html" << "logic1.olg" << "res4.html";
QTest::newRow("5") << "index5.html" << "logic1.olg" << "res5.html";
QTest::newRow("6") << "index6.html" << "logic1.olg" << "res6.html";
QTest::newRow("7") << "index7.html" << "logic1.olg" << "res7.html";
QTest::newRow("8") << "index8.html" << "logic1.olg" << "res8.html";
QTest::newRow("9") << "index9.html" << "logic1.olg" << "res9.html";
QTest::newRow("10") << "index10.html" << "logic1.olg" << "res10.html";
QTest::newRow("11") << "index11.html" << "logic1.olg" << "res11.html";
QTest::newRow("12") << "index12.html" << "logic1.olg" << "res12.html";
QTest::newRow("13") << "index13.html" << "logic1.olg" << "res13.html";
QTest::newRow("14") << "index14.html" << "logic1.olg" << "res14.html";
QTest::newRow("14-2") << "index14-2.html" << "logic1.olg" << "res14-2.html";
QTest::newRow("14-3") << "index14-3.html" << "logic1.olg" << "res14-3.html";
QTest::newRow("14-4") << "index14-4.html" << "logic1.olg" << "res14-4.html";
QTest::newRow("15") << "index15.html" << "logic1.olg" << "res15.html";
QTest::newRow("16") << "index16.html" << "logic1.olg" << "res16.html";
QTest::newRow("17") << "index17.html" << "logic1.olg" << "res17.html";
QTest::newRow("18") << "index18.html" << "logic1.olg" << "res18.html";
QTest::newRow("19") << "index19.html" << "logic1.olg" << "res19.html";
QTest::newRow("19") << "index19.html" << "logic1.olg" << "res19.html";
QTest::newRow("20") << "index20.html" << "logic1.olg" << "res20.html";
QTest::newRow("c1") << "indexc1.html" << "logic1.olg" << "resc1.html";
QTest::newRow("c2") << "indexc2.html" << "logic1.olg" << "resc2.html";
QTest::newRow("c3") << "indexc3.html" << "logic1.olg" << "resc3.html";
QTest::newRow("c4") << "indexc4.html" << "logic1.olg" << "resc4.html";
QTest::newRow("dm") << "dummy.html" << "logic1.olg" << "resdm.html";
}
void TestTfpconverter::otamaconvert()
{
QFETCH(QString, htmlFileName);
QFETCH(QString, olgFileName);
QFETCH(QString, resultFileName);
QFile htmlFile(htmlFileName);
QVERIFY(htmlFile.open(QIODevice::ReadOnly | QIODevice::Text));
QTextStream tshtml(&htmlFile);
#if QT_VERSION < 0x060000
tshtml.setCodec("UTF-8");
#endif
QFile olgFile(olgFileName);
QVERIFY(olgFile.open(QIODevice::ReadOnly | QIODevice::Text));
QTextStream tsolg(&olgFile);
#if QT_VERSION < 0x060000
tsolg.setCodec("UTF-8");
#endif
QFile resultFile(resultFileName);
QVERIFY(resultFile.open(QIODevice::ReadOnly | QIODevice::Text));
QTextStream tsres(&resultFile);
#if QT_VERSION < 0x060000
tsres.setCodec("UTF-8");
#endif
QString result = OtamaConverter::convertToErb(tshtml.readAll(), tsolg.readAll(), 1);
QString expect = tsres.readAll();
QCOMPARE(result, expect);
}
void TestTfpconverter::otamaconvertStrong_data()
{
QTest::addColumn<QString>("htmlFileName");
QTest::addColumn<QString>("olgFileName");
QTest::addColumn<QString>("resultFileName");
QTest::newRow("1") << "index1.html" << "logic1.olg" << "res1st.html";
QTest::newRow("1-2") << "index1-2.html" << "logic1.olg" << "res1-2st.html";
QTest::newRow("2") << "index2.html" << "logic1.olg" << "res2st.html";
QTest::newRow("3") << "index3.html" << "logic1.olg" << "res3st.html";
QTest::newRow("4") << "index4.html" << "logic1.olg" << "res4st.html";
QTest::newRow("5") << "index5.html" << "logic1.olg" << "res5st.html";
QTest::newRow("6") << "index6.html" << "logic1.olg" << "res6st.html";
QTest::newRow("7") << "index7.html" << "logic1.olg" << "res7st.html";
QTest::newRow("8") << "index8.html" << "logic1.olg" << "res8st.html";
QTest::newRow("9") << "index9.html" << "logic1.olg" << "res9st.html";
QTest::newRow("10") << "index10.html" << "logic1.olg" << "res10st.html";
QTest::newRow("20") << "index20.html" << "logic1.olg" << "res20st.html";
}
void TestTfpconverter::otamaconvertStrong()
{
QFETCH(QString, htmlFileName);
QFETCH(QString, olgFileName);
QFETCH(QString, resultFileName);
QFile htmlFile(htmlFileName);
QVERIFY(htmlFile.open(QIODevice::ReadOnly | QIODevice::Text));
QTextStream tshtml(&htmlFile);
#if QT_VERSION < 0x060000
tshtml.setCodec("UTF-8");
#endif
QFile olgFile(olgFileName);
QVERIFY(olgFile.open(QIODevice::ReadOnly | QIODevice::Text));
QTextStream tsolg(&olgFile);
#if QT_VERSION < 0x060000
tsolg.setCodec("UTF-8");
#endif
QFile resultFile(resultFileName);
QVERIFY(resultFile.open(QIODevice::ReadOnly | QIODevice::Text));
QTextStream tsres(&resultFile);
#if QT_VERSION < 0x060000
tsres.setCodec("UTF-8");
#endif
QString result = OtamaConverter::convertToErb(tshtml.readAll(), tsolg.readAll(), 2);
QString expect = tsres.readAll();
QCOMPARE(result, expect);
}
void TestTfpconverter::erbparse_data()
{
QTest::addColumn<QString>("erb");
QTest::addColumn<QString>("expe");
QTest::newRow("1") << "<body>Hello ... \n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello ... \\n</body>\");\n";
QTest::newRow("1-2") << " <body>Hello ... \n</body> \t"
<< " responsebody += QStringLiteral(\" <body>Hello ... \\n</body> \t\");\n";
QTest::newRow("2") << "<body>Hello <%# this is comment!! %></body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n /* this is comment!! */\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("3") << "<body>Hello <%# this is comment!! %> \n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n /* this is comment!! */\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("4") << "<body>Hello <%# this is \"comment!!\" %></body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n /* this is \"comment!!\" */\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("5") << "<body>Hello <%# this is \"comment!!\" %> \r\n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n /* this is \"comment!!\" */\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("6") << "<body>Hello <% int i; %></body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n int i;\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("7") << "<body>Hello <% QString s(\"%>\"); %></body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n QString s(\"%>\");\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("8") << "<body>Hello <%== vvv %></body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n responsebody += QVariant(vvv).toString();\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("9") << "<body>Hello <%= vvv %> \n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n responsebody += THttpUtility::htmlEscape(vvv);\n responsebody += QStringLiteral(\" \\n</body>\");\n";
QTest::newRow("10") << "<body>Hello <%= vvv; -%> \n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n responsebody += THttpUtility::htmlEscape(vvv);\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("11") << "<body>Hello <% int i; -%> \r\n </body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n int i;\n responsebody += QStringLiteral(\" </body>\");\n";
QTest::newRow("12") << "<body>Hello <% int i; %> \r\n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n int i;\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("13") << "<body>Hello ... \r\n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello ... \\r\\n</body>\");\n";
QTest::newRow("14") << "<body>Hello <%= vvv; +%> \n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n responsebody += THttpUtility::htmlEscape(vvv);\n responsebody += QStringLiteral(\" \\n</body>\");\n";
QTest::newRow("15") << "<body>Hello <%= vvv; +%></body>\r\n"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n responsebody += THttpUtility::htmlEscape(vvv);\n responsebody += QStringLiteral(\"</body>\\r\\n\");\n";
QTest::newRow("16") << "<body>Hello <% int i; +%> \r\n </body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n int i;\n responsebody += QStringLiteral(\" \\r\\n </body>\");\n";
/** echo export object **/
QTest::newRow("17") << "<body>Hello <%=$ hoge -%> \r\n </body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n tehex(hoge);\n responsebody += QStringLiteral(\" </body>\");\n";
QTest::newRow("18") << "<body>Hello <%==$ hoge %> \r\n </body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n techoex(hoge);\n responsebody += QStringLiteral(\" \\r\\n </body>\");\n";
/** Echo a default value on ERB **/
QTest::newRow("19") << "<body><%# comment. %|% 33 %></body>"
<< " responsebody += QStringLiteral(\"<body>\");\n /* comment. */\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("20") << "<body><%= number %|% 33 %></body>"
<< " responsebody += QStringLiteral(\"<body>\");\n { QString ___s = QVariant(number).toString(); responsebody += (___s.isEmpty()) ? THttpUtility::htmlEscape(33) : THttpUtility::htmlEscape(___s); }\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("21") << "<body><%== number %|% 33 %></body>"
<< " responsebody += QStringLiteral(\"<body>\");\n { QString ___s = QVariant(number).toString(); responsebody += (___s.isEmpty()) ? QVariant(33).toString() : ___s; }\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("22") << "<body><%=$number %|% 33 %></body>"
<< " responsebody += QStringLiteral(\"<body>\");\n tehex2(number, (33));\n responsebody += QStringLiteral(\"</body>\");\n";
// Irregular pattern
QTest::newRow("23") << "<body><%==$number %|% 33 -%>\t\n</body>"
<< " responsebody += QStringLiteral(\"<body>\");\n techoex2(number, (33));\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("24") << "<body><%== \" %|%\" %|% \"%|%\" -%> \t \n</body>"
<< " responsebody += QStringLiteral(\"<body>\");\n { QString ___s = QVariant(\" %|%\").toString(); responsebody += (___s.isEmpty()) ? QVariant(\"%|%\").toString() : ___s; }\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("25") << "<body><script>function() { return '\\n'; }</script></body>"
<< " responsebody += QStringLiteral(\"<body><script>function() { return '\\\\n'; }</script></body>\");\n";
QTest::newRow("26") << "<body><script>function() { return \"\\n\"; }</script></body>"
<< " responsebody += QStringLiteral(\"<body><script>function() { return \\\"\\\\n\\\"; }</script></body>\");\n";
}
void TestTfpconverter::erbparse()
{
QFETCH(QString, erb);
QFETCH(QString, expe);
ErbParser parser(ErbParser::NormalTrim);
parser.parse(erb);
QString result = parser.sourceCode();
QCOMPARE(result, expe);
}
void TestTfpconverter::erbparseStrong_data()
{
QTest::addColumn<QString>("erb");
QTest::addColumn<QString>("expe");
QTest::newRow("1") << "<body>Hello ... \n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello ...\\n</body>\");\n";
QTest::newRow("1-2") << "<body>Hello ... \n \t</body>"
<< " responsebody += QStringLiteral(\"<body>Hello ...\\n</body>\");\n";
QTest::newRow("2") << "<body>Hello <%# this is comment!! %></body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n /* this is comment!! */\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("3") << "<body>Hello <%# this is comment!! %> \n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n /* this is comment!! */\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("4") << "<body>Hello <%# this is \"comment!!\" %></body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n /* this is \"comment!!\" */\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("5") << "<body>Hello <%# this is \"comment!!\" %> \r\n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n /* this is \"comment!!\" */\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("6") << "<body>Hello <% int i; %></body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n int i;\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("7") << "<body>Hello <% QString s(\"%>\"); %></body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n QString s(\"%>\");\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("8") << "<body>Hello <%== vvv %></body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n responsebody += QVariant(vvv).toString();\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("9") << "<body>Hello <%= vvv %> \n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n responsebody += THttpUtility::htmlEscape(vvv);\n responsebody += QStringLiteral(\"\\n</body>\");\n";
QTest::newRow("9-2") << "<body>Hello <%= vvv %> \n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n responsebody += THttpUtility::htmlEscape(vvv);\n responsebody += tr(\" \\n</body>\");\n";
QTest::newRow("10") << "<body>Hello <%= vvv; -%> \n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n responsebody += THttpUtility::htmlEscape(vvv);\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("11") << " <body>Hello <% int i; -%> \r\n </body> "
<< " responsebody += QStringLiteral(\"<body>Hello \");\n int i;\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("12") << "<body>Hello <% int i; %> \r\n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n int i;\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("13") << "<body>Hello ... \t\r\n\t</body>"
<< " responsebody += QStringLiteral(\"<body>Hello ...\\n</body>\");\n";
QTest::newRow("14") << "<body>Hello <%= vvv; +%> \n</body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n responsebody += THttpUtility::htmlEscape(vvv);\n responsebody += QStringLiteral(\"\\n</body>\");\n";
QTest::newRow("15") << "<body>Hello <%= vvv; +%></body>\t\r\n"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n responsebody += THttpUtility::htmlEscape(vvv);\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("16") << " \t<body>Hello <% int i; +%> \r\n </body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n int i;\n responsebody += QStringLiteral(\"\\n</body>\");\n";
/** echo export object **/
QTest::newRow("17") << " \t <body>Hello <%=$ hoge -%> \r\n </body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n tehex(hoge);\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("18") << "<body>Hello <%==$ hoge %> \r\n </body>"
<< " responsebody += QStringLiteral(\"<body>Hello \");\n techoex(hoge);\n responsebody += QStringLiteral(\"\\n</body>\");\n";
/** Echo a default value on ERB **/
QTest::newRow("19") << "<body><%# comment. %|% 33 %></body>"
<< " responsebody += QStringLiteral(\"<body>\");\n /* comment. */\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("20") << "<body><%= number %|% 33 %></body>"
<< " responsebody += QStringLiteral(\"<body>\");\n { QString ___s = QVariant(number).toString(); responsebody += (___s.isEmpty()) ? THttpUtility::htmlEscape(33) : THttpUtility::htmlEscape(___s); }\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("21") << "<body><%== number %|% 33 %></body>"
<< " responsebody += QStringLiteral(\"<body>\");\n { QString ___s = QVariant(number).toString(); responsebody += (___s.isEmpty()) ? QVariant(33).toString() : ___s; }\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("22") << "<body><%=$number %|% 33 %></body>"
<< " responsebody += QStringLiteral(\"<body>\");\n tehex2(number, (33));\n responsebody += QStringLiteral(\"</body>\");\n";
// Irregular pattern
QTest::newRow("23") << "<body><%==$number %|% 33 -%>\t\n</body>"
<< " responsebody += QStringLiteral(\"<body>\");\n techoex2(number, (33));\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("24") << "<body><%== \" %|%\" %|% \"%|%\" -%> \t \n</body>"
<< " responsebody += QStringLiteral(\"<body>\");\n { QString ___s = QVariant(\" %|%\").toString(); responsebody += (___s.isEmpty()) ? QVariant(\"%|%\").toString() : ___s; }\n responsebody += QStringLiteral(\"</body>\");\n";
QTest::newRow("25") << "<body><script>function() { return '\\n'; }</script></body>"
<< " responsebody += QStringLiteral(\"<body><script>function() { return '\\\\n'; }</script></body>\");\n";
QTest::newRow("26") << "<body><script>function() { return \"\\n\"; }</script></body>"
<< " responsebody += QStringLiteral(\"<body><script>function() { return \\\"\\\\n\\\"; }</script></body>\");\n";
}
void TestTfpconverter::erbparseStrong()
{
QFETCH(QString, erb);
QFETCH(QString, expe);
ErbParser parser(ErbParser::StrongTrim);
parser.parse(erb);
QString result = parser.sourceCode();
QCOMPARE(result, expe);
}
QTEST_MAIN(TestTfpconverter)
#include "tmaketest.moc"
| [
"lzxqaq@163.com"
] | lzxqaq@163.com |
ba016e0894e724c1e79099c6faebe43f68e626ee | 9ecf34564f5703f233db34044c24807d0f14480d | /AmendTitleAndApplyLabel/issueupdater.h | cb16c165c542dfbf0cacbdca4df2911120f95d10 | [
"MIT"
] | permissive | sledgehammer999/github-api-tools | 1012c8f4f5124eb7a59cf8850a33b5a26449d5aa | e71193dea78f3baccf1a7fde3e64eaa7736ad619 | refs/heads/master | 2021-02-10T21:49:52.603026 | 2020-10-29T20:07:24 | 2020-10-29T21:37:05 | 244,422,882 | 1 | 1 | null | 2022-08-31T12:10:07 | 2020-03-02T16:46:06 | C++ | UTF-8 | C++ | false | false | 2,170 | h | /* MIT License
Copyright (c) 2020 sledgehammer999 <hammered999@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. */
#pragma once
#include <string>
#include <unordered_map>
#include <vector>
struct IssueAttributes;
class PostDownloader;
class IssueUpdater
{
public:
// The passed arguments must outlive the class instance
explicit IssueUpdater(PostDownloader &downloader,
const std::unordered_map<std::vector<int>::size_type, std::vector<IssueAttributes>> &issues,
std::string &error);
void run();
std::string nextBatch();
bool hasNextBatch();
private:
void onFinishedPage();
void gatherIssues(std::string_view response);
std::string makeIssueAlias(const int counter, const IssueAttributes &attr);
std::string makeLabelArray(const std::vector<std::string> &labelIDs);
PostDownloader &m_downloader;
const std::unordered_map<std::vector<int>::size_type, std::vector<IssueAttributes>> &m_issues;
std::string &m_error;
std::unordered_map<std::vector<int>::size_type, std::vector<IssueAttributes>>::const_iterator m_regexPos;
int m_issuePos = 0;
bool m_hasNextBatch;
};
| [
"hammered999@gmail.com"
] | hammered999@gmail.com |
ff9d5840351032341af5fed7c999fa9d278c0624 | 59e96dbba469d66fe054435d8994da234d9944c6 | /Samples/2.0/Tests/Readback/ReadbackGameState.h | d3c668fb33b382fbb2a865a092ed84105164d0ec | [
"MIT"
] | permissive | jiaguobing/ogre-next | 454ba6b9e5e24337c4aa80412a636d30877c3ba7 | cd02f1c578eeb1a8ee477f1be25ab428cdc3171e | refs/heads/master | 2022-05-01T05:43:19.940084 | 2022-04-26T09:04:54 | 2022-04-26T09:04:54 | 237,957,105 | 0 | 0 | NOASSERTION | 2020-09-09T03:06:48 | 2020-02-03T12:12:54 | C++ | UTF-8 | C++ | false | false | 888 | h |
#ifndef _Demo_ReadbackGameState_H_
#define _Demo_ReadbackGameState_H_
#include "OgrePrerequisites.h"
#include "TutorialGameState.h"
#include "Threading/OgreUniformScalableTask.h"
namespace Ogre
{
class HlmsUnlitDatablock;
}
namespace Demo
{
class ReadbackGameState final : public TutorialGameState, public Ogre::UniformScalableTask
{
Ogre::HlmsUnlitDatablock *mUnlitDatablock;
Ogre::uint32 mRgbaReference;
Ogre::TextureBox const *mTextureBox;
bool mRaceConditionDetected;
void generateDebugText( float timeSinceLast, Ogre::String &outText ) override;
public:
ReadbackGameState( const Ogre::String &helpDescription );
void createScene01() override;
void update( float timeSinceLast ) override;
void execute( size_t threadId, size_t numThreads ) override;
};
} // namespace Demo
#endif
| [
"dark_sylinc@yahoo.com.ar"
] | dark_sylinc@yahoo.com.ar |
40165b54d32543af13065526b2af14e66bcd13c6 | 6be046c358e6ca877c584563e7f2a34f59514851 | /framework/rendering/unit_cube.hpp | ddb0ac8aced5281a3991153ddaff95c0b1200762 | [] | no_license | wobakj/rgbd-recon | c2e5bfdad04f3411b736100ed0d025acdd8cf27d | d77f0d13ade3bdd31633e7e27980e4c103c93fa1 | refs/heads/master | 2021-01-18T04:03:19.811604 | 2016-05-21T14:21:28 | 2016-05-22T14:17:34 | 56,691,574 | 0 | 0 | null | 2016-04-20T13:58:50 | 2016-04-20T13:58:50 | null | UTF-8 | C++ | false | false | 525 | hpp | #ifndef UNIT_CUBE_HPP
#define UNIT_CUBE_HPP
#include <globjects/Buffer.h>
#include <globjects/VertexArray.h>
// quad singleton
class UnitCube {
public:
static void draw();
private:
// prevent construction by user
UnitCube();
~UnitCube();
UnitCube(UnitCube const&) = delete;
UnitCube& operator=(UnitCube const&) = delete;
globjects::VertexArray* m_quad;
globjects::Buffer* m_tri_buffer;
};
// // get singleton sinstance
// UnitCube& configurator();
#endif //UNIT_CUBE_HPP | [
"jakob.wagner@uni-weimar.de"
] | jakob.wagner@uni-weimar.de |
f5a03d99a6b494b2fc3959be8cd008ae5d304987 | f3997f566695a78d09fcab688db88499223dca17 | /PCA_beating_sphere/performance_tools.cpp | 316134a14176852d3ba6f46f46716fa369b2677a | [] | no_license | melampyge/CollectiveFilament | 600d7a426d88a7f8f31702edb2b1fea7691372d2 | 7d2659bee85c955c680eda019cbff6e2b93ecff2 | refs/heads/master | 2020-07-23T05:58:55.383746 | 2017-06-25T14:55:14 | 2017-06-25T14:55:14 | 94,351,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,319 | cpp | #include <iostream>
#include <math.h>
using namespace std;
class Performance_tools{
public:
void compute_curvature(double* curv, double* xall, double* yall,
int nsteps, int natoms) {
// declare some required variables
int idx, idx2;
double x0, x1, x2, y0, y1, y2;
double ax, ay, bx, by, cx, cy;
double A, a, b, c;
// compute the local curvature
for (int i = 0; i < nsteps; i++) {
for (int j = 0; j < natoms - 2; j++) {
idx = natoms*i + j;
idx2 = (natoms-2)*i + j;
x0 = xall[idx];
x1 = xall[idx+1];
x2 = xall[idx+2];
y0 = yall[idx];
y1 = yall[idx+1];
y2 = yall[idx+2];
// vectors between the points
ax = x0-x1;
ay = y0-y1;
bx = x2-x1;
by = y2-y1;
cx = x2-x0;
cy = y2-y0;
// size of the vectors
a = sqrt(ax*ax + ay*ay);
b = sqrt(bx*bx + by*by);
c = sqrt(cx*cx + cy*cy);
// area
A = 0.5*(ax*by - ay*bx);
// curvature
curv[idx2] = 4.*A/(a*b*c);
}
}
// return
return;
}
/***********************************************************************************/
void compute_crosscorrelation(int* t_cc, int* time, double* a1, double* a2, double* cc1, double* cc2,
int* counter, int* linval,
int nsteps, int ncc, int limit, int dt) {
// allocate variables
double a1i, a1j, a2i, a2j;
// zero cc and counter
for (int i = 0; i < ncc; i++) cc1[i] = 0.0;
for (int i = 0; i < ncc; i++) cc2[i] = 0.0;
for (int i = 0; i < ncc; i++) counter[i] = 0;
// fill linval array
for (int i = 0; i < ncc; i++) linval[i] = i*dt;
// fill t_cc array
for (int i = 0; i < ncc; i++) t_cc[i] = time[linval[i]] - time[0];
// compute the autocorrelation
for (int i = 0; i < nsteps; i++) {
a1i = a1[i];
a2i = a2[i];
for (int l = 0; l < ncc; l++) {
int j = linval[l];
if (j + i < nsteps) {
a1j = a1[j+i];
a2j = a2[j+i];
counter[l] += 1;
cc1[l] += a1i*a2j;
cc2[l] += a2i*a1j;
}
}
}
// normalize autocorrelation
for (int i = 0; i < ncc; i++) cc1[i] /= counter[i];
for (int i = 0; i < ncc; i++) cc2[i] /= counter[i];
// return
return;
}
/***********************************************************************************/
void blocking_method(double* blockdata, double* block_std, double* block_uncert, int n, double& acl, double& stdl) {
// declare variables
double c0;
double smin, smax;
double smin_old, smax_old;
// compute the average
acl = 0;
for (int i = 0; i < n; i++) acl += blockdata[i];
acl /= n;
// perform the blocking method
int j = 0;
while (n >= 2) {
// compute std for current block
c0 = 0;
for (int i = 0; i < n; i++) c0 += pow(blockdata[i] - acl, 2);
c0 /= (n-1);
// compute the standard deviation and fill it to blocking array
c0 = sqrt(c0/(n-1));
block_std[j] = c0;
block_uncert[j] = c0/sqrt(2*(n-1));
// perform block operation
for (int i = 0; i < n/2; i++) blockdata[i] = 0.5*(blockdata[2*i] + blockdata[2*i+1]);
n = n/2;
// increase j
j = j + 1;
}
// find the plateau value and fill it to stdl, set to -1 if no plateau is found
// start from the lowermost value, ignore last nignore entries
int nignore = 3;
n = j - nignore -1;
smin_old = block_std[0] - 2*block_uncert[0];
smax_old = block_std[0] + 2*block_uncert[0];
stdl = -1;
for (int i = 1; i < n; i++) {
smin = block_std[i] - 2*block_uncert[i];
smax = block_std[i] + 2*block_uncert[i];
if (smax_old > smin) {
stdl = 0.5*(block_std[i] + block_std[i-1]);
break;
}
smin_old = smin;
smax_old = smax;
}
return;
}
/***********************************************************************************/
void compute_crosscorrelation_with_errorbars(int* t_cc, int* time, double* x1, double* x2, double* cc,
double* std, double* blockdata, double* block_std,
double* block_uncert, int* linval,
int nsteps, int ncc, int limit, int dt) {
// allocate variables
double xi, xj;
double ccl, stdl;
// zero cc and std
for (int i = 0; i < ncc; i++) cc[i] = 0.0;
for (int i = 0; i < ncc; i++) std[i] = 0.0;
// fill linval array
for (int i = 0; i < ncc; i++) linval[i] = i*dt;
// fill t_cc array
for (int i = 0; i < ncc; i++) t_cc[i] = time[linval[i]] - time[0];
// compute autocorrelation function with statistical uncertainties
// using the blocking method:
// have l as the outer loop
// compute all values for fixed l and store them in an array
// apply blocking method to this array; find true std automatically
for (int l = 0; l < ncc; l++) {
int j = linval[l];
cout << " " << l << " " << ncc << endl;
for (int i = 0; i < nsteps-j; i++) {
xi = x1[i];
xj = x2[j+i];
blockdata[i] = xi*xj;
}
// compute mean and true standard deviation from the blocking method
blocking_method(blockdata, block_std, block_uncert, nsteps-j, ccl, stdl);
cc[l] = ccl;
std[l] = stdl;
}
// return
return;
}
};
/*******************************************************************************************/
/*******************************************************************************************/
/*******************************************************************************************/
extern "C" {
Performance_tools* Performance_tools_new(){return new Performance_tools();}
/***********************************************************************************/
void blocking_method(Performance_tools* performance_tools, double* blockdata,
double* block_std, double* block_uncert, int n, double& av, double& std) {
performance_tools->blocking_method(blockdata, block_std, block_uncert, n, av, std);
}
/***********************************************************************************/
void compute_curvature(Performance_tools* performance_tools,
double* curv, double* xall, double* yall,
int nsteps, int natoms) {
performance_tools->compute_curvature(curv, xall, yall, nsteps, natoms);
}
/***********************************************************************************/
void compute_crosscorrelation(Performance_tools* performance_tools,
int* t_cc, int* time, double* a1, double* a2, double* cc1, double* cc2,
int* counter, int* linval,
int nsteps, int ncc, int limit, int dt) {
performance_tools->compute_crosscorrelation(t_cc, time, a1, a2, cc1, cc2, counter, linval, nsteps, ncc, limit, dt);
}
/***********************************************************************************/
void compute_crosscorrelation_with_errorbars(Performance_tools* performance_tools,
int* t_cc, int* time, double* x1, double* x2, double* cc, double* std,
double* blockdata, double* block_std, double* block_uncert, int* linval,
int nsteps, int ncc, int limit, int dt) {
performance_tools->compute_crosscorrelation_with_errorbars(t_cc, time, x1, x2, cc, std, blockdata, block_std, block_uncert, linval, nsteps, ncc, limit, dt);
}
}
| [
"ozer.duman@gmail.com"
] | ozer.duman@gmail.com |
ef6894e4fb2d692ef534bf57753980a39f6f89ba | 6df45f4a51458cf480f3f05f1f326000b7d00a8f | /G711.cpp | a9800ce6e4a40b116ab595d6881230b79cfe61f0 | [] | no_license | pangeo-capital/phone-soft | 4e96f2e7f463835cac19626f7bc12ad3b9efae71 | 38e9f7f741b73eddbf2801b5d44561457be855fb | refs/heads/master | 2020-04-23T21:26:32.927520 | 2019-02-19T12:49:48 | 2019-02-19T12:49:48 | 171,470,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,898 | cpp | #include "G711.h"
//-----------------------------------------------------------------------------------
/*
* This source code is a product of Sun Microsystems, Inc. and is provided
* for unrestricted use. Users may copy or modify this source code without
* charge.
*
* SUN SOURCE CODE IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING
* THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
* PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
* Sun source code is provided with no support and without any obligation on
* the part of Sun Microsystems, Inc. to assist in its use, correction,
* modification or enhancement.
*
* SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
* INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY THIS SOFTWARE
* OR ANY PART THEREOF.
*
* In no event will Sun Microsystems, Inc. be liable for any lost revenue
* or profits or other special, indirect and consequential damages, even if
* Sun has been advised of the possibility of such damages.
*
* Sun Microsystems, Inc.
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
/*
* g711.c
*
* u-law, A-law and linear PCM conversions.
*/
/*
* December 30, 1994:
* Functions linear2alaw, linear2ulaw have been updated to correctly
* convert unquantized 16 bit values.
* Tables for direct u- to A-law and A- to u-law conversions have been
* corrected.
* Borge Lindberg, Center for PersonKommunikation, Aalborg University.
* bli@cpk.auc.dk
*
*/
#define SIGN_BIT (0x80) /* Sign bit for a A-law byte. */
#define QUANT_MASK (0xf) /* Quantization field mask. */
#define NSEGS (8) /* Number of A-law segments. */
#define SEG_SHIFT (4) /* Left shift for segment number. */
#define SEG_MASK (0x70) /* Segment field mask. */
static short seg_aend[8] = {0x1F, 0x3F, 0x7F, 0xFF,
0x1FF, 0x3FF, 0x7FF, 0xFFF};
static short seg_uend[8] = {0x3F, 0x7F, 0xFF, 0x1FF,
0x3FF, 0x7FF, 0xFFF, 0x1FFF};
/* copy from CCITT G.711 specifications */
unsigned char _u2a[128] = { /* u- to A-law conversions */
1, 1, 2, 2, 3, 3, 4, 4,
5, 5, 6, 6, 7, 7, 8, 8,
9, 10, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, 24,
25, 27, 29, 31, 33, 34, 35, 36,
37, 38, 39, 40, 41, 42, 43, 44,
46, 48, 49, 50, 51, 52, 53, 54,
55, 56, 57, 58, 59, 60, 61, 62,
64, 65, 66, 67, 68, 69, 70, 71,
72, 73, 74, 75, 76, 77, 78, 79,
/* corrected:
81, 82, 83, 84, 85, 86, 87, 88,
should be: */
80, 82, 83, 84, 85, 86, 87, 88,
89, 90, 91, 92, 93, 94, 95, 96,
97, 98, 99, 100, 101, 102, 103, 104,
105, 106, 107, 108, 109, 110, 111, 112,
113, 114, 115, 116, 117, 118, 119, 120,
121, 122, 123, 124, 125, 126, 127, 128};
unsigned char _a2u[128] = { /* A- to u-law conversions */
1, 3, 5, 7, 9, 11, 13, 15,
16, 17, 18, 19, 20, 21, 22, 23,
24, 25, 26, 27, 28, 29, 30, 31,
32, 32, 33, 33, 34, 34, 35, 35,
36, 37, 38, 39, 40, 41, 42, 43,
44, 45, 46, 47, 48, 48, 49, 49,
50, 51, 52, 53, 54, 55, 56, 57,
58, 59, 60, 61, 62, 63, 64, 64,
65, 66, 67, 68, 69, 70, 71, 72,
/* corrected:
73, 74, 75, 76, 77, 78, 79, 79,
should be: */
73, 74, 75, 76, 77, 78, 79, 80,
80, 81, 82, 83, 84, 85, 86, 87,
88, 89, 90, 91, 92, 93, 94, 95,
96, 97, 98, 99, 100, 101, 102, 103,
104, 105, 106, 107, 108, 109, 110, 111,
112, 113, 114, 115, 116, 117, 118, 119,
120, 121, 122, 123, 124, 125, 126, 127};
static short
search(
short val,
short *table,
short size)
{
short i;
for (i = 0; i < size; i++) {
if (val <= *table++)
return (i);
}
return (size);
}
/*
* linear2alaw() - Convert a 16-bit linear PCM value to 8-bit A-law
*
* linear2alaw() accepts an 16-bit integer and encodes it as A-law data.
*
* Linear Input Code Compressed Code
* ------------------------ ---------------
* 0000000wxyza 000wxyz
* 0000001wxyza 001wxyz
* 000001wxyzab 010wxyz
* 00001wxyzabc 011wxyz
* 0001wxyzabcd 100wxyz
* 001wxyzabcde 101wxyz
* 01wxyzabcdef 110wxyz
* 1wxyzabcdefg 111wxyz
*
* For further information see John C. Bellamy's Digital Telephony, 1982,
* John Wiley & Sons, pps 98-111 and 472-476.
*/
unsigned char
linear2alaw(
short pcm_val) /* 2's complement (16-bit range) */
{
short mask;
short seg;
unsigned char aval;
pcm_val = pcm_val >> 3;
if (pcm_val >= 0) {
mask = 0xD5; /* sign (7th) bit = 1 */
} else {
mask = 0x55; /* sign bit = 0 */
pcm_val = -pcm_val - 1;
}
/* Convert the scaled magnitude to segment number. */
seg = search(pcm_val, seg_aend, 8);
/* Combine the sign, segment, and quantization bits. */
if (seg >= 8) /* out of range, return maximum value. */
return (unsigned char) (0x7F ^ mask);
else {
aval = (unsigned char) seg << SEG_SHIFT;
if (seg < 2)
aval |= (pcm_val >> 1) & QUANT_MASK;
else
aval |= (pcm_val >> seg) & QUANT_MASK;
return (aval ^ mask);
}
}
/*
* alaw2linear() - Convert an A-law value to 16-bit linear PCM
*
*/
short
alaw2linear(
unsigned char a_val)
{
short t;
short seg;
a_val ^= 0x55;
t = (a_val & QUANT_MASK) << 4;
seg = ((unsigned)a_val & SEG_MASK) >> SEG_SHIFT;
switch (seg) {
case 0:
t += 8;
break;
case 1:
t += 0x108;
break;
default:
t += 0x108;
t <<= seg - 1;
}
return ((a_val & SIGN_BIT) ? t : -t);
}
#define BIAS (0x84) /* Bias for linear code. */
#define CLIP 8159
/*
* linear2ulaw() - Convert a linear PCM value to u-law
*
* In order to simplify the encoding process, the original linear magnitude
* is biased by adding 33 which shifts the encoding range from (0 - 8158) to
* (33 - 8191). The result can be seen in the following encoding table:
*
* Biased Linear Input Code Compressed Code
* ------------------------ ---------------
* 00000001wxyza 000wxyz
* 0000001wxyzab 001wxyz
* 000001wxyzabc 010wxyz
* 00001wxyzabcd 011wxyz
* 0001wxyzabcde 100wxyz
* 001wxyzabcdef 101wxyz
* 01wxyzabcdefg 110wxyz
* 1wxyzabcdefgh 111wxyz
*
* Each biased linear code has a leading 1 which identifies the segment
* number. The value of the segment number is equal to 7 minus the number
* of leading 0's. The quantization interval is directly available as the
* four bits wxyz. * The trailing bits (a - h) are ignored.
*
* Ordinarily the complement of the resulting code word is used for
* transmission, and so the code word is complemented before it is returned.
*
* For further information see John C. Bellamy's Digital Telephony, 1982,
* John Wiley & Sons, pps 98-111 and 472-476.
*/
unsigned char
linear2ulaw(
short pcm_val) /* 2's complement (16-bit range) */
{
short mask;
short seg;
unsigned char uval;
/* Get the sign and the magnitude of the value. */
pcm_val = pcm_val >> 2;
if (pcm_val < 0) {
pcm_val = -pcm_val;
mask = 0x7F;
} else {
mask = 0xFF;
}
if ( pcm_val > CLIP ) pcm_val = CLIP; /* clip the magnitude */
pcm_val += (BIAS >> 2);
/* Convert the scaled magnitude to segment number. */
seg = search(pcm_val, seg_uend, 8);
/*
* Combine the sign, segment, quantization bits;
* and complement the code word.
*/
if (seg >= 8) /* out of range, return maximum value. */
return (unsigned char) (0x7F ^ mask);
else {
uval = (unsigned char) (seg << 4) | ((pcm_val >> (seg + 1)) & 0xF);
return (uval ^ mask);
}
}
/*
* ulaw2linear() - Convert a u-law value to 16-bit linear PCM
*
* First, a biased linear code is derived from the code word. An unbiased
* output can then be obtained by subtracting 33 from the biased code.
*
* Note that this function expects to be passed the complement of the
* original code word. This is in keeping with ISDN conventions.
*/
short
ulaw2linear(
unsigned char u_val)
{
short t;
/* Complement to obtain normal u-law value. */
u_val = ~u_val;
/*
* Extract and bias the quantization bits. Then
* shift up by the segment number and subtract out the bias.
*/
t = ((u_val & QUANT_MASK) << 3) + BIAS;
t <<= ((unsigned)u_val & SEG_MASK) >> SEG_SHIFT;
return ((u_val & SIGN_BIT) ? (BIAS - t) : (t - BIAS));
}
/* A-law to u-law conversion */
unsigned char
alaw2ulaw(
unsigned char aval)
{
aval &= 0xff;
return (unsigned char) ((aval & 0x80) ? (0xFF ^ _a2u[aval ^ 0xD5]) :
(0x7F ^ _a2u[aval ^ 0x55]));
}
/* u-law to A-law conversion */
unsigned char
ulaw2alaw(
unsigned char uval)
{
uval &= 0xff;
return (unsigned char) ((uval & 0x80) ? (0xD5 ^ (_u2a[0xFF ^ uval] - 1)) :
(unsigned char) (0x55 ^ (_u2a[0x7F ^ uval] - 1)));
}
//------------------------------------------------------------------------------
| [
"aermilov@granit.io"
] | aermilov@granit.io |
70a105f43c2a008398bc04a2edb19e1485319ca7 | 07fc0f5ac6c4462e4b7506e8dd4ba4730d692ba1 | /boost_locale/tags/v3.1.0/libs/locale/src/std/std_backend.cpp | b735de6517cf672c4e2840640f1f8e23fba4dd30 | [] | no_license | JackBro/CppCMS | eb7ffa0c14aa021b6165b6ca6fb6798c6f2572dc | a7895662dfaece41544b599aa5ebf232b63e3c4f | refs/heads/master | 2021-01-12T08:33:38.895665 | 2016-04-04T12:52:48 | 2016-04-04T12:52:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,691 | cpp | //
// Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#define BOOST_LOCALE_SOURCE
#include <boost/locale/localization_backend.hpp>
#include <boost/locale/gnu_gettext.hpp>
#include "all_generator.hpp"
#include "../util/locale_data.hpp"
#include "../util/gregorian.hpp"
#include <boost/locale/util.hpp>
#if defined(BOOST_WINDOWS)
# ifndef NOMINMAX
# define NOMINMAX
# endif
# include <windows.h>
# include "../encoding/conv.hpp"
# include "../win32/lcid.hpp"
#endif
#include "std_backend.hpp"
namespace boost {
namespace locale {
namespace impl_std {
class std_localization_backend : public localization_backend {
public:
std_localization_backend() :
invalid_(true),
use_ansi_encoding_(false)
{
}
std_localization_backend(std_localization_backend const &other) :
localization_backend(),
paths_(other.paths_),
domains_(other.domains_),
locale_id_(other.locale_id_),
invalid_(true),
use_ansi_encoding_(other.use_ansi_encoding_)
{
}
virtual std_localization_backend *clone() const
{
return new std_localization_backend(*this);
}
void set_option(std::string const &name,std::string const &value)
{
invalid_ = true;
if(name=="locale")
locale_id_ = value;
else if(name=="message_path")
paths_.push_back(value);
else if(name=="message_application")
domains_.push_back(value);
else if(name=="use_ansi_encoding")
use_ansi_encoding_ = value == "true";
}
void clear_options()
{
invalid_ = true;
use_ansi_encoding_ = false;
locale_id_.clear();
paths_.clear();
domains_.clear();
}
void prepare_data()
{
if(!invalid_)
return;
invalid_ = false;
std::string lid=locale_id_;
if(lid.empty()) {
bool use_utf8 = ! use_ansi_encoding_;
lid = util::get_system_locale(use_utf8);
}
in_use_id_ = lid;
data_.parse(lid);
name_ = "C";
utf_mode_ = utf8_none;
#if defined(BOOST_WINDOWS)
std::pair<std::string,int> wl_inf = to_windows_name(lid);
std::string win_name = wl_inf.first;
int win_codepage = wl_inf.second;
#endif
if(!data_.utf8) {
if(loadable(lid)) {
name_ = lid;
utf_mode_ = utf8_none;
}
#if defined(BOOST_WINDOWS)
else if(loadable(win_name)
&& win_codepage == conv::impl::encoding_to_windows_codepage(data_.encoding.c_str()))
{
name_ = win_name;
utf_mode_ = utf8_none;
}
#endif
}
else {
if(loadable(lid)) {
name_ = lid;
utf_mode_ = utf8_native_with_wide;
}
#if defined(BOOST_WINDOWS)
else if(loadable(win_name)) {
name_ = win_name;
utf_mode_ = utf8_from_wide;
}
#endif
}
}
#if defined(BOOST_WINDOWS)
std::pair<std::string,int> to_windows_name(std::string const &l)
{
std::pair<std::string,int> res("C",0);
unsigned lcid = impl_win::locale_to_lcid(l);
char win_lang[256] = {0};
char win_country[256] = {0};
char win_codepage[10] = {0};
if(GetLocaleInfoA(lcid,LOCALE_SENGLANGUAGE,win_lang,sizeof(win_lang))==0)
return res;
std::string lc_name = win_lang;
if(GetLocaleInfoA(lcid,LOCALE_SENGCOUNTRY,win_country,sizeof(win_country))!=0) {
lc_name += "_";
lc_name += win_country;
}
res.first = lc_name;
if(GetLocaleInfoA(lcid,LOCALE_IDEFAULTANSICODEPAGE,win_codepage,sizeof(win_codepage))!=0)
res.second = atoi(win_codepage);
return res;
}
#endif
bool loadable(std::string name)
{
try {
std::locale l(name.c_str());
return true;
}
catch(std::exception const &/*e*/) {
return false;
}
}
virtual std::locale install(std::locale const &base,
locale_category_type category,
character_facet_type type = nochar_facet)
{
prepare_data();
switch(category) {
case convert_facet:
return create_convert(base,name_,type,utf_mode_);
case collation_facet:
return create_collate(base,name_,type,utf_mode_);
case formatting_facet:
return create_formatting(base,name_,type,utf_mode_);
case parsing_facet:
return create_parsing(base,name_,type,utf_mode_);
case codepage_facet:
return create_codecvt(base,name_,type,utf_mode_);
case calendar_facet:
return util::install_gregorian_calendar(base,data_.country);
case message_facet:
{
gnu_gettext::messages_info minf;
minf.language = data_.language;
minf.country = data_.country;
minf.variant = data_.variant;
minf.encoding = data_.encoding;
minf.domains = domains_;
minf.paths = paths_;
switch(type) {
case char_facet:
return std::locale(base,gnu_gettext::create_messages_facet<char>(minf));
case wchar_t_facet:
return std::locale(base,gnu_gettext::create_messages_facet<wchar_t>(minf));
#ifdef BOOST_HAS_CHAR16_T
case char16_t_facet:
return std::locale(base,gnu_gettext::create_messages_facet<char16_t>(minf));
#endif
#ifdef BOOST_HAS_CHAR32_T
case char32_t_facet:
return std::locale(base,gnu_gettext::create_messages_facet<char32_t>(minf));
#endif
default:
return base;
}
}
case information_facet:
return util::create_info(base,in_use_id_);
default:
return base;
}
}
private:
std::vector<std::string> paths_;
std::vector<std::string> domains_;
std::string locale_id_;
util::locale_data data_;
std::string name_;
std::string in_use_id_;
utf8_support utf_mode_;
bool invalid_;
bool use_ansi_encoding_;
};
localization_backend *create_localization_backend()
{
return new std_localization_backend();
}
} // impl icu
} // locale
} // boost
// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
| [
"artyom-beilis@831565cc-8e21-4ad5-8334-98019c97bd36"
] | artyom-beilis@831565cc-8e21-4ad5-8334-98019c97bd36 |
629bfcc1fcfcdc524e33b1712ddb5974d2873684 | 7bf9b9b4ef4ae06b92c0e6877f3ae86b3e201368 | /solutions/cmvectorized.cpp | 692de189c7030e82dbe5d229be19b77c7ac9bb67 | [] | no_license | calculquebec/cq-formation-benchmark5D | 4e34efe2b9436cf341aa5ef598409e7604be8019 | e8e21c670b436441144a6813cdfa5e448eac87d0 | refs/heads/master | 2020-05-22T02:14:08.173456 | 2019-05-12T01:50:32 | 2019-05-12T01:50:32 | 186,194,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,368 | cpp | #include "cmvectorized.h"
#include <algorithm>
#include <iostream>
#include <stdlib.h>
using namespace std;
CMVectorized::CMVectorized(): CubicMatrix()
{
}
CMVectorized::~CMVectorized()
{
}
const CubicMatrix& CMVectorized::dot(CubicMatrix &cm1, CubicMatrix &cm2, CubicMatrix &cm3)
{
if (cm1.n() < 1 || cm2.n() < 1 || cm3.n() < 1 ||
cm1.n() != cm2.n() || cm2.n() != cm3.n()) {
cleanup();
return *this;
}
resize(cm1.n());
cm2.T();
cm3.T().T();
for (size_t i1 = 0; i1 < n_; i1++) {
for (size_t i2 = 0; i2 < n_; i2++) {
for (size_t i3 = 0; i3 < n_; i3++) {
double sum = 0.0;
for (size_t j = 0; j < n_; j++) {
for (size_t k = 0; k < n_; k++) {
sum += cm1.matrix()[i1][j][k] *
cm2.matrix()[i2][j][k] *
cm3.matrix()[i3][j][k];
}
}
matrix_[i1][i2][i3] = sum;
}
}
}
nflop_ += n_* n_ * (n_* n_ + n_* n_* n_* 2);
return *this;
}
const CubicMatrix& CMVectorized::dotBeta(CubicMatrix &cm1, CubicMatrix &cm2, CubicMatrix &cm3)
{
if (cm1.n() < 1 || cm2.n() < 1 || cm3.n() < 1 ||
cm1.n() != cm2.n() || cm2.n() != cm3.n()) {
cleanup();
return *this;
}
resize(cm1.n());
cm2.T();
cm3.T().T();
// Block loops
for (size_t bMin1 = 0; bMin1 < n_; bMin1 += bsize1_) {
size_t bMax1 = min(bMin1 + bsize1_, n_);
for (size_t bMin2 = 0; bMin2 < n_; bMin2 += bsize2_) {
size_t bMax2 = min(bMin2 + bsize2_, n_);
for (size_t bMin3 = 0; bMin3 < n_; bMin3 += bsize3_) {
size_t bMax3 = min(bMin3 + bsize3_, n_);
// Initialize the current block
for (size_t i1 = bMin1; i1 < bMax1; i1++) {
for (size_t i2 = bMin2; i2 < bMax2; i2++) {
for (size_t i3 = bMin3; i3 < bMax3; i3++) {
matrix_[i1][i2][i3] = 0.0;
}}}
// Main dot-product loops
for (size_t j = 0; j < n_; j++) {
for (size_t kmin = 0; kmin < n_; kmin += ksize_) {
size_t kmax = min(kmin + ksize_, n_);
// Prism loops
for (size_t pmin1 = bMin1; pmin1 < bMax1; pmin1 += psize1_) {
size_t pmax1 = min(pmin1 + psize1_, bMax1);
for (size_t pmin2 = bMin2; pmin2 < bMax2; pmin2 += psize2_) {
size_t pmax2 = min(pmin2 + psize2_, bMax2);
for (size_t pmin3 = bMin3; pmin3 < bMax3; pmin3 += psize3_) {
size_t pmax3 = min(pmin3 + psize3_, bMax3);
// Partial sum of current prism
for (size_t i1 = pmin1; i1 < pmax1; i1++) {
for (size_t i2 = pmin2; i2 < pmax2; i2++) {
for (size_t i3 = pmin3; i3 < pmax3; i3++) {
double sum = 0.0;
for (size_t k = kmin; k < kmax; k++) {
sum += cm1.matrix()[i1][j][k] *
cm2.matrix()[i2][j][k] *
cm3.matrix()[i3][j][k];
}
matrix_[i1][i2][i3] += sum;
}}} // End partial sum of current prism
}}} // End prism loops
} } // End dot-product loops
}}} // End block loops
nflop_ += n_* n_ * (n_* n_ + n_* n_* n_* 2);
return *this;
}
void CMVectorized::recenter3D(const double value)
{
reductionSum();
const size_t bsize = 8;
for (size_t imin = 0; imin < n_; imin += bsize) {
size_t imax = min(imin + bsize, n_);
for (size_t jmin = 0; jmin < n_; jmin += bsize) {
size_t jmax = min(jmin + bsize, n_);
for (size_t kmin = 0; kmin < n_; kmin += bsize) {
size_t kmax = min(kmin + bsize, n_);
for (size_t i = imin; i < imax; i++) {
for (size_t j = jmin; j < jmax; j++) {
for (size_t k = kmin; k < kmax; k++) {
matrix_[i][j][k] += value -
( reductionAxisI_[j][k] +
reductionAxisJ_[k][i] +
reductionAxisK_[i][j] ) / (3 * n_);
}
}
}
}
}
}
nflop_ += n_ * n_ * n_ * 5;
}
void CMVectorized::reductionSum()
{
initReduction(0.0);
const size_t bsize = 8;
for (size_t imin = 0; imin < n_; imin += bsize) {
size_t imax = min(imin + bsize, n_);
for (size_t jmin = 0; jmin < n_; jmin += bsize) {
size_t jmax = min(jmin + bsize, n_);
for (size_t kmin = 0; kmin < n_; kmin += bsize) {
size_t kmax = min(kmin + bsize, n_);
for (size_t i = imin; i < imax; i++) {
for (size_t j = jmin; j < jmax; j++) {
for (size_t k = kmin; k < kmax; k++) {
reductionAxisI_[j][k] += matrix_[i][j][k];
reductionAxisJ_[k][i] += matrix_[i][j][k];
reductionAxisK_[i][j] += matrix_[i][j][k];
}
}
}
}
}
}
nflop_ += n_ * n_ * n_ * 3;
}
| [
"pier-luc.st-onge@calculquebec.ca"
] | pier-luc.st-onge@calculquebec.ca |
28d2afc9cc3d4758b97607e2610534e57fa42d6e | 5b87464ac0df49f6fc0fe2c9138438d6aa81a950 | /src/libtdme/json/Object.cpp | 94e2c04be9bb7a2205807ab73bb7f5de3af217e5 | [
"MIT"
] | permissive | andreasdr/tdmecpp | 517531e6e431586f051bc62015aba4311e2921ea | 62b1492e878565d5559741f849138688c0c5e91d | refs/heads/master | 2016-08-12T05:34:08.612210 | 2016-04-17T08:18:59 | 2016-04-17T08:18:59 | 48,372,206 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,451 | cpp | /**
* @version $Id: 33011f4f8691429d51fd1b9326f4b863c0f5f1d4 $
*/
#include <libtdme/json/Object.h>
#include <libtdme/json/Value.h>
#include <libtdme/json/Grammar.h>
#include <libtdme/json/OutputFilter.h>
#include <libtdme/json/IndentCanceller.h>
namespace TDMEJson {
Object::Object(const key_compare &comp, const allocator_type &alloc) : data(comp, alloc) {
}
Object::Object(const Object &other) : data(other.data) {
}
Object &Object::operator=(const Object &other) {
data = other.data;
return *this;
}
bool Object::operator==(const Object &rhs) const {
return data == rhs.data;
}
bool Object::operator!=(const Object &rhs) const {
return data != rhs.data;
}
bool Object::operator<(const Object &rhs) const {
return data < rhs.data;
}
bool Object::operator<=(const Object &rhs) const {
return data <= rhs.data;
}
bool Object::operator>(const Object &rhs) const {
return data > rhs.data;
}
bool Object::operator>=(const Object &rhs) const {
return data >= rhs.data;
}
Object::allocator_type Object::get_allocator() const {
return data.get_allocator();
}
Object::mapped_type &Object::operator[](const key_type &key) {
return data[key];
}
Object::iterator Object::begin() {
return data.begin();
}
Object::const_iterator Object::begin() const {
return data.begin();
}
Object::iterator Object::end() {
return data.end();
}
Object::const_iterator Object::end() const {
return data.end();
}
Object::reverse_iterator Object::rbegin() {
return data.rbegin();
}
Object::const_reverse_iterator Object::rbegin() const {
return data.rbegin();
}
Object::reverse_iterator Object::rend() {
return data.rend();
}
Object::const_reverse_iterator Object::rend() const {
return data.rend();
}
bool Object::empty() const {
return data.empty();
}
Object::size_type Object::size() const {
return data.size();
}
Object::size_type Object::max_size() const {
return data.max_size();
}
void Object::clear() {
data.clear();
}
std::pair<Object::iterator, bool> Object::insert(const_reference value) {
return data.insert(value);
}
Object::iterator Object::insert(iterator hint, const_reference value) {
return data.insert(hint, value);
}
void Object::erase(iterator position) {
data.erase(position);
}
void Object::erase(iterator first, iterator last) {
data.erase(first, last);
}
Object::size_type Object::erase(const key_type &key) {
return data.erase(key);
}
void Object::swap(Object &other) {
data.swap(other.data);
}
Object::size_type Object::count(const key_type &key) const {
return data.count(key);
}
Object::iterator Object::find(const key_type &key) {
return data.find(key);
}
Object::const_iterator Object::find(const key_type &key) const {
return data.find(key);
}
std::pair<Object::iterator, Object::iterator> Object::equal_range(const key_type &key) {
return data.equal_range(key);
}
std::pair<Object::const_iterator, Object::const_iterator> Object::equal_range(const key_type &key) const {
return data.equal_range(key);
}
Object::iterator Object::lower_bound(const key_type &key) {
return data.lower_bound(key);
}
Object::const_iterator Object::lower_bound(const key_type &key) const {
return data.lower_bound(key);
}
Object::iterator Object::upper_bound(const key_type &key) {
return data.upper_bound(key);
}
Object::const_iterator Object::upper_bound(const key_type &key) const {
return data.upper_bound(key);
}
Object::key_compare Object::key_comp() const {
return data.key_comp();
}
std::ostream &operator<<(std::ostream &output, const Object &o) {
// If the object is empty, we simply write "{}".
if (o.empty()) {
output << Structural::BEGIN_OBJECT << Structural::END_OBJECT;
} else {
output << Structural::BEGIN_OBJECT;
OutputFilter<IndentCanceller> indentCanceller(output.rdbuf());
output.rdbuf(&indentCanceller);
// For each item in the object.
for (Object::const_iterator i = o.begin(); i != o.end(); ++i) {
if (i != o.begin()) {
output << Structural::VALUE_SEPARATOR;
}
// We print the name of the attribute and its value.
output << Structural::BEGIN_END_STRING << Value::escapeMinimumCharacters(i->first) << Structural::BEGIN_END_STRING << Structural::NAME_SEPARATOR << i->second;
}
output.rdbuf(indentCanceller.getDestination());
output << Structural::END_OBJECT;
}
return output;
}
}
| [
"lenzmath@gmail.com"
] | lenzmath@gmail.com |
978d7c3feb48f5821a3b65907156f353f9354b10 | ee35263475e03b1d1dba9c7bf7ac8ea3a65a9e66 | /src/libsofa/kvapi_leveldb.cpp | 2c0adcdbf45466f37603530305eda28ca8ce8337 | [
"MIT"
] | permissive | ondra-novak/sofadb | 1776e3b85bbcd766fa937dc3cc14e78843d62361 | c1309b03569e0e0ae3eafe5083126f4d2bfe86d1 | refs/heads/master | 2020-04-20T22:38:35.291034 | 2019-03-07T23:21:01 | 2019-03-07T23:21:01 | 169,146,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | cpp | /*
* kvapi_leveldb.cpp
*
* Created on: 8. 2. 2019
* Author: ondra
*/
#include <libsofa/kvapi_leveldb_impl.h>
#include "kvapi_leveldb.h"
namespace sofadb {
LevelDBException::LevelDBException(const leveldb::Status &st):status(st) {
}
const char *LevelDBException::what() const noexcept {
if (msg.empty()) msg = status.ToString();
return msg.c_str();
}
PKeyValueDatabase leveldb_open(const leveldb::Options& options, const std::string& name) {
leveldb::DB *db;
leveldb::Status st = leveldb::DB::Open(options,name,&db);
if (st.ok()) {
LevelDBDatabase *d;
PKeyValueDatabase kvdb = d = new LevelDBDatabase(db, name);
if (d->isDestroyed()) {
///this should delete database because it is deleted in destructor
kvdb = nullptr;
return leveldb_open(options, name);
}
else {
return kvdb;
}
}
else throw LevelDBException(st);
}
}
| [
"ondra-novak@email.cz"
] | ondra-novak@email.cz |
d305dc2e6b6364cfff180f4187c8fdede5b9d671 | 52d76e2ada910e6453bb0b985b6e80400818e217 | /catkin_ws/devel/.private/duckietown_msgs/include/duckietown_msgs/SignalsDetectionETHZ17.h | b93eb2434d5754c344d9d25af16b6d3137e173db | [] | no_license | mostafaelaraby/udem-fall19-public | 6f73f7606fa2be0ee175d958a04f552001685257 | a9db5ce3af45ce6ace17df1b61b92ebfbfd718f8 | refs/heads/master | 2020-07-24T04:55:54.561314 | 2019-12-02T02:01:44 | 2019-12-02T02:01:44 | 207,806,993 | 0 | 0 | null | 2019-09-11T12:28:33 | 2019-09-11T12:28:33 | null | UTF-8 | C++ | false | false | 10,530 | h | // Generated by gencpp from file duckietown_msgs/SignalsDetectionETHZ17.msg
// DO NOT EDIT!
#ifndef DUCKIETOWN_MSGS_MESSAGE_SIGNALSDETECTIONETHZ17_H
#define DUCKIETOWN_MSGS_MESSAGE_SIGNALSDETECTIONETHZ17_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
#include <std_msgs/Header.h>
namespace duckietown_msgs
{
template <class ContainerAllocator>
struct SignalsDetectionETHZ17_
{
typedef SignalsDetectionETHZ17_<ContainerAllocator> Type;
SignalsDetectionETHZ17_()
: header()
, led_detected()
, no_led_detected() {
}
SignalsDetectionETHZ17_(const ContainerAllocator& _alloc)
: header(_alloc)
, led_detected(_alloc)
, no_led_detected(_alloc) {
(void)_alloc;
}
typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
_header_type header;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _led_detected_type;
_led_detected_type led_detected;
typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _no_led_detected_type;
_no_led_detected_type no_led_detected;
static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > SIGNAL_A;
static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > SIGNAL_B;
static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > SIGNAL_C;
static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > NO_CARS;
static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > CARS;
static const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > GO;
typedef boost::shared_ptr< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> const> ConstPtr;
}; // struct SignalsDetectionETHZ17_
typedef ::duckietown_msgs::SignalsDetectionETHZ17_<std::allocator<void> > SignalsDetectionETHZ17;
typedef boost::shared_ptr< ::duckietown_msgs::SignalsDetectionETHZ17 > SignalsDetectionETHZ17Ptr;
typedef boost::shared_ptr< ::duckietown_msgs::SignalsDetectionETHZ17 const> SignalsDetectionETHZ17ConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >
SignalsDetectionETHZ17_<ContainerAllocator>::SIGNAL_A =
"'car_signal_A'"
;
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >
SignalsDetectionETHZ17_<ContainerAllocator>::SIGNAL_B =
"'car_signal_B'"
;
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >
SignalsDetectionETHZ17_<ContainerAllocator>::SIGNAL_C =
"'car_signal_C'"
;
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >
SignalsDetectionETHZ17_<ContainerAllocator>::NO_CARS =
"'no_cars_detected'"
;
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >
SignalsDetectionETHZ17_<ContainerAllocator>::CARS =
"'cars_detected'"
;
template<typename ContainerAllocator> const std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >
SignalsDetectionETHZ17_<ContainerAllocator>::GO =
"'tl_go'"
;
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace duckietown_msgs
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': True}
// {'sensor_msgs': ['/opt/ros/melodic/share/sensor_msgs/cmake/../msg'], 'duckietown_msgs': ['/duckietown/catkin_ws/src/dt-ros-commons/packages/duckietown_msgs/msg'], 'std_msgs': ['/opt/ros/melodic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/melodic/share/geometry_msgs/cmake/../msg']}
// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
template <class ContainerAllocator>
struct IsFixedSize< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> const>
: FalseType
{ };
template <class ContainerAllocator>
struct IsMessage< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> const>
: TrueType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> >
{
static const char* value()
{
return "c1b7d3a54f028811e1c3b2366af85c0a";
}
static const char* value(const ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0xc1b7d3a54f028811ULL;
static const uint64_t static_value2 = 0xe1c3b2366af85c0aULL;
};
template<class ContainerAllocator>
struct DataType< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> >
{
static const char* value()
{
return "duckietown_msgs/SignalsDetectionETHZ17";
}
static const char* value(const ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> >
{
static const char* value()
{
return "Header header\n"
"\n"
"# this is what we can see at the intersection:\n"
"#string front\n"
"#string right\n"
"#string left \n"
"\n"
"# For the first backoff approach\n"
"string led_detected\n"
"string no_led_detected\n"
"\n"
"# Each of these can be:\n"
"#string NO_CAR='no_car_detected'\n"
"string SIGNAL_A='car_signal_A'\n"
"string SIGNAL_B='car_signal_B'\n"
"string SIGNAL_C='car_signal_C'\n"
"\n"
"string NO_CARS='no_cars_detected'\n"
"string CARS ='cars_detected'\n"
"\n"
"\n"
"# Plus we can see the traffic light\n"
"\n"
"# for the moment we assume that no traffic light exists\n"
"\n"
"#string traffic_light_state\n"
"\n"
"#string NO_TRAFFIC_LIGHT='no_traffic_light'\n"
"#string STOP='tl_stop'\n"
"string GO='tl_go'\n"
"#string YIELD='tl_yield'\n"
"\n"
"\n"
"================================================================================\n"
"MSG: std_msgs/Header\n"
"# Standard metadata for higher-level stamped data types.\n"
"# This is generally used to communicate timestamped data \n"
"# in a particular coordinate frame.\n"
"# \n"
"# sequence ID: consecutively increasing ID \n"
"uint32 seq\n"
"#Two-integer timestamp that is expressed as:\n"
"# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
"# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
"# time-handling sugar is provided by the client library\n"
"time stamp\n"
"#Frame this data is associated with\n"
"string frame_id\n"
;
}
static const char* value(const ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.header);
stream.next(m.led_detected);
stream.next(m.no_led_detected);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct SignalsDetectionETHZ17_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::duckietown_msgs::SignalsDetectionETHZ17_<ContainerAllocator>& v)
{
s << indent << "header: ";
s << std::endl;
Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
s << indent << "led_detected: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.led_detected);
s << indent << "no_led_detected: ";
Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.no_led_detected);
}
};
} // namespace message_operations
} // namespace ros
#endif // DUCKIETOWN_MSGS_MESSAGE_SIGNALSDETECTIONETHZ17_H
| [
"mostafa.elaraby@tensorgraph.io"
] | mostafa.elaraby@tensorgraph.io |
fe745e4772b1c4813ca6a4bebb335f8845281cf8 | d15d4c2932159033e7563fe0889a2874b4822ce2 | /ACM-ICPC Official/Qualification/Shenyang-9.10/F-Number.cpp | 989041beba228b35f96cc57d9ae87fd321e55bb3 | [
"MIT"
] | permissive | lxdlam/CP-Answers | fd0ee514d87856423cb31d28298c75647f163067 | cde519ef9732ff9e4e9e3f53c00fb30d07bdb306 | refs/heads/master | 2021-03-17T04:50:44.772167 | 2020-05-04T09:24:32 | 2020-05-04T09:24:32 | 86,518,969 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cpp | #include <cstdio>
const int MAX = 1e9 + 10;
long long fib[MAX] = {0, 1};
long long ans[MAX] = {4};
bool isInFib(int a) {
for (int i = 0; i < MAX; i++) {
if (fib[i] == a)
return true;
else if (a > fib[i] && a < fib[i + 1])
return false;
}
return false;
}
void init() {
for (int i = 2; i < MAX; i++) fib[i] = fib[i - 2] + fib[i - 1];
for (int j = 1; j < MAX; j++) {
for (int i = 1; i < MAX; i++) {
if (!isInFib(ans[j - 1] + fib[i])) {
ans[j] = (ans[j - 1] + fib[i]) % 998244353;
break;
}
}
}
}
int main() {
init();
long long k;
while (scanf("%lld", &k) == 1) printf("%lld", ans[k - 1]);
return 0;
} | [
"lxdlam@gmail.com"
] | lxdlam@gmail.com |
4211f628e4055d97f39d604a59b352fa45538ab8 | 07dbd95507b1acf1bd8587e669b8ea8df2052ea5 | /Trainings/2018WinterTraining/2018.1.21/B.cpp | 863aaf8258c9901a2f6b5f17a82be61f853d5203 | [] | no_license | LargeDumpling/Programming-Contest | 20fc063a944253da9f0a96d059c3fd4c0f6917ad | 001f75b6bc4af6f63bd2c250d649b70b77f92ebe | refs/heads/master | 2021-06-21T12:01:23.015714 | 2019-09-16T14:13:08 | 2019-09-16T14:13:08 | 107,221,521 | 0 | 0 | null | 2017-10-18T14:38:35 | 2017-10-17T05:22:16 | C++ | UTF-8 | C++ | false | false | 488 | cpp | /*
Author: LargeDumpling
Email: LargeDumpling@qq.com
Edit History:
2018-01-21 File created.
*/
#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<algorithm>
using namespace std;
int n;
long long ans,x,num[35];
int main()
{
scanf("%d",&n);
for(int i=1;i<=n;i++)
scanf("%lld",&num[i]);
sort(num+1,num+n+1);
ans=x=1;
for(int i=n;i;i--)
{
x*=num[i];
ans+=x;
}
printf("%lld",ans);
fclose(stdin);
fclose(stdout);
return 0;
}
| [
"LargeDumpling@qq.com"
] | LargeDumpling@qq.com |
5e1fd29bcefb4fc588af9fd8bdcde38b814cb61e | c788985739736d4e9137719cecbcc979dac593dd | /codeGénéré/shared/ComplexeShapeTODO.h | 20bcefa1f550f6c072168a55129adcdec665a1a5 | [] | no_license | Rominet13/PGROU2 | e1e0029c4d87dffb095795e1bd3d19dbf3fcc96e | 8ac3ab588dadc6c17f061fbea4554a788baa9925 | refs/heads/master | 2021-01-10T15:28:51.253049 | 2016-03-05T16:07:27 | 2016-03-05T16:07:27 | 53,208,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | h | #ifndef shared_ComplexeShapeTODO_h
#define shared_ComplexeShapeTODO_h
#include <vector>
#include "Shape.h"
#include "SimpleShapeTODO.h"
namespace shared {
class ComplexeShapeTODO : public Shape {
public:
ComplexeShapeTODO();
public:
std::vector< SimpleShapeTODO > listeFormeSimpleBesoin;
std::vector< null > listeContrainteSimpleBesoin;
String nom;
};
} /* End of namespace shared */
#endif // shared_ComplexeShapeTODO_h
| [
"volphoenix@outlook.fr"
] | volphoenix@outlook.fr |
2b9d326b4151cb756d113490e625e26cf3246bc9 | f195bff7f1a30813e7b570e51fd3a743188654c4 | /src/debug.h | 4401f76a4a7eaf72d6bfbfeae990c5055eec5bca | [
"Zlib"
] | permissive | jcxz/GMU | ab633c39fa2d54b9a4445b204dddcd8bf661fe10 | 3b783b09089798c30715803ae1c93eaa2c573b75 | refs/heads/master | 2021-01-10T19:01:32.089872 | 2014-07-20T21:31:08 | 2014-07-20T21:31:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,813 | h | /*
* Copyright (C) 2014 Matus Fedorko <xfedor01@stud.fit.vutbr.cz>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*/
/**
* Debugging functionality
*/
#ifndef DEBUG_H
#define DEBUG_H
#include "global.h"
/** turn on memory leak debugging */
#ifdef DEBUG_MEM_LEAKS
# ifdef FLUIDSIM_CC_MSVC
# define _CRTDBG_MAP_ALLOC
# include <cstdlib>
# include <crtdbg.h>
# define new new (_NORMAL_BLOCK , __FILE__ , __LINE__)
# define ENABLE_LEAK_DEBUG() _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF)
# endif
#else
# define ENABLE_LEAK_DEBUG()
#endif
#include <cstdint>
#include <iostream>
/** A macro for assert statements */
#include <cassert>
#define FLUIDSIM_ASSERT(x) assert(x)
/** A debugging macro */
#ifdef FLUIDSIM_DEBUG
# define DBG(x) std::cerr << x << std::endl
# define DBGHEX(data, len) debug::hexdump(std::cerr, data, len)
#else
# define DBG(x) ((void) (0))
# define DBGHEX(data, len)
#endif
/** A macro to print diagnostic messages */
#ifndef FLUIDSIM_NO_WARNINGS
# define WARN(x) std::cerr << x << std::endl
#else
# define WARN(x)
#endif
/** Error messages */
#define ERROR(x) std::cerr << x << std::endl
/** Info messages */
#define INFO(x) std::cerr << x << std::endl
namespace debug {
/**
* This method will print binary data in human readable format.
* First a line offset is printed, then a hex dump of binary data and
* finally an ascii dump of those data.
*
* @param os an output stream
* @param *data the data to be printed
* @param len the length of the data
* @param line_width width of the binary dump (e.g. how many bytes
* will be printed on a single line)
*
* @return a reference to the output passed in as the first argument.
* This is to allow chaining these function calls.
*/
std::ostream & hexdump(std::ostream & os,
const void *data,
uint32_t len,
uint32_t line_width = 16);
} // End of namespace Debug
#endif
| [
"xfedor01@stud.fit.vutbr.cz"
] | xfedor01@stud.fit.vutbr.cz |
26a0df1bb7cb999b03364ca3c4d1c1610daa056c | 154aac93db89f078a5dd4355de744e264a97717e | /week_4/assignment_8/rational_map.cpp | f571d230e09a76bcd9908ef564eb0105a18621d4 | [] | no_license | bf-eds/cpp_white | 33bd91e7f48733bc9316bf06b7c92bbe3f3b201b | eca4800d103d7efb13a847ff79ce2acea4c934f0 | refs/heads/master | 2020-03-23T09:40:18.663042 | 2018-09-30T15:32:00 | 2018-09-30T15:32:00 | 141,402,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,151 | cpp | //
// Created by human on 22.09.2018.
//
#include <iostream>
#include <map>
#include <set>
#include <vector>
using namespace std;
class Rational
{
public:
Rational()
{
numerator = 0;
denominator = 1;
}
Rational(int new_numerator, int new_denominator)
{
numerator = new_numerator;
denominator = new_denominator;
if (!numerator)
{
denominator = 1;
return;
}
auto div = gcd(abs(numerator), abs(denominator));
if (div != 1)
{
numerator /= div;
denominator /= div;
}
if (denominator < 0)
{
numerator = -numerator;
denominator = -denominator;
}
}
int Numerator() const
{
return numerator;
}
int Denominator() const
{
return denominator;
}
private:
int numerator;
int denominator;
int gcd(int a, int b)
{
while (a != b)
{
if (a > b)
{
int tmp = a;
a = b;
b = tmp;
}
b = b - a;
}
return a;
}
};
bool operator==(const Rational &lhs, const Rational &rhs)
{
return (lhs.Numerator() == rhs.Numerator()) && (lhs.Denominator() == rhs.Denominator());
}
bool operator<(const Rational &lhs, const Rational &rhs)
{
long lv = lhs.Numerator() * rhs.Denominator();
long rv = rhs.Numerator() * lhs.Denominator();
return (lv < rv);
}
//Rational operator+(const Rational &lhs, const Rational &rhs)
//{
// return Rational(lhs.Numerator() * rhs.Denominator() + rhs.Numerator() * lhs.Denominator(),
// lhs.Denominator() * rhs.Denominator());
//}
//
//Rational operator-(const Rational &lhs, const Rational &rhs)
//{
// Rational tmp(-rhs.Numerator(), rhs.Denominator());
// return (lhs + tmp);
//}
// Реализуйте для класса Rational оператор(ы), необходимые для использования его
// в качестве ключа map'а и элемента set'а
int main()
{
{
const set<Rational> rs = {{1, 2},
{1, 25},
{3, 4},
{3, 4},
{1, 2}};
if (rs.size() != 3)
{
cout << "Wrong amount of items in the set" << endl;
return 1;
}
vector<Rational> v;
for (auto x : rs)
{
v.push_back(x);
}
if (v != vector<Rational>{{1, 25},
{1, 2},
{3, 4}})
{
cout << "Rationals comparison works incorrectly" << endl;
return 2;
}
}
{
map<Rational, int> count;
++count[{1, 2}];
++count[{1, 2}];
++count[{2, 3}];
if (count.size() != 2)
{
cout << "Wrong amount of items in the map" << endl;
return 3;
}
}
cout << "OK" << endl;
return 0;
}
| [
"d.eroshenkov@dreamkas.ru"
] | d.eroshenkov@dreamkas.ru |
686f3734afd2720dd792a8cae112235c89182c3c | d6f690f2e32b73056e7c429dd070fdd68d34f3e0 | /C++/Queue/test.cpp | cb15c2ba8aadd9613fa49075bdba6009a4fad902 | [] | no_license | ccc013/DataStructe-Algorithms_Study | 13da51c72bbccfc7ca117b6925f57fc5d04bc1f7 | 8987859c4c3faedf7159b5a6ec3155609689760e | refs/heads/master | 2021-06-22T16:28:09.438171 | 2021-03-06T01:48:24 | 2021-03-06T01:48:24 | 60,660,281 | 15 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 876 | cpp | #include<iostream>
#include<ctime>
#include"xcept.h"
#include"Queue.h"
#include"LinkedQueue.h"
using std::cout;
using std::endl;
using std::cin;
void testQueue(){
Queue<int> q(12);
for (int i = 0; i < 6; i++)
q.Add(i * 2 + 6);
cout << "Now queue contains--";
cout << q;
cout << "queue is full?" << q.IsFull() << endl;
int x;
q.Delete(x);
cout << "delete a element from queue, it is " << x << endl;
cout << "Now queue contains--" << q;
}
void testLinkedQueue(){
LinkedQueue<int> q;
for (int i = 0; i < 10; i++)
q.Add(i + 5);
cout << q;
cout << "queue is full?" << q.IsFull() << endl;
int x;
q.Delete(x);
cout << "delete a element from queue, it is " << x << endl;
cout << q;
for (int i = 0; i < 5; i++)
q.Add(i * 5);
cout << q;
}
int main(){
testLinkedQueue();
system("pause");
return 0;
}
| [
"429546420@qq.com"
] | 429546420@qq.com |
3bfe770dd23de0cdb0ce232a132b141d9a0b56ea | c844ff061aa7b6bf5dd6003cf1833700b11fc271 | /deps/steamworks_sdk/steamworksexample/BaseMenu.h | 0a2be737d95d6ba4338596f9032c9323be821a04 | [
"Bitstream-Vera",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | Ryjek0/greenworks | 03362a1d5cc6c4fac0301d31fa7914a1454cdc60 | 0ab7427d829e0f5e9d47c6c5ad18fdde8aa96225 | refs/heads/master | 2020-12-11T15:04:34.801733 | 2020-01-14T16:26:32 | 2020-01-14T16:26:32 | 233,879,584 | 0 | 0 | MIT | 2020-01-14T16:01:30 | 2020-01-14T16:01:29 | null | UTF-8 | C++ | false | false | 6,915 | h | //========= Copyright (c) 1996-2008, Valve LLC, All rights reserved. ============
//
// Purpose: Base class for various game menu screens
//
// $NoKeywords: $
//=============================================================================
#ifndef BASEMENU_H
#define BASEMENU_H
#include <string>
#include <vector>
#include "GameEngine.h"
#include "SpaceWar.h"
#include "SpaceWarClient.h"
#include "steam/isteamcontroller.h"
#define MENU_FONT_HEIGHT 24
#define MENU_ITEM_PADDING 12
extern HGAMEFONT g_hMenuFont;
extern uint64 g_ulLastReturnKeyTick;
extern uint64 g_ulLastKeyDownTick;
extern uint64 g_ulLastKeyUpTick;
template <class T> class CBaseMenu
{
public:
// Typedef for menu items
typedef std::pair<std::string, T> MenuItem_t;
// Constructor
CBaseMenu( IGameEngine *pGameEngine )
{
m_pGameEngine = pGameEngine;
m_uSelectedItem = 0;
m_bSelectionPushed = false;
if ( !g_hMenuFont )
{
g_hMenuFont = pGameEngine->HCreateFont( MENU_FONT_HEIGHT, FW_BOLD, false, "Arial" );
if ( !g_hMenuFont )
OutputDebugString( "Menu font was not created properly, text won't draw\n" );
}
}
// Destructor
virtual ~CBaseMenu() { }
// Sets a heading for the menu
void SetHeading( const char *pchHeading )
{
m_sHeading = pchHeading;
}
// Clear all menu entries
void ClearMenuItems()
{
m_VecMenuItems.clear();
m_uSelectedItem = 0;
}
// Add a menu item to the menu
void AddMenuItem( MenuItem_t item )
{
m_VecMenuItems.push_back( item );
}
void PushSelectedItem()
{
if ( m_VecMenuItems.size() )
{
m_bSelectionPushed = true;
m_selection = m_VecMenuItems[m_uSelectedItem].second;
}
}
void PopSelectedItem()
{
if ( m_bSelectionPushed )
{
m_bSelectionPushed = false;
// find the item and set it as selected if it exists
for ( unsigned int i = 0; i < m_VecMenuItems.size(); i++ )
{
if ( !memcmp( &m_VecMenuItems[i].second, &m_selection, sizeof( m_selection ) ) )
{
m_uSelectedItem = i;
break;
}
}
}
}
// Run a frame + render
void RunFrame()
{
// Note: The below code uses globals that are shared across all menus to avoid double
// key press registration, this is so that when you do something like hit return in the pause
// menu to "go back to main menu" you don't end up immediately registering a return in the
// main menu afterwards.
// check if the enter key is down, if it is take action
if ( m_pGameEngine->BIsKeyDown( VK_RETURN ) ||
m_pGameEngine->BIsControllerActionActive( eControllerDigitalAction_MenuSelect ) )
{
uint64 ulCurrentTickCount = m_pGameEngine->GetGameTickCount();
if ( ulCurrentTickCount - 220 > g_ulLastReturnKeyTick )
{
g_ulLastReturnKeyTick = ulCurrentTickCount;
if ( m_uSelectedItem < m_VecMenuItems.size() )
{
SpaceWarClient()->OnMenuSelection( m_VecMenuItems[m_uSelectedItem].second );
return;
}
}
}
// Check if we need to change the selected menu item
else if ( m_pGameEngine->BIsKeyDown( VK_DOWN ) ||
m_pGameEngine->BIsControllerActionActive( eControllerDigitalAction_MenuDown ) )
{
uint64 ulCurrentTickCount = m_pGameEngine->GetGameTickCount();
if ( ulCurrentTickCount - 140 > g_ulLastKeyDownTick )
{
g_ulLastKeyDownTick = ulCurrentTickCount;
if ( m_uSelectedItem < m_VecMenuItems.size() - 1 )
m_uSelectedItem++;
else
m_uSelectedItem = 0;
}
}
else if ( m_pGameEngine->BIsKeyDown( VK_UP ) ||
m_pGameEngine->BIsControllerActionActive( eControllerDigitalAction_MenuUp ) )
{
uint64 ulCurrentTickCount = m_pGameEngine->GetGameTickCount();
if ( ulCurrentTickCount - 140 > g_ulLastKeyUpTick )
{
g_ulLastKeyUpTick = ulCurrentTickCount;
if ( m_uSelectedItem > 0 )
m_uSelectedItem--;
else
m_uSelectedItem = (uint32)m_VecMenuItems.size() - 1;
}
}
Render();
}
// Render the menu
virtual void Render()
{
const int32 iMaxMenuItems = 14;
int32 iNumItems = (int32)m_VecMenuItems.size();
uint32 uBoxHeight = MIN( iNumItems, iMaxMenuItems ) * ( MENU_FONT_HEIGHT + MENU_ITEM_PADDING );
uint32 yPos = m_pGameEngine->GetViewportHeight()/2 - uBoxHeight/2;
RECT rect;
rect.top = yPos;
rect.bottom = yPos + MENU_FONT_HEIGHT + MENU_ITEM_PADDING;
rect.left = 0;
rect.right = m_pGameEngine->GetViewportWidth();
char rgchBuffer[256];
if ( m_sHeading.length() )
{
DWORD dwColor = D3DCOLOR_ARGB( 255, 255, 128, 128 );
RECT rectHeader;
rectHeader.top = 10;
rectHeader.bottom = rectHeader.top + MENU_FONT_HEIGHT + ( MENU_ITEM_PADDING * 2 );
rectHeader.left = 0;
rectHeader.right = m_pGameEngine->GetViewportWidth();
m_pGameEngine->BDrawString( g_hMenuFont, rectHeader, dwColor, TEXTPOS_CENTER|TEXTPOS_VCENTER, m_sHeading.c_str() );
}
int32 iStartItem = 0;
int32 iEndItem = iNumItems;
if ( iNumItems > iMaxMenuItems )
{
iStartItem = MAX( (int32)m_uSelectedItem - iMaxMenuItems/2, 0 );
iEndItem = MIN( iStartItem + iMaxMenuItems, iNumItems );
}
if ( iStartItem > 0 )
{
// Draw ... Scroll Up ...
DWORD dwColor = D3DCOLOR_ARGB( 255, 255, 255, 255 );
m_pGameEngine->BDrawString( g_hMenuFont, rect, dwColor, TEXTPOS_CENTER|TEXTPOS_VCENTER, "... Scroll Up ..." );
rect.top = rect.bottom;
rect.bottom += MENU_FONT_HEIGHT + MENU_ITEM_PADDING;
}
for( int32 i=iStartItem; i<iEndItem; ++i )
{
// Empty strings can be used to space menus, they don't get drawn or selected
if ( strlen( m_VecMenuItems[i].first.c_str() ) > 0 )
{
DWORD dwColor;
if ( i == m_uSelectedItem )
{
dwColor = D3DCOLOR_ARGB( 255, 25, 200, 25 );
sprintf_safe( rgchBuffer, "{ %s }", m_VecMenuItems[i].first.c_str() );
}
else
{
dwColor = D3DCOLOR_ARGB( 255, 255, 255, 255 );
sprintf_safe( rgchBuffer, "%s", m_VecMenuItems[i].first.c_str() );
}
m_pGameEngine->BDrawString( g_hMenuFont, rect, dwColor, TEXTPOS_CENTER|TEXTPOS_VCENTER, rgchBuffer );
}
rect.top = rect.bottom;
rect.bottom += MENU_FONT_HEIGHT + MENU_ITEM_PADDING;
}
if ( iNumItems > iEndItem )
{
// Draw ... Scroll Down ...
DWORD dwColor = D3DCOLOR_ARGB( 255, 255, 255, 255 );
m_pGameEngine->BDrawString( g_hMenuFont, rect, dwColor, TEXTPOS_CENTER|TEXTPOS_VCENTER, "... Scroll Down ..." );
rect.top = rect.bottom;
rect.bottom += MENU_FONT_HEIGHT + MENU_ITEM_PADDING;
}
}
private:
// Game engine instance
IGameEngine *m_pGameEngine;
// Heading
std::string m_sHeading;
// Vector of menu options
std::vector< MenuItem_t > m_VecMenuItems;
// Currently selected item index
uint32 m_uSelectedItem;
// pushed selection
bool m_bSelectionPushed;
T m_selection;
};
#endif // MAINMENU_H
| [
"szymon.gawlik@gmail.com"
] | szymon.gawlik@gmail.com |
71012629f13979b9b633ca0fdc84b0acf3a97ffc | 14fd5a3763da4b68cbcb73f85c30bc8ca63cc544 | /DP/test/TestBridge.cpp | 512befa191668f174a01fa02cab4de02de550d95 | [] | no_license | guoyu07/DesignPattern-31 | a9c7898728df0cd21ee748e127583fdfbfb9652a | 091aaf0b3ef8a8e68174b1b94742808e63e26f35 | refs/heads/master | 2021-01-01T06:53:32.556454 | 2013-04-08T07:12:04 | 2013-04-08T07:12:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,103 | cpp | /*
* TestBridge.cpp
*
* Created on: 2013-4-2
* Author: Administrator
*/
#include "test.h"
#include "../Bridge/DataSource.h"
#include "../Bridge/SQLServerDataSource.h"
#include "../Bridge/OracleDataSource.h"
#include "../Bridge/DataConverter.h"
#include "../Bridge/TxtDataConverter.h"
#include "../Bridge/XMLDataConverter.h"
#include <iostream>
void testBridge()
{
std::cout << "------------------test Proxy[start]--------------" << std::endl;
DataSource* sqlSource = new SQLServerDataSource();
DataSource* oracleSource = new OracleDataSource();
DataConverter* txtConverter = new TxtDataConverter(sqlSource);
DataConverter* xmlConverter = new XMLDataConverter(oracleSource);
txtConverter->convert();
txtConverter->setDataSource(oracleSource);
txtConverter->convert();
xmlConverter->convert();
xmlConverter->setDataSource(sqlSource);
xmlConverter->convert();
delete sqlSource;
delete oracleSource;
delete txtConverter;
delete xmlConverter;
std::cout << "------------------test Proxy[end]--------------" << std::endl;
}
| [
"liqi328@163.com"
] | liqi328@163.com |
f3baebf886116514557bd6b8ed48117740cdc381 | ef1a100a6d9c013e88771a17b45563b9dcf464ba | /ALevel/a1081.cpp | 4cb684664e3751a80e1b5341783353fd71ce4ae1 | [] | no_license | Bingyy/APAT | 7780e54d15c5391aa4f64d81d51e5cb57e3dc00b | 69e329170c916b659cb3b4a6c233b02d2affb592 | refs/heads/master | 2020-09-23T17:01:02.206350 | 2017-06-05T14:09:56 | 2017-06-05T14:09:56 | 66,179,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,242 | cpp | #include <stdio.h>
#include <cstdlib>
using namespace std;
typedef long long ll;
ll gcd(ll a, ll b)
{
ll res = (b == 0 ? a : gcd(b, a % b));
return res;
}
struct Fraction
{
ll up, down;
};
Fraction reduction(Fraction result)
{
// 化简分式
// 若分母为负数,则分子分母同时变为相反数
if(result.down < 0)
{
result.up = -result.up;
result.down = -result.down;
}
if(result.up == 0)
{
result.down = 1; // 分子为0 直接令分母为1即可
}
else
{
ll d = gcd(abs(result.up),abs(result.down));
result.up /= d;
result.down /= d;
}
return result;
}
Fraction add(Fraction a, Fraction b)
{
Fraction res;
res.up = a.up * b.down + a.down * b.up;
res.down = a.down * b.down;
return reduction(res);
}
void showRes(Fraction res)
{
reduction(res);
if(res.down == 1)
{
printf("%lld\n",res.up);
}
else if(abs(res.up) > res.down)
{
printf("%lld %lld/%lld\n",res.up / res.down, abs(res.up) % res.down, res.down);
}
else
{
printf("%lld/%lld\n",res.up, res.down);
}
}
int main()
{
int n;
scanf("%d",&n);
Fraction sum, temp;
sum.up = 0;
sum.down = 1;
for(int i = 0; i < n; i++)
{
scanf("%lld/%lld", &temp.up, &temp.down);
sum = add(sum, temp);
}
showRes(sum);
return 0;
} | [
"rick@bingwang.biz"
] | rick@bingwang.biz |
52029fb3d67e263c0280b37e179f74361a0ea57b | f4ca1a7dbeaac8944742a181724e2c4cd31764b8 | /MeteoRead/Classes/asada/Space.cpp | 23129e6dd6fe1eb5ff1509edd763dbf19918d8cd | [
"MIT"
] | permissive | WaterAsd/MeteoRead | 0b5029567edad164f295c98409aeff4ca3e7f90e | b31be03a4959af88a37d4f56198067a9852b9975 | refs/heads/master | 2021-01-17T13:18:08.006597 | 2016-07-22T04:44:23 | 2016-07-22T04:44:23 | 57,014,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | cpp | #include "Space.h"
USING_NS_CC;
bool space::init(){
if (!Layer::init()){
return false;
}
return true;
}; | [
"nkc.hikaru.asada@gmail.com"
] | nkc.hikaru.asada@gmail.com |
239a4e14cf42873ee3da49d06d742c58173860a4 | 74874ec666e60c56a7e1143aa0b2460b71ffc15b | /BloksAIPlugin/Vendor/common/source/SDKAboutPluginsHelper.cpp | cc0aa91c179db79f7e8f110eb4b8fc1af5278e4c | [
"MIT"
] | permissive | stephanie-walter/Bloks | 8102428dcc4a8dc11d8f1eda8997085c980eda00 | d5c59807b17d4d52f7cb2e3ec952b6e6127b4e27 | refs/heads/master | 2021-01-23T02:10:29.141440 | 2016-08-07T17:04:33 | 2016-08-07T17:04:33 | 65,363,270 | 1 | 0 | null | 2016-08-10T08:09:06 | 2016-08-10T08:09:06 | null | UTF-8 | C++ | false | false | 4,152 | cpp | //========================================================================================
//
// $File: //ai_stream/rel_20_0/devtech/sdk/public/samplecode/common/source/SDKAboutPluginsHelper.cpp $
//
// $Revision: #1 $
//
// Copyright 1987 Adobe Systems Incorporated. All rights reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
// with the terms of the Adobe license agreement accompanying it. If you have received
// this file from a source other than Adobe, then your use, modification, or
// distribution of it requires the prior written permission of Adobe.
//
//========================================================================================
#include "IllustratorSDK.h"
#include "SDKDef.h"
#include "SDKAboutPluginsHelper.h"
/*
*/
SDKAboutPluginsHelper::SDKAboutPluginsHelper() : fAIMenu(nil), fAIUser(nil)
{
}
/*
*/
SDKAboutPluginsHelper::~SDKAboutPluginsHelper()
{
}
/*
*/
AIErr SDKAboutPluginsHelper::AddAboutPluginsMenuItem(SPInterfaceMessage* message,
const char* companyMenuGroupName,
const ai::UnicodeString& companyName,
const char* pluginName,
AIMenuItemHandle* menuItemHandle)
{
AIErr error = kNoErr;
if (fAIMenu == nil) {
error = message->d.basic->AcquireSuite( kAIMenuSuite, kAIMenuSuiteVersion, (const void **) &fAIMenu );
}
if (!error && fAIMenu != nil) {
// Add an about plug-ins menu group for the given company under Illustrator's about group.
bool exists = false;
error = this->GroupExists(companyMenuGroupName, exists);
if (!error && !exists) {
AIPlatformAddMenuItemDataUS companyRootMenuData;
companyRootMenuData.groupName = kAboutMenuGroup;
companyRootMenuData.itemText = companyName;
AIMenuItemHandle companyRootMenuItemHandle = nil;
error = fAIMenu->AddMenuItem(message->d.self, NULL, &companyRootMenuData, kMenuItemNoOptions, &companyRootMenuItemHandle);
if (!error) {
AIMenuGroup companyRootMenuGroup = nil;
error = fAIMenu->AddMenuGroupAsSubMenu(companyMenuGroupName, kMenuGroupSortedAlphabeticallyOption, companyRootMenuItemHandle, &companyRootMenuGroup);
}
}
}
if (!error && fAIMenu != nil) {
// Add menu item for this plug-in under the company's about plug-ins menu group.
AIPlatformAddMenuItemDataUS aboutPluginMenuData;
aboutPluginMenuData.groupName = companyMenuGroupName;
aboutPluginMenuData.itemText = ai::UnicodeString(pluginName);
AIMenuItemHandle aboutPluginMenuItemHandle = nil;
error = fAIMenu->AddMenuItem(message->d.self, NULL, &aboutPluginMenuData, kMenuItemNoOptions, &aboutPluginMenuItemHandle);
if (!error) {
*menuItemHandle = aboutPluginMenuItemHandle;
}
}
if (fAIMenu != nil) {
message->d.basic->ReleaseSuite( kAIMenuSuite, kAIMenuSuiteVersion );
fAIMenu = nil;
}
return error;
}
/*
*/
void SDKAboutPluginsHelper::PopAboutBox(AIMenuMessage* message, const char* title, const char* description)
{
AIErr error = kNoErr;
if (fAIUser == nil) {
error = message->d.basic->AcquireSuite(kAIUserSuite, kAIUserSuiteVersion, (const void **) &fAIUser);
}
if (!error && fAIUser != nil) {
// Pop an about box for this plug-in.
ai::UnicodeString displayText(title);
displayText.append(ai::UnicodeString("\n\n"));
displayText.append(ai::UnicodeString(description));
fAIUser->MessageAlert(displayText);
}
if (fAIUser != nil) {
message->d.basic->ReleaseSuite(kAIUserSuite, kAIUserSuiteVersion);
fAIUser = nil;
}
}
/*
*/
AIErr SDKAboutPluginsHelper::GroupExists(const char* targetGroupName, bool& groupAlreadyMade)
{
AIErr error = kNoErr;
groupAlreadyMade = false;
ai::int32 count = 0;
AIMenuGroup dummyGroup = nil;
error = fAIMenu->CountMenuGroups( &count );
if ( error ) return error;
for (ai::int32 i = 0; i < count; i++) {
error = fAIMenu->GetNthMenuGroup( i, &dummyGroup );
if ( error ) return error;
const char* name;
error = fAIMenu->GetMenuGroupName( dummyGroup, &name );
if ( error ) return error;
if ( std::strcmp(name, targetGroupName ) == 0 )
{
groupAlreadyMade = true;
break;
}
}
return error;
}
// End SDKAboutPluginsHelper.cpp
| [
"weston@cryclops.com"
] | weston@cryclops.com |
47a610a81ecf9ac62514a9f791850ab9ec49815e | 820c61849a45ed69f3e4636e2d3f0486304b5d46 | /protected and inheritence/base.cpp | 78df33eee812be11a4b7a574a814f69fce61ff84 | [] | no_license | Tanmoytkd/programming-projects | 1d842c994b6e2c546ab37a5378a823f9c9443c39 | 42c6f741d6da1e4cf787b1b4971a72ab2c2919e1 | refs/heads/master | 2021-08-07T18:00:43.530215 | 2021-06-04T11:18:27 | 2021-06-04T11:18:27 | 42,516,841 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 110 | cpp | #include <iostream>
#include "base.h"
#include "derived.h"
using namespace std;
base::base()
{
//ctor
}
| [
"tanmoykrishnadas@gmail.com"
] | tanmoykrishnadas@gmail.com |
3c14448d66a991fc742f62efce456d6ddbbfec03 | 378194c1cced295926843d5e64c075b5fc43d0d0 | /lab2/chull/anurag/chull.cpp | d75b0b64efec574cf613c66f9103e5060c9658fb | [] | no_license | ojusvini/DAA-Codes | a5693f5c3693d7943c4dea50f1fd3a23490b775b | 5d202104512fba0a58e46530ee375d4c61370ead | refs/heads/master | 2021-01-20T19:05:22.367614 | 2016-08-16T08:31:09 | 2016-08-16T08:31:09 | 65,802,008 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,492 | cpp | #include<iostream>
#include "cdll.h"
#include<vector>
#include<algorithm>
#include<functional>
#include<numeric>
#include <cmath>
using namespace std;
struct hull {
vector<int> x_cord;
vector<int> y_cord;
};
struct point {
int x;
int y;
};
class convex_hull {
int n, f;
vector<int> xh; //Entering x coordinates
vector<int> yh;
public:
void getData() {
cout << "Enter the number of points:" <<endl;
cin >> n;
cout << "Enter x and y coordinates of the points:" << endl;
for(int i = 0;i < n; i++ ) {
int tmp_x, tmp_y;
cin >> tmp_x >> tmp_y;
xh.push_back(tmp_x);
yh.push_back(tmp_y);
}
sort_first(xh, yh); //Sorting according to x-coodt
}
void sort_first(vector<int> &v1, vector<int> &v2) {
for(int i = 0; i < v1.size(); i++) {
for(int j = 0; j < i; j++) {
if(v1[i] < v1[j] ) {
int temp = v1[i];
v1[i] = v1[j] ;
v1[j] = temp;
int temp2 = v2[i];
v2[i] = v2[j];
v2[j] = temp2;
}
}
}
}
void print(vector<int> v) {
// cout<<endl<<"Printing"<<endl;
for(int i = 0; i < v.size(); i++ ) {
cout << v[i] << " ";
}
cout<<endl;
}
void run() {
hull res;
res = con_hull(xh, yh, 0, xh.size() - 1, xh.size());
cout << "\nAnswer:" << endl;
cout << "\nX Co-ordinates:" << endl;
print(res.x_cord);
cout << "\nY Co-ordinates:" << endl;
print(res.y_cord);
int area;
int temp_down,temp_up;
temp_down = 0;
temp_up = 0;
for (int i = 0;i < res.x_cord.size()-1; i++) {
temp_down = temp_down + res.x_cord[i]*res.y_cord[i+1];
}
for (int i = res.y_cord.size()-1; i >= 0; i--) {
temp_up = temp_up + res.x_cord[i]*res.y_cord[i-1];
}
cout << "The Area of the Convex Hull is : \n" << (double)(0.5)*fabs(temp_down-temp_up) << endl;
}
hull con_hull(vector<int> x, vector<int> y, int start, int end, int num) {
if (start < end )
{
//Base case for between 1 to 3 points
if(num == 1 || num == 2 || num == 3 || x[start] == x[end]) {
hull hh1;
if(x[start] == x[end])
{
hh1.x_cord.push_back(x[start]);
hh1.y_cord.push_back(y[start]);
hh1.x_cord.push_back(x[end]);
hh1.y_cord.push_back(y[end]);
}
else
{
for(int i = start; i <= end; i++)
{
hh1.x_cord.push_back (x[i]);
hh1.y_cord.push_back (y[i]);
}
}
return hh1;
}
int mid = (start + end)/2;
hull h_left;
hull h_right;
h_left = con_hull(x, y, start, mid, mid - start + 1);
h_right = con_hull(x, y, mid + 1, end, end - mid);
hull m_hull = merge(h_left, h_right);
return m_hull;
}
}
hull merge(hull left, hull right)
{
cdll l, r;
int counter_l, counter_r;
node *n1, *n2, *n3, *n4;
hull final;
bool b1;
l.insert(left.x_cord, left.y_cord);
r.insert(right.x_cord, right.y_cord);
int flag = 0;
point temp1, temp2;
l.pointer = l.y_max();
r.pointer = r.y_max();
if(l.y_max()->data2 > r.y_max()->data2)
{
counter_l = 0;
while (counter_l != l.size())
{
counter_l++;
counter_r=0;
r.pointer = r.y_max();
while (counter_r != r.size()) {
counter_r++;
temp1.x = l.pointer->data;
temp1.y = l.pointer->data2;
temp2.x = r.pointer->data;
temp2.y = r.pointer->data2;
bool b1 = check(temp1 , temp2 , left , right );
if(b1)
{
n1 = l.pointer;
n2 = r.pointer;
flag = 1;
break;
}
else
r.pointer = r.pointer->prev;
}
if(flag == 1)
break;
l.pointer = l.pointer->next;
}
}
else
{
counter_r = 0;
while (counter_r != r.size()) {
counter_r++;
counter_l=0;
l.pointer = l.y_max();
while (counter_l != l.size())
{
counter_l++;
temp1.x = l.pointer->data;
temp1.y = l.pointer->data2;
temp2.x = r.pointer->data;
temp2.y = r.pointer->data2;
bool b1 = check(temp1, temp2, left, right);
if(b1)
{
n1 = l.pointer;
n2 = r.pointer;
flag = 1;
break;
}
else
l.pointer = l.pointer->next;
}
if(flag == 1)
break;
r.pointer = r.pointer->prev;
}
}
//Finding Lower Tangent
l.pointer = l.y_min() ;
r.pointer = r.y_min() ;
flag = 0;
if(l.y_min()->data2 < r.y_min()->data2)
{
counter_l = 0;
while (counter_l != l.size()) {
counter_l++;
counter_r=0;
r.pointer = r.y_max();
while (counter_r != r.size()) {
counter_r++;
temp1.x = l.pointer->data;
temp1.y = l.pointer->data2;
temp2.x = r.pointer->data;
temp2.y = r.pointer->data2;
bool b1 = check(temp1, temp2, left, right);
if(b1)
{
n3 = l.pointer;
n4 = r.pointer;
flag = 1;
break;
}
else
r.pointer = r.pointer->next;
}
if(flag == 1)
break;
l.pointer = l.pointer->prev;
}
}
else
{
counter_r = 0;
while (counter_r != r.size())
{
counter_r++;
counter_l=0;
l.pointer = l.y_max();
while (counter_l != l.size())
{
counter_l++;
point temp1, temp2;
temp1.x = r.pointer->data;
temp1.y = r.pointer->data2;
temp2.x = l.pointer->data;
temp2.y = l.pointer->data2;
bool b1 = check(temp1, temp2, left, right);
if(b1)
{
n3 = l.pointer;
n4 = r.pointer;
flag = 1;
break;
}
else
l.pointer = l.pointer->prev;
}
if(flag == 1)
break;
r.pointer = r.pointer->next;
}
}
//Combination
node* tempr1 = n2;
while (tempr1 != n4)
{
final.x_cord.push_back(tempr1->data);
final.y_cord.push_back(tempr1->data2);
tempr1 = tempr1->next;
}
final.x_cord.push_back(tempr1->data);
final.y_cord.push_back(tempr1->data2);
node* tempr2 = n3;
while(tempr2 != n1)
{
final.x_cord.push_back(tempr2->data);
final.y_cord.push_back(tempr2->data2);
tempr2 = tempr2->next;
}
final.x_cord.push_back(tempr2->data);
final.y_cord.push_back(tempr2->data2);
return final;
}
int equation(int x1, int x2, int y1, int y2, int x, int y)
{
return ((y-y1) * (x1-x2)) - ((y1-y2)*(x-x1));
}
bool check(point l, point r, hull lef, hull rig)
{
bool f;
int tempo1 = lef.x_cord[0];
int tempo2 = lef.y_cord[0];
for (int i = 0; i < lef.x_cord.size(); i++)
{
if(tempo1 == l.x && tempo2 == l.y)
{
tempo1 = lef.x_cord[i];
tempo2 = lef.y_cord[i];
}
else
break;
}
if (equation(l.x, r.x, l.y, r.y, tempo1, tempo2) < 0)
f = false;
else
f = true;
for (int i = 0; i < lef.x_cord.size(); i++)
{
if (equation(l.x, r.x, l.y, r.y, lef.x_cord[i], lef.y_cord[i]) > 0 && f == false)
return false;
else if (equation(l.x, r.x, l.y, r.y, lef.x_cord[i], lef.y_cord[i]) < 0 && f == true)
return false;
}
for(int i = 0; i < rig.x_cord.size(); i++ )
{
if (equation(l.x, r.x, l.y, r.y, rig.x_cord[i], rig.y_cord[i]) > 0 && f == false)
return false;
else if (equation(l.x, r.x, l.y, r.y, rig.x_cord[i], rig.y_cord[i]) < 0 && f == true)
return false;
}
return true;
}
};
int main()
{
convex_hull h1;
h1.getData();
h1.run();
return EXIT_SUCCESS;
}
| [
"ojusviniagarwal95@gmail.com"
] | ojusviniagarwal95@gmail.com |
f541bdf099a8c2c540908df54457fe3acaa1f549 | ca867ad4d376d60905181d1edfcc55221f9fc7e0 | /FileType.cpp | a55fa8d4228bc55a6fd4f9706ac39d6e489a0bf1 | [] | no_license | BRutan/AdvancedCppFinal | 7d3fa697565b0dbdc1047b739da126ec81996059 | 801c156680dacba99588c6cac71b3be287154457 | refs/heads/master | 2021-05-18T07:41:10.346945 | 2020-04-28T07:30:28 | 2020-04-28T07:30:28 | 251,170,725 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,926 | cpp | #include "FileType.hpp"
std::unordered_map<unsigned, QuantLib::Month> FileType::_MonthToEnum =
{
{1, QuantLib::January},{2, QuantLib::February},{3, QuantLib::March},{4, QuantLib::April},
{5, QuantLib::May},{6, QuantLib::June},{7, QuantLib::July},{8, QuantLib::August},
{9, QuantLib::September},{10, QuantLib::October},{11, QuantLib::November},{12, QuantLib::December}
};
// Private Helpers:
void FileType::_ExtractAttributes(std::size_t firstIDX, const std::string &fileName)
{
auto month = std::stoul(fileName.substr(firstIDX + 1, 2));
auto day = std::stoul(fileName.substr(firstIDX + 4, 2));
auto year = std::stoul(fileName.substr(firstIDX + 7, 4));
this->_ValueDate = QuantLib::Date(day, FileType::_MonthToEnum[month], year);
}
// Constructors/Destructor:
FileType::FileType() : _Data(), _ValueDate()
{
}
FileType::FileType(const FileType * const file) : _Data(file->_Data), _ValueDate(file->_ValueDate)
{
}
FileType::FileType(const std::unordered_map<double, FileRow*> data) : _Data(data)
{
}
FileType::~FileType()
{
}
// Accessors:
std::size_t FileType::NumRows() const
{
return this->_Data.size();
}
const QuantLib::Date& FileType::ValueDate() const
{
return this->_ValueDate;
}
const std::unordered_map<double, FileRow*> FileType::Data() const
{
return this->_Data;
}
// Interface Methods:
bool FileType::PathExists(const std::string &path)
{
return std::filesystem::exists(path);
}
bool FileType::HasRow(double key) const
{
return this->_Data.find(key) != this->_Data.end();
}
std::string FileType::ValueDateStr() const
{
return FileType::DateToString(this->_ValueDate,'//');
}
std::string FileType::DateToString(const QuantLib::Date &dt, char delim)
{
std::ostringstream str(std::ios_base::app);
str << ((unsigned(dt.month()) < 10) ? "0" : "") << unsigned(dt.month()) << delim;
str << ((unsigned(dt.dayOfMonth()) < 10) ? "0" : "") << dt.dayOfMonth() << delim;
str << ((unsigned(dt.year()) < 1000) ? "0" : "") << unsigned(dt.year());
return str.str().c_str();
}
QuantLib::Date FileType::StringToDate(const std::string &str, char delim)
{
// Expecing MM or M<delim>DD or D<delim>YYYY or YY:
unsigned firstIndex = str.find_first_of(delim);
unsigned middleIndex = str.find_first_of(delim, firstIndex + 1);
QuantLib::Integer month = std::stoul(str.substr(0, std::min<unsigned>(firstIndex, 2)));
QuantLib::Integer day = std::stoul(str.substr(firstIndex + 1, std::min<unsigned>(middleIndex - firstIndex - 1, 2)));
QuantLib::Integer year = std::stoul(str.substr(middleIndex + 1, std::max<unsigned>(str.size() - middleIndex - 1, 2)));
return QuantLib::Date(day, FileType::_MonthToEnum[month], year);
}
QuantLib::Month FileType::MonthToEnum(unsigned month)
{
return FileType::_MonthToEnum[month];
}
// Overloaded Operators:
FileType& FileType::operator=(const FileType * const file)
{
if (this != file)
{
this->_ValueDate = file->_ValueDate;
this->_Data = file->_Data;
}
return *this;
} | [
"rutan.benjamin@gmail.com"
] | rutan.benjamin@gmail.com |
f6eee5c7300b9a68d151a91536c79a6a67a8e548 | b5882500b4e16b74c4d4f52ae5586bccb19137e9 | /src/collections/hittables/model.h | 9ce8e8bc379fef0d3584a73099595c951b92cd01 | [
"MIT"
] | permissive | JakMobius/zeta_path_tracer | bd61660f74ecee0d780398190b8c565a7e5c17a4 | f17ac4e882319c6dd7dff545f7f1e1bf9cb045e1 | refs/heads/main | 2023-08-17T13:27:17.620558 | 2021-10-08T12:53:29 | 2021-10-08T12:53:29 | 405,775,221 | 0 | 0 | MIT | 2021-09-12T23:22:39 | 2021-09-12T23:22:39 | null | UTF-8 | C++ | false | false | 536 | h | #ifndef HITTABLE_MODEL_H
#define HITTABLE_MODEL_H
#include "utils_header.h"
#include "triangle.h"
#include "utils/logger.h"
struct Model : public HittableList {
std::vector<Vec3d> normals;
Model(const char *filename, std::vector<Material*> matrs, const Vec3d &offset = {0, 0, 0}, const Vec3d &scale = {1, 1, 1}, bool to_smooth = false);
bool load(const char *filename, std::vector<Material*> matrs, const Vec3d &offset = {0, 0, 0}, const Vec3d &scale = {1, 1, 1}, bool to_smooth = false);
};
#endif // HITTABLE_MODEL_H
| [
"maxim.gorishniy@gmail.com"
] | maxim.gorishniy@gmail.com |
a5c4f5fa7b06ec14dec96207f123639d2a6e8724 | 8bd06c15cc54fecea1ed5c52c2edb9cc6ff4206e | /Physics Projectile Physics/aieBootstrap-master/PhysicsEngine/Sphere.cpp | c6a91ee572fa8693dd03187e3577cc33e6f8eb3c | [
"MIT"
] | permissive | tarn1902/AIE-Bootstrap-Projects | 0e3f4037c844ea3fabd6f410b2445d38d9acaacc | bca98eb31b89172003e2a853906a146135b71b1b | refs/heads/master | 2023-01-18T21:35:27.943640 | 2020-11-22T02:38:51 | 2020-11-22T02:38:51 | 314,947,342 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,352 | cpp | /*----------------------------------------
File Name: Sphere.cpp
Purpose: Acts as a sphere in physics scene
Author: Tarn Cooper
Modified: 10 March 2020
------------------------------------------
Copyright 2020 Tarn Cooper.
-----------------------------------*/
#include "Sphere.h"
#include <Gizmos.h>
//-----------------------------------------------------------
// Construct Sphere
// inPosition (glm::vec2): What position is object in?
// inVelocity (glm::vec2): What velocity is object at?
// inMass (float): What is the mass of object?
// inRadius (float): What is radius of object?
// inColour (glm::vec4) : what is the colour of object?
//-----------------------------------------------------------
Sphere::Sphere(glm::vec2 inPosition, glm::vec2 inVelocity, float inMass, float inRadius, glm::vec4 inColour) : Rigidbody(SPHERE, inPosition, inVelocity, 0, inMass)
{
radius = inRadius;
colour = inColour;
}
//-----------------------------------------------------------
// Destruct Sphere
//-----------------------------------------------------------
Sphere::~Sphere()
{
}
//-----------------------------------------------------------
// Creates visuals of object
//-----------------------------------------------------------
void Sphere::MakeGizmo()
{
aie::Gizmos::add2DCircle(position, radius, 10, colour);
}
//-----------------------------------------------------------
// Checks for collision between spheres
// inPOther (PhysicsObject*): What is the other object
// return (bool): Returns if collision occured
//-----------------------------------------------------------
bool Sphere::CheckCollision(PhysicsObject* inPOther)
{
Sphere* pSphere = dynamic_cast<Sphere*>(inPOther);
if (pSphere != nullptr)
{
if (glm::distance(position, pSphere->GetPosition()) < radius + pSphere->radius)
{
return true;
}
}
return false;
}
//-----------------------------------------------------------
// Get radius of object
// return (float): Returns the radius of the object
//-----------------------------------------------------------
float Sphere::GetRadius()
{
return radius;
}
//-----------------------------------------------------------
// Get colour of object
// return (glm::vec4): Returns the colour of the object
//-----------------------------------------------------------
glm::vec4 Sphere::GetColour()
{
return colour;
}
| [
"42328932+tarn1902@users.noreply.github.com"
] | 42328932+tarn1902@users.noreply.github.com |
8c8298149c19b0463690d69944798cbb68c9d979 | 95ae94e43068a7d0f768b025cfd7bad31796ca41 | /TestClient5/BaseMesh.h | 0cc930f94a171214f7c4303d70384fb37946c420 | [] | no_license | zxy888pro/Sapphire | 3f9661edef006af7669741410f8a141b17c833ba | 879e0c4fa02a856edc6937c41eae8fa52af318b4 | refs/heads/master | 2020-03-23T19:52:14.608133 | 2019-08-25T02:15:39 | 2019-08-25T02:15:39 | 142,007,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,296 | h | #pragma once
#include <Sapphire.h>
#include "Shader.h"
#include <glm.hpp>
#include "RenderState.h"
namespace Sapphire
{
enum MeshType
{
MT_BaseMesh,
MT_BaseLighMesh,
MT_BaseLightMapMesh,
MT_EmissionMesh,
MT_StandardMaterialMesh,
MT_SkyBoxMesh,
MT_EnviromentMapMesh,
MT_SimpleUBOMesh,
MT_UI,
MT_MaxCount
};
class BaseLight;
class BaseMesh :public RefCounter
{
public:
BaseMesh();
virtual ~BaseMesh();
virtual void LoadBaseShader(const char* vs, const char* ps, const char* gs = NULL);
virtual void Init();
virtual void Render();
virtual void Update(std::vector<SharedPtr<BaseLight>>& lightVec);
glm::vec3 getPos() const { return m_pos; }
void setPos(glm::vec3 val) { m_pos = val; }
glm::vec3 getRot() const { return m_rot; }
void setRot(glm::vec3 val) { m_rot = val; }
glm::vec3 getScale() const { return m_scale; }
void setScale(glm::vec3 val) { m_scale = val; }
MeshType getType(){ return m_type; }
protected:
virtual void Release();
virtual void BackupRenderState();
virtual void RestoreRenderState();
GLuint m_mVbo;
GLuint m_mVao;
GLuint m_mEbo;
glm::vec3 m_pos;
glm::vec3 m_rot;
glm::vec3 m_scale;
RenderState m_state;
Shader* m_pShader;
float* m_vertices;
MeshType m_type;
private:
};
} | [
"373982141@qq.com"
] | 373982141@qq.com |
f741f9b8fba5db8029f4f67bc97fa8179b4a5915 | 86dae49990a297d199ea2c8e47cb61336b1ca81e | /c/北大题库/1.4/20.cpp | ec06cf21c4db98a4eaa637fb86fcbba14fa55560 | [] | no_license | yingziyu-llt/OI | 7cc88f6537df0675b60718da73b8407bdaeb5f90 | c8030807fe46b27e431687d5ff050f2f74616bc0 | refs/heads/main | 2023-04-04T03:59:22.255818 | 2021-04-11T10:15:03 | 2021-04-11T10:15:03 | 354,771,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 152 | cpp | #include<stdio.h>
int main()
{
int n;
scanf("%d",&n);
if(n==1||n==3||n==5) printf("NO");
else printf("YES");
return 0;
}
| [
"linletian1@sina.com"
] | linletian1@sina.com |
32362070e4afa8ef84351ceb5e8fb2e115168af1 | 9cb1333affec0040fe2c8e08dc70eef7d1bcdf07 | /test/tests/schreier_structure_test.cpp | b6c3a247fd2dfd397154cf7d9585b20835cf27ee | [
"MIT"
] | permissive | tud-ccc/mpsym | 7e71ee7ae0a04a997724b7ea94e400e6fa4d5fae | 2a2b35d3cd4260edb1224dd781e1230bb33918c9 | refs/heads/master | 2023-03-12T03:44:43.929956 | 2021-03-04T11:41:02 | 2021-03-04T11:41:02 | 319,962,156 | 0 | 0 | MIT | 2020-12-10T10:25:36 | 2020-12-09T13:17:49 | null | UTF-8 | C++ | false | false | 2,453 | cpp | #include <algorithm>
#include <memory>
#include <vector>
#include "gmock/gmock.h"
#include "explicit_transversals.hpp"
#include "orbit.hpp"
#include "perm.hpp"
#include "perm_set.hpp"
#include "schreier_tree.hpp"
#include "test_main.cpp"
using namespace mpsym;
using namespace mpsym::internal;
using testing::UnorderedElementsAreArray;
template <typename T>
class SchreierStructureTest : public testing::Test {};
using SchreierStructureTypes = ::testing::Types<ExplicitTransversals,
SchreierTree>;
TYPED_TEST_SUITE(SchreierStructureTest, SchreierStructureTypes,);
TYPED_TEST(SchreierStructureTest, CanConstructSchreierStructures)
{
unsigned n = 8;
PermSet generators {
Perm(n, {{0, 1, 2}}),
Perm(n, {{0, 2}}),
Perm(n, {{3, 5, 4}}),
Perm(n, {{4, 5}, {6, 7}})
};
generators.insert_inverses();
std::vector<unsigned> expected_orbits[] = {
{0, 1, 2},
{0, 1, 2},
{0, 1, 2},
{3, 4, 5},
{3, 4, 5},
{3, 4, 5},
{6, 7},
{6, 7}
};
for (unsigned root = 0u; root < n; ++root) {
auto schreier_structure(std::make_shared<TypeParam>(n, root, generators));
Orbit::generate(root, generators, schreier_structure);
EXPECT_EQ(root, schreier_structure->root())
<< "Root correct";
auto const &orbit(expected_orbits[root]);
EXPECT_THAT(orbit, UnorderedElementsAreArray(schreier_structure->nodes()))
<< "Node (orbit) correct "
<< "(root is " << root << ").";
for (unsigned x = 1u; x < n; ++x) {
auto it(std::find(orbit.begin(), orbit.end(), x));
bool contained = it != orbit.end();
EXPECT_EQ(contained, schreier_structure->contains(x))
<< "Can identify contained elements "
<< "(root is " << root << ", element is " << x << ").";
}
auto labels(schreier_structure->labels());
std::vector<Perm> labels_vect(labels.begin(), labels.end());
std::vector<Perm> gen_vect(generators.begin(), generators.end());
EXPECT_THAT(labels_vect, UnorderedElementsAreArray(gen_vect))
<< "Edge labels correct "
<< "(root is " << root << ").";
for (unsigned j = 0u; j < orbit.size(); ++j) {
unsigned origin = orbit[j];
Perm transv(schreier_structure->transversal(origin));
EXPECT_EQ(origin, transv[root])
<< "Transversal " << transv << " correct "
<< "(root is " << root << ", origin is " << origin << ").";
}
}
}
| [
"timonicolai@arcor.de"
] | timonicolai@arcor.de |
0eb445955ac94137c0deb8f44d31b56057c893de | bf198de4b0390901888cfaad67ab5bbd9508a098 | /TPI/tests/ej6TEST.cpp | 1af76dc99ea9df1c66176b2b35f67c667fcfde7d | [] | no_license | danielmejail/aedi-reuniones-remotas | bb73584706c08f6bf6f285db2aae14ed874982ed | 749bd6dc12ad22fa4457d78eedfaca8ac0781893 | refs/heads/master | 2022-11-29T05:27:28.543508 | 2020-07-27T20:43:03 | 2020-07-27T20:43:03 | 276,496,633 | 1 | 0 | null | 2020-07-19T22:45:35 | 2020-07-01T22:41:41 | C++ | UTF-8 | C++ | false | false | 5,452 | cpp | #include "gtest/gtest.h"
#include "../ejercicios.h"
TEST(tonosDeVozElevados, hayUnElevado){
int p = 8;
int f = 10;
hablante a = 0;
hablante b = 1;
senial sigB = {-9, 43, -54, 103, -44, 59, -10, 44, -55, 104, -45,
60, -9, 43, -54, 103, -44, 59, -10, 44};
senial sigA = {17, -128, 127, -18, 15, -16, 17, -20, 19, -18, 1, -1,
2, 1, -2, 3, 0, -1, 3, 0, 0, 1, 1, -1, 2, 1, -2, 3, 0, -1, 3,
0, 0, 1, 1};
reunion r = {make_pair(sigA, a), make_pair(sigB, b)};
vector<hablante> esperado = {b};
EXPECT_EQ(tonosDeVozElevados(r, p, f), esperado);
}
TEST(tonosDeVozElevados, dosHablantesUnoAlto) {
// Caso 1, caso t'ipico comparando dos hablantes
int p = 8;
int f = 10;
hablante a = 0;
hablante b = 1;
senial sigA = {17, -128, 127, -18, 15, -16, 17, -20, 19, -18,
1, -1, 2, 1, -2, 3, 0, -1, 3, 0,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
senial sigB = {-9, 43, -54, 103, -44, 59, -10, 44, -55, 104,
-45, 60, -9, 43, -54, 103, -44, 59, -10, 44,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
reunion r = {make_pair(sigA,a), make_pair(sigB, b)};
vector<hablante> esperado = {b};
EXPECT_EQ(tonosDeVozElevados(r, p, f), esperado);
}
TEST(tonosDeVozElevados, dosHablantesOrdenInverso) {
// Caso 2, igual que el caso anterior, invirtiendo el orden de
// los hablantes. La implementaci'on sobreescribe el vector
// `maximos' cuando encuentra una segnal que supera un determinado
// valor (el valor de tono para los vectores de `maximo'). En
// este caso el vector resultante deber'ia estar compuesto s'olo
// por el primer hablante. El vector no deber'ia ser sobreescrito
// err'oneamente en iteraciones sucesivas.
int p = 8;
int f = 10;
hablante a = 0;
hablante b = 1;
senial sigA = {-9, 43, -54, 103, -44, 59, -10, 44, -55, 104,
-45, 60, -9, 43, -54, 103, -44, 59, -10, 44,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
senial sigB = {17, -128, 127, -18, 15, -16, 17, -20, 19, -18,
1, -1, 2, 1, -2, 3, 0, -1, 3, 0,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
reunion r = {make_pair(sigA,a), make_pair(sigB, b)};
vector<hablante> esperado = {a};
EXPECT_EQ(tonosDeVozElevados(r, p, f), esperado);
}
TEST(tonosDeVozElevados, dosHablantesConTonoElevado) {
// Caso 3, dos hablantes con tono m'as elevado
int p = 8;
int f = 10;
hablante a = 0;
hablante b = 1;
hablante c = 2;
senial sigA = {-9, 43, -54, 103, -44, 59, -10, 44, -55, 104,
-45, 60, -9, 43, -54, 103, -44, 59, -10, 44,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
senial sigB = {-9, 43, -54, 103, -44, 59, -10, 44, -55, 104,
-45, 60, -9, 43, -54, 103, -44, 59, -10, 44,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
senial sigC = {17, -128, 127, -18, 15, -16, 17, -20, 19, -18,
1, -1, 2, 1, -2, 3, 0, -1, 3, 0,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
reunion r = {make_pair(sigA,a), make_pair(sigB, b), make_pair(sigC, c)};
vector<hablante> esperado = {a,b};
EXPECT_EQ(tonosDeVozElevados(r, p, f), esperado);
}
TEST(tonosDeVozElevados, ultimosDosConTonoElevado) {
// Caso 4, 'ultimos dos hablantes con tono m'as elevado
int p = 8;
int f = 10;
hablante a = 0;
hablante b = 1;
hablante c = 2;
senial sigC = {-9, 43, -54, 103, -44, 59, -10, 44, -55, 104,
-45, 60, -9, 43, -54, 103, -44, 59, -10, 44,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
senial sigB = {-9, 43, -54, 103, -44, 59, -10, 44, -55, 104,
-45, 60, -9, 43, -54, 103, -44, 59, -10, 44,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
senial sigA = {17, -128, 127, -18, 15, -16, 17, -20, 19, -18,
1, -1, 2, 1, -2, 3, 0, -1, 3, 0,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
reunion r = {make_pair(sigA,a), make_pair(sigB, b), make_pair(sigC, c)};
vector<hablante> esperado = {b,c};
EXPECT_EQ(tonosDeVozElevados(r, p ,f), esperado);
}
TEST(tonosDeVozElevedos, dosHablantesConTonoElevadoIntercalados) {
// Caso 5, dos hablantes con tono m'as elevado intercalados
int p = 8;
int f = 10;
hablante a = 0;
hablante b = 1;
hablante c = 2;
senial sigA = {-9, 43, -54, 103, -44, 59, -10, 44, -55, 104,
-45, 60, -9, 43, -54, 103, -44, 59, -10, 44,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
senial sigC = {-9, 43, -54, 103, -44, 59, -10, 44, -55, 104,
-45, 60, -9, 43, -54, 103, -44, 59, -10, 44,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
senial sigB = {17, -128, 127, -18, 15, -16, 17, -20, 19, -18,
1, -1, 2, 1, -2, 3, 0, -1, 3, 0,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
reunion r = {make_pair(sigA,a), make_pair(sigB, b), make_pair(sigC, c)};
vector<hablante> esperado = {a,c};
EXPECT_EQ(tonosDeVozElevados(r, p, f), esperado);
}
TEST(tonosDeVozElevados, dosHablantesConTonoBajo) {
// Caso 6, dos hablantes con tono m'as bajo
int p = 8;
int f = 10;
hablante a = 0;
hablante b = 1;
hablante c = 2;
senial sigA = {17, -128, 127, -18, 15, -16, 17, -20, 19, -18,
1, -1, 2, 1, -2, 3, 0, -1, 3, 0,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
senial sigB = {17, -128, 127, -18, 15, -16, 17, -20, 19, -18,
1, -1, 2, 1, -2, 3, 0, -1, 3, 0,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
senial sigC = {-9, 43, -54, 103, -44, 59, -10, 44, -55, 104,
-45, 60, -9, 43, -54, 103, -44, 59, -10, 44,
0, 1, 1, -1, 2, 1, -2, 3, 0, -1,
3, 0, 0, 1, 1};
reunion r = {make_pair(sigA,a), make_pair(sigB, b), make_pair(sigC, c)};
vector<hablante> esperado = {c};
EXPECT_EQ(tonosDeVozElevados(r, p, f), esperado);
}
| [
"dailandylan@gmail.com"
] | dailandylan@gmail.com |
77574df1a1b7b6db14a4913805cf08345eb201d5 | 6be0e7c7a4f11465ebc87faebc63d89ccadda460 | /OpenGL_Test_Project/utility.h | 0260ecc601e3c7e6af780d398c7598d4490ca102 | [] | no_license | Giv3x/NonStopProjects | bf65f74f6a782908c2f5ff89e59d311521f1c5be | 53dd531f59409eb3c77a895cc9f45a8467f7be60 | refs/heads/master | 2023-02-28T19:57:08.044032 | 2021-02-16T21:33:32 | 2021-02-16T21:33:32 | 339,529,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,039 | h | #pragma once
#ifndef UTILITY_H
#define UTILITY_H
#include <glm\glm.hpp>
#include <vector>
#include <string>
class Vertex {
public:
Vertex() {}
Vertex(const glm::vec3& position, const glm::vec2& texCoord = glm::vec2(0.f, 0.f), const glm::vec3& normals = glm::vec3(0, 0, 0));
Vertex(const glm::vec3& position, const glm::vec3& tangents, const glm::vec2& texCoord = glm::vec2(0.f, 0.f), const glm::vec3& normals = glm::vec3(0, 1, 0));
glm::vec3& getPosition();
glm::vec2& getTextureCoordinates();
glm::vec3& getNormals();
void setPosition(const glm::vec3& position);
void setTextureCoordinates(const glm::vec2& texCoords);
void setNormals(const glm::vec3& normals);
void setTangent(const glm::vec3& tangent);
private:
glm::vec3 position;
glm::vec2 texCoord;
glm::vec3 normal;
glm::vec3 tangents;
};
std::vector<std::string> split(const std::string& s, const char& d);
void generateQuad(glm::vec3& position, const int& size, const int& vertexCNT, std::vector<Vertex>& vertices, std::vector<int>& indices);
#endif UTILITY_H | [
"arabidzegivi@gmail.com"
] | arabidzegivi@gmail.com |
32d1f4987b390d9f47715bfa7f4163bd9a831858 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/8c/20d9b7888a876a/main.cpp | fab2034f86ea92c9637e99190837d01eef74c9c2 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | cpp |
struct logMessage
{
int cefVersion;
char *deviceVendor;
};
int main()
{
logMessage msg{};
}
| [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
a6875fcb1182e4ddc3073bc3d6bc221e58c61af1 | 9e6db772ea001432007a90c09cf92f52ed1893c6 | /ArduinoAPI/SPI.h | 4388d98dd12a14555e3a1681562bd386dc1c16c6 | [] | no_license | dj140/Keil_for_SimpleFOC_1.41 | 7ddfaac02d8cfb5a5e38e258212b933bb319e656 | 8d78b794d3031a601eaaa93f7b18615eaff32e78 | refs/heads/main | 2023-08-22T01:13:15.862518 | 2021-10-11T10:51:08 | 2021-10-11T10:51:08 | 415,883,036 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,027 | h | /*
* MIT License
* Copyright (c) 2019 _VIFEXTech
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#ifndef __SPI_H
#define __SPI_H
#include "Arduino.h"
/**
*@SPI1: SCK->PA5 MISO->PA6 MOSI->PA7
*@SPI2: SCK->PB13 MISO->PB14 MOSI->PB15
*@SPI3: SCK->PB3 MISO->PB4 MOSI->PB5
*/
#define __builtin_constant_p(x) 1
#ifndef LSBFIRST
#define LSBFIRST 0
#endif
#ifndef MSBFIRST
#define MSBFIRST 1
#endif
typedef enum
{
SPI_MODE0,
SPI_MODE1,
SPI_MODE2,
SPI_MODE3
} SPI_MODE_TypeDef;
#define DATA_SIZE_8BIT SPI_DataSize_8b
#define DATA_SIZE_16BIT SPI_DataSize_16b
typedef uint16_t BitOrder;
typedef SPI_TypeDef spi_dev;
typedef enum {
SPI_STATE_IDLE,
SPI_STATE_READY,
SPI_STATE_RECEIVE,
SPI_STATE_TRANSMIT,
SPI_STATE_TRANSFER
} spi_mode_t;
class SPISettings
{
public:
SPISettings(uint32_t clock, BitOrder bitOrder, uint8_t dataMode) {
if (__builtin_constant_p(clock)) {
init_AlwaysInline(clock, bitOrder, dataMode, DATA_SIZE_8BIT);
} else {
init_MightInline(clock, bitOrder, dataMode, DATA_SIZE_8BIT);
}
}
SPISettings(uint32_t clock, BitOrder bitOrder, uint8_t dataMode, uint32_t dataSize) {
if (__builtin_constant_p(clock)) {
init_AlwaysInline(clock, bitOrder, dataMode, dataSize);
} else {
init_MightInline(clock, bitOrder, dataMode, dataSize);
}
}
SPISettings(uint32_t clock) {
if (__builtin_constant_p(clock)) {
init_AlwaysInline(clock, MSBFIRST, SPI_MODE0, DATA_SIZE_8BIT);
} else {
init_MightInline(clock, MSBFIRST, SPI_MODE0, DATA_SIZE_8BIT);
}
}
SPISettings() {
init_AlwaysInline(4000000, MSBFIRST, SPI_MODE0, DATA_SIZE_8BIT);
}
private:
void init_MightInline(uint32_t clock, BitOrder bitOrder, uint8_t dataMode, uint32_t dataSize) {
init_AlwaysInline(clock, bitOrder, dataMode, dataSize);
}
void init_AlwaysInline(uint32_t clock, BitOrder bitOrder, uint8_t dataMode, uint32_t dataSize) __attribute__((__always_inline__)) {
this->clock = clock;
this->bitOrder = bitOrder;
this->dataMode = dataMode;
this->dataSize = dataSize;
}
uint32_t clock;
uint32_t dataSize;
uint32_t clockDivider;
BitOrder bitOrder;
uint8_t dataMode;
uint8_t _SSPin;
volatile spi_mode_t state;
friend class SPIClass;
};
class SPIClass
{
public:
SPIClass(SPI_TypeDef* _SPIx);
void SPI_Settings( SPI_TypeDef* SPIx,
uint16_t SPI_Mode_x,
uint16_t SPI_DataSize_x,
uint16_t SPI_MODEx,
uint16_t SPI_NSS_x,
uint16_t SPI_BaudRatePrescaler_x,
uint16_t SPI_FirstBit_x);
void begin(void);
void begin(uint32_t clock, uint16_t dataOrder, uint16_t dataMode);
void begin(SPISettings settings);
void beginSlave(uint32_t bitOrder, uint32_t mode);
void beginSlave(void);
void beginTransactionSlave(void);
void beginTransaction(SPISettings settings);
void endTransaction(void);
void end(void);
void setClock(uint32_t clock);
void setClockDivider(uint32_t Div);
void setBitOrder(uint16_t bitOrder);
void setDataMode(uint8_t dataMode);
void setDataSize(uint16_t datasize);
uint16_t read(void);
void read(uint8_t *buffer, uint32_t length);
void write(uint16_t data);
void write(uint16_t data, uint32_t n);
void write(const uint8_t *buffer, uint32_t length);
void write(const uint16_t *buffer, uint32_t length);
uint8_t transfer(uint8_t data) const;
uint16_t transfer16(uint16_t data) const;
uint8_t send(uint8_t data);
uint8_t send(uint8_t *data, uint32_t length);
uint8_t recv(void);
private:
SPI_TypeDef* SPIx;
SPI_InitTypeDef SPI_InitStructure;
uint32_t SPI_Clock;
};
extern SPIClass SPI;
extern SPIClass SPI_2;
extern SPIClass SPI_3;
#endif
| [
"1613270283@qq.com"
] | 1613270283@qq.com |
b0031bf6a85f47ba111aac0a9ee1d682f0ced7f9 | 4e22d261d7dcf5fe2731d77ba3cfb47c5568977c | /Source/Engine/TempestEngine/Rendering/CameraSystem.hpp | 0ef78b002df12dd65b832d043da2b52f5963fba0 | [] | no_license | SeraphinaMJ/Reformed | 2d7424d6d38d1cfaf8d385fade474a27c02103a5 | 8563d35ab2b80ca403b3b57ad80db1173504cf55 | refs/heads/master | 2023-04-06T00:40:34.223840 | 2021-05-06T11:25:51 | 2021-05-06T11:25:51 | 364,884,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,070 | hpp | /*!***************************************************************************************
\file CameraSystem.hpp
\author Cody Cannell
\date 7/31/18
\copyright All content � 2018-2019 DigiPen (USA) Corporation, all rights reserved.
\par Project: Boomerang
\brief
*****************************************************************************************/
#pragma once
#include "../SystemBase.hpp"
class cameraBase;
class matrix4x4;
enum class cameraState
{
enm_editor = 0,
enm_game = 1,
};
class cameraSystem : public systemBase
{
public:
cameraSystem() = default;
componentHandle<cameraBase> getMainCamera();
std::shared_ptr<gameObject> getMainCameraObject();
static const std::string& getName() { static const std::string n("cameraSystem"); return n; }
const std::string& name() const override { return getName(); }
void enableEditorCamera(componentHandle<cameraBase> p_camera);
void disableEditorCamera();
private:
cameraState m_cameraState = cameraState::enm_game;
componentHandle<cameraBase> m_editorCamera;
}; | [
"minjiserak@gmail.com"
] | minjiserak@gmail.com |
c484a5f083fd35df28eeacc1e779d8fd2afd158e | 4b761636dd6dbc4fe9de9a81f38d19a81f28211a | /GeneralCoding/CP/lis/main.cpp | f2f0f36fcd606dc22961664c975bb3f77645c8ac | [] | no_license | nianny/sample | dbf802e3b890f715d5ca9db194c3a6b490c8c30e | d6746d75865da0f656824c85ecf232cdfbe97b1c | refs/heads/main | 2023-03-31T06:35:11.283676 | 2021-04-01T09:38:43 | 2021-04-01T09:38:43 | 353,649,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | cpp | #include <bits/stdc++.h>
using namespace std;
#define int long long
int32_t main() {
ios_base::sync_with_stdio(); cin.tie(0); cout.tie(0);
int n;
cin>>n;
int arr[n];
int lis[n];
memset(lis, 0, sizeof lis);
for (int i=0; i<n; i++){
cin>>arr[i];
}
for (int i=0; i<n; i++){
for (int p=0; p<i; p++){
if (arr[i] > arr[p]){
lis[i] = max(lis[i], lis[p]+1);
//cout<<i<<' '<<p<<' '<<lis[p]<<'\n';
}
}
if (lis[i] == 0) lis[i] = 1;
}
int ans = 0;
for (int i=0; i<n; i++){
ans = max(ans, lis[i]);
}
cout<<ans;
return 0;
} | [
"75959161+nianny@users.noreply.github.com"
] | 75959161+nianny@users.noreply.github.com |
6dceb4a43e504d4a4ff247669d250fb47a2937c6 | dc0f18ead291ffd1404b4504aaccb0eaa36426fc | /devel/include/ur_msgs/MasterboardDataMsg.h | fea4e464e83fce54e562bcde3c15a81ee8b600cf | [] | no_license | adityavgupta/Intro_to_robotics | cb80fd708270b413bf1dca7171fcd013840292b0 | a4095832c215e7ba9b3bab0cf50389db88d249b9 | refs/heads/master | 2023-01-21T22:37:32.797024 | 2020-12-08T21:20:41 | 2020-12-08T21:20:41 | 303,027,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,406 | h | // Generated by gencpp from file ur_msgs/MasterboardDataMsg.msg
// DO NOT EDIT!
#ifndef UR_MSGS_MESSAGE_MASTERBOARDDATAMSG_H
#define UR_MSGS_MESSAGE_MASTERBOARDDATAMSG_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
namespace ur_msgs
{
template <class ContainerAllocator>
struct MasterboardDataMsg_
{
typedef MasterboardDataMsg_<ContainerAllocator> Type;
MasterboardDataMsg_()
: digital_input_bits(0)
, digital_output_bits(0)
, analog_input_range0(0)
, analog_input_range1(0)
, analog_input0(0.0)
, analog_input1(0.0)
, analog_output_domain0(0)
, analog_output_domain1(0)
, analog_output0(0.0)
, analog_output1(0.0)
, masterboard_temperature(0.0)
, robot_voltage_48V(0.0)
, robot_current(0.0)
, master_io_current(0.0)
, master_safety_state(0)
, master_onoff_state(0) {
}
MasterboardDataMsg_(const ContainerAllocator& _alloc)
: digital_input_bits(0)
, digital_output_bits(0)
, analog_input_range0(0)
, analog_input_range1(0)
, analog_input0(0.0)
, analog_input1(0.0)
, analog_output_domain0(0)
, analog_output_domain1(0)
, analog_output0(0.0)
, analog_output1(0.0)
, masterboard_temperature(0.0)
, robot_voltage_48V(0.0)
, robot_current(0.0)
, master_io_current(0.0)
, master_safety_state(0)
, master_onoff_state(0) {
(void)_alloc;
}
typedef uint32_t _digital_input_bits_type;
_digital_input_bits_type digital_input_bits;
typedef uint32_t _digital_output_bits_type;
_digital_output_bits_type digital_output_bits;
typedef int8_t _analog_input_range0_type;
_analog_input_range0_type analog_input_range0;
typedef int8_t _analog_input_range1_type;
_analog_input_range1_type analog_input_range1;
typedef double _analog_input0_type;
_analog_input0_type analog_input0;
typedef double _analog_input1_type;
_analog_input1_type analog_input1;
typedef int8_t _analog_output_domain0_type;
_analog_output_domain0_type analog_output_domain0;
typedef int8_t _analog_output_domain1_type;
_analog_output_domain1_type analog_output_domain1;
typedef double _analog_output0_type;
_analog_output0_type analog_output0;
typedef double _analog_output1_type;
_analog_output1_type analog_output1;
typedef float _masterboard_temperature_type;
_masterboard_temperature_type masterboard_temperature;
typedef float _robot_voltage_48V_type;
_robot_voltage_48V_type robot_voltage_48V;
typedef float _robot_current_type;
_robot_current_type robot_current;
typedef float _master_io_current_type;
_master_io_current_type master_io_current;
typedef uint8_t _master_safety_state_type;
_master_safety_state_type master_safety_state;
typedef uint8_t _master_onoff_state_type;
_master_onoff_state_type master_onoff_state;
typedef boost::shared_ptr< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> > Ptr;
typedef boost::shared_ptr< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> const> ConstPtr;
}; // struct MasterboardDataMsg_
typedef ::ur_msgs::MasterboardDataMsg_<std::allocator<void> > MasterboardDataMsg;
typedef boost::shared_ptr< ::ur_msgs::MasterboardDataMsg > MasterboardDataMsgPtr;
typedef boost::shared_ptr< ::ur_msgs::MasterboardDataMsg const> MasterboardDataMsgConstPtr;
// constants requiring out of line definition
template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> >::stream(s, "", v);
return s;
}
} // namespace ur_msgs
namespace ros
{
namespace message_traits
{
// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
// {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'ur_msgs': ['/home/ur3/catkin_avgupta3/src/drivers/universal_robot/ur_msgs/msg']}
// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
template <class ContainerAllocator>
struct IsFixedSize< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsFixedSize< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> >
: TrueType
{ };
template <class ContainerAllocator>
struct IsMessage< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> const>
: TrueType
{ };
template <class ContainerAllocator>
struct HasHeader< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> >
: FalseType
{ };
template <class ContainerAllocator>
struct HasHeader< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> const>
: FalseType
{ };
template<class ContainerAllocator>
struct MD5Sum< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> >
{
static const char* value()
{
return "807af5dc427082b111fa23d1fd2cd585";
}
static const char* value(const ::ur_msgs::MasterboardDataMsg_<ContainerAllocator>&) { return value(); }
static const uint64_t static_value1 = 0x807af5dc427082b1ULL;
static const uint64_t static_value2 = 0x11fa23d1fd2cd585ULL;
};
template<class ContainerAllocator>
struct DataType< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> >
{
static const char* value()
{
return "ur_msgs/MasterboardDataMsg";
}
static const char* value(const ::ur_msgs::MasterboardDataMsg_<ContainerAllocator>&) { return value(); }
};
template<class ContainerAllocator>
struct Definition< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> >
{
static const char* value()
{
return "# This data structure contains the MasterboardData structure\n\
# used by the Universal Robots controller\n\
#\n\
# MasterboardData is part of the data structure being send on the \n\
# secondary client communications interface\n\
# \n\
# This data structure is send at 10 Hz on TCP port 30002\n\
# \n\
# Documentation can be found on the Universal Robots Support site, article\n\
# number 16496.\n\
\n\
uint32 digital_input_bits\n\
uint32 digital_output_bits\n\
int8 analog_input_range0\n\
int8 analog_input_range1\n\
float64 analog_input0\n\
float64 analog_input1\n\
int8 analog_output_domain0\n\
int8 analog_output_domain1\n\
float64 analog_output0\n\
float64 analog_output1\n\
float32 masterboard_temperature\n\
float32 robot_voltage_48V\n\
float32 robot_current\n\
float32 master_io_current\n\
uint8 master_safety_state\n\
uint8 master_onoff_state\n\
";
}
static const char* value(const ::ur_msgs::MasterboardDataMsg_<ContainerAllocator>&) { return value(); }
};
} // namespace message_traits
} // namespace ros
namespace ros
{
namespace serialization
{
template<class ContainerAllocator> struct Serializer< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> >
{
template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
{
stream.next(m.digital_input_bits);
stream.next(m.digital_output_bits);
stream.next(m.analog_input_range0);
stream.next(m.analog_input_range1);
stream.next(m.analog_input0);
stream.next(m.analog_input1);
stream.next(m.analog_output_domain0);
stream.next(m.analog_output_domain1);
stream.next(m.analog_output0);
stream.next(m.analog_output1);
stream.next(m.masterboard_temperature);
stream.next(m.robot_voltage_48V);
stream.next(m.robot_current);
stream.next(m.master_io_current);
stream.next(m.master_safety_state);
stream.next(m.master_onoff_state);
}
ROS_DECLARE_ALLINONE_SERIALIZER
}; // struct MasterboardDataMsg_
} // namespace serialization
} // namespace ros
namespace ros
{
namespace message_operations
{
template<class ContainerAllocator>
struct Printer< ::ur_msgs::MasterboardDataMsg_<ContainerAllocator> >
{
template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ur_msgs::MasterboardDataMsg_<ContainerAllocator>& v)
{
s << indent << "digital_input_bits: ";
Printer<uint32_t>::stream(s, indent + " ", v.digital_input_bits);
s << indent << "digital_output_bits: ";
Printer<uint32_t>::stream(s, indent + " ", v.digital_output_bits);
s << indent << "analog_input_range0: ";
Printer<int8_t>::stream(s, indent + " ", v.analog_input_range0);
s << indent << "analog_input_range1: ";
Printer<int8_t>::stream(s, indent + " ", v.analog_input_range1);
s << indent << "analog_input0: ";
Printer<double>::stream(s, indent + " ", v.analog_input0);
s << indent << "analog_input1: ";
Printer<double>::stream(s, indent + " ", v.analog_input1);
s << indent << "analog_output_domain0: ";
Printer<int8_t>::stream(s, indent + " ", v.analog_output_domain0);
s << indent << "analog_output_domain1: ";
Printer<int8_t>::stream(s, indent + " ", v.analog_output_domain1);
s << indent << "analog_output0: ";
Printer<double>::stream(s, indent + " ", v.analog_output0);
s << indent << "analog_output1: ";
Printer<double>::stream(s, indent + " ", v.analog_output1);
s << indent << "masterboard_temperature: ";
Printer<float>::stream(s, indent + " ", v.masterboard_temperature);
s << indent << "robot_voltage_48V: ";
Printer<float>::stream(s, indent + " ", v.robot_voltage_48V);
s << indent << "robot_current: ";
Printer<float>::stream(s, indent + " ", v.robot_current);
s << indent << "master_io_current: ";
Printer<float>::stream(s, indent + " ", v.master_io_current);
s << indent << "master_safety_state: ";
Printer<uint8_t>::stream(s, indent + " ", v.master_safety_state);
s << indent << "master_onoff_state: ";
Printer<uint8_t>::stream(s, indent + " ", v.master_onoff_state);
}
};
} // namespace message_operations
} // namespace ros
#endif // UR_MSGS_MESSAGE_MASTERBOARDDATAMSG_H
| [
"gupta.adityav@gmail.com"
] | gupta.adityav@gmail.com |
d6fbe567b2b5848240de12dbf956e00c5e5579e7 | b86d4fe35f7e06a1981748894823b1d051c6b2e5 | /UVa/13054 Hippo Circus.cpp | 21fdeca0d62c780ce5599a1232ea87af1ad7a789 | [] | no_license | sifat-mbstu/Competitive-Programming | f138fa4f7a9470d979106f1c8106183beb695fd2 | c6c28979edb533db53e9601073b734b6b28fc31e | refs/heads/master | 2021-06-26T20:18:56.607322 | 2021-04-03T04:52:20 | 2021-04-03T04:52:20 | 225,800,602 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 969 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
//freopen("out.txt", "w", stdout);
int N, H, Ta, Tb, i, TC,x,cnt,a[100001];
scanf("%d",&TC);
for(x=1; x<=TC; x++){
cnt = 0;
scanf("%d %d %d %d",&N, &H, &Ta, &Tb);
//printf("%d %d %d %d\n\n",N, H, Ta, Tb);
for(i=0; i<N; i++)
{
scanf("%d",&a[i]);
}
sort(a, a+N);
/*for(i=0; i<N; i++)
{
printf("%d ", a[i]);
}*/
if(Tb <(Ta*2) && ((a[0] + a[1]) < H))
{
int j = 0; i = N-1;
//cout << "Hmmm..\n";
while(1)
{
if(j>=i) break;
if((a[i] + a[j]) < H)
{
cnt++;
i--; j++;
//printf("cnt == %d\n",cnt);
}
else{i--;}
}
cnt = (cnt * Tb) + (N - (cnt*2))*Ta;
}
else{
cnt = N * Ta;
}
printf("Case %d: %d\n",x,cnt);
}
}
| [
"sifat.acc@gmail.com"
] | sifat.acc@gmail.com |
da8d38373ff2c868d2560f2d6ba9a0e1093ebae8 | 5a0a0c2fc57bb758f954680a1e6f6fe9634662b8 | /mp3/MP3_coordinator.cpp | 04fb1746a3dd98b8ae965a027f8236f1878ef01e | [] | no_license | sashimiwithwasabi/distributed-system | 62739c103255858f2adf6fdcf5ce9f08e390925c | 63a0681632733403a4d75d9fac1599db68e04103 | refs/heads/master | 2022-02-26T23:36:19.413179 | 2019-09-06T04:19:56 | 2019-09-06T04:19:56 | 109,996,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,606 | cpp | //This is the code for the coordinator node (8).
#include <cstring>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <mutex>
#include <netinet/in.h>
#include <netdb.h>
#include <pthread.h>
#include <queue>
#include <signal.h>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <ctime>
using namespace std;
namespace patch
{
template<typename T> std::string to_string(const T&n)
{
std::ostringstream stm;
stm<<n;
return stm.str();
}
}
/* global variable definition */
string version_code = "co-0.4.1: deadlock false positive";
int sigErrorPrint; // count number of sig error printed
int localTest = 2; //default mode is test on vm
int serverNum = 5; // number of vms
int clientNum = 3;
int vmIndex; // index of this vm (start from 0) 0-2 client, 3-7 servers, 8 coordinator
int serverRange = 50;
int portBase = 4000; // can be modified by user
int buffer_size = 512; // socket message buffer size
int server_recv_socket[10]; // server sockets
int client_send_socket[10]; // client sockets
int verbose = 0;
int mssgLengths[10]; // message length array
bool vm_up[10]; // whether the vm is up (passively detect)
int vmNum = 10;
int wait_for[3]; // number of other nodes it's waiting for
int lock_on_server[3]; // server idx of the lock
mutex mtx_send_array[10];
mutex mtx_wait_for;
void* initializeServer(void*);
void* acceptConnection(void* param);
int processBuffer(string buffer, int serverIdx);
void* initializeClient(void*);
void* buildConnection(void* param);
void* commandInput(void*);
void* SendMessage(int receiver, int type, string key, string value);
bool detectDeadlock(int new_node);
// client_node to server_node: 0 SET; 1 GET; 2 COMMIT; 3 ABORT
// svr_node to clnt_node: 10 SET OK; 11 GET OK; 12 COMMITED 13 GET NOT FOUND
/* Catch Signal Handler function */
void signal_callback_handler(int signum) {
if (sigErrorPrint < 3) {
fprintf(stderr,"[ERROR] sigpipe error!\n");
sigErrorPrint++;
}
}
/* main processes defination */
int main(int argc, char *argv[])
{
if (argc < 1)
{
fprintf(stderr,"[ERROR] not enough params provided\n");
exit(1);
}
vmIndex = atoi(argv[1]);
if (argc >= 3)
localTest = atoi(argv[2]); //localTest = 1, localtest mode
if (argc >= 4) verbose = atoi(argv[3]);
// register SIGPIPE
signal(SIGPIPE, signal_callback_handler);
cout<<"Coordinator node mode\n";
for (int i = 0; i < 10; i++) {
vm_up[i] = true;
}
pthread_t serverThread, clientThread, commandThread, coordinatorThread;
// create server threads
int rc = pthread_create(&serverThread, NULL, initializeServer, NULL);
if (rc)
{
std::cerr << "[Error] unable to create server thread," << rc << std::endl;
exit(-1);
}
sched_yield();
sleep(5);
// create client threads
rc = pthread_create(&clientThread, NULL, initializeClient, NULL);
if (rc){
std::cerr << "[Error] unable to create thread," << rc << std::endl;
exit(-1);
}
// create user interface threads
rc = pthread_create(&commandThread, NULL, commandInput, NULL);
if (rc){
std::cerr << "[Error] unable to create thread," << rc << std::endl;
exit(-1);
}
pthread_exit(NULL);
return 0;
}
void* initializeServer(void*){
pthread_t messageThreads[vmNum];
long idxes[vmNum];
// when it is its turn to accept
for (int j = 0; j <= 7; j++) {
// good
idxes[j] = j;
int rc = pthread_create(&messageThreads[j], NULL, acceptConnection, (void *)idxes[j]);
if (rc){
std::cerr << "[ERROR] [server] unable to create thread," << rc << std::endl;
exit(-1);
}
}
pthread_exit(NULL);
}
void* acceptConnection(void* param){
long serverIdx = (long)param;
int my_socket = socket(PF_INET, SOCK_STREAM, 0);
if(my_socket < 0) fprintf(stderr,"[ERROR] [serverAM %ld] Socket creation failed ...\n", serverIdx);
struct sockaddr_in address;
address.sin_family = AF_INET;
address.sin_addr.s_addr = htonl(INADDR_ANY);
address.sin_port = htons(portBase + serverRange * vmIndex + serverIdx);
bool flag = true;
int yes = 1;
if (setsockopt(my_socket, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(int)) == -1) {
fprintf(stderr,"[ERROR] [serverAM %ld] Trouble set sockopt ...\n", serverIdx);
perror("setsockopt");
exit(1);
}
int res = bind(my_socket, (struct sockaddr*) &address, sizeof(struct sockaddr_in));
if(res< 0) {
flag = false;
fprintf(stderr,"[ERROR] [serverAM %ld] Trouble binding socket ...\n", serverIdx);
}
struct sockaddr_in remote_address;
socklen_t remote_address_len;
remote_address_len = sizeof(address);
if (flag) {
// reconnect
res = listen(my_socket, 5);
if(res < 0) {
flag = false;
fprintf(stderr,"[ERROR] [serverAM %ld] Couldn't listen to socket ...\n", serverIdx);
}
server_recv_socket[serverIdx] = accept(my_socket, (struct sockaddr*) &remote_address, &remote_address_len);
if (verbose > 0)
fprintf(stderr,"[LOG-1] [serverAM %ld] Server connected ...\n", serverIdx);
vm_up[serverIdx] = true;
// accept message
char buffer[buffer_size];
while (flag) {
bzero(buffer,buffer_size);
res = recv(server_recv_socket[serverIdx], buffer, buffer_size, 0);
if (res != 0) {
string recv_message_str = buffer;
int type = processBuffer(recv_message_str, (int)serverIdx);
// lengthy message
if (type == 7) {
int mssg_length = mssgLengths[serverIdx];
string lengthyMssg = "";
mssgLengths[serverIdx] = 0;
if (verbose > 1)
fprintf(stdout,"[LOG-2] [%ld]I've received some long message: %d\n", serverIdx, mssg_length);
for (int i = 0; i < mssg_length; i++) {
bzero(buffer,buffer_size);
res = recv(server_recv_socket[serverIdx], buffer, buffer_size, 0);
// in case sender fail at middle
if (res <= 0) {
type = -1;
printf("[ERROR] sender fails at middle\n");
break;
}
string part_message_str = buffer;
lengthyMssg += part_message_str;
}
if (type == 7) {
processBuffer(lengthyMssg, (int)serverIdx);
}
}
if (type < 0) flag = false;
} else {
flag = false;
}
}
}
shutdown(my_socket, 2);
close(server_recv_socket[serverIdx]);
close(my_socket);
pthread_exit(NULL);
}
int processBuffer(string recv_message_str, int serverIdx){
if (recv_message_str.length() < 1) {
// what is this? E.T.?
printf("[ERROR] E.T.?\n");
return -1;
}
int pos_mode = recv_message_str.find(" ");
if (pos_mode == std::string::npos || pos_mode == 0) {
printf("[ERROR] Strange message?\n");
return 100;
}
int mode = stoi(recv_message_str.substr(0, pos_mode));
if (mode == 2 || mode == 3)
{
mtx_wait_for.lock();
for (int i = 0; i < 3; i++) {
if (wait_for[i] > 0) {
int bitMask = 1 << serverIdx;
bitMask = ~bitMask;
wait_for[i] &= bitMask;
if (wait_for[i] == 0) { // a lock is released
SendMessage(lock_on_server[i], 25, patch::to_string(i), "");
}
}
}
mtx_wait_for.unlock();
SendMessage(serverIdx, 12, "", "");
return 2;
}
if (mode == 7)
{
// get length
int pos_mssg_length = recv_message_str.find(" ", pos_mode + 1);
int mssg_length = stoi(recv_message_str.substr(pos_mode + 1, pos_mssg_length - pos_mode - 1));
// store length into lengths array
mssgLengths[serverIdx] = mssg_length;
return 7;
} else if (mode == 20) {
// key
int pos_key = recv_message_str.find(" ", pos_mode + 1);
int new_node = stoi(recv_message_str.substr(pos_mode + 1, pos_key - pos_mode - 1));
// value
int old_node_mask = stoi(recv_message_str.substr(pos_key + 1));
// register lock
mtx_wait_for.lock();
wait_for[new_node] |= old_node_mask;
lock_on_server[new_node] = serverIdx;
// detect deadlock
if (detectDeadlock(new_node)) {
SendMessage(new_node, 26, "", "");
wait_for[new_node] = 0;
}
mtx_wait_for.unlock();
return 20;
}
return -1;
}
bool detectDeadlock(int new_node) {
bool visited[3] = {false};
for (int i = 0; i < 3; i++) { // 1
cout<<"wait_for "<<i<<" "<<wait_for[i]<<endl;
}
std::stack<int> mystack;
mystack.push(new_node);
while (!mystack.empty()) {
int lastNode = mystack.top();
if (lastNode == -1) {
mystack.pop();
lastNode = mystack.top();
visited[lastNode] = false;
mystack.pop();
} else {
visited[lastNode] = true;
mystack.push(-1);
for (int i = 0; i < 3; i++) {
if ((wait_for[lastNode] & (1 << i)) != 0) {
if (visited[i]) return true; // cycle detected
else {
mystack.push(i);
}
}
}
}
}
return false;
}
void* initializeClient(void*){
pthread_t messageThreads[vmNum];
long idxes[vmNum];
// when it is its turn to connect
for (int j = 0; j <= 7; j++) {
// good
idxes[j] = j;
int rc = pthread_create(&messageThreads[j], NULL, buildConnection, (void *)idxes[j]);
if (rc){
std::cerr << "[ERROR] [server] unable to create thread," << rc << std::endl;
exit(-1);
}
}
pthread_exit(NULL);
}
void* buildConnection(void* param) {
long serverIdx = (long)param;
bool flag = true;
client_send_socket[serverIdx]=socket(PF_INET, SOCK_STREAM, 0);
if(client_send_socket[serverIdx] < 0) {
flag = false;
fprintf(stderr,"[ERROR] [client] Socket %ld creation failed in client...\n", serverIdx);
}
struct sockaddr_in address;
address.sin_family = AF_INET;
// set server address
if (localTest == 2) { // vm test
struct hostent *server;
string vm=patch::to_string(serverIdx + 1);
string server_name;
if (serverIdx == 9) server_name = "sp17-cs425-g17-10.cs.illinois.edu";
else server_name="sp17-cs425-g17-0" + vm + ".cs.illinois.edu";
char *server_name_char = (char *)alloca(server_name.size() + 1);
memcpy(server_name_char, server_name.c_str(), server_name.size() + 1);
server = gethostbyname(server_name_char);
if (server == NULL) {
fprintf(stderr,"[ERROR] no such host\n");
exit(0);
}
bcopy((char *)server->h_addr,
(char *)&address.sin_addr.s_addr,
server->h_length);
} else { // local test
address.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
}
address.sin_port = htons(portBase + serverRange * serverIdx + vmIndex);
while (flag) {
while (!vm_up[serverIdx]) {
usleep(1000);
continue;
}
client_send_socket[serverIdx]=socket(PF_INET, SOCK_STREAM, 0);
int res = connect(client_send_socket[serverIdx], (struct sockaddr*) &address, sizeof(struct sockaddr));
if (res < 0) {
} else {
if (verbose > 0)
fprintf(stderr,"[LOG-1] [clientAM %ld] Server connected ...\n", serverIdx);
while (res >= 0 && client_send_socket[serverIdx] > 0) {
sleep(1);
}
}
if (verbose > 0)
fprintf(stderr,"[LOG-1] [clientAM %ld] Server disconnected ...\n", serverIdx);
vm_up[serverIdx] = false;
}
pthread_exit(NULL);
}
// commandInput = user interface thread
void* commandInput(void*){
bool flag = true;
while(flag)
{
string commandStr;
getline(cin,commandStr);
if (commandStr[0] == 'v')
{
cerr<<version_code<<endl;
}
usleep(1000);
}
pthread_exit(NULL);
}
void* SendMessage(int receiver, int type, string key, string value){
stringstream sendStrSS;
switch(type)
{
case 12:
sendStrSS << 12 << ' ';
break;
case 25:
sendStrSS << 25 << ' ' << key;
break;
case 26:
sendStrSS << 26 << ' ';
break;
default:
break;
}
// partition string if too long
string sendStr = sendStrSS.str();
if (sendStr.length() > buffer_size - 10) {
int parts = (sendStr.length() - 1) / (buffer_size - 10) + 1;
// send length message first
stringstream lengthStrSS;
lengthStrSS << 7 << ' ' << parts << ' ';
char message_buffer[buffer_size];
bzero(message_buffer, buffer_size);
strcpy(message_buffer, lengthStrSS.str().c_str());
mtx_send_array[receiver].lock();
int res = send(client_send_socket[receiver], message_buffer, buffer_size, 0);
if(res < 0) cerr << "[ERROR] send (length message)" << endl;
// send message part by part
for (int i = 0; i < parts - 1; i++) {
bzero(message_buffer, buffer_size);
string partStr = sendStr.substr(i * (buffer_size - 10), (buffer_size - 10));
if (verbose > 1)
printf("[LOG-2] partStr[%d] : %s\n", i, partStr.c_str());
strcpy(message_buffer, partStr.c_str());
res = send(client_send_socket[receiver], message_buffer, buffer_size, 0);
if(res < 0) cerr << "[ERROR] send (parts message)" << endl;
usleep(1000); // v1
}
bzero(message_buffer, buffer_size);
strcpy(message_buffer, sendStr.substr((parts - 1) * (buffer_size - 10)).c_str());
if (verbose > 1)
printf("[LOG-2] partStr[last] : %s\n", sendStr.substr((parts - 1) * (buffer_size - 10)).c_str());
res = send(client_send_socket[receiver], message_buffer, buffer_size, 0);
if(res < 0) cerr << "[ERROR] send (last part)" << endl;
mtx_send_array[receiver].unlock();
} else {
char message_buffer[buffer_size];
bzero(message_buffer, buffer_size);
strcpy(message_buffer, sendStrSS.str().c_str());
mtx_send_array[receiver].lock();
int res = send(client_send_socket[receiver], message_buffer, buffer_size, 0);
if(res < 0) cerr << "[ERROR] send (single message)" << endl;
mtx_send_array[receiver].unlock();
}
} | [
"Jingnan1783@users.noreply.github.com"
] | Jingnan1783@users.noreply.github.com |
e085953c7d49a59e44e1210cd9da0d7a8d05f35e | fbb87d345d56801e51f51197073fac6d5cf6339e | /Chapter13SutraCopy/PMDRenderer.cpp | 6b1969ff047aa21295e6f9f8add11090fc6fb541 | [
"MIT"
] | permissive | monguri/directx12_samples | b9792de3359e9fad8cd006fdc751eb50ff27fbd5 | d03ddcdbe5f277cdc1db7e4f6ffcaaa85710bbce | refs/heads/master | 2021-05-26T09:05:01.379538 | 2020-05-13T12:27:07 | 2020-05-13T12:27:07 | 254,069,758 | 0 | 0 | null | 2020-04-08T11:33:53 | 2020-04-08T11:33:52 | null | SHIFT_JIS | C++ | false | false | 9,936 | cpp | #include "PMDRenderer.h"
#include "Dx12Wrapper.h"
#include "PMDActor.h"
#include <d3dcompiler.h>
using namespace Microsoft::WRL;
PMDRenderer::PMDRenderer(Dx12Wrapper& dx12) : _dx12(dx12)
{
HRESULT result = CreateRootSignature();
if (FAILED(result))
{
assert(false);
return;
}
result = CreateGraphicsPipeline();
if (FAILED(result))
{
assert(false);
return;
}
return;
}
HRESULT PMDRenderer::CreateRootSignature()
{
CD3DX12_DESCRIPTOR_RANGE descTblRange[5] = {}; // VS用のCBVとPS用のCBVとテクスチャ用のSRV
// SceneData b0
descTblRange[0].Init(
D3D12_DESCRIPTOR_RANGE_TYPE_CBV,
1,
0
);
// Transform b1
descTblRange[1].Init(
D3D12_DESCRIPTOR_RANGE_TYPE_CBV,
1,
1
);
// MaterialForHlsl b2
descTblRange[2].Init(
D3D12_DESCRIPTOR_RANGE_TYPE_CBV,
1,
2
);
// PS用の通常テクスチャとsphとspatとCLUT
descTblRange[3].Init(
D3D12_DESCRIPTOR_RANGE_TYPE_SRV,
4, // 通常テクスチャとsphとspatとCLUT
0
);
// シャドウマップ
descTblRange[4].Init(
D3D12_DESCRIPTOR_RANGE_TYPE_SRV,
1, // 通常テクスチャとsphとspatとCLUT
4
);
CD3DX12_ROOT_PARAMETER rootParams[4] = {};
rootParams[0].InitAsDescriptorTable(1, &descTblRange[0]); // SceneData
rootParams[1].InitAsDescriptorTable(1, &descTblRange[1]); // Transform
rootParams[2].InitAsDescriptorTable(2, &descTblRange[2]); // Material
rootParams[3].InitAsDescriptorTable(1, &descTblRange[4]); //
// サンプラ用のルートシグネチャ設定
CD3DX12_STATIC_SAMPLER_DESC samplerDescs[3] = {};
samplerDescs[0].Init(0);
samplerDescs[1].Init(
1,
D3D12_FILTER_ANISOTROPIC,
D3D12_TEXTURE_ADDRESS_MODE_CLAMP,
D3D12_TEXTURE_ADDRESS_MODE_CLAMP
);
samplerDescs[2].Init(
2,
D3D12_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR, // 比較結果をバイリニア補間
D3D12_TEXTURE_ADDRESS_MODE_CLAMP,
D3D12_TEXTURE_ADDRESS_MODE_CLAMP,
D3D12_TEXTURE_ADDRESS_MODE_CLAMP,
0.0f, // MipLODBias
1, // MaxAnisotoropy 深度傾斜を有効にする
D3D12_COMPARISON_FUNC_LESS_EQUAL // <= であれば1.0。そうでなければ0.0
);
// ルートシグネチャ作成
CD3DX12_ROOT_SIGNATURE_DESC rootSignatureDesc = {};
rootSignatureDesc.Init(
4,
rootParams,
3,
samplerDescs,
D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT
);
// TODO:これはグラフィックスパイプラインステートが完成したら解放されてもよい?
ComPtr<ID3DBlob> rootSigBlob = nullptr;
ComPtr<ID3DBlob> errorBlob = nullptr;
HRESULT result = D3D12SerializeRootSignature(
&rootSignatureDesc,
D3D_ROOT_SIGNATURE_VERSION_1_0,
&rootSigBlob,
&errorBlob
);
if (FAILED(result))
{
assert(false);
return result;
}
result = _dx12.Device()->CreateRootSignature(
0,
rootSigBlob->GetBufferPointer(),
rootSigBlob->GetBufferSize(),
IID_PPV_ARGS(_rootsignature.ReleaseAndGetAddressOf())
);
if (FAILED(result))
{
assert(false);
return result;
}
return result;
}
HRESULT PMDRenderer::CreateGraphicsPipeline()
{
// シェーダの準備
// TODO:これはグラフィックスパイプラインステートが完成したら解放されてもよい?
ComPtr<ID3DBlob> vsBlob = nullptr;
ComPtr<ID3DBlob> psBlob = nullptr;
ComPtr<ID3DBlob> errorBlob = nullptr;
HRESULT result = D3DCompileFromFile(
L"BasicVertexShader.hlsl",
nullptr,
D3D_COMPILE_STANDARD_FILE_INCLUDE,
"BasicVS",
"vs_5_0",
D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
0,
&vsBlob,
&errorBlob
);
if (!_dx12.CheckResult(result, errorBlob.Get())){
assert(false);
return result;
}
result = D3DCompileFromFile(
L"BasicPixelShader.hlsl",
nullptr,
D3D_COMPILE_STANDARD_FILE_INCLUDE,
"BasicPS",
"ps_5_0",
D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
0,
&psBlob,
&errorBlob
);
if (!_dx12.CheckResult(result, errorBlob.Get())){
assert(false);
return result;
}
// 頂点レイアウトの設定
D3D12_INPUT_ELEMENT_DESC posInputLayout;
posInputLayout.SemanticName = "POSITION";
posInputLayout.SemanticIndex = 0;
posInputLayout.Format = DXGI_FORMAT_R32G32B32_FLOAT;
posInputLayout.InputSlot = 0;
posInputLayout.AlignedByteOffset = D3D12_APPEND_ALIGNED_ELEMENT;
posInputLayout.InputSlotClass = D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA;
posInputLayout.InstanceDataStepRate = 0;
D3D12_INPUT_ELEMENT_DESC normalInputLayout;
normalInputLayout.SemanticName = "NORMAL";
normalInputLayout.SemanticIndex = 0;
normalInputLayout.Format = DXGI_FORMAT_R32G32B32_FLOAT;
normalInputLayout.InputSlot = 0;
normalInputLayout.AlignedByteOffset = D3D12_APPEND_ALIGNED_ELEMENT;
normalInputLayout.InputSlotClass = D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA;
normalInputLayout.InstanceDataStepRate = 0;
D3D12_INPUT_ELEMENT_DESC texcoordInputLayout;
texcoordInputLayout.SemanticName = "TEXCOORD";
texcoordInputLayout.SemanticIndex = 0;
texcoordInputLayout.Format = DXGI_FORMAT_R32G32_FLOAT;
texcoordInputLayout.InputSlot = 0;
texcoordInputLayout.AlignedByteOffset = D3D12_APPEND_ALIGNED_ELEMENT;
texcoordInputLayout.InputSlotClass = D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA;
texcoordInputLayout.InstanceDataStepRate = 0;
D3D12_INPUT_ELEMENT_DESC bonenoInputLayout;
bonenoInputLayout.SemanticName = "BONE_NO";
bonenoInputLayout.SemanticIndex = 0;
bonenoInputLayout.Format = DXGI_FORMAT_R16G16_UINT;
bonenoInputLayout.InputSlot = 0;
bonenoInputLayout.AlignedByteOffset = D3D12_APPEND_ALIGNED_ELEMENT;
bonenoInputLayout.InputSlotClass = D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA;
bonenoInputLayout.InstanceDataStepRate = 0;
D3D12_INPUT_ELEMENT_DESC weightInputLayout;
weightInputLayout.SemanticName = "WEIGHT";
weightInputLayout.SemanticIndex = 0;
weightInputLayout.Format = DXGI_FORMAT_R8_UINT;
weightInputLayout.InputSlot = 0;
weightInputLayout.AlignedByteOffset = D3D12_APPEND_ALIGNED_ELEMENT;
weightInputLayout.InputSlotClass = D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA;
weightInputLayout.InstanceDataStepRate = 0;
D3D12_INPUT_ELEMENT_DESC edgeflgInputLayout;
edgeflgInputLayout.SemanticName = "EDGE_FLG";
edgeflgInputLayout.SemanticIndex = 0;
edgeflgInputLayout.Format = DXGI_FORMAT_R8_UINT;
edgeflgInputLayout.InputSlot = 0;
edgeflgInputLayout.AlignedByteOffset = D3D12_APPEND_ALIGNED_ELEMENT;
edgeflgInputLayout.InputSlotClass = D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA;
edgeflgInputLayout.InstanceDataStepRate = 0;
D3D12_INPUT_ELEMENT_DESC inputLayouts[] = {
posInputLayout,
normalInputLayout,
texcoordInputLayout,
bonenoInputLayout,
weightInputLayout,
edgeflgInputLayout,
};
// グラフィックスパイプラインステート作成
D3D12_GRAPHICS_PIPELINE_STATE_DESC gpipeline = {};
gpipeline.pRootSignature = _rootsignature.Get();
gpipeline.VS = CD3DX12_SHADER_BYTECODE(vsBlob.Get());
gpipeline.PS = CD3DX12_SHADER_BYTECODE(psBlob.Get());
gpipeline.SampleMask = D3D12_DEFAULT_SAMPLE_MASK;
gpipeline.RasterizerState = CD3DX12_RASTERIZER_DESC(D3D12_DEFAULT);
gpipeline.RasterizerState.CullMode = D3D12_CULL_MODE_NONE;
gpipeline.DepthStencilState.DepthEnable = true;
gpipeline.DepthStencilState.StencilEnable = false;
gpipeline.DSVFormat = DXGI_FORMAT_D32_FLOAT;
gpipeline.DepthStencilState.DepthFunc = D3D12_COMPARISON_FUNC_LESS;
gpipeline.DepthStencilState.DepthWriteMask = D3D12_DEPTH_WRITE_MASK_ALL;
gpipeline.BlendState = CD3DX12_BLEND_DESC(D3D12_DEFAULT);
gpipeline.InputLayout.pInputElementDescs = inputLayouts;
gpipeline.InputLayout.NumElements = _countof(inputLayouts);
gpipeline.IBStripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED;
gpipeline.PrimitiveTopologyType = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE;
gpipeline.NumRenderTargets = 1;
gpipeline.RTVFormats[0] = DXGI_FORMAT_R8G8B8A8_UNORM;
gpipeline.SampleDesc.Count = 1;
gpipeline.SampleDesc.Quality = 0;
result = _dx12.Device()->CreateGraphicsPipelineState(&gpipeline, IID_PPV_ARGS(_pls.ReleaseAndGetAddressOf()));
if (FAILED(result))
{
assert(false);
return result;
}
// シャドウマップ描画パイプライン作成
result = D3DCompileFromFile(
L"BasicVertexShader.hlsl",
nullptr,
D3D_COMPILE_STANDARD_FILE_INCLUDE,
"ShadowVS",
"vs_5_0",
D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION,
0,
&vsBlob,
&errorBlob
);
if (!_dx12.CheckResult(result, errorBlob.Get())){
assert(false);
return result;
}
// ピクセルシェーダ不要
gpipeline.VS = CD3DX12_SHADER_BYTECODE(vsBlob.Get());
gpipeline.PS.BytecodeLength = 0;
gpipeline.PS.pShaderBytecode = nullptr;
// レンダーターゲット不要
gpipeline.NumRenderTargets = 0;
gpipeline.RTVFormats[0] = DXGI_FORMAT_UNKNOWN;
result = _dx12.Device()->CreateGraphicsPipelineState(&gpipeline, IID_PPV_ARGS(_plsShadow.ReleaseAndGetAddressOf()));
if (FAILED(result))
{
assert(false);
return result;
}
return result;
}
void PMDRenderer::AddActor(std::shared_ptr<class PMDActor> actor)
{
_actors.emplace_back(actor);
}
void PMDRenderer::Update()
{
for (const std::shared_ptr<PMDActor>& actor : _actors)
{
actor->Update();
}
}
void PMDRenderer::BeforeDraw()
{
_dx12.CommandList()->SetPipelineState(_pls.Get());
_dx12.CommandList()->SetGraphicsRootSignature(_rootsignature.Get());
_dx12.CommandList()->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
}
void PMDRenderer::BeforeDrawFromLight()
{
_dx12.CommandList()->SetPipelineState(_plsShadow.Get());
_dx12.CommandList()->SetGraphicsRootSignature(_rootsignature.Get());
_dx12.CommandList()->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
}
void PMDRenderer::Draw()
{
bool isShadow = false;
for (const std::shared_ptr<PMDActor>& actor : _actors)
{
actor->Draw(isShadow);
}
}
void PMDRenderer::DrawFromLight()
{
bool isShadow = true;
for (const std::shared_ptr<PMDActor>& actor : _actors)
{
actor->Draw(isShadow);
}
}
void PMDRenderer::AnimationStart()
{
for (const std::shared_ptr<PMDActor>& actor : _actors)
{
actor->StartAnimation();
}
}
| [
"mongry@gmail.com"
] | mongry@gmail.com |
8c526ede5fdd8996b89860cfdc868ed9c4c44934 | 7d9d5c07efd739d57ce2345323e99c75ca6e1763 | /DNN_V2/cpp/activation_func_test.cpp | 3ec1826ccaa5a369eb9fa3b191d89798983099f8 | [] | no_license | minsukji/ML_Programming | 6cf41a4fb90c69944c0c9abceb5e242007368fbc | 91e45fc6e82a68921933b86263adb3314bf219ea | refs/heads/master | 2020-04-15T15:09:34.913002 | 2019-03-09T01:31:08 | 2019-03-09T01:31:08 | 164,782,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,626 | cpp | #include <Eigen/Core>
#include "catch.hpp"
#include "activation_func.h"
using Eigen::MatrixXf;
TEST_CASE("sigmoid function is computed", "[sigmoid]") {
MatrixXf Z(2,4);
Z << -2.0f, -0.001f, 0.0002f, 2.0f, -1.23f, 0.0f, 0.74f, 2.6f;
MatrixXf correct_answer(2,4);
correct_answer << 0.119202922022118f, 0.499750000020833f, 0.500049999999833f, 0.880797077977882f,
0.226181425730546f, 0.500000000000000f, 0.676995856238523f, 0.930861579656653f;
REQUIRE(correct_answer.isApprox(Sigmoid(Z), 1.0e-7));
}
TEST_CASE("relu function is computed", "[relu]") {
MatrixXf Z(2,4);
Z << -1.23f, -1e-7, 1e-8, 0.74f, -0.001f, 0.0f, 2e-4, 2.6f;
MatrixXf correct_answer(2,4);
correct_answer << 0.0f, 0.0f, 1e-8, 0.74f, 0.0f, 0.0f, 2e-4, 2.6f;
REQUIRE(correct_answer.isApprox(Relu(Z), 1.0e-7));
}
TEST_CASE("derivative of sigmoid is computed", "[sigmoidBackward]") {
MatrixXf A(2,4), dA(2,4);
A << 0.2f, 1.3f, -0.3f, -1e-5, -0.001f, 2e-4, 1e-6, -1e-3;
dA << 2.0f, -1.2f, -7.0f, 1.5f, -3.34f, 1.1f, 2.3f, -75.0f;
MatrixXf correct_answer(2,4);
correct_answer << 3.2e-1, 4.68e-1, 2.73f, -1.5e-5, 3.3433e-3, 2.1996e-4, 2.3e-6, 7.5075e-2;
REQUIRE(correct_answer.isApprox(SigmoidBackward(dA, A), 1.0e-7));
}
TEST_CASE("derivative of relu is computed", "[reluBackward]") {
MatrixXf Z(2,4), dA(2,4);
Z << -1.23f, -1e-7, 1e-8, 0.74f, -0.001f, 0.0f, 2e-4, 2.6f;
dA << 2.0f, -1.2f, -7.0f, 1.5f, -3.34f, 1.1f, 2.3f, -75.0f;
MatrixXf correct_answer(2,4);
correct_answer << 0.0f, 0.0f, -7.0f, 1.5f, 0.0f, 0.0f, 2.3f, -75.0f;
REQUIRE(correct_answer.isApprox(ReluBackward(dA, Z), 1.0e-7));
}
| [
"minsuk.ji@gmail.com"
] | minsuk.ji@gmail.com |
09c870adfb280bbae84c7e22a11bbb990b20389b | 41b8ff0df332db314af269ce7f6f1e92f91a5e43 | /src/dawn_native/Instance.cpp | d7589870d429c458976fd25e378dd1e762af358f | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | skyvoid123/google-dawn-mobile | 21367c489ce12f45f96aaf75413ee6d15f4d4950 | dc3317da6cd5242e525d3230516cfd2bbff25fe9 | refs/heads/master | 2020-09-28T12:03:29.371391 | 2019-12-06T18:21:39 | 2019-12-06T18:21:39 | 226,775,370 | 0 | 0 | Apache-2.0 | 2019-12-09T03:20:05 | 2019-12-09T03:20:04 | null | UTF-8 | C++ | false | false | 7,076 | cpp | // Copyright 2018 The Dawn Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "dawn_native/Instance.h"
#include "common/Assert.h"
#include "common/Log.h"
#include "dawn_native/ErrorData.h"
namespace dawn_native {
// Forward definitions of each backend's "Connect" function that creates new BackendConnection.
// Conditionally compiled declarations are used to avoid using static constructors instead.
#if defined(DAWN_ENABLE_BACKEND_D3D12)
namespace d3d12 {
BackendConnection* Connect(InstanceBase* instance);
}
#endif // defined(DAWN_ENABLE_BACKEND_D3D12)
#if defined(DAWN_ENABLE_BACKEND_METAL)
namespace metal {
BackendConnection* Connect(InstanceBase* instance);
}
#endif // defined(DAWN_ENABLE_BACKEND_METAL)
#if defined(DAWN_ENABLE_BACKEND_NULL)
namespace null {
BackendConnection* Connect(InstanceBase* instance);
}
#endif // defined(DAWN_ENABLE_BACKEND_NULL)
#if defined(DAWN_ENABLE_BACKEND_OPENGL)
namespace opengl {
BackendConnection* Connect(InstanceBase* instance);
}
#endif // defined(DAWN_ENABLE_BACKEND_OPENGL)
#if defined(DAWN_ENABLE_BACKEND_VULKAN)
namespace vulkan {
BackendConnection* Connect(InstanceBase* instance);
}
#endif // defined(DAWN_ENABLE_BACKEND_VULKAN)
// InstanceBase
void InstanceBase::DiscoverDefaultAdapters() {
EnsureBackendConnections();
if (mDiscoveredDefaultAdapters) {
return;
}
// Query and merge all default adapters for all backends
for (std::unique_ptr<BackendConnection>& backend : mBackends) {
std::vector<std::unique_ptr<AdapterBase>> backendAdapters =
backend->DiscoverDefaultAdapters();
for (std::unique_ptr<AdapterBase>& adapter : backendAdapters) {
ASSERT(adapter->GetBackendType() == backend->GetType());
ASSERT(adapter->GetInstance() == this);
mAdapters.push_back(std::move(adapter));
}
}
mDiscoveredDefaultAdapters = true;
}
// This is just a wrapper around the real logic that uses Error.h error handling.
bool InstanceBase::DiscoverAdapters(const AdapterDiscoveryOptionsBase* options) {
return !ConsumedError(DiscoverAdaptersInternal(options));
}
const ToggleInfo* InstanceBase::GetToggleInfo(const char* toggleName) {
return mTogglesInfo.GetToggleInfo(toggleName);
}
Toggle InstanceBase::ToggleNameToEnum(const char* toggleName) {
return mTogglesInfo.ToggleNameToEnum(toggleName);
}
const ExtensionInfo* InstanceBase::GetExtensionInfo(const char* extensionName) {
return mExtensionsInfo.GetExtensionInfo(extensionName);
}
Extension InstanceBase::ExtensionNameToEnum(const char* extensionName) {
return mExtensionsInfo.ExtensionNameToEnum(extensionName);
}
ExtensionsSet InstanceBase::ExtensionNamesToExtensionsSet(
const std::vector<const char*>& requiredExtensions) {
return mExtensionsInfo.ExtensionNamesToExtensionsSet(requiredExtensions);
}
const std::vector<std::unique_ptr<AdapterBase>>& InstanceBase::GetAdapters() const {
return mAdapters;
}
void InstanceBase::EnsureBackendConnections() {
if (mBackendsConnected) {
return;
}
auto Register = [this](BackendConnection* connection, BackendType expectedType) {
if (connection != nullptr) {
ASSERT(connection->GetType() == expectedType);
ASSERT(connection->GetInstance() == this);
mBackends.push_back(std::unique_ptr<BackendConnection>(connection));
}
};
#if defined(DAWN_ENABLE_BACKEND_D3D12)
Register(d3d12::Connect(this), BackendType::D3D12);
#endif // defined(DAWN_ENABLE_BACKEND_D3D12)
#if defined(DAWN_ENABLE_BACKEND_METAL)
Register(metal::Connect(this), BackendType::Metal);
#endif // defined(DAWN_ENABLE_BACKEND_METAL)
#if defined(DAWN_ENABLE_BACKEND_VULKAN)
Register(vulkan::Connect(this), BackendType::Vulkan);
#endif // defined(DAWN_ENABLE_BACKEND_VULKAN)
#if defined(DAWN_ENABLE_BACKEND_OPENGL)
Register(opengl::Connect(this), BackendType::OpenGL);
#endif // defined(DAWN_ENABLE_BACKEND_OPENGL)
#if defined(DAWN_ENABLE_BACKEND_NULL)
Register(null::Connect(this), BackendType::Null);
#endif // defined(DAWN_ENABLE_BACKEND_NULL)
mBackendsConnected = true;
}
ResultOrError<BackendConnection*> InstanceBase::FindBackend(BackendType type) {
for (std::unique_ptr<BackendConnection>& backend : mBackends) {
if (backend->GetType() == type) {
return backend.get();
}
}
return DAWN_VALIDATION_ERROR("Backend isn't present.");
}
MaybeError InstanceBase::DiscoverAdaptersInternal(const AdapterDiscoveryOptionsBase* options) {
EnsureBackendConnections();
BackendConnection* backend;
DAWN_TRY_ASSIGN(backend, FindBackend(options->backendType));
std::vector<std::unique_ptr<AdapterBase>> newAdapters;
DAWN_TRY_ASSIGN(newAdapters, backend->DiscoverAdapters(options));
for (std::unique_ptr<AdapterBase>& adapter : newAdapters) {
ASSERT(adapter->GetBackendType() == backend->GetType());
ASSERT(adapter->GetInstance() == this);
mAdapters.push_back(std::move(adapter));
}
return {};
}
bool InstanceBase::ConsumedError(MaybeError maybeError) {
if (maybeError.IsError()) {
ErrorData* error = maybeError.AcquireError();
ASSERT(error != nullptr);
dawn::InfoLog() << error->GetMessage();
delete error;
return true;
}
return false;
}
void InstanceBase::EnableBackendValidation(bool enableBackendValidation) {
mEnableBackendValidation = enableBackendValidation;
}
bool InstanceBase::IsBackendValidationEnabled() const {
return mEnableBackendValidation;
}
void InstanceBase::EnableBeginCaptureOnStartup(bool beginCaptureOnStartup) {
mBeginCaptureOnStartup = beginCaptureOnStartup;
}
bool InstanceBase::IsBeginCaptureOnStartupEnabled() const {
return mBeginCaptureOnStartup;
}
void InstanceBase::SetPlatform(dawn_platform::Platform* platform) {
mPlatform = platform;
}
dawn_platform::Platform* InstanceBase::GetPlatform() const {
return mPlatform;
}
} // namespace dawn_native
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e309b446cebb8059ba9b043cccecde9cfb025b7f | 69dd4bd4268e1c361d8b8d95f56b5b3f5264cc96 | /GPU Pro1/10_Beyond Pixels & Triangles/05_Real-Time Interaction between Particles and Dynamic Mesh on GPU/DVD/Code/Common/Src/FileHelpers.h | 92df63bfd6a819492feb97b92bee9e3d196fce7d | [
"MIT"
] | permissive | AnabaenaQing/Source-Code_ShaderX_GPU-Pro_GPU-Zen | 65c16710d1abb9207fd7e1116290336a64ddfc86 | f442622273c6c18da36b61906ec9acff3366a790 | refs/heads/master | 2022-12-15T00:40:42.931271 | 2020-09-07T16:48:25 | 2020-09-07T16:48:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,720 | h | #ifndef COMMON_FILEHELPERS_H_INCLUDED
#define COMMON_FILEHELPERS_H_INCLUDED
#include "Math/Src/Forw.h"
#include "WrapSys/Src/Forw.h"
#include "WrapSys/Src/File.h"
namespace Mod
{
RFilePtr CreateRFile( const String& fileName );
WFilePtr CreateFileAndPath( const String& fileName );
String GetRelativePath( const String& path );
String GetRelativePath( const String& base, const String& path );
bool ArePathesEqual( const String& path1, const String& path2 );
FileStamp GetFileStamp( const String& fileName );
FileStamp GetFileStamp( const RFilePtr& file );
FileStamp GetFileStamp( const WFilePtr& file );
Strings GatherFileNames( const String& path, const String& wildCard );
void ReadBytes( const String& fileName, Bytes& oBytes );
Math::BBox ReadBBoxFromFile( const RFilePtr& file );
void FilePrintf( const WFilePtr& file, const WCHAR* fmt, ... );
void FileAnsiPrintf( const WFilePtr& file, const CHAR* fmt, ... );
void FileRead( const RFilePtr& file, String& oStr );
void FileWrite( const WFilePtr& file, const String& str );
//------------------------------------------------------------------------
template< typename T >
void FileWrite( const WFilePtr& file, const T& val )
{
file->Write( val );
}
//------------------------------------------------------------------------
template< typename T >
void FileRead( const RFilePtr& file, T& val )
{
file->Read( val );
}
//------------------------------------------------------------------------
template <typename C>
void FileWriteContainer( const WFilePtr& file, const C& c )
{
for( C::const_iterator i = c.begin(), e = c.end(); i != e; ++i )
{
FileWrite( file, *i );
}
}
//------------------------------------------------------------------------
template <typename C>
void FileReadContainer( const RFilePtr& file, UINT32 size, C& oC )
{
oC.resize( size );
for( C::iterator i = oC.begin(), e = oC.end(); i != e; ++i )
{
FileRead( file, *i );
}
}
//------------------------------------------------------------------------
template <typename M>
void FileWriteMap( const WFilePtr& file, const M& m )
{
UINT64 size = m.size();
file->Write( size );
for( M::const_iterator i = m.begin(), e = m.end(); i != e; ++i )
{
FileWrite( file, i->first );
FileWrite( file, i->second );
}
}
//------------------------------------------------------------------------
template <typename M>
void FileReadMap( const RFilePtr& file, M& m )
{
UINT64 size;
file->Read( size );
for( UINT64 i = 0; i < size; i ++ )
{
typename M::key_type key;
typename M::mapped_type val;
FileRead( file, key );
FileRead( file, val );
m[ key ] = val;
}
}
}
#endif | [
"IRONKAGE@gmail.com"
] | IRONKAGE@gmail.com |
60576351525bd3d6ecf6b33e2c2ed27fbbb1246e | 683bef07697b89575847b5ce1fec801cdc48734b | /DetectStraitOrNot.cpp | 45588d03d06da379f96855b9f2326c253c6d7c3c | [] | no_license | athelare/OpenCV_Hello | edb6b95733f5002a2071b05cd97bbf13ec1469d6 | bb0cc7897387377b7f944b15080289e2203e14a4 | refs/heads/master | 2023-07-16T16:26:18.329961 | 2021-09-08T07:13:52 | 2021-09-08T07:13:52 | 394,564,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,176 | cpp | //
// Created by Jiyu_ on 2021/8/2.
//
#include "main.h"
#include "../cv_target_vision/src/utils.h"
#include <iostream>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
ObjectPointFinder* of = nullptr;
struct ROIElement{
bool roiGot;
bool drawing;
Point pt1, pt2;
Rect rect;
int firstRowCol{};
Mat firstRowTemplate;
vector<Point> chosenPoints;
vector<Point> lastPointPosition;
vector<Mat> chosenPointsPat;
ROIElement(): roiGot(false), drawing(false), pt1(0, 0),
pt2(0, 0), rect(), chosenPoints(), lastPointPosition(){}
void clearROI(){
//pt2 = pt1;
roiGot = false;
}
void addChosenPoints(int x, int y){
chosenPoints.emplace_back(x, y);
}
void popChosenPoints(){
if(!chosenPoints.empty()){
chosenPoints.pop_back();
lastPointPosition.pop_back();
}
}
bool validROI() const{
return pt1.x != pt2.x && pt1.y != pt2.y;
}
Rect cornerPoints(){
return rect = Rect(Point(max(min(pt1.x, pt2.x), 0), max(min(pt1.y, pt2.y), 0)),
Point(max(pt1.x, pt2.x), max(pt1.y, pt2.y)));
}
static int getMinDiffCol(const uchar* frameRow1, const uchar* frameRow2, int startCol1, int startCol2, int width, int range){
int minDiff = 55555555, minDiffCol = 0;
uchar p1, p2;
for (int col = startCol2 - range; col < startCol2 + range; ++col){
int curDiff = 0;
for(int i=0;i<width;++i){
p1 = frameRow1[startCol1 + i];
p2 = frameRow2[col + i];
int sqrtValue = (p1 > p2) ? (p1 - p2) : (p2 - p1);
curDiff += sqrtValue * sqrtValue;
}
if (curDiff < minDiff) {
minDiff = curDiff;
minDiffCol = col;
}
}
return minDiffCol;
}
vector<Point> getVerticalLine(const Mat& frameGray){
uchar *frameRow1, *frameRow2, p1, p2;
Rect selectedArea = cv::Rect(this->rect.tl(), this->rect.br());
vector<Point>res;
this->clearROI();
//std::cout << selectedArea << std::endl;
if(this->drawing) {
firstRowCol = selectedArea.x;
firstRowTemplate = frameGray(Rect(Point(0, selectedArea.y), Size(frameGray.cols, 1))).clone();
}
else{
int minDiff = 55555555, minDiffCol = 0;
frameRow1 = firstRowTemplate.data;
frameRow2 = frameGray.data + frameGray.step * selectedArea.y;
firstRowCol = getMinDiffCol(frameRow1, frameRow2, selectedArea.x, firstRowCol, selectedArea.width, selectedArea.width);
}
res.emplace_back(firstRowCol + this->rect.width/2, selectedArea.y);
frameRow1 = frameGray.data + frameGray.step * selectedArea.y;
int lastRowCol = firstRowCol;
for(int row = selectedArea.y + 1; row < selectedArea.br().y; ++row){
frameRow2 = frameGray.data + frameGray.step * row;
lastRowCol = getMinDiffCol(frameRow1, frameRow2, firstRowCol, lastRowCol, selectedArea.width, 5);
res.emplace_back(lastRowCol + this->rect.width/2, row);
}
//this->lastColPosition = vector<int>(this->initialColPosition.begin(), this->initialColPosition.end());
return res;
}
};
void mouseHandlerROI(int event, int x, int y, int flags, void* param){
if(!param)return;
auto* roi = (ROIElement*)param;
if(event == cv::EVENT_LBUTTONDOWN){
roi->roiGot = false;
roi->drawing = true;
roi->pt2 = roi->pt1 = cv::Point(x, y);
}else if(roi->drawing && event == cv::EVENT_MOUSEMOVE){
roi->pt2 = cv::Point(x, y);
roi->cornerPoints();
}else if(roi->drawing && event == cv::EVENT_LBUTTONUP){
roi->drawing = false;
roi->pt2 = cv::Point(x, y);
if(roi->validROI()){
roi->roiGot = true;
roi->cornerPoints();
}
}else if(event == cv::EVENT_RBUTTONDOWN){
roi->addChosenPoints(x, y);
}else if(event == cv::EVENT_MBUTTONDOWN && of){
of->findPoint(x, y);
cout << "(" << of->retAddr()[0] << ", " << of->retAddr()[1] << ")" << endl;
}
}
bool polynomial_curve_fit(std::vector<cv::Point>& key_point, int n, cv::Mat& A)
{
//Number of key points
int N = key_point.size();
//Construct matrix X
cv::Mat X = cv::Mat::zeros(n + 1, n + 1, CV_64FC1);
for (int i = 0; i < n + 1; i++)
{
for (int j = 0; j < n + 1; j++)
{
for (int k = 0; k < N; k++)
{
X.at<double>(i, j) = X.at<double>(i, j) +
std::pow(key_point[k].x, i + j);
}
}
}
//Construct matrix Y
cv::Mat Y = cv::Mat::zeros(n + 1, 1, CV_64FC1);
for (int i = 0; i < n + 1; i++)
{
for (int k = 0; k < N; k++)
{
Y.at<double>(i, 0) = Y.at<double>(i, 0) +
std::pow(key_point[k].x, i) * key_point[k].y;
}
}
A = cv::Mat::zeros(n + 1, 1, CV_64FC1);
//Solve matrix A
cv::solve(X, Y, A, cv::DECOMP_LU);
return true;
}
Point2f getNearestCornerPosition(Mat&gray){
Mat binary, bgrGray;
vector<Point2f>corners;
double minDistance = 100000.0;
Point2f minPoint;
TermCriteria tc = TermCriteria(TermCriteria::EPS + TermCriteria::MAX_ITER, 40, 0.001);
//threshold(gray, binary, 100, 255, THRESH_OTSU);
goodFeaturesToTrack(gray, corners, 5, 0.01, 4, Mat(), 3, false, 0.04);
if(corners.empty()){
return {(float)gray.cols/2, (float)gray.rows/2};
}
cornerSubPix(gray, corners, Size(5,5), Size(-1,-1), tc);
cv::Point2f center = cv::Point(gray.cols/2, gray.rows/2);
cvtColor(gray, bgrGray, COLOR_GRAY2BGR);
for(const auto&corner: corners){
circle(bgrGray, Point(corner.x, corner.y), 1, Scalar(0, 0, 255), 2);
double dis = sqrt((corner.x-center.x)*(corner.x-center.x) + (corner.y-center.y)*(corner.y-center.y));
if(dis < minDistance){
minDistance = dis;
minPoint = corner;
}
}
imshow("asd1", bgrGray);
//cout << minPoint << endl;
return minPoint;
};
int DetectStraitOrNot(){
const char ESC_KEY = 27;
const char ENTER_KEY = 13;
const char BACK_SPACE = 8;
const Scalar COLOR_RED(0, 0, 255);
const Scalar COLOR_GREEN(0, 255, 0);
const Scalar COLOR_BLUE(255, 0, 0);
// Camera
//DVPFrameCapture cap;
VideoCapture cap(1);
cv::Mat frame, img, uFrame, frameGray;
cv::Mat cameraMatrix, distCoeffs;
int imageWidth, imageHeight;
cv::FileStorage fs("out_camera_data_dvp_5MP_12mm.yml", cv::FileStorage::READ);
fs["camera_matrix"] >> cameraMatrix;
fs["distortion_coefficients"] >> distCoeffs;
fs["image_width"] >> imageWidth;
fs["image_height"] >> imageHeight;
fs.release();
//Region of Interest
ROIElement roi;
cv::namedWindow("asd");
cv::setMouseCallback("asd", mouseHandlerROI, &roi);
double *objPosition;
LocationParams locationParams;
//cv::Mat templateFrame;
cv::Rect selectedArea;
bool verticalLineDetect = false;
cv::Mat A;
char tmpStr[64];
while(true){
cap.read(frame);
cvtColor(frame, frameGray, cv::COLOR_BGR2GRAY);
// 检测直线与检测点
if(roi.validROI()) {
vector<Point> linePoints = roi.getVerticalLine(frameGray);
Point leftP(roi.firstRowCol, roi.rect.y), rightP(roi.firstRowCol + roi.rect.width, roi.rect.y);
line(frame, leftP + Point(0, 5), leftP + Point(0, -5), COLOR_RED, 2);
line(frame, rightP + Point(0, 5), rightP + Point(0, -5), COLOR_RED, 2);
line(frame, leftP, rightP, COLOR_RED, 2);
polylines(frame, linePoints, false, COLOR_GREEN, 2);
std::vector<cv::Point> newPointsReverse;
newPointsReverse.reserve(linePoints.size());
for (const auto& p:linePoints) {
newPointsReverse.emplace_back(p.y, p.x);
}
polynomial_curve_fit(newPointsReverse, 1, A);
// std::cout << "A = " << A << std::endl;
sprintf(tmpStr, "X = %.4lf * Y + %.2lf", A.at<double>(1, 0), A.at<double>(0, 0));
cv::putText(frame, tmpStr, linePoints[0], 1, 3, cv::Scalar(0, 0, 255), 3);
}
// 使用模板图匹配确定区域,距离区域中心最近的角点作为目标点
int fieldHalfSize = 80;
int patHalfSize = 25;
Point patQuarterSquare(patHalfSize, patHalfSize);
bool useCorner = false;
for(int i = 0; i < roi.chosenPoints.size(); ++i) {
if(roi.chosenPointsPat.size() <= i){
if(useCorner){
Point offset(roi.chosenPoints[i] - patQuarterSquare);
Mat templatePart = frameGray(Rect(roi.chosenPoints[i] - patQuarterSquare, roi.chosenPoints[i] + patQuarterSquare));
Point centerPoint = getNearestCornerPosition(templatePart);
roi.lastPointPosition.emplace_back(offset + centerPoint);
roi.chosenPoints[i] = roi.lastPointPosition.back();
roi.chosenPointsPat.emplace_back(frameGray(Rect(roi.chosenPoints[i] - patQuarterSquare, roi.chosenPoints[i] + patQuarterSquare)).clone());
}else{
roi.chosenPointsPat.emplace_back(frameGray(Rect(roi.chosenPoints[i] - patQuarterSquare, roi.chosenPoints[i] + patQuarterSquare)).clone());
roi.lastPointPosition.emplace_back(roi.chosenPoints[i]);
}
//cout << ROISelector::selectPoints[i] << " " << lastPointPosition[i] << endl;
}
Mat res;
double minVal, maxVal;
Point minLoc, maxLoc;
Point offset2(roi.lastPointPosition[i].x - fieldHalfSize, roi.lastPointPosition[i].y - fieldHalfSize);
Mat field = frameGray(cv::Rect(offset2, cv::Size(2 * fieldHalfSize, 2 * fieldHalfSize)));
matchTemplate(field, roi.chosenPointsPat[i], res, cv::TM_CCOEFF);
minMaxLoc(res, &minVal, &maxVal, &minLoc, &maxLoc);
rectangle(frame, offset2, offset2 + Point(fieldHalfSize * 2, fieldHalfSize * 2), COLOR_BLUE, 2);
rectangle(frame, offset2 + maxLoc, offset2 + maxLoc + Point(patHalfSize * 2, patHalfSize * 2),
COLOR_RED, 2);
if(useCorner){
Mat matchPart = frameGray(Rect(offset2 + maxLoc, Size(2 * patHalfSize, 2 * patHalfSize)));
roi.lastPointPosition[i] = (Point) getNearestCornerPosition(matchPart) + offset2 + maxLoc;
} else {
roi.lastPointPosition[i] = offset2 + maxLoc + patQuarterSquare;
}
//imshow("asd3", matchPart);
cv::circle(frame, roi.lastPointPosition[i], 2, cv::Scalar(0, 255, 0), 2);
if (!of) {
sprintf(tmpStr, " (%d, %d)", roi.lastPointPosition[i].x, roi.lastPointPosition[i].y);
} else {
of->findPoint(roi.lastPointPosition[i].x, roi.lastPointPosition[i].y);
sprintf(tmpStr, " (%.2lfmm, %.2lfmm)", objPosition[0], objPosition[1]);
}
cv::putText(frame, tmpStr, roi.lastPointPosition[i], 1, 3, cv::Scalar(0, 0, 255), 3);
}
//cv::resize(frame, img, cv::Size(1224, 1024));
cv::imshow("asd", frame);
int key = cv::waitKey(30);
if(key == ESC_KEY)break;
else if(key == BACK_SPACE){
roi.popChosenPoints();
}
else if(key == ENTER_KEY){
cap.read(frame);
bool status = calcExParameters("out_camera_data_dvp_5MP_12mm.yml", frame, "calc_params.yml", 8, 5, 30);
if(status){
fs.open("calc_params.yml", FileStorage::READ);
if(!fs.isOpened()){
cout << "Cannot open locationParams file." << endl;
return -1;
}
fs["location_params"] >> locationParams;
fs.release();
if(!locationParams.validate()){
cout << "Location parameters not provided completely. Exit." << endl;
return -1;
}
of = new ObjectPointFinder(cameraMatrix, distCoeffs, locationParams.getExMatrix(), locationParams.getB());
objPosition = of->retAddr();
}
// remap(frame, uFrame, map1, map2, cv::INTER_LINEAR);
// cv::resize(uFrame, img, cv::Size(1224, 1024));
// cv::imshow("asd", img);
// cv::waitKey();
//
// cv::cvtColor(uFrame, gray, cv::COLOR_BGR2GRAY);
// cv::Canny(gray, gray, 50, 150, 3);
// cv::resize(gray, img, cv::Size(1224, 1024));
// cv::imshow("asd", img);
// cv::waitKey();
//
//// std::vector<cv::Vec2f> lines;
//// cv::HoughLines(gray, lines, 1, CV_PI/180, 400, 0, 0);
//// for (auto & line : lines) {
//// float rho = line[0];
//// float theta = line[1];
//// cv::Point pt1, pt2;
//// double a = cos(theta), b = sin(theta);
//// double x0 = a * rho, y0 = b * rho;
//// pt1.x = cvRound(x0 + 1000 * (-b));
//// pt1.y = cvRound(y0 + 1000 * (a));
//// pt2.x = cvRound(x0 - 1000 * (-b));
//// pt2.y = cvRound(y0 - 1000 * (a));
//// cv::line(uFrame, pt1, pt2, cv::Scalar(0, 0, 255),2);
//// }
// std::vector<cv::Vec4i> lines;
// cv::HoughLinesP(gray, lines, 1, CV_PI/180, 200, 50);
// for(auto&line:lines){
// cv::line(uFrame, cv::Point(line[0], line[1]), cv::Point(line[2], line[3]), cv::Scalar(0, 0, 255),2);
// }
//
// cv::resize(uFrame, img, cv::Size(1224, 1024));
// cv::imshow("asd", img);
// cv::waitKey();
}
}
return 0;
} | [
"lijiyu0219@126.com"
] | lijiyu0219@126.com |
60b664b57bd837a8d6d1093431a7aeb40643e41f | 8bef6bcc2d614dd043ead31cc30974e619b9039a | /3-3_game1/game1.cpp | 55b7c1a293736c1ff7e70e0ea2fe694066942bef | [] | no_license | DamonHao/usaco | 494b3c41b526bfbe1da8e9ce852960d5e6e2ddc4 | d638ab7c11dfcd18c9ba187a3b7e98d4d749e315 | refs/heads/master | 2021-01-10T18:49:38.652972 | 2014-03-02T07:10:52 | 2014-03-02T07:10:52 | 13,295,711 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | cpp | /*
博弈问题,可以使用动态规划求解。 状态定义:用F[i][j]表示第一个玩家先取时,
在第i到第j的子序列中能拿到的最高分;用S[i][j]表示第i到第j的子序列中所有数字的和;
用num[i]表示第1到第n的序列中第i个数。
边界条件:F[i][i]=num[i]
状态转移方程: F[i][j]=max{num[i]+S[i+1][j]-F[i+1][j],num[j]+S[i][j-1]-F[i][j-1]}
结果 p1=F[1][n]; p2=S[1][n]-F[1][n];
解析: num[i]+S[i+1][j]-F[i+1][j]表示的是,p1拿第i到第j最左边的数,
然后轮到p2在第i+1到第j的序列中先取,会剩下S[i+1][j]-F[i+1][j],这些归p1。
refer to byvoid;
Note both player 1 and player 2 want best reuslt;
*/
/*
ID: haolink1
PROG: game1
LANG: C++
*/
//#include <iostream>
#include <fstream>
#include <cstring>
using namespace std;
const int MAX = 100;
int num[MAX];
int N = 0, ori = 0;
int dp[MAX][MAX];
ifstream fin("game1.in");
ofstream cout("game1.out");
int Sum(int a, int b){
int sum = 0;
for(int i = a; i <= b; i++){
sum += num[i];
}
return sum;
}
inline int Max(int a, int b){
return a >= b ? a : b;
}
int MemorizedDynamic(int a, int b){
if(dp[a+1][b] == ori)
dp[a+1][b] = MemorizedDynamic(a+1,b);
if(dp[a][b-1] == ori)
dp[a][b-1] = MemorizedDynamic(a,b-1);
return Max(num[a]+Sum(a+1,b)-dp[a+1][b],num[b]+Sum(a,b-1)-dp[a][b-1]);
}
int main(){
fin >> N;
for(int i = 0; i < N; i++){
fin >> num[i];
}
memset(dp,0xF,sizeof(dp));
ori = dp[0][0];
for(int i = 0; i < N; i++){
dp[i][i] = num[i];
}
int ans = MemorizedDynamic(0,N-1);
int ans2 = Sum(0,N-1)-ans;
cout << ans << " " << ans2 << endl;
}
| [
"haolinknight@gmail.com"
] | haolinknight@gmail.com |
239ca24839e610dc2353a0ee44480060da030ac8 | dc6766e662aa319f5d11cd9c7d2aba0bd776a5e5 | /lab_07/main.cpp | 2d752f23291255d18e1896ca4509a171436f3a41 | [] | no_license | andymina/csci13600-labs | 919640b3aa0a60f13b746c78f26b8ca9031bcd6a | 3c07e76094d3a7d245276d20cd3d81c2a96c02dd | refs/heads/master | 2020-03-27T16:07:47.926984 | 2018-12-14T08:33:41 | 2018-12-14T08:33:41 | 146,760,863 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 921 | cpp | #include <iostream>
#include <string>
#include <cctype>
using std::cout;
using std::cin;
using std::endl;
using std::string;
string removeLeadingSpaces(string line);
int countChar(string line, char c);
int main(){
string line;
string body;
int blocks = 0;
while (getline(cin, line)){
string corrected = removeLeadingSpaces(line);
if (corrected[0] == '}'){
blocks -= 1;
}
for (int i = 0; i < blocks; i++){
body += "\t";
}
blocks += countChar(line, '{');
blocks -= countChar(line, '}');
body += corrected + "\n";
}
cout << body << endl;
return 0;
}
string removeLeadingSpaces(string line){
string output;
int index = 0;
while (isspace(line[index]) != 0){
index++;
}
output = line.substr(index);
return output;
}
int countChar(string line, char c){
int counter = 0;
for (int i = 0; i < line.length(); i++){
if (line[i] == c){
counter++;
}
}
return counter;
}
| [
"amina4835@bths.edu"
] | amina4835@bths.edu |
f04c83dbe6ac85aeceaac84d99dd8e8122fda725 | 84e5d55b9070466db20217a241027f67dcfa03bc | /FanPage.cpp | 98bef9e752c21940bbfae3b134ac71dd4ddb7af0 | [] | no_license | AlonH80/Facebook | 6aab358c0125ada274a361291c77b31800a28531 | f6bab3b87c1d782d2a6e12073cc62ec1d5660efc | refs/heads/master | 2020-04-15T11:25:15.599186 | 2019-02-22T11:26:33 | 2019-02-22T11:26:33 | 164,629,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp |
#include "FanPage.h"
#include "Person.h"
FanPage::FanPage(const string& fpName) : User(fpName)
{
}
FanPage::FanPage(const FanPage& copy) : User(copy)
{
}
FanPage::~FanPage()
{
}
void FanPage::show() const
{
cout << "Fan Page: " << name << endl;
}
int compare(const FanPage& p1,const FanPage& p2)
{
return(p1.getName().compare(p2.getName()));
}
bool areEquals(const FanPage& p1, const FanPage& p2)
{
return (compare(p1,p2) == 0);
}
| [
"alonhartanu@gmail.com"
] | alonhartanu@gmail.com |
419dc77ad084280dc9e6661fa3f2b4fe7a2bcc85 | edee95063948da7ccc4aebcf12134282f4bebcfd | /multimapclass.h | a3b581758d62b250be675c083448fb458b050755 | [] | no_license | sergeyminsk/serega_cpp | ee2f0c137ceaac9918adbe609222906c8974a581 | cd8843e85092fa01b7b9ddacd5c690667ff7f4bb | refs/heads/master | 2020-04-21T14:25:31.694103 | 2013-03-20T13:17:35 | 2013-03-20T13:17:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | h | #ifndef MULTIMAPCLASS_H
#define MULTIMAPCLASS_H
#include <iostream>
#include <map>
/*
typedef int KeyType;
typedef std::pair<const KeyType, std::string> Pair;
typedef std::multimap<KeyType, std::string> MapCode;
*/
class MultiMapClass
{
public:
MultiMapClass();
};
#endif // MULTIMAPCLASS_H
| [
"your@email.com"
] | your@email.com |
6efe1ee389d7a25cb0ac3ae0842ecdd92a050779 | d305e9667f18127e4a1d4d65e5370cf60df30102 | /mindspore/lite/tools/benchmark/benchmark.h | 1e80ada952f4ee3085e6d87e2a67ed4f52b55645 | [
"Apache-2.0",
"MIT",
"Libpng",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.1-only",
"AGPL-3.0-only",
"MPL-2.0-no-copyleft-exception",
"IJG",
"Zlib",
"MPL-1.1",
"BSD-3-Clause",
"BSD-3-Clause-Open-MPI",
"MPL-1.0",
"GPL-2.0-only",
"MPL-2.0",
"BSL-1.0",
"LicenseRef-scancode-unknow... | permissive | imyzx2017/mindspore_pcl | d8e5bd1f80458538d07ef0a8fc447b552bd87420 | f548c9dae106879d1a83377dd06b10d96427fd2d | refs/heads/master | 2023-01-13T22:28:42.064535 | 2020-11-18T11:15:41 | 2020-11-18T11:15:41 | 313,906,414 | 6 | 1 | Apache-2.0 | 2020-11-18T11:25:08 | 2020-11-18T10:57:26 | null | UTF-8 | C++ | false | false | 8,924 | h | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* 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 MINNIE_BENCHMARK_BENCHMARK_H_
#define MINNIE_BENCHMARK_BENCHMARK_H_
#include <getopt.h>
#include <signal.h>
#include <unordered_map>
#include <fstream>
#include <iostream>
#include <map>
#include <cmath>
#include <string>
#include <vector>
#include <memory>
#include <cfloat>
#include <utility>
#include "include/model.h"
#include "tools/common/flag_parser.h"
#include "src/common/file_utils.h"
#include "src/common/utils.h"
#include "include/lite_session.h"
namespace mindspore::lite {
enum MS_API InDataType { kImage = 0, kBinary = 1 };
constexpr float relativeTolerance = 1e-5;
constexpr float absoluteTolerance = 1e-8;
struct MS_API CheckTensor {
CheckTensor(const std::vector<size_t> &shape, const std::vector<float> &data,
const std::vector<std::string> &strings_data = {""}) {
this->shape = shape;
this->data = data;
this->strings_data = strings_data;
}
std::vector<size_t> shape;
std::vector<float> data;
std::vector<std::string> strings_data;
};
class MS_API BenchmarkFlags : public virtual FlagParser {
public:
BenchmarkFlags() {
// common
AddFlag(&BenchmarkFlags::model_file_, "modelFile", "Input model file", "");
AddFlag(&BenchmarkFlags::in_data_file_, "inDataFile", "Input data file, if not set, use random input", "");
AddFlag(&BenchmarkFlags::device_, "device", "CPU | GPU", "CPU");
AddFlag(&BenchmarkFlags::cpu_bind_mode_, "cpuBindMode",
"Input 0 for NO_BIND, 1 for HIGHER_CPU, 2 for MID_CPU, defalut value: 1", 1);
// MarkPerformance
AddFlag(&BenchmarkFlags::loop_count_, "loopCount", "Run loop count", 10);
AddFlag(&BenchmarkFlags::num_threads_, "numThreads", "Run threads number", 2);
AddFlag(&BenchmarkFlags::enable_fp16_, "enableFp16", "Enable float16", false);
AddFlag(&BenchmarkFlags::warm_up_loop_count_, "warmUpLoopCount", "Run warm up loop", 3);
AddFlag(&BenchmarkFlags::time_profiling_, "timeProfiling", "Run time profiling", false);
// MarkAccuracy
AddFlag(&BenchmarkFlags::benchmark_data_file_, "benchmarkDataFile", "Benchmark data file path", "");
AddFlag(&BenchmarkFlags::benchmark_data_type_, "benchmarkDataType",
"Benchmark data type. FLOAT | INT32 | INT8 | UINT8", "FLOAT");
AddFlag(&BenchmarkFlags::accuracy_threshold_, "accuracyThreshold", "Threshold of accuracy", 0.5);
AddFlag(&BenchmarkFlags::resize_dims_in_, "inputShapes",
"Shape of input data, the format should be NHWC. e.g. 1,32,32,32:1,1,32,32,1", "");
}
~BenchmarkFlags() override = default;
void InitInputDataList();
void InitResizeDimsList();
public:
// common
std::string model_file_;
std::string in_data_file_;
std::vector<std::string> input_data_list_;
InDataType in_data_type_ = kBinary;
std::string in_data_type_in_ = "bin";
int cpu_bind_mode_ = 1;
// MarkPerformance
int loop_count_ = 10;
int num_threads_ = 2;
bool enable_fp16_ = false;
int warm_up_loop_count_ = 3;
bool time_profiling_ = false;
// MarkAccuracy
std::string benchmark_data_file_;
std::string benchmark_data_type_ = "FLOAT";
float accuracy_threshold_ = 0.5;
// Resize
std::string resize_dims_in_;
std::vector<std::vector<int>> resize_dims_;
std::string device_ = "CPU";
};
class MS_API Benchmark {
public:
explicit Benchmark(BenchmarkFlags *flags) : flags_(flags) {}
virtual ~Benchmark();
int Init();
int RunBenchmark();
private:
// call GenerateInputData or ReadInputFile to init inputTensors
int LoadInput();
// call GenerateRandomData to fill inputTensors
int GenerateInputData();
int GenerateRandomData(size_t size, void *data);
int ReadInputFile();
int ReadCalibData();
int ReadTensorData(std::ifstream &in_file_stream, const std::string &tensor_name, const std::vector<size_t> &dims);
int CompareOutput();
tensor::MSTensor *GetTensorByNodeOrTensorName(const std::string &node_or_tensor_name);
int CompareStringData(const std::string &name, tensor::MSTensor *tensor);
int CompareDataGetTotalBiasAndSize(const std::string &name, tensor::MSTensor *tensor, float *total_bias,
int *total_size);
int InitCallbackParameter();
int PrintResult(const std::vector<std::string> &title, const std::map<std::string, std::pair<int, float>> &result);
int PrintInputData();
// tensorData need to be converter first
template <typename T>
float CompareData(const std::string &nodeName, const std::vector<int> &msShape, const void *tensor_data) {
const T *msTensorData = static_cast<const T *>(tensor_data);
auto iter = this->benchmark_data_.find(nodeName);
if (iter != this->benchmark_data_.end()) {
std::vector<size_t> castedMSShape;
size_t shapeSize = 1;
for (int64_t dim : msShape) {
castedMSShape.push_back(size_t(dim));
shapeSize *= dim;
}
CheckTensor *calibTensor = iter->second;
if (calibTensor->shape != castedMSShape) {
std::ostringstream oss;
oss << "Shape of mslite output(";
for (auto dim : castedMSShape) {
oss << dim << ",";
}
oss << ") and shape source model output(";
for (auto dim : calibTensor->shape) {
oss << dim << ",";
}
oss << ") are different";
std::cerr << oss.str() << std::endl;
MS_LOG(ERROR) << oss.str().c_str();
return RET_ERROR;
}
size_t errorCount = 0;
float meanError = 0;
std::cout << "Data of node " << nodeName << " : ";
for (size_t j = 0; j < shapeSize; j++) {
if (j < 50) {
std::cout << static_cast<float>(msTensorData[j]) << " ";
}
if (std::isnan(msTensorData[j]) || std::isinf(msTensorData[j])) {
std::cerr << "Output tensor has nan or inf data, compare fail" << std::endl;
MS_LOG(ERROR) << "Output tensor has nan or inf data, compare fail";
return RET_ERROR;
}
auto tolerance = absoluteTolerance + relativeTolerance * fabs(calibTensor->data.at(j));
auto absoluteError = std::fabs(msTensorData[j] - calibTensor->data.at(j));
if (absoluteError > tolerance) {
if (fabs(calibTensor->data.at(j)) == 0) {
if (absoluteError > 1e-5) {
meanError += absoluteError;
errorCount++;
} else {
continue;
}
} else {
// just assume that atol = rtol
meanError += absoluteError / (fabs(calibTensor->data.at(j)) + FLT_MIN);
errorCount++;
}
}
}
std::cout << std::endl;
if (meanError > 0.0f) {
meanError /= errorCount;
}
if (meanError <= 0.0000001) {
std::cout << "Mean bias of node/tensor " << nodeName << " : 0%" << std::endl;
} else {
std::cout << "Mean bias of node/tensor " << nodeName << " : " << meanError * 100 << "%" << std::endl;
}
return meanError;
} else {
MS_LOG(INFO) << "%s is not in Source Model output", nodeName.c_str();
return RET_ERROR;
}
}
int MarkPerformance();
int MarkAccuracy();
private:
BenchmarkFlags *flags_;
session::LiteSession *session_{nullptr};
std::vector<mindspore::tensor::MSTensor *> ms_inputs_;
std::unordered_map<std::string, std::vector<mindspore::tensor::MSTensor *>> ms_outputs_;
std::unordered_map<std::string, CheckTensor *> benchmark_data_;
std::unordered_map<std::string, TypeId> data_type_map_{{"FLOAT", TypeId::kNumberTypeFloat},
{"INT8", TypeId::kNumberTypeInt8},
{"INT32", TypeId::kNumberTypeInt32},
{"UINT8", TypeId::kNumberTypeUInt8}};
TypeId msCalibDataType = TypeId::kNumberTypeFloat;
// callback parameters
uint64_t op_begin_ = 0;
int op_call_times_total_ = 0;
float op_cost_total_ = 0.0f;
std::map<std::string, std::pair<int, float>> op_times_by_type_;
std::map<std::string, std::pair<int, float>> op_times_by_name_;
KernelCallBack before_call_back_;
KernelCallBack after_call_back_;
};
int MS_API RunBenchmark(int argc, const char **argv);
} // namespace mindspore::lite
#endif // MINNIE_BENCHMARK_BENCHMARK_H_
| [
"513344092@qq.com"
] | 513344092@qq.com |
e833984c7101fbe8069bec46dc4c484ebf55ff71 | 98d0dba5575d9e353ecdddf5992d9adb6e84afe5 | /summer_05_hammoutene/FINAL MOVA/progressbar.h | a787f1d41f88b4158a6969d19bc63754288368f7 | [] | no_license | sduc/undeniable-signature | 11e262b5306b7a68a36291398d4c88df3283fcbe | c8277fa71be292890a6d6733aff392372e1be02f | refs/heads/master | 2020-05-29T20:58:44.123270 | 2015-09-13T11:51:19 | 2015-09-13T11:51:19 | 42,393,862 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,249 | h | #ifndef __PROGRESSBAR_H
#define __PROGRESSBAR_H
#include <windows.h>
#include <commctrl.h>
class ProgressBar
{
private:
HWND hBar;
public:
int MaxRan;
int MinRan;
BOOL Init(HWND hwndbar); //Initialise le controle
BOOL SetRange(int nMinRange,int nMaxRange); //Définis la position Minimale et Maximale
void Hide(BOOL bVisible); //Afiche ou Cache le controle
BOOL IsVisible(void); //Détermine si le controle est visible
int SetStep(int nStep); //Définis le pas
int SetPos(int nPos); //Définis la valeur du controle
int Increment(int nIncrement);//Incrémente de nIncrement la valeur du controle
int IncrementStep(void);//Incrémente d'un pas définis par SetStep la valeur du controle
};
BOOL ProgressBar::Init(HWND hwndbar) //Initialise le controle
{
hBar=hwndbar;
if (hBar==NULL)
{
return FALSE;
}
return TRUE;
}
BOOL ProgressBar::SetRange(int nMinRange,int nMaxRange) //Définis la position Minimale et Maximale
{
if ((nMinRange<0) || (nMaxRange>65535))
{
return FALSE;
}
if(SendMessage(hBar,PBM_SETRANGE,0,MAKELPARAM(nMinRange,nMaxRange))==0)
{
return FALSE;
}
MinRan = nMinRange;
MaxRan = nMaxRange;
return TRUE;
}
int ProgressBar::SetStep(int nStep) //Définis le pas
{
int nOldStep;
nOldStep=SendMessage(hBar,PBM_SETSTEP,(WPARAM)nStep,0);
return nOldStep;
}
int ProgressBar::Increment(int nIncrement) //Incrémente de nIncrement la valeur du controle
{
int nOldPos;
nOldPos=SendMessage(hBar,PBM_DELTAPOS,(WPARAM)nIncrement,0);
return nOldPos;
}
int ProgressBar::IncrementStep(void) //Incrémente d'un pas définis par SetStep la valeur du controle
{
int nOldPos;
nOldPos=SendMessage(hBar,PBM_STEPIT,0,0);
return nOldPos;
}
int ProgressBar::SetPos(int nPos) //Définis la valeur du controle
{
int nOldPos;
nOldPos=SendMessage(hBar,PBM_SETPOS,(WPARAM)nPos,0);
return nOldPos;
}
void ProgressBar::Hide(BOOL bVisible) //Afiche ou Cache le controle
{
if (bVisible==TRUE)
{
ShowWindow(hBar,SW_SHOW);
}
else
{
ShowWindow(hBar,SW_HIDE);
}
}
BOOL ProgressBar::IsVisible(void) //Détermine si le controle est visible
{
return IsWindowVisible(hBar);
}
#endif
| [
"sebastien.sduc@gmail.com"
] | sebastien.sduc@gmail.com |
9a2b3f19d752f3277443ff0b9edda5e1acd86045 | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_Ultra_Dynamic_Sky_BP_classes.hpp | 4a4821097fd488235d1cdfdef3222171c53909b3 | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,151 | hpp | #pragma once
// Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace Classes
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Ultra_Dynamic_Sky_BP.Ultra_Dynamic_Sky_BP_C
// 0x0270 (0x0488 - 0x0218)
class AUltra_Dynamic_Sky_BP_C : public AActor
{
public:
struct FPointerToUberGraphFrame UberGraphFrame; // 0x0218(0x0008) (ZeroConstructor, Transient, DuplicateTransient)
class UArrowComponent* Sun_Root; // 0x0220(0x0008) (BlueprintVisible, ZeroConstructor, InstancedReference, IsPlainOldData)
class UStaticMeshComponent* Ultra_Dynamic_Sky_Sphere; // 0x0228(0x0008) (BlueprintVisible, ZeroConstructor, InstancedReference, IsPlainOldData)
class USceneComponent* DefaultSceneRoot; // 0x0230(0x0008) (BlueprintVisible, ZeroConstructor, InstancedReference, IsPlainOldData)
class ADirectionalLight* Direction_Light__Sun_; // 0x0238(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnTemplate, IsPlainOldData)
class UMaterialInstanceDynamic* UDM_mat; // 0x0240(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool Refresh_Settings; // 0x0248(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData00[0x3]; // 0x0249(0x0003) MISSED OFFSET
float Cloud_Speed; // 0x024C(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Cloud_Density; // 0x0250(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Cloud_Wisps_Opacity; // 0x0254(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
TArray<class UCurveLinearColor*> Horizon_Base_Color_Curve; // 0x0258(0x0010) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance)
TArray<class UCurveLinearColor*> Zenith_Base_Color_Curve; // 0x0268(0x0010) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance)
TArray<class UCurveLinearColor*> Cloud_Light_Color_Curve; // 0x0278(0x0010) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance)
TArray<class UCurveLinearColor*> Cloud_Dark_Color_Curve; // 0x0288(0x0010) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance)
float Time_of_Day; // 0x0298(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData01[0x4]; // 0x029C(0x0004) MISSED OFFSET
TArray<class UCurveLinearColor*> Sun_Color_Curve; // 0x02A0(0x0010) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance)
class UCurveFloat* Shine_Intensity_Curve; // 0x02B0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float Saturation; // 0x02B8(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData02[0x4]; // 0x02BC(0x0004) MISSED OFFSET
class UCurveLinearColor* Sun_Cloudy_Color_Curve; // 0x02C0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
class AExponentialHeightFog* Exponential_Height_Fog; // 0x02C8(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnTemplate, IsPlainOldData)
class UCurveFloat* Stars_Intensity_Curve; // 0x02D0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float Cloud_Phase; // 0x02D8(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Moon_Scale; // 0x02DC(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Moon_Inclination; // 0x02E0(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Moon_Position; // 0x02E4(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Moon_Phase; // 0x02E8(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
bool Automatically_Set_Advanced_Settings_using_Time_of_Day; // 0x02EC(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData03[0x3]; // 0x02ED(0x0003) MISSED OFFSET
float Stars_Visibility; // 0x02F0(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Moon_Intensity; // 0x02F4(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Sun_Angle; // 0x02F8(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
struct FLinearColor Horizon_Base_Color; // 0x02FC(0x0010) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
struct FLinearColor Zenith_Base_Color; // 0x030C(0x0010) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
struct FLinearColor Cloud_Light_Color; // 0x031C(0x0010) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
struct FLinearColor Cloud_Dark_Color; // 0x032C(0x0010) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
struct FLinearColor Sun_Color; // 0x033C(0x0010) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Cloud_Shine_Intensity; // 0x034C(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
struct FLinearColor Sun_Light_Color; // 0x0350(0x0010) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Day_Length; // 0x0360(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData04[0x4]; // 0x0364(0x0004) MISSED OFFSET
class UCurveFloat* Moon_Position_Curve; // 0x0368(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool Night_Cycle; // 0x0370(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
bool Simulate_Cloud_Density_Changes; // 0x0371(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData05[0x2]; // 0x0372(0x0002) MISSED OFFSET
float Cloud_Density_Shift_Frequency__min_; // 0x0374(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Cloud_Density_Shift_Frequency__max_; // 0x0378(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Cloud_Density_target; // 0x037C(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float Cloud_Density_Change__Smoothing_; // 0x0380(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Cloud_Opacity; // 0x0384(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float AmbientSaturation; // 0x0388(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Overall_Intensity; // 0x038C(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Sun_Brightness; // 0x0390(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
struct FLinearColor Moon_Color; // 0x0394(0x0010) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Shine_Variation; // 0x03A4(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float Sun_Lighting_Intensity; // 0x03A8(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData06[0x4]; // 0x03AC(0x0004) MISSED OFFSET
class UCurveFloat* Sun_Highlight_Radius_curve; // 0x03B0(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float Sun_Highlight_Radius; // 0x03B8(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
bool First_Day; // 0x03BC(0x0001) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool Simulate_Moon_Phase_Changes; // 0x03BD(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData07[0x2]; // 0x03BE(0x0002) MISSED OFFSET
float Stars_Intensity; // 0x03C0(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
struct FLinearColor Stars_Color; // 0x03C4(0x0010) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Moon_Orbit_Offset; // 0x03D4(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
struct FRotator Sun_Rotation; // 0x03D8(0x000C) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Sun_Radius; // 0x03E4(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
class UMaterialInstanceDynamic* Cloud_Shadows_MID; // 0x03E8(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
bool Use_Cloud_Shadows; // 0x03F0(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData08[0x3]; // 0x03F1(0x0003) MISSED OFFSET
float Cloud_Shadows_Scale; // 0x03F4(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Cloud_Shadows_Intensity; // 0x03F8(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
bool Manually_Select_Sun_Color; // 0x03FC(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
bool Automatically_Set_Moon_Light_Rotation; // 0x03FD(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
bool Automatically_Set_Sun_Light_Rotation; // 0x03FE(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData09[0x1]; // 0x03FF(0x0001) MISSED OFFSET
float Moonlight_Intensity; // 0x0400(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Stars_Speed; // 0x0404(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Sun_Inclination; // 0x0408(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Sun_Yaw; // 0x040C(0x0004) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float Moon_Rotation; // 0x0410(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData10[0x4]; // 0x0414(0x0004) MISSED OFFSET
class UTexture2D* Custom_Moon_Texture; // 0x0418(0x0008) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
bool Use_Custom_Moon_Texture; // 0x0420(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData11[0x7]; // 0x0421(0x0007) MISSED OFFSET
class ASkyLight* SkyLight; // 0x0428(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnTemplate, IsPlainOldData)
bool Recapture_Sky_light_periodically; // 0x0430(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData12[0x3]; // 0x0431(0x0003) MISSED OFFSET
float Sky_Light_recapture_period; // 0x0434(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
class UCurveFloat* Night_Filter_Curve; // 0x0438(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float Night_brightness; // 0x0440(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Moon_Glow_Intensity; // 0x0444(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
class UCurveFloat* Directional_Intensity_Curve; // 0x0448(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnInstance, IsPlainOldData)
float Sun_Light_Intensity; // 0x0450(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Aurora_Intensity; // 0x0454(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Aurora_Speed; // 0x0458(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
bool Use_Fast_Skylight; // 0x045C(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
bool Use_Auroras; // 0x045D(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData13[0x2]; // 0x045E(0x0002) MISSED OFFSET
class UTexture* Clouds_Base_Texture; // 0x0460(0x0008) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Cloud_Tiling; // 0x0468(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Cloud_Direction; // 0x046C(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
bool One_cloud_layer; // 0x0470(0x0001) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
unsigned char UnknownData14[0x3]; // 0x0471(0x0003) MISSED OFFSET
float Cloud_Height_1; // 0x0474(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
float Cloud_Height_2; // 0x0478(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
int color_scheme; // 0x047C(0x0004) (Edit, BlueprintVisible, ZeroConstructor, IsPlainOldData)
class AWeatherController_C* WeatherController; // 0x0480(0x0008) (Edit, BlueprintVisible, ZeroConstructor, DisableEditOnTemplate, IsPlainOldData)
static UClass* StaticClass()
{
static auto ptr = UObject::FindClass("BlueprintGeneratedClass Ultra_Dynamic_Sky_BP.Ultra_Dynamic_Sky_BP_C");
return ptr;
}
void STATIC_Set_Material_Variables();
void Set_Solar_Angle();
void UserConstructionScript();
void ReceiveBeginPlay();
void ReceiveTick(float* DeltaSeconds);
void UpdateSky();
void ExecuteUbergraph_Ultra_Dynamic_Sky_BP(int* EntryPoint);
};
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"65712402+Kehczar@users.noreply.github.com"
] | 65712402+Kehczar@users.noreply.github.com |
77b9fe9d3baabc62ae397a7871ba8d98a8101652 | 2eb3b66b421a1f4a18bcb72b69023a3166273ca1 | /BestCoder/41/2/main.cc | 645026f71402d9cd6a5988dc9c856e26c825e5ae | [] | no_license | johnathan79717/competitive-programming | e1d62016e8b25d8bcb3d003bba6b1d4dc858a62f | 3c8471b7ebb516147705bbbc4316a511f0fe4dc0 | refs/heads/master | 2022-05-07T20:34:21.959511 | 2022-03-31T15:20:28 | 2022-03-31T15:20:28 | 55,674,796 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,687 | cc | #include <string>
#include <vector>
#include <climits>
#include <cstring>
#include <map>
#include <queue>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <set>
#include <deque>
#include <stack>
#include <cassert>
using namespace std;
#define FOR(i,c) for(__typeof((c).begin()) i=(c).begin();i!=(c).end();i++)
#define MAX(x, a) x = max(x, a)
#define MIN(x, a) x = min(x, a)
#define ALL(x) (x).begin(),(x).end()
#define CASET1 int ___T, case_n = 1; scanf("%d ", &___T); while ((___T > 0 ? printf("Case #%d: ", case_n++) : 0), ___T-- > 0)
#define CASET int ___T, case_n = 1; scanf("%d ", &___T); while (___T-- > 0)
#define SZ(X) ((int)(X).size())
#define LEN(X) strlen(X)
#define REP(i,n) for(int i=0;i<(n);i++)
#define REP1(i,a,b) for(int i=(a);i<=(b);i++)
#define REPL(i,x) for(int i=0;x[i];i++)
#define PER(i,n) for(int i=(n)-1;i>=0;i--)
#define RI1(x) scanf("%d",&x)
#define RI2(x,y) RI1(x), RI1(y)
#define RI3(x,y...) RI1(x), RI2(y)
#define RI4(x,y...) RI1(x), RI3(y)
#define RI5(x,y...) RI1(x), RI4(y)
#define RI6(x,y...) RI1(x), RI5(y)
#define GET_MACRO(_1, _2, _3, _4, _5, _6, NAME, ...) NAME
#define RI(argv...) GET_MACRO(argv, RI6, RI5, RI4, RI3, RI2, RI1)(argv)
#define DRI(argv...) int argv;RI(argv)
#define WRI(argv...) while (RI(argv) != EOF)
#define DWRI(x...) int x; WRI(x)
#define RS(x) scanf("%s",x)
#define PI(x) printf("%d\n",x)
#define PIS(x) printf("%d ",x)
#define MP make_pair
#define PB push_back
#define MS0(x) memset(x,0,sizeof(x))
#define MS1(x) memset(x,-1,sizeof(x))
#define F first
#define S second
#define V(x) vector<x >
int popcount(unsigned x) { return __builtin_popcount(x); }
int popcount(unsigned long long x) { return __builtin_popcountll(x); }
typedef pair<int,int> PII;
typedef vector<int> VI;
typedef long long LL;
const int INF = 1000000000;
char s[1000000];
LL gcd(LL a, LL b) {
if (!a) return b;
return gcd(b%a, a);
}
struct Node {
int f;
Node *child[26];
};
Node pool[200001];
int p = 0;
Node *newNode() {
return &pool[p++];
}
int main() {
CASET {
p = 0;
int a[2] = {};
DRI(N);
MS0(pool);
Node *root = newNode();
LL p = 0;
LL q = (LL)(N-1) * N / 2;
REP(i, N) {
RS(s);
a[strlen(s) % 2]++;
Node *ptr = root;
REPL(j, s) {
if (!ptr->child[s[j]-'a']) {
ptr->child[s[j]-'a'] = newNode();
}
ptr = ptr->child[s[j]-'a'];
}
p += ptr->f;
ptr->f++;
}
p += (LL)a[0] * a[1];
cout << p/gcd(p, q) << '/' << q/gcd(p, q) << '\n';
}
return 0;
}
| [
"johnathan79717@gmail.com"
] | johnathan79717@gmail.com |
7e27219d2de25180e5835df378ee3a147c0faf03 | e76ea38dbe5774fccaf14e1a0090d9275cdaee08 | /src/content/browser/gpu/gpu_internals_ui.cc | c97cb38dbea3553e635a586a6526e6839b21dd58 | [
"BSD-3-Clause"
] | permissive | eurogiciel-oss/Tizen_Crosswalk | efc424807a5434df1d5c9e8ed51364974643707d | a68aed6e29bd157c95564e7af2e3a26191813e51 | refs/heads/master | 2021-01-18T19:19:04.527505 | 2014-02-06T13:43:21 | 2014-02-06T13:43:21 | 16,070,101 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 13,789 | 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/browser/gpu/gpu_internals_ui.h"
#include <string>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/i18n/time_formatting.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/sys_info.h"
#include "base/values.h"
#include "content/browser/gpu/compositor_util.h"
#include "content/browser/gpu/gpu_data_manager_impl.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/gpu_data_manager_observer.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_ui.h"
#include "content/public/browser/web_ui_data_source.h"
#include "content/public/browser/web_ui_message_handler.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/url_constants.h"
#include "gpu/config/gpu_feature_type.h"
#include "gpu/config/gpu_info.h"
#include "grit/content_resources.h"
#include "third_party/angle_dx11/src/common/version.h"
namespace content {
namespace {
WebUIDataSource* CreateGpuHTMLSource() {
WebUIDataSource* source = WebUIDataSource::Create(kChromeUIGpuHost);
source->SetJsonPath("strings.js");
source->AddResourcePath("gpu_internals.js", IDR_GPU_INTERNALS_JS);
source->SetDefaultResource(IDR_GPU_INTERNALS_HTML);
return source;
}
base::DictionaryValue* NewDescriptionValuePair(const std::string& desc,
const std::string& value) {
base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetString("description", desc);
dict->SetString("value", value);
return dict;
}
base::DictionaryValue* NewDescriptionValuePair(const std::string& desc,
base::Value* value) {
base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetString("description", desc);
dict->Set("value", value);
return dict;
}
#if defined(OS_WIN)
// Output DxDiagNode tree as nested array of {description,value} pairs
base::ListValue* DxDiagNodeToList(const gpu::DxDiagNode& node) {
base::ListValue* list = new base::ListValue();
for (std::map<std::string, std::string>::const_iterator it =
node.values.begin();
it != node.values.end();
++it) {
list->Append(NewDescriptionValuePair(it->first, it->second));
}
for (std::map<std::string, gpu::DxDiagNode>::const_iterator it =
node.children.begin();
it != node.children.end();
++it) {
base::ListValue* sublist = DxDiagNodeToList(it->second);
list->Append(NewDescriptionValuePair(it->first, sublist));
}
return list;
}
#endif
std::string GPUDeviceToString(const gpu::GPUInfo::GPUDevice& gpu) {
std::string vendor = base::StringPrintf("0x%04x", gpu.vendor_id);
if (!gpu.vendor_string.empty())
vendor += " [" + gpu.vendor_string + "]";
std::string device = base::StringPrintf("0x%04x", gpu.device_id);
if (!gpu.device_string.empty())
device += " [" + gpu.device_string + "]";
return base::StringPrintf(
"VENDOR = %s, DEVICE= %s", vendor.c_str(), device.c_str());
}
base::DictionaryValue* GpuInfoAsDictionaryValue() {
gpu::GPUInfo gpu_info = GpuDataManagerImpl::GetInstance()->GetGPUInfo();
base::ListValue* basic_info = new base::ListValue();
basic_info->Append(NewDescriptionValuePair(
"Initialization time",
base::Int64ToString(gpu_info.initialization_time.InMilliseconds())));
basic_info->Append(NewDescriptionValuePair(
"Sandboxed", new base::FundamentalValue(gpu_info.sandboxed)));
basic_info->Append(NewDescriptionValuePair(
"GPU0", GPUDeviceToString(gpu_info.gpu)));
for (size_t i = 0; i < gpu_info.secondary_gpus.size(); ++i) {
basic_info->Append(NewDescriptionValuePair(
base::StringPrintf("GPU%d", static_cast<int>(i + 1)),
GPUDeviceToString(gpu_info.secondary_gpus[i])));
}
basic_info->Append(NewDescriptionValuePair(
"Optimus", new base::FundamentalValue(gpu_info.optimus)));
basic_info->Append(NewDescriptionValuePair(
"AMD switchable", new base::FundamentalValue(gpu_info.amd_switchable)));
if (gpu_info.lenovo_dcute) {
basic_info->Append(NewDescriptionValuePair(
"Lenovo dCute", new base::FundamentalValue(true)));
}
if (gpu_info.display_link_version.IsValid()) {
basic_info->Append(NewDescriptionValuePair(
"DisplayLink Version", gpu_info.display_link_version.GetString()));
}
basic_info->Append(NewDescriptionValuePair("Driver vendor",
gpu_info.driver_vendor));
basic_info->Append(NewDescriptionValuePair("Driver version",
gpu_info.driver_version));
basic_info->Append(NewDescriptionValuePair("Driver date",
gpu_info.driver_date));
basic_info->Append(NewDescriptionValuePair("Pixel shader version",
gpu_info.pixel_shader_version));
basic_info->Append(NewDescriptionValuePair("Vertex shader version",
gpu_info.vertex_shader_version));
basic_info->Append(NewDescriptionValuePair("Machine model",
gpu_info.machine_model));
basic_info->Append(NewDescriptionValuePair("GL version",
gpu_info.gl_version));
basic_info->Append(NewDescriptionValuePair("GL_VENDOR",
gpu_info.gl_vendor));
basic_info->Append(NewDescriptionValuePair("GL_RENDERER",
gpu_info.gl_renderer));
basic_info->Append(NewDescriptionValuePair("GL_VERSION",
gpu_info.gl_version_string));
basic_info->Append(NewDescriptionValuePair("GL_EXTENSIONS",
gpu_info.gl_extensions));
basic_info->Append(NewDescriptionValuePair("Window system binding vendor",
gpu_info.gl_ws_vendor));
basic_info->Append(NewDescriptionValuePair("Window system binding version",
gpu_info.gl_ws_version));
basic_info->Append(NewDescriptionValuePair("Window system binding extensions",
gpu_info.gl_ws_extensions));
std::string reset_strategy =
base::StringPrintf("0x%04x", gpu_info.gl_reset_notification_strategy);
basic_info->Append(NewDescriptionValuePair(
"Reset notification strategy", reset_strategy));
base::DictionaryValue* info = new base::DictionaryValue();
info->Set("basic_info", basic_info);
#if defined(OS_WIN)
base::ListValue* perf_info = new base::ListValue();
perf_info->Append(NewDescriptionValuePair(
"Graphics",
base::StringPrintf("%.1f", gpu_info.performance_stats.graphics)));
perf_info->Append(NewDescriptionValuePair(
"Gaming",
base::StringPrintf("%.1f", gpu_info.performance_stats.gaming)));
perf_info->Append(NewDescriptionValuePair(
"Overall",
base::StringPrintf("%.1f", gpu_info.performance_stats.overall)));
info->Set("performance_info", perf_info);
base::Value* dx_info = gpu_info.dx_diagnostics.children.size() ?
DxDiagNodeToList(gpu_info.dx_diagnostics) :
base::Value::CreateNullValue();
info->Set("diagnostics", dx_info);
#endif
return info;
}
// This class receives javascript messages from the renderer.
// Note that the WebUI infrastructure runs on the UI thread, therefore all of
// this class's methods are expected to run on the UI thread.
class GpuMessageHandler
: public WebUIMessageHandler,
public base::SupportsWeakPtr<GpuMessageHandler>,
public GpuDataManagerObserver {
public:
GpuMessageHandler();
virtual ~GpuMessageHandler();
// WebUIMessageHandler implementation.
virtual void RegisterMessages() OVERRIDE;
// GpuDataManagerObserver implementation.
virtual void OnGpuInfoUpdate() OVERRIDE;
virtual void OnGpuSwitching() OVERRIDE;
// Messages
void OnBrowserBridgeInitialized(const base::ListValue* list);
void OnCallAsync(const base::ListValue* list);
// Submessages dispatched from OnCallAsync
base::Value* OnRequestClientInfo(const base::ListValue* list);
base::Value* OnRequestLogMessages(const base::ListValue* list);
private:
// True if observing the GpuDataManager (re-attaching as observer would
// DCHECK).
bool observing_;
DISALLOW_COPY_AND_ASSIGN(GpuMessageHandler);
};
////////////////////////////////////////////////////////////////////////////////
//
// GpuMessageHandler
//
////////////////////////////////////////////////////////////////////////////////
GpuMessageHandler::GpuMessageHandler()
: observing_(false) {
}
GpuMessageHandler::~GpuMessageHandler() {
GpuDataManagerImpl::GetInstance()->RemoveObserver(this);
}
/* BrowserBridge.callAsync prepends a requestID to these messages. */
void GpuMessageHandler::RegisterMessages() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
web_ui()->RegisterMessageCallback("browserBridgeInitialized",
base::Bind(&GpuMessageHandler::OnBrowserBridgeInitialized,
base::Unretained(this)));
web_ui()->RegisterMessageCallback("callAsync",
base::Bind(&GpuMessageHandler::OnCallAsync,
base::Unretained(this)));
}
void GpuMessageHandler::OnCallAsync(const base::ListValue* args) {
DCHECK_GE(args->GetSize(), static_cast<size_t>(2));
// unpack args into requestId, submessage and submessageArgs
bool ok;
const base::Value* requestId;
ok = args->Get(0, &requestId);
DCHECK(ok);
std::string submessage;
ok = args->GetString(1, &submessage);
DCHECK(ok);
base::ListValue* submessageArgs = new base::ListValue();
for (size_t i = 2; i < args->GetSize(); ++i) {
const base::Value* arg;
ok = args->Get(i, &arg);
DCHECK(ok);
base::Value* argCopy = arg->DeepCopy();
submessageArgs->Append(argCopy);
}
// call the submessage handler
base::Value* ret = NULL;
if (submessage == "requestClientInfo") {
ret = OnRequestClientInfo(submessageArgs);
} else if (submessage == "requestLogMessages") {
ret = OnRequestLogMessages(submessageArgs);
} else { // unrecognized submessage
NOTREACHED();
delete submessageArgs;
return;
}
delete submessageArgs;
// call BrowserBridge.onCallAsyncReply with result
if (ret) {
web_ui()->CallJavascriptFunction("browserBridge.onCallAsyncReply",
*requestId,
*ret);
delete ret;
} else {
web_ui()->CallJavascriptFunction("browserBridge.onCallAsyncReply",
*requestId);
}
}
void GpuMessageHandler::OnBrowserBridgeInitialized(
const base::ListValue* args) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
// Watch for changes in GPUInfo
if (!observing_)
GpuDataManagerImpl::GetInstance()->AddObserver(this);
observing_ = true;
// Tell GpuDataManager it should have full GpuInfo. If the
// Gpu process has not run yet, this will trigger its launch.
GpuDataManagerImpl::GetInstance()->RequestCompleteGpuInfoIfNeeded();
// Run callback immediately in case the info is ready and no update in the
// future.
OnGpuInfoUpdate();
}
base::Value* GpuMessageHandler::OnRequestClientInfo(
const base::ListValue* list) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetString("version", GetContentClient()->GetProduct());
dict->SetString("command_line",
CommandLine::ForCurrentProcess()->GetCommandLineString());
dict->SetString("operating_system",
base::SysInfo::OperatingSystemName() + " " +
base::SysInfo::OperatingSystemVersion());
dict->SetString("angle_revision", base::UintToString(BUILD_REVISION));
dict->SetString("graphics_backend", "Skia");
dict->SetString("blacklist_version",
GpuDataManagerImpl::GetInstance()->GetBlacklistVersion());
dict->SetString("driver_bug_list_version",
GpuDataManagerImpl::GetInstance()->GetDriverBugListVersion());
return dict;
}
base::Value* GpuMessageHandler::OnRequestLogMessages(const base::ListValue*) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
return GpuDataManagerImpl::GetInstance()->GetLogMessages();
}
void GpuMessageHandler::OnGpuInfoUpdate() {
// Get GPU Info.
scoped_ptr<base::DictionaryValue> gpu_info_val(GpuInfoAsDictionaryValue());
// Add in blacklisting features
base::DictionaryValue* feature_status = new DictionaryValue;
feature_status->Set("featureStatus", GetFeatureStatus());
feature_status->Set("problems", GetProblems());
feature_status->Set("workarounds", GetDriverBugWorkarounds());
if (feature_status)
gpu_info_val->Set("featureStatus", feature_status);
// Send GPU Info to javascript.
web_ui()->CallJavascriptFunction("browserBridge.onGpuInfoUpdate",
*(gpu_info_val.get()));
}
void GpuMessageHandler::OnGpuSwitching() {
GpuDataManagerImpl::GetInstance()->RequestCompleteGpuInfoIfNeeded();
}
} // namespace
////////////////////////////////////////////////////////////////////////////////
//
// GpuInternalsUI
//
////////////////////////////////////////////////////////////////////////////////
GpuInternalsUI::GpuInternalsUI(WebUI* web_ui)
: WebUIController(web_ui) {
web_ui->AddMessageHandler(new GpuMessageHandler());
// Set up the chrome://gpu/ source.
BrowserContext* browser_context =
web_ui->GetWebContents()->GetBrowserContext();
WebUIDataSource::Add(browser_context, CreateGpuHTMLSource());
}
} // namespace content
| [
"ronan@fridu.net"
] | ronan@fridu.net |
4bdce358a4e764c27826440b1f35edc7b6fc79bd | 1b0d6e0b002cad83fd12a33d573d15ed99c36b89 | /panda3d/panda/src/pgui/pgSliderBar.cxx | a6ef1e996397d850b80a7d452d302168fb545e25 | [] | no_license | braincorp/panda_bullet_dependencies | 381d09fcbcbbd14cbb0cea87f0e97864e5dfab9f | f7eea9af87115f77ed762e89a548f561437f6422 | refs/heads/master | 2021-01-22T22:50:18.748239 | 2013-08-30T06:44:19 | 2013-08-30T06:44:19 | 8,007,038 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 28,321 | cxx | // Filename: pgSliderBar.cxx
// Created by: masad (19Oct04)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should have received a copy of this license along
// with this source code in a file named "LICENSE."
//
////////////////////////////////////////////////////////////////////
#include "pgSliderBar.h"
#include "pgMouseWatcherParameter.h"
#include "clockObject.h"
#include "throw_event.h"
#include "config_pgui.h"
#include "throw_event.h"
#include "transformState.h"
#include "mouseButton.h"
TypeHandle PGSliderBar::_type_handle;
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::Constructor
// Access: Published
// Description:
////////////////////////////////////////////////////////////////////
PGSliderBar::
PGSliderBar(const string &name)
: PGItem(name)
{
set_cull_callback();
_min_value = 0.0f;
_max_value = 1.0f;
set_scroll_size(0.01f);
set_page_size(0.1f);
_ratio = 0.0f;
_resize_thumb = false;
_manage_pieces = false;
_axis.set(1.0f, 0.0f, 0.0f);
_needs_remanage = false;
_needs_recompute = true;
_needs_reposition = false;
_scroll_button_held = NULL;
_mouse_button_page = false;
_dragging = false;
_thumb_width = 0.1f;
set_active(true);
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::Destructor
// Access: Public, Virtual
// Description:
////////////////////////////////////////////////////////////////////
PGSliderBar::
~PGSliderBar() {
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::Copy Constructor
// Access: Protected
// Description:
////////////////////////////////////////////////////////////////////
PGSliderBar::
PGSliderBar(const PGSliderBar ©) :
PGItem(copy),
_min_value(copy._min_value),
_max_value(copy._max_value),
_scroll_value(copy._scroll_value),
_scroll_ratio(copy._scroll_ratio),
_page_value(copy._page_value),
_page_ratio(copy._page_ratio),
_ratio(copy._ratio),
_resize_thumb(copy._resize_thumb),
_manage_pieces(copy._manage_pieces),
_axis(copy._axis)
{
_needs_remanage = false;
_needs_recompute = true;
_scroll_button_held = NULL;
_mouse_button_page = false;
_dragging = false;
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::make_copy
// Access: Public, Virtual
// Description: Returns a newly-allocated Node that is a shallow copy
// of this one. It will be a different Node pointer,
// but its internal data may or may not be shared with
// that of the original Node.
////////////////////////////////////////////////////////////////////
PandaNode *PGSliderBar::
make_copy() const {
LightReMutexHolder holder(_lock);
return new PGSliderBar(*this);
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::press
// Access: Public, Virtual
// Description: This is a callback hook function, called whenever a
// mouse or keyboard button is depressed while the mouse
// is within the region.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
press(const MouseWatcherParameter ¶m, bool background) {
LightReMutexHolder holder(_lock);
if (param.has_mouse()) {
_mouse_pos = param.get_mouse();
}
if (get_active() && param.get_button() == MouseButton::one()) {
if (_needs_recompute) {
recompute();
}
if (_range_x != 0.0f) {
_mouse_button_page = true;
_scroll_button_held = NULL;
advance_page();
_next_advance_time =
ClockObject::get_global_clock()->get_frame_time() + scroll_initial_delay;
}
}
PGItem::press(param, background);
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::release
// Access: Public, Virtual
// Description: This is a callback hook function, called whenever a
// mouse or keyboard button previously depressed with
// press() is released.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
release(const MouseWatcherParameter ¶m, bool background) {
LightReMutexHolder holder(_lock);
if (MouseButton::is_mouse_button(param.get_button())) {
_mouse_button_page = false;
}
if (_dragging) {
end_drag();
}
PGItem::release(param, background);
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::move
// Access: Protected, Virtual
// Description: This is a callback hook function, called whenever a
// mouse is moved while within the region.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
move(const MouseWatcherParameter ¶m) {
LightReMutexHolder holder(_lock);
_mouse_pos = param.get_mouse();
if (_dragging) {
// We only get here if we the user originally clicked on the
// track, which caused the slider to move all the way to the mouse
// position, and then started dragging the mouse along the track.
// In this case, we start moving the thumb as if the user had
// started by dragging the thumb directly.
continue_drag();
}
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::cull_callback
// Access: Protected, Virtual
// Description: This function will be called during the cull
// traversal to perform any additional operations that
// should be performed at cull time. This may include
// additional manipulation of render state or additional
// visible/invisible decisions, or any other arbitrary
// operation.
//
// Note that this function will *not* be called unless
// set_cull_callback() is called in the constructor of
// the derived class. It is necessary to call
// set_cull_callback() to indicated that we require
// cull_callback() to be called.
//
// By the time this function is called, the node has
// already passed the bounding-volume test for the
// viewing frustum, and the node's transform and state
// have already been applied to the indicated
// CullTraverserData object.
//
// The return value is true if this node should be
// visible, or false if it should be culled.
////////////////////////////////////////////////////////////////////
bool PGSliderBar::
cull_callback(CullTraverser *trav, CullTraverserData &data) {
LightReMutexHolder holder(_lock);
if (_manage_pieces && _needs_remanage) {
remanage();
}
if (_needs_recompute) {
recompute();
}
if (_scroll_button_held != (PGItem *)NULL &&
_next_advance_time <= ClockObject::get_global_clock()->get_frame_time()) {
advance_scroll();
}
if (_mouse_button_page &&
_next_advance_time <= ClockObject::get_global_clock()->get_frame_time()) {
advance_page();
}
if (_needs_reposition) {
reposition();
}
return PGItem::cull_callback(trav, data);
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::xform
// Access: Public, Virtual
// Description: Transforms the contents of this node by the indicated
// matrix, if it means anything to do so. For most
// kinds of nodes, this does nothing.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
xform(const LMatrix4 &mat) {
LightReMutexHolder holder(_lock);
PGItem::xform(mat);
_axis = _axis * mat;
// Make sure we set the thumb to identity position first, so it
// won't be accidentally flattened.
if (_thumb_button != (PGButton *)NULL) {
_thumb_button->clear_transform();
}
_needs_remanage = true;
_needs_recompute = true;
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::adjust
// Access: Public, Virtual
// Description: This is a callback hook function, called whenever the
// slider value is adjusted by the user or
// programmatically.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
adjust() {
LightReMutexHolder holder(_lock);
string event = get_adjust_event();
play_sound(event);
throw_event(event);
if (has_notify()) {
get_notify()->slider_bar_adjust(this);
}
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::setup_scroll_bar
// Access: Published
// Description: Creates PGSliderBar that represents a vertical or
// horizontal scroll bar (if vertical is true or false,
// respectively), with additional buttons for scrolling,
// and a range of 0 .. 1.
//
// length here is the measurement along the scroll bar,
// and width is the measurement across the scroll bar,
// whether it is vertical or horizontal (so for a
// horizontal scroll bar, the length is actually the x
// dimension, and the width is the y dimension).
////////////////////////////////////////////////////////////////////
void PGSliderBar::
setup_scroll_bar(bool vertical, PN_stdfloat length, PN_stdfloat width, PN_stdfloat bevel) {
LightReMutexHolder holder(_lock);
set_state(0);
clear_state_def(0);
if (vertical) {
set_frame(-width / 2.0f, width / 2.0f, -length / 2.0f, length / 2.0f);
_axis = LVector3::rfu(0.0f, 0.0f, -1.0f);
} else {
set_frame(-length / 2.0f, length / 2.0f, -width / 2.0f, width / 2.0f);
_axis = LVector3::rfu(1.0f, 0.0f, 0.0f);
}
PGFrameStyle style;
style.set_color(0.6f, 0.6f, 0.6f, 1.0f);
style.set_type(PGFrameStyle::T_flat);
set_frame_style(0, style);
style.set_color(0.8f, 0.8f, 0.8f, 1.0f);
style.set_type(PGFrameStyle::T_bevel_out);
style.set_width(bevel, bevel);
// Remove the button nodes created by a previous call to setup(), if
// any.
if (_thumb_button != (PGButton *)NULL) {
remove_child(_thumb_button);
set_thumb_button(NULL);
}
if (_left_button != (PGButton *)NULL) {
remove_child(_left_button);
set_left_button(NULL);
}
if (_right_button != (PGButton *)NULL) {
remove_child(_right_button);
set_right_button(NULL);
}
PT(PGButton) thumb = new PGButton("thumb");
thumb->setup("", bevel);
thumb->set_frame(-width / 2.0f, width / 2.0f,
-width / 2.0f, width / 2.0f);
add_child(thumb);
set_thumb_button(thumb);
PT(PGButton) left = new PGButton("left");
left->setup("", bevel);
left->set_frame(-width / 2.0f, width / 2.0f,
-width / 2.0f, width / 2.0f);
left->set_transform(TransformState::make_pos(((width - length) / 2.0f) * _axis));
add_child(left);
set_left_button(left);
PT(PGButton) right = new PGButton("right");
right->setup("", bevel);
right->set_frame(-width / 2.0f, width / 2.0f,
-width / 2.0f, width / 2.0f);
right->set_transform(TransformState::make_pos(((length - width) / 2.0f) * _axis));
add_child(right);
set_right_button(right);
set_resize_thumb(true);
set_manage_pieces(true);
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::setup_slider
// Access: Published
// Description: Creates PGSliderBar that represents a slider that the
// user can use to control an analog quantity.
//
// This is functionally the same as a scroll bar, but it
// has a distinctive look.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
setup_slider(bool vertical, PN_stdfloat length, PN_stdfloat width, PN_stdfloat bevel) {
LightReMutexHolder holder(_lock);
set_state(0);
clear_state_def(0);
if (vertical) {
set_frame(-width / 2.0f, width / 2.0f, -length / 2.0f, length / 2.0f);
_axis = LVector3::rfu(0.0f, 0.0f, -1.0f);
} else {
set_frame(-length / 2.0f, length / 2.0f, -width / 2.0f, width / 2.0f);
_axis = LVector3::rfu(1.0f, 0.0f, 0.0f);
}
PGFrameStyle style;
style.set_color(0.6f, 0.6f, 0.6f, 1.0f);
style.set_type(PGFrameStyle::T_flat);
style.set_visible_scale(1.0f, 0.25f);
style.set_width(bevel, bevel);
set_frame_style(0, style);
// Remove the button nodes created by a previous call to setup(), if
// any.
if (_thumb_button != (PGButton *)NULL) {
remove_child(_thumb_button);
set_thumb_button(NULL);
}
if (_left_button != (PGButton *)NULL) {
remove_child(_left_button);
set_left_button(NULL);
}
if (_right_button != (PGButton *)NULL) {
remove_child(_right_button);
set_right_button(NULL);
}
PT(PGButton) thumb = new PGButton("thumb");
thumb->setup(" ", bevel);
thumb->set_frame(-width / 4.0f, width / 4.0f,
-width / 2.0f, width / 2.0f);
add_child(thumb);
set_thumb_button(thumb);
set_resize_thumb(false);
set_manage_pieces(true);
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::set_active
// Access: Published, Virtual
// Description: Sets whether the PGItem is active for mouse watching.
// This is not necessarily related to the
// active/inactive appearance of the item, which is
// controlled by set_state(), but it does affect whether
// it responds to mouse events.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
set_active(bool active) {
LightReMutexHolder holder(_lock);
PGItem::set_active(active);
// This also implicitly sets the managed pieces.
if (_thumb_button != (PGButton *)NULL) {
_thumb_button->set_active(active);
}
if (_left_button != (PGButton *)NULL) {
_left_button->set_active(active);
}
if (_right_button != (PGButton *)NULL) {
_right_button->set_active(active);
}
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::remanage
// Access: Published
// Description: Manages the position and size of the scroll bars and
// the thumb. Normally this should not need to be
// called directly.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
remanage() {
LightReMutexHolder holder(_lock);
_needs_remanage = false;
const LVecBase4 &frame = get_frame();
PN_stdfloat width, length;
if (fabs(_axis[0]) > fabs(_axis[1] + _axis[2])) {
// The slider is X-dominant.
width = frame[3] - frame[2];
length = frame[1] - frame[0];
} else {
// The slider is Y-dominant.
width = frame[1] - frame[0];
length = frame[3] - frame[2];
}
LVector3 center = LVector3::rfu((frame[0] + frame[1]) / 2.0f,
0.0f,
(frame[2] + frame[3]) / 2.0f);
if (_left_button != (PGButton *)NULL) {
_left_button->set_frame(-width / 2.0f, width / 2.0f,
-width / 2.0f, width / 2.0f);
_left_button->set_transform(TransformState::make_pos(center + ((width - length) / 2.0f) * _axis));
}
if (_right_button != (PGButton *)NULL) {
_right_button->set_frame(-width / 2.0f, width / 2.0f,
-width / 2.0f, width / 2.0f);
_right_button->set_transform(TransformState::make_pos(center + ((length - width) / 2.0f) * _axis));
}
if (_thumb_button != (PGButton *)NULL) {
_thumb_button->set_frame(-width / 2.0f, width / 2.0f,
-width / 2.0f, width / 2.0f);
_thumb_button->set_transform(TransformState::make_pos(center));
}
recompute();
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::recompute
// Access: Published
// Description: Recomputes the position and size of the thumb.
// Normally this should not need to be called directly.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
recompute() {
LightReMutexHolder holder(_lock);
_needs_recompute = false;
if (_min_value != _max_value) {
_scroll_ratio = fabs(_scroll_value / (_max_value - _min_value));
_page_ratio = fabs(_page_value / (_max_value - _min_value));
} else {
_scroll_ratio = 0.0f;
_page_ratio = 0.0f;
}
if (!has_frame()) {
_min_x = 0.0f;
_max_x = 0.0f;
_thumb_width = 0.0f;
_range_x = 0.0f;
_thumb_start.set(0.0f, 0.0f, 0.0f);
} else {
LVecBase4 frame = get_frame();
reduce_region(frame, _left_button);
reduce_region(frame, _right_button);
if (fabs(_axis[0]) > fabs(_axis[1] + _axis[2])) {
// The slider is X-dominant.
_min_x = frame[0];
_max_x = frame[1];
PN_stdfloat trough_width = _max_x - _min_x;
if (_thumb_button == (PGButton *)NULL) {
_thumb_width = 0.0f;
_range_x = 0.0f;
_thumb_start.set(0.0f, 0.0f, 0.0f);
} else {
const LVecBase4 &thumb_frame = _thumb_button->get_frame();
if (_resize_thumb) {
// If we're allowed to adjust the thumb's size, we don't need to
// find out how wide it is.
_thumb_width = trough_width * min((PN_stdfloat)1.0, _page_ratio);
_thumb_button->set_frame(-_thumb_width / 2.0f, _thumb_width / 2.0f,
thumb_frame[2], thumb_frame[3]);
} else {
// If we're not adjusting the thumb's size, we do need to know
// its current width.
_thumb_width = thumb_frame[1] - thumb_frame[0];
}
_range_x = trough_width - _thumb_width;
if (_axis[0] >= 0.0f) {
// The slider runs forwards, left to right.
_thumb_start = (_min_x - thumb_frame[0]) * _axis;
} else {
// The slider runs backwards: right to left.
_thumb_start = (thumb_frame[1] - _max_x) * _axis;
}
_thumb_start += LVector3::rfu(0.0f, 0.0f, (frame[2] + frame[3]) / 2.0f);
}
} else {
// The slider is Y-dominant. We call it X in the variable names,
// but it's really Y (or even Z).
_min_x = frame[2];
_max_x = frame[3];
PN_stdfloat trough_width = _max_x - _min_x;
if (_thumb_button == (PGButton *)NULL) {
_thumb_width = 0.0f;
_range_x = 0.0f;
_thumb_start.set(0.0f, 0.0f, 0.0f);
} else {
const LVecBase4 &thumb_frame = _thumb_button->get_frame();
if (_resize_thumb) {
// If we're allowed to adjust the thumb's size, we don't need to
// find out how wide it is.
_thumb_width = trough_width * min((PN_stdfloat)1.0, _page_ratio);
_thumb_button->set_frame(thumb_frame[0], thumb_frame[1],
-_thumb_width / 2.0f, _thumb_width / 2.0f);
} else {
// If we're not adjusting the thumb's size, we do need to know
// its current width.
_thumb_width = thumb_frame[3] - thumb_frame[2];
}
_range_x = trough_width - _thumb_width;
if (_axis[1] >= 0.0f && _axis[2] >= 0.0f) {
// The slider runs forwards, bottom to top.
_thumb_start = (_min_x - thumb_frame[2]) * _axis;
} else {
// The slider runs backwards: top to bottom.
_thumb_start = (thumb_frame[3] - _max_x) * _axis;
}
_thumb_start += LVector3::rfu((frame[0] + frame[1]) / 2.0f, 0.0f, 0.0f);
}
}
}
reposition();
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::frame_changed
// Access: Protected, Virtual
// Description: Called when the user changes the frame size.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
frame_changed() {
LightReMutexHolder holder(_lock);
PGItem::frame_changed();
_needs_remanage = true;
_needs_recompute = true;
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::item_transform_changed
// Access: Protected, Virtual
// Description: Called whenever a watched PGItem's local transform
// has been changed.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
item_transform_changed(PGItem *) {
LightReMutexHolder holder(_lock);
_needs_recompute = true;
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::item_frame_changed
// Access: Protected, Virtual
// Description: Called whenever a watched PGItem's frame
// has been changed.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
item_frame_changed(PGItem *) {
LightReMutexHolder holder(_lock);
_needs_recompute = true;
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::item_draw_mask_changed
// Access: Protected, Virtual
// Description: Called whenever a watched PGItem's draw_mask
// has been changed.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
item_draw_mask_changed(PGItem *) {
LightReMutexHolder holder(_lock);
_needs_recompute = true;
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::item_press
// Access: Protected, Virtual
// Description: Called whenever the "press" event is triggered on a
// watched PGItem. See PGItem::press().
////////////////////////////////////////////////////////////////////
void PGSliderBar::
item_press(PGItem *item, const MouseWatcherParameter ¶m) {
LightReMutexHolder holder(_lock);
if (param.has_mouse()) {
_mouse_pos = param.get_mouse();
}
if (item == _left_button || item == _right_button) {
_scroll_button_held = item;
_mouse_button_page = false;
advance_scroll();
_next_advance_time =
ClockObject::get_global_clock()->get_frame_time() + scroll_initial_delay;
} else if (item == _thumb_button) {
_scroll_button_held = NULL;
begin_drag();
}
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::item_release
// Access: Protected, Virtual
// Description: Called whenever the "release" event is triggered on a
// watched PGItem. See PGItem::release().
////////////////////////////////////////////////////////////////////
void PGSliderBar::
item_release(PGItem *item, const MouseWatcherParameter &) {
LightReMutexHolder holder(_lock);
if (item == _scroll_button_held) {
_scroll_button_held = NULL;
} else if (item == _thumb_button) {
_scroll_button_held = NULL;
if (_dragging) {
end_drag();
}
}
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::item_move
// Access: Protected, Virtual
// Description: Called whenever the "move" event is triggered on a
// watched PGItem. See PGItem::move().
////////////////////////////////////////////////////////////////////
void PGSliderBar::
item_move(PGItem *item, const MouseWatcherParameter ¶m) {
LightReMutexHolder holder(_lock);
_mouse_pos = param.get_mouse();
if (item == _thumb_button) {
if (_dragging) {
continue_drag();
}
}
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::reposition
// Access: Private
// Description: A lighter-weight version of recompute(), this just
// moves the thumb, assuming all other properties are
// unchanged.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
reposition() {
_needs_reposition = false;
PN_stdfloat t = get_ratio();
if (_thumb_button != (PGButton *)NULL) {
LPoint3 pos = (t * _range_x) * _axis + _thumb_start;
CPT(TransformState) transform = TransformState::make_pos(pos);
CPT(TransformState) orig_transform = _thumb_button->get_transform();
// It's important not to update the transform frivolously, or
// we'll get caught in an update loop.
if (transform == orig_transform) {
// No change.
} else if (*transform < *orig_transform || *orig_transform < *transform) {
_thumb_button->set_transform(transform);
}
}
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::advance_scroll
// Access: Private
// Description: Advances the scroll bar by one unit in the left or
// right direction while the user is holding down the
// left or right scroll button.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
advance_scroll() {
if (_scroll_button_held == _left_button) {
internal_set_ratio(max(_ratio - _scroll_ratio, (PN_stdfloat)0.0));
} else if (_scroll_button_held == _right_button) {
internal_set_ratio(min(_ratio + _scroll_ratio, (PN_stdfloat)1.0));
}
_next_advance_time =
ClockObject::get_global_clock()->get_frame_time() + scroll_continued_delay;
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::advance_page
// Access: Private
// Description: Advances the scroll bar by one page in the left or
// right direction while the user is holding down the
// mouse button on the track.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
advance_page() {
// Is the mouse position left or right of the current thumb
// position?
LPoint3 mouse = mouse_to_local(_mouse_pos) - _thumb_start;
PN_stdfloat target_ratio = mouse.dot(_axis) / _range_x;
PN_stdfloat t;
if (target_ratio < _ratio) {
t = max(_ratio - _page_ratio + _scroll_ratio, target_ratio);
} else {
t = min(_ratio + _page_ratio - _scroll_ratio, target_ratio);
}
internal_set_ratio(t);
if (t == target_ratio) {
// We made it; begin dragging from now on until the user releases
// the mouse.
begin_drag();
}
_next_advance_time =
ClockObject::get_global_clock()->get_frame_time() + scroll_continued_delay;
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::begin_drag
// Access: Private
// Description: Called when the user clicks down on the thumb button,
// possibly to begin dragging.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
begin_drag() {
if (_needs_recompute) {
recompute();
}
if (_range_x != 0.0f) {
PN_stdfloat current_x = mouse_to_local(_mouse_pos).dot(_axis);
_drag_start_x = current_x - get_ratio() * _range_x;
_dragging = true;
}
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::continue_drag
// Access: Private
// Description: Called as the user moves the mouse while still
// dragging on the thumb button.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
continue_drag() {
if (_needs_recompute) {
recompute();
}
if (_range_x != 0.0f) {
PN_stdfloat current_x = mouse_to_local(_mouse_pos).dot(_axis);
internal_set_ratio((current_x - _drag_start_x) / _range_x);
}
}
////////////////////////////////////////////////////////////////////
// Function: PGSliderBar::end_drag
// Access: Private
// Description: Called as the user releases the mouse after dragging.
////////////////////////////////////////////////////////////////////
void PGSliderBar::
end_drag() {
_dragging = false;
}
| [
"nachstedt@braincorporation.com"
] | nachstedt@braincorporation.com |
e2aa49d14112c0a51183a7285bfc9882cc02c1ee | f49fa0a4a14a20bf56b010a6a206ec069ef69c0d | /ch04-computation/ex20.cpp | fdc74188def4165d8dcc9042967a0531b3fdd43a | [] | no_license | yuichi-morisaki/cpp-p3 | ff29d7081e9cecfd0e4e3e6117f7f731de79ed11 | dc573b0660d675b17a267cac76abcea470d0d0e2 | refs/heads/main | 2023-01-30T01:20:13.768034 | 2020-12-15T03:28:00 | 2020-12-15T03:28:00 | 314,279,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 985 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main()
{
vector<string> names;
vector<int> scores;
string name;
int score;
while (cin >> name >> score) {
if (name == "NoName" && score == 0)
break;
bool duplicated = false;
for (string registered: names) {
if (name == registered) {
duplicated = true;
}
}
if (duplicated) {
cout << "Duplicated name: " << name << '\n';
break;
} else {
names.push_back(name);
scores.push_back(score);
}
}
cout << "Whose score do you need? ";
string target;
cin >> target;
bool found = false;
for (int i = 0; i < names.size(); ++i) {
if (names[i] == target) {
cout << scores[i] << '\n';
found = true;
break;
}
}
if (!found)
cout << "name not found\n";
return 0;
}
| [
"yuichi.morisaki@gmail.com"
] | yuichi.morisaki@gmail.com |
c551804a0a460ac0ee7214f2c40dfc1b0b4c070d | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-iam/source/model/CreatePolicyVersionRequest.cpp | d4d8319c70256d228a9e7e9d150886713b49a9b3 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 1,195 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/iam/model/CreatePolicyVersionRequest.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
using namespace Aws::IAM::Model;
using namespace Aws::Utils;
CreatePolicyVersionRequest::CreatePolicyVersionRequest() :
m_policyArnHasBeenSet(false),
m_policyDocumentHasBeenSet(false),
m_setAsDefault(false),
m_setAsDefaultHasBeenSet(false)
{
}
Aws::String CreatePolicyVersionRequest::SerializePayload() const
{
Aws::StringStream ss;
ss << "Action=CreatePolicyVersion&";
if(m_policyArnHasBeenSet)
{
ss << "PolicyArn=" << StringUtils::URLEncode(m_policyArn.c_str()) << "&";
}
if(m_policyDocumentHasBeenSet)
{
ss << "PolicyDocument=" << StringUtils::URLEncode(m_policyDocument.c_str()) << "&";
}
if(m_setAsDefaultHasBeenSet)
{
ss << "SetAsDefault=" << std::boolalpha << m_setAsDefault << "&";
}
ss << "Version=2010-05-08";
return ss.str();
}
void CreatePolicyVersionRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const
{
uri.SetQueryString(SerializePayload());
}
| [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
a6cecc718ecc76ecd4a1d102668771489c938ce2 | a7604dc73433b4f5ea6d38f02ed725b0f5eee9fd | /pop3_dll/pop3_dll.cpp | 2977d0283a8e379ee0eb608ad4cdd0bb740af2fe | [] | no_license | dmzkrsk/popcheck | a315bd3531c8f3b645e6009b1551dde276219e3c | 543367f160e5b6d7a9b603de79dfc8677f87b72d | refs/heads/master | 2022-11-05T11:09:51.608273 | 2020-06-25T08:55:31 | 2020-06-25T08:55:31 | 274,756,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,670 | cpp | // pop3_dll.cpp : Defines the initialization routines for the DLL.
//
#include "stdafx.h"
#include "pop3_dll.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//
// Note!
//
// If this DLL is dynamically linked against the MFC
// DLLs, any functions exported from this DLL which
// call into MFC must have the AFX_MANAGE_STATE macro
// added at the very beginning of the function.
//
// For example:
//
// extern "C" BOOL PASCAL EXPORT ExportedFunction()
// {
// AFX_MANAGE_STATE(AfxGetStaticModuleState());
// // normal function body here
// }
//
// It is very important that this macro appear in each
// function, prior to any calls into MFC. This means that
// it must appear as the first statement within the
// function, even before any object variable declarations
// as their constructors may generate calls into the MFC
// DLL.
//
// Please see MFC Technical Notes 33 and 58 for additional
// details.
//
/////////////////////////////////////////////////////////////////////////////
// CPop3_dllApp
BEGIN_MESSAGE_MAP(CPop3_dllApp, CWinApp)
//{{AFX_MSG_MAP(CPop3_dllApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPop3_dllApp construction
CPop3_dllApp::CPop3_dllApp()
{
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CPop3_dllApp object
CPop3_dllApp theApp;
| [
"dmzkrsk@gmail.com"
] | dmzkrsk@gmail.com |
7227921f80668dfd48b65bdf6ff69282b6d1d2f7 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/arc078/B/4899935.cpp | 577b30514534becd8f39fa21fbd51089996f3f04 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 4,040 | cpp | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
const int MOD = 1e9 + 7;
const int iINF = 1000000000;
const long long int llINF = 1000000000000000000;
using namespace std;
using ll = long long int;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
using vvvl = vector<vector<vector<ll>>>;
typedef pair<ll, ll> pll;
bool paircomp(const pll &a, const pll &b) {
if (a.first == b.first)
return a.second < b.second;
return a.first < b.first;
}
#define REP(i, n) for (ll i = 0; i < (n); i++)
#define RREP(i, n) for (ll i = (n)-1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = (a); i < (b); i++)
#define AUTO(i, m) for (auto &i : m)
#define ALL(a) (a).begin(), (a).end()
#define MAX(vec) *std::max_element(vec.begin(), vec.end())
#define MIN(vec) *std::min_element(vec.begin(), vec.end())
#define ARGMAX(vec) \
std::distance(vec.begin(), std::max_element(vec.begin(), vec.end()))
#define ARGMIN(vec) \
std::distance(vec.begin(), std::min_element(vec.begin(), vec.end()))
#define REV(T) greater<T>()
#define PQ(T) priority_queue<T, vector<T>, greater<T>>
#define VVL(a, b, c) vector<vector<ll>>(a, vector<ll>(b, c))
#define VVVL(a, b, c, d) \
vector<vector<vector<ll>>>(a, vector<vector<ll>>(b, vector<ll>(c, d)))
#define SP(a) setprecision(a)
#define SQRT(a) sqrt((long double)(a))
#define DPOW(a, b) pow((long double)(a), (long double)(b))
ll POW(ll n, ll m) {
if (m == 0) {
return 1;
} else if (m % 2 == 0) {
ll tmp = POW(n, m / 2);
return (tmp * tmp);
} else {
return (n * POW(n, m - 1));
}
}
typedef ll Weight;
struct Edge {
ll src, dst;
Weight weight;
Edge(ll src, ll dst, Weight weight) : src(src), dst(dst), weight(weight) {}
};
bool operator<(const Edge &e, const Edge &f) {
return e.weight != f.weight ? e.weight > f.weight : // !!INVERSE!!
e.src != f.src ? e.src < f.src : e.dst < f.dst;
}
typedef vector<Edge> Edges;
typedef vector<Edges> Graph;
typedef vector<Weight> Array;
typedef vector<Array> Matrix;
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};
void shortestPath(const Graph &g, ll s, vector<Weight> &dist,
vector<ll> &prev) {
ll n = g.size();
dist.assign(n, llINF);
dist[s] = 0;
prev.assign(n, -1);
priority_queue<Edge> Q; // "e < f" <=> "e.weight > f.weight"
for (Q.push(Edge(-2, s, 0)); !Q.empty();) {
Edge e = Q.top();
Q.pop();
if (prev[e.dst] != -1)
continue;
prev[e.dst] = e.src;
AUTO(f, g[e.dst]) {
if (dist[f.dst] > e.weight + f.weight) {
dist[f.dst] = e.weight + f.weight;
Q.push(Edge(f.src, f.dst, e.weight + f.weight));
}
}
}
}
vector<ll> buildPath(const vector<ll> &prev, ll t) {
vector<ll> path;
for (ll u = t; u >= 0; u = prev[u])
path.push_back(u);
reverse(path.begin(), path.end());
return path;
}
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll N;
cin >> N;
Graph G(N);
vl used1(N, 0);
vl used2(N, 0);
vector<ll> dist1(N, 0);
vector<ll> prev1(N, 0);
vector<ll> dist2(N, 0);
vector<ll> prev2(N, 0);
REP(i, N - 1) {
ll a, b;
cin >> a >> b;
G[a - 1].push_back(Edge(a - 1, b - 1, 1));
G[b - 1].push_back(Edge(b - 1, a - 1, 1));
}
shortestPath(G, 0, dist1, prev1);
shortestPath(G, N - 1, dist2, prev2);
ll fene = 0;
ll sunu = 0;
FOR(i, 1, N - 1) {
if (dist1[i] <= dist2[i])
fene++;
else
sunu++;
}
// cout << fene << "," << sunu << endl;
if (fene > sunu)
cout << "Fennec" << endl;
else
cout << "Snuke" << endl;
return 0;
} | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
e0a4249ee040c17c94d412a2c3373c3689b56d51 | c7c77ecdb2a33ee387147f068a6772961a5adc78 | /stromx/cvimgproc/PreCornerDetect.cpp | e0c1b2efa3848f9a2778f47b11235af25d4e69ff | [
"Apache-2.0"
] | permissive | uboot/stromx-opencv | b38d8a3a192f3ed1f1d9d87341f0817024debf32 | c7de6353905fee8870f8bf700363e0868ab17b78 | refs/heads/master | 2020-05-22T01:31:04.138296 | 2018-02-08T15:19:05 | 2018-02-08T15:19:05 | 52,387,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,479 | cpp | #include "stromx/cvimgproc/PreCornerDetect.h"
#include "stromx/cvimgproc/Locale.h"
#include "stromx/cvimgproc/Utility.h"
#include <stromx/cvsupport/Image.h>
#include <stromx/cvsupport/Matrix.h>
#include <stromx/cvsupport/Utilities.h>
#include <stromx/runtime/DataContainer.h>
#include <stromx/runtime/DataProvider.h>
#include <stromx/runtime/Id2DataComposite.h>
#include <stromx/runtime/Id2DataPair.h>
#include <stromx/runtime/ReadAccess.h>
#include <stromx/runtime/VariantComposite.h>
#include <stromx/runtime/WriteAccess.h>
#include <opencv2/imgproc/imgproc.hpp>
namespace stromx
{
namespace cvimgproc
{
const std::string PreCornerDetect::PACKAGE(STROMX_CVIMGPROC_PACKAGE_NAME);
const runtime::Version PreCornerDetect::VERSION(STROMX_CVIMGPROC_VERSION_MAJOR, STROMX_CVIMGPROC_VERSION_MINOR, STROMX_CVIMGPROC_VERSION_PATCH);
const std::string PreCornerDetect::TYPE("PreCornerDetect");
PreCornerDetect::PreCornerDetect()
: runtime::OperatorKernel(TYPE, PACKAGE, VERSION, setupInitParameters()),
m_borderType(BORDER_DEFAULT),
m_ksize(3),
m_dataFlow()
{
}
const runtime::DataRef PreCornerDetect::getParameter(unsigned int id) const
{
switch(id)
{
case PARAMETER_BORDER_TYPE:
return m_borderType;
case PARAMETER_KSIZE:
return m_ksize;
case PARAMETER_DATA_FLOW:
return m_dataFlow;
default:
throw runtime::WrongParameterId(id, *this);
}
}
void PreCornerDetect::setParameter(unsigned int id, const runtime::Data& value)
{
try
{
switch(id)
{
case PARAMETER_BORDER_TYPE:
{
const runtime::Enum & castedValue = runtime::data_cast<runtime::Enum>(value);
if(! castedValue.variant().isVariant(runtime::Variant::ENUM))
{
throw runtime::WrongParameterType(parameter(id), *this);
}
cvsupport::checkEnumValue(castedValue, m_borderTypeParameter, *this);
m_borderType = castedValue;
}
break;
case PARAMETER_KSIZE:
{
const runtime::UInt32 & castedValue = runtime::data_cast<runtime::UInt32>(value);
if(! castedValue.variant().isVariant(runtime::Variant::UINT_32))
{
throw runtime::WrongParameterType(parameter(id), *this);
}
cvsupport::checkNumericValue(castedValue, m_ksizeParameter, *this);
if(int(castedValue) % 2 == 0)
throw runtime::WrongParameterValue(*m_ksizeParameter, *this, "Only odd values are allowed");
m_ksize = castedValue;
}
break;
case PARAMETER_DATA_FLOW:
{
const runtime::Enum & castedValue = runtime::data_cast<runtime::Enum>(value);
if(! castedValue.variant().isVariant(runtime::Variant::ENUM))
{
throw runtime::WrongParameterType(parameter(id), *this);
}
cvsupport::checkEnumValue(castedValue, m_dataFlowParameter, *this);
m_dataFlow = castedValue;
}
break;
default:
throw runtime::WrongParameterId(id, *this);
}
}
catch(runtime::BadCast&)
{
throw runtime::WrongParameterType(parameter(id), *this);
}
}
const std::vector<const runtime::Parameter*> PreCornerDetect::setupInitParameters()
{
std::vector<const runtime::Parameter*> parameters;
m_dataFlowParameter = new runtime::EnumParameter(PARAMETER_DATA_FLOW);
m_dataFlowParameter->setAccessMode(runtime::Parameter::NONE_WRITE);
m_dataFlowParameter->setTitle(L_("Data flow"));
m_dataFlowParameter->add(runtime::EnumDescription(runtime::Enum(MANUAL), L_("Manual")));
m_dataFlowParameter->add(runtime::EnumDescription(runtime::Enum(ALLOCATE), L_("Allocate")));
parameters.push_back(m_dataFlowParameter);
return parameters;
}
const std::vector<const runtime::Parameter*> PreCornerDetect::setupParameters()
{
std::vector<const runtime::Parameter*> parameters;
switch(int(m_dataFlow))
{
case(MANUAL):
{
m_ksizeParameter = new runtime::NumericParameter<runtime::UInt32>(PARAMETER_KSIZE);
m_ksizeParameter->setAccessMode(runtime::Parameter::ACTIVATED_WRITE);
m_ksizeParameter->setTitle(L_("Kernel size"));
m_ksizeParameter->setMax(runtime::UInt32(7));
m_ksizeParameter->setMin(runtime::UInt32(1));
m_ksizeParameter->setStep(runtime::UInt32(2));
parameters.push_back(m_ksizeParameter);
m_borderTypeParameter = new runtime::EnumParameter(PARAMETER_BORDER_TYPE);
m_borderTypeParameter->setAccessMode(runtime::Parameter::ACTIVATED_WRITE);
m_borderTypeParameter->setTitle(L_("Border type"));
m_borderTypeParameter->add(runtime::EnumDescription(runtime::Enum(BORDER_DEFAULT), L_("Default")));
m_borderTypeParameter->add(runtime::EnumDescription(runtime::Enum(BORDER_CONSTANT), L_("Constant")));
m_borderTypeParameter->add(runtime::EnumDescription(runtime::Enum(BORDER_REFLECT), L_("Reflect")));
m_borderTypeParameter->add(runtime::EnumDescription(runtime::Enum(BORDER_REPLICATE), L_("Replicate")));
parameters.push_back(m_borderTypeParameter);
}
break;
case(ALLOCATE):
{
m_ksizeParameter = new runtime::NumericParameter<runtime::UInt32>(PARAMETER_KSIZE);
m_ksizeParameter->setAccessMode(runtime::Parameter::ACTIVATED_WRITE);
m_ksizeParameter->setTitle(L_("Kernel size"));
m_ksizeParameter->setMax(runtime::UInt32(7));
m_ksizeParameter->setMin(runtime::UInt32(1));
m_ksizeParameter->setStep(runtime::UInt32(2));
parameters.push_back(m_ksizeParameter);
m_borderTypeParameter = new runtime::EnumParameter(PARAMETER_BORDER_TYPE);
m_borderTypeParameter->setAccessMode(runtime::Parameter::ACTIVATED_WRITE);
m_borderTypeParameter->setTitle(L_("Border type"));
m_borderTypeParameter->add(runtime::EnumDescription(runtime::Enum(BORDER_DEFAULT), L_("Default")));
m_borderTypeParameter->add(runtime::EnumDescription(runtime::Enum(BORDER_CONSTANT), L_("Constant")));
m_borderTypeParameter->add(runtime::EnumDescription(runtime::Enum(BORDER_REFLECT), L_("Reflect")));
m_borderTypeParameter->add(runtime::EnumDescription(runtime::Enum(BORDER_REPLICATE), L_("Replicate")));
parameters.push_back(m_borderTypeParameter);
}
break;
}
return parameters;
}
const std::vector<const runtime::Input*> PreCornerDetect::setupInputs()
{
std::vector<const runtime::Input*> inputs;
switch(int(m_dataFlow))
{
case(MANUAL):
{
m_srcDescription = new runtime::Input(INPUT_SRC, runtime::Variant::MONO_8_IMAGE);
m_srcDescription->setTitle(L_("Source"));
inputs.push_back(m_srcDescription);
m_dstDescription = new runtime::Input(INPUT_DST, runtime::Variant::MATRIX);
m_dstDescription->setTitle(L_("Destination"));
inputs.push_back(m_dstDescription);
}
break;
case(ALLOCATE):
{
m_srcDescription = new runtime::Input(INPUT_SRC, runtime::Variant::MONO_8_IMAGE);
m_srcDescription->setTitle(L_("Source"));
inputs.push_back(m_srcDescription);
}
break;
}
return inputs;
}
const std::vector<const runtime::Output*> PreCornerDetect::setupOutputs()
{
std::vector<const runtime::Output*> outputs;
switch(int(m_dataFlow))
{
case(MANUAL):
{
runtime::Output* dst = new runtime::Output(OUTPUT_DST, runtime::Variant::FLOAT_32_MATRIX);
dst->setTitle(L_("Destination"));
outputs.push_back(dst);
}
break;
case(ALLOCATE):
{
runtime::Output* dst = new runtime::Output(OUTPUT_DST, runtime::Variant::FLOAT_32_MATRIX);
dst->setTitle(L_("Destination"));
outputs.push_back(dst);
}
break;
}
return outputs;
}
void PreCornerDetect::initialize()
{
runtime::OperatorKernel::initialize(setupInputs(), setupOutputs(), setupParameters());
}
void PreCornerDetect::execute(runtime::DataProvider & provider)
{
switch(int(m_dataFlow))
{
case(MANUAL):
{
runtime::Id2DataPair srcInMapper(INPUT_SRC);
runtime::Id2DataPair dstInMapper(INPUT_DST);
provider.receiveInputData(srcInMapper && dstInMapper);
const runtime::Data* srcData = 0;
runtime::Data* dstData = 0;
runtime::ReadAccess srcReadAccess;
runtime::DataContainer inContainer = dstInMapper.data();
runtime::WriteAccess writeAccess(inContainer);
dstData = &writeAccess.get();
if(srcInMapper.data() == inContainer)
{
throw runtime::InputError(INPUT_SRC, *this, "Can not operate in place.");
}
else
{
srcReadAccess = runtime::ReadAccess(srcInMapper.data());
srcData = &srcReadAccess.get();
}
if(! srcData->variant().isVariant(m_srcDescription->variant()))
{
throw runtime::InputError(INPUT_SRC, *this, "Wrong input data variant.");
}
if(! dstData->variant().isVariant(m_dstDescription->variant()))
{
throw runtime::InputError(INPUT_DST, *this, "Wrong input data variant.");
}
const runtime::Image* srcCastedData = runtime::data_cast<runtime::Image>(srcData);
runtime::Matrix * dstCastedData = runtime::data_cast<runtime::Matrix>(dstData);
unsigned int stride = srcCastedData->cols() * runtime::Matrix::valueSize(runtime::Matrix::FLOAT_32);
dstCastedData->initializeMatrix(srcCastedData->rows(), srcCastedData->cols(), stride, dstCastedData->data(), runtime::Matrix::FLOAT_32);
cv::Mat srcCvData = cvsupport::getOpenCvMat(*srcCastedData);
cv::Mat dstCvData = cvsupport::getOpenCvMat(*dstCastedData);
int ksizeCvData = int(m_ksize);
int borderTypeCvData = convertBorderType(m_borderType);
cv::preCornerDetect(srcCvData, dstCvData, ksizeCvData, borderTypeCvData);
runtime::DataContainer dstOutContainer = inContainer;
runtime::Id2DataPair dstOutMapper(OUTPUT_DST, dstOutContainer);
provider.sendOutputData(dstOutMapper);
}
break;
case(ALLOCATE):
{
runtime::Id2DataPair srcInMapper(INPUT_SRC);
provider.receiveInputData(srcInMapper);
const runtime::Data* srcData = 0;
runtime::ReadAccess srcReadAccess;
srcReadAccess = runtime::ReadAccess(srcInMapper.data());
srcData = &srcReadAccess.get();
if(! srcData->variant().isVariant(m_srcDescription->variant()))
{
throw runtime::InputError(INPUT_SRC, *this, "Wrong input data variant.");
}
const runtime::Image* srcCastedData = runtime::data_cast<runtime::Image>(srcData);
cv::Mat srcCvData = cvsupport::getOpenCvMat(*srcCastedData);
cv::Mat dstCvData;
int ksizeCvData = int(m_ksize);
int borderTypeCvData = convertBorderType(m_borderType);
cv::preCornerDetect(srcCvData, dstCvData, ksizeCvData, borderTypeCvData);
runtime::Matrix* dstCastedData = new cvsupport::Matrix(dstCvData);
runtime::DataContainer dstOutContainer = runtime::DataContainer(dstCastedData);
runtime::Id2DataPair dstOutMapper(OUTPUT_DST, dstOutContainer);
provider.sendOutputData(dstOutMapper);
}
break;
}
}
int PreCornerDetect::convertBorderType(const runtime::Enum & value)
{
switch(int(value))
{
case BORDER_DEFAULT:
return cv::BORDER_DEFAULT;
case BORDER_CONSTANT:
return cv::BORDER_CONSTANT;
case BORDER_REFLECT:
return cv::BORDER_REFLECT;
case BORDER_REPLICATE:
return cv::BORDER_REPLICATE;
default:
throw runtime::WrongParameterValue(parameter(PARAMETER_BORDER_TYPE), *this);
}
}
} // cvimgproc
} // stromx
| [
"matz.fuchs@gmx.at"
] | matz.fuchs@gmx.at |
1bc49adf4bad69aad9dd33937402d9261e27348d | d8f15ad2a734351ac4783ca5ad6c100d112d12a8 | /LifeBot/Player.cpp | 4ab684a5f6af6579a0d44df5eeba31b9ff9eb41f | [] | no_license | UncleVasya/GoL_bot | 029ff0526049e0113b60905addde6fff0cd8f381 | fc720c92c41774ab5cbef8c8ebb4878b0a0eb04b | refs/heads/master | 2016-09-15T22:03:44.645303 | 2014-03-13T13:55:24 | 2014-03-13T13:55:24 | 10,056,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154 | cpp | #include "Board.h"
#include "Player.h"
Cell enemy(Cell player){
switch(player){
case player_1: return player_2;
case player_2: return player_1;
}
} | [
"Oleg_Ovcharenko@list.ru"
] | Oleg_Ovcharenko@list.ru |
fd07ff25ac6b64c06fbb25281a234e89cfb0626a | 8fa6dfab14afca5af5a94918a9b970aeb2e01b71 | /native/V2StyxLib/lib/messages/StyxRVersionMessage.cpp | 4a795f24148677191fbbac5219455a280fa30475 | [] | no_license | vshcryabets/V2StyxLib | 78790b96d286b5832686c3feba2a4cb394987151 | 21e294d7d53556bc8bc979d4be37861c9e26f262 | refs/heads/master | 2023-07-19T20:26:14.348427 | 2023-07-14T20:37:35 | 2023-07-14T20:37:35 | 2,674,217 | 3 | 0 | null | 2022-10-26T17:34:15 | 2011-10-30T07:30:28 | Java | UTF-8 | C++ | false | false | 924 | cpp | /*
* StyxRVersionMessage.cpp
*
* Created on: May 27, 2012
* Author: vschryabets@gmail.com
*/
#include "messages/StyxRVersionMessage.h"
StyxRVersionMessage::StyxRVersionMessage(size_t iounit, std::string protocol)
: StyxMessage( Rversion, StyxMessage::NOTAG ) {
mIOUnit = iounit;
mProtocol = protocol;
}
StyxRVersionMessage::~StyxRVersionMessage() {
// TODO Auto-generated destructor stub
}
void StyxRVersionMessage::load(IStyxDataReader *buffer) {
mIOUnit = buffer->readUInt32();
mProtocol = buffer->readUTFString(); // TODO this is wrong, memory leak
}
size_t StyxRVersionMessage::writeToBuffer(IStyxDataWriter* output) {
StyxMessage::writeToBuffer(output);
output->writeUInt32(mIOUnit);
output->writeUTFString(&mProtocol);
return getBinarySize();
}
size_t StyxRVersionMessage::getBinarySize() {
return StyxMessage::getBinarySize() + sizeof(uint32_t)
+ sizeof(uint16_t)+mProtocol.length();
}
| [
"vshcryabets@gmail.com"
] | vshcryabets@gmail.com |
2ce14e6a11043a9c23668b61a0a0c8651900255a | 00eafce8d2102419062bf946b37f10bd884d6df4 | /Conf.h | dfabd5381203dd96002e2efa0c43c0739901fb07 | [] | no_license | bonya81/mediainfomac | d37e89b69a1f2e29785103e21297e05e8548a5ea | b0f6009e8dfe43d4a65693de4b7d94af7fe6c6ac | refs/heads/master | 2021-01-10T19:16:41.878858 | 2008-01-31T00:46:42 | 2008-01-31T00:46:42 | 33,527,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,429 | h | // ZenLib::ZenTypes - To be independant of platform & compiler
// Copyright (C) 2002-2008 Jerome Martinez, Zen@MediaArea.net
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purpose,
// including commercial applications, and to alter it and redistribute it
// freely, subject to the following restrictions:
//
// 1. The origin of this software must not be misrepresented; you must not
// claim that you wrote the original software. If you use this software
// in a product, an acknowledgment in the product documentation would be
// appreciated but is not required.
// 2. Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
// 3. This notice may not be removed or altered from any source distribution.
//
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//---------------------------------------------------------------------------
#ifndef ZenConfH
#define ZenConfH
//---------------------------------------------------------------------------
//***************************************************************************
// Platforms
//***************************************************************************
//---------------------------------------------------------------------------
//Win32
#if defined(__NT__) || defined(_WIN32) || defined(WIN32)
#ifndef WIN32
#define WIN32
#endif
#ifndef _WIN32
#define _WIN32
#endif
#ifndef __WIN32__
#define __WIN32__ 1
#endif
#endif
//---------------------------------------------------------------------------
//Win64
#if defined(_WIN64) || defined(WIN64)
#ifndef WIN64
#define WIN64
#endif
#ifndef _WIN64
#define _WIN64
#endif
#ifndef __WIN64__
#define __WIN64__ 1
#endif
#endif
//---------------------------------------------------------------------------
//Windows
#if defined(WIN32) || defined(WIN64)
#ifndef WINDOWS
#define WINDOWS
#endif
#ifndef _WINDOWS
#define _WINDOWS
#endif
#ifndef __WINDOWS__
#define __WINDOWS__ 1
#endif
#endif
//---------------------------------------------------------------------------
//Unix (Linux, HP, Sun, BeOS...)
#if defined(UNIX) || defined(_UNIX) || defined(__UNIX__) \
|| defined(__unix) || defined(__unix__) \
|| defined(____SVR4____) || defined(__LINUX__) || defined(__sgi) \
|| defined(__hpux) || defined(sun) || defined(__SUN__) || defined(_AIX) \
|| defined(__EMX__) || defined(__VMS) || defined(__BEOS__)
#ifndef UNIX
#define UNIX
#endif
#ifndef _UNIX
#define _UNIX
#endif
#ifndef __UNIX__
#define __UNIX__ 1
#endif
#endif
//---------------------------------------------------------------------------
//MacOS Classic
#if defined(macintosh)
#ifndef MACOS
#define MACOS
#endif
#ifndef _MACOS
#define _MACOS
#endif
#ifndef __MACOS__
#define __MACOS__ 1
#endif
#endif
//---------------------------------------------------------------------------
//MacOS X
#if defined(__APPLE__) && defined(__MACH__)
#ifndef MACOSX
#define MACOSX
#endif
#ifndef _MACOSX
#define _MACOSX
#endif
#ifndef __MACOSX__
#define __MACOSX__ 1
#endif
#endif
//Test of targets
#if defined(WINDOWS) && defined(UNIX) && defined(MACOS) && defined(MACOSX)
#pragma message Multiple platforms???
#endif
#if !defined(WIN32) && !defined(UNIX) && !defined(MACOS) && !defined(MACOSX)
#pragma message No known platforms, assume default
#endif
//***************************************************************************
// Internationnal
//***************************************************************************
//---------------------------------------------------------------------------
//Unicode
#if defined(_UNICODE) || defined(UNICODE) || defined(__UNICODE__)
#ifndef _UNICODE
#define _UNICODE
#endif
#ifndef UNICODE
#define UNICODE
#endif
#ifndef __UNICODE__
#define __UNICODE__ 1
#endif
#endif
//***************************************************************************
// Compiler bugs/unuseful warning
//***************************************************************************
//MSVC6 : for(int t=0; t<10; ++t) { do something }; for(int t=0; t<10; ++t) { do something }
#if defined(_MSC_VER) && _MSC_VER <= 1200
#define for if(true)for
#pragma warning(disable:4786) // MSVC6 doesn't like typenames longer than 255 chars (which generates an enormous amount of warnings).
#endif
//MSVC2005 : "deprecated" warning (replacement functions are not in MinGW32 or Borland!)
#if defined(_MSC_VER) && _MSC_VER >= 1400
#pragma warning(disable : 4996)
#endif
//***************************************************************************
// (Without Namespace)
//***************************************************************************
//---------------------------------------------------------------------------
#include <limits.h>
//---------------------------------------------------------------------------
#if defined(ZENLIB_DEBUG) && (defined(DEBUG) || defined(_DEBUG))
#include <ZenLib/MemoryDebug.h>
#endif // defined(ZENLIB_DEBUG) && (defined(DEBUG) || defined(_DEBUG))
//***************************************************************************
// Compiler helpers
//***************************************************************************
//---------------------------------------------------------------------------
//Macro to cut down on compiler warnings
#define UNUSED(Identifier)
//---------------------------------------------------------------------------
//If we need size_t specific integer conversion
#if defined(__LP64__) || defined(MACOSX)
#define NEED_SIZET
#endif
//---------------------------------------------------------------------------
//(-1) is known to be the MAX of an unsigned int but GCC complains about it
//#include <new>
namespace ZenLib
{
const std::size_t Error=((std::size_t)(-1));
const std::size_t All=((std::size_t)(-1));
const std::size_t Unlimited=((std::size_t)(-1));
}
//***************************************************************************
// (With namespace)
//***************************************************************************
namespace ZenLib
{
//***************************************************************************
// International
//***************************************************************************
//---------------------------------------------------------------------------
//Char types
#undef _T
#define _T(__x) __T(__x)
#undef _TEXT
#define _TEXT(__x) __T(__x)
#undef __TEXT
#define __TEXT(__x) __T(__x)
#if defined(__UNICODE__)
#if defined (_MSC_VER) && !defined (_NATIVE_WCHAR_T_DEFINED)
#pragma message Native wchar_t is not defined, not tested, you should put /Zc:wchar_t in compiler options
#endif
typedef wchar_t Char;
#undef __T
#define __T(__x) L##__x
#else // defined(__UNICODE__)
typedef char Char;
#undef __T
#define __T(__x) __x
#endif // defined(__UNICODE__)
#ifdef wchar_t
typedef wchar_t wchar;
#endif // wchar_t
//***************************************************************************
// Platform differences
//***************************************************************************
//End of line
extern const Char* EOL;
//***************************************************************************
// Types
//***************************************************************************
//---------------------------------------------------------------------------
//int
typedef signed int ints;
typedef unsigned int intu;
//---------------------------------------------------------------------------
//8-bit int
#if UCHAR_MAX==0xff
#undef MAXTYPE_INT
#define MAXTYPE_INT 8
typedef signed char int8s;
typedef unsigned char int8u;
#else
#pragma message This machine has no 8-bit integertype?
#endif
//---------------------------------------------------------------------------
//16-bit int
#if UINT_MAX == 0xffff
#undef MAXTYPE_INT
#define MAXTYPE_INT 16
typedef signed int int16s;
typedef unsigned int int16u;
#elif USHRT_MAX == 0xffff
#undef MAXTYPE_INT
#define MAXTYPE_INT 16
typedef signed short int16s;
typedef unsigned short int16u;
#else
#pragma message This machine has no 16-bit integertype?
#endif
//---------------------------------------------------------------------------
//32-bit int
#if UINT_MAX == 0xfffffffful
#undef MAXTYPE_INT
#define MAXTYPE_INT 32
typedef signed int int32s;
typedef unsigned int int32u;
#elif ULONG_MAX == 0xfffffffful
#undef MAXTYPE_INT
#define MAXTYPE_INT 32
typedef signed long int32s;
typedef unsigned long int32u;
#elif USHRT_MAX == 0xfffffffful
#undef MAXTYPE_INT
#define MAXTYPE_INT 32
typedef signed short int32s;
typedef unsigned short int32u;
#else
#pragma message This machine has no 32-bit integer type?
#endif
//---------------------------------------------------------------------------
//64-bit int
#if defined(__MINGW32__) || defined(__CYGWIN32__) || defined(__UNIX__) || defined(__MACOSX__)
#undef MAXTYPE_INT
#define MAXTYPE_INT 64
typedef signed long long int64s;
typedef unsigned long long int64u;
#elif defined(__WIN32__)
#undef MAXTYPE_INT
#define MAXTYPE_INT 64
typedef signed __int64 int64s;
typedef unsigned __int64 int64u;
#else
#pragma message This machine has no 64-bit integer type?
#endif
//---------------------------------------------------------------------------
//32-bit float
#if defined(WINDOWS) || defined(UNIX) || defined(MACOSX)
#undef MAXTYPE_FLOAT
#define MAXTYPE_FLOAT 32
typedef float float32;
#else
#pragma message This machine has no 32-bit float type?
#endif
//---------------------------------------------------------------------------
//64-bit float
#if defined(WINDOWS) || defined(UNIX) || defined(MACOSX)
#undef MAXTYPE_FLOAT
#define MAXTYPE_FLOAT 64
typedef double float64;
#else
#pragma message This machine has no 64-bit float type?
#endif
//---------------------------------------------------------------------------
//80-bit float
#if defined(WINDOWS) || defined(UNIX) || defined(MACOSX)
#undef MAXTYPE_FLOAT
#define MAXTYPE_FLOAT 80
typedef long double float80;
#else
#pragma message This machine has no 80-bit float type?
#endif
//***************************************************************************
// Nested functions
//***************************************************************************
//Unices
#if defined (UNIX)
#define snwprintf swprintf
#endif
//Windows - MSVC
#if defined (_MSC_VER)
#define snprintf _snprintf
#define snwprintf _snwprintf
#endif
} //namespace
#endif
| [
"massanti@plusmediamusic.com@cc249753-f944-0410-bbd9-9b9bab5a7bdc"
] | massanti@plusmediamusic.com@cc249753-f944-0410-bbd9-9b9bab5a7bdc |
da37acd3d840d48d7eaa124acc64d5fad84380c0 | 7ac65e94ca83911706e65458c9b29b55d0600e58 | /Playground/Skierowanie/main.cpp | 5b65915deeb9bc1a058b4163b7bae6945bc1f1df | [] | no_license | a-zapala/Algorithms | 6c45ce386dbbd098ce6bc10987000eefe25cb60a | 473458279a6167448936c3efa592e9e1cb9249eb | refs/heads/master | 2020-05-23T03:58:04.688260 | 2020-02-25T23:05:07 | 2020-02-25T23:05:07 | 186,626,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | cpp | #include <iostream>
#include <vector>
using namespace std;
constexpr int MAXN = 500002;
int m, n;
int colour_tab[MAXN];
vector<int> edge[MAXN];
int DFS(int nr, int colour) {
colour_tab[nr] = colour;
for (auto v : edge[nr]) {
if (colour_tab[v] == 0 && DFS(v, colour * (-1))) {
return 1;
} else if( colour_tab[v] == colour ){
return 1;
}
}
return 0;
}
int main_DFS() {
for (int k = 1; k <= n; ++k) {
if(colour_tab[k] == 0 && DFS(k,1)) {
return 1;
}
}
return 0;
}
int main() {
ios_base::sync_with_stdio(0);
cin >> n >> m;
for (int i = 0; i < m; ++i) {
int x, y;
cin >> x >> y;
edge[x].push_back(y);
edge[y].push_back(x);
}
for (int j = 1; j <= n; ++j) {
colour_tab[j] = 0;
}
if(main_DFS()) {
cout << "NIE";
} else {
cout << "TAK";
}
} | [
"zapala333@gmail.com"
] | zapala333@gmail.com |
2e4107ffe599e180193750efbbb3ba5d69e0e687 | 44b2b37cad77f4162d8362c99a24d94b2cb2aa0a | /教辅资料/[其他资源]数据结构(C++版)(第3版)/Include/Comparator.h | 860380c9fb90c189366574b15d828fd6a0365629 | [] | no_license | bzmctl/shujujiegou | 19416d7afc1ae4e5e81f9e3e1b7901b5661d821d | ae708260b377a4467c1aeebce4f729e84dcc1067 | refs/heads/master | 2020-03-17T04:41:05.821319 | 2018-08-10T05:02:53 | 2018-08-10T05:02:53 | 127,827,154 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 246 | h |
template <class T>
class Comparator //比较器抽象类
{
public:
virtual int compare(T obj1, T obj2)=0; //提供T类的两个对象比较大小的规则,纯虚函数
};
| [
"wt@example.com"
] | wt@example.com |
afb2ea6e3cc89da98ec26f3af1a4640531df8066 | b7abc964af2b89785a127b464aa5720624a149d7 | /RGInfo.cpp | 7468f1fc4fd7a9552a3406dd9e34fab5831dec8d | [] | no_license | hrmoh/mltp-src | 2f5317ca9e11eaabb22c8ad4277d4b5dbe8a40a5 | 47b0c956fcd61a68eb017f636c133e00e06cb761 | refs/heads/master | 2022-12-04T06:58:52.006837 | 2020-08-20T08:29:21 | 2020-08-20T08:29:21 | 288,933,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,823 | cpp | // RGInfo.cpp : implementation file
//
#include "stdafx.h"
#include "MLTP.h"
#include "RGInfo.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CRGInfo dialog
CRGInfo::CRGInfo(CWnd* pParent /*=NULL*/)
: CDialog(CRGInfo::IDD, pParent)
{
//{{AFX_DATA_INIT(CRGInfo)
m_Variables = _T("");
m_Terminals = _T("");
m_S = _T("");
// m_Head = _T("");
//}}AFX_DATA_INIT
}
void CRGInfo::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CRGInfo)
// DDX_Control(pDX, IDC_COMBO1, m_PList);
DDX_Text(pDX, IDC_VARIABLES, m_Variables);
DDV_MaxChars(pDX, m_Variables, 256);
DDX_Text(pDX, IDC_TERMINALS, m_Terminals);
DDV_MaxChars(pDX, m_Terminals, 300);
DDX_Text(pDX, IDC_S, m_S);
DDV_MaxChars(pDX, m_S, 4);
// DDX_CBString(pDX, IDC_COMBO1, m_Head);
// DDV_MaxChars(pDX, m_Head, 300);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CRGInfo, CDialog)
//{{AFX_MSG_MAP(CRGInfo)
ON_BN_CLICKED(IDC_PRODUCTIONS, OnProductions)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CRGInfo message handlers
BOOL CRGInfo::OnInitDialog()
{
CDialog::OnInitDialog();
//m_PList.Clear();
//for(int i=0;m_List[i]!="end";i++)
// m_PList.AddString(m_List[i]);
//m_Head=m_List[0];
//m_PList.SelectString(10,m_Head);
CenterWindow(GetParent());
UpdateData(TRUE);
// TODO: Add extra initialization here
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CRGInfo::OnProductions()
{
// TODO: Add your control notification handler code here
m_PInfo.Create(IDD_PRODUCTIONS,this);
m_PInfo.ShowWindow(SW_SHOW);
}
| [
"mohammadi.hr@gmail.com"
] | mohammadi.hr@gmail.com |
5ae2db0c64d1155fc12e9030f8ed02c3321c2d3d | d022ef527b8924e05b670bd228e6df331be1263a | /Usaoj/fence4.cpp | 05e5e37ec3486217b02167d446ce3d9a3b09d040 | [] | no_license | Plypy/Lifestyle | 3300c08d40d93985624b028a9ad565431c6d7d83 | ca900d122b71ff4fc0949439522ae1a8be394506 | refs/heads/master | 2016-08-03T23:36:20.668023 | 2015-03-19T14:44:17 | 2015-03-19T14:44:17 | 32,526,089 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,018 | cpp | /*
ID : jake1994
PROG : fence4
LANG : C++
*/
#include <iostream>
#include <stdio.h>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <string>
using namespace std;
/* 常用的常量定义 */
#define INF 1e200
#define EP 1e-10
#define MAXV 300
#define PI 3.14159265
const int M=100000+5;
/* 基本几何结构 */
struct POINT {
double x;
double y; POINT(double a=0, double b=0) { x=a; y=b;} //constructor
};
struct LINESEG {
POINT s;
POINT e;
LINESEG(POINT a, POINT b) { s=a; e=b;}
LINESEG() { }
};
double max(double a,double b) {
if (a>b) return a;
return b;
}
double min(double a,double b) {
if (a>b) return b;
return a;
}
double sqr(double x){
return x * x;
}
/********************\
* *
* 点的基本运算 *
* *
\********************/
double dist(POINT p1,POINT p2) {// 返回两点之间欧氏距离
return( sqrt( (p1.x-p2.x)*(p1.x-p2.x)+(p1.y-p2.y)*(p1.y-p2.y) ) );
}
/******************************************************************************
r=multiply(sp,ep,op),得到(sp-op)*(ep-op)的叉积
r>0:ep在矢量opsp的逆时针方向;
r=0:opspep三点共线;
r<0:ep在矢量opsp的顺时针方向
*******************************************************************************/
double multiply(POINT sp,POINT ep,POINT op) {
return((sp.x-op.x)*(ep.y-op.y)-(ep.x-op.x)*(sp.y-op.y));
}
/* 判断点p是否在线段l上,条件:(p在线段l所在的直线上)&& (点p在以线段l为对角线的矩形内) */
bool online(LINESEG l,POINT p) {
return((multiply(l.e,p,l.s)==0) &&( ( (p.x-l.s.x)*(p.x-l.e.x)<=0 )&&( (p.y-l.s.y)*(p.y-l.e.y)<=0 ) ) );
}
//返回两点的中点
POINT midpoint(POINT a, POINT b)
{
return POINT((a.x + b.x) / 2, (a.y + b.y) / 2);
}
// 如果线段u和v相交(包括相交在端点处)时,返回true
bool intersect(LINESEG u,LINESEG v) {
return ( (max(u.s.x,u.e.x)>=min(v.s.x,v.e.x))&& //排斥实验
(max(v.s.x,v.e.x)>=min(u.s.x,u.e.x))&&
(max(u.s.y,u.e.y)>=min(v.s.y,v.e.y))&&
(max(v.s.y,v.e.y)>=min(u.s.y,u.e.y))&&
(multiply(v.s,u.e,u.s)*multiply(u.e,v.e,u.s)>=0)&& //跨立实验
(multiply(u.s,v.e,v.s)*multiply(v.e,u.e,v.s)>=0));
}
// (线段u和v相交)&&(交点不是双方的端点) 时返回true
bool intersect_A(LINESEG u,LINESEG v) {
return ((intersect(u,v))&&
(!online(u,v.s))&&
(!online(u,v.e))&&
(!online(v,u.e))&&
(!online(v,u.s)));
}
const int MAXN = 201;
int n;
POINT p[MAXN], e;
LINESEG s[MAXN];
bool sv[MAXN];
bool save(int k, LINESEG a)
{
if (dist(a.s, a.e) < 1e-5) return false;
int flag = 0;
for (int v = 1; v <= n; v++)
if (v != k){
if (intersect(LINESEG(e, a.s), s[v]) && intersect(LINESEG(e, a.e), s[v])){
flag = 1;
break;
}
if (intersect_A(LINESEG(e, a.s), s[v]) || intersect_A(LINESEG(e, a.e), s[v])) flag = 2;
}
if (flag == 0) return true;
if (flag == 1) return false;
else return save(k, LINESEG(a.s, midpoint(a.s, a.e))) || save(k, LINESEG(midpoint(a.s, a.e), a.e));
}
int main()
{
freopen("fence4.in", "r", stdin);
freopen("fence4.out", "w", stdout);
scanf("%d", &n);
scanf("%lf%lf", &e.x, &e.y);
for (int i = 1; i <= n; i++)
scanf("%lf%lf", &p[i].x, &p[i].y);
for (int i = 1; i < n; i++)
s[i] = LINESEG(p[i], p[i + 1]);
s[n] = LINESEG(p[1], p[n]);
int cnt = 0;
memset(sv, false, sizeof(sv));
for (int i = 1; i <= n; i++)
if (save(i, s[i])) {
cnt++;
sv[i] = true;
}
printf("%d\n", cnt);
for (int i = 1; i < n - 1; i++)
if (sv[i]) printf("%d %d %d %d\n", (int)s[i].s.x, (int)s[i].s.y, (int)s[i].e.x, (int)s[i].e.y);
if (sv[n]) printf("%d %d %d %d\n", (int)s[n].s.x, (int)s[n].s.y, (int)s[n].e.x, (int)s[n].e.y);
if (sv[n - 1]) printf("%d %d %d %d\n", (int)s[n - 1].s.x, (int)s[n - 1].s.y, (int)s[n - 1].e.x, (int)s[n - 1].e.y);
return 0;
}
| [
"jake199436@gmail.com"
] | jake199436@gmail.com |
b1fd9042f2b8135d39af01adaa1e6eb40c183121 | a330dd21f9323a9b8964147c91ec5a97f6116fe7 | /MyForm.h | c98248f65ca0d660ccd878fb46da97d0aa57f09c | [] | no_license | busraturkcan/YsaLast | c7596dccdf9c3b60b8802a7cc7bb9eae60b2374f | a2d1017b62f2dc429385cb1a35613128fda26f15 | refs/heads/master | 2020-04-28T22:30:45.342330 | 2019-03-14T12:45:50 | 2019-03-14T12:45:50 | 175,620,330 | 0 | 0 | null | null | null | null | ISO-8859-9 | C++ | false | false | 17,753 | h | #pragma once
#define d2 1
#define d1 -1
#define c 0.1
#define sbt 1
#define M 0.1
#define E 2.71
#include "Methods.h"
namespace YSALast {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
int size = 4, size2 = 1;
int counter = 0;
float X = 0, Y = 0;
float* position = new float[size];
float* norm = new float[size];
float* normalize = new float[size];
double w[3] = { 1,1,1 };
/// <summary>
/// MyForm için özet
/// </summary>
public ref class MyForm : public System::Windows::Forms::Form
{
public:
Graphics ^ g;
private: System::Windows::Forms::ToolStripMenuItem^ configurationnToolStripMenuItem;
private: System::Windows::Forms::CheckBox^ checkBox3;
public:
public:
Pen ^ pen;
MyForm(void)
{
InitializeComponent();
//
//TODO: Oluşturucu kodunu buraya ekle
//
}
protected:
/// <summary>
///Kullanılan tüm kaynakları temizleyin.
/// </summary>
~MyForm()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::MenuStrip^ menuStrip1;
protected:
private: System::Windows::Forms::ToolStripMenuItem^ processesToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ ınitilazinToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ trainingToolStripMenuItem;
private: System::Windows::Forms::ToolStripMenuItem^ deltaToolStripMenuItem;
private: System::Windows::Forms::PictureBox^ pictureBox1;
private: System::Windows::Forms::CheckBox^ checkBox1;
private: System::Windows::Forms::CheckBox^ checkBox2;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label2;
private:
/// <summary>
///Gerekli tasarımcı değişkeni.
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// Tasarımcı desteği için gerekli metot - bu metodun
///içeriğini kod düzenleyici ile değiştirmeyin.
/// </summary>
void InitializeComponent(void)
{
this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());
this->processesToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->ınitilazinToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->trainingToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->deltaToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->configurationnToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->checkBox1 = (gcnew System::Windows::Forms::CheckBox());
this->checkBox2 = (gcnew System::Windows::Forms::CheckBox());
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->checkBox3 = (gcnew System::Windows::Forms::CheckBox());
this->menuStrip1->SuspendLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->pictureBox1))->BeginInit();
this->SuspendLayout();
//
// menuStrip1
//
this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(1) { this->processesToolStripMenuItem });
this->menuStrip1->Location = System::Drawing::Point(0, 0);
this->menuStrip1->Name = L"menuStrip1";
this->menuStrip1->Size = System::Drawing::Size(547, 24);
this->menuStrip1->TabIndex = 0;
this->menuStrip1->Text = L"menuStrip1";
//
// processesToolStripMenuItem
//
this->processesToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {
this->ınitilazinToolStripMenuItem,
this->trainingToolStripMenuItem
});
this->processesToolStripMenuItem->Name = L"processesToolStripMenuItem";
this->processesToolStripMenuItem->Size = System::Drawing::Size(70, 20);
this->processesToolStripMenuItem->Text = L"Processes";
//
// ınitilazinToolStripMenuItem
//
this->ınitilazinToolStripMenuItem->Name = L"ınitilazinToolStripMenuItem";
this->ınitilazinToolStripMenuItem->Size = System::Drawing::Size(152, 22);
this->ınitilazinToolStripMenuItem->Text = L"Initialize";
this->ınitilazinToolStripMenuItem->Click += gcnew System::EventHandler(this, &MyForm::ınitilazinToolStripMenuItem_Click);
//
// trainingToolStripMenuItem
//
this->trainingToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {
this->deltaToolStripMenuItem,
this->configurationnToolStripMenuItem
});
this->trainingToolStripMenuItem->Name = L"trainingToolStripMenuItem";
this->trainingToolStripMenuItem->Size = System::Drawing::Size(152, 22);
this->trainingToolStripMenuItem->Text = L"Training";
//
// deltaToolStripMenuItem
//
this->deltaToolStripMenuItem->Name = L"deltaToolStripMenuItem";
this->deltaToolStripMenuItem->Size = System::Drawing::Size(155, 22);
this->deltaToolStripMenuItem->Text = L"DeltaLearning";
this->deltaToolStripMenuItem->Click += gcnew System::EventHandler(this, &MyForm::deltaToolStripMenuItem_Click);
//
// configurationnToolStripMenuItem
//
this->configurationnToolStripMenuItem->Name = L"configurationnToolStripMenuItem";
this->configurationnToolStripMenuItem->Size = System::Drawing::Size(155, 22);
this->configurationnToolStripMenuItem->Text = L"Configurationn";
this->configurationnToolStripMenuItem->Click += gcnew System::EventHandler(this, &MyForm::configurationnToolStripMenuItem_Click);
//
// pictureBox1
//
this->pictureBox1->BackColor = System::Drawing::SystemColors::ControlDark;
this->pictureBox1->Location = System::Drawing::Point(28, 38);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(400, 300);
this->pictureBox1->TabIndex = 1;
this->pictureBox1->TabStop = false;
this->pictureBox1->MouseClick += gcnew System::Windows::Forms::MouseEventHandler(this, &MyForm::pictureBox1_MouseClick);
//
// checkBox1
//
this->checkBox1->AutoSize = true;
this->checkBox1->Location = System::Drawing::Point(440, 57);
this->checkBox1->Name = L"checkBox1";
this->checkBox1->Size = System::Drawing::Size(57, 17);
this->checkBox1->TabIndex = 2;
this->checkBox1->Text = L"Class1";
this->checkBox1->UseVisualStyleBackColor = true;
//
// checkBox2
//
this->checkBox2->AutoSize = true;
this->checkBox2->Location = System::Drawing::Point(440, 93);
this->checkBox2->Name = L"checkBox2";
this->checkBox2->Size = System::Drawing::Size(57, 17);
this->checkBox2->TabIndex = 3;
this->checkBox2->Text = L"Class2";
this->checkBox2->UseVisualStyleBackColor = true;
//
// label1
//
this->label1->BackColor = System::Drawing::Color::Black;
this->label1->Location = System::Drawing::Point(228, 38);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(3, 300);
this->label1->TabIndex = 4;
//
// label2
//
this->label2->BackColor = System::Drawing::Color::Black;
this->label2->Location = System::Drawing::Point(28, 188);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(400, 3);
this->label2->TabIndex = 5;
//
// checkBox3
//
this->checkBox3->AutoSize = true;
this->checkBox3->Location = System::Drawing::Point(440, 160);
this->checkBox3->Name = L"checkBox3";
this->checkBox3->Size = System::Drawing::Size(89, 17);
this->checkBox3->TabIndex = 6;
this->checkBox3->Text = L"Normalization";
this->checkBox3->UseVisualStyleBackColor = true;
this->checkBox3->CheckedChanged += gcnew System::EventHandler(this, &MyForm::checkBox3_CheckedChanged);
//
// MyForm
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(547, 412);
this->Controls->Add(this->checkBox3);
this->Controls->Add(this->label2);
this->Controls->Add(this->label1);
this->Controls->Add(this->checkBox2);
this->Controls->Add(this->checkBox1);
this->Controls->Add(this->pictureBox1);
this->Controls->Add(this->menuStrip1);
this->MainMenuStrip = this->menuStrip1;
this->Name = L"MyForm";
this->Text = L"MyForm";
this->menuStrip1->ResumeLayout(false);
this->menuStrip1->PerformLayout();
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->pictureBox1))->EndInit();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: System::Void pictureBox1_MouseClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e)
{
counter++;
X = System::Convert::ToInt32(e->X);
Y = System::Convert::ToInt32(e->Y);
g = pictureBox1->CreateGraphics();
Pen^ purple = gcnew Pen(Color::Purple, 2);
Pen^ yellow = gcnew Pen(Color::Yellow, 2);
if (checkBox1->Checked && checkBox2->Checked)
{
MessageBox::Show("İki class aynı anda seçilemez", "Uyarı");
}
else if (checkBox1->Checked)
{
int main_x = X - pictureBox1->Width / 2;
int main_y = pictureBox1->Height / 2 - Y;
position[size - 4] = main_x;
position[size - 3] = main_y;
position[size - 2] = sbt;
position[size - 1] = d1;
size += 4;
g->DrawLine(purple, (X - 5), Y, (X + 5), Y);
g->DrawLine(purple, X, (Y - 5), X, (Y + 5));
}
else if (checkBox2->Checked)
{
int main_x = X - pictureBox1->Width / 2;
int main_y = pictureBox1->Height / 2 - Y;
position[size - 4] = main_x;
position[size - 3] = main_y;
position[size - 2] = sbt;
position[size - 1] = d2;
size += 4;
g->DrawLine(yellow, (X - 5), Y, (X + 5), Y);
g->DrawLine(yellow, X, (Y - 5), X, (Y + 5));
}
else
{
MessageBox::Show("Bir class seçiniz.", "Uyarı!!!");
}
}
private: System::Void ınitilazinToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e)
{
Random rnd;
g = pictureBox1->CreateGraphics();
Pen^ red = gcnew Pen(Color::Red, 2);
for (int i = 0; i < 3; i++)
{
w[i] = rnd.NextDouble();
}
float* result = drawWeight(w, (float)pictureBox1->Width / 2, (float)(-(pictureBox1->Width / 2)));
g->DrawLine(red, (float)0, pictureBox1->Height / 2 - result[1], (float)(pictureBox1->Width), (pictureBox1->Height / 2) - result[0]);
}
private: System::Void configurationnToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e)
{
int i = 0, j = 0, sgnNet = 0;
float omegaKatsayi = 0;
int error = 1;
float net = 0;
int k = 0;
while (error > 0)
{
error = 0;
i = 0;
while (i < counter * 4)
{
k = 0;
net = (w[k] * position[i]) + (w[k + 1] * position[i + 1]) + (w[k + 2] * position[i + 2]);
if (net > 0)
sgnNet = 1;
else
sgnNet = -1;
omegaKatsayi = (c/2)* (position[i + 3] - sgnNet);
w[k] += (omegaKatsayi * position[i]);
w[k + 1] += omegaKatsayi * position[i + 1];
w[k + 2] += omegaKatsayi * position[i + 2];
error += Math::Abs(position[i + 3] - sgnNet) / 2;
g = pictureBox1->CreateGraphics();
pen = gcnew Pen(Color::Red, 2);
float* result = drawWeight(w, (float)pictureBox1->Width / 2, (float)(-(pictureBox1->Width / 2)));
pictureBox1->Refresh();
if (checkBox3->Checked)
{
//Noktaları picture boxda görüntülerken daha rahat görebilmek için x y noktlarının bir katsayı ile çarpılması
for (int n = 0;n < counter * 4;n += 4)
{
norm[n] = position[n] * 15;
norm[n + 1] = position[n + 1] * 15;
norm[n + 2] = position[n + 2];
norm[n + 3] = position[n + 3];
}
}
//Normalizasyon gerçekleştirilmemiş ise
else
{
//Noktalarda değişiklik yapmadan başka bir diziye atıyorum
for (int n = 0;n < counter * 4;n += 4)
{
norm[n] = position[n];
norm[n + 1] = position[n + 1];
norm[n + 2] = position[n + 2];
norm[n + 3] = position[n + 3];
}
}
for (int n = 0;n < counter * 4;n += 4)
{
//Hangi clasa aitse onun rengi seçiliyor
if (norm[n + 3] == d1)
{
pen = gcnew Pen(Color::Purple, 2);
}
else if (norm[n + 3] == d2)
{
pen = gcnew Pen(Color::Yellow, 2);
}
//Kordinat düzlemine ait noktalar picturebox formatına çeviriliyor
X = (norm[n] + (pictureBox1->Width / 2));
Y = ((pictureBox1->Height / 2) - (norm[n + 1]));
//Noktalar ekrana çizdiriliyor
g->DrawLine(pen, (X - 5), Y, (X + 5), Y);
g->DrawLine(pen, X, (Y - 5), X, (Y + 5));
}
/////////////////////////////////////////
//Normalizasyon yapması istenmezse bu kod parçası kullanılmalı
/*for (int n = 0;n < counter * 4;n += 4)
{
if (position[n + 3] == d1)
{
pen = gcnew Pen(Color::Purple, 2);
}
else if (position[n + 3] == d2)
{
pen = gcnew Pen(Color::Yellow, 2);
}
X = position[n] + (pictureBox1->Width / 2);
Y = (pictureBox1->Height / 2) - position[n + 1];
g->DrawLine(pen, (X - 5), Y, (X + 5), Y);
g->DrawLine(pen, X, (Y - 5), X, (Y + 5));
}*/
pen = gcnew Pen(Color::Blue, 2);
g->DrawLine(pen, (float)0, pictureBox1->Height / 2 - result[1], (float)(pictureBox1->Width), (pictureBox1->Height / 2) - result[0]);
i += 4;
}
}
}
private: System::Void deltaToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e)
{
int i = 0, j = 0, sgnNet = 0;
float omegaKatsayi = 0;
double hata=0;
float error = 2, eror=0;
float net = 0, fNet = 0, türevfNet = 0;
int k = 0;
while (error>0.2)
{
//MessageBox::Show(" " + counter, "Uyarı");
error = 0;
i = 0;
while (i < counter * 4)
{
k = 0;
// 1 - net=w*x bulunması
net = (w[k] * position[i]) + (w[k + 1] * position[i + 1]) + (w[k + 2] * position[i + 2]);
// 2 - o=f(net) bulunması
fNet = ((2 / (1 + Math::Pow(E, -net))) - 1);
// 3 - Türev f(net)
türevfNet = 0.5*(1 - ((0.5*fNet) * (0.5*fNet)));
// 4 - omegaKatsayi=M*(d-o)*türevfNet
omegaKatsayi =(float)( M * (position[i + 3] - fNet)*türevfNet);
// 5 - W' = W + omegaKatsatisi * X
w[k] += omegaKatsayi * position[i];
w[k + 1] += omegaKatsayi * position[i + 1];
w[k + 2] += omegaKatsayi * position[i + 2];
//Error durumunun güncellenmesi
hata = (position[i + 3] - fNet);
error += (Math::Pow(hata, 2) / (float)2);
Graphics ^ g;
g = pictureBox1->CreateGraphics();
Pen ^ pen = gcnew Pen(Color::Red, 2);
//Güncellenen ağırlık değerlerinin (w) güncel doğruyu elde etmek için yeni güncel noktaların belirlenmesi
float* degisken = drawWeight(w, (float)pictureBox1->Width / 2, (float)(-(pictureBox1->Width / 2)));
//Refresh edilerek güncel verilerin picture boxda görüntülenmesi
pictureBox1->Refresh();
//Eğer normalizasyon işlemi gerçekleştirilmiş ise
if (checkBox3->Checked)
{
//Noktaları picture boxda görüntülerken daha rahat görebilmek için x y noktlarının bir katsayı ile çarpılması
for (int n = 0;n < counter * 4;n += 4)
{
norm[n] = position[n] * 15;
norm[n + 1] = position[n + 1] * 15;
norm[n + 2] = position[n + 2];
norm[n + 3] = position[n + 3];
}
}
//Normalizasyon gerçekleştirilmemiş ise
else
{
//Noktalarda değişiklik yapmadan başka bir diziye atıyorum
for (int n = 0;n < counter * 4;n += 4)
{
norm[n] = position[n] ;
norm[n + 1] = position[n + 1] ;
norm[n + 2] = position[n + 2];
norm[n + 3] = position[n + 3];
}
}
for (int n = 0;n < counter * 4;n += 4)
{
//Hangi clasa aitse onun rengi seçiliyor
if (norm[n + 3] == d1)
{
pen = gcnew Pen(Color::Purple, 2);
}
else if (norm[n + 3] == d2)
{
pen = gcnew Pen(Color::Yellow, 2);
}
//Kordinat düzlemine ait noktalar picturebox formatına çeviriliyor
X = (norm[n] + (pictureBox1->Width / 2));
Y = ((pictureBox1->Height / 2) - (norm[n + 1]));
//Noktalar ekrana çizdiriliyor
g->DrawLine(pen, (X - 5), Y, (X + 5), Y);
g->DrawLine(pen, X, (Y - 5), X, (Y + 5));
}
g = pictureBox1->CreateGraphics();
Pen^ kalem = gcnew Pen(Color::Pink, 2);
//Doğru güncellenen ağırlıklar ile tekrar çizdiriliyor
g->DrawLine(kalem, (float)0, pictureBox1->Height / 2 - (15*degisken[1]), (float)(pictureBox1->Width), (pictureBox1->Height / 2) - (15*degisken[0]));
i += 4;
}
}
}
private: System::Void checkBox3_CheckedChanged(System::Object^ sender, System::EventArgs^ e)
{
float varyansX=0, varyansY=0;
float Xort = 0, Yort=0, ortX=0, ortY=0, ort=0, Xx=0, Yy=0;
//Noktaların ortalama değerlerini bulma
for (int i = 0; i < counter * 4; i += 4)
{
ortX += position[i];
ortY += position[i+1];
}
Xort = ortX / counter;
Yort = ortY / counter;
//Varyans hesaplama
for (int i = 0; i < counter * 4; i += 4)
{
Xx = (position[i] - Xort);
ortX += Math::Pow(Xx,2);
Yy = (position[i + 1] - Yort);
ortY += Math::Pow(Yy, 2);
}
varyansX = Math::Sqrt(ortX / counter);
varyansY = Math::Sqrt(ortY / counter);
//Yeni noktaları bulma
for (int i = 0; i < counter * 4; i += 4)
{
position[i] =((position[i] - Xort) / varyansX);
position[i + 1] = ((position[i+1] - Yort) / varyansY);
position[i + 2] = position[i + 2];
position[i + 3] = position[i + 3];
}
}
};
} | [
"313941@ogr.ktu.edu.tr"
] | 313941@ogr.ktu.edu.tr |
170d1e5ba99c092705ae4f799e43b964da81df69 | 1577e1cf4e89584a125cffb855ca50a9654c6d55 | /WebKit/Source/bmalloc/bmalloc/DebugHeap.cpp | 81fb214d30140cfb5bf2e9597e60391ce666f73c | [] | no_license | apple-open-source/macos | a4188b5c2ef113d90281d03cd1b14e5ee52ebffb | 2d2b15f13487673de33297e49f00ef94af743a9a | refs/heads/master | 2023-08-01T11:03:26.870408 | 2023-03-27T00:00:00 | 2023-03-27T00:00:00 | 180,595,052 | 124 | 24 | null | 2022-12-27T14:54:09 | 2019-04-10T14:06:23 | null | UTF-8 | C++ | false | false | 7,243 | cpp | /*
* Copyright (C) 2016-2021 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "DebugHeap.h"
#include "Algorithm.h"
#include "BAssert.h"
#include "BPlatform.h"
#include "VMAllocate.h"
#include <cstdlib>
#include <thread>
#if BENABLE(LIBPAS)
#include "pas_debug_heap.h"
#endif
namespace bmalloc {
DebugHeap* debugHeapCache { nullptr };
DEFINE_STATIC_PER_PROCESS_STORAGE(DebugHeap);
#if BOS(DARWIN)
static bool shouldUseDefaultMallocZone()
{
if (getenv("DEBUG_HEAP_USE_DEFAULT_ZONE"))
return true;
// The lite logging mode only intercepts allocations from the default zone.
const char* mallocStackLogging = getenv("MallocStackLogging");
if (mallocStackLogging && !strcmp(mallocStackLogging, "lite"))
return true;
return false;
}
DebugHeap::DebugHeap(const LockHolder&)
: m_zone(malloc_default_zone())
, m_pageSize(vmPageSize())
{
if (!shouldUseDefaultMallocZone()) {
m_zone = malloc_create_zone(0, 0);
malloc_set_zone_name(m_zone, "WebKit Using System Malloc");
}
}
void* DebugHeap::malloc(size_t size, FailureAction action)
{
void* result = malloc_zone_malloc(m_zone, size);
RELEASE_BASSERT(action == FailureAction::ReturnNull || result);
return result;
}
void* DebugHeap::memalign(size_t alignment, size_t size, FailureAction action)
{
void* result = malloc_zone_memalign(m_zone, alignment, size);
RELEASE_BASSERT(action == FailureAction::ReturnNull || result);
return result;
}
void* DebugHeap::realloc(void* object, size_t size, FailureAction action)
{
void* result = malloc_zone_realloc(m_zone, object, size);
RELEASE_BASSERT(action == FailureAction::ReturnNull || result);
return result;
}
void DebugHeap::free(void* object)
{
malloc_zone_free(m_zone, object);
}
void DebugHeap::scavenge()
{
// Currently |goal| does not affect on the behavior of malloc_zone_pressure_relief if (1) we only scavenge one zone and (2) it is not nanomalloc.
constexpr size_t goal = 0;
malloc_zone_pressure_relief(m_zone, goal);
}
void DebugHeap::dump()
{
constexpr bool verbose = true;
malloc_zone_print(m_zone, verbose);
}
#else
DebugHeap::DebugHeap(const LockHolder&)
: m_pageSize(vmPageSize())
{
}
void* DebugHeap::malloc(size_t size, FailureAction action)
{
void* result = ::malloc(size);
RELEASE_BASSERT(action == FailureAction::ReturnNull || result);
return result;
}
void* DebugHeap::memalign(size_t alignment, size_t size, FailureAction action)
{
void* result;
if (posix_memalign(&result, alignment, size))
RELEASE_BASSERT(action == FailureAction::ReturnNull || result);
return result;
}
void* DebugHeap::realloc(void* object, size_t size, FailureAction action)
{
void* result = ::realloc(object, size);
RELEASE_BASSERT(action == FailureAction::ReturnNull || result);
return result;
}
void DebugHeap::free(void* object)
{
::free(object);
}
void DebugHeap::scavenge()
{
}
void DebugHeap::dump()
{
}
#endif
// FIXME: This looks an awful lot like the code in wtf/Gigacage.cpp for large allocation.
// https://bugs.webkit.org/show_bug.cgi?id=175086
void* DebugHeap::memalignLarge(size_t alignment, size_t size)
{
alignment = roundUpToMultipleOf(m_pageSize, alignment);
size = roundUpToMultipleOf(m_pageSize, size);
void* result = tryVMAllocate(alignment, size);
if (!result)
return nullptr;
{
LockHolder locker(mutex());
m_sizeMap[result] = size;
}
return result;
}
void DebugHeap::freeLarge(void* base)
{
if (!base)
return;
size_t size;
{
LockHolder locker(mutex());
size = m_sizeMap[base];
size_t numErased = m_sizeMap.erase(base);
RELEASE_BASSERT(numErased == 1);
}
vmDeallocate(base, size);
}
DebugHeap* DebugHeap::tryGetSlow()
{
DebugHeap* result;
if (Environment::get()->isDebugHeapEnabled()) {
debugHeapCache = DebugHeap::get();
result = debugHeapCache;
} else {
debugHeapCache = debugHeapDisabled();
result = nullptr;
}
RELEASE_BASSERT(debugHeapCache);
return result;
}
} // namespace bmalloc
#if BENABLE(LIBPAS)
#if BUSE(LIBPAS)
using namespace bmalloc;
bool pas_debug_heap_is_enabled(pas_heap_config_kind kind)
{
switch (kind) {
case pas_heap_config_kind_bmalloc:
return !!DebugHeap::tryGet();
case pas_heap_config_kind_jit:
case pas_heap_config_kind_pas_utility:
return false;
default:
BCRASH();
return false;
}
}
void* pas_debug_heap_malloc(size_t size)
{
return DebugHeap::getExisting()->malloc(size, FailureAction::ReturnNull);
}
void* pas_debug_heap_memalign(size_t alignment, size_t size)
{
return DebugHeap::getExisting()->memalign(alignment, size, FailureAction::ReturnNull);
}
void* pas_debug_heap_realloc(void* ptr, size_t size)
{
return DebugHeap::getExisting()->realloc(ptr, size, FailureAction::ReturnNull);
}
void pas_debug_heap_free(void* ptr)
{
DebugHeap::getExisting()->free(ptr);
}
#else // BUSE(LIBPAS) -> so !BUSE(LIBPAS)
bool pas_debug_heap_is_enabled(pas_heap_config_kind kind)
{
BUNUSED_PARAM(kind);
return false;
}
void* pas_debug_heap_malloc(size_t size)
{
BUNUSED_PARAM(size);
RELEASE_BASSERT_NOT_REACHED();
return nullptr;
}
void* pas_debug_heap_memalign(size_t alignment, size_t size)
{
BUNUSED_PARAM(size);
BUNUSED_PARAM(alignment);
RELEASE_BASSERT_NOT_REACHED();
return nullptr;
}
void* pas_debug_heap_realloc(void* ptr, size_t size)
{
BUNUSED_PARAM(ptr);
BUNUSED_PARAM(size);
RELEASE_BASSERT_NOT_REACHED();
return nullptr;
}
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wmissing-noreturn"
void pas_debug_heap_free(void* ptr)
{
BUNUSED_PARAM(ptr);
RELEASE_BASSERT_NOT_REACHED();
}
#pragma clang diagnostic pop
#endif // BUSE(LIBPAS) -> so end of !BUSE(LIBPAS)
#endif // BENABLE(LIBPAS)
| [
"opensource@apple.com"
] | opensource@apple.com |
2bb0c03cb886cea51fc36017e47e26716aa891be | 35c5a5bd54d6f8137eaf43386545abd3cc738c95 | /Lab_5/Lab_5.cpp | 598160322674dea8fa6ee9ea08770439995bac06 | [] | no_license | CaptainShepard01/Algorithms_labs | 41107c231ddb05f9c0818181526cda9a3cd01784 | 06758bef9a0ace7b379619a0f3b33466e59b1fcf | refs/heads/master | 2023-04-29T20:49:25.544276 | 2021-05-14T11:16:46 | 2021-05-14T11:16:46 | 296,379,429 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | #include <iostream>
#include "RBTree.h"
int main()
{
auto tree = new RBTree<WorldMap>({ { "Italy","Rome" }, { "Spain","Madrid" }, { "Ukraine","Kyiv" }, { "Spain","Barcelona" }, { "Russia","Moscow" }, { "Italy","Neapol" } }, true);
std::cout << "Initial state:\n\n";
std::cout << tree->getWebGraphvizPersistent() << "\n\n";
tree->skipBack();
std::cout << "After skipBack():\n\n";
std::cout << tree->getWebGraphvizPersistent() << "\n\n";
tree->insertPersistent({ "Ukraine","Varash" });
std::cout << "Add Varash, Ukraine:\n\n";
std::cout << tree->getWebGraphvizPersistent() << "\n\n";
tree->insertPersistent({ "Russia", "Magadan" });
std::cout << "Add Magadan, Russia:\n\n";
std::cout << tree->getWebGraphvizPersistent() << "\n\n";
tree->skipBack();
std::cout << "After skipBack(():\n\n";
std::cout << tree->getWebGraphvizPersistent() << "\n\n";
std::cout << "Remove Kyiv, Ukraine:\n\n";
tree->removePersistent({ "Ukraine","Kyiv" });
std::cout << tree->getWebGraphvizPersistent() << "\n\n";
tree->skipBack();
std::cout << "After skipBack(():\n\n";
std::cout << tree->getWebGraphvizPersistent() << "\n\n";
return 0;
} | [
"49350081+CaptainShepard01@users.noreply.github.com"
] | 49350081+CaptainShepard01@users.noreply.github.com |
c6fd77a675b3afbf1e2190917518bd3177edfb62 | 2c58f50c0e4e427a78e7eeed495d558bef187120 | /Utility/Code/CameraMgr.h | 4487db6e587db960d1a198d20554fa76b2e9df66 | [] | no_license | DasomKong/Tool | de5ae089cb0db86dc795d5e22f838ea3918a68fb | 4d0c1da3b185364acc153730034847c07e39b801 | refs/heads/master | 2021-04-03T01:53:37.826555 | 2018-03-13T14:27:16 | 2018-03-13T14:27:16 | 125,062,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 944 | h | #ifndef CameraMgr_h__
#define CameraMgr_h__
#include "CameraSubject.h"
#include "Camera.h"
BEGIN(Engine)
class ENGINE_DLL CCameraMgr
{
public:
DECLARE_SINGLETON(CCameraMgr)
private:
CCameraMgr(void);
~CCameraMgr(void);
public: // Setter
void SetPersCamera(const wstring& wstrCameraKey);
void SetOrthoCamera(const wstring& wstrCameraKey);
public:
HRESULT InitCameraMgr(void);
void AddCamera(CAMERA_TYPE eCameraType, const wstring& wstrCameraKey, CCamera* pCamera);
void RemoveCamera(CAMERA_TYPE eCameraType, const wstring& wstrCameraKey);
void ClearCamera(void);
private:
void Release(void);
private:
typedef map<wstring, CCamera*> MAPCAMERA;
MAPCAMERA m_CameraMap[CAMTYPE_END];
CCameraSubject* m_pCameraSubject = nullptr;
D3DXMATRIX* m_pMatPersView = nullptr;
D3DXMATRIX* m_pMatPersProj = nullptr;
D3DXMATRIX* m_pMatOrthoView = nullptr;
D3DXMATRIX* m_pMatOrthoProj = nullptr;
};
END
#endif // CameraMgr_h__
| [
"jeongu1270@gmail.com"
] | jeongu1270@gmail.com |
8b64f8780964c557db499bde219e13a29cefc435 | 9dbdf2b623b6c45e3e35333eb169765c76607e46 | /PatientPredictor/test/test_kdt.cpp | 436932e15dbeddef6d8013dc5e1e0b05af735670 | [] | no_license | brian-wangst/PersonalProjects | e421e0931fecde2c4e4a1e8fc4715487975d2027 | baffbfba1fdf6c3cc0c44a69b66340cbd492b869 | refs/heads/master | 2020-11-26T03:19:38.020971 | 2019-12-19T20:47:17 | 2019-12-19T20:47:17 | 228,951,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,076 | cpp | //
// test_kdt.cpp
// CSE 100 Project 1
//
// A KDT tester using Catch unit testing framework.
//
// ATTENTION: This is not an exchaustive test suite and
// passing all tests does not guarantee full score on the
// project. You may want to add your own test cases by
// following the examples given.
//
// Last modified by Heitor Schueroff on 01/10/2019
//
#define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include <algorithm>
#include <vector>
#include <string>
#include "../src/KDT.hpp"
using namespace std;
/**
* Tests building KDT from given points.
*
* Parameters:
* t - the KDT to build and test
* points - points to use to build t
* expected_height - the expected height of the KDT after inserting points
*/
void test_kdt(KDT &t, vector<Point> &points, unsigned int expected_height) {
REQUIRE(t.build(points) == points.size());
CHECK(t.size() == points.size());
CHECK(t.height() == expected_height);
INFO("Searching for points actually in the tree");
for (Point p : points) {
REQUIRE(*(t.findNearestNeighbor(p)) == p);
}
}
TEST_CASE("Testing Point::squareDistance implementation") {
CHECK(Point::squareDistance(Point(1.0, 2.0), Point(1.0, 3.0)) == 1.0);
CHECK(Point::squareDistance(Point(-1.0, 4.0), Point(1.0, 4.0)) == 4.0);
}
TEST_CASE("Testing KDT implementation") {
KDT tree;
SECTION("adding one point") {
vector<Point> points = {{0, 0}};
test_kdt(tree, points, 1);
REQUIRE(*(tree.findNearestNeighbor(Point(1, 1))) == Point(0, 0));
}
SECTION("adding many points") {
vector<Point> points = {{1.0, 3.2}, {3.2, 1.0}, {5.7, 3.2},
{1.8, 1.9}, {4.4, 2.2}};
vector<Point> neighbors = {{1.2, 3.0}, {3.4, 1.2}, {5.9, 3.4},
{2.0, 1.8}, {4.6, 2.0}};
test_kdt(tree, points, 3);
INFO("Searching for nearest neighbors");
for (size_t i = 0; i < points.size(); ++i) {
REQUIRE(*(tree.findNearestNeighbor(neighbors[i])) == points[i]);
}
}
}
| [
"bwang031@ucr.edu"
] | bwang031@ucr.edu |
dce3d6f9c2e51dfb5cb8e474680b7670c346b091 | 38f6b5472e6c05a79d8269f638ac05d2816fb840 | /Scarlet-Additions/Scarlet-OpenAL/Vendor/OpenAL-Soft/src/al/source.h | a36a2a09e7762b535987d23d98b64fcc44d89177 | [
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"LGPL-2.0-only",
"Apache-2.0"
] | permissive | Red-Scarlet/Scarlet-Series | 37af761db62b6b30785db2c94958b13f8402fa44 | 888c8815158f0063170a01725c3198b7aa1e1438 | refs/heads/main | 2023-05-09T11:20:40.088667 | 2021-06-02T11:40:40 | 2021-06-02T11:40:40 | 341,696,197 | 0 | 1 | Apache-2.0 | 2021-05-26T05:15:18 | 2021-02-23T21:32:52 | C++ | UTF-8 | C++ | false | false | 3,197 | h | #ifndef AL_SOURCE_H
#define AL_SOURCE_H
#include <array>
#include <atomic>
#include <cstddef>
#include <iterator>
#include <limits>
#include "AL/al.h"
#include "AL/alc.h"
#include "alcontext.h"
#include "almalloc.h"
#include "alnumeric.h"
#include "alu.h"
#include "math_defs.h"
#include "vector.h"
struct ALbuffer;
struct ALeffectslot;
#define DEFAULT_SENDS 2
#define INVALID_VOICE_IDX static_cast<ALuint>(-1)
struct ALbufferlistitem {
std::atomic<ALbufferlistitem*> mNext{nullptr};
ALuint mSampleLen{0u};
ALbuffer *mBuffer{nullptr};
DEF_NEWDEL(ALbufferlistitem)
};
struct ALsource {
/** Source properties. */
float Pitch{1.0f};
float Gain{1.0f};
float OuterGain{0.0f};
float MinGain{0.0f};
float MaxGain{1.0f};
float InnerAngle{360.0f};
float OuterAngle{360.0f};
float RefDistance{1.0f};
float MaxDistance{std::numeric_limits<float>::max()};
float RolloffFactor{1.0f};
std::array<float,3> Position{{0.0f, 0.0f, 0.0f}};
std::array<float,3> Velocity{{0.0f, 0.0f, 0.0f}};
std::array<float,3> Direction{{0.0f, 0.0f, 0.0f}};
std::array<float,3> OrientAt{{0.0f, 0.0f, -1.0f}};
std::array<float,3> OrientUp{{0.0f, 1.0f, 0.0f}};
bool HeadRelative{false};
bool Looping{false};
DistanceModel mDistanceModel{DistanceModel::Default};
Resampler mResampler{ResamplerDefault};
DirectMode DirectChannels{DirectMode::Off};
SpatializeMode mSpatialize{SpatializeAuto};
bool DryGainHFAuto{true};
bool WetGainAuto{true};
bool WetGainHFAuto{true};
float OuterGainHF{1.0f};
float AirAbsorptionFactor{0.0f};
float RoomRolloffFactor{0.0f};
float DopplerFactor{1.0f};
/* NOTE: Stereo pan angles are specified in radians, counter-clockwise
* rather than clockwise.
*/
std::array<float,2> StereoPan{{Deg2Rad( 30.0f), Deg2Rad(-30.0f)}};
float Radius{0.0f};
/** Direct filter and auxiliary send info. */
struct {
float Gain;
float GainHF;
float HFReference;
float GainLF;
float LFReference;
} Direct;
struct SendData {
ALeffectslot *Slot;
float Gain;
float GainHF;
float HFReference;
float GainLF;
float LFReference;
};
std::array<SendData,MAX_SENDS> Send;
/**
* Last user-specified offset, and the offset type (bytes, samples, or
* seconds).
*/
double Offset{0.0};
ALenum OffsetType{AL_NONE};
/** Source type (static, streaming, or undetermined) */
ALenum SourceType{AL_UNDETERMINED};
/** Source state (initial, playing, paused, or stopped) */
ALenum state{AL_INITIAL};
/** Source Buffer Queue head. */
ALbufferlistitem *queue{nullptr};
std::atomic_flag PropsClean;
/* Index into the context's Voices array. Lazily updated, only checked and
* reset when looking up the voice.
*/
ALuint VoiceIdx{INVALID_VOICE_IDX};
/** Self ID */
ALuint id{0};
ALsource();
~ALsource();
ALsource(const ALsource&) = delete;
ALsource& operator=(const ALsource&) = delete;
DISABLE_ALLOC()
};
void UpdateAllSourceProps(ALCcontext *context);
#endif
| [
"legendarydelta09@gmail.com"
] | legendarydelta09@gmail.com |
f45f882d25de4be8407709c4b06d58e0f16429f2 | f1c0a788ac40868f8ff5d8dbc1e2ec85caec73ac | /DirectMLSuperResolution/Kits/DirectXTK12/Src/ModelLoadSDKMESH.cpp | 16ac05c30fe7dd430fe8bf74627f587c546c863a | [
"MIT",
"LicenseRef-scancode-generic-cla"
] | permissive | LPBourret/DirectML-Samples | 8393fbaae906b4e9f2e545d0ecefc8840c2592b9 | 6aa56a1a9d4dc88294670ec643315bd87ce91655 | refs/heads/master | 2020-12-13T11:27:48.912530 | 2019-08-29T17:58:26 | 2019-08-29T17:58:26 | 234,403,237 | 0 | 0 | MIT | 2020-01-16T20:13:37 | 2020-01-16T20:13:36 | null | UTF-8 | C++ | false | false | 29,351 | cpp | //--------------------------------------------------------------------------------------
// File: ModelLoadSDKMESH.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// http://go.microsoft.com/fwlink/?LinkID=615561
//--------------------------------------------------------------------------------------
#include "pch.h"
#include "Model.h"
#include "Effects.h"
#include "VertexTypes.h"
#include "DirectXHelpers.h"
#include "PlatformHelpers.h"
#include "BinaryReader.h"
#include "DescriptorHeap.h"
#include "CommonStates.h"
#include "SDKMesh.h"
using namespace DirectX;
using Microsoft::WRL::ComPtr;
namespace
{
enum
{
PER_VERTEX_COLOR = 0x1,
SKINNING = 0x2,
DUAL_TEXTURE = 0x4,
NORMAL_MAPS = 0x8,
BIASED_VERTEX_NORMALS = 0x10,
USES_OBSOLETE_DEC3N = 0x20,
};
int GetUniqueTextureIndex(const wchar_t* textureName, std::map<std::wstring, int>& textureDictionary)
{
if (textureName == nullptr || !textureName[0])
return -1;
auto i = textureDictionary.find(textureName);
if (i == std::cend(textureDictionary))
{
int index = static_cast<int>(textureDictionary.size());
textureDictionary[textureName] = index;
return index;
}
else
{
return i->second;
}
}
void InitMaterial(
const DXUT::SDKMESH_MATERIAL& mh,
unsigned int flags,
_Out_ Model::ModelMaterialInfo& m,
_Inout_ std::map<std::wstring, int32_t>& textureDictionary)
{
wchar_t matName[DXUT::MAX_MATERIAL_NAME] = {};
MultiByteToWideChar(CP_UTF8, 0, mh.Name, -1, matName, DXUT::MAX_MATERIAL_NAME);
wchar_t diffuseName[DXUT::MAX_TEXTURE_NAME] = {};
MultiByteToWideChar(CP_UTF8, 0, mh.DiffuseTexture, -1, diffuseName, DXUT::MAX_TEXTURE_NAME);
wchar_t specularName[DXUT::MAX_TEXTURE_NAME] = {};
MultiByteToWideChar(CP_UTF8, 0, mh.SpecularTexture, -1, specularName, DXUT::MAX_TEXTURE_NAME);
wchar_t normalName[DXUT::MAX_TEXTURE_NAME] = {};
MultiByteToWideChar(CP_UTF8, 0, mh.NormalTexture, -1, normalName, DXUT::MAX_TEXTURE_NAME);
if ((flags & DUAL_TEXTURE) && !mh.SpecularTexture[0])
{
DebugTrace("WARNING: Material '%s' has multiple texture coords but not multiple textures\n", mh.Name);
flags &= ~static_cast<unsigned int>(DUAL_TEXTURE);
}
if (flags & NORMAL_MAPS)
{
if (!mh.NormalTexture[0])
{
flags &= ~static_cast<unsigned int>(NORMAL_MAPS);
*normalName = 0;
}
}
else if (mh.NormalTexture[0])
{
DebugTrace("WARNING: Material '%s' has a normal map, but vertex buffer is missing tangents\n", mh.Name);
*normalName = 0;
}
m = {};
m.name = matName;
m.perVertexColor = (flags & PER_VERTEX_COLOR) != 0;
m.enableSkinning = (flags & SKINNING) != 0;
m.enableDualTexture = (flags & DUAL_TEXTURE) != 0;
m.enableNormalMaps = (flags & NORMAL_MAPS) != 0;
m.biasedVertexNormals = (flags & BIASED_VERTEX_NORMALS) != 0;
if (mh.Ambient.x == 0 && mh.Ambient.y == 0 && mh.Ambient.z == 0 && mh.Ambient.w == 0
&& mh.Diffuse.x == 0 && mh.Diffuse.y == 0 && mh.Diffuse.z == 0 && mh.Diffuse.w == 0)
{
// SDKMESH material color block is uninitalized; assume defaults
m.diffuseColor = XMFLOAT3(1.f, 1.f, 1.f);
m.alphaValue = 1.f;
}
else
{
m.ambientColor = XMFLOAT3(mh.Ambient.x, mh.Ambient.y, mh.Ambient.z);
m.diffuseColor = XMFLOAT3(mh.Diffuse.x, mh.Diffuse.y, mh.Diffuse.z);
m.emissiveColor = XMFLOAT3(mh.Emissive.x, mh.Emissive.y, mh.Emissive.z);
if (mh.Diffuse.w != 1.f && mh.Diffuse.w != 0.f)
{
m.alphaValue = mh.Diffuse.w;
}
else
m.alphaValue = 1.f;
if (mh.Power > 0)
{
m.specularPower = mh.Power;
m.specularColor = XMFLOAT3(mh.Specular.x, mh.Specular.y, mh.Specular.z);
}
}
m.diffuseTextureIndex = GetUniqueTextureIndex(diffuseName, textureDictionary);
m.specularTextureIndex = GetUniqueTextureIndex(specularName, textureDictionary);
m.normalTextureIndex = GetUniqueTextureIndex(normalName, textureDictionary);
m.samplerIndex = (m.diffuseTextureIndex == -1) ? -1 : static_cast<int>(CommonStates::SamplerIndex::AnisotropicWrap);
m.samplerIndex2 = (flags & DUAL_TEXTURE) ? static_cast<int>(CommonStates::SamplerIndex::AnisotropicWrap) : -1;
}
void InitMaterial(
const DXUT::SDKMESH_MATERIAL_V2& mh,
unsigned int flags,
_Out_ Model::ModelMaterialInfo& m,
_Inout_ std::map<std::wstring, int>& textureDictionary)
{
wchar_t matName[DXUT::MAX_MATERIAL_NAME] = {};
MultiByteToWideChar(CP_UTF8, 0, mh.Name, -1, matName, DXUT::MAX_MATERIAL_NAME);
wchar_t albetoTexture[DXUT::MAX_TEXTURE_NAME] = {};
MultiByteToWideChar(CP_UTF8, 0, mh.AlbetoTexture, -1, albetoTexture, DXUT::MAX_TEXTURE_NAME);
wchar_t normalName[DXUT::MAX_TEXTURE_NAME] = {};
MultiByteToWideChar(CP_UTF8, 0, mh.NormalTexture, -1, normalName, DXUT::MAX_TEXTURE_NAME);
wchar_t rmaName[DXUT::MAX_TEXTURE_NAME] = {};
MultiByteToWideChar(CP_UTF8, 0, mh.RMATexture, -1, rmaName, DXUT::MAX_TEXTURE_NAME);
wchar_t emissiveName[DXUT::MAX_TEXTURE_NAME] = {};
MultiByteToWideChar(CP_UTF8, 0, mh.EmissiveTexture, -1, emissiveName, DXUT::MAX_TEXTURE_NAME);
m = {};
m.name = matName;
m.perVertexColor = false;
m.enableSkinning = false;
m.enableDualTexture = false;
m.enableNormalMaps = true;
m.biasedVertexNormals = (flags & BIASED_VERTEX_NORMALS) != 0;
m.alphaValue = (mh.Alpha == 0.f) ? 1.f : mh.Alpha;
m.diffuseTextureIndex = GetUniqueTextureIndex(albetoTexture, textureDictionary);
m.specularTextureIndex = GetUniqueTextureIndex(rmaName, textureDictionary);
m.normalTextureIndex = GetUniqueTextureIndex(normalName, textureDictionary);
m.emissiveTextureIndex = GetUniqueTextureIndex(emissiveName, textureDictionary);
m.samplerIndex = m.samplerIndex2 = static_cast<int>(CommonStates::SamplerIndex::AnisotropicWrap);
}
//--------------------------------------------------------------------------------------
// Direct3D 9 Vertex Declaration to Direct3D 12 Input Layout mapping
static_assert(D3D12_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT >= 32, "SDKMESH supports decls up to 32 entries");
unsigned int GetInputLayoutDesc(
_In_reads_(32) const DXUT::D3DVERTEXELEMENT9 decl[],
std::vector<D3D12_INPUT_ELEMENT_DESC>& inputDesc)
{
static const D3D12_INPUT_ELEMENT_DESC s_elements[] =
{
{ "SV_Position", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, D3D12_APPEND_ALIGNED_ELEMENT, D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, 0 },
{ "NORMAL", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, D3D12_APPEND_ALIGNED_ELEMENT, D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, 0 },
{ "COLOR", 0, DXGI_FORMAT_B8G8R8A8_UNORM, 0, D3D12_APPEND_ALIGNED_ELEMENT, D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, 0 },
{ "TANGENT", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, D3D12_APPEND_ALIGNED_ELEMENT, D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, 0 },
{ "BINORMAL", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, D3D12_APPEND_ALIGNED_ELEMENT, D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, 0 },
{ "TEXCOORD", 0, DXGI_FORMAT_R32G32_FLOAT, 0, D3D12_APPEND_ALIGNED_ELEMENT, D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, 0 },
{ "BLENDINDICES", 0, DXGI_FORMAT_R8G8B8A8_UINT, 0, D3D12_APPEND_ALIGNED_ELEMENT, D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, 0 },
{ "BLENDWEIGHT", 0, DXGI_FORMAT_R8G8B8A8_UNORM, 0, D3D12_APPEND_ALIGNED_ELEMENT, D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, 0 },
};
using namespace DXUT;
uint32_t offset = 0;
uint32_t texcoords = 0;
unsigned int flags = 0;
bool posfound = false;
for (uint32_t index = 0; index < DXUT::MAX_VERTEX_ELEMENTS; ++index)
{
if (decl[index].Usage == 0xFF)
break;
if (decl[index].Type == D3DDECLTYPE_UNUSED)
break;
if (decl[index].Offset != offset)
break;
if (decl[index].Usage == D3DDECLUSAGE_POSITION)
{
if (decl[index].Type == D3DDECLTYPE_FLOAT3)
{
inputDesc.push_back(s_elements[0]);
offset += 12;
posfound = true;
}
else
break;
}
else if (decl[index].Usage == D3DDECLUSAGE_NORMAL
|| decl[index].Usage == D3DDECLUSAGE_TANGENT
|| decl[index].Usage == D3DDECLUSAGE_BINORMAL)
{
size_t base = 1;
if (decl[index].Usage == D3DDECLUSAGE_TANGENT)
base = 3;
else if (decl[index].Usage == D3DDECLUSAGE_BINORMAL)
base = 4;
D3D12_INPUT_ELEMENT_DESC desc = s_elements[base];
bool unk = false;
switch (decl[index].Type)
{
case D3DDECLTYPE_FLOAT3: assert(desc.Format == DXGI_FORMAT_R32G32B32_FLOAT); offset += 12; break;
case D3DDECLTYPE_UBYTE4N: desc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; flags |= BIASED_VERTEX_NORMALS; offset += 4; break;
case D3DDECLTYPE_SHORT4N: desc.Format = DXGI_FORMAT_R16G16B16A16_SNORM; offset += 8; break;
case D3DDECLTYPE_FLOAT16_4: desc.Format = DXGI_FORMAT_R16G16B16A16_FLOAT; offset += 8; break;
case D3DDECLTYPE_DXGI_R10G10B10A2_UNORM: desc.Format = DXGI_FORMAT_R10G10B10A2_UNORM; flags |= BIASED_VERTEX_NORMALS; offset += 4; break;
case D3DDECLTYPE_DXGI_R11G11B10_FLOAT: desc.Format = DXGI_FORMAT_R11G11B10_FLOAT; flags |= BIASED_VERTEX_NORMALS; offset += 4; break;
case D3DDECLTYPE_DXGI_R8G8B8A8_SNORM: desc.Format = DXGI_FORMAT_R8G8B8A8_SNORM; offset += 4; break;
#if defined(_XBOX_ONE) && defined(_TITLE)
case D3DDECLTYPE_DEC3N: desc.Format = DXGI_FORMAT_R10G10B10_SNORM_A2_UNORM; offset += 4; break;
case (32 + DXGI_FORMAT_R10G10B10_SNORM_A2_UNORM): desc.Format = DXGI_FORMAT_R10G10B10_SNORM_A2_UNORM; offset += 4; break;
#else
case D3DDECLTYPE_DEC3N: desc.Format = DXGI_FORMAT_R10G10B10A2_UNORM; flags |= USES_OBSOLETE_DEC3N; offset += 4; break;
#endif
default:
unk = true;
break;
}
if (unk)
break;
if (decl[index].Usage == D3DDECLUSAGE_TANGENT)
{
flags |= NORMAL_MAPS;
}
inputDesc.push_back(desc);
}
else if (decl[index].Usage == D3DDECLUSAGE_COLOR)
{
D3D12_INPUT_ELEMENT_DESC desc = s_elements[2];
bool unk = false;
switch (decl[index].Type)
{
case D3DDECLTYPE_FLOAT4: desc.Format = DXGI_FORMAT_R32G32B32A32_FLOAT; offset += 16; break;
case D3DDECLTYPE_D3DCOLOR: assert(desc.Format == DXGI_FORMAT_B8G8R8A8_UNORM); offset += 4; break;
case D3DDECLTYPE_UBYTE4N: desc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; offset += 4; break;
case D3DDECLTYPE_FLOAT16_4: desc.Format = DXGI_FORMAT_R16G16B16A16_FLOAT; offset += 8; break;
case D3DDECLTYPE_DXGI_R10G10B10A2_UNORM: desc.Format = DXGI_FORMAT_R10G10B10A2_UNORM; offset += 4; break;
case D3DDECLTYPE_DXGI_R11G11B10_FLOAT: desc.Format = DXGI_FORMAT_R11G11B10_FLOAT; offset += 4; break;
default:
unk = true;
break;
}
if (unk)
break;
flags |= PER_VERTEX_COLOR;
inputDesc.push_back(desc);
}
else if (decl[index].Usage == D3DDECLUSAGE_TEXCOORD)
{
D3D12_INPUT_ELEMENT_DESC desc = s_elements[5];
desc.SemanticIndex = decl[index].UsageIndex;
bool unk = false;
switch (decl[index].Type)
{
case D3DDECLTYPE_FLOAT1: desc.Format = DXGI_FORMAT_R32_FLOAT; offset += 4; break;
case D3DDECLTYPE_FLOAT2: assert(desc.Format == DXGI_FORMAT_R32G32_FLOAT); offset += 8; break;
case D3DDECLTYPE_FLOAT3: desc.Format = DXGI_FORMAT_R32G32B32_FLOAT; offset += 12; break;
case D3DDECLTYPE_FLOAT4: desc.Format = DXGI_FORMAT_R32G32B32A32_FLOAT; offset += 16; break;
case D3DDECLTYPE_FLOAT16_2: desc.Format = DXGI_FORMAT_R16G16_FLOAT; offset += 4; break;
case D3DDECLTYPE_FLOAT16_4: desc.Format = DXGI_FORMAT_R16G16B16A16_FLOAT; offset += 8; break;
default:
unk = true;
break;
}
if (unk)
break;
++texcoords;
inputDesc.push_back(desc);
}
else if (decl[index].Usage == D3DDECLUSAGE_BLENDINDICES)
{
if (decl[index].Type == D3DDECLTYPE_UBYTE4)
{
flags |= SKINNING;
inputDesc.push_back(s_elements[6]);
offset += 4;
}
else
break;
}
else if (decl[index].Usage == D3DDECLUSAGE_BLENDWEIGHT)
{
if (decl[index].Type == D3DDECLTYPE_UBYTE4N)
{
flags |= SKINNING;
inputDesc.push_back(s_elements[7]);
offset += 4;
}
else
break;
}
else
break;
}
if (!posfound)
throw std::exception("SV_Position is required");
if (texcoords == 2)
{
flags |= DUAL_TEXTURE;
}
return flags;
}
}
//======================================================================================
// Model Loader
//======================================================================================
_Use_decl_annotations_
std::unique_ptr<Model> DirectX::Model::CreateFromSDKMESH(const uint8_t* meshData, size_t idataSize, ID3D12Device* device)
{
if (!meshData)
throw std::exception("meshData cannot be null");
uint64_t dataSize = idataSize;
// File Headers
if (dataSize < sizeof(DXUT::SDKMESH_HEADER))
throw std::exception("End of file");
auto header = reinterpret_cast<const DXUT::SDKMESH_HEADER*>(meshData);
size_t headerSize = sizeof(DXUT::SDKMESH_HEADER)
+ header->NumVertexBuffers * sizeof(DXUT::SDKMESH_VERTEX_BUFFER_HEADER)
+ header->NumIndexBuffers * sizeof(DXUT::SDKMESH_INDEX_BUFFER_HEADER);
if (header->HeaderSize != headerSize)
throw std::exception("Not a valid SDKMESH file");
if (dataSize < header->HeaderSize)
throw std::exception("End of file");
if (header->Version != DXUT::SDKMESH_FILE_VERSION && header->Version != DXUT::SDKMESH_FILE_VERSION_V2)
throw std::exception("Not a supported SDKMESH version");
if (header->IsBigEndian)
throw std::exception("Loading BigEndian SDKMESH files not supported");
if (!header->NumMeshes)
throw std::exception("No meshes found");
if (!header->NumVertexBuffers)
throw std::exception("No vertex buffers found");
if (!header->NumIndexBuffers)
throw std::exception("No index buffers found");
if (!header->NumTotalSubsets)
throw std::exception("No subsets found");
if (!header->NumMaterials)
throw std::exception("No materials found");
// Sub-headers
if (dataSize < header->VertexStreamHeadersOffset
|| (dataSize < (header->VertexStreamHeadersOffset + uint64_t(header->NumVertexBuffers) * sizeof(DXUT::SDKMESH_VERTEX_BUFFER_HEADER))))
throw std::exception("End of file");
auto vbArray = reinterpret_cast<const DXUT::SDKMESH_VERTEX_BUFFER_HEADER*>(meshData + header->VertexStreamHeadersOffset);
if (dataSize < header->IndexStreamHeadersOffset
|| (dataSize < (header->IndexStreamHeadersOffset + uint64_t(header->NumIndexBuffers) * sizeof(DXUT::SDKMESH_INDEX_BUFFER_HEADER))))
throw std::exception("End of file");
auto ibArray = reinterpret_cast<const DXUT::SDKMESH_INDEX_BUFFER_HEADER*>(meshData + header->IndexStreamHeadersOffset);
if (dataSize < header->MeshDataOffset
|| (dataSize < (header->MeshDataOffset + uint64_t(header->NumMeshes) * sizeof(DXUT::SDKMESH_MESH))))
throw std::exception("End of file");
auto meshArray = reinterpret_cast<const DXUT::SDKMESH_MESH*>(meshData + header->MeshDataOffset);
if (dataSize < header->SubsetDataOffset
|| (dataSize < (header->SubsetDataOffset + uint64_t(header->NumTotalSubsets) * sizeof(DXUT::SDKMESH_SUBSET))))
throw std::exception("End of file");
auto subsetArray = reinterpret_cast<const DXUT::SDKMESH_SUBSET*>(meshData + header->SubsetDataOffset);
if (dataSize < header->FrameDataOffset
|| (dataSize < (header->FrameDataOffset + uint64_t(header->NumFrames) * sizeof(DXUT::SDKMESH_FRAME))))
throw std::exception("End of file");
// TODO - auto frameArray = reinterpret_cast<const DXUT::SDKMESH_FRAME*>( meshData + header->FrameDataOffset );
if (dataSize < header->MaterialDataOffset
|| (dataSize < (header->MaterialDataOffset + uint64_t(header->NumMaterials) * sizeof(DXUT::SDKMESH_MATERIAL))))
throw std::exception("End of file");
const DXUT::SDKMESH_MATERIAL* materialArray = nullptr;
const DXUT::SDKMESH_MATERIAL_V2* materialArray_v2 = nullptr;
if (header->Version == DXUT::SDKMESH_FILE_VERSION_V2)
{
materialArray_v2 = reinterpret_cast<const DXUT::SDKMESH_MATERIAL_V2*>(meshData + header->MaterialDataOffset);
}
else
{
materialArray = reinterpret_cast<const DXUT::SDKMESH_MATERIAL*>(meshData + header->MaterialDataOffset);
}
// Buffer data
uint64_t bufferDataOffset = header->HeaderSize + header->NonBufferDataSize;
if ((dataSize < bufferDataOffset)
|| (dataSize < bufferDataOffset + header->BufferDataSize))
throw std::exception("End of file");
const uint8_t* bufferData = meshData + bufferDataOffset;
// Create vertex buffers
std::vector<std::shared_ptr<std::vector<D3D12_INPUT_ELEMENT_DESC>>> vbDecls;
vbDecls.resize(header->NumVertexBuffers);
std::vector<unsigned int> materialFlags;
materialFlags.resize(header->NumVertexBuffers);
bool dec3nwarning = false;
for (UINT j = 0; j < header->NumVertexBuffers; ++j)
{
auto& vh = vbArray[j];
if (vh.SizeBytes > (D3D12_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_A_TERM * 1024u * 1024u))
throw std::exception("VB too large for DirectX 12");
if (dataSize < vh.DataOffset
|| (dataSize < vh.DataOffset + vh.SizeBytes))
throw std::exception("End of file");
vbDecls[j] = std::make_shared<std::vector<D3D12_INPUT_ELEMENT_DESC>>();
unsigned int flags = GetInputLayoutDesc(vh.Decl, *vbDecls[j].get());
if (flags & SKINNING)
{
flags &= ~static_cast<unsigned int>(DUAL_TEXTURE | NORMAL_MAPS);
}
if (flags & DUAL_TEXTURE)
{
flags &= ~static_cast<unsigned int>(NORMAL_MAPS);
}
if (flags & USES_OBSOLETE_DEC3N)
{
dec3nwarning = true;
}
materialFlags[j] = flags;
}
if (dec3nwarning)
{
DebugTrace("WARNING: Vertex declaration uses legacy Direct3D 9 D3DDECLTYPE_DEC3N which has no DXGI equivalent\n"
" (treating as DXGI_FORMAT_R10G10B10A2_UNORM which is not a signed format)\n");
}
// Validate index buffers
for (UINT j = 0; j < header->NumIndexBuffers; ++j)
{
auto& ih = ibArray[j];
if (ih.SizeBytes > (D3D12_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_A_TERM * 1024u * 1024u))
throw std::exception("IB too large for DirectX 12");
if (dataSize < ih.DataOffset
|| (dataSize < ih.DataOffset + ih.SizeBytes))
throw std::exception("End of file");
if (ih.IndexType != DXUT::IT_16BIT && ih.IndexType != DXUT::IT_32BIT)
throw std::exception("Invalid index buffer type found");
}
// Create meshes
std::vector<ModelMaterialInfo> materials;
materials.resize(header->NumMaterials);
std::map<std::wstring, int> textureDictionary;
std::unique_ptr<Model> model(new Model);
model->meshes.reserve(header->NumMeshes);
uint32_t partCount = 0;
for (UINT meshIndex = 0; meshIndex < header->NumMeshes; ++meshIndex)
{
auto& mh = meshArray[meshIndex];
if (!mh.NumSubsets
|| !mh.NumVertexBuffers
|| mh.IndexBuffer >= header->NumIndexBuffers
|| mh.VertexBuffers[0] >= header->NumVertexBuffers)
throw std::exception("Invalid mesh found");
// mh.NumVertexBuffers is sometimes not what you'd expect, so we skip validating it
if (dataSize < mh.SubsetOffset
|| (dataSize < mh.SubsetOffset + uint64_t(mh.NumSubsets) * sizeof(UINT)))
throw std::exception("End of file");
auto subsets = reinterpret_cast<const UINT*>(meshData + mh.SubsetOffset);
if (mh.NumFrameInfluences > 0)
{
if (dataSize < mh.FrameInfluenceOffset
|| (dataSize < mh.FrameInfluenceOffset + uint64_t(mh.NumFrameInfluences) * sizeof(UINT)))
throw std::exception("End of file");
// TODO - auto influences = reinterpret_cast<const UINT*>( meshData + mh.FrameInfluenceOffset );
}
auto mesh = std::make_shared<ModelMesh>();
wchar_t meshName[DXUT::MAX_MESH_NAME] = {};
MultiByteToWideChar(CP_UTF8, 0, mh.Name, -1, meshName, DXUT::MAX_MESH_NAME);
mesh->name = meshName;
// Extents
mesh->boundingBox.Center = mh.BoundingBoxCenter;
mesh->boundingBox.Extents = mh.BoundingBoxExtents;
BoundingSphere::CreateFromBoundingBox(mesh->boundingSphere, mesh->boundingBox);
// Create subsets
for (UINT j = 0; j < mh.NumSubsets; ++j)
{
auto sIndex = subsets[j];
if (sIndex >= header->NumTotalSubsets)
throw std::exception("Invalid mesh found");
auto& subset = subsetArray[sIndex];
D3D_PRIMITIVE_TOPOLOGY primType;
switch (subset.PrimitiveType)
{
case DXUT::PT_TRIANGLE_LIST: primType = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST; break;
case DXUT::PT_TRIANGLE_STRIP: primType = D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP; break;
case DXUT::PT_LINE_LIST: primType = D3D_PRIMITIVE_TOPOLOGY_LINELIST; break;
case DXUT::PT_LINE_STRIP: primType = D3D_PRIMITIVE_TOPOLOGY_LINESTRIP; break;
case DXUT::PT_POINT_LIST: primType = D3D_PRIMITIVE_TOPOLOGY_POINTLIST; break;
case DXUT::PT_TRIANGLE_LIST_ADJ: primType = D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ; break;
case DXUT::PT_TRIANGLE_STRIP_ADJ: primType = D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ; break;
case DXUT::PT_LINE_LIST_ADJ: primType = D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ; break;
case DXUT::PT_LINE_STRIP_ADJ: primType = D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ; break;
case DXUT::PT_QUAD_PATCH_LIST:
case DXUT::PT_TRIANGLE_PATCH_LIST:
throw std::exception("Direct3D9 era tessellation not supported");
default:
throw std::exception("Unknown primitive type");
}
if (subset.MaterialID >= header->NumMaterials)
throw std::exception("Invalid mesh found");
auto& mat = materials[subset.MaterialID];
const size_t vi = mh.VertexBuffers[0];
if (materialArray_v2)
{
InitMaterial(
materialArray_v2[subset.MaterialID],
materialFlags[vi],
mat,
textureDictionary);
}
else
{
InitMaterial(
materialArray[subset.MaterialID],
materialFlags[vi],
mat,
textureDictionary);
}
auto part = new ModelMeshPart(partCount++);
const auto& vh = vbArray[mh.VertexBuffers[0]];
const auto& ih = ibArray[mh.IndexBuffer];
part->indexCount = static_cast<uint32_t>(subset.IndexCount);
part->startIndex = static_cast<uint32_t>(subset.IndexStart);
part->vertexOffset = static_cast<int32_t>(subset.VertexStart);
part->vertexStride = static_cast<uint32_t>(vh.StrideBytes);
part->vertexCount = static_cast<uint32_t>(subset.VertexCount);
part->primitiveType = primType;
part->indexFormat = (ibArray[mh.IndexBuffer].IndexType == DXUT::IT_32BIT) ? DXGI_FORMAT_R32_UINT : DXGI_FORMAT_R16_UINT;
// Vertex data
auto verts = bufferData + (vh.DataOffset - bufferDataOffset);
auto vbytes = static_cast<size_t>(vh.SizeBytes);
part->vertexBufferSize = static_cast<uint32_t>(vh.SizeBytes);
part->vertexBuffer = GraphicsMemory::Get(device).Allocate(vbytes);
memcpy(part->vertexBuffer.Memory(), verts, vbytes);
// Index data
auto indices = bufferData + (ih.DataOffset - bufferDataOffset);
auto ibytes = static_cast<size_t>(ih.SizeBytes);
part->indexBufferSize = static_cast<uint32_t>(ih.SizeBytes);
part->indexBuffer = GraphicsMemory::Get(device).Allocate(ibytes);
memcpy(part->indexBuffer.Memory(), indices, ibytes);
part->materialIndex = subset.MaterialID;
part->vbDecl = vbDecls[mh.VertexBuffers[0]];
if (mat.alphaValue < 1.0f)
mesh->alphaMeshParts.emplace_back(part);
else
mesh->opaqueMeshParts.emplace_back(part);
}
model->meshes.emplace_back(mesh);
}
// Copy the materials and texture names into contiguous arrays
model->materials = std::move(materials);
model->textureNames.resize(textureDictionary.size());
for (auto texture = std::cbegin(textureDictionary); texture != std::cend(textureDictionary); ++texture)
{
model->textureNames[static_cast<size_t>(texture->second)] = texture->first;
}
return model;
}
//--------------------------------------------------------------------------------------
_Use_decl_annotations_
std::unique_ptr<Model> DirectX::Model::CreateFromSDKMESH(const wchar_t* szFileName, ID3D12Device* device)
{
size_t dataSize = 0;
std::unique_ptr<uint8_t[]> data;
HRESULT hr = BinaryReader::ReadEntireFile(szFileName, data, &dataSize);
if (FAILED(hr))
{
DebugTrace("ERROR: CreateFromSDKMESH failed (%08X) loading '%ls'\n", hr, szFileName);
throw std::exception("CreateFromSDKMESH");
}
auto model = CreateFromSDKMESH(data.get(), dataSize, device);
model->name = szFileName;
return model;
}
| [
"adtsai@microsoft.com"
] | adtsai@microsoft.com |
76b7c87663cad4519fa456708e4d78b98c72a3f0 | cffeb2c154df166ce52ef4274e50c68e942a3b36 | /mailnews/base/util/nsStopwatch.h | 8b116291685c71c68d834239319ac57b9bd69d61 | [] | no_license | psunkari/spicebird | 048bb7486ff641f9ca15579b8897545a20f17c4e | 9fc3fd1b24d39612af913ff57b0bec5e2157c8d8 | refs/heads/master | 2021-01-22T02:28:39.258573 | 2013-04-05T20:12:36 | 2013-04-05T20:12:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | h | #ifndef _nsStopwatch_h_
#define _nsStopwatch_h_
#include "nsIStopwatch.h"
#include "msgCore.h"
#define NS_STOPWATCH_CID \
{0x6ef7eafd, 0x72d0, 0x4c56, {0x94, 0x09, 0x67, 0xe1, 0x6d, 0x0f, 0x25, 0x5b}}
#define NS_STOPWATCH_CONTRACTID "@mozilla.org/stopwatch;1"
#undef IMETHOD_VISIBILITY
#define IMETHOD_VISIBILITY NS_VISIBILITY_DEFAULT
class NS_MSG_BASE nsStopwatch : public nsIStopwatch
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISTOPWATCH
nsStopwatch();
virtual ~nsStopwatch();
private:
/// Wall-clock start time in seconds since unix epoch.
double fStartRealTimeSecs;
/// Wall-clock stop time in seconds since unix epoch.
double fStopRealTimeSecs;
/// CPU-clock start time in seconds (of CPU time used since app start)
double fStartCpuTimeSecs;
/// CPU-clock stop time in seconds (of CPU time used since app start)
double fStopCpuTimeSecs;
/// Total wall-clock time elapsed in seconds.
double fTotalRealTimeSecs;
/// Total CPU time elapsed in seconds.
double fTotalCpuTimeSecs;
/// Is the timer running?
bool fRunning;
static double GetRealTime();
static double GetCPUTime();
};
#endif // _nsStopwatch_h_
| [
"prasad@medhas.org"
] | prasad@medhas.org |
f849c6d516c50f9c142a6332a90de3db2ebeed7f | d9b1e6f89fd7f1f0d5a4654eeba2bb096ddc249b | /include/base.hpp | f989f0ca803ccc653aa5b73c2e252a5d93367252 | [] | no_license | northy/iccad2018b | ff956ab82b8d58180dd68e10db02953ae20022ea | bd35df160a7e9c755d4c99caa68ebdf1b4f16b4d | refs/heads/master | 2020-08-10T04:08:40.163410 | 2019-11-01T00:56:25 | 2019-11-01T00:56:25 | 214,252,511 | 0 | 0 | null | 2019-10-10T18:07:55 | 2019-10-10T18:07:54 | null | UTF-8 | C++ | false | false | 815 | hpp | #pragma once
#include <iostream>
#include <array>
namespace base {
template <int N>
struct Point {
std::array<uint32_t, N> coords;
uint32_t operator[](const int i) const {
return coords[i];
}
};
template<int N>
std::ostream & operator<<(std::ostream & out, const Point<N> & p) {
out << "(";
for(int i = 0; i < N; ++i) {
out << (i==0 ? "": " ") << p[i];
}
out << ")";
return out;
}
template <int N>
struct Rectangle {
Point<N> p1, p2;
};
template<int N>
bool operator==(const Point<N> & p1, const Point<N> & p2) {
for(int i = 0; i < N; ++i) {
if(p1[i] != p2[i]) {
return false;
}
}
return true;
}
// void decls() {
using R2 = Rectangle<2>;
using R3 = Rectangle<3>;
using P2 = Point<2>;
using P3 = Point<3>;
// }
} | [
"wuerges@gmail.com"
] | wuerges@gmail.com |
0be4c9674b1d5d69e97a1f9d9b1828d1b50daa18 | d5c074a07b17ea5d3c54549374794ce7742f7a89 | /chaty/client_connection_thread.cpp | 6877f50c64a12e369f725d13c26c3c85b18da0e3 | [] | no_license | Dudedex/Chaty | 27246b5d6dbb47c8096a62b51c1be22c202c562d | 72e2d5f17313f03629845261fe6327a1df0d7edd | refs/heads/master | 2020-05-29T08:41:07.900918 | 2016-10-15T16:24:00 | 2016-10-15T16:24:00 | 69,948,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,264 | cpp | #include "client_connection_thread.h"
ClientConnectionThread::ClientConnectionThread(int socketDescriptor, QObject *parent)
: QThread(parent), socketDescriptor(socketDescriptor)
{
}
void ClientConnectionThread::run()
{
QTcpSocket tcpSocket;
if (!tcpSocket.setSocketDescriptor(socketDescriptor)) {
emit error(tcpSocket.error());
return;
}
qDebug() << "Open: " << tcpSocket.isOpen();
if(!tcpSocket.waitForReadyRead()){
qDebug() << "no Data Available";
return;
}
qint32 blockSize = 0;
QDataStream in(&tcpSocket);
in.setVersion(QDataStream::Qt_4_0);
if(tcpSocket.bytesAvailable()){
in >> blockSize;
}
while (tcpSocket.bytesAvailable() < (blockSize - sizeof(qint32))) {
if (!tcpSocket.waitForReadyRead()) {
break;
}
}
QByteArray data;
in >> data;
std::string jsonString = CryptoHelper::saveStringQByteConversion(data);
qDebug() << "Received: " << jsonString.c_str() << "\n";
qDebug() << "--------------------------------";
RequestJsonWrapper jsonObject(jsonString);
QByteArray output;
ResponseJsonWrapper response;
qDebug() << "Name: " << jsonObject.getTransmitter().c_str() << tcpSocket.peerAddress().toString() << ":" << tcpSocket.peerPort();
switch(jsonObject.getMessageType()){
case SEND_MESSAGE:
emit messageReceived(CryptoHelper::saveStringConversion(jsonObject.getJsonString()));
response.setStatusCode(OK);
output = CryptoHelper::saveStringQByteConversion(response.getJsonString());
break;
default:
ResponseJsonWrapper responseJson;
responseJson.setStatusCode(NOT_IMPLEMENTED);
output = CryptoHelper::saveStringQByteConversion(responseJson.getJsonString());
break;
}
QByteArray block;
QDataStream out(&block, QIODevice::WriteOnly);
out.setVersion(QDataStream::Qt_4_0);
out << (qint32)0;
out << output;
out.device()->seek(0);
out << (qint32)(block.size() - sizeof(qint32));
qDebug() << "BlockSize: " << (block.size() - sizeof(qint32));
tcpSocket.write(block);
tcpSocket.disconnectFromHost();
tcpSocket.waitForDisconnected();
}
| [
"henlerichy@yahoo.de"
] | henlerichy@yahoo.de |
f7462b049816bd3ea7c37c4e36403366a06e8d2b | 4a37bfef0f5bd1f6a904e802680e22b2662d2a17 | /nektar/nektar++-5.0.0/library/LibUtilities/BasicUtils/FieldIOHdf5.h | ebde1335d356c078f1f298275b24b13ba26eb516 | [
"MIT"
] | permissive | mapengfei-nwpu/DG-program | 5a47d531f5f8118547b194aa250b546a03f700c3 | e7d9b98f0241d7f4af941d801de3f0b12bb0ed3a | refs/heads/master | 2022-10-04T22:21:42.409887 | 2020-05-04T12:49:45 | 2020-05-04T12:49:45 | 261,162,778 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,535 | h | ///////////////////////////////////////////////////////////////////////////////
//
// File FieldIOHdf5.h
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautics, Imperial College London (UK), and Scientific
// Computing and Imaging Institute, University of Utah (USA).
//
// 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.
//
// Description: Field IO to/from HDF5
//
///////////////////////////////////////////////////////////////////////////////
#ifndef NEKTAR_LIB_UTILITIES_BASIC_UTILS_FIELDIOHDF5_H
#define NEKTAR_LIB_UTILITIES_BASIC_UTILS_FIELDIOHDF5_H
#include <LibUtilities/BasicUtils/FieldIO.h>
#include <LibUtilities/BasicUtils/FileSystem.h>
#include <LibUtilities/BasicUtils/H5.h>
namespace Nektar
{
namespace LibUtilities
{
namespace H5
{
class Group;
typedef std::shared_ptr<Group> GroupSharedPtr;
}
/**
* @class Class encapsulating simple HDF5 data source using H5 reader utilities.
*/
class H5DataSource : public DataSource
{
public:
/// Constructor based on filename.
H5DataSource(const std::string &fn, H5::PListSharedPtr parallelProps)
: doc(H5::File::Open(fn, H5F_ACC_RDONLY, parallelProps))
{
}
/// Get H5::FileSharedPtr reference to file.
H5::FileSharedPtr Get()
{
return doc;
}
/// Get H5::FileSharedPtr reference to file.
const H5::FileSharedPtr Get() const
{
return doc;
}
/// Static constructor for this data source.
static DataSourceSharedPtr create(
const std::string &fn, H5::PListSharedPtr parallelProps)
{
return DataSourceSharedPtr(new H5DataSource(fn, parallelProps));
}
private:
/// HDF5 document.
H5::FileSharedPtr doc;
};
typedef std::shared_ptr<H5DataSource> H5DataSourceSharedPtr;
/**
* @class Simple class for writing hierarchical data using HDF5.
*/
class H5TagWriter : public TagWriter
{
public:
/// Default constructor.
H5TagWriter(H5::GroupSharedPtr grp) : m_Group(grp) {}
/// Add a child node.
TagWriterSharedPtr AddChild(const std::string &name)
{
H5::GroupSharedPtr child = m_Group->CreateGroup(name);
return TagWriterSharedPtr(new H5TagWriter(child));
}
/// Set an attribute key/value pair on this tag.
void SetAttr(const std::string &key, const std::string &val)
{
m_Group->SetAttribute(key, val);
}
private:
/// HDF5 group for this tag.
H5::GroupSharedPtr m_Group;
};
typedef std::shared_ptr<H5TagWriter> H5TagWriterSharedPtr;
/**
* @class Class for operating on HDF5-based FLD files.
*
* This class implements a HDF5 reader/writer based on MPI/O that is designed to
* operate on a single file across all processors of a simulation. The
* definition follows vaguely similar lines to XML output but is stored somewhat
* differently to accommodate parallel reading and writing. At a basic level
* metadata is organised as follows:
*
* - Nektar++ data lies in the root `/NEKTAR` group.
* - The contents of a FieldDefinitions object is hashed to construct a unique
* identifier for each object, which becomes the name of a group within the
* root group. We then use the H5TagWriter to assign the field definitions
* to each group.
* - In a similar fashion, we create a `Metadata` group to contain field
* metadata that is written.
*
* We then define five data sets to contain field data:
*
* - The `DATA` dataset contains the double-precision modal coefficient data.
* - The `IDS` dataset contains the element IDs of the elements that are
* written out.
* - The `POLYORDERS` dataset is written if the field data contains variable
* polynomial order, and contains the (possibly hetergeneous) mode orders in
* each direction for each of the elements.
* - The `HOMOGENEOUSZIDS` dataset contains the IDs of z-planes for
* homogeneous simulations, if the data are homogeneous.
* - The `HOMOGENEOUSYIDS` dataset contains the IDs of y-planes for
* homogeneous simulations, if the data are homogeneous.
* - The `HOMOGENEOUSSIDS` dataset contains the strip IDs for
* homogeneous simulations, if the data are homogeneous and use strips.
*
* The ordering is defined according to the `DECOMPOSITION` dataset. A
* `decomposition' in this class is essentially a single field definition with
* its accompanying data. Data are written into each dataset by the order of
* each decomposition. Each decomposition contains the following seven integers
* that define it per field definition per processor:
*
* - Number of elements in this field definition (index #ELEM_DCMP_IDX).
* - Number of entries in the `DATA` array for this field definition
* (index #VAL_DCMP_IDX)
* - Number of entries in the `POLYORDERS` array for this field definition
* (index #ORDER_DCMP_IDX)
* - Number of entries in the `HOMOGENEOUSZIDS` array (index #HOMZ_DCMP_IDX).
* - Number of entries in the `HOMOGENEOUSYIDS` array (index #HOMY_DCMP_IDX).
* - Number of entries in the `HOMOGENEOUSSIDS` array (index #HOMS_DCMP_IDX).
* - Hash of the field definition, represented as a 32-bit integer, which
* describes the name of the attribute that contains the rest of the field
* definition information (e.g. field names, basis type, etc).
*
* The number of decompositions is therefore calculated as the field size
* divided by #MAX_DCMPS which allows us to calculate the offsets of the data
* for each field definition within the arrays.
*/
class FieldIOHdf5 : public FieldIO
{
public:
static const unsigned int FORMAT_VERSION;
static const unsigned int ELEM_DCMP_IDX;
static const unsigned int VAL_DCMP_IDX;
static const unsigned int ORDER_DCMP_IDX;
static const unsigned int HOMY_DCMP_IDX;
static const unsigned int HOMZ_DCMP_IDX;
static const unsigned int HOMS_DCMP_IDX;
static const unsigned int HASH_DCMP_IDX;
static const unsigned int MAX_DCMPS;
static const unsigned int ELEM_CNT_IDX;
static const unsigned int VAL_CNT_IDX;
static const unsigned int ORDER_CNT_IDX;
static const unsigned int HOMY_CNT_IDX;
static const unsigned int HOMZ_CNT_IDX;
static const unsigned int HOMS_CNT_IDX;
static const unsigned int MAX_CNTS;
static const unsigned int IDS_IDX_IDX;
static const unsigned int DATA_IDX_IDX;
static const unsigned int ORDER_IDX_IDX;
static const unsigned int HOMY_IDX_IDX;
static const unsigned int HOMZ_IDX_IDX;
static const unsigned int HOMS_IDX_IDX;
static const unsigned int MAX_IDXS;
/// Creates an instance of this class
LIB_UTILITIES_EXPORT static FieldIOSharedPtr create(
LibUtilities::CommSharedPtr pComm, bool sharedFilesystem)
{
return MemoryManager<FieldIOHdf5>::AllocateSharedPtr(pComm,
sharedFilesystem);
}
/// Name of class
LIB_UTILITIES_EXPORT static std::string className;
LIB_UTILITIES_EXPORT FieldIOHdf5(
LibUtilities::CommSharedPtr pComm,
bool sharedFilesystem);
LIB_UTILITIES_EXPORT virtual ~FieldIOHdf5()
{
}
/// Get class name
inline virtual const std::string &GetClassName() const
{
return className;
}
private:
struct OffsetHelper {
OffsetHelper() : data(0), order(0), homy(0), homz(0), homs(0) {}
OffsetHelper(const OffsetHelper &in) :
data(in.data), order(in.order), homy(in.homy), homz(in.homz),
homs(in.homs)
{
}
uint64_t data, order, homy, homz, homs;
};
LIB_UTILITIES_EXPORT virtual void v_Write(
const std::string &outFile,
std::vector<FieldDefinitionsSharedPtr> &fielddefs,
std::vector<std::vector<NekDouble> > &fielddata,
const FieldMetaDataMap &fieldinfomap = NullFieldMetaDataMap,
const bool backup = false);
LIB_UTILITIES_EXPORT virtual void v_Import(
const std::string &infilename,
std::vector<FieldDefinitionsSharedPtr> &fielddefs,
std::vector<std::vector<NekDouble> > &fielddata =
NullVectorNekDoubleVector,
FieldMetaDataMap &fieldinfomap = NullFieldMetaDataMap,
const Array<OneD, int> &ElementIDs = NullInt1DArray);
LIB_UTILITIES_EXPORT virtual DataSourceSharedPtr v_ImportFieldMetaData(
const std::string &filename, FieldMetaDataMap &fieldmetadatamap);
LIB_UTILITIES_EXPORT void ImportHDF5FieldMetaData(
DataSourceSharedPtr dataSource, FieldMetaDataMap &fieldmetadatamap);
LIB_UTILITIES_EXPORT void ImportFieldDef(
H5::PListSharedPtr readPL,
H5::GroupSharedPtr root,
std::vector<uint64_t> &decomps,
uint64_t decomp,
OffsetHelper offset,
std::string group,
FieldDefinitionsSharedPtr def);
LIB_UTILITIES_EXPORT void ImportFieldData(
H5::PListSharedPtr readPL,
H5::DataSetSharedPtr data_dset,
H5::DataSpaceSharedPtr data_fspace,
uint64_t data_i,
std::vector<uint64_t> &decomps,
uint64_t decomp,
const FieldDefinitionsSharedPtr fielddef,
std::vector<NekDouble> &fielddata);
};
}
}
#endif
| [
"33214870+mapengfei-nwpu@users.noreply.github.com"
] | 33214870+mapengfei-nwpu@users.noreply.github.com |
8cfbf5a10de67b46c35b7c61ad2b0e8c5cf0a6e5 | 3d56937129dc702e0509bb2384a6d31a7ba1a1ce | /Classes/Hero.h | a4eee7fa5950b9068a6dcfdfb6e2a787c2073706 | [] | no_license | amy60618/SYSGame | 21d45dc924be9f9f494b235158fb298339dff3b1 | 77341083a7650dbce79fefd90aaa0c87910b2b62 | refs/heads/master | 2021-01-18T09:32:00.426537 | 2013-07-29T06:44:15 | 2013-07-29T06:44:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | h | #ifndef SYS_HERO
#define SYS_HERO
#include "Character.h"
class Hero : public Character
{
public:
virtual void onEnter();
virtual void onExit();
virtual void onUpdate(float dt);
static Hero* create(const char *pszFileName);
protected:
};
#endif | [
"aeronzhou@qq.com"
] | aeronzhou@qq.com |
8a7cc28ee4f0be04794bfd3b3f549bf3e1cd0e89 | fc55c484f04eea103a4bd808bf4e439b9702045a | /src/statemgr.cpp | 172284d74844537ea0a73bb182c2c016e96aea7f | [] | no_license | baines/invader | b9b9bb752c02a449ce92e12b9c6f6113620289a5 | 3d7c974690c9a94661f3b274cf62a4a8b6287d5f | refs/heads/master | 2021-01-10T18:24:46.288145 | 2012-12-30T00:35:51 | 2012-12-30T00:35:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | #include "statemgr.h"
#include "gamestate.h"
#include "input.h"
#include "util.h"
StateMgr::StateMgr() : popAmount(0){}
StateMgr::~StateMgr(){
while (!states.empty()){
delete states.back();
states.pop_back();
}
}
void StateMgr::update(Input& input, Uint32 delta){
while(popAmount > 0){
delete states.back();
states.pop_back();
popAmount--;
}
while(!nextStates.empty()){
states.push_back(nextStates.front());
nextStates.pop();
}
states.back()->update(input, delta);
}
void StateMgr::draw(Ringbuff<Sprite*>& gfx){
for(std::vector<Gamestate*>::iterator itr = states.begin();
itr != states.end(); ++itr){
(*itr)->draw(gfx);
}
}
void StateMgr::push(Gamestate* state){
nextStates.push(state);
}
void StateMgr::pop(int amount){
popAmount = util::min(amount, states.size());
}
| [
"A.Baines@warwick.ac.uk"
] | A.Baines@warwick.ac.uk |
9122533c62b5f0ce424274df1111d3a63739fd42 | a84b013cd995870071589cefe0ab060ff3105f35 | /webdriver/branches/chrome/chrome/src/cpp/include/chrome/browser/history/text_database.h | 5c7608634242aee92113df9201bb864949cd0de1 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | vdt/selenium | 137bcad58b7184690b8785859d77da0cd9f745a0 | 30e5e122b068aadf31bcd010d00a58afd8075217 | refs/heads/master | 2020-12-27T21:35:06.461381 | 2009-08-18T15:56:32 | 2009-08-18T15:56:32 | 13,650,409 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,634 | h | // Copyright (c) 2006-2008 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_HISTORY_TEXT_DATABASE_H__
#define CHROME_BROWSER_HISTORY_TEXT_DATABASE_H__
#include <set>
#include <vector>
#include "base/basictypes.h"
#include "chrome/browser/history/history_types.h"
#include "chrome/browser/meta_table_helper.h"
#include "chrome/common/sqlite_compiled_statement.h"
#include "googleurl/src/gurl.h"
struct sqlite3;
namespace history {
// Encapsulation of a full-text indexed database file.
class TextDatabase {
public:
typedef int DBIdent;
typedef std::set<GURL> URLSet;
// Returned from the search function.
struct Match {
// URL of the match.
GURL url;
// The title is returned because the title in the text database and the URL
// database may differ. This happens because we capture the title when the
// body is captured, and don't update it later.
std::wstring title;
// Time the page that was returned was visited.
base::Time time;
// Identifies any found matches in the title of the document. These are not
// included in the snippet.
Snippet::MatchPositions title_match_positions;
// Snippet of the match we generated from the body.
Snippet snippet;
};
// Note: You must call init which must succeed before using this class.
//
// Computes the mathes for the query, returning results in decreasing order
// of visit time.
//
// This function will attach the new database to the given database
// connection. This allows one sqlite3 object to share many TextDatabases,
// meaning that they will all share the same cache, which allows us to limit
// the total size that text indexing databasii can take up.
//
// |file_name| is the name of the file on disk.
//
// ID is the identifier for the database. It should uniquely identify it among
// other databases on disk and in the sqlite connection.
//
// |allow_create| indicates if we want to allow creation of the file if it
// doesn't exist. For files associated with older time periods, we don't want
// to create them if they don't exist, so this flag would be false.
TextDatabase(const std::wstring& path,
DBIdent id,
bool allow_create);
~TextDatabase();
// Initializes the database connection and creates the file if the class
// was created with |allow_create|. If the file couldn't be opened or
// created, this will return false. No other functions should be called
// after this.
bool Init();
// Allows updates to be batched. This gives higher performance when multiple
// updates are happening because every insert doesn't require a sync to disk.
// Transactions can be nested, only the outermost one will actually count.
void BeginTransaction();
void CommitTransaction();
// For testing, returns the file name of the database so it can be deleted
// after the test. This is valid even before Init() is called.
const std::wstring& file_name() const { return file_name_; }
// Returns a NULL-terminated string that is the base of history index files,
// which is the part before the database identifier. For example
// "History Index *". This is for finding existing database files.
static const wchar_t* file_base();
// Converts a filename on disk (optionally including a path) to a database
// identifier. If the filename doesn't have the correct format, returns 0.
static DBIdent FileNameToID(const std::wstring& file_path);
// Changing operations -------------------------------------------------------
// Adds the given data to the page. Returns true on success. The data should
// already be converted to UTF-8.
bool AddPageData(base::Time time,
const std::string& url,
const std::string& title,
const std::string& contents);
// Deletes the indexed data exactly matching the given URL/time pair.
void DeletePageData(base::Time time, const std::string& url);
// Optimizes the tree inside the database. This will, in addition to making
// access faster, remove any deleted data from the database (normally it is
// added again as "removed" and it is manually cleaned up when it decides to
// optimize it naturally). It is bad for privacy if a user is deleting a
// page from history but it still exists in the full text database in some
// form. This function will clean that up.
void Optimize();
// Querying ------------------------------------------------------------------
// Executes the given query. See QueryOptions for more info on input.
//
// The results are appended to any existing ones in |*results|, and the first
// time considered for the output is in |first_time_searched|
// (see QueryResults for more).
//
// When |options.most_recent_visit_only|, any URLs found will be added to
// |unique_urls|. If a URL is already in the set, additional results will not
// be added (giving the ability to uniquify URL results, with the most recent
// If |most_recent_visit_only| is not set, |unique_urls| will be untouched.
//
// Callers must run QueryParser on the user text and pass the results of the
// QueryParser to this method as the query string.
void GetTextMatches(const std::string& query,
const QueryOptions& options,
std::vector<Match>* results,
URLSet* unique_urls,
base::Time* first_time_searched);
// Converts the given database identifier to a filename. This does not include
// the path, just the file and extension.
static std::wstring IDToFileName(DBIdent id);
private:
// Ensures that the tables and indices are created. Returns true on success.
bool CreateTables();
// See the constructor.
sqlite3* db_;
SqliteStatementCache* statement_cache_;
const std::wstring path_;
const DBIdent ident_;
const bool allow_create_;
// Full file name of the file on disk, computed in Init().
std::wstring file_name_;
// Nesting levels of transactions. Since sqlite only allows one open
// transaction, we simulate nested transactions by mapping the outermost one
// to a real transaction. Since this object never needs to do ROLLBACK, losing
// the ability for all transactions to rollback is inconsequential.
int transaction_nesting_;
MetaTableHelper meta_table_;
DISALLOW_EVIL_CONSTRUCTORS(TextDatabase);
};
} // namespace history
#endif // CHROME_BROWSER_HISTORY_TEXT_DATABASE_H__
| [
"noel.gordon@07704840-8298-11de-bf8c-fd130f914ac9"
] | noel.gordon@07704840-8298-11de-bf8c-fd130f914ac9 |
3ea6f34f1ce4338af03aad571b5ab7a2c0c68e80 | 7e686824108f22f095a89860b235cc1267e6d32f | /src/test/prevector_tests.cpp | f54b26c913a218c75260283fbffd47565f7f9ea5 | [
"MIT"
] | permissive | alleck/Splendid | 2aace2cf675233c3c435c4eab4aedf8b32f23347 | 8ea29bda381628f954d1699a38a70c3ae3506ed9 | refs/heads/main | 2023-03-20T11:20:13.567687 | 2021-02-22T21:56:34 | 2021-02-22T21:56:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,840 | cpp | // Copyright (c) 2015-2016 The Bitcoin Core developers
// Copyright (c) 2017-2019 The Splendid Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <vector>
#include "prevector.h"
#include "reverse_iterator.h"
#include "serialize.h"
#include "streams.h"
#include "test/test_splendid.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTURE_TEST_SUITE(PrevectorTests, TestingSetup)
template<unsigned int N, typename T>
class prevector_tester
{
typedef std::vector<T> realtype;
realtype real_vector;
realtype real_vector_alt;
typedef prevector<N, T> pretype;
pretype pre_vector;
pretype pre_vector_alt;
typedef typename pretype::size_type Size;
bool passed = true;
FastRandomContext rand_cache;
uint256 rand_seed;
template<typename A, typename B>
void local_check_equal(A a, B b)
{
local_check(a == b);
}
void local_check(bool b)
{
passed &= b;
}
void test()
{
const pretype &const_pre_vector = pre_vector;
local_check_equal(real_vector.size(), pre_vector.size());
local_check_equal(real_vector.empty(), pre_vector.empty());
for (Size s = 0; s < real_vector.size(); s++)
{
local_check(real_vector[s] == pre_vector[s]);
local_check(&(pre_vector[s]) == &(pre_vector.begin()[s]));
local_check(&(pre_vector[s]) == &*(pre_vector.begin() + s));
local_check(&(pre_vector[s]) == &*((pre_vector.end() + s) - real_vector.size()));
}
// local_check(realtype(pre_vector) == real_vector);
local_check(pretype(real_vector.begin(), real_vector.end()) == pre_vector);
local_check(pretype(pre_vector.begin(), pre_vector.end()) == pre_vector);
size_t pos = 0;
for (const T &v : pre_vector)
{
local_check(v == real_vector[pos++]);
}
for (const T &v : reverse_iterate(pre_vector))
{
local_check(v == real_vector[--pos]);
}
for (const T &v : const_pre_vector)
{
local_check(v == real_vector[pos++]);
}
for (const T &v : reverse_iterate(const_pre_vector))
{
local_check(v == real_vector[--pos]);
}
CDataStream ss1(SER_DISK, 0);
CDataStream ss2(SER_DISK, 0);
ss1 << real_vector;
ss2 << pre_vector;
local_check_equal(ss1.size(), ss2.size());
for (Size s = 0; s < ss1.size(); s++)
{
local_check_equal(ss1[s], ss2[s]);
}
}
public:
void resize(Size s)
{
real_vector.resize(s);
local_check_equal(real_vector.size(), s);
pre_vector.resize(s);
local_check_equal(pre_vector.size(), s);
test();
}
void reserve(Size s)
{
real_vector.reserve(s);
local_check(real_vector.capacity() >= s);
pre_vector.reserve(s);
local_check(pre_vector.capacity() >= s);
test();
}
void insert(Size position, const T &value)
{
real_vector.insert(real_vector.begin() + position, value);
pre_vector.insert(pre_vector.begin() + position, value);
test();
}
void insert(Size position, Size count, const T &value)
{
real_vector.insert(real_vector.begin() + position, count, value);
pre_vector.insert(pre_vector.begin() + position, count, value);
test();
}
template<typename I>
void insert_range(Size position, I first, I last)
{
real_vector.insert(real_vector.begin() + position, first, last);
pre_vector.insert(pre_vector.begin() + position, first, last);
test();
}
void erase(Size position)
{
real_vector.erase(real_vector.begin() + position);
pre_vector.erase(pre_vector.begin() + position);
test();
}
void erase(Size first, Size last)
{
real_vector.erase(real_vector.begin() + first, real_vector.begin() + last);
pre_vector.erase(pre_vector.begin() + first, pre_vector.begin() + last);
test();
}
void update(Size pos, const T &value)
{
real_vector[pos] = value;
pre_vector[pos] = value;
test();
}
void push_back(const T &value)
{
real_vector.push_back(value);
pre_vector.push_back(value);
test();
}
void pop_back()
{
real_vector.pop_back();
pre_vector.pop_back();
test();
}
void clear()
{
real_vector.clear();
pre_vector.clear();
}
void assign(Size n, const T &value)
{
real_vector.assign(n, value);
pre_vector.assign(n, value);
}
Size size() const
{
return real_vector.size();
}
Size capacity() const
{
return pre_vector.capacity();
}
void shrink_to_fit()
{
pre_vector.shrink_to_fit();
test();
}
void swap()
{
real_vector.swap(real_vector_alt);
pre_vector.swap(pre_vector_alt);
test();
}
void move()
{
real_vector = std::move(real_vector_alt);
real_vector_alt.clear();
pre_vector = std::move(pre_vector_alt);
pre_vector_alt.clear();
}
void copy()
{
real_vector = real_vector_alt;
pre_vector = pre_vector_alt;
}
~prevector_tester()
{
BOOST_CHECK_MESSAGE(passed, "insecure_rand: " + rand_seed.ToString());
}
prevector_tester()
{
SeedInsecureRand();
rand_seed = insecure_rand_seed;
rand_cache = insecure_rand_ctx;
}
};
BOOST_AUTO_TEST_CASE(prevector_int_test)
{
BOOST_TEST_MESSAGE("Running PreVector Int Test");
for (int j = 0; j < 64; j++)
{
prevector_tester<8, int> test;
for (int i = 0; i < 2048; i++)
{
if (InsecureRandBits(2) == 0)
{
test.insert(InsecureRandRange(test.size() + 1), InsecureRand32());
}
if (test.size() > 0 && InsecureRandBits(2) == 1)
{
test.erase(InsecureRandRange(test.size()));
}
if (InsecureRandBits(3) == 2)
{
int new_size = std::max<int>(0, std::min<int>(30, test.size() + (InsecureRandRange(5)) - 2));
test.resize(new_size);
}
if (InsecureRandBits(3) == 3)
{
test.insert(InsecureRandRange(test.size() + 1), 1 + InsecureRandBool(), InsecureRand32());
}
if (InsecureRandBits(3) == 4)
{
int del = std::min<int>(test.size(), 1 + (InsecureRandBool()));
int beg = InsecureRandRange(test.size() + 1 - del);
test.erase(beg, beg + del);
}
if (InsecureRandBits(4) == 5)
{
test.push_back(InsecureRand32());
}
if (test.size() > 0 && InsecureRandBits(4) == 6)
{
test.pop_back();
}
if (InsecureRandBits(5) == 7)
{
int values[4];
int num = 1 + (InsecureRandBits(2));
for (int k = 0; k < num; k++)
{
values[k] = InsecureRand32();
}
test.insert_range(InsecureRandRange(test.size() + 1), values, values + num);
}
if (InsecureRandBits(5) == 8)
{
int del = std::min<int>(test.size(), 1 + (InsecureRandBits(2)));
int beg = InsecureRandRange(test.size() + 1 - del);
test.erase(beg, beg + del);
}
if (InsecureRandBits(5) == 9)
{
test.reserve(InsecureRandBits(5));
}
if (InsecureRandBits(6) == 10)
{
test.shrink_to_fit();
}
if (test.size() > 0)
{
test.update(InsecureRandRange(test.size()), InsecureRand32());
}
if (InsecureRandBits(10) == 11)
{
test.clear();
}
if (InsecureRandBits(9) == 12)
{
test.assign(InsecureRandBits(5), InsecureRand32());
}
if (InsecureRandBits(3) == 3)
{
test.swap();
}
if (InsecureRandBits(4) == 8)
{
test.copy();
}
if (InsecureRandBits(5) == 18)
{
test.move();
}
}
}
}
BOOST_AUTO_TEST_SUITE_END()
| [
"79376856+SplendidProject@users.noreply.github.com"
] | 79376856+SplendidProject@users.noreply.github.com |
62700545e3bcfba2b40f879d983f78445327f489 | ec8c238cec2fe43543aac2ed0b2216d6bca2d74c | /src/autorecon/stereo/utils.h | 01e518571bcb21852ef84778c207a848e163abc0 | [] | no_license | nbirkbeck/monoflow | f6b07dc9962c18e863294c111ec73ce23da842ec | 2d3332c1613f34a6da12819bc0823e19042cb265 | refs/heads/main | 2023-02-04T15:47:22.010536 | 2020-12-24T17:36:17 | 2020-12-24T17:36:17 | 324,067,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,166 | h | #ifndef STEREO_UTILS_H
#define STEREO_UTILS_H
#include <GL/gl.h>
#include <vector>
#include <nmath/vec3.h>
#include <nmath/vec2.h>
#include <nmath/matrix.h>
#include <nimage/image.h>
using namespace nacb;
/**
Note:
Pretty much everything in this file should be merged into some real place.
Most of them are duplicates with slightly different arguments, or just
straight up copies from other places.
One exception is applyHomographyGL...it is new
disparityBounds
**/
//Vec3f backProject(const Matrix & KRinv, const Matrix & Kt, float x,float y,float z);
void rectify(Matrix &, Matrix &,
Matrix &, Matrix &,
Matrix & T1, Matrix & T2,
Matrix & Pn1, Matrix & Pn2);
void findBounds(Image8 & im1,Matrix & H1,
double & minx,double & maxx);
void findBounds(Image8 & im1,Matrix & H1,
Image8 & im2,Matrix & H2,
double & minx,double & maxx,
double & miny,double & maxy);
void applyHomographyGL(GLuint prog,
const Matrix & K,
const Matrix & Kinv,
const Matrix & dd,
const Matrix & H,
int w, int h,
double minx,
double maxx,
double miny,
double maxy);
void applyHomographyGL(const Matrix & H,
double minx,
double maxx,
double miny,
double maxy);
template <class T>
Image<T> applyHomography(Image<T> im,
Matrix & H,
double minx,
double maxx,
double miny,
double maxy);
nacb::Vec2d getDisparityRange(const nacb::Matrix & Pn1,
const nacb::Matrix & Pn2,
double minx1, double minx2,
double zmin, double zmax);
int readobj_and_cache(const char * fname,
std::vector<Vec3<int> > & tris,
std::vector<Vec3f> & vert,
const nacb::Vec3f & sc = nacb::Vec3f(1,1,1),
const nacb::Vec3f & tr = nacb::Vec3f(0,0,0));
int readobj(const char * fname,
std::vector<Vec3<int> > & tris,
std::vector<nacb::Vec3f> & vert,
const nacb::Vec3f & sc = nacb::Vec3f(1,1,1),
const nacb::Vec3f & tr = nacb::Vec3f(0,0,0));
int writeobj(const char * fname, std::vector<Vec3<int> > & tris, std::vector<nacb::Vec3f> & vert);
#endif
| [
"neil.birkbeck@gmail.com"
] | neil.birkbeck@gmail.com |
73783be31c5bcfaf20ebb50fa1aadaac3507969a | a2743fa3e2e6a605171ac211200d924f7425126f | /test/MockSubprocess/src/main.cpp | 8eb4508a221a4d76ecaeb8764d12c7597f710899 | [
"MIT"
] | permissive | chkaxi/SystemAbstractions | c975c19987b6cace1730b7bebe40adcfce1d94c2 | ed42696273914ffdc1d826e86eb359931bcb878a | refs/heads/main | 2023-03-15T23:02:59.319360 | 2020-05-08T21:43:49 | 2020-05-08T21:43:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,186 | cpp | #include <fstream>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <SystemAbstractions/File.hpp>
#include <SystemAbstractions/Subprocess.hpp>
#ifndef _WIN32
#include <sstream>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <vector>
#endif /* not _WIN32 */
#ifdef __APPLE__
#include <libproc.h>
#include <sys/proc_info.h>
#endif /* __APPLE__ */
int main(int argc, char* argv[]) {
const std::string pidFilePath = SystemAbstractions::File::GetExeParentDirectory() + "/TestArea/pid";
auto pidFile = fopen(pidFilePath.c_str(), "w");
(void)fprintf(pidFile, "%u", SystemAbstractions::Subprocess::GetCurrentProcessId());
(void)fclose(pidFile);
SystemAbstractions::Subprocess parent;
std::vector< std::string > args;
for (int i = 1; i < argc; ++i) {
args.push_back(argv[i]);
}
#ifdef _WIN32
#elif defined(__APPLE__)
int pipeToParentFd;
#else /* Linux */
std::string pipeToParentFdPath;
#endif /* various platforms */
if (
(args.size() >= 1)
&& (args[0] == "child")
) {
#ifdef _WIN32
#elif defined(__APPLE__)
if (sscanf(args[1].c_str(), "%d", &pipeToParentFd) != 1) {
return EXIT_FAILURE;
}
#else /* Linux */
pipeToParentFdPath = "/proc/self/fd/" + args[1];
#endif /* various platforms */
if (!parent.ContactParent(args)) {
return EXIT_FAILURE;
}
} else if (
(args.size() >= 1)
&& (args[0] == "detached")
) {
#ifdef _WIN32
#elif defined(__APPLE__)
auto bufferSize = proc_pidinfo(getpid(), PROC_PIDLISTFDS, 0, 0, 0);
if (bufferSize < 0) {
return EXIT_FAILURE;
}
std::vector< struct proc_fdinfo > fds(bufferSize / sizeof(struct proc_fdinfo));
bufferSize = proc_pidinfo(getpid(), PROC_PIDLISTFDS, 0, fds.data(), bufferSize);
if (bufferSize < 0) {
return EXIT_FAILURE;
}
std::ofstream report((SystemAbstractions::File::GetExeParentDirectory() + "/TestArea/handles").c_str());
fds.resize(bufferSize / sizeof(struct proc_fdinfo));
const auto pid = getpid();
for (const auto& fd: fds) {
report << fd.proc_fd << std::endl;
}
#else /* Linux */
std::vector< std::string > fds;
const std::string fdsDir("/proc/self/fd/");
SystemAbstractions::File::ListDirectory(fdsDir, fds);
std::ostringstream report;
std::vector< char > link(64);
for (const auto& fd: fds) {
if (readlink(fd.c_str(), link.data(), link.size()) >= 0) {
report << fd << std::endl;
}
}
SystemAbstractions::File handlesReport(SystemAbstractions::File::GetExeParentDirectory() + "/TestArea/handles");
(void)handlesReport.OpenReadWrite();
const auto reportString = report.str();
(void)handlesReport.Write(reportString.data(), reportString.length());
#endif /* various platforms */
} else {
return EXIT_FAILURE;
}
const std::string testFilePath = SystemAbstractions::File::GetExeParentDirectory() + "/TestArea/foo.txt";
auto f = fopen(testFilePath.c_str(), "w");
for (const auto& arg: args) {
(void)fprintf(f, "%s\n", arg.c_str());
}
(void)fclose(f);
if (
(args.size() >= 2)
&& (args[1] == "crash")
) {
volatile int* null = (int*)0;
*null = 0;
} else if (
(args.size() >= 2)
&& (args[1] == "handles")
) {
#ifdef _WIN32
#elif defined(__APPLE__)
auto bufferSize = proc_pidinfo(getpid(), PROC_PIDLISTFDS, 0, 0, 0);
if (bufferSize < 0) {
return EXIT_FAILURE;
}
std::vector< struct proc_fdinfo > fds(bufferSize / sizeof(struct proc_fdinfo));
bufferSize = proc_pidinfo(getpid(), PROC_PIDLISTFDS, 0, fds.data(), bufferSize);
if (bufferSize < 0) {
return EXIT_FAILURE;
}
std::ofstream report((SystemAbstractions::File::GetExeParentDirectory() + "/TestArea/handles").c_str());
fds.resize(bufferSize / sizeof(struct proc_fdinfo));
const auto pid = getpid();
for (const auto& fd: fds) {
if ((int)fd.proc_fd != pipeToParentFd) {
report << fd.proc_fd << std::endl;
}
}
#else /* Linux */
std::vector< std::string > fds;
const std::string fdsDir("/proc/self/fd/");
SystemAbstractions::File::ListDirectory(fdsDir, fds);
std::ostringstream report;
std::vector< char > link(64);
for (const auto& fd: fds) {
if (
(fd != pipeToParentFdPath)
&& (readlink(fd.c_str(), link.data(), link.size()) >= 0)
) {
report << fd << std::endl;
}
}
SystemAbstractions::File handlesReport(SystemAbstractions::File::GetExeParentDirectory() + "/TestArea/handles");
(void)handlesReport.OpenReadWrite();
const auto reportString = report.str();
(void)handlesReport.Write(reportString.data(), reportString.length());
#endif /* various platforms */
}
return EXIT_SUCCESS;
}
| [
"rwalters@digitalstirling.com"
] | rwalters@digitalstirling.com |
1bd89d66f40d33a1820b6b94ad0c417ba490dd50 | 4368f3b127b9330885c7a1789446c8af56189cdb | /Qt/QtCore/qpluginloader.h | 4a8f4bb760f7b7046d726d3914b2a147b34324b0 | [
"MIT"
] | permissive | Yangff/mvuccu | 4cb57a8fb855a60c44e40f30b9c23bc66e175781 | d0dc7c84fdeea4ee3b70ba758942a3499bd7a53a | refs/heads/master | 2021-01-17T06:52:24.207080 | 2017-11-24T17:08:24 | 2017-11-24T17:08:24 | 52,864,715 | 5 | 5 | null | 2017-11-24T17:08:24 | 2016-03-01T09:30:02 | C++ | UTF-8 | C++ | false | false | 2,825 | h | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia. For licensing terms and
** conditions see http://qt.digia.com/licensing. For further information
** use the contact form at http://qt.digia.com/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 or version 3 as published by the Free
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
** following information to ensure the GNU Lesser General Public License
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Digia gives you certain additional
** rights. These rights are described in the Digia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef QPLUGINLOADER_H
#define QPLUGINLOADER_H
#include <QtCore/qlibrary.h>
#include <QtCore/qplugin.h>
#ifndef QT_NO_LIBRARY
QT_BEGIN_NAMESPACE
class QLibraryPrivate;
class QJsonObject;
class Q_CORE_EXPORT QPluginLoader : public QObject
{
Q_OBJECT
Q_PROPERTY(QString fileName READ fileName WRITE setFileName)
Q_PROPERTY(QLibrary::LoadHints loadHints READ loadHints WRITE setLoadHints)
public:
explicit QPluginLoader(QObject *parent = 0);
explicit QPluginLoader(const QString &fileName, QObject *parent = 0);
~QPluginLoader();
QObject *instance();
QJsonObject metaData() const;
static QObjectList staticInstances();
static QVector<QStaticPlugin> staticPlugins();
bool load();
bool unload();
bool isLoaded() const;
void setFileName(const QString &fileName);
QString fileName() const;
QString errorString() const;
void setLoadHints(QLibrary::LoadHints loadHints);
QLibrary::LoadHints loadHints() const;
private:
QLibraryPrivate *d;
bool did_load;
Q_DISABLE_COPY(QPluginLoader)
};
QT_END_NAMESPACE
#endif // QT_NO_LIBRARY
#endif //QPLUGINLOADER_H
| [
"yangff1@gmail.com"
] | yangff1@gmail.com |
f216594c61573aa4232e407a8f64367edc8727a2 | 2c4c65c8a56841bad8a04278d87e2213d6807dde | /JU ADMISSION PROJECT (cpp)/pad.cpp | 70df4499522618fcdabd2956cdf477d98735febc | [] | no_license | Kishwara/JU-admission-Project-cpp- | 751f0839a83ed99ab484bffab9d197cb343c7e25 | 3bbb4b806510404a7b1a66b763c2dce9491c7e06 | refs/heads/master | 2020-05-15T21:27:17.551248 | 2019-04-21T06:37:32 | 2019-04-21T06:37:32 | 182,453,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | cpp | #include <bits/stdc++.h>
using namespace std;
#include "bunit.h"
#include "pad.h"
void pad :: show()
{
cout<<setw(60)<<"Department of Public Administration"<<endl;
show_bmarksdist();
cout<<"\nTotal number of seats , male=23, female=17"<<endl;
cout<<"\nMinimum requirement: at least A- grade in English in HSC and total GPA 8.00 in HSC & SSC for Science";
cout<<"total GPA 7.50 in HSC & SSC for Business Studies/Humanities/Others"<<endl;
}
| [
"kishwara1971@gmail.com"
] | kishwara1971@gmail.com |
4b4a603ed576f943a65538c949c8ddc3b59e6a16 | cdd6500598b1d41d0652b7442e70ad465573655f | /SPOJ/MMASS/solution.cpp | d1d3e1864174d5b89a93893718fcdd34464034aa | [] | no_license | svaderia/Competitive-Coding | c491ad12d95eded97fb6287f5c16a5320f3574a7 | f42eb61c880c3c04e71e20eb0a0f1258e81629b1 | refs/heads/master | 2021-06-26T10:36:54.581095 | 2021-01-05T21:00:17 | 2021-01-05T21:00:17 | 185,184,785 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,548 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int lli;
const int MOD = 1e9 + 7;
const double PI = acos(-1.0);
#define fastio ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0)
#define sz(a) int((a).size())
#define pb push_back
#define all(c) (c).begin(),(c).end()
#define tr(c,i) for(typeof((c).begin() i = (c).begin(); i != (c).end(); i++)
#define present(c,x) ((c).find(x) != (c).end())
#define cpresent(c,x) (find(all(c),x) != (c).end())
double tick(){static clock_t oldt,newt=clock();double diff=1.0*(newt-oldt)/CLOCKS_PER_SEC;oldt=newt;return diff;}
template<typename T> T gcd(T a, T b){return(b?__gcd(a,b):a);}
template <typename T> T lcm(T a, T b){return (a*b)/gcd(a,b); }
int mod_neg(int a, int b, int c){int res;if(abs(a-b)<c)res=a-b;else res=(a-b)%c;return(res<0?res+c:res);}
template<typename T>T extended_euclid(T a, T b, T &x, T &y){T xx=0,yy=1;y=0;x=1;while(b){T q=a/b,t=b;b=a%b;a=t;\
t=xx;xx=x-q*xx;x=t;t=yy;yy=y-q*yy;y=t;}return a;}
template<typename T>T mod_inverse(T a, T n){T x,y,z=0;T d=extended_euclid(a,n,x,y);return(d>1?-1:mod_neg(x,z,n));}
int get_weight(char c){
int weight = 0;
switch (c)
{
case 'C':
weight = 12;
break;
case 'O':
weight = 16;
break;
case 'H':
weight = 1;
break;
default:
weight = 0;
break;
}
return weight;
}
int main(){
#ifndef ONLINE_JUDGE
freopen("test", "r", stdin);
#endif
fastio;
string formula ;
cin >> formula;
int len = formula.length();
stack<int> s;
s.push(0);
int i = 0;
while(i < len){
if(formula[i] == '('){
s.push(0);
}else if(formula[i] == ')'){
int top = s.top();
s.pop();
if(formula[i+1] > '1' && formula[i+1] <= '9'){
top = top * (formula[i+1] - '0');
i++;
}
int mass = s.top();
s.pop();
s.push(mass + top);
}else if(formula[i] > '1' && formula[i] <= '9'){
int top = s.top();
s.pop();
int weight = get_weight(formula[i-1]);
top = top + weight * (formula[i] - '0' - 1);
s.push(top);
}else{
int w = get_weight(formula[i]);
int mass = s.top();
s.pop();
s.push(mass + w);
}
i++;
}
cout << s.top() << endl;
// cout<<"Execution time : "<<tick()<<"\n";
return 0;
} | [
"vaderiashyamal@gmail.com"
] | vaderiashyamal@gmail.com |
14de5a99f4003d89df769523b1c272e198aee951 | d41294602a58293bdf429a5aabf6c0be4bc3d3af | /JSWww/WEEK5/2017tipstown_2.cpp | d65ce99216e124dda4006b3ee417799aec2ba44e | [] | no_license | ji3427/300solves | 46daf26d7d50f450dcd3fe4fcdc5d0165887e100 | 440933a53ab49e2295f6e97e24815c077907df24 | refs/heads/master | 2023-02-28T10:13:18.880578 | 2021-02-07T10:11:39 | 2021-02-07T10:11:39 | 298,577,105 | 1 | 1 | null | 2020-12-21T11:50:40 | 2020-09-25T13:14:25 | C++ | UTF-8 | C++ | false | false | 351 | cpp | #include <iostream>
using namespace std;
int solution(int n, int a, int b)
{
int answer;
if (a > b) {
int tmp = a;
a = b;
b = tmp;
}
for (answer = 1; ; answer++) {
if (b - a == 1 && a % 2 == 1) break;
a = (a + 1) / 2;
b = (b + 1) / 2;
}
return answer;
} | [
"tjddnjs9497@naver.com"
] | tjddnjs9497@naver.com |
33c2243db51558f8ea99fa9c76416163652c4db3 | 41a592f4099b3f3660e973808808810e4f4f770a | /src/utils/utils.cpp | 2a7013f0e804bb8d6c2102bd5631dcc2da9aeaad | [] | no_license | wnsrl7659/I-am-Gooey | 2e753d7c2f9dec89961307e81355bdffc91698c4 | 06a7cb5da442d05cc7f84c52e8d58008c00c14eb | refs/heads/master | 2023-08-05T10:01:25.712877 | 2021-09-26T02:29:46 | 2021-09-26T02:29:46 | 403,200,007 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,520 | cpp | /******************************************************************************/
/*!
\file
\author Ryan Hanson
\par email: ryan.hanson\@digipen.edu
\par Course: GAM200
\brief
\copyright All content (c)2018 DigiPen (USA) Corporation, all rights reserved.
*/
/******************************************************************************/
#include <filesystem>
#include <boost/tokenizer.hpp>
#include <fstream>
#include "utils.h"
#include "../trace/trace.h"
namespace Utils
{
std::string GetGameDataFolder()
{
std::stringstream ss;
ss << Trace::GetAppDataLocalLow();
ss << "\\DigiPen\\IAmGooey";
return ss.str();
}
std::set<std::string> GetFolderContents(std::string path)
{
std::set<std::string> contents;
for (auto& p : std::filesystem::directory_iterator(path))
{
std::string s = p.path().string();
s = s.substr(s.find_last_of("\\") + 1, std::string::npos);
contents.insert(s);
}
return contents;
}
std::vector<std::vector<std::string>> tokenize_file(std::string path)
{
std::vector<std::vector<std::string>> tokens;
std::ifstream file;
file.open(path);
if (file.is_open())
{
while (file)
{
std::string line;
std::getline(file, line);
// tokenize the line
std::vector<std::string> l_tokens;
boost::char_separator<char> sep(" ");
boost::tokenizer<boost::char_separator<char>> tok(line, sep);
for (auto token : tok)
{
l_tokens.push_back(token);
}
tokens.push_back(l_tokens);
}
}
return tokens;
}
} | [
"wnsrl7659@naver.com"
] | wnsrl7659@naver.com |
1e7a702fd6e8c1062673906e64fe13c70b8ac6ba | fe2a7f0dbcddbf766af41ea65a6896b70af0dbf7 | /DigitalLogicSimulator/Library/Il2cppBuildCache/WebGL/il2cppOutput/Assembly-CSharp1.cpp | f5ee87264adb138297ddb6e5daa061a17a4ae870 | [] | no_license | jasonkaufmann/projects | 7f15eee41c76a3b77bd9598e7fa92b5d711c5d9c | 266ddda06d127067be2c16ad5a4a2e4f01c6adb2 | refs/heads/master | 2022-12-14T19:21:32.214377 | 2022-06-06T08:01:28 | 2022-06-06T08:01:28 | 142,910,620 | 1 | 0 | null | 2022-12-08T15:42:03 | 2018-07-30T18:03:22 | C++ | UTF-8 | C++ | false | false | 1,324,018 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
struct VirtualActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename T1>
struct VirtualActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, invokeData.method);
}
};
template <typename T1, typename T2>
struct VirtualActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
template <typename R>
struct VirtualFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
// System.Action`1<UnityEngine.Font>
struct Action_1_tD91E4D0ED3C2E385D3BDD4B3EA48B5F99D39F1DC;
// System.Action`1<System.Int32>
struct Action_1_tD69A6DC9FBE94131E52F5A73B2A9D4AB51EEC404;
// System.Action`1<System.Object>
struct Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87;
// System.Action`1<UnityEngine.Object>
struct Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A;
// System.Action`1<TMPro.TMP_TextInfo>
struct Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1;
// System.Action`2<System.Int32,System.Int32>
struct Action_2_tD7438462601D3939500ED67463331FE00CFFBDB8;
// System.Collections.Generic.Dictionary`2<System.Action`1<UnityEngine.Object>,System.Collections.Generic.LinkedListNode`1<System.Action`1<UnityEngine.Object>>>
struct Dictionary_2_t9FB13B661433DEEC78301CAC98E6FF103A9FF47E;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Int32>
struct Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180;
// System.Collections.Generic.Dictionary`2<System.UInt32,UnityEngine.TextCore.Glyph>
struct Dictionary_2_tC61348D10610A6B3D7B65102D82AC3467D59EAA7;
// System.Collections.Generic.Dictionary`2<System.UInt32,TMPro.TMP_Character>
struct Dictionary_2_tCB5FEF8D6CEA1557D9B9BA25946AD6BF3E6C14D0;
// TMPro.FastAction`1<System.Boolean>
struct FastAction_1_tFC26007E6ECC49160C91059DC218FDD0602EE4F3;
// TMPro.FastAction`1<System.Object>
struct FastAction_1_t30779A2821DCE05CA702D5800B30CABF67687135;
// TMPro.FastAction`1<UnityEngine.Object>
struct FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005;
// TMPro.FastAction`2<System.Boolean,UnityEngine.Material>
struct FastAction_2_tECA23F8F5AC1D6DF8BAB8AEDD017A064D210F83A;
// TMPro.FastAction`2<System.Boolean,UnityEngine.Object>
struct FastAction_2_t67E5AC7D6D05EC71192B279EA4EC495B4B3B4A9B;
// TMPro.FastAction`2<System.Object,TMPro.Compute_DT_EventArgs>
struct FastAction_2_t7A930CE5DBE699F7BADA18E19F951E3D68821A0D;
// TMPro.FastAction`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material>
struct FastAction_3_tF1621854653F0CB64C7EE2C86A181B843FA49E77;
// System.Func`3<System.Int32,System.String,TMPro.TMP_FontAsset>
struct Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C;
// System.Func`3<System.Int32,System.String,TMPro.TMP_SpriteAsset>
struct Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5;
// System.Collections.Generic.HashSet`1<System.Int32>
struct HashSet_1_t4A2F2B74276D0AD3ED0F873045BD61E9504ECAE2;
// System.Collections.Generic.HashSet`1<System.UInt32>
struct HashSet_1_t5DD20B42149A11AEBF12A75505306E6EFC34943A;
// System.Collections.Generic.IEnumerable`1<UnityEngine.Vector2>
struct IEnumerable_1_t6C47A8FE62321E6AD75C312B8549AFD2B13F0591;
// System.Collections.Generic.LinkedList`1<System.Action`1<UnityEngine.Object>>
struct LinkedList_1_tA75C78C76C8C00278F758EE6873486604C8C880C;
// System.Collections.Generic.List`1<UnityEngine.CanvasGroup>
struct List_1_t2CDCA768E7F493F5EDEBC75AEB200FD621354E35;
// System.Collections.Generic.List`1<UnityEngine.GameObject>
struct List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B;
// System.Collections.Generic.List`1<UnityEngine.TextCore.Glyph>
struct List_1_t95DB74B8EE315F8F92B7B96D93C901C8C3F6FE2C;
// System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect>
struct List_1_t425D3A455811E316D2DF73E46CF9CD90A4341C1B;
// System.Collections.Generic.List`1<System.Object>
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D;
// System.Collections.Generic.List`1<Pin>
struct List_1_t76D4836E872FAF2BAF8D35C4F2E4A0CA9082B257;
// System.Collections.Generic.List`1<TMPro.TMP_Character>
struct List_1_tCE1ACAA0C2736A7797B2C134895298CAB10BEB5E;
// System.Collections.Generic.List`1<TMPro.TMP_FontAsset>
struct List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF;
// System.Collections.Generic.List`1<TMPro.TMP_Glyph>
struct List_1_tAB7976FADCF872E418770E60783056C23394843D;
// System.Collections.Generic.List`1<System.UInt32>
struct List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A;
// System.Collections.Generic.List`1<UnityEngine.Vector2>
struct List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B;
// System.Collections.Generic.List`1<TMPro.TMP_Dropdown/DropdownItem>
struct List_1_tA7EEECF976A6B4957450A4D235070C9324ED1A97;
// TMPro.TweenRunner`1<TMPro.FloatTween>
struct TweenRunner_1_tF277B20625C8B1939DC85508C4679C690757395E;
// UnityEngine.UI.CoroutineTween.TweenRunner`1<UnityEngine.UI.CoroutineTween.ColorTween>
struct TweenRunner_1_t5BB0582F926E75E2FE795492679A6CF55A4B4BC4;
// UnityEngine.Events.UnityAction`1<System.Object>
struct UnityAction_1_t9C30BCD020745BF400CBACF22C6F34ADBA2DDA6A;
// UnityEngine.Events.UnityAction`1<System.String>
struct UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B;
// UnityEngine.Events.UnityAction`2<System.Char,System.Int32>
struct UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007;
// UnityEngine.Events.UnityAction`3<System.Object,System.Int32,System.Int32>
struct UnityAction_3_t2F4C93AEE3F6452801100D902D54CF21027541D8;
// UnityEngine.Events.UnityAction`3<System.Object,System.Object,System.Int32>
struct UnityAction_3_tFD664A83B91518A4F822E02F501557F29ECCF487;
// UnityEngine.Events.UnityAction`3<System.String,System.Int32,System.Int32>
struct UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6;
// UnityEngine.Events.UnityAction`3<System.String,System.String,System.Int32>
struct UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039;
// UnityEngine.Events.UnityEvent`1<System.Object>
struct UnityEvent_1_t3CE03B42D5873C0C0E0692BEE72E1E6D5399F205;
// UnityEngine.Events.UnityEvent`1<System.String>
struct UnityEvent_1_tC9859540CF1468306CAB6D758C0A0D95DBCEC257;
// UnityEngine.Events.UnityEvent`2<System.Char,System.Int32>
struct UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3;
// UnityEngine.Events.UnityEvent`3<System.Object,System.Int32,System.Int32>
struct UnityEvent_3_tD7E14BDD38F12B63EFECBD1604C666F9AF100EAA;
// UnityEngine.Events.UnityEvent`3<System.Object,System.Object,System.Int32>
struct UnityEvent_3_tCE934710A8225E2574DC47F0C89DD63B7324C18F;
// UnityEngine.Events.UnityEvent`3<System.String,System.Int32,System.Int32>
struct UnityEvent_3_t5EE2DC870C12CB60384C5FCBB0DAD36392E701AD;
// UnityEngine.Events.UnityEvent`3<System.String,System.String,System.Int32>
struct UnityEvent_3_t978FAA968D1FEECACADDD0969B822861FA0C6622;
// TMPro.TMP_TextProcessingStack`1<System.Int32>[]
struct TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2;
// UnityEngine.Vector3[][]
struct Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D;
// System.Byte[]
struct ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031;
// System.Char[]
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
// UnityEngine.Color32[]
struct Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259;
// System.Decimal[]
struct DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615;
// System.Delegate[]
struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
// TMPro.FontWeight[]
struct FontWeightU5BU5D_t2A406B5BAB0DD0F06E7F1773DB062E4AF98067BA;
// UnityEngine.GameObject[]
struct GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF;
// TMPro.HighlightState[]
struct HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622;
// TMPro.HorizontalAlignmentOptions[]
struct HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658;
// System.Int32[]
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
// System.IntPtr[]
struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
// UnityEngine.Keyframe[]
struct KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3;
// UnityEngine.Material[]
struct MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D;
// TMPro.MaterialReference[]
struct MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2;
// System.Object[]
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
// TMPro.RichTextTagAttribute[]
struct RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D;
// UnityEngine.UI.Selectable[]
struct SelectableU5BU5D_t4160E135F02A40F75A63F787D36F31FEC6FE91A9;
// System.Single[]
struct SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
// System.String[]
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
// TMPro.TMP_CharacterInfo[]
struct TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99;
// TMPro.TMP_ColorGradient[]
struct TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A;
// TMPro.TMP_FontWeightPair[]
struct TMP_FontWeightPairU5BU5D_t0A3A5955F13FEB2F7329D81BA157110DB99F9F37;
// TMPro.TMP_LineInfo[]
struct TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E;
// TMPro.TMP_LinkInfo[]
struct TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E;
// TMPro.TMP_MeshInfo[]
struct TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7;
// TMPro.TMP_PageInfo[]
struct TMP_PageInfoU5BU5D_tE3DAAA8E2E9147F97C424A9034F677A516E8DAF9;
// TMPro.TMP_SubMesh[]
struct TMP_SubMeshU5BU5D_t48FE70F8537594C6446E85588EB5D69635194CB9;
// TMPro.TMP_SubMeshUI[]
struct TMP_SubMeshUIU5BU5D_tC77B263183A59A75345C26152457207EAC3BBF29;
// TMPro.TMP_WordInfo[]
struct TMP_WordInfoU5BU5D_tD1759E5A84DCCCD42B718D79E953E72A432BB4DC;
// UnityEngine.Texture2D[]
struct Texture2DU5BU5D_t05332F1E3F7D4493E304C702201F9BE4F9236191;
// System.Type[]
struct TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB;
// UnityEngine.UIVertex[]
struct UIVertexU5BU5D_tBC532486B45D071A520751A90E819C77BA4E3D2F;
// System.UInt32[]
struct UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA;
// UnityEngine.Vector2[]
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA;
// UnityEngine.Vector3[]
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
// UnityEngine.Vector4[]
struct Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD;
// TMPro.WordWrapState[]
struct WordWrapStateU5BU5D_t473D59C9DBCC949CE72EF1EB471CBA152A6CEAC9;
// TMPro.TMP_Text/UnicodeChar[]
struct UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5;
// TMPro.Examples.VertexJitter/VertexAnim[]
struct VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38;
// UnityEngine.AnimationCurve
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354;
// UnityEngine.UI.AnimationTriggers
struct AnimationTriggers_tA0DC06F89C5280C6DD972F6F4C8A56D7F4F79074;
// UnityEngine.EventSystems.BaseRaycaster
struct BaseRaycaster_t7DC8158FD3CA0193455344379DD5FF7CD5F1F832;
// UnityEngine.Behaviour
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA;
// TMPro.Examples.Benchmark01
struct Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D;
// TMPro.Examples.Benchmark01_UGUI
struct Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7;
// TMPro.Examples.Benchmark02
struct Benchmark02_t4F19F4C449CC8F7FAAED31A6C1D03F4192B3C7E8;
// TMPro.Examples.Benchmark03
struct Benchmark03_t20465BC4BB859B19BA37877E83DC8946576C359D;
// TMPro.Examples.Benchmark04
struct Benchmark04_t10F8FE01330047EC5B83FE59EE23381CD2BE2F01;
// System.Reflection.Binder
struct Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235;
// UnityEngine.Camera
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184;
// TMPro.Examples.CameraController
struct CameraController_t7E0AA7DC0B482A31CC3D60F6032912FE8B581DA8;
// UnityEngine.Canvas
struct Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26;
// UnityEngine.CanvasRenderer
struct CanvasRenderer_tAB9A55A976C4E3B2B37D0CE5616E5685A8B43860;
// ChatController
struct ChatController_t21BE953E1D5ADF0BA9F3B03C205203CADDC64C15;
// UnityEngine.Component
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3;
// UnityEngine.Coroutine
struct Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B;
// System.DelegateData
struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
// DropdownSample
struct DropdownSample_tCE5EBEBD2E880BDC4DF110CCD08388269E021100;
// EnvMapAnimator
struct EnvMapAnimator_tFBDB01D5863979E446E8FF4A3A9C1EA6933D38DB;
// UnityEngine.Event
struct Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB;
// UnityEngine.EventSystems.EventSystem
struct EventSystem_t61C51380B105BE9D2C39C4F15B7E655659957707;
// TMPro.FaceInfo_Legacy
struct FaceInfo_Legacy_t23B118EFD5AB7162515ABF18C0212DF155CCF7B8;
// TMPro.FastAction
struct FastAction_t32D4ADE06921D3EAB9BCE9B6397C82A4A898644D;
// UnityEngine.Font
struct Font_tC95270EA3198038970422D78B74A7F2E218A96B6;
// UnityEngine.UI.FontData
struct FontData_tB8E562846C6CB59C43260F69AE346B9BF3157224;
// UnityEngine.GameObject
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F;
// Gate
struct Gate_tD423C3E3C6A390BF4DCC10322CBA2485840FF97A;
// UnityEngine.UI.Graphic
struct Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931;
// System.Collections.IDictionary
struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
// System.Collections.IEnumerator
struct IEnumerator_t7B609C2FFA6EB5167D9C62A0C32A21DE2F666DAA;
// IO
struct IO_tE71A264567A89811655A18F5F4E7D27BBEC1EDA1;
// UnityEngine.EventSystems.IScrollHandler
struct IScrollHandler_t762CB73017D561E11CF6759ED9FD8C9F24B3D13F;
// TMPro.ITextPreprocessor
struct ITextPreprocessor_tDBB49C8B68D7B80E8D233B9D9666C43981EFAAB9;
// UnityEngine.UI.Image
struct Image_tBC1D03F63BF71132E9A5E472B8742F172A011E7E;
// UnityEngine.Events.InvokableCallList
struct InvokableCallList_t309E1C8C7CE885A0D2F98C84CEA77A8935688382;
// TMPro.KerningTable
struct KerningTable_t040C3FE3B519B12AADE1C5B00628581551D5AB6B;
// UnityEngine.UI.LayoutElement
struct LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A;
// UnityEngine.UI.LayoutGroup
struct LayoutGroup_t32417833C700E77EDFA7C20034DAFD26604E05CE;
// UnityEngine.Light
struct Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3;
// UnityEngine.LineRenderer
struct LineRenderer_tEFEF960672DB69CB14B6D181FAE6292F0CF8B63D;
// UnityEngine.Material
struct Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3;
// System.Reflection.MemberFilter
struct MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553;
// UnityEngine.Mesh
struct Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4;
// UnityEngine.MeshCollider
struct MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455;
// UnityEngine.MeshFilter
struct MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71;
// System.NotSupportedException
struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A;
// UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
// TMPro.Examples.ObjectSpin
struct ObjectSpin_tE4A801A6C63FE0773DE2FD043571CB80CC9F194B;
// UnityEngine.Events.PersistentCallGroup
struct PersistentCallGroup_tB826EDF15DC80F71BCBCD8E410FD959A04C33F25;
// Pin
struct Pin_t436B943A646153A43944025466CB8B68CE763843;
// UnityEngine.EventSystems.PointerEventData
struct PointerEventData_t9670F3C7D823CCB738A1604C72A1EB90292396FB;
// UnityEngine.UI.RectMask2D
struct RectMask2D_tACF92BE999C791A665BD1ADEABF5BCEB82846670;
// UnityEngine.RectTransform
struct RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5;
// UnityEngine.Renderer
struct Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
// UnityEngine.UI.Scrollbar
struct Scrollbar_t7CDC9B956698D9385A11E4C12964CD51477072C3;
// UnityEngine.UI.Selectable
struct Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712;
// UnityEngine.Shader
struct Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692;
// TMPro.Examples.ShaderPropAnimator
struct ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906;
// TMPro.Examples.SimpleScript
struct SimpleScript_t2024C71CEB7376A61970D719F7476FCEB3390DBF;
// TMPro.Examples.SkewTextExample
struct SkewTextExample_t23E1D8362105119C600703D984514C02617441D1;
// UnityEngine.Sprite
struct Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99;
// System.String
struct String_t;
// TMPro.TMP_Character
struct TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35;
// TMPro.TMP_ColorGradient
struct TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB;
// TMPro.TMP_DigitValidator
struct TMP_DigitValidator_t1C162B062ED9C2BB89E448EAA6D43CC4B82D4B14;
// TMPro.TMP_Dropdown
struct TMP_Dropdown_t73B37BFDA0D005451C7B750938AFB1748E5EA504;
// TMPro.Examples.TMP_ExampleScript_01
struct TMP_ExampleScript_01_t12A14830C25DE1BA02443B22907A196BE4B44305;
// TMPro.TMP_FontAsset
struct TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160;
// TMPro.TMP_FontFeatureTable
struct TMP_FontFeatureTable_t726A09E64FDF682A8FFE294BB6CFE7747F6C40EA;
// TMPro.Examples.TMP_FrameRateCounter
struct TMP_FrameRateCounter_t65C436069EE403C827CBE41C38F5B5C9D2FC946B;
// TMPro.TMP_InputField
struct TMP_InputField_t3488E0EE8C3DF56C6A328EC95D1BEEA2DF4A7D5F;
// TMPro.TMP_InputValidator
struct TMP_InputValidator_t3429AF61284AE19180C3FB81C0C7D2F90165EA98;
// TMPro.TMP_PhoneNumberValidator
struct TMP_PhoneNumberValidator_t0746D23F4BE9695B737D9997BCD6A3B3F916B48C;
// TMPro.TMP_ScrollbarEventHandler
struct TMP_ScrollbarEventHandler_t84C389ED6800977DAEA8C025E18C9F3321888F4D;
// TMPro.TMP_SpriteAnimator
struct TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4;
// TMPro.TMP_SpriteAsset
struct TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39;
// TMPro.TMP_Style
struct TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C;
// TMPro.TMP_StyleSheet
struct TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859;
// TMPro.TMP_Text
struct TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9;
// TMPro.TMP_TextElement
struct TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5;
// TMPro.Examples.TMP_TextEventCheck
struct TMP_TextEventCheck_tC19A6E94690E74ED73926E8EDC5F611501DC6233;
// TMPro.TMP_TextEventHandler
struct TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333;
// TMPro.TMP_TextInfo
struct TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D;
// TMPro.Examples.TMP_TextInfoDebugTool
struct TMP_TextInfoDebugTool_tC8728D25321C0091ECD61B136B0E3A5B4AB4B76F;
// TMPro.Examples.TMP_TextSelector_A
struct TMP_TextSelector_A_t088F530FC9DE9E7B6AC9720D50A05B757189B294;
// TMPro.Examples.TMP_TextSelector_B
struct TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2;
// TMPro.Examples.TMP_UiFrameRateCounter
struct TMP_UiFrameRateCounter_t3CB67462256A3570DFD0BD10261E7CABB11AFC0E;
// TMPro.Examples.TMPro_InstructionOverlay
struct TMPro_InstructionOverlay_t1CFD12C64F70D5D2FBE29466015C02776A406B62;
// TMPro.Examples.TeleType
struct TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5;
// UnityEngine.UI.Text
struct Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62;
// TMPro.Examples.TextConsoleSimulator
struct TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2;
// TMPro.TextContainer
struct TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C;
// UnityEngine.TextGenerator
struct TextGenerator_t85D00417640A53953556C01F9D4E7DDE1ABD8FEC;
// UnityEngine.TextMesh
struct TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8;
// TMPro.TextMeshPro
struct TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E;
// TMPro.Examples.TextMeshProFloatingText
struct TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31;
// TMPro.TextMeshProUGUI
struct TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957;
// TMPro.Examples.TextMeshSpawner
struct TextMeshSpawner_tB6905931E9BE4D7A2A2E37A51E221A7B462D75BB;
// UnityEngine.Texture2D
struct Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4;
// UnityEngine.TouchScreenKeyboard
struct TouchScreenKeyboard_tE87B78A3DAED69816B44C99270A734682E093E7A;
// UnityEngine.Transform
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
// System.Type
struct Type_t;
// UnityEngine.Events.UnityAction
struct UnityAction_t11A1F3B953B365C072A5DCC32677EE1796A962A7;
// TMPro.Examples.VertexColorCycler
struct VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D;
// UnityEngine.UI.VertexHelper
struct VertexHelper_tB905FCB02AE67CBEE5F265FE37A5938FC5D136FE;
// TMPro.Examples.VertexJitter
struct VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7;
// TMPro.Examples.VertexShakeA
struct VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F;
// TMPro.Examples.VertexShakeB
struct VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8;
// System.Void
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
// UnityEngine.WaitForEndOfFrame
struct WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663;
// UnityEngine.WaitForSeconds
struct WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3;
// UnityEngine.WaitForSecondsRealtime
struct WaitForSecondsRealtime_tA8CE0AAB4B0C872B843E7973637037D17682BA01;
// Wire
struct Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F;
// WireManager
struct WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED;
// TMPro.Examples.Benchmark01/<Start>d__10
struct U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819;
// TMPro.Examples.Benchmark01_UGUI/<Start>d__10
struct U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00;
// UnityEngine.Camera/CameraCallback
struct CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD;
// UnityEngine.Canvas/WillRenderCanvases
struct WillRenderCanvases_tA4A6E66DBA797DCB45B995DBA449A9D1D80D0FBC;
// EnvMapAnimator/<Start>d__4
struct U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557;
// UnityEngine.Font/FontTextureRebuildCallback
struct FontTextureRebuildCallback_t76D5E172DF8AA57E67763D453AAC40F0961D09B1;
// UnityEngine.UI.MaskableGraphic/CullStateChangedEvent
struct CullStateChangedEvent_t6073CD0D951EC1256BF74B8F9107D68FC89B99B8;
// UnityEngine.RectTransform/ReapplyDrivenProperties
struct ReapplyDrivenProperties_t3482EA130A01FF7EE2EEFE37F66A5215D08CFE24;
// UnityEngine.UI.Scrollbar/ScrollEvent
struct ScrollEvent_tDDBE21D44D65DF069C54FE3ACF7668D976E6BBB6;
// TMPro.Examples.ShaderPropAnimator/<AnimateProperties>d__6
struct U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB;
// TMPro.Examples.SkewTextExample/<WarpText>d__7
struct U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508;
// TMPro.TMP_Dropdown/DropdownEvent
struct DropdownEvent_tFD4609E80240BC887A6D31F9F3C252A8A6843E91;
// TMPro.TMP_Dropdown/OptionData
struct OptionData_tFDFBCB4A5FB860E95AE46FDAC112DB4140A8525E;
// TMPro.TMP_Dropdown/OptionDataList
struct OptionDataList_tF66EA4801BFA499F010E6EFF89ED760BF4F0BEE1;
// TMPro.TMP_InputField/OnChangeEvent
struct OnChangeEvent_tDBB13012ABF81899E4DFDD82258EB7E9BB7A9F1D;
// TMPro.TMP_InputField/OnValidateInput
struct OnValidateInput_t88ECDC5C12A807AF2A5761369563B0FAA6A25530;
// TMPro.TMP_InputField/SelectionEvent
struct SelectionEvent_t8FC75B869F70C9F0BF13390AD0237AD310511119;
// TMPro.TMP_InputField/SubmitEvent
struct SubmitEvent_tF7E2843B6A79D94B8EEEA259707F77BD1773B500;
// TMPro.TMP_InputField/TextSelectionEvent
struct TextSelectionEvent_t6C496DAA6DAF01754C27C58A94A5FBA562BA9401;
// TMPro.TMP_InputField/TouchScreenKeyboardEvent
struct TouchScreenKeyboardEvent_tB9BEBEF5D6F2B52547EF3861FF437AC25BC06AF1;
// TMPro.TMP_TextEventHandler/CharacterSelectionEvent
struct CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392;
// TMPro.TMP_TextEventHandler/LineSelectionEvent
struct LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880;
// TMPro.TMP_TextEventHandler/LinkSelectionEvent
struct LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D;
// TMPro.TMP_TextEventHandler/SpriteSelectionEvent
struct SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95;
// TMPro.TMP_TextEventHandler/WordSelectionEvent
struct WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E;
// TMPro.Examples.TeleType/<Start>d__4
struct U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75;
// TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7
struct U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9;
// TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8
struct U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8;
// TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13
struct U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1;
// TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12
struct U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76;
// TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3
struct U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264;
// TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11
struct U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956;
// TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11
struct U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E;
// TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10
struct U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E;
// Wire/<meshUpdater>d__38
struct U3CmeshUpdaterU3Ed__38_tB690B27F2D425C99B755BE5D9BF3EE5F836B2BDA;
IL2CPP_EXTERN_C RuntimeClass* Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Font_tC95270EA3198038970422D78B74A7F2E218A96B6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RectTransformUtility_t65C00A84A72F17D78B81F2E7D88C2AA98AB61244_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Type_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteral000A577FA6F1044FCB37680E918D59D0DA3E7DDA;
IL2CPP_EXTERN_C String_t* _stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD;
IL2CPP_EXTERN_C String_t* _stringLiteral0133981053AC767ED98F641B459173B5499F4EB0;
IL2CPP_EXTERN_C String_t* _stringLiteral042E81C2165064627022D513DE063F1AE9F8EF49;
IL2CPP_EXTERN_C String_t* _stringLiteral05189AB6B2B8D752C401E38C1A2E2578BB58CA66;
IL2CPP_EXTERN_C String_t* _stringLiteral0570B799853B77BFC04E0AB8BD83CD1E5089060A;
IL2CPP_EXTERN_C String_t* _stringLiteral0A5B75A180F8485D63D34FF1F4EDF6699CD0E2E0;
IL2CPP_EXTERN_C String_t* _stringLiteral0E5ACD8F8AECEE8F67E336B26C4EAF8C98F34BD0;
IL2CPP_EXTERN_C String_t* _stringLiteral0EF911B4E5C5A3E63DAB6CEA449EF637C363EF9B;
IL2CPP_EXTERN_C String_t* _stringLiteral15196F05B117690F3E12E56AA0C43803EA0D2A46;
IL2CPP_EXTERN_C String_t* _stringLiteral16DD21BE77B115D392226EB71A2D3A9FDC29E3F0;
IL2CPP_EXTERN_C String_t* _stringLiteral17B3B32F55B465274FA693D237B5BEAF0F8D6E19;
IL2CPP_EXTERN_C String_t* _stringLiteral1BF20F795791AC67CCC9E2B5B855E3A9D68CDDD6;
IL2CPP_EXTERN_C String_t* _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745;
IL2CPP_EXTERN_C String_t* _stringLiteral269F8BFBE6C7517C00380B92291D0799AAB2F285;
IL2CPP_EXTERN_C String_t* _stringLiteral2A5808F3B889783C5484106C7296410EA27F30B5;
IL2CPP_EXTERN_C String_t* _stringLiteral3783D62DA544C4A10F6775DC60E5A763AA9BED1B;
IL2CPP_EXTERN_C String_t* _stringLiteral3B2C1C62D4D1C2A0C8A9AC42DB00D33C654F9AD0;
IL2CPP_EXTERN_C String_t* _stringLiteral3D340328C9A8D4C7396701777F9419AB7A7D1DD7;
IL2CPP_EXTERN_C String_t* _stringLiteral488BBD09F4A1A1F043A936DD66A4830B2FFA8FFC;
IL2CPP_EXTERN_C String_t* _stringLiteral49F573D371AD0ACE3EA6E766EE4177DA2021309B;
IL2CPP_EXTERN_C String_t* _stringLiteral5225EE496AAB278285733EDA00B46385A27F58CC;
IL2CPP_EXTERN_C String_t* _stringLiteral55F097B2603C69F9353B2AE824F1FE43E6B46F87;
IL2CPP_EXTERN_C String_t* _stringLiteral598081DBD06E8B1A338629AF7933F9131C6D33AB;
IL2CPP_EXTERN_C String_t* _stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2;
IL2CPP_EXTERN_C String_t* _stringLiteral69CE07E5C7ADCC833DA3E659BC9009F6C3C1346A;
IL2CPP_EXTERN_C String_t* _stringLiteral6C3B90D0C27E620F9CB6F4530546C591AB0C5E12;
IL2CPP_EXTERN_C String_t* _stringLiteral71B680ABF9213B3E8FB888056C235C79CFE83314;
IL2CPP_EXTERN_C String_t* _stringLiteral71BD498E5FC7E3B8709294B88AB8FAB2CFF77CAE;
IL2CPP_EXTERN_C String_t* _stringLiteral75A94EE44309525CF46FB9C022ED6E9EFAC8B506;
IL2CPP_EXTERN_C String_t* _stringLiteral7F85A2723BB62FEF95DD6F8C5F0FF606EA62246A;
IL2CPP_EXTERN_C String_t* _stringLiteral876C4B39B6E4D0187090400768899C71D99DE90D;
IL2CPP_EXTERN_C String_t* _stringLiteral88BEE283254D7094E258B3A88730F4CC4F1E4AC7;
IL2CPP_EXTERN_C String_t* _stringLiteral8ACAA4E0B28437F5FD1A41CE6591A16813F05377;
IL2CPP_EXTERN_C String_t* _stringLiteral960E5E7F211EFF3243DF14EDD1901DC9EF314D62;
IL2CPP_EXTERN_C String_t* _stringLiteral9A7E77DB84E1908153085B0037B2757EFD9E6B67;
IL2CPP_EXTERN_C String_t* _stringLiteral9C311850C974AD222115D59D4F9F42F19002BA4B;
IL2CPP_EXTERN_C String_t* _stringLiteral9D329ACFC4F7EECCB821A7FEF99A0F23E1C721B7;
IL2CPP_EXTERN_C String_t* _stringLiteral9ECD13393A1BC799BB4763A4E4CD5B53E220C53A;
IL2CPP_EXTERN_C String_t* _stringLiteralA294DAD207C32424675CE40B7B7673FBE9C295B3;
IL2CPP_EXTERN_C String_t* _stringLiteralA2EC275CC698277AF27C3AFD1084563679CC06EB;
IL2CPP_EXTERN_C String_t* _stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73;
IL2CPP_EXTERN_C String_t* _stringLiteralA6107EE62A5874EF8D2DEAC7D3C0A9F07B89E096;
IL2CPP_EXTERN_C String_t* _stringLiteralA87D266F5AAE1AF5998468D25833A8C6AD50D4FD;
IL2CPP_EXTERN_C String_t* _stringLiteralAB3448E21FA53C63C06270903A13B17D02935BE0;
IL2CPP_EXTERN_C String_t* _stringLiteralBA1039E8CDAE53E44AC3E6185B0871F3D031A476;
IL2CPP_EXTERN_C String_t* _stringLiteralC087E631060AB76B7C814C0E1B92D5C7C4C4B924;
IL2CPP_EXTERN_C String_t* _stringLiteralC088F0B05AACBA3A2E3A89109BF6E8C25EB734D1;
IL2CPP_EXTERN_C String_t* _stringLiteralC307A6AA53A901DED3039EE47F98C72B9160E490;
IL2CPP_EXTERN_C String_t* _stringLiteralC56D8B760DA0CEC01983ED455FA2F4F6D226A0D7;
IL2CPP_EXTERN_C String_t* _stringLiteralC81D4815798A03842AAC413360D527A2550FDA1A;
IL2CPP_EXTERN_C String_t* _stringLiteralCCFEDFAABA1932DDBD53E5E640ADC53339EB2C8D;
IL2CPP_EXTERN_C String_t* _stringLiteralCEB055F85C5660DEABF3989A924C2D2EDB0C8C84;
IL2CPP_EXTERN_C String_t* _stringLiteralCED30D471F9ECB011896E4C24680A6982ECBCAFE;
IL2CPP_EXTERN_C String_t* _stringLiteralD00074DE8ACBEBA7EF28BE447E997E8352E84502;
IL2CPP_EXTERN_C String_t* _stringLiteralD579F97F4A33C344330AED1285CC5B545618BC19;
IL2CPP_EXTERN_C String_t* _stringLiteralD99C319B457682A09D028AF022D0B2EE6B4D48A6;
IL2CPP_EXTERN_C String_t* _stringLiteralDECFB8F380101725B06EAE2D3F983211A277171C;
IL2CPP_EXTERN_C String_t* _stringLiteralE2138FA8D137D1C6C81747FE1638815DDE9177B0;
IL2CPP_EXTERN_C String_t* _stringLiteralEE3657997C5E6EC82CDE374326A95906F03A3315;
IL2CPP_EXTERN_C String_t* _stringLiteralEF516EC7240CA160FD729299C926B5EDB246658A;
IL2CPP_EXTERN_C String_t* _stringLiteralF1B6AAF37DDF842141E903D071B58A3BDF13A5C6;
IL2CPP_EXTERN_C String_t* _stringLiteralF359E6DDFFFF3D8B034D057E57DBD8ABA4ED7FFC;
IL2CPP_EXTERN_C String_t* _stringLiteralFC6687DC37346CD2569888E29764F727FAF530E0;
IL2CPP_EXTERN_C String_t* _stringLiteralFF988BE1271FBA06A4FB243CE21817E36A0AE666;
IL2CPP_EXTERN_C const RuntimeMethod* Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* ChatController_AddToChatOutput_m9AB8FA8A32EA23F2E55795D8301ED0BF6A59F722_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponentInChildren_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m60A1B193FDBBFB3719065622DB5E0BB21CA4ABDC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisLight_t1E68479B7782AF2050FAA02A5DC612FD034F18F3_mF4816FA12B6F220CA55D47D669D7E50DC118B9E9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m23F8F2F9DD5A54329CEB47D53B4CAA8BC4A562AA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Component_GetComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_m991A1A2A2EFE70B64BBECFF1B44EE5C04FF8994E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_Take_TisVector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_mBBC83CDAC853A7A5EC842F5F8F14E7FAEA58254D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_mCD48FDD0F418E976C266AF07E14C127B6E896A8C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_m5DDD3E697A492E99DDE91E6AB7B2390C491F89AA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m03DDB9D6C95434581544F1F2FF0D1A36EEAB09AF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m13C85FD585C0679530F8B35D0B39D965702FD0F5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m771EB78FF8813B5AFF21AC0D252E5461943E6388_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisText_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62_mFECE312B08FC5FD0A081E51ACA01FAEFD6B841A9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_mFC7B9AE4C0F99FCF04F74DDA9850453AC477589C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponentInParent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m0A41CB7A7F9A10FCC98D1C7B5799D57C2724D991_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_mA59A63181077B821132B53D44724D7F86C6FECB3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponent_TisTextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C_mA04134D48462B7543775CE11D71859B1D2A99872_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_mBDBF977A8C7734F6EDD83FC65C6FDDE74427611E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_m788ADD6C98FD3A1039F72A865AB7D335AEA6116F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_m3FE49C02F31954ACBAF7DF56A1CFED61E50524BA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Remove_mCCE85D4D5326536C4B214C73D07030F4CCD18485_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m105596C2159C46B75E96D26ACEC0A5C1C1F5C5EC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Object_Instantiate_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m432798BF76671A2FB88A9BF403D2F706ADA37236_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Resources_Load_TisFont_tC95270EA3198038970422D78B74A7F2E218A96B6_mF1595237572FCE3E2EE060D2038BE3F341DB7901_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextEventCheck_OnCharacterSelection_mB421E2CFB617397137CF1AE9CC2F49E46EB3F0AE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextEventCheck_OnLineSelection_mE0538FFAFE04A286F937907D0E4664338DCF1559_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextEventCheck_OnLinkSelection_m72BF9241651D44805590F1DBADF2FD864D209779_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextEventCheck_OnSpriteSelection_mD88D899DE3321CC15502BB1174709BE290AB6215_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextEventCheck_OnWordSelection_m180B102DAED1F3313F2F4BB6CF588FF96C8CAB79_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TMP_TextSelector_B_ON_TEXT_CHANGED_m5B53EF1608E98B6A56AAA386085A3216B35A51EE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* TextConsoleSimulator_ON_TEXT_CHANGED_m050ECF4852B6A82000133662D6502577DFD57C3A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CAnimatePropertiesU3Ed__6_System_Collections_IEnumerator_Reset_m1C76BF8EAC2CDC2BAC58755622763B9318DA51CA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CAnimateVertexColorsU3Ed__10_System_Collections_IEnumerator_Reset_m5A5869FEFA67D5E9659F1145B83581D954550C1A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CAnimateVertexColorsU3Ed__11_System_Collections_IEnumerator_Reset_m15291DCCCEC264095634B26DD6F24D52360BDAF0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CAnimateVertexColorsU3Ed__11_System_Collections_IEnumerator_Reset_m2F84864A089CBA0B878B7AC1EA39A49B82682A90_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CAnimateVertexColorsU3Ed__3_System_Collections_IEnumerator_Reset_m319AC50F2DE1572FB7D7AF4F5F65958D01477899_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CDisplayTextMeshFloatingTextU3Ed__13_System_Collections_IEnumerator_Reset_mC3C5ED94D6E74FB8551D2654A9279CF3E9E1DEBE_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CDisplayTextMeshProFloatingTextU3Ed__12_System_Collections_IEnumerator_Reset_mDE1C8E5AAFA2BE515D1868F76D4921E627F51112_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CRevealCharactersU3Ed__7_System_Collections_IEnumerator_Reset_mD12057609EFCBCA8E7B61B0421D4A7C5A206C8C3_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CRevealWordsU3Ed__8_System_Collections_IEnumerator_Reset_mE5E0678716735BDF0D632FE43E392981E75A1C4D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CStartU3Ed__10_System_Collections_IEnumerator_Reset_m553F892690ED74A33F57B1359743D31F8BB93C2A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CStartU3Ed__10_System_Collections_IEnumerator_Reset_mC9F90586F057E3728D9F93BB0E12197C9B994EEA_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CStartU3Ed__4_System_Collections_IEnumerator_Reset_m3EF23BF40634D4262D8A2AE3DB14140FEFB4BF52_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CStartU3Ed__4_System_Collections_IEnumerator_Reset_m9B7AEE80C1E70D2D2FF5811A54AFD6189CD7F5A9_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CWarpTextU3Ed__7_System_Collections_IEnumerator_Reset_mB6C5974E8F57160AE544E1D2FD44621EEF3ACAB5_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* U3CmeshUpdaterU3Ed__38_System_Collections_IEnumerator_Reset_m81945433AC34B39746D62DED8D5E0445B76E8830_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityAction_1__ctor_mE6251CCFD943EB114960F556A546E2777B18AC71_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityAction_3__ctor_m16AB9F4E444421420CA4A34EA0A6F60B15E20B9D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityAction_3__ctor_m7F8FD30A8410091074136C8426E3B7338FD2D7FB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_1_AddListener_mEC384A8CFC5D4D41B62B08248A738CF61B82172F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_1_RemoveListener_m580353A1B030A82D1205B9BA94CF3484866C027F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_2_AddListener_mE2FC084F4ADB9D24D904D6A39A83763969F91E27_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_2_Invoke_m0491A8025093B0C329C5ACEBAB83DC6DE3CD0C3F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_2_RemoveListener_m57B7F9B719A15831F63EA67147A848E324F3760B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_2__ctor_mC75313448B2ABE238198CDD698EA81B87F379C61_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_3_AddListener_mB8CBD686B0A41D0A0F0D809824E8904A827C3188_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_3_AddListener_mE456028DE63E2FF37E53F2618AA321B5551B881A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_3_Invoke_m279F1BE667EB6AACD304BC58E7B39C09CE0E2D69_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_3_Invoke_mA9B8756BF3A597179581D20E1EDC4ECAAC73F0F6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_3_RemoveListener_m9741C57D75E2CE8CCD912E252CBACCE5FC950523_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_3_RemoveListener_mA451198DCB5DD86D0B87D256F26293566D209026_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_3__ctor_m945E5A788027E4B7491C93E2ACBD523B5A8E1829_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UnityEvent_3__ctor_mFE0002F38DAAC29805C09ACB9F397DE80F6CB7BC_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* VertexJitter_ON_TEXT_CHANGED_m0CF9C49A1033B4475C04A417440F39490FED64A8_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* VertexShakeA_ON_TEXT_CHANGED_mE7A41CEFDB0008A1CD15F156EFEE1C895A92EE77_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* VertexShakeB_ON_TEXT_CHANGED_mF8641640C828A9664AE03AF01CB4832E14EF436D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeType* Font_tC95270EA3198038970422D78B74A7F2E218A96B6_0_0_0_var;
IL2CPP_EXTERN_C const RuntimeType* TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_0_0_0_var;
struct Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ;
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ;
struct Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ;
struct Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D;
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB;
struct Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259;
struct KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3;
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
struct TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99;
struct TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E;
struct TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E;
struct TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7;
struct TMP_WordInfoU5BU5D_tD1759E5A84DCCCD42B718D79E953E72A432BB4DC;
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA;
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
struct VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38;
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// TMPro.FastAction`1<UnityEngine.Object>
struct FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 : public RuntimeObject
{
// System.Collections.Generic.LinkedList`1<System.Action`1<A>> TMPro.FastAction`1::delegates
LinkedList_1_tA75C78C76C8C00278F758EE6873486604C8C880C * ___delegates_0;
// System.Collections.Generic.Dictionary`2<System.Action`1<A>,System.Collections.Generic.LinkedListNode`1<System.Action`1<A>>> TMPro.FastAction`1::lookup
Dictionary_2_t9FB13B661433DEEC78301CAC98E6FF103A9FF47E * ___lookup_1;
};
// System.Collections.Generic.List`1<UnityEngine.GameObject>
struct List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B : public RuntimeObject
{
// T[] System.Collections.Generic.List`1::_items
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
};
struct List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B_StaticFields
{
// T[] System.Collections.Generic.List`1::_emptyArray
GameObjectU5BU5D_tFF67550DFCE87096D7A3734EA15B75896B2722CF* ____emptyArray_5;
};
// System.Collections.Generic.List`1<UnityEngine.Vector2>
struct List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B : public RuntimeObject
{
// T[] System.Collections.Generic.List`1::_items
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ____items_1;
// System.Int32 System.Collections.Generic.List`1::_size
int32_t ____size_2;
// System.Int32 System.Collections.Generic.List`1::_version
int32_t ____version_3;
// System.Object System.Collections.Generic.List`1::_syncRoot
RuntimeObject * ____syncRoot_4;
};
struct List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_StaticFields
{
// T[] System.Collections.Generic.List`1::_emptyArray
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ____emptyArray_5;
};
// UnityEngine.EventSystems.AbstractEventData
struct AbstractEventData_tAE1A127ED657117548181D29FFE4B1B14D8E67F7 : public RuntimeObject
{
// System.Boolean UnityEngine.EventSystems.AbstractEventData::m_Used
bool ___m_Used_0;
};
struct Il2CppArrayBounds;
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
};
// TMPro.ShaderUtilities
struct ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F : public RuntimeObject
{
};
struct ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_StaticFields
{
// System.Int32 TMPro.ShaderUtilities::ID_MainTex
int32_t ___ID_MainTex_0;
// System.Int32 TMPro.ShaderUtilities::ID_FaceTex
int32_t ___ID_FaceTex_1;
// System.Int32 TMPro.ShaderUtilities::ID_FaceColor
int32_t ___ID_FaceColor_2;
// System.Int32 TMPro.ShaderUtilities::ID_FaceDilate
int32_t ___ID_FaceDilate_3;
// System.Int32 TMPro.ShaderUtilities::ID_Shininess
int32_t ___ID_Shininess_4;
// System.Int32 TMPro.ShaderUtilities::ID_UnderlayColor
int32_t ___ID_UnderlayColor_5;
// System.Int32 TMPro.ShaderUtilities::ID_UnderlayOffsetX
int32_t ___ID_UnderlayOffsetX_6;
// System.Int32 TMPro.ShaderUtilities::ID_UnderlayOffsetY
int32_t ___ID_UnderlayOffsetY_7;
// System.Int32 TMPro.ShaderUtilities::ID_UnderlayDilate
int32_t ___ID_UnderlayDilate_8;
// System.Int32 TMPro.ShaderUtilities::ID_UnderlaySoftness
int32_t ___ID_UnderlaySoftness_9;
// System.Int32 TMPro.ShaderUtilities::ID_UnderlayOffset
int32_t ___ID_UnderlayOffset_10;
// System.Int32 TMPro.ShaderUtilities::ID_UnderlayIsoPerimeter
int32_t ___ID_UnderlayIsoPerimeter_11;
// System.Int32 TMPro.ShaderUtilities::ID_WeightNormal
int32_t ___ID_WeightNormal_12;
// System.Int32 TMPro.ShaderUtilities::ID_WeightBold
int32_t ___ID_WeightBold_13;
// System.Int32 TMPro.ShaderUtilities::ID_OutlineTex
int32_t ___ID_OutlineTex_14;
// System.Int32 TMPro.ShaderUtilities::ID_OutlineWidth
int32_t ___ID_OutlineWidth_15;
// System.Int32 TMPro.ShaderUtilities::ID_OutlineSoftness
int32_t ___ID_OutlineSoftness_16;
// System.Int32 TMPro.ShaderUtilities::ID_OutlineColor
int32_t ___ID_OutlineColor_17;
// System.Int32 TMPro.ShaderUtilities::ID_Outline2Color
int32_t ___ID_Outline2Color_18;
// System.Int32 TMPro.ShaderUtilities::ID_Outline2Width
int32_t ___ID_Outline2Width_19;
// System.Int32 TMPro.ShaderUtilities::ID_Padding
int32_t ___ID_Padding_20;
// System.Int32 TMPro.ShaderUtilities::ID_GradientScale
int32_t ___ID_GradientScale_21;
// System.Int32 TMPro.ShaderUtilities::ID_ScaleX
int32_t ___ID_ScaleX_22;
// System.Int32 TMPro.ShaderUtilities::ID_ScaleY
int32_t ___ID_ScaleY_23;
// System.Int32 TMPro.ShaderUtilities::ID_PerspectiveFilter
int32_t ___ID_PerspectiveFilter_24;
// System.Int32 TMPro.ShaderUtilities::ID_Sharpness
int32_t ___ID_Sharpness_25;
// System.Int32 TMPro.ShaderUtilities::ID_TextureWidth
int32_t ___ID_TextureWidth_26;
// System.Int32 TMPro.ShaderUtilities::ID_TextureHeight
int32_t ___ID_TextureHeight_27;
// System.Int32 TMPro.ShaderUtilities::ID_BevelAmount
int32_t ___ID_BevelAmount_28;
// System.Int32 TMPro.ShaderUtilities::ID_GlowColor
int32_t ___ID_GlowColor_29;
// System.Int32 TMPro.ShaderUtilities::ID_GlowOffset
int32_t ___ID_GlowOffset_30;
// System.Int32 TMPro.ShaderUtilities::ID_GlowPower
int32_t ___ID_GlowPower_31;
// System.Int32 TMPro.ShaderUtilities::ID_GlowOuter
int32_t ___ID_GlowOuter_32;
// System.Int32 TMPro.ShaderUtilities::ID_GlowInner
int32_t ___ID_GlowInner_33;
// System.Int32 TMPro.ShaderUtilities::ID_LightAngle
int32_t ___ID_LightAngle_34;
// System.Int32 TMPro.ShaderUtilities::ID_EnvMap
int32_t ___ID_EnvMap_35;
// System.Int32 TMPro.ShaderUtilities::ID_EnvMatrix
int32_t ___ID_EnvMatrix_36;
// System.Int32 TMPro.ShaderUtilities::ID_EnvMatrixRotation
int32_t ___ID_EnvMatrixRotation_37;
// System.Int32 TMPro.ShaderUtilities::ID_MaskCoord
int32_t ___ID_MaskCoord_38;
// System.Int32 TMPro.ShaderUtilities::ID_ClipRect
int32_t ___ID_ClipRect_39;
// System.Int32 TMPro.ShaderUtilities::ID_MaskSoftnessX
int32_t ___ID_MaskSoftnessX_40;
// System.Int32 TMPro.ShaderUtilities::ID_MaskSoftnessY
int32_t ___ID_MaskSoftnessY_41;
// System.Int32 TMPro.ShaderUtilities::ID_VertexOffsetX
int32_t ___ID_VertexOffsetX_42;
// System.Int32 TMPro.ShaderUtilities::ID_VertexOffsetY
int32_t ___ID_VertexOffsetY_43;
// System.Int32 TMPro.ShaderUtilities::ID_UseClipRect
int32_t ___ID_UseClipRect_44;
// System.Int32 TMPro.ShaderUtilities::ID_StencilID
int32_t ___ID_StencilID_45;
// System.Int32 TMPro.ShaderUtilities::ID_StencilOp
int32_t ___ID_StencilOp_46;
// System.Int32 TMPro.ShaderUtilities::ID_StencilComp
int32_t ___ID_StencilComp_47;
// System.Int32 TMPro.ShaderUtilities::ID_StencilReadMask
int32_t ___ID_StencilReadMask_48;
// System.Int32 TMPro.ShaderUtilities::ID_StencilWriteMask
int32_t ___ID_StencilWriteMask_49;
// System.Int32 TMPro.ShaderUtilities::ID_ShaderFlags
int32_t ___ID_ShaderFlags_50;
// System.Int32 TMPro.ShaderUtilities::ID_ScaleRatio_A
int32_t ___ID_ScaleRatio_A_51;
// System.Int32 TMPro.ShaderUtilities::ID_ScaleRatio_B
int32_t ___ID_ScaleRatio_B_52;
// System.Int32 TMPro.ShaderUtilities::ID_ScaleRatio_C
int32_t ___ID_ScaleRatio_C_53;
// System.String TMPro.ShaderUtilities::Keyword_Bevel
String_t* ___Keyword_Bevel_54;
// System.String TMPro.ShaderUtilities::Keyword_Glow
String_t* ___Keyword_Glow_55;
// System.String TMPro.ShaderUtilities::Keyword_Underlay
String_t* ___Keyword_Underlay_56;
// System.String TMPro.ShaderUtilities::Keyword_Ratios
String_t* ___Keyword_Ratios_57;
// System.String TMPro.ShaderUtilities::Keyword_MASK_SOFT
String_t* ___Keyword_MASK_SOFT_58;
// System.String TMPro.ShaderUtilities::Keyword_MASK_HARD
String_t* ___Keyword_MASK_HARD_59;
// System.String TMPro.ShaderUtilities::Keyword_MASK_TEX
String_t* ___Keyword_MASK_TEX_60;
// System.String TMPro.ShaderUtilities::Keyword_Outline
String_t* ___Keyword_Outline_61;
// System.String TMPro.ShaderUtilities::ShaderTag_ZTestMode
String_t* ___ShaderTag_ZTestMode_62;
// System.String TMPro.ShaderUtilities::ShaderTag_CullMode
String_t* ___ShaderTag_CullMode_63;
// System.Single TMPro.ShaderUtilities::m_clamp
float ___m_clamp_64;
// System.Boolean TMPro.ShaderUtilities::isInitialized
bool ___isInitialized_65;
// UnityEngine.Shader TMPro.ShaderUtilities::k_ShaderRef_MobileSDF
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692 * ___k_ShaderRef_MobileSDF_66;
// UnityEngine.Shader TMPro.ShaderUtilities::k_ShaderRef_MobileBitmap
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692 * ___k_ShaderRef_MobileBitmap_67;
};
// System.String
struct String_t : public RuntimeObject
{
// System.Int32 System.String::m_stringLength
int32_t ___m_stringLength_0;
// System.Char System.String::m_firstChar
Il2CppChar ___m_firstChar_1;
};
struct String_t_StaticFields
{
// System.String System.String::Empty
String_t* ___Empty_5;
};
// TMPro.TMPro_EventManager
struct TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9 : public RuntimeObject
{
};
struct TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_StaticFields
{
// TMPro.FastAction`2<System.Object,TMPro.Compute_DT_EventArgs> TMPro.TMPro_EventManager::COMPUTE_DT_EVENT
FastAction_2_t7A930CE5DBE699F7BADA18E19F951E3D68821A0D * ___COMPUTE_DT_EVENT_0;
// TMPro.FastAction`2<System.Boolean,UnityEngine.Material> TMPro.TMPro_EventManager::MATERIAL_PROPERTY_EVENT
FastAction_2_tECA23F8F5AC1D6DF8BAB8AEDD017A064D210F83A * ___MATERIAL_PROPERTY_EVENT_1;
// TMPro.FastAction`2<System.Boolean,UnityEngine.Object> TMPro.TMPro_EventManager::FONT_PROPERTY_EVENT
FastAction_2_t67E5AC7D6D05EC71192B279EA4EC495B4B3B4A9B * ___FONT_PROPERTY_EVENT_2;
// TMPro.FastAction`2<System.Boolean,UnityEngine.Object> TMPro.TMPro_EventManager::SPRITE_ASSET_PROPERTY_EVENT
FastAction_2_t67E5AC7D6D05EC71192B279EA4EC495B4B3B4A9B * ___SPRITE_ASSET_PROPERTY_EVENT_3;
// TMPro.FastAction`2<System.Boolean,UnityEngine.Object> TMPro.TMPro_EventManager::TEXTMESHPRO_PROPERTY_EVENT
FastAction_2_t67E5AC7D6D05EC71192B279EA4EC495B4B3B4A9B * ___TEXTMESHPRO_PROPERTY_EVENT_4;
// TMPro.FastAction`3<UnityEngine.GameObject,UnityEngine.Material,UnityEngine.Material> TMPro.TMPro_EventManager::DRAG_AND_DROP_MATERIAL_EVENT
FastAction_3_tF1621854653F0CB64C7EE2C86A181B843FA49E77 * ___DRAG_AND_DROP_MATERIAL_EVENT_5;
// TMPro.FastAction`1<System.Boolean> TMPro.TMPro_EventManager::TEXT_STYLE_PROPERTY_EVENT
FastAction_1_tFC26007E6ECC49160C91059DC218FDD0602EE4F3 * ___TEXT_STYLE_PROPERTY_EVENT_6;
// TMPro.FastAction`1<UnityEngine.Object> TMPro.TMPro_EventManager::COLOR_GRADIENT_PROPERTY_EVENT
FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * ___COLOR_GRADIENT_PROPERTY_EVENT_7;
// TMPro.FastAction TMPro.TMPro_EventManager::TMP_SETTINGS_PROPERTY_EVENT
FastAction_t32D4ADE06921D3EAB9BCE9B6397C82A4A898644D * ___TMP_SETTINGS_PROPERTY_EVENT_8;
// TMPro.FastAction TMPro.TMPro_EventManager::RESOURCE_LOAD_EVENT
FastAction_t32D4ADE06921D3EAB9BCE9B6397C82A4A898644D * ___RESOURCE_LOAD_EVENT_9;
// TMPro.FastAction`2<System.Boolean,UnityEngine.Object> TMPro.TMPro_EventManager::TEXTMESHPRO_UGUI_PROPERTY_EVENT
FastAction_2_t67E5AC7D6D05EC71192B279EA4EC495B4B3B4A9B * ___TEXTMESHPRO_UGUI_PROPERTY_EVENT_10;
// TMPro.FastAction`1<UnityEngine.Object> TMPro.TMPro_EventManager::TEXT_CHANGED_EVENT
FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * ___TEXT_CHANGED_EVENT_11;
};
// UnityEngine.Events.UnityEventBase
struct UnityEventBase_t4968A4C72559F35C0923E4BD9C042C3A842E1DB8 : public RuntimeObject
{
// UnityEngine.Events.InvokableCallList UnityEngine.Events.UnityEventBase::m_Calls
InvokableCallList_t309E1C8C7CE885A0D2F98C84CEA77A8935688382 * ___m_Calls_0;
// UnityEngine.Events.PersistentCallGroup UnityEngine.Events.UnityEventBase::m_PersistentCalls
PersistentCallGroup_tB826EDF15DC80F71BCBCD8E410FD959A04C33F25 * ___m_PersistentCalls_1;
// System.Boolean UnityEngine.Events.UnityEventBase::m_CallsDirty
bool ___m_CallsDirty_2;
};
// System.ValueType
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
{
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
{
};
// UnityEngine.YieldInstruction
struct YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D : public RuntimeObject
{
};
// Native definition for P/Invoke marshalling of UnityEngine.YieldInstruction
struct YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_pinvoke
{
};
// Native definition for COM marshalling of UnityEngine.YieldInstruction
struct YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_com
{
};
// TMPro.Examples.Benchmark01/<Start>d__10
struct U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819 : public RuntimeObject
{
// System.Int32 TMPro.Examples.Benchmark01/<Start>d__10::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.Benchmark01/<Start>d__10::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.Examples.Benchmark01 TMPro.Examples.Benchmark01/<Start>d__10::<>4__this
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * ___U3CU3E4__this_2;
// System.Int32 TMPro.Examples.Benchmark01/<Start>d__10::<i>5__2
int32_t ___U3CiU3E5__2_3;
};
// TMPro.Examples.Benchmark01_UGUI/<Start>d__10
struct U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00 : public RuntimeObject
{
// System.Int32 TMPro.Examples.Benchmark01_UGUI/<Start>d__10::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.Benchmark01_UGUI/<Start>d__10::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.Examples.Benchmark01_UGUI TMPro.Examples.Benchmark01_UGUI/<Start>d__10::<>4__this
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * ___U3CU3E4__this_2;
// System.Int32 TMPro.Examples.Benchmark01_UGUI/<Start>d__10::<i>5__2
int32_t ___U3CiU3E5__2_3;
};
// TMPro.Examples.ShaderPropAnimator/<AnimateProperties>d__6
struct U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB : public RuntimeObject
{
// System.Int32 TMPro.Examples.ShaderPropAnimator/<AnimateProperties>d__6::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.ShaderPropAnimator/<AnimateProperties>d__6::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.Examples.ShaderPropAnimator TMPro.Examples.ShaderPropAnimator/<AnimateProperties>d__6::<>4__this
ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * ___U3CU3E4__this_2;
};
// TMPro.Examples.SkewTextExample/<WarpText>d__7
struct U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508 : public RuntimeObject
{
// System.Int32 TMPro.Examples.SkewTextExample/<WarpText>d__7::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.SkewTextExample/<WarpText>d__7::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.Examples.SkewTextExample TMPro.Examples.SkewTextExample/<WarpText>d__7::<>4__this
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * ___U3CU3E4__this_2;
// System.Single TMPro.Examples.SkewTextExample/<WarpText>d__7::<old_CurveScale>5__2
float ___U3Cold_CurveScaleU3E5__2_3;
// System.Single TMPro.Examples.SkewTextExample/<WarpText>d__7::<old_ShearValue>5__3
float ___U3Cold_ShearValueU3E5__3_4;
// UnityEngine.AnimationCurve TMPro.Examples.SkewTextExample/<WarpText>d__7::<old_curve>5__4
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * ___U3Cold_curveU3E5__4_5;
};
// TMPro.Examples.TeleType/<Start>d__4
struct U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75 : public RuntimeObject
{
// System.Int32 TMPro.Examples.TeleType/<Start>d__4::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.TeleType/<Start>d__4::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.Examples.TeleType TMPro.Examples.TeleType/<Start>d__4::<>4__this
TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * ___U3CU3E4__this_2;
// System.Int32 TMPro.Examples.TeleType/<Start>d__4::<totalVisibleCharacters>5__2
int32_t ___U3CtotalVisibleCharactersU3E5__2_3;
// System.Int32 TMPro.Examples.TeleType/<Start>d__4::<counter>5__3
int32_t ___U3CcounterU3E5__3_4;
};
// TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7
struct U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9 : public RuntimeObject
{
// System.Int32 TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.TMP_Text TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::textComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___textComponent_2;
// TMPro.Examples.TextConsoleSimulator TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::<>4__this
TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * ___U3CU3E4__this_3;
// TMPro.TMP_TextInfo TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::<textInfo>5__2
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * ___U3CtextInfoU3E5__2_4;
// System.Int32 TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::<totalVisibleCharacters>5__3
int32_t ___U3CtotalVisibleCharactersU3E5__3_5;
// System.Int32 TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::<visibleCount>5__4
int32_t ___U3CvisibleCountU3E5__4_6;
};
// TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8
struct U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8 : public RuntimeObject
{
// System.Int32 TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.TMP_Text TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::textComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___textComponent_2;
// System.Int32 TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::<totalWordCount>5__2
int32_t ___U3CtotalWordCountU3E5__2_3;
// System.Int32 TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::<totalVisibleCharacters>5__3
int32_t ___U3CtotalVisibleCharactersU3E5__3_4;
// System.Int32 TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::<counter>5__4
int32_t ___U3CcounterU3E5__4_5;
// System.Int32 TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::<visibleCount>5__5
int32_t ___U3CvisibleCountU3E5__5_6;
};
// TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3
struct U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264 : public RuntimeObject
{
// System.Int32 TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.Examples.VertexColorCycler TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3::<>4__this
VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D * ___U3CU3E4__this_2;
// TMPro.TMP_TextInfo TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3::<textInfo>5__2
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * ___U3CtextInfoU3E5__2_3;
// System.Int32 TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3::<currentCharacter>5__3
int32_t ___U3CcurrentCharacterU3E5__3_4;
};
// TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11
struct U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956 : public RuntimeObject
{
// System.Int32 TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.Examples.VertexJitter TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::<>4__this
VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * ___U3CU3E4__this_2;
// TMPro.TMP_TextInfo TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::<textInfo>5__2
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * ___U3CtextInfoU3E5__2_3;
// System.Int32 TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::<loopCount>5__3
int32_t ___U3CloopCountU3E5__3_4;
// TMPro.Examples.VertexJitter/VertexAnim[] TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::<vertexAnim>5__4
VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38* ___U3CvertexAnimU3E5__4_5;
// TMPro.TMP_MeshInfo[] TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::<cachedMeshInfo>5__5
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* ___U3CcachedMeshInfoU3E5__5_6;
};
// TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11
struct U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E : public RuntimeObject
{
// System.Int32 TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.Examples.VertexShakeA TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11::<>4__this
VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * ___U3CU3E4__this_2;
// TMPro.TMP_TextInfo TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11::<textInfo>5__2
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * ___U3CtextInfoU3E5__2_3;
// UnityEngine.Vector3[][] TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11::<copyOfVertices>5__3
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* ___U3CcopyOfVerticesU3E5__3_4;
};
// TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10
struct U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E : public RuntimeObject
{
// System.Int32 TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.Examples.VertexShakeB TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10::<>4__this
VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * ___U3CU3E4__this_2;
// TMPro.TMP_TextInfo TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10::<textInfo>5__2
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * ___U3CtextInfoU3E5__2_3;
// UnityEngine.Vector3[][] TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10::<copyOfVertices>5__3
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* ___U3CcopyOfVerticesU3E5__3_4;
};
// Wire/<meshUpdater>d__38
struct U3CmeshUpdaterU3Ed__38_tB690B27F2D425C99B755BE5D9BF3EE5F836B2BDA : public RuntimeObject
{
// System.Int32 Wire/<meshUpdater>d__38::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object Wire/<meshUpdater>d__38::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// Wire Wire/<meshUpdater>d__38::<>4__this
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * ___U3CU3E4__this_2;
};
// System.Collections.Generic.List`1/Enumerator<UnityEngine.GameObject>
struct Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60
{
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___current_3;
};
// System.Collections.Generic.List`1/Enumerator<System.Object>
struct Enumerator_t9473BAB568A27E2339D48C1F91319E0F6D244D7A
{
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
RuntimeObject * ___current_3;
};
// TMPro.TMP_TextProcessingStack`1<System.Int32>
struct TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C
{
// T[] TMPro.TMP_TextProcessingStack`1::itemStack
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___itemStack_0;
// System.Int32 TMPro.TMP_TextProcessingStack`1::index
int32_t ___index_1;
// T TMPro.TMP_TextProcessingStack`1::m_DefaultItem
int32_t ___m_DefaultItem_2;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Capacity
int32_t ___m_Capacity_3;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_RolloverSize
int32_t ___m_RolloverSize_4;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Count
int32_t ___m_Count_5;
};
// TMPro.TMP_TextProcessingStack`1<System.Single>
struct TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9
{
// T[] TMPro.TMP_TextProcessingStack`1::itemStack
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___itemStack_0;
// System.Int32 TMPro.TMP_TextProcessingStack`1::index
int32_t ___index_1;
// T TMPro.TMP_TextProcessingStack`1::m_DefaultItem
float ___m_DefaultItem_2;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Capacity
int32_t ___m_Capacity_3;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_RolloverSize
int32_t ___m_RolloverSize_4;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Count
int32_t ___m_Count_5;
};
// TMPro.TMP_TextProcessingStack`1<TMPro.TMP_ColorGradient>
struct TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C
{
// T[] TMPro.TMP_TextProcessingStack`1::itemStack
TMP_ColorGradientU5BU5D_t2F65E8C42F268DFF33BB1392D94BCF5B5087308A* ___itemStack_0;
// System.Int32 TMPro.TMP_TextProcessingStack`1::index
int32_t ___index_1;
// T TMPro.TMP_TextProcessingStack`1::m_DefaultItem
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB * ___m_DefaultItem_2;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Capacity
int32_t ___m_Capacity_3;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_RolloverSize
int32_t ___m_RolloverSize_4;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Count
int32_t ___m_Count_5;
};
// UnityEngine.Events.UnityEvent`1<System.String>
struct UnityEvent_1_tC9859540CF1468306CAB6D758C0A0D95DBCEC257 : public UnityEventBase_t4968A4C72559F35C0923E4BD9C042C3A842E1DB8
{
// System.Object[] UnityEngine.Events.UnityEvent`1::m_InvokeArray
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___m_InvokeArray_3;
};
// UnityEngine.Events.UnityEvent`2<System.Char,System.Int32>
struct UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 : public UnityEventBase_t4968A4C72559F35C0923E4BD9C042C3A842E1DB8
{
// System.Object[] UnityEngine.Events.UnityEvent`2::m_InvokeArray
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___m_InvokeArray_3;
};
// UnityEngine.Events.UnityEvent`3<System.String,System.Int32,System.Int32>
struct UnityEvent_3_t5EE2DC870C12CB60384C5FCBB0DAD36392E701AD : public UnityEventBase_t4968A4C72559F35C0923E4BD9C042C3A842E1DB8
{
// System.Object[] UnityEngine.Events.UnityEvent`3::m_InvokeArray
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___m_InvokeArray_3;
};
// UnityEngine.Events.UnityEvent`3<System.String,System.String,System.Int32>
struct UnityEvent_3_t978FAA968D1FEECACADDD0969B822861FA0C6622 : public UnityEventBase_t4968A4C72559F35C0923E4BD9C042C3A842E1DB8
{
// System.Object[] UnityEngine.Events.UnityEvent`3::m_InvokeArray
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___m_InvokeArray_3;
};
// UnityEngine.EventSystems.BaseEventData
struct BaseEventData_tE03A848325C0AE8E76C6CA15FD86395EBF83364F : public AbstractEventData_tAE1A127ED657117548181D29FFE4B1B14D8E67F7
{
// UnityEngine.EventSystems.EventSystem UnityEngine.EventSystems.BaseEventData::m_EventSystem
EventSystem_t61C51380B105BE9D2C39C4F15B7E655659957707 * ___m_EventSystem_1;
};
// System.Boolean
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
{
// System.Boolean System.Boolean::m_value
bool ___m_value_0;
};
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
{
// System.String System.Boolean::TrueString
String_t* ___TrueString_5;
// System.String System.Boolean::FalseString
String_t* ___FalseString_6;
};
// System.Byte
struct Byte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3
{
// System.Byte System.Byte::m_value
uint8_t ___m_value_0;
};
// System.Char
struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17
{
// System.Char System.Char::m_value
Il2CppChar ___m_value_0;
};
struct Char_t521A6F19B456D956AF452D926C32709DC03D6B17_StaticFields
{
// System.Byte[] System.Char::categoryForLatin1
ByteU5BU5D_tA6237BF417AE52AD70CFB4EF24A7A82613DF9031* ___categoryForLatin1_3;
};
// UnityEngine.Color
struct Color_tD001788D726C3A7F1379BEED0260B9591F440C1F
{
// System.Single UnityEngine.Color::r
float ___r_0;
// System.Single UnityEngine.Color::g
float ___g_1;
// System.Single UnityEngine.Color::b
float ___b_2;
// System.Single UnityEngine.Color::a
float ___a_3;
};
// UnityEngine.Color32
struct Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B
{
union
{
#pragma pack(push, tp, 1)
struct
{
// System.Int32 UnityEngine.Color32::rgba
int32_t ___rgba_0;
};
#pragma pack(pop, tp)
struct
{
int32_t ___rgba_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Byte UnityEngine.Color32::r
uint8_t ___r_1;
};
#pragma pack(pop, tp)
struct
{
uint8_t ___r_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___g_2_OffsetPadding[1];
// System.Byte UnityEngine.Color32::g
uint8_t ___g_2;
};
#pragma pack(pop, tp)
struct
{
char ___g_2_OffsetPadding_forAlignmentOnly[1];
uint8_t ___g_2_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___b_3_OffsetPadding[2];
// System.Byte UnityEngine.Color32::b
uint8_t ___b_3;
};
#pragma pack(pop, tp)
struct
{
char ___b_3_OffsetPadding_forAlignmentOnly[2];
uint8_t ___b_3_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___a_4_OffsetPadding[3];
// System.Byte UnityEngine.Color32::a
uint8_t ___a_4;
};
#pragma pack(pop, tp)
struct
{
char ___a_4_OffsetPadding_forAlignmentOnly[3];
uint8_t ___a_4_forAlignmentOnly;
};
};
};
// System.DateTime
struct DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D
{
// System.UInt64 System.DateTime::dateData
uint64_t ___dateData_44;
};
struct DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_StaticFields
{
// System.Int32[] System.DateTime::DaysToMonth365
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___DaysToMonth365_29;
// System.Int32[] System.DateTime::DaysToMonth366
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___DaysToMonth366_30;
// System.DateTime System.DateTime::MinValue
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D ___MinValue_31;
// System.DateTime System.DateTime::MaxValue
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D ___MaxValue_32;
};
// System.Double
struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
{
// System.Double System.Double::m_value
double ___m_value_0;
};
struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F_StaticFields
{
// System.Double System.Double::NegativeZero
double ___NegativeZero_7;
};
// UnityEngine.DrivenRectTransformTracker
struct DrivenRectTransformTracker_tFB0706C933E3C68E4F377C204FCEEF091F1EE0B1
{
union
{
struct
{
};
uint8_t DrivenRectTransformTracker_tFB0706C933E3C68E4F377C204FCEEF091F1EE0B1__padding[1];
};
};
// System.Enum
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2 : public ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F
{
};
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_StaticFields
{
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___enumSeperatorCharArray_0;
};
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t2A1A94B24E3B776EEF4E5E485E290BB9D4D072E2_marshaled_com
{
};
// UnityEngine.TextCore.FaceInfo
struct FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756
{
// System.Int32 UnityEngine.TextCore.FaceInfo::m_FaceIndex
int32_t ___m_FaceIndex_0;
// System.String UnityEngine.TextCore.FaceInfo::m_FamilyName
String_t* ___m_FamilyName_1;
// System.String UnityEngine.TextCore.FaceInfo::m_StyleName
String_t* ___m_StyleName_2;
// System.Int32 UnityEngine.TextCore.FaceInfo::m_PointSize
int32_t ___m_PointSize_3;
// System.Single UnityEngine.TextCore.FaceInfo::m_Scale
float ___m_Scale_4;
// System.Single UnityEngine.TextCore.FaceInfo::m_LineHeight
float ___m_LineHeight_5;
// System.Single UnityEngine.TextCore.FaceInfo::m_AscentLine
float ___m_AscentLine_6;
// System.Single UnityEngine.TextCore.FaceInfo::m_CapLine
float ___m_CapLine_7;
// System.Single UnityEngine.TextCore.FaceInfo::m_MeanLine
float ___m_MeanLine_8;
// System.Single UnityEngine.TextCore.FaceInfo::m_Baseline
float ___m_Baseline_9;
// System.Single UnityEngine.TextCore.FaceInfo::m_DescentLine
float ___m_DescentLine_10;
// System.Single UnityEngine.TextCore.FaceInfo::m_SuperscriptOffset
float ___m_SuperscriptOffset_11;
// System.Single UnityEngine.TextCore.FaceInfo::m_SuperscriptSize
float ___m_SuperscriptSize_12;
// System.Single UnityEngine.TextCore.FaceInfo::m_SubscriptOffset
float ___m_SubscriptOffset_13;
// System.Single UnityEngine.TextCore.FaceInfo::m_SubscriptSize
float ___m_SubscriptSize_14;
// System.Single UnityEngine.TextCore.FaceInfo::m_UnderlineOffset
float ___m_UnderlineOffset_15;
// System.Single UnityEngine.TextCore.FaceInfo::m_UnderlineThickness
float ___m_UnderlineThickness_16;
// System.Single UnityEngine.TextCore.FaceInfo::m_StrikethroughOffset
float ___m_StrikethroughOffset_17;
// System.Single UnityEngine.TextCore.FaceInfo::m_StrikethroughThickness
float ___m_StrikethroughThickness_18;
// System.Single UnityEngine.TextCore.FaceInfo::m_TabWidth
float ___m_TabWidth_19;
};
// Native definition for P/Invoke marshalling of UnityEngine.TextCore.FaceInfo
struct FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756_marshaled_pinvoke
{
int32_t ___m_FaceIndex_0;
char* ___m_FamilyName_1;
char* ___m_StyleName_2;
int32_t ___m_PointSize_3;
float ___m_Scale_4;
float ___m_LineHeight_5;
float ___m_AscentLine_6;
float ___m_CapLine_7;
float ___m_MeanLine_8;
float ___m_Baseline_9;
float ___m_DescentLine_10;
float ___m_SuperscriptOffset_11;
float ___m_SuperscriptSize_12;
float ___m_SubscriptOffset_13;
float ___m_SubscriptSize_14;
float ___m_UnderlineOffset_15;
float ___m_UnderlineThickness_16;
float ___m_StrikethroughOffset_17;
float ___m_StrikethroughThickness_18;
float ___m_TabWidth_19;
};
// Native definition for COM marshalling of UnityEngine.TextCore.FaceInfo
struct FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756_marshaled_com
{
int32_t ___m_FaceIndex_0;
Il2CppChar* ___m_FamilyName_1;
Il2CppChar* ___m_StyleName_2;
int32_t ___m_PointSize_3;
float ___m_Scale_4;
float ___m_LineHeight_5;
float ___m_AscentLine_6;
float ___m_CapLine_7;
float ___m_MeanLine_8;
float ___m_Baseline_9;
float ___m_DescentLine_10;
float ___m_SuperscriptOffset_11;
float ___m_SuperscriptSize_12;
float ___m_SubscriptOffset_13;
float ___m_SubscriptSize_14;
float ___m_UnderlineOffset_15;
float ___m_UnderlineThickness_16;
float ___m_StrikethroughOffset_17;
float ___m_StrikethroughThickness_18;
float ___m_TabWidth_19;
};
// TMPro.FontAssetCreationSettings
struct FontAssetCreationSettings_t2B94078737A72F814E8BC2126F967B94231190DF
{
// System.String TMPro.FontAssetCreationSettings::sourceFontFileName
String_t* ___sourceFontFileName_0;
// System.String TMPro.FontAssetCreationSettings::sourceFontFileGUID
String_t* ___sourceFontFileGUID_1;
// System.Int32 TMPro.FontAssetCreationSettings::pointSizeSamplingMode
int32_t ___pointSizeSamplingMode_2;
// System.Int32 TMPro.FontAssetCreationSettings::pointSize
int32_t ___pointSize_3;
// System.Int32 TMPro.FontAssetCreationSettings::padding
int32_t ___padding_4;
// System.Int32 TMPro.FontAssetCreationSettings::packingMode
int32_t ___packingMode_5;
// System.Int32 TMPro.FontAssetCreationSettings::atlasWidth
int32_t ___atlasWidth_6;
// System.Int32 TMPro.FontAssetCreationSettings::atlasHeight
int32_t ___atlasHeight_7;
// System.Int32 TMPro.FontAssetCreationSettings::characterSetSelectionMode
int32_t ___characterSetSelectionMode_8;
// System.String TMPro.FontAssetCreationSettings::characterSequence
String_t* ___characterSequence_9;
// System.String TMPro.FontAssetCreationSettings::referencedFontAssetGUID
String_t* ___referencedFontAssetGUID_10;
// System.String TMPro.FontAssetCreationSettings::referencedTextAssetGUID
String_t* ___referencedTextAssetGUID_11;
// System.Int32 TMPro.FontAssetCreationSettings::fontStyle
int32_t ___fontStyle_12;
// System.Single TMPro.FontAssetCreationSettings::fontStyleModifier
float ___fontStyleModifier_13;
// System.Int32 TMPro.FontAssetCreationSettings::renderMode
int32_t ___renderMode_14;
// System.Boolean TMPro.FontAssetCreationSettings::includeFontFeatures
bool ___includeFontFeatures_15;
};
// Native definition for P/Invoke marshalling of TMPro.FontAssetCreationSettings
struct FontAssetCreationSettings_t2B94078737A72F814E8BC2126F967B94231190DF_marshaled_pinvoke
{
char* ___sourceFontFileName_0;
char* ___sourceFontFileGUID_1;
int32_t ___pointSizeSamplingMode_2;
int32_t ___pointSize_3;
int32_t ___padding_4;
int32_t ___packingMode_5;
int32_t ___atlasWidth_6;
int32_t ___atlasHeight_7;
int32_t ___characterSetSelectionMode_8;
char* ___characterSequence_9;
char* ___referencedFontAssetGUID_10;
char* ___referencedTextAssetGUID_11;
int32_t ___fontStyle_12;
float ___fontStyleModifier_13;
int32_t ___renderMode_14;
int32_t ___includeFontFeatures_15;
};
// Native definition for COM marshalling of TMPro.FontAssetCreationSettings
struct FontAssetCreationSettings_t2B94078737A72F814E8BC2126F967B94231190DF_marshaled_com
{
Il2CppChar* ___sourceFontFileName_0;
Il2CppChar* ___sourceFontFileGUID_1;
int32_t ___pointSizeSamplingMode_2;
int32_t ___pointSize_3;
int32_t ___padding_4;
int32_t ___packingMode_5;
int32_t ___atlasWidth_6;
int32_t ___atlasHeight_7;
int32_t ___characterSetSelectionMode_8;
Il2CppChar* ___characterSequence_9;
Il2CppChar* ___referencedFontAssetGUID_10;
Il2CppChar* ___referencedTextAssetGUID_11;
int32_t ___fontStyle_12;
float ___fontStyleModifier_13;
int32_t ___renderMode_14;
int32_t ___includeFontFeatures_15;
};
// System.Int32
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
{
// System.Int32 System.Int32::m_value
int32_t ___m_value_0;
};
// System.IntPtr
struct IntPtr_t
{
// System.Void* System.IntPtr::m_value
void* ___m_value_0;
};
struct IntPtr_t_StaticFields
{
// System.IntPtr System.IntPtr::Zero
intptr_t ___Zero_1;
};
// UnityEngine.Keyframe
struct Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0
{
// System.Single UnityEngine.Keyframe::m_Time
float ___m_Time_0;
// System.Single UnityEngine.Keyframe::m_Value
float ___m_Value_1;
// System.Single UnityEngine.Keyframe::m_InTangent
float ___m_InTangent_2;
// System.Single UnityEngine.Keyframe::m_OutTangent
float ___m_OutTangent_3;
// System.Int32 UnityEngine.Keyframe::m_WeightedMode
int32_t ___m_WeightedMode_4;
// System.Single UnityEngine.Keyframe::m_InWeight
float ___m_InWeight_5;
// System.Single UnityEngine.Keyframe::m_OutWeight
float ___m_OutWeight_6;
};
// TMPro.MaterialReference
struct MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B
{
// System.Int32 TMPro.MaterialReference::index
int32_t ___index_0;
// TMPro.TMP_FontAsset TMPro.MaterialReference::fontAsset
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___fontAsset_1;
// TMPro.TMP_SpriteAsset TMPro.MaterialReference::spriteAsset
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 * ___spriteAsset_2;
// UnityEngine.Material TMPro.MaterialReference::material
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_3;
// System.Boolean TMPro.MaterialReference::isDefaultMaterial
bool ___isDefaultMaterial_4;
// System.Boolean TMPro.MaterialReference::isFallbackMaterial
bool ___isFallbackMaterial_5;
// UnityEngine.Material TMPro.MaterialReference::fallbackMaterial
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___fallbackMaterial_6;
// System.Single TMPro.MaterialReference::padding
float ___padding_7;
// System.Int32 TMPro.MaterialReference::referenceCount
int32_t ___referenceCount_8;
};
// Native definition for P/Invoke marshalling of TMPro.MaterialReference
struct MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B_marshaled_pinvoke
{
int32_t ___index_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___fontAsset_1;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 * ___spriteAsset_2;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_3;
int32_t ___isDefaultMaterial_4;
int32_t ___isFallbackMaterial_5;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___fallbackMaterial_6;
float ___padding_7;
int32_t ___referenceCount_8;
};
// Native definition for COM marshalling of TMPro.MaterialReference
struct MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B_marshaled_com
{
int32_t ___index_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___fontAsset_1;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 * ___spriteAsset_2;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_3;
int32_t ___isDefaultMaterial_4;
int32_t ___isFallbackMaterial_5;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___fallbackMaterial_6;
float ___padding_7;
int32_t ___referenceCount_8;
};
// UnityEngine.Matrix4x4
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6
{
// System.Single UnityEngine.Matrix4x4::m00
float ___m00_0;
// System.Single UnityEngine.Matrix4x4::m10
float ___m10_1;
// System.Single UnityEngine.Matrix4x4::m20
float ___m20_2;
// System.Single UnityEngine.Matrix4x4::m30
float ___m30_3;
// System.Single UnityEngine.Matrix4x4::m01
float ___m01_4;
// System.Single UnityEngine.Matrix4x4::m11
float ___m11_5;
// System.Single UnityEngine.Matrix4x4::m21
float ___m21_6;
// System.Single UnityEngine.Matrix4x4::m31
float ___m31_7;
// System.Single UnityEngine.Matrix4x4::m02
float ___m02_8;
// System.Single UnityEngine.Matrix4x4::m12
float ___m12_9;
// System.Single UnityEngine.Matrix4x4::m22
float ___m22_10;
// System.Single UnityEngine.Matrix4x4::m32
float ___m32_11;
// System.Single UnityEngine.Matrix4x4::m03
float ___m03_12;
// System.Single UnityEngine.Matrix4x4::m13
float ___m13_13;
// System.Single UnityEngine.Matrix4x4::m23
float ___m23_14;
// System.Single UnityEngine.Matrix4x4::m33
float ___m33_15;
};
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_StaticFields
{
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::zeroMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___zeroMatrix_16;
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::identityMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___identityMatrix_17;
};
// UnityEngine.Quaternion
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974
{
// System.Single UnityEngine.Quaternion::x
float ___x_0;
// System.Single UnityEngine.Quaternion::y
float ___y_1;
// System.Single UnityEngine.Quaternion::z
float ___z_2;
// System.Single UnityEngine.Quaternion::w
float ___w_3;
};
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields
{
// UnityEngine.Quaternion UnityEngine.Quaternion::identityQuaternion
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___identityQuaternion_4;
};
// UnityEngine.Rect
struct Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D
{
// System.Single UnityEngine.Rect::m_XMin
float ___m_XMin_0;
// System.Single UnityEngine.Rect::m_YMin
float ___m_YMin_1;
// System.Single UnityEngine.Rect::m_Width
float ___m_Width_2;
// System.Single UnityEngine.Rect::m_Height
float ___m_Height_3;
};
// System.Single
struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
{
// System.Single System.Single::m_value
float ___m_value_0;
};
// UnityEngine.UI.SpriteState
struct SpriteState_tC8199570BE6337FB5C49347C97892B4222E5AACD
{
// UnityEngine.Sprite UnityEngine.UI.SpriteState::m_HighlightedSprite
Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99 * ___m_HighlightedSprite_0;
// UnityEngine.Sprite UnityEngine.UI.SpriteState::m_PressedSprite
Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99 * ___m_PressedSprite_1;
// UnityEngine.Sprite UnityEngine.UI.SpriteState::m_SelectedSprite
Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99 * ___m_SelectedSprite_2;
// UnityEngine.Sprite UnityEngine.UI.SpriteState::m_DisabledSprite
Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99 * ___m_DisabledSprite_3;
};
// Native definition for P/Invoke marshalling of UnityEngine.UI.SpriteState
struct SpriteState_tC8199570BE6337FB5C49347C97892B4222E5AACD_marshaled_pinvoke
{
Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99 * ___m_HighlightedSprite_0;
Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99 * ___m_PressedSprite_1;
Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99 * ___m_SelectedSprite_2;
Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99 * ___m_DisabledSprite_3;
};
// Native definition for COM marshalling of UnityEngine.UI.SpriteState
struct SpriteState_tC8199570BE6337FB5C49347C97892B4222E5AACD_marshaled_com
{
Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99 * ___m_HighlightedSprite_0;
Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99 * ___m_PressedSprite_1;
Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99 * ___m_SelectedSprite_2;
Sprite_tAFF74BC83CD68037494CB0B4F28CBDF8971CAB99 * ___m_DisabledSprite_3;
};
// TMPro.TMP_FontStyleStack
struct TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC
{
// System.Byte TMPro.TMP_FontStyleStack::bold
uint8_t ___bold_0;
// System.Byte TMPro.TMP_FontStyleStack::italic
uint8_t ___italic_1;
// System.Byte TMPro.TMP_FontStyleStack::underline
uint8_t ___underline_2;
// System.Byte TMPro.TMP_FontStyleStack::strikethrough
uint8_t ___strikethrough_3;
// System.Byte TMPro.TMP_FontStyleStack::highlight
uint8_t ___highlight_4;
// System.Byte TMPro.TMP_FontStyleStack::superscript
uint8_t ___superscript_5;
// System.Byte TMPro.TMP_FontStyleStack::subscript
uint8_t ___subscript_6;
// System.Byte TMPro.TMP_FontStyleStack::uppercase
uint8_t ___uppercase_7;
// System.Byte TMPro.TMP_FontStyleStack::lowercase
uint8_t ___lowercase_8;
// System.Byte TMPro.TMP_FontStyleStack::smallcaps
uint8_t ___smallcaps_9;
};
// TMPro.TMP_LinkInfo
struct TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6
{
// TMPro.TMP_Text TMPro.TMP_LinkInfo::textComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___textComponent_0;
// System.Int32 TMPro.TMP_LinkInfo::hashCode
int32_t ___hashCode_1;
// System.Int32 TMPro.TMP_LinkInfo::linkIdFirstCharacterIndex
int32_t ___linkIdFirstCharacterIndex_2;
// System.Int32 TMPro.TMP_LinkInfo::linkIdLength
int32_t ___linkIdLength_3;
// System.Int32 TMPro.TMP_LinkInfo::linkTextfirstCharacterIndex
int32_t ___linkTextfirstCharacterIndex_4;
// System.Int32 TMPro.TMP_LinkInfo::linkTextLength
int32_t ___linkTextLength_5;
// System.Char[] TMPro.TMP_LinkInfo::linkID
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___linkID_6;
};
// Native definition for P/Invoke marshalling of TMPro.TMP_LinkInfo
struct TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6_marshaled_pinvoke
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___textComponent_0;
int32_t ___hashCode_1;
int32_t ___linkIdFirstCharacterIndex_2;
int32_t ___linkIdLength_3;
int32_t ___linkTextfirstCharacterIndex_4;
int32_t ___linkTextLength_5;
uint8_t* ___linkID_6;
};
// Native definition for COM marshalling of TMPro.TMP_LinkInfo
struct TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6_marshaled_com
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___textComponent_0;
int32_t ___hashCode_1;
int32_t ___linkIdFirstCharacterIndex_2;
int32_t ___linkIdLength_3;
int32_t ___linkTextfirstCharacterIndex_4;
int32_t ___linkTextLength_5;
uint8_t* ___linkID_6;
};
// TMPro.TMP_Offset
struct TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6
{
// System.Single TMPro.TMP_Offset::m_Left
float ___m_Left_0;
// System.Single TMPro.TMP_Offset::m_Right
float ___m_Right_1;
// System.Single TMPro.TMP_Offset::m_Top
float ___m_Top_2;
// System.Single TMPro.TMP_Offset::m_Bottom
float ___m_Bottom_3;
};
struct TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6_StaticFields
{
// TMPro.TMP_Offset TMPro.TMP_Offset::k_ZeroOffset
TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 ___k_ZeroOffset_4;
};
// TMPro.TMP_WordInfo
struct TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983
{
// TMPro.TMP_Text TMPro.TMP_WordInfo::textComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___textComponent_0;
// System.Int32 TMPro.TMP_WordInfo::firstCharacterIndex
int32_t ___firstCharacterIndex_1;
// System.Int32 TMPro.TMP_WordInfo::lastCharacterIndex
int32_t ___lastCharacterIndex_2;
// System.Int32 TMPro.TMP_WordInfo::characterCount
int32_t ___characterCount_3;
};
// Native definition for P/Invoke marshalling of TMPro.TMP_WordInfo
struct TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983_marshaled_pinvoke
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___textComponent_0;
int32_t ___firstCharacterIndex_1;
int32_t ___lastCharacterIndex_2;
int32_t ___characterCount_3;
};
// Native definition for COM marshalling of TMPro.TMP_WordInfo
struct TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983_marshaled_com
{
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___textComponent_0;
int32_t ___firstCharacterIndex_1;
int32_t ___lastCharacterIndex_2;
int32_t ___characterCount_3;
};
// UnityEngine.Vector2
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7
{
// System.Single UnityEngine.Vector2::x
float ___x_0;
// System.Single UnityEngine.Vector2::y
float ___y_1;
};
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields
{
// UnityEngine.Vector2 UnityEngine.Vector2::zeroVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___zeroVector_2;
// UnityEngine.Vector2 UnityEngine.Vector2::oneVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___oneVector_3;
// UnityEngine.Vector2 UnityEngine.Vector2::upVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___upVector_4;
// UnityEngine.Vector2 UnityEngine.Vector2::downVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___downVector_5;
// UnityEngine.Vector2 UnityEngine.Vector2::leftVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___leftVector_6;
// UnityEngine.Vector2 UnityEngine.Vector2::rightVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rightVector_7;
// UnityEngine.Vector2 UnityEngine.Vector2::positiveInfinityVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___positiveInfinityVector_8;
// UnityEngine.Vector2 UnityEngine.Vector2::negativeInfinityVector
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___negativeInfinityVector_9;
};
// UnityEngine.Vector3
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
{
// System.Single UnityEngine.Vector3::x
float ___x_2;
// System.Single UnityEngine.Vector3::y
float ___y_3;
// System.Single UnityEngine.Vector3::z
float ___z_4;
};
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
{
// UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector_5;
// UnityEngine.Vector3 UnityEngine.Vector3::oneVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector_6;
// UnityEngine.Vector3 UnityEngine.Vector3::upVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector_7;
// UnityEngine.Vector3 UnityEngine.Vector3::downVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector_8;
// UnityEngine.Vector3 UnityEngine.Vector3::leftVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector_9;
// UnityEngine.Vector3 UnityEngine.Vector3::rightVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector_10;
// UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector_11;
// UnityEngine.Vector3 UnityEngine.Vector3::backVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector_12;
// UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector_13;
// UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector_14;
};
// UnityEngine.Vector4
struct Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3
{
// System.Single UnityEngine.Vector4::x
float ___x_1;
// System.Single UnityEngine.Vector4::y
float ___y_2;
// System.Single UnityEngine.Vector4::z
float ___z_3;
// System.Single UnityEngine.Vector4::w
float ___w_4;
};
struct Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3_StaticFields
{
// UnityEngine.Vector4 UnityEngine.Vector4::zeroVector
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___zeroVector_5;
// UnityEngine.Vector4 UnityEngine.Vector4::oneVector
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___oneVector_6;
// UnityEngine.Vector4 UnityEngine.Vector4::positiveInfinityVector
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___positiveInfinityVector_7;
// UnityEngine.Vector4 UnityEngine.Vector4::negativeInfinityVector
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___negativeInfinityVector_8;
};
// System.Void
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
{
union
{
struct
{
};
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
};
};
// UnityEngine.WaitForEndOfFrame
struct WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663 : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D
{
};
// UnityEngine.WaitForSeconds
struct WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D
{
// System.Single UnityEngine.WaitForSeconds::m_Seconds
float ___m_Seconds_0;
};
// Native definition for P/Invoke marshalling of UnityEngine.WaitForSeconds
struct WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_marshaled_pinvoke : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_pinvoke
{
float ___m_Seconds_0;
};
// Native definition for COM marshalling of UnityEngine.WaitForSeconds
struct WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_marshaled_com : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_com
{
float ___m_Seconds_0;
};
// TMPro.TMP_Text/SpecialCharacter
struct SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777
{
// TMPro.TMP_Character TMPro.TMP_Text/SpecialCharacter::character
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35 * ___character_0;
// TMPro.TMP_FontAsset TMPro.TMP_Text/SpecialCharacter::fontAsset
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___fontAsset_1;
// UnityEngine.Material TMPro.TMP_Text/SpecialCharacter::material
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_2;
// System.Int32 TMPro.TMP_Text/SpecialCharacter::materialIndex
int32_t ___materialIndex_3;
};
// Native definition for P/Invoke marshalling of TMPro.TMP_Text/SpecialCharacter
struct SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777_marshaled_pinvoke
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35 * ___character_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___fontAsset_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_2;
int32_t ___materialIndex_3;
};
// Native definition for COM marshalling of TMPro.TMP_Text/SpecialCharacter
struct SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777_marshaled_com
{
TMP_Character_t7D37A55EF1A9FF6D0BFE6D50E86A00F80E7FAF35 * ___character_0;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___fontAsset_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_2;
int32_t ___materialIndex_3;
};
// TMPro.TMP_Text/TextBackingContainer
struct TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361
{
// System.UInt32[] TMPro.TMP_Text/TextBackingContainer::m_Array
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* ___m_Array_0;
// System.Int32 TMPro.TMP_Text/TextBackingContainer::m_Count
int32_t ___m_Count_1;
};
// Native definition for P/Invoke marshalling of TMPro.TMP_Text/TextBackingContainer
struct TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361_marshaled_pinvoke
{
Il2CppSafeArray/*NONE*/* ___m_Array_0;
int32_t ___m_Count_1;
};
// Native definition for COM marshalling of TMPro.TMP_Text/TextBackingContainer
struct TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361_marshaled_com
{
Il2CppSafeArray/*NONE*/* ___m_Array_0;
int32_t ___m_Count_1;
};
// TMPro.Examples.VertexJitter/VertexAnim
struct VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7
{
// System.Single TMPro.Examples.VertexJitter/VertexAnim::angleRange
float ___angleRange_0;
// System.Single TMPro.Examples.VertexJitter/VertexAnim::angle
float ___angle_1;
// System.Single TMPro.Examples.VertexJitter/VertexAnim::speed
float ___speed_2;
};
// System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>
struct Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931
{
// System.Collections.Generic.List`1<T> System.Collections.Generic.List`1/Enumerator::list
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * ___list_0;
// System.Int32 System.Collections.Generic.List`1/Enumerator::index
int32_t ___index_1;
// System.Int32 System.Collections.Generic.List`1/Enumerator::version
int32_t ___version_2;
// T System.Collections.Generic.List`1/Enumerator::current
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___current_3;
};
// TMPro.TMP_TextProcessingStack`1<UnityEngine.Color32>
struct TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3
{
// T[] TMPro.TMP_TextProcessingStack`1::itemStack
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* ___itemStack_0;
// System.Int32 TMPro.TMP_TextProcessingStack`1::index
int32_t ___index_1;
// T TMPro.TMP_TextProcessingStack`1::m_DefaultItem
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_DefaultItem_2;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Capacity
int32_t ___m_Capacity_3;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_RolloverSize
int32_t ___m_RolloverSize_4;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Count
int32_t ___m_Count_5;
};
// TMPro.TMP_TextProcessingStack`1<TMPro.MaterialReference>
struct TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9
{
// T[] TMPro.TMP_TextProcessingStack`1::itemStack
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* ___itemStack_0;
// System.Int32 TMPro.TMP_TextProcessingStack`1::index
int32_t ___index_1;
// T TMPro.TMP_TextProcessingStack`1::m_DefaultItem
MaterialReference_tFD98FFFBBDF168028E637446C6676507186F4D0B ___m_DefaultItem_2;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Capacity
int32_t ___m_Capacity_3;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_RolloverSize
int32_t ___m_RolloverSize_4;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Count
int32_t ___m_Count_5;
};
// UnityEngine.AnimationCurve
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 : public RuntimeObject
{
// System.IntPtr UnityEngine.AnimationCurve::m_Ptr
intptr_t ___m_Ptr_0;
};
// Native definition for P/Invoke marshalling of UnityEngine.AnimationCurve
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
};
// Native definition for COM marshalling of UnityEngine.AnimationCurve
struct AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_marshaled_com
{
intptr_t ___m_Ptr_0;
};
// TMPro.AtlasPopulationMode
struct AtlasPopulationMode_tBEF72CCC11BFA8D80FA4EEE9A10D49C406167C75
{
// System.Int32 TMPro.AtlasPopulationMode::value__
int32_t ___value___2;
};
// System.Reflection.BindingFlags
struct BindingFlags_t5DC2835E4AE9C1862B3AD172EF35B6A5F4F1812C
{
// System.Int32 System.Reflection.BindingFlags::value__
int32_t ___value___2;
};
// UnityEngine.Bounds
struct Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3
{
// UnityEngine.Vector3 UnityEngine.Bounds::m_Center
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Center_0;
// UnityEngine.Vector3 UnityEngine.Bounds::m_Extents
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Extents_1;
};
// UnityEngine.UI.ColorBlock
struct ColorBlock_tDD7C62E7AFE442652FC98F8D058CE8AE6BFD7C11
{
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_NormalColor
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_NormalColor_0;
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_HighlightedColor
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_HighlightedColor_1;
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_PressedColor
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_PressedColor_2;
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_SelectedColor
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_SelectedColor_3;
// UnityEngine.Color UnityEngine.UI.ColorBlock::m_DisabledColor
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_DisabledColor_4;
// System.Single UnityEngine.UI.ColorBlock::m_ColorMultiplier
float ___m_ColorMultiplier_5;
// System.Single UnityEngine.UI.ColorBlock::m_FadeDuration
float ___m_FadeDuration_6;
};
struct ColorBlock_tDD7C62E7AFE442652FC98F8D058CE8AE6BFD7C11_StaticFields
{
// UnityEngine.UI.ColorBlock UnityEngine.UI.ColorBlock::defaultColorBlock
ColorBlock_tDD7C62E7AFE442652FC98F8D058CE8AE6BFD7C11 ___defaultColorBlock_7;
};
// TMPro.ColorMode
struct ColorMode_tA7A815AAB9F175EFBA0AE0814E55728432A880BF
{
// System.Int32 TMPro.ColorMode::value__
int32_t ___value___2;
};
// UnityEngine.Coroutine
struct Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D
{
// System.IntPtr UnityEngine.Coroutine::m_Ptr
intptr_t ___m_Ptr_0;
};
// Native definition for P/Invoke marshalling of UnityEngine.Coroutine
struct Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B_marshaled_pinvoke : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
};
// Native definition for COM marshalling of UnityEngine.Coroutine
struct Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B_marshaled_com : public YieldInstruction_tFCE35FD0907950EFEE9BC2890AC664E41C53728D_marshaled_com
{
intptr_t ___m_Ptr_0;
};
// System.Delegate
struct Delegate_t : public RuntimeObject
{
// System.IntPtr System.Delegate::method_ptr
Il2CppMethodPointer ___method_ptr_0;
// System.IntPtr System.Delegate::invoke_impl
intptr_t ___invoke_impl_1;
// System.Object System.Delegate::m_target
RuntimeObject * ___m_target_2;
// System.IntPtr System.Delegate::method
intptr_t ___method_3;
// System.IntPtr System.Delegate::delegate_trampoline
intptr_t ___delegate_trampoline_4;
// System.IntPtr System.Delegate::extra_arg
intptr_t ___extra_arg_5;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_6;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t * ___method_info_7;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t * ___original_method_info_8;
// System.DelegateData System.Delegate::data
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E * ___data_9;
// System.Boolean System.Delegate::method_is_virtual
bool ___method_is_virtual_10;
};
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t_marshaled_pinvoke
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E * ___data_9;
int32_t ___method_is_virtual_10;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t_marshaled_com
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E * ___data_9;
int32_t ___method_is_virtual_10;
};
// System.Exception
struct Exception_t : public RuntimeObject
{
// System.String System.Exception::_className
String_t* ____className_1;
// System.String System.Exception::_message
String_t* ____message_2;
// System.Collections.IDictionary System.Exception::_data
RuntimeObject* ____data_3;
// System.Exception System.Exception::_innerException
Exception_t * ____innerException_4;
// System.String System.Exception::_helpURL
String_t* ____helpURL_5;
// System.Object System.Exception::_stackTrace
RuntimeObject * ____stackTrace_6;
// System.String System.Exception::_stackTraceString
String_t* ____stackTraceString_7;
// System.String System.Exception::_remoteStackTraceString
String_t* ____remoteStackTraceString_8;
// System.Int32 System.Exception::_remoteStackIndex
int32_t ____remoteStackIndex_9;
// System.Object System.Exception::_dynamicMethods
RuntimeObject * ____dynamicMethods_10;
// System.Int32 System.Exception::_HResult
int32_t ____HResult_11;
// System.String System.Exception::_source
String_t* ____source_12;
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6 * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips_15;
};
struct Exception_t_StaticFields
{
// System.Object System.Exception::s_EDILock
RuntimeObject * ___s_EDILock_0;
};
// Native definition for P/Invoke marshalling of System.Exception
struct Exception_t_marshaled_pinvoke
{
char* ____className_1;
char* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_pinvoke* ____innerException_4;
char* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
char* ____stackTraceString_7;
char* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
char* ____source_12;
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6 * ____safeSerializationManager_13;
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// Native definition for COM marshalling of System.Exception
struct Exception_t_marshaled_com
{
Il2CppChar* ____className_1;
Il2CppChar* ____message_2;
RuntimeObject* ____data_3;
Exception_t_marshaled_com* ____innerException_4;
Il2CppChar* ____helpURL_5;
Il2CppIUnknown* ____stackTrace_6;
Il2CppChar* ____stackTraceString_7;
Il2CppChar* ____remoteStackTraceString_8;
int32_t ____remoteStackIndex_9;
Il2CppIUnknown* ____dynamicMethods_10;
int32_t ____HResult_11;
Il2CppChar* ____source_12;
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6 * ____safeSerializationManager_13;
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// TMPro.Extents
struct Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8
{
// UnityEngine.Vector2 TMPro.Extents::min
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___min_2;
// UnityEngine.Vector2 TMPro.Extents::max
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___max_3;
};
struct Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8_StaticFields
{
// TMPro.Extents TMPro.Extents::zero
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___zero_0;
// TMPro.Extents TMPro.Extents::uninitialized
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___uninitialized_1;
};
// TMPro.FontStyles
struct FontStyles_t9E611EE6BBE6E192A73EAFF7872596517C527FF5
{
// System.Int32 TMPro.FontStyles::value__
int32_t ___value___2;
};
// TMPro.FontWeight
struct FontWeight_tA2585C0A73B70D31CE71E7843149098A5E16BC80
{
// System.Int32 TMPro.FontWeight::value__
int32_t ___value___2;
};
// UnityEngine.TextCore.LowLevel.GlyphRenderMode
struct GlyphRenderMode_tE7FB60827750662A45E89D168932FE2D8AEB5281
{
// System.Int32 UnityEngine.TextCore.LowLevel.GlyphRenderMode::value__
int32_t ___value___2;
};
// TMPro.HighlightState
struct HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B
{
// UnityEngine.Color32 TMPro.HighlightState::color
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color_0;
// TMPro.TMP_Offset TMPro.HighlightState::padding
TMP_Offset_t2262BE4E87D9662487777FF8FFE1B17B0E4438C6 ___padding_1;
};
// TMPro.HorizontalAlignmentOptions
struct HorizontalAlignmentOptions_tCC21260E9FBEC656BA7783643ED5F44AFF7955A1
{
// System.Int32 TMPro.HorizontalAlignmentOptions::value__
int32_t ___value___2;
};
// UnityEngine.KeyCode
struct KeyCode_t75B9ECCC26D858F55040DDFF9523681E996D17E9
{
// System.Int32 UnityEngine.KeyCode::value__
int32_t ___value___2;
};
// TMPro.MaskingTypes
struct MaskingTypes_tF4913BE3D6A47C3AD642902F83C6C52B4A39D2B5
{
// System.Int32 TMPro.MaskingTypes::value__
int32_t ___value___2;
};
// UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
{
// System.IntPtr UnityEngine.Object::m_CachedPtr
intptr_t ___m_CachedPtr_0;
};
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
{
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
};
// Native definition for P/Invoke marshalling of UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
{
intptr_t ___m_CachedPtr_0;
};
// Native definition for COM marshalling of UnityEngine.Object
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
{
intptr_t ___m_CachedPtr_0;
};
// Unity.Profiling.ProfilerMarker
struct ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD
{
// System.IntPtr Unity.Profiling.ProfilerMarker::m_Ptr
intptr_t ___m_Ptr_0;
};
// UnityEngine.Ray
struct Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00
{
// UnityEngine.Vector3 UnityEngine.Ray::m_Origin
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Origin_0;
// UnityEngine.Vector3 UnityEngine.Ray::m_Direction
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Direction_1;
};
// UnityEngine.RaycastHit
struct RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5
{
// UnityEngine.Vector3 UnityEngine.RaycastHit::m_Point
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Point_0;
// UnityEngine.Vector3 UnityEngine.RaycastHit::m_Normal
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Normal_1;
// System.UInt32 UnityEngine.RaycastHit::m_FaceID
uint32_t ___m_FaceID_2;
// System.Single UnityEngine.RaycastHit::m_Distance
float ___m_Distance_3;
// UnityEngine.Vector2 UnityEngine.RaycastHit::m_UV
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_UV_4;
// System.Int32 UnityEngine.RaycastHit::m_Collider
int32_t ___m_Collider_5;
};
// UnityEngine.EventSystems.RaycastResult
struct RaycastResult_tEC6A7B7CABA99C386F054F01E498AEC426CF8023
{
// UnityEngine.GameObject UnityEngine.EventSystems.RaycastResult::m_GameObject
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___m_GameObject_0;
// UnityEngine.EventSystems.BaseRaycaster UnityEngine.EventSystems.RaycastResult::module
BaseRaycaster_t7DC8158FD3CA0193455344379DD5FF7CD5F1F832 * ___module_1;
// System.Single UnityEngine.EventSystems.RaycastResult::distance
float ___distance_2;
// System.Single UnityEngine.EventSystems.RaycastResult::index
float ___index_3;
// System.Int32 UnityEngine.EventSystems.RaycastResult::depth
int32_t ___depth_4;
// System.Int32 UnityEngine.EventSystems.RaycastResult::sortingLayer
int32_t ___sortingLayer_5;
// System.Int32 UnityEngine.EventSystems.RaycastResult::sortingOrder
int32_t ___sortingOrder_6;
// UnityEngine.Vector3 UnityEngine.EventSystems.RaycastResult::worldPosition
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___worldPosition_7;
// UnityEngine.Vector3 UnityEngine.EventSystems.RaycastResult::worldNormal
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___worldNormal_8;
// UnityEngine.Vector2 UnityEngine.EventSystems.RaycastResult::screenPosition
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___screenPosition_9;
// System.Int32 UnityEngine.EventSystems.RaycastResult::displayIndex
int32_t ___displayIndex_10;
};
// Native definition for P/Invoke marshalling of UnityEngine.EventSystems.RaycastResult
struct RaycastResult_tEC6A7B7CABA99C386F054F01E498AEC426CF8023_marshaled_pinvoke
{
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___m_GameObject_0;
BaseRaycaster_t7DC8158FD3CA0193455344379DD5FF7CD5F1F832 * ___module_1;
float ___distance_2;
float ___index_3;
int32_t ___depth_4;
int32_t ___sortingLayer_5;
int32_t ___sortingOrder_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___worldPosition_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___worldNormal_8;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___screenPosition_9;
int32_t ___displayIndex_10;
};
// Native definition for COM marshalling of UnityEngine.EventSystems.RaycastResult
struct RaycastResult_tEC6A7B7CABA99C386F054F01E498AEC426CF8023_marshaled_com
{
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___m_GameObject_0;
BaseRaycaster_t7DC8158FD3CA0193455344379DD5FF7CD5F1F832 * ___module_1;
float ___distance_2;
float ___index_3;
int32_t ___depth_4;
int32_t ___sortingLayer_5;
int32_t ___sortingOrder_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___worldPosition_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___worldNormal_8;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___screenPosition_9;
int32_t ___displayIndex_10;
};
// UnityEngine.RenderMode
struct RenderMode_tB63553E26C26A0B62C47B995F86AC41768494633
{
// System.Int32 UnityEngine.RenderMode::value__
int32_t ___value___2;
};
// UnityEngine.RuntimePlatform
struct RuntimePlatform_t9A8AAF204603076FCAAECCCC05DA386AEE7BF66E
{
// System.Int32 UnityEngine.RuntimePlatform::value__
int32_t ___value___2;
};
// System.RuntimeTypeHandle
struct RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B
{
// System.IntPtr System.RuntimeTypeHandle::value
intptr_t ___value_0;
};
// UnityEngine.Space
struct Space_tF043E93E06B702DD05199C28C6F779049B38A969
{
// System.Int32 UnityEngine.Space::value__
int32_t ___value___2;
};
// TMPro.TMP_TextElementType
struct TMP_TextElementType_t51EE6662436732F22C6B599F5757B7F35F706342
{
// System.Int32 TMPro.TMP_TextElementType::value__
int32_t ___value___2;
};
// TMPro.TMP_TextInfo
struct TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D : public RuntimeObject
{
// TMPro.TMP_Text TMPro.TMP_TextInfo::textComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___textComponent_2;
// System.Int32 TMPro.TMP_TextInfo::characterCount
int32_t ___characterCount_3;
// System.Int32 TMPro.TMP_TextInfo::spriteCount
int32_t ___spriteCount_4;
// System.Int32 TMPro.TMP_TextInfo::spaceCount
int32_t ___spaceCount_5;
// System.Int32 TMPro.TMP_TextInfo::wordCount
int32_t ___wordCount_6;
// System.Int32 TMPro.TMP_TextInfo::linkCount
int32_t ___linkCount_7;
// System.Int32 TMPro.TMP_TextInfo::lineCount
int32_t ___lineCount_8;
// System.Int32 TMPro.TMP_TextInfo::pageCount
int32_t ___pageCount_9;
// System.Int32 TMPro.TMP_TextInfo::materialCount
int32_t ___materialCount_10;
// TMPro.TMP_CharacterInfo[] TMPro.TMP_TextInfo::characterInfo
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* ___characterInfo_11;
// TMPro.TMP_WordInfo[] TMPro.TMP_TextInfo::wordInfo
TMP_WordInfoU5BU5D_tD1759E5A84DCCCD42B718D79E953E72A432BB4DC* ___wordInfo_12;
// TMPro.TMP_LinkInfo[] TMPro.TMP_TextInfo::linkInfo
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* ___linkInfo_13;
// TMPro.TMP_LineInfo[] TMPro.TMP_TextInfo::lineInfo
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* ___lineInfo_14;
// TMPro.TMP_PageInfo[] TMPro.TMP_TextInfo::pageInfo
TMP_PageInfoU5BU5D_tE3DAAA8E2E9147F97C424A9034F677A516E8DAF9* ___pageInfo_15;
// TMPro.TMP_MeshInfo[] TMPro.TMP_TextInfo::meshInfo
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* ___meshInfo_16;
// TMPro.TMP_MeshInfo[] TMPro.TMP_TextInfo::m_CachedMeshInfo
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* ___m_CachedMeshInfo_17;
};
struct TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D_StaticFields
{
// UnityEngine.Vector2 TMPro.TMP_TextInfo::k_InfinityVectorPositive
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___k_InfinityVectorPositive_0;
// UnityEngine.Vector2 TMPro.TMP_TextInfo::k_InfinityVectorNegative
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___k_InfinityVectorNegative_1;
};
// TMPro.TMP_Vertex
struct TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A
{
// UnityEngine.Vector3 TMPro.TMP_Vertex::position
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position_0;
// UnityEngine.Vector2 TMPro.TMP_Vertex::uv
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___uv_1;
// UnityEngine.Vector2 TMPro.TMP_Vertex::uv2
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___uv2_2;
// UnityEngine.Vector2 TMPro.TMP_Vertex::uv4
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___uv4_3;
// UnityEngine.Color32 TMPro.TMP_Vertex::color
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color_4;
};
struct TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A_StaticFields
{
// TMPro.TMP_Vertex TMPro.TMP_Vertex::k_Zero
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___k_Zero_5;
};
// TMPro.TMP_VertexDataUpdateFlags
struct TMP_VertexDataUpdateFlags_tA91AFE49114B3EB1E83C8C6E7BFF2D5CE7991E19
{
// System.Int32 TMPro.TMP_VertexDataUpdateFlags::value__
int32_t ___value___2;
};
// TMPro.TextAlignmentOptions
struct TextAlignmentOptions_tF3FA9020F7E2AF1A48660044540254009A22EF01
{
// System.Int32 TMPro.TextAlignmentOptions::value__
int32_t ___value___2;
};
// UnityEngine.TextAnchor
struct TextAnchor_tA46E794186AC1CD0F22888652F589EBF7DFDF830
{
// System.Int32 UnityEngine.TextAnchor::value__
int32_t ___value___2;
};
// TMPro.TextContainerAnchors
struct TextContainerAnchors_t2302612F55E6CA21EC47E97060282F4D6A8CB959
{
// System.Int32 TMPro.TextContainerAnchors::value__
int32_t ___value___2;
};
// TMPro.TextOverflowModes
struct TextOverflowModes_t7DCCD00C16E3223CE50CDDCC53F785C0405BE203
{
// System.Int32 TMPro.TextOverflowModes::value__
int32_t ___value___2;
};
// TMPro.TextRenderFlags
struct TextRenderFlags_tE023FF398ECFE57A1DBC6FD2A1AF4AE9620F6E1C
{
// System.Int32 TMPro.TextRenderFlags::value__
int32_t ___value___2;
};
// TMPro.TextureMappingOptions
struct TextureMappingOptions_t0E1A47C529DEB45A875486256E7026E97C940DAE
{
// System.Int32 TMPro.TextureMappingOptions::value__
int32_t ___value___2;
};
// UnityEngine.TouchPhase
struct TouchPhase_t54E0A1AF80465997849420A72317B733E1D49A9E
{
// System.Int32 UnityEngine.TouchPhase::value__
int32_t ___value___2;
};
// UnityEngine.TouchScreenKeyboardType
struct TouchScreenKeyboardType_t3F5A06315B263282460BE67DE01393B6FB3780C1
{
// System.Int32 UnityEngine.TouchScreenKeyboardType::value__
int32_t ___value___2;
};
// UnityEngine.TouchType
struct TouchType_t84F82C73BC1A6012141735AD84DA67AA7F7AB43F
{
// System.Int32 UnityEngine.TouchType::value__
int32_t ___value___2;
};
// TMPro.VertexGradient
struct VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F
{
// UnityEngine.Color TMPro.VertexGradient::topLeft
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___topLeft_0;
// UnityEngine.Color TMPro.VertexGradient::topRight
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___topRight_1;
// UnityEngine.Color TMPro.VertexGradient::bottomLeft
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___bottomLeft_2;
// UnityEngine.Color TMPro.VertexGradient::bottomRight
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___bottomRight_3;
};
// TMPro.VertexSortingOrder
struct VertexSortingOrder_t95B7AEDBDCAACC3459B6476E5CCC594A6422FFA8
{
// System.Int32 TMPro.VertexSortingOrder::value__
int32_t ___value___2;
};
// TMPro.VerticalAlignmentOptions
struct VerticalAlignmentOptions_tCEF70AF60282B71AEEE14D51253CE6A61E72D855
{
// System.Int32 TMPro.VerticalAlignmentOptions::value__
int32_t ___value___2;
};
// UnityEngine.WrapMode
struct WrapMode_t6C6EABC32662DF078C3C977196618603C2F3A079
{
// System.Int32 UnityEngine.WrapMode::value__
int32_t ___value___2;
};
// TMPro.Examples.CameraController/CameraModes
struct CameraModes_t6068EDB528ADD814A5D4E622149E8A82033EB109
{
// System.Int32 TMPro.Examples.CameraController/CameraModes::value__
int32_t ___value___2;
};
// EnvMapAnimator/<Start>d__4
struct U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557 : public RuntimeObject
{
// System.Int32 EnvMapAnimator/<Start>d__4::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object EnvMapAnimator/<Start>d__4::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// EnvMapAnimator EnvMapAnimator/<Start>d__4::<>4__this
EnvMapAnimator_tFBDB01D5863979E446E8FF4A3A9C1EA6933D38DB * ___U3CU3E4__this_2;
// UnityEngine.Matrix4x4 EnvMapAnimator/<Start>d__4::<matrix>5__2
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___U3CmatrixU3E5__2_3;
};
// Gate/state
struct state_t57643C7104015047F2AB5A092EA74A00917F260C
{
// System.Int32 Gate/state::value__
int32_t ___value___2;
};
// Gate/type
struct type_t180FCBB2C569C9B97F55FB8A727B3DB685A06DF7
{
// System.Int32 Gate/type::value__
int32_t ___value___2;
};
// IO/logic
struct logic_t8E60803D374FE0A2C1D7DB805F76D0D415042B4D
{
// System.Int32 IO/logic::value__
int32_t ___value___2;
};
// IO/state
struct state_t4A31D7FE5E12F735D90AE94920045F126AA9EF92
{
// System.Int32 IO/state::value__
int32_t ___value___2;
};
// IO/type
struct type_t2C69980820C0BE1F272FC34EAC044DA0815E0321
{
// System.Int32 IO/type::value__
int32_t ___value___2;
};
// UnityEngine.UI.Navigation/Mode
struct Mode_t2D49D0E10E2FDA0026278C2400C16033888D0542
{
// System.Int32 UnityEngine.UI.Navigation/Mode::value__
int32_t ___value___2;
};
// TMPro.Examples.ObjectSpin/MotionType
struct MotionType_t3425B16C734222CD1EEA75586206527582221725
{
// System.Int32 TMPro.Examples.ObjectSpin/MotionType::value__
int32_t ___value___2;
};
// Pin/highOrLow
struct highOrLow_tAE2149DCF381D7ED82BE558F815F5DEFFF29D6CF
{
// System.Int32 Pin/highOrLow::value__
int32_t ___value___2;
};
// Pin/inOut
struct inOut_t661B4E15DB53AF31946DDEAF4157D9CDD8BB3FF8
{
// System.Int32 Pin/inOut::value__
int32_t ___value___2;
};
// UnityEngine.EventSystems.PointerEventData/InputButton
struct InputButton_t7F40241CC7C406EBD574D426F736CB744DE86CDA
{
// System.Int32 UnityEngine.EventSystems.PointerEventData/InputButton::value__
int32_t ___value___2;
};
// UnityEngine.UI.Scrollbar/Direction
struct Direction_t66B968909AA36972158FF8E756987AD7E12896DF
{
// System.Int32 UnityEngine.UI.Scrollbar/Direction::value__
int32_t ___value___2;
};
// UnityEngine.UI.Selectable/Transition
struct Transition_tF856A77C9FAC6D26EA3CA158CF68B739D35397B3
{
// System.Int32 UnityEngine.UI.Selectable/Transition::value__
int32_t ___value___2;
};
// TMPro.Examples.TMP_ExampleScript_01/objectType
struct objectType_t22FECCA5FC8A284C2A5227F34487C962B6493DC1
{
// System.Int32 TMPro.Examples.TMP_ExampleScript_01/objectType::value__
int32_t ___value___2;
};
// TMPro.Examples.TMP_FrameRateCounter/FpsCounterAnchorPositions
struct FpsCounterAnchorPositions_tBAABDF2F6A0A5EFF09DB8200B9E57EC5C8975E2F
{
// System.Int32 TMPro.Examples.TMP_FrameRateCounter/FpsCounterAnchorPositions::value__
int32_t ___value___2;
};
// TMPro.TMP_InputField/CharacterValidation
struct CharacterValidation_t14B82768014D219C74BC91657D6B013A0CAFF2B9
{
// System.Int32 TMPro.TMP_InputField/CharacterValidation::value__
int32_t ___value___2;
};
// TMPro.TMP_InputField/ContentType
struct ContentType_tC6315BB238AB8B34EEAC496ECDA3F92692694276
{
// System.Int32 TMPro.TMP_InputField/ContentType::value__
int32_t ___value___2;
};
// TMPro.TMP_InputField/InputType
struct InputType_tF2224DC7469AAC22BF653D00F6E29F8739175DA1
{
// System.Int32 TMPro.TMP_InputField/InputType::value__
int32_t ___value___2;
};
// TMPro.TMP_InputField/LineType
struct LineType_t004C9AD8E9A2D86ABDE2F2F55F09446F6E46AF6E
{
// System.Int32 TMPro.TMP_InputField/LineType::value__
int32_t ___value___2;
};
// TMPro.TMP_InputField/SubmitEvent
struct SubmitEvent_tF7E2843B6A79D94B8EEEA259707F77BD1773B500 : public UnityEvent_1_tC9859540CF1468306CAB6D758C0A0D95DBCEC257
{
};
// TMPro.TMP_Text/TextInputSources
struct TextInputSources_t41387D6C9CB16E60390F47A15AEB8185BE966D26
{
// System.Int32 TMPro.TMP_Text/TextInputSources::value__
int32_t ___value___2;
};
// TMPro.TMP_TextEventHandler/CharacterSelectionEvent
struct CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 : public UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3
{
};
// TMPro.TMP_TextEventHandler/LineSelectionEvent
struct LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 : public UnityEvent_3_t5EE2DC870C12CB60384C5FCBB0DAD36392E701AD
{
};
// TMPro.TMP_TextEventHandler/LinkSelectionEvent
struct LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D : public UnityEvent_3_t978FAA968D1FEECACADDD0969B822861FA0C6622
{
};
// TMPro.TMP_TextEventHandler/SpriteSelectionEvent
struct SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 : public UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3
{
};
// TMPro.TMP_TextEventHandler/WordSelectionEvent
struct WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E : public UnityEvent_3_t5EE2DC870C12CB60384C5FCBB0DAD36392E701AD
{
};
// TMPro.Examples.TMP_UiFrameRateCounter/FpsCounterAnchorPositions
struct FpsCounterAnchorPositions_tECB1E8C19EAC53C590A4E25B3B8567A47EFB050E
{
// System.Int32 TMPro.Examples.TMP_UiFrameRateCounter/FpsCounterAnchorPositions::value__
int32_t ___value___2;
};
// TMPro.Examples.TMPro_InstructionOverlay/FpsCounterAnchorPositions
struct FpsCounterAnchorPositions_t70AFF825629F4309C78468FD5C8C246ADE4735CA
{
// System.Int32 TMPro.Examples.TMPro_InstructionOverlay/FpsCounterAnchorPositions::value__
int32_t ___value___2;
};
// TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13
struct U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1 : public RuntimeObject
{
// System.Int32 TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.Examples.TextMeshProFloatingText TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::<>4__this
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * ___U3CU3E4__this_2;
// System.Single TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::<CountDuration>5__2
float ___U3CCountDurationU3E5__2_3;
// System.Single TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::<starting_Count>5__3
float ___U3Cstarting_CountU3E5__3_4;
// System.Single TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::<current_Count>5__4
float ___U3Ccurrent_CountU3E5__4_5;
// UnityEngine.Vector3 TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::<start_pos>5__5
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3Cstart_posU3E5__5_6;
// UnityEngine.Color32 TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::<start_color>5__6
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___U3Cstart_colorU3E5__6_7;
// System.Single TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::<alpha>5__7
float ___U3CalphaU3E5__7_8;
// System.Single TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::<fadeDuration>5__8
float ___U3CfadeDurationU3E5__8_9;
};
// TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12
struct U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76 : public RuntimeObject
{
// System.Int32 TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::<>1__state
int32_t ___U3CU3E1__state_0;
// System.Object TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::<>2__current
RuntimeObject * ___U3CU3E2__current_1;
// TMPro.Examples.TextMeshProFloatingText TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::<>4__this
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * ___U3CU3E4__this_2;
// System.Single TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::<CountDuration>5__2
float ___U3CCountDurationU3E5__2_3;
// System.Single TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::<starting_Count>5__3
float ___U3Cstarting_CountU3E5__3_4;
// System.Single TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::<current_Count>5__4
float ___U3Ccurrent_CountU3E5__4_5;
// UnityEngine.Vector3 TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::<start_pos>5__5
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3Cstart_posU3E5__5_6;
// UnityEngine.Color32 TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::<start_color>5__6
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___U3Cstart_colorU3E5__6_7;
// System.Single TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::<alpha>5__7
float ___U3CalphaU3E5__7_8;
// System.Single TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::<fadeDuration>5__8
float ___U3CfadeDurationU3E5__8_9;
};
// Wire/state
struct state_tBC6E0A355D0809BE4F8F5B7DAAFB064C28885055
{
// System.Int32 Wire/state::value__
int32_t ___value___2;
};
// TMPro.TMP_TextProcessingStack`1<TMPro.FontWeight>
struct TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4
{
// T[] TMPro.TMP_TextProcessingStack`1::itemStack
FontWeightU5BU5D_t2A406B5BAB0DD0F06E7F1773DB062E4AF98067BA* ___itemStack_0;
// System.Int32 TMPro.TMP_TextProcessingStack`1::index
int32_t ___index_1;
// T TMPro.TMP_TextProcessingStack`1::m_DefaultItem
int32_t ___m_DefaultItem_2;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Capacity
int32_t ___m_Capacity_3;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_RolloverSize
int32_t ___m_RolloverSize_4;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Count
int32_t ___m_Count_5;
};
// TMPro.TMP_TextProcessingStack`1<TMPro.HighlightState>
struct TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D
{
// T[] TMPro.TMP_TextProcessingStack`1::itemStack
HighlightStateU5BU5D_tA878A0AF1F4F52882ACD29515AADC277EE135622* ___itemStack_0;
// System.Int32 TMPro.TMP_TextProcessingStack`1::index
int32_t ___index_1;
// T TMPro.TMP_TextProcessingStack`1::m_DefaultItem
HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B ___m_DefaultItem_2;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Capacity
int32_t ___m_Capacity_3;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_RolloverSize
int32_t ___m_RolloverSize_4;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Count
int32_t ___m_Count_5;
};
// TMPro.TMP_TextProcessingStack`1<TMPro.HorizontalAlignmentOptions>
struct TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0
{
// T[] TMPro.TMP_TextProcessingStack`1::itemStack
HorizontalAlignmentOptionsU5BU5D_t4D185662282BFB910D8B9A8199E91578E9422658* ___itemStack_0;
// System.Int32 TMPro.TMP_TextProcessingStack`1::index
int32_t ___index_1;
// T TMPro.TMP_TextProcessingStack`1::m_DefaultItem
int32_t ___m_DefaultItem_2;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Capacity
int32_t ___m_Capacity_3;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_RolloverSize
int32_t ___m_RolloverSize_4;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Count
int32_t ___m_Count_5;
};
// UnityEngine.Component
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// UnityEngine.Font
struct Font_tC95270EA3198038970422D78B74A7F2E218A96B6 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
// UnityEngine.Font/FontTextureRebuildCallback UnityEngine.Font::m_FontTextureRebuildCallback
FontTextureRebuildCallback_t76D5E172DF8AA57E67763D453AAC40F0961D09B1 * ___m_FontTextureRebuildCallback_5;
};
struct Font_tC95270EA3198038970422D78B74A7F2E218A96B6_StaticFields
{
// System.Action`1<UnityEngine.Font> UnityEngine.Font::textureRebuilt
Action_1_tD91E4D0ED3C2E385D3BDD4B3EA48B5F99D39F1DC * ___textureRebuilt_4;
};
// UnityEngine.GameObject
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// UnityEngine.Material
struct Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// UnityEngine.Mesh
struct Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates_11;
};
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_11;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_11;
};
// UnityEngine.UI.Navigation
struct Navigation_t4D2E201D65749CF4E104E8AC1232CF1D6F14795C
{
// UnityEngine.UI.Navigation/Mode UnityEngine.UI.Navigation::m_Mode
int32_t ___m_Mode_0;
// System.Boolean UnityEngine.UI.Navigation::m_WrapAround
bool ___m_WrapAround_1;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::m_SelectOnUp
Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 * ___m_SelectOnUp_2;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::m_SelectOnDown
Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 * ___m_SelectOnDown_3;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::m_SelectOnLeft
Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 * ___m_SelectOnLeft_4;
// UnityEngine.UI.Selectable UnityEngine.UI.Navigation::m_SelectOnRight
Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 * ___m_SelectOnRight_5;
};
// Native definition for P/Invoke marshalling of UnityEngine.UI.Navigation
struct Navigation_t4D2E201D65749CF4E104E8AC1232CF1D6F14795C_marshaled_pinvoke
{
int32_t ___m_Mode_0;
int32_t ___m_WrapAround_1;
Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 * ___m_SelectOnUp_2;
Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 * ___m_SelectOnDown_3;
Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 * ___m_SelectOnLeft_4;
Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 * ___m_SelectOnRight_5;
};
// Native definition for COM marshalling of UnityEngine.UI.Navigation
struct Navigation_t4D2E201D65749CF4E104E8AC1232CF1D6F14795C_marshaled_com
{
int32_t ___m_Mode_0;
int32_t ___m_WrapAround_1;
Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 * ___m_SelectOnUp_2;
Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 * ___m_SelectOnDown_3;
Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 * ___m_SelectOnLeft_4;
Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 * ___m_SelectOnRight_5;
};
// UnityEngine.EventSystems.PointerEventData
struct PointerEventData_t9670F3C7D823CCB738A1604C72A1EB90292396FB : public BaseEventData_tE03A848325C0AE8E76C6CA15FD86395EBF83364F
{
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<pointerEnter>k__BackingField
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___U3CpointerEnterU3Ek__BackingField_2;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::m_PointerPress
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___m_PointerPress_3;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<lastPress>k__BackingField
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___U3ClastPressU3Ek__BackingField_4;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<rawPointerPress>k__BackingField
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___U3CrawPointerPressU3Ek__BackingField_5;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<pointerDrag>k__BackingField
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___U3CpointerDragU3Ek__BackingField_6;
// UnityEngine.GameObject UnityEngine.EventSystems.PointerEventData::<pointerClick>k__BackingField
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___U3CpointerClickU3Ek__BackingField_7;
// UnityEngine.EventSystems.RaycastResult UnityEngine.EventSystems.PointerEventData::<pointerCurrentRaycast>k__BackingField
RaycastResult_tEC6A7B7CABA99C386F054F01E498AEC426CF8023 ___U3CpointerCurrentRaycastU3Ek__BackingField_8;
// UnityEngine.EventSystems.RaycastResult UnityEngine.EventSystems.PointerEventData::<pointerPressRaycast>k__BackingField
RaycastResult_tEC6A7B7CABA99C386F054F01E498AEC426CF8023 ___U3CpointerPressRaycastU3Ek__BackingField_9;
// System.Collections.Generic.List`1<UnityEngine.GameObject> UnityEngine.EventSystems.PointerEventData::hovered
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * ___hovered_10;
// System.Boolean UnityEngine.EventSystems.PointerEventData::<eligibleForClick>k__BackingField
bool ___U3CeligibleForClickU3Ek__BackingField_11;
// System.Int32 UnityEngine.EventSystems.PointerEventData::<pointerId>k__BackingField
int32_t ___U3CpointerIdU3Ek__BackingField_12;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<position>k__BackingField
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___U3CpositionU3Ek__BackingField_13;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<delta>k__BackingField
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___U3CdeltaU3Ek__BackingField_14;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<pressPosition>k__BackingField
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___U3CpressPositionU3Ek__BackingField_15;
// UnityEngine.Vector3 UnityEngine.EventSystems.PointerEventData::<worldPosition>k__BackingField
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CworldPositionU3Ek__BackingField_16;
// UnityEngine.Vector3 UnityEngine.EventSystems.PointerEventData::<worldNormal>k__BackingField
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___U3CworldNormalU3Ek__BackingField_17;
// System.Single UnityEngine.EventSystems.PointerEventData::<clickTime>k__BackingField
float ___U3CclickTimeU3Ek__BackingField_18;
// System.Int32 UnityEngine.EventSystems.PointerEventData::<clickCount>k__BackingField
int32_t ___U3CclickCountU3Ek__BackingField_19;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<scrollDelta>k__BackingField
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___U3CscrollDeltaU3Ek__BackingField_20;
// System.Boolean UnityEngine.EventSystems.PointerEventData::<useDragThreshold>k__BackingField
bool ___U3CuseDragThresholdU3Ek__BackingField_21;
// System.Boolean UnityEngine.EventSystems.PointerEventData::<dragging>k__BackingField
bool ___U3CdraggingU3Ek__BackingField_22;
// UnityEngine.EventSystems.PointerEventData/InputButton UnityEngine.EventSystems.PointerEventData::<button>k__BackingField
int32_t ___U3CbuttonU3Ek__BackingField_23;
// System.Single UnityEngine.EventSystems.PointerEventData::<pressure>k__BackingField
float ___U3CpressureU3Ek__BackingField_24;
// System.Single UnityEngine.EventSystems.PointerEventData::<tangentialPressure>k__BackingField
float ___U3CtangentialPressureU3Ek__BackingField_25;
// System.Single UnityEngine.EventSystems.PointerEventData::<altitudeAngle>k__BackingField
float ___U3CaltitudeAngleU3Ek__BackingField_26;
// System.Single UnityEngine.EventSystems.PointerEventData::<azimuthAngle>k__BackingField
float ___U3CazimuthAngleU3Ek__BackingField_27;
// System.Single UnityEngine.EventSystems.PointerEventData::<twist>k__BackingField
float ___U3CtwistU3Ek__BackingField_28;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<radius>k__BackingField
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___U3CradiusU3Ek__BackingField_29;
// UnityEngine.Vector2 UnityEngine.EventSystems.PointerEventData::<radiusVariance>k__BackingField
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___U3CradiusVarianceU3Ek__BackingField_30;
};
// UnityEngine.ScriptableObject
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
{
};
// Native definition for P/Invoke marshalling of UnityEngine.ScriptableObject
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_pinvoke : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
{
};
// Native definition for COM marshalling of UnityEngine.ScriptableObject
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_com : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
{
};
// System.SystemException
struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
{
};
// TMPro.TMP_CharacterInfo
struct TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8
{
// System.Char TMPro.TMP_CharacterInfo::character
Il2CppChar ___character_0;
// System.Int32 TMPro.TMP_CharacterInfo::index
int32_t ___index_1;
// System.Int32 TMPro.TMP_CharacterInfo::stringLength
int32_t ___stringLength_2;
// TMPro.TMP_TextElementType TMPro.TMP_CharacterInfo::elementType
int32_t ___elementType_3;
// TMPro.TMP_TextElement TMPro.TMP_CharacterInfo::textElement
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5 * ___textElement_4;
// TMPro.TMP_FontAsset TMPro.TMP_CharacterInfo::fontAsset
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___fontAsset_5;
// TMPro.TMP_SpriteAsset TMPro.TMP_CharacterInfo::spriteAsset
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 * ___spriteAsset_6;
// System.Int32 TMPro.TMP_CharacterInfo::spriteIndex
int32_t ___spriteIndex_7;
// UnityEngine.Material TMPro.TMP_CharacterInfo::material
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_8;
// System.Int32 TMPro.TMP_CharacterInfo::materialReferenceIndex
int32_t ___materialReferenceIndex_9;
// System.Boolean TMPro.TMP_CharacterInfo::isUsingAlternateTypeface
bool ___isUsingAlternateTypeface_10;
// System.Single TMPro.TMP_CharacterInfo::pointSize
float ___pointSize_11;
// System.Int32 TMPro.TMP_CharacterInfo::lineNumber
int32_t ___lineNumber_12;
// System.Int32 TMPro.TMP_CharacterInfo::pageNumber
int32_t ___pageNumber_13;
// System.Int32 TMPro.TMP_CharacterInfo::vertexIndex
int32_t ___vertexIndex_14;
// TMPro.TMP_Vertex TMPro.TMP_CharacterInfo::vertex_BL
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_BL_15;
// TMPro.TMP_Vertex TMPro.TMP_CharacterInfo::vertex_TL
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_TL_16;
// TMPro.TMP_Vertex TMPro.TMP_CharacterInfo::vertex_TR
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_TR_17;
// TMPro.TMP_Vertex TMPro.TMP_CharacterInfo::vertex_BR
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_BR_18;
// UnityEngine.Vector3 TMPro.TMP_CharacterInfo::topLeft
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___topLeft_19;
// UnityEngine.Vector3 TMPro.TMP_CharacterInfo::bottomLeft
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bottomLeft_20;
// UnityEngine.Vector3 TMPro.TMP_CharacterInfo::topRight
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___topRight_21;
// UnityEngine.Vector3 TMPro.TMP_CharacterInfo::bottomRight
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bottomRight_22;
// System.Single TMPro.TMP_CharacterInfo::origin
float ___origin_23;
// System.Single TMPro.TMP_CharacterInfo::xAdvance
float ___xAdvance_24;
// System.Single TMPro.TMP_CharacterInfo::ascender
float ___ascender_25;
// System.Single TMPro.TMP_CharacterInfo::baseLine
float ___baseLine_26;
// System.Single TMPro.TMP_CharacterInfo::descender
float ___descender_27;
// System.Single TMPro.TMP_CharacterInfo::adjustedAscender
float ___adjustedAscender_28;
// System.Single TMPro.TMP_CharacterInfo::adjustedDescender
float ___adjustedDescender_29;
// System.Single TMPro.TMP_CharacterInfo::aspectRatio
float ___aspectRatio_30;
// System.Single TMPro.TMP_CharacterInfo::scale
float ___scale_31;
// UnityEngine.Color32 TMPro.TMP_CharacterInfo::color
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color_32;
// UnityEngine.Color32 TMPro.TMP_CharacterInfo::underlineColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor_33;
// System.Int32 TMPro.TMP_CharacterInfo::underlineVertexIndex
int32_t ___underlineVertexIndex_34;
// UnityEngine.Color32 TMPro.TMP_CharacterInfo::strikethroughColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___strikethroughColor_35;
// System.Int32 TMPro.TMP_CharacterInfo::strikethroughVertexIndex
int32_t ___strikethroughVertexIndex_36;
// UnityEngine.Color32 TMPro.TMP_CharacterInfo::highlightColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor_37;
// TMPro.HighlightState TMPro.TMP_CharacterInfo::highlightState
HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B ___highlightState_38;
// TMPro.FontStyles TMPro.TMP_CharacterInfo::style
int32_t ___style_39;
// System.Boolean TMPro.TMP_CharacterInfo::isVisible
bool ___isVisible_40;
};
// Native definition for P/Invoke marshalling of TMPro.TMP_CharacterInfo
struct TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8_marshaled_pinvoke
{
uint8_t ___character_0;
int32_t ___index_1;
int32_t ___stringLength_2;
int32_t ___elementType_3;
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5 * ___textElement_4;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___fontAsset_5;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 * ___spriteAsset_6;
int32_t ___spriteIndex_7;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_8;
int32_t ___materialReferenceIndex_9;
int32_t ___isUsingAlternateTypeface_10;
float ___pointSize_11;
int32_t ___lineNumber_12;
int32_t ___pageNumber_13;
int32_t ___vertexIndex_14;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_BL_15;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_TL_16;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_TR_17;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_BR_18;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___topLeft_19;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bottomLeft_20;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___topRight_21;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bottomRight_22;
float ___origin_23;
float ___xAdvance_24;
float ___ascender_25;
float ___baseLine_26;
float ___descender_27;
float ___adjustedAscender_28;
float ___adjustedDescender_29;
float ___aspectRatio_30;
float ___scale_31;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color_32;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor_33;
int32_t ___underlineVertexIndex_34;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___strikethroughColor_35;
int32_t ___strikethroughVertexIndex_36;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor_37;
HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B ___highlightState_38;
int32_t ___style_39;
int32_t ___isVisible_40;
};
// Native definition for COM marshalling of TMPro.TMP_CharacterInfo
struct TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8_marshaled_com
{
uint8_t ___character_0;
int32_t ___index_1;
int32_t ___stringLength_2;
int32_t ___elementType_3;
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5 * ___textElement_4;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___fontAsset_5;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 * ___spriteAsset_6;
int32_t ___spriteIndex_7;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_8;
int32_t ___materialReferenceIndex_9;
int32_t ___isUsingAlternateTypeface_10;
float ___pointSize_11;
int32_t ___lineNumber_12;
int32_t ___pageNumber_13;
int32_t ___vertexIndex_14;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_BL_15;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_TL_16;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_TR_17;
TMP_Vertex_t0FD80AE2515219689310A8F619A265667B530E1A ___vertex_BR_18;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___topLeft_19;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bottomLeft_20;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___topRight_21;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___bottomRight_22;
float ___origin_23;
float ___xAdvance_24;
float ___ascender_25;
float ___baseLine_26;
float ___descender_27;
float ___adjustedAscender_28;
float ___adjustedDescender_29;
float ___aspectRatio_30;
float ___scale_31;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___color_32;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor_33;
int32_t ___underlineVertexIndex_34;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___strikethroughColor_35;
int32_t ___strikethroughVertexIndex_36;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor_37;
HighlightState_tE4F50287E5E2E91D42AB77DEA281D88D3AD6A28B ___highlightState_38;
int32_t ___style_39;
int32_t ___isVisible_40;
};
// TMPro.TMP_LineInfo
struct TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3
{
// System.Int32 TMPro.TMP_LineInfo::controlCharacterCount
int32_t ___controlCharacterCount_0;
// System.Int32 TMPro.TMP_LineInfo::characterCount
int32_t ___characterCount_1;
// System.Int32 TMPro.TMP_LineInfo::visibleCharacterCount
int32_t ___visibleCharacterCount_2;
// System.Int32 TMPro.TMP_LineInfo::spaceCount
int32_t ___spaceCount_3;
// System.Int32 TMPro.TMP_LineInfo::wordCount
int32_t ___wordCount_4;
// System.Int32 TMPro.TMP_LineInfo::firstCharacterIndex
int32_t ___firstCharacterIndex_5;
// System.Int32 TMPro.TMP_LineInfo::firstVisibleCharacterIndex
int32_t ___firstVisibleCharacterIndex_6;
// System.Int32 TMPro.TMP_LineInfo::lastCharacterIndex
int32_t ___lastCharacterIndex_7;
// System.Int32 TMPro.TMP_LineInfo::lastVisibleCharacterIndex
int32_t ___lastVisibleCharacterIndex_8;
// System.Single TMPro.TMP_LineInfo::length
float ___length_9;
// System.Single TMPro.TMP_LineInfo::lineHeight
float ___lineHeight_10;
// System.Single TMPro.TMP_LineInfo::ascender
float ___ascender_11;
// System.Single TMPro.TMP_LineInfo::baseline
float ___baseline_12;
// System.Single TMPro.TMP_LineInfo::descender
float ___descender_13;
// System.Single TMPro.TMP_LineInfo::maxAdvance
float ___maxAdvance_14;
// System.Single TMPro.TMP_LineInfo::width
float ___width_15;
// System.Single TMPro.TMP_LineInfo::marginLeft
float ___marginLeft_16;
// System.Single TMPro.TMP_LineInfo::marginRight
float ___marginRight_17;
// TMPro.HorizontalAlignmentOptions TMPro.TMP_LineInfo::alignment
int32_t ___alignment_18;
// TMPro.Extents TMPro.TMP_LineInfo::lineExtents
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___lineExtents_19;
};
// TMPro.TMP_MeshInfo
struct TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B
{
// UnityEngine.Mesh TMPro.TMP_MeshInfo::mesh
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * ___mesh_4;
// System.Int32 TMPro.TMP_MeshInfo::vertexCount
int32_t ___vertexCount_5;
// UnityEngine.Vector3[] TMPro.TMP_MeshInfo::vertices
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___vertices_6;
// UnityEngine.Vector3[] TMPro.TMP_MeshInfo::normals
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___normals_7;
// UnityEngine.Vector4[] TMPro.TMP_MeshInfo::tangents
Vector4U5BU5D_tC0F3A7115F85007510F6D173968200CD31BCF7AD* ___tangents_8;
// UnityEngine.Vector2[] TMPro.TMP_MeshInfo::uvs0
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___uvs0_9;
// UnityEngine.Vector2[] TMPro.TMP_MeshInfo::uvs2
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___uvs2_10;
// UnityEngine.Color32[] TMPro.TMP_MeshInfo::colors32
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* ___colors32_11;
// System.Int32[] TMPro.TMP_MeshInfo::triangles
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___triangles_12;
// UnityEngine.Material TMPro.TMP_MeshInfo::material
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_13;
};
struct TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B_StaticFields
{
// UnityEngine.Color32 TMPro.TMP_MeshInfo::s_DefaultColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___s_DefaultColor_0;
// UnityEngine.Vector3 TMPro.TMP_MeshInfo::s_DefaultNormal
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___s_DefaultNormal_1;
// UnityEngine.Vector4 TMPro.TMP_MeshInfo::s_DefaultTangent
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___s_DefaultTangent_2;
// UnityEngine.Bounds TMPro.TMP_MeshInfo::s_DefaultBounds
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___s_DefaultBounds_3;
};
// Native definition for P/Invoke marshalling of TMPro.TMP_MeshInfo
struct TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B_marshaled_pinvoke
{
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * ___mesh_4;
int32_t ___vertexCount_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * ___vertices_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * ___normals_7;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 * ___tangents_8;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 * ___uvs0_9;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 * ___uvs2_10;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B * ___colors32_11;
Il2CppSafeArray/*NONE*/* ___triangles_12;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_13;
};
// Native definition for COM marshalling of TMPro.TMP_MeshInfo
struct TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B_marshaled_com
{
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * ___mesh_4;
int32_t ___vertexCount_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * ___vertices_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * ___normals_7;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 * ___tangents_8;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 * ___uvs0_9;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 * ___uvs2_10;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B * ___colors32_11;
Il2CppSafeArray/*NONE*/* ___triangles_12;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_13;
};
// UnityEngine.Touch
struct Touch_t03E51455ED508492B3F278903A0114FA0E87B417
{
// System.Int32 UnityEngine.Touch::m_FingerId
int32_t ___m_FingerId_0;
// UnityEngine.Vector2 UnityEngine.Touch::m_Position
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_Position_1;
// UnityEngine.Vector2 UnityEngine.Touch::m_RawPosition
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_RawPosition_2;
// UnityEngine.Vector2 UnityEngine.Touch::m_PositionDelta
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_PositionDelta_3;
// System.Single UnityEngine.Touch::m_TimeDelta
float ___m_TimeDelta_4;
// System.Int32 UnityEngine.Touch::m_TapCount
int32_t ___m_TapCount_5;
// UnityEngine.TouchPhase UnityEngine.Touch::m_Phase
int32_t ___m_Phase_6;
// UnityEngine.TouchType UnityEngine.Touch::m_Type
int32_t ___m_Type_7;
// System.Single UnityEngine.Touch::m_Pressure
float ___m_Pressure_8;
// System.Single UnityEngine.Touch::m_maximumPossiblePressure
float ___m_maximumPossiblePressure_9;
// System.Single UnityEngine.Touch::m_Radius
float ___m_Radius_10;
// System.Single UnityEngine.Touch::m_RadiusVariance
float ___m_RadiusVariance_11;
// System.Single UnityEngine.Touch::m_AltitudeAngle
float ___m_AltitudeAngle_12;
// System.Single UnityEngine.Touch::m_AzimuthAngle
float ___m_AzimuthAngle_13;
};
// System.Type
struct Type_t : public MemberInfo_t
{
// System.RuntimeTypeHandle System.Type::_impl
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B ____impl_9;
};
struct Type_t_StaticFields
{
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553 * ___FilterAttribute_0;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553 * ___FilterName_1;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553 * ___FilterNameIgnoreCase_2;
// System.Object System.Type::Missing
RuntimeObject * ___Missing_3;
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_4;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB* ___EmptyTypes_5;
// System.Reflection.Binder System.Type::defaultBinder
Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235 * ___defaultBinder_6;
};
// System.Action`1<UnityEngine.Object>
struct Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A : public MulticastDelegate_t
{
};
// UnityEngine.Events.UnityAction`1<System.String>
struct UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B : public MulticastDelegate_t
{
};
// UnityEngine.Events.UnityAction`2<System.Char,System.Int32>
struct UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 : public MulticastDelegate_t
{
};
// UnityEngine.Events.UnityAction`3<System.String,System.Int32,System.Int32>
struct UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 : public MulticastDelegate_t
{
};
// UnityEngine.Events.UnityAction`3<System.String,System.String,System.Int32>
struct UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039 : public MulticastDelegate_t
{
};
// UnityEngine.Behaviour
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
// System.NotSupportedException
struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
{
};
// UnityEngine.Renderer
struct Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
// TMPro.TMP_Asset
struct TMP_Asset_t135A047D4F5CBBA9CD356B762B55AB164122B969 : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
{
// System.Int32 TMPro.TMP_Asset::m_InstanceID
int32_t ___m_InstanceID_4;
// System.Int32 TMPro.TMP_Asset::hashCode
int32_t ___hashCode_5;
// UnityEngine.Material TMPro.TMP_Asset::material
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___material_6;
// System.Int32 TMPro.TMP_Asset::materialHashCode
int32_t ___materialHashCode_7;
};
// TMPro.TMP_InputValidator
struct TMP_InputValidator_t3429AF61284AE19180C3FB81C0C7D2F90165EA98 : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
{
};
// UnityEngine.TextMesh
struct TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
// UnityEngine.Transform
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
{
};
// TMPro.WordWrapState
struct WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A
{
// System.Int32 TMPro.WordWrapState::previous_WordBreak
int32_t ___previous_WordBreak_0;
// System.Int32 TMPro.WordWrapState::total_CharacterCount
int32_t ___total_CharacterCount_1;
// System.Int32 TMPro.WordWrapState::visible_CharacterCount
int32_t ___visible_CharacterCount_2;
// System.Int32 TMPro.WordWrapState::visible_SpriteCount
int32_t ___visible_SpriteCount_3;
// System.Int32 TMPro.WordWrapState::visible_LinkCount
int32_t ___visible_LinkCount_4;
// System.Int32 TMPro.WordWrapState::firstCharacterIndex
int32_t ___firstCharacterIndex_5;
// System.Int32 TMPro.WordWrapState::firstVisibleCharacterIndex
int32_t ___firstVisibleCharacterIndex_6;
// System.Int32 TMPro.WordWrapState::lastCharacterIndex
int32_t ___lastCharacterIndex_7;
// System.Int32 TMPro.WordWrapState::lastVisibleCharIndex
int32_t ___lastVisibleCharIndex_8;
// System.Int32 TMPro.WordWrapState::lineNumber
int32_t ___lineNumber_9;
// System.Single TMPro.WordWrapState::maxCapHeight
float ___maxCapHeight_10;
// System.Single TMPro.WordWrapState::maxAscender
float ___maxAscender_11;
// System.Single TMPro.WordWrapState::maxDescender
float ___maxDescender_12;
// System.Single TMPro.WordWrapState::startOfLineAscender
float ___startOfLineAscender_13;
// System.Single TMPro.WordWrapState::maxLineAscender
float ___maxLineAscender_14;
// System.Single TMPro.WordWrapState::maxLineDescender
float ___maxLineDescender_15;
// System.Single TMPro.WordWrapState::pageAscender
float ___pageAscender_16;
// TMPro.HorizontalAlignmentOptions TMPro.WordWrapState::horizontalAlignment
int32_t ___horizontalAlignment_17;
// System.Single TMPro.WordWrapState::marginLeft
float ___marginLeft_18;
// System.Single TMPro.WordWrapState::marginRight
float ___marginRight_19;
// System.Single TMPro.WordWrapState::xAdvance
float ___xAdvance_20;
// System.Single TMPro.WordWrapState::preferredWidth
float ___preferredWidth_21;
// System.Single TMPro.WordWrapState::preferredHeight
float ___preferredHeight_22;
// System.Single TMPro.WordWrapState::previousLineScale
float ___previousLineScale_23;
// System.Int32 TMPro.WordWrapState::wordCount
int32_t ___wordCount_24;
// TMPro.FontStyles TMPro.WordWrapState::fontStyle
int32_t ___fontStyle_25;
// System.Int32 TMPro.WordWrapState::italicAngle
int32_t ___italicAngle_26;
// System.Single TMPro.WordWrapState::fontScaleMultiplier
float ___fontScaleMultiplier_27;
// System.Single TMPro.WordWrapState::currentFontSize
float ___currentFontSize_28;
// System.Single TMPro.WordWrapState::baselineOffset
float ___baselineOffset_29;
// System.Single TMPro.WordWrapState::lineOffset
float ___lineOffset_30;
// System.Boolean TMPro.WordWrapState::isDrivenLineSpacing
bool ___isDrivenLineSpacing_31;
// System.Single TMPro.WordWrapState::glyphHorizontalAdvanceAdjustment
float ___glyphHorizontalAdvanceAdjustment_32;
// System.Single TMPro.WordWrapState::cSpace
float ___cSpace_33;
// System.Single TMPro.WordWrapState::mSpace
float ___mSpace_34;
// TMPro.TMP_TextInfo TMPro.WordWrapState::textInfo
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * ___textInfo_35;
// TMPro.TMP_LineInfo TMPro.WordWrapState::lineInfo
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 ___lineInfo_36;
// UnityEngine.Color32 TMPro.WordWrapState::vertexColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___vertexColor_37;
// UnityEngine.Color32 TMPro.WordWrapState::underlineColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor_38;
// UnityEngine.Color32 TMPro.WordWrapState::strikethroughColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___strikethroughColor_39;
// UnityEngine.Color32 TMPro.WordWrapState::highlightColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor_40;
// TMPro.TMP_FontStyleStack TMPro.WordWrapState::basicStyleStack
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC ___basicStyleStack_41;
// TMPro.TMP_TextProcessingStack`1<System.Int32> TMPro.WordWrapState::italicAngleStack
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___italicAngleStack_42;
// TMPro.TMP_TextProcessingStack`1<UnityEngine.Color32> TMPro.WordWrapState::colorStack
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___colorStack_43;
// TMPro.TMP_TextProcessingStack`1<UnityEngine.Color32> TMPro.WordWrapState::underlineColorStack
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___underlineColorStack_44;
// TMPro.TMP_TextProcessingStack`1<UnityEngine.Color32> TMPro.WordWrapState::strikethroughColorStack
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___strikethroughColorStack_45;
// TMPro.TMP_TextProcessingStack`1<UnityEngine.Color32> TMPro.WordWrapState::highlightColorStack
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___highlightColorStack_46;
// TMPro.TMP_TextProcessingStack`1<TMPro.HighlightState> TMPro.WordWrapState::highlightStateStack
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D ___highlightStateStack_47;
// TMPro.TMP_TextProcessingStack`1<TMPro.TMP_ColorGradient> TMPro.WordWrapState::colorGradientStack
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C ___colorGradientStack_48;
// TMPro.TMP_TextProcessingStack`1<System.Single> TMPro.WordWrapState::sizeStack
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___sizeStack_49;
// TMPro.TMP_TextProcessingStack`1<System.Single> TMPro.WordWrapState::indentStack
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___indentStack_50;
// TMPro.TMP_TextProcessingStack`1<TMPro.FontWeight> TMPro.WordWrapState::fontWeightStack
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4 ___fontWeightStack_51;
// TMPro.TMP_TextProcessingStack`1<System.Int32> TMPro.WordWrapState::styleStack
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___styleStack_52;
// TMPro.TMP_TextProcessingStack`1<System.Single> TMPro.WordWrapState::baselineStack
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___baselineStack_53;
// TMPro.TMP_TextProcessingStack`1<System.Int32> TMPro.WordWrapState::actionStack
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___actionStack_54;
// TMPro.TMP_TextProcessingStack`1<TMPro.MaterialReference> TMPro.WordWrapState::materialReferenceStack
TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9 ___materialReferenceStack_55;
// TMPro.TMP_TextProcessingStack`1<TMPro.HorizontalAlignmentOptions> TMPro.WordWrapState::lineJustificationStack
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0 ___lineJustificationStack_56;
// System.Int32 TMPro.WordWrapState::spriteAnimationID
int32_t ___spriteAnimationID_57;
// TMPro.TMP_FontAsset TMPro.WordWrapState::currentFontAsset
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___currentFontAsset_58;
// TMPro.TMP_SpriteAsset TMPro.WordWrapState::currentSpriteAsset
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 * ___currentSpriteAsset_59;
// UnityEngine.Material TMPro.WordWrapState::currentMaterial
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___currentMaterial_60;
// System.Int32 TMPro.WordWrapState::currentMaterialIndex
int32_t ___currentMaterialIndex_61;
// TMPro.Extents TMPro.WordWrapState::meshExtents
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___meshExtents_62;
// System.Boolean TMPro.WordWrapState::tagNoParsing
bool ___tagNoParsing_63;
// System.Boolean TMPro.WordWrapState::isNonBreakingSpace
bool ___isNonBreakingSpace_64;
};
// Native definition for P/Invoke marshalling of TMPro.WordWrapState
struct WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A_marshaled_pinvoke
{
int32_t ___previous_WordBreak_0;
int32_t ___total_CharacterCount_1;
int32_t ___visible_CharacterCount_2;
int32_t ___visible_SpriteCount_3;
int32_t ___visible_LinkCount_4;
int32_t ___firstCharacterIndex_5;
int32_t ___firstVisibleCharacterIndex_6;
int32_t ___lastCharacterIndex_7;
int32_t ___lastVisibleCharIndex_8;
int32_t ___lineNumber_9;
float ___maxCapHeight_10;
float ___maxAscender_11;
float ___maxDescender_12;
float ___startOfLineAscender_13;
float ___maxLineAscender_14;
float ___maxLineDescender_15;
float ___pageAscender_16;
int32_t ___horizontalAlignment_17;
float ___marginLeft_18;
float ___marginRight_19;
float ___xAdvance_20;
float ___preferredWidth_21;
float ___preferredHeight_22;
float ___previousLineScale_23;
int32_t ___wordCount_24;
int32_t ___fontStyle_25;
int32_t ___italicAngle_26;
float ___fontScaleMultiplier_27;
float ___currentFontSize_28;
float ___baselineOffset_29;
float ___lineOffset_30;
int32_t ___isDrivenLineSpacing_31;
float ___glyphHorizontalAdvanceAdjustment_32;
float ___cSpace_33;
float ___mSpace_34;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * ___textInfo_35;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 ___lineInfo_36;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___vertexColor_37;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor_38;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___strikethroughColor_39;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor_40;
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC ___basicStyleStack_41;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___italicAngleStack_42;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___colorStack_43;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___underlineColorStack_44;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___strikethroughColorStack_45;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___highlightColorStack_46;
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D ___highlightStateStack_47;
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C ___colorGradientStack_48;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___sizeStack_49;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___indentStack_50;
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4 ___fontWeightStack_51;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___styleStack_52;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___baselineStack_53;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___actionStack_54;
TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9 ___materialReferenceStack_55;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0 ___lineJustificationStack_56;
int32_t ___spriteAnimationID_57;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___currentFontAsset_58;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 * ___currentSpriteAsset_59;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___currentMaterial_60;
int32_t ___currentMaterialIndex_61;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___meshExtents_62;
int32_t ___tagNoParsing_63;
int32_t ___isNonBreakingSpace_64;
};
// Native definition for COM marshalling of TMPro.WordWrapState
struct WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A_marshaled_com
{
int32_t ___previous_WordBreak_0;
int32_t ___total_CharacterCount_1;
int32_t ___visible_CharacterCount_2;
int32_t ___visible_SpriteCount_3;
int32_t ___visible_LinkCount_4;
int32_t ___firstCharacterIndex_5;
int32_t ___firstVisibleCharacterIndex_6;
int32_t ___lastCharacterIndex_7;
int32_t ___lastVisibleCharIndex_8;
int32_t ___lineNumber_9;
float ___maxCapHeight_10;
float ___maxAscender_11;
float ___maxDescender_12;
float ___startOfLineAscender_13;
float ___maxLineAscender_14;
float ___maxLineDescender_15;
float ___pageAscender_16;
int32_t ___horizontalAlignment_17;
float ___marginLeft_18;
float ___marginRight_19;
float ___xAdvance_20;
float ___preferredWidth_21;
float ___preferredHeight_22;
float ___previousLineScale_23;
int32_t ___wordCount_24;
int32_t ___fontStyle_25;
int32_t ___italicAngle_26;
float ___fontScaleMultiplier_27;
float ___currentFontSize_28;
float ___baselineOffset_29;
float ___lineOffset_30;
int32_t ___isDrivenLineSpacing_31;
float ___glyphHorizontalAdvanceAdjustment_32;
float ___cSpace_33;
float ___mSpace_34;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * ___textInfo_35;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 ___lineInfo_36;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___vertexColor_37;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___underlineColor_38;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___strikethroughColor_39;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___highlightColor_40;
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC ___basicStyleStack_41;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___italicAngleStack_42;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___colorStack_43;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___underlineColorStack_44;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___strikethroughColorStack_45;
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___highlightColorStack_46;
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D ___highlightStateStack_47;
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C ___colorGradientStack_48;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___sizeStack_49;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___indentStack_50;
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4 ___fontWeightStack_51;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___styleStack_52;
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___baselineStack_53;
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___actionStack_54;
TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9 ___materialReferenceStack_55;
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0 ___lineJustificationStack_56;
int32_t ___spriteAnimationID_57;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___currentFontAsset_58;
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 * ___currentSpriteAsset_59;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___currentMaterial_60;
int32_t ___currentMaterialIndex_61;
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___meshExtents_62;
int32_t ___tagNoParsing_63;
int32_t ___isNonBreakingSpace_64;
};
// TMPro.TMP_TextProcessingStack`1<TMPro.WordWrapState>
struct TMP_TextProcessingStack_1_t2DDA00FFC64AF6E3AFD475AB2086D16C34787E0F
{
// T[] TMPro.TMP_TextProcessingStack`1::itemStack
WordWrapStateU5BU5D_t473D59C9DBCC949CE72EF1EB471CBA152A6CEAC9* ___itemStack_0;
// System.Int32 TMPro.TMP_TextProcessingStack`1::index
int32_t ___index_1;
// T TMPro.TMP_TextProcessingStack`1::m_DefaultItem
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A ___m_DefaultItem_2;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Capacity
int32_t ___m_Capacity_3;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_RolloverSize
int32_t ___m_RolloverSize_4;
// System.Int32 TMPro.TMP_TextProcessingStack`1::m_Count
int32_t ___m_Count_5;
};
// UnityEngine.Camera
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
{
};
struct Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184_StaticFields
{
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPreCull
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD * ___onPreCull_4;
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPreRender
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD * ___onPreRender_5;
// UnityEngine.Camera/CameraCallback UnityEngine.Camera::onPostRender
CameraCallback_t844E527BFE37BC0495E7F67993E43C07642DA9DD * ___onPostRender_6;
};
// UnityEngine.Canvas
struct Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
{
};
struct Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_StaticFields
{
// UnityEngine.Canvas/WillRenderCanvases UnityEngine.Canvas::preWillRenderCanvases
WillRenderCanvases_tA4A6E66DBA797DCB45B995DBA449A9D1D80D0FBC * ___preWillRenderCanvases_4;
// UnityEngine.Canvas/WillRenderCanvases UnityEngine.Canvas::willRenderCanvases
WillRenderCanvases_tA4A6E66DBA797DCB45B995DBA449A9D1D80D0FBC * ___willRenderCanvases_5;
// System.Action`1<System.Int32> UnityEngine.Canvas::<externBeginRenderOverlays>k__BackingField
Action_1_tD69A6DC9FBE94131E52F5A73B2A9D4AB51EEC404 * ___U3CexternBeginRenderOverlaysU3Ek__BackingField_6;
// System.Action`2<System.Int32,System.Int32> UnityEngine.Canvas::<externRenderOverlaysBefore>k__BackingField
Action_2_tD7438462601D3939500ED67463331FE00CFFBDB8 * ___U3CexternRenderOverlaysBeforeU3Ek__BackingField_7;
// System.Action`1<System.Int32> UnityEngine.Canvas::<externEndRenderOverlays>k__BackingField
Action_1_tD69A6DC9FBE94131E52F5A73B2A9D4AB51EEC404 * ___U3CexternEndRenderOverlaysU3Ek__BackingField_8;
};
// UnityEngine.Light
struct Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
{
// System.Int32 UnityEngine.Light::m_BakedIndex
int32_t ___m_BakedIndex_4;
};
// UnityEngine.MonoBehaviour
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
{
};
// UnityEngine.RectTransform
struct RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 : public Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1
{
};
struct RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_StaticFields
{
// UnityEngine.RectTransform/ReapplyDrivenProperties UnityEngine.RectTransform::reapplyDrivenProperties
ReapplyDrivenProperties_t3482EA130A01FF7EE2EEFE37F66A5215D08CFE24 * ___reapplyDrivenProperties_4;
};
// TMPro.TMP_DigitValidator
struct TMP_DigitValidator_t1C162B062ED9C2BB89E448EAA6D43CC4B82D4B14 : public TMP_InputValidator_t3429AF61284AE19180C3FB81C0C7D2F90165EA98
{
};
// TMPro.TMP_FontAsset
struct TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 : public TMP_Asset_t135A047D4F5CBBA9CD356B762B55AB164122B969
{
// System.String TMPro.TMP_FontAsset::m_Version
String_t* ___m_Version_8;
// System.String TMPro.TMP_FontAsset::m_SourceFontFileGUID
String_t* ___m_SourceFontFileGUID_9;
// UnityEngine.Font TMPro.TMP_FontAsset::m_SourceFontFile
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * ___m_SourceFontFile_10;
// TMPro.AtlasPopulationMode TMPro.TMP_FontAsset::m_AtlasPopulationMode
int32_t ___m_AtlasPopulationMode_11;
// UnityEngine.TextCore.FaceInfo TMPro.TMP_FontAsset::m_FaceInfo
FaceInfo_t12F0319E555A62CBA1D9E51A16C7963393932756 ___m_FaceInfo_12;
// System.Collections.Generic.List`1<UnityEngine.TextCore.Glyph> TMPro.TMP_FontAsset::m_GlyphTable
List_1_t95DB74B8EE315F8F92B7B96D93C901C8C3F6FE2C * ___m_GlyphTable_13;
// System.Collections.Generic.Dictionary`2<System.UInt32,UnityEngine.TextCore.Glyph> TMPro.TMP_FontAsset::m_GlyphLookupDictionary
Dictionary_2_tC61348D10610A6B3D7B65102D82AC3467D59EAA7 * ___m_GlyphLookupDictionary_14;
// System.Collections.Generic.List`1<TMPro.TMP_Character> TMPro.TMP_FontAsset::m_CharacterTable
List_1_tCE1ACAA0C2736A7797B2C134895298CAB10BEB5E * ___m_CharacterTable_15;
// System.Collections.Generic.Dictionary`2<System.UInt32,TMPro.TMP_Character> TMPro.TMP_FontAsset::m_CharacterLookupDictionary
Dictionary_2_tCB5FEF8D6CEA1557D9B9BA25946AD6BF3E6C14D0 * ___m_CharacterLookupDictionary_16;
// UnityEngine.Texture2D TMPro.TMP_FontAsset::m_AtlasTexture
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4 * ___m_AtlasTexture_17;
// UnityEngine.Texture2D[] TMPro.TMP_FontAsset::m_AtlasTextures
Texture2DU5BU5D_t05332F1E3F7D4493E304C702201F9BE4F9236191* ___m_AtlasTextures_18;
// System.Int32 TMPro.TMP_FontAsset::m_AtlasTextureIndex
int32_t ___m_AtlasTextureIndex_19;
// System.Boolean TMPro.TMP_FontAsset::m_IsMultiAtlasTexturesEnabled
bool ___m_IsMultiAtlasTexturesEnabled_20;
// System.Boolean TMPro.TMP_FontAsset::m_ClearDynamicDataOnBuild
bool ___m_ClearDynamicDataOnBuild_21;
// System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect> TMPro.TMP_FontAsset::m_UsedGlyphRects
List_1_t425D3A455811E316D2DF73E46CF9CD90A4341C1B * ___m_UsedGlyphRects_22;
// System.Collections.Generic.List`1<UnityEngine.TextCore.GlyphRect> TMPro.TMP_FontAsset::m_FreeGlyphRects
List_1_t425D3A455811E316D2DF73E46CF9CD90A4341C1B * ___m_FreeGlyphRects_23;
// TMPro.FaceInfo_Legacy TMPro.TMP_FontAsset::m_fontInfo
FaceInfo_Legacy_t23B118EFD5AB7162515ABF18C0212DF155CCF7B8 * ___m_fontInfo_24;
// UnityEngine.Texture2D TMPro.TMP_FontAsset::atlas
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4 * ___atlas_25;
// System.Int32 TMPro.TMP_FontAsset::m_AtlasWidth
int32_t ___m_AtlasWidth_26;
// System.Int32 TMPro.TMP_FontAsset::m_AtlasHeight
int32_t ___m_AtlasHeight_27;
// System.Int32 TMPro.TMP_FontAsset::m_AtlasPadding
int32_t ___m_AtlasPadding_28;
// UnityEngine.TextCore.LowLevel.GlyphRenderMode TMPro.TMP_FontAsset::m_AtlasRenderMode
int32_t ___m_AtlasRenderMode_29;
// System.Collections.Generic.List`1<TMPro.TMP_Glyph> TMPro.TMP_FontAsset::m_glyphInfoList
List_1_tAB7976FADCF872E418770E60783056C23394843D * ___m_glyphInfoList_30;
// TMPro.KerningTable TMPro.TMP_FontAsset::m_KerningTable
KerningTable_t040C3FE3B519B12AADE1C5B00628581551D5AB6B * ___m_KerningTable_31;
// TMPro.TMP_FontFeatureTable TMPro.TMP_FontAsset::m_FontFeatureTable
TMP_FontFeatureTable_t726A09E64FDF682A8FFE294BB6CFE7747F6C40EA * ___m_FontFeatureTable_32;
// System.Collections.Generic.List`1<TMPro.TMP_FontAsset> TMPro.TMP_FontAsset::fallbackFontAssets
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF * ___fallbackFontAssets_33;
// System.Collections.Generic.List`1<TMPro.TMP_FontAsset> TMPro.TMP_FontAsset::m_FallbackFontAssetTable
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF * ___m_FallbackFontAssetTable_34;
// TMPro.FontAssetCreationSettings TMPro.TMP_FontAsset::m_CreationSettings
FontAssetCreationSettings_t2B94078737A72F814E8BC2126F967B94231190DF ___m_CreationSettings_35;
// TMPro.TMP_FontWeightPair[] TMPro.TMP_FontAsset::m_FontWeightTable
TMP_FontWeightPairU5BU5D_t0A3A5955F13FEB2F7329D81BA157110DB99F9F37* ___m_FontWeightTable_36;
// TMPro.TMP_FontWeightPair[] TMPro.TMP_FontAsset::fontWeights
TMP_FontWeightPairU5BU5D_t0A3A5955F13FEB2F7329D81BA157110DB99F9F37* ___fontWeights_37;
// System.Single TMPro.TMP_FontAsset::normalStyle
float ___normalStyle_38;
// System.Single TMPro.TMP_FontAsset::normalSpacingOffset
float ___normalSpacingOffset_39;
// System.Single TMPro.TMP_FontAsset::boldStyle
float ___boldStyle_40;
// System.Single TMPro.TMP_FontAsset::boldSpacing
float ___boldSpacing_41;
// System.Byte TMPro.TMP_FontAsset::italicStyle
uint8_t ___italicStyle_42;
// System.Byte TMPro.TMP_FontAsset::tabSize
uint8_t ___tabSize_43;
// System.Boolean TMPro.TMP_FontAsset::IsFontAssetLookupTablesDirty
bool ___IsFontAssetLookupTablesDirty_44;
// System.Collections.Generic.HashSet`1<System.Int32> TMPro.TMP_FontAsset::FallbackSearchQueryLookup
HashSet_1_t4A2F2B74276D0AD3ED0F873045BD61E9504ECAE2 * ___FallbackSearchQueryLookup_53;
// System.Collections.Generic.List`1<UnityEngine.TextCore.Glyph> TMPro.TMP_FontAsset::m_GlyphsToRender
List_1_t95DB74B8EE315F8F92B7B96D93C901C8C3F6FE2C * ___m_GlyphsToRender_59;
// System.Collections.Generic.List`1<UnityEngine.TextCore.Glyph> TMPro.TMP_FontAsset::m_GlyphsRendered
List_1_t95DB74B8EE315F8F92B7B96D93C901C8C3F6FE2C * ___m_GlyphsRendered_60;
// System.Collections.Generic.List`1<System.UInt32> TMPro.TMP_FontAsset::m_GlyphIndexList
List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A * ___m_GlyphIndexList_61;
// System.Collections.Generic.List`1<System.UInt32> TMPro.TMP_FontAsset::m_GlyphIndexListNewlyAdded
List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A * ___m_GlyphIndexListNewlyAdded_62;
// System.Collections.Generic.List`1<System.UInt32> TMPro.TMP_FontAsset::m_GlyphsToAdd
List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A * ___m_GlyphsToAdd_63;
// System.Collections.Generic.HashSet`1<System.UInt32> TMPro.TMP_FontAsset::m_GlyphsToAddLookup
HashSet_1_t5DD20B42149A11AEBF12A75505306E6EFC34943A * ___m_GlyphsToAddLookup_64;
// System.Collections.Generic.List`1<TMPro.TMP_Character> TMPro.TMP_FontAsset::m_CharactersToAdd
List_1_tCE1ACAA0C2736A7797B2C134895298CAB10BEB5E * ___m_CharactersToAdd_65;
// System.Collections.Generic.HashSet`1<System.UInt32> TMPro.TMP_FontAsset::m_CharactersToAddLookup
HashSet_1_t5DD20B42149A11AEBF12A75505306E6EFC34943A * ___m_CharactersToAddLookup_66;
// System.Collections.Generic.List`1<System.UInt32> TMPro.TMP_FontAsset::s_MissingCharacterList
List_1_t9B68833848E4C4D7F623C05F6B77F0449396354A * ___s_MissingCharacterList_67;
// System.Collections.Generic.HashSet`1<System.UInt32> TMPro.TMP_FontAsset::m_MissingUnicodesFromFontFile
HashSet_1_t5DD20B42149A11AEBF12A75505306E6EFC34943A * ___m_MissingUnicodesFromFontFile_68;
};
struct TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_StaticFields
{
// Unity.Profiling.ProfilerMarker TMPro.TMP_FontAsset::k_ReadFontAssetDefinitionMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_ReadFontAssetDefinitionMarker_45;
// Unity.Profiling.ProfilerMarker TMPro.TMP_FontAsset::k_AddSynthesizedCharactersMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_AddSynthesizedCharactersMarker_46;
// Unity.Profiling.ProfilerMarker TMPro.TMP_FontAsset::k_TryAddCharacterMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_TryAddCharacterMarker_47;
// Unity.Profiling.ProfilerMarker TMPro.TMP_FontAsset::k_TryAddCharactersMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_TryAddCharactersMarker_48;
// Unity.Profiling.ProfilerMarker TMPro.TMP_FontAsset::k_UpdateGlyphAdjustmentRecordsMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_UpdateGlyphAdjustmentRecordsMarker_49;
// Unity.Profiling.ProfilerMarker TMPro.TMP_FontAsset::k_ClearFontAssetDataMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_ClearFontAssetDataMarker_50;
// Unity.Profiling.ProfilerMarker TMPro.TMP_FontAsset::k_UpdateFontAssetDataMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_UpdateFontAssetDataMarker_51;
// System.String TMPro.TMP_FontAsset::s_DefaultMaterialSuffix
String_t* ___s_DefaultMaterialSuffix_52;
// System.Collections.Generic.HashSet`1<System.Int32> TMPro.TMP_FontAsset::k_SearchedFontAssetLookup
HashSet_1_t4A2F2B74276D0AD3ED0F873045BD61E9504ECAE2 * ___k_SearchedFontAssetLookup_54;
// System.Collections.Generic.List`1<TMPro.TMP_FontAsset> TMPro.TMP_FontAsset::k_FontAssets_FontFeaturesUpdateQueue
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF * ___k_FontAssets_FontFeaturesUpdateQueue_55;
// System.Collections.Generic.HashSet`1<System.Int32> TMPro.TMP_FontAsset::k_FontAssets_FontFeaturesUpdateQueueLookup
HashSet_1_t4A2F2B74276D0AD3ED0F873045BD61E9504ECAE2 * ___k_FontAssets_FontFeaturesUpdateQueueLookup_56;
// System.Collections.Generic.List`1<TMPro.TMP_FontAsset> TMPro.TMP_FontAsset::k_FontAssets_AtlasTexturesUpdateQueue
List_1_t06C3ABB0C6F2347B32881E33D154431EADAE3ECF * ___k_FontAssets_AtlasTexturesUpdateQueue_57;
// System.Collections.Generic.HashSet`1<System.Int32> TMPro.TMP_FontAsset::k_FontAssets_AtlasTexturesUpdateQueueLookup
HashSet_1_t4A2F2B74276D0AD3ED0F873045BD61E9504ECAE2 * ___k_FontAssets_AtlasTexturesUpdateQueueLookup_58;
// System.UInt32[] TMPro.TMP_FontAsset::k_GlyphIndexArray
UInt32U5BU5D_t02FBD658AD156A17574ECE6106CF1FBFCC9807FA* ___k_GlyphIndexArray_69;
};
// TMPro.TMP_PhoneNumberValidator
struct TMP_PhoneNumberValidator_t0746D23F4BE9695B737D9997BCD6A3B3F916B48C : public TMP_InputValidator_t3429AF61284AE19180C3FB81C0C7D2F90165EA98
{
};
// TMPro.Examples.Benchmark01
struct Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Int32 TMPro.Examples.Benchmark01::BenchmarkType
int32_t ___BenchmarkType_4;
// TMPro.TMP_FontAsset TMPro.Examples.Benchmark01::TMProFont
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___TMProFont_5;
// UnityEngine.Font TMPro.Examples.Benchmark01::TextMeshFont
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * ___TextMeshFont_6;
// TMPro.TextMeshPro TMPro.Examples.Benchmark01::m_textMeshPro
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * ___m_textMeshPro_7;
// TMPro.TextContainer TMPro.Examples.Benchmark01::m_textContainer
TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C * ___m_textContainer_8;
// UnityEngine.TextMesh TMPro.Examples.Benchmark01::m_textMesh
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * ___m_textMesh_9;
// UnityEngine.Material TMPro.Examples.Benchmark01::m_material01
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___m_material01_12;
// UnityEngine.Material TMPro.Examples.Benchmark01::m_material02
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___m_material02_13;
};
// TMPro.Examples.Benchmark01_UGUI
struct Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Int32 TMPro.Examples.Benchmark01_UGUI::BenchmarkType
int32_t ___BenchmarkType_4;
// UnityEngine.Canvas TMPro.Examples.Benchmark01_UGUI::canvas
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * ___canvas_5;
// TMPro.TMP_FontAsset TMPro.Examples.Benchmark01_UGUI::TMProFont
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___TMProFont_6;
// UnityEngine.Font TMPro.Examples.Benchmark01_UGUI::TextMeshFont
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * ___TextMeshFont_7;
// TMPro.TextMeshProUGUI TMPro.Examples.Benchmark01_UGUI::m_textMeshPro
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * ___m_textMeshPro_8;
// UnityEngine.UI.Text TMPro.Examples.Benchmark01_UGUI::m_textMesh
Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62 * ___m_textMesh_9;
// UnityEngine.Material TMPro.Examples.Benchmark01_UGUI::m_material01
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___m_material01_12;
// UnityEngine.Material TMPro.Examples.Benchmark01_UGUI::m_material02
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___m_material02_13;
};
// TMPro.Examples.Benchmark02
struct Benchmark02_t4F19F4C449CC8F7FAAED31A6C1D03F4192B3C7E8 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Int32 TMPro.Examples.Benchmark02::SpawnType
int32_t ___SpawnType_4;
// System.Int32 TMPro.Examples.Benchmark02::NumberOfNPC
int32_t ___NumberOfNPC_5;
// TMPro.Examples.TextMeshProFloatingText TMPro.Examples.Benchmark02::floatingText_Script
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * ___floatingText_Script_6;
};
// TMPro.Examples.Benchmark03
struct Benchmark03_t20465BC4BB859B19BA37877E83DC8946576C359D : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Int32 TMPro.Examples.Benchmark03::SpawnType
int32_t ___SpawnType_4;
// System.Int32 TMPro.Examples.Benchmark03::NumberOfNPC
int32_t ___NumberOfNPC_5;
// UnityEngine.Font TMPro.Examples.Benchmark03::TheFont
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * ___TheFont_6;
};
// TMPro.Examples.Benchmark04
struct Benchmark04_t10F8FE01330047EC5B83FE59EE23381CD2BE2F01 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Int32 TMPro.Examples.Benchmark04::SpawnType
int32_t ___SpawnType_4;
// System.Int32 TMPro.Examples.Benchmark04::MinPointSize
int32_t ___MinPointSize_5;
// System.Int32 TMPro.Examples.Benchmark04::MaxPointSize
int32_t ___MaxPointSize_6;
// System.Int32 TMPro.Examples.Benchmark04::Steps
int32_t ___Steps_7;
// UnityEngine.Transform TMPro.Examples.Benchmark04::m_Transform
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___m_Transform_8;
};
// TMPro.Examples.CameraController
struct CameraController_t7E0AA7DC0B482A31CC3D60F6032912FE8B581DA8 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// UnityEngine.Transform TMPro.Examples.CameraController::cameraTransform
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___cameraTransform_4;
// UnityEngine.Transform TMPro.Examples.CameraController::dummyTarget
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___dummyTarget_5;
// UnityEngine.Transform TMPro.Examples.CameraController::CameraTarget
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___CameraTarget_6;
// System.Single TMPro.Examples.CameraController::FollowDistance
float ___FollowDistance_7;
// System.Single TMPro.Examples.CameraController::MaxFollowDistance
float ___MaxFollowDistance_8;
// System.Single TMPro.Examples.CameraController::MinFollowDistance
float ___MinFollowDistance_9;
// System.Single TMPro.Examples.CameraController::ElevationAngle
float ___ElevationAngle_10;
// System.Single TMPro.Examples.CameraController::MaxElevationAngle
float ___MaxElevationAngle_11;
// System.Single TMPro.Examples.CameraController::MinElevationAngle
float ___MinElevationAngle_12;
// System.Single TMPro.Examples.CameraController::OrbitalAngle
float ___OrbitalAngle_13;
// TMPro.Examples.CameraController/CameraModes TMPro.Examples.CameraController::CameraMode
int32_t ___CameraMode_14;
// System.Boolean TMPro.Examples.CameraController::MovementSmoothing
bool ___MovementSmoothing_15;
// System.Boolean TMPro.Examples.CameraController::RotationSmoothing
bool ___RotationSmoothing_16;
// System.Boolean TMPro.Examples.CameraController::previousSmoothing
bool ___previousSmoothing_17;
// System.Single TMPro.Examples.CameraController::MovementSmoothingValue
float ___MovementSmoothingValue_18;
// System.Single TMPro.Examples.CameraController::RotationSmoothingValue
float ___RotationSmoothingValue_19;
// System.Single TMPro.Examples.CameraController::MoveSensitivity
float ___MoveSensitivity_20;
// UnityEngine.Vector3 TMPro.Examples.CameraController::currentVelocity
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___currentVelocity_21;
// UnityEngine.Vector3 TMPro.Examples.CameraController::desiredPosition
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___desiredPosition_22;
// System.Single TMPro.Examples.CameraController::mouseX
float ___mouseX_23;
// System.Single TMPro.Examples.CameraController::mouseY
float ___mouseY_24;
// UnityEngine.Vector3 TMPro.Examples.CameraController::moveVector
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___moveVector_25;
// System.Single TMPro.Examples.CameraController::mouseWheel
float ___mouseWheel_26;
};
// ChatController
struct ChatController_t21BE953E1D5ADF0BA9F3B03C205203CADDC64C15 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// TMPro.TMP_InputField ChatController::TMP_ChatInput
TMP_InputField_t3488E0EE8C3DF56C6A328EC95D1BEEA2DF4A7D5F * ___TMP_ChatInput_4;
// TMPro.TMP_Text ChatController::TMP_ChatOutput
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___TMP_ChatOutput_5;
// UnityEngine.UI.Scrollbar ChatController::ChatScrollbar
Scrollbar_t7CDC9B956698D9385A11E4C12964CD51477072C3 * ___ChatScrollbar_6;
};
// DropdownSample
struct DropdownSample_tCE5EBEBD2E880BDC4DF110CCD08388269E021100 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// TMPro.TextMeshProUGUI DropdownSample::text
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * ___text_4;
// TMPro.TMP_Dropdown DropdownSample::dropdownWithoutPlaceholder
TMP_Dropdown_t73B37BFDA0D005451C7B750938AFB1748E5EA504 * ___dropdownWithoutPlaceholder_5;
// TMPro.TMP_Dropdown DropdownSample::dropdownWithPlaceholder
TMP_Dropdown_t73B37BFDA0D005451C7B750938AFB1748E5EA504 * ___dropdownWithPlaceholder_6;
};
// EnvMapAnimator
struct EnvMapAnimator_tFBDB01D5863979E446E8FF4A3A9C1EA6933D38DB : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// UnityEngine.Vector3 EnvMapAnimator::RotationSpeeds
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___RotationSpeeds_4;
// TMPro.TMP_Text EnvMapAnimator::m_textMeshPro
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_textMeshPro_5;
// UnityEngine.Material EnvMapAnimator::m_material
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___m_material_6;
};
// Gate
struct Gate_tD423C3E3C6A390BF4DCC10322CBA2485840FF97A : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Boolean Gate::snapIOToNearestPin
bool ___snapIOToNearestPin_4;
// Gate/state Gate::currentState
int32_t ___currentState_5;
// System.Collections.Generic.List`1<UnityEngine.GameObject> Gate::connectedWires
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * ___connectedWires_6;
// WireManager Gate::manager
WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * ___manager_7;
// System.Collections.Generic.List`1<Pin> Gate::pins
List_1_t76D4836E872FAF2BAF8D35C4F2E4A0CA9082B257 * ___pins_8;
// System.Boolean Gate::noChange
bool ___noChange_9;
// System.Boolean Gate::createdFromCopy
bool ___createdFromCopy_10;
// System.Boolean Gate::loadedFromFile
bool ___loadedFromFile_11;
// Gate/type Gate::gateType
int32_t ___gateType_12;
// UnityEngine.Vector3 Gate::difference
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___difference_13;
// System.Boolean Gate::firstFrame
bool ___firstFrame_14;
// UnityEngine.Vector3 Gate::lastDragPoint
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastDragPoint_15;
// UnityEngine.Vector3 Gate::currentDragPoint
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___currentDragPoint_16;
// UnityEngine.Camera Gate::moveCam
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___moveCam_17;
// Pin/highOrLow Gate::pastactualValue
int32_t ___pastactualValue_18;
// UnityEngine.Vector3 Gate::copyOffset
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___copyOffset_19;
};
// IO
struct IO_tE71A264567A89811655A18F5F4E7D27BBEC1EDA1 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Boolean IO::snapIOToNearestPin
bool ___snapIOToNearestPin_4;
// System.Collections.Generic.List`1<UnityEngine.GameObject> IO::connectedWires
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * ___connectedWires_5;
// WireManager IO::manager
WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * ___manager_6;
// Pin IO::pin
Pin_t436B943A646153A43944025466CB8B68CE763843 * ___pin_7;
// IO/type IO::IOType
int32_t ___IOType_8;
// System.Boolean IO::noChange
bool ___noChange_9;
// System.Boolean IO::connectingWire
bool ___connectingWire_10;
// System.Single IO::clockFrequency
float ___clockFrequency_11;
// System.Boolean IO::clockOn
bool ___clockOn_12;
// UnityEngine.GameObject IO::textField
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___textField_13;
// UnityEngine.GameObject IO::textCanvas
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___textCanvas_14;
// System.Boolean IO::loadedFromFile
bool ___loadedFromFile_15;
// IO/logic IO::log
int32_t ___log_16;
// IO/state IO::currentState
int32_t ___currentState_17;
// System.Boolean IO::createdFromCopy
bool ___createdFromCopy_18;
// UnityEngine.Vector3 IO::copyOffset
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___copyOffset_19;
// UnityEngine.Vector3 IO::difference
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___difference_20;
// System.Boolean IO::firstFrame
bool ___firstFrame_21;
// UnityEngine.Vector3 IO::lastDragPoint
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastDragPoint_22;
// UnityEngine.Vector3 IO::currentDragPoint
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___currentDragPoint_23;
// System.Single IO::lastTime
float ___lastTime_24;
// UnityEngine.Camera IO::moveCam
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___moveCam_25;
};
// TMPro.Examples.ObjectSpin
struct ObjectSpin_tE4A801A6C63FE0773DE2FD043571CB80CC9F194B : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Single TMPro.Examples.ObjectSpin::SpinSpeed
float ___SpinSpeed_4;
// System.Int32 TMPro.Examples.ObjectSpin::RotationRange
int32_t ___RotationRange_5;
// UnityEngine.Transform TMPro.Examples.ObjectSpin::m_transform
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___m_transform_6;
// System.Single TMPro.Examples.ObjectSpin::m_time
float ___m_time_7;
// UnityEngine.Vector3 TMPro.Examples.ObjectSpin::m_prevPOS
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_prevPOS_8;
// UnityEngine.Vector3 TMPro.Examples.ObjectSpin::m_initial_Rotation
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_initial_Rotation_9;
// UnityEngine.Vector3 TMPro.Examples.ObjectSpin::m_initial_Position
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_initial_Position_10;
// UnityEngine.Color32 TMPro.Examples.ObjectSpin::m_lightColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_lightColor_11;
// System.Int32 TMPro.Examples.ObjectSpin::frames
int32_t ___frames_12;
// TMPro.Examples.ObjectSpin/MotionType TMPro.Examples.ObjectSpin::Motion
int32_t ___Motion_13;
};
// Pin
struct Pin_t436B943A646153A43944025466CB8B68CE763843 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// Pin/inOut Pin::IO_Type
int32_t ___IO_Type_4;
// System.Boolean Pin::value
bool ___value_5;
// WireManager Pin::manager
WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * ___manager_6;
// Gate Pin::gate
Gate_tD423C3E3C6A390BF4DCC10322CBA2485840FF97A * ___gate_7;
// IO Pin::io
IO_tE71A264567A89811655A18F5F4E7D27BBEC1EDA1 * ___io_8;
// System.Boolean Pin::gateOrIO
bool ___gateOrIO_9;
// System.Boolean Pin::mouseOver
bool ___mouseOver_10;
// Pin/highOrLow Pin::actualValue
int32_t ___actualValue_11;
// Pin/highOrLow Pin::pastValue
int32_t ___pastValue_12;
// System.Boolean Pin::firstFrame
bool ___firstFrame_13;
};
// TMPro.Examples.ShaderPropAnimator
struct ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// UnityEngine.Renderer TMPro.Examples.ShaderPropAnimator::m_Renderer
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * ___m_Renderer_4;
// UnityEngine.Material TMPro.Examples.ShaderPropAnimator::m_Material
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___m_Material_5;
// UnityEngine.AnimationCurve TMPro.Examples.ShaderPropAnimator::GlowCurve
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * ___GlowCurve_6;
// System.Single TMPro.Examples.ShaderPropAnimator::m_frame
float ___m_frame_7;
};
// TMPro.Examples.SimpleScript
struct SimpleScript_t2024C71CEB7376A61970D719F7476FCEB3390DBF : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// TMPro.TextMeshPro TMPro.Examples.SimpleScript::m_textMeshPro
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * ___m_textMeshPro_4;
// System.Single TMPro.Examples.SimpleScript::m_frame
float ___m_frame_6;
};
// TMPro.Examples.SkewTextExample
struct SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// TMPro.TMP_Text TMPro.Examples.SkewTextExample::m_TextComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_TextComponent_4;
// UnityEngine.AnimationCurve TMPro.Examples.SkewTextExample::VertexCurve
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * ___VertexCurve_5;
// System.Single TMPro.Examples.SkewTextExample::CurveScale
float ___CurveScale_6;
// System.Single TMPro.Examples.SkewTextExample::ShearAmount
float ___ShearAmount_7;
};
// TMPro.Examples.TMP_ExampleScript_01
struct TMP_ExampleScript_01_t12A14830C25DE1BA02443B22907A196BE4B44305 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// TMPro.Examples.TMP_ExampleScript_01/objectType TMPro.Examples.TMP_ExampleScript_01::ObjectType
int32_t ___ObjectType_4;
// System.Boolean TMPro.Examples.TMP_ExampleScript_01::isStatic
bool ___isStatic_5;
// TMPro.TMP_Text TMPro.Examples.TMP_ExampleScript_01::m_text
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_text_6;
// System.Int32 TMPro.Examples.TMP_ExampleScript_01::count
int32_t ___count_8;
};
// TMPro.Examples.TMP_FrameRateCounter
struct TMP_FrameRateCounter_t65C436069EE403C827CBE41C38F5B5C9D2FC946B : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Single TMPro.Examples.TMP_FrameRateCounter::UpdateInterval
float ___UpdateInterval_4;
// System.Single TMPro.Examples.TMP_FrameRateCounter::m_LastInterval
float ___m_LastInterval_5;
// System.Int32 TMPro.Examples.TMP_FrameRateCounter::m_Frames
int32_t ___m_Frames_6;
// TMPro.Examples.TMP_FrameRateCounter/FpsCounterAnchorPositions TMPro.Examples.TMP_FrameRateCounter::AnchorPosition
int32_t ___AnchorPosition_7;
// System.String TMPro.Examples.TMP_FrameRateCounter::htmlColorTag
String_t* ___htmlColorTag_8;
// TMPro.TextMeshPro TMPro.Examples.TMP_FrameRateCounter::m_TextMeshPro
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * ___m_TextMeshPro_10;
// UnityEngine.Transform TMPro.Examples.TMP_FrameRateCounter::m_frameCounter_transform
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___m_frameCounter_transform_11;
// UnityEngine.Camera TMPro.Examples.TMP_FrameRateCounter::m_camera
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___m_camera_12;
// TMPro.Examples.TMP_FrameRateCounter/FpsCounterAnchorPositions TMPro.Examples.TMP_FrameRateCounter::last_AnchorPosition
int32_t ___last_AnchorPosition_13;
};
// TMPro.Examples.TMP_TextEventCheck
struct TMP_TextEventCheck_tC19A6E94690E74ED73926E8EDC5F611501DC6233 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// TMPro.TMP_TextEventHandler TMPro.Examples.TMP_TextEventCheck::TextEventHandler
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * ___TextEventHandler_4;
};
// TMPro.TMP_TextEventHandler
struct TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// TMPro.TMP_TextEventHandler/CharacterSelectionEvent TMPro.TMP_TextEventHandler::m_OnCharacterSelection
CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * ___m_OnCharacterSelection_4;
// TMPro.TMP_TextEventHandler/SpriteSelectionEvent TMPro.TMP_TextEventHandler::m_OnSpriteSelection
SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * ___m_OnSpriteSelection_5;
// TMPro.TMP_TextEventHandler/WordSelectionEvent TMPro.TMP_TextEventHandler::m_OnWordSelection
WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * ___m_OnWordSelection_6;
// TMPro.TMP_TextEventHandler/LineSelectionEvent TMPro.TMP_TextEventHandler::m_OnLineSelection
LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * ___m_OnLineSelection_7;
// TMPro.TMP_TextEventHandler/LinkSelectionEvent TMPro.TMP_TextEventHandler::m_OnLinkSelection
LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * ___m_OnLinkSelection_8;
// TMPro.TMP_Text TMPro.TMP_TextEventHandler::m_TextComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_TextComponent_9;
// UnityEngine.Camera TMPro.TMP_TextEventHandler::m_Camera
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___m_Camera_10;
// UnityEngine.Canvas TMPro.TMP_TextEventHandler::m_Canvas
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * ___m_Canvas_11;
// System.Int32 TMPro.TMP_TextEventHandler::m_selectedLink
int32_t ___m_selectedLink_12;
// System.Int32 TMPro.TMP_TextEventHandler::m_lastCharIndex
int32_t ___m_lastCharIndex_13;
// System.Int32 TMPro.TMP_TextEventHandler::m_lastWordIndex
int32_t ___m_lastWordIndex_14;
// System.Int32 TMPro.TMP_TextEventHandler::m_lastLineIndex
int32_t ___m_lastLineIndex_15;
};
// TMPro.Examples.TMP_TextInfoDebugTool
struct TMP_TextInfoDebugTool_tC8728D25321C0091ECD61B136B0E3A5B4AB4B76F : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
};
// TMPro.Examples.TMP_TextSelector_A
struct TMP_TextSelector_A_t088F530FC9DE9E7B6AC9720D50A05B757189B294 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// TMPro.TextMeshPro TMPro.Examples.TMP_TextSelector_A::m_TextMeshPro
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * ___m_TextMeshPro_4;
// UnityEngine.Camera TMPro.Examples.TMP_TextSelector_A::m_Camera
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___m_Camera_5;
// System.Boolean TMPro.Examples.TMP_TextSelector_A::m_isHoveringObject
bool ___m_isHoveringObject_6;
// System.Int32 TMPro.Examples.TMP_TextSelector_A::m_selectedLink
int32_t ___m_selectedLink_7;
// System.Int32 TMPro.Examples.TMP_TextSelector_A::m_lastCharIndex
int32_t ___m_lastCharIndex_8;
// System.Int32 TMPro.Examples.TMP_TextSelector_A::m_lastWordIndex
int32_t ___m_lastWordIndex_9;
};
// TMPro.Examples.TMP_TextSelector_B
struct TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// UnityEngine.RectTransform TMPro.Examples.TMP_TextSelector_B::TextPopup_Prefab_01
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___TextPopup_Prefab_01_4;
// UnityEngine.RectTransform TMPro.Examples.TMP_TextSelector_B::m_TextPopup_RectTransform
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___m_TextPopup_RectTransform_5;
// TMPro.TextMeshProUGUI TMPro.Examples.TMP_TextSelector_B::m_TextPopup_TMPComponent
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * ___m_TextPopup_TMPComponent_6;
// TMPro.TextMeshProUGUI TMPro.Examples.TMP_TextSelector_B::m_TextMeshPro
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * ___m_TextMeshPro_9;
// UnityEngine.Canvas TMPro.Examples.TMP_TextSelector_B::m_Canvas
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * ___m_Canvas_10;
// UnityEngine.Camera TMPro.Examples.TMP_TextSelector_B::m_Camera
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___m_Camera_11;
// System.Boolean TMPro.Examples.TMP_TextSelector_B::isHoveringObject
bool ___isHoveringObject_12;
// System.Int32 TMPro.Examples.TMP_TextSelector_B::m_selectedWord
int32_t ___m_selectedWord_13;
// System.Int32 TMPro.Examples.TMP_TextSelector_B::m_selectedLink
int32_t ___m_selectedLink_14;
// System.Int32 TMPro.Examples.TMP_TextSelector_B::m_lastIndex
int32_t ___m_lastIndex_15;
// UnityEngine.Matrix4x4 TMPro.Examples.TMP_TextSelector_B::m_matrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_matrix_16;
// TMPro.TMP_MeshInfo[] TMPro.Examples.TMP_TextSelector_B::m_cachedMeshInfoVertexData
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* ___m_cachedMeshInfoVertexData_17;
};
// TMPro.Examples.TMP_UiFrameRateCounter
struct TMP_UiFrameRateCounter_t3CB67462256A3570DFD0BD10261E7CABB11AFC0E : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Single TMPro.Examples.TMP_UiFrameRateCounter::UpdateInterval
float ___UpdateInterval_4;
// System.Single TMPro.Examples.TMP_UiFrameRateCounter::m_LastInterval
float ___m_LastInterval_5;
// System.Int32 TMPro.Examples.TMP_UiFrameRateCounter::m_Frames
int32_t ___m_Frames_6;
// TMPro.Examples.TMP_UiFrameRateCounter/FpsCounterAnchorPositions TMPro.Examples.TMP_UiFrameRateCounter::AnchorPosition
int32_t ___AnchorPosition_7;
// System.String TMPro.Examples.TMP_UiFrameRateCounter::htmlColorTag
String_t* ___htmlColorTag_8;
// TMPro.TextMeshProUGUI TMPro.Examples.TMP_UiFrameRateCounter::m_TextMeshPro
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * ___m_TextMeshPro_10;
// UnityEngine.RectTransform TMPro.Examples.TMP_UiFrameRateCounter::m_frameCounter_transform
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___m_frameCounter_transform_11;
// TMPro.Examples.TMP_UiFrameRateCounter/FpsCounterAnchorPositions TMPro.Examples.TMP_UiFrameRateCounter::last_AnchorPosition
int32_t ___last_AnchorPosition_12;
};
// TMPro.Examples.TMPro_InstructionOverlay
struct TMPro_InstructionOverlay_t1CFD12C64F70D5D2FBE29466015C02776A406B62 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// TMPro.Examples.TMPro_InstructionOverlay/FpsCounterAnchorPositions TMPro.Examples.TMPro_InstructionOverlay::AnchorPosition
int32_t ___AnchorPosition_4;
// TMPro.TextMeshPro TMPro.Examples.TMPro_InstructionOverlay::m_TextMeshPro
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * ___m_TextMeshPro_6;
// TMPro.TextContainer TMPro.Examples.TMPro_InstructionOverlay::m_textContainer
TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C * ___m_textContainer_7;
// UnityEngine.Transform TMPro.Examples.TMPro_InstructionOverlay::m_frameCounter_transform
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___m_frameCounter_transform_8;
// UnityEngine.Camera TMPro.Examples.TMPro_InstructionOverlay::m_camera
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___m_camera_9;
};
// TMPro.Examples.TeleType
struct TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.String TMPro.Examples.TeleType::label01
String_t* ___label01_4;
// System.String TMPro.Examples.TeleType::label02
String_t* ___label02_5;
// TMPro.TMP_Text TMPro.Examples.TeleType::m_textMeshPro
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_textMeshPro_6;
};
// TMPro.Examples.TextConsoleSimulator
struct TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// TMPro.TMP_Text TMPro.Examples.TextConsoleSimulator::m_TextComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_TextComponent_4;
// System.Boolean TMPro.Examples.TextConsoleSimulator::hasTextChanged
bool ___hasTextChanged_5;
};
// TMPro.Examples.TextMeshProFloatingText
struct TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// UnityEngine.Font TMPro.Examples.TextMeshProFloatingText::TheFont
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * ___TheFont_4;
// UnityEngine.GameObject TMPro.Examples.TextMeshProFloatingText::m_floatingText
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___m_floatingText_5;
// TMPro.TextMeshPro TMPro.Examples.TextMeshProFloatingText::m_textMeshPro
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * ___m_textMeshPro_6;
// UnityEngine.TextMesh TMPro.Examples.TextMeshProFloatingText::m_textMesh
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * ___m_textMesh_7;
// UnityEngine.Transform TMPro.Examples.TextMeshProFloatingText::m_transform
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___m_transform_8;
// UnityEngine.Transform TMPro.Examples.TextMeshProFloatingText::m_floatingText_Transform
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___m_floatingText_Transform_9;
// UnityEngine.Transform TMPro.Examples.TextMeshProFloatingText::m_cameraTransform
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___m_cameraTransform_10;
// UnityEngine.Vector3 TMPro.Examples.TextMeshProFloatingText::lastPOS
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lastPOS_11;
// UnityEngine.Quaternion TMPro.Examples.TextMeshProFloatingText::lastRotation
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___lastRotation_12;
// System.Int32 TMPro.Examples.TextMeshProFloatingText::SpawnType
int32_t ___SpawnType_13;
};
// TMPro.Examples.TextMeshSpawner
struct TextMeshSpawner_tB6905931E9BE4D7A2A2E37A51E221A7B462D75BB : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Int32 TMPro.Examples.TextMeshSpawner::SpawnType
int32_t ___SpawnType_4;
// System.Int32 TMPro.Examples.TextMeshSpawner::NumberOfNPC
int32_t ___NumberOfNPC_5;
// UnityEngine.Font TMPro.Examples.TextMeshSpawner::TheFont
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * ___TheFont_6;
// TMPro.Examples.TextMeshProFloatingText TMPro.Examples.TextMeshSpawner::floatingText_Script
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * ___floatingText_Script_7;
};
// UnityEngine.EventSystems.UIBehaviour
struct UIBehaviour_tB9D4295827BD2EEDEF0749200C6CA7090C742A9D : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
};
// TMPro.Examples.VertexColorCycler
struct VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// TMPro.TMP_Text TMPro.Examples.VertexColorCycler::m_TextComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_TextComponent_4;
};
// TMPro.Examples.VertexJitter
struct VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Single TMPro.Examples.VertexJitter::AngleMultiplier
float ___AngleMultiplier_4;
// System.Single TMPro.Examples.VertexJitter::SpeedMultiplier
float ___SpeedMultiplier_5;
// System.Single TMPro.Examples.VertexJitter::CurveScale
float ___CurveScale_6;
// TMPro.TMP_Text TMPro.Examples.VertexJitter::m_TextComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_TextComponent_7;
// System.Boolean TMPro.Examples.VertexJitter::hasTextChanged
bool ___hasTextChanged_8;
};
// TMPro.Examples.VertexShakeA
struct VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Single TMPro.Examples.VertexShakeA::AngleMultiplier
float ___AngleMultiplier_4;
// System.Single TMPro.Examples.VertexShakeA::SpeedMultiplier
float ___SpeedMultiplier_5;
// System.Single TMPro.Examples.VertexShakeA::ScaleMultiplier
float ___ScaleMultiplier_6;
// System.Single TMPro.Examples.VertexShakeA::RotationMultiplier
float ___RotationMultiplier_7;
// TMPro.TMP_Text TMPro.Examples.VertexShakeA::m_TextComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_TextComponent_8;
// System.Boolean TMPro.Examples.VertexShakeA::hasTextChanged
bool ___hasTextChanged_9;
};
// TMPro.Examples.VertexShakeB
struct VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Single TMPro.Examples.VertexShakeB::AngleMultiplier
float ___AngleMultiplier_4;
// System.Single TMPro.Examples.VertexShakeB::SpeedMultiplier
float ___SpeedMultiplier_5;
// System.Single TMPro.Examples.VertexShakeB::CurveScale
float ___CurveScale_6;
// TMPro.TMP_Text TMPro.Examples.VertexShakeB::m_TextComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_TextComponent_7;
// System.Boolean TMPro.Examples.VertexShakeB::hasTextChanged
bool ___hasTextChanged_8;
};
// Wire
struct Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// Pin Wire::startPin
Pin_t436B943A646153A43944025466CB8B68CE763843 * ___startPin_4;
// Pin Wire::endPin
Pin_t436B943A646153A43944025466CB8B68CE763843 * ___endPin_5;
// Pin Wire::leftPin
Pin_t436B943A646153A43944025466CB8B68CE763843 * ___leftPin_6;
// Pin Wire::rightPin
Pin_t436B943A646153A43944025466CB8B68CE763843 * ___rightPin_7;
// Gate Wire::startGate
Gate_tD423C3E3C6A390BF4DCC10322CBA2485840FF97A * ___startGate_8;
// Gate Wire::endGate
Gate_tD423C3E3C6A390BF4DCC10322CBA2485840FF97A * ___endGate_9;
// IO Wire::startIO
IO_tE71A264567A89811655A18F5F4E7D27BBEC1EDA1 * ___startIO_10;
// IO Wire::endIO
IO_tE71A264567A89811655A18F5F4E7D27BBEC1EDA1 * ___endIO_11;
// System.Single Wire::curveSize
float ___curveSize_12;
// UnityEngine.MeshCollider Wire::meshCollide
MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455 * ___meshCollide_13;
// WireManager Wire::manager
WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * ___manager_14;
// UnityEngine.GameObject Wire::empty
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___empty_15;
// System.Collections.Generic.List`1<UnityEngine.Vector2> Wire::anchorPoints
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * ___anchorPoints_16;
// System.Int32 Wire::propogateResolution
int32_t ___propogateResolution_17;
// System.Collections.Generic.List`1<UnityEngine.Vector2> Wire::drawPoints
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * ___drawPoints_18;
// System.Collections.Generic.List`1<UnityEngine.Vector2> Wire::drawPointsCopy1
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * ___drawPointsCopy1_19;
// System.Collections.Generic.List`1<UnityEngine.Vector2> Wire::drawPointsCopy2
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * ___drawPointsCopy2_20;
// System.Collections.Generic.List`1<UnityEngine.Vector2> Wire::drawPointsRed
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * ___drawPointsRed_21;
// System.Int32 Wire::resolution
int32_t ___resolution_22;
// Wire/state Wire::currentState
int32_t ___currentState_23;
// System.Boolean Wire::lineDrawn
bool ___lineDrawn_24;
// System.Single Wire::distance
float ___distance_25;
// UnityEngine.Vector3 Wire::drawingPoint
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___drawingPoint_26;
// System.Boolean Wire::highOrLow
bool ___highOrLow_27;
// System.Boolean Wire::immediateSim
bool ___immediateSim_28;
// System.Int32 Wire::j
int32_t ___j_29;
// System.Int32 Wire::k
int32_t ___k_30;
// UnityEngine.LineRenderer Wire::line
LineRenderer_tEFEF960672DB69CB14B6D181FAE6292F0CF8B63D * ___line_31;
// UnityEngine.LineRenderer Wire::lineRed
LineRenderer_tEFEF960672DB69CB14B6D181FAE6292F0CF8B63D * ___lineRed_32;
// System.Int32 Wire::steps
int32_t ___steps_33;
// System.Int32 Wire::timestep1
int32_t ___timestep1_34;
// System.Int32 Wire::timestep2
int32_t ___timestep2_35;
// System.Boolean Wire::loadedFromFile
bool ___loadedFromFile_36;
// UnityEngine.Camera Wire::moveCam
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___moveCam_37;
// System.Boolean Wire::createdFromCopy
bool ___createdFromCopy_38;
// UnityEngine.Mesh Wire::mesh
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * ___mesh_39;
};
// WireManager
struct WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
{
// System.Collections.Generic.List`1<UnityEngine.GameObject> WireManager::wires
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * ___wires_4;
// UnityEngine.GameObject WireManager::wire
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___wire_5;
};
// UnityEngine.UI.Graphic
struct Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931 : public UIBehaviour_tB9D4295827BD2EEDEF0749200C6CA7090C742A9D
{
// UnityEngine.Material UnityEngine.UI.Graphic::m_Material
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___m_Material_6;
// UnityEngine.Color UnityEngine.UI.Graphic::m_Color
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_Color_7;
// System.Boolean UnityEngine.UI.Graphic::m_SkipLayoutUpdate
bool ___m_SkipLayoutUpdate_8;
// System.Boolean UnityEngine.UI.Graphic::m_SkipMaterialUpdate
bool ___m_SkipMaterialUpdate_9;
// System.Boolean UnityEngine.UI.Graphic::m_RaycastTarget
bool ___m_RaycastTarget_10;
// UnityEngine.Vector4 UnityEngine.UI.Graphic::m_RaycastPadding
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___m_RaycastPadding_11;
// UnityEngine.RectTransform UnityEngine.UI.Graphic::m_RectTransform
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___m_RectTransform_12;
// UnityEngine.CanvasRenderer UnityEngine.UI.Graphic::m_CanvasRenderer
CanvasRenderer_tAB9A55A976C4E3B2B37D0CE5616E5685A8B43860 * ___m_CanvasRenderer_13;
// UnityEngine.Canvas UnityEngine.UI.Graphic::m_Canvas
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * ___m_Canvas_14;
// System.Boolean UnityEngine.UI.Graphic::m_VertsDirty
bool ___m_VertsDirty_15;
// System.Boolean UnityEngine.UI.Graphic::m_MaterialDirty
bool ___m_MaterialDirty_16;
// UnityEngine.Events.UnityAction UnityEngine.UI.Graphic::m_OnDirtyLayoutCallback
UnityAction_t11A1F3B953B365C072A5DCC32677EE1796A962A7 * ___m_OnDirtyLayoutCallback_17;
// UnityEngine.Events.UnityAction UnityEngine.UI.Graphic::m_OnDirtyVertsCallback
UnityAction_t11A1F3B953B365C072A5DCC32677EE1796A962A7 * ___m_OnDirtyVertsCallback_18;
// UnityEngine.Events.UnityAction UnityEngine.UI.Graphic::m_OnDirtyMaterialCallback
UnityAction_t11A1F3B953B365C072A5DCC32677EE1796A962A7 * ___m_OnDirtyMaterialCallback_19;
// UnityEngine.Mesh UnityEngine.UI.Graphic::m_CachedMesh
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * ___m_CachedMesh_22;
// UnityEngine.Vector2[] UnityEngine.UI.Graphic::m_CachedUvs
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___m_CachedUvs_23;
// UnityEngine.UI.CoroutineTween.TweenRunner`1<UnityEngine.UI.CoroutineTween.ColorTween> UnityEngine.UI.Graphic::m_ColorTweenRunner
TweenRunner_1_t5BB0582F926E75E2FE795492679A6CF55A4B4BC4 * ___m_ColorTweenRunner_24;
// System.Boolean UnityEngine.UI.Graphic::<useLegacyMeshGeneration>k__BackingField
bool ___U3CuseLegacyMeshGenerationU3Ek__BackingField_25;
};
struct Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931_StaticFields
{
// UnityEngine.Material UnityEngine.UI.Graphic::s_DefaultUI
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___s_DefaultUI_4;
// UnityEngine.Texture2D UnityEngine.UI.Graphic::s_WhiteTexture
Texture2D_tE6505BC111DD8A424A9DBE8E05D7D09E11FFFCF4 * ___s_WhiteTexture_5;
// UnityEngine.Mesh UnityEngine.UI.Graphic::s_Mesh
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * ___s_Mesh_20;
// UnityEngine.UI.VertexHelper UnityEngine.UI.Graphic::s_VertexHelper
VertexHelper_tB905FCB02AE67CBEE5F265FE37A5938FC5D136FE * ___s_VertexHelper_21;
};
// UnityEngine.UI.Selectable
struct Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712 : public UIBehaviour_tB9D4295827BD2EEDEF0749200C6CA7090C742A9D
{
// System.Boolean UnityEngine.UI.Selectable::m_EnableCalled
bool ___m_EnableCalled_6;
// UnityEngine.UI.Navigation UnityEngine.UI.Selectable::m_Navigation
Navigation_t4D2E201D65749CF4E104E8AC1232CF1D6F14795C ___m_Navigation_7;
// UnityEngine.UI.Selectable/Transition UnityEngine.UI.Selectable::m_Transition
int32_t ___m_Transition_8;
// UnityEngine.UI.ColorBlock UnityEngine.UI.Selectable::m_Colors
ColorBlock_tDD7C62E7AFE442652FC98F8D058CE8AE6BFD7C11 ___m_Colors_9;
// UnityEngine.UI.SpriteState UnityEngine.UI.Selectable::m_SpriteState
SpriteState_tC8199570BE6337FB5C49347C97892B4222E5AACD ___m_SpriteState_10;
// UnityEngine.UI.AnimationTriggers UnityEngine.UI.Selectable::m_AnimationTriggers
AnimationTriggers_tA0DC06F89C5280C6DD972F6F4C8A56D7F4F79074 * ___m_AnimationTriggers_11;
// System.Boolean UnityEngine.UI.Selectable::m_Interactable
bool ___m_Interactable_12;
// UnityEngine.UI.Graphic UnityEngine.UI.Selectable::m_TargetGraphic
Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931 * ___m_TargetGraphic_13;
// System.Boolean UnityEngine.UI.Selectable::m_GroupsAllowInteraction
bool ___m_GroupsAllowInteraction_14;
// System.Int32 UnityEngine.UI.Selectable::m_CurrentIndex
int32_t ___m_CurrentIndex_15;
// System.Boolean UnityEngine.UI.Selectable::<isPointerInside>k__BackingField
bool ___U3CisPointerInsideU3Ek__BackingField_16;
// System.Boolean UnityEngine.UI.Selectable::<isPointerDown>k__BackingField
bool ___U3CisPointerDownU3Ek__BackingField_17;
// System.Boolean UnityEngine.UI.Selectable::<hasSelection>k__BackingField
bool ___U3ChasSelectionU3Ek__BackingField_18;
// System.Collections.Generic.List`1<UnityEngine.CanvasGroup> UnityEngine.UI.Selectable::m_CanvasGroupCache
List_1_t2CDCA768E7F493F5EDEBC75AEB200FD621354E35 * ___m_CanvasGroupCache_19;
};
struct Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712_StaticFields
{
// UnityEngine.UI.Selectable[] UnityEngine.UI.Selectable::s_Selectables
SelectableU5BU5D_t4160E135F02A40F75A63F787D36F31FEC6FE91A9* ___s_Selectables_4;
// System.Int32 UnityEngine.UI.Selectable::s_SelectableCount
int32_t ___s_SelectableCount_5;
};
// TMPro.TextContainer
struct TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C : public UIBehaviour_tB9D4295827BD2EEDEF0749200C6CA7090C742A9D
{
// System.Boolean TMPro.TextContainer::m_hasChanged
bool ___m_hasChanged_4;
// UnityEngine.Vector2 TMPro.TextContainer::m_pivot
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_pivot_5;
// TMPro.TextContainerAnchors TMPro.TextContainer::m_anchorPosition
int32_t ___m_anchorPosition_6;
// UnityEngine.Rect TMPro.TextContainer::m_rect
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___m_rect_7;
// System.Boolean TMPro.TextContainer::m_isDefaultWidth
bool ___m_isDefaultWidth_8;
// System.Boolean TMPro.TextContainer::m_isDefaultHeight
bool ___m_isDefaultHeight_9;
// System.Boolean TMPro.TextContainer::m_isAutoFitting
bool ___m_isAutoFitting_10;
// UnityEngine.Vector3[] TMPro.TextContainer::m_corners
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___m_corners_11;
// UnityEngine.Vector3[] TMPro.TextContainer::m_worldCorners
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___m_worldCorners_12;
// UnityEngine.Vector4 TMPro.TextContainer::m_margins
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___m_margins_13;
// UnityEngine.RectTransform TMPro.TextContainer::m_rectTransform
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___m_rectTransform_14;
// TMPro.TextMeshPro TMPro.TextContainer::m_textMeshPro
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * ___m_textMeshPro_16;
};
struct TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C_StaticFields
{
// UnityEngine.Vector2 TMPro.TextContainer::k_defaultSize
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___k_defaultSize_15;
};
// UnityEngine.UI.MaskableGraphic
struct MaskableGraphic_tFC5B6BE351C90DE53744DF2A70940242774B361E : public Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931
{
// System.Boolean UnityEngine.UI.MaskableGraphic::m_ShouldRecalculateStencil
bool ___m_ShouldRecalculateStencil_26;
// UnityEngine.Material UnityEngine.UI.MaskableGraphic::m_MaskMaterial
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___m_MaskMaterial_27;
// UnityEngine.UI.RectMask2D UnityEngine.UI.MaskableGraphic::m_ParentMask
RectMask2D_tACF92BE999C791A665BD1ADEABF5BCEB82846670 * ___m_ParentMask_28;
// System.Boolean UnityEngine.UI.MaskableGraphic::m_Maskable
bool ___m_Maskable_29;
// System.Boolean UnityEngine.UI.MaskableGraphic::m_IsMaskingGraphic
bool ___m_IsMaskingGraphic_30;
// System.Boolean UnityEngine.UI.MaskableGraphic::m_IncludeForMasking
bool ___m_IncludeForMasking_31;
// UnityEngine.UI.MaskableGraphic/CullStateChangedEvent UnityEngine.UI.MaskableGraphic::m_OnCullStateChanged
CullStateChangedEvent_t6073CD0D951EC1256BF74B8F9107D68FC89B99B8 * ___m_OnCullStateChanged_32;
// System.Boolean UnityEngine.UI.MaskableGraphic::m_ShouldRecalculate
bool ___m_ShouldRecalculate_33;
// System.Int32 UnityEngine.UI.MaskableGraphic::m_StencilValue
int32_t ___m_StencilValue_34;
// UnityEngine.Vector3[] UnityEngine.UI.MaskableGraphic::m_Corners
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___m_Corners_35;
};
// UnityEngine.UI.Scrollbar
struct Scrollbar_t7CDC9B956698D9385A11E4C12964CD51477072C3 : public Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712
{
// UnityEngine.RectTransform UnityEngine.UI.Scrollbar::m_HandleRect
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___m_HandleRect_20;
// UnityEngine.UI.Scrollbar/Direction UnityEngine.UI.Scrollbar::m_Direction
int32_t ___m_Direction_21;
// System.Single UnityEngine.UI.Scrollbar::m_Value
float ___m_Value_22;
// System.Single UnityEngine.UI.Scrollbar::m_Size
float ___m_Size_23;
// System.Int32 UnityEngine.UI.Scrollbar::m_NumberOfSteps
int32_t ___m_NumberOfSteps_24;
// UnityEngine.UI.Scrollbar/ScrollEvent UnityEngine.UI.Scrollbar::m_OnValueChanged
ScrollEvent_tDDBE21D44D65DF069C54FE3ACF7668D976E6BBB6 * ___m_OnValueChanged_25;
// UnityEngine.RectTransform UnityEngine.UI.Scrollbar::m_ContainerRect
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___m_ContainerRect_26;
// UnityEngine.Vector2 UnityEngine.UI.Scrollbar::m_Offset
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_Offset_27;
// UnityEngine.DrivenRectTransformTracker UnityEngine.UI.Scrollbar::m_Tracker
DrivenRectTransformTracker_tFB0706C933E3C68E4F377C204FCEEF091F1EE0B1 ___m_Tracker_28;
// UnityEngine.Coroutine UnityEngine.UI.Scrollbar::m_PointerDownRepeat
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * ___m_PointerDownRepeat_29;
// System.Boolean UnityEngine.UI.Scrollbar::isPointerDownAndNotDragging
bool ___isPointerDownAndNotDragging_30;
// System.Boolean UnityEngine.UI.Scrollbar::m_DelayedUpdateVisuals
bool ___m_DelayedUpdateVisuals_31;
};
// TMPro.TMP_Dropdown
struct TMP_Dropdown_t73B37BFDA0D005451C7B750938AFB1748E5EA504 : public Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712
{
// UnityEngine.RectTransform TMPro.TMP_Dropdown::m_Template
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___m_Template_20;
// TMPro.TMP_Text TMPro.TMP_Dropdown::m_CaptionText
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_CaptionText_21;
// UnityEngine.UI.Image TMPro.TMP_Dropdown::m_CaptionImage
Image_tBC1D03F63BF71132E9A5E472B8742F172A011E7E * ___m_CaptionImage_22;
// UnityEngine.UI.Graphic TMPro.TMP_Dropdown::m_Placeholder
Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931 * ___m_Placeholder_23;
// TMPro.TMP_Text TMPro.TMP_Dropdown::m_ItemText
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_ItemText_24;
// UnityEngine.UI.Image TMPro.TMP_Dropdown::m_ItemImage
Image_tBC1D03F63BF71132E9A5E472B8742F172A011E7E * ___m_ItemImage_25;
// System.Int32 TMPro.TMP_Dropdown::m_Value
int32_t ___m_Value_26;
// TMPro.TMP_Dropdown/OptionDataList TMPro.TMP_Dropdown::m_Options
OptionDataList_tF66EA4801BFA499F010E6EFF89ED760BF4F0BEE1 * ___m_Options_27;
// TMPro.TMP_Dropdown/DropdownEvent TMPro.TMP_Dropdown::m_OnValueChanged
DropdownEvent_tFD4609E80240BC887A6D31F9F3C252A8A6843E91 * ___m_OnValueChanged_28;
// System.Single TMPro.TMP_Dropdown::m_AlphaFadeSpeed
float ___m_AlphaFadeSpeed_29;
// UnityEngine.GameObject TMPro.TMP_Dropdown::m_Dropdown
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___m_Dropdown_30;
// UnityEngine.GameObject TMPro.TMP_Dropdown::m_Blocker
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___m_Blocker_31;
// System.Collections.Generic.List`1<TMPro.TMP_Dropdown/DropdownItem> TMPro.TMP_Dropdown::m_Items
List_1_tA7EEECF976A6B4957450A4D235070C9324ED1A97 * ___m_Items_32;
// TMPro.TweenRunner`1<TMPro.FloatTween> TMPro.TMP_Dropdown::m_AlphaTweenRunner
TweenRunner_1_tF277B20625C8B1939DC85508C4679C690757395E * ___m_AlphaTweenRunner_33;
// System.Boolean TMPro.TMP_Dropdown::validTemplate
bool ___validTemplate_34;
// UnityEngine.Coroutine TMPro.TMP_Dropdown::m_Coroutine
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * ___m_Coroutine_35;
};
struct TMP_Dropdown_t73B37BFDA0D005451C7B750938AFB1748E5EA504_StaticFields
{
// TMPro.TMP_Dropdown/OptionData TMPro.TMP_Dropdown::s_NoOptionData
OptionData_tFDFBCB4A5FB860E95AE46FDAC112DB4140A8525E * ___s_NoOptionData_36;
};
// TMPro.TMP_InputField
struct TMP_InputField_t3488E0EE8C3DF56C6A328EC95D1BEEA2DF4A7D5F : public Selectable_t3251808068A17B8E92FB33590A4C2FA66D456712
{
// UnityEngine.TouchScreenKeyboard TMPro.TMP_InputField::m_SoftKeyboard
TouchScreenKeyboard_tE87B78A3DAED69816B44C99270A734682E093E7A * ___m_SoftKeyboard_20;
// UnityEngine.RectTransform TMPro.TMP_InputField::m_RectTransform
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___m_RectTransform_22;
// UnityEngine.RectTransform TMPro.TMP_InputField::m_TextViewport
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___m_TextViewport_23;
// UnityEngine.UI.RectMask2D TMPro.TMP_InputField::m_TextComponentRectMask
RectMask2D_tACF92BE999C791A665BD1ADEABF5BCEB82846670 * ___m_TextComponentRectMask_24;
// UnityEngine.UI.RectMask2D TMPro.TMP_InputField::m_TextViewportRectMask
RectMask2D_tACF92BE999C791A665BD1ADEABF5BCEB82846670 * ___m_TextViewportRectMask_25;
// UnityEngine.Rect TMPro.TMP_InputField::m_CachedViewportRect
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___m_CachedViewportRect_26;
// TMPro.TMP_Text TMPro.TMP_InputField::m_TextComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_TextComponent_27;
// UnityEngine.RectTransform TMPro.TMP_InputField::m_TextComponentRectTransform
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___m_TextComponentRectTransform_28;
// UnityEngine.UI.Graphic TMPro.TMP_InputField::m_Placeholder
Graphic_tCBFCA4585A19E2B75465AECFEAC43F4016BF7931 * ___m_Placeholder_29;
// UnityEngine.UI.Scrollbar TMPro.TMP_InputField::m_VerticalScrollbar
Scrollbar_t7CDC9B956698D9385A11E4C12964CD51477072C3 * ___m_VerticalScrollbar_30;
// TMPro.TMP_ScrollbarEventHandler TMPro.TMP_InputField::m_VerticalScrollbarEventHandler
TMP_ScrollbarEventHandler_t84C389ED6800977DAEA8C025E18C9F3321888F4D * ___m_VerticalScrollbarEventHandler_31;
// System.Boolean TMPro.TMP_InputField::m_IsDrivenByLayoutComponents
bool ___m_IsDrivenByLayoutComponents_32;
// UnityEngine.UI.LayoutGroup TMPro.TMP_InputField::m_LayoutGroup
LayoutGroup_t32417833C700E77EDFA7C20034DAFD26604E05CE * ___m_LayoutGroup_33;
// UnityEngine.EventSystems.IScrollHandler TMPro.TMP_InputField::m_IScrollHandlerParent
RuntimeObject* ___m_IScrollHandlerParent_34;
// System.Single TMPro.TMP_InputField::m_ScrollPosition
float ___m_ScrollPosition_35;
// System.Single TMPro.TMP_InputField::m_ScrollSensitivity
float ___m_ScrollSensitivity_36;
// TMPro.TMP_InputField/ContentType TMPro.TMP_InputField::m_ContentType
int32_t ___m_ContentType_37;
// TMPro.TMP_InputField/InputType TMPro.TMP_InputField::m_InputType
int32_t ___m_InputType_38;
// System.Char TMPro.TMP_InputField::m_AsteriskChar
Il2CppChar ___m_AsteriskChar_39;
// UnityEngine.TouchScreenKeyboardType TMPro.TMP_InputField::m_KeyboardType
int32_t ___m_KeyboardType_40;
// TMPro.TMP_InputField/LineType TMPro.TMP_InputField::m_LineType
int32_t ___m_LineType_41;
// System.Boolean TMPro.TMP_InputField::m_HideMobileInput
bool ___m_HideMobileInput_42;
// System.Boolean TMPro.TMP_InputField::m_HideSoftKeyboard
bool ___m_HideSoftKeyboard_43;
// TMPro.TMP_InputField/CharacterValidation TMPro.TMP_InputField::m_CharacterValidation
int32_t ___m_CharacterValidation_44;
// System.String TMPro.TMP_InputField::m_RegexValue
String_t* ___m_RegexValue_45;
// System.Single TMPro.TMP_InputField::m_GlobalPointSize
float ___m_GlobalPointSize_46;
// System.Int32 TMPro.TMP_InputField::m_CharacterLimit
int32_t ___m_CharacterLimit_47;
// TMPro.TMP_InputField/SubmitEvent TMPro.TMP_InputField::m_OnEndEdit
SubmitEvent_tF7E2843B6A79D94B8EEEA259707F77BD1773B500 * ___m_OnEndEdit_48;
// TMPro.TMP_InputField/SubmitEvent TMPro.TMP_InputField::m_OnSubmit
SubmitEvent_tF7E2843B6A79D94B8EEEA259707F77BD1773B500 * ___m_OnSubmit_49;
// TMPro.TMP_InputField/SelectionEvent TMPro.TMP_InputField::m_OnSelect
SelectionEvent_t8FC75B869F70C9F0BF13390AD0237AD310511119 * ___m_OnSelect_50;
// TMPro.TMP_InputField/SelectionEvent TMPro.TMP_InputField::m_OnDeselect
SelectionEvent_t8FC75B869F70C9F0BF13390AD0237AD310511119 * ___m_OnDeselect_51;
// TMPro.TMP_InputField/TextSelectionEvent TMPro.TMP_InputField::m_OnTextSelection
TextSelectionEvent_t6C496DAA6DAF01754C27C58A94A5FBA562BA9401 * ___m_OnTextSelection_52;
// TMPro.TMP_InputField/TextSelectionEvent TMPro.TMP_InputField::m_OnEndTextSelection
TextSelectionEvent_t6C496DAA6DAF01754C27C58A94A5FBA562BA9401 * ___m_OnEndTextSelection_53;
// TMPro.TMP_InputField/OnChangeEvent TMPro.TMP_InputField::m_OnValueChanged
OnChangeEvent_tDBB13012ABF81899E4DFDD82258EB7E9BB7A9F1D * ___m_OnValueChanged_54;
// TMPro.TMP_InputField/TouchScreenKeyboardEvent TMPro.TMP_InputField::m_OnTouchScreenKeyboardStatusChanged
TouchScreenKeyboardEvent_tB9BEBEF5D6F2B52547EF3861FF437AC25BC06AF1 * ___m_OnTouchScreenKeyboardStatusChanged_55;
// TMPro.TMP_InputField/OnValidateInput TMPro.TMP_InputField::m_OnValidateInput
OnValidateInput_t88ECDC5C12A807AF2A5761369563B0FAA6A25530 * ___m_OnValidateInput_56;
// UnityEngine.Color TMPro.TMP_InputField::m_CaretColor
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_CaretColor_57;
// System.Boolean TMPro.TMP_InputField::m_CustomCaretColor
bool ___m_CustomCaretColor_58;
// UnityEngine.Color TMPro.TMP_InputField::m_SelectionColor
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_SelectionColor_59;
// System.String TMPro.TMP_InputField::m_Text
String_t* ___m_Text_60;
// System.Single TMPro.TMP_InputField::m_CaretBlinkRate
float ___m_CaretBlinkRate_61;
// System.Int32 TMPro.TMP_InputField::m_CaretWidth
int32_t ___m_CaretWidth_62;
// System.Boolean TMPro.TMP_InputField::m_ReadOnly
bool ___m_ReadOnly_63;
// System.Boolean TMPro.TMP_InputField::m_RichText
bool ___m_RichText_64;
// System.Int32 TMPro.TMP_InputField::m_StringPosition
int32_t ___m_StringPosition_65;
// System.Int32 TMPro.TMP_InputField::m_StringSelectPosition
int32_t ___m_StringSelectPosition_66;
// System.Int32 TMPro.TMP_InputField::m_CaretPosition
int32_t ___m_CaretPosition_67;
// System.Int32 TMPro.TMP_InputField::m_CaretSelectPosition
int32_t ___m_CaretSelectPosition_68;
// UnityEngine.RectTransform TMPro.TMP_InputField::caretRectTrans
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___caretRectTrans_69;
// UnityEngine.UIVertex[] TMPro.TMP_InputField::m_CursorVerts
UIVertexU5BU5D_tBC532486B45D071A520751A90E819C77BA4E3D2F* ___m_CursorVerts_70;
// UnityEngine.CanvasRenderer TMPro.TMP_InputField::m_CachedInputRenderer
CanvasRenderer_tAB9A55A976C4E3B2B37D0CE5616E5685A8B43860 * ___m_CachedInputRenderer_71;
// UnityEngine.Vector2 TMPro.TMP_InputField::m_LastPosition
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_LastPosition_72;
// UnityEngine.Mesh TMPro.TMP_InputField::m_Mesh
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * ___m_Mesh_73;
// System.Boolean TMPro.TMP_InputField::m_AllowInput
bool ___m_AllowInput_74;
// System.Boolean TMPro.TMP_InputField::m_ShouldActivateNextUpdate
bool ___m_ShouldActivateNextUpdate_75;
// System.Boolean TMPro.TMP_InputField::m_UpdateDrag
bool ___m_UpdateDrag_76;
// System.Boolean TMPro.TMP_InputField::m_DragPositionOutOfBounds
bool ___m_DragPositionOutOfBounds_77;
// System.Boolean TMPro.TMP_InputField::m_CaretVisible
bool ___m_CaretVisible_80;
// UnityEngine.Coroutine TMPro.TMP_InputField::m_BlinkCoroutine
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * ___m_BlinkCoroutine_81;
// System.Single TMPro.TMP_InputField::m_BlinkStartTime
float ___m_BlinkStartTime_82;
// UnityEngine.Coroutine TMPro.TMP_InputField::m_DragCoroutine
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * ___m_DragCoroutine_83;
// System.String TMPro.TMP_InputField::m_OriginalText
String_t* ___m_OriginalText_84;
// System.Boolean TMPro.TMP_InputField::m_WasCanceled
bool ___m_WasCanceled_85;
// System.Boolean TMPro.TMP_InputField::m_HasDoneFocusTransition
bool ___m_HasDoneFocusTransition_86;
// UnityEngine.WaitForSecondsRealtime TMPro.TMP_InputField::m_WaitForSecondsRealtime
WaitForSecondsRealtime_tA8CE0AAB4B0C872B843E7973637037D17682BA01 * ___m_WaitForSecondsRealtime_87;
// System.Boolean TMPro.TMP_InputField::m_PreventCallback
bool ___m_PreventCallback_88;
// System.Boolean TMPro.TMP_InputField::m_TouchKeyboardAllowsInPlaceEditing
bool ___m_TouchKeyboardAllowsInPlaceEditing_89;
// System.Boolean TMPro.TMP_InputField::m_IsTextComponentUpdateRequired
bool ___m_IsTextComponentUpdateRequired_90;
// System.Boolean TMPro.TMP_InputField::m_isLastKeyBackspace
bool ___m_isLastKeyBackspace_91;
// System.Single TMPro.TMP_InputField::m_PointerDownClickStartTime
float ___m_PointerDownClickStartTime_92;
// System.Single TMPro.TMP_InputField::m_KeyDownStartTime
float ___m_KeyDownStartTime_93;
// System.Single TMPro.TMP_InputField::m_DoubleClickDelay
float ___m_DoubleClickDelay_94;
// System.Boolean TMPro.TMP_InputField::m_IsCompositionActive
bool ___m_IsCompositionActive_96;
// System.Boolean TMPro.TMP_InputField::m_ShouldUpdateIMEWindowPosition
bool ___m_ShouldUpdateIMEWindowPosition_97;
// System.Int32 TMPro.TMP_InputField::m_PreviousIMEInsertionLine
int32_t ___m_PreviousIMEInsertionLine_98;
// TMPro.TMP_FontAsset TMPro.TMP_InputField::m_GlobalFontAsset
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___m_GlobalFontAsset_99;
// System.Boolean TMPro.TMP_InputField::m_OnFocusSelectAll
bool ___m_OnFocusSelectAll_100;
// System.Boolean TMPro.TMP_InputField::m_isSelectAll
bool ___m_isSelectAll_101;
// System.Boolean TMPro.TMP_InputField::m_ResetOnDeActivation
bool ___m_ResetOnDeActivation_102;
// System.Boolean TMPro.TMP_InputField::m_SelectionStillActive
bool ___m_SelectionStillActive_103;
// System.Boolean TMPro.TMP_InputField::m_ReleaseSelection
bool ___m_ReleaseSelection_104;
// UnityEngine.GameObject TMPro.TMP_InputField::m_PreviouslySelectedObject
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___m_PreviouslySelectedObject_105;
// System.Boolean TMPro.TMP_InputField::m_RestoreOriginalTextOnEscape
bool ___m_RestoreOriginalTextOnEscape_106;
// System.Boolean TMPro.TMP_InputField::m_isRichTextEditingAllowed
bool ___m_isRichTextEditingAllowed_107;
// System.Int32 TMPro.TMP_InputField::m_LineLimit
int32_t ___m_LineLimit_108;
// TMPro.TMP_InputValidator TMPro.TMP_InputField::m_InputValidator
TMP_InputValidator_t3429AF61284AE19180C3FB81C0C7D2F90165EA98 * ___m_InputValidator_109;
// System.Boolean TMPro.TMP_InputField::m_isSelected
bool ___m_isSelected_110;
// System.Boolean TMPro.TMP_InputField::m_IsStringPositionDirty
bool ___m_IsStringPositionDirty_111;
// System.Boolean TMPro.TMP_InputField::m_IsCaretPositionDirty
bool ___m_IsCaretPositionDirty_112;
// System.Boolean TMPro.TMP_InputField::m_forceRectTransformAdjustment
bool ___m_forceRectTransformAdjustment_113;
// UnityEngine.Event TMPro.TMP_InputField::m_ProcessingEvent
Event_tEBC6F24B56CE22B9C9AD1AC6C24A6B83BC3860CB * ___m_ProcessingEvent_114;
};
struct TMP_InputField_t3488E0EE8C3DF56C6A328EC95D1BEEA2DF4A7D5F_StaticFields
{
// System.Char[] TMPro.TMP_InputField::kSeparators
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___kSeparators_21;
};
// TMPro.TMP_Text
struct TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 : public MaskableGraphic_tFC5B6BE351C90DE53744DF2A70940242774B361E
{
// System.String TMPro.TMP_Text::m_text
String_t* ___m_text_36;
// System.Boolean TMPro.TMP_Text::m_IsTextBackingStringDirty
bool ___m_IsTextBackingStringDirty_37;
// TMPro.ITextPreprocessor TMPro.TMP_Text::m_TextPreprocessor
RuntimeObject* ___m_TextPreprocessor_38;
// System.Boolean TMPro.TMP_Text::m_isRightToLeft
bool ___m_isRightToLeft_39;
// TMPro.TMP_FontAsset TMPro.TMP_Text::m_fontAsset
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___m_fontAsset_40;
// TMPro.TMP_FontAsset TMPro.TMP_Text::m_currentFontAsset
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___m_currentFontAsset_41;
// System.Boolean TMPro.TMP_Text::m_isSDFShader
bool ___m_isSDFShader_42;
// UnityEngine.Material TMPro.TMP_Text::m_sharedMaterial
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___m_sharedMaterial_43;
// UnityEngine.Material TMPro.TMP_Text::m_currentMaterial
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___m_currentMaterial_44;
// System.Int32 TMPro.TMP_Text::m_currentMaterialIndex
int32_t ___m_currentMaterialIndex_48;
// UnityEngine.Material[] TMPro.TMP_Text::m_fontSharedMaterials
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* ___m_fontSharedMaterials_49;
// UnityEngine.Material TMPro.TMP_Text::m_fontMaterial
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___m_fontMaterial_50;
// UnityEngine.Material[] TMPro.TMP_Text::m_fontMaterials
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* ___m_fontMaterials_51;
// System.Boolean TMPro.TMP_Text::m_isMaterialDirty
bool ___m_isMaterialDirty_52;
// UnityEngine.Color32 TMPro.TMP_Text::m_fontColor32
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_fontColor32_53;
// UnityEngine.Color TMPro.TMP_Text::m_fontColor
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___m_fontColor_54;
// UnityEngine.Color32 TMPro.TMP_Text::m_underlineColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_underlineColor_56;
// UnityEngine.Color32 TMPro.TMP_Text::m_strikethroughColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_strikethroughColor_57;
// System.Boolean TMPro.TMP_Text::m_enableVertexGradient
bool ___m_enableVertexGradient_58;
// TMPro.ColorMode TMPro.TMP_Text::m_colorMode
int32_t ___m_colorMode_59;
// TMPro.VertexGradient TMPro.TMP_Text::m_fontColorGradient
VertexGradient_t2C057B53C0EA6E987C2B7BAB0305E686DA1C9A8F ___m_fontColorGradient_60;
// TMPro.TMP_ColorGradient TMPro.TMP_Text::m_fontColorGradientPreset
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB * ___m_fontColorGradientPreset_61;
// TMPro.TMP_SpriteAsset TMPro.TMP_Text::m_spriteAsset
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 * ___m_spriteAsset_62;
// System.Boolean TMPro.TMP_Text::m_tintAllSprites
bool ___m_tintAllSprites_63;
// System.Boolean TMPro.TMP_Text::m_tintSprite
bool ___m_tintSprite_64;
// UnityEngine.Color32 TMPro.TMP_Text::m_spriteColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_spriteColor_65;
// TMPro.TMP_StyleSheet TMPro.TMP_Text::m_StyleSheet
TMP_StyleSheet_t70C71699F5CB2D855C361DBB78A44C901236C859 * ___m_StyleSheet_66;
// TMPro.TMP_Style TMPro.TMP_Text::m_TextStyle
TMP_Style_tA9E5B1B35EBFE24EF980CEA03251B638282E120C * ___m_TextStyle_67;
// System.Int32 TMPro.TMP_Text::m_TextStyleHashCode
int32_t ___m_TextStyleHashCode_68;
// System.Boolean TMPro.TMP_Text::m_overrideHtmlColors
bool ___m_overrideHtmlColors_69;
// UnityEngine.Color32 TMPro.TMP_Text::m_faceColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_faceColor_70;
// UnityEngine.Color32 TMPro.TMP_Text::m_outlineColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_outlineColor_71;
// System.Single TMPro.TMP_Text::m_outlineWidth
float ___m_outlineWidth_72;
// System.Single TMPro.TMP_Text::m_fontSize
float ___m_fontSize_73;
// System.Single TMPro.TMP_Text::m_currentFontSize
float ___m_currentFontSize_74;
// System.Single TMPro.TMP_Text::m_fontSizeBase
float ___m_fontSizeBase_75;
// TMPro.TMP_TextProcessingStack`1<System.Single> TMPro.TMP_Text::m_sizeStack
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___m_sizeStack_76;
// TMPro.FontWeight TMPro.TMP_Text::m_fontWeight
int32_t ___m_fontWeight_77;
// TMPro.FontWeight TMPro.TMP_Text::m_FontWeightInternal
int32_t ___m_FontWeightInternal_78;
// TMPro.TMP_TextProcessingStack`1<TMPro.FontWeight> TMPro.TMP_Text::m_FontWeightStack
TMP_TextProcessingStack_1_tA5C8CED87DD9E73F6359E23B334FFB5B6F813FD4 ___m_FontWeightStack_79;
// System.Boolean TMPro.TMP_Text::m_enableAutoSizing
bool ___m_enableAutoSizing_80;
// System.Single TMPro.TMP_Text::m_maxFontSize
float ___m_maxFontSize_81;
// System.Single TMPro.TMP_Text::m_minFontSize
float ___m_minFontSize_82;
// System.Int32 TMPro.TMP_Text::m_AutoSizeIterationCount
int32_t ___m_AutoSizeIterationCount_83;
// System.Int32 TMPro.TMP_Text::m_AutoSizeMaxIterationCount
int32_t ___m_AutoSizeMaxIterationCount_84;
// System.Boolean TMPro.TMP_Text::m_IsAutoSizePointSizeSet
bool ___m_IsAutoSizePointSizeSet_85;
// System.Single TMPro.TMP_Text::m_fontSizeMin
float ___m_fontSizeMin_86;
// System.Single TMPro.TMP_Text::m_fontSizeMax
float ___m_fontSizeMax_87;
// TMPro.FontStyles TMPro.TMP_Text::m_fontStyle
int32_t ___m_fontStyle_88;
// TMPro.FontStyles TMPro.TMP_Text::m_FontStyleInternal
int32_t ___m_FontStyleInternal_89;
// TMPro.TMP_FontStyleStack TMPro.TMP_Text::m_fontStyleStack
TMP_FontStyleStack_t52885F172FADBC21346C835B5302167BDA8020DC ___m_fontStyleStack_90;
// System.Boolean TMPro.TMP_Text::m_isUsingBold
bool ___m_isUsingBold_91;
// TMPro.HorizontalAlignmentOptions TMPro.TMP_Text::m_HorizontalAlignment
int32_t ___m_HorizontalAlignment_92;
// TMPro.VerticalAlignmentOptions TMPro.TMP_Text::m_VerticalAlignment
int32_t ___m_VerticalAlignment_93;
// TMPro.TextAlignmentOptions TMPro.TMP_Text::m_textAlignment
int32_t ___m_textAlignment_94;
// TMPro.HorizontalAlignmentOptions TMPro.TMP_Text::m_lineJustification
int32_t ___m_lineJustification_95;
// TMPro.TMP_TextProcessingStack`1<TMPro.HorizontalAlignmentOptions> TMPro.TMP_Text::m_lineJustificationStack
TMP_TextProcessingStack_1_t243EA1B5D7FD2295D6533B953F0BBE8F52EFB8A0 ___m_lineJustificationStack_96;
// UnityEngine.Vector3[] TMPro.TMP_Text::m_textContainerLocalCorners
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___m_textContainerLocalCorners_97;
// System.Single TMPro.TMP_Text::m_characterSpacing
float ___m_characterSpacing_98;
// System.Single TMPro.TMP_Text::m_cSpacing
float ___m_cSpacing_99;
// System.Single TMPro.TMP_Text::m_monoSpacing
float ___m_monoSpacing_100;
// System.Single TMPro.TMP_Text::m_wordSpacing
float ___m_wordSpacing_101;
// System.Single TMPro.TMP_Text::m_lineSpacing
float ___m_lineSpacing_102;
// System.Single TMPro.TMP_Text::m_lineSpacingDelta
float ___m_lineSpacingDelta_103;
// System.Single TMPro.TMP_Text::m_lineHeight
float ___m_lineHeight_104;
// System.Boolean TMPro.TMP_Text::m_IsDrivenLineSpacing
bool ___m_IsDrivenLineSpacing_105;
// System.Single TMPro.TMP_Text::m_lineSpacingMax
float ___m_lineSpacingMax_106;
// System.Single TMPro.TMP_Text::m_paragraphSpacing
float ___m_paragraphSpacing_107;
// System.Single TMPro.TMP_Text::m_charWidthMaxAdj
float ___m_charWidthMaxAdj_108;
// System.Single TMPro.TMP_Text::m_charWidthAdjDelta
float ___m_charWidthAdjDelta_109;
// System.Boolean TMPro.TMP_Text::m_enableWordWrapping
bool ___m_enableWordWrapping_110;
// System.Boolean TMPro.TMP_Text::m_isCharacterWrappingEnabled
bool ___m_isCharacterWrappingEnabled_111;
// System.Boolean TMPro.TMP_Text::m_isNonBreakingSpace
bool ___m_isNonBreakingSpace_112;
// System.Boolean TMPro.TMP_Text::m_isIgnoringAlignment
bool ___m_isIgnoringAlignment_113;
// System.Single TMPro.TMP_Text::m_wordWrappingRatios
float ___m_wordWrappingRatios_114;
// TMPro.TextOverflowModes TMPro.TMP_Text::m_overflowMode
int32_t ___m_overflowMode_115;
// System.Int32 TMPro.TMP_Text::m_firstOverflowCharacterIndex
int32_t ___m_firstOverflowCharacterIndex_116;
// TMPro.TMP_Text TMPro.TMP_Text::m_linkedTextComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___m_linkedTextComponent_117;
// TMPro.TMP_Text TMPro.TMP_Text::parentLinkedComponent
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___parentLinkedComponent_118;
// System.Boolean TMPro.TMP_Text::m_isTextTruncated
bool ___m_isTextTruncated_119;
// System.Boolean TMPro.TMP_Text::m_enableKerning
bool ___m_enableKerning_120;
// System.Single TMPro.TMP_Text::m_GlyphHorizontalAdvanceAdjustment
float ___m_GlyphHorizontalAdvanceAdjustment_121;
// System.Boolean TMPro.TMP_Text::m_enableExtraPadding
bool ___m_enableExtraPadding_122;
// System.Boolean TMPro.TMP_Text::checkPaddingRequired
bool ___checkPaddingRequired_123;
// System.Boolean TMPro.TMP_Text::m_isRichText
bool ___m_isRichText_124;
// System.Boolean TMPro.TMP_Text::m_parseCtrlCharacters
bool ___m_parseCtrlCharacters_125;
// System.Boolean TMPro.TMP_Text::m_isOverlay
bool ___m_isOverlay_126;
// System.Boolean TMPro.TMP_Text::m_isOrthographic
bool ___m_isOrthographic_127;
// System.Boolean TMPro.TMP_Text::m_isCullingEnabled
bool ___m_isCullingEnabled_128;
// System.Boolean TMPro.TMP_Text::m_isMaskingEnabled
bool ___m_isMaskingEnabled_129;
// System.Boolean TMPro.TMP_Text::isMaskUpdateRequired
bool ___isMaskUpdateRequired_130;
// System.Boolean TMPro.TMP_Text::m_ignoreCulling
bool ___m_ignoreCulling_131;
// TMPro.TextureMappingOptions TMPro.TMP_Text::m_horizontalMapping
int32_t ___m_horizontalMapping_132;
// TMPro.TextureMappingOptions TMPro.TMP_Text::m_verticalMapping
int32_t ___m_verticalMapping_133;
// System.Single TMPro.TMP_Text::m_uvLineOffset
float ___m_uvLineOffset_134;
// TMPro.TextRenderFlags TMPro.TMP_Text::m_renderMode
int32_t ___m_renderMode_135;
// TMPro.VertexSortingOrder TMPro.TMP_Text::m_geometrySortingOrder
int32_t ___m_geometrySortingOrder_136;
// System.Boolean TMPro.TMP_Text::m_IsTextObjectScaleStatic
bool ___m_IsTextObjectScaleStatic_137;
// System.Boolean TMPro.TMP_Text::m_VertexBufferAutoSizeReduction
bool ___m_VertexBufferAutoSizeReduction_138;
// System.Int32 TMPro.TMP_Text::m_firstVisibleCharacter
int32_t ___m_firstVisibleCharacter_139;
// System.Int32 TMPro.TMP_Text::m_maxVisibleCharacters
int32_t ___m_maxVisibleCharacters_140;
// System.Int32 TMPro.TMP_Text::m_maxVisibleWords
int32_t ___m_maxVisibleWords_141;
// System.Int32 TMPro.TMP_Text::m_maxVisibleLines
int32_t ___m_maxVisibleLines_142;
// System.Boolean TMPro.TMP_Text::m_useMaxVisibleDescender
bool ___m_useMaxVisibleDescender_143;
// System.Int32 TMPro.TMP_Text::m_pageToDisplay
int32_t ___m_pageToDisplay_144;
// System.Boolean TMPro.TMP_Text::m_isNewPage
bool ___m_isNewPage_145;
// UnityEngine.Vector4 TMPro.TMP_Text::m_margin
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___m_margin_146;
// System.Single TMPro.TMP_Text::m_marginLeft
float ___m_marginLeft_147;
// System.Single TMPro.TMP_Text::m_marginRight
float ___m_marginRight_148;
// System.Single TMPro.TMP_Text::m_marginWidth
float ___m_marginWidth_149;
// System.Single TMPro.TMP_Text::m_marginHeight
float ___m_marginHeight_150;
// System.Single TMPro.TMP_Text::m_width
float ___m_width_151;
// TMPro.TMP_TextInfo TMPro.TMP_Text::m_textInfo
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * ___m_textInfo_152;
// System.Boolean TMPro.TMP_Text::m_havePropertiesChanged
bool ___m_havePropertiesChanged_153;
// System.Boolean TMPro.TMP_Text::m_isUsingLegacyAnimationComponent
bool ___m_isUsingLegacyAnimationComponent_154;
// UnityEngine.Transform TMPro.TMP_Text::m_transform
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___m_transform_155;
// UnityEngine.RectTransform TMPro.TMP_Text::m_rectTransform
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___m_rectTransform_156;
// UnityEngine.Vector2 TMPro.TMP_Text::m_PreviousRectTransformSize
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_PreviousRectTransformSize_157;
// UnityEngine.Vector2 TMPro.TMP_Text::m_PreviousPivotPosition
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_PreviousPivotPosition_158;
// System.Boolean TMPro.TMP_Text::<autoSizeTextContainer>k__BackingField
bool ___U3CautoSizeTextContainerU3Ek__BackingField_159;
// System.Boolean TMPro.TMP_Text::m_autoSizeTextContainer
bool ___m_autoSizeTextContainer_160;
// UnityEngine.Mesh TMPro.TMP_Text::m_mesh
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * ___m_mesh_161;
// System.Boolean TMPro.TMP_Text::m_isVolumetricText
bool ___m_isVolumetricText_162;
// System.Action`1<TMPro.TMP_TextInfo> TMPro.TMP_Text::OnPreRenderText
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1 * ___OnPreRenderText_165;
// TMPro.TMP_SpriteAnimator TMPro.TMP_Text::m_spriteAnimator
TMP_SpriteAnimator_t2E0F016A61CA343E3222FF51E7CF0E53F9F256E4 * ___m_spriteAnimator_166;
// System.Single TMPro.TMP_Text::m_flexibleHeight
float ___m_flexibleHeight_167;
// System.Single TMPro.TMP_Text::m_flexibleWidth
float ___m_flexibleWidth_168;
// System.Single TMPro.TMP_Text::m_minWidth
float ___m_minWidth_169;
// System.Single TMPro.TMP_Text::m_minHeight
float ___m_minHeight_170;
// System.Single TMPro.TMP_Text::m_maxWidth
float ___m_maxWidth_171;
// System.Single TMPro.TMP_Text::m_maxHeight
float ___m_maxHeight_172;
// UnityEngine.UI.LayoutElement TMPro.TMP_Text::m_LayoutElement
LayoutElement_tB1F24CC11AF4AA87015C8D8EE06D22349C5BF40A * ___m_LayoutElement_173;
// System.Single TMPro.TMP_Text::m_preferredWidth
float ___m_preferredWidth_174;
// System.Single TMPro.TMP_Text::m_renderedWidth
float ___m_renderedWidth_175;
// System.Boolean TMPro.TMP_Text::m_isPreferredWidthDirty
bool ___m_isPreferredWidthDirty_176;
// System.Single TMPro.TMP_Text::m_preferredHeight
float ___m_preferredHeight_177;
// System.Single TMPro.TMP_Text::m_renderedHeight
float ___m_renderedHeight_178;
// System.Boolean TMPro.TMP_Text::m_isPreferredHeightDirty
bool ___m_isPreferredHeightDirty_179;
// System.Boolean TMPro.TMP_Text::m_isCalculatingPreferredValues
bool ___m_isCalculatingPreferredValues_180;
// System.Int32 TMPro.TMP_Text::m_layoutPriority
int32_t ___m_layoutPriority_181;
// System.Boolean TMPro.TMP_Text::m_isLayoutDirty
bool ___m_isLayoutDirty_182;
// System.Boolean TMPro.TMP_Text::m_isAwake
bool ___m_isAwake_183;
// System.Boolean TMPro.TMP_Text::m_isWaitingOnResourceLoad
bool ___m_isWaitingOnResourceLoad_184;
// TMPro.TMP_Text/TextInputSources TMPro.TMP_Text::m_inputSource
int32_t ___m_inputSource_185;
// System.Single TMPro.TMP_Text::m_fontScaleMultiplier
float ___m_fontScaleMultiplier_186;
// System.Single TMPro.TMP_Text::tag_LineIndent
float ___tag_LineIndent_190;
// System.Single TMPro.TMP_Text::tag_Indent
float ___tag_Indent_191;
// TMPro.TMP_TextProcessingStack`1<System.Single> TMPro.TMP_Text::m_indentStack
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___m_indentStack_192;
// System.Boolean TMPro.TMP_Text::tag_NoParsing
bool ___tag_NoParsing_193;
// System.Boolean TMPro.TMP_Text::m_isParsingText
bool ___m_isParsingText_194;
// UnityEngine.Matrix4x4 TMPro.TMP_Text::m_FXMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_FXMatrix_195;
// System.Boolean TMPro.TMP_Text::m_isFXMatrixSet
bool ___m_isFXMatrixSet_196;
// TMPro.TMP_Text/UnicodeChar[] TMPro.TMP_Text::m_TextProcessingArray
UnicodeCharU5BU5D_t67F27D09F8EB28D2C42DFF16FE60054F157012F5* ___m_TextProcessingArray_197;
// System.Int32 TMPro.TMP_Text::m_InternalTextProcessingArraySize
int32_t ___m_InternalTextProcessingArraySize_198;
// TMPro.TMP_CharacterInfo[] TMPro.TMP_Text::m_internalCharacterInfo
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* ___m_internalCharacterInfo_199;
// System.Int32 TMPro.TMP_Text::m_totalCharacterCount
int32_t ___m_totalCharacterCount_200;
// System.Int32 TMPro.TMP_Text::m_characterCount
int32_t ___m_characterCount_207;
// System.Int32 TMPro.TMP_Text::m_firstCharacterOfLine
int32_t ___m_firstCharacterOfLine_208;
// System.Int32 TMPro.TMP_Text::m_firstVisibleCharacterOfLine
int32_t ___m_firstVisibleCharacterOfLine_209;
// System.Int32 TMPro.TMP_Text::m_lastCharacterOfLine
int32_t ___m_lastCharacterOfLine_210;
// System.Int32 TMPro.TMP_Text::m_lastVisibleCharacterOfLine
int32_t ___m_lastVisibleCharacterOfLine_211;
// System.Int32 TMPro.TMP_Text::m_lineNumber
int32_t ___m_lineNumber_212;
// System.Int32 TMPro.TMP_Text::m_lineVisibleCharacterCount
int32_t ___m_lineVisibleCharacterCount_213;
// System.Int32 TMPro.TMP_Text::m_pageNumber
int32_t ___m_pageNumber_214;
// System.Single TMPro.TMP_Text::m_PageAscender
float ___m_PageAscender_215;
// System.Single TMPro.TMP_Text::m_maxTextAscender
float ___m_maxTextAscender_216;
// System.Single TMPro.TMP_Text::m_maxCapHeight
float ___m_maxCapHeight_217;
// System.Single TMPro.TMP_Text::m_ElementAscender
float ___m_ElementAscender_218;
// System.Single TMPro.TMP_Text::m_ElementDescender
float ___m_ElementDescender_219;
// System.Single TMPro.TMP_Text::m_maxLineAscender
float ___m_maxLineAscender_220;
// System.Single TMPro.TMP_Text::m_maxLineDescender
float ___m_maxLineDescender_221;
// System.Single TMPro.TMP_Text::m_startOfLineAscender
float ___m_startOfLineAscender_222;
// System.Single TMPro.TMP_Text::m_startOfLineDescender
float ___m_startOfLineDescender_223;
// System.Single TMPro.TMP_Text::m_lineOffset
float ___m_lineOffset_224;
// TMPro.Extents TMPro.TMP_Text::m_meshExtents
Extents_tA2D2F95811D0A18CB7AC3570D2D8F8CD3AF4C4A8 ___m_meshExtents_225;
// UnityEngine.Color32 TMPro.TMP_Text::m_htmlColor
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___m_htmlColor_226;
// TMPro.TMP_TextProcessingStack`1<UnityEngine.Color32> TMPro.TMP_Text::m_colorStack
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___m_colorStack_227;
// TMPro.TMP_TextProcessingStack`1<UnityEngine.Color32> TMPro.TMP_Text::m_underlineColorStack
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___m_underlineColorStack_228;
// TMPro.TMP_TextProcessingStack`1<UnityEngine.Color32> TMPro.TMP_Text::m_strikethroughColorStack
TMP_TextProcessingStack_1_tF2CD5BE59E5EB22EA9E3EE3043A004EA918C4BB3 ___m_strikethroughColorStack_229;
// TMPro.TMP_TextProcessingStack`1<TMPro.HighlightState> TMPro.TMP_Text::m_HighlightStateStack
TMP_TextProcessingStack_1_t57AECDCC936A7FF1D6CF66CA11560B28A675648D ___m_HighlightStateStack_230;
// TMPro.TMP_ColorGradient TMPro.TMP_Text::m_colorGradientPreset
TMP_ColorGradient_t17B51752B4E9499A1FF7D875DCEC1D15A0F4AEBB * ___m_colorGradientPreset_231;
// TMPro.TMP_TextProcessingStack`1<TMPro.TMP_ColorGradient> TMPro.TMP_Text::m_colorGradientStack
TMP_TextProcessingStack_1_tC8FAEB17246D3B171EFD11165A5761AE39B40D0C ___m_colorGradientStack_232;
// System.Boolean TMPro.TMP_Text::m_colorGradientPresetIsTinted
bool ___m_colorGradientPresetIsTinted_233;
// System.Single TMPro.TMP_Text::m_tabSpacing
float ___m_tabSpacing_234;
// System.Single TMPro.TMP_Text::m_spacing
float ___m_spacing_235;
// TMPro.TMP_TextProcessingStack`1<System.Int32>[] TMPro.TMP_Text::m_TextStyleStacks
TMP_TextProcessingStack_1U5BU5D_t08293E0BB072311BB96170F351D1083BCA97B9B2* ___m_TextStyleStacks_236;
// System.Int32 TMPro.TMP_Text::m_TextStyleStackDepth
int32_t ___m_TextStyleStackDepth_237;
// TMPro.TMP_TextProcessingStack`1<System.Int32> TMPro.TMP_Text::m_ItalicAngleStack
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___m_ItalicAngleStack_238;
// System.Int32 TMPro.TMP_Text::m_ItalicAngle
int32_t ___m_ItalicAngle_239;
// TMPro.TMP_TextProcessingStack`1<System.Int32> TMPro.TMP_Text::m_actionStack
TMP_TextProcessingStack_1_tFBA719426D68CE1F2B5849D97AF5E5D65846290C ___m_actionStack_240;
// System.Single TMPro.TMP_Text::m_padding
float ___m_padding_241;
// System.Single TMPro.TMP_Text::m_baselineOffset
float ___m_baselineOffset_242;
// TMPro.TMP_TextProcessingStack`1<System.Single> TMPro.TMP_Text::m_baselineOffsetStack
TMP_TextProcessingStack_1_t138EC06BE7F101AA0A3C8D2DC951E55AACE085E9 ___m_baselineOffsetStack_243;
// System.Single TMPro.TMP_Text::m_xAdvance
float ___m_xAdvance_244;
// TMPro.TMP_TextElementType TMPro.TMP_Text::m_textElementType
int32_t ___m_textElementType_245;
// TMPro.TMP_TextElement TMPro.TMP_Text::m_cached_TextElement
TMP_TextElement_t262A55214F712D4274485ABE5676E5254B84D0A5 * ___m_cached_TextElement_246;
// TMPro.TMP_Text/SpecialCharacter TMPro.TMP_Text::m_Ellipsis
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777 ___m_Ellipsis_247;
// TMPro.TMP_Text/SpecialCharacter TMPro.TMP_Text::m_Underline
SpecialCharacter_t6C1DBE8C490706D1620899BAB7F0B8091AD26777 ___m_Underline_248;
// TMPro.TMP_SpriteAsset TMPro.TMP_Text::m_defaultSpriteAsset
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 * ___m_defaultSpriteAsset_249;
// TMPro.TMP_SpriteAsset TMPro.TMP_Text::m_currentSpriteAsset
TMP_SpriteAsset_t81F779E6F705CE190DC0D1F93A954CB8B1774B39 * ___m_currentSpriteAsset_250;
// System.Int32 TMPro.TMP_Text::m_spriteCount
int32_t ___m_spriteCount_251;
// System.Int32 TMPro.TMP_Text::m_spriteIndex
int32_t ___m_spriteIndex_252;
// System.Int32 TMPro.TMP_Text::m_spriteAnimationID
int32_t ___m_spriteAnimationID_253;
// System.Boolean TMPro.TMP_Text::m_ignoreActiveState
bool ___m_ignoreActiveState_256;
// TMPro.TMP_Text/TextBackingContainer TMPro.TMP_Text::m_TextBackingArray
TextBackingContainer_t33D1CE628E7B26C45EDAC1D87BEF2DD22A5C6361 ___m_TextBackingArray_257;
// System.Decimal[] TMPro.TMP_Text::k_Power
DecimalU5BU5D_t93BA0C88FA80728F73B792EE1A5199D0C060B615* ___k_Power_258;
};
struct TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_StaticFields
{
// TMPro.MaterialReference[] TMPro.TMP_Text::m_materialReferences
MaterialReferenceU5BU5D_t7491D335AB3E3E13CE9C0F5E931F396F6A02E1F2* ___m_materialReferences_45;
// System.Collections.Generic.Dictionary`2<System.Int32,System.Int32> TMPro.TMP_Text::m_materialReferenceIndexLookup
Dictionary_2_tABE19B9C5C52F1DE14F0D3287B2696E7D7419180 * ___m_materialReferenceIndexLookup_46;
// TMPro.TMP_TextProcessingStack`1<TMPro.MaterialReference> TMPro.TMP_Text::m_materialReferenceStack
TMP_TextProcessingStack_1_tB03E08F69415B281A5A81138F09E49EE58402DF9 ___m_materialReferenceStack_47;
// UnityEngine.Color32 TMPro.TMP_Text::s_colorWhite
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___s_colorWhite_55;
// System.Func`3<System.Int32,System.String,TMPro.TMP_FontAsset> TMPro.TMP_Text::OnFontAssetRequest
Func_3_tC721DF8CDD07ED66A4833A19A2ED2302608C906C * ___OnFontAssetRequest_163;
// System.Func`3<System.Int32,System.String,TMPro.TMP_SpriteAsset> TMPro.TMP_Text::OnSpriteAssetRequest
Func_3_t6F6D9932638EA1A5A45303C6626C818C25D164E5 * ___OnSpriteAssetRequest_164;
// System.Char[] TMPro.TMP_Text::m_htmlTag
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___m_htmlTag_187;
// TMPro.RichTextTagAttribute[] TMPro.TMP_Text::m_xmlAttribute
RichTextTagAttributeU5BU5D_t5816316EFD8F59DBC30B9F88E15828C564E47B6D* ___m_xmlAttribute_188;
// System.Single[] TMPro.TMP_Text::m_attributeParameterValues
SingleU5BU5D_t89DEFE97BCEDB5857010E79ECE0F52CF6E93B87C* ___m_attributeParameterValues_189;
// TMPro.WordWrapState TMPro.TMP_Text::m_SavedWordWrapState
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A ___m_SavedWordWrapState_201;
// TMPro.WordWrapState TMPro.TMP_Text::m_SavedLineState
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A ___m_SavedLineState_202;
// TMPro.WordWrapState TMPro.TMP_Text::m_SavedEllipsisState
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A ___m_SavedEllipsisState_203;
// TMPro.WordWrapState TMPro.TMP_Text::m_SavedLastValidState
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A ___m_SavedLastValidState_204;
// TMPro.WordWrapState TMPro.TMP_Text::m_SavedSoftLineBreakState
WordWrapState_t80F67D8CAA9B1A0A3D5266521E23A9F3100EDD0A ___m_SavedSoftLineBreakState_205;
// TMPro.TMP_TextProcessingStack`1<TMPro.WordWrapState> TMPro.TMP_Text::m_EllipsisInsertionCandidateStack
TMP_TextProcessingStack_1_t2DDA00FFC64AF6E3AFD475AB2086D16C34787E0F ___m_EllipsisInsertionCandidateStack_206;
// Unity.Profiling.ProfilerMarker TMPro.TMP_Text::k_ParseTextMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_ParseTextMarker_254;
// Unity.Profiling.ProfilerMarker TMPro.TMP_Text::k_InsertNewLineMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_InsertNewLineMarker_255;
// UnityEngine.Vector2 TMPro.TMP_Text::k_LargePositiveVector2
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___k_LargePositiveVector2_259;
// UnityEngine.Vector2 TMPro.TMP_Text::k_LargeNegativeVector2
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___k_LargeNegativeVector2_260;
// System.Single TMPro.TMP_Text::k_LargePositiveFloat
float ___k_LargePositiveFloat_261;
// System.Single TMPro.TMP_Text::k_LargeNegativeFloat
float ___k_LargeNegativeFloat_262;
// System.Int32 TMPro.TMP_Text::k_LargePositiveInt
int32_t ___k_LargePositiveInt_263;
// System.Int32 TMPro.TMP_Text::k_LargeNegativeInt
int32_t ___k_LargeNegativeInt_264;
};
// UnityEngine.UI.Text
struct Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62 : public MaskableGraphic_tFC5B6BE351C90DE53744DF2A70940242774B361E
{
// UnityEngine.UI.FontData UnityEngine.UI.Text::m_FontData
FontData_tB8E562846C6CB59C43260F69AE346B9BF3157224 * ___m_FontData_36;
// System.String UnityEngine.UI.Text::m_Text
String_t* ___m_Text_37;
// UnityEngine.TextGenerator UnityEngine.UI.Text::m_TextCache
TextGenerator_t85D00417640A53953556C01F9D4E7DDE1ABD8FEC * ___m_TextCache_38;
// UnityEngine.TextGenerator UnityEngine.UI.Text::m_TextCacheForLayout
TextGenerator_t85D00417640A53953556C01F9D4E7DDE1ABD8FEC * ___m_TextCacheForLayout_39;
// System.Boolean UnityEngine.UI.Text::m_DisableFontTextureRebuiltCallback
bool ___m_DisableFontTextureRebuiltCallback_41;
// UnityEngine.UIVertex[] UnityEngine.UI.Text::m_TempVerts
UIVertexU5BU5D_tBC532486B45D071A520751A90E819C77BA4E3D2F* ___m_TempVerts_42;
};
struct Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62_StaticFields
{
// UnityEngine.Material UnityEngine.UI.Text::s_DefaultText
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___s_DefaultText_40;
};
// TMPro.TextMeshPro
struct TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E : public TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9
{
// System.Int32 TMPro.TextMeshPro::_SortingLayer
int32_t ____SortingLayer_265;
// System.Int32 TMPro.TextMeshPro::_SortingLayerID
int32_t ____SortingLayerID_266;
// System.Int32 TMPro.TextMeshPro::_SortingOrder
int32_t ____SortingOrder_267;
// System.Action`1<TMPro.TMP_TextInfo> TMPro.TextMeshPro::OnPreRenderText
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1 * ___OnPreRenderText_268;
// System.Boolean TMPro.TextMeshPro::m_currentAutoSizeMode
bool ___m_currentAutoSizeMode_269;
// System.Boolean TMPro.TextMeshPro::m_hasFontAssetChanged
bool ___m_hasFontAssetChanged_270;
// System.Single TMPro.TextMeshPro::m_previousLossyScaleY
float ___m_previousLossyScaleY_271;
// UnityEngine.Renderer TMPro.TextMeshPro::m_renderer
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * ___m_renderer_272;
// UnityEngine.MeshFilter TMPro.TextMeshPro::m_meshFilter
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5 * ___m_meshFilter_273;
// System.Boolean TMPro.TextMeshPro::m_isFirstAllocation
bool ___m_isFirstAllocation_274;
// System.Int32 TMPro.TextMeshPro::m_max_characters
int32_t ___m_max_characters_275;
// System.Int32 TMPro.TextMeshPro::m_max_numberOfLines
int32_t ___m_max_numberOfLines_276;
// TMPro.TMP_SubMesh[] TMPro.TextMeshPro::m_subTextObjects
TMP_SubMeshU5BU5D_t48FE70F8537594C6446E85588EB5D69635194CB9* ___m_subTextObjects_277;
// TMPro.MaskingTypes TMPro.TextMeshPro::m_maskType
int32_t ___m_maskType_278;
// UnityEngine.Matrix4x4 TMPro.TextMeshPro::m_EnvMapMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_EnvMapMatrix_279;
// UnityEngine.Vector3[] TMPro.TextMeshPro::m_RectTransformCorners
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___m_RectTransformCorners_280;
// System.Boolean TMPro.TextMeshPro::m_isRegisteredForEvents
bool ___m_isRegisteredForEvents_281;
};
struct TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_StaticFields
{
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_GenerateTextMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_GenerateTextMarker_282;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_SetArraySizesMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_SetArraySizesMarker_283;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_GenerateTextPhaseIMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_GenerateTextPhaseIMarker_284;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_ParseMarkupTextMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_ParseMarkupTextMarker_285;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_CharacterLookupMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_CharacterLookupMarker_286;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_HandleGPOSFeaturesMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleGPOSFeaturesMarker_287;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_CalculateVerticesPositionMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_CalculateVerticesPositionMarker_288;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_ComputeTextMetricsMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_ComputeTextMetricsMarker_289;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_HandleVisibleCharacterMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleVisibleCharacterMarker_290;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_HandleWhiteSpacesMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleWhiteSpacesMarker_291;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_HandleHorizontalLineBreakingMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleHorizontalLineBreakingMarker_292;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_HandleVerticalLineBreakingMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleVerticalLineBreakingMarker_293;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_SaveGlyphVertexDataMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_SaveGlyphVertexDataMarker_294;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_ComputeCharacterAdvanceMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_ComputeCharacterAdvanceMarker_295;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_HandleCarriageReturnMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleCarriageReturnMarker_296;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_HandleLineTerminationMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleLineTerminationMarker_297;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_SavePageInfoMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_SavePageInfoMarker_298;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_SaveProcessingStatesMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_SaveProcessingStatesMarker_299;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_GenerateTextPhaseIIMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_GenerateTextPhaseIIMarker_300;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshPro::k_GenerateTextPhaseIIIMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_GenerateTextPhaseIIIMarker_301;
};
// TMPro.TextMeshProUGUI
struct TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 : public TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9
{
// System.Boolean TMPro.TextMeshProUGUI::m_isRebuildingLayout
bool ___m_isRebuildingLayout_265;
// UnityEngine.Coroutine TMPro.TextMeshProUGUI::m_DelayedGraphicRebuild
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * ___m_DelayedGraphicRebuild_266;
// UnityEngine.Coroutine TMPro.TextMeshProUGUI::m_DelayedMaterialRebuild
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * ___m_DelayedMaterialRebuild_267;
// UnityEngine.Rect TMPro.TextMeshProUGUI::m_ClipRect
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___m_ClipRect_268;
// System.Boolean TMPro.TextMeshProUGUI::m_ValidRect
bool ___m_ValidRect_269;
// System.Action`1<TMPro.TMP_TextInfo> TMPro.TextMeshProUGUI::OnPreRenderText
Action_1_tB93AB717F9D419A1BEC832FF76E74EAA32184CC1 * ___OnPreRenderText_270;
// System.Boolean TMPro.TextMeshProUGUI::m_hasFontAssetChanged
bool ___m_hasFontAssetChanged_271;
// TMPro.TMP_SubMeshUI[] TMPro.TextMeshProUGUI::m_subTextObjects
TMP_SubMeshUIU5BU5D_tC77B263183A59A75345C26152457207EAC3BBF29* ___m_subTextObjects_272;
// System.Single TMPro.TextMeshProUGUI::m_previousLossyScaleY
float ___m_previousLossyScaleY_273;
// UnityEngine.Vector3[] TMPro.TextMeshProUGUI::m_RectTransformCorners
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___m_RectTransformCorners_274;
// UnityEngine.CanvasRenderer TMPro.TextMeshProUGUI::m_canvasRenderer
CanvasRenderer_tAB9A55A976C4E3B2B37D0CE5616E5685A8B43860 * ___m_canvasRenderer_275;
// UnityEngine.Canvas TMPro.TextMeshProUGUI::m_canvas
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * ___m_canvas_276;
// System.Boolean TMPro.TextMeshProUGUI::m_isFirstAllocation
bool ___m_isFirstAllocation_277;
// System.Int32 TMPro.TextMeshProUGUI::m_max_characters
int32_t ___m_max_characters_278;
// UnityEngine.Material TMPro.TextMeshProUGUI::m_baseMaterial
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___m_baseMaterial_279;
// System.Boolean TMPro.TextMeshProUGUI::m_isScrollRegionSet
bool ___m_isScrollRegionSet_280;
// UnityEngine.Vector4 TMPro.TextMeshProUGUI::m_maskOffset
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___m_maskOffset_281;
// UnityEngine.Matrix4x4 TMPro.TextMeshProUGUI::m_EnvMapMatrix
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_EnvMapMatrix_282;
// System.Boolean TMPro.TextMeshProUGUI::m_isRegisteredForEvents
bool ___m_isRegisteredForEvents_283;
};
struct TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_StaticFields
{
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_GenerateTextMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_GenerateTextMarker_284;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_SetArraySizesMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_SetArraySizesMarker_285;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_GenerateTextPhaseIMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_GenerateTextPhaseIMarker_286;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_ParseMarkupTextMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_ParseMarkupTextMarker_287;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_CharacterLookupMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_CharacterLookupMarker_288;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_HandleGPOSFeaturesMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleGPOSFeaturesMarker_289;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_CalculateVerticesPositionMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_CalculateVerticesPositionMarker_290;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_ComputeTextMetricsMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_ComputeTextMetricsMarker_291;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_HandleVisibleCharacterMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleVisibleCharacterMarker_292;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_HandleWhiteSpacesMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleWhiteSpacesMarker_293;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_HandleHorizontalLineBreakingMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleHorizontalLineBreakingMarker_294;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_HandleVerticalLineBreakingMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleVerticalLineBreakingMarker_295;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_SaveGlyphVertexDataMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_SaveGlyphVertexDataMarker_296;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_ComputeCharacterAdvanceMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_ComputeCharacterAdvanceMarker_297;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_HandleCarriageReturnMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleCarriageReturnMarker_298;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_HandleLineTerminationMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_HandleLineTerminationMarker_299;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_SavePageInfoMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_SavePageInfoMarker_300;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_SaveProcessingStatesMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_SaveProcessingStatesMarker_301;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_GenerateTextPhaseIIMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_GenerateTextPhaseIIMarker_302;
// Unity.Profiling.ProfilerMarker TMPro.TextMeshProUGUI::k_GenerateTextPhaseIIIMarker
ProfilerMarker_tA256E18DA86EDBC5528CE066FC91C96EE86501AD ___k_GenerateTextPhaseIIIMarker_303;
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// System.String[]
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248 : public RuntimeArray
{
ALIGN_FIELD (8) String_t* m_Items[1];
inline String_t* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline String_t** GetAddressAt(il2cpp_array_size_t index)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items + index;
}
inline void SetAt(il2cpp_array_size_t index, String_t* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline String_t* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline String_t** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, String_t* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Char[]
struct CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB : public RuntimeArray
{
ALIGN_FIELD (8) Il2CppChar m_Items[1];
inline Il2CppChar GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Il2CppChar* 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, Il2CppChar value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Il2CppChar GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Il2CppChar* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Il2CppChar value)
{
m_Items[index] = value;
}
};
// TMPro.TMP_CharacterInfo[]
struct TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99 : public RuntimeArray
{
ALIGN_FIELD (8) TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 m_Items[1];
inline TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 * 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, TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___textElement_4), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___fontAsset_5), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___spriteAsset_6), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___material_8), (void*)NULL);
#endif
}
inline TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___textElement_4), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___fontAsset_5), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___spriteAsset_6), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___material_8), (void*)NULL);
#endif
}
};
// TMPro.TMP_WordInfo[]
struct TMP_WordInfoU5BU5D_tD1759E5A84DCCCD42B718D79E953E72A432BB4DC : public RuntimeArray
{
ALIGN_FIELD (8) TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 m_Items[1];
inline TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 * 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, TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___textComponent_0), (void*)NULL);
}
inline TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___textComponent_0), (void*)NULL);
}
};
// TMPro.TMP_LineInfo[]
struct TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E : public RuntimeArray
{
ALIGN_FIELD (8) TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 m_Items[1];
inline TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 * 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, TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 value)
{
m_Items[index] = value;
}
};
// TMPro.TMP_LinkInfo[]
struct TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E : public RuntimeArray
{
ALIGN_FIELD (8) TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 m_Items[1];
inline TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 * 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, TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___textComponent_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___linkID_6), (void*)NULL);
#endif
}
inline TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___textComponent_0), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___linkID_6), (void*)NULL);
#endif
}
};
// UnityEngine.Keyframe[]
struct KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3 : public RuntimeArray
{
ALIGN_FIELD (8) Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 m_Items[1];
inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 * 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, Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector3[]
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C : public RuntimeArray
{
ALIGN_FIELD (8) Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 m_Items[1];
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * 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_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
{
m_Items[index] = value;
}
};
// TMPro.TMP_MeshInfo[]
struct TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7 : public RuntimeArray
{
ALIGN_FIELD (8) TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B m_Items[1];
inline TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B * 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, TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___mesh_4), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___vertices_6), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___normals_7), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___tangents_8), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___uvs0_9), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___uvs2_10), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___colors32_11), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___triangles_12), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___material_13), (void*)NULL);
#endif
}
inline TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___mesh_4), (void*)NULL);
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___vertices_6), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___normals_7), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___tangents_8), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___uvs0_9), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___uvs2_10), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___colors32_11), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___triangles_12), (void*)NULL);
#endif
#if IL2CPP_ENABLE_STRICT_WRITE_BARRIERS
Il2CppCodeGenWriteBarrier((void**)&((m_Items + index)->___material_13), (void*)NULL);
#endif
}
};
// UnityEngine.Color32[]
struct Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259 : public RuntimeArray
{
ALIGN_FIELD (8) Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B m_Items[1];
inline Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B * 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_t73C5004937BF5BB8AD55323D51AAA40A898EF48B value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector2[]
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA : public RuntimeArray
{
ALIGN_FIELD (8) Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 m_Items[1];
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 * 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_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 value)
{
m_Items[index] = value;
}
};
// TMPro.Examples.VertexJitter/VertexAnim[]
struct VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38 : public RuntimeArray
{
ALIGN_FIELD (8) VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 m_Items[1];
inline VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 * 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, VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 * GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 value)
{
m_Items[index] = value;
}
};
// UnityEngine.Vector3[][]
struct Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D : public RuntimeArray
{
ALIGN_FIELD (8) Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* m_Items[1];
inline Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** 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, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D * __this, const RuntimeMethod* method);
// System.Collections.Generic.IEnumerable`1<!!0> System.Linq.Enumerable::Take<UnityEngine.Vector2>(System.Collections.Generic.IEnumerable`1<!!0>,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Enumerable_Take_TisVector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_mBBC83CDAC853A7A5EC842F5F8F14E7FAEA58254D_gshared (RuntimeObject* ___source0, int32_t ___count1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::.ctor(System.Collections.Generic.IEnumerable`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m105596C2159C46B75E96D26ACEC0A5C1C1F5C5EC_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, RuntimeObject* ___collection0, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<UnityEngine.Vector2>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 List_1_GetEnumerator_m3FE49C02F31954ACBAF7DF56A1CFED61E50524BA_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::get_Current()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Enumerator_get_Current_m03DDB9D6C95434581544F1F2FF0D1A36EEAB09AF_gshared_inline (Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::set_Item(System.Int32,!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, int32_t ___index0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___value1, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_m5DDD3E697A492E99DDE91E6AB7B2390C491F89AA_gshared (Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_mCD48FDD0F418E976C266AF07E14C127B6E896A8C_gshared (Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1<UnityEngine.Vector2>::get_Item(System.Int32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_gshared_inline (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, int32_t ___index0, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector2>::IndexOf(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___item0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Reverse()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::AddComponent<System.Object>()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::GetComponent<System.Object>()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Add(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___item0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<System.Object>::GetEnumerator()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_t9473BAB568A27E2339D48C1F91319E0F6D244D7A List_1_GetEnumerator_mD8294A7FA2BEB1929487127D476F8EC1CDC23BFC_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D * __this, const RuntimeMethod* method);
// !0 System.Collections.Generic.List`1/Enumerator<System.Object>::get_Current()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_m6330F15D18EE4F547C05DF9BF83C5EB710376027_gshared_inline (Enumerator_t9473BAB568A27E2339D48C1F91319E0F6D244D7A * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1/Enumerator<System.Object>::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_mE921CC8F29FBBDE7CC3209A0ED0D921D58D00BCB_gshared (Enumerator_t9473BAB568A27E2339D48C1F91319E0F6D244D7A * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1/Enumerator<System.Object>::Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_mD9DC3E3C3697830A4823047AB29A77DBBB5ED419_gshared (Enumerator_t9473BAB568A27E2339D48C1F91319E0F6D244D7A * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<System.Object>::Add(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D * __this, RuntimeObject * ___item0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1<System.Object>::Remove(!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m4DFA48F4CEB9169601E75FC28517C5C06EFA5AD7_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D * __this, RuntimeObject * ___item0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityAction`1<System.Object>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityAction_1__ctor_m0C2FC6B483B474AE9596A43EBA7FF6E85503A92A_gshared (UnityAction_1_t9C30BCD020745BF400CBACF22C6F34ADBA2DDA6A * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Object>::AddListener(UnityEngine.Events.UnityAction`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_1_AddListener_m055233246714700E4BDAA62635BC0AA49E8165CC_gshared (UnityEvent_1_t3CE03B42D5873C0C0E0692BEE72E1E6D5399F205 * __this, UnityAction_1_t9C30BCD020745BF400CBACF22C6F34ADBA2DDA6A * ___call0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`1<System.Object>::RemoveListener(UnityEngine.Events.UnityAction`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_1_RemoveListener_m904FA6BDD0D33FDF8650EF816FF5C131867E693E_gshared (UnityEvent_1_t3CE03B42D5873C0C0E0692BEE72E1E6D5399F205 * __this, UnityAction_1_t9C30BCD020745BF400CBACF22C6F34ADBA2DDA6A * ___call0, const RuntimeMethod* method);
// !!0 UnityEngine.Component::GetComponent<System.Object>()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 * __this, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::GetComponentInParent<System.Object>()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * GameObject_GetComponentInParent_TisRuntimeObject_mDD9FD68B12361AC472D4A83310CAD793C02C6654_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`2<System.Char,System.Int32>::Invoke(!0,!1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_2_Invoke_m0491A8025093B0C329C5ACEBAB83DC6DE3CD0C3F_gshared (UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 * __this, Il2CppChar ___arg00, int32_t ___arg11, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`3<System.Object,System.Int32,System.Int32>::Invoke(!0,!1,!2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_3_Invoke_m50868D681E7B0FAE1AA2516EF4DA7DB16CBD9DA9_gshared (UnityEvent_3_tD7E14BDD38F12B63EFECBD1604C666F9AF100EAA * __this, RuntimeObject * ___arg00, int32_t ___arg11, int32_t ___arg22, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`3<System.Object,System.Object,System.Int32>::Invoke(!0,!1,!2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_3_Invoke_m1331145C187AE9ABB8C1236006F36A1D20D57C6A_gshared (UnityEvent_3_tCE934710A8225E2574DC47F0C89DD63B7324C18F * __this, RuntimeObject * ___arg00, RuntimeObject * ___arg11, int32_t ___arg22, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`2<System.Char,System.Int32>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_2__ctor_mC75313448B2ABE238198CDD698EA81B87F379C61_gshared (UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`3<System.Object,System.Int32,System.Int32>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_3__ctor_m941EF00E4EF658BB1461C8BD9E6527F9E495DCFE_gshared (UnityEvent_3_tD7E14BDD38F12B63EFECBD1604C666F9AF100EAA * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`3<System.Object,System.Object,System.Int32>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_3__ctor_mB689E1A15DDACB9ED22ACAB2BCA3D97B893FFA5B_gshared (UnityEvent_3_tCE934710A8225E2574DC47F0C89DD63B7324C18F * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Resources::Load<System.Object>(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Resources_Load_TisRuntimeObject_m8B40A11CE62A4E445DADC28C81BD73922A4D4B65_gshared (String_t* ___path0, const RuntimeMethod* method);
// System.Void System.Action`1<System.Object>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_1__ctor_m2E1DFA67718FC1A0B6E5DFEB78831FFE9C059EB4_gshared (Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void TMPro.FastAction`1<System.Object>::Add(System.Action`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FastAction_1_Add_mAFBAB8BEFC425D727FF303611342E6D1E6E82D86_gshared (FastAction_1_t30779A2821DCE05CA702D5800B30CABF67687135 * __this, Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87 * ___rhs0, const RuntimeMethod* method);
// System.Void TMPro.FastAction`1<System.Object>::Remove(System.Action`1<!0>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FastAction_1_Remove_m0C649E2173AA0370C08417DCFD89B7304F28BC0C_gshared (FastAction_1_t30779A2821DCE05CA702D5800B30CABF67687135 * __this, Action_1_t6F9EB113EB3F16226AEF811A2744F4111C116C87 * ___rhs0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityAction`2<System.Char,System.Int32>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D_gshared (UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`2<System.Char,System.Int32>::AddListener(UnityEngine.Events.UnityAction`2<!0,!1>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_2_AddListener_mE2FC084F4ADB9D24D904D6A39A83763969F91E27_gshared (UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 * __this, UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 * ___call0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityAction`3<System.Object,System.Int32,System.Int32>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityAction_3__ctor_mD44DC0C0DB38805A3DB6A9B9F6052F2332DEEE79_gshared (UnityAction_3_t2F4C93AEE3F6452801100D902D54CF21027541D8 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`3<System.Object,System.Int32,System.Int32>::AddListener(UnityEngine.Events.UnityAction`3<!0,!1,!2>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_3_AddListener_mB461B21F098D8AA18E33A0FF2AC6B5F357AF0299_gshared (UnityEvent_3_tD7E14BDD38F12B63EFECBD1604C666F9AF100EAA * __this, UnityAction_3_t2F4C93AEE3F6452801100D902D54CF21027541D8 * ___call0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityAction`3<System.Object,System.Object,System.Int32>::.ctor(System.Object,System.IntPtr)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityAction_3__ctor_m2F6C2E527FCBE0253599EB3B4066B3F3E0FD5A6D_gshared (UnityAction_3_tFD664A83B91518A4F822E02F501557F29ECCF487 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`3<System.Object,System.Object,System.Int32>::AddListener(UnityEngine.Events.UnityAction`3<!0,!1,!2>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_3_AddListener_m3AA2B007902D3FE6138FE14E8BB7BB720471EBED_gshared (UnityEvent_3_tCE934710A8225E2574DC47F0C89DD63B7324C18F * __this, UnityAction_3_tFD664A83B91518A4F822E02F501557F29ECCF487 * ___call0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`2<System.Char,System.Int32>::RemoveListener(UnityEngine.Events.UnityAction`2<!0,!1>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_2_RemoveListener_m57B7F9B719A15831F63EA67147A848E324F3760B_gshared (UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 * __this, UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 * ___call0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`3<System.Object,System.Int32,System.Int32>::RemoveListener(UnityEngine.Events.UnityAction`3<!0,!1,!2>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_3_RemoveListener_m9F3B34881BBD41EB01560C7BF8EB8B108D4A5DD8_gshared (UnityEvent_3_tD7E14BDD38F12B63EFECBD1604C666F9AF100EAA * __this, UnityAction_3_t2F4C93AEE3F6452801100D902D54CF21027541D8 * ___call0, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`3<System.Object,System.Object,System.Int32>::RemoveListener(UnityEngine.Events.UnityAction`3<!0,!1,!2>)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UnityEvent_3_RemoveListener_mB363F4B5EEE001BB8EB1B788D1CC30A1FB5CD41F_gshared (UnityEvent_3_tCE934710A8225E2574DC47F0C89DD63B7324C18F * __this, UnityAction_3_tFD664A83B91518A4F822E02F501557F29ECCF487 * ___call0, const RuntimeMethod* method);
// !!0 UnityEngine.Object::Instantiate<System.Object>(!!0)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Object_Instantiate_TisRuntimeObject_mCD6FC6BB14BA9EF1A4B314841EB4D40675E3C1DB_gshared (RuntimeObject * ___original0, const RuntimeMethod* method);
// !!0 UnityEngine.Component::GetComponentInChildren<System.Object>()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Component_GetComponentInChildren_TisRuntimeObject_mE483A27E876DE8E4E6901D6814837F81D7C42F65_gshared (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 * __this, const RuntimeMethod* method);
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Void Wire::updateMesh()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Wire_updateMesh_mFEDC4C23C0BF4629E37CB118BF1CA9A8B7913DFA (Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * __this, const RuntimeMethod* method);
// System.Void UnityEngine.WaitForSeconds::.ctor(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * __this, float ___seconds0, const RuntimeMethod* method);
// System.Void System.NotSupportedException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.GameObject>::.ctor()
inline void List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC (List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B *, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
}
// System.Collections.Generic.IEnumerable`1<!!0> System.Linq.Enumerable::Take<UnityEngine.Vector2>(System.Collections.Generic.IEnumerable`1<!!0>,System.Int32)
inline RuntimeObject* Enumerable_Take_TisVector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_mBBC83CDAC853A7A5EC842F5F8F14E7FAEA58254D (RuntimeObject* ___source0, int32_t ___count1, const RuntimeMethod* method)
{
return (( RuntimeObject* (*) (RuntimeObject*, int32_t, const RuntimeMethod*))Enumerable_Take_TisVector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_mBBC83CDAC853A7A5EC842F5F8F14E7FAEA58254D_gshared)(___source0, ___count1, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::.ctor(System.Collections.Generic.IEnumerable`1<!0>)
inline void List_1__ctor_m105596C2159C46B75E96D26ACEC0A5C1C1F5C5EC (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, RuntimeObject* ___collection0, const RuntimeMethod* method)
{
(( void (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B *, RuntimeObject*, const RuntimeMethod*))List_1__ctor_m105596C2159C46B75E96D26ACEC0A5C1C1F5C5EC_gshared)(__this, ___collection0, method);
}
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<UnityEngine.Vector2>::GetEnumerator()
inline Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 List_1_GetEnumerator_m3FE49C02F31954ACBAF7DF56A1CFED61E50524BA (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, const RuntimeMethod* method)
{
return (( Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B *, const RuntimeMethod*))List_1_GetEnumerator_m3FE49C02F31954ACBAF7DF56A1CFED61E50524BA_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::get_Current()
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Enumerator_get_Current_m03DDB9D6C95434581544F1F2FF0D1A36EEAB09AF_inline (Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 * __this, const RuntimeMethod* method)
{
return (( Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 (*) (Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 *, const RuntimeMethod*))Enumerator_get_Current_m03DDB9D6C95434581544F1F2FF0D1A36EEAB09AF_gshared_inline)(__this, method);
}
// System.Void UnityEngine.Vector2::.ctor(System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 * __this, float ___x0, float ___y1, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.Vector2::op_Subtraction(UnityEngine.Vector2,UnityEngine.Vector2)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Subtraction_m664419831773D5BBF06D9DE4E515F6409B2F92B8_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___a0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___b1, const RuntimeMethod* method);
// System.Single UnityEngine.Vector2::Angle(UnityEngine.Vector2,UnityEngine.Vector2)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_Angle_m9668B13074D1664DD192669C14B3A8FC01676299_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___from0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___to1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::set_Item(System.Int32,!0)
inline void List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0 (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, int32_t ___index0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___value1, const RuntimeMethod* method)
{
(( void (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B *, int32_t, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 , const RuntimeMethod*))List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0_gshared)(__this, ___index0, ___value1, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::MoveNext()
inline bool Enumerator_MoveNext_m5DDD3E697A492E99DDE91E6AB7B2390C491F89AA (Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 *, const RuntimeMethod*))Enumerator_MoveNext_m5DDD3E697A492E99DDE91E6AB7B2390C491F89AA_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.Vector2>::Dispose()
inline void Enumerator_Dispose_mCD48FDD0F418E976C266AF07E14C127B6E896A8C (Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 *, const RuntimeMethod*))Enumerator_Dispose_mCD48FDD0F418E976C266AF07E14C127B6E896A8C_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1<UnityEngine.Vector2>::get_Item(System.Int32)
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_inline (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, int32_t ___index0, const RuntimeMethod* method)
{
return (( Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B *, int32_t, const RuntimeMethod*))List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_gshared_inline)(__this, ___index0, method);
}
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector2>::IndexOf(!0)
inline int32_t List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___item0, const RuntimeMethod* method)
{
return (( int32_t (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B *, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 , const RuntimeMethod*))List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D_gshared)(__this, ___item0, method);
}
// System.Void UnityEngine.MonoBehaviour::print(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour_print_mED815C779E369787B3E9646A6DE96FBC2944BF0B (RuntimeObject * ___message0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Reverse()
inline void List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B *, const RuntimeMethod*))List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF_gshared)(__this, method);
}
// System.Void UnityEngine.GameObject::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject__ctor_m7D0340DE160786E6EFA8DABD39EC3B694DA30AAD (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Object::set_name(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * __this, String_t* ___value0, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::AddComponent<Wire>()
inline Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * GameObject_AddComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_mFC7B9AE4C0F99FCF04F74DDA9850453AC477589C (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
// !!0 UnityEngine.GameObject::GetComponent<Wire>()
inline Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared)(__this, method);
}
// UnityEngine.Vector2 UnityEngine.Vector2::op_Implicit(UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Implicit_m8F73B300CB4E6F9B4EB5FB6130363D76CEAA230B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___v0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Add(!0)
inline void List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B *, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 , const RuntimeMethod*))List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_gshared)(__this, ___item0, method);
}
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::.ctor()
inline void List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, const RuntimeMethod* method)
{
(( void (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B *, const RuntimeMethod*))List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_gshared)(__this, method);
}
// System.Void WireManager::addWire(UnityEngine.GameObject)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WireManager_addWire_mC15014AB94C32FA711CEC2C04F66FE0E12E2378F (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___wire0, const RuntimeMethod* method);
// System.Collections.Generic.List`1/Enumerator<!0> System.Collections.Generic.List`1<UnityEngine.GameObject>::GetEnumerator()
inline Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8 (List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * __this, const RuntimeMethod* method)
{
return (( Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 (*) (List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B *, const RuntimeMethod*))List_1_GetEnumerator_mD8294A7FA2BEB1929487127D476F8EC1CDC23BFC_gshared)(__this, method);
}
// !0 System.Collections.Generic.List`1/Enumerator<UnityEngine.GameObject>::get_Current()
inline GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_inline (Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 * __this, const RuntimeMethod* method)
{
return (( GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * (*) (Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 *, const RuntimeMethod*))Enumerator_get_Current_m6330F15D18EE4F547C05DF9BF83C5EB710376027_gshared_inline)(__this, method);
}
// System.Boolean System.Collections.Generic.List`1/Enumerator<UnityEngine.GameObject>::MoveNext()
inline bool Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27 (Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 * __this, const RuntimeMethod* method)
{
return (( bool (*) (Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 *, const RuntimeMethod*))Enumerator_MoveNext_mE921CC8F29FBBDE7CC3209A0ED0D921D58D00BCB_gshared)(__this, method);
}
// System.Void System.Collections.Generic.List`1/Enumerator<UnityEngine.GameObject>::Dispose()
inline void Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D (Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 * __this, const RuntimeMethod* method)
{
(( void (*) (Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 *, const RuntimeMethod*))Enumerator_Dispose_mD9DC3E3C3697830A4823047AB29A77DBBB5ED419_gshared)(__this, method);
}
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * ___x0, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * ___y1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.List`1<UnityEngine.GameObject>::Add(!0)
inline void List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E (List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * __this, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___item0, const RuntimeMethod* method)
{
(( void (*) (List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B *, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared)(__this, ___item0, method);
}
// System.Collections.Generic.List`1<UnityEngine.GameObject> WireManager::getConnectedWiresPin(Pin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * WireManager_getConnectedWiresPin_m49014C4562927CE4D251818F0227A63E88AF0B14 (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, Pin_t436B943A646153A43944025466CB8B68CE763843 * ___pin0, const RuntimeMethod* method);
// System.Void Wire::propogateSignalHigh()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Wire_propogateSignalHigh_mD04647EE7071F04C55A9F81279C4610B3F88414C (Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * __this, const RuntimeMethod* method);
// System.Void Wire::setHIZ()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Wire_setHIZ_m22B1B90B3C878CFFE634F587D9B15E4596C26D9F (Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * __this, const RuntimeMethod* method);
// System.Void Wire::removeHIZ()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Wire_removeHIZ_m25CECC62CC4F7CE0C616FB56E945FA6D80CFF5E8 (Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * __this, const RuntimeMethod* method);
// System.Void Wire::propogateSignalLow()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Wire_propogateSignalLow_m5281284E8482F1143067DEF196E90A8A15135DFB (Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * __this, const RuntimeMethod* method);
// System.Void UnityEngine.GameObject::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, String_t* ___name0, const RuntimeMethod* method);
// System.Void Wire::startWire(Pin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Wire_startWire_m4BA1B23CE69FA7A47AB146C7F9343A2C84748065 (Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * __this, Pin_t436B943A646153A43944025466CB8B68CE763843 * ___pin0, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.List`1<UnityEngine.GameObject>::Remove(!0)
inline bool List_1_Remove_mCCE85D4D5326536C4B214C73D07030F4CCD18485 (List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * __this, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___item0, const RuntimeMethod* method)
{
return (( bool (*) (List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B *, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))List_1_Remove_m4DFA48F4CEB9169601E75FC28517C5C06EFA5AD7_gshared)(__this, ___item0, method);
}
// System.Void UnityEngine.Object::DestroyImmediate(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_DestroyImmediate_m8249CABCDF344BE3A67EE765122EBB415DC2BC57 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * ___obj0, const RuntimeMethod* method);
// System.Void UnityEngine.MonoBehaviour::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 * __this, const RuntimeMethod* method);
// TMPro.TMP_InputField/SubmitEvent TMPro.TMP_InputField::get_onSubmit()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR SubmitEvent_tF7E2843B6A79D94B8EEEA259707F77BD1773B500 * TMP_InputField_get_onSubmit_mAA494FA0B3CFFB2916B399BD5D87C2E1AA637B90_inline (TMP_InputField_t3488E0EE8C3DF56C6A328EC95D1BEEA2DF4A7D5F * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityAction`1<System.String>::.ctor(System.Object,System.IntPtr)
inline void UnityAction_1__ctor_mE6251CCFD943EB114960F556A546E2777B18AC71 (UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B *, RuntimeObject *, intptr_t, const RuntimeMethod*))UnityAction_1__ctor_m0C2FC6B483B474AE9596A43EBA7FF6E85503A92A_gshared)(__this, ___object0, ___method1, method);
}
// System.Void UnityEngine.Events.UnityEvent`1<System.String>::AddListener(UnityEngine.Events.UnityAction`1<!0>)
inline void UnityEvent_1_AddListener_mEC384A8CFC5D4D41B62B08248A738CF61B82172F (UnityEvent_1_tC9859540CF1468306CAB6D758C0A0D95DBCEC257 * __this, UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B * ___call0, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_1_tC9859540CF1468306CAB6D758C0A0D95DBCEC257 *, UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B *, const RuntimeMethod*))UnityEvent_1_AddListener_m055233246714700E4BDAA62635BC0AA49E8165CC_gshared)(__this, ___call0, method);
}
// System.Void UnityEngine.Events.UnityEvent`1<System.String>::RemoveListener(UnityEngine.Events.UnityAction`1<!0>)
inline void UnityEvent_1_RemoveListener_m580353A1B030A82D1205B9BA94CF3484866C027F (UnityEvent_1_tC9859540CF1468306CAB6D758C0A0D95DBCEC257 * __this, UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B * ___call0, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_1_tC9859540CF1468306CAB6D758C0A0D95DBCEC257 *, UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B *, const RuntimeMethod*))UnityEvent_1_RemoveListener_m904FA6BDD0D33FDF8650EF816FF5C131867E693E_gshared)(__this, ___call0, method);
}
// System.Void TMPro.TMP_InputField::set_text(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_InputField_set_text_m684E9CDA2D9E82D1C497B5E03DBE79C00584FF62 (TMP_InputField_t3488E0EE8C3DF56C6A328EC95D1BEEA2DF4A7D5F * __this, String_t* ___value0, const RuntimeMethod* method);
// System.DateTime System.DateTime::get_Now()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D DateTime_get_Now_mC336498972C48439ADCD5C50D35FAE0F2A48B0F0 (const RuntimeMethod* method);
// System.Int32 System.DateTime::get_Hour()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DateTime_get_Hour_m350B2AEB6ED8AAD80F0779C1FD37EEE13952A7F3 (DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D * __this, const RuntimeMethod* method);
// System.String System.Int32::ToString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int32_ToString_m967AECC237535C552A97A80C7875E31B98496CA9 (int32_t* __this, String_t* ___format0, const RuntimeMethod* method);
// System.Int32 System.DateTime::get_Minute()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DateTime_get_Minute_m73003491DA85D2C9951ECCF890D9BF6AFFB9E973 (DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D * __this, const RuntimeMethod* method);
// System.Int32 System.DateTime::get_Second()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t DateTime_get_Second_mC860BA28DED65249BE9EA46E4898730C7828B3EA (DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D * __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m6B0734B65813C8EA093D78E5C2D16534EB6FE8C0 (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___values0, const RuntimeMethod* method);
// System.Void TMPro.TMP_InputField::ActivateInputField()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_InputField_ActivateInputField_m9471012A606F201DF838539F5400D072A827914F (TMP_InputField_t3488E0EE8C3DF56C6A328EC95D1BEEA2DF4A7D5F * __this, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Scrollbar::set_value(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Scrollbar_set_value_m8F7815DB02D4A69B33B091FC5F674609F070D804 (Scrollbar_t7CDC9B956698D9385A11E4C12964CD51477072C3 * __this, float ___value0, const RuntimeMethod* method);
// System.Int32 TMPro.TMP_Dropdown::get_value()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t TMP_Dropdown_get_value_m5916A6D1897431E8ED789FEC24551A311D1B5C70_inline (TMP_Dropdown_t73B37BFDA0D005451C7B750938AFB1748E5EA504 * __this, const RuntimeMethod* method);
// System.String System.Int32::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5 (int32_t* __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mF8B69BE42B5C5ABCAD3C176FBBE3010E0815D65D (String_t* ___str00, String_t* ___str11, String_t* ___str22, String_t* ___str33, const RuntimeMethod* method);
// !!0 UnityEngine.Component::GetComponent<TMPro.TMP_Text>()
inline TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 * __this, const RuntimeMethod* method)
{
return (( TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
}
// System.Void EnvMapAnimator/<Start>d__4::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__4__ctor_m432062D94FDEF42B01FAB69EBC06A4D137C525C2 (U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::get_zero()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline (const RuntimeMethod* method);
// System.Single UnityEngine.Time::get_time()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_time_m0BEE9AACD0723FE414465B77C9C64D12263675F3 (const RuntimeMethod* method);
// UnityEngine.Quaternion UnityEngine.Quaternion::Euler(System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline (float ___x0, float ___y1, float ___z2, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::get_one()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline (const RuntimeMethod* method);
// System.Void UnityEngine.Matrix4x4::SetTRS(UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Matrix4x4_SetTRS_m8002A569FE81574DABE86044C8FF6F7C44DA21AA (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 * __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pos0, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___q1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___s2, const RuntimeMethod* method);
// System.Void UnityEngine.Material::SetMatrix(System.String,UnityEngine.Matrix4x4)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_SetMatrix_m1F4E20583C898A1C1DBA256868E1F98C539F13FB (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * __this, String_t* ___name0, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___value1, const RuntimeMethod* method);
// System.Void TMPro.TMP_InputValidator::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_InputValidator__ctor_mD15E0AFA50E8CA10B2849A66A5B96D50B7EA66F3 (TMP_InputValidator_t3429AF61284AE19180C3FB81C0C7D2F90165EA98 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Debug::Log(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219 (RuntimeObject * ___message0, const RuntimeMethod* method);
// System.Int32 System.String::get_Length()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method);
// System.String System.Char::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C (Il2CppChar* __this, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D (String_t* ___str00, String_t* ___str11, const RuntimeMethod* method);
// System.String System.String::Concat(System.String,System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m9B13B47FCB3DF61144D9647DDA05F527377251B0 (String_t* ___str00, String_t* ___str11, String_t* ___str22, const RuntimeMethod* method);
// UnityEngine.GameObject UnityEngine.Component::get_gameObject()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 * __this, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::GetComponent<TMPro.TMP_Text>()
inline TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * GameObject_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_mA59A63181077B821132B53D44724D7F86C6FECB3 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared)(__this, method);
}
// System.Type System.Object::GetType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Object_GetType_mE10A8FC1E57F3DF29972CCBC026C2DC3942263B3 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Type System.Type::GetTypeFromHandle(System.RuntimeTypeHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Type_GetTypeFromHandle_m2570A2A5B32A5E9D9F0F38B37459DA18736C823E (RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B ___handle0, const RuntimeMethod* method);
// System.Boolean System.Type::op_Equality(System.Type,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Type_op_Equality_mE6EDDDC900C50B222CF32BCD2AD027595F2D74B7 (Type_t * ___left0, Type_t * ___right1, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::GetComponentInParent<UnityEngine.Canvas>()
inline Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * GameObject_GetComponentInParent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m0A41CB7A7F9A10FCC98D1C7B5799D57C2724D991 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_GetComponentInParent_TisRuntimeObject_mDD9FD68B12361AC472D4A83310CAD793C02C6654_gshared)(__this, method);
}
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * ___x0, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * ___y1, const RuntimeMethod* method);
// UnityEngine.RenderMode UnityEngine.Canvas::get_renderMode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Canvas_get_renderMode_m1BEF259548C6CAD27E4466F31D20752D246688CC (Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * __this, const RuntimeMethod* method);
// UnityEngine.Camera UnityEngine.Canvas::get_worldCamera()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * Canvas_get_worldCamera_mD2FDE13B61A5213F4E64B40008EB0A8D2D07B853 (Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * __this, const RuntimeMethod* method);
// UnityEngine.Camera UnityEngine.Camera::get_main()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43 (const RuntimeMethod* method);
// UnityEngine.RectTransform TMPro.TMP_Text::get_rectTransform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Input::get_mousePosition()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD (const RuntimeMethod* method);
// System.Boolean TMPro.TMP_TextUtilities::IsIntersectingRectTransform(UnityEngine.RectTransform,UnityEngine.Vector3,UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMP_TextUtilities_IsIntersectingRectTransform_mD130C941AB32BCEA5B2B293E979A7AC7F1160FFF (RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___rectTransform0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position1, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___camera2, const RuntimeMethod* method);
// System.Int32 TMPro.TMP_TextUtilities::FindIntersectingCharacter(TMPro.TMP_Text,UnityEngine.Vector3,UnityEngine.Camera,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_TextUtilities_FindIntersectingCharacter_m6C03B17BB15028215958B0DAB969BB5199990DF2 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___text0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position1, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___camera2, bool ___visibleOnly3, const RuntimeMethod* method);
// TMPro.TMP_TextInfo TMPro.TMP_Text::get_textInfo()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, const RuntimeMethod* method);
// System.Void TMPro.TMP_TextEventHandler::SendOnCharacterSelection(System.Char,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_SendOnCharacterSelection_m5A891393BC3211CFEF2390B5E9899129CBDAC189 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, Il2CppChar ___character0, int32_t ___characterIndex1, const RuntimeMethod* method);
// System.Void TMPro.TMP_TextEventHandler::SendOnSpriteSelection(System.Char,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_SendOnSpriteSelection_m8242C5F9626A3C1330927FEACF3ECAD287500475 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, Il2CppChar ___character0, int32_t ___characterIndex1, const RuntimeMethod* method);
// System.Int32 TMPro.TMP_TextUtilities::FindIntersectingWord(TMPro.TMP_Text,UnityEngine.Vector3,UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_TextUtilities_FindIntersectingWord_m1442DFD5AAE1FF0EE5054262A34E4D31B1E56879 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___text0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position1, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___camera2, const RuntimeMethod* method);
// System.String TMPro.TMP_WordInfo::GetWord()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TMP_WordInfo_GetWord_m7F72AB87E8AB0FA75616FD5409A8F5C031294D2C (TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 * __this, const RuntimeMethod* method);
// System.Void TMPro.TMP_TextEventHandler::SendOnWordSelection(System.String,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_SendOnWordSelection_mCB9E9ACB06AC524273C163743C9191CAF9C1FD33 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, String_t* ___word0, int32_t ___charIndex1, int32_t ___length2, const RuntimeMethod* method);
// System.Int32 TMPro.TMP_TextUtilities::FindIntersectingLine(TMPro.TMP_Text,UnityEngine.Vector3,UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_TextUtilities_FindIntersectingLine_mFC1F20154DEE3E4308C04EAF963F0BD897C12459 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___text0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position1, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___camera2, const RuntimeMethod* method);
// System.String System.String::CreateString(System.Char[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_CreateString_mFBC28D2E3EB87D497F7E702E4FFAD65F635E44DF (String_t* __this, CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* ___val0, const RuntimeMethod* method);
// System.Void TMPro.TMP_TextEventHandler::SendOnLineSelection(System.String,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_SendOnLineSelection_mF0691C407CA44C2E8F2D7CD6C9C2099693CBE7A6 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, String_t* ___line0, int32_t ___charIndex1, int32_t ___length2, const RuntimeMethod* method);
// System.Int32 TMPro.TMP_TextUtilities::FindIntersectingLink(TMPro.TMP_Text,UnityEngine.Vector3,UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t TMP_TextUtilities_FindIntersectingLink_m2B5823274A30BBB3A54592E8DB44F119140C3778 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___text0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position1, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___camera2, const RuntimeMethod* method);
// System.String TMPro.TMP_LinkInfo::GetLinkID()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TMP_LinkInfo_GetLinkID_mCC9D9E783D606660A4D15E0E746E1E27AD9C2425 (TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 * __this, const RuntimeMethod* method);
// System.String TMPro.TMP_LinkInfo::GetLinkText()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* TMP_LinkInfo_GetLinkText_m954EE8FF39D62BA8113773A696095EAE85CD5E3F (TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 * __this, const RuntimeMethod* method);
// System.Void TMPro.TMP_TextEventHandler::SendOnLinkSelection(System.String,System.String,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_SendOnLinkSelection_m2809D6FFF57FAE45DC5BB4DD579328535E255A02 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, String_t* ___linkID0, String_t* ___linkText1, int32_t ___linkIndex2, const RuntimeMethod* method);
// TMPro.TMP_TextEventHandler/CharacterSelectionEvent TMPro.TMP_TextEventHandler::get_onCharacterSelection()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * TMP_TextEventHandler_get_onCharacterSelection_mA62049738125E3C48405E6DFF09E2D42300BE8C3_inline (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`2<System.Char,System.Int32>::Invoke(!0,!1)
inline void UnityEvent_2_Invoke_m0491A8025093B0C329C5ACEBAB83DC6DE3CD0C3F (UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 * __this, Il2CppChar ___arg00, int32_t ___arg11, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 *, Il2CppChar, int32_t, const RuntimeMethod*))UnityEvent_2_Invoke_m0491A8025093B0C329C5ACEBAB83DC6DE3CD0C3F_gshared)(__this, ___arg00, ___arg11, method);
}
// TMPro.TMP_TextEventHandler/SpriteSelectionEvent TMPro.TMP_TextEventHandler::get_onSpriteSelection()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * TMP_TextEventHandler_get_onSpriteSelection_m95CDEB7394FFF38F310717EEEFDCD481D96A5E82_inline (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method);
// TMPro.TMP_TextEventHandler/WordSelectionEvent TMPro.TMP_TextEventHandler::get_onWordSelection()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * TMP_TextEventHandler_get_onWordSelection_mF22771B4213EEB3AEFCDA390A4FF28FED5D9184C_inline (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`3<System.String,System.Int32,System.Int32>::Invoke(!0,!1,!2)
inline void UnityEvent_3_Invoke_mA9B8756BF3A597179581D20E1EDC4ECAAC73F0F6 (UnityEvent_3_t5EE2DC870C12CB60384C5FCBB0DAD36392E701AD * __this, String_t* ___arg00, int32_t ___arg11, int32_t ___arg22, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_3_t5EE2DC870C12CB60384C5FCBB0DAD36392E701AD *, String_t*, int32_t, int32_t, const RuntimeMethod*))UnityEvent_3_Invoke_m50868D681E7B0FAE1AA2516EF4DA7DB16CBD9DA9_gshared)(__this, ___arg00, ___arg11, ___arg22, method);
}
// TMPro.TMP_TextEventHandler/LineSelectionEvent TMPro.TMP_TextEventHandler::get_onLineSelection()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * TMP_TextEventHandler_get_onLineSelection_mDDF07E7000993FCD6EAF2FBD2D2226EB66273908_inline (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method);
// TMPro.TMP_TextEventHandler/LinkSelectionEvent TMPro.TMP_TextEventHandler::get_onLinkSelection()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * TMP_TextEventHandler_get_onLinkSelection_m87FB9EABE7F917B2F910A18A3B5F1AE3020D976D_inline (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`3<System.String,System.String,System.Int32>::Invoke(!0,!1,!2)
inline void UnityEvent_3_Invoke_m279F1BE667EB6AACD304BC58E7B39C09CE0E2D69 (UnityEvent_3_t978FAA968D1FEECACADDD0969B822861FA0C6622 * __this, String_t* ___arg00, String_t* ___arg11, int32_t ___arg22, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_3_t978FAA968D1FEECACADDD0969B822861FA0C6622 *, String_t*, String_t*, int32_t, const RuntimeMethod*))UnityEvent_3_Invoke_m1331145C187AE9ABB8C1236006F36A1D20D57C6A_gshared)(__this, ___arg00, ___arg11, ___arg22, method);
}
// System.Void TMPro.TMP_TextEventHandler/CharacterSelectionEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterSelectionEvent__ctor_m054FE9253D3C4478F57DE900A15AC9A61EC3C11E (CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * __this, const RuntimeMethod* method);
// System.Void TMPro.TMP_TextEventHandler/SpriteSelectionEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpriteSelectionEvent__ctor_m89C1D1F720F140491B28D9B32B0C7202EE8C4963 (SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * __this, const RuntimeMethod* method);
// System.Void TMPro.TMP_TextEventHandler/WordSelectionEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WordSelectionEvent__ctor_m3F52F327A9627042EDB065C1080CEB764F1154F2 (WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * __this, const RuntimeMethod* method);
// System.Void TMPro.TMP_TextEventHandler/LineSelectionEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LineSelectionEvent__ctor_m419828B3E32BC3F6F5AAC88D7B90CF50A74C80B2 (LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * __this, const RuntimeMethod* method);
// System.Void TMPro.TMP_TextEventHandler/LinkSelectionEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LinkSelectionEvent__ctor_m4083D6FF46F61AAF956F77FFE849B5166E2579BC (LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityEvent`2<System.Char,System.Int32>::.ctor()
inline void UnityEvent_2__ctor_mC75313448B2ABE238198CDD698EA81B87F379C61 (UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 * __this, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 *, const RuntimeMethod*))UnityEvent_2__ctor_mC75313448B2ABE238198CDD698EA81B87F379C61_gshared)(__this, method);
}
// System.Void UnityEngine.Events.UnityEvent`3<System.String,System.Int32,System.Int32>::.ctor()
inline void UnityEvent_3__ctor_m945E5A788027E4B7491C93E2ACBD523B5A8E1829 (UnityEvent_3_t5EE2DC870C12CB60384C5FCBB0DAD36392E701AD * __this, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_3_t5EE2DC870C12CB60384C5FCBB0DAD36392E701AD *, const RuntimeMethod*))UnityEvent_3__ctor_m941EF00E4EF658BB1461C8BD9E6527F9E495DCFE_gshared)(__this, method);
}
// System.Void UnityEngine.Events.UnityEvent`3<System.String,System.String,System.Int32>::.ctor()
inline void UnityEvent_3__ctor_mFE0002F38DAAC29805C09ACB9F397DE80F6CB7BC (UnityEvent_3_t978FAA968D1FEECACADDD0969B822861FA0C6622 * __this, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_3_t978FAA968D1FEECACADDD0969B822861FA0C6622 *, const RuntimeMethod*))UnityEvent_3__ctor_mB689E1A15DDACB9ED22ACAB2BCA3D97B893FFA5B_gshared)(__this, method);
}
// System.Void TMPro.Examples.Benchmark01/<Start>d__10::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__10__ctor_m242187966C9D563957FB0F76C467B25C25D91D69 (U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::AddComponent<TMPro.TextMeshPro>()
inline TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
// System.Void TMPro.TMP_Text::set_font(TMPro.TMP_FontAsset)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_font_mC55E4A8C1C09595031384B35F2C2FB2FC3479E83 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * ___value0, const RuntimeMethod* method);
// System.Void TMPro.TMP_Text::set_fontSize(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, float ___value0, const RuntimeMethod* method);
// System.Void TMPro.TMP_Text::set_alignment(TMPro.TextAlignmentOptions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void TMPro.TMP_Text::set_extraPadding(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_extraPadding_m26595B78EDE43EFBCCBF7D5E23932ADCB983EF32 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void TMPro.TMP_Text::set_enableWordWrapping(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_enableWordWrapping_mFAEE849315B4723F9C86C127B1A59EF50BE1C12F (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, bool ___value0, const RuntimeMethod* method);
// TMPro.TMP_FontAsset TMPro.TMP_Text::get_font()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * TMP_Text_get_font_m1F5E907B9181A54212FBD8123242583C1CA4BE2A_inline (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Resources::Load<UnityEngine.Material>(System.String)
inline Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128 (String_t* ___path0, const RuntimeMethod* method)
{
return (( Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * (*) (String_t*, const RuntimeMethod*))Resources_Load_TisRuntimeObject_m8B40A11CE62A4E445DADC28C81BD73922A4D4B65_gshared)(___path0, method);
}
// !!0 UnityEngine.GameObject::AddComponent<UnityEngine.TextMesh>()
inline TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
// System.Void UnityEngine.TextMesh::set_font(UnityEngine.Font)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_font_m7E407CAEDBB382B95B70069D8FAB8A9E74EAAA74 (TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * __this, Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * ___value0, const RuntimeMethod* method);
// !!0 UnityEngine.Component::GetComponent<UnityEngine.Renderer>()
inline Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 * __this, const RuntimeMethod* method)
{
return (( Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
}
// UnityEngine.Font UnityEngine.TextMesh::get_font()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * TextMesh_get_font_m94D3A4C8E4DB171B74E4FF00AC7EC27F3D495664 (TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * __this, const RuntimeMethod* method);
// UnityEngine.Material UnityEngine.Font::get_material()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * Font_get_material_m61ABDEC14C6D659DDC5A4F080023699116C17364 (Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Renderer::set_sharedMaterial(UnityEngine.Material)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Renderer_set_sharedMaterial_m5E842F9A06CFB7B77656EB319881CB4B3E8E4288 (Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * ___value0, const RuntimeMethod* method);
// UnityEngine.Object UnityEngine.Resources::Load(System.String,System.Type)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * Resources_Load_mDCC8EBD3196F1CE1B86E74416AD90CF86320C401 (String_t* ___path0, Type_t * ___systemTypeInstance1, const RuntimeMethod* method);
// System.Void UnityEngine.TextMesh::set_fontSize(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_fontSize_mAB9F7FFC0E4DB759B786F6A9357B18C86015498B (TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.TextMesh::set_anchor(UnityEngine.TextAnchor)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_anchor_m3FCB7C4B1FF66CE189B56076C0306AFE984FCD32 (TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void TMPro.TMP_Text::SetText(System.String,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_mC6973FFC60DB6A96B0C4253CD2FD9D0789ECC533 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, String_t* ___sourceText0, float ___arg01, const RuntimeMethod* method);
// System.Void UnityEngine.TextMesh::set_text(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_text_mDF79D39638ED82797D0B0B3BB9E6B10712F8EA9E (TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * __this, String_t* ___value0, const RuntimeMethod* method);
// System.Void TMPro.Examples.Benchmark01_UGUI/<Start>d__10::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__10__ctor_m515F107569D5BDE7C81F5DFDAB4A298A5399EB5A (U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::AddComponent<TMPro.TextMeshProUGUI>()
inline TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
// !!0 UnityEngine.GameObject::AddComponent<UnityEngine.UI.Text>()
inline Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62 * GameObject_AddComponent_TisText_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62_mFECE312B08FC5FD0A081E51ACA01FAEFD6B841A9 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62 * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
// System.Void UnityEngine.UI.Text::set_font(UnityEngine.Font)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_font_mA0D2999281A72029A5BC7294A886C5674F07DC5F (Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62 * __this, Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Text::set_fontSize(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_fontSize_m426338B0A2CDA58609028FFD471EF5F2C9F364D4 (Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.UI.Text::set_alignment(UnityEngine.TextAnchor)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Text_set_alignment_m9FAD6C1C270FA28C610AB1E07414FBF96403157A (Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62 * __this, int32_t ___value0, const RuntimeMethod* method);
// UnityEngine.Transform UnityEngine.GameObject::get_transform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Random::Range(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B (float ___minInclusive0, float ___maxInclusive1, const RuntimeMethod* method);
// System.Void UnityEngine.Vector3::.ctor(System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * __this, float ___x0, float ___y1, float ___z2, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::set_position(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.RectTransform::set_pivot(UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RectTransform_set_pivot_m79D0177D383D432A93C2615F1932B739B1C6E146 (RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___value0, const RuntimeMethod* method);
// System.Void TMPro.TMP_Text::set_enableKerning(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_enableKerning_m681685E06B8789F5F2B7043EBEA561AAE48E82BD (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, bool ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.Color32::.ctor(System.Byte,System.Byte,System.Byte,System.Byte)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B * __this, uint8_t ___r0, uint8_t ___g1, uint8_t ___b2, uint8_t ___a3, const RuntimeMethod* method);
// UnityEngine.Color UnityEngine.Color32::op_Implicit(UnityEngine.Color32)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___c0, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::AddComponent<TMPro.Examples.TextMeshProFloatingText>()
inline TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
// !!0 UnityEngine.Resources::Load<UnityEngine.Font>(System.String)
inline Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * Resources_Load_TisFont_tC95270EA3198038970422D78B74A7F2E218A96B6_mF1595237572FCE3E2EE060D2038BE3F341DB7901 (String_t* ___path0, const RuntimeMethod* method)
{
return (( Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * (*) (String_t*, const RuntimeMethod*))Resources_Load_TisRuntimeObject_m8B40A11CE62A4E445DADC28C81BD73922A4D4B65_gshared)(___path0, method);
}
// System.Void UnityEngine.TextMesh::set_color(UnityEngine.Color)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMesh_set_color_mF08F30C3CD797C16289225B567724B9F07DC641E (TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___value0, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::AddComponent<UnityEngine.Canvas>()
inline Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * GameObject_AddComponent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m13C85FD585C0679530F8B35D0B39D965702FD0F5 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
// System.Void UnityEngine.Canvas::set_worldCamera(UnityEngine.Camera)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Canvas_set_worldCamera_m007F7DABDB5A3A6BFB043E3500DA82A4D936EDD4 (Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * __this, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::set_localScale(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_localScale_mBA79E811BAF6C47B80FF76414C12B47B3CD03633 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::SetParent(UnityEngine.Transform,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_SetParent_m9BDD7B7476714B2D7919B10BDC22CE75C0A0A195 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___parent0, bool ___worldPositionStays1, const RuntimeMethod* method);
// UnityEngine.Transform UnityEngine.Component::get_transform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 * __this, const RuntimeMethod* method);
// System.Int32 UnityEngine.Screen::get_height()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Screen_get_height_m624DD2D53F34087064E3B9D09AC2207DB4E86CA8 (const RuntimeMethod* method);
// System.Void UnityEngine.Camera::set_orthographicSize(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Camera_set_orthographicSize_m76DD021032ACB3DDBD052B75EC66DCE3A7295A5C (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * __this, float ___value0, const RuntimeMethod* method);
// System.Int32 UnityEngine.Screen::get_width()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Screen_get_width_mCA5D955A53CF6D29C8C7118D517D0FC84AE8056C (const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Transform::get_position()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method);
// System.Void TMPro.TMP_Text::set_isOrthographic(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_isOrthographic_mF58B9C6B492D4FD1BA0AB339E4B91F0A1F644C18 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, bool ___value0, const RuntimeMethod* method);
// System.Int32 UnityEngine.QualitySettings::get_vSyncCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t QualitySettings_get_vSyncCount_m623B92EE9CBB51A7A96CA88022319CC46CC02F24 (const RuntimeMethod* method);
// System.Void UnityEngine.Application::set_targetFrameRate(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Application_set_targetFrameRate_m794A13DC5116C506B042663606691257CF3A7325 (int32_t ___value0, const RuntimeMethod* method);
// UnityEngine.RuntimePlatform UnityEngine.Application::get_platform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Application_get_platform_m1AB34E71D9885B120F6021EB2B11DCB28CD6008D (const RuntimeMethod* method);
// System.Void UnityEngine.Input::set_simulateMouseWithTouches(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Input_set_simulateMouseWithTouches_mF16D68F2DA2BC83A7FEFA116E2C9BC10F3AD38DD (bool ___value0, const RuntimeMethod* method);
// System.Void TMPro.Examples.CameraController::GetPlayerInput()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CameraController_GetPlayerInput_m31AE86C54785402EB078A40F37D83FEA9216388F (CameraController_t7E0AA7DC0B482A31CC3D60F6032912FE8B581DA8 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Quaternion::op_Multiply(UnityEngine.Quaternion,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_op_Multiply_mF1348668A6CCD46FBFF98D39182F89358ED74AC0 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___point1, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Transform::TransformDirection(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_TransformDirection_m9BE1261DF2D48B7A4A27D31EE24D2D97F89E7757 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___direction0, const RuntimeMethod* method);
// System.Single UnityEngine.Time::get_fixedDeltaTime()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_fixedDeltaTime_mD7107AF06157FC18A50E14E0755CEE137E9A4088 (const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::SmoothDamp(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3&,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_SmoothDamp_m017722BD53BAE32893C2A1B674746E340D4A5B89_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___current0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___target1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * ___currentVelocity2, float ___smoothTime3, const RuntimeMethod* method);
// UnityEngine.Quaternion UnityEngine.Transform::get_rotation()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::op_Subtraction(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method);
// UnityEngine.Quaternion UnityEngine.Quaternion::LookRotation(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_LookRotation_m8C0F294E5143F93D378E020EAD9DA2288A5907A3 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forward0, const RuntimeMethod* method);
// System.Single UnityEngine.Time::get_deltaTime()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D (const RuntimeMethod* method);
// UnityEngine.Quaternion UnityEngine.Quaternion::Lerp(UnityEngine.Quaternion,UnityEngine.Quaternion,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Lerp_m7BE5A2D8FA33A15A5145B2F5261707CA17C3E792 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___a0, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___b1, float ___t2, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::set_rotation(UnityEngine.Quaternion)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::LookAt(UnityEngine.Transform)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_LookAt_mA8567593181FD78BBDC2AF29AD99F93BDB2976B2 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___target0, const RuntimeMethod* method);
// System.Single UnityEngine.Input::GetAxis(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Input_GetAxis_m1F49B26F24032F45FB4583C95FB24E6771A161D4 (String_t* ___axisName0, const RuntimeMethod* method);
// System.Int32 UnityEngine.Input::get_touchCount()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Input_get_touchCount_m7B8EAAB3449A6DC2D90AF3BA36AF226D97C020CF (const RuntimeMethod* method);
// System.Boolean UnityEngine.Input::GetKey(UnityEngine.KeyCode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Input_GetKey_m0BF0499CADC378F02B6BEE2399FB945AB929B81A (int32_t ___key0, const RuntimeMethod* method);
// System.Boolean UnityEngine.Input::GetKeyDown(UnityEngine.KeyCode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Input_GetKeyDown_m0D59B7EBC3A782C9FBBF107FBCD4B72B38D993B3 (int32_t ___key0, const RuntimeMethod* method);
// System.Boolean UnityEngine.Input::GetMouseButton(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Input_GetMouseButton_mE545CF4B790C6E202808B827E3141BEC3330DB70 (int32_t ___button0, const RuntimeMethod* method);
// System.Single UnityEngine.Mathf::Clamp(System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_m154E404AF275A3B2EC99ECAA3879B4CB9F0606DC_inline (float ___value0, float ___min1, float ___max2, const RuntimeMethod* method);
// UnityEngine.Touch UnityEngine.Input::GetTouch(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Touch_t03E51455ED508492B3F278903A0114FA0E87B417 Input_GetTouch_m37572A728DAE284D3ED1272690E635A61D167AD4 (int32_t ___index0, const RuntimeMethod* method);
// UnityEngine.TouchPhase UnityEngine.Touch::get_phase()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Touch_get_phase_mB82409FB2BE1C32ABDBA6A72E52A099D28AB70B0 (Touch_t03E51455ED508492B3F278903A0114FA0E87B417 * __this, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.Touch::get_deltaPosition()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Touch_get_deltaPosition_m2D51F960B74C94821ED0F6A09E44C80FD796D299 (Touch_t03E51455ED508492B3F278903A0114FA0E87B417 * __this, const RuntimeMethod* method);
// UnityEngine.Ray UnityEngine.Camera::ScreenPointToRay(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 Camera_ScreenPointToRay_m2887B9A49880B7AB670C57D66B67D6A6689FE315 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pos0, const RuntimeMethod* method);
// System.Boolean UnityEngine.Physics::Raycast(UnityEngine.Ray,UnityEngine.RaycastHit&,System.Single,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Physics_Raycast_m6140FC91F32547F11C687FA1A002850598B74A0D (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 ___ray0, RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 * ___hitInfo1, float ___maxDistance2, int32_t ___layerMask3, const RuntimeMethod* method);
// UnityEngine.Transform UnityEngine.RaycastHit::get_transform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * RaycastHit_get_transform_m89DB7FCFC50E0213A37CBE089400064B8FA19155 (RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Transform::TransformDirection(System.Single,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_TransformDirection_m9C397BCD37FEFEDDE923D38FDCBC9DDC517AE5C3 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, float ___x0, float ___y1, float ___z2, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::op_UnaryNegation(UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m3AC523A7BED6E843165BDF598690F0560D8CAA63_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::Translate(UnityEngine.Vector3,UnityEngine.Space)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_Translate_m4A9E3D8836586E7562F6A18EBF5F5B6089D8B649 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___translation0, int32_t ___relativeTo1, const RuntimeMethod* method);
// UnityEngine.Vector2 UnityEngine.Touch::get_position()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Touch_get_position_m41B9EB0F3F3E1BE98CEB388253A9E31979CB964A (Touch_t03E51455ED508492B3F278903A0114FA0E87B417 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Vector2::get_magnitude()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_get_magnitude_m5C59B4056420AEFDB291AD0914A3F675330A75CE_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Quaternion::get_eulerAngles()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 * __this, const RuntimeMethod* method);
// !!0 UnityEngine.Component::GetComponent<UnityEngine.Light>()
inline Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3 * Component_GetComponent_TisLight_t1E68479B7782AF2050FAA02A5DC612FD034F18F3_mF4816FA12B6F220CA55D47D669D7E50DC118B9E9 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 * __this, const RuntimeMethod* method)
{
return (( Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3 * (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
}
// UnityEngine.Color UnityEngine.Color::get_black()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_black_mBF96B603B41BED9BAFAA10CE8D946D24260F9729_inline (const RuntimeMethod* method);
// UnityEngine.Color UnityEngine.Light::get_color()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Light_get_color_mE7EB8F11BF394877B50A2F335627441889ADE536 (Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3 * __this, const RuntimeMethod* method);
// UnityEngine.Color32 UnityEngine.Color32::op_Implicit(UnityEngine.Color)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B Color32_op_Implicit_m7EFA0B83AD1AE15567E9BC2FA2B8E66D3BFE1395_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___c0, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::Rotate(System.Single,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_Rotate_m7EA47AD57F43D478CCB0523D179950EE49CDA3E2 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, float ___xAngle0, float ___yAngle1, float ___zAngle2, const RuntimeMethod* method);
// UnityEngine.Material UnityEngine.Renderer::get_material()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * Renderer_get_material_m5BA2A00816C4CC66580D4B2E409CF10718C15656 (Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * __this, const RuntimeMethod* method);
// System.Collections.IEnumerator TMPro.Examples.ShaderPropAnimator::AnimateProperties()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* ShaderPropAnimator_AnimateProperties_m9F466F9C9554AA7488F4607E7FAC9A5C61F46D56 (ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * __this, const RuntimeMethod* method);
// UnityEngine.Coroutine UnityEngine.MonoBehaviour::StartCoroutine(System.Collections.IEnumerator)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812 (MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 * __this, RuntimeObject* ___routine0, const RuntimeMethod* method);
// System.Void TMPro.Examples.ShaderPropAnimator/<AnimateProperties>d__6::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimatePropertiesU3Ed__6__ctor_m2B0F8A634812D7FE998DD35188C5F07797E4FB0D (U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// System.Single UnityEngine.AnimationCurve::Evaluate(System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * __this, float ___time0, const RuntimeMethod* method);
// System.Void UnityEngine.Material::SetFloat(System.Int32,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8 (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * __this, int32_t ___nameID0, float ___value1, const RuntimeMethod* method);
// System.Void UnityEngine.WaitForEndOfFrame::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WaitForEndOfFrame__ctor_m4AF7E576C01E6B04443BB898B1AE5D645F7D45AB (WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663 * __this, const RuntimeMethod* method);
// System.Collections.IEnumerator TMPro.Examples.SkewTextExample::WarpText()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* SkewTextExample_WarpText_m462DE1568957770D72704E93D2461D8371C0D362 (SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.AnimationCurve::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationCurve__ctor_m0D976567166F92383307DC8EB8D7082CD34E226F (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * __this, const RuntimeMethod* method);
// UnityEngine.Keyframe[] UnityEngine.AnimationCurve::get_keys()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* AnimationCurve_get_keys_m34452C69464AB459C04BFFEA4F541F06B419AC4E (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * __this, const RuntimeMethod* method);
// System.Void UnityEngine.AnimationCurve::set_keys(UnityEngine.Keyframe[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationCurve_set_keys_mBE1284B44CDBB1D8381177A3D581A6E71467F95C (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * __this, KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* ___value0, const RuntimeMethod* method);
// System.Void TMPro.Examples.SkewTextExample/<WarpText>d__7::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CWarpTextU3Ed__7__ctor_m39944C7E44F317ACDEC971C8FF2DEC8EA1CCC1C2 (U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// System.Void UnityEngine.Keyframe::.ctor(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34 (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 * __this, float ___time0, float ___value1, const RuntimeMethod* method);
// System.Void UnityEngine.AnimationCurve::.ctor(UnityEngine.Keyframe[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationCurve__ctor_mEABC98C03805713354D61E50D9340766BD5B717E (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * __this, KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* ___keys0, const RuntimeMethod* method);
// System.Void UnityEngine.AnimationCurve::set_preWrapMode(UnityEngine.WrapMode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationCurve_set_preWrapMode_mA618E67F536483FA5F3507A2D97C045E089D1B2D (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.AnimationCurve::set_postWrapMode(UnityEngine.WrapMode)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AnimationCurve_set_postWrapMode_m39A4758ABD5D2AEE475940829352792FE7E9CBA9 (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Void TMPro.TMP_Text::set_havePropertiesChanged(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_havePropertiesChanged_mA38D7BC9E260BF29450738B827F2220A05662B31 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, bool ___value0, const RuntimeMethod* method);
// UnityEngine.AnimationCurve TMPro.Examples.SkewTextExample::CopyAnimationCurve(UnityEngine.AnimationCurve)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * SkewTextExample_CopyAnimationCurve_mD2C2C4CA7AFBAAC9F4B04CB2896DB9B32B015ACB (SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * __this, AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * ___curve0, const RuntimeMethod* method);
// System.Boolean TMPro.TMP_Text::get_havePropertiesChanged()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool TMP_Text_get_havePropertiesChanged_m42ECC7D1CA0DF6E59ACF761EB20635E81FCB8EFF_inline (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Keyframe::get_value()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Keyframe_get_value_m53E6B7609086AAAA46E24BAF734EF08E16A3FD6C (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 * __this, const RuntimeMethod* method);
// UnityEngine.Bounds TMPro.TMP_Text::get_bounds()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 TMP_Text_get_bounds_mAEE407DE6CA2E1D1180868C03A3F0A3B6E455189 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Bounds::get_min()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Bounds::get_max()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector2::op_Implicit(UnityEngine.Vector2)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector2_op_Implicit_mCD214B04BC52AED3C89C3BEF664B6247E5F8954A_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___v0, const RuntimeMethod* method);
// System.Void UnityEngine.Vector3::.ctor(System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m5F87930F9B0828E5652E2D9D01ED907C01122C86_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * __this, float ___x0, float ___y1, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::get_normalized()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Vector3::Dot(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_m4688A1A524306675DBDB1E6D483F35E85E3CE6D8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lhs0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rhs1, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::Cross(UnityEngine.Vector3,UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Cross_m77F64620D73934C56BEE37A64016DBDCB9D21DB8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lhs0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rhs1, const RuntimeMethod* method);
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::TRS(UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_TRS_mFEBA6926DB0044B96EF0CE98F30FEE7596820680 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pos0, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___q1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___s2, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Matrix4x4::MultiplyPoint3x4(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 * __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___point0, const RuntimeMethod* method);
// System.Void TMPro.Examples.TeleType/<Start>d__4::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__4__ctor_m7CB9C7DF4657B7B70F6ED6EEB00C0F422D8B0CAA (U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// System.Void TMPro.TMP_Text::set_maxVisibleCharacters(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_maxVisibleCharacters_mEDD8DCB11D204F3FC10BFAC49BF6E8E09548358A (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Collections.IEnumerator TMPro.Examples.TextConsoleSimulator::RevealCharacters(TMPro.TMP_Text)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TextConsoleSimulator_RevealCharacters_mAA4D3653F05692839313CE180250A44378024E52 (TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * __this, TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___textComponent0, const RuntimeMethod* method);
// System.Void System.Action`1<UnityEngine.Object>::.ctor(System.Object,System.IntPtr)
inline void Action_1__ctor_m95478636F075134CA2998E22B214611472600983 (Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *, RuntimeObject *, intptr_t, const RuntimeMethod*))Action_1__ctor_m2E1DFA67718FC1A0B6E5DFEB78831FFE9C059EB4_gshared)(__this, ___object0, ___method1, method);
}
// System.Void TMPro.FastAction`1<UnityEngine.Object>::Add(System.Action`1<!0>)
inline void FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6 (FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * __this, Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * ___rhs0, const RuntimeMethod* method)
{
(( void (*) (FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 *, Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *, const RuntimeMethod*))FastAction_1_Add_mAFBAB8BEFC425D727FF303611342E6D1E6E82D86_gshared)(__this, ___rhs0, method);
}
// System.Void TMPro.FastAction`1<UnityEngine.Object>::Remove(System.Action`1<!0>)
inline void FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F (FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * __this, Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * ___rhs0, const RuntimeMethod* method)
{
(( void (*) (FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 *, Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *, const RuntimeMethod*))FastAction_1_Remove_m0C649E2173AA0370C08417DCFD89B7304F28BC0C_gshared)(__this, ___rhs0, method);
}
// System.Void TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRevealCharactersU3Ed__7__ctor_m40A144070AB46560F2B3919EA5CB8BD51F8DDF45 (U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// System.Void TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRevealWordsU3Ed__8__ctor_mDF8D4C69F022D088AFC0E109FC0DBE0C9B938CAC (U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// System.String UnityEngine.Object::get_name()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * __this, const RuntimeMethod* method);
// System.Void UnityEngine.RectTransform::set_sizeDelta(UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RectTransform_set_sizeDelta_mC9A980EA6036E6725EF24CEDF3EE80A9B2B50EE5 (RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___value0, const RuntimeMethod* method);
// System.Int32 UnityEngine.Random::Range(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8 (int32_t ___minInclusive0, int32_t ___maxExclusive1, const RuntimeMethod* method);
// System.Collections.IEnumerator TMPro.Examples.TextMeshProFloatingText::DisplayTextMeshProFloatingText()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TextMeshProFloatingText_DisplayTextMeshProFloatingText_mA1E370089458CD380E9BA7740C2BC2032F084148 (TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * __this, const RuntimeMethod* method);
// System.Collections.IEnumerator TMPro.Examples.TextMeshProFloatingText::DisplayTextMeshFloatingText()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TextMeshProFloatingText_DisplayTextMeshFloatingText_mA02B20CF33E43FE99FD5F1B90F7F350262F0BEBE (TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * __this, const RuntimeMethod* method);
// System.Void TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CDisplayTextMeshProFloatingTextU3Ed__12__ctor_m5783C7EE3A7D230F5D8FE65111F7F0B3AACF4A5D (U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// System.Void TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CDisplayTextMeshFloatingTextU3Ed__13__ctor_m093946C77D9946811A7799D06F8D7170FB42A8EB (U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// UnityEngine.Quaternion UnityEngine.Quaternion::get_identity()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline (const RuntimeMethod* method);
// System.Boolean TMPro.TMPro_ExtensionMethods::Compare(UnityEngine.Vector3,UnityEngine.Vector3,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMPro_ExtensionMethods_Compare_mA7AB3A35D921F8014C17306CC64D6CFD8F215CA6 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___v10, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___v21, int32_t ___accuracy2, const RuntimeMethod* method);
// System.Boolean TMPro.TMPro_ExtensionMethods::Compare(UnityEngine.Quaternion,UnityEngine.Quaternion,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TMPro_ExtensionMethods_Compare_mFC4E4CDEBF258A3DC7411E7E2395FE58739BF3F7 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___q10, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___q21, int32_t ___accuracy2, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::set_forward(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_forward_mA178B5CF4F0F6133F9AF8ED3A4ECD2C604C60C26 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method);
// UnityEngine.Color UnityEngine.TextMesh::get_color()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F TextMesh_get_color_m128E5D16AA72D5284C70957253DEAEE4FBEB023E (TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Behaviour::get_enabled()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Behaviour_get_enabled_mAAC9F15E9EBF552217A5AE2681589CC0BFA300C1 (Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA * __this, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::set_parent(UnityEngine.Transform)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_parent_m9BD5E563B539DD5BEC342736B03F97B38A243234 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::set_localRotation(UnityEngine.Quaternion)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___value0, const RuntimeMethod* method);
// !!0 UnityEngine.Resources::Load<TMPro.TMP_FontAsset>(System.String)
inline TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13 (String_t* ___path0, const RuntimeMethod* method)
{
return (( TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * (*) (String_t*, const RuntimeMethod*))Resources_Load_TisRuntimeObject_m8B40A11CE62A4E445DADC28C81BD73922A4D4B65_gshared)(___path0, method);
}
// System.Void TMPro.TMP_Text::set_isOverlay(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_set_isOverlay_m0DA2AC113AE402CA25097641AD38D0822C6D5561 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, bool ___value0, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::GetComponent<TMPro.TextContainer>()
inline TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C * GameObject_GetComponent_TisTextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C_mA04134D48462B7543775CE11D71859B1D2A99872 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared)(__this, method);
}
// System.Void TMPro.Examples.TMPro_InstructionOverlay::Set_FrameCounter_Position(TMPro.Examples.TMPro_InstructionOverlay/FpsCounterAnchorPositions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMPro_InstructionOverlay_Set_FrameCounter_Position_m3CC1B812C740BAE87C6B5CA94DC64E6131F42A7C (TMPro_InstructionOverlay_t1CFD12C64F70D5D2FBE29466015C02776A406B62 * __this, int32_t ___anchor_position0, const RuntimeMethod* method);
// System.Void TMPro.TextContainer::set_anchorPosition(TMPro.TextContainerAnchors)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextContainer_set_anchorPosition_mA915529616A0B4679FAAA6183FC194597E03EA50 (TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C * __this, int32_t ___value0, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Camera::ViewportToWorldPoint(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Camera_ViewportToWorldPoint_m9D76494E8B695ADF7690BAF7953B89B152D96E71 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position0, const RuntimeMethod* method);
// !!0 UnityEngine.Component::GetComponent<TMPro.TextMeshPro>()
inline TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * Component_GetComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_m991A1A2A2EFE70B64BBECFF1B44EE5C04FF8994E (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 * __this, const RuntimeMethod* method)
{
return (( TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
}
// !!0 UnityEngine.Component::GetComponent<TMPro.TextMeshProUGUI>()
inline TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * Component_GetComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m23F8F2F9DD5A54329CEB47D53B4CAA8BC4A562AA (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 * __this, const RuntimeMethod* method)
{
return (( TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 *, const RuntimeMethod*))Component_GetComponent_TisRuntimeObject_m7181F81CAEC2CF53F5D2BC79B7425C16E1F80D33_gshared)(__this, method);
}
// UnityEngine.Vector2 TMPro.TMP_Text::GetPreferredValues(System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 TMP_Text_GetPreferredValues_m1F06F3D203FD8F13D0335F697E839E5DAA61DD14 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, float ___width0, float ___height1, const RuntimeMethod* method);
// System.Void UnityEngine.Transform::SetParent(UnityEngine.Transform)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_SetParent_m6677538B60246D958DD91F931C50F969CCBB5250 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * ___p0, const RuntimeMethod* method);
// System.Void TMPro.Examples.TMP_FrameRateCounter::Set_FrameCounter_Position(TMPro.Examples.TMP_FrameRateCounter/FpsCounterAnchorPositions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_FrameRateCounter_Set_FrameCounter_Position_m1CC40A8236B2161050D19C4B2EBFF34B96645723 (TMP_FrameRateCounter_t65C436069EE403C827CBE41C38F5B5C9D2FC946B * __this, int32_t ___anchor_position0, const RuntimeMethod* method);
// System.Single UnityEngine.Time::get_realtimeSinceStartup()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Time_get_realtimeSinceStartup_mB49A5622E38FFE9589EB9B3E75573E443B8D63EC (const RuntimeMethod* method);
// System.Single UnityEngine.Mathf::Max(System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mA9DCA91E87D6D27034F56ABA52606A9090406016_inline (float ___a0, float ___b1, const RuntimeMethod* method);
// System.Void TMPro.TMP_Text::SetText(System.String,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_Text_SetText_m033947AEEEBDA12707E4B0535B4CCD7EB28B5F31 (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, String_t* ___sourceText0, float ___arg01, float ___arg12, const RuntimeMethod* method);
// System.Void UnityEngine.Vector4::.ctor(System.Single,System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 * __this, float ___x0, float ___y1, float ___z2, float ___w3, const RuntimeMethod* method);
// System.Void UnityEngine.Events.UnityAction`2<System.Char,System.Int32>::.ctor(System.Object,System.IntPtr)
inline void UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D (UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 *, RuntimeObject *, intptr_t, const RuntimeMethod*))UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D_gshared)(__this, ___object0, ___method1, method);
}
// System.Void UnityEngine.Events.UnityEvent`2<System.Char,System.Int32>::AddListener(UnityEngine.Events.UnityAction`2<!0,!1>)
inline void UnityEvent_2_AddListener_mE2FC084F4ADB9D24D904D6A39A83763969F91E27 (UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 * __this, UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 * ___call0, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 *, UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 *, const RuntimeMethod*))UnityEvent_2_AddListener_mE2FC084F4ADB9D24D904D6A39A83763969F91E27_gshared)(__this, ___call0, method);
}
// System.Void UnityEngine.Events.UnityAction`3<System.String,System.Int32,System.Int32>::.ctor(System.Object,System.IntPtr)
inline void UnityAction_3__ctor_m16AB9F4E444421420CA4A34EA0A6F60B15E20B9D (UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 *, RuntimeObject *, intptr_t, const RuntimeMethod*))UnityAction_3__ctor_mD44DC0C0DB38805A3DB6A9B9F6052F2332DEEE79_gshared)(__this, ___object0, ___method1, method);
}
// System.Void UnityEngine.Events.UnityEvent`3<System.String,System.Int32,System.Int32>::AddListener(UnityEngine.Events.UnityAction`3<!0,!1,!2>)
inline void UnityEvent_3_AddListener_mE456028DE63E2FF37E53F2618AA321B5551B881A (UnityEvent_3_t5EE2DC870C12CB60384C5FCBB0DAD36392E701AD * __this, UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 * ___call0, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_3_t5EE2DC870C12CB60384C5FCBB0DAD36392E701AD *, UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 *, const RuntimeMethod*))UnityEvent_3_AddListener_mB461B21F098D8AA18E33A0FF2AC6B5F357AF0299_gshared)(__this, ___call0, method);
}
// System.Void UnityEngine.Events.UnityAction`3<System.String,System.String,System.Int32>::.ctor(System.Object,System.IntPtr)
inline void UnityAction_3__ctor_m7F8FD30A8410091074136C8426E3B7338FD2D7FB (UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039 * __this, RuntimeObject * ___object0, intptr_t ___method1, const RuntimeMethod* method)
{
(( void (*) (UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039 *, RuntimeObject *, intptr_t, const RuntimeMethod*))UnityAction_3__ctor_m2F6C2E527FCBE0253599EB3B4066B3F3E0FD5A6D_gshared)(__this, ___object0, ___method1, method);
}
// System.Void UnityEngine.Events.UnityEvent`3<System.String,System.String,System.Int32>::AddListener(UnityEngine.Events.UnityAction`3<!0,!1,!2>)
inline void UnityEvent_3_AddListener_mB8CBD686B0A41D0A0F0D809824E8904A827C3188 (UnityEvent_3_t978FAA968D1FEECACADDD0969B822861FA0C6622 * __this, UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039 * ___call0, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_3_t978FAA968D1FEECACADDD0969B822861FA0C6622 *, UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039 *, const RuntimeMethod*))UnityEvent_3_AddListener_m3AA2B007902D3FE6138FE14E8BB7BB720471EBED_gshared)(__this, ___call0, method);
}
// System.Void UnityEngine.Events.UnityEvent`2<System.Char,System.Int32>::RemoveListener(UnityEngine.Events.UnityAction`2<!0,!1>)
inline void UnityEvent_2_RemoveListener_m57B7F9B719A15831F63EA67147A848E324F3760B (UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 * __this, UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 * ___call0, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_2_tE1EF7CBD9965CD9466B63C1AD8FB3661A30C25B3 *, UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 *, const RuntimeMethod*))UnityEvent_2_RemoveListener_m57B7F9B719A15831F63EA67147A848E324F3760B_gshared)(__this, ___call0, method);
}
// System.Void UnityEngine.Events.UnityEvent`3<System.String,System.Int32,System.Int32>::RemoveListener(UnityEngine.Events.UnityAction`3<!0,!1,!2>)
inline void UnityEvent_3_RemoveListener_m9741C57D75E2CE8CCD912E252CBACCE5FC950523 (UnityEvent_3_t5EE2DC870C12CB60384C5FCBB0DAD36392E701AD * __this, UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 * ___call0, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_3_t5EE2DC870C12CB60384C5FCBB0DAD36392E701AD *, UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 *, const RuntimeMethod*))UnityEvent_3_RemoveListener_m9F3B34881BBD41EB01560C7BF8EB8B108D4A5DD8_gshared)(__this, ___call0, method);
}
// System.Void UnityEngine.Events.UnityEvent`3<System.String,System.String,System.Int32>::RemoveListener(UnityEngine.Events.UnityAction`3<!0,!1,!2>)
inline void UnityEvent_3_RemoveListener_mA451198DCB5DD86D0B87D256F26293566D209026 (UnityEvent_3_t978FAA968D1FEECACADDD0969B822861FA0C6622 * __this, UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039 * ___call0, const RuntimeMethod* method)
{
(( void (*) (UnityEvent_3_t978FAA968D1FEECACADDD0969B822861FA0C6622 *, UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039 *, const RuntimeMethod*))UnityEvent_3_RemoveListener_mB363F4B5EEE001BB8EB1B788D1CC30A1FB5CD41F_gshared)(__this, ___call0, method);
}
// !!0 UnityEngine.GameObject::GetComponent<TMPro.TextMeshPro>()
inline TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * GameObject_GetComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_m788ADD6C98FD3A1039F72A865AB7D335AEA6116F (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared)(__this, method);
}
// System.Void UnityEngine.Mesh::set_colors32(UnityEngine.Color32[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_set_colors32_m0E4462B7A1D613E6FB15DD7584BCE5491C17820F (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * __this, Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* ___value0, const RuntimeMethod* method);
// System.Boolean UnityEngine.RectTransformUtility::ScreenPointToWorldPointInRectangle(UnityEngine.RectTransform,UnityEngine.Vector2,UnityEngine.Camera,UnityEngine.Vector3&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RectTransformUtility_ScreenPointToWorldPointInRectangle_mA37289182AEA7D89BA927C325F82980085D6A882 (RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___rect0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___screenPoint1, Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * ___cam2, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * ___worldPoint3, const RuntimeMethod* method);
// System.Boolean System.String::op_Equality(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Equality_m0D685A924E5CD78078F248ED1726DA5A9D7D6AC0 (String_t* ___a0, String_t* ___b1, const RuntimeMethod* method);
// UnityEngine.Transform TMPro.TextMeshPro::get_transform()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * TextMeshPro_get_transform_m750148EC362B176A0E80D6F4ABAC1062E5281E11 (TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * __this, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Transform::TransformPoint(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position0, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Camera::WorldToScreenPoint(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Camera_WorldToScreenPoint_m26B4C8945C3B5731F1CC5944CFD96BF17126BAA3 (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___position0, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::GetComponent<TMPro.TextMeshProUGUI>()
inline TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * GameObject_GetComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_mBDBF977A8C7734F6EDD83FC65C6FDDE74427611E (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared)(__this, method);
}
// !!0 UnityEngine.Object::Instantiate<UnityEngine.RectTransform>(!!0)
inline RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * Object_Instantiate_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m432798BF76671A2FB88A9BF403D2F706ADA37236 (RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * ___original0, const RuntimeMethod* method)
{
return (( RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * (*) (RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 *, const RuntimeMethod*))Object_Instantiate_TisRuntimeObject_mCD6FC6BB14BA9EF1A4B314841EB4D40675E3C1DB_gshared)(___original0, method);
}
// !!0 UnityEngine.Component::GetComponentInChildren<TMPro.TextMeshProUGUI>()
inline TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * Component_GetComponentInChildren_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m60A1B193FDBBFB3719065622DB5E0BB21CA4ABDC (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 * __this, const RuntimeMethod* method)
{
return (( TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * (*) (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 *, const RuntimeMethod*))Component_GetComponentInChildren_TisRuntimeObject_mE483A27E876DE8E4E6901D6814837F81D7C42F65_gshared)(__this, method);
}
// System.Void UnityEngine.GameObject::SetActive(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject_SetActive_m638E92E1E75E519E5B24CF150B08CA8E0CDFAB92 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, bool ___value0, const RuntimeMethod* method);
// TMPro.TMP_MeshInfo[] TMPro.TMP_TextInfo::CopyMeshInfoVertexData()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* TMP_TextInfo_CopyMeshInfoVertexData_mF66E2F8821470E68D95FEB53D456CFA86241C0CA (TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * __this, const RuntimeMethod* method);
// System.Void TMPro.Examples.TMP_TextSelector_B::RestoreCachedVertexAttributes(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_B_RestoreCachedVertexAttributes_m1FD258EC7A53C8E1ECB18EB6FFEFC6239780C398 (TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 * __this, int32_t ___index0, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::op_Division(UnityEngine.Vector3,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mD7200D6D432BAFC4135C5B17A0B0A812203B0270_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, float ___d1, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, float ___d1, const RuntimeMethod* method);
// System.Void TMPro.TMP_MeshInfo::SwapVertexData(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_MeshInfo_SwapVertexData_mBB35F36F8E7E6CF1429B26417140570EE94FE718 (TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B * __this, int32_t ___src0, int32_t ___dst1, const RuntimeMethod* method);
// UnityEngine.Color32 TMPro.TMPro_ExtensionMethods::Tint(UnityEngine.Color32,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B TMPro_ExtensionMethods_Tint_m5DA2EA8D3C7DFF5FC493CE93D07C3FC039A07133 (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___c10, float ___tint1, const RuntimeMethod* method);
// !!0 UnityEngine.GameObject::AddComponent<UnityEngine.RectTransform>()
inline RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * GameObject_AddComponent_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m771EB78FF8813B5AFF21AC0D252E5461943E6388 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * __this, const RuntimeMethod* method)
{
return (( RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
}
// System.Void TMPro.Examples.TMP_UiFrameRateCounter::Set_FrameCounter_Position(TMPro.Examples.TMP_UiFrameRateCounter/FpsCounterAnchorPositions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_UiFrameRateCounter_Set_FrameCounter_Position_mAF25D6E90A6CB17EE041885B32579A2AEDBFCC36 (TMP_UiFrameRateCounter_t3CB67462256A3570DFD0BD10261E7CABB11AFC0E * __this, int32_t ___anchor_position0, const RuntimeMethod* method);
// System.Void UnityEngine.RectTransform::set_anchorMin(UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RectTransform_set_anchorMin_m931442ABE3368D6D4309F43DF1D64AB64B0F52E3 (RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.RectTransform::set_anchorMax(UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RectTransform_set_anchorMax_m52829ABEDD229ABD3DA20BCA676FA1DCA4A39B7D (RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___value0, const RuntimeMethod* method);
// System.Void UnityEngine.RectTransform::set_anchoredPosition(UnityEngine.Vector2)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RectTransform_set_anchoredPosition_mF903ACE04F6959B1CD67E2B94FABC0263068F965 (RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___value0, const RuntimeMethod* method);
// System.Collections.IEnumerator TMPro.Examples.VertexColorCycler::AnimateVertexColors()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* VertexColorCycler_AnimateVertexColors_m16733B3DFF4C0F625AA66B5DF9D3B04D723E49CC (VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D * __this, const RuntimeMethod* method);
// System.Void TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__3__ctor_m0245999D5FAAF8855583609DB16CAF48E9450262 (U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// System.Collections.IEnumerator TMPro.Examples.VertexJitter::AnimateVertexColors()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* VertexJitter_AnimateVertexColors_m2A69F06CF58FA46B689BD4166DEF5AD15FA2FA88 (VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * __this, const RuntimeMethod* method);
// System.Void TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__11__ctor_m10C4D98A634474BAA883419ED308835B7D91C01A (U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// System.Single UnityEngine.Mathf::PingPong(System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_PingPong_m157C55BCFEA2BB96680B7B29D714C3F9390551C9_inline (float ___t0, float ___length1, const RuntimeMethod* method);
// System.Single UnityEngine.Mathf::SmoothStep(System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_SmoothStep_mF724C7893D0F0C02FB14D573DDB7F92935451B81_inline (float ___from0, float ___to1, float ___t2, const RuntimeMethod* method);
// System.Void UnityEngine.Mesh::set_vertices(UnityEngine.Vector3[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___value0, const RuntimeMethod* method);
// System.Collections.IEnumerator TMPro.Examples.VertexShakeA::AnimateVertexColors()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* VertexShakeA_AnimateVertexColors_m5FD933D6BF976B64FC0B80614DE5112377D1DC38 (VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * __this, const RuntimeMethod* method);
// System.Boolean UnityEngine.Object::op_Implicit(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * ___exists0, const RuntimeMethod* method);
// System.Void TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__11__ctor_m440985E6DF2F1B461E2964101EA242FFD472A25A (U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// System.Collections.IEnumerator TMPro.Examples.VertexShakeB::AnimateVertexColors()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* VertexShakeB_AnimateVertexColors_m06D25FE7F9F3EFF693DDC889BF725F01D0CF2A6F (VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * __this, const RuntimeMethod* method);
// System.Void TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__10__ctor_mBE5C0E4A0F65F07A7510D171683AD319F76E6C6D (U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method);
// System.Single UnityEngine.Vector2::get_sqrMagnitude()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_get_sqrMagnitude_mA16336720C14EEF8BA9B55AE33B98C9EE2082BDC_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 * __this, const RuntimeMethod* method);
// System.Single UnityEngine.Vector2::Dot(UnityEngine.Vector2,UnityEngine.Vector2)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_Dot_mBF0FA0B529C821F4733DDC3AD366B07CD27625F4_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___lhs0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rhs1, const RuntimeMethod* method);
// UnityEngine.Quaternion UnityEngine.Quaternion::Internal_FromEulerRad(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Internal_FromEulerRad_m2842B9FFB31CDC0F80B7C2172E22831D11D91E93 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___euler0, const RuntimeMethod* method);
// System.Void UnityEngine.Color::.ctor(System.Single,System.Single,System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F * __this, float ___r0, float ___g1, float ___b2, float ___a3, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::SmoothDamp(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3&,System.Single,System.Single,System.Single)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_SmoothDamp_mA20AB2E3DFAE680D742E9A17D969AF8A3E849711 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___current0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___target1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * ___currentVelocity2, float ___smoothTime3, float ___maxSpeed4, float ___deltaTime5, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Quaternion::Internal_ToEulerRad(UnityEngine.Quaternion)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_Internal_ToEulerRad_m9B2C77284AEE6F2C43B6C42F1F888FB4FC904462 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation0, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Quaternion::Internal_MakePositive(UnityEngine.Vector3)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_Internal_MakePositive_m864320DA2D027C186C95B2A5BC2C66B0EB4A6C11 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___euler0, const RuntimeMethod* method);
// System.Single UnityEngine.Mathf::Clamp01(System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mD921B23F47F5347996C56DC789D1DE16EE27D9B1_inline (float ___value0, const RuntimeMethod* method);
// UnityEngine.Vector3 UnityEngine.Vector3::Normalize(UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_m6120F119433C5B60BBB28731D3D4A0DA50A84DDD_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method);
// System.Single UnityEngine.Mathf::Repeat(System.Single,System.Single)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Repeat_m1ACDE7EF466FB6CCAD29B3866E4A239A8530E9D5_inline (float ___t0, float ___length1, const RuntimeMethod* method);
// System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ThrowHelper_ThrowArgumentOutOfRangeException_m272CE1B3040BA89B2C478E2CF629670574F30353 (const RuntimeMethod* method);
// System.Single UnityEngine.Vector3::Magnitude(UnityEngine.Vector3)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m6AD0BEBF88AAF98188A851E62D7A32CB5B7830EF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___vector0, const RuntimeMethod* method);
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void Wire/<meshUpdater>d__38::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CmeshUpdaterU3Ed__38__ctor_mDB13B1E88E7DB4F969173FC70FC2529B75F6AB64 (U3CmeshUpdaterU3Ed__38_tB690B27F2D425C99B755BE5D9BF3EE5F836B2BDA * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void Wire/<meshUpdater>d__38::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CmeshUpdaterU3Ed__38_System_IDisposable_Dispose_mC367C3FD9BE36A575974914308952C4DD51389FE (U3CmeshUpdaterU3Ed__38_tB690B27F2D425C99B755BE5D9BF3EE5F836B2BDA * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean Wire/<meshUpdater>d__38::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CmeshUpdaterU3Ed__38_MoveNext_mC83B4D10ED0A11C3BECBC47EDE6C9CF5A07A915C (U3CmeshUpdaterU3Ed__38_tB690B27F2D425C99B755BE5D9BF3EE5F836B2BDA * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * V_1 = NULL;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
if (!L_2)
{
goto IL_0017;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)1)))
{
goto IL_003d;
}
}
{
return (bool)0;
}
IL_0017:
{
__this->___U3CU3E1__state_0 = (-1);
}
IL_001e:
{
// updateMesh();
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_4 = V_1;
Wire_updateMesh_mFEDC4C23C0BF4629E37CB118BF1CA9A8B7913DFA(L_4, NULL);
// yield return new WaitForSeconds(0.5f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_5 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_5, (0.5f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_5);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_003d:
{
__this->___U3CU3E1__state_0 = (-1);
// while (true) {
goto IL_001e;
}
}
// System.Object Wire/<meshUpdater>d__38::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CmeshUpdaterU3Ed__38_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_mAB1425841A4443E35B7ADB50FA63E823F4F30EE4 (U3CmeshUpdaterU3Ed__38_tB690B27F2D425C99B755BE5D9BF3EE5F836B2BDA * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void Wire/<meshUpdater>d__38::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CmeshUpdaterU3Ed__38_System_Collections_IEnumerator_Reset_m81945433AC34B39746D62DED8D5E0445B76E8830 (U3CmeshUpdaterU3Ed__38_tB690B27F2D425C99B755BE5D9BF3EE5F836B2BDA * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CmeshUpdaterU3Ed__38_System_Collections_IEnumerator_Reset_m81945433AC34B39746D62DED8D5E0445B76E8830_RuntimeMethod_var)));
}
}
// System.Object Wire/<meshUpdater>d__38::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CmeshUpdaterU3Ed__38_System_Collections_IEnumerator_get_Current_m18AF6A5AA8D552C188B3B7C1271D7CEF36B7E2D6 (U3CmeshUpdaterU3Ed__38_tB690B27F2D425C99B755BE5D9BF3EE5F836B2BDA * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void WireManager::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WireManager_Awake_m1E7DE7262EA077084F482CF4A547629E7A069014 (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// wires = new List<GameObject>();
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_0 = (List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B *)il2cpp_codegen_object_new(List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B_il2cpp_TypeInfo_var);
List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC(L_0, /*hidden argument*/List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC_RuntimeMethod_var);
__this->___wires_4 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___wires_4), (void*)L_0);
// }
return;
}
}
// System.Void WireManager::createWireFromClick(System.Collections.Generic.List`1<UnityEngine.Vector2>,UnityEngine.Vector3,Pin,Pin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WireManager_createWireFromClick_mF128EE62E67E9D13BEED27334D662EE9E44EAE26 (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * ___anchorPoints0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___mousePos1, Pin_t436B943A646153A43944025466CB8B68CE763843 * ___leftPin2, Pin_t436B943A646153A43944025466CB8B68CE763843 * ___startPin3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerable_Take_TisVector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_mBBC83CDAC853A7A5EC842F5F8F14E7FAEA58254D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_mCD48FDD0F418E976C266AF07E14C127B6E896A8C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m5DDD3E697A492E99DDE91E6AB7B2390C491F89AA_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m03DDB9D6C95434581544F1F2FF0D1A36EEAB09AF_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_mFC7B9AE4C0F99FCF04F74DDA9850453AC477589C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_m3FE49C02F31954ACBAF7DF56A1CFED61E50524BA_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m105596C2159C46B75E96D26ACEC0A5C1C1F5C5EC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral05189AB6B2B8D752C401E38C1A2E2578BB58CA66);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral17B3B32F55B465274FA693D237B5BEAF0F8D6E19);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * V_4 = NULL;
int32_t V_5 = 0;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_6 = NULL;
Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 V_7;
memset((&V_7), 0, sizeof(V_7));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_8;
memset((&V_8), 0, sizeof(V_8));
Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 V_9;
memset((&V_9), 0, sizeof(V_9));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_10;
memset((&V_10), 0, sizeof(V_10));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_11;
memset((&V_11), 0, sizeof(V_11));
float V_12 = 0.0f;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * G_B15_0 = NULL;
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * G_B14_0 = NULL;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 G_B16_0;
memset((&G_B16_0), 0, sizeof(G_B16_0));
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * G_B16_1 = NULL;
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * G_B19_0 = NULL;
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * G_B18_0 = NULL;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 G_B20_0;
memset((&G_B20_0), 0, sizeof(G_B20_0));
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * G_B20_1 = NULL;
{
// float largestAngle = Single.NegativeInfinity;
V_0 = (-std::numeric_limits<float>::infinity());
// List<Vector2> endPoints = new List<Vector2>(anchorPoints.Take(2));
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_0 = ___anchorPoints0;
RuntimeObject* L_1;
L_1 = Enumerable_Take_TisVector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_mBBC83CDAC853A7A5EC842F5F8F14E7FAEA58254D(L_0, 2, Enumerable_Take_TisVector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_mBBC83CDAC853A7A5EC842F5F8F14E7FAEA58254D_RuntimeMethod_var);
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_2 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B *)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
List_1__ctor_m105596C2159C46B75E96D26ACEC0A5C1C1F5C5EC(L_2, L_1, /*hidden argument*/List_1__ctor_m105596C2159C46B75E96D26ACEC0A5C1C1F5C5EC_RuntimeMethod_var);
V_1 = L_2;
// foreach (var point1 in anchorPoints) {
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_3 = ___anchorPoints0;
Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 L_4;
L_4 = List_1_GetEnumerator_m3FE49C02F31954ACBAF7DF56A1CFED61E50524BA(L_3, List_1_GetEnumerator_m3FE49C02F31954ACBAF7DF56A1CFED61E50524BA_RuntimeMethod_var);
V_7 = L_4;
}
IL_001b:
try
{// begin try (depth: 1)
{
goto IL_00aa;
}
IL_0020:
{
// foreach (var point1 in anchorPoints) {
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5;
L_5 = Enumerator_get_Current_m03DDB9D6C95434581544F1F2FF0D1A36EEAB09AF_inline((&V_7), Enumerator_get_Current_m03DDB9D6C95434581544F1F2FF0D1A36EEAB09AF_RuntimeMethod_var);
V_8 = L_5;
// foreach (var point2 in anchorPoints) {
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_6 = ___anchorPoints0;
Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 L_7;
L_7 = List_1_GetEnumerator_m3FE49C02F31954ACBAF7DF56A1CFED61E50524BA(L_6, List_1_GetEnumerator_m3FE49C02F31954ACBAF7DF56A1CFED61E50524BA_RuntimeMethod_var);
V_9 = L_7;
}
IL_0031:
try
{// begin try (depth: 2)
{
goto IL_0091;
}
IL_0033:
{
// foreach (var point2 in anchorPoints) {
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
L_8 = Enumerator_get_Current_m03DDB9D6C95434581544F1F2FF0D1A36EEAB09AF_inline((&V_9), Enumerator_get_Current_m03DDB9D6C95434581544F1F2FF0D1A36EEAB09AF_RuntimeMethod_var);
V_10 = L_8;
// Vector2 dist1 = new Vector2(mousePos.x, mousePos.y) - point1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___mousePos1;
float L_10 = L_9.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___mousePos1;
float L_12 = L_11.___y_3;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_13;
memset((&L_13), 0, sizeof(L_13));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_13), L_10, L_12, /*hidden argument*/NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_14 = V_8;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_15;
L_15 = Vector2_op_Subtraction_m664419831773D5BBF06D9DE4E515F6409B2F92B8_inline(L_13, L_14, NULL);
// Vector2 dist2 = new Vector2(mousePos.x, mousePos.y) - point2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___mousePos1;
float L_17 = L_16.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___mousePos1;
float L_19 = L_18.___y_3;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_20;
memset((&L_20), 0, sizeof(L_20));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_20), L_17, L_19, /*hidden argument*/NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_21 = V_10;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_22;
L_22 = Vector2_op_Subtraction_m664419831773D5BBF06D9DE4E515F6409B2F92B8_inline(L_20, L_21, NULL);
V_11 = L_22;
// float value = Vector2.Angle(dist1, dist2);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_23 = V_11;
float L_24;
L_24 = Vector2_Angle_m9668B13074D1664DD192669C14B3A8FC01676299_inline(L_15, L_23, NULL);
V_12 = L_24;
// if (value > largestAngle) {
float L_25 = V_12;
float L_26 = V_0;
if ((!(((float)L_25) > ((float)L_26))))
{
goto IL_0091;
}
}
IL_007c:
{
// largestAngle = value;
float L_27 = V_12;
V_0 = L_27;
// endPoints[0] = point1;
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_28 = V_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_29 = V_8;
List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0(L_28, 0, L_29, List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0_RuntimeMethod_var);
// endPoints[1] = point2;
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_30 = V_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_31 = V_10;
List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0(L_30, 1, L_31, List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0_RuntimeMethod_var);
}
IL_0091:
{
// foreach (var point2 in anchorPoints) {
bool L_32;
L_32 = Enumerator_MoveNext_m5DDD3E697A492E99DDE91E6AB7B2390C491F89AA((&V_9), Enumerator_MoveNext_m5DDD3E697A492E99DDE91E6AB7B2390C491F89AA_RuntimeMethod_var);
if (L_32)
{
goto IL_0033;
}
}
IL_009a:
{
IL2CPP_LEAVE(0x170, FINALLY_009c);
}
}// end try (depth: 2)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_009c;
}
FINALLY_009c:
{// begin finally (depth: 2)
Enumerator_Dispose_mCD48FDD0F418E976C266AF07E14C127B6E896A8C((&V_9), Enumerator_Dispose_mCD48FDD0F418E976C266AF07E14C127B6E896A8C_RuntimeMethod_var);
IL2CPP_END_FINALLY(156)
}// end finally (depth: 2)
IL2CPP_CLEANUP(156)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x170, IL_00aa)
}
IL_00aa:
{
// foreach (var point1 in anchorPoints) {
bool L_33;
L_33 = Enumerator_MoveNext_m5DDD3E697A492E99DDE91E6AB7B2390C491F89AA((&V_7), Enumerator_MoveNext_m5DDD3E697A492E99DDE91E6AB7B2390C491F89AA_RuntimeMethod_var);
if (L_33)
{
goto IL_0020;
}
}
IL_00b6:
{
IL2CPP_LEAVE(0x198, FINALLY_00b8);
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_00b8;
}
FINALLY_00b8:
{// begin finally (depth: 1)
Enumerator_Dispose_mCD48FDD0F418E976C266AF07E14C127B6E896A8C((&V_7), Enumerator_Dispose_mCD48FDD0F418E976C266AF07E14C127B6E896A8C_RuntimeMethod_var);
IL2CPP_END_FINALLY(184)
}// end finally (depth: 1)
IL2CPP_CLEANUP(184)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x198, IL_00c6)
}
IL_00c6:
{
// int index1 = anchorPoints.IndexOf(endPoints[0]);
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_34 = ___anchorPoints0;
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_35 = V_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_36;
L_36 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_inline(L_35, 0, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
int32_t L_37;
L_37 = List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D(L_34, L_36, List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D_RuntimeMethod_var);
V_2 = L_37;
// int index2 = anchorPoints.IndexOf(endPoints[1]);
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_38 = ___anchorPoints0;
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_39 = V_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_40;
L_40 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_inline(L_39, 1, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
int32_t L_41;
L_41 = List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D(L_38, L_40, List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D_RuntimeMethod_var);
V_3 = L_41;
// var anchorCopy = new List<Vector2>(anchorPoints);
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_42 = ___anchorPoints0;
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_43 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B *)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
List_1__ctor_m105596C2159C46B75E96D26ACEC0A5C1C1F5C5EC(L_43, L_42, /*hidden argument*/List_1__ctor_m105596C2159C46B75E96D26ACEC0A5C1C1F5C5EC_RuntimeMethod_var);
V_4 = L_43;
// if (startPin.IO_Type == Pin.inOut.INPUT) {
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_44 = ___startPin3;
int32_t L_45 = L_44->___IO_Type_4;
if (L_45)
{
goto IL_0123;
}
}
{
// print("reverse it");
MonoBehaviour_print_mED815C779E369787B3E9646A6DE96FBC2944BF0B(_stringLiteral17B3B32F55B465274FA693D237B5BEAF0F8D6E19, NULL);
// anchorCopy.Reverse();
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_46 = V_4;
List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF(L_46, List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF_RuntimeMethod_var);
// index = anchorCopy.IndexOf(index1>index2 ? endPoints[0] : endPoints[1]);
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_47 = V_4;
int32_t L_48 = V_2;
int32_t L_49 = V_3;
G_B14_0 = L_47;
if ((((int32_t)L_48) > ((int32_t)L_49)))
{
G_B15_0 = L_47;
goto IL_0113;
}
}
{
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_50 = V_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_51;
L_51 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_inline(L_50, 1, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
G_B16_0 = L_51;
G_B16_1 = G_B14_0;
goto IL_011a;
}
IL_0113:
{
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_52 = V_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_53;
L_53 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_inline(L_52, 0, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
G_B16_0 = L_53;
G_B16_1 = G_B15_0;
}
IL_011a:
{
int32_t L_54;
L_54 = List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D(G_B16_1, G_B16_0, List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D_RuntimeMethod_var);
V_5 = L_54;
goto IL_0140;
}
IL_0123:
{
// index = anchorCopy.IndexOf(index1<index2 ? endPoints[0] : endPoints[1]);
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_55 = V_4;
int32_t L_56 = V_2;
int32_t L_57 = V_3;
G_B18_0 = L_55;
if ((((int32_t)L_56) < ((int32_t)L_57)))
{
G_B19_0 = L_55;
goto IL_0132;
}
}
{
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_58 = V_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_59;
L_59 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_inline(L_58, 1, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
G_B20_0 = L_59;
G_B20_1 = G_B18_0;
goto IL_0139;
}
IL_0132:
{
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_60 = V_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_61;
L_61 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_inline(L_60, 0, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
G_B20_0 = L_61;
G_B20_1 = G_B19_0;
}
IL_0139:
{
int32_t L_62;
L_62 = List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D(G_B20_1, G_B20_0, List_1_IndexOf_m654AEDA82EBFECD4A63DFD78C073003EFDB1C67D_RuntimeMethod_var);
V_5 = L_62;
}
IL_0140:
{
// GameObject newObj = new GameObject();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_63 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m7D0340DE160786E6EFA8DABD39EC3B694DA30AAD(L_63, /*hidden argument*/NULL);
V_6 = L_63;
// newObj.name = "wire";
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_64 = V_6;
Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47(L_64, _stringLiteral05189AB6B2B8D752C401E38C1A2E2578BB58CA66, NULL);
// newObj.AddComponent<Wire>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_65 = V_6;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_66;
L_66 = GameObject_AddComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_mFC7B9AE4C0F99FCF04F74DDA9850453AC477589C(L_65, GameObject_AddComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_mFC7B9AE4C0F99FCF04F74DDA9850453AC477589C_RuntimeMethod_var);
// newObj.GetComponent<Wire>().anchorPoints = new List<Vector2>(anchorCopy.Take(index + 1));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_67 = V_6;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_68;
L_68 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_67, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_69 = V_4;
int32_t L_70 = V_5;
RuntimeObject* L_71;
L_71 = Enumerable_Take_TisVector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_mBBC83CDAC853A7A5EC842F5F8F14E7FAEA58254D(L_69, ((int32_t)il2cpp_codegen_add((int32_t)L_70, (int32_t)1)), Enumerable_Take_TisVector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_mBBC83CDAC853A7A5EC842F5F8F14E7FAEA58254D_RuntimeMethod_var);
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_72 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B *)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
List_1__ctor_m105596C2159C46B75E96D26ACEC0A5C1C1F5C5EC(L_72, L_71, /*hidden argument*/List_1__ctor_m105596C2159C46B75E96D26ACEC0A5C1C1F5C5EC_RuntimeMethod_var);
L_68->___anchorPoints_16 = L_72;
Il2CppCodeGenWriteBarrier((void**)(&L_68->___anchorPoints_16), (void*)L_72);
// newObj.GetComponent<Wire>().anchorPoints.Add(mousePos);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_73 = V_6;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_74;
L_74 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_73, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_75 = L_74->___anchorPoints_16;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76 = ___mousePos1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_77;
L_77 = Vector2_op_Implicit_m8F73B300CB4E6F9B4EB5FB6130363D76CEAA230B_inline(L_76, NULL);
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD(L_75, L_77, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
// newObj.GetComponent<Wire>().startPin = leftPin;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_78 = V_6;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_79;
L_79 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_78, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_80 = ___leftPin2;
L_79->___startPin_4 = L_80;
Il2CppCodeGenWriteBarrier((void**)(&L_79->___startPin_4), (void*)L_80);
// if (!leftPin.gateOrIO)
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_81 = ___leftPin2;
bool L_82 = L_81->___gateOrIO_9;
if (L_82)
{
goto IL_01b7;
}
}
{
// newObj.GetComponent<Wire>().startIO = leftPin.io;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_83 = V_6;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_84;
L_84 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_83, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_85 = ___leftPin2;
IO_tE71A264567A89811655A18F5F4E7D27BBEC1EDA1 * L_86 = L_85->___io_8;
L_84->___startIO_10 = L_86;
Il2CppCodeGenWriteBarrier((void**)(&L_84->___startIO_10), (void*)L_86);
goto IL_01ca;
}
IL_01b7:
{
// newObj.GetComponent<Wire>().startGate = startPin.gate;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_87 = V_6;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_88;
L_88 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_87, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_89 = ___startPin3;
Gate_tD423C3E3C6A390BF4DCC10322CBA2485840FF97A * L_90 = L_89->___gate_7;
L_88->___startGate_8 = L_90;
Il2CppCodeGenWriteBarrier((void**)(&L_88->___startGate_8), (void*)L_90);
}
IL_01ca:
{
// newObj.GetComponent<Wire>().currentState = Wire.state.WAITING;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_91 = V_6;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_92;
L_92 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_91, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
L_92->___currentState_23 = 5;
// newObj.GetComponent<Wire>().drawPoints = new List<Vector2>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_93 = V_6;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_94;
L_94 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_93, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * L_95 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B *)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F(L_95, /*hidden argument*/List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
L_94->___drawPoints_18 = L_95;
Il2CppCodeGenWriteBarrier((void**)(&L_94->___drawPoints_18), (void*)L_95);
// addWire(newObj);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_96 = V_6;
WireManager_addWire_mC15014AB94C32FA711CEC2C04F66FE0E12E2378F(__this, L_96, NULL);
// }
return;
}
}
// UnityEngine.GameObject WireManager::connectionInProgress()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * WireManager_connectionInProgress_mB58DA4B1E8E219ACEFC42D4B0F47BD72D4956114 (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 V_0;
memset((&V_0), 0, sizeof(V_0));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_1 = NULL;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
{
// if (wires != null)
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_0 = __this->___wires_4;
if (!L_0)
{
goto IL_0048;
}
}
{
// foreach (GameObject wire in wires)
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_1 = __this->___wires_4;
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 L_2;
L_2 = List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8(L_1, List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
V_0 = L_2;
}
IL_0014:
try
{// begin try (depth: 1)
{
goto IL_002f;
}
IL_0016:
{
// foreach (GameObject wire in wires)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3;
L_3 = Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_inline((&V_0), Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
V_1 = L_3;
// if (wire.GetComponent<Wire>().currentState == Wire.state.STARTED)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_4 = V_1;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_5;
L_5 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_4, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
int32_t L_6 = L_5->___currentState_23;
if (L_6)
{
goto IL_002f;
}
}
IL_002b:
{
// return wire;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_7 = V_1;
V_2 = L_7;
IL2CPP_LEAVE(0x74, FINALLY_003a);
}
IL_002f:
{
// foreach (GameObject wire in wires)
bool L_8;
L_8 = Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27((&V_0), Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
if (L_8)
{
goto IL_0016;
}
}
IL_0038:
{
IL2CPP_LEAVE(0x72, FINALLY_003a);
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003a;
}
FINALLY_003a:
{// begin finally (depth: 1)
Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D((&V_0), Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
IL2CPP_END_FINALLY(58)
}// end finally (depth: 1)
IL2CPP_CLEANUP(58)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x74, IL_004a)
IL2CPP_JUMP_TBL(0x72, IL_0048)
}
IL_0048:
{
// return null;
return (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)NULL;
}
IL_004a:
{
// }
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_9 = V_2;
return L_9;
}
}
// System.Collections.Generic.List`1<UnityEngine.GameObject> WireManager::getConnectedWiresGate(Gate)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * WireManager_getConnectedWiresGate_m9CE28090ED6C4E245DE636349261435ED67152E8 (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, Gate_tD423C3E3C6A390BF4DCC10322CBA2485840FF97A * ___gate0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * V_0 = NULL;
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 V_1;
memset((&V_1), 0, sizeof(V_1));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// var connectedWires = new List<GameObject>();
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_0 = (List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B *)il2cpp_codegen_object_new(List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B_il2cpp_TypeInfo_var);
List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC(L_0, /*hidden argument*/List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC_RuntimeMethod_var);
V_0 = L_0;
// foreach (GameObject wire in wires)
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_1 = __this->___wires_4;
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 L_2;
L_2 = List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8(L_1, List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
V_1 = L_2;
}
IL_0012:
try
{// begin try (depth: 1)
{
goto IL_0049;
}
IL_0014:
{
// foreach (GameObject wire in wires)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3;
L_3 = Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_inline((&V_1), Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
V_2 = L_3;
// if (wire.GetComponent<Wire>().startGate == gate || wire.GetComponent<Wire>().endGate == gate)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_4 = V_2;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_5;
L_5 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_4, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
Gate_tD423C3E3C6A390BF4DCC10322CBA2485840FF97A * L_6 = L_5->___startGate_8;
Gate_tD423C3E3C6A390BF4DCC10322CBA2485840FF97A * L_7 = ___gate0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_8;
L_8 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_6, L_7, NULL);
if (L_8)
{
goto IL_0042;
}
}
IL_002f:
{
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_9 = V_2;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_10;
L_10 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_9, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
Gate_tD423C3E3C6A390BF4DCC10322CBA2485840FF97A * L_11 = L_10->___endGate_9;
Gate_tD423C3E3C6A390BF4DCC10322CBA2485840FF97A * L_12 = ___gate0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_13;
L_13 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_11, L_12, NULL);
if (!L_13)
{
goto IL_0049;
}
}
IL_0042:
{
// connectedWires.Add(wire);
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_14 = V_0;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_15 = V_2;
List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E(L_14, L_15, List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E_RuntimeMethod_var);
}
IL_0049:
{
// foreach (GameObject wire in wires)
bool L_16;
L_16 = Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27((&V_1), Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
if (L_16)
{
goto IL_0014;
}
}
IL_0052:
{
IL2CPP_LEAVE(0x98, FINALLY_0054);
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0054;
}
FINALLY_0054:
{// begin finally (depth: 1)
Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D((&V_1), Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
IL2CPP_END_FINALLY(84)
}// end finally (depth: 1)
IL2CPP_CLEANUP(84)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x98, IL_0062)
}
IL_0062:
{
// print(connectedWires);
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_17 = V_0;
MonoBehaviour_print_mED815C779E369787B3E9646A6DE96FBC2944BF0B(L_17, NULL);
// return connectedWires;
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_18 = V_0;
return L_18;
}
}
// System.Collections.Generic.List`1<UnityEngine.GameObject> WireManager::getConnectedWiresPin(Pin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * WireManager_getConnectedWiresPin_m49014C4562927CE4D251818F0227A63E88AF0B14 (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, Pin_t436B943A646153A43944025466CB8B68CE763843 * ___pin0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * V_0 = NULL;
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 V_1;
memset((&V_1), 0, sizeof(V_1));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// var connectedWires = new List<GameObject>();
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_0 = (List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B *)il2cpp_codegen_object_new(List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B_il2cpp_TypeInfo_var);
List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC(L_0, /*hidden argument*/List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC_RuntimeMethod_var);
V_0 = L_0;
// foreach (GameObject wire in wires)
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_1 = __this->___wires_4;
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 L_2;
L_2 = List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8(L_1, List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
V_1 = L_2;
}
IL_0012:
try
{// begin try (depth: 1)
{
goto IL_0064;
}
IL_0014:
{
// foreach (GameObject wire in wires)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3;
L_3 = Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_inline((&V_1), Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
V_2 = L_3;
// if ((wire.GetComponent<Wire>().startPin == pin || wire.GetComponent<Wire>().endPin == pin) &&
// wire.GetComponent<Wire>().currentState != Wire.state.WAITING &&
// wire.GetComponent<Wire>().currentState != Wire.state.STARTED)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_4 = V_2;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_5;
L_5 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_4, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_6 = L_5->___startPin_4;
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_7 = ___pin0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_8;
L_8 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_6, L_7, NULL);
if (L_8)
{
goto IL_0042;
}
}
IL_002f:
{
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_9 = V_2;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_10;
L_10 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_9, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_11 = L_10->___endPin_5;
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_12 = ___pin0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_13;
L_13 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_11, L_12, NULL);
if (!L_13)
{
goto IL_0064;
}
}
IL_0042:
{
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_14 = V_2;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_15;
L_15 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_14, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
int32_t L_16 = L_15->___currentState_23;
if ((((int32_t)L_16) == ((int32_t)5)))
{
goto IL_0064;
}
}
IL_0050:
{
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_17 = V_2;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_18;
L_18 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_17, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
int32_t L_19 = L_18->___currentState_23;
if (!L_19)
{
goto IL_0064;
}
}
IL_005d:
{
// connectedWires.Add(wire);
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_20 = V_0;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_21 = V_2;
List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E(L_20, L_21, List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E_RuntimeMethod_var);
}
IL_0064:
{
// foreach (GameObject wire in wires)
bool L_22;
L_22 = Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27((&V_1), Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
if (L_22)
{
goto IL_0014;
}
}
IL_006d:
{
IL2CPP_LEAVE(0x125, FINALLY_006f);
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_006f;
}
FINALLY_006f:
{// begin finally (depth: 1)
Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D((&V_1), Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
IL2CPP_END_FINALLY(111)
}// end finally (depth: 1)
IL2CPP_CLEANUP(111)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x125, IL_007d)
}
IL_007d:
{
// return connectedWires;
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_23 = V_0;
return L_23;
}
}
// System.Void WireManager::propogateHighToAllConnectedWires(Pin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WireManager_propogateHighToAllConnectedWires_m086CA85C604F7CD75AE19056564863D588CCEECC (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, Pin_t436B943A646153A43944025466CB8B68CE763843 * ___pin0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 V_0;
memset((&V_0), 0, sizeof(V_0));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// var wires = getConnectedWiresPin(pin);
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_0 = ___pin0;
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_1;
L_1 = WireManager_getConnectedWiresPin_m49014C4562927CE4D251818F0227A63E88AF0B14(__this, L_0, NULL);
// foreach (GameObject wire in wires)
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 L_2;
L_2 = List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8(L_1, List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
V_0 = L_2;
}
IL_000d:
try
{// begin try (depth: 1)
{
goto IL_002f;
}
IL_000f:
{
// foreach (GameObject wire in wires)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3;
L_3 = Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_inline((&V_0), Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
V_1 = L_3;
// if (wire.GetComponent<Wire>().currentState
// != Wire.state.STARTED)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_4 = V_1;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_5;
L_5 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_4, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
int32_t L_6 = L_5->___currentState_23;
if (!L_6)
{
goto IL_002f;
}
}
IL_0024:
{
// wire.GetComponent<Wire>().propogateSignalHigh();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_7 = V_1;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_8;
L_8 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_7, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
Wire_propogateSignalHigh_mD04647EE7071F04C55A9F81279C4610B3F88414C(L_8, NULL);
}
IL_002f:
{
// foreach (GameObject wire in wires)
bool L_9;
L_9 = Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27((&V_0), Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
if (L_9)
{
goto IL_000f;
}
}
IL_0038:
{
IL2CPP_LEAVE(0x72, FINALLY_003a);
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003a;
}
FINALLY_003a:
{// begin finally (depth: 1)
Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D((&V_0), Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
IL2CPP_END_FINALLY(58)
}// end finally (depth: 1)
IL2CPP_CLEANUP(58)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x72, IL_0048)
}
IL_0048:
{
// }
return;
}
}
// System.Void WireManager::setHIZToAllConnectedWires(Pin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WireManager_setHIZToAllConnectedWires_m5241380F1CAFC958B17CDE69DE46EDD3A1B793A2 (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, Pin_t436B943A646153A43944025466CB8B68CE763843 * ___pin0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 V_0;
memset((&V_0), 0, sizeof(V_0));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// var wires = getConnectedWiresPin(pin);
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_0 = ___pin0;
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_1;
L_1 = WireManager_getConnectedWiresPin_m49014C4562927CE4D251818F0227A63E88AF0B14(__this, L_0, NULL);
// foreach (GameObject wire in wires)
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 L_2;
L_2 = List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8(L_1, List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
V_0 = L_2;
}
IL_000d:
try
{// begin try (depth: 1)
{
goto IL_002f;
}
IL_000f:
{
// foreach (GameObject wire in wires)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3;
L_3 = Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_inline((&V_0), Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
V_1 = L_3;
// if (wire.GetComponent<Wire>().currentState
// != Wire.state.STARTED)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_4 = V_1;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_5;
L_5 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_4, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
int32_t L_6 = L_5->___currentState_23;
if (!L_6)
{
goto IL_002f;
}
}
IL_0024:
{
// wire.GetComponent<Wire>().setHIZ();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_7 = V_1;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_8;
L_8 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_7, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
Wire_setHIZ_m22B1B90B3C878CFFE634F587D9B15E4596C26D9F(L_8, NULL);
}
IL_002f:
{
// foreach (GameObject wire in wires)
bool L_9;
L_9 = Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27((&V_0), Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
if (L_9)
{
goto IL_000f;
}
}
IL_0038:
{
IL2CPP_LEAVE(0x72, FINALLY_003a);
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003a;
}
FINALLY_003a:
{// begin finally (depth: 1)
Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D((&V_0), Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
IL2CPP_END_FINALLY(58)
}// end finally (depth: 1)
IL2CPP_CLEANUP(58)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x72, IL_0048)
}
IL_0048:
{
// }
return;
}
}
// System.Void WireManager::removeHIZToAllConnectedWires(Pin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WireManager_removeHIZToAllConnectedWires_m14B516B9E354D721853FE8BFE5AA9465BC42504F (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, Pin_t436B943A646153A43944025466CB8B68CE763843 * ___pin0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 V_0;
memset((&V_0), 0, sizeof(V_0));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_1 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// var wires = getConnectedWiresPin(pin);
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_0 = ___pin0;
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_1;
L_1 = WireManager_getConnectedWiresPin_m49014C4562927CE4D251818F0227A63E88AF0B14(__this, L_0, NULL);
// foreach (GameObject wire in wires)
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 L_2;
L_2 = List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8(L_1, List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
V_0 = L_2;
}
IL_000d:
try
{// begin try (depth: 1)
{
goto IL_002f;
}
IL_000f:
{
// foreach (GameObject wire in wires)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3;
L_3 = Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_inline((&V_0), Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
V_1 = L_3;
// if (wire.GetComponent<Wire>().currentState
// != Wire.state.STARTED)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_4 = V_1;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_5;
L_5 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_4, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
int32_t L_6 = L_5->___currentState_23;
if (!L_6)
{
goto IL_002f;
}
}
IL_0024:
{
// wire.GetComponent<Wire>().removeHIZ();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_7 = V_1;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_8;
L_8 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_7, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
Wire_removeHIZ_m25CECC62CC4F7CE0C616FB56E945FA6D80CFF5E8(L_8, NULL);
}
IL_002f:
{
// foreach (GameObject wire in wires)
bool L_9;
L_9 = Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27((&V_0), Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
if (L_9)
{
goto IL_000f;
}
}
IL_0038:
{
IL2CPP_LEAVE(0x72, FINALLY_003a);
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_003a;
}
FINALLY_003a:
{// begin finally (depth: 1)
Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D((&V_0), Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
IL2CPP_END_FINALLY(58)
}// end finally (depth: 1)
IL2CPP_CLEANUP(58)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x72, IL_0048)
}
IL_0048:
{
// }
return;
}
}
// System.Void WireManager::propogateLowToAllConnectedWires(Pin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WireManager_propogateLowToAllConnectedWires_mB71D87A0815271C648D7207CF30B0D8A2712D500 (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, Pin_t436B943A646153A43944025466CB8B68CE763843 * ___pin0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 V_0;
memset((&V_0), 0, sizeof(V_0));
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// var wires = getConnectedWiresPin(pin);
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_0 = ___pin0;
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_1;
L_1 = WireManager_getConnectedWiresPin_m49014C4562927CE4D251818F0227A63E88AF0B14(__this, L_0, NULL);
// foreach (GameObject wire in wires) wire.GetComponent<Wire>().propogateSignalLow();
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 L_2;
L_2 = List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8(L_1, List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
V_0 = L_2;
}
IL_000d:
try
{// begin try (depth: 1)
{
goto IL_0020;
}
IL_000f:
{
// foreach (GameObject wire in wires) wire.GetComponent<Wire>().propogateSignalLow();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3;
L_3 = Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_inline((&V_0), Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
// foreach (GameObject wire in wires) wire.GetComponent<Wire>().propogateSignalLow();
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_4;
L_4 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_3, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
Wire_propogateSignalLow_m5281284E8482F1143067DEF196E90A8A15135DFB(L_4, NULL);
}
IL_0020:
{
// foreach (GameObject wire in wires) wire.GetComponent<Wire>().propogateSignalLow();
bool L_5;
L_5 = Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27((&V_0), Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
if (L_5)
{
goto IL_000f;
}
}
IL_0029:
{
IL2CPP_LEAVE(0x57, FINALLY_002b);
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_002b;
}
FINALLY_002b:
{// begin finally (depth: 1)
Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D((&V_0), Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
IL2CPP_END_FINALLY(43)
}// end finally (depth: 1)
IL2CPP_CLEANUP(43)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x57, IL_0039)
}
IL_0039:
{
// }
return;
}
}
// System.Collections.Generic.List`1<UnityEngine.GameObject> WireManager::getConnectedWireIO(IO)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * WireManager_getConnectedWireIO_m5886830852F9AF2CFC68964230DD7826644F284A (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, IO_tE71A264567A89811655A18F5F4E7D27BBEC1EDA1 * ___io0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * V_0 = NULL;
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 V_1;
memset((&V_1), 0, sizeof(V_1));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_2 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
// var connectedWires = new List<GameObject>();
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_0 = (List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B *)il2cpp_codegen_object_new(List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B_il2cpp_TypeInfo_var);
List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC(L_0, /*hidden argument*/List_1__ctor_m447372C1EF7141193B93090A77395B786C72C7BC_RuntimeMethod_var);
V_0 = L_0;
// foreach (GameObject wire in wires)
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_1 = __this->___wires_4;
Enumerator_t88BD1282EF117E59AACFC9EC55B89F0B9EDACE60 L_2;
L_2 = List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8(L_1, List_1_GetEnumerator_mA843D26C63E5963415DFCA6E49DFA27AFD9C75E8_RuntimeMethod_var);
V_1 = L_2;
}
IL_0012:
try
{// begin try (depth: 1)
{
goto IL_0049;
}
IL_0014:
{
// foreach (GameObject wire in wires)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3;
L_3 = Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_inline((&V_1), Enumerator_get_Current_m7236EBE1CFCB6533F96E030500D322B13D0CA5A4_RuntimeMethod_var);
V_2 = L_3;
// if (wire.GetComponent<Wire>().startIO == io || wire.GetComponent<Wire>().endIO == io)
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_4 = V_2;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_5;
L_5 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_4, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
IO_tE71A264567A89811655A18F5F4E7D27BBEC1EDA1 * L_6 = L_5->___startIO_10;
IO_tE71A264567A89811655A18F5F4E7D27BBEC1EDA1 * L_7 = ___io0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_8;
L_8 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_6, L_7, NULL);
if (L_8)
{
goto IL_0042;
}
}
IL_002f:
{
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_9 = V_2;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_10;
L_10 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_9, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
IO_tE71A264567A89811655A18F5F4E7D27BBEC1EDA1 * L_11 = L_10->___endIO_11;
IO_tE71A264567A89811655A18F5F4E7D27BBEC1EDA1 * L_12 = ___io0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_13;
L_13 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_11, L_12, NULL);
if (!L_13)
{
goto IL_0049;
}
}
IL_0042:
{
// connectedWires.Add(wire);
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_14 = V_0;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_15 = V_2;
List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E(L_14, L_15, List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E_RuntimeMethod_var);
}
IL_0049:
{
// foreach (GameObject wire in wires)
bool L_16;
L_16 = Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27((&V_1), Enumerator_MoveNext_m96F4B0BD0A5485C8E8CC57D961DF6F1FA256AF27_RuntimeMethod_var);
if (L_16)
{
goto IL_0014;
}
}
IL_0052:
{
IL2CPP_LEAVE(0x98, FINALLY_0054);
}
}// end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0054;
}
FINALLY_0054:
{// begin finally (depth: 1)
Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D((&V_1), Enumerator_Dispose_m07D362A07C19B36C2FD1B4DC79DD99903D4DA95D_RuntimeMethod_var);
IL2CPP_END_FINALLY(84)
}// end finally (depth: 1)
IL2CPP_CLEANUP(84)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x98, IL_0062)
}
IL_0062:
{
// return connectedWires;
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_17 = V_0;
return L_17;
}
}
// System.Void WireManager::createWire(Pin)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WireManager_createWire_m344B2B910C3B6C1F3716CE13288BC09598293AD9 (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, Pin_t436B943A646153A43944025466CB8B68CE763843 * ___pin0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_mFC7B9AE4C0F99FCF04F74DDA9850453AC477589C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral05189AB6B2B8D752C401E38C1A2E2578BB58CA66);
s_Il2CppMethodInitialized = true;
}
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_0 = NULL;
{
// GameObject wireObject = new GameObject("wire");
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_0 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_0, _stringLiteral05189AB6B2B8D752C401E38C1A2E2578BB58CA66, /*hidden argument*/NULL);
V_0 = L_0;
// wireObject.AddComponent<Wire>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_1 = V_0;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_2;
L_2 = GameObject_AddComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_mFC7B9AE4C0F99FCF04F74DDA9850453AC477589C(L_1, GameObject_AddComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_mFC7B9AE4C0F99FCF04F74DDA9850453AC477589C_RuntimeMethod_var);
// wireObject.GetComponent<Wire>().startWire(pin);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3 = V_0;
Wire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F * L_4;
L_4 = GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC(L_3, GameObject_GetComponent_TisWire_t731C69D3D0A4D977CBDC31BDEADAA38C55B4E11F_m01D681507E2E53C97AAC72126210B3E2A4247DAC_RuntimeMethod_var);
Pin_t436B943A646153A43944025466CB8B68CE763843 * L_5 = ___pin0;
Wire_startWire_m4BA1B23CE69FA7A47AB146C7F9343A2C84748065(L_4, L_5, NULL);
// addWire(wireObject);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_6 = V_0;
WireManager_addWire_mC15014AB94C32FA711CEC2C04F66FE0E12E2378F(__this, L_6, NULL);
// }
return;
}
}
// System.Void WireManager::addWire(UnityEngine.GameObject)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WireManager_addWire_mC15014AB94C32FA711CEC2C04F66FE0E12E2378F (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___wire0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// wires.Add(wire);
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_0 = __this->___wires_4;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_1 = ___wire0;
List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E(L_0, L_1, List_1_Add_m43FBF207375C6E06B8C45ECE614F9B8008FB686E_RuntimeMethod_var);
// }
return;
}
}
// System.Void WireManager::removeWire(UnityEngine.GameObject)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WireManager_removeWire_m46C2E5169DA0971CD8C5093ADC62B1F769638546 (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * ___wire0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Remove_mCCE85D4D5326536C4B214C73D07030F4CCD18485_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// wires.Remove(wire);
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B * L_0 = __this->___wires_4;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_1 = ___wire0;
bool L_2;
L_2 = List_1_Remove_mCCE85D4D5326536C4B214C73D07030F4CCD18485(L_0, L_1, List_1_Remove_mCCE85D4D5326536C4B214C73D07030F4CCD18485_RuntimeMethod_var);
// DestroyImmediate(wire);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3 = ___wire0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
Object_DestroyImmediate_m8249CABCDF344BE3A67EE765122EBB415DC2BC57(L_3, NULL);
// }
return;
}
}
// System.Void WireManager::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WireManager__ctor_m62B9CA27908B051E9D449DB96E445C7ABCB2496C (WireManager_t5AD6FC518C61D456F23E1AB1E2E436441469ACED * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void ChatController::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChatController_OnEnable_m025CE203564D82A1CDCE5E5719DB07E29811D0B7 (ChatController_t21BE953E1D5ADF0BA9F3B03C205203CADDC64C15 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ChatController_AddToChatOutput_m9AB8FA8A32EA23F2E55795D8301ED0BF6A59F722_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_1__ctor_mE6251CCFD943EB114960F556A546E2777B18AC71_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_1_AddListener_mEC384A8CFC5D4D41B62B08248A738CF61B82172F_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// TMP_ChatInput.onSubmit.AddListener(AddToChatOutput);
TMP_InputField_t3488E0EE8C3DF56C6A328EC95D1BEEA2DF4A7D5F * L_0 = __this->___TMP_ChatInput_4;
SubmitEvent_tF7E2843B6A79D94B8EEEA259707F77BD1773B500 * L_1;
L_1 = TMP_InputField_get_onSubmit_mAA494FA0B3CFFB2916B399BD5D87C2E1AA637B90_inline(L_0, NULL);
UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B * L_2 = (UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B *)il2cpp_codegen_object_new(UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B_il2cpp_TypeInfo_var);
UnityAction_1__ctor_mE6251CCFD943EB114960F556A546E2777B18AC71(L_2, __this, ((intptr_t)ChatController_AddToChatOutput_m9AB8FA8A32EA23F2E55795D8301ED0BF6A59F722_RuntimeMethod_var), /*hidden argument*/UnityAction_1__ctor_mE6251CCFD943EB114960F556A546E2777B18AC71_RuntimeMethod_var);
UnityEvent_1_AddListener_mEC384A8CFC5D4D41B62B08248A738CF61B82172F(L_1, L_2, UnityEvent_1_AddListener_mEC384A8CFC5D4D41B62B08248A738CF61B82172F_RuntimeMethod_var);
// }
return;
}
}
// System.Void ChatController::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChatController_OnDisable_mD49D03719CAEBB3F59F24A7FA8F4FD30C8B54E46 (ChatController_t21BE953E1D5ADF0BA9F3B03C205203CADDC64C15 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ChatController_AddToChatOutput_m9AB8FA8A32EA23F2E55795D8301ED0BF6A59F722_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_1__ctor_mE6251CCFD943EB114960F556A546E2777B18AC71_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_1_RemoveListener_m580353A1B030A82D1205B9BA94CF3484866C027F_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// TMP_ChatInput.onSubmit.RemoveListener(AddToChatOutput);
TMP_InputField_t3488E0EE8C3DF56C6A328EC95D1BEEA2DF4A7D5F * L_0 = __this->___TMP_ChatInput_4;
SubmitEvent_tF7E2843B6A79D94B8EEEA259707F77BD1773B500 * L_1;
L_1 = TMP_InputField_get_onSubmit_mAA494FA0B3CFFB2916B399BD5D87C2E1AA637B90_inline(L_0, NULL);
UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B * L_2 = (UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B *)il2cpp_codegen_object_new(UnityAction_1_t690494F0E492A2098660E28B8EB7D71B2C69BE1B_il2cpp_TypeInfo_var);
UnityAction_1__ctor_mE6251CCFD943EB114960F556A546E2777B18AC71(L_2, __this, ((intptr_t)ChatController_AddToChatOutput_m9AB8FA8A32EA23F2E55795D8301ED0BF6A59F722_RuntimeMethod_var), /*hidden argument*/UnityAction_1__ctor_mE6251CCFD943EB114960F556A546E2777B18AC71_RuntimeMethod_var);
UnityEvent_1_RemoveListener_m580353A1B030A82D1205B9BA94CF3484866C027F(L_1, L_2, UnityEvent_1_RemoveListener_m580353A1B030A82D1205B9BA94CF3484866C027F_RuntimeMethod_var);
// }
return;
}
}
// System.Void ChatController::AddToChatOutput(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChatController_AddToChatOutput_m9AB8FA8A32EA23F2E55795D8301ED0BF6A59F722 (ChatController_t21BE953E1D5ADF0BA9F3B03C205203CADDC64C15 * __this, String_t* ___newText0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0EF911B4E5C5A3E63DAB6CEA449EF637C363EF9B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3783D62DA544C4A10F6775DC60E5A763AA9BED1B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral876C4B39B6E4D0187090400768899C71D99DE90D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9C311850C974AD222115D59D4F9F42F19002BA4B);
s_Il2CppMethodInitialized = true;
}
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D V_0;
memset((&V_0), 0, sizeof(V_0));
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * V_1 = NULL;
int32_t V_2 = 0;
{
// TMP_ChatInput.text = string.Empty;
TMP_InputField_t3488E0EE8C3DF56C6A328EC95D1BEEA2DF4A7D5F * L_0 = __this->___TMP_ChatInput_4;
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_5;
TMP_InputField_set_text_m684E9CDA2D9E82D1C497B5E03DBE79C00584FF62(L_0, L_1, NULL);
// var timeNow = System.DateTime.Now;
il2cpp_codegen_runtime_class_init_inline(DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D_il2cpp_TypeInfo_var);
DateTime_t66193957C73913903DDAD89FEDC46139BCA5802D L_2;
L_2 = DateTime_get_Now_mC336498972C48439ADCD5C50D35FAE0F2A48B0F0(NULL);
V_0 = L_2;
// TMP_ChatOutput.text += "[<#FFFF80>" + timeNow.Hour.ToString("d2") + ":" + timeNow.Minute.ToString("d2") + ":" + timeNow.Second.ToString("d2") + "</color>] " + newText + "\n";
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_3 = __this->___TMP_ChatOutput_5;
V_1 = L_3;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_4 = V_1;
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_5 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)((int32_t)10));
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_6 = L_5;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_7 = V_1;
String_t* L_8;
L_8 = VirtualFuncInvoker0< String_t* >::Invoke(65 /* System.String TMPro.TMP_Text::get_text() */, L_7);
ArrayElementTypeCheck (L_6, L_8);
(L_6)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)L_8);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_9 = L_6;
ArrayElementTypeCheck (L_9, _stringLiteral9C311850C974AD222115D59D4F9F42F19002BA4B);
(L_9)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)_stringLiteral9C311850C974AD222115D59D4F9F42F19002BA4B);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_10 = L_9;
int32_t L_11;
L_11 = DateTime_get_Hour_m350B2AEB6ED8AAD80F0779C1FD37EEE13952A7F3((&V_0), NULL);
V_2 = L_11;
String_t* L_12;
L_12 = Int32_ToString_m967AECC237535C552A97A80C7875E31B98496CA9((&V_2), _stringLiteral3783D62DA544C4A10F6775DC60E5A763AA9BED1B, NULL);
ArrayElementTypeCheck (L_10, L_12);
(L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)L_12);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_13 = L_10;
ArrayElementTypeCheck (L_13, _stringLiteral876C4B39B6E4D0187090400768899C71D99DE90D);
(L_13)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (String_t*)_stringLiteral876C4B39B6E4D0187090400768899C71D99DE90D);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_14 = L_13;
int32_t L_15;
L_15 = DateTime_get_Minute_m73003491DA85D2C9951ECCF890D9BF6AFFB9E973((&V_0), NULL);
V_2 = L_15;
String_t* L_16;
L_16 = Int32_ToString_m967AECC237535C552A97A80C7875E31B98496CA9((&V_2), _stringLiteral3783D62DA544C4A10F6775DC60E5A763AA9BED1B, NULL);
ArrayElementTypeCheck (L_14, L_16);
(L_14)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (String_t*)L_16);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_17 = L_14;
ArrayElementTypeCheck (L_17, _stringLiteral876C4B39B6E4D0187090400768899C71D99DE90D);
(L_17)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (String_t*)_stringLiteral876C4B39B6E4D0187090400768899C71D99DE90D);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_18 = L_17;
int32_t L_19;
L_19 = DateTime_get_Second_mC860BA28DED65249BE9EA46E4898730C7828B3EA((&V_0), NULL);
V_2 = L_19;
String_t* L_20;
L_20 = Int32_ToString_m967AECC237535C552A97A80C7875E31B98496CA9((&V_2), _stringLiteral3783D62DA544C4A10F6775DC60E5A763AA9BED1B, NULL);
ArrayElementTypeCheck (L_18, L_20);
(L_18)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (String_t*)L_20);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_21 = L_18;
ArrayElementTypeCheck (L_21, _stringLiteral0EF911B4E5C5A3E63DAB6CEA449EF637C363EF9B);
(L_21)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(7), (String_t*)_stringLiteral0EF911B4E5C5A3E63DAB6CEA449EF637C363EF9B);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_22 = L_21;
String_t* L_23 = ___newText0;
ArrayElementTypeCheck (L_22, L_23);
(L_22)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(8), (String_t*)L_23);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_24 = L_22;
ArrayElementTypeCheck (L_24, _stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD);
(L_24)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)9)), (String_t*)_stringLiteral00B28FF06B788B9B67C6B259800F404F9F3761FD);
String_t* L_25;
L_25 = String_Concat_m6B0734B65813C8EA093D78E5C2D16534EB6FE8C0(L_24, NULL);
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_4, L_25);
// TMP_ChatInput.ActivateInputField();
TMP_InputField_t3488E0EE8C3DF56C6A328EC95D1BEEA2DF4A7D5F * L_26 = __this->___TMP_ChatInput_4;
TMP_InputField_ActivateInputField_m9471012A606F201DF838539F5400D072A827914F(L_26, NULL);
// ChatScrollbar.value = 0;
Scrollbar_t7CDC9B956698D9385A11E4C12964CD51477072C3 * L_27 = __this->___ChatScrollbar_6;
Scrollbar_set_value_m8F7815DB02D4A69B33B091FC5F674609F070D804(L_27, (0.0f), NULL);
// }
return;
}
}
// System.Void ChatController::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ChatController__ctor_m39C05E9EB8C8C40664D5655BCAB9EEBCB31F9719 (ChatController_t21BE953E1D5ADF0BA9F3B03C205203CADDC64C15 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void DropdownSample::OnButtonClick()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DropdownSample_OnButtonClick_mF83641F913F3455A3AE6ADCEA5DEB2A323FCB58F (DropdownSample_tCE5EBEBD2E880BDC4DF110CCD08388269E021100 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0A5B75A180F8485D63D34FF1F4EDF6699CD0E2E0);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral960E5E7F211EFF3243DF14EDD1901DC9EF314D62);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD579F97F4A33C344330AED1285CC5B545618BC19);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * G_B2_0 = NULL;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * G_B1_0 = NULL;
String_t* G_B3_0 = NULL;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * G_B3_1 = NULL;
{
// text.text = dropdownWithPlaceholder.value > -1 ? "Selected values:\n" + dropdownWithoutPlaceholder.value + " - " + dropdownWithPlaceholder.value : "Error: Please make a selection";
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_0 = __this->___text_4;
TMP_Dropdown_t73B37BFDA0D005451C7B750938AFB1748E5EA504 * L_1 = __this->___dropdownWithPlaceholder_6;
int32_t L_2;
L_2 = TMP_Dropdown_get_value_m5916A6D1897431E8ED789FEC24551A311D1B5C70_inline(L_1, NULL);
G_B1_0 = L_0;
if ((((int32_t)L_2) > ((int32_t)(-1))))
{
G_B2_0 = L_0;
goto IL_001b;
}
}
{
G_B3_0 = _stringLiteralD579F97F4A33C344330AED1285CC5B545618BC19;
G_B3_1 = G_B1_0;
goto IL_0050;
}
IL_001b:
{
TMP_Dropdown_t73B37BFDA0D005451C7B750938AFB1748E5EA504 * L_3 = __this->___dropdownWithoutPlaceholder_5;
int32_t L_4;
L_4 = TMP_Dropdown_get_value_m5916A6D1897431E8ED789FEC24551A311D1B5C70_inline(L_3, NULL);
V_0 = L_4;
String_t* L_5;
L_5 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_0), NULL);
TMP_Dropdown_t73B37BFDA0D005451C7B750938AFB1748E5EA504 * L_6 = __this->___dropdownWithPlaceholder_6;
int32_t L_7;
L_7 = TMP_Dropdown_get_value_m5916A6D1897431E8ED789FEC24551A311D1B5C70_inline(L_6, NULL);
V_0 = L_7;
String_t* L_8;
L_8 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_0), NULL);
String_t* L_9;
L_9 = String_Concat_mF8B69BE42B5C5ABCAD3C176FBBE3010E0815D65D(_stringLiteral0A5B75A180F8485D63D34FF1F4EDF6699CD0E2E0, L_5, _stringLiteral960E5E7F211EFF3243DF14EDD1901DC9EF314D62, L_8, NULL);
G_B3_0 = L_9;
G_B3_1 = G_B2_0;
}
IL_0050:
{
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, G_B3_1, G_B3_0);
// }
return;
}
}
// System.Void DropdownSample::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DropdownSample__ctor_m0F0C6DD803E99B2C15F3369ABD94EC273FADC75B (DropdownSample_tCE5EBEBD2E880BDC4DF110CCD08388269E021100 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void EnvMapAnimator::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EnvMapAnimator_Awake_m1D86ECDDD4A7A6DF98748B11BAC74D2D3B2F9435 (EnvMapAnimator_tFBDB01D5863979E446E8FF4A3A9C1EA6933D38DB * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// m_textMeshPro = GetComponent<TMP_Text>();
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_0;
L_0 = Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5(__this, Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var);
__this->___m_textMeshPro_5 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_textMeshPro_5), (void*)L_0);
// m_material = m_textMeshPro.fontSharedMaterial;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_1 = __this->___m_textMeshPro_5;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_2;
L_2 = VirtualFuncInvoker0< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(67 /* UnityEngine.Material TMPro.TMP_Text::get_fontSharedMaterial() */, L_1);
__this->___m_material_6 = L_2;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_material_6), (void*)L_2);
// }
return;
}
}
// System.Collections.IEnumerator EnvMapAnimator::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* EnvMapAnimator_Start_mB8A6567BB58BDFD0FC70980AFA952748DF1E80E9 (EnvMapAnimator_tFBDB01D5863979E446E8FF4A3A9C1EA6933D38DB * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557 * L_0 = (U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557 *)il2cpp_codegen_object_new(U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557_il2cpp_TypeInfo_var);
U3CStartU3Ed__4__ctor_m432062D94FDEF42B01FAB69EBC06A4D137C525C2(L_0, 0, /*hidden argument*/NULL);
U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557 * L_1 = L_0;
L_1->___U3CU3E4__this_2 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
return L_1;
}
}
// System.Void EnvMapAnimator::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EnvMapAnimator__ctor_m465E8527E49D1AA672A9A8A3B96FE78C24D11138 (EnvMapAnimator_tFBDB01D5863979E446E8FF4A3A9C1EA6933D38DB * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void EnvMapAnimator/<Start>d__4::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__4__ctor_m432062D94FDEF42B01FAB69EBC06A4D137C525C2 (U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void EnvMapAnimator/<Start>d__4::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__4_System_IDisposable_Dispose_m8088B5A404D1CB754E73D37137F9A288E47E7E9C (U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean EnvMapAnimator/<Start>d__4::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CStartU3Ed__4_MoveNext_mF689BF83350416D2071533C92042BF12AC52F0C0 (U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9A7E77DB84E1908153085B0037B2757EFD9E6B67);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
EnvMapAnimator_tFBDB01D5863979E446E8FF4A3A9C1EA6933D38DB * V_1 = NULL;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
EnvMapAnimator_tFBDB01D5863979E446E8FF4A3A9C1EA6933D38DB * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
if (!L_2)
{
goto IL_001a;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)1)))
{
goto IL_00a0;
}
}
{
return (bool)0;
}
IL_001a:
{
__this->___U3CU3E1__state_0 = (-1);
// Matrix4x4 matrix = new Matrix4x4();
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 * L_4 = (&__this->___U3CmatrixU3E5__2_3);
il2cpp_codegen_initobj(L_4, sizeof(Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ));
}
IL_002d:
{
// matrix.SetTRS(Vector3.zero, Quaternion.Euler(Time.time * RotationSpeeds.x, Time.time * RotationSpeeds.y , Time.time * RotationSpeeds.z), Vector3.one);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 * L_5 = (&__this->___U3CmatrixU3E5__2_3);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
float L_7;
L_7 = Time_get_time_m0BEE9AACD0723FE414465B77C9C64D12263675F3(NULL);
EnvMapAnimator_tFBDB01D5863979E446E8FF4A3A9C1EA6933D38DB * L_8 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_9 = (&L_8->___RotationSpeeds_4);
float L_10 = L_9->___x_2;
float L_11;
L_11 = Time_get_time_m0BEE9AACD0723FE414465B77C9C64D12263675F3(NULL);
EnvMapAnimator_tFBDB01D5863979E446E8FF4A3A9C1EA6933D38DB * L_12 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_13 = (&L_12->___RotationSpeeds_4);
float L_14 = L_13->___y_3;
float L_15;
L_15 = Time_get_time_m0BEE9AACD0723FE414465B77C9C64D12263675F3(NULL);
EnvMapAnimator_tFBDB01D5863979E446E8FF4A3A9C1EA6933D38DB * L_16 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_17 = (&L_16->___RotationSpeeds_4);
float L_18 = L_17->___z_4;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_19;
L_19 = Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline(((float)il2cpp_codegen_multiply((float)L_7, (float)L_10)), ((float)il2cpp_codegen_multiply((float)L_11, (float)L_14)), ((float)il2cpp_codegen_multiply((float)L_15, (float)L_18)), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
L_20 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
Matrix4x4_SetTRS_m8002A569FE81574DABE86044C8FF6F7C44DA21AA(L_5, L_6, L_19, L_20, NULL);
// m_material.SetMatrix("_EnvMatrix", matrix);
EnvMapAnimator_tFBDB01D5863979E446E8FF4A3A9C1EA6933D38DB * L_21 = V_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_22 = L_21->___m_material_6;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_23 = __this->___U3CmatrixU3E5__2_3;
Material_SetMatrix_m1F4E20583C898A1C1DBA256868E1F98C539F13FB(L_22, _stringLiteral9A7E77DB84E1908153085B0037B2757EFD9E6B67, L_23, NULL);
// yield return null;
__this->___U3CU3E2__current_1 = NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_00a0:
{
__this->___U3CU3E1__state_0 = (-1);
// while (true)
goto IL_002d;
}
}
// System.Object EnvMapAnimator/<Start>d__4::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CStartU3Ed__4_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_mA3CCB9B113B234F43186B26439E10AD6609DD565 (U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void EnvMapAnimator/<Start>d__4::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__4_System_Collections_IEnumerator_Reset_m3EF23BF40634D4262D8A2AE3DB14140FEFB4BF52 (U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557 * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CStartU3Ed__4_System_Collections_IEnumerator_Reset_m3EF23BF40634D4262D8A2AE3DB14140FEFB4BF52_RuntimeMethod_var)));
}
}
// System.Object EnvMapAnimator/<Start>d__4::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CStartU3Ed__4_System_Collections_IEnumerator_get_Current_mB1C119A46A09AD8F0D4DE964F6B335BE2A460FAA (U3CStartU3Ed__4_t7AF0F1ABA8D3AE9575A02603D2DC2137FA816557 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Char TMPro.TMP_DigitValidator::Validate(System.String&,System.Int32&,System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar TMP_DigitValidator_Validate_m786CF8A4D85EB9E1BE8785A58007F8796991BDB9 (TMP_DigitValidator_t1C162B062ED9C2BB89E448EAA6D43CC4B82D4B14 * __this, String_t** ___text0, int32_t* ___pos1, Il2CppChar ___ch2, const RuntimeMethod* method)
{
{
// if (ch >= '0' && ch <= '9')
Il2CppChar L_0 = ___ch2;
if ((((int32_t)L_0) < ((int32_t)((int32_t)48))))
{
goto IL_0012;
}
}
{
Il2CppChar L_1 = ___ch2;
if ((((int32_t)L_1) > ((int32_t)((int32_t)57))))
{
goto IL_0012;
}
}
{
// pos += 1;
int32_t* L_2 = ___pos1;
int32_t* L_3 = ___pos1;
int32_t L_4 = *((int32_t*)L_3);
*((int32_t*)L_2) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1));
// return ch;
Il2CppChar L_5 = ___ch2;
return L_5;
}
IL_0012:
{
// return (char)0;
return 0;
}
}
// System.Void TMPro.TMP_DigitValidator::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_DigitValidator__ctor_m9DC5F1168E5F4963C063C88384ADEBA8980BBFE0 (TMP_DigitValidator_t1C162B062ED9C2BB89E448EAA6D43CC4B82D4B14 * __this, const RuntimeMethod* method)
{
{
TMP_InputValidator__ctor_mD15E0AFA50E8CA10B2849A66A5B96D50B7EA66F3(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Char TMPro.TMP_PhoneNumberValidator::Validate(System.String&,System.Int32&,System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar TMP_PhoneNumberValidator_Validate_mE50FE1DE042CE58055C824840D77FCDA6A2AF4D3 (TMP_PhoneNumberValidator_t0746D23F4BE9695B737D9997BCD6A3B3F916B48C * __this, String_t** ___text0, int32_t* ___pos1, Il2CppChar ___ch2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3B2C1C62D4D1C2A0C8A9AC42DB00D33C654F9AD0);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC087E631060AB76B7C814C0E1B92D5C7C4C4B924);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDECFB8F380101725B06EAE2D3F983211A277171C);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
// Debug.Log("Trying to validate...");
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219(_stringLiteralDECFB8F380101725B06EAE2D3F983211A277171C, NULL);
// if (ch < '0' && ch > '9') return (char)0;
Il2CppChar L_0 = ___ch2;
if ((((int32_t)L_0) >= ((int32_t)((int32_t)48))))
{
goto IL_0016;
}
}
{
Il2CppChar L_1 = ___ch2;
if ((((int32_t)L_1) <= ((int32_t)((int32_t)57))))
{
goto IL_0016;
}
}
{
// if (ch < '0' && ch > '9') return (char)0;
return 0;
}
IL_0016:
{
// int length = text.Length;
String_t** L_2 = ___text0;
String_t* L_3 = *((String_t**)L_2);
int32_t L_4;
L_4 = String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline(L_3, NULL);
V_0 = L_4;
// for (int i = 0; i < length + 1; i++)
V_1 = 0;
goto IL_0205;
}
IL_0025:
{
int32_t L_5 = V_1;
switch (L_5)
{
case 0:
{
goto IL_0068;
}
case 1:
{
goto IL_0087;
}
case 2:
{
goto IL_00a3;
}
case 3:
{
goto IL_00bf;
}
case 4:
{
goto IL_00e0;
}
case 5:
{
goto IL_0101;
}
case 6:
{
goto IL_0122;
}
case 7:
{
goto IL_013e;
}
case 8:
{
goto IL_015a;
}
case 9:
{
goto IL_017c;
}
case 10:
{
goto IL_019b;
}
case 11:
{
goto IL_01b5;
}
case 12:
{
goto IL_01cf;
}
case 13:
{
goto IL_01e9;
}
}
}
{
goto IL_0201;
}
IL_0068:
{
// if (i == length)
int32_t L_6 = V_1;
int32_t L_7 = V_0;
if ((!(((uint32_t)L_6) == ((uint32_t)L_7))))
{
goto IL_007f;
}
}
{
// text = "(" + ch;
String_t** L_8 = ___text0;
String_t* L_9;
L_9 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_10;
L_10 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(_stringLiteralA3DFC0C77ACADE0EE48DCC73E795A597D0270A73, L_9, NULL);
*((RuntimeObject **)L_8) = (RuntimeObject *)L_10;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_8, (void*)(RuntimeObject *)L_10);
}
IL_007f:
{
// pos = 2;
int32_t* L_11 = ___pos1;
*((int32_t*)L_11) = (int32_t)2;
// break;
goto IL_0201;
}
IL_0087:
{
// if (i == length)
int32_t L_12 = V_1;
int32_t L_13 = V_0;
if ((!(((uint32_t)L_12) == ((uint32_t)L_13))))
{
goto IL_009b;
}
}
{
// text += ch;
String_t** L_14 = ___text0;
String_t** L_15 = ___text0;
String_t* L_16 = *((String_t**)L_15);
String_t* L_17;
L_17 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_18;
L_18 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(L_16, L_17, NULL);
*((RuntimeObject **)L_14) = (RuntimeObject *)L_18;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_14, (void*)(RuntimeObject *)L_18);
}
IL_009b:
{
// pos = 2;
int32_t* L_19 = ___pos1;
*((int32_t*)L_19) = (int32_t)2;
// break;
goto IL_0201;
}
IL_00a3:
{
// if (i == length)
int32_t L_20 = V_1;
int32_t L_21 = V_0;
if ((!(((uint32_t)L_20) == ((uint32_t)L_21))))
{
goto IL_00b7;
}
}
{
// text += ch;
String_t** L_22 = ___text0;
String_t** L_23 = ___text0;
String_t* L_24 = *((String_t**)L_23);
String_t* L_25;
L_25 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_26;
L_26 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(L_24, L_25, NULL);
*((RuntimeObject **)L_22) = (RuntimeObject *)L_26;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_22, (void*)(RuntimeObject *)L_26);
}
IL_00b7:
{
// pos = 3;
int32_t* L_27 = ___pos1;
*((int32_t*)L_27) = (int32_t)3;
// break;
goto IL_0201;
}
IL_00bf:
{
// if (i == length)
int32_t L_28 = V_1;
int32_t L_29 = V_0;
if ((!(((uint32_t)L_28) == ((uint32_t)L_29))))
{
goto IL_00d8;
}
}
{
// text += ch + ") ";
String_t** L_30 = ___text0;
String_t** L_31 = ___text0;
String_t* L_32 = *((String_t**)L_31);
String_t* L_33;
L_33 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_34;
L_34 = String_Concat_m9B13B47FCB3DF61144D9647DDA05F527377251B0(L_32, L_33, _stringLiteralC087E631060AB76B7C814C0E1B92D5C7C4C4B924, NULL);
*((RuntimeObject **)L_30) = (RuntimeObject *)L_34;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_30, (void*)(RuntimeObject *)L_34);
}
IL_00d8:
{
// pos = 6;
int32_t* L_35 = ___pos1;
*((int32_t*)L_35) = (int32_t)6;
// break;
goto IL_0201;
}
IL_00e0:
{
// if (i == length)
int32_t L_36 = V_1;
int32_t L_37 = V_0;
if ((!(((uint32_t)L_36) == ((uint32_t)L_37))))
{
goto IL_00f9;
}
}
{
// text += ") " + ch;
String_t** L_38 = ___text0;
String_t** L_39 = ___text0;
String_t* L_40 = *((String_t**)L_39);
String_t* L_41;
L_41 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_42;
L_42 = String_Concat_m9B13B47FCB3DF61144D9647DDA05F527377251B0(L_40, _stringLiteralC087E631060AB76B7C814C0E1B92D5C7C4C4B924, L_41, NULL);
*((RuntimeObject **)L_38) = (RuntimeObject *)L_42;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_38, (void*)(RuntimeObject *)L_42);
}
IL_00f9:
{
// pos = 7;
int32_t* L_43 = ___pos1;
*((int32_t*)L_43) = (int32_t)7;
// break;
goto IL_0201;
}
IL_0101:
{
// if (i == length)
int32_t L_44 = V_1;
int32_t L_45 = V_0;
if ((!(((uint32_t)L_44) == ((uint32_t)L_45))))
{
goto IL_011a;
}
}
{
// text += " " + ch;
String_t** L_46 = ___text0;
String_t** L_47 = ___text0;
String_t* L_48 = *((String_t**)L_47);
String_t* L_49;
L_49 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_50;
L_50 = String_Concat_m9B13B47FCB3DF61144D9647DDA05F527377251B0(L_48, _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745, L_49, NULL);
*((RuntimeObject **)L_46) = (RuntimeObject *)L_50;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_46, (void*)(RuntimeObject *)L_50);
}
IL_011a:
{
// pos = 7;
int32_t* L_51 = ___pos1;
*((int32_t*)L_51) = (int32_t)7;
// break;
goto IL_0201;
}
IL_0122:
{
// if (i == length)
int32_t L_52 = V_1;
int32_t L_53 = V_0;
if ((!(((uint32_t)L_52) == ((uint32_t)L_53))))
{
goto IL_0136;
}
}
{
// text += ch;
String_t** L_54 = ___text0;
String_t** L_55 = ___text0;
String_t* L_56 = *((String_t**)L_55);
String_t* L_57;
L_57 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_58;
L_58 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(L_56, L_57, NULL);
*((RuntimeObject **)L_54) = (RuntimeObject *)L_58;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_54, (void*)(RuntimeObject *)L_58);
}
IL_0136:
{
// pos = 7;
int32_t* L_59 = ___pos1;
*((int32_t*)L_59) = (int32_t)7;
// break;
goto IL_0201;
}
IL_013e:
{
// if (i == length)
int32_t L_60 = V_1;
int32_t L_61 = V_0;
if ((!(((uint32_t)L_60) == ((uint32_t)L_61))))
{
goto IL_0152;
}
}
{
// text += ch;
String_t** L_62 = ___text0;
String_t** L_63 = ___text0;
String_t* L_64 = *((String_t**)L_63);
String_t* L_65;
L_65 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_66;
L_66 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(L_64, L_65, NULL);
*((RuntimeObject **)L_62) = (RuntimeObject *)L_66;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_62, (void*)(RuntimeObject *)L_66);
}
IL_0152:
{
// pos = 8;
int32_t* L_67 = ___pos1;
*((int32_t*)L_67) = (int32_t)8;
// break;
goto IL_0201;
}
IL_015a:
{
// if (i == length)
int32_t L_68 = V_1;
int32_t L_69 = V_0;
if ((!(((uint32_t)L_68) == ((uint32_t)L_69))))
{
goto IL_0173;
}
}
{
// text += ch + "-";
String_t** L_70 = ___text0;
String_t** L_71 = ___text0;
String_t* L_72 = *((String_t**)L_71);
String_t* L_73;
L_73 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_74;
L_74 = String_Concat_m9B13B47FCB3DF61144D9647DDA05F527377251B0(L_72, L_73, _stringLiteral3B2C1C62D4D1C2A0C8A9AC42DB00D33C654F9AD0, NULL);
*((RuntimeObject **)L_70) = (RuntimeObject *)L_74;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_70, (void*)(RuntimeObject *)L_74);
}
IL_0173:
{
// pos = 10;
int32_t* L_75 = ___pos1;
*((int32_t*)L_75) = (int32_t)((int32_t)10);
// break;
goto IL_0201;
}
IL_017c:
{
// if (i == length)
int32_t L_76 = V_1;
int32_t L_77 = V_0;
if ((!(((uint32_t)L_76) == ((uint32_t)L_77))))
{
goto IL_0195;
}
}
{
// text += "-" + ch;
String_t** L_78 = ___text0;
String_t** L_79 = ___text0;
String_t* L_80 = *((String_t**)L_79);
String_t* L_81;
L_81 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_82;
L_82 = String_Concat_m9B13B47FCB3DF61144D9647DDA05F527377251B0(L_80, _stringLiteral3B2C1C62D4D1C2A0C8A9AC42DB00D33C654F9AD0, L_81, NULL);
*((RuntimeObject **)L_78) = (RuntimeObject *)L_82;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_78, (void*)(RuntimeObject *)L_82);
}
IL_0195:
{
// pos = 11;
int32_t* L_83 = ___pos1;
*((int32_t*)L_83) = (int32_t)((int32_t)11);
// break;
goto IL_0201;
}
IL_019b:
{
// if (i == length)
int32_t L_84 = V_1;
int32_t L_85 = V_0;
if ((!(((uint32_t)L_84) == ((uint32_t)L_85))))
{
goto IL_01af;
}
}
{
// text += ch;
String_t** L_86 = ___text0;
String_t** L_87 = ___text0;
String_t* L_88 = *((String_t**)L_87);
String_t* L_89;
L_89 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_90;
L_90 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(L_88, L_89, NULL);
*((RuntimeObject **)L_86) = (RuntimeObject *)L_90;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_86, (void*)(RuntimeObject *)L_90);
}
IL_01af:
{
// pos = 11;
int32_t* L_91 = ___pos1;
*((int32_t*)L_91) = (int32_t)((int32_t)11);
// break;
goto IL_0201;
}
IL_01b5:
{
// if (i == length)
int32_t L_92 = V_1;
int32_t L_93 = V_0;
if ((!(((uint32_t)L_92) == ((uint32_t)L_93))))
{
goto IL_01c9;
}
}
{
// text += ch;
String_t** L_94 = ___text0;
String_t** L_95 = ___text0;
String_t* L_96 = *((String_t**)L_95);
String_t* L_97;
L_97 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_98;
L_98 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(L_96, L_97, NULL);
*((RuntimeObject **)L_94) = (RuntimeObject *)L_98;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_94, (void*)(RuntimeObject *)L_98);
}
IL_01c9:
{
// pos = 12;
int32_t* L_99 = ___pos1;
*((int32_t*)L_99) = (int32_t)((int32_t)12);
// break;
goto IL_0201;
}
IL_01cf:
{
// if (i == length)
int32_t L_100 = V_1;
int32_t L_101 = V_0;
if ((!(((uint32_t)L_100) == ((uint32_t)L_101))))
{
goto IL_01e3;
}
}
{
// text += ch;
String_t** L_102 = ___text0;
String_t** L_103 = ___text0;
String_t* L_104 = *((String_t**)L_103);
String_t* L_105;
L_105 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_106;
L_106 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(L_104, L_105, NULL);
*((RuntimeObject **)L_102) = (RuntimeObject *)L_106;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_102, (void*)(RuntimeObject *)L_106);
}
IL_01e3:
{
// pos = 13;
int32_t* L_107 = ___pos1;
*((int32_t*)L_107) = (int32_t)((int32_t)13);
// break;
goto IL_0201;
}
IL_01e9:
{
// if (i == length)
int32_t L_108 = V_1;
int32_t L_109 = V_0;
if ((!(((uint32_t)L_108) == ((uint32_t)L_109))))
{
goto IL_01fd;
}
}
{
// text += ch;
String_t** L_110 = ___text0;
String_t** L_111 = ___text0;
String_t* L_112 = *((String_t**)L_111);
String_t* L_113;
L_113 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___ch2), NULL);
String_t* L_114;
L_114 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(L_112, L_113, NULL);
*((RuntimeObject **)L_110) = (RuntimeObject *)L_114;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_110, (void*)(RuntimeObject *)L_114);
}
IL_01fd:
{
// pos = 14;
int32_t* L_115 = ___pos1;
*((int32_t*)L_115) = (int32_t)((int32_t)14);
}
IL_0201:
{
// for (int i = 0; i < length + 1; i++)
int32_t L_116 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_116, (int32_t)1));
}
IL_0205:
{
// for (int i = 0; i < length + 1; i++)
int32_t L_117 = V_1;
int32_t L_118 = V_0;
if ((((int32_t)L_117) < ((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_118, (int32_t)1)))))
{
goto IL_0025;
}
}
{
// return ch;
Il2CppChar L_119 = ___ch2;
return L_119;
}
}
// System.Void TMPro.TMP_PhoneNumberValidator::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_PhoneNumberValidator__ctor_m70833F265A016119F88136746B4C59F45B5E067D (TMP_PhoneNumberValidator_t0746D23F4BE9695B737D9997BCD6A3B3F916B48C * __this, const RuntimeMethod* method)
{
{
TMP_InputValidator__ctor_mD15E0AFA50E8CA10B2849A66A5B96D50B7EA66F3(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// TMPro.TMP_TextEventHandler/CharacterSelectionEvent TMPro.TMP_TextEventHandler::get_onCharacterSelection()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * TMP_TextEventHandler_get_onCharacterSelection_mA62049738125E3C48405E6DFF09E2D42300BE8C3 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
{
// get { return m_OnCharacterSelection; }
CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * L_0 = __this->___m_OnCharacterSelection_4;
return L_0;
}
}
// System.Void TMPro.TMP_TextEventHandler::set_onCharacterSelection(TMPro.TMP_TextEventHandler/CharacterSelectionEvent)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_set_onCharacterSelection_m6B85C54F4E751BF080324D94FB8DA6286CD5A43C (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * ___value0, const RuntimeMethod* method)
{
{
// set { m_OnCharacterSelection = value; }
CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * L_0 = ___value0;
__this->___m_OnCharacterSelection_4 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_OnCharacterSelection_4), (void*)L_0);
// set { m_OnCharacterSelection = value; }
return;
}
}
// TMPro.TMP_TextEventHandler/SpriteSelectionEvent TMPro.TMP_TextEventHandler::get_onSpriteSelection()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * TMP_TextEventHandler_get_onSpriteSelection_m95CDEB7394FFF38F310717EEEFDCD481D96A5E82 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
{
// get { return m_OnSpriteSelection; }
SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * L_0 = __this->___m_OnSpriteSelection_5;
return L_0;
}
}
// System.Void TMPro.TMP_TextEventHandler::set_onSpriteSelection(TMPro.TMP_TextEventHandler/SpriteSelectionEvent)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_set_onSpriteSelection_mFFBD9D70A791A3F2065C1063F258465EDA8AC2C5 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * ___value0, const RuntimeMethod* method)
{
{
// set { m_OnSpriteSelection = value; }
SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * L_0 = ___value0;
__this->___m_OnSpriteSelection_5 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_OnSpriteSelection_5), (void*)L_0);
// set { m_OnSpriteSelection = value; }
return;
}
}
// TMPro.TMP_TextEventHandler/WordSelectionEvent TMPro.TMP_TextEventHandler::get_onWordSelection()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * TMP_TextEventHandler_get_onWordSelection_mF22771B4213EEB3AEFCDA390A4FF28FED5D9184C (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
{
// get { return m_OnWordSelection; }
WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * L_0 = __this->___m_OnWordSelection_6;
return L_0;
}
}
// System.Void TMPro.TMP_TextEventHandler::set_onWordSelection(TMPro.TMP_TextEventHandler/WordSelectionEvent)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_set_onWordSelection_mA7EB31AF14EAADD968857DDAC994F7728B7B02E3 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * ___value0, const RuntimeMethod* method)
{
{
// set { m_OnWordSelection = value; }
WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * L_0 = ___value0;
__this->___m_OnWordSelection_6 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_OnWordSelection_6), (void*)L_0);
// set { m_OnWordSelection = value; }
return;
}
}
// TMPro.TMP_TextEventHandler/LineSelectionEvent TMPro.TMP_TextEventHandler::get_onLineSelection()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * TMP_TextEventHandler_get_onLineSelection_mDDF07E7000993FCD6EAF2FBD2D2226EB66273908 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
{
// get { return m_OnLineSelection; }
LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * L_0 = __this->___m_OnLineSelection_7;
return L_0;
}
}
// System.Void TMPro.TMP_TextEventHandler::set_onLineSelection(TMPro.TMP_TextEventHandler/LineSelectionEvent)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_set_onLineSelection_m098580AA8098939290113692072E18F9A293B427 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * ___value0, const RuntimeMethod* method)
{
{
// set { m_OnLineSelection = value; }
LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * L_0 = ___value0;
__this->___m_OnLineSelection_7 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_OnLineSelection_7), (void*)L_0);
// set { m_OnLineSelection = value; }
return;
}
}
// TMPro.TMP_TextEventHandler/LinkSelectionEvent TMPro.TMP_TextEventHandler::get_onLinkSelection()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * TMP_TextEventHandler_get_onLinkSelection_m87FB9EABE7F917B2F910A18A3B5F1AE3020D976D (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
{
// get { return m_OnLinkSelection; }
LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * L_0 = __this->___m_OnLinkSelection_8;
return L_0;
}
}
// System.Void TMPro.TMP_TextEventHandler::set_onLinkSelection(TMPro.TMP_TextEventHandler/LinkSelectionEvent)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_set_onLinkSelection_m6741C71F7E218C744CD7AA18B7456382E4B703FF (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * ___value0, const RuntimeMethod* method)
{
{
// set { m_OnLinkSelection = value; }
LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * L_0 = ___value0;
__this->___m_OnLinkSelection_8 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_OnLinkSelection_8), (void*)L_0);
// set { m_OnLinkSelection = value; }
return;
}
}
// System.Void TMPro.TMP_TextEventHandler::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_Awake_mE2D7EB8218B248F11BE54C507396B9B6B12E0052 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponentInParent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m0A41CB7A7F9A10FCC98D1C7B5799D57C2724D991_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_mA59A63181077B821132B53D44724D7F86C6FECB3_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// m_TextComponent = gameObject.GetComponent<TMP_Text>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_0;
L_0 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_1;
L_1 = GameObject_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_mA59A63181077B821132B53D44724D7F86C6FECB3(L_0, GameObject_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_mA59A63181077B821132B53D44724D7F86C6FECB3_RuntimeMethod_var);
__this->___m_TextComponent_9 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextComponent_9), (void*)L_1);
// if (m_TextComponent.GetType() == typeof(TextMeshProUGUI))
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_2 = __this->___m_TextComponent_9;
Type_t * L_3;
L_3 = Object_GetType_mE10A8FC1E57F3DF29972CCBC026C2DC3942263B3(L_2, NULL);
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B L_4 = { reinterpret_cast<intptr_t> (TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_0_0_0_var) };
il2cpp_codegen_runtime_class_init_inline(Type_t_il2cpp_TypeInfo_var);
Type_t * L_5;
L_5 = Type_GetTypeFromHandle_m2570A2A5B32A5E9D9F0F38B37459DA18736C823E(L_4, NULL);
bool L_6;
L_6 = Type_op_Equality_mE6EDDDC900C50B222CF32BCD2AD027595F2D74B7(L_3, L_5, NULL);
if (!L_6)
{
goto IL_0073;
}
}
{
// m_Canvas = gameObject.GetComponentInParent<Canvas>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_7;
L_7 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * L_8;
L_8 = GameObject_GetComponentInParent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m0A41CB7A7F9A10FCC98D1C7B5799D57C2724D991(L_7, GameObject_GetComponentInParent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m0A41CB7A7F9A10FCC98D1C7B5799D57C2724D991_RuntimeMethod_var);
__this->___m_Canvas_11 = L_8;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Canvas_11), (void*)L_8);
// if (m_Canvas != null)
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * L_9 = __this->___m_Canvas_11;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_10;
L_10 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_9, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C *)NULL, NULL);
if (!L_10)
{
goto IL_007e;
}
}
{
// if (m_Canvas.renderMode == RenderMode.ScreenSpaceOverlay)
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * L_11 = __this->___m_Canvas_11;
int32_t L_12;
L_12 = Canvas_get_renderMode_m1BEF259548C6CAD27E4466F31D20752D246688CC(L_11, NULL);
if (L_12)
{
goto IL_0061;
}
}
{
// m_Camera = null;
__this->___m_Camera_10 = (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 *)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Camera_10), (void*)(Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 *)NULL);
return;
}
IL_0061:
{
// m_Camera = m_Canvas.worldCamera;
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * L_13 = __this->___m_Canvas_11;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_14;
L_14 = Canvas_get_worldCamera_mD2FDE13B61A5213F4E64B40008EB0A8D2D07B853(L_13, NULL);
__this->___m_Camera_10 = L_14;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Camera_10), (void*)L_14);
return;
}
IL_0073:
{
// m_Camera = Camera.main;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_15;
L_15 = Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43(NULL);
__this->___m_Camera_10 = L_15;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Camera_10), (void*)L_15);
}
IL_007e:
{
// }
return;
}
}
// System.Void TMPro.TMP_TextEventHandler::LateUpdate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_LateUpdate_mBF0056A3C00834477F7D221BEE17C26784559DE1 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 V_5;
memset((&V_5), 0, sizeof(V_5));
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 V_6;
memset((&V_6), 0, sizeof(V_6));
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* V_7 = NULL;
String_t* V_8 = NULL;
int32_t V_9 = 0;
TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 V_10;
memset((&V_10), 0, sizeof(V_10));
{
// if (TMP_TextUtilities.IsIntersectingRectTransform(m_TextComponent.rectTransform, Input.mousePosition, m_Camera))
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_0 = __this->___m_TextComponent_9;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_1;
L_1 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_0, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
L_2 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_3 = __this->___m_Camera_10;
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
bool L_4;
L_4 = TMP_TextUtilities_IsIntersectingRectTransform_mD130C941AB32BCEA5B2B293E979A7AC7F1160FFF(L_1, L_2, L_3, NULL);
if (!L_4)
{
goto IL_0239;
}
}
{
// int charIndex = TMP_TextUtilities.FindIntersectingCharacter(m_TextComponent, Input.mousePosition, m_Camera, true);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_5 = __this->___m_TextComponent_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_7 = __this->___m_Camera_10;
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
int32_t L_8;
L_8 = TMP_TextUtilities_FindIntersectingCharacter_m6C03B17BB15028215958B0DAB969BB5199990DF2(L_5, L_6, L_7, (bool)1, NULL);
V_0 = L_8;
// if (charIndex != -1 && charIndex != m_lastCharIndex)
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)(-1))))
{
goto IL_00b8;
}
}
{
int32_t L_10 = V_0;
int32_t L_11 = __this->___m_lastCharIndex_13;
if ((((int32_t)L_10) == ((int32_t)L_11)))
{
goto IL_00b8;
}
}
{
// m_lastCharIndex = charIndex;
int32_t L_12 = V_0;
__this->___m_lastCharIndex_13 = L_12;
// TMP_TextElementType elementType = m_TextComponent.textInfo.characterInfo[charIndex].elementType;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_13 = __this->___m_TextComponent_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_14;
L_14 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_13, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_15 = L_14->___characterInfo_11;
int32_t L_16 = V_0;
int32_t L_17 = ((L_15)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_16)))->___elementType_3;
V_4 = L_17;
// if (elementType == TMP_TextElementType.Character)
int32_t L_18 = V_4;
if (L_18)
{
goto IL_0091;
}
}
{
// SendOnCharacterSelection(m_TextComponent.textInfo.characterInfo[charIndex].character, charIndex);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_19 = __this->___m_TextComponent_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_20;
L_20 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_19, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_21 = L_20->___characterInfo_11;
int32_t L_22 = V_0;
Il2CppChar L_23 = ((L_21)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_22)))->___character_0;
int32_t L_24 = V_0;
TMP_TextEventHandler_SendOnCharacterSelection_m5A891393BC3211CFEF2390B5E9899129CBDAC189(__this, L_23, L_24, NULL);
goto IL_00b8;
}
IL_0091:
{
// else if (elementType == TMP_TextElementType.Sprite)
int32_t L_25 = V_4;
if ((!(((uint32_t)L_25) == ((uint32_t)1))))
{
goto IL_00b8;
}
}
{
// SendOnSpriteSelection(m_TextComponent.textInfo.characterInfo[charIndex].character, charIndex);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_26 = __this->___m_TextComponent_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_27;
L_27 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_26, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_28 = L_27->___characterInfo_11;
int32_t L_29 = V_0;
Il2CppChar L_30 = ((L_28)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_29)))->___character_0;
int32_t L_31 = V_0;
TMP_TextEventHandler_SendOnSpriteSelection_m8242C5F9626A3C1330927FEACF3ECAD287500475(__this, L_30, L_31, NULL);
}
IL_00b8:
{
// int wordIndex = TMP_TextUtilities.FindIntersectingWord(m_TextComponent, Input.mousePosition, m_Camera);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_32 = __this->___m_TextComponent_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
L_33 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_34 = __this->___m_Camera_10;
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
int32_t L_35;
L_35 = TMP_TextUtilities_FindIntersectingWord_m1442DFD5AAE1FF0EE5054262A34E4D31B1E56879(L_32, L_33, L_34, NULL);
V_1 = L_35;
// if (wordIndex != -1 && wordIndex != m_lastWordIndex)
int32_t L_36 = V_1;
if ((((int32_t)L_36) == ((int32_t)(-1))))
{
goto IL_0116;
}
}
{
int32_t L_37 = V_1;
int32_t L_38 = __this->___m_lastWordIndex_14;
if ((((int32_t)L_37) == ((int32_t)L_38)))
{
goto IL_0116;
}
}
{
// m_lastWordIndex = wordIndex;
int32_t L_39 = V_1;
__this->___m_lastWordIndex_14 = L_39;
// TMP_WordInfo wInfo = m_TextComponent.textInfo.wordInfo[wordIndex];
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_40 = __this->___m_TextComponent_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_41;
L_41 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_40, NULL);
TMP_WordInfoU5BU5D_tD1759E5A84DCCCD42B718D79E953E72A432BB4DC* L_42 = L_41->___wordInfo_12;
int32_t L_43 = V_1;
int32_t L_44 = L_43;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_45 = (L_42)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_44));
V_5 = L_45;
// SendOnWordSelection(wInfo.GetWord(), wInfo.firstCharacterIndex, wInfo.characterCount);
String_t* L_46;
L_46 = TMP_WordInfo_GetWord_m7F72AB87E8AB0FA75616FD5409A8F5C031294D2C((&V_5), NULL);
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_47 = V_5;
int32_t L_48 = L_47.___firstCharacterIndex_1;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_49 = V_5;
int32_t L_50 = L_49.___characterCount_3;
TMP_TextEventHandler_SendOnWordSelection_mCB9E9ACB06AC524273C163743C9191CAF9C1FD33(__this, L_46, L_48, L_50, NULL);
}
IL_0116:
{
// int lineIndex = TMP_TextUtilities.FindIntersectingLine(m_TextComponent, Input.mousePosition, m_Camera);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_51 = __this->___m_TextComponent_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
L_52 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_53 = __this->___m_Camera_10;
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
int32_t L_54;
L_54 = TMP_TextUtilities_FindIntersectingLine_mFC1F20154DEE3E4308C04EAF963F0BD897C12459(L_51, L_52, L_53, NULL);
V_2 = L_54;
// if (lineIndex != -1 && lineIndex != m_lastLineIndex)
int32_t L_55 = V_2;
if ((((int32_t)L_55) == ((int32_t)(-1))))
{
goto IL_01e1;
}
}
{
int32_t L_56 = V_2;
int32_t L_57 = __this->___m_lastLineIndex_15;
if ((((int32_t)L_56) == ((int32_t)L_57)))
{
goto IL_01e1;
}
}
{
// m_lastLineIndex = lineIndex;
int32_t L_58 = V_2;
__this->___m_lastLineIndex_15 = L_58;
// TMP_LineInfo lineInfo = m_TextComponent.textInfo.lineInfo[lineIndex];
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_59 = __this->___m_TextComponent_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_60;
L_60 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_59, NULL);
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_61 = L_60->___lineInfo_14;
int32_t L_62 = V_2;
int32_t L_63 = L_62;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 L_64 = (L_61)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_63));
V_6 = L_64;
// char[] buffer = new char[lineInfo.characterCount];
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 L_65 = V_6;
int32_t L_66 = L_65.___characterCount_1;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_67 = (CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB*)SZArrayNew(CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB_il2cpp_TypeInfo_var, (uint32_t)L_66);
V_7 = L_67;
// for (int i = 0; i < lineInfo.characterCount && i < m_TextComponent.textInfo.characterInfo.Length; i++)
V_9 = 0;
goto IL_01a1;
}
IL_0172:
{
// buffer[i] = m_TextComponent.textInfo.characterInfo[i + lineInfo.firstCharacterIndex].character;
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_68 = V_7;
int32_t L_69 = V_9;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_70 = __this->___m_TextComponent_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_71;
L_71 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_70, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_72 = L_71->___characterInfo_11;
int32_t L_73 = V_9;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 L_74 = V_6;
int32_t L_75 = L_74.___firstCharacterIndex_5;
Il2CppChar L_76 = ((L_72)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_73, (int32_t)L_75)))))->___character_0;
(L_68)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_69), (Il2CppChar)L_76);
// for (int i = 0; i < lineInfo.characterCount && i < m_TextComponent.textInfo.characterInfo.Length; i++)
int32_t L_77 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_77, (int32_t)1));
}
IL_01a1:
{
// for (int i = 0; i < lineInfo.characterCount && i < m_TextComponent.textInfo.characterInfo.Length; i++)
int32_t L_78 = V_9;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 L_79 = V_6;
int32_t L_80 = L_79.___characterCount_1;
if ((((int32_t)L_78) >= ((int32_t)L_80)))
{
goto IL_01c2;
}
}
{
int32_t L_81 = V_9;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_82 = __this->___m_TextComponent_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_83;
L_83 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_82, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_84 = L_83->___characterInfo_11;
if ((((int32_t)L_81) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_84)->max_length))))))
{
goto IL_0172;
}
}
IL_01c2:
{
// string lineText = new string(buffer);
CharU5BU5D_t799905CF001DD5F13F7DBB310181FC4D8B7D0AAB* L_85 = V_7;
String_t* L_86;
L_86 = String_CreateString_mFBC28D2E3EB87D497F7E702E4FFAD65F635E44DF(NULL, L_85, NULL);
V_8 = L_86;
// SendOnLineSelection(lineText, lineInfo.firstCharacterIndex, lineInfo.characterCount);
String_t* L_87 = V_8;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 L_88 = V_6;
int32_t L_89 = L_88.___firstCharacterIndex_5;
TMP_LineInfo_tB75C1965B58DB7B3A046C8CA55AD6AB92B6B17B3 L_90 = V_6;
int32_t L_91 = L_90.___characterCount_1;
TMP_TextEventHandler_SendOnLineSelection_mF0691C407CA44C2E8F2D7CD6C9C2099693CBE7A6(__this, L_87, L_89, L_91, NULL);
}
IL_01e1:
{
// int linkIndex = TMP_TextUtilities.FindIntersectingLink(m_TextComponent, Input.mousePosition, m_Camera);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_92 = __this->___m_TextComponent_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93;
L_93 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_94 = __this->___m_Camera_10;
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
int32_t L_95;
L_95 = TMP_TextUtilities_FindIntersectingLink_m2B5823274A30BBB3A54592E8DB44F119140C3778(L_92, L_93, L_94, NULL);
V_3 = L_95;
// if (linkIndex != -1 && linkIndex != m_selectedLink)
int32_t L_96 = V_3;
if ((((int32_t)L_96) == ((int32_t)(-1))))
{
goto IL_0239;
}
}
{
int32_t L_97 = V_3;
int32_t L_98 = __this->___m_selectedLink_12;
if ((((int32_t)L_97) == ((int32_t)L_98)))
{
goto IL_0239;
}
}
{
// m_selectedLink = linkIndex;
int32_t L_99 = V_3;
__this->___m_selectedLink_12 = L_99;
// TMP_LinkInfo linkInfo = m_TextComponent.textInfo.linkInfo[linkIndex];
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_100 = __this->___m_TextComponent_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_101;
L_101 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_100, NULL);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_102 = L_101->___linkInfo_13;
int32_t L_103 = V_3;
int32_t L_104 = L_103;
TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 L_105 = (L_102)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_104));
V_10 = L_105;
// SendOnLinkSelection(linkInfo.GetLinkID(), linkInfo.GetLinkText(), linkIndex);
String_t* L_106;
L_106 = TMP_LinkInfo_GetLinkID_mCC9D9E783D606660A4D15E0E746E1E27AD9C2425((&V_10), NULL);
String_t* L_107;
L_107 = TMP_LinkInfo_GetLinkText_m954EE8FF39D62BA8113773A696095EAE85CD5E3F((&V_10), NULL);
int32_t L_108 = V_3;
TMP_TextEventHandler_SendOnLinkSelection_m2809D6FFF57FAE45DC5BB4DD579328535E255A02(__this, L_106, L_107, L_108, NULL);
}
IL_0239:
{
// }
return;
}
}
// System.Void TMPro.TMP_TextEventHandler::OnPointerEnter(UnityEngine.EventSystems.PointerEventData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_OnPointerEnter_mF5B4CCF0C9F2EFE24B6D4C7B31C620C91ABBC07A (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, PointerEventData_t9670F3C7D823CCB738A1604C72A1EB90292396FB * ___eventData0, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void TMPro.TMP_TextEventHandler::OnPointerExit(UnityEngine.EventSystems.PointerEventData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_OnPointerExit_mC0561024D04FED2D026BEB3EC183550092823AE6 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, PointerEventData_t9670F3C7D823CCB738A1604C72A1EB90292396FB * ___eventData0, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void TMPro.TMP_TextEventHandler::SendOnCharacterSelection(System.Char,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_SendOnCharacterSelection_m5A891393BC3211CFEF2390B5E9899129CBDAC189 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, Il2CppChar ___character0, int32_t ___characterIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_2_Invoke_m0491A8025093B0C329C5ACEBAB83DC6DE3CD0C3F_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// if (onCharacterSelection != null)
CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * L_0;
L_0 = TMP_TextEventHandler_get_onCharacterSelection_mA62049738125E3C48405E6DFF09E2D42300BE8C3_inline(__this, NULL);
if (!L_0)
{
goto IL_0015;
}
}
{
// onCharacterSelection.Invoke(character, characterIndex);
CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * L_1;
L_1 = TMP_TextEventHandler_get_onCharacterSelection_mA62049738125E3C48405E6DFF09E2D42300BE8C3_inline(__this, NULL);
Il2CppChar L_2 = ___character0;
int32_t L_3 = ___characterIndex1;
UnityEvent_2_Invoke_m0491A8025093B0C329C5ACEBAB83DC6DE3CD0C3F(L_1, L_2, L_3, UnityEvent_2_Invoke_m0491A8025093B0C329C5ACEBAB83DC6DE3CD0C3F_RuntimeMethod_var);
}
IL_0015:
{
// }
return;
}
}
// System.Void TMPro.TMP_TextEventHandler::SendOnSpriteSelection(System.Char,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_SendOnSpriteSelection_m8242C5F9626A3C1330927FEACF3ECAD287500475 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, Il2CppChar ___character0, int32_t ___characterIndex1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_2_Invoke_m0491A8025093B0C329C5ACEBAB83DC6DE3CD0C3F_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// if (onSpriteSelection != null)
SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * L_0;
L_0 = TMP_TextEventHandler_get_onSpriteSelection_m95CDEB7394FFF38F310717EEEFDCD481D96A5E82_inline(__this, NULL);
if (!L_0)
{
goto IL_0015;
}
}
{
// onSpriteSelection.Invoke(character, characterIndex);
SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * L_1;
L_1 = TMP_TextEventHandler_get_onSpriteSelection_m95CDEB7394FFF38F310717EEEFDCD481D96A5E82_inline(__this, NULL);
Il2CppChar L_2 = ___character0;
int32_t L_3 = ___characterIndex1;
UnityEvent_2_Invoke_m0491A8025093B0C329C5ACEBAB83DC6DE3CD0C3F(L_1, L_2, L_3, UnityEvent_2_Invoke_m0491A8025093B0C329C5ACEBAB83DC6DE3CD0C3F_RuntimeMethod_var);
}
IL_0015:
{
// }
return;
}
}
// System.Void TMPro.TMP_TextEventHandler::SendOnWordSelection(System.String,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_SendOnWordSelection_mCB9E9ACB06AC524273C163743C9191CAF9C1FD33 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, String_t* ___word0, int32_t ___charIndex1, int32_t ___length2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_3_Invoke_mA9B8756BF3A597179581D20E1EDC4ECAAC73F0F6_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// if (onWordSelection != null)
WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * L_0;
L_0 = TMP_TextEventHandler_get_onWordSelection_mF22771B4213EEB3AEFCDA390A4FF28FED5D9184C_inline(__this, NULL);
if (!L_0)
{
goto IL_0016;
}
}
{
// onWordSelection.Invoke(word, charIndex, length);
WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * L_1;
L_1 = TMP_TextEventHandler_get_onWordSelection_mF22771B4213EEB3AEFCDA390A4FF28FED5D9184C_inline(__this, NULL);
String_t* L_2 = ___word0;
int32_t L_3 = ___charIndex1;
int32_t L_4 = ___length2;
UnityEvent_3_Invoke_mA9B8756BF3A597179581D20E1EDC4ECAAC73F0F6(L_1, L_2, L_3, L_4, UnityEvent_3_Invoke_mA9B8756BF3A597179581D20E1EDC4ECAAC73F0F6_RuntimeMethod_var);
}
IL_0016:
{
// }
return;
}
}
// System.Void TMPro.TMP_TextEventHandler::SendOnLineSelection(System.String,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_SendOnLineSelection_mF0691C407CA44C2E8F2D7CD6C9C2099693CBE7A6 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, String_t* ___line0, int32_t ___charIndex1, int32_t ___length2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_3_Invoke_mA9B8756BF3A597179581D20E1EDC4ECAAC73F0F6_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// if (onLineSelection != null)
LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * L_0;
L_0 = TMP_TextEventHandler_get_onLineSelection_mDDF07E7000993FCD6EAF2FBD2D2226EB66273908_inline(__this, NULL);
if (!L_0)
{
goto IL_0016;
}
}
{
// onLineSelection.Invoke(line, charIndex, length);
LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * L_1;
L_1 = TMP_TextEventHandler_get_onLineSelection_mDDF07E7000993FCD6EAF2FBD2D2226EB66273908_inline(__this, NULL);
String_t* L_2 = ___line0;
int32_t L_3 = ___charIndex1;
int32_t L_4 = ___length2;
UnityEvent_3_Invoke_mA9B8756BF3A597179581D20E1EDC4ECAAC73F0F6(L_1, L_2, L_3, L_4, UnityEvent_3_Invoke_mA9B8756BF3A597179581D20E1EDC4ECAAC73F0F6_RuntimeMethod_var);
}
IL_0016:
{
// }
return;
}
}
// System.Void TMPro.TMP_TextEventHandler::SendOnLinkSelection(System.String,System.String,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler_SendOnLinkSelection_m2809D6FFF57FAE45DC5BB4DD579328535E255A02 (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, String_t* ___linkID0, String_t* ___linkText1, int32_t ___linkIndex2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_3_Invoke_m279F1BE667EB6AACD304BC58E7B39C09CE0E2D69_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// if (onLinkSelection != null)
LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * L_0;
L_0 = TMP_TextEventHandler_get_onLinkSelection_m87FB9EABE7F917B2F910A18A3B5F1AE3020D976D_inline(__this, NULL);
if (!L_0)
{
goto IL_0016;
}
}
{
// onLinkSelection.Invoke(linkID, linkText, linkIndex);
LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * L_1;
L_1 = TMP_TextEventHandler_get_onLinkSelection_m87FB9EABE7F917B2F910A18A3B5F1AE3020D976D_inline(__this, NULL);
String_t* L_2 = ___linkID0;
String_t* L_3 = ___linkText1;
int32_t L_4 = ___linkIndex2;
UnityEvent_3_Invoke_m279F1BE667EB6AACD304BC58E7B39C09CE0E2D69(L_1, L_2, L_3, L_4, UnityEvent_3_Invoke_m279F1BE667EB6AACD304BC58E7B39C09CE0E2D69_RuntimeMethod_var);
}
IL_0016:
{
// }
return;
}
}
// System.Void TMPro.TMP_TextEventHandler::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventHandler__ctor_mADE4C28CAE14991CF0B1CC1A9D0EBAF0CF1107AB (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// private CharacterSelectionEvent m_OnCharacterSelection = new CharacterSelectionEvent();
CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * L_0 = (CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 *)il2cpp_codegen_object_new(CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392_il2cpp_TypeInfo_var);
CharacterSelectionEvent__ctor_m054FE9253D3C4478F57DE900A15AC9A61EC3C11E(L_0, /*hidden argument*/NULL);
__this->___m_OnCharacterSelection_4 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_OnCharacterSelection_4), (void*)L_0);
// private SpriteSelectionEvent m_OnSpriteSelection = new SpriteSelectionEvent();
SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * L_1 = (SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 *)il2cpp_codegen_object_new(SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95_il2cpp_TypeInfo_var);
SpriteSelectionEvent__ctor_m89C1D1F720F140491B28D9B32B0C7202EE8C4963(L_1, /*hidden argument*/NULL);
__this->___m_OnSpriteSelection_5 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_OnSpriteSelection_5), (void*)L_1);
// private WordSelectionEvent m_OnWordSelection = new WordSelectionEvent();
WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * L_2 = (WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E *)il2cpp_codegen_object_new(WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E_il2cpp_TypeInfo_var);
WordSelectionEvent__ctor_m3F52F327A9627042EDB065C1080CEB764F1154F2(L_2, /*hidden argument*/NULL);
__this->___m_OnWordSelection_6 = L_2;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_OnWordSelection_6), (void*)L_2);
// private LineSelectionEvent m_OnLineSelection = new LineSelectionEvent();
LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * L_3 = (LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 *)il2cpp_codegen_object_new(LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880_il2cpp_TypeInfo_var);
LineSelectionEvent__ctor_m419828B3E32BC3F6F5AAC88D7B90CF50A74C80B2(L_3, /*hidden argument*/NULL);
__this->___m_OnLineSelection_7 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_OnLineSelection_7), (void*)L_3);
// private LinkSelectionEvent m_OnLinkSelection = new LinkSelectionEvent();
LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * L_4 = (LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D *)il2cpp_codegen_object_new(LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D_il2cpp_TypeInfo_var);
LinkSelectionEvent__ctor_m4083D6FF46F61AAF956F77FFE849B5166E2579BC(L_4, /*hidden argument*/NULL);
__this->___m_OnLinkSelection_8 = L_4;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_OnLinkSelection_8), (void*)L_4);
// private int m_selectedLink = -1;
__this->___m_selectedLink_12 = (-1);
// private int m_lastCharIndex = -1;
__this->___m_lastCharIndex_13 = (-1);
// private int m_lastWordIndex = -1;
__this->___m_lastWordIndex_14 = (-1);
// private int m_lastLineIndex = -1;
__this->___m_lastLineIndex_15 = (-1);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.TMP_TextEventHandler/CharacterSelectionEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CharacterSelectionEvent__ctor_m054FE9253D3C4478F57DE900A15AC9A61EC3C11E (CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_2__ctor_mC75313448B2ABE238198CDD698EA81B87F379C61_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_2__ctor_mC75313448B2ABE238198CDD698EA81B87F379C61(__this, UnityEvent_2__ctor_mC75313448B2ABE238198CDD698EA81B87F379C61_RuntimeMethod_var);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.TMP_TextEventHandler/SpriteSelectionEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpriteSelectionEvent__ctor_m89C1D1F720F140491B28D9B32B0C7202EE8C4963 (SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_2__ctor_mC75313448B2ABE238198CDD698EA81B87F379C61_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_2__ctor_mC75313448B2ABE238198CDD698EA81B87F379C61(__this, UnityEvent_2__ctor_mC75313448B2ABE238198CDD698EA81B87F379C61_RuntimeMethod_var);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.TMP_TextEventHandler/WordSelectionEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WordSelectionEvent__ctor_m3F52F327A9627042EDB065C1080CEB764F1154F2 (WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_3__ctor_m945E5A788027E4B7491C93E2ACBD523B5A8E1829_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_3__ctor_m945E5A788027E4B7491C93E2ACBD523B5A8E1829(__this, UnityEvent_3__ctor_m945E5A788027E4B7491C93E2ACBD523B5A8E1829_RuntimeMethod_var);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.TMP_TextEventHandler/LineSelectionEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LineSelectionEvent__ctor_m419828B3E32BC3F6F5AAC88D7B90CF50A74C80B2 (LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_3__ctor_m945E5A788027E4B7491C93E2ACBD523B5A8E1829_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_3__ctor_m945E5A788027E4B7491C93E2ACBD523B5A8E1829(__this, UnityEvent_3__ctor_m945E5A788027E4B7491C93E2ACBD523B5A8E1829_RuntimeMethod_var);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.TMP_TextEventHandler/LinkSelectionEvent::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LinkSelectionEvent__ctor_m4083D6FF46F61AAF956F77FFE849B5166E2579BC (LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_3__ctor_mFE0002F38DAAC29805C09ACB9F397DE80F6CB7BC_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
UnityEvent_3__ctor_mFE0002F38DAAC29805C09ACB9F397DE80F6CB7BC(__this, UnityEvent_3__ctor_mFE0002F38DAAC29805C09ACB9F397DE80F6CB7BC_RuntimeMethod_var);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.IEnumerator TMPro.Examples.Benchmark01::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Benchmark01_Start_m6CF91B0D99B3AC9317731D0C08B2EDA6AA56B9E9 (Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819 * L_0 = (U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819 *)il2cpp_codegen_object_new(U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819_il2cpp_TypeInfo_var);
U3CStartU3Ed__10__ctor_m242187966C9D563957FB0F76C467B25C25D91D69(L_0, 0, /*hidden argument*/NULL);
U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819 * L_1 = L_0;
L_1->___U3CU3E4__this_2 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
return L_1;
}
}
// System.Void TMPro.Examples.Benchmark01::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Benchmark01__ctor_m9E12F5F809E8FF4A6EEFCDB016C1F884716347C4 (Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.Benchmark01/<Start>d__10::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__10__ctor_m242187966C9D563957FB0F76C467B25C25D91D69 (U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.Benchmark01/<Start>d__10::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__10_System_IDisposable_Dispose_m7AD303D116E090426086312CD69BFA256CD28B0D (U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.Benchmark01/<Start>d__10::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CStartU3Ed__10_MoveNext_m5F93878ED8166F8F4507EE8353856FAEABBBF1C9 (U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Font_tC95270EA3198038970422D78B74A7F2E218A96B6_0_0_0_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Font_tC95270EA3198038970422D78B74A7F2E218A96B6_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral55F097B2603C69F9353B2AE824F1FE43E6B46F87);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9D329ACFC4F7EECCB821A7FEF99A0F23E1C721B7);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC307A6AA53A901DED3039EE47F98C72B9160E490);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF359E6DDFFFF3D8B034D057E57DBD8ABA4ED7FFC);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * V_1 = NULL;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * V_2 = NULL;
int32_t V_3 = 0;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * G_B16_0 = NULL;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * G_B15_0 = NULL;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * G_B17_0 = NULL;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * G_B17_1 = NULL;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0022;
}
case 1:
{
goto IL_0269;
}
case 2:
{
goto IL_02a0;
}
}
}
{
return (bool)0;
}
IL_0022:
{
__this->___U3CU3E1__state_0 = (-1);
// if (BenchmarkType == 0) // TextMesh Pro Component
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_3 = V_1;
int32_t L_4 = L_3->___BenchmarkType_4;
if (L_4)
{
goto IL_00d3;
}
}
{
// m_textMeshPro = gameObject.AddComponent<TextMeshPro>();
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_5 = V_1;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_6 = V_1;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_7;
L_7 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_6, NULL);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_8;
L_8 = GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C(L_7, GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
L_5->___m_textMeshPro_7 = L_8;
Il2CppCodeGenWriteBarrier((void**)(&L_5->___m_textMeshPro_7), (void*)L_8);
// m_textMeshPro.autoSizeTextContainer = true;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_9 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_10 = L_9->___m_textMeshPro_7;
VirtualActionInvoker1< bool >::Invoke(76 /* System.Void TMPro.TMP_Text::set_autoSizeTextContainer(System.Boolean) */, L_10, (bool)1);
// if (TMProFont != null)
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_11 = V_1;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * L_12 = L_11->___TMProFont_5;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_13;
L_13 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_12, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C *)NULL, NULL);
if (!L_13)
{
goto IL_0070;
}
}
{
// m_textMeshPro.font = TMProFont;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_14 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_15 = L_14->___m_textMeshPro_7;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_16 = V_1;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * L_17 = L_16->___TMProFont_5;
TMP_Text_set_font_mC55E4A8C1C09595031384B35F2C2FB2FC3479E83(L_15, L_17, NULL);
}
IL_0070:
{
// m_textMeshPro.fontSize = 48;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_18 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_19 = L_18->___m_textMeshPro_7;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_19, (48.0f), NULL);
// m_textMeshPro.alignment = TextAlignmentOptions.Center;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_20 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_21 = L_20->___m_textMeshPro_7;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_21, ((int32_t)514), NULL);
// m_textMeshPro.extraPadding = true;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_22 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_23 = L_22->___m_textMeshPro_7;
TMP_Text_set_extraPadding_m26595B78EDE43EFBCCBF7D5E23932ADCB983EF32(L_23, (bool)1, NULL);
// m_textMeshPro.enableWordWrapping = false;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_24 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_25 = L_24->___m_textMeshPro_7;
TMP_Text_set_enableWordWrapping_mFAEE849315B4723F9C86C127B1A59EF50BE1C12F(L_25, (bool)0, NULL);
// m_material01 = m_textMeshPro.font.material;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_26 = V_1;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_27 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_28 = L_27->___m_textMeshPro_7;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * L_29;
L_29 = TMP_Text_get_font_m1F5E907B9181A54212FBD8123242583C1CA4BE2A_inline(L_28, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_30 = ((TMP_Asset_t135A047D4F5CBBA9CD356B762B55AB164122B969 *)L_29)->___material_6;
L_26->___m_material01_12 = L_30;
Il2CppCodeGenWriteBarrier((void**)(&L_26->___m_material01_12), (void*)L_30);
// m_material02 = Resources.Load<Material>("Fonts & Materials/LiberationSans SDF - Drop Shadow"); // Make sure the LiberationSans SDF exists before calling this...
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_31 = V_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_32;
L_32 = Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128(_stringLiteralF359E6DDFFFF3D8B034D057E57DBD8ABA4ED7FFC, Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var);
L_31->___m_material02_13 = L_32;
Il2CppCodeGenWriteBarrier((void**)(&L_31->___m_material02_13), (void*)L_32);
goto IL_018e;
}
IL_00d3:
{
// else if (BenchmarkType == 1) // TextMesh
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_33 = V_1;
int32_t L_34 = L_33->___BenchmarkType_4;
if ((!(((uint32_t)L_34) == ((uint32_t)1))))
{
goto IL_018e;
}
}
{
// m_textMesh = gameObject.AddComponent<TextMesh>();
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_35 = V_1;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_36 = V_1;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_37;
L_37 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_36, NULL);
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_38;
L_38 = GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2(L_37, GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2_RuntimeMethod_var);
L_35->___m_textMesh_9 = L_38;
Il2CppCodeGenWriteBarrier((void**)(&L_35->___m_textMesh_9), (void*)L_38);
// if (TextMeshFont != null)
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_39 = V_1;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_40 = L_39->___TextMeshFont_6;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_41;
L_41 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_40, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C *)NULL, NULL);
if (!L_41)
{
goto IL_0131;
}
}
{
// m_textMesh.font = TextMeshFont;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_42 = V_1;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_43 = L_42->___m_textMesh_9;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_44 = V_1;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_45 = L_44->___TextMeshFont_6;
TextMesh_set_font_m7E407CAEDBB382B95B70069D8FAB8A9E74EAAA74(L_43, L_45, NULL);
// m_textMesh.GetComponent<Renderer>().sharedMaterial = m_textMesh.font.material;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_46 = V_1;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_47 = L_46->___m_textMesh_9;
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * L_48;
L_48 = Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8(L_47, Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_49 = V_1;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_50 = L_49->___m_textMesh_9;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_51;
L_51 = TextMesh_get_font_m94D3A4C8E4DB171B74E4FF00AC7EC27F3D495664(L_50, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_52;
L_52 = Font_get_material_m61ABDEC14C6D659DDC5A4F080023699116C17364(L_51, NULL);
Renderer_set_sharedMaterial_m5E842F9A06CFB7B77656EB319881CB4B3E8E4288(L_48, L_52, NULL);
goto IL_0175;
}
IL_0131:
{
// m_textMesh.font = Resources.Load("Fonts/ARIAL", typeof(Font)) as Font;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_53 = V_1;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_54 = L_53->___m_textMesh_9;
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B L_55 = { reinterpret_cast<intptr_t> (Font_tC95270EA3198038970422D78B74A7F2E218A96B6_0_0_0_var) };
il2cpp_codegen_runtime_class_init_inline(Type_t_il2cpp_TypeInfo_var);
Type_t * L_56;
L_56 = Type_GetTypeFromHandle_m2570A2A5B32A5E9D9F0F38B37459DA18736C823E(L_55, NULL);
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * L_57;
L_57 = Resources_Load_mDCC8EBD3196F1CE1B86E74416AD90CF86320C401(_stringLiteral9D329ACFC4F7EECCB821A7FEF99A0F23E1C721B7, L_56, NULL);
TextMesh_set_font_m7E407CAEDBB382B95B70069D8FAB8A9E74EAAA74(L_54, ((Font_tC95270EA3198038970422D78B74A7F2E218A96B6 *)IsInstSealed((RuntimeObject*)L_57, Font_tC95270EA3198038970422D78B74A7F2E218A96B6_il2cpp_TypeInfo_var)), NULL);
// m_textMesh.GetComponent<Renderer>().sharedMaterial = m_textMesh.font.material;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_58 = V_1;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_59 = L_58->___m_textMesh_9;
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * L_60;
L_60 = Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8(L_59, Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_61 = V_1;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_62 = L_61->___m_textMesh_9;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_63;
L_63 = TextMesh_get_font_m94D3A4C8E4DB171B74E4FF00AC7EC27F3D495664(L_62, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_64;
L_64 = Font_get_material_m61ABDEC14C6D659DDC5A4F080023699116C17364(L_63, NULL);
Renderer_set_sharedMaterial_m5E842F9A06CFB7B77656EB319881CB4B3E8E4288(L_60, L_64, NULL);
}
IL_0175:
{
// m_textMesh.fontSize = 48;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_65 = V_1;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_66 = L_65->___m_textMesh_9;
TextMesh_set_fontSize_mAB9F7FFC0E4DB759B786F6A9357B18C86015498B(L_66, ((int32_t)48), NULL);
// m_textMesh.anchor = TextAnchor.MiddleCenter;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_67 = V_1;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_68 = L_67->___m_textMesh_9;
TextMesh_set_anchor_m3FCB7C4B1FF66CE189B56076C0306AFE984FCD32(L_68, 4, NULL);
}
IL_018e:
{
// for (int i = 0; i <= 1000000; i++)
__this->___U3CiU3E5__2_3 = 0;
goto IL_0280;
}
IL_019a:
{
// if (BenchmarkType == 0)
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_69 = V_1;
int32_t L_70 = L_69->___BenchmarkType_4;
if (L_70)
{
goto IL_0227;
}
}
{
// m_textMeshPro.SetText(label01, i % 1000);
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_71 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_72 = L_71->___m_textMeshPro_7;
int32_t L_73 = __this->___U3CiU3E5__2_3;
TMP_Text_SetText_mC6973FFC60DB6A96B0C4253CD2FD9D0789ECC533(L_72, _stringLiteralC307A6AA53A901DED3039EE47F98C72B9160E490, ((float)((float)((int32_t)((int32_t)L_73%(int32_t)((int32_t)1000))))), NULL);
// if (i % 1000 == 999)
int32_t L_74 = __this->___U3CiU3E5__2_3;
if ((!(((uint32_t)((int32_t)((int32_t)L_74%(int32_t)((int32_t)1000)))) == ((uint32_t)((int32_t)999)))))
{
goto IL_0259;
}
}
{
// m_textMeshPro.fontSharedMaterial = m_textMeshPro.fontSharedMaterial == m_material01 ? m_textMeshPro.fontSharedMaterial = m_material02 : m_textMeshPro.fontSharedMaterial = m_material01;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_75 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_76 = L_75->___m_textMeshPro_7;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_77 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_78 = L_77->___m_textMeshPro_7;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_79;
L_79 = VirtualFuncInvoker0< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(67 /* UnityEngine.Material TMPro.TMP_Text::get_fontSharedMaterial() */, L_78);
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_80 = V_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_81 = L_80->___m_material01_12;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_82;
L_82 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_79, L_81, NULL);
G_B15_0 = L_76;
if (L_82)
{
G_B16_0 = L_76;
goto IL_020c;
}
}
{
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_83 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_84 = L_83->___m_textMeshPro_7;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_85 = V_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_86 = L_85->___m_material01_12;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_87 = L_86;
V_2 = L_87;
VirtualActionInvoker1< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(68 /* System.Void TMPro.TMP_Text::set_fontSharedMaterial(UnityEngine.Material) */, L_84, L_87);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_88 = V_2;
G_B17_0 = L_88;
G_B17_1 = G_B15_0;
goto IL_0220;
}
IL_020c:
{
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_89 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_90 = L_89->___m_textMeshPro_7;
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_91 = V_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_92 = L_91->___m_material02_13;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_93 = L_92;
V_2 = L_93;
VirtualActionInvoker1< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(68 /* System.Void TMPro.TMP_Text::set_fontSharedMaterial(UnityEngine.Material) */, L_90, L_93);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_94 = V_2;
G_B17_0 = L_94;
G_B17_1 = G_B16_0;
}
IL_0220:
{
VirtualActionInvoker1< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(68 /* System.Void TMPro.TMP_Text::set_fontSharedMaterial(UnityEngine.Material) */, G_B17_1, G_B17_0);
goto IL_0259;
}
IL_0227:
{
// else if (BenchmarkType == 1)
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_95 = V_1;
int32_t L_96 = L_95->___BenchmarkType_4;
if ((!(((uint32_t)L_96) == ((uint32_t)1))))
{
goto IL_0259;
}
}
{
// m_textMesh.text = label02 + (i % 1000).ToString();
Benchmark01_t5B476C61575B5B6B64FA318EE0B32114E702DD5D * L_97 = V_1;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_98 = L_97->___m_textMesh_9;
int32_t L_99 = __this->___U3CiU3E5__2_3;
V_3 = ((int32_t)((int32_t)L_99%(int32_t)((int32_t)1000)));
String_t* L_100;
L_100 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_3), NULL);
String_t* L_101;
L_101 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(_stringLiteral55F097B2603C69F9353B2AE824F1FE43E6B46F87, L_100, NULL);
TextMesh_set_text_mDF79D39638ED82797D0B0B3BB9E6B10712F8EA9E(L_98, L_101, NULL);
}
IL_0259:
{
// yield return null;
__this->___U3CU3E2__current_1 = NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_0269:
{
__this->___U3CU3E1__state_0 = (-1);
// for (int i = 0; i <= 1000000; i++)
int32_t L_102 = __this->___U3CiU3E5__2_3;
V_3 = L_102;
int32_t L_103 = V_3;
__this->___U3CiU3E5__2_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_103, (int32_t)1));
}
IL_0280:
{
// for (int i = 0; i <= 1000000; i++)
int32_t L_104 = __this->___U3CiU3E5__2_3;
if ((((int32_t)L_104) <= ((int32_t)((int32_t)1000000))))
{
goto IL_019a;
}
}
{
// yield return null;
__this->___U3CU3E2__current_1 = NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_02a0:
{
__this->___U3CU3E1__state_0 = (-1);
// }
return (bool)0;
}
}
// System.Object TMPro.Examples.Benchmark01/<Start>d__10::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CStartU3Ed__10_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m8F5CE0A24226CB5F890D4C2A9FAD81A2696CE6F6 (U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.Benchmark01/<Start>d__10::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__10_System_Collections_IEnumerator_Reset_m553F892690ED74A33F57B1359743D31F8BB93C2A (U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819 * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CStartU3Ed__10_System_Collections_IEnumerator_Reset_m553F892690ED74A33F57B1359743D31F8BB93C2A_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.Benchmark01/<Start>d__10::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CStartU3Ed__10_System_Collections_IEnumerator_get_Current_m50D65AEFE4D08E48AC72E017E00CD43273E1BDBD (U3CStartU3Ed__10_tB81FF4C98E539AF1EEA095D6A6C11409A26E7819 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Collections.IEnumerator TMPro.Examples.Benchmark01_UGUI::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Benchmark01_UGUI_Start_m565A619941AAFFC17BB16A4A73DF63F7E54E3AFA (Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00 * L_0 = (U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00 *)il2cpp_codegen_object_new(U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00_il2cpp_TypeInfo_var);
U3CStartU3Ed__10__ctor_m515F107569D5BDE7C81F5DFDAB4A298A5399EB5A(L_0, 0, /*hidden argument*/NULL);
U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00 * L_1 = L_0;
L_1->___U3CU3E4__this_2 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
return L_1;
}
}
// System.Void TMPro.Examples.Benchmark01_UGUI::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Benchmark01_UGUI__ctor_m9DCE74210552C6961BF7460C1F812E484771F8EB (Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.Benchmark01_UGUI/<Start>d__10::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__10__ctor_m515F107569D5BDE7C81F5DFDAB4A298A5399EB5A (U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.Benchmark01_UGUI/<Start>d__10::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__10_System_IDisposable_Dispose_mFFD5DC6FCF8EC489FF249BE7F91D4336F2AD76AC (U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.Benchmark01_UGUI/<Start>d__10::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CStartU3Ed__10_MoveNext_mDCA96D0D1226C44C15F1FD85518F0711E6B395D9 (U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisText_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62_mFECE312B08FC5FD0A081E51ACA01FAEFD6B841A9_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral000A577FA6F1044FCB37680E918D59D0DA3E7DDA);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral55F097B2603C69F9353B2AE824F1FE43E6B46F87);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral75A94EE44309525CF46FB9C022ED6E9EFAC8B506);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * V_1 = NULL;
int32_t V_2 = 0;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * V_3 = NULL;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * G_B15_0 = NULL;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * G_B14_0 = NULL;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * G_B16_0 = NULL;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * G_B16_1 = NULL;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0022;
}
case 1:
{
goto IL_01f1;
}
case 2:
{
goto IL_0228;
}
}
}
{
return (bool)0;
}
IL_0022:
{
__this->___U3CU3E1__state_0 = (-1);
// if (BenchmarkType == 0) // TextMesh Pro Component
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_3 = V_1;
int32_t L_4 = L_3->___BenchmarkType_4;
if (L_4)
{
goto IL_00b8;
}
}
{
// m_textMeshPro = gameObject.AddComponent<TextMeshProUGUI>();
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_5 = V_1;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_6 = V_1;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_7;
L_7 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_6, NULL);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_8;
L_8 = GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB(L_7, GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB_RuntimeMethod_var);
L_5->___m_textMeshPro_8 = L_8;
Il2CppCodeGenWriteBarrier((void**)(&L_5->___m_textMeshPro_8), (void*)L_8);
// if (TMProFont != null)
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_9 = V_1;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * L_10 = L_9->___TMProFont_6;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_11;
L_11 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_10, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C *)NULL, NULL);
if (!L_11)
{
goto IL_0064;
}
}
{
// m_textMeshPro.font = TMProFont;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_12 = V_1;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_13 = L_12->___m_textMeshPro_8;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_14 = V_1;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * L_15 = L_14->___TMProFont_6;
TMP_Text_set_font_mC55E4A8C1C09595031384B35F2C2FB2FC3479E83(L_13, L_15, NULL);
}
IL_0064:
{
// m_textMeshPro.fontSize = 48;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_16 = V_1;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_17 = L_16->___m_textMeshPro_8;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_17, (48.0f), NULL);
// m_textMeshPro.alignment = TextAlignmentOptions.Center;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_18 = V_1;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_19 = L_18->___m_textMeshPro_8;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_19, ((int32_t)514), NULL);
// m_textMeshPro.extraPadding = true;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_20 = V_1;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_21 = L_20->___m_textMeshPro_8;
TMP_Text_set_extraPadding_m26595B78EDE43EFBCCBF7D5E23932ADCB983EF32(L_21, (bool)1, NULL);
// m_material01 = m_textMeshPro.font.material;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_22 = V_1;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_23 = V_1;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_24 = L_23->___m_textMeshPro_8;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * L_25;
L_25 = TMP_Text_get_font_m1F5E907B9181A54212FBD8123242583C1CA4BE2A_inline(L_24, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_26 = ((TMP_Asset_t135A047D4F5CBBA9CD356B762B55AB164122B969 *)L_25)->___material_6;
L_22->___m_material01_12 = L_26;
Il2CppCodeGenWriteBarrier((void**)(&L_22->___m_material01_12), (void*)L_26);
// m_material02 = Resources.Load<Material>("Fonts & Materials/LiberationSans SDF - BEVEL"); // Make sure the LiberationSans SDF exists before calling this...
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_27 = V_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_28;
L_28 = Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128(_stringLiteral000A577FA6F1044FCB37680E918D59D0DA3E7DDA, Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var);
L_27->___m_material02_13 = L_28;
Il2CppCodeGenWriteBarrier((void**)(&L_27->___m_material02_13), (void*)L_28);
goto IL_010a;
}
IL_00b8:
{
// else if (BenchmarkType == 1) // TextMesh
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_29 = V_1;
int32_t L_30 = L_29->___BenchmarkType_4;
if ((!(((uint32_t)L_30) == ((uint32_t)1))))
{
goto IL_010a;
}
}
{
// m_textMesh = gameObject.AddComponent<Text>();
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_31 = V_1;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_32 = V_1;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_33;
L_33 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_32, NULL);
Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62 * L_34;
L_34 = GameObject_AddComponent_TisText_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62_mFECE312B08FC5FD0A081E51ACA01FAEFD6B841A9(L_33, GameObject_AddComponent_TisText_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62_mFECE312B08FC5FD0A081E51ACA01FAEFD6B841A9_RuntimeMethod_var);
L_31->___m_textMesh_9 = L_34;
Il2CppCodeGenWriteBarrier((void**)(&L_31->___m_textMesh_9), (void*)L_34);
// if (TextMeshFont != null)
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_35 = V_1;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_36 = L_35->___TextMeshFont_7;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_37;
L_37 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_36, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C *)NULL, NULL);
if (!L_37)
{
goto IL_00f1;
}
}
{
// m_textMesh.font = TextMeshFont;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_38 = V_1;
Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62 * L_39 = L_38->___m_textMesh_9;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_40 = V_1;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_41 = L_40->___TextMeshFont_7;
Text_set_font_mA0D2999281A72029A5BC7294A886C5674F07DC5F(L_39, L_41, NULL);
}
IL_00f1:
{
// m_textMesh.fontSize = 48;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_42 = V_1;
Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62 * L_43 = L_42->___m_textMesh_9;
Text_set_fontSize_m426338B0A2CDA58609028FFD471EF5F2C9F364D4(L_43, ((int32_t)48), NULL);
// m_textMesh.alignment = TextAnchor.MiddleCenter;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_44 = V_1;
Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62 * L_45 = L_44->___m_textMesh_9;
Text_set_alignment_m9FAD6C1C270FA28C610AB1E07414FBF96403157A(L_45, 4, NULL);
}
IL_010a:
{
// for (int i = 0; i <= 1000000; i++)
__this->___U3CiU3E5__2_3 = 0;
goto IL_0208;
}
IL_0116:
{
// if (BenchmarkType == 0)
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_46 = V_1;
int32_t L_47 = L_46->___BenchmarkType_4;
if (L_47)
{
goto IL_01af;
}
}
{
// m_textMeshPro.text = label01 + (i % 1000);
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_48 = V_1;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_49 = L_48->___m_textMeshPro_8;
int32_t L_50 = __this->___U3CiU3E5__2_3;
V_2 = ((int32_t)((int32_t)L_50%(int32_t)((int32_t)1000)));
String_t* L_51;
L_51 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_2), NULL);
String_t* L_52;
L_52 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(_stringLiteral75A94EE44309525CF46FB9C022ED6E9EFAC8B506, L_51, NULL);
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_49, L_52);
// if (i % 1000 == 999)
int32_t L_53 = __this->___U3CiU3E5__2_3;
if ((!(((uint32_t)((int32_t)((int32_t)L_53%(int32_t)((int32_t)1000)))) == ((uint32_t)((int32_t)999)))))
{
goto IL_01e1;
}
}
{
// m_textMeshPro.fontSharedMaterial = m_textMeshPro.fontSharedMaterial == m_material01 ? m_textMeshPro.fontSharedMaterial = m_material02 : m_textMeshPro.fontSharedMaterial = m_material01;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_54 = V_1;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_55 = L_54->___m_textMeshPro_8;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_56 = V_1;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_57 = L_56->___m_textMeshPro_8;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_58;
L_58 = VirtualFuncInvoker0< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(67 /* UnityEngine.Material TMPro.TMP_Text::get_fontSharedMaterial() */, L_57);
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_59 = V_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_60 = L_59->___m_material01_12;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_61;
L_61 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_58, L_60, NULL);
G_B14_0 = L_55;
if (L_61)
{
G_B15_0 = L_55;
goto IL_0194;
}
}
{
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_62 = V_1;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_63 = L_62->___m_textMeshPro_8;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_64 = V_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_65 = L_64->___m_material01_12;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_66 = L_65;
V_3 = L_66;
VirtualActionInvoker1< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(68 /* System.Void TMPro.TMP_Text::set_fontSharedMaterial(UnityEngine.Material) */, L_63, L_66);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_67 = V_3;
G_B16_0 = L_67;
G_B16_1 = G_B14_0;
goto IL_01a8;
}
IL_0194:
{
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_68 = V_1;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_69 = L_68->___m_textMeshPro_8;
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_70 = V_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_71 = L_70->___m_material02_13;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_72 = L_71;
V_3 = L_72;
VirtualActionInvoker1< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(68 /* System.Void TMPro.TMP_Text::set_fontSharedMaterial(UnityEngine.Material) */, L_69, L_72);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_73 = V_3;
G_B16_0 = L_73;
G_B16_1 = G_B15_0;
}
IL_01a8:
{
VirtualActionInvoker1< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(68 /* System.Void TMPro.TMP_Text::set_fontSharedMaterial(UnityEngine.Material) */, G_B16_1, G_B16_0);
goto IL_01e1;
}
IL_01af:
{
// else if (BenchmarkType == 1)
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_74 = V_1;
int32_t L_75 = L_74->___BenchmarkType_4;
if ((!(((uint32_t)L_75) == ((uint32_t)1))))
{
goto IL_01e1;
}
}
{
// m_textMesh.text = label02 + (i % 1000).ToString();
Benchmark01_UGUI_t7DF9DF96E75AF6072B851B638B90BD76FEE0EFD7 * L_76 = V_1;
Text_tD60B2346DAA6666BF0D822FF607F0B220C2B9E62 * L_77 = L_76->___m_textMesh_9;
int32_t L_78 = __this->___U3CiU3E5__2_3;
V_2 = ((int32_t)((int32_t)L_78%(int32_t)((int32_t)1000)));
String_t* L_79;
L_79 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_2), NULL);
String_t* L_80;
L_80 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(_stringLiteral55F097B2603C69F9353B2AE824F1FE43E6B46F87, L_79, NULL);
VirtualActionInvoker1< String_t* >::Invoke(75 /* System.Void UnityEngine.UI.Text::set_text(System.String) */, L_77, L_80);
}
IL_01e1:
{
// yield return null;
__this->___U3CU3E2__current_1 = NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_01f1:
{
__this->___U3CU3E1__state_0 = (-1);
// for (int i = 0; i <= 1000000; i++)
int32_t L_81 = __this->___U3CiU3E5__2_3;
V_2 = L_81;
int32_t L_82 = V_2;
__this->___U3CiU3E5__2_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_82, (int32_t)1));
}
IL_0208:
{
// for (int i = 0; i <= 1000000; i++)
int32_t L_83 = __this->___U3CiU3E5__2_3;
if ((((int32_t)L_83) <= ((int32_t)((int32_t)1000000))))
{
goto IL_0116;
}
}
{
// yield return null;
__this->___U3CU3E2__current_1 = NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_0228:
{
__this->___U3CU3E1__state_0 = (-1);
// }
return (bool)0;
}
}
// System.Object TMPro.Examples.Benchmark01_UGUI/<Start>d__10::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CStartU3Ed__10_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m109B5747CD8D1CF40DAC526C54BFB07223E1FB46 (U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.Benchmark01_UGUI/<Start>d__10::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__10_System_Collections_IEnumerator_Reset_mC9F90586F057E3728D9F93BB0E12197C9B994EEA (U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00 * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CStartU3Ed__10_System_Collections_IEnumerator_Reset_mC9F90586F057E3728D9F93BB0E12197C9B994EEA_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.Benchmark01_UGUI/<Start>d__10::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CStartU3Ed__10_System_Collections_IEnumerator_get_Current_mA4DCEFD742C012A03C20EF42A873B5BFF07AF87A (U3CStartU3Ed__10_t06713955D554742C727996BE112A81AD0BCF3D00 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.Benchmark02::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Benchmark02_Start_mB56F21A9861A3DAF9F4E7F1DD4A023E05B379E29 (Benchmark02_t4F19F4C449CC8F7FAAED31A6C1D03F4192B3C7E8 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m13C85FD585C0679530F8B35D0B39D965702FD0F5_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisFont_tC95270EA3198038970422D78B74A7F2E218A96B6_mF1595237572FCE3E2EE060D2038BE3F341DB7901_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral15196F05B117690F3E12E56AA0C43803EA0D2A46);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9D329ACFC4F7EECCB821A7FEF99A0F23E1C721B7);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_1 = NULL;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_2 = NULL;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * V_3 = NULL;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_4 = NULL;
{
// for (int i = 0; i < NumberOfNPC; i++)
V_0 = 0;
goto IL_0291;
}
IL_0007:
{
// if (SpawnType == 0)
int32_t L_0 = __this->___SpawnType_4;
if (L_0)
{
goto IL_00d6;
}
}
{
// GameObject go = new GameObject();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_1 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m7D0340DE160786E6EFA8DABD39EC3B694DA30AAD(L_1, /*hidden argument*/NULL);
V_1 = L_1;
// go.transform.position = new Vector3(Random.Range(-95f, 95f), 0.25f, Random.Range(-95f, 95f));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_2 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_3;
L_3 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_2, NULL);
float L_4;
L_4 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-95.0f), (95.0f), NULL);
float L_5;
L_5 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-95.0f), (95.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
memset((&L_6), 0, sizeof(L_6));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_6), L_4, (0.25f), L_5, /*hidden argument*/NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_3, L_6, NULL);
// TextMeshPro textMeshPro = go.AddComponent<TextMeshPro>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_7 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_8;
L_8 = GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C(L_7, GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
// textMeshPro.autoSizeTextContainer = true;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_9 = L_8;
VirtualActionInvoker1< bool >::Invoke(76 /* System.Void TMPro.TMP_Text::set_autoSizeTextContainer(System.Boolean) */, L_9, (bool)1);
// textMeshPro.rectTransform.pivot = new Vector2(0.5f, 0);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_10 = L_9;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_11;
L_11 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_10, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12;
memset((&L_12), 0, sizeof(L_12));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_12), (0.5f), (0.0f), /*hidden argument*/NULL);
RectTransform_set_pivot_m79D0177D383D432A93C2615F1932B739B1C6E146(L_11, L_12, NULL);
// textMeshPro.alignment = TextAlignmentOptions.Bottom;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_13 = L_10;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_13, ((int32_t)1026), NULL);
// textMeshPro.fontSize = 96;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_14 = L_13;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_14, (96.0f), NULL);
// textMeshPro.enableKerning = false;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_15 = L_14;
TMP_Text_set_enableKerning_m681685E06B8789F5F2B7043EBEA561AAE48E82BD(L_15, (bool)0, NULL);
// textMeshPro.color = new Color32(255, 255, 0, 255);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_16 = L_15;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_17;
memset((&L_17), 0, sizeof(L_17));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_17), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)0, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_18;
L_18 = Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline(L_17, NULL);
VirtualActionInvoker1< Color_tD001788D726C3A7F1379BEED0260B9591F440C1F >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, L_16, L_18);
// textMeshPro.text = "!";
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_16, _stringLiteral15196F05B117690F3E12E56AA0C43803EA0D2A46);
// floatingText_Script = go.AddComponent<TextMeshProFloatingText>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_19 = V_1;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_20;
L_20 = GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1(L_19, GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1_RuntimeMethod_var);
__this->___floatingText_Script_6 = L_20;
Il2CppCodeGenWriteBarrier((void**)(&__this->___floatingText_Script_6), (void*)L_20);
// floatingText_Script.SpawnType = 0;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_21 = __this->___floatingText_Script_6;
L_21->___SpawnType_13 = 0;
goto IL_028d;
}
IL_00d6:
{
// else if (SpawnType == 1)
int32_t L_22 = __this->___SpawnType_4;
if ((!(((uint32_t)L_22) == ((uint32_t)1))))
{
goto IL_019f;
}
}
{
// GameObject go = new GameObject();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_23 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m7D0340DE160786E6EFA8DABD39EC3B694DA30AAD(L_23, /*hidden argument*/NULL);
V_2 = L_23;
// go.transform.position = new Vector3(Random.Range(-95f, 95f), 0.25f, Random.Range(-95f, 95f));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_24 = V_2;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_25;
L_25 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_24, NULL);
float L_26;
L_26 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-95.0f), (95.0f), NULL);
float L_27;
L_27 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-95.0f), (95.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
memset((&L_28), 0, sizeof(L_28));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_28), L_26, (0.25f), L_27, /*hidden argument*/NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_25, L_28, NULL);
// TextMesh textMesh = go.AddComponent<TextMesh>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_29 = V_2;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_30;
L_30 = GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2(L_29, GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2_RuntimeMethod_var);
V_3 = L_30;
// textMesh.font = Resources.Load<Font>("Fonts/ARIAL");
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_31 = V_3;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_32;
L_32 = Resources_Load_TisFont_tC95270EA3198038970422D78B74A7F2E218A96B6_mF1595237572FCE3E2EE060D2038BE3F341DB7901(_stringLiteral9D329ACFC4F7EECCB821A7FEF99A0F23E1C721B7, Resources_Load_TisFont_tC95270EA3198038970422D78B74A7F2E218A96B6_mF1595237572FCE3E2EE060D2038BE3F341DB7901_RuntimeMethod_var);
TextMesh_set_font_m7E407CAEDBB382B95B70069D8FAB8A9E74EAAA74(L_31, L_32, NULL);
// textMesh.GetComponent<Renderer>().sharedMaterial = textMesh.font.material;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_33 = V_3;
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * L_34;
L_34 = Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8(L_33, Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_35 = V_3;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_36;
L_36 = TextMesh_get_font_m94D3A4C8E4DB171B74E4FF00AC7EC27F3D495664(L_35, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_37;
L_37 = Font_get_material_m61ABDEC14C6D659DDC5A4F080023699116C17364(L_36, NULL);
Renderer_set_sharedMaterial_m5E842F9A06CFB7B77656EB319881CB4B3E8E4288(L_34, L_37, NULL);
// textMesh.anchor = TextAnchor.LowerCenter;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_38 = V_3;
TextMesh_set_anchor_m3FCB7C4B1FF66CE189B56076C0306AFE984FCD32(L_38, 7, NULL);
// textMesh.fontSize = 96;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_39 = V_3;
TextMesh_set_fontSize_mAB9F7FFC0E4DB759B786F6A9357B18C86015498B(L_39, ((int32_t)96), NULL);
// textMesh.color = new Color32(255, 255, 0, 255);
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_40 = V_3;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_41;
memset((&L_41), 0, sizeof(L_41));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_41), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)0, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_42;
L_42 = Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline(L_41, NULL);
TextMesh_set_color_mF08F30C3CD797C16289225B567724B9F07DC641E(L_40, L_42, NULL);
// textMesh.text = "!";
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_43 = V_3;
TextMesh_set_text_mDF79D39638ED82797D0B0B3BB9E6B10712F8EA9E(L_43, _stringLiteral15196F05B117690F3E12E56AA0C43803EA0D2A46, NULL);
// floatingText_Script = go.AddComponent<TextMeshProFloatingText>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_44 = V_2;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_45;
L_45 = GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1(L_44, GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1_RuntimeMethod_var);
__this->___floatingText_Script_6 = L_45;
Il2CppCodeGenWriteBarrier((void**)(&__this->___floatingText_Script_6), (void*)L_45);
// floatingText_Script.SpawnType = 1;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_46 = __this->___floatingText_Script_6;
L_46->___SpawnType_13 = 1;
goto IL_028d;
}
IL_019f:
{
// else if (SpawnType == 2)
int32_t L_47 = __this->___SpawnType_4;
if ((!(((uint32_t)L_47) == ((uint32_t)2))))
{
goto IL_028d;
}
}
{
// GameObject go = new GameObject();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_48 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m7D0340DE160786E6EFA8DABD39EC3B694DA30AAD(L_48, /*hidden argument*/NULL);
V_4 = L_48;
// Canvas canvas = go.AddComponent<Canvas>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_49 = V_4;
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * L_50;
L_50 = GameObject_AddComponent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m13C85FD585C0679530F8B35D0B39D965702FD0F5(L_49, GameObject_AddComponent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m13C85FD585C0679530F8B35D0B39D965702FD0F5_RuntimeMethod_var);
// canvas.worldCamera = Camera.main;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_51;
L_51 = Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43(NULL);
Canvas_set_worldCamera_m007F7DABDB5A3A6BFB043E3500DA82A4D936EDD4(L_50, L_51, NULL);
// go.transform.localScale = new Vector3(0.1f, 0.1f, 0.1f);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_52 = V_4;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_53;
L_53 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_52, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
memset((&L_54), 0, sizeof(L_54));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_54), (0.100000001f), (0.100000001f), (0.100000001f), /*hidden argument*/NULL);
Transform_set_localScale_mBA79E811BAF6C47B80FF76414C12B47B3CD03633(L_53, L_54, NULL);
// go.transform.position = new Vector3(Random.Range(-95f, 95f), 5f, Random.Range(-95f, 95f));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_55 = V_4;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_56;
L_56 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_55, NULL);
float L_57;
L_57 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-95.0f), (95.0f), NULL);
float L_58;
L_58 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-95.0f), (95.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59;
memset((&L_59), 0, sizeof(L_59));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_59), L_57, (5.0f), L_58, /*hidden argument*/NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_56, L_59, NULL);
// TextMeshProUGUI textObject = new GameObject().AddComponent<TextMeshProUGUI>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_60 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m7D0340DE160786E6EFA8DABD39EC3B694DA30AAD(L_60, /*hidden argument*/NULL);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_61;
L_61 = GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB(L_60, GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB_RuntimeMethod_var);
// textObject.rectTransform.SetParent(go.transform, false);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_62 = L_61;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_63;
L_63 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_62, NULL);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_64 = V_4;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_65;
L_65 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_64, NULL);
Transform_SetParent_m9BDD7B7476714B2D7919B10BDC22CE75C0A0A195(L_63, L_65, (bool)0, NULL);
// textObject.color = new Color32(255, 255, 0, 255);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_66 = L_62;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_67;
memset((&L_67), 0, sizeof(L_67));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_67), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)0, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_68;
L_68 = Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline(L_67, NULL);
VirtualActionInvoker1< Color_tD001788D726C3A7F1379BEED0260B9591F440C1F >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, L_66, L_68);
// textObject.alignment = TextAlignmentOptions.Bottom;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_69 = L_66;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_69, ((int32_t)1026), NULL);
// textObject.fontSize = 96;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_70 = L_69;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_70, (96.0f), NULL);
// textObject.text = "!";
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_70, _stringLiteral15196F05B117690F3E12E56AA0C43803EA0D2A46);
// floatingText_Script = go.AddComponent<TextMeshProFloatingText>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_71 = V_4;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_72;
L_72 = GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1(L_71, GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1_RuntimeMethod_var);
__this->___floatingText_Script_6 = L_72;
Il2CppCodeGenWriteBarrier((void**)(&__this->___floatingText_Script_6), (void*)L_72);
// floatingText_Script.SpawnType = 0;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_73 = __this->___floatingText_Script_6;
L_73->___SpawnType_13 = 0;
}
IL_028d:
{
// for (int i = 0; i < NumberOfNPC; i++)
int32_t L_74 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_74, (int32_t)1));
}
IL_0291:
{
// for (int i = 0; i < NumberOfNPC; i++)
int32_t L_75 = V_0;
int32_t L_76 = __this->___NumberOfNPC_5;
if ((((int32_t)L_75) < ((int32_t)L_76)))
{
goto IL_0007;
}
}
{
// }
return;
}
}
// System.Void TMPro.Examples.Benchmark02::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Benchmark02__ctor_mE5DCB1CF4C1FDBA742B51B11427B9DE209630BF1 (Benchmark02_t4F19F4C449CC8F7FAAED31A6C1D03F4192B3C7E8 * __this, const RuntimeMethod* method)
{
{
// public int NumberOfNPC = 12;
__this->___NumberOfNPC_5 = ((int32_t)12);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.Benchmark03::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Benchmark03_Awake_mDEE8E96AE811C5A84CB2C04440CD4662E2F918D3 (Benchmark03_t20465BC4BB859B19BA37877E83DC8946576C359D * __this, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void TMPro.Examples.Benchmark03::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Benchmark03_Start_mCCFD9402E218265F6D34A1EA7ACCD3AD3D80380D (Benchmark03_t20465BC4BB859B19BA37877E83DC8946576C359D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBA1039E8CDAE53E44AC3E6185B0871F3D031A476);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
// for (int i = 0; i < NumberOfNPC; i++)
V_0 = 0;
goto IL_0105;
}
IL_0007:
{
// if (SpawnType == 0)
int32_t L_0 = __this->___SpawnType_4;
if (L_0)
{
goto IL_007d;
}
}
{
// GameObject go = new GameObject(); //"NPC " + i);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_1 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m7D0340DE160786E6EFA8DABD39EC3B694DA30AAD(L_1, /*hidden argument*/NULL);
// go.transform.position = new Vector3(0, 0, 0);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_2 = L_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_3;
L_3 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_2, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
memset((&L_4), 0, sizeof(L_4));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_4), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_3, L_4, NULL);
// TextMeshPro textMeshPro = go.AddComponent<TextMeshPro>();
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_5;
L_5 = GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C(L_2, GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
// textMeshPro.alignment = TextAlignmentOptions.Center;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_6 = L_5;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_6, ((int32_t)514), NULL);
// textMeshPro.fontSize = 96;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_7 = L_6;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_7, (96.0f), NULL);
// textMeshPro.text = "@";
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_8 = L_7;
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_8, _stringLiteralBA1039E8CDAE53E44AC3E6185B0871F3D031A476);
// textMeshPro.color = new Color32(255, 255, 0, 255);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_9;
memset((&L_9), 0, sizeof(L_9));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_9), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)0, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_10;
L_10 = Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline(L_9, NULL);
VirtualActionInvoker1< Color_tD001788D726C3A7F1379BEED0260B9591F440C1F >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, L_8, L_10);
goto IL_0101;
}
IL_007d:
{
// GameObject go = new GameObject(); //"NPC " + i);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_11 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m7D0340DE160786E6EFA8DABD39EC3B694DA30AAD(L_11, /*hidden argument*/NULL);
// go.transform.position = new Vector3(0, 0, 0);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_12 = L_11;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_13;
L_13 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_12, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
memset((&L_14), 0, sizeof(L_14));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_14), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_13, L_14, NULL);
// TextMesh textMesh = go.AddComponent<TextMesh>();
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_15;
L_15 = GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2(L_12, GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2_RuntimeMethod_var);
// textMesh.GetComponent<Renderer>().sharedMaterial = TheFont.material;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_16 = L_15;
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * L_17;
L_17 = Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8(L_16, Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_18 = __this->___TheFont_6;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_19;
L_19 = Font_get_material_m61ABDEC14C6D659DDC5A4F080023699116C17364(L_18, NULL);
Renderer_set_sharedMaterial_m5E842F9A06CFB7B77656EB319881CB4B3E8E4288(L_17, L_19, NULL);
// textMesh.font = TheFont;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_20 = L_16;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_21 = __this->___TheFont_6;
TextMesh_set_font_m7E407CAEDBB382B95B70069D8FAB8A9E74EAAA74(L_20, L_21, NULL);
// textMesh.anchor = TextAnchor.MiddleCenter;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_22 = L_20;
TextMesh_set_anchor_m3FCB7C4B1FF66CE189B56076C0306AFE984FCD32(L_22, 4, NULL);
// textMesh.fontSize = 96;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_23 = L_22;
TextMesh_set_fontSize_mAB9F7FFC0E4DB759B786F6A9357B18C86015498B(L_23, ((int32_t)96), NULL);
// textMesh.color = new Color32(255, 255, 0, 255);
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_24 = L_23;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_25;
memset((&L_25), 0, sizeof(L_25));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_25), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)0, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_26;
L_26 = Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline(L_25, NULL);
TextMesh_set_color_mF08F30C3CD797C16289225B567724B9F07DC641E(L_24, L_26, NULL);
// textMesh.text = "@";
TextMesh_set_text_mDF79D39638ED82797D0B0B3BB9E6B10712F8EA9E(L_24, _stringLiteralBA1039E8CDAE53E44AC3E6185B0871F3D031A476, NULL);
}
IL_0101:
{
// for (int i = 0; i < NumberOfNPC; i++)
int32_t L_27 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)1));
}
IL_0105:
{
// for (int i = 0; i < NumberOfNPC; i++)
int32_t L_28 = V_0;
int32_t L_29 = __this->___NumberOfNPC_5;
if ((((int32_t)L_28) < ((int32_t)L_29)))
{
goto IL_0007;
}
}
{
// }
return;
}
}
// System.Void TMPro.Examples.Benchmark03::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Benchmark03__ctor_m8A29BB2CC6375B2D3D57B5A90D18F2435352E5F6 (Benchmark03_t20465BC4BB859B19BA37877E83DC8946576C359D * __this, const RuntimeMethod* method)
{
{
// public int NumberOfNPC = 12;
__this->___NumberOfNPC_5 = ((int32_t)12);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.Benchmark04::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Benchmark04_Start_mD2F5056019DD08B3DB897F6D194E86AB66E92F90 (Benchmark04_t10F8FE01330047EC5B83FE59EE23381CD2BE2F01 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC56D8B760DA0CEC01983ED455FA2F4F6D226A0D7);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC81D4815798A03842AAC413360D527A2550FDA1A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCED30D471F9ECB011896E4C24680A6982ECBCAFE);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
float V_3 = 0.0f;
int32_t V_4 = 0;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_5 = NULL;
{
// m_Transform = transform;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_0;
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
__this->___m_Transform_8 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Transform_8), (void*)L_0);
// float lineHeight = 0;
V_0 = (0.0f);
// float orthoSize = Camera.main.orthographicSize = Screen.height / 2;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_1;
L_1 = Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43(NULL);
int32_t L_2;
L_2 = Screen_get_height_m624DD2D53F34087064E3B9D09AC2207DB4E86CA8(NULL);
float L_3 = ((float)((float)((int32_t)((int32_t)L_2/(int32_t)2))));
V_3 = L_3;
Camera_set_orthographicSize_m76DD021032ACB3DDBD052B75EC66DCE3A7295A5C(L_1, L_3, NULL);
float L_4 = V_3;
V_1 = L_4;
// float ratio = (float)Screen.width / Screen.height;
int32_t L_5;
L_5 = Screen_get_width_mCA5D955A53CF6D29C8C7118D517D0FC84AE8056C(NULL);
int32_t L_6;
L_6 = Screen_get_height_m624DD2D53F34087064E3B9D09AC2207DB4E86CA8(NULL);
V_2 = ((float)((float)((float)((float)L_5))/(float)((float)((float)L_6))));
// for (int i = MinPointSize; i <= MaxPointSize; i += Steps)
int32_t L_7 = __this->___MinPointSize_5;
V_4 = L_7;
goto IL_0139;
}
IL_0043:
{
// if (SpawnType == 0)
int32_t L_8 = __this->___SpawnType_4;
if (L_8)
{
goto IL_012e;
}
}
{
// GameObject go = new GameObject("Text - " + i + " Pts");
String_t* L_9;
L_9 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_4), NULL);
String_t* L_10;
L_10 = String_Concat_m9B13B47FCB3DF61144D9647DDA05F527377251B0(_stringLiteralC81D4815798A03842AAC413360D527A2550FDA1A, L_9, _stringLiteralC56D8B760DA0CEC01983ED455FA2F4F6D226A0D7, NULL);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_11 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_11, L_10, /*hidden argument*/NULL);
V_5 = L_11;
// if (lineHeight > orthoSize * 2) return;
float L_12 = V_0;
float L_13 = V_1;
if ((!(((float)L_12) > ((float)((float)il2cpp_codegen_multiply((float)L_13, (float)(2.0f)))))))
{
goto IL_0076;
}
}
{
// if (lineHeight > orthoSize * 2) return;
return;
}
IL_0076:
{
// go.transform.position = m_Transform.position + new Vector3(ratio * -orthoSize * 0.975f, orthoSize * 0.975f - lineHeight, 0);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_14 = V_5;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_15;
L_15 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_14, NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_16 = __this->___m_Transform_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
L_17 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_16, NULL);
float L_18 = V_2;
float L_19 = V_1;
float L_20 = V_1;
float L_21 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
memset((&L_22), 0, sizeof(L_22));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_22), ((float)il2cpp_codegen_multiply((float)((float)il2cpp_codegen_multiply((float)L_18, (float)((-L_19)))), (float)(0.975000024f))), ((float)il2cpp_codegen_subtract((float)((float)il2cpp_codegen_multiply((float)L_20, (float)(0.975000024f))), (float)L_21)), (0.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
L_23 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_17, L_22, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_15, L_23, NULL);
// TextMeshPro textMeshPro = go.AddComponent<TextMeshPro>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_24 = V_5;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_25;
L_25 = GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C(L_24, GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
// textMeshPro.rectTransform.pivot = new Vector2(0, 0.5f);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_26 = L_25;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_27;
L_27 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_26, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_28;
memset((&L_28), 0, sizeof(L_28));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_28), (0.0f), (0.5f), /*hidden argument*/NULL);
RectTransform_set_pivot_m79D0177D383D432A93C2615F1932B739B1C6E146(L_27, L_28, NULL);
// textMeshPro.enableWordWrapping = false;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_29 = L_26;
TMP_Text_set_enableWordWrapping_mFAEE849315B4723F9C86C127B1A59EF50BE1C12F(L_29, (bool)0, NULL);
// textMeshPro.extraPadding = true;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_30 = L_29;
TMP_Text_set_extraPadding_m26595B78EDE43EFBCCBF7D5E23932ADCB983EF32(L_30, (bool)1, NULL);
// textMeshPro.isOrthographic = true;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_31 = L_30;
TMP_Text_set_isOrthographic_mF58B9C6B492D4FD1BA0AB339E4B91F0A1F644C18(L_31, (bool)1, NULL);
// textMeshPro.fontSize = i;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_32 = L_31;
int32_t L_33 = V_4;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_32, ((float)((float)L_33)), NULL);
// textMeshPro.text = i + " pts - Lorem ipsum dolor sit...";
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_34 = L_32;
String_t* L_35;
L_35 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_4), NULL);
String_t* L_36;
L_36 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(L_35, _stringLiteralCED30D471F9ECB011896E4C24680A6982ECBCAFE, NULL);
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_34, L_36);
// textMeshPro.color = new Color32(255, 255, 255, 255);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_37;
memset((&L_37), 0, sizeof(L_37));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_37), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_38;
L_38 = Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline(L_37, NULL);
VirtualActionInvoker1< Color_tD001788D726C3A7F1379BEED0260B9591F440C1F >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, L_34, L_38);
// lineHeight += i;
float L_39 = V_0;
int32_t L_40 = V_4;
V_0 = ((float)il2cpp_codegen_add((float)L_39, (float)((float)((float)L_40))));
}
IL_012e:
{
// for (int i = MinPointSize; i <= MaxPointSize; i += Steps)
int32_t L_41 = V_4;
int32_t L_42 = __this->___Steps_7;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)L_42));
}
IL_0139:
{
// for (int i = MinPointSize; i <= MaxPointSize; i += Steps)
int32_t L_43 = V_4;
int32_t L_44 = __this->___MaxPointSize_6;
if ((((int32_t)L_43) <= ((int32_t)L_44)))
{
goto IL_0043;
}
}
{
// }
return;
}
}
// System.Void TMPro.Examples.Benchmark04::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Benchmark04__ctor_m282E4E495D8D1921A87481729549B68BEDAD2D27 (Benchmark04_t10F8FE01330047EC5B83FE59EE23381CD2BE2F01 * __this, const RuntimeMethod* method)
{
{
// public int MinPointSize = 12;
__this->___MinPointSize_5 = ((int32_t)12);
// public int MaxPointSize = 64;
__this->___MaxPointSize_6 = ((int32_t)64);
// public int Steps = 4;
__this->___Steps_7 = 4;
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.CameraController::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CameraController_Awake_m2D75756734457ADE0F15F191B63521A47C426788 (CameraController_t7E0AA7DC0B482A31CC3D60F6032912FE8B581DA8 * __this, const RuntimeMethod* method)
{
{
// if (QualitySettings.vSyncCount > 0)
int32_t L_0;
L_0 = QualitySettings_get_vSyncCount_m623B92EE9CBB51A7A96CA88022319CC46CC02F24(NULL);
if ((((int32_t)L_0) <= ((int32_t)0)))
{
goto IL_0011;
}
}
{
// Application.targetFrameRate = 60;
Application_set_targetFrameRate_m794A13DC5116C506B042663606691257CF3A7325(((int32_t)60), NULL);
goto IL_0017;
}
IL_0011:
{
// Application.targetFrameRate = -1;
Application_set_targetFrameRate_m794A13DC5116C506B042663606691257CF3A7325((-1), NULL);
}
IL_0017:
{
// if (Application.platform == RuntimePlatform.IPhonePlayer || Application.platform == RuntimePlatform.Android)
int32_t L_1;
L_1 = Application_get_platform_m1AB34E71D9885B120F6021EB2B11DCB28CD6008D(NULL);
if ((((int32_t)L_1) == ((int32_t)8)))
{
goto IL_0028;
}
}
{
int32_t L_2;
L_2 = Application_get_platform_m1AB34E71D9885B120F6021EB2B11DCB28CD6008D(NULL);
if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)11)))))
{
goto IL_002e;
}
}
IL_0028:
{
// Input.simulateMouseWithTouches = false;
Input_set_simulateMouseWithTouches_mF16D68F2DA2BC83A7FEFA116E2C9BC10F3AD38DD((bool)0, NULL);
}
IL_002e:
{
// cameraTransform = transform;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_3;
L_3 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
__this->___cameraTransform_4 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___cameraTransform_4), (void*)L_3);
// previousSmoothing = MovementSmoothing;
bool L_4 = __this->___MovementSmoothing_15;
__this->___previousSmoothing_17 = L_4;
// }
return;
}
}
// System.Void TMPro.Examples.CameraController::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CameraController_Start_m749E20374F32FF190EC51D70C717A8117934F2A5 (CameraController_t7E0AA7DC0B482A31CC3D60F6032912FE8B581DA8 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEF516EC7240CA160FD729299C926B5EDB246658A);
s_Il2CppMethodInitialized = true;
}
{
// if (CameraTarget == null)
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_0 = __this->___CameraTarget_6;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C *)NULL, NULL);
if (!L_1)
{
goto IL_002f;
}
}
{
// dummyTarget = new GameObject("Camera Target").transform;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_2 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_2, _stringLiteralEF516EC7240CA160FD729299C926B5EDB246658A, /*hidden argument*/NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_3;
L_3 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_2, NULL);
__this->___dummyTarget_5 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___dummyTarget_5), (void*)L_3);
// CameraTarget = dummyTarget;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_4 = __this->___dummyTarget_5;
__this->___CameraTarget_6 = L_4;
Il2CppCodeGenWriteBarrier((void**)(&__this->___CameraTarget_6), (void*)L_4);
}
IL_002f:
{
// }
return;
}
}
// System.Void TMPro.Examples.CameraController::LateUpdate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CameraController_LateUpdate_m07E7F5C7D91713F8BB489480304D130570D7858F (CameraController_t7E0AA7DC0B482A31CC3D60F6032912FE8B581DA8 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// GetPlayerInput();
CameraController_GetPlayerInput_m31AE86C54785402EB078A40F37D83FEA9216388F(__this, NULL);
// if (CameraTarget != null)
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_0 = __this->___CameraTarget_6;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C *)NULL, NULL);
if (!L_1)
{
goto IL_0172;
}
}
{
// if (CameraMode == CameraModes.Isometric)
int32_t L_2 = __this->___CameraMode_14;
if ((!(((uint32_t)L_2) == ((uint32_t)1))))
{
goto IL_0069;
}
}
{
// desiredPosition = CameraTarget.position + Quaternion.Euler(ElevationAngle, OrbitalAngle, 0f) * new Vector3(0, 0, -FollowDistance);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_3 = __this->___CameraTarget_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
L_4 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_3, NULL);
float L_5 = __this->___ElevationAngle_10;
float L_6 = __this->___OrbitalAngle_13;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
L_7 = Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline(L_5, L_6, (0.0f), NULL);
float L_8 = __this->___FollowDistance_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), (0.0f), (0.0f), ((-L_8)), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
L_10 = Quaternion_op_Multiply_mF1348668A6CCD46FBFF98D39182F89358ED74AC0(L_7, L_9, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
L_11 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_4, L_10, NULL);
__this->___desiredPosition_22 = L_11;
goto IL_00c3;
}
IL_0069:
{
// else if (CameraMode == CameraModes.Follow)
int32_t L_12 = __this->___CameraMode_14;
if (L_12)
{
goto IL_00c3;
}
}
{
// desiredPosition = CameraTarget.position + CameraTarget.TransformDirection(Quaternion.Euler(ElevationAngle, OrbitalAngle, 0f) * (new Vector3(0, 0, -FollowDistance)));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_13 = __this->___CameraTarget_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
L_14 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_13, NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_15 = __this->___CameraTarget_6;
float L_16 = __this->___ElevationAngle_10;
float L_17 = __this->___OrbitalAngle_13;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
L_18 = Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline(L_16, L_17, (0.0f), NULL);
float L_19 = __this->___FollowDistance_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
memset((&L_20), 0, sizeof(L_20));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_20), (0.0f), (0.0f), ((-L_19)), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
L_21 = Quaternion_op_Multiply_mF1348668A6CCD46FBFF98D39182F89358ED74AC0(L_18, L_20, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
L_22 = Transform_TransformDirection_m9BE1261DF2D48B7A4A27D31EE24D2D97F89E7757(L_15, L_21, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
L_23 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_14, L_22, NULL);
__this->___desiredPosition_22 = L_23;
}
IL_00c3:
{
// if (MovementSmoothing == true)
bool L_24 = __this->___MovementSmoothing_15;
if (!L_24)
{
goto IL_0100;
}
}
{
// cameraTransform.position = Vector3.SmoothDamp(cameraTransform.position, desiredPosition, ref currentVelocity, MovementSmoothingValue * Time.fixedDeltaTime);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_25 = __this->___cameraTransform_4;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_26 = __this->___cameraTransform_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
L_27 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_26, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = __this->___desiredPosition_22;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_29 = (&__this->___currentVelocity_21);
float L_30 = __this->___MovementSmoothingValue_18;
float L_31;
L_31 = Time_get_fixedDeltaTime_mD7107AF06157FC18A50E14E0755CEE137E9A4088(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
L_32 = Vector3_SmoothDamp_m017722BD53BAE32893C2A1B674746E340D4A5B89_inline(L_27, L_28, L_29, ((float)il2cpp_codegen_multiply((float)L_30, (float)L_31)), NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_25, L_32, NULL);
goto IL_0111;
}
IL_0100:
{
// cameraTransform.position = desiredPosition;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_33 = __this->___cameraTransform_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = __this->___desiredPosition_22;
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_33, L_34, NULL);
}
IL_0111:
{
// if (RotationSmoothing == true)
bool L_35 = __this->___RotationSmoothing_16;
if (!L_35)
{
goto IL_0161;
}
}
{
// cameraTransform.rotation = Quaternion.Lerp(cameraTransform.rotation, Quaternion.LookRotation(CameraTarget.position - cameraTransform.position), RotationSmoothingValue * Time.deltaTime);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_36 = __this->___cameraTransform_4;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_37 = __this->___cameraTransform_4;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38;
L_38 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_37, NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_39 = __this->___CameraTarget_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
L_40 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_39, NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_41 = __this->___cameraTransform_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
L_42 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_41, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
L_43 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_40, L_42, NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44;
L_44 = Quaternion_LookRotation_m8C0F294E5143F93D378E020EAD9DA2288A5907A3(L_43, NULL);
float L_45 = __this->___RotationSmoothingValue_19;
float L_46;
L_46 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_47;
L_47 = Quaternion_Lerp_m7BE5A2D8FA33A15A5145B2F5261707CA17C3E792(L_38, L_44, ((float)il2cpp_codegen_multiply((float)L_45, (float)L_46)), NULL);
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_36, L_47, NULL);
return;
}
IL_0161:
{
// cameraTransform.LookAt(CameraTarget);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_48 = __this->___cameraTransform_4;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_49 = __this->___CameraTarget_6;
Transform_LookAt_mA8567593181FD78BBDC2AF29AD99F93BDB2976B2(L_48, L_49, NULL);
}
IL_0172:
{
// }
return;
}
}
// System.Void TMPro.Examples.CameraController::GetPlayerInput()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CameraController_GetPlayerInput_m31AE86C54785402EB078A40F37D83FEA9216388F (CameraController_t7E0AA7DC0B482A31CC3D60F6032912FE8B581DA8 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral16DD21BE77B115D392226EB71A2D3A9FDC29E3F0);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral88BEE283254D7094E258B3A88730F4CC4F1E4AC7);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEF516EC7240CA160FD729299C926B5EDB246658A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFC6687DC37346CD2569888E29764F727FAF530E0);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
Touch_t03E51455ED508492B3F278903A0114FA0E87B417 V_1;
memset((&V_1), 0, sizeof(V_1));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_2;
memset((&V_2), 0, sizeof(V_2));
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 V_3;
memset((&V_3), 0, sizeof(V_3));
Touch_t03E51455ED508492B3F278903A0114FA0E87B417 V_4;
memset((&V_4), 0, sizeof(V_4));
Touch_t03E51455ED508492B3F278903A0114FA0E87B417 V_5;
memset((&V_5), 0, sizeof(V_5));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_6;
memset((&V_6), 0, sizeof(V_6));
float V_7 = 0.0f;
float V_8 = 0.0f;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_9;
memset((&V_9), 0, sizeof(V_9));
{
// moveVector = Vector3.zero;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
L_0 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
__this->___moveVector_25 = L_0;
// mouseWheel = Input.GetAxis("Mouse ScrollWheel");
float L_1;
L_1 = Input_GetAxis_m1F49B26F24032F45FB4583C95FB24E6771A161D4(_stringLiteralFC6687DC37346CD2569888E29764F727FAF530E0, NULL);
__this->___mouseWheel_26 = L_1;
// float touchCount = Input.touchCount;
int32_t L_2;
L_2 = Input_get_touchCount_m7B8EAAB3449A6DC2D90AF3BA36AF226D97C020CF(NULL);
V_0 = ((float)((float)L_2));
// if (Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift) || touchCount > 0)
bool L_3;
L_3 = Input_GetKey_m0BF0499CADC378F02B6BEE2399FB945AB929B81A(((int32_t)304), NULL);
if (L_3)
{
goto IL_0045;
}
}
{
bool L_4;
L_4 = Input_GetKey_m0BF0499CADC378F02B6BEE2399FB945AB929B81A(((int32_t)303), NULL);
if (L_4)
{
goto IL_0045;
}
}
{
float L_5 = V_0;
if ((!(((float)L_5) > ((float)(0.0f)))))
{
goto IL_040d;
}
}
IL_0045:
{
// mouseWheel *= 10;
float L_6 = __this->___mouseWheel_26;
__this->___mouseWheel_26 = ((float)il2cpp_codegen_multiply((float)L_6, (float)(10.0f)));
// if (Input.GetKeyDown(KeyCode.I))
bool L_7;
L_7 = Input_GetKeyDown_m0D59B7EBC3A782C9FBBF107FBCD4B72B38D993B3(((int32_t)105), NULL);
if (!L_7)
{
goto IL_0067;
}
}
{
// CameraMode = CameraModes.Isometric;
__this->___CameraMode_14 = 1;
}
IL_0067:
{
// if (Input.GetKeyDown(KeyCode.F))
bool L_8;
L_8 = Input_GetKeyDown_m0D59B7EBC3A782C9FBBF107FBCD4B72B38D993B3(((int32_t)102), NULL);
if (!L_8)
{
goto IL_0077;
}
}
{
// CameraMode = CameraModes.Follow;
__this->___CameraMode_14 = 0;
}
IL_0077:
{
// if (Input.GetKeyDown(KeyCode.S))
bool L_9;
L_9 = Input_GetKeyDown_m0D59B7EBC3A782C9FBBF107FBCD4B72B38D993B3(((int32_t)115), NULL);
if (!L_9)
{
goto IL_008f;
}
}
{
// MovementSmoothing = !MovementSmoothing;
bool L_10 = __this->___MovementSmoothing_15;
__this->___MovementSmoothing_15 = (bool)((((int32_t)L_10) == ((int32_t)0))? 1 : 0);
}
IL_008f:
{
// if (Input.GetMouseButton(1))
bool L_11;
L_11 = Input_GetMouseButton_mE545CF4B790C6E202808B827E3141BEC3330DB70(1, NULL);
if (!L_11)
{
goto IL_017d;
}
}
{
// mouseY = Input.GetAxis("Mouse Y");
float L_12;
L_12 = Input_GetAxis_m1F49B26F24032F45FB4583C95FB24E6771A161D4(_stringLiteral16DD21BE77B115D392226EB71A2D3A9FDC29E3F0, NULL);
__this->___mouseY_24 = L_12;
// mouseX = Input.GetAxis("Mouse X");
float L_13;
L_13 = Input_GetAxis_m1F49B26F24032F45FB4583C95FB24E6771A161D4(_stringLiteral88BEE283254D7094E258B3A88730F4CC4F1E4AC7, NULL);
__this->___mouseX_23 = L_13;
// if (mouseY > 0.01f || mouseY < -0.01f)
float L_14 = __this->___mouseY_24;
if ((((float)L_14) > ((float)(0.00999999978f))))
{
goto IL_00d4;
}
}
{
float L_15 = __this->___mouseY_24;
if ((!(((float)L_15) < ((float)(-0.00999999978f)))))
{
goto IL_010b;
}
}
IL_00d4:
{
// ElevationAngle -= mouseY * MoveSensitivity;
float L_16 = __this->___ElevationAngle_10;
float L_17 = __this->___mouseY_24;
float L_18 = __this->___MoveSensitivity_20;
__this->___ElevationAngle_10 = ((float)il2cpp_codegen_subtract((float)L_16, (float)((float)il2cpp_codegen_multiply((float)L_17, (float)L_18))));
// ElevationAngle = Mathf.Clamp(ElevationAngle, MinElevationAngle, MaxElevationAngle);
float L_19 = __this->___ElevationAngle_10;
float L_20 = __this->___MinElevationAngle_12;
float L_21 = __this->___MaxElevationAngle_11;
float L_22;
L_22 = Mathf_Clamp_m154E404AF275A3B2EC99ECAA3879B4CB9F0606DC_inline(L_19, L_20, L_21, NULL);
__this->___ElevationAngle_10 = L_22;
}
IL_010b:
{
// if (mouseX > 0.01f || mouseX < -0.01f)
float L_23 = __this->___mouseX_23;
if ((((float)L_23) > ((float)(0.00999999978f))))
{
goto IL_0125;
}
}
{
float L_24 = __this->___mouseX_23;
if ((!(((float)L_24) < ((float)(-0.00999999978f)))))
{
goto IL_017d;
}
}
IL_0125:
{
// OrbitalAngle += mouseX * MoveSensitivity;
float L_25 = __this->___OrbitalAngle_13;
float L_26 = __this->___mouseX_23;
float L_27 = __this->___MoveSensitivity_20;
__this->___OrbitalAngle_13 = ((float)il2cpp_codegen_add((float)L_25, (float)((float)il2cpp_codegen_multiply((float)L_26, (float)L_27))));
// if (OrbitalAngle > 360)
float L_28 = __this->___OrbitalAngle_13;
if ((!(((float)L_28) > ((float)(360.0f)))))
{
goto IL_015e;
}
}
{
// OrbitalAngle -= 360;
float L_29 = __this->___OrbitalAngle_13;
__this->___OrbitalAngle_13 = ((float)il2cpp_codegen_subtract((float)L_29, (float)(360.0f)));
}
IL_015e:
{
// if (OrbitalAngle < 0)
float L_30 = __this->___OrbitalAngle_13;
if ((!(((float)L_30) < ((float)(0.0f)))))
{
goto IL_017d;
}
}
{
// OrbitalAngle += 360;
float L_31 = __this->___OrbitalAngle_13;
__this->___OrbitalAngle_13 = ((float)il2cpp_codegen_add((float)L_31, (float)(360.0f)));
}
IL_017d:
{
// if (touchCount == 1 && Input.GetTouch(0).phase == TouchPhase.Moved)
float L_32 = V_0;
if ((!(((float)L_32) == ((float)(1.0f)))))
{
goto IL_026c;
}
}
{
Touch_t03E51455ED508492B3F278903A0114FA0E87B417 L_33;
L_33 = Input_GetTouch_m37572A728DAE284D3ED1272690E635A61D167AD4(0, NULL);
V_1 = L_33;
int32_t L_34;
L_34 = Touch_get_phase_mB82409FB2BE1C32ABDBA6A72E52A099D28AB70B0((&V_1), NULL);
if ((!(((uint32_t)L_34) == ((uint32_t)1))))
{
goto IL_026c;
}
}
{
// Vector2 deltaPosition = Input.GetTouch(0).deltaPosition;
Touch_t03E51455ED508492B3F278903A0114FA0E87B417 L_35;
L_35 = Input_GetTouch_m37572A728DAE284D3ED1272690E635A61D167AD4(0, NULL);
V_1 = L_35;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_36;
L_36 = Touch_get_deltaPosition_m2D51F960B74C94821ED0F6A09E44C80FD796D299((&V_1), NULL);
V_2 = L_36;
// if (deltaPosition.y > 0.01f || deltaPosition.y < -0.01f)
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_37 = V_2;
float L_38 = L_37.___y_1;
if ((((float)L_38) > ((float)(0.00999999978f))))
{
goto IL_01c5;
}
}
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_39 = V_2;
float L_40 = L_39.___y_1;
if ((!(((float)L_40) < ((float)(-0.00999999978f)))))
{
goto IL_01fb;
}
}
IL_01c5:
{
// ElevationAngle -= deltaPosition.y * 0.1f;
float L_41 = __this->___ElevationAngle_10;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_42 = V_2;
float L_43 = L_42.___y_1;
__this->___ElevationAngle_10 = ((float)il2cpp_codegen_subtract((float)L_41, (float)((float)il2cpp_codegen_multiply((float)L_43, (float)(0.100000001f)))));
// ElevationAngle = Mathf.Clamp(ElevationAngle, MinElevationAngle, MaxElevationAngle);
float L_44 = __this->___ElevationAngle_10;
float L_45 = __this->___MinElevationAngle_12;
float L_46 = __this->___MaxElevationAngle_11;
float L_47;
L_47 = Mathf_Clamp_m154E404AF275A3B2EC99ECAA3879B4CB9F0606DC_inline(L_44, L_45, L_46, NULL);
__this->___ElevationAngle_10 = L_47;
}
IL_01fb:
{
// if (deltaPosition.x > 0.01f || deltaPosition.x < -0.01f)
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_48 = V_2;
float L_49 = L_48.___x_0;
if ((((float)L_49) > ((float)(0.00999999978f))))
{
goto IL_0215;
}
}
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_50 = V_2;
float L_51 = L_50.___x_0;
if ((!(((float)L_51) < ((float)(-0.00999999978f)))))
{
goto IL_026c;
}
}
IL_0215:
{
// OrbitalAngle += deltaPosition.x * 0.1f;
float L_52 = __this->___OrbitalAngle_13;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_53 = V_2;
float L_54 = L_53.___x_0;
__this->___OrbitalAngle_13 = ((float)il2cpp_codegen_add((float)L_52, (float)((float)il2cpp_codegen_multiply((float)L_54, (float)(0.100000001f)))));
// if (OrbitalAngle > 360)
float L_55 = __this->___OrbitalAngle_13;
if ((!(((float)L_55) > ((float)(360.0f)))))
{
goto IL_024d;
}
}
{
// OrbitalAngle -= 360;
float L_56 = __this->___OrbitalAngle_13;
__this->___OrbitalAngle_13 = ((float)il2cpp_codegen_subtract((float)L_56, (float)(360.0f)));
}
IL_024d:
{
// if (OrbitalAngle < 0)
float L_57 = __this->___OrbitalAngle_13;
if ((!(((float)L_57) < ((float)(0.0f)))))
{
goto IL_026c;
}
}
{
// OrbitalAngle += 360;
float L_58 = __this->___OrbitalAngle_13;
__this->___OrbitalAngle_13 = ((float)il2cpp_codegen_add((float)L_58, (float)(360.0f)));
}
IL_026c:
{
// if (Input.GetMouseButton(0))
bool L_59;
L_59 = Input_GetMouseButton_mE545CF4B790C6E202808B827E3141BEC3330DB70(0, NULL);
if (!L_59)
{
goto IL_02db;
}
}
{
// Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_60;
L_60 = Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
L_61 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 L_62;
L_62 = Camera_ScreenPointToRay_m2887B9A49880B7AB670C57D66B67D6A6689FE315(L_60, L_61, NULL);
// if (Physics.Raycast(ray, out hit, 300, 1 << 10 | 1 << 11 | 1 << 12 | 1 << 14))
bool L_63;
L_63 = Physics_Raycast_m6140FC91F32547F11C687FA1A002850598B74A0D(L_62, (&V_3), (300.0f), ((int32_t)23552), NULL);
if (!L_63)
{
goto IL_02db;
}
}
{
// if (hit.transform == CameraTarget)
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_64;
L_64 = RaycastHit_get_transform_m89DB7FCFC50E0213A37CBE089400064B8FA19155((&V_3), NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_65 = __this->___CameraTarget_6;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_66;
L_66 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_64, L_65, NULL);
if (!L_66)
{
goto IL_02b7;
}
}
{
// OrbitalAngle = 0;
__this->___OrbitalAngle_13 = (0.0f);
goto IL_02db;
}
IL_02b7:
{
// CameraTarget = hit.transform;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_67;
L_67 = RaycastHit_get_transform_m89DB7FCFC50E0213A37CBE089400064B8FA19155((&V_3), NULL);
__this->___CameraTarget_6 = L_67;
Il2CppCodeGenWriteBarrier((void**)(&__this->___CameraTarget_6), (void*)L_67);
// OrbitalAngle = 0;
__this->___OrbitalAngle_13 = (0.0f);
// MovementSmoothing = previousSmoothing;
bool L_68 = __this->___previousSmoothing_17;
__this->___MovementSmoothing_15 = L_68;
}
IL_02db:
{
// if (Input.GetMouseButton(2))
bool L_69;
L_69 = Input_GetMouseButton_mE545CF4B790C6E202808B827E3141BEC3330DB70(2, NULL);
if (!L_69)
{
goto IL_040d;
}
}
{
// if (dummyTarget == null)
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_70 = __this->___dummyTarget_5;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_71;
L_71 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_70, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C *)NULL, NULL);
if (!L_71)
{
goto IL_0356;
}
}
{
// dummyTarget = new GameObject("Camera Target").transform;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_72 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_72, _stringLiteralEF516EC7240CA160FD729299C926B5EDB246658A, /*hidden argument*/NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_73;
L_73 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_72, NULL);
__this->___dummyTarget_5 = L_73;
Il2CppCodeGenWriteBarrier((void**)(&__this->___dummyTarget_5), (void*)L_73);
// dummyTarget.position = CameraTarget.position;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_74 = __this->___dummyTarget_5;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_75 = __this->___CameraTarget_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
L_76 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_75, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_74, L_76, NULL);
// dummyTarget.rotation = CameraTarget.rotation;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_77 = __this->___dummyTarget_5;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_78 = __this->___CameraTarget_6;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_79;
L_79 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_78, NULL);
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_77, L_79, NULL);
// CameraTarget = dummyTarget;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_80 = __this->___dummyTarget_5;
__this->___CameraTarget_6 = L_80;
Il2CppCodeGenWriteBarrier((void**)(&__this->___CameraTarget_6), (void*)L_80);
// previousSmoothing = MovementSmoothing;
bool L_81 = __this->___MovementSmoothing_15;
__this->___previousSmoothing_17 = L_81;
// MovementSmoothing = false;
__this->___MovementSmoothing_15 = (bool)0;
goto IL_03b4;
}
IL_0356:
{
// else if (dummyTarget != CameraTarget)
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_82 = __this->___dummyTarget_5;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_83 = __this->___CameraTarget_6;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_84;
L_84 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_82, L_83, NULL);
if (!L_84)
{
goto IL_03b4;
}
}
{
// dummyTarget.position = CameraTarget.position;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_85 = __this->___dummyTarget_5;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_86 = __this->___CameraTarget_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87;
L_87 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_86, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_85, L_87, NULL);
// dummyTarget.rotation = CameraTarget.rotation;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_88 = __this->___dummyTarget_5;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_89 = __this->___CameraTarget_6;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_90;
L_90 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_89, NULL);
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_88, L_90, NULL);
// CameraTarget = dummyTarget;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_91 = __this->___dummyTarget_5;
__this->___CameraTarget_6 = L_91;
Il2CppCodeGenWriteBarrier((void**)(&__this->___CameraTarget_6), (void*)L_91);
// previousSmoothing = MovementSmoothing;
bool L_92 = __this->___MovementSmoothing_15;
__this->___previousSmoothing_17 = L_92;
// MovementSmoothing = false;
__this->___MovementSmoothing_15 = (bool)0;
}
IL_03b4:
{
// mouseY = Input.GetAxis("Mouse Y");
float L_93;
L_93 = Input_GetAxis_m1F49B26F24032F45FB4583C95FB24E6771A161D4(_stringLiteral16DD21BE77B115D392226EB71A2D3A9FDC29E3F0, NULL);
__this->___mouseY_24 = L_93;
// mouseX = Input.GetAxis("Mouse X");
float L_94;
L_94 = Input_GetAxis_m1F49B26F24032F45FB4583C95FB24E6771A161D4(_stringLiteral88BEE283254D7094E258B3A88730F4CC4F1E4AC7, NULL);
__this->___mouseX_23 = L_94;
// moveVector = cameraTransform.TransformDirection(mouseX, mouseY, 0);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_95 = __this->___cameraTransform_4;
float L_96 = __this->___mouseX_23;
float L_97 = __this->___mouseY_24;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98;
L_98 = Transform_TransformDirection_m9C397BCD37FEFEDDE923D38FDCBC9DDC517AE5C3(L_95, L_96, L_97, (0.0f), NULL);
__this->___moveVector_25 = L_98;
// dummyTarget.Translate(-moveVector, Space.World);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_99 = __this->___dummyTarget_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100 = __this->___moveVector_25;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101;
L_101 = Vector3_op_UnaryNegation_m3AC523A7BED6E843165BDF598690F0560D8CAA63_inline(L_100, NULL);
Transform_Translate_m4A9E3D8836586E7562F6A18EBF5F5B6089D8B649(L_99, L_101, 0, NULL);
}
IL_040d:
{
// if (touchCount == 2)
float L_102 = V_0;
if ((!(((float)L_102) == ((float)(2.0f)))))
{
goto IL_04c7;
}
}
{
// Touch touch0 = Input.GetTouch(0);
Touch_t03E51455ED508492B3F278903A0114FA0E87B417 L_103;
L_103 = Input_GetTouch_m37572A728DAE284D3ED1272690E635A61D167AD4(0, NULL);
V_4 = L_103;
// Touch touch1 = Input.GetTouch(1);
Touch_t03E51455ED508492B3F278903A0114FA0E87B417 L_104;
L_104 = Input_GetTouch_m37572A728DAE284D3ED1272690E635A61D167AD4(1, NULL);
V_5 = L_104;
// Vector2 touch0PrevPos = touch0.position - touch0.deltaPosition;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_105;
L_105 = Touch_get_position_m41B9EB0F3F3E1BE98CEB388253A9E31979CB964A((&V_4), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_106;
L_106 = Touch_get_deltaPosition_m2D51F960B74C94821ED0F6A09E44C80FD796D299((&V_4), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_107;
L_107 = Vector2_op_Subtraction_m664419831773D5BBF06D9DE4E515F6409B2F92B8_inline(L_105, L_106, NULL);
// Vector2 touch1PrevPos = touch1.position - touch1.deltaPosition;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_108;
L_108 = Touch_get_position_m41B9EB0F3F3E1BE98CEB388253A9E31979CB964A((&V_5), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_109;
L_109 = Touch_get_deltaPosition_m2D51F960B74C94821ED0F6A09E44C80FD796D299((&V_5), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_110;
L_110 = Vector2_op_Subtraction_m664419831773D5BBF06D9DE4E515F6409B2F92B8_inline(L_108, L_109, NULL);
V_6 = L_110;
// float prevTouchDelta = (touch0PrevPos - touch1PrevPos).magnitude;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_111 = V_6;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_112;
L_112 = Vector2_op_Subtraction_m664419831773D5BBF06D9DE4E515F6409B2F92B8_inline(L_107, L_111, NULL);
V_9 = L_112;
float L_113;
L_113 = Vector2_get_magnitude_m5C59B4056420AEFDB291AD0914A3F675330A75CE_inline((&V_9), NULL);
// float touchDelta = (touch0.position - touch1.position).magnitude;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_114;
L_114 = Touch_get_position_m41B9EB0F3F3E1BE98CEB388253A9E31979CB964A((&V_4), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_115;
L_115 = Touch_get_position_m41B9EB0F3F3E1BE98CEB388253A9E31979CB964A((&V_5), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_116;
L_116 = Vector2_op_Subtraction_m664419831773D5BBF06D9DE4E515F6409B2F92B8_inline(L_114, L_115, NULL);
V_9 = L_116;
float L_117;
L_117 = Vector2_get_magnitude_m5C59B4056420AEFDB291AD0914A3F675330A75CE_inline((&V_9), NULL);
V_7 = L_117;
// float zoomDelta = prevTouchDelta - touchDelta;
float L_118 = V_7;
V_8 = ((float)il2cpp_codegen_subtract((float)L_113, (float)L_118));
// if (zoomDelta > 0.01f || zoomDelta < -0.01f)
float L_119 = V_8;
if ((((float)L_119) > ((float)(0.00999999978f))))
{
goto IL_0495;
}
}
{
float L_120 = V_8;
if ((!(((float)L_120) < ((float)(-0.00999999978f)))))
{
goto IL_04c7;
}
}
IL_0495:
{
// FollowDistance += zoomDelta * 0.25f;
float L_121 = __this->___FollowDistance_7;
float L_122 = V_8;
__this->___FollowDistance_7 = ((float)il2cpp_codegen_add((float)L_121, (float)((float)il2cpp_codegen_multiply((float)L_122, (float)(0.25f)))));
// FollowDistance = Mathf.Clamp(FollowDistance, MinFollowDistance, MaxFollowDistance);
float L_123 = __this->___FollowDistance_7;
float L_124 = __this->___MinFollowDistance_9;
float L_125 = __this->___MaxFollowDistance_8;
float L_126;
L_126 = Mathf_Clamp_m154E404AF275A3B2EC99ECAA3879B4CB9F0606DC_inline(L_123, L_124, L_125, NULL);
__this->___FollowDistance_7 = L_126;
}
IL_04c7:
{
// if (mouseWheel < -0.01f || mouseWheel > 0.01f)
float L_127 = __this->___mouseWheel_26;
if ((((float)L_127) < ((float)(-0.00999999978f))))
{
goto IL_04e1;
}
}
{
float L_128 = __this->___mouseWheel_26;
if ((!(((float)L_128) > ((float)(0.00999999978f)))))
{
goto IL_0517;
}
}
IL_04e1:
{
// FollowDistance -= mouseWheel * 5.0f;
float L_129 = __this->___FollowDistance_7;
float L_130 = __this->___mouseWheel_26;
__this->___FollowDistance_7 = ((float)il2cpp_codegen_subtract((float)L_129, (float)((float)il2cpp_codegen_multiply((float)L_130, (float)(5.0f)))));
// FollowDistance = Mathf.Clamp(FollowDistance, MinFollowDistance, MaxFollowDistance);
float L_131 = __this->___FollowDistance_7;
float L_132 = __this->___MinFollowDistance_9;
float L_133 = __this->___MaxFollowDistance_8;
float L_134;
L_134 = Mathf_Clamp_m154E404AF275A3B2EC99ECAA3879B4CB9F0606DC_inline(L_131, L_132, L_133, NULL);
__this->___FollowDistance_7 = L_134;
}
IL_0517:
{
// }
return;
}
}
// System.Void TMPro.Examples.CameraController::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CameraController__ctor_mE37608FBFBF61F76A1E0EEACF79B040321476878 (CameraController_t7E0AA7DC0B482A31CC3D60F6032912FE8B581DA8 * __this, const RuntimeMethod* method)
{
{
// public float FollowDistance = 30.0f;
__this->___FollowDistance_7 = (30.0f);
// public float MaxFollowDistance = 100.0f;
__this->___MaxFollowDistance_8 = (100.0f);
// public float MinFollowDistance = 2.0f;
__this->___MinFollowDistance_9 = (2.0f);
// public float ElevationAngle = 30.0f;
__this->___ElevationAngle_10 = (30.0f);
// public float MaxElevationAngle = 85.0f;
__this->___MaxElevationAngle_11 = (85.0f);
// public bool MovementSmoothing = true;
__this->___MovementSmoothing_15 = (bool)1;
// public float MovementSmoothingValue = 25f;
__this->___MovementSmoothingValue_18 = (25.0f);
// public float RotationSmoothingValue = 5.0f;
__this->___RotationSmoothingValue_19 = (5.0f);
// public float MoveSensitivity = 2.0f;
__this->___MoveSensitivity_20 = (2.0f);
// private Vector3 currentVelocity = Vector3.zero;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
L_0 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
__this->___currentVelocity_21 = L_0;
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.ObjectSpin::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObjectSpin_Awake_mC05FEB5A72FED289171C58787FE09DBD9356FC72 (ObjectSpin_tE4A801A6C63FE0773DE2FD043571CB80CC9F194B * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisLight_t1E68479B7782AF2050FAA02A5DC612FD034F18F3_mF4816FA12B6F220CA55D47D669D7E50DC118B9E9_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3 * V_0 = NULL;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
memset((&V_1), 0, sizeof(V_1));
ObjectSpin_tE4A801A6C63FE0773DE2FD043571CB80CC9F194B * G_B2_0 = NULL;
ObjectSpin_tE4A801A6C63FE0773DE2FD043571CB80CC9F194B * G_B1_0 = NULL;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F G_B3_0;
memset((&G_B3_0), 0, sizeof(G_B3_0));
ObjectSpin_tE4A801A6C63FE0773DE2FD043571CB80CC9F194B * G_B3_1 = NULL;
{
// m_transform = transform;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_0;
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
__this->___m_transform_6 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_transform_6), (void*)L_0);
// m_initial_Rotation = m_transform.rotation.eulerAngles;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_1 = __this->___m_transform_6;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
L_2 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_1, NULL);
V_1 = L_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
L_3 = Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline((&V_1), NULL);
__this->___m_initial_Rotation_9 = L_3;
// m_initial_Position = m_transform.position;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_4 = __this->___m_transform_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_4, NULL);
__this->___m_initial_Position_10 = L_5;
// Light light = GetComponent<Light>();
Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3 * L_6;
L_6 = Component_GetComponent_TisLight_t1E68479B7782AF2050FAA02A5DC612FD034F18F3_mF4816FA12B6F220CA55D47D669D7E50DC118B9E9(__this, Component_GetComponent_TisLight_t1E68479B7782AF2050FAA02A5DC612FD034F18F3_mF4816FA12B6F220CA55D47D669D7E50DC118B9E9_RuntimeMethod_var);
V_0 = L_6;
// m_lightColor = light != null ? light.color : Color.black;
Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3 * L_7 = V_0;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_8;
L_8 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_7, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C *)NULL, NULL);
G_B1_0 = __this;
if (L_8)
{
G_B2_0 = __this;
goto IL_004e;
}
}
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_9;
L_9 = Color_get_black_mBF96B603B41BED9BAFAA10CE8D946D24260F9729_inline(NULL);
G_B3_0 = L_9;
G_B3_1 = G_B1_0;
goto IL_0054;
}
IL_004e:
{
Light_t1E68479B7782AF2050FAA02A5DC612FD034F18F3 * L_10 = V_0;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_11;
L_11 = Light_get_color_mE7EB8F11BF394877B50A2F335627441889ADE536(L_10, NULL);
G_B3_0 = L_11;
G_B3_1 = G_B2_0;
}
IL_0054:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_12;
L_12 = Color32_op_Implicit_m7EFA0B83AD1AE15567E9BC2FA2B8E66D3BFE1395_inline(G_B3_0, NULL);
G_B3_1->___m_lightColor_11 = L_12;
// }
return;
}
}
// System.Void TMPro.Examples.ObjectSpin::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObjectSpin_Update_m7FB0886C3E6D76C0020E4D38DC1C44AB70BF3695 (ObjectSpin_tE4A801A6C63FE0773DE2FD043571CB80CC9F194B * __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
{
// if (Motion == MotionType.Rotation)
int32_t L_0 = __this->___Motion_13;
if (L_0)
{
goto IL_002a;
}
}
{
// m_transform.Rotate(0, SpinSpeed * Time.deltaTime, 0);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_1 = __this->___m_transform_6;
float L_2 = __this->___SpinSpeed_4;
float L_3;
L_3 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
Transform_Rotate_m7EA47AD57F43D478CCB0523D179950EE49CDA3E2(L_1, (0.0f), ((float)il2cpp_codegen_multiply((float)L_2, (float)L_3)), (0.0f), NULL);
return;
}
IL_002a:
{
// else if (Motion == MotionType.BackAndForth)
int32_t L_4 = __this->___Motion_13;
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
{
goto IL_0092;
}
}
{
// m_time += SpinSpeed * Time.deltaTime;
float L_5 = __this->___m_time_7;
float L_6 = __this->___SpinSpeed_4;
float L_7;
L_7 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
__this->___m_time_7 = ((float)il2cpp_codegen_add((float)L_5, (float)((float)il2cpp_codegen_multiply((float)L_6, (float)L_7))));
// m_transform.rotation = Quaternion.Euler(m_initial_Rotation.x, Mathf.Sin(m_time) * RotationRange + m_initial_Rotation.y, m_initial_Rotation.z);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_8 = __this->___m_transform_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_9 = (&__this->___m_initial_Rotation_9);
float L_10 = L_9->___x_2;
float L_11 = __this->___m_time_7;
float L_12;
L_12 = sinf(L_11);
int32_t L_13 = __this->___RotationRange_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_14 = (&__this->___m_initial_Rotation_9);
float L_15 = L_14->___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_16 = (&__this->___m_initial_Rotation_9);
float L_17 = L_16->___z_4;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
L_18 = Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline(L_10, ((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_multiply((float)L_12, (float)((float)((float)L_13)))), (float)L_15)), L_17, NULL);
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_8, L_18, NULL);
return;
}
IL_0092:
{
// m_time += SpinSpeed * Time.deltaTime;
float L_19 = __this->___m_time_7;
float L_20 = __this->___SpinSpeed_4;
float L_21;
L_21 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
__this->___m_time_7 = ((float)il2cpp_codegen_add((float)L_19, (float)((float)il2cpp_codegen_multiply((float)L_20, (float)L_21))));
// float x = 15 * Mathf.Cos(m_time * .95f);
float L_22 = __this->___m_time_7;
float L_23;
L_23 = cosf(((float)il2cpp_codegen_multiply((float)L_22, (float)(0.949999988f))));
V_0 = ((float)il2cpp_codegen_multiply((float)(15.0f), (float)L_23));
// float y = 10; // *Mathf.Sin(m_time * 1f) * Mathf.Cos(m_time * 1f);
V_1 = (10.0f);
// float z = 0f; // *Mathf.Sin(m_time * .9f);
V_2 = (0.0f);
// m_transform.position = m_initial_Position + new Vector3(x, z, y);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_24 = __this->___m_transform_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = __this->___m_initial_Position_10;
float L_26 = V_0;
float L_27 = V_2;
float L_28 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
memset((&L_29), 0, sizeof(L_29));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_29), L_26, L_27, L_28, /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
L_30 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_25, L_29, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_24, L_30, NULL);
// m_prevPOS = m_transform.position;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_31 = __this->___m_transform_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
L_32 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_31, NULL);
__this->___m_prevPOS_8 = L_32;
// frames += 1;
int32_t L_33 = __this->___frames_12;
__this->___frames_12 = ((int32_t)il2cpp_codegen_add((int32_t)L_33, (int32_t)1));
// }
return;
}
}
// System.Void TMPro.Examples.ObjectSpin::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ObjectSpin__ctor_mA786C14AE887FF4012A35FAB3DF59ECF6A77835A (ObjectSpin_tE4A801A6C63FE0773DE2FD043571CB80CC9F194B * __this, const RuntimeMethod* method)
{
{
// public float SpinSpeed = 5;
__this->___SpinSpeed_4 = (5.0f);
// public int RotationRange = 15;
__this->___RotationRange_5 = ((int32_t)15);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.ShaderPropAnimator::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ShaderPropAnimator_Awake_m3D158D58F1840CBDA3B887326275893121E31371 (ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// m_Renderer = GetComponent<Renderer>();
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * L_0;
L_0 = Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8(__this, Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
__this->___m_Renderer_4 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Renderer_4), (void*)L_0);
// m_Material = m_Renderer.material;
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * L_1 = __this->___m_Renderer_4;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_2;
L_2 = Renderer_get_material_m5BA2A00816C4CC66580D4B2E409CF10718C15656(L_1, NULL);
__this->___m_Material_5 = L_2;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Material_5), (void*)L_2);
// }
return;
}
}
// System.Void TMPro.Examples.ShaderPropAnimator::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ShaderPropAnimator_Start_mEF0B5D3EE00206199ABB80CE893AA85DF3FE5C88 (ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * __this, const RuntimeMethod* method)
{
{
// StartCoroutine(AnimateProperties());
RuntimeObject* L_0;
L_0 = ShaderPropAnimator_AnimateProperties_m9F466F9C9554AA7488F4607E7FAC9A5C61F46D56(__this, NULL);
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * L_1;
L_1 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_0, NULL);
// }
return;
}
}
// System.Collections.IEnumerator TMPro.Examples.ShaderPropAnimator::AnimateProperties()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* ShaderPropAnimator_AnimateProperties_m9F466F9C9554AA7488F4607E7FAC9A5C61F46D56 (ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB * L_0 = (U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB *)il2cpp_codegen_object_new(U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB_il2cpp_TypeInfo_var);
U3CAnimatePropertiesU3Ed__6__ctor_m2B0F8A634812D7FE998DD35188C5F07797E4FB0D(L_0, 0, /*hidden argument*/NULL);
U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB * L_1 = L_0;
L_1->___U3CU3E4__this_2 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
return L_1;
}
}
// System.Void TMPro.Examples.ShaderPropAnimator::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ShaderPropAnimator__ctor_m51C29C66EFD7FCA3AE68CDEFD38A4A89BF48220B (ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.ShaderPropAnimator/<AnimateProperties>d__6::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimatePropertiesU3Ed__6__ctor_m2B0F8A634812D7FE998DD35188C5F07797E4FB0D (U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.ShaderPropAnimator/<AnimateProperties>d__6::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimatePropertiesU3Ed__6_System_IDisposable_Dispose_mCF53541AABFDC14249868837689AC287470F4E71 (U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.ShaderPropAnimator/<AnimateProperties>d__6::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CAnimatePropertiesU3Ed__6_MoveNext_mB9586A9B61959C3BC38EFB8FC83109785F93F6AC (U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * V_1 = NULL;
float V_2 = 0.0f;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
if (!L_2)
{
goto IL_0017;
}
}
{
int32_t L_3 = V_0;
if ((((int32_t)L_3) == ((int32_t)1)))
{
goto IL_008c;
}
}
{
return (bool)0;
}
IL_0017:
{
__this->___U3CU3E1__state_0 = (-1);
// m_frame = Random.Range(0f, 1f);
ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * L_4 = V_1;
float L_5;
L_5 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((0.0f), (1.0f), NULL);
L_4->___m_frame_7 = L_5;
}
IL_0033:
{
// glowPower = GlowCurve.Evaluate(m_frame);
ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * L_6 = V_1;
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_7 = L_6->___GlowCurve_6;
ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * L_8 = V_1;
float L_9 = L_8->___m_frame_7;
float L_10;
L_10 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_7, L_9, NULL);
V_2 = L_10;
// m_Material.SetFloat(ShaderUtilities.ID_GlowPower, glowPower);
ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * L_11 = V_1;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_12 = L_11->___m_Material_5;
il2cpp_codegen_runtime_class_init_inline(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var);
int32_t L_13 = ((ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_StaticFields*)il2cpp_codegen_static_fields_for(ShaderUtilities_t9BE0345DF949745FC0EB9A1119E204F2F129298F_il2cpp_TypeInfo_var))->___ID_GlowPower_31;
float L_14 = V_2;
Material_SetFloat_m3ECFD92072347A8620254F014865984FA68211A8(L_12, L_13, L_14, NULL);
// m_frame += Time.deltaTime * Random.Range(0.2f, 0.3f);
ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * L_15 = V_1;
ShaderPropAnimator_t768B23A41FC3CFB5B3C2501C2411B4DEBA296906 * L_16 = V_1;
float L_17 = L_16->___m_frame_7;
float L_18;
L_18 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
float L_19;
L_19 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((0.200000003f), (0.300000012f), NULL);
L_15->___m_frame_7 = ((float)il2cpp_codegen_add((float)L_17, (float)((float)il2cpp_codegen_multiply((float)L_18, (float)L_19))));
// yield return new WaitForEndOfFrame();
WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663 * L_20 = (WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663 *)il2cpp_codegen_object_new(WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663_il2cpp_TypeInfo_var);
WaitForEndOfFrame__ctor_m4AF7E576C01E6B04443BB898B1AE5D645F7D45AB(L_20, /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_20;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_20);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_008c:
{
__this->___U3CU3E1__state_0 = (-1);
// while (true)
goto IL_0033;
}
}
// System.Object TMPro.Examples.ShaderPropAnimator/<AnimateProperties>d__6::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CAnimatePropertiesU3Ed__6_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m7A34F7423FA726A91524CBA0CDD2A25E4AF8EE95 (U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.ShaderPropAnimator/<AnimateProperties>d__6::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimatePropertiesU3Ed__6_System_Collections_IEnumerator_Reset_m1C76BF8EAC2CDC2BAC58755622763B9318DA51CA (U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CAnimatePropertiesU3Ed__6_System_Collections_IEnumerator_Reset_m1C76BF8EAC2CDC2BAC58755622763B9318DA51CA_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.ShaderPropAnimator/<AnimateProperties>d__6::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CAnimatePropertiesU3Ed__6_System_Collections_IEnumerator_get_Current_m289720A67EB6696F350EAC41DAAE3B917031B7EA (U3CAnimatePropertiesU3Ed__6_tF5A2F267919D456EDB1730E0AF6F8776728475FB * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.SimpleScript::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleScript_Start_mC4159EF79F863FBD86AEA2B81D86FDF04834A6F8 (SimpleScript_t2024C71CEB7376A61970D719F7476FCEB3390DBF * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// m_textMeshPro = gameObject.AddComponent<TextMeshPro>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_0;
L_0 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_1;
L_1 = GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C(L_0, GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
__this->___m_textMeshPro_4 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_textMeshPro_4), (void*)L_1);
// m_textMeshPro.autoSizeTextContainer = true;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_2 = __this->___m_textMeshPro_4;
VirtualActionInvoker1< bool >::Invoke(76 /* System.Void TMPro.TMP_Text::set_autoSizeTextContainer(System.Boolean) */, L_2, (bool)1);
// m_textMeshPro.fontSize = 48;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_3 = __this->___m_textMeshPro_4;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_3, (48.0f), NULL);
// m_textMeshPro.alignment = TextAlignmentOptions.Center;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_4 = __this->___m_textMeshPro_4;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_4, ((int32_t)514), NULL);
// m_textMeshPro.enableWordWrapping = false;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_5 = __this->___m_textMeshPro_4;
TMP_Text_set_enableWordWrapping_mFAEE849315B4723F9C86C127B1A59EF50BE1C12F(L_5, (bool)0, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.SimpleScript::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleScript_Update_mBD8A31D53D01FEBB9B432077599239AC6A5DEAFE (SimpleScript_t2024C71CEB7376A61970D719F7476FCEB3390DBF * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral71B680ABF9213B3E8FB888056C235C79CFE83314);
s_Il2CppMethodInitialized = true;
}
{
// m_textMeshPro.SetText(label, m_frame % 1000);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_0 = __this->___m_textMeshPro_4;
float L_1 = __this->___m_frame_6;
TMP_Text_SetText_mC6973FFC60DB6A96B0C4253CD2FD9D0789ECC533(L_0, _stringLiteral71B680ABF9213B3E8FB888056C235C79CFE83314, (fmodf(L_1, (1000.0f))), NULL);
// m_frame += 1 * Time.deltaTime;
float L_2 = __this->___m_frame_6;
float L_3;
L_3 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
__this->___m_frame_6 = ((float)il2cpp_codegen_add((float)L_2, (float)((float)il2cpp_codegen_multiply((float)(1.0f), (float)L_3))));
// }
return;
}
}
// System.Void TMPro.Examples.SimpleScript::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SimpleScript__ctor_mC91E912195EEE18292A8FCA7650739E3DDB81807 (SimpleScript_t2024C71CEB7376A61970D719F7476FCEB3390DBF * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.SkewTextExample::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SkewTextExample_Awake_m2D48E0903620C2D870D5176FCFD12A8989801C93 (SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_mA59A63181077B821132B53D44724D7F86C6FECB3_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// m_TextComponent = gameObject.GetComponent<TMP_Text>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_0;
L_0 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_1;
L_1 = GameObject_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_mA59A63181077B821132B53D44724D7F86C6FECB3(L_0, GameObject_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_mA59A63181077B821132B53D44724D7F86C6FECB3_RuntimeMethod_var);
__this->___m_TextComponent_4 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextComponent_4), (void*)L_1);
// }
return;
}
}
// System.Void TMPro.Examples.SkewTextExample::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SkewTextExample_Start_m7577B96B07C4EB0666BF6F028074176258009690 (SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * __this, const RuntimeMethod* method)
{
{
// StartCoroutine(WarpText());
RuntimeObject* L_0;
L_0 = SkewTextExample_WarpText_m462DE1568957770D72704E93D2461D8371C0D362(__this, NULL);
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * L_1;
L_1 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_0, NULL);
// }
return;
}
}
// UnityEngine.AnimationCurve TMPro.Examples.SkewTextExample::CopyAnimationCurve(UnityEngine.AnimationCurve)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * SkewTextExample_CopyAnimationCurve_mD2C2C4CA7AFBAAC9F4B04CB2896DB9B32B015ACB (SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * __this, AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * ___curve0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// AnimationCurve newCurve = new AnimationCurve();
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_0 = (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 *)il2cpp_codegen_object_new(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
AnimationCurve__ctor_m0D976567166F92383307DC8EB8D7082CD34E226F(L_0, /*hidden argument*/NULL);
// newCurve.keys = curve.keys;
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_1 = L_0;
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_2 = ___curve0;
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_3;
L_3 = AnimationCurve_get_keys_m34452C69464AB459C04BFFEA4F541F06B419AC4E(L_2, NULL);
AnimationCurve_set_keys_mBE1284B44CDBB1D8381177A3D581A6E71467F95C(L_1, L_3, NULL);
// return newCurve;
return L_1;
}
}
// System.Collections.IEnumerator TMPro.Examples.SkewTextExample::WarpText()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* SkewTextExample_WarpText_m462DE1568957770D72704E93D2461D8371C0D362 (SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508 * L_0 = (U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508 *)il2cpp_codegen_object_new(U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508_il2cpp_TypeInfo_var);
U3CWarpTextU3Ed__7__ctor_m39944C7E44F317ACDEC971C8FF2DEC8EA1CCC1C2(L_0, 0, /*hidden argument*/NULL);
U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508 * L_1 = L_0;
L_1->___U3CU3E4__this_2 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
return L_1;
}
}
// System.Void TMPro.Examples.SkewTextExample::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SkewTextExample__ctor_m711325FB390A6DFA994B6ADF746C9EBF846A0A22 (SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// public AnimationCurve VertexCurve = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.25f, 2.0f), new Keyframe(0.5f, 0), new Keyframe(0.75f, 2.0f), new Keyframe(1, 0f));
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_0 = (KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3*)SZArrayNew(KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3_il2cpp_TypeInfo_var, (uint32_t)5);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_1 = L_0;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_2;
memset((&L_2), 0, sizeof(L_2));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_2), (0.0f), (0.0f), /*hidden argument*/NULL);
(L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 )L_2);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_3 = L_1;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_4;
memset((&L_4), 0, sizeof(L_4));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_4), (0.25f), (2.0f), /*hidden argument*/NULL);
(L_3)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 )L_4);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_5 = L_3;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_6;
memset((&L_6), 0, sizeof(L_6));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_6), (0.5f), (0.0f), /*hidden argument*/NULL);
(L_5)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 )L_6);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_7 = L_5;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_8;
memset((&L_8), 0, sizeof(L_8));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_8), (0.75f), (2.0f), /*hidden argument*/NULL);
(L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 )L_8);
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_9 = L_7;
Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 L_10;
memset((&L_10), 0, sizeof(L_10));
Keyframe__ctor_mECF144086B28785BE911A22C06194A9E0FBF3C34((&L_10), (1.0f), (0.0f), /*hidden argument*/NULL);
(L_9)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (Keyframe_tB9C67DCBFE10C0AE9C52CB5C66E944255C9254F0 )L_10);
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_11 = (AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 *)il2cpp_codegen_object_new(AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354_il2cpp_TypeInfo_var);
AnimationCurve__ctor_mEABC98C03805713354D61E50D9340766BD5B717E(L_11, L_9, /*hidden argument*/NULL);
__this->___VertexCurve_5 = L_11;
Il2CppCodeGenWriteBarrier((void**)(&__this->___VertexCurve_5), (void*)L_11);
// public float CurveScale = 1.0f;
__this->___CurveScale_6 = (1.0f);
// public float ShearAmount = 1.0f;
__this->___ShearAmount_7 = (1.0f);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.SkewTextExample/<WarpText>d__7::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CWarpTextU3Ed__7__ctor_m39944C7E44F317ACDEC971C8FF2DEC8EA1CCC1C2 (U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.SkewTextExample/<WarpText>d__7::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CWarpTextU3Ed__7_System_IDisposable_Dispose_m54C900BFB8433103FA97A4E50B2C941D431B5A51 (U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.SkewTextExample/<WarpText>d__7::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CWarpTextU3Ed__7_MoveNext_m50CEEC92FE0C83768B366E9F9B5B1C9DEF85928E (U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * V_1 = NULL;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_2 = NULL;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_3;
memset((&V_3), 0, sizeof(V_3));
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * V_4 = NULL;
int32_t V_5 = 0;
float V_6 = 0.0f;
float V_7 = 0.0f;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_8;
memset((&V_8), 0, sizeof(V_8));
int32_t V_9 = 0;
int32_t V_10 = 0;
int32_t V_11 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_12;
memset((&V_12), 0, sizeof(V_12));
float V_13 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_14;
memset((&V_14), 0, sizeof(V_14));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_15;
memset((&V_15), 0, sizeof(V_15));
float V_16 = 0.0f;
float V_17 = 0.0f;
float V_18 = 0.0f;
float V_19 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_20;
memset((&V_20), 0, sizeof(V_20));
float V_21 = 0.0f;
float V_22 = 0.0f;
float G_B15_0 = 0.0f;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0022;
}
case 1:
{
goto IL_00f0;
}
case 2:
{
goto IL_0596;
}
}
}
{
return (bool)0;
}
IL_0022:
{
__this->___U3CU3E1__state_0 = (-1);
// VertexCurve.preWrapMode = WrapMode.Clamp;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_3 = V_1;
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_4 = L_3->___VertexCurve_5;
AnimationCurve_set_preWrapMode_mA618E67F536483FA5F3507A2D97C045E089D1B2D(L_4, 1, NULL);
// VertexCurve.postWrapMode = WrapMode.Clamp;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_5 = V_1;
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_6 = L_5->___VertexCurve_5;
AnimationCurve_set_postWrapMode_m39A4758ABD5D2AEE475940829352792FE7E9CBA9(L_6, 1, NULL);
// m_TextComponent.havePropertiesChanged = true; // Need to force the TextMeshPro Object to be updated.
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_7 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_8 = L_7->___m_TextComponent_4;
TMP_Text_set_havePropertiesChanged_mA38D7BC9E260BF29450738B827F2220A05662B31(L_8, (bool)1, NULL);
// CurveScale *= 10;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_9 = V_1;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_10 = V_1;
float L_11 = L_10->___CurveScale_6;
L_9->___CurveScale_6 = ((float)il2cpp_codegen_multiply((float)L_11, (float)(10.0f)));
// float old_CurveScale = CurveScale;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_12 = V_1;
float L_13 = L_12->___CurveScale_6;
__this->___U3Cold_CurveScaleU3E5__2_3 = L_13;
// float old_ShearValue = ShearAmount;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_14 = V_1;
float L_15 = L_14->___ShearAmount_7;
__this->___U3Cold_ShearValueU3E5__3_4 = L_15;
// AnimationCurve old_curve = CopyAnimationCurve(VertexCurve);
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_16 = V_1;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_17 = V_1;
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_18 = L_17->___VertexCurve_5;
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_19;
L_19 = SkewTextExample_CopyAnimationCurve_mD2C2C4CA7AFBAAC9F4B04CB2896DB9B32B015ACB(L_16, L_18, NULL);
__this->___U3Cold_curveU3E5__4_5 = L_19;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3Cold_curveU3E5__4_5), (void*)L_19);
}
IL_0089:
{
// if (!m_TextComponent.havePropertiesChanged && old_CurveScale == CurveScale && old_curve.keys[1].value == VertexCurve.keys[1].value && old_ShearValue == ShearAmount)
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_20 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_21 = L_20->___m_TextComponent_4;
bool L_22;
L_22 = TMP_Text_get_havePropertiesChanged_m42ECC7D1CA0DF6E59ACF761EB20635E81FCB8EFF_inline(L_21, NULL);
if (L_22)
{
goto IL_00f9;
}
}
{
float L_23 = __this->___U3Cold_CurveScaleU3E5__2_3;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_24 = V_1;
float L_25 = L_24->___CurveScale_6;
if ((!(((float)L_23) == ((float)L_25))))
{
goto IL_00f9;
}
}
{
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_26 = __this->___U3Cold_curveU3E5__4_5;
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_27;
L_27 = AnimationCurve_get_keys_m34452C69464AB459C04BFFEA4F541F06B419AC4E(L_26, NULL);
float L_28;
L_28 = Keyframe_get_value_m53E6B7609086AAAA46E24BAF734EF08E16A3FD6C(((L_27)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(1))), NULL);
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_29 = V_1;
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_30 = L_29->___VertexCurve_5;
KeyframeU5BU5D_t63250A46914A6A07B2A6689850D47D7D19D80BA3* L_31;
L_31 = AnimationCurve_get_keys_m34452C69464AB459C04BFFEA4F541F06B419AC4E(L_30, NULL);
float L_32;
L_32 = Keyframe_get_value_m53E6B7609086AAAA46E24BAF734EF08E16A3FD6C(((L_31)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(1))), NULL);
if ((!(((float)L_28) == ((float)L_32))))
{
goto IL_00f9;
}
}
{
float L_33 = __this->___U3Cold_ShearValueU3E5__3_4;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_34 = V_1;
float L_35 = L_34->___ShearAmount_7;
if ((!(((float)L_33) == ((float)L_35))))
{
goto IL_00f9;
}
}
{
// yield return null;
__this->___U3CU3E2__current_1 = NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_00f0:
{
__this->___U3CU3E1__state_0 = (-1);
// continue;
goto IL_0089;
}
IL_00f9:
{
// old_CurveScale = CurveScale;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_36 = V_1;
float L_37 = L_36->___CurveScale_6;
__this->___U3Cold_CurveScaleU3E5__2_3 = L_37;
// old_curve = CopyAnimationCurve(VertexCurve);
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_38 = V_1;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_39 = V_1;
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_40 = L_39->___VertexCurve_5;
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_41;
L_41 = SkewTextExample_CopyAnimationCurve_mD2C2C4CA7AFBAAC9F4B04CB2896DB9B32B015ACB(L_38, L_40, NULL);
__this->___U3Cold_curveU3E5__4_5 = L_41;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3Cold_curveU3E5__4_5), (void*)L_41);
// old_ShearValue = ShearAmount;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_42 = V_1;
float L_43 = L_42->___ShearAmount_7;
__this->___U3Cold_ShearValueU3E5__3_4 = L_43;
// m_TextComponent.ForceMeshUpdate(); // Generate the mesh and populate the textInfo with data we can use and manipulate.
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_44 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_45 = L_44->___m_TextComponent_4;
VirtualActionInvoker2< bool, bool >::Invoke(106 /* System.Void TMPro.TMP_Text::ForceMeshUpdate(System.Boolean,System.Boolean) */, L_45, (bool)0, (bool)0);
// TMP_TextInfo textInfo = m_TextComponent.textInfo;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_46 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_47 = L_46->___m_TextComponent_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_48;
L_48 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_47, NULL);
V_4 = L_48;
// int characterCount = textInfo.characterCount;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_49 = V_4;
int32_t L_50 = L_49->___characterCount_3;
V_5 = L_50;
// if (characterCount == 0) continue;
int32_t L_51 = V_5;
if (!L_51)
{
goto IL_0089;
}
}
{
// float boundsMinX = m_TextComponent.bounds.min.x; //textInfo.meshInfo[0].mesh.bounds.min.x;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_52 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_53 = L_52->___m_TextComponent_4;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_54;
L_54 = TMP_Text_get_bounds_mAEE407DE6CA2E1D1180868C03A3F0A3B6E455189(L_53, NULL);
V_8 = L_54;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
L_55 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_8), NULL);
float L_56 = L_55.___x_2;
V_6 = L_56;
// float boundsMaxX = m_TextComponent.bounds.max.x; //textInfo.meshInfo[0].mesh.bounds.max.x;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_57 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_58 = L_57->___m_TextComponent_4;
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_59;
L_59 = TMP_Text_get_bounds_mAEE407DE6CA2E1D1180868C03A3F0A3B6E455189(L_58, NULL);
V_8 = L_59;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
L_60 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&V_8), NULL);
float L_61 = L_60.___x_2;
V_7 = L_61;
// for (int i = 0; i < characterCount; i++)
V_9 = 0;
goto IL_0572;
}
IL_018b:
{
// if (!textInfo.characterInfo[i].isVisible)
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_62 = V_4;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_63 = L_62->___characterInfo_11;
int32_t L_64 = V_9;
bool L_65 = ((L_63)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_64)))->___isVisible_40;
if (!L_65)
{
goto IL_056c;
}
}
{
// int vertexIndex = textInfo.characterInfo[i].vertexIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_66 = V_4;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_67 = L_66->___characterInfo_11;
int32_t L_68 = V_9;
int32_t L_69 = ((L_67)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_68)))->___vertexIndex_14;
V_10 = L_69;
// int materialIndex = textInfo.characterInfo[i].materialReferenceIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_70 = V_4;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_71 = L_70->___characterInfo_11;
int32_t L_72 = V_9;
int32_t L_73 = ((L_71)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_72)))->___materialReferenceIndex_9;
V_11 = L_73;
// vertices = textInfo.meshInfo[materialIndex].vertices;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_74 = V_4;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_75 = L_74->___meshInfo_16;
int32_t L_76 = V_11;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_77 = ((L_75)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_76)))->___vertices_6;
V_2 = L_77;
// Vector3 offsetToMidBaseline = new Vector2((vertices[vertexIndex + 0].x + vertices[vertexIndex + 2].x) / 2, textInfo.characterInfo[i].baseLine);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_78 = V_2;
int32_t L_79 = V_10;
float L_80 = ((L_78)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_79)))->___x_2;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_81 = V_2;
int32_t L_82 = V_10;
float L_83 = ((L_81)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_82, (int32_t)2)))))->___x_2;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_84 = V_4;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_85 = L_84->___characterInfo_11;
int32_t L_86 = V_9;
float L_87 = ((L_85)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_86)))->___baseLine_26;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_88;
memset((&L_88), 0, sizeof(L_88));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_88), ((float)((float)((float)il2cpp_codegen_add((float)L_80, (float)L_83))/(float)(2.0f))), L_87, /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89;
L_89 = Vector2_op_Implicit_mCD214B04BC52AED3C89C3BEF664B6247E5F8954A_inline(L_88, NULL);
V_12 = L_89;
// vertices[vertexIndex + 0] += -offsetToMidBaseline;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_90 = V_2;
int32_t L_91 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_92 = ((L_90)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_91)));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_92);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94 = V_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95;
L_95 = Vector3_op_UnaryNegation_m3AC523A7BED6E843165BDF598690F0560D8CAA63_inline(L_94, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96;
L_96 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_93, L_95, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_92 = L_96;
// vertices[vertexIndex + 1] += -offsetToMidBaseline;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_97 = V_2;
int32_t L_98 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_99 = ((L_97)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_98, (int32_t)1)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_99);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101 = V_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102;
L_102 = Vector3_op_UnaryNegation_m3AC523A7BED6E843165BDF598690F0560D8CAA63_inline(L_101, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103;
L_103 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_100, L_102, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_99 = L_103;
// vertices[vertexIndex + 2] += -offsetToMidBaseline;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_104 = V_2;
int32_t L_105 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_106 = ((L_104)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_105, (int32_t)2)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_107 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_106);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_108 = V_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_109;
L_109 = Vector3_op_UnaryNegation_m3AC523A7BED6E843165BDF598690F0560D8CAA63_inline(L_108, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110;
L_110 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_107, L_109, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_106 = L_110;
// vertices[vertexIndex + 3] += -offsetToMidBaseline;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_111 = V_2;
int32_t L_112 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_113 = ((L_111)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_112, (int32_t)3)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_114 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_113);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_115 = V_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_116;
L_116 = Vector3_op_UnaryNegation_m3AC523A7BED6E843165BDF598690F0560D8CAA63_inline(L_115, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117;
L_117 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_114, L_116, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_113 = L_117;
// float shear_value = ShearAmount * 0.01f;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_118 = V_1;
float L_119 = L_118->___ShearAmount_7;
V_13 = ((float)il2cpp_codegen_multiply((float)L_119, (float)(0.00999999978f)));
// Vector3 topShear = new Vector3(shear_value * (textInfo.characterInfo[i].topRight.y - textInfo.characterInfo[i].baseLine), 0, 0);
float L_120 = V_13;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_121 = V_4;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_122 = L_121->___characterInfo_11;
int32_t L_123 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_124 = (&((L_122)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_123)))->___topRight_21);
float L_125 = L_124->___y_3;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_126 = V_4;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_127 = L_126->___characterInfo_11;
int32_t L_128 = V_9;
float L_129 = ((L_127)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_128)))->___baseLine_26;
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_14), ((float)il2cpp_codegen_multiply((float)L_120, (float)((float)il2cpp_codegen_subtract((float)L_125, (float)L_129)))), (0.0f), (0.0f), NULL);
// Vector3 bottomShear = new Vector3(shear_value * (textInfo.characterInfo[i].baseLine - textInfo.characterInfo[i].bottomRight.y), 0, 0);
float L_130 = V_13;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_131 = V_4;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_132 = L_131->___characterInfo_11;
int32_t L_133 = V_9;
float L_134 = ((L_132)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_133)))->___baseLine_26;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_135 = V_4;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_136 = L_135->___characterInfo_11;
int32_t L_137 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_138 = (&((L_136)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_137)))->___bottomRight_22);
float L_139 = L_138->___y_3;
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_15), ((float)il2cpp_codegen_multiply((float)L_130, (float)((float)il2cpp_codegen_subtract((float)L_134, (float)L_139)))), (0.0f), (0.0f), NULL);
// vertices[vertexIndex + 0] += -bottomShear;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_140 = V_2;
int32_t L_141 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_142 = ((L_140)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_141)));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_143 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_142);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_144 = V_15;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_145;
L_145 = Vector3_op_UnaryNegation_m3AC523A7BED6E843165BDF598690F0560D8CAA63_inline(L_144, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_146;
L_146 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_143, L_145, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_142 = L_146;
// vertices[vertexIndex + 1] += topShear;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_147 = V_2;
int32_t L_148 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_149 = ((L_147)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_148, (int32_t)1)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_150 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_149);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_151 = V_14;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_152;
L_152 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_150, L_151, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_149 = L_152;
// vertices[vertexIndex + 2] += topShear;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_153 = V_2;
int32_t L_154 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_155 = ((L_153)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_154, (int32_t)2)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_156 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_155);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_157 = V_14;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_158;
L_158 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_156, L_157, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_155 = L_158;
// vertices[vertexIndex + 3] += -bottomShear;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_159 = V_2;
int32_t L_160 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_161 = ((L_159)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_160, (int32_t)3)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_162 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_161);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_163 = V_15;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_164;
L_164 = Vector3_op_UnaryNegation_m3AC523A7BED6E843165BDF598690F0560D8CAA63_inline(L_163, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_165;
L_165 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_162, L_164, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_161 = L_165;
// float x0 = (offsetToMidBaseline.x - boundsMinX) / (boundsMaxX - boundsMinX); // Character's position relative to the bounds of the mesh.
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_166 = V_12;
float L_167 = L_166.___x_2;
float L_168 = V_6;
float L_169 = V_7;
float L_170 = V_6;
V_16 = ((float)((float)((float)il2cpp_codegen_subtract((float)L_167, (float)L_168))/(float)((float)il2cpp_codegen_subtract((float)L_169, (float)L_170))));
// float x1 = x0 + 0.0001f;
float L_171 = V_16;
V_17 = ((float)il2cpp_codegen_add((float)L_171, (float)(9.99999975E-05f)));
// float y0 = VertexCurve.Evaluate(x0) * CurveScale;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_172 = V_1;
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_173 = L_172->___VertexCurve_5;
float L_174 = V_16;
float L_175;
L_175 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_173, L_174, NULL);
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_176 = V_1;
float L_177 = L_176->___CurveScale_6;
V_18 = ((float)il2cpp_codegen_multiply((float)L_175, (float)L_177));
// float y1 = VertexCurve.Evaluate(x1) * CurveScale;
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_178 = V_1;
AnimationCurve_tCBFFAAD05CEBB35EF8D8631BD99914BE1A6BB354 * L_179 = L_178->___VertexCurve_5;
float L_180 = V_17;
float L_181;
L_181 = AnimationCurve_Evaluate_m50B857043DE251A186032ADBCBB4CEF817F4EE3C(L_179, L_180, NULL);
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_182 = V_1;
float L_183 = L_182->___CurveScale_6;
V_19 = ((float)il2cpp_codegen_multiply((float)L_181, (float)L_183));
// Vector3 horizontal = new Vector3(1, 0, 0);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_184;
memset((&L_184), 0, sizeof(L_184));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_184), (1.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
// Vector3 tangent = new Vector3(x1 * (boundsMaxX - boundsMinX) + boundsMinX, y1) - new Vector3(offsetToMidBaseline.x, y0);
float L_185 = V_17;
float L_186 = V_7;
float L_187 = V_6;
float L_188 = V_6;
float L_189 = V_19;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_190;
memset((&L_190), 0, sizeof(L_190));
Vector3__ctor_m5F87930F9B0828E5652E2D9D01ED907C01122C86_inline((&L_190), ((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_multiply((float)L_185, (float)((float)il2cpp_codegen_subtract((float)L_186, (float)L_187)))), (float)L_188)), L_189, /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_191 = V_12;
float L_192 = L_191.___x_2;
float L_193 = V_18;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_194;
memset((&L_194), 0, sizeof(L_194));
Vector3__ctor_m5F87930F9B0828E5652E2D9D01ED907C01122C86_inline((&L_194), L_192, L_193, /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_195;
L_195 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_190, L_194, NULL);
V_20 = L_195;
// float dot = Mathf.Acos(Vector3.Dot(horizontal, tangent.normalized)) * 57.2957795f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_196 = L_184;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_197;
L_197 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_20), NULL);
float L_198;
L_198 = Vector3_Dot_m4688A1A524306675DBDB1E6D483F35E85E3CE6D8_inline(L_196, L_197, NULL);
float L_199;
L_199 = acosf(L_198);
V_21 = ((float)il2cpp_codegen_multiply((float)L_199, (float)(57.2957802f)));
// Vector3 cross = Vector3.Cross(horizontal, tangent);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_200 = V_20;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_201;
L_201 = Vector3_Cross_m77F64620D73934C56BEE37A64016DBDCB9D21DB8_inline(L_196, L_200, NULL);
// float angle = cross.z > 0 ? dot : 360 - dot;
float L_202 = L_201.___z_4;
if ((((float)L_202) > ((float)(0.0f))))
{
goto IL_0465;
}
}
{
float L_203 = V_21;
G_B15_0 = ((float)il2cpp_codegen_subtract((float)(360.0f), (float)L_203));
goto IL_0467;
}
IL_0465:
{
float L_204 = V_21;
G_B15_0 = L_204;
}
IL_0467:
{
V_22 = G_B15_0;
// matrix = Matrix4x4.TRS(new Vector3(0, y0, 0), Quaternion.Euler(0, 0, angle), Vector3.one);
float L_205 = V_18;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_206;
memset((&L_206), 0, sizeof(L_206));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_206), (0.0f), L_205, (0.0f), /*hidden argument*/NULL);
float L_207 = V_22;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_208;
L_208 = Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline((0.0f), (0.0f), L_207, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_209;
L_209 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_210;
L_210 = Matrix4x4_TRS_mFEBA6926DB0044B96EF0CE98F30FEE7596820680(L_206, L_208, L_209, NULL);
V_3 = L_210;
// vertices[vertexIndex + 0] = matrix.MultiplyPoint3x4(vertices[vertexIndex + 0]);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_211 = V_2;
int32_t L_212 = V_10;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_213 = V_2;
int32_t L_214 = V_10;
int32_t L_215 = L_214;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_216 = (L_213)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_215));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_217;
L_217 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_3), L_216, NULL);
(L_211)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_212), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_217);
// vertices[vertexIndex + 1] = matrix.MultiplyPoint3x4(vertices[vertexIndex + 1]);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_218 = V_2;
int32_t L_219 = V_10;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_220 = V_2;
int32_t L_221 = V_10;
int32_t L_222 = ((int32_t)il2cpp_codegen_add((int32_t)L_221, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_223 = (L_220)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_222));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_224;
L_224 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_3), L_223, NULL);
(L_218)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_219, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_224);
// vertices[vertexIndex + 2] = matrix.MultiplyPoint3x4(vertices[vertexIndex + 2]);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_225 = V_2;
int32_t L_226 = V_10;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_227 = V_2;
int32_t L_228 = V_10;
int32_t L_229 = ((int32_t)il2cpp_codegen_add((int32_t)L_228, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_230 = (L_227)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_229));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_231;
L_231 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_3), L_230, NULL);
(L_225)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_226, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_231);
// vertices[vertexIndex + 3] = matrix.MultiplyPoint3x4(vertices[vertexIndex + 3]);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_232 = V_2;
int32_t L_233 = V_10;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_234 = V_2;
int32_t L_235 = V_10;
int32_t L_236 = ((int32_t)il2cpp_codegen_add((int32_t)L_235, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_237 = (L_234)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_236));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_238;
L_238 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_3), L_237, NULL);
(L_232)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_233, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_238);
// vertices[vertexIndex + 0] += offsetToMidBaseline;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_239 = V_2;
int32_t L_240 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_241 = ((L_239)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_240)));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_242 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_241);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_243 = V_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_244;
L_244 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_242, L_243, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_241 = L_244;
// vertices[vertexIndex + 1] += offsetToMidBaseline;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_245 = V_2;
int32_t L_246 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_247 = ((L_245)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_246, (int32_t)1)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_248 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_247);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_249 = V_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_250;
L_250 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_248, L_249, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_247 = L_250;
// vertices[vertexIndex + 2] += offsetToMidBaseline;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_251 = V_2;
int32_t L_252 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_253 = ((L_251)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_252, (int32_t)2)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_254 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_253);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_255 = V_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_256;
L_256 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_254, L_255, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_253 = L_256;
// vertices[vertexIndex + 3] += offsetToMidBaseline;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_257 = V_2;
int32_t L_258 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_259 = ((L_257)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_258, (int32_t)3)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_260 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_259);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_261 = V_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_262;
L_262 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_260, L_261, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_259 = L_262;
}
IL_056c:
{
// for (int i = 0; i < characterCount; i++)
int32_t L_263 = V_9;
V_9 = ((int32_t)il2cpp_codegen_add((int32_t)L_263, (int32_t)1));
}
IL_0572:
{
// for (int i = 0; i < characterCount; i++)
int32_t L_264 = V_9;
int32_t L_265 = V_5;
if ((((int32_t)L_264) < ((int32_t)L_265)))
{
goto IL_018b;
}
}
{
// m_TextComponent.UpdateVertexData();
SkewTextExample_t23E1D8362105119C600703D984514C02617441D1 * L_266 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_267 = L_266->___m_TextComponent_4;
VirtualActionInvoker0::Invoke(109 /* System.Void TMPro.TMP_Text::UpdateVertexData() */, L_267);
// yield return null; // new WaitForSeconds(0.025f);
__this->___U3CU3E2__current_1 = NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_0596:
{
__this->___U3CU3E1__state_0 = (-1);
// while (true)
goto IL_0089;
}
}
// System.Object TMPro.Examples.SkewTextExample/<WarpText>d__7::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CWarpTextU3Ed__7_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m79CB1783D2DD0399E051969089A36819EDC66FCB (U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.SkewTextExample/<WarpText>d__7::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CWarpTextU3Ed__7_System_Collections_IEnumerator_Reset_mB6C5974E8F57160AE544E1D2FD44621EEF3ACAB5 (U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508 * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CWarpTextU3Ed__7_System_Collections_IEnumerator_Reset_mB6C5974E8F57160AE544E1D2FD44621EEF3ACAB5_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.SkewTextExample/<WarpText>d__7::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CWarpTextU3Ed__7_System_Collections_IEnumerator_get_Current_m5BDAFBB20F42A6E9EC65B6A2365F5AD98F42A1C5 (U3CWarpTextU3Ed__7_t81F532662DA2606D7C0F4196B3804AB983C30508 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TeleType::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TeleType_Awake_m8D56A3C1E06AD96B35B88C3AA8C61FB2A03E627D (TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// m_textMeshPro = GetComponent<TMP_Text>();
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_0;
L_0 = Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5(__this, Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var);
__this->___m_textMeshPro_6 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_textMeshPro_6), (void*)L_0);
// m_textMeshPro.text = label01;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_1 = __this->___m_textMeshPro_6;
String_t* L_2 = __this->___label01_4;
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_1, L_2);
// m_textMeshPro.enableWordWrapping = true;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_3 = __this->___m_textMeshPro_6;
TMP_Text_set_enableWordWrapping_mFAEE849315B4723F9C86C127B1A59EF50BE1C12F(L_3, (bool)1, NULL);
// m_textMeshPro.alignment = TextAlignmentOptions.Top;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_4 = __this->___m_textMeshPro_6;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_4, ((int32_t)258), NULL);
// }
return;
}
}
// System.Collections.IEnumerator TMPro.Examples.TeleType::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TeleType_Start_m3BFE1E2B1BB5ED247DED9DBEF293FCCBD63760C6 (TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75 * L_0 = (U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75 *)il2cpp_codegen_object_new(U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75_il2cpp_TypeInfo_var);
U3CStartU3Ed__4__ctor_m7CB9C7DF4657B7B70F6ED6EEB00C0F422D8B0CAA(L_0, 0, /*hidden argument*/NULL);
U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75 * L_1 = L_0;
L_1->___U3CU3E4__this_2 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
return L_1;
}
}
// System.Void TMPro.Examples.TeleType::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TeleType__ctor_m824BBE09CC217EB037FFB36756726A9C946526D0 (TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0133981053AC767ED98F641B459173B5499F4EB0);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5225EE496AAB278285733EDA00B46385A27F58CC);
s_Il2CppMethodInitialized = true;
}
{
// private string label01 = "Example <sprite=2> of using <sprite=7> <#ffa000>Graphics Inline</color> <sprite=5> with Text in <font=\"Bangers SDF\" material=\"Bangers SDF - Drop Shadow\">TextMesh<#40a0ff>Pro</color></font><sprite=0> and Unity<sprite=1>";
__this->___label01_4 = _stringLiteral5225EE496AAB278285733EDA00B46385A27F58CC;
Il2CppCodeGenWriteBarrier((void**)(&__this->___label01_4), (void*)_stringLiteral5225EE496AAB278285733EDA00B46385A27F58CC);
// private string label02 = "Example <sprite=2> of using <sprite=7> <#ffa000>Graphics Inline</color> <sprite=5> with Text in <font=\"Bangers SDF\" material=\"Bangers SDF - Drop Shadow\">TextMesh<#40a0ff>Pro</color></font><sprite=0> and Unity<sprite=2>";
__this->___label02_5 = _stringLiteral0133981053AC767ED98F641B459173B5499F4EB0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___label02_5), (void*)_stringLiteral0133981053AC767ED98F641B459173B5499F4EB0);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TeleType/<Start>d__4::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__4__ctor_m7CB9C7DF4657B7B70F6ED6EEB00C0F422D8B0CAA (U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.TeleType/<Start>d__4::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__4_System_IDisposable_Dispose_mA57DA4D469190B581B5DCB406E9FB70DD33511F2 (U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.TeleType/<Start>d__4::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CStartU3Ed__4_MoveNext_mE1C3343B7258BAADC74C1A060E71C28951D39D45 (U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * V_1 = NULL;
int32_t V_2 = 0;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_002a;
}
case 1:
{
goto IL_009e;
}
case 2:
{
goto IL_00cf;
}
case 3:
{
goto IL_0100;
}
case 4:
{
goto IL_012e;
}
}
}
{
return (bool)0;
}
IL_002a:
{
__this->___U3CU3E1__state_0 = (-1);
// m_textMeshPro.ForceMeshUpdate();
TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * L_3 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_4 = L_3->___m_textMeshPro_6;
VirtualActionInvoker2< bool, bool >::Invoke(106 /* System.Void TMPro.TMP_Text::ForceMeshUpdate(System.Boolean,System.Boolean) */, L_4, (bool)0, (bool)0);
// int totalVisibleCharacters = m_textMeshPro.textInfo.characterCount; // Get # of Visible Character in text object
TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * L_5 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_6 = L_5->___m_textMeshPro_6;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_7;
L_7 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_6, NULL);
int32_t L_8 = L_7->___characterCount_3;
__this->___U3CtotalVisibleCharactersU3E5__2_3 = L_8;
// int counter = 0;
__this->___U3CcounterU3E5__3_4 = 0;
// int visibleCount = 0;
V_2 = 0;
}
IL_005d:
{
// visibleCount = counter % (totalVisibleCharacters + 1);
int32_t L_9 = __this->___U3CcounterU3E5__3_4;
int32_t L_10 = __this->___U3CtotalVisibleCharactersU3E5__2_3;
V_2 = ((int32_t)((int32_t)L_9%(int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1))));
// m_textMeshPro.maxVisibleCharacters = visibleCount; // How many characters should TextMeshPro display?
TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * L_11 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_12 = L_11->___m_textMeshPro_6;
int32_t L_13 = V_2;
TMP_Text_set_maxVisibleCharacters_mEDD8DCB11D204F3FC10BFAC49BF6E8E09548358A(L_12, L_13, NULL);
// if (visibleCount >= totalVisibleCharacters)
int32_t L_14 = V_2;
int32_t L_15 = __this->___U3CtotalVisibleCharactersU3E5__2_3;
if ((((int32_t)L_14) < ((int32_t)L_15)))
{
goto IL_0107;
}
}
{
// yield return new WaitForSeconds(1.0f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_16 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_16, (1.0f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_16;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_16);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_009e:
{
__this->___U3CU3E1__state_0 = (-1);
// m_textMeshPro.text = label02;
TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * L_17 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_18 = L_17->___m_textMeshPro_6;
TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * L_19 = V_1;
String_t* L_20 = L_19->___label02_5;
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_18, L_20);
// yield return new WaitForSeconds(1.0f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_21 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_21, (1.0f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_21;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_21);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_00cf:
{
__this->___U3CU3E1__state_0 = (-1);
// m_textMeshPro.text = label01;
TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * L_22 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_23 = L_22->___m_textMeshPro_6;
TeleType_tA6F2E696EFE0B4124756D8810A7AAFB7829EE2F5 * L_24 = V_1;
String_t* L_25 = L_24->___label01_4;
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_23, L_25);
// yield return new WaitForSeconds(1.0f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_26 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_26, (1.0f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_26;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_26);
__this->___U3CU3E1__state_0 = 3;
return (bool)1;
}
IL_0100:
{
__this->___U3CU3E1__state_0 = (-1);
}
IL_0107:
{
// counter += 1;
int32_t L_27 = __this->___U3CcounterU3E5__3_4;
__this->___U3CcounterU3E5__3_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)1));
// yield return new WaitForSeconds(0.05f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_28 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_28, (0.0500000007f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_28;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_28);
__this->___U3CU3E1__state_0 = 4;
return (bool)1;
}
IL_012e:
{
__this->___U3CU3E1__state_0 = (-1);
// while (true)
goto IL_005d;
}
}
// System.Object TMPro.Examples.TeleType/<Start>d__4::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CStartU3Ed__4_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m1819CF068B92E7EA9EEFD7F93CA316F38DF644BA (U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.TeleType/<Start>d__4::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CStartU3Ed__4_System_Collections_IEnumerator_Reset_m9B7AEE80C1E70D2D2FF5811A54AFD6189CD7F5A9 (U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75 * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CStartU3Ed__4_System_Collections_IEnumerator_Reset_m9B7AEE80C1E70D2D2FF5811A54AFD6189CD7F5A9_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.TeleType/<Start>d__4::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CStartU3Ed__4_System_Collections_IEnumerator_get_Current_m5C22C5D235424F0613697F05E72ADB4D1A3420C8 (U3CStartU3Ed__4_t34C4F7117E4A5E63F9D03A9DD3C2493CEB376E75 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TextConsoleSimulator::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextConsoleSimulator_Awake_m55D28DC1F590D98621B0284B53C8A22D07CD3F7C (TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_mA59A63181077B821132B53D44724D7F86C6FECB3_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// m_TextComponent = gameObject.GetComponent<TMP_Text>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_0;
L_0 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_1;
L_1 = GameObject_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_mA59A63181077B821132B53D44724D7F86C6FECB3(L_0, GameObject_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_mA59A63181077B821132B53D44724D7F86C6FECB3_RuntimeMethod_var);
__this->___m_TextComponent_4 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextComponent_4), (void*)L_1);
// }
return;
}
}
// System.Void TMPro.Examples.TextConsoleSimulator::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextConsoleSimulator_Start_m5667F64AE1F48EBA2FF1B3D2D53E2AFCAB738B39 (TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * __this, const RuntimeMethod* method)
{
{
// StartCoroutine(RevealCharacters(m_TextComponent));
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_0 = __this->___m_TextComponent_4;
RuntimeObject* L_1;
L_1 = TextConsoleSimulator_RevealCharacters_mAA4D3653F05692839313CE180250A44378024E52(__this, L_0, NULL);
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * L_2;
L_2 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_1, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.TextConsoleSimulator::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextConsoleSimulator_OnEnable_mDF58D349E4D62866410AAA376BE5BBAE4153FF95 (TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TextConsoleSimulator_ON_TEXT_CHANGED_m050ECF4852B6A82000133662D6502577DFD57C3A_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// TMPro_EventManager.TEXT_CHANGED_EVENT.Add(ON_TEXT_CHANGED);
il2cpp_codegen_runtime_class_init_inline(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * L_0 = ((TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_StaticFields*)il2cpp_codegen_static_fields_for(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var))->___TEXT_CHANGED_EVENT_11;
Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * L_1 = (Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *)il2cpp_codegen_object_new(Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
Action_1__ctor_m95478636F075134CA2998E22B214611472600983(L_1, __this, ((intptr_t)TextConsoleSimulator_ON_TEXT_CHANGED_m050ECF4852B6A82000133662D6502577DFD57C3A_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6(L_0, L_1, FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6_RuntimeMethod_var);
// }
return;
}
}
// System.Void TMPro.Examples.TextConsoleSimulator::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextConsoleSimulator_OnDisable_m4B3A741D6C5279590453148419B422E8D7314689 (TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TextConsoleSimulator_ON_TEXT_CHANGED_m050ECF4852B6A82000133662D6502577DFD57C3A_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// TMPro_EventManager.TEXT_CHANGED_EVENT.Remove(ON_TEXT_CHANGED);
il2cpp_codegen_runtime_class_init_inline(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * L_0 = ((TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_StaticFields*)il2cpp_codegen_static_fields_for(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var))->___TEXT_CHANGED_EVENT_11;
Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * L_1 = (Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *)il2cpp_codegen_object_new(Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
Action_1__ctor_m95478636F075134CA2998E22B214611472600983(L_1, __this, ((intptr_t)TextConsoleSimulator_ON_TEXT_CHANGED_m050ECF4852B6A82000133662D6502577DFD57C3A_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F(L_0, L_1, FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F_RuntimeMethod_var);
// }
return;
}
}
// System.Void TMPro.Examples.TextConsoleSimulator::ON_TEXT_CHANGED(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextConsoleSimulator_ON_TEXT_CHANGED_m050ECF4852B6A82000133662D6502577DFD57C3A (TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * __this, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * ___obj0, const RuntimeMethod* method)
{
{
// hasTextChanged = true;
__this->___hasTextChanged_5 = (bool)1;
// }
return;
}
}
// System.Collections.IEnumerator TMPro.Examples.TextConsoleSimulator::RevealCharacters(TMPro.TMP_Text)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TextConsoleSimulator_RevealCharacters_mAA4D3653F05692839313CE180250A44378024E52 (TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * __this, TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___textComponent0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9 * L_0 = (U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9 *)il2cpp_codegen_object_new(U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9_il2cpp_TypeInfo_var);
U3CRevealCharactersU3Ed__7__ctor_m40A144070AB46560F2B3919EA5CB8BD51F8DDF45(L_0, 0, /*hidden argument*/NULL);
U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9 * L_1 = L_0;
L_1->___U3CU3E4__this_3 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_3), (void*)__this);
U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9 * L_2 = L_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_3 = ___textComponent0;
L_2->___textComponent_2 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&L_2->___textComponent_2), (void*)L_3);
return L_2;
}
}
// System.Collections.IEnumerator TMPro.Examples.TextConsoleSimulator::RevealWords(TMPro.TMP_Text)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TextConsoleSimulator_RevealWords_m0E52802FD4239665709F086E6E0B235CDE67E9B1 (TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * __this, TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * ___textComponent0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8 * L_0 = (U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8 *)il2cpp_codegen_object_new(U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8_il2cpp_TypeInfo_var);
U3CRevealWordsU3Ed__8__ctor_mDF8D4C69F022D088AFC0E109FC0DBE0C9B938CAC(L_0, 0, /*hidden argument*/NULL);
U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8 * L_1 = L_0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_2 = ___textComponent0;
L_1->___textComponent_2 = L_2;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___textComponent_2), (void*)L_2);
return L_1;
}
}
// System.Void TMPro.Examples.TextConsoleSimulator::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextConsoleSimulator__ctor_mBDDE8A2DCED8B140D78D5FE560897665753AB025 (TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRevealCharactersU3Ed__7__ctor_m40A144070AB46560F2B3919EA5CB8BD51F8DDF45 (U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRevealCharactersU3Ed__7_System_IDisposable_Dispose_m7942532282ACF3B429FAD926284352907FFE087B (U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CRevealCharactersU3Ed__7_MoveNext_m2D07AF9391894BCE39624FA2DCFA87AC6F8119AE (U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * V_1 = NULL;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * L_1 = __this->___U3CU3E4__this_3;
V_1 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0022;
}
case 1:
{
goto IL_00a6;
}
case 2:
{
goto IL_00e3;
}
}
}
{
return (bool)0;
}
IL_0022:
{
__this->___U3CU3E1__state_0 = (-1);
// textComponent.ForceMeshUpdate();
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_3 = __this->___textComponent_2;
VirtualActionInvoker2< bool, bool >::Invoke(106 /* System.Void TMPro.TMP_Text::ForceMeshUpdate(System.Boolean,System.Boolean) */, L_3, (bool)0, (bool)0);
// TMP_TextInfo textInfo = textComponent.textInfo;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_4 = __this->___textComponent_2;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_5;
L_5 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_4, NULL);
__this->___U3CtextInfoU3E5__2_4 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CtextInfoU3E5__2_4), (void*)L_5);
// int totalVisibleCharacters = textInfo.characterCount; // Get # of Visible Character in text object
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_6 = __this->___U3CtextInfoU3E5__2_4;
int32_t L_7 = L_6->___characterCount_3;
__this->___U3CtotalVisibleCharactersU3E5__3_5 = L_7;
// int visibleCount = 0;
__this->___U3CvisibleCountU3E5__4_6 = 0;
}
IL_005f:
{
// if (hasTextChanged)
TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * L_8 = V_1;
bool L_9 = L_8->___hasTextChanged_5;
if (!L_9)
{
goto IL_007f;
}
}
{
// totalVisibleCharacters = textInfo.characterCount; // Update visible character count.
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_10 = __this->___U3CtextInfoU3E5__2_4;
int32_t L_11 = L_10->___characterCount_3;
__this->___U3CtotalVisibleCharactersU3E5__3_5 = L_11;
// hasTextChanged = false;
TextConsoleSimulator_t986082F574CD2A38D6E40D856C6A9926D7EF49D2 * L_12 = V_1;
L_12->___hasTextChanged_5 = (bool)0;
}
IL_007f:
{
// if (visibleCount > totalVisibleCharacters)
int32_t L_13 = __this->___U3CvisibleCountU3E5__4_6;
int32_t L_14 = __this->___U3CtotalVisibleCharactersU3E5__3_5;
if ((((int32_t)L_13) <= ((int32_t)L_14)))
{
goto IL_00b4;
}
}
{
// yield return new WaitForSeconds(1.0f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_15 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_15, (1.0f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_15;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_15);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_00a6:
{
__this->___U3CU3E1__state_0 = (-1);
// visibleCount = 0;
__this->___U3CvisibleCountU3E5__4_6 = 0;
}
IL_00b4:
{
// textComponent.maxVisibleCharacters = visibleCount; // How many characters should TextMeshPro display?
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_16 = __this->___textComponent_2;
int32_t L_17 = __this->___U3CvisibleCountU3E5__4_6;
TMP_Text_set_maxVisibleCharacters_mEDD8DCB11D204F3FC10BFAC49BF6E8E09548358A(L_16, L_17, NULL);
// visibleCount += 1;
int32_t L_18 = __this->___U3CvisibleCountU3E5__4_6;
__this->___U3CvisibleCountU3E5__4_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)1));
// yield return null;
__this->___U3CU3E2__current_1 = NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_00e3:
{
__this->___U3CU3E1__state_0 = (-1);
// while (true)
goto IL_005f;
}
}
// System.Object TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CRevealCharactersU3Ed__7_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m754C680B2751A9F05DBF253431A3CB42885F7854 (U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRevealCharactersU3Ed__7_System_Collections_IEnumerator_Reset_mD12057609EFCBCA8E7B61B0421D4A7C5A206C8C3 (U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9 * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CRevealCharactersU3Ed__7_System_Collections_IEnumerator_Reset_mD12057609EFCBCA8E7B61B0421D4A7C5A206C8C3_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.TextConsoleSimulator/<RevealCharacters>d__7::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CRevealCharactersU3Ed__7_System_Collections_IEnumerator_get_Current_m9FD7DAB922AE6A58166112C295ABFF6E19E1D186 (U3CRevealCharactersU3Ed__7_tB14F85C7FC57BEFD555A1A9CD8D3FF41E0F676F9 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRevealWordsU3Ed__8__ctor_mDF8D4C69F022D088AFC0E109FC0DBE0C9B938CAC (U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRevealWordsU3Ed__8_System_IDisposable_Dispose_m2F2F21F38D2DD8AE3D066E64850D404497A131C5 (U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CRevealWordsU3Ed__8_MoveNext_mC5102728A86DCB2171E54CFEDFA7BE6F29AB355C (U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
int32_t L_1 = V_0;
switch (L_1)
{
case 0:
{
goto IL_001b;
}
case 1:
{
goto IL_0104;
}
case 2:
{
goto IL_0132;
}
}
}
{
return (bool)0;
}
IL_001b:
{
__this->___U3CU3E1__state_0 = (-1);
// textComponent.ForceMeshUpdate();
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_2 = __this->___textComponent_2;
VirtualActionInvoker2< bool, bool >::Invoke(106 /* System.Void TMPro.TMP_Text::ForceMeshUpdate(System.Boolean,System.Boolean) */, L_2, (bool)0, (bool)0);
// int totalWordCount = textComponent.textInfo.wordCount;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_3 = __this->___textComponent_2;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_4;
L_4 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_3, NULL);
int32_t L_5 = L_4->___wordCount_6;
__this->___U3CtotalWordCountU3E5__2_3 = L_5;
// int totalVisibleCharacters = textComponent.textInfo.characterCount; // Get # of Visible Character in text object
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_6 = __this->___textComponent_2;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_7;
L_7 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_6, NULL);
int32_t L_8 = L_7->___characterCount_3;
__this->___U3CtotalVisibleCharactersU3E5__3_4 = L_8;
// int counter = 0;
__this->___U3CcounterU3E5__4_5 = 0;
// int currentWord = 0;
V_1 = 0;
// int visibleCount = 0;
__this->___U3CvisibleCountU3E5__5_6 = 0;
}
IL_006b:
{
// currentWord = counter % (totalWordCount + 1);
int32_t L_9 = __this->___U3CcounterU3E5__4_5;
int32_t L_10 = __this->___U3CtotalWordCountU3E5__2_3;
V_1 = ((int32_t)((int32_t)L_9%(int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1))));
// if (currentWord == 0) // Display no words.
int32_t L_11 = V_1;
if (L_11)
{
goto IL_0087;
}
}
{
// visibleCount = 0;
__this->___U3CvisibleCountU3E5__5_6 = 0;
goto IL_00cc;
}
IL_0087:
{
// else if (currentWord < totalWordCount) // Display all other words with the exception of the last one.
int32_t L_12 = V_1;
int32_t L_13 = __this->___U3CtotalWordCountU3E5__2_3;
if ((((int32_t)L_12) >= ((int32_t)L_13)))
{
goto IL_00b7;
}
}
{
// visibleCount = textComponent.textInfo.wordInfo[currentWord - 1].lastCharacterIndex + 1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_14 = __this->___textComponent_2;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_15;
L_15 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_14, NULL);
TMP_WordInfoU5BU5D_tD1759E5A84DCCCD42B718D79E953E72A432BB4DC* L_16 = L_15->___wordInfo_12;
int32_t L_17 = V_1;
int32_t L_18 = ((L_16)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract((int32_t)L_17, (int32_t)1)))))->___lastCharacterIndex_2;
__this->___U3CvisibleCountU3E5__5_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_18, (int32_t)1));
goto IL_00cc;
}
IL_00b7:
{
// else if (currentWord == totalWordCount) // Display last word and all remaining characters.
int32_t L_19 = V_1;
int32_t L_20 = __this->___U3CtotalWordCountU3E5__2_3;
if ((!(((uint32_t)L_19) == ((uint32_t)L_20))))
{
goto IL_00cc;
}
}
{
// visibleCount = totalVisibleCharacters;
int32_t L_21 = __this->___U3CtotalVisibleCharactersU3E5__3_4;
__this->___U3CvisibleCountU3E5__5_6 = L_21;
}
IL_00cc:
{
// textComponent.maxVisibleCharacters = visibleCount; // How many characters should TextMeshPro display?
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_22 = __this->___textComponent_2;
int32_t L_23 = __this->___U3CvisibleCountU3E5__5_6;
TMP_Text_set_maxVisibleCharacters_mEDD8DCB11D204F3FC10BFAC49BF6E8E09548358A(L_22, L_23, NULL);
// if (visibleCount >= totalVisibleCharacters)
int32_t L_24 = __this->___U3CvisibleCountU3E5__5_6;
int32_t L_25 = __this->___U3CtotalVisibleCharactersU3E5__3_4;
if ((((int32_t)L_24) < ((int32_t)L_25)))
{
goto IL_010b;
}
}
{
// yield return new WaitForSeconds(1.0f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_26 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_26, (1.0f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_26;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_26);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_0104:
{
__this->___U3CU3E1__state_0 = (-1);
}
IL_010b:
{
// counter += 1;
int32_t L_27 = __this->___U3CcounterU3E5__4_5;
__this->___U3CcounterU3E5__4_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)1));
// yield return new WaitForSeconds(0.1f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_28 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_28, (0.100000001f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_28;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_28);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_0132:
{
__this->___U3CU3E1__state_0 = (-1);
// while (true)
goto IL_006b;
}
}
// System.Object TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CRevealWordsU3Ed__8_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m4D9A6269831C00345D245D0EED2E5FC20BBF4683 (U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CRevealWordsU3Ed__8_System_Collections_IEnumerator_Reset_mE5E0678716735BDF0D632FE43E392981E75A1C4D (U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8 * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CRevealWordsU3Ed__8_System_Collections_IEnumerator_Reset_mE5E0678716735BDF0D632FE43E392981E75A1C4D_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.TextConsoleSimulator/<RevealWords>d__8::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CRevealWordsU3Ed__8_System_Collections_IEnumerator_get_Current_m3E9D4960A972BD7601F6454E6F9A614AA21D553E (U3CRevealWordsU3Ed__8_t912CFD430C602C79AE6BC1BC6C4AEBF101B4D7C8 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TextMeshProFloatingText::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMeshProFloatingText_Awake_m600F1825C26BB683047156FD815AE4376D2672F2 (TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral488BBD09F4A1A1F043A936DD66A4830B2FFA8FFC);
s_Il2CppMethodInitialized = true;
}
{
// m_transform = transform;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_0;
L_0 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
__this->___m_transform_8 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_transform_8), (void*)L_0);
// m_floatingText = new GameObject(this.name + " floating text");
String_t* L_1;
L_1 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(__this, NULL);
String_t* L_2;
L_2 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(L_1, _stringLiteral488BBD09F4A1A1F043A936DD66A4830B2FFA8FFC, NULL);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_3, L_2, /*hidden argument*/NULL);
__this->___m_floatingText_5 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_floatingText_5), (void*)L_3);
// m_cameraTransform = Camera.main.transform;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_4;
L_4 = Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43(NULL);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_5;
L_5 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_4, NULL);
__this->___m_cameraTransform_10 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_cameraTransform_10), (void*)L_5);
// }
return;
}
}
// System.Void TMPro.Examples.TextMeshProFloatingText::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMeshProFloatingText_Start_m8121246A4310A0014ECA36144B9DCE093FE8AE49 (TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisFont_tC95270EA3198038970422D78B74A7F2E218A96B6_mF1595237572FCE3E2EE060D2038BE3F341DB7901_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9D329ACFC4F7EECCB821A7FEF99A0F23E1C721B7);
s_Il2CppMethodInitialized = true;
}
{
// if (SpawnType == 0)
int32_t L_0 = __this->___SpawnType_13;
if (L_0)
{
goto IL_0103;
}
}
{
// m_textMeshPro = m_floatingText.AddComponent<TextMeshPro>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_1 = __this->___m_floatingText_5;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_2;
L_2 = GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C(L_1, GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
__this->___m_textMeshPro_6 = L_2;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_textMeshPro_6), (void*)L_2);
// m_textMeshPro.rectTransform.sizeDelta = new Vector2(3, 3);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_3 = __this->___m_textMeshPro_6;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_4;
L_4 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_3, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5;
memset((&L_5), 0, sizeof(L_5));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_5), (3.0f), (3.0f), /*hidden argument*/NULL);
RectTransform_set_sizeDelta_mC9A980EA6036E6725EF24CEDF3EE80A9B2B50EE5(L_4, L_5, NULL);
// m_floatingText_Transform = m_floatingText.transform;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_6 = __this->___m_floatingText_5;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_7;
L_7 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_6, NULL);
__this->___m_floatingText_Transform_9 = L_7;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_floatingText_Transform_9), (void*)L_7);
// m_floatingText_Transform.position = m_transform.position + new Vector3(0, 15f, 0);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_8 = __this->___m_floatingText_Transform_9;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_9 = __this->___m_transform_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
L_10 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_9, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
memset((&L_11), 0, sizeof(L_11));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_11), (0.0f), (15.0f), (0.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
L_12 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_10, L_11, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_8, L_12, NULL);
// m_textMeshPro.alignment = TextAlignmentOptions.Center;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_13 = __this->___m_textMeshPro_6;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_13, ((int32_t)514), NULL);
// m_textMeshPro.color = new Color32((byte)Random.Range(0, 255), (byte)Random.Range(0, 255), (byte)Random.Range(0, 255), 255);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_14 = __this->___m_textMeshPro_6;
int32_t L_15;
L_15 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
int32_t L_16;
L_16 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
int32_t L_17;
L_17 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_18;
memset((&L_18), 0, sizeof(L_18));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_18), (uint8_t)((int32_t)((uint8_t)L_15)), (uint8_t)((int32_t)((uint8_t)L_16)), (uint8_t)((int32_t)((uint8_t)L_17)), (uint8_t)((int32_t)255), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_19;
L_19 = Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline(L_18, NULL);
VirtualActionInvoker1< Color_tD001788D726C3A7F1379BEED0260B9591F440C1F >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, L_14, L_19);
// m_textMeshPro.fontSize = 24;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_20 = __this->___m_textMeshPro_6;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_20, (24.0f), NULL);
// m_textMeshPro.enableKerning = false;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_21 = __this->___m_textMeshPro_6;
TMP_Text_set_enableKerning_m681685E06B8789F5F2B7043EBEA561AAE48E82BD(L_21, (bool)0, NULL);
// m_textMeshPro.text = string.Empty;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_22 = __this->___m_textMeshPro_6;
String_t* L_23 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->___Empty_5;
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_22, L_23);
// StartCoroutine(DisplayTextMeshProFloatingText());
RuntimeObject* L_24;
L_24 = TextMeshProFloatingText_DisplayTextMeshProFloatingText_mA1E370089458CD380E9BA7740C2BC2032F084148(__this, NULL);
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * L_25;
L_25 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_24, NULL);
return;
}
IL_0103:
{
// else if (SpawnType == 1)
int32_t L_26 = __this->___SpawnType_13;
if ((!(((uint32_t)L_26) == ((uint32_t)1))))
{
goto IL_01fa;
}
}
{
// m_floatingText_Transform = m_floatingText.transform;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_27 = __this->___m_floatingText_5;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_28;
L_28 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_27, NULL);
__this->___m_floatingText_Transform_9 = L_28;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_floatingText_Transform_9), (void*)L_28);
// m_floatingText_Transform.position = m_transform.position + new Vector3(0, 15f, 0);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_29 = __this->___m_floatingText_Transform_9;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_30 = __this->___m_transform_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
L_31 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_30, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
memset((&L_32), 0, sizeof(L_32));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_32), (0.0f), (15.0f), (0.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
L_33 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_31, L_32, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_29, L_33, NULL);
// m_textMesh = m_floatingText.AddComponent<TextMesh>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_34 = __this->___m_floatingText_5;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_35;
L_35 = GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2(L_34, GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2_RuntimeMethod_var);
__this->___m_textMesh_7 = L_35;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_textMesh_7), (void*)L_35);
// m_textMesh.font = Resources.Load<Font>("Fonts/ARIAL");
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_36 = __this->___m_textMesh_7;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_37;
L_37 = Resources_Load_TisFont_tC95270EA3198038970422D78B74A7F2E218A96B6_mF1595237572FCE3E2EE060D2038BE3F341DB7901(_stringLiteral9D329ACFC4F7EECCB821A7FEF99A0F23E1C721B7, Resources_Load_TisFont_tC95270EA3198038970422D78B74A7F2E218A96B6_mF1595237572FCE3E2EE060D2038BE3F341DB7901_RuntimeMethod_var);
TextMesh_set_font_m7E407CAEDBB382B95B70069D8FAB8A9E74EAAA74(L_36, L_37, NULL);
// m_textMesh.GetComponent<Renderer>().sharedMaterial = m_textMesh.font.material;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_38 = __this->___m_textMesh_7;
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * L_39;
L_39 = Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8(L_38, Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_40 = __this->___m_textMesh_7;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_41;
L_41 = TextMesh_get_font_m94D3A4C8E4DB171B74E4FF00AC7EC27F3D495664(L_40, NULL);
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_42;
L_42 = Font_get_material_m61ABDEC14C6D659DDC5A4F080023699116C17364(L_41, NULL);
Renderer_set_sharedMaterial_m5E842F9A06CFB7B77656EB319881CB4B3E8E4288(L_39, L_42, NULL);
// m_textMesh.color = new Color32((byte)Random.Range(0, 255), (byte)Random.Range(0, 255), (byte)Random.Range(0, 255), 255);
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_43 = __this->___m_textMesh_7;
int32_t L_44;
L_44 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
int32_t L_45;
L_45 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
int32_t L_46;
L_46 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_47;
memset((&L_47), 0, sizeof(L_47));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_47), (uint8_t)((int32_t)((uint8_t)L_44)), (uint8_t)((int32_t)((uint8_t)L_45)), (uint8_t)((int32_t)((uint8_t)L_46)), (uint8_t)((int32_t)255), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_48;
L_48 = Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline(L_47, NULL);
TextMesh_set_color_mF08F30C3CD797C16289225B567724B9F07DC641E(L_43, L_48, NULL);
// m_textMesh.anchor = TextAnchor.LowerCenter;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_49 = __this->___m_textMesh_7;
TextMesh_set_anchor_m3FCB7C4B1FF66CE189B56076C0306AFE984FCD32(L_49, 7, NULL);
// m_textMesh.fontSize = 24;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_50 = __this->___m_textMesh_7;
TextMesh_set_fontSize_mAB9F7FFC0E4DB759B786F6A9357B18C86015498B(L_50, ((int32_t)24), NULL);
// StartCoroutine(DisplayTextMeshFloatingText());
RuntimeObject* L_51;
L_51 = TextMeshProFloatingText_DisplayTextMeshFloatingText_mA02B20CF33E43FE99FD5F1B90F7F350262F0BEBE(__this, NULL);
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * L_52;
L_52 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_51, NULL);
return;
}
IL_01fa:
{
// else if (SpawnType == 2)
int32_t L_53 = __this->___SpawnType_13;
// }
return;
}
}
// System.Collections.IEnumerator TMPro.Examples.TextMeshProFloatingText::DisplayTextMeshProFloatingText()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TextMeshProFloatingText_DisplayTextMeshProFloatingText_mA1E370089458CD380E9BA7740C2BC2032F084148 (TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76 * L_0 = (U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76 *)il2cpp_codegen_object_new(U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76_il2cpp_TypeInfo_var);
U3CDisplayTextMeshProFloatingTextU3Ed__12__ctor_m5783C7EE3A7D230F5D8FE65111F7F0B3AACF4A5D(L_0, 0, /*hidden argument*/NULL);
U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76 * L_1 = L_0;
L_1->___U3CU3E4__this_2 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
return L_1;
}
}
// System.Collections.IEnumerator TMPro.Examples.TextMeshProFloatingText::DisplayTextMeshFloatingText()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* TextMeshProFloatingText_DisplayTextMeshFloatingText_mA02B20CF33E43FE99FD5F1B90F7F350262F0BEBE (TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1 * L_0 = (U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1 *)il2cpp_codegen_object_new(U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1_il2cpp_TypeInfo_var);
U3CDisplayTextMeshFloatingTextU3Ed__13__ctor_m093946C77D9946811A7799D06F8D7170FB42A8EB(L_0, 0, /*hidden argument*/NULL);
U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1 * L_1 = L_0;
L_1->___U3CU3E4__this_2 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
return L_1;
}
}
// System.Void TMPro.Examples.TextMeshProFloatingText::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMeshProFloatingText__ctor_mD08AF0FB6944A51BC6EA15D6BE4E33AA4A916E3E (TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * __this, const RuntimeMethod* method)
{
{
// Vector3 lastPOS = Vector3.zero;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
L_0 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
__this->___lastPOS_11 = L_0;
// Quaternion lastRotation = Quaternion.identity;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
L_1 = Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline(NULL);
__this->___lastRotation_12 = L_1;
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CDisplayTextMeshProFloatingTextU3Ed__12__ctor_m5783C7EE3A7D230F5D8FE65111F7F0B3AACF4A5D (U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CDisplayTextMeshProFloatingTextU3Ed__12_System_IDisposable_Dispose_m641EA4B8AFFBA5E132B7EE46F0962E8CA6F860ED (U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CDisplayTextMeshProFloatingTextU3Ed__12_MoveNext_mB9551C24D0AAF928ADC9DE924F2325884F0A2DB4 (U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * V_1 = NULL;
int32_t V_2 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
memset((&V_3), 0, sizeof(V_3));
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0022;
}
case 1:
{
goto IL_0243;
}
case 2:
{
goto IL_027d;
}
}
}
{
return (bool)0;
}
IL_0022:
{
__this->___U3CU3E1__state_0 = (-1);
// float CountDuration = 2.0f; // How long is the countdown alive.
__this->___U3CCountDurationU3E5__2_3 = (2.0f);
// float starting_Count = Random.Range(5f, 20f); // At what number is the counter starting at.
float L_3;
L_3 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((5.0f), (20.0f), NULL);
__this->___U3Cstarting_CountU3E5__3_4 = L_3;
// float current_Count = starting_Count;
float L_4 = __this->___U3Cstarting_CountU3E5__3_4;
__this->___U3Ccurrent_CountU3E5__4_5 = L_4;
// Vector3 start_pos = m_floatingText_Transform.position;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_5 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_6 = L_5->___m_floatingText_Transform_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
__this->___U3Cstart_posU3E5__5_6 = L_7;
// Color32 start_color = m_textMeshPro.color;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_8 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_9 = L_8->___m_textMeshPro_6;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_10;
L_10 = VirtualFuncInvoker0< Color_tD001788D726C3A7F1379BEED0260B9591F440C1F >::Invoke(22 /* UnityEngine.Color UnityEngine.UI.Graphic::get_color() */, L_9);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_11;
L_11 = Color32_op_Implicit_m7EFA0B83AD1AE15567E9BC2FA2B8E66D3BFE1395_inline(L_10, NULL);
__this->___U3Cstart_colorU3E5__6_7 = L_11;
// float alpha = 255;
__this->___U3CalphaU3E5__7_8 = (255.0f);
// int int_counter = 0;
V_2 = 0;
// float fadeDuration = 3 / starting_Count * CountDuration;
float L_12 = __this->___U3Cstarting_CountU3E5__3_4;
float L_13 = __this->___U3CCountDurationU3E5__2_3;
__this->___U3CfadeDurationU3E5__8_9 = ((float)il2cpp_codegen_multiply((float)((float)((float)(3.0f)/(float)L_12)), (float)L_13));
goto IL_024a;
}
IL_00a7:
{
// current_Count -= (Time.deltaTime / CountDuration) * starting_Count;
float L_14 = __this->___U3Ccurrent_CountU3E5__4_5;
float L_15;
L_15 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
float L_16 = __this->___U3CCountDurationU3E5__2_3;
float L_17 = __this->___U3Cstarting_CountU3E5__3_4;
__this->___U3Ccurrent_CountU3E5__4_5 = ((float)il2cpp_codegen_subtract((float)L_14, (float)((float)il2cpp_codegen_multiply((float)((float)((float)L_15/(float)L_16)), (float)L_17))));
// if (current_Count <= 3)
float L_18 = __this->___U3Ccurrent_CountU3E5__4_5;
if ((!(((float)L_18) <= ((float)(3.0f)))))
{
goto IL_0102;
}
}
{
// alpha = Mathf.Clamp(alpha - (Time.deltaTime / fadeDuration) * 255, 0, 255);
float L_19 = __this->___U3CalphaU3E5__7_8;
float L_20;
L_20 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
float L_21 = __this->___U3CfadeDurationU3E5__8_9;
float L_22;
L_22 = Mathf_Clamp_m154E404AF275A3B2EC99ECAA3879B4CB9F0606DC_inline(((float)il2cpp_codegen_subtract((float)L_19, (float)((float)il2cpp_codegen_multiply((float)((float)((float)L_20/(float)L_21)), (float)(255.0f))))), (0.0f), (255.0f), NULL);
__this->___U3CalphaU3E5__7_8 = L_22;
}
IL_0102:
{
// int_counter = (int)current_Count;
float L_23 = __this->___U3Ccurrent_CountU3E5__4_5;
V_2 = ((int32_t)((int32_t)L_23));
// m_textMeshPro.text = int_counter.ToString();
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_24 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_25 = L_24->___m_textMeshPro_6;
String_t* L_26;
L_26 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_2), NULL);
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_25, L_26);
// m_textMeshPro.color = new Color32(start_color.r, start_color.g, start_color.b, (byte)alpha);
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_27 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_28 = L_27->___m_textMeshPro_6;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B * L_29 = (&__this->___U3Cstart_colorU3E5__6_7);
uint8_t L_30 = L_29->___r_1;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B * L_31 = (&__this->___U3Cstart_colorU3E5__6_7);
uint8_t L_32 = L_31->___g_2;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B * L_33 = (&__this->___U3Cstart_colorU3E5__6_7);
uint8_t L_34 = L_33->___b_3;
float L_35 = __this->___U3CalphaU3E5__7_8;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_36;
memset((&L_36), 0, sizeof(L_36));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_36), L_30, L_32, L_34, (uint8_t)il2cpp_codegen_cast_floating_point<uint8_t, int32_t, float>(L_35), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_37;
L_37 = Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline(L_36, NULL);
VirtualActionInvoker1< Color_tD001788D726C3A7F1379BEED0260B9591F440C1F >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, L_28, L_37);
// m_floatingText_Transform.position += new Vector3(0, starting_Count * Time.deltaTime, 0);
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_38 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_39 = L_38->___m_floatingText_Transform_9;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_40 = L_39;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
L_41 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_40, NULL);
float L_42 = __this->___U3Cstarting_CountU3E5__3_4;
float L_43;
L_43 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
memset((&L_44), 0, sizeof(L_44));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_44), (0.0f), ((float)il2cpp_codegen_multiply((float)L_42, (float)L_43)), (0.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
L_45 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_41, L_44, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_40, L_45, NULL);
// if (!lastPOS.Compare(m_cameraTransform.position, 1000) || !lastRotation.Compare(m_cameraTransform.rotation, 1000))
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_46 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = L_46->___lastPOS_11;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_48 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_49 = L_48->___m_cameraTransform_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
L_50 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_49, NULL);
bool L_51;
L_51 = TMPro_ExtensionMethods_Compare_mA7AB3A35D921F8014C17306CC64D6CFD8F215CA6(L_47, L_50, ((int32_t)1000), NULL);
if (!L_51)
{
goto IL_01c4;
}
}
{
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_52 = V_1;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_53 = L_52->___lastRotation_12;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_54 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_55 = L_54->___m_cameraTransform_10;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_56;
L_56 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_55, NULL);
bool L_57;
L_57 = TMPro_ExtensionMethods_Compare_mFC4E4CDEBF258A3DC7411E7E2395FE58739BF3F7(L_53, L_56, ((int32_t)1000), NULL);
if (L_57)
{
goto IL_022f;
}
}
IL_01c4:
{
// lastPOS = m_cameraTransform.position;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_58 = V_1;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_59 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_60 = L_59->___m_cameraTransform_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
L_61 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_60, NULL);
L_58->___lastPOS_11 = L_61;
// lastRotation = m_cameraTransform.rotation;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_62 = V_1;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_63 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_64 = L_63->___m_cameraTransform_10;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65;
L_65 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_64, NULL);
L_62->___lastRotation_12 = L_65;
// m_floatingText_Transform.rotation = lastRotation;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_66 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_67 = L_66->___m_floatingText_Transform_9;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_68 = V_1;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_69 = L_68->___lastRotation_12;
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_67, L_69, NULL);
// Vector3 dir = m_transform.position - lastPOS;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_70 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_71 = L_70->___m_transform_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
L_72 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_71, NULL);
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_73 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74 = L_73->___lastPOS_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
L_75 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_72, L_74, NULL);
V_3 = L_75;
// m_transform.forward = new Vector3(dir.x, 0, dir.z);
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_76 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_77 = L_76->___m_transform_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = V_3;
float L_79 = L_78.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80 = V_3;
float L_81 = L_80.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
memset((&L_82), 0, sizeof(L_82));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_82), L_79, (0.0f), L_81, /*hidden argument*/NULL);
Transform_set_forward_mA178B5CF4F0F6133F9AF8ED3A4ECD2C604C60C26(L_77, L_82, NULL);
}
IL_022f:
{
// yield return new WaitForEndOfFrame();
WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663 * L_83 = (WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663 *)il2cpp_codegen_object_new(WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663_il2cpp_TypeInfo_var);
WaitForEndOfFrame__ctor_m4AF7E576C01E6B04443BB898B1AE5D645F7D45AB(L_83, /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_83;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_83);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_0243:
{
__this->___U3CU3E1__state_0 = (-1);
}
IL_024a:
{
// while (current_Count > 0)
float L_84 = __this->___U3Ccurrent_CountU3E5__4_5;
if ((((float)L_84) > ((float)(0.0f))))
{
goto IL_00a7;
}
}
{
// yield return new WaitForSeconds(Random.Range(0.1f, 1.0f));
float L_85;
L_85 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((0.100000001f), (1.0f), NULL);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_86 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_86, L_85, /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_86;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_86);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_027d:
{
__this->___U3CU3E1__state_0 = (-1);
// m_floatingText_Transform.position = start_pos;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_87 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_88 = L_87->___m_floatingText_Transform_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89 = __this->___U3Cstart_posU3E5__5_6;
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_88, L_89, NULL);
// StartCoroutine(DisplayTextMeshProFloatingText());
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_90 = V_1;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_91 = V_1;
RuntimeObject* L_92;
L_92 = TextMeshProFloatingText_DisplayTextMeshProFloatingText_mA1E370089458CD380E9BA7740C2BC2032F084148(L_91, NULL);
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * L_93;
L_93 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(L_90, L_92, NULL);
// }
return (bool)0;
}
}
// System.Object TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CDisplayTextMeshProFloatingTextU3Ed__12_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m85AD23CB0E7EC78A4A4B07652C7DCB90B27B5A52 (U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CDisplayTextMeshProFloatingTextU3Ed__12_System_Collections_IEnumerator_Reset_mDE1C8E5AAFA2BE515D1868F76D4921E627F51112 (U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76 * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CDisplayTextMeshProFloatingTextU3Ed__12_System_Collections_IEnumerator_Reset_mDE1C8E5AAFA2BE515D1868F76D4921E627F51112_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshProFloatingText>d__12::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CDisplayTextMeshProFloatingTextU3Ed__12_System_Collections_IEnumerator_get_Current_m8FA714E4D7408B556C1A280744593DCD07D7B9D0 (U3CDisplayTextMeshProFloatingTextU3Ed__12_tF5C7EAAA1230794883FCB2D5C767C12F48C50C76 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CDisplayTextMeshFloatingTextU3Ed__13__ctor_m093946C77D9946811A7799D06F8D7170FB42A8EB (U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CDisplayTextMeshFloatingTextU3Ed__13_System_IDisposable_Dispose_m11B84CE30C7048FC3BA409ABDF39AFFEA7AE188D (U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CDisplayTextMeshFloatingTextU3Ed__13_MoveNext_m947F374D2AC3CE949148BC815B2ABBBD8E94D594 (U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * V_1 = NULL;
int32_t V_2 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
memset((&V_3), 0, sizeof(V_3));
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0022;
}
case 1:
{
goto IL_0243;
}
case 2:
{
goto IL_027d;
}
}
}
{
return (bool)0;
}
IL_0022:
{
__this->___U3CU3E1__state_0 = (-1);
// float CountDuration = 2.0f; // How long is the countdown alive.
__this->___U3CCountDurationU3E5__2_3 = (2.0f);
// float starting_Count = Random.Range(5f, 20f); // At what number is the counter starting at.
float L_3;
L_3 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((5.0f), (20.0f), NULL);
__this->___U3Cstarting_CountU3E5__3_4 = L_3;
// float current_Count = starting_Count;
float L_4 = __this->___U3Cstarting_CountU3E5__3_4;
__this->___U3Ccurrent_CountU3E5__4_5 = L_4;
// Vector3 start_pos = m_floatingText_Transform.position;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_5 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_6 = L_5->___m_floatingText_Transform_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
__this->___U3Cstart_posU3E5__5_6 = L_7;
// Color32 start_color = m_textMesh.color;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_8 = V_1;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_9 = L_8->___m_textMesh_7;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_10;
L_10 = TextMesh_get_color_m128E5D16AA72D5284C70957253DEAEE4FBEB023E(L_9, NULL);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_11;
L_11 = Color32_op_Implicit_m7EFA0B83AD1AE15567E9BC2FA2B8E66D3BFE1395_inline(L_10, NULL);
__this->___U3Cstart_colorU3E5__6_7 = L_11;
// float alpha = 255;
__this->___U3CalphaU3E5__7_8 = (255.0f);
// int int_counter = 0;
V_2 = 0;
// float fadeDuration = 3 / starting_Count * CountDuration;
float L_12 = __this->___U3Cstarting_CountU3E5__3_4;
float L_13 = __this->___U3CCountDurationU3E5__2_3;
__this->___U3CfadeDurationU3E5__8_9 = ((float)il2cpp_codegen_multiply((float)((float)((float)(3.0f)/(float)L_12)), (float)L_13));
goto IL_024a;
}
IL_00a7:
{
// current_Count -= (Time.deltaTime / CountDuration) * starting_Count;
float L_14 = __this->___U3Ccurrent_CountU3E5__4_5;
float L_15;
L_15 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
float L_16 = __this->___U3CCountDurationU3E5__2_3;
float L_17 = __this->___U3Cstarting_CountU3E5__3_4;
__this->___U3Ccurrent_CountU3E5__4_5 = ((float)il2cpp_codegen_subtract((float)L_14, (float)((float)il2cpp_codegen_multiply((float)((float)((float)L_15/(float)L_16)), (float)L_17))));
// if (current_Count <= 3)
float L_18 = __this->___U3Ccurrent_CountU3E5__4_5;
if ((!(((float)L_18) <= ((float)(3.0f)))))
{
goto IL_0102;
}
}
{
// alpha = Mathf.Clamp(alpha - (Time.deltaTime / fadeDuration) * 255, 0, 255);
float L_19 = __this->___U3CalphaU3E5__7_8;
float L_20;
L_20 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
float L_21 = __this->___U3CfadeDurationU3E5__8_9;
float L_22;
L_22 = Mathf_Clamp_m154E404AF275A3B2EC99ECAA3879B4CB9F0606DC_inline(((float)il2cpp_codegen_subtract((float)L_19, (float)((float)il2cpp_codegen_multiply((float)((float)((float)L_20/(float)L_21)), (float)(255.0f))))), (0.0f), (255.0f), NULL);
__this->___U3CalphaU3E5__7_8 = L_22;
}
IL_0102:
{
// int_counter = (int)current_Count;
float L_23 = __this->___U3Ccurrent_CountU3E5__4_5;
V_2 = ((int32_t)((int32_t)L_23));
// m_textMesh.text = int_counter.ToString();
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_24 = V_1;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_25 = L_24->___m_textMesh_7;
String_t* L_26;
L_26 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_2), NULL);
TextMesh_set_text_mDF79D39638ED82797D0B0B3BB9E6B10712F8EA9E(L_25, L_26, NULL);
// m_textMesh.color = new Color32(start_color.r, start_color.g, start_color.b, (byte)alpha);
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_27 = V_1;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_28 = L_27->___m_textMesh_7;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B * L_29 = (&__this->___U3Cstart_colorU3E5__6_7);
uint8_t L_30 = L_29->___r_1;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B * L_31 = (&__this->___U3Cstart_colorU3E5__6_7);
uint8_t L_32 = L_31->___g_2;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B * L_33 = (&__this->___U3Cstart_colorU3E5__6_7);
uint8_t L_34 = L_33->___b_3;
float L_35 = __this->___U3CalphaU3E5__7_8;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_36;
memset((&L_36), 0, sizeof(L_36));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_36), L_30, L_32, L_34, (uint8_t)il2cpp_codegen_cast_floating_point<uint8_t, int32_t, float>(L_35), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_37;
L_37 = Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline(L_36, NULL);
TextMesh_set_color_mF08F30C3CD797C16289225B567724B9F07DC641E(L_28, L_37, NULL);
// m_floatingText_Transform.position += new Vector3(0, starting_Count * Time.deltaTime, 0);
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_38 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_39 = L_38->___m_floatingText_Transform_9;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_40 = L_39;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
L_41 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_40, NULL);
float L_42 = __this->___U3Cstarting_CountU3E5__3_4;
float L_43;
L_43 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
memset((&L_44), 0, sizeof(L_44));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_44), (0.0f), ((float)il2cpp_codegen_multiply((float)L_42, (float)L_43)), (0.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
L_45 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_41, L_44, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_40, L_45, NULL);
// if (!lastPOS.Compare(m_cameraTransform.position, 1000) || !lastRotation.Compare(m_cameraTransform.rotation, 1000))
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_46 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = L_46->___lastPOS_11;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_48 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_49 = L_48->___m_cameraTransform_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
L_50 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_49, NULL);
bool L_51;
L_51 = TMPro_ExtensionMethods_Compare_mA7AB3A35D921F8014C17306CC64D6CFD8F215CA6(L_47, L_50, ((int32_t)1000), NULL);
if (!L_51)
{
goto IL_01c4;
}
}
{
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_52 = V_1;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_53 = L_52->___lastRotation_12;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_54 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_55 = L_54->___m_cameraTransform_10;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_56;
L_56 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_55, NULL);
bool L_57;
L_57 = TMPro_ExtensionMethods_Compare_mFC4E4CDEBF258A3DC7411E7E2395FE58739BF3F7(L_53, L_56, ((int32_t)1000), NULL);
if (L_57)
{
goto IL_022f;
}
}
IL_01c4:
{
// lastPOS = m_cameraTransform.position;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_58 = V_1;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_59 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_60 = L_59->___m_cameraTransform_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
L_61 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_60, NULL);
L_58->___lastPOS_11 = L_61;
// lastRotation = m_cameraTransform.rotation;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_62 = V_1;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_63 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_64 = L_63->___m_cameraTransform_10;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65;
L_65 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_64, NULL);
L_62->___lastRotation_12 = L_65;
// m_floatingText_Transform.rotation = lastRotation;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_66 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_67 = L_66->___m_floatingText_Transform_9;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_68 = V_1;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_69 = L_68->___lastRotation_12;
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_67, L_69, NULL);
// Vector3 dir = m_transform.position - lastPOS;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_70 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_71 = L_70->___m_transform_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
L_72 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_71, NULL);
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_73 = V_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74 = L_73->___lastPOS_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
L_75 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_72, L_74, NULL);
V_3 = L_75;
// m_transform.forward = new Vector3(dir.x, 0, dir.z);
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_76 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_77 = L_76->___m_transform_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = V_3;
float L_79 = L_78.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80 = V_3;
float L_81 = L_80.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
memset((&L_82), 0, sizeof(L_82));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_82), L_79, (0.0f), L_81, /*hidden argument*/NULL);
Transform_set_forward_mA178B5CF4F0F6133F9AF8ED3A4ECD2C604C60C26(L_77, L_82, NULL);
}
IL_022f:
{
// yield return new WaitForEndOfFrame();
WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663 * L_83 = (WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663 *)il2cpp_codegen_object_new(WaitForEndOfFrame_tE38D80923E3F8380069B423968C25ABE50A46663_il2cpp_TypeInfo_var);
WaitForEndOfFrame__ctor_m4AF7E576C01E6B04443BB898B1AE5D645F7D45AB(L_83, /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_83;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_83);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_0243:
{
__this->___U3CU3E1__state_0 = (-1);
}
IL_024a:
{
// while (current_Count > 0)
float L_84 = __this->___U3Ccurrent_CountU3E5__4_5;
if ((((float)L_84) > ((float)(0.0f))))
{
goto IL_00a7;
}
}
{
// yield return new WaitForSeconds(Random.Range(0.1f, 1.0f));
float L_85;
L_85 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((0.100000001f), (1.0f), NULL);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_86 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_86, L_85, /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_86;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_86);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_027d:
{
__this->___U3CU3E1__state_0 = (-1);
// m_floatingText_Transform.position = start_pos;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_87 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_88 = L_87->___m_floatingText_Transform_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89 = __this->___U3Cstart_posU3E5__5_6;
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_88, L_89, NULL);
// StartCoroutine(DisplayTextMeshFloatingText());
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_90 = V_1;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_91 = V_1;
RuntimeObject* L_92;
L_92 = TextMeshProFloatingText_DisplayTextMeshFloatingText_mA02B20CF33E43FE99FD5F1B90F7F350262F0BEBE(L_91, NULL);
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * L_93;
L_93 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(L_90, L_92, NULL);
// }
return (bool)0;
}
}
// System.Object TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CDisplayTextMeshFloatingTextU3Ed__13_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_mA09D1AB4BEF083569018FF550A5D0E651CF9F2CD (U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CDisplayTextMeshFloatingTextU3Ed__13_System_Collections_IEnumerator_Reset_mC3C5ED94D6E74FB8551D2654A9279CF3E9E1DEBE (U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1 * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CDisplayTextMeshFloatingTextU3Ed__13_System_Collections_IEnumerator_Reset_mC3C5ED94D6E74FB8551D2654A9279CF3E9E1DEBE_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.TextMeshProFloatingText/<DisplayTextMeshFloatingText>d__13::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CDisplayTextMeshFloatingTextU3Ed__13_System_Collections_IEnumerator_get_Current_mB487D32B2C46BA2099D42B89F2275CC454E4483D (U3CDisplayTextMeshFloatingTextU3Ed__13_tFC924C56A4F46E6D8D46B95035B8A6D215A180A1 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TextMeshSpawner::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMeshSpawner_Awake_m9A84A570D2582918A6B1287139527E9AB2CF088D (TextMeshSpawner_tB6905931E9BE4D7A2A2E37A51E221A7B462D75BB * __this, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void TMPro.Examples.TextMeshSpawner::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMeshSpawner_Start_m3EE98071CA27A18904B859A0A6B215BDFEB50A66 (TextMeshSpawner_tB6905931E9BE4D7A2A2E37A51E221A7B462D75BB * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral15196F05B117690F3E12E56AA0C43803EA0D2A46);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_1 = NULL;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_2 = NULL;
{
// for (int i = 0; i < NumberOfNPC; i++)
V_0 = 0;
goto IL_0159;
}
IL_0007:
{
// if (SpawnType == 0)
int32_t L_0 = __this->___SpawnType_4;
if (L_0)
{
goto IL_00a3;
}
}
{
// GameObject go = new GameObject(); //"NPC " + i);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_1 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m7D0340DE160786E6EFA8DABD39EC3B694DA30AAD(L_1, /*hidden argument*/NULL);
V_1 = L_1;
// go.transform.position = new Vector3(Random.Range(-95f, 95f), 0.5f, Random.Range(-95f, 95f));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_2 = V_1;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_3;
L_3 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_2, NULL);
float L_4;
L_4 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-95.0f), (95.0f), NULL);
float L_5;
L_5 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-95.0f), (95.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
memset((&L_6), 0, sizeof(L_6));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_6), L_4, (0.5f), L_5, /*hidden argument*/NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_3, L_6, NULL);
// TextMeshPro textMeshPro = go.AddComponent<TextMeshPro>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_7 = V_1;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_8;
L_8 = GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C(L_7, GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
// textMeshPro.fontSize = 96;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_9 = L_8;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_9, (96.0f), NULL);
// textMeshPro.text = "!";
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_10 = L_9;
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_10, _stringLiteral15196F05B117690F3E12E56AA0C43803EA0D2A46);
// textMeshPro.color = new Color32(255, 255, 0, 255);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_11;
memset((&L_11), 0, sizeof(L_11));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_11), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)0, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_12;
L_12 = Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline(L_11, NULL);
VirtualActionInvoker1< Color_tD001788D726C3A7F1379BEED0260B9591F440C1F >::Invoke(23 /* System.Void UnityEngine.UI.Graphic::set_color(UnityEngine.Color) */, L_10, L_12);
// floatingText_Script = go.AddComponent<TextMeshProFloatingText>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_13 = V_1;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_14;
L_14 = GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1(L_13, GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1_RuntimeMethod_var);
__this->___floatingText_Script_7 = L_14;
Il2CppCodeGenWriteBarrier((void**)(&__this->___floatingText_Script_7), (void*)L_14);
// floatingText_Script.SpawnType = 0;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_15 = __this->___floatingText_Script_7;
L_15->___SpawnType_13 = 0;
goto IL_0155;
}
IL_00a3:
{
// GameObject go = new GameObject(); //"NPC " + i);
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_16 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m7D0340DE160786E6EFA8DABD39EC3B694DA30AAD(L_16, /*hidden argument*/NULL);
V_2 = L_16;
// go.transform.position = new Vector3(Random.Range(-95f, 95f), 0.5f, Random.Range(-95f, 95f));
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_17 = V_2;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_18;
L_18 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_17, NULL);
float L_19;
L_19 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-95.0f), (95.0f), NULL);
float L_20;
L_20 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-95.0f), (95.0f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
memset((&L_21), 0, sizeof(L_21));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_21), L_19, (0.5f), L_20, /*hidden argument*/NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_18, L_21, NULL);
// TextMesh textMesh = go.AddComponent<TextMesh>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_22 = V_2;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_23;
L_23 = GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2(L_22, GameObject_AddComponent_TisTextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8_mFAD74D91BCACF9C3FAE6960EB58D5C346DDBD9C2_RuntimeMethod_var);
// textMesh.GetComponent<Renderer>().sharedMaterial = TheFont.material;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_24 = L_23;
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF * L_25;
L_25 = Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8(L_24, Component_GetComponent_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_mC91ACC92AD57CA6CA00991DAF1DB3830BCE07AF8_RuntimeMethod_var);
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_26 = __this->___TheFont_6;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_27;
L_27 = Font_get_material_m61ABDEC14C6D659DDC5A4F080023699116C17364(L_26, NULL);
Renderer_set_sharedMaterial_m5E842F9A06CFB7B77656EB319881CB4B3E8E4288(L_25, L_27, NULL);
// textMesh.font = TheFont;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_28 = L_24;
Font_tC95270EA3198038970422D78B74A7F2E218A96B6 * L_29 = __this->___TheFont_6;
TextMesh_set_font_m7E407CAEDBB382B95B70069D8FAB8A9E74EAAA74(L_28, L_29, NULL);
// textMesh.anchor = TextAnchor.LowerCenter;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_30 = L_28;
TextMesh_set_anchor_m3FCB7C4B1FF66CE189B56076C0306AFE984FCD32(L_30, 7, NULL);
// textMesh.fontSize = 96;
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_31 = L_30;
TextMesh_set_fontSize_mAB9F7FFC0E4DB759B786F6A9357B18C86015498B(L_31, ((int32_t)96), NULL);
// textMesh.color = new Color32(255, 255, 0, 255);
TextMesh_t7E1981C7B03E50D5CA5A3AD5B0D9BB0AB6EE91F8 * L_32 = L_31;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_33;
memset((&L_33), 0, sizeof(L_33));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_33), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)0, (uint8_t)((int32_t)255), /*hidden argument*/NULL);
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_34;
L_34 = Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline(L_33, NULL);
TextMesh_set_color_mF08F30C3CD797C16289225B567724B9F07DC641E(L_32, L_34, NULL);
// textMesh.text = "!";
TextMesh_set_text_mDF79D39638ED82797D0B0B3BB9E6B10712F8EA9E(L_32, _stringLiteral15196F05B117690F3E12E56AA0C43803EA0D2A46, NULL);
// floatingText_Script = go.AddComponent<TextMeshProFloatingText>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_35 = V_2;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_36;
L_36 = GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1(L_35, GameObject_AddComponent_TisTextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31_m3DBA7F56D8D880227B1D70FAA3DF6988A4EE69F1_RuntimeMethod_var);
__this->___floatingText_Script_7 = L_36;
Il2CppCodeGenWriteBarrier((void**)(&__this->___floatingText_Script_7), (void*)L_36);
// floatingText_Script.SpawnType = 1;
TextMeshProFloatingText_t833773B79A4826E78EDF2799C157B0EC3ACACB31 * L_37 = __this->___floatingText_Script_7;
L_37->___SpawnType_13 = 1;
}
IL_0155:
{
// for (int i = 0; i < NumberOfNPC; i++)
int32_t L_38 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_38, (int32_t)1));
}
IL_0159:
{
// for (int i = 0; i < NumberOfNPC; i++)
int32_t L_39 = V_0;
int32_t L_40 = __this->___NumberOfNPC_5;
if ((((int32_t)L_39) < ((int32_t)L_40)))
{
goto IL_0007;
}
}
{
// }
return;
}
}
// System.Void TMPro.Examples.TextMeshSpawner::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TextMeshSpawner__ctor_m8409A62C31C4A6B6CEC2F48F1DC9777460C28233 (TextMeshSpawner_tB6905931E9BE4D7A2A2E37A51E221A7B462D75BB * __this, const RuntimeMethod* method)
{
{
// public int NumberOfNPC = 12;
__this->___NumberOfNPC_5 = ((int32_t)12);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TMPro_InstructionOverlay::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMPro_InstructionOverlay_Awake_m0F92D44F62A9AC086DE3DF1E4C7BFAF645EE7084 (TMPro_InstructionOverlay_t1CFD12C64F70D5D2FBE29466015C02776A406B62 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisTextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C_mA04134D48462B7543775CE11D71859B1D2A99872_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral269F8BFBE6C7517C00380B92291D0799AAB2F285);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9ECD13393A1BC799BB4763A4E4CD5B53E220C53A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA6107EE62A5874EF8D2DEAC7D3C0A9F07B89E096);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAB3448E21FA53C63C06270903A13B17D02935BE0);
s_Il2CppMethodInitialized = true;
}
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_0 = NULL;
{
// if (!enabled)
bool L_0;
L_0 = Behaviour_get_enabled_mAAC9F15E9EBF552217A5AE2681589CC0BFA300C1(__this, NULL);
if (L_0)
{
goto IL_0009;
}
}
{
// return;
return;
}
IL_0009:
{
// m_camera = Camera.main;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_1;
L_1 = Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43(NULL);
__this->___m_camera_9 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_camera_9), (void*)L_1);
// GameObject frameCounter = new GameObject("Frame Counter");
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_2 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_2, _stringLiteralA6107EE62A5874EF8D2DEAC7D3C0A9F07B89E096, /*hidden argument*/NULL);
V_0 = L_2;
// m_frameCounter_transform = frameCounter.transform;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3 = V_0;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_4;
L_4 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_3, NULL);
__this->___m_frameCounter_transform_8 = L_4;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_frameCounter_transform_8), (void*)L_4);
// m_frameCounter_transform.parent = m_camera.transform;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_5 = __this->___m_frameCounter_transform_8;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_6 = __this->___m_camera_9;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_7;
L_7 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_6, NULL);
Transform_set_parent_m9BD5E563B539DD5BEC342736B03F97B38A243234(L_5, L_7, NULL);
// m_frameCounter_transform.localRotation = Quaternion.identity;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_8 = __this->___m_frameCounter_transform_8;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
L_9 = Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline(NULL);
Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA(L_8, L_9, NULL);
// m_TextMeshPro = frameCounter.AddComponent<TextMeshPro>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_10 = V_0;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_11;
L_11 = GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C(L_10, GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
__this->___m_TextMeshPro_6 = L_11;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextMeshPro_6), (void*)L_11);
// m_TextMeshPro.font = Resources.Load<TMP_FontAsset>("Fonts & Materials/LiberationSans SDF");
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_12 = __this->___m_TextMeshPro_6;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * L_13;
L_13 = Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13(_stringLiteralAB3448E21FA53C63C06270903A13B17D02935BE0, Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13_RuntimeMethod_var);
TMP_Text_set_font_mC55E4A8C1C09595031384B35F2C2FB2FC3479E83(L_12, L_13, NULL);
// m_TextMeshPro.fontSharedMaterial = Resources.Load<Material>("Fonts & Materials/LiberationSans SDF - Overlay");
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_14 = __this->___m_TextMeshPro_6;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_15;
L_15 = Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128(_stringLiteral9ECD13393A1BC799BB4763A4E4CD5B53E220C53A, Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var);
VirtualActionInvoker1< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(68 /* System.Void TMPro.TMP_Text::set_fontSharedMaterial(UnityEngine.Material) */, L_14, L_15);
// m_TextMeshPro.fontSize = 30;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_16 = __this->___m_TextMeshPro_6;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_16, (30.0f), NULL);
// m_TextMeshPro.isOverlay = true;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_17 = __this->___m_TextMeshPro_6;
TMP_Text_set_isOverlay_m0DA2AC113AE402CA25097641AD38D0822C6D5561(L_17, (bool)1, NULL);
// m_textContainer = frameCounter.GetComponent<TextContainer>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_18 = V_0;
TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C * L_19;
L_19 = GameObject_GetComponent_TisTextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C_mA04134D48462B7543775CE11D71859B1D2A99872(L_18, GameObject_GetComponent_TisTextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C_mA04134D48462B7543775CE11D71859B1D2A99872_RuntimeMethod_var);
__this->___m_textContainer_7 = L_19;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_textContainer_7), (void*)L_19);
// Set_FrameCounter_Position(AnchorPosition);
int32_t L_20 = __this->___AnchorPosition_4;
TMPro_InstructionOverlay_Set_FrameCounter_Position_m3CC1B812C740BAE87C6B5CA94DC64E6131F42A7C(__this, L_20, NULL);
// m_TextMeshPro.text = instructions;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_21 = __this->___m_TextMeshPro_6;
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_21, _stringLiteral269F8BFBE6C7517C00380B92291D0799AAB2F285);
// }
return;
}
}
// System.Void TMPro.Examples.TMPro_InstructionOverlay::Set_FrameCounter_Position(TMPro.Examples.TMPro_InstructionOverlay/FpsCounterAnchorPositions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMPro_InstructionOverlay_Set_FrameCounter_Position_m3CC1B812C740BAE87C6B5CA94DC64E6131F42A7C (TMPro_InstructionOverlay_t1CFD12C64F70D5D2FBE29466015C02776A406B62 * __this, int32_t ___anchor_position0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___anchor_position0;
switch (L_0)
{
case 0:
{
goto IL_0017;
}
case 1:
{
goto IL_004e;
}
case 2:
{
goto IL_0085;
}
case 3:
{
goto IL_00bc;
}
}
}
{
return;
}
IL_0017:
{
// m_textContainer.anchorPosition = TextContainerAnchors.TopLeft;
TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C * L_1 = __this->___m_textContainer_7;
TextContainer_set_anchorPosition_mA915529616A0B4679FAAA6183FC194597E03EA50(L_1, 0, NULL);
// m_frameCounter_transform.position = m_camera.ViewportToWorldPoint(new Vector3(0, 1, 100.0f));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_2 = __this->___m_frameCounter_transform_8;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_3 = __this->___m_camera_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
memset((&L_4), 0, sizeof(L_4));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_4), (0.0f), (1.0f), (100.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
L_5 = Camera_ViewportToWorldPoint_m9D76494E8B695ADF7690BAF7953B89B152D96E71(L_3, L_4, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_2, L_5, NULL);
// break;
return;
}
IL_004e:
{
// m_textContainer.anchorPosition = TextContainerAnchors.BottomLeft;
TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C * L_6 = __this->___m_textContainer_7;
TextContainer_set_anchorPosition_mA915529616A0B4679FAAA6183FC194597E03EA50(L_6, 6, NULL);
// m_frameCounter_transform.position = m_camera.ViewportToWorldPoint(new Vector3(0, 0, 100.0f));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_7 = __this->___m_frameCounter_transform_8;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_8 = __this->___m_camera_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), (0.0f), (0.0f), (100.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
L_10 = Camera_ViewportToWorldPoint_m9D76494E8B695ADF7690BAF7953B89B152D96E71(L_8, L_9, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_7, L_10, NULL);
// break;
return;
}
IL_0085:
{
// m_textContainer.anchorPosition = TextContainerAnchors.TopRight;
TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C * L_11 = __this->___m_textContainer_7;
TextContainer_set_anchorPosition_mA915529616A0B4679FAAA6183FC194597E03EA50(L_11, 2, NULL);
// m_frameCounter_transform.position = m_camera.ViewportToWorldPoint(new Vector3(1, 1, 100.0f));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_12 = __this->___m_frameCounter_transform_8;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_13 = __this->___m_camera_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
memset((&L_14), 0, sizeof(L_14));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_14), (1.0f), (1.0f), (100.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
L_15 = Camera_ViewportToWorldPoint_m9D76494E8B695ADF7690BAF7953B89B152D96E71(L_13, L_14, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_12, L_15, NULL);
// break;
return;
}
IL_00bc:
{
// m_textContainer.anchorPosition = TextContainerAnchors.BottomRight;
TextContainer_t949A6EBEE5C8832723E73D8D3DCF4C8D0B3D7F3C * L_16 = __this->___m_textContainer_7;
TextContainer_set_anchorPosition_mA915529616A0B4679FAAA6183FC194597E03EA50(L_16, 8, NULL);
// m_frameCounter_transform.position = m_camera.ViewportToWorldPoint(new Vector3(1, 0, 100.0f));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_17 = __this->___m_frameCounter_transform_8;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_18 = __this->___m_camera_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
memset((&L_19), 0, sizeof(L_19));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_19), (1.0f), (0.0f), (100.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
L_20 = Camera_ViewportToWorldPoint_m9D76494E8B695ADF7690BAF7953B89B152D96E71(L_18, L_19, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_17, L_20, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.TMPro_InstructionOverlay::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMPro_InstructionOverlay__ctor_m247258528E488171765F77A9A3C6B7E079E64839 (TMPro_InstructionOverlay_t1CFD12C64F70D5D2FBE29466015C02776A406B62 * __this, const RuntimeMethod* method)
{
{
// public FpsCounterAnchorPositions AnchorPosition = FpsCounterAnchorPositions.BottomLeft;
__this->___AnchorPosition_4 = 1;
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TMP_ExampleScript_01::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_ExampleScript_01_Awake_m6E620605AE9CCC3789A2D5CFD841E5DAB8592063 (TMP_ExampleScript_01_t12A14830C25DE1BA02443B22907A196BE4B44305 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m23F8F2F9DD5A54329CEB47D53B4CAA8BC4A562AA_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_m991A1A2A2EFE70B64BBECFF1B44EE5C04FF8994E_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0570B799853B77BFC04E0AB8BD83CD1E5089060A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA294DAD207C32424675CE40B7B7673FBE9C295B3);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCEB055F85C5660DEABF3989A924C2D2EDB0C8C84);
s_Il2CppMethodInitialized = true;
}
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * G_B3_0 = NULL;
TMP_ExampleScript_01_t12A14830C25DE1BA02443B22907A196BE4B44305 * G_B3_1 = NULL;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * G_B2_0 = NULL;
TMP_ExampleScript_01_t12A14830C25DE1BA02443B22907A196BE4B44305 * G_B2_1 = NULL;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * G_B6_0 = NULL;
TMP_ExampleScript_01_t12A14830C25DE1BA02443B22907A196BE4B44305 * G_B6_1 = NULL;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * G_B5_0 = NULL;
TMP_ExampleScript_01_t12A14830C25DE1BA02443B22907A196BE4B44305 * G_B5_1 = NULL;
{
// if (ObjectType == 0)
int32_t L_0 = __this->___ObjectType_4;
if (L_0)
{
goto IL_0025;
}
}
{
// m_text = GetComponent<TextMeshPro>() ?? gameObject.AddComponent<TextMeshPro>();
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_1;
L_1 = Component_GetComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_m991A1A2A2EFE70B64BBECFF1B44EE5C04FF8994E(__this, Component_GetComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_m991A1A2A2EFE70B64BBECFF1B44EE5C04FF8994E_RuntimeMethod_var);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_2 = L_1;
G_B2_0 = L_2;
G_B2_1 = __this;
if (L_2)
{
G_B3_0 = L_2;
G_B3_1 = __this;
goto IL_001e;
}
}
{
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3;
L_3 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_4;
L_4 = GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C(L_3, GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
G_B3_0 = L_4;
G_B3_1 = G_B2_1;
}
IL_001e:
{
G_B3_1->___m_text_6 = G_B3_0;
Il2CppCodeGenWriteBarrier((void**)(&G_B3_1->___m_text_6), (void*)G_B3_0);
goto IL_0040;
}
IL_0025:
{
// m_text = GetComponent<TextMeshProUGUI>() ?? gameObject.AddComponent<TextMeshProUGUI>();
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_5;
L_5 = Component_GetComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m23F8F2F9DD5A54329CEB47D53B4CAA8BC4A562AA(__this, Component_GetComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m23F8F2F9DD5A54329CEB47D53B4CAA8BC4A562AA_RuntimeMethod_var);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_6 = L_5;
G_B5_0 = L_6;
G_B5_1 = __this;
if (L_6)
{
G_B6_0 = L_6;
G_B6_1 = __this;
goto IL_003b;
}
}
{
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_7;
L_7 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_8;
L_8 = GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB(L_7, GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB_RuntimeMethod_var);
G_B6_0 = L_8;
G_B6_1 = G_B5_1;
}
IL_003b:
{
G_B6_1->___m_text_6 = G_B6_0;
Il2CppCodeGenWriteBarrier((void**)(&G_B6_1->___m_text_6), (void*)G_B6_0);
}
IL_0040:
{
// m_text.font = Resources.Load<TMP_FontAsset>("Fonts & Materials/Anton SDF");
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_9 = __this->___m_text_6;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * L_10;
L_10 = Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13(_stringLiteralCEB055F85C5660DEABF3989A924C2D2EDB0C8C84, Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13_RuntimeMethod_var);
TMP_Text_set_font_mC55E4A8C1C09595031384B35F2C2FB2FC3479E83(L_9, L_10, NULL);
// m_text.fontSharedMaterial = Resources.Load<Material>("Fonts & Materials/Anton SDF - Drop Shadow");
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_11 = __this->___m_text_6;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_12;
L_12 = Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128(_stringLiteralA294DAD207C32424675CE40B7B7673FBE9C295B3, Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var);
VirtualActionInvoker1< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(68 /* System.Void TMPro.TMP_Text::set_fontSharedMaterial(UnityEngine.Material) */, L_11, L_12);
// m_text.fontSize = 120;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_13 = __this->___m_text_6;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_13, (120.0f), NULL);
// m_text.text = "A <#0080ff>simple</color> line of text.";
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_14 = __this->___m_text_6;
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_14, _stringLiteral0570B799853B77BFC04E0AB8BD83CD1E5089060A);
// Vector2 size = m_text.GetPreferredValues(Mathf.Infinity, Mathf.Infinity);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_15 = __this->___m_text_6;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_16;
L_16 = TMP_Text_GetPreferredValues_m1F06F3D203FD8F13D0335F697E839E5DAA61DD14(L_15, (std::numeric_limits<float>::infinity()), (std::numeric_limits<float>::infinity()), NULL);
V_0 = L_16;
// m_text.rectTransform.sizeDelta = new Vector2(size.x, size.y);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_17 = __this->___m_text_6;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_18;
L_18 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_17, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_19 = V_0;
float L_20 = L_19.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_21 = V_0;
float L_22 = L_21.___y_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_23;
memset((&L_23), 0, sizeof(L_23));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_23), L_20, L_22, /*hidden argument*/NULL);
RectTransform_set_sizeDelta_mC9A980EA6036E6725EF24CEDF3EE80A9B2B50EE5(L_18, L_23, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.TMP_ExampleScript_01::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_ExampleScript_01_Update_m3D4A9AB04728F0ABD4C7C8A462E2C811308D97A1 (TMP_ExampleScript_01_t12A14830C25DE1BA02443B22907A196BE4B44305 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral71BD498E5FC7E3B8709294B88AB8FAB2CFF77CAE);
s_Il2CppMethodInitialized = true;
}
{
// if (!isStatic)
bool L_0 = __this->___isStatic_5;
if (L_0)
{
goto IL_0033;
}
}
{
// m_text.SetText(k_label, count % 1000);
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_1 = __this->___m_text_6;
int32_t L_2 = __this->___count_8;
TMP_Text_SetText_mC6973FFC60DB6A96B0C4253CD2FD9D0789ECC533(L_1, _stringLiteral71BD498E5FC7E3B8709294B88AB8FAB2CFF77CAE, ((float)((float)((int32_t)((int32_t)L_2%(int32_t)((int32_t)1000))))), NULL);
// count += 1;
int32_t L_3 = __this->___count_8;
__this->___count_8 = ((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)1));
}
IL_0033:
{
// }
return;
}
}
// System.Void TMPro.Examples.TMP_ExampleScript_01::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_ExampleScript_01__ctor_m43F9206FDB1606CD28F1A441188E777546CFEA2A (TMP_ExampleScript_01_t12A14830C25DE1BA02443B22907A196BE4B44305 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TMP_FrameRateCounter::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_FrameRateCounter_Awake_m99156EF53E5848DE83107BFAC803C33DC964265C (TMP_FrameRateCounter_t65C436069EE403C827CBE41C38F5B5C9D2FC946B * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9ECD13393A1BC799BB4763A4E4CD5B53E220C53A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA6107EE62A5874EF8D2DEAC7D3C0A9F07B89E096);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAB3448E21FA53C63C06270903A13B17D02935BE0);
s_Il2CppMethodInitialized = true;
}
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_0 = NULL;
{
// if (!enabled)
bool L_0;
L_0 = Behaviour_get_enabled_mAAC9F15E9EBF552217A5AE2681589CC0BFA300C1(__this, NULL);
if (L_0)
{
goto IL_0009;
}
}
{
// return;
return;
}
IL_0009:
{
// m_camera = Camera.main;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_1;
L_1 = Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43(NULL);
__this->___m_camera_12 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_camera_12), (void*)L_1);
// Application.targetFrameRate = -1;
Application_set_targetFrameRate_m794A13DC5116C506B042663606691257CF3A7325((-1), NULL);
// GameObject frameCounter = new GameObject("Frame Counter");
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_2 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_2, _stringLiteralA6107EE62A5874EF8D2DEAC7D3C0A9F07B89E096, /*hidden argument*/NULL);
V_0 = L_2;
// m_TextMeshPro = frameCounter.AddComponent<TextMeshPro>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_3 = V_0;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_4;
L_4 = GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C(L_3, GameObject_AddComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_mD3BE0A75BBE971456A1D7C8C6F6688A094A81C9C_RuntimeMethod_var);
__this->___m_TextMeshPro_10 = L_4;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextMeshPro_10), (void*)L_4);
// m_TextMeshPro.font = Resources.Load<TMP_FontAsset>("Fonts & Materials/LiberationSans SDF");
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_5 = __this->___m_TextMeshPro_10;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * L_6;
L_6 = Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13(_stringLiteralAB3448E21FA53C63C06270903A13B17D02935BE0, Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13_RuntimeMethod_var);
TMP_Text_set_font_mC55E4A8C1C09595031384B35F2C2FB2FC3479E83(L_5, L_6, NULL);
// m_TextMeshPro.fontSharedMaterial = Resources.Load<Material>("Fonts & Materials/LiberationSans SDF - Overlay");
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_7 = __this->___m_TextMeshPro_10;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_8;
L_8 = Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128(_stringLiteral9ECD13393A1BC799BB4763A4E4CD5B53E220C53A, Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var);
VirtualActionInvoker1< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(68 /* System.Void TMPro.TMP_Text::set_fontSharedMaterial(UnityEngine.Material) */, L_7, L_8);
// m_frameCounter_transform = frameCounter.transform;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_9 = V_0;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_10;
L_10 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_9, NULL);
__this->___m_frameCounter_transform_11 = L_10;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_frameCounter_transform_11), (void*)L_10);
// m_frameCounter_transform.SetParent(m_camera.transform);
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_11 = __this->___m_frameCounter_transform_11;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_12 = __this->___m_camera_12;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_13;
L_13 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_12, NULL);
Transform_SetParent_m6677538B60246D958DD91F931C50F969CCBB5250(L_11, L_13, NULL);
// m_frameCounter_transform.localRotation = Quaternion.identity;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_14 = __this->___m_frameCounter_transform_11;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
L_15 = Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline(NULL);
Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA(L_14, L_15, NULL);
// m_TextMeshPro.enableWordWrapping = false;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_16 = __this->___m_TextMeshPro_10;
TMP_Text_set_enableWordWrapping_mFAEE849315B4723F9C86C127B1A59EF50BE1C12F(L_16, (bool)0, NULL);
// m_TextMeshPro.fontSize = 24;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_17 = __this->___m_TextMeshPro_10;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_17, (24.0f), NULL);
// m_TextMeshPro.isOverlay = true;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_18 = __this->___m_TextMeshPro_10;
TMP_Text_set_isOverlay_m0DA2AC113AE402CA25097641AD38D0822C6D5561(L_18, (bool)1, NULL);
// Set_FrameCounter_Position(AnchorPosition);
int32_t L_19 = __this->___AnchorPosition_7;
TMP_FrameRateCounter_Set_FrameCounter_Position_m1CC40A8236B2161050D19C4B2EBFF34B96645723(__this, L_19, NULL);
// last_AnchorPosition = AnchorPosition;
int32_t L_20 = __this->___AnchorPosition_7;
__this->___last_AnchorPosition_13 = L_20;
// }
return;
}
}
// System.Void TMPro.Examples.TMP_FrameRateCounter::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_FrameRateCounter_Start_m9B5D0A86D174DA019F3EB5C6E9BD54634B2F909A (TMP_FrameRateCounter_t65C436069EE403C827CBE41C38F5B5C9D2FC946B * __this, const RuntimeMethod* method)
{
{
// m_LastInterval = Time.realtimeSinceStartup;
float L_0;
L_0 = Time_get_realtimeSinceStartup_mB49A5622E38FFE9589EB9B3E75573E443B8D63EC(NULL);
__this->___m_LastInterval_5 = L_0;
// m_Frames = 0;
__this->___m_Frames_6 = 0;
// }
return;
}
}
// System.Void TMPro.Examples.TMP_FrameRateCounter::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_FrameRateCounter_Update_m5251EE9AC9DCB99D0871EE83624C8A9012E6A079 (TMP_FrameRateCounter_t65C436069EE403C827CBE41C38F5B5C9D2FC946B * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7F85A2723BB62FEF95DD6F8C5F0FF606EA62246A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8ACAA4E0B28437F5FD1A41CE6591A16813F05377);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA87D266F5AAE1AF5998468D25833A8C6AD50D4FD);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD00074DE8ACBEBA7EF28BE447E997E8352E84502);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
{
// if (AnchorPosition != last_AnchorPosition)
int32_t L_0 = __this->___AnchorPosition_7;
int32_t L_1 = __this->___last_AnchorPosition_13;
if ((((int32_t)L_0) == ((int32_t)L_1)))
{
goto IL_001a;
}
}
{
// Set_FrameCounter_Position(AnchorPosition);
int32_t L_2 = __this->___AnchorPosition_7;
TMP_FrameRateCounter_Set_FrameCounter_Position_m1CC40A8236B2161050D19C4B2EBFF34B96645723(__this, L_2, NULL);
}
IL_001a:
{
// last_AnchorPosition = AnchorPosition;
int32_t L_3 = __this->___AnchorPosition_7;
__this->___last_AnchorPosition_13 = L_3;
// m_Frames += 1;
int32_t L_4 = __this->___m_Frames_6;
__this->___m_Frames_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1));
// float timeNow = Time.realtimeSinceStartup;
float L_5;
L_5 = Time_get_realtimeSinceStartup_mB49A5622E38FFE9589EB9B3E75573E443B8D63EC(NULL);
V_0 = L_5;
// if (timeNow > m_LastInterval + UpdateInterval)
float L_6 = V_0;
float L_7 = __this->___m_LastInterval_5;
float L_8 = __this->___UpdateInterval_4;
if ((!(((float)L_6) > ((float)((float)il2cpp_codegen_add((float)L_7, (float)L_8))))))
{
goto IL_00d0;
}
}
{
// float fps = m_Frames / (timeNow - m_LastInterval);
int32_t L_9 = __this->___m_Frames_6;
float L_10 = V_0;
float L_11 = __this->___m_LastInterval_5;
V_1 = ((float)((float)((float)((float)L_9))/(float)((float)il2cpp_codegen_subtract((float)L_10, (float)L_11))));
// float ms = 1000.0f / Mathf.Max(fps, 0.00001f);
float L_12 = V_1;
float L_13;
L_13 = Mathf_Max_mA9DCA91E87D6D27034F56ABA52606A9090406016_inline(L_12, (9.99999975E-06f), NULL);
V_2 = ((float)((float)(1000.0f)/(float)L_13));
// if (fps < 30)
float L_14 = V_1;
if ((!(((float)L_14) < ((float)(30.0f)))))
{
goto IL_0085;
}
}
{
// htmlColorTag = "<color=yellow>";
__this->___htmlColorTag_8 = _stringLiteralA87D266F5AAE1AF5998468D25833A8C6AD50D4FD;
Il2CppCodeGenWriteBarrier((void**)(&__this->___htmlColorTag_8), (void*)_stringLiteralA87D266F5AAE1AF5998468D25833A8C6AD50D4FD);
goto IL_00a5;
}
IL_0085:
{
// else if (fps < 10)
float L_15 = V_1;
if ((!(((float)L_15) < ((float)(10.0f)))))
{
goto IL_009a;
}
}
{
// htmlColorTag = "<color=red>";
__this->___htmlColorTag_8 = _stringLiteral8ACAA4E0B28437F5FD1A41CE6591A16813F05377;
Il2CppCodeGenWriteBarrier((void**)(&__this->___htmlColorTag_8), (void*)_stringLiteral8ACAA4E0B28437F5FD1A41CE6591A16813F05377);
goto IL_00a5;
}
IL_009a:
{
// htmlColorTag = "<color=green>";
__this->___htmlColorTag_8 = _stringLiteral7F85A2723BB62FEF95DD6F8C5F0FF606EA62246A;
Il2CppCodeGenWriteBarrier((void**)(&__this->___htmlColorTag_8), (void*)_stringLiteral7F85A2723BB62FEF95DD6F8C5F0FF606EA62246A);
}
IL_00a5:
{
// m_TextMeshPro.SetText(htmlColorTag + fpsLabel, fps, ms);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_16 = __this->___m_TextMeshPro_10;
String_t* L_17 = __this->___htmlColorTag_8;
String_t* L_18;
L_18 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(L_17, _stringLiteralD00074DE8ACBEBA7EF28BE447E997E8352E84502, NULL);
float L_19 = V_1;
float L_20 = V_2;
TMP_Text_SetText_m033947AEEEBDA12707E4B0535B4CCD7EB28B5F31(L_16, L_18, L_19, L_20, NULL);
// m_Frames = 0;
__this->___m_Frames_6 = 0;
// m_LastInterval = timeNow;
float L_21 = V_0;
__this->___m_LastInterval_5 = L_21;
}
IL_00d0:
{
// }
return;
}
}
// System.Void TMPro.Examples.TMP_FrameRateCounter::Set_FrameCounter_Position(TMPro.Examples.TMP_FrameRateCounter/FpsCounterAnchorPositions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_FrameRateCounter_Set_FrameCounter_Position_m1CC40A8236B2161050D19C4B2EBFF34B96645723 (TMP_FrameRateCounter_t65C436069EE403C827CBE41C38F5B5C9D2FC946B * __this, int32_t ___anchor_position0, const RuntimeMethod* method)
{
{
// m_TextMeshPro.margin = new Vector4(1f, 1f, 1f, 1f);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_0 = __this->___m_TextMeshPro_10;
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_1;
memset((&L_1), 0, sizeof(L_1));
Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline((&L_1), (1.0f), (1.0f), (1.0f), (1.0f), /*hidden argument*/NULL);
VirtualActionInvoker1< Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 >::Invoke(74 /* System.Void TMPro.TMP_Text::set_margin(UnityEngine.Vector4) */, L_0, L_1);
int32_t L_2 = ___anchor_position0;
switch (L_2)
{
case 0:
{
goto IL_003b;
}
case 1:
{
goto IL_0095;
}
case 2:
{
goto IL_00ef;
}
case 3:
{
goto IL_0149;
}
}
}
{
return;
}
IL_003b:
{
// m_TextMeshPro.alignment = TextAlignmentOptions.TopLeft;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_3 = __this->___m_TextMeshPro_10;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_3, ((int32_t)257), NULL);
// m_TextMeshPro.rectTransform.pivot = new Vector2(0, 1);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_4 = __this->___m_TextMeshPro_10;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_5;
L_5 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_4, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6;
memset((&L_6), 0, sizeof(L_6));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_6), (0.0f), (1.0f), /*hidden argument*/NULL);
RectTransform_set_pivot_m79D0177D383D432A93C2615F1932B739B1C6E146(L_5, L_6, NULL);
// m_frameCounter_transform.position = m_camera.ViewportToWorldPoint(new Vector3(0, 1, 100.0f));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_7 = __this->___m_frameCounter_transform_11;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_8 = __this->___m_camera_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), (0.0f), (1.0f), (100.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
L_10 = Camera_ViewportToWorldPoint_m9D76494E8B695ADF7690BAF7953B89B152D96E71(L_8, L_9, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_7, L_10, NULL);
// break;
return;
}
IL_0095:
{
// m_TextMeshPro.alignment = TextAlignmentOptions.BottomLeft;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_11 = __this->___m_TextMeshPro_10;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_11, ((int32_t)1025), NULL);
// m_TextMeshPro.rectTransform.pivot = new Vector2(0, 0);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_12 = __this->___m_TextMeshPro_10;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_13;
L_13 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_12, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_14;
memset((&L_14), 0, sizeof(L_14));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_14), (0.0f), (0.0f), /*hidden argument*/NULL);
RectTransform_set_pivot_m79D0177D383D432A93C2615F1932B739B1C6E146(L_13, L_14, NULL);
// m_frameCounter_transform.position = m_camera.ViewportToWorldPoint(new Vector3(0, 0, 100.0f));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_15 = __this->___m_frameCounter_transform_11;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_16 = __this->___m_camera_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
memset((&L_17), 0, sizeof(L_17));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_17), (0.0f), (0.0f), (100.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
L_18 = Camera_ViewportToWorldPoint_m9D76494E8B695ADF7690BAF7953B89B152D96E71(L_16, L_17, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_15, L_18, NULL);
// break;
return;
}
IL_00ef:
{
// m_TextMeshPro.alignment = TextAlignmentOptions.TopRight;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_19 = __this->___m_TextMeshPro_10;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_19, ((int32_t)260), NULL);
// m_TextMeshPro.rectTransform.pivot = new Vector2(1, 1);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_20 = __this->___m_TextMeshPro_10;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_21;
L_21 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_20, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_22;
memset((&L_22), 0, sizeof(L_22));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_22), (1.0f), (1.0f), /*hidden argument*/NULL);
RectTransform_set_pivot_m79D0177D383D432A93C2615F1932B739B1C6E146(L_21, L_22, NULL);
// m_frameCounter_transform.position = m_camera.ViewportToWorldPoint(new Vector3(1, 1, 100.0f));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_23 = __this->___m_frameCounter_transform_11;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_24 = __this->___m_camera_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
memset((&L_25), 0, sizeof(L_25));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_25), (1.0f), (1.0f), (100.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
L_26 = Camera_ViewportToWorldPoint_m9D76494E8B695ADF7690BAF7953B89B152D96E71(L_24, L_25, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_23, L_26, NULL);
// break;
return;
}
IL_0149:
{
// m_TextMeshPro.alignment = TextAlignmentOptions.BottomRight;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_27 = __this->___m_TextMeshPro_10;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_27, ((int32_t)1028), NULL);
// m_TextMeshPro.rectTransform.pivot = new Vector2(1, 0);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_28 = __this->___m_TextMeshPro_10;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_29;
L_29 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_28, NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_30;
memset((&L_30), 0, sizeof(L_30));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_30), (1.0f), (0.0f), /*hidden argument*/NULL);
RectTransform_set_pivot_m79D0177D383D432A93C2615F1932B739B1C6E146(L_29, L_30, NULL);
// m_frameCounter_transform.position = m_camera.ViewportToWorldPoint(new Vector3(1, 0, 100.0f));
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_31 = __this->___m_frameCounter_transform_11;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_32 = __this->___m_camera_12;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
memset((&L_33), 0, sizeof(L_33));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_33), (1.0f), (0.0f), (100.0f), /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
L_34 = Camera_ViewportToWorldPoint_m9D76494E8B695ADF7690BAF7953B89B152D96E71(L_32, L_33, NULL);
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_31, L_34, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.TMP_FrameRateCounter::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_FrameRateCounter__ctor_mD8804AE37CED37A01DF943624D3C2C48FBC9AE43 (TMP_FrameRateCounter_t65C436069EE403C827CBE41C38F5B5C9D2FC946B * __this, const RuntimeMethod* method)
{
{
// public float UpdateInterval = 5.0f;
__this->___UpdateInterval_4 = (5.0f);
// public FpsCounterAnchorPositions AnchorPosition = FpsCounterAnchorPositions.TopRight;
__this->___AnchorPosition_7 = 2;
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TMP_TextEventCheck::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventCheck_OnEnable_mABF0C00DDBB37230534C49AD9CA342D96757AA3E (TMP_TextEventCheck_tC19A6E94690E74ED73926E8EDC5F611501DC6233 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextEventCheck_OnCharacterSelection_mB421E2CFB617397137CF1AE9CC2F49E46EB3F0AE_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextEventCheck_OnLineSelection_mE0538FFAFE04A286F937907D0E4664338DCF1559_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextEventCheck_OnLinkSelection_m72BF9241651D44805590F1DBADF2FD864D209779_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextEventCheck_OnSpriteSelection_mD88D899DE3321CC15502BB1174709BE290AB6215_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextEventCheck_OnWordSelection_m180B102DAED1F3313F2F4BB6CF588FF96C8CAB79_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_3__ctor_m16AB9F4E444421420CA4A34EA0A6F60B15E20B9D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_3__ctor_m7F8FD30A8410091074136C8426E3B7338FD2D7FB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_2_AddListener_mE2FC084F4ADB9D24D904D6A39A83763969F91E27_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_3_AddListener_mB8CBD686B0A41D0A0F0D809824E8904A827C3188_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_3_AddListener_mE456028DE63E2FF37E53F2618AA321B5551B881A_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// if (TextEventHandler != null)
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * L_0 = __this->___TextEventHandler_4;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C *)NULL, NULL);
if (!L_1)
{
goto IL_009d;
}
}
{
// TextEventHandler.onCharacterSelection.AddListener(OnCharacterSelection);
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * L_2 = __this->___TextEventHandler_4;
CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * L_3;
L_3 = TMP_TextEventHandler_get_onCharacterSelection_mA62049738125E3C48405E6DFF09E2D42300BE8C3_inline(L_2, NULL);
UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 * L_4 = (UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 *)il2cpp_codegen_object_new(UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007_il2cpp_TypeInfo_var);
UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D(L_4, __this, ((intptr_t)TMP_TextEventCheck_OnCharacterSelection_mB421E2CFB617397137CF1AE9CC2F49E46EB3F0AE_RuntimeMethod_var), /*hidden argument*/UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D_RuntimeMethod_var);
UnityEvent_2_AddListener_mE2FC084F4ADB9D24D904D6A39A83763969F91E27(L_3, L_4, UnityEvent_2_AddListener_mE2FC084F4ADB9D24D904D6A39A83763969F91E27_RuntimeMethod_var);
// TextEventHandler.onSpriteSelection.AddListener(OnSpriteSelection);
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * L_5 = __this->___TextEventHandler_4;
SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * L_6;
L_6 = TMP_TextEventHandler_get_onSpriteSelection_m95CDEB7394FFF38F310717EEEFDCD481D96A5E82_inline(L_5, NULL);
UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 * L_7 = (UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 *)il2cpp_codegen_object_new(UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007_il2cpp_TypeInfo_var);
UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D(L_7, __this, ((intptr_t)TMP_TextEventCheck_OnSpriteSelection_mD88D899DE3321CC15502BB1174709BE290AB6215_RuntimeMethod_var), /*hidden argument*/UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D_RuntimeMethod_var);
UnityEvent_2_AddListener_mE2FC084F4ADB9D24D904D6A39A83763969F91E27(L_6, L_7, UnityEvent_2_AddListener_mE2FC084F4ADB9D24D904D6A39A83763969F91E27_RuntimeMethod_var);
// TextEventHandler.onWordSelection.AddListener(OnWordSelection);
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * L_8 = __this->___TextEventHandler_4;
WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * L_9;
L_9 = TMP_TextEventHandler_get_onWordSelection_mF22771B4213EEB3AEFCDA390A4FF28FED5D9184C_inline(L_8, NULL);
UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 * L_10 = (UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 *)il2cpp_codegen_object_new(UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6_il2cpp_TypeInfo_var);
UnityAction_3__ctor_m16AB9F4E444421420CA4A34EA0A6F60B15E20B9D(L_10, __this, ((intptr_t)TMP_TextEventCheck_OnWordSelection_m180B102DAED1F3313F2F4BB6CF588FF96C8CAB79_RuntimeMethod_var), /*hidden argument*/UnityAction_3__ctor_m16AB9F4E444421420CA4A34EA0A6F60B15E20B9D_RuntimeMethod_var);
UnityEvent_3_AddListener_mE456028DE63E2FF37E53F2618AA321B5551B881A(L_9, L_10, UnityEvent_3_AddListener_mE456028DE63E2FF37E53F2618AA321B5551B881A_RuntimeMethod_var);
// TextEventHandler.onLineSelection.AddListener(OnLineSelection);
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * L_11 = __this->___TextEventHandler_4;
LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * L_12;
L_12 = TMP_TextEventHandler_get_onLineSelection_mDDF07E7000993FCD6EAF2FBD2D2226EB66273908_inline(L_11, NULL);
UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 * L_13 = (UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 *)il2cpp_codegen_object_new(UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6_il2cpp_TypeInfo_var);
UnityAction_3__ctor_m16AB9F4E444421420CA4A34EA0A6F60B15E20B9D(L_13, __this, ((intptr_t)TMP_TextEventCheck_OnLineSelection_mE0538FFAFE04A286F937907D0E4664338DCF1559_RuntimeMethod_var), /*hidden argument*/UnityAction_3__ctor_m16AB9F4E444421420CA4A34EA0A6F60B15E20B9D_RuntimeMethod_var);
UnityEvent_3_AddListener_mE456028DE63E2FF37E53F2618AA321B5551B881A(L_12, L_13, UnityEvent_3_AddListener_mE456028DE63E2FF37E53F2618AA321B5551B881A_RuntimeMethod_var);
// TextEventHandler.onLinkSelection.AddListener(OnLinkSelection);
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * L_14 = __this->___TextEventHandler_4;
LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * L_15;
L_15 = TMP_TextEventHandler_get_onLinkSelection_m87FB9EABE7F917B2F910A18A3B5F1AE3020D976D_inline(L_14, NULL);
UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039 * L_16 = (UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039 *)il2cpp_codegen_object_new(UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039_il2cpp_TypeInfo_var);
UnityAction_3__ctor_m7F8FD30A8410091074136C8426E3B7338FD2D7FB(L_16, __this, ((intptr_t)TMP_TextEventCheck_OnLinkSelection_m72BF9241651D44805590F1DBADF2FD864D209779_RuntimeMethod_var), /*hidden argument*/UnityAction_3__ctor_m7F8FD30A8410091074136C8426E3B7338FD2D7FB_RuntimeMethod_var);
UnityEvent_3_AddListener_mB8CBD686B0A41D0A0F0D809824E8904A827C3188(L_15, L_16, UnityEvent_3_AddListener_mB8CBD686B0A41D0A0F0D809824E8904A827C3188_RuntimeMethod_var);
}
IL_009d:
{
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextEventCheck::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventCheck_OnDisable_m4AE76C19CBF131CB80B73A7C71378CA063CFC4C6 (TMP_TextEventCheck_tC19A6E94690E74ED73926E8EDC5F611501DC6233 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextEventCheck_OnCharacterSelection_mB421E2CFB617397137CF1AE9CC2F49E46EB3F0AE_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextEventCheck_OnLineSelection_mE0538FFAFE04A286F937907D0E4664338DCF1559_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextEventCheck_OnLinkSelection_m72BF9241651D44805590F1DBADF2FD864D209779_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextEventCheck_OnSpriteSelection_mD88D899DE3321CC15502BB1174709BE290AB6215_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextEventCheck_OnWordSelection_m180B102DAED1F3313F2F4BB6CF588FF96C8CAB79_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_3__ctor_m16AB9F4E444421420CA4A34EA0A6F60B15E20B9D_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_3__ctor_m7F8FD30A8410091074136C8426E3B7338FD2D7FB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_2_RemoveListener_m57B7F9B719A15831F63EA67147A848E324F3760B_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_3_RemoveListener_m9741C57D75E2CE8CCD912E252CBACCE5FC950523_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UnityEvent_3_RemoveListener_mA451198DCB5DD86D0B87D256F26293566D209026_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// if (TextEventHandler != null)
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * L_0 = __this->___TextEventHandler_4;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C *)NULL, NULL);
if (!L_1)
{
goto IL_009d;
}
}
{
// TextEventHandler.onCharacterSelection.RemoveListener(OnCharacterSelection);
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * L_2 = __this->___TextEventHandler_4;
CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * L_3;
L_3 = TMP_TextEventHandler_get_onCharacterSelection_mA62049738125E3C48405E6DFF09E2D42300BE8C3_inline(L_2, NULL);
UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 * L_4 = (UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 *)il2cpp_codegen_object_new(UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007_il2cpp_TypeInfo_var);
UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D(L_4, __this, ((intptr_t)TMP_TextEventCheck_OnCharacterSelection_mB421E2CFB617397137CF1AE9CC2F49E46EB3F0AE_RuntimeMethod_var), /*hidden argument*/UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D_RuntimeMethod_var);
UnityEvent_2_RemoveListener_m57B7F9B719A15831F63EA67147A848E324F3760B(L_3, L_4, UnityEvent_2_RemoveListener_m57B7F9B719A15831F63EA67147A848E324F3760B_RuntimeMethod_var);
// TextEventHandler.onSpriteSelection.RemoveListener(OnSpriteSelection);
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * L_5 = __this->___TextEventHandler_4;
SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * L_6;
L_6 = TMP_TextEventHandler_get_onSpriteSelection_m95CDEB7394FFF38F310717EEEFDCD481D96A5E82_inline(L_5, NULL);
UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 * L_7 = (UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007 *)il2cpp_codegen_object_new(UnityAction_2_t2654BCB968A8286196F6268276089A674B0A9007_il2cpp_TypeInfo_var);
UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D(L_7, __this, ((intptr_t)TMP_TextEventCheck_OnSpriteSelection_mD88D899DE3321CC15502BB1174709BE290AB6215_RuntimeMethod_var), /*hidden argument*/UnityAction_2__ctor_m9F49CFF4FADF7EF080CEA8DCAD9FA2EB8D63F35D_RuntimeMethod_var);
UnityEvent_2_RemoveListener_m57B7F9B719A15831F63EA67147A848E324F3760B(L_6, L_7, UnityEvent_2_RemoveListener_m57B7F9B719A15831F63EA67147A848E324F3760B_RuntimeMethod_var);
// TextEventHandler.onWordSelection.RemoveListener(OnWordSelection);
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * L_8 = __this->___TextEventHandler_4;
WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * L_9;
L_9 = TMP_TextEventHandler_get_onWordSelection_mF22771B4213EEB3AEFCDA390A4FF28FED5D9184C_inline(L_8, NULL);
UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 * L_10 = (UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 *)il2cpp_codegen_object_new(UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6_il2cpp_TypeInfo_var);
UnityAction_3__ctor_m16AB9F4E444421420CA4A34EA0A6F60B15E20B9D(L_10, __this, ((intptr_t)TMP_TextEventCheck_OnWordSelection_m180B102DAED1F3313F2F4BB6CF588FF96C8CAB79_RuntimeMethod_var), /*hidden argument*/UnityAction_3__ctor_m16AB9F4E444421420CA4A34EA0A6F60B15E20B9D_RuntimeMethod_var);
UnityEvent_3_RemoveListener_m9741C57D75E2CE8CCD912E252CBACCE5FC950523(L_9, L_10, UnityEvent_3_RemoveListener_m9741C57D75E2CE8CCD912E252CBACCE5FC950523_RuntimeMethod_var);
// TextEventHandler.onLineSelection.RemoveListener(OnLineSelection);
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * L_11 = __this->___TextEventHandler_4;
LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * L_12;
L_12 = TMP_TextEventHandler_get_onLineSelection_mDDF07E7000993FCD6EAF2FBD2D2226EB66273908_inline(L_11, NULL);
UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 * L_13 = (UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6 *)il2cpp_codegen_object_new(UnityAction_3_t7A7A6102F3358E3083226D4228E8083EFD40EFE6_il2cpp_TypeInfo_var);
UnityAction_3__ctor_m16AB9F4E444421420CA4A34EA0A6F60B15E20B9D(L_13, __this, ((intptr_t)TMP_TextEventCheck_OnLineSelection_mE0538FFAFE04A286F937907D0E4664338DCF1559_RuntimeMethod_var), /*hidden argument*/UnityAction_3__ctor_m16AB9F4E444421420CA4A34EA0A6F60B15E20B9D_RuntimeMethod_var);
UnityEvent_3_RemoveListener_m9741C57D75E2CE8CCD912E252CBACCE5FC950523(L_12, L_13, UnityEvent_3_RemoveListener_m9741C57D75E2CE8CCD912E252CBACCE5FC950523_RuntimeMethod_var);
// TextEventHandler.onLinkSelection.RemoveListener(OnLinkSelection);
TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * L_14 = __this->___TextEventHandler_4;
LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * L_15;
L_15 = TMP_TextEventHandler_get_onLinkSelection_m87FB9EABE7F917B2F910A18A3B5F1AE3020D976D_inline(L_14, NULL);
UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039 * L_16 = (UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039 *)il2cpp_codegen_object_new(UnityAction_3_tA4BA03B0D2CAB7D20E7006E36EF6B1D662432039_il2cpp_TypeInfo_var);
UnityAction_3__ctor_m7F8FD30A8410091074136C8426E3B7338FD2D7FB(L_16, __this, ((intptr_t)TMP_TextEventCheck_OnLinkSelection_m72BF9241651D44805590F1DBADF2FD864D209779_RuntimeMethod_var), /*hidden argument*/UnityAction_3__ctor_m7F8FD30A8410091074136C8426E3B7338FD2D7FB_RuntimeMethod_var);
UnityEvent_3_RemoveListener_mA451198DCB5DD86D0B87D256F26293566D209026(L_15, L_16, UnityEvent_3_RemoveListener_mA451198DCB5DD86D0B87D256F26293566D209026_RuntimeMethod_var);
}
IL_009d:
{
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextEventCheck::OnCharacterSelection(System.Char,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventCheck_OnCharacterSelection_mB421E2CFB617397137CF1AE9CC2F49E46EB3F0AE (TMP_TextEventCheck_tC19A6E94690E74ED73926E8EDC5F611501DC6233 * __this, Il2CppChar ___c0, int32_t ___index1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC088F0B05AACBA3A2E3A89109BF6E8C25EB734D1);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF1B6AAF37DDF842141E903D071B58A3BDF13A5C6);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log("Character [" + c + "] at Index: " + index + " has been selected.");
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_0 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)5);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_1 = L_0;
ArrayElementTypeCheck (L_1, _stringLiteralC088F0B05AACBA3A2E3A89109BF6E8C25EB734D1);
(L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteralC088F0B05AACBA3A2E3A89109BF6E8C25EB734D1);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_2 = L_1;
String_t* L_3;
L_3 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___c0), NULL);
ArrayElementTypeCheck (L_2, L_3);
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)L_3);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_4 = L_2;
ArrayElementTypeCheck (L_4, _stringLiteralF1B6AAF37DDF842141E903D071B58A3BDF13A5C6);
(L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteralF1B6AAF37DDF842141E903D071B58A3BDF13A5C6);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_5 = L_4;
String_t* L_6;
L_6 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___index1), NULL);
ArrayElementTypeCheck (L_5, L_6);
(L_5)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (String_t*)L_6);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_7 = L_5;
ArrayElementTypeCheck (L_7, _stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2);
(L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2);
String_t* L_8;
L_8 = String_Concat_m6B0734B65813C8EA093D78E5C2D16534EB6FE8C0(L_7, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219(L_8, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextEventCheck::OnSpriteSelection(System.Char,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventCheck_OnSpriteSelection_mD88D899DE3321CC15502BB1174709BE290AB6215 (TMP_TextEventCheck_tC19A6E94690E74ED73926E8EDC5F611501DC6233 * __this, Il2CppChar ___c0, int32_t ___index1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral49F573D371AD0ACE3EA6E766EE4177DA2021309B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF1B6AAF37DDF842141E903D071B58A3BDF13A5C6);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log("Sprite [" + c + "] at Index: " + index + " has been selected.");
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_0 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)5);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_1 = L_0;
ArrayElementTypeCheck (L_1, _stringLiteral49F573D371AD0ACE3EA6E766EE4177DA2021309B);
(L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral49F573D371AD0ACE3EA6E766EE4177DA2021309B);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_2 = L_1;
String_t* L_3;
L_3 = Char_ToString_m2A308731F9577C06AF3C0901234E2EAC8327410C((&___c0), NULL);
ArrayElementTypeCheck (L_2, L_3);
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)L_3);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_4 = L_2;
ArrayElementTypeCheck (L_4, _stringLiteralF1B6AAF37DDF842141E903D071B58A3BDF13A5C6);
(L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteralF1B6AAF37DDF842141E903D071B58A3BDF13A5C6);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_5 = L_4;
String_t* L_6;
L_6 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___index1), NULL);
ArrayElementTypeCheck (L_5, L_6);
(L_5)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (String_t*)L_6);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_7 = L_5;
ArrayElementTypeCheck (L_7, _stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2);
(L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2);
String_t* L_8;
L_8 = String_Concat_m6B0734B65813C8EA093D78E5C2D16534EB6FE8C0(L_7, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219(L_8, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextEventCheck::OnWordSelection(System.String,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventCheck_OnWordSelection_m180B102DAED1F3313F2F4BB6CF588FF96C8CAB79 (TMP_TextEventCheck_tC19A6E94690E74ED73926E8EDC5F611501DC6233 * __this, String_t* ___word0, int32_t ___firstCharacterIndex1, int32_t ___length2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0E5ACD8F8AECEE8F67E336B26C4EAF8C98F34BD0);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCCFEDFAABA1932DDBD53E5E640ADC53339EB2C8D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD99C319B457682A09D028AF022D0B2EE6B4D48A6);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log("Word [" + word + "] with first character index of " + firstCharacterIndex + " and length of " + length + " has been selected.");
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_0 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)7);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_1 = L_0;
ArrayElementTypeCheck (L_1, _stringLiteralD99C319B457682A09D028AF022D0B2EE6B4D48A6);
(L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteralD99C319B457682A09D028AF022D0B2EE6B4D48A6);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_2 = L_1;
String_t* L_3 = ___word0;
ArrayElementTypeCheck (L_2, L_3);
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)L_3);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_4 = L_2;
ArrayElementTypeCheck (L_4, _stringLiteral0E5ACD8F8AECEE8F67E336B26C4EAF8C98F34BD0);
(L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral0E5ACD8F8AECEE8F67E336B26C4EAF8C98F34BD0);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_5 = L_4;
String_t* L_6;
L_6 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___firstCharacterIndex1), NULL);
ArrayElementTypeCheck (L_5, L_6);
(L_5)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (String_t*)L_6);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_7 = L_5;
ArrayElementTypeCheck (L_7, _stringLiteralCCFEDFAABA1932DDBD53E5E640ADC53339EB2C8D);
(L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteralCCFEDFAABA1932DDBD53E5E640ADC53339EB2C8D);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_8 = L_7;
String_t* L_9;
L_9 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___length2), NULL);
ArrayElementTypeCheck (L_8, L_9);
(L_8)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (String_t*)L_9);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_10 = L_8;
ArrayElementTypeCheck (L_10, _stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2);
(L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2);
String_t* L_11;
L_11 = String_Concat_m6B0734B65813C8EA093D78E5C2D16534EB6FE8C0(L_10, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219(L_11, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextEventCheck::OnLineSelection(System.String,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventCheck_OnLineSelection_mE0538FFAFE04A286F937907D0E4664338DCF1559 (TMP_TextEventCheck_tC19A6E94690E74ED73926E8EDC5F611501DC6233 * __this, String_t* ___lineText0, int32_t ___firstCharacterIndex1, int32_t ___length2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0E5ACD8F8AECEE8F67E336B26C4EAF8C98F34BD0);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCCFEDFAABA1932DDBD53E5E640ADC53339EB2C8D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE2138FA8D137D1C6C81747FE1638815DDE9177B0);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log("Line [" + lineText + "] with first character index of " + firstCharacterIndex + " and length of " + length + " has been selected.");
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_0 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)7);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_1 = L_0;
ArrayElementTypeCheck (L_1, _stringLiteralE2138FA8D137D1C6C81747FE1638815DDE9177B0);
(L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteralE2138FA8D137D1C6C81747FE1638815DDE9177B0);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_2 = L_1;
String_t* L_3 = ___lineText0;
ArrayElementTypeCheck (L_2, L_3);
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)L_3);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_4 = L_2;
ArrayElementTypeCheck (L_4, _stringLiteral0E5ACD8F8AECEE8F67E336B26C4EAF8C98F34BD0);
(L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral0E5ACD8F8AECEE8F67E336B26C4EAF8C98F34BD0);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_5 = L_4;
String_t* L_6;
L_6 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___firstCharacterIndex1), NULL);
ArrayElementTypeCheck (L_5, L_6);
(L_5)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (String_t*)L_6);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_7 = L_5;
ArrayElementTypeCheck (L_7, _stringLiteralCCFEDFAABA1932DDBD53E5E640ADC53339EB2C8D);
(L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteralCCFEDFAABA1932DDBD53E5E640ADC53339EB2C8D);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_8 = L_7;
String_t* L_9;
L_9 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___length2), NULL);
ArrayElementTypeCheck (L_8, L_9);
(L_8)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (String_t*)L_9);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_10 = L_8;
ArrayElementTypeCheck (L_10, _stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2);
(L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteral5A3D6FC5AC03F283E51A1E494164E2F6D006FCE2);
String_t* L_11;
L_11 = String_Concat_m6B0734B65813C8EA093D78E5C2D16534EB6FE8C0(L_10, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219(L_11, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextEventCheck::OnLinkSelection(System.String,System.String,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventCheck_OnLinkSelection_m72BF9241651D44805590F1DBADF2FD864D209779 (TMP_TextEventCheck_tC19A6E94690E74ED73926E8EDC5F611501DC6233 * __this, String_t* ___linkID0, String_t* ___linkText1, int32_t ___linkIndex2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral042E81C2165064627022D513DE063F1AE9F8EF49);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1BF20F795791AC67CCC9E2B5B855E3A9D68CDDD6);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2A5808F3B889783C5484106C7296410EA27F30B5);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3D340328C9A8D4C7396701777F9419AB7A7D1DD7);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log("Link Index: " + linkIndex + " with ID [" + linkID + "] and Text \"" + linkText + "\" has been selected.");
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_0 = (StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248*)SZArrayNew(StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248_il2cpp_TypeInfo_var, (uint32_t)7);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_1 = L_0;
ArrayElementTypeCheck (L_1, _stringLiteral1BF20F795791AC67CCC9E2B5B855E3A9D68CDDD6);
(L_1)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(0), (String_t*)_stringLiteral1BF20F795791AC67CCC9E2B5B855E3A9D68CDDD6);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_2 = L_1;
String_t* L_3;
L_3 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&___linkIndex2), NULL);
ArrayElementTypeCheck (L_2, L_3);
(L_2)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(1), (String_t*)L_3);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_4 = L_2;
ArrayElementTypeCheck (L_4, _stringLiteral3D340328C9A8D4C7396701777F9419AB7A7D1DD7);
(L_4)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(2), (String_t*)_stringLiteral3D340328C9A8D4C7396701777F9419AB7A7D1DD7);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_5 = L_4;
String_t* L_6 = ___linkID0;
ArrayElementTypeCheck (L_5, L_6);
(L_5)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(3), (String_t*)L_6);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_7 = L_5;
ArrayElementTypeCheck (L_7, _stringLiteral042E81C2165064627022D513DE063F1AE9F8EF49);
(L_7)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(4), (String_t*)_stringLiteral042E81C2165064627022D513DE063F1AE9F8EF49);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_8 = L_7;
String_t* L_9 = ___linkText1;
ArrayElementTypeCheck (L_8, L_9);
(L_8)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(5), (String_t*)L_9);
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* L_10 = L_8;
ArrayElementTypeCheck (L_10, _stringLiteral2A5808F3B889783C5484106C7296410EA27F30B5);
(L_10)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(6), (String_t*)_stringLiteral2A5808F3B889783C5484106C7296410EA27F30B5);
String_t* L_11;
L_11 = String_Concat_m6B0734B65813C8EA093D78E5C2D16534EB6FE8C0(L_10, NULL);
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219(L_11, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextEventCheck::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextEventCheck__ctor_m8F6CDB8774BDF6C6B909919393AC0290BA2BB0AF (TMP_TextEventCheck_tC19A6E94690E74ED73926E8EDC5F611501DC6233 * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TMP_TextInfoDebugTool::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextInfoDebugTool__ctor_m54C6EE99B1DC2B4DE1F8E870974B3B41B970C37E (TMP_TextInfoDebugTool_tC8728D25321C0091ECD61B136B0E3A5B4AB4B76F * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TMP_TextSelector_A::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_A_Awake_m662ED2E3CDB7AE16174109344A01A50AF3C44797 (TMP_TextSelector_A_t088F530FC9DE9E7B6AC9720D50A05B757189B294 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_m788ADD6C98FD3A1039F72A865AB7D335AEA6116F_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// m_TextMeshPro = gameObject.GetComponent<TextMeshPro>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_0;
L_0 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_1;
L_1 = GameObject_GetComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_m788ADD6C98FD3A1039F72A865AB7D335AEA6116F(L_0, GameObject_GetComponent_TisTextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E_m788ADD6C98FD3A1039F72A865AB7D335AEA6116F_RuntimeMethod_var);
__this->___m_TextMeshPro_4 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextMeshPro_4), (void*)L_1);
// m_Camera = Camera.main;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_2;
L_2 = Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43(NULL);
__this->___m_Camera_5 = L_2;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Camera_5), (void*)L_2);
// m_TextMeshPro.ForceMeshUpdate();
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_3 = __this->___m_TextMeshPro_4;
VirtualActionInvoker2< bool, bool >::Invoke(106 /* System.Void TMPro.TMP_Text::ForceMeshUpdate(System.Boolean,System.Boolean) */, L_3, (bool)0, (bool)0);
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_A::LateUpdate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_A_LateUpdate_m1A711EC87962C6C5A7157414CD059D984D3BD55B (TMP_TextSelector_A_t088F530FC9DE9E7B6AC9720D50A05B757189B294 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RectTransformUtility_t65C00A84A72F17D78B81F2E7D88C2AA98AB61244_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6C3B90D0C27E620F9CB6F4530546C591AB0C5E12);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFF988BE1271FBA06A4FB243CE21817E36A0AE666);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_5;
memset((&V_5), 0, sizeof(V_5));
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* V_6 = NULL;
TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 V_7;
memset((&V_7), 0, sizeof(V_7));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_8;
memset((&V_8), 0, sizeof(V_8));
String_t* V_9 = NULL;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 V_10;
memset((&V_10), 0, sizeof(V_10));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_11;
memset((&V_11), 0, sizeof(V_11));
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* V_12 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_13;
memset((&V_13), 0, sizeof(V_13));
int32_t V_14 = 0;
int32_t V_15 = 0;
{
// m_isHoveringObject = false;
__this->___m_isHoveringObject_6 = (bool)0;
// if (TMP_TextUtilities.IsIntersectingRectTransform(m_TextMeshPro.rectTransform, Input.mousePosition, Camera.main))
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_0 = __this->___m_TextMeshPro_4;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_1;
L_1 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_0, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
L_2 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_3;
L_3 = Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43(NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
bool L_4;
L_4 = TMP_TextUtilities_IsIntersectingRectTransform_mD130C941AB32BCEA5B2B293E979A7AC7F1160FFF(L_1, L_2, L_3, NULL);
if (!L_4)
{
goto IL_002a;
}
}
{
// m_isHoveringObject = true;
__this->___m_isHoveringObject_6 = (bool)1;
}
IL_002a:
{
// if (m_isHoveringObject)
bool L_5 = __this->___m_isHoveringObject_6;
if (!L_5)
{
goto IL_0358;
}
}
{
// int charIndex = TMP_TextUtilities.FindIntersectingCharacter(m_TextMeshPro, Input.mousePosition, Camera.main, true);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_6 = __this->___m_TextMeshPro_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_8;
L_8 = Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43(NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
int32_t L_9;
L_9 = TMP_TextUtilities_FindIntersectingCharacter_m6C03B17BB15028215958B0DAB969BB5199990DF2(L_6, L_7, L_8, (bool)1, NULL);
V_0 = L_9;
// if (charIndex != -1 && charIndex != m_lastCharIndex && (Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift)))
int32_t L_10 = V_0;
if ((((int32_t)L_10) == ((int32_t)(-1))))
{
goto IL_015b;
}
}
{
int32_t L_11 = V_0;
int32_t L_12 = __this->___m_lastCharIndex_8;
if ((((int32_t)L_11) == ((int32_t)L_12)))
{
goto IL_015b;
}
}
{
bool L_13;
L_13 = Input_GetKey_m0BF0499CADC378F02B6BEE2399FB945AB929B81A(((int32_t)304), NULL);
if (L_13)
{
goto IL_007a;
}
}
{
bool L_14;
L_14 = Input_GetKey_m0BF0499CADC378F02B6BEE2399FB945AB929B81A(((int32_t)303), NULL);
if (!L_14)
{
goto IL_015b;
}
}
IL_007a:
{
// m_lastCharIndex = charIndex;
int32_t L_15 = V_0;
__this->___m_lastCharIndex_8 = L_15;
// int meshIndex = m_TextMeshPro.textInfo.characterInfo[charIndex].materialReferenceIndex;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_16 = __this->___m_TextMeshPro_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_17;
L_17 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_16, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_18 = L_17->___characterInfo_11;
int32_t L_19 = V_0;
int32_t L_20 = ((L_18)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_19)))->___materialReferenceIndex_9;
V_3 = L_20;
// int vertexIndex = m_TextMeshPro.textInfo.characterInfo[charIndex].vertexIndex;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_21 = __this->___m_TextMeshPro_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_22;
L_22 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_21, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_23 = L_22->___characterInfo_11;
int32_t L_24 = V_0;
int32_t L_25 = ((L_23)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_24)))->___vertexIndex_14;
V_4 = L_25;
// Color32 c = new Color32((byte)Random.Range(0, 255), (byte)Random.Range(0, 255), (byte)Random.Range(0, 255), 255);
int32_t L_26;
L_26 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
int32_t L_27;
L_27 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
int32_t L_28;
L_28 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&V_5), (uint8_t)((int32_t)((uint8_t)L_26)), (uint8_t)((int32_t)((uint8_t)L_27)), (uint8_t)((int32_t)((uint8_t)L_28)), (uint8_t)((int32_t)255), NULL);
// Color32[] vertexColors = m_TextMeshPro.textInfo.meshInfo[meshIndex].colors32;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_29 = __this->___m_TextMeshPro_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_30;
L_30 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_29, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_31 = L_30->___meshInfo_16;
int32_t L_32 = V_3;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_33 = ((L_31)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_32)))->___colors32_11;
V_6 = L_33;
// vertexColors[vertexIndex + 0] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_34 = V_6;
int32_t L_35 = V_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_36 = V_5;
(L_34)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_35), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_36);
// vertexColors[vertexIndex + 1] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_37 = V_6;
int32_t L_38 = V_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_39 = V_5;
(L_37)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_38, (int32_t)1))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_39);
// vertexColors[vertexIndex + 2] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_40 = V_6;
int32_t L_41 = V_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_42 = V_5;
(L_40)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_41, (int32_t)2))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_42);
// vertexColors[vertexIndex + 3] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_43 = V_6;
int32_t L_44 = V_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_45 = V_5;
(L_43)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_44, (int32_t)3))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_45);
// m_TextMeshPro.textInfo.meshInfo[meshIndex].mesh.colors32 = vertexColors;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_46 = __this->___m_TextMeshPro_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_47;
L_47 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_46, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_48 = L_47->___meshInfo_16;
int32_t L_49 = V_3;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * L_50 = ((L_48)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_49)))->___mesh_4;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_51 = V_6;
Mesh_set_colors32_m0E4462B7A1D613E6FB15DD7584BCE5491C17820F(L_50, L_51, NULL);
}
IL_015b:
{
// int linkIndex = TMP_TextUtilities.FindIntersectingLink(m_TextMeshPro, Input.mousePosition, m_Camera);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_52 = __this->___m_TextMeshPro_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
L_53 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_54 = __this->___m_Camera_5;
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
int32_t L_55;
L_55 = TMP_TextUtilities_FindIntersectingLink_m2B5823274A30BBB3A54592E8DB44F119140C3778(L_52, L_53, L_54, NULL);
V_1 = L_55;
// if ((linkIndex == -1 && m_selectedLink != -1) || linkIndex != m_selectedLink)
int32_t L_56 = V_1;
if ((!(((uint32_t)L_56) == ((uint32_t)(-1)))))
{
goto IL_017f;
}
}
{
int32_t L_57 = __this->___m_selectedLink_7;
if ((!(((uint32_t)L_57) == ((uint32_t)(-1)))))
{
goto IL_0188;
}
}
IL_017f:
{
int32_t L_58 = V_1;
int32_t L_59 = __this->___m_selectedLink_7;
if ((((int32_t)L_58) == ((int32_t)L_59)))
{
goto IL_018f;
}
}
IL_0188:
{
// m_selectedLink = -1;
__this->___m_selectedLink_7 = (-1);
}
IL_018f:
{
// if (linkIndex != -1 && linkIndex != m_selectedLink)
int32_t L_60 = V_1;
if ((((int32_t)L_60) == ((int32_t)(-1))))
{
goto IL_0202;
}
}
{
int32_t L_61 = V_1;
int32_t L_62 = __this->___m_selectedLink_7;
if ((((int32_t)L_61) == ((int32_t)L_62)))
{
goto IL_0202;
}
}
{
// m_selectedLink = linkIndex;
int32_t L_63 = V_1;
__this->___m_selectedLink_7 = L_63;
// TMP_LinkInfo linkInfo = m_TextMeshPro.textInfo.linkInfo[linkIndex];
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_64 = __this->___m_TextMeshPro_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_65;
L_65 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_64, NULL);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_66 = L_65->___linkInfo_13;
int32_t L_67 = V_1;
int32_t L_68 = L_67;
TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 L_69 = (L_66)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_68));
V_7 = L_69;
// RectTransformUtility.ScreenPointToWorldPointInRectangle(m_TextMeshPro.rectTransform, Input.mousePosition, m_Camera, out worldPointInRectangle);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_70 = __this->___m_TextMeshPro_4;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_71;
L_71 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_70, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
L_72 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_73;
L_73 = Vector2_op_Implicit_m8F73B300CB4E6F9B4EB5FB6130363D76CEAA230B_inline(L_72, NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_74 = __this->___m_Camera_5;
il2cpp_codegen_runtime_class_init_inline(RectTransformUtility_t65C00A84A72F17D78B81F2E7D88C2AA98AB61244_il2cpp_TypeInfo_var);
bool L_75;
L_75 = RectTransformUtility_ScreenPointToWorldPointInRectangle_mA37289182AEA7D89BA927C325F82980085D6A882(L_71, L_73, L_74, (&V_8), NULL);
// switch (linkInfo.GetLinkID())
String_t* L_76;
L_76 = TMP_LinkInfo_GetLinkID_mCC9D9E783D606660A4D15E0E746E1E27AD9C2425((&V_7), NULL);
V_9 = L_76;
String_t* L_77 = V_9;
bool L_78;
L_78 = String_op_Equality_m0D685A924E5CD78078F248ED1726DA5A9D7D6AC0(L_77, _stringLiteral6C3B90D0C27E620F9CB6F4530546C591AB0C5E12, NULL);
if (L_78)
{
goto IL_0202;
}
}
{
String_t* L_79 = V_9;
bool L_80;
L_80 = String_op_Equality_m0D685A924E5CD78078F248ED1726DA5A9D7D6AC0(L_79, _stringLiteralFF988BE1271FBA06A4FB243CE21817E36A0AE666, NULL);
}
IL_0202:
{
// int wordIndex = TMP_TextUtilities.FindIntersectingWord(m_TextMeshPro, Input.mousePosition, Camera.main);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_81 = __this->___m_TextMeshPro_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
L_82 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_83;
L_83 = Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43(NULL);
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
int32_t L_84;
L_84 = TMP_TextUtilities_FindIntersectingWord_m1442DFD5AAE1FF0EE5054262A34E4D31B1E56879(L_81, L_82, L_83, NULL);
V_2 = L_84;
// if (wordIndex != -1 && wordIndex != m_lastWordIndex)
int32_t L_85 = V_2;
if ((((int32_t)L_85) == ((int32_t)(-1))))
{
goto IL_0358;
}
}
{
int32_t L_86 = V_2;
int32_t L_87 = __this->___m_lastWordIndex_9;
if ((((int32_t)L_86) == ((int32_t)L_87)))
{
goto IL_0358;
}
}
{
// m_lastWordIndex = wordIndex;
int32_t L_88 = V_2;
__this->___m_lastWordIndex_9 = L_88;
// TMP_WordInfo wInfo = m_TextMeshPro.textInfo.wordInfo[wordIndex];
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_89 = __this->___m_TextMeshPro_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_90;
L_90 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_89, NULL);
TMP_WordInfoU5BU5D_tD1759E5A84DCCCD42B718D79E953E72A432BB4DC* L_91 = L_90->___wordInfo_12;
int32_t L_92 = V_2;
int32_t L_93 = L_92;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_94 = (L_91)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_93));
V_10 = L_94;
// Vector3 wordPOS = m_TextMeshPro.transform.TransformPoint(m_TextMeshPro.textInfo.characterInfo[wInfo.firstCharacterIndex].bottomLeft);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_95 = __this->___m_TextMeshPro_4;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_96;
L_96 = TextMeshPro_get_transform_m750148EC362B176A0E80D6F4ABAC1062E5281E11(L_95, NULL);
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_97 = __this->___m_TextMeshPro_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_98;
L_98 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_97, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_99 = L_98->___characterInfo_11;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_100 = V_10;
int32_t L_101 = L_100.___firstCharacterIndex_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102 = ((L_99)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_101)))->___bottomLeft_20;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103;
L_103 = Transform_TransformPoint_m05BFF013DB830D7BFE44A007703694AE1062EE44(L_96, L_102, NULL);
V_11 = L_103;
// wordPOS = Camera.main.WorldToScreenPoint(wordPOS);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_104;
L_104 = Camera_get_main_mF222B707D3BF8CC9C7544609EFC71CFB62E81D43(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_105 = V_11;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_106;
L_106 = Camera_WorldToScreenPoint_m26B4C8945C3B5731F1CC5944CFD96BF17126BAA3(L_104, L_105, NULL);
V_11 = L_106;
// Color32[] vertexColors = m_TextMeshPro.textInfo.meshInfo[0].colors32;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_107 = __this->___m_TextMeshPro_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_108;
L_108 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_107, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_109 = L_108->___meshInfo_16;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_110 = ((L_109)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(0)))->___colors32_11;
V_12 = L_110;
// Color32 c = new Color32((byte)Random.Range(0, 255), (byte)Random.Range(0, 255), (byte)Random.Range(0, 255), 255);
int32_t L_111;
L_111 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
int32_t L_112;
L_112 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
int32_t L_113;
L_113 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&V_13), (uint8_t)((int32_t)((uint8_t)L_111)), (uint8_t)((int32_t)((uint8_t)L_112)), (uint8_t)((int32_t)((uint8_t)L_113)), (uint8_t)((int32_t)255), NULL);
// for (int i = 0; i < wInfo.characterCount; i++)
V_14 = 0;
goto IL_033b;
}
IL_02dd:
{
// int vertexIndex = m_TextMeshPro.textInfo.characterInfo[wInfo.firstCharacterIndex + i].vertexIndex;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_114 = __this->___m_TextMeshPro_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_115;
L_115 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_114, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_116 = L_115->___characterInfo_11;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_117 = V_10;
int32_t L_118 = L_117.___firstCharacterIndex_1;
int32_t L_119 = V_14;
int32_t L_120 = ((L_116)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_118, (int32_t)L_119)))))->___vertexIndex_14;
V_15 = L_120;
// vertexColors[vertexIndex + 0] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_121 = V_12;
int32_t L_122 = V_15;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_123 = V_13;
(L_121)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_122), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_123);
// vertexColors[vertexIndex + 1] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_124 = V_12;
int32_t L_125 = V_15;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_126 = V_13;
(L_124)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_125, (int32_t)1))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_126);
// vertexColors[vertexIndex + 2] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_127 = V_12;
int32_t L_128 = V_15;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_129 = V_13;
(L_127)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_128, (int32_t)2))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_129);
// vertexColors[vertexIndex + 3] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_130 = V_12;
int32_t L_131 = V_15;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_132 = V_13;
(L_130)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_131, (int32_t)3))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_132);
// for (int i = 0; i < wInfo.characterCount; i++)
int32_t L_133 = V_14;
V_14 = ((int32_t)il2cpp_codegen_add((int32_t)L_133, (int32_t)1));
}
IL_033b:
{
// for (int i = 0; i < wInfo.characterCount; i++)
int32_t L_134 = V_14;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_135 = V_10;
int32_t L_136 = L_135.___characterCount_3;
if ((((int32_t)L_134) < ((int32_t)L_136)))
{
goto IL_02dd;
}
}
{
// m_TextMeshPro.mesh.colors32 = vertexColors;
TextMeshPro_t4560AB28A3EAF503895A781A9C625273D833270E * L_137 = __this->___m_TextMeshPro_4;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * L_138;
L_138 = VirtualFuncInvoker0< Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * >::Invoke(77 /* UnityEngine.Mesh TMPro.TMP_Text::get_mesh() */, L_137);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_139 = V_12;
Mesh_set_colors32_m0E4462B7A1D613E6FB15DD7584BCE5491C17820F(L_138, L_139, NULL);
}
IL_0358:
{
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_A::OnPointerEnter(UnityEngine.EventSystems.PointerEventData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_A_OnPointerEnter_m747F05CBEF90BF713BF726E47CA37DC86D9B439A (TMP_TextSelector_A_t088F530FC9DE9E7B6AC9720D50A05B757189B294 * __this, PointerEventData_t9670F3C7D823CCB738A1604C72A1EB90292396FB * ___eventData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA2EC275CC698277AF27C3AFD1084563679CC06EB);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log("OnPointerEnter()");
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219(_stringLiteralA2EC275CC698277AF27C3AFD1084563679CC06EB, NULL);
// m_isHoveringObject = true;
__this->___m_isHoveringObject_6 = (bool)1;
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_A::OnPointerExit(UnityEngine.EventSystems.PointerEventData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_A_OnPointerExit_m5D7D8A07591506FB7291E84A951AB5C43DAA5503 (TMP_TextSelector_A_t088F530FC9DE9E7B6AC9720D50A05B757189B294 * __this, PointerEventData_t9670F3C7D823CCB738A1604C72A1EB90292396FB * ___eventData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral598081DBD06E8B1A338629AF7933F9131C6D33AB);
s_Il2CppMethodInitialized = true;
}
{
// Debug.Log("OnPointerExit()");
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
Debug_Log_m86567BCF22BBE7809747817453CACA0E41E68219(_stringLiteral598081DBD06E8B1A338629AF7933F9131C6D33AB, NULL);
// m_isHoveringObject = false;
__this->___m_isHoveringObject_6 = (bool)0;
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_A::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_A__ctor_m4C56A438A3140D5CF9C7AFB8466E11142F4FA3BE (TMP_TextSelector_A_t088F530FC9DE9E7B6AC9720D50A05B757189B294 * __this, const RuntimeMethod* method)
{
{
// private int m_selectedLink = -1;
__this->___m_selectedLink_7 = (-1);
// private int m_lastCharIndex = -1;
__this->___m_lastCharIndex_8 = (-1);
// private int m_lastWordIndex = -1;
__this->___m_lastWordIndex_9 = (-1);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TMP_TextSelector_B::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_B_Awake_m773D4C87E67823272DBF597B9CADE82DD3BFFD87 (TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponentInChildren_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m60A1B193FDBBFB3719065622DB5E0BB21CA4ABDC_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponentInParent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m0A41CB7A7F9A10FCC98D1C7B5799D57C2724D991_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_mBDBF977A8C7734F6EDD83FC65C6FDDE74427611E_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_Instantiate_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m432798BF76671A2FB88A9BF403D2F706ADA37236_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// m_TextMeshPro = gameObject.GetComponent<TextMeshProUGUI>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_0;
L_0 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_1;
L_1 = GameObject_GetComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_mBDBF977A8C7734F6EDD83FC65C6FDDE74427611E(L_0, GameObject_GetComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_mBDBF977A8C7734F6EDD83FC65C6FDDE74427611E_RuntimeMethod_var);
__this->___m_TextMeshPro_9 = L_1;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextMeshPro_9), (void*)L_1);
// m_Canvas = gameObject.GetComponentInParent<Canvas>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_2;
L_2 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(__this, NULL);
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * L_3;
L_3 = GameObject_GetComponentInParent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m0A41CB7A7F9A10FCC98D1C7B5799D57C2724D991(L_2, GameObject_GetComponentInParent_TisCanvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26_m0A41CB7A7F9A10FCC98D1C7B5799D57C2724D991_RuntimeMethod_var);
__this->___m_Canvas_10 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Canvas_10), (void*)L_3);
// if (m_Canvas.renderMode == RenderMode.ScreenSpaceOverlay)
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * L_4 = __this->___m_Canvas_10;
int32_t L_5;
L_5 = Canvas_get_renderMode_m1BEF259548C6CAD27E4466F31D20752D246688CC(L_4, NULL);
if (L_5)
{
goto IL_0038;
}
}
{
// m_Camera = null;
__this->___m_Camera_11 = (Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 *)NULL;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Camera_11), (void*)(Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 *)NULL);
goto IL_0049;
}
IL_0038:
{
// m_Camera = m_Canvas.worldCamera;
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * L_6 = __this->___m_Canvas_10;
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_7;
L_7 = Canvas_get_worldCamera_mD2FDE13B61A5213F4E64B40008EB0A8D2D07B853(L_6, NULL);
__this->___m_Camera_11 = L_7;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_Camera_11), (void*)L_7);
}
IL_0049:
{
// m_TextPopup_RectTransform = Instantiate(TextPopup_Prefab_01) as RectTransform;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_8 = __this->___TextPopup_Prefab_01_4;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_9;
L_9 = Object_Instantiate_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m432798BF76671A2FB88A9BF403D2F706ADA37236(L_8, Object_Instantiate_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m432798BF76671A2FB88A9BF403D2F706ADA37236_RuntimeMethod_var);
__this->___m_TextPopup_RectTransform_5 = L_9;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextPopup_RectTransform_5), (void*)L_9);
// m_TextPopup_RectTransform.SetParent(m_Canvas.transform, false);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_10 = __this->___m_TextPopup_RectTransform_5;
Canvas_t2DB4CEFDFF732884866C83F11ABF75F5AE8FFB26 * L_11 = __this->___m_Canvas_10;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_12;
L_12 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_11, NULL);
Transform_SetParent_m9BDD7B7476714B2D7919B10BDC22CE75C0A0A195(L_10, L_12, (bool)0, NULL);
// m_TextPopup_TMPComponent = m_TextPopup_RectTransform.GetComponentInChildren<TextMeshProUGUI>();
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_13 = __this->___m_TextPopup_RectTransform_5;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_14;
L_14 = Component_GetComponentInChildren_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m60A1B193FDBBFB3719065622DB5E0BB21CA4ABDC(L_13, Component_GetComponentInChildren_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m60A1B193FDBBFB3719065622DB5E0BB21CA4ABDC_RuntimeMethod_var);
__this->___m_TextPopup_TMPComponent_6 = L_14;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextPopup_TMPComponent_6), (void*)L_14);
// m_TextPopup_RectTransform.gameObject.SetActive(false);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_15 = __this->___m_TextPopup_RectTransform_5;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_16;
L_16 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_15, NULL);
GameObject_SetActive_m638E92E1E75E519E5B24CF150B08CA8E0CDFAB92(L_16, (bool)0, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_B::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_B_OnEnable_m8DA695DB0913F7123C4ADAFD5BEAB4424FA5861B (TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextSelector_B_ON_TEXT_CHANGED_m5B53EF1608E98B6A56AAA386085A3216B35A51EE_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// TMPro_EventManager.TEXT_CHANGED_EVENT.Add(ON_TEXT_CHANGED);
il2cpp_codegen_runtime_class_init_inline(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * L_0 = ((TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_StaticFields*)il2cpp_codegen_static_fields_for(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var))->___TEXT_CHANGED_EVENT_11;
Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * L_1 = (Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *)il2cpp_codegen_object_new(Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
Action_1__ctor_m95478636F075134CA2998E22B214611472600983(L_1, __this, ((intptr_t)TMP_TextSelector_B_ON_TEXT_CHANGED_m5B53EF1608E98B6A56AAA386085A3216B35A51EE_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6(L_0, L_1, FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6_RuntimeMethod_var);
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_B::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_B_OnDisable_mF2EF7AE0E015218AB77936BD5FD6863F7788F11D (TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextSelector_B_ON_TEXT_CHANGED_m5B53EF1608E98B6A56AAA386085A3216B35A51EE_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// TMPro_EventManager.TEXT_CHANGED_EVENT.Remove(ON_TEXT_CHANGED);
il2cpp_codegen_runtime_class_init_inline(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * L_0 = ((TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_StaticFields*)il2cpp_codegen_static_fields_for(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var))->___TEXT_CHANGED_EVENT_11;
Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * L_1 = (Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *)il2cpp_codegen_object_new(Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
Action_1__ctor_m95478636F075134CA2998E22B214611472600983(L_1, __this, ((intptr_t)TMP_TextSelector_B_ON_TEXT_CHANGED_m5B53EF1608E98B6A56AAA386085A3216B35A51EE_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F(L_0, L_1, FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F_RuntimeMethod_var);
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_B::ON_TEXT_CHANGED(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_B_ON_TEXT_CHANGED_m5B53EF1608E98B6A56AAA386085A3216B35A51EE (TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 * __this, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// if (obj == m_TextMeshPro)
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * L_0 = ___obj0;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_1 = __this->___m_TextMeshPro_9;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_0, L_1, NULL);
if (!L_2)
{
goto IL_0024;
}
}
{
// m_cachedMeshInfoVertexData = m_TextMeshPro.textInfo.CopyMeshInfoVertexData();
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_3 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_4;
L_4 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_3, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_5;
L_5 = TMP_TextInfo_CopyMeshInfoVertexData_mF66E2F8821470E68D95FEB53D456CFA86241C0CA(L_4, NULL);
__this->___m_cachedMeshInfoVertexData_17 = L_5;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_cachedMeshInfoVertexData_17), (void*)L_5);
}
IL_0024:
{
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_B::LateUpdate()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_B_LateUpdate_mE1B3969D788695E37240927FC6B1827CC6DD5EFF (TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&RectTransformUtility_t65C00A84A72F17D78B81F2E7D88C2AA98AB61244_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral69CE07E5C7ADCC833DA3E659BC9009F6C3C1346A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6C3B90D0C27E620F9CB6F4530546C591AB0C5E12);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEE3657997C5E6EC82CDE374326A95906F03A3315);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFF988BE1271FBA06A4FB243CE21817E36A0AE666);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
int32_t V_4 = 0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_5 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
memset((&V_6), 0, sizeof(V_6));
float V_7 = 0.0f;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_8;
memset((&V_8), 0, sizeof(V_8));
TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B V_9;
memset((&V_9), 0, sizeof(V_9));
int32_t V_10 = 0;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 V_11;
memset((&V_11), 0, sizeof(V_11));
int32_t V_12 = 0;
int32_t V_13 = 0;
int32_t V_14 = 0;
int32_t V_15 = 0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_16;
memset((&V_16), 0, sizeof(V_16));
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 V_17;
memset((&V_17), 0, sizeof(V_17));
int32_t V_18 = 0;
int32_t V_19 = 0;
int32_t V_20 = 0;
int32_t V_21 = 0;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_22;
memset((&V_22), 0, sizeof(V_22));
TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 V_23;
memset((&V_23), 0, sizeof(V_23));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_24;
memset((&V_24), 0, sizeof(V_24));
String_t* V_25 = NULL;
{
// if (isHoveringObject)
bool L_0 = __this->___isHoveringObject_12;
if (!L_0)
{
goto IL_069b;
}
}
{
// int charIndex = TMP_TextUtilities.FindIntersectingCharacter(m_TextMeshPro, Input.mousePosition, m_Camera, true);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_1 = __this->___m_TextMeshPro_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
L_2 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_3 = __this->___m_Camera_11;
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
int32_t L_4;
L_4 = TMP_TextUtilities_FindIntersectingCharacter_m6C03B17BB15028215958B0DAB969BB5199990DF2(L_1, L_2, L_3, (bool)1, NULL);
V_0 = L_4;
// if (charIndex == -1 || charIndex != m_lastIndex)
int32_t L_5 = V_0;
if ((((int32_t)L_5) == ((int32_t)(-1))))
{
goto IL_0030;
}
}
{
int32_t L_6 = V_0;
int32_t L_7 = __this->___m_lastIndex_15;
if ((((int32_t)L_6) == ((int32_t)L_7)))
{
goto IL_0043;
}
}
IL_0030:
{
// RestoreCachedVertexAttributes(m_lastIndex);
int32_t L_8 = __this->___m_lastIndex_15;
TMP_TextSelector_B_RestoreCachedVertexAttributes_m1FD258EC7A53C8E1ECB18EB6FFEFC6239780C398(__this, L_8, NULL);
// m_lastIndex = -1;
__this->___m_lastIndex_15 = (-1);
}
IL_0043:
{
// if (charIndex != -1 && charIndex != m_lastIndex && (Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift)))
int32_t L_9 = V_0;
if ((((int32_t)L_9) == ((int32_t)(-1))))
{
goto IL_0323;
}
}
{
int32_t L_10 = V_0;
int32_t L_11 = __this->___m_lastIndex_15;
if ((((int32_t)L_10) == ((int32_t)L_11)))
{
goto IL_0323;
}
}
{
bool L_12;
L_12 = Input_GetKey_m0BF0499CADC378F02B6BEE2399FB945AB929B81A(((int32_t)304), NULL);
if (L_12)
{
goto IL_0071;
}
}
{
bool L_13;
L_13 = Input_GetKey_m0BF0499CADC378F02B6BEE2399FB945AB929B81A(((int32_t)303), NULL);
if (!L_13)
{
goto IL_0323;
}
}
IL_0071:
{
// m_lastIndex = charIndex;
int32_t L_14 = V_0;
__this->___m_lastIndex_15 = L_14;
// int materialIndex = m_TextMeshPro.textInfo.characterInfo[charIndex].materialReferenceIndex;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_15 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_16;
L_16 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_15, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_17 = L_16->___characterInfo_11;
int32_t L_18 = V_0;
int32_t L_19 = ((L_17)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_18)))->___materialReferenceIndex_9;
V_3 = L_19;
// int vertexIndex = m_TextMeshPro.textInfo.characterInfo[charIndex].vertexIndex;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_20 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_21;
L_21 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_20, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_22 = L_21->___characterInfo_11;
int32_t L_23 = V_0;
int32_t L_24 = ((L_22)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_23)))->___vertexIndex_14;
V_4 = L_24;
// Vector3[] vertices = m_TextMeshPro.textInfo.meshInfo[materialIndex].vertices;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_25 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_26;
L_26 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_25, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_27 = L_26->___meshInfo_16;
int32_t L_28 = V_3;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_29 = ((L_27)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_28)))->___vertices_6;
V_5 = L_29;
// Vector2 charMidBasline = (vertices[vertexIndex + 0] + vertices[vertexIndex + 2]) / 2;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_30 = V_5;
int32_t L_31 = V_4;
int32_t L_32 = L_31;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = (L_30)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_32));
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_34 = V_5;
int32_t L_35 = V_4;
int32_t L_36 = ((int32_t)il2cpp_codegen_add((int32_t)L_35, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = (L_34)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_36));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
L_38 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_33, L_37, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
L_39 = Vector3_op_Division_mD7200D6D432BAFC4135C5B17A0B0A812203B0270_inline(L_38, (2.0f), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_40;
L_40 = Vector2_op_Implicit_m8F73B300CB4E6F9B4EB5FB6130363D76CEAA230B_inline(L_39, NULL);
// Vector3 offset = charMidBasline;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
L_41 = Vector2_op_Implicit_mCD214B04BC52AED3C89C3BEF664B6247E5F8954A_inline(L_40, NULL);
V_6 = L_41;
// vertices[vertexIndex + 0] = vertices[vertexIndex + 0] - offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_42 = V_5;
int32_t L_43 = V_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_44 = V_5;
int32_t L_45 = V_4;
int32_t L_46 = L_45;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = (L_44)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_46));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
L_49 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_47, L_48, NULL);
(L_42)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_43), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_49);
// vertices[vertexIndex + 1] = vertices[vertexIndex + 1] - offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_50 = V_5;
int32_t L_51 = V_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_52 = V_5;
int32_t L_53 = V_4;
int32_t L_54 = ((int32_t)il2cpp_codegen_add((int32_t)L_53, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = (L_52)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_54));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
L_57 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_55, L_56, NULL);
(L_50)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_51, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_57);
// vertices[vertexIndex + 2] = vertices[vertexIndex + 2] - offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_58 = V_5;
int32_t L_59 = V_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_60 = V_5;
int32_t L_61 = V_4;
int32_t L_62 = ((int32_t)il2cpp_codegen_add((int32_t)L_61, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = (L_60)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_62));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
L_65 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_63, L_64, NULL);
(L_58)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_59, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_65);
// vertices[vertexIndex + 3] = vertices[vertexIndex + 3] - offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_66 = V_5;
int32_t L_67 = V_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_68 = V_5;
int32_t L_69 = V_4;
int32_t L_70 = ((int32_t)il2cpp_codegen_add((int32_t)L_69, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71 = (L_68)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_70));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73;
L_73 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_71, L_72, NULL);
(L_66)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_67, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_73);
// float zoomFactor = 1.5f;
V_7 = (1.5f);
// m_matrix = Matrix4x4.TRS(Vector3.zero, Quaternion.identity, Vector3.one * zoomFactor);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74;
L_74 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_75;
L_75 = Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
L_76 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
float L_77 = V_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78;
L_78 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_76, L_77, NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_79;
L_79 = Matrix4x4_TRS_mFEBA6926DB0044B96EF0CE98F30FEE7596820680(L_74, L_75, L_78, NULL);
__this->___m_matrix_16 = L_79;
// vertices[vertexIndex + 0] = m_matrix.MultiplyPoint3x4(vertices[vertexIndex + 0]);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_80 = V_5;
int32_t L_81 = V_4;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 * L_82 = (&__this->___m_matrix_16);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_83 = V_5;
int32_t L_84 = V_4;
int32_t L_85 = L_84;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86 = (L_83)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_85));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87;
L_87 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814(L_82, L_86, NULL);
(L_80)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_81), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_87);
// vertices[vertexIndex + 1] = m_matrix.MultiplyPoint3x4(vertices[vertexIndex + 1]);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_88 = V_5;
int32_t L_89 = V_4;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 * L_90 = (&__this->___m_matrix_16);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_91 = V_5;
int32_t L_92 = V_4;
int32_t L_93 = ((int32_t)il2cpp_codegen_add((int32_t)L_92, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94 = (L_91)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_93));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95;
L_95 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814(L_90, L_94, NULL);
(L_88)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_89, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_95);
// vertices[vertexIndex + 2] = m_matrix.MultiplyPoint3x4(vertices[vertexIndex + 2]);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_96 = V_5;
int32_t L_97 = V_4;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 * L_98 = (&__this->___m_matrix_16);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_99 = V_5;
int32_t L_100 = V_4;
int32_t L_101 = ((int32_t)il2cpp_codegen_add((int32_t)L_100, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102 = (L_99)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_101));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103;
L_103 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814(L_98, L_102, NULL);
(L_96)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_97, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_103);
// vertices[vertexIndex + 3] = m_matrix.MultiplyPoint3x4(vertices[vertexIndex + 3]);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_104 = V_5;
int32_t L_105 = V_4;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 * L_106 = (&__this->___m_matrix_16);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_107 = V_5;
int32_t L_108 = V_4;
int32_t L_109 = ((int32_t)il2cpp_codegen_add((int32_t)L_108, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110 = (L_107)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_109));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_111;
L_111 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814(L_106, L_110, NULL);
(L_104)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_105, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_111);
// vertices[vertexIndex + 0] = vertices[vertexIndex + 0] + offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_112 = V_5;
int32_t L_113 = V_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_114 = V_5;
int32_t L_115 = V_4;
int32_t L_116 = L_115;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117 = (L_114)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_116));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_118 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119;
L_119 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_117, L_118, NULL);
(L_112)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_113), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_119);
// vertices[vertexIndex + 1] = vertices[vertexIndex + 1] + offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_120 = V_5;
int32_t L_121 = V_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_122 = V_5;
int32_t L_123 = V_4;
int32_t L_124 = ((int32_t)il2cpp_codegen_add((int32_t)L_123, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125 = (L_122)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_124));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_126 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_127;
L_127 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_125, L_126, NULL);
(L_120)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_121, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_127);
// vertices[vertexIndex + 2] = vertices[vertexIndex + 2] + offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_128 = V_5;
int32_t L_129 = V_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_130 = V_5;
int32_t L_131 = V_4;
int32_t L_132 = ((int32_t)il2cpp_codegen_add((int32_t)L_131, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_133 = (L_130)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_132));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_134 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_135;
L_135 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_133, L_134, NULL);
(L_128)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_129, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_135);
// vertices[vertexIndex + 3] = vertices[vertexIndex + 3] + offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_136 = V_5;
int32_t L_137 = V_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_138 = V_5;
int32_t L_139 = V_4;
int32_t L_140 = ((int32_t)il2cpp_codegen_add((int32_t)L_139, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_141 = (L_138)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_140));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_142 = V_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_143;
L_143 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_141, L_142, NULL);
(L_136)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_137, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_143);
// Color32 c = new Color32(255, 255, 192, 255);
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&V_8), (uint8_t)((int32_t)255), (uint8_t)((int32_t)255), (uint8_t)((int32_t)192), (uint8_t)((int32_t)255), NULL);
// Color32[] vertexColors = m_TextMeshPro.textInfo.meshInfo[materialIndex].colors32;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_144 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_145;
L_145 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_144, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_146 = L_145->___meshInfo_16;
int32_t L_147 = V_3;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_148 = ((L_146)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_147)))->___colors32_11;
// vertexColors[vertexIndex + 0] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_149 = L_148;
int32_t L_150 = V_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_151 = V_8;
(L_149)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_150), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_151);
// vertexColors[vertexIndex + 1] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_152 = L_149;
int32_t L_153 = V_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_154 = V_8;
(L_152)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_153, (int32_t)1))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_154);
// vertexColors[vertexIndex + 2] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_155 = L_152;
int32_t L_156 = V_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_157 = V_8;
(L_155)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_156, (int32_t)2))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_157);
// vertexColors[vertexIndex + 3] = c;
int32_t L_158 = V_4;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_159 = V_8;
(L_155)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_158, (int32_t)3))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_159);
// TMP_MeshInfo meshInfo = m_TextMeshPro.textInfo.meshInfo[materialIndex];
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_160 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_161;
L_161 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_160, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_162 = L_161->___meshInfo_16;
int32_t L_163 = V_3;
int32_t L_164 = L_163;
TMP_MeshInfo_t320C52212E9D672EBB5F5C18C3E0700AA33DD76B L_165 = (L_162)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_164));
V_9 = L_165;
// int lastVertexIndex = vertices.Length - 4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_166 = V_5;
V_10 = ((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_166)->max_length))), (int32_t)4));
// meshInfo.SwapVertexData(vertexIndex, lastVertexIndex);
int32_t L_167 = V_4;
int32_t L_168 = V_10;
TMP_MeshInfo_SwapVertexData_mBB35F36F8E7E6CF1429B26417140570EE94FE718((&V_9), L_167, L_168, NULL);
// m_TextMeshPro.UpdateVertexData(TMP_VertexDataUpdateFlags.All);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_169 = __this->___m_TextMeshPro_9;
VirtualActionInvoker1< int32_t >::Invoke(108 /* System.Void TMPro.TMP_Text::UpdateVertexData(TMPro.TMP_VertexDataUpdateFlags) */, L_169, ((int32_t)255));
}
IL_0323:
{
// int wordIndex = TMP_TextUtilities.FindIntersectingWord(m_TextMeshPro, Input.mousePosition, m_Camera);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_170 = __this->___m_TextMeshPro_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_171;
L_171 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_172 = __this->___m_Camera_11;
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
int32_t L_173;
L_173 = TMP_TextUtilities_FindIntersectingWord_m1442DFD5AAE1FF0EE5054262A34E4D31B1E56879(L_170, L_171, L_172, NULL);
V_1 = L_173;
// if (m_TextPopup_RectTransform != null && m_selectedWord != -1 && (wordIndex == -1 || wordIndex != m_selectedWord))
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_174 = __this->___m_TextPopup_RectTransform_5;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_175;
L_175 = Object_op_Inequality_m4D656395C27694A7F33F5AA8DE80A7AAF9E20BA7(L_174, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C *)NULL, NULL);
if (!L_175)
{
goto IL_045c;
}
}
{
int32_t L_176 = __this->___m_selectedWord_13;
if ((((int32_t)L_176) == ((int32_t)(-1))))
{
goto IL_045c;
}
}
{
int32_t L_177 = V_1;
if ((((int32_t)L_177) == ((int32_t)(-1))))
{
goto IL_0367;
}
}
{
int32_t L_178 = V_1;
int32_t L_179 = __this->___m_selectedWord_13;
if ((((int32_t)L_178) == ((int32_t)L_179)))
{
goto IL_045c;
}
}
IL_0367:
{
// TMP_WordInfo wInfo = m_TextMeshPro.textInfo.wordInfo[m_selectedWord];
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_180 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_181;
L_181 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_180, NULL);
TMP_WordInfoU5BU5D_tD1759E5A84DCCCD42B718D79E953E72A432BB4DC* L_182 = L_181->___wordInfo_12;
int32_t L_183 = __this->___m_selectedWord_13;
int32_t L_184 = L_183;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_185 = (L_182)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_184));
V_11 = L_185;
// for (int i = 0; i < wInfo.characterCount; i++)
V_12 = 0;
goto IL_0437;
}
IL_038c:
{
// int characterIndex = wInfo.firstCharacterIndex + i;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_186 = V_11;
int32_t L_187 = L_186.___firstCharacterIndex_1;
int32_t L_188 = V_12;
V_13 = ((int32_t)il2cpp_codegen_add((int32_t)L_187, (int32_t)L_188));
// int meshIndex = m_TextMeshPro.textInfo.characterInfo[characterIndex].materialReferenceIndex;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_189 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_190;
L_190 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_189, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_191 = L_190->___characterInfo_11;
int32_t L_192 = V_13;
int32_t L_193 = ((L_191)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_192)))->___materialReferenceIndex_9;
V_14 = L_193;
// int vertexIndex = m_TextMeshPro.textInfo.characterInfo[characterIndex].vertexIndex;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_194 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_195;
L_195 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_194, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_196 = L_195->___characterInfo_11;
int32_t L_197 = V_13;
int32_t L_198 = ((L_196)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_197)))->___vertexIndex_14;
V_15 = L_198;
// Color32[] vertexColors = m_TextMeshPro.textInfo.meshInfo[meshIndex].colors32;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_199 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_200;
L_200 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_199, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_201 = L_200->___meshInfo_16;
int32_t L_202 = V_14;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_203 = ((L_201)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_202)))->___colors32_11;
// Color32 c = vertexColors[vertexIndex + 0].Tint(1.33333f);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_204 = L_203;
int32_t L_205 = V_15;
int32_t L_206 = L_205;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_207 = (L_204)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_206));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_208;
L_208 = TMPro_ExtensionMethods_Tint_m5DA2EA8D3C7DFF5FC493CE93D07C3FC039A07133(L_207, (1.33333004f), NULL);
V_16 = L_208;
// vertexColors[vertexIndex + 0] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_209 = L_204;
int32_t L_210 = V_15;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_211 = V_16;
(L_209)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_210), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_211);
// vertexColors[vertexIndex + 1] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_212 = L_209;
int32_t L_213 = V_15;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_214 = V_16;
(L_212)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_213, (int32_t)1))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_214);
// vertexColors[vertexIndex + 2] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_215 = L_212;
int32_t L_216 = V_15;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_217 = V_16;
(L_215)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_216, (int32_t)2))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_217);
// vertexColors[vertexIndex + 3] = c;
int32_t L_218 = V_15;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_219 = V_16;
(L_215)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_218, (int32_t)3))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_219);
// for (int i = 0; i < wInfo.characterCount; i++)
int32_t L_220 = V_12;
V_12 = ((int32_t)il2cpp_codegen_add((int32_t)L_220, (int32_t)1));
}
IL_0437:
{
// for (int i = 0; i < wInfo.characterCount; i++)
int32_t L_221 = V_12;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_222 = V_11;
int32_t L_223 = L_222.___characterCount_3;
if ((((int32_t)L_221) < ((int32_t)L_223)))
{
goto IL_038c;
}
}
{
// m_TextMeshPro.UpdateVertexData(TMP_VertexDataUpdateFlags.All);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_224 = __this->___m_TextMeshPro_9;
VirtualActionInvoker1< int32_t >::Invoke(108 /* System.Void TMPro.TMP_Text::UpdateVertexData(TMPro.TMP_VertexDataUpdateFlags) */, L_224, ((int32_t)255));
// m_selectedWord = -1;
__this->___m_selectedWord_13 = (-1);
}
IL_045c:
{
// if (wordIndex != -1 && wordIndex != m_selectedWord && !(Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift)))
int32_t L_225 = V_1;
if ((((int32_t)L_225) == ((int32_t)(-1))))
{
goto IL_057d;
}
}
{
int32_t L_226 = V_1;
int32_t L_227 = __this->___m_selectedWord_13;
if ((((int32_t)L_226) == ((int32_t)L_227)))
{
goto IL_057d;
}
}
{
bool L_228;
L_228 = Input_GetKey_m0BF0499CADC378F02B6BEE2399FB945AB929B81A(((int32_t)304), NULL);
if (L_228)
{
goto IL_057d;
}
}
{
bool L_229;
L_229 = Input_GetKey_m0BF0499CADC378F02B6BEE2399FB945AB929B81A(((int32_t)303), NULL);
if (L_229)
{
goto IL_057d;
}
}
{
// m_selectedWord = wordIndex;
int32_t L_230 = V_1;
__this->___m_selectedWord_13 = L_230;
// TMP_WordInfo wInfo = m_TextMeshPro.textInfo.wordInfo[wordIndex];
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_231 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_232;
L_232 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_231, NULL);
TMP_WordInfoU5BU5D_tD1759E5A84DCCCD42B718D79E953E72A432BB4DC* L_233 = L_232->___wordInfo_12;
int32_t L_234 = V_1;
int32_t L_235 = L_234;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_236 = (L_233)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_235));
V_17 = L_236;
// for (int i = 0; i < wInfo.characterCount; i++)
V_18 = 0;
goto IL_055f;
}
IL_04b4:
{
// int characterIndex = wInfo.firstCharacterIndex + i;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_237 = V_17;
int32_t L_238 = L_237.___firstCharacterIndex_1;
int32_t L_239 = V_18;
V_19 = ((int32_t)il2cpp_codegen_add((int32_t)L_238, (int32_t)L_239));
// int meshIndex = m_TextMeshPro.textInfo.characterInfo[characterIndex].materialReferenceIndex;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_240 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_241;
L_241 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_240, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_242 = L_241->___characterInfo_11;
int32_t L_243 = V_19;
int32_t L_244 = ((L_242)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_243)))->___materialReferenceIndex_9;
V_20 = L_244;
// int vertexIndex = m_TextMeshPro.textInfo.characterInfo[characterIndex].vertexIndex;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_245 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_246;
L_246 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_245, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_247 = L_246->___characterInfo_11;
int32_t L_248 = V_19;
int32_t L_249 = ((L_247)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_248)))->___vertexIndex_14;
V_21 = L_249;
// Color32[] vertexColors = m_TextMeshPro.textInfo.meshInfo[meshIndex].colors32;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_250 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_251;
L_251 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_250, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_252 = L_251->___meshInfo_16;
int32_t L_253 = V_20;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_254 = ((L_252)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_253)))->___colors32_11;
// Color32 c = vertexColors[vertexIndex + 0].Tint(0.75f);
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_255 = L_254;
int32_t L_256 = V_21;
int32_t L_257 = L_256;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_258 = (L_255)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_257));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_259;
L_259 = TMPro_ExtensionMethods_Tint_m5DA2EA8D3C7DFF5FC493CE93D07C3FC039A07133(L_258, (0.75f), NULL);
V_22 = L_259;
// vertexColors[vertexIndex + 0] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_260 = L_255;
int32_t L_261 = V_21;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_262 = V_22;
(L_260)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_261), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_262);
// vertexColors[vertexIndex + 1] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_263 = L_260;
int32_t L_264 = V_21;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_265 = V_22;
(L_263)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_264, (int32_t)1))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_265);
// vertexColors[vertexIndex + 2] = c;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_266 = L_263;
int32_t L_267 = V_21;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_268 = V_22;
(L_266)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_267, (int32_t)2))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_268);
// vertexColors[vertexIndex + 3] = c;
int32_t L_269 = V_21;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_270 = V_22;
(L_266)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_269, (int32_t)3))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_270);
// for (int i = 0; i < wInfo.characterCount; i++)
int32_t L_271 = V_18;
V_18 = ((int32_t)il2cpp_codegen_add((int32_t)L_271, (int32_t)1));
}
IL_055f:
{
// for (int i = 0; i < wInfo.characterCount; i++)
int32_t L_272 = V_18;
TMP_WordInfo_t825112AF0B76E4461F9C7DD336A02CC6A090A983 L_273 = V_17;
int32_t L_274 = L_273.___characterCount_3;
if ((((int32_t)L_272) < ((int32_t)L_274)))
{
goto IL_04b4;
}
}
{
// m_TextMeshPro.UpdateVertexData(TMP_VertexDataUpdateFlags.All);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_275 = __this->___m_TextMeshPro_9;
VirtualActionInvoker1< int32_t >::Invoke(108 /* System.Void TMPro.TMP_Text::UpdateVertexData(TMPro.TMP_VertexDataUpdateFlags) */, L_275, ((int32_t)255));
}
IL_057d:
{
// int linkIndex = TMP_TextUtilities.FindIntersectingLink(m_TextMeshPro, Input.mousePosition, m_Camera);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_276 = __this->___m_TextMeshPro_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_277;
L_277 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_278 = __this->___m_Camera_11;
il2cpp_codegen_runtime_class_init_inline(TMP_TextUtilities_tD7ED516E31C2AA0EB607D587C0BB0FE71A8BB934_il2cpp_TypeInfo_var);
int32_t L_279;
L_279 = TMP_TextUtilities_FindIntersectingLink_m2B5823274A30BBB3A54592E8DB44F119140C3778(L_276, L_277, L_278, NULL);
V_2 = L_279;
// if ((linkIndex == -1 && m_selectedLink != -1) || linkIndex != m_selectedLink)
int32_t L_280 = V_2;
if ((!(((uint32_t)L_280) == ((uint32_t)(-1)))))
{
goto IL_05a1;
}
}
{
int32_t L_281 = __this->___m_selectedLink_14;
if ((!(((uint32_t)L_281) == ((uint32_t)(-1)))))
{
goto IL_05aa;
}
}
IL_05a1:
{
int32_t L_282 = V_2;
int32_t L_283 = __this->___m_selectedLink_14;
if ((((int32_t)L_282) == ((int32_t)L_283)))
{
goto IL_05c2;
}
}
IL_05aa:
{
// m_TextPopup_RectTransform.gameObject.SetActive(false);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_284 = __this->___m_TextPopup_RectTransform_5;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_285;
L_285 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_284, NULL);
GameObject_SetActive_m638E92E1E75E519E5B24CF150B08CA8E0CDFAB92(L_285, (bool)0, NULL);
// m_selectedLink = -1;
__this->___m_selectedLink_14 = (-1);
}
IL_05c2:
{
// if (linkIndex != -1 && linkIndex != m_selectedLink)
int32_t L_286 = V_2;
if ((((int32_t)L_286) == ((int32_t)(-1))))
{
goto IL_06b7;
}
}
{
int32_t L_287 = V_2;
int32_t L_288 = __this->___m_selectedLink_14;
if ((((int32_t)L_287) == ((int32_t)L_288)))
{
goto IL_06b7;
}
}
{
// m_selectedLink = linkIndex;
int32_t L_289 = V_2;
__this->___m_selectedLink_14 = L_289;
// TMP_LinkInfo linkInfo = m_TextMeshPro.textInfo.linkInfo[linkIndex];
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_290 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_291;
L_291 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_290, NULL);
TMP_LinkInfoU5BU5D_tE11BE54A5923BD2148E716289F44EA465E06536E* L_292 = L_291->___linkInfo_13;
int32_t L_293 = V_2;
int32_t L_294 = L_293;
TMP_LinkInfo_t9DC08E8BF8C5E8094AFF8C9FB3C251AF88B92DA6 L_295 = (L_292)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_294));
V_23 = L_295;
// RectTransformUtility.ScreenPointToWorldPointInRectangle(m_TextMeshPro.rectTransform, Input.mousePosition, m_Camera, out worldPointInRectangle);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_296 = __this->___m_TextMeshPro_9;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_297;
L_297 = TMP_Text_get_rectTransform_m22DC10116809BEB2C66047A55337A588ED023EBF(L_296, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_298;
L_298 = Input_get_mousePosition_m2414B43222ED0C5FAB960D393964189AFD21EEAD(NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_299;
L_299 = Vector2_op_Implicit_m8F73B300CB4E6F9B4EB5FB6130363D76CEAA230B_inline(L_298, NULL);
Camera_tA92CC927D7439999BC82DBEDC0AA45B470F9E184 * L_300 = __this->___m_Camera_11;
il2cpp_codegen_runtime_class_init_inline(RectTransformUtility_t65C00A84A72F17D78B81F2E7D88C2AA98AB61244_il2cpp_TypeInfo_var);
bool L_301;
L_301 = RectTransformUtility_ScreenPointToWorldPointInRectangle_mA37289182AEA7D89BA927C325F82980085D6A882(L_297, L_299, L_300, (&V_24), NULL);
// switch (linkInfo.GetLinkID())
String_t* L_302;
L_302 = TMP_LinkInfo_GetLinkID_mCC9D9E783D606660A4D15E0E746E1E27AD9C2425((&V_23), NULL);
V_25 = L_302;
String_t* L_303 = V_25;
bool L_304;
L_304 = String_op_Equality_m0D685A924E5CD78078F248ED1726DA5A9D7D6AC0(L_303, _stringLiteral6C3B90D0C27E620F9CB6F4530546C591AB0C5E12, NULL);
if (L_304)
{
goto IL_063d;
}
}
{
String_t* L_305 = V_25;
bool L_306;
L_306 = String_op_Equality_m0D685A924E5CD78078F248ED1726DA5A9D7D6AC0(L_305, _stringLiteralFF988BE1271FBA06A4FB243CE21817E36A0AE666, NULL);
if (L_306)
{
goto IL_066c;
}
}
{
return;
}
IL_063d:
{
// m_TextPopup_RectTransform.position = worldPointInRectangle;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_307 = __this->___m_TextPopup_RectTransform_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_308 = V_24;
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_307, L_308, NULL);
// m_TextPopup_RectTransform.gameObject.SetActive(true);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_309 = __this->___m_TextPopup_RectTransform_5;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_310;
L_310 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_309, NULL);
GameObject_SetActive_m638E92E1E75E519E5B24CF150B08CA8E0CDFAB92(L_310, (bool)1, NULL);
// m_TextPopup_TMPComponent.text = k_LinkText + " ID 01";
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_311 = __this->___m_TextPopup_TMPComponent_6;
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_311, _stringLiteralEE3657997C5E6EC82CDE374326A95906F03A3315);
// break;
return;
}
IL_066c:
{
// m_TextPopup_RectTransform.position = worldPointInRectangle;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_312 = __this->___m_TextPopup_RectTransform_5;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_313 = V_24;
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_312, L_313, NULL);
// m_TextPopup_RectTransform.gameObject.SetActive(true);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_314 = __this->___m_TextPopup_RectTransform_5;
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_315;
L_315 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_314, NULL);
GameObject_SetActive_m638E92E1E75E519E5B24CF150B08CA8E0CDFAB92(L_315, (bool)1, NULL);
// m_TextPopup_TMPComponent.text = k_LinkText + " ID 02";
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_316 = __this->___m_TextPopup_TMPComponent_6;
VirtualActionInvoker1< String_t* >::Invoke(66 /* System.Void TMPro.TMP_Text::set_text(System.String) */, L_316, _stringLiteral69CE07E5C7ADCC833DA3E659BC9009F6C3C1346A);
// break;
return;
}
IL_069b:
{
// if (m_lastIndex != -1)
int32_t L_317 = __this->___m_lastIndex_15;
if ((((int32_t)L_317) == ((int32_t)(-1))))
{
goto IL_06b7;
}
}
{
// RestoreCachedVertexAttributes(m_lastIndex);
int32_t L_318 = __this->___m_lastIndex_15;
TMP_TextSelector_B_RestoreCachedVertexAttributes_m1FD258EC7A53C8E1ECB18EB6FFEFC6239780C398(__this, L_318, NULL);
// m_lastIndex = -1;
__this->___m_lastIndex_15 = (-1);
}
IL_06b7:
{
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_B::OnPointerEnter(UnityEngine.EventSystems.PointerEventData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_B_OnPointerEnter_mBAF5711E20E579D21258BD4040454A64E1134D98 (TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 * __this, PointerEventData_t9670F3C7D823CCB738A1604C72A1EB90292396FB * ___eventData0, const RuntimeMethod* method)
{
{
// isHoveringObject = true;
__this->___isHoveringObject_12 = (bool)1;
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_B::OnPointerExit(UnityEngine.EventSystems.PointerEventData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_B_OnPointerExit_m40ED8F7E47FF6FD8B38BE96B2216267F61509D65 (TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 * __this, PointerEventData_t9670F3C7D823CCB738A1604C72A1EB90292396FB * ___eventData0, const RuntimeMethod* method)
{
{
// isHoveringObject = false;
__this->___isHoveringObject_12 = (bool)0;
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_B::OnPointerClick(UnityEngine.EventSystems.PointerEventData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_B_OnPointerClick_m773B56D918B1D0F73C5ABC0EB22FD34D39AFBB97 (TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 * __this, PointerEventData_t9670F3C7D823CCB738A1604C72A1EB90292396FB * ___eventData0, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_B::OnPointerUp(UnityEngine.EventSystems.PointerEventData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_B_OnPointerUp_mF409D728900872CC323B18DDA7F91265058BE772 (TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 * __this, PointerEventData_t9670F3C7D823CCB738A1604C72A1EB90292396FB * ___eventData0, const RuntimeMethod* method)
{
{
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_B::RestoreCachedVertexAttributes(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_B_RestoreCachedVertexAttributes_m1FD258EC7A53C8E1ECB18EB6FFEFC6239780C398 (TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 * __this, int32_t ___index0, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t V_1 = 0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_2 = NULL;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* V_3 = NULL;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_4 = NULL;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_5 = NULL;
int32_t V_6 = 0;
{
// if (index == -1 || index > m_TextMeshPro.textInfo.characterCount - 1) return;
int32_t L_0 = ___index0;
if ((((int32_t)L_0) == ((int32_t)(-1))))
{
goto IL_0019;
}
}
{
int32_t L_1 = ___index0;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_2 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_3;
L_3 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_2, NULL);
int32_t L_4 = L_3->___characterCount_3;
if ((((int32_t)L_1) <= ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)1)))))
{
goto IL_001a;
}
}
IL_0019:
{
// if (index == -1 || index > m_TextMeshPro.textInfo.characterCount - 1) return;
return;
}
IL_001a:
{
// int materialIndex = m_TextMeshPro.textInfo.characterInfo[index].materialReferenceIndex;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_5 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_6;
L_6 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_5, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_7 = L_6->___characterInfo_11;
int32_t L_8 = ___index0;
int32_t L_9 = ((L_7)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_8)))->___materialReferenceIndex_9;
V_0 = L_9;
// int vertexIndex = m_TextMeshPro.textInfo.characterInfo[index].vertexIndex;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_10 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_11;
L_11 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_10, NULL);
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_12 = L_11->___characterInfo_11;
int32_t L_13 = ___index0;
int32_t L_14 = ((L_12)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_13)))->___vertexIndex_14;
V_1 = L_14;
// Vector3[] src_vertices = m_cachedMeshInfoVertexData[materialIndex].vertices;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_15 = __this->___m_cachedMeshInfoVertexData_17;
int32_t L_16 = V_0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_17 = ((L_15)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_16)))->___vertices_6;
V_2 = L_17;
// Vector3[] dst_vertices = m_TextMeshPro.textInfo.meshInfo[materialIndex].vertices;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_18 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_19;
L_19 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_18, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_20 = L_19->___meshInfo_16;
int32_t L_21 = V_0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_22 = ((L_20)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_21)))->___vertices_6;
// dst_vertices[vertexIndex + 0] = src_vertices[vertexIndex + 0];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_23 = L_22;
int32_t L_24 = V_1;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_25 = V_2;
int32_t L_26 = V_1;
int32_t L_27 = L_26;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = (L_25)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_27));
(L_23)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_24), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_28);
// dst_vertices[vertexIndex + 1] = src_vertices[vertexIndex + 1];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_29 = L_23;
int32_t L_30 = V_1;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_31 = V_2;
int32_t L_32 = V_1;
int32_t L_33 = ((int32_t)il2cpp_codegen_add((int32_t)L_32, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = (L_31)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_33));
(L_29)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_34);
// dst_vertices[vertexIndex + 2] = src_vertices[vertexIndex + 2];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_35 = L_29;
int32_t L_36 = V_1;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_37 = V_2;
int32_t L_38 = V_1;
int32_t L_39 = ((int32_t)il2cpp_codegen_add((int32_t)L_38, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = (L_37)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_39));
(L_35)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_36, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_40);
// dst_vertices[vertexIndex + 3] = src_vertices[vertexIndex + 3];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_41 = L_35;
int32_t L_42 = V_1;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_43 = V_2;
int32_t L_44 = V_1;
int32_t L_45 = ((int32_t)il2cpp_codegen_add((int32_t)L_44, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = (L_43)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_45));
(L_41)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_46);
// Color32[] dst_colors = m_TextMeshPro.textInfo.meshInfo[materialIndex].colors32;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_47 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_48;
L_48 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_47, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_49 = L_48->___meshInfo_16;
int32_t L_50 = V_0;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_51 = ((L_49)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_50)))->___colors32_11;
// Color32[] src_colors = m_cachedMeshInfoVertexData[materialIndex].colors32;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_52 = __this->___m_cachedMeshInfoVertexData_17;
int32_t L_53 = V_0;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_54 = ((L_52)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_53)))->___colors32_11;
V_3 = L_54;
// dst_colors[vertexIndex + 0] = src_colors[vertexIndex + 0];
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_55 = L_51;
int32_t L_56 = V_1;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_57 = V_3;
int32_t L_58 = V_1;
int32_t L_59 = L_58;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_60 = (L_57)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_59));
(L_55)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_56), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_60);
// dst_colors[vertexIndex + 1] = src_colors[vertexIndex + 1];
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_61 = L_55;
int32_t L_62 = V_1;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_63 = V_3;
int32_t L_64 = V_1;
int32_t L_65 = ((int32_t)il2cpp_codegen_add((int32_t)L_64, (int32_t)1));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_66 = (L_63)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_65));
(L_61)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_62, (int32_t)1))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_66);
// dst_colors[vertexIndex + 2] = src_colors[vertexIndex + 2];
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_67 = L_61;
int32_t L_68 = V_1;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_69 = V_3;
int32_t L_70 = V_1;
int32_t L_71 = ((int32_t)il2cpp_codegen_add((int32_t)L_70, (int32_t)2));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_72 = (L_69)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_71));
(L_67)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_68, (int32_t)2))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_72);
// dst_colors[vertexIndex + 3] = src_colors[vertexIndex + 3];
int32_t L_73 = V_1;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_74 = V_3;
int32_t L_75 = V_1;
int32_t L_76 = ((int32_t)il2cpp_codegen_add((int32_t)L_75, (int32_t)3));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_77 = (L_74)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_76));
(L_67)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_73, (int32_t)3))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_77);
// Vector2[] src_uv0s = m_cachedMeshInfoVertexData[materialIndex].uvs0;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_78 = __this->___m_cachedMeshInfoVertexData_17;
int32_t L_79 = V_0;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_80 = ((L_78)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_79)))->___uvs0_9;
V_4 = L_80;
// Vector2[] dst_uv0s = m_TextMeshPro.textInfo.meshInfo[materialIndex].uvs0;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_81 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_82;
L_82 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_81, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_83 = L_82->___meshInfo_16;
int32_t L_84 = V_0;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_85 = ((L_83)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_84)))->___uvs0_9;
// dst_uv0s[vertexIndex + 0] = src_uv0s[vertexIndex + 0];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_86 = L_85;
int32_t L_87 = V_1;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_88 = V_4;
int32_t L_89 = V_1;
int32_t L_90 = L_89;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_91 = (L_88)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_90));
(L_86)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_87), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_91);
// dst_uv0s[vertexIndex + 1] = src_uv0s[vertexIndex + 1];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_92 = L_86;
int32_t L_93 = V_1;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_94 = V_4;
int32_t L_95 = V_1;
int32_t L_96 = ((int32_t)il2cpp_codegen_add((int32_t)L_95, (int32_t)1));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_97 = (L_94)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_96));
(L_92)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_93, (int32_t)1))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_97);
// dst_uv0s[vertexIndex + 2] = src_uv0s[vertexIndex + 2];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_98 = L_92;
int32_t L_99 = V_1;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_100 = V_4;
int32_t L_101 = V_1;
int32_t L_102 = ((int32_t)il2cpp_codegen_add((int32_t)L_101, (int32_t)2));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_103 = (L_100)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_102));
(L_98)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_99, (int32_t)2))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_103);
// dst_uv0s[vertexIndex + 3] = src_uv0s[vertexIndex + 3];
int32_t L_104 = V_1;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_105 = V_4;
int32_t L_106 = V_1;
int32_t L_107 = ((int32_t)il2cpp_codegen_add((int32_t)L_106, (int32_t)3));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_108 = (L_105)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_107));
(L_98)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_104, (int32_t)3))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_108);
// Vector2[] src_uv2s = m_cachedMeshInfoVertexData[materialIndex].uvs2;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_109 = __this->___m_cachedMeshInfoVertexData_17;
int32_t L_110 = V_0;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_111 = ((L_109)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_110)))->___uvs2_10;
V_5 = L_111;
// Vector2[] dst_uv2s = m_TextMeshPro.textInfo.meshInfo[materialIndex].uvs2;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_112 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_113;
L_113 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_112, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_114 = L_113->___meshInfo_16;
int32_t L_115 = V_0;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_116 = ((L_114)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_115)))->___uvs2_10;
// dst_uv2s[vertexIndex + 0] = src_uv2s[vertexIndex + 0];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_117 = L_116;
int32_t L_118 = V_1;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_119 = V_5;
int32_t L_120 = V_1;
int32_t L_121 = L_120;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_122 = (L_119)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_121));
(L_117)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_118), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_122);
// dst_uv2s[vertexIndex + 1] = src_uv2s[vertexIndex + 1];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_123 = L_117;
int32_t L_124 = V_1;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_125 = V_5;
int32_t L_126 = V_1;
int32_t L_127 = ((int32_t)il2cpp_codegen_add((int32_t)L_126, (int32_t)1));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_128 = (L_125)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_127));
(L_123)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_124, (int32_t)1))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_128);
// dst_uv2s[vertexIndex + 2] = src_uv2s[vertexIndex + 2];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_129 = L_123;
int32_t L_130 = V_1;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_131 = V_5;
int32_t L_132 = V_1;
int32_t L_133 = ((int32_t)il2cpp_codegen_add((int32_t)L_132, (int32_t)2));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_134 = (L_131)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_133));
(L_129)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_130, (int32_t)2))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_134);
// dst_uv2s[vertexIndex + 3] = src_uv2s[vertexIndex + 3];
int32_t L_135 = V_1;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_136 = V_5;
int32_t L_137 = V_1;
int32_t L_138 = ((int32_t)il2cpp_codegen_add((int32_t)L_137, (int32_t)3));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_139 = (L_136)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_138));
(L_129)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_135, (int32_t)3))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_139);
// int lastIndex = (src_vertices.Length / 4 - 1) * 4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_140 = V_2;
V_6 = ((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_140)->max_length)))/(int32_t)4)), (int32_t)1)), (int32_t)4));
// dst_vertices[lastIndex + 0] = src_vertices[lastIndex + 0];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_141 = L_41;
int32_t L_142 = V_6;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_143 = V_2;
int32_t L_144 = V_6;
int32_t L_145 = L_144;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_146 = (L_143)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_145));
(L_141)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_142), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_146);
// dst_vertices[lastIndex + 1] = src_vertices[lastIndex + 1];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_147 = L_141;
int32_t L_148 = V_6;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_149 = V_2;
int32_t L_150 = V_6;
int32_t L_151 = ((int32_t)il2cpp_codegen_add((int32_t)L_150, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_152 = (L_149)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_151));
(L_147)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_148, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_152);
// dst_vertices[lastIndex + 2] = src_vertices[lastIndex + 2];
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_153 = L_147;
int32_t L_154 = V_6;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_155 = V_2;
int32_t L_156 = V_6;
int32_t L_157 = ((int32_t)il2cpp_codegen_add((int32_t)L_156, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_158 = (L_155)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_157));
(L_153)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_154, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_158);
// dst_vertices[lastIndex + 3] = src_vertices[lastIndex + 3];
int32_t L_159 = V_6;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_160 = V_2;
int32_t L_161 = V_6;
int32_t L_162 = ((int32_t)il2cpp_codegen_add((int32_t)L_161, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_163 = (L_160)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_162));
(L_153)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_159, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_163);
// src_colors = m_cachedMeshInfoVertexData[materialIndex].colors32;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_164 = __this->___m_cachedMeshInfoVertexData_17;
int32_t L_165 = V_0;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_166 = ((L_164)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_165)))->___colors32_11;
V_3 = L_166;
// dst_colors = m_TextMeshPro.textInfo.meshInfo[materialIndex].colors32;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_167 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_168;
L_168 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_167, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_169 = L_168->___meshInfo_16;
int32_t L_170 = V_0;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_171 = ((L_169)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_170)))->___colors32_11;
// dst_colors[lastIndex + 0] = src_colors[lastIndex + 0];
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_172 = L_171;
int32_t L_173 = V_6;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_174 = V_3;
int32_t L_175 = V_6;
int32_t L_176 = L_175;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_177 = (L_174)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_176));
(L_172)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_173), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_177);
// dst_colors[lastIndex + 1] = src_colors[lastIndex + 1];
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_178 = L_172;
int32_t L_179 = V_6;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_180 = V_3;
int32_t L_181 = V_6;
int32_t L_182 = ((int32_t)il2cpp_codegen_add((int32_t)L_181, (int32_t)1));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_183 = (L_180)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_182));
(L_178)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_179, (int32_t)1))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_183);
// dst_colors[lastIndex + 2] = src_colors[lastIndex + 2];
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_184 = L_178;
int32_t L_185 = V_6;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_186 = V_3;
int32_t L_187 = V_6;
int32_t L_188 = ((int32_t)il2cpp_codegen_add((int32_t)L_187, (int32_t)2));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_189 = (L_186)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_188));
(L_184)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_185, (int32_t)2))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_189);
// dst_colors[lastIndex + 3] = src_colors[lastIndex + 3];
int32_t L_190 = V_6;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_191 = V_3;
int32_t L_192 = V_6;
int32_t L_193 = ((int32_t)il2cpp_codegen_add((int32_t)L_192, (int32_t)3));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_194 = (L_191)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_193));
(L_184)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_190, (int32_t)3))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_194);
// src_uv0s = m_cachedMeshInfoVertexData[materialIndex].uvs0;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_195 = __this->___m_cachedMeshInfoVertexData_17;
int32_t L_196 = V_0;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_197 = ((L_195)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_196)))->___uvs0_9;
V_4 = L_197;
// dst_uv0s = m_TextMeshPro.textInfo.meshInfo[materialIndex].uvs0;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_198 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_199;
L_199 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_198, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_200 = L_199->___meshInfo_16;
int32_t L_201 = V_0;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_202 = ((L_200)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_201)))->___uvs0_9;
// dst_uv0s[lastIndex + 0] = src_uv0s[lastIndex + 0];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_203 = L_202;
int32_t L_204 = V_6;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_205 = V_4;
int32_t L_206 = V_6;
int32_t L_207 = L_206;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_208 = (L_205)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_207));
(L_203)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_204), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_208);
// dst_uv0s[lastIndex + 1] = src_uv0s[lastIndex + 1];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_209 = L_203;
int32_t L_210 = V_6;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_211 = V_4;
int32_t L_212 = V_6;
int32_t L_213 = ((int32_t)il2cpp_codegen_add((int32_t)L_212, (int32_t)1));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_214 = (L_211)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_213));
(L_209)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_210, (int32_t)1))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_214);
// dst_uv0s[lastIndex + 2] = src_uv0s[lastIndex + 2];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_215 = L_209;
int32_t L_216 = V_6;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_217 = V_4;
int32_t L_218 = V_6;
int32_t L_219 = ((int32_t)il2cpp_codegen_add((int32_t)L_218, (int32_t)2));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_220 = (L_217)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_219));
(L_215)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_216, (int32_t)2))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_220);
// dst_uv0s[lastIndex + 3] = src_uv0s[lastIndex + 3];
int32_t L_221 = V_6;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_222 = V_4;
int32_t L_223 = V_6;
int32_t L_224 = ((int32_t)il2cpp_codegen_add((int32_t)L_223, (int32_t)3));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_225 = (L_222)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_224));
(L_215)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_221, (int32_t)3))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_225);
// src_uv2s = m_cachedMeshInfoVertexData[materialIndex].uvs2;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_226 = __this->___m_cachedMeshInfoVertexData_17;
int32_t L_227 = V_0;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_228 = ((L_226)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_227)))->___uvs2_10;
V_5 = L_228;
// dst_uv2s = m_TextMeshPro.textInfo.meshInfo[materialIndex].uvs2;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_229 = __this->___m_TextMeshPro_9;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_230;
L_230 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_229, NULL);
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_231 = L_230->___meshInfo_16;
int32_t L_232 = V_0;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_233 = ((L_231)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_232)))->___uvs2_10;
// dst_uv2s[lastIndex + 0] = src_uv2s[lastIndex + 0];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_234 = L_233;
int32_t L_235 = V_6;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_236 = V_5;
int32_t L_237 = V_6;
int32_t L_238 = L_237;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_239 = (L_236)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_238));
(L_234)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_235), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_239);
// dst_uv2s[lastIndex + 1] = src_uv2s[lastIndex + 1];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_240 = L_234;
int32_t L_241 = V_6;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_242 = V_5;
int32_t L_243 = V_6;
int32_t L_244 = ((int32_t)il2cpp_codegen_add((int32_t)L_243, (int32_t)1));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_245 = (L_242)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_244));
(L_240)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_241, (int32_t)1))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_245);
// dst_uv2s[lastIndex + 2] = src_uv2s[lastIndex + 2];
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_246 = L_240;
int32_t L_247 = V_6;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_248 = V_5;
int32_t L_249 = V_6;
int32_t L_250 = ((int32_t)il2cpp_codegen_add((int32_t)L_249, (int32_t)2));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_251 = (L_248)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_250));
(L_246)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_247, (int32_t)2))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_251);
// dst_uv2s[lastIndex + 3] = src_uv2s[lastIndex + 3];
int32_t L_252 = V_6;
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_253 = V_5;
int32_t L_254 = V_6;
int32_t L_255 = ((int32_t)il2cpp_codegen_add((int32_t)L_254, (int32_t)3));
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_256 = (L_253)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_255));
(L_246)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_252, (int32_t)3))), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )L_256);
// m_TextMeshPro.UpdateVertexData(TMP_VertexDataUpdateFlags.All);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_257 = __this->___m_TextMeshPro_9;
VirtualActionInvoker1< int32_t >::Invoke(108 /* System.Void TMPro.TMP_Text::UpdateVertexData(TMPro.TMP_VertexDataUpdateFlags) */, L_257, ((int32_t)255));
// }
return;
}
}
// System.Void TMPro.Examples.TMP_TextSelector_B::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_TextSelector_B__ctor_mB45DD6360094ADBEF5E8020E8C62404B7E45E301 (TMP_TextSelector_B_t57166268B8E5437286F55085EA19969D0A528CC2 * __this, const RuntimeMethod* method)
{
{
// private int m_selectedWord = -1;
__this->___m_selectedWord_13 = (-1);
// private int m_selectedLink = -1;
__this->___m_selectedLink_14 = (-1);
// private int m_lastIndex = -1;
__this->___m_lastIndex_15 = (-1);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.TMP_UiFrameRateCounter::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_UiFrameRateCounter_Awake_m3E0ECAD08FA25B61DD75F4D36EC3F1DE5A22A491 (TMP_UiFrameRateCounter_t3CB67462256A3570DFD0BD10261E7CABB11AFC0E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m771EB78FF8813B5AFF21AC0D252E5461943E6388_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9ECD13393A1BC799BB4763A4E4CD5B53E220C53A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA6107EE62A5874EF8D2DEAC7D3C0A9F07B89E096);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAB3448E21FA53C63C06270903A13B17D02935BE0);
s_Il2CppMethodInitialized = true;
}
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * V_0 = NULL;
{
// if (!enabled)
bool L_0;
L_0 = Behaviour_get_enabled_mAAC9F15E9EBF552217A5AE2681589CC0BFA300C1(__this, NULL);
if (L_0)
{
goto IL_0009;
}
}
{
// return;
return;
}
IL_0009:
{
// Application.targetFrameRate = 1000;
Application_set_targetFrameRate_m794A13DC5116C506B042663606691257CF3A7325(((int32_t)1000), NULL);
// GameObject frameCounter = new GameObject("Frame Counter");
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_1 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F *)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_1, _stringLiteralA6107EE62A5874EF8D2DEAC7D3C0A9F07B89E096, /*hidden argument*/NULL);
V_0 = L_1;
// m_frameCounter_transform = frameCounter.AddComponent<RectTransform>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_2 = V_0;
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_3;
L_3 = GameObject_AddComponent_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m771EB78FF8813B5AFF21AC0D252E5461943E6388(L_2, GameObject_AddComponent_TisRectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5_m771EB78FF8813B5AFF21AC0D252E5461943E6388_RuntimeMethod_var);
__this->___m_frameCounter_transform_11 = L_3;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_frameCounter_transform_11), (void*)L_3);
// m_frameCounter_transform.SetParent(this.transform, false);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_4 = __this->___m_frameCounter_transform_11;
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 * L_5;
L_5 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(__this, NULL);
Transform_SetParent_m9BDD7B7476714B2D7919B10BDC22CE75C0A0A195(L_4, L_5, (bool)0, NULL);
// m_TextMeshPro = frameCounter.AddComponent<TextMeshProUGUI>();
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F * L_6 = V_0;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_7;
L_7 = GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB(L_6, GameObject_AddComponent_TisTextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957_m15E50057DA76710B136ADF4E7CA55A463D9DA3EB_RuntimeMethod_var);
__this->___m_TextMeshPro_10 = L_7;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextMeshPro_10), (void*)L_7);
// m_TextMeshPro.font = Resources.Load<TMP_FontAsset>("Fonts & Materials/LiberationSans SDF");
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_8 = __this->___m_TextMeshPro_10;
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * L_9;
L_9 = Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13(_stringLiteralAB3448E21FA53C63C06270903A13B17D02935BE0, Resources_Load_TisTMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160_m4C7F47B73C641ED180784E089759867A85127C13_RuntimeMethod_var);
TMP_Text_set_font_mC55E4A8C1C09595031384B35F2C2FB2FC3479E83(L_8, L_9, NULL);
// m_TextMeshPro.fontSharedMaterial = Resources.Load<Material>("Fonts & Materials/LiberationSans SDF - Overlay");
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_10 = __this->___m_TextMeshPro_10;
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * L_11;
L_11 = Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128(_stringLiteral9ECD13393A1BC799BB4763A4E4CD5B53E220C53A, Resources_Load_TisMaterial_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_m28782CC70624922DAF3B0FB13930E4EB59848128_RuntimeMethod_var);
VirtualActionInvoker1< Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 * >::Invoke(68 /* System.Void TMPro.TMP_Text::set_fontSharedMaterial(UnityEngine.Material) */, L_10, L_11);
// m_TextMeshPro.enableWordWrapping = false;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_12 = __this->___m_TextMeshPro_10;
TMP_Text_set_enableWordWrapping_mFAEE849315B4723F9C86C127B1A59EF50BE1C12F(L_12, (bool)0, NULL);
// m_TextMeshPro.fontSize = 36;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_13 = __this->___m_TextMeshPro_10;
TMP_Text_set_fontSize_m1C3A3BA2BC88E5E1D89375FD35A0AA91E75D3AAD(L_13, (36.0f), NULL);
// m_TextMeshPro.isOverlay = true;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_14 = __this->___m_TextMeshPro_10;
TMP_Text_set_isOverlay_m0DA2AC113AE402CA25097641AD38D0822C6D5561(L_14, (bool)1, NULL);
// Set_FrameCounter_Position(AnchorPosition);
int32_t L_15 = __this->___AnchorPosition_7;
TMP_UiFrameRateCounter_Set_FrameCounter_Position_mAF25D6E90A6CB17EE041885B32579A2AEDBFCC36(__this, L_15, NULL);
// last_AnchorPosition = AnchorPosition;
int32_t L_16 = __this->___AnchorPosition_7;
__this->___last_AnchorPosition_12 = L_16;
// }
return;
}
}
// System.Void TMPro.Examples.TMP_UiFrameRateCounter::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_UiFrameRateCounter_Start_m11EF02C330E5D834C41F009CF088A3150352567F (TMP_UiFrameRateCounter_t3CB67462256A3570DFD0BD10261E7CABB11AFC0E * __this, const RuntimeMethod* method)
{
{
// m_LastInterval = Time.realtimeSinceStartup;
float L_0;
L_0 = Time_get_realtimeSinceStartup_mB49A5622E38FFE9589EB9B3E75573E443B8D63EC(NULL);
__this->___m_LastInterval_5 = L_0;
// m_Frames = 0;
__this->___m_Frames_6 = 0;
// }
return;
}
}
// System.Void TMPro.Examples.TMP_UiFrameRateCounter::Update()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_UiFrameRateCounter_Update_m568E467033B0FF7C67251895A0772CFA197789A3 (TMP_UiFrameRateCounter_t3CB67462256A3570DFD0BD10261E7CABB11AFC0E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7F85A2723BB62FEF95DD6F8C5F0FF606EA62246A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8ACAA4E0B28437F5FD1A41CE6591A16813F05377);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA87D266F5AAE1AF5998468D25833A8C6AD50D4FD);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD00074DE8ACBEBA7EF28BE447E997E8352E84502);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
float V_2 = 0.0f;
{
// if (AnchorPosition != last_AnchorPosition)
int32_t L_0 = __this->___AnchorPosition_7;
int32_t L_1 = __this->___last_AnchorPosition_12;
if ((((int32_t)L_0) == ((int32_t)L_1)))
{
goto IL_001a;
}
}
{
// Set_FrameCounter_Position(AnchorPosition);
int32_t L_2 = __this->___AnchorPosition_7;
TMP_UiFrameRateCounter_Set_FrameCounter_Position_mAF25D6E90A6CB17EE041885B32579A2AEDBFCC36(__this, L_2, NULL);
}
IL_001a:
{
// last_AnchorPosition = AnchorPosition;
int32_t L_3 = __this->___AnchorPosition_7;
__this->___last_AnchorPosition_12 = L_3;
// m_Frames += 1;
int32_t L_4 = __this->___m_Frames_6;
__this->___m_Frames_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1));
// float timeNow = Time.realtimeSinceStartup;
float L_5;
L_5 = Time_get_realtimeSinceStartup_mB49A5622E38FFE9589EB9B3E75573E443B8D63EC(NULL);
V_0 = L_5;
// if (timeNow > m_LastInterval + UpdateInterval)
float L_6 = V_0;
float L_7 = __this->___m_LastInterval_5;
float L_8 = __this->___UpdateInterval_4;
if ((!(((float)L_6) > ((float)((float)il2cpp_codegen_add((float)L_7, (float)L_8))))))
{
goto IL_00d0;
}
}
{
// float fps = m_Frames / (timeNow - m_LastInterval);
int32_t L_9 = __this->___m_Frames_6;
float L_10 = V_0;
float L_11 = __this->___m_LastInterval_5;
V_1 = ((float)((float)((float)((float)L_9))/(float)((float)il2cpp_codegen_subtract((float)L_10, (float)L_11))));
// float ms = 1000.0f / Mathf.Max(fps, 0.00001f);
float L_12 = V_1;
float L_13;
L_13 = Mathf_Max_mA9DCA91E87D6D27034F56ABA52606A9090406016_inline(L_12, (9.99999975E-06f), NULL);
V_2 = ((float)((float)(1000.0f)/(float)L_13));
// if (fps < 30)
float L_14 = V_1;
if ((!(((float)L_14) < ((float)(30.0f)))))
{
goto IL_0085;
}
}
{
// htmlColorTag = "<color=yellow>";
__this->___htmlColorTag_8 = _stringLiteralA87D266F5AAE1AF5998468D25833A8C6AD50D4FD;
Il2CppCodeGenWriteBarrier((void**)(&__this->___htmlColorTag_8), (void*)_stringLiteralA87D266F5AAE1AF5998468D25833A8C6AD50D4FD);
goto IL_00a5;
}
IL_0085:
{
// else if (fps < 10)
float L_15 = V_1;
if ((!(((float)L_15) < ((float)(10.0f)))))
{
goto IL_009a;
}
}
{
// htmlColorTag = "<color=red>";
__this->___htmlColorTag_8 = _stringLiteral8ACAA4E0B28437F5FD1A41CE6591A16813F05377;
Il2CppCodeGenWriteBarrier((void**)(&__this->___htmlColorTag_8), (void*)_stringLiteral8ACAA4E0B28437F5FD1A41CE6591A16813F05377);
goto IL_00a5;
}
IL_009a:
{
// htmlColorTag = "<color=green>";
__this->___htmlColorTag_8 = _stringLiteral7F85A2723BB62FEF95DD6F8C5F0FF606EA62246A;
Il2CppCodeGenWriteBarrier((void**)(&__this->___htmlColorTag_8), (void*)_stringLiteral7F85A2723BB62FEF95DD6F8C5F0FF606EA62246A);
}
IL_00a5:
{
// m_TextMeshPro.SetText(htmlColorTag + fpsLabel, fps, ms);
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_16 = __this->___m_TextMeshPro_10;
String_t* L_17 = __this->___htmlColorTag_8;
String_t* L_18;
L_18 = String_Concat_mAF2CE02CC0CB7460753D0A1A91CCF2B1E9804C5D(L_17, _stringLiteralD00074DE8ACBEBA7EF28BE447E997E8352E84502, NULL);
float L_19 = V_1;
float L_20 = V_2;
TMP_Text_SetText_m033947AEEEBDA12707E4B0535B4CCD7EB28B5F31(L_16, L_18, L_19, L_20, NULL);
// m_Frames = 0;
__this->___m_Frames_6 = 0;
// m_LastInterval = timeNow;
float L_21 = V_0;
__this->___m_LastInterval_5 = L_21;
}
IL_00d0:
{
// }
return;
}
}
// System.Void TMPro.Examples.TMP_UiFrameRateCounter::Set_FrameCounter_Position(TMPro.Examples.TMP_UiFrameRateCounter/FpsCounterAnchorPositions)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_UiFrameRateCounter_Set_FrameCounter_Position_mAF25D6E90A6CB17EE041885B32579A2AEDBFCC36 (TMP_UiFrameRateCounter_t3CB67462256A3570DFD0BD10261E7CABB11AFC0E * __this, int32_t ___anchor_position0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___anchor_position0;
switch (L_0)
{
case 0:
{
goto IL_0017;
}
case 1:
{
goto IL_0090;
}
case 2:
{
goto IL_0109;
}
case 3:
{
goto IL_0182;
}
}
}
{
return;
}
IL_0017:
{
// m_TextMeshPro.alignment = TextAlignmentOptions.TopLeft;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_1 = __this->___m_TextMeshPro_10;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_1, ((int32_t)257), NULL);
// m_frameCounter_transform.pivot = new Vector2(0, 1);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_2 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
memset((&L_3), 0, sizeof(L_3));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_3), (0.0f), (1.0f), /*hidden argument*/NULL);
RectTransform_set_pivot_m79D0177D383D432A93C2615F1932B739B1C6E146(L_2, L_3, NULL);
// m_frameCounter_transform.anchorMin = new Vector2(0.01f, 0.99f);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_4 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5;
memset((&L_5), 0, sizeof(L_5));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_5), (0.00999999978f), (0.99000001f), /*hidden argument*/NULL);
RectTransform_set_anchorMin_m931442ABE3368D6D4309F43DF1D64AB64B0F52E3(L_4, L_5, NULL);
// m_frameCounter_transform.anchorMax = new Vector2(0.01f, 0.99f);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_6 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7;
memset((&L_7), 0, sizeof(L_7));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_7), (0.00999999978f), (0.99000001f), /*hidden argument*/NULL);
RectTransform_set_anchorMax_m52829ABEDD229ABD3DA20BCA676FA1DCA4A39B7D(L_6, L_7, NULL);
// m_frameCounter_transform.anchoredPosition = new Vector2(0, 1);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_8 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_9), (0.0f), (1.0f), /*hidden argument*/NULL);
RectTransform_set_anchoredPosition_mF903ACE04F6959B1CD67E2B94FABC0263068F965(L_8, L_9, NULL);
// break;
return;
}
IL_0090:
{
// m_TextMeshPro.alignment = TextAlignmentOptions.BottomLeft;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_10 = __this->___m_TextMeshPro_10;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_10, ((int32_t)1025), NULL);
// m_frameCounter_transform.pivot = new Vector2(0, 0);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_11 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12;
memset((&L_12), 0, sizeof(L_12));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_12), (0.0f), (0.0f), /*hidden argument*/NULL);
RectTransform_set_pivot_m79D0177D383D432A93C2615F1932B739B1C6E146(L_11, L_12, NULL);
// m_frameCounter_transform.anchorMin = new Vector2(0.01f, 0.01f);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_13 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_14;
memset((&L_14), 0, sizeof(L_14));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_14), (0.00999999978f), (0.00999999978f), /*hidden argument*/NULL);
RectTransform_set_anchorMin_m931442ABE3368D6D4309F43DF1D64AB64B0F52E3(L_13, L_14, NULL);
// m_frameCounter_transform.anchorMax = new Vector2(0.01f, 0.01f);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_15 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_16;
memset((&L_16), 0, sizeof(L_16));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_16), (0.00999999978f), (0.00999999978f), /*hidden argument*/NULL);
RectTransform_set_anchorMax_m52829ABEDD229ABD3DA20BCA676FA1DCA4A39B7D(L_15, L_16, NULL);
// m_frameCounter_transform.anchoredPosition = new Vector2(0, 0);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_17 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_18;
memset((&L_18), 0, sizeof(L_18));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_18), (0.0f), (0.0f), /*hidden argument*/NULL);
RectTransform_set_anchoredPosition_mF903ACE04F6959B1CD67E2B94FABC0263068F965(L_17, L_18, NULL);
// break;
return;
}
IL_0109:
{
// m_TextMeshPro.alignment = TextAlignmentOptions.TopRight;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_19 = __this->___m_TextMeshPro_10;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_19, ((int32_t)260), NULL);
// m_frameCounter_transform.pivot = new Vector2(1, 1);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_20 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_21;
memset((&L_21), 0, sizeof(L_21));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_21), (1.0f), (1.0f), /*hidden argument*/NULL);
RectTransform_set_pivot_m79D0177D383D432A93C2615F1932B739B1C6E146(L_20, L_21, NULL);
// m_frameCounter_transform.anchorMin = new Vector2(0.99f, 0.99f);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_22 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_23;
memset((&L_23), 0, sizeof(L_23));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_23), (0.99000001f), (0.99000001f), /*hidden argument*/NULL);
RectTransform_set_anchorMin_m931442ABE3368D6D4309F43DF1D64AB64B0F52E3(L_22, L_23, NULL);
// m_frameCounter_transform.anchorMax = new Vector2(0.99f, 0.99f);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_24 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_25;
memset((&L_25), 0, sizeof(L_25));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_25), (0.99000001f), (0.99000001f), /*hidden argument*/NULL);
RectTransform_set_anchorMax_m52829ABEDD229ABD3DA20BCA676FA1DCA4A39B7D(L_24, L_25, NULL);
// m_frameCounter_transform.anchoredPosition = new Vector2(1, 1);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_26 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_27;
memset((&L_27), 0, sizeof(L_27));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_27), (1.0f), (1.0f), /*hidden argument*/NULL);
RectTransform_set_anchoredPosition_mF903ACE04F6959B1CD67E2B94FABC0263068F965(L_26, L_27, NULL);
// break;
return;
}
IL_0182:
{
// m_TextMeshPro.alignment = TextAlignmentOptions.BottomRight;
TextMeshProUGUI_t101091AF4B578BB534C92E9D1EEAF0611636D957 * L_28 = __this->___m_TextMeshPro_10;
TMP_Text_set_alignment_mE5216A28797987CC19927ED3CB8DFAC438C6B95A(L_28, ((int32_t)1028), NULL);
// m_frameCounter_transform.pivot = new Vector2(1, 0);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_29 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_30;
memset((&L_30), 0, sizeof(L_30));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_30), (1.0f), (0.0f), /*hidden argument*/NULL);
RectTransform_set_pivot_m79D0177D383D432A93C2615F1932B739B1C6E146(L_29, L_30, NULL);
// m_frameCounter_transform.anchorMin = new Vector2(0.99f, 0.01f);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_31 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_32;
memset((&L_32), 0, sizeof(L_32));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_32), (0.99000001f), (0.00999999978f), /*hidden argument*/NULL);
RectTransform_set_anchorMin_m931442ABE3368D6D4309F43DF1D64AB64B0F52E3(L_31, L_32, NULL);
// m_frameCounter_transform.anchorMax = new Vector2(0.99f, 0.01f);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_33 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_34;
memset((&L_34), 0, sizeof(L_34));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_34), (0.99000001f), (0.00999999978f), /*hidden argument*/NULL);
RectTransform_set_anchorMax_m52829ABEDD229ABD3DA20BCA676FA1DCA4A39B7D(L_33, L_34, NULL);
// m_frameCounter_transform.anchoredPosition = new Vector2(1, 0);
RectTransform_t6C5DA5E41A89E0F488B001E45E58963480E543A5 * L_35 = __this->___m_frameCounter_transform_11;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_36;
memset((&L_36), 0, sizeof(L_36));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_36), (1.0f), (0.0f), /*hidden argument*/NULL);
RectTransform_set_anchoredPosition_mF903ACE04F6959B1CD67E2B94FABC0263068F965(L_35, L_36, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.TMP_UiFrameRateCounter::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_UiFrameRateCounter__ctor_mBF5305427799EBC515580C2747FE604A6DFEC848 (TMP_UiFrameRateCounter_t3CB67462256A3570DFD0BD10261E7CABB11AFC0E * __this, const RuntimeMethod* method)
{
{
// public float UpdateInterval = 5.0f;
__this->___UpdateInterval_4 = (5.0f);
// public FpsCounterAnchorPositions AnchorPosition = FpsCounterAnchorPositions.TopRight;
__this->___AnchorPosition_7 = 2;
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.VertexColorCycler::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexColorCycler_Awake_m8895A9C06DB3EC4379334601DC726F1AFAF543C1 (VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// m_TextComponent = GetComponent<TMP_Text>();
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_0;
L_0 = Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5(__this, Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var);
__this->___m_TextComponent_4 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextComponent_4), (void*)L_0);
// }
return;
}
}
// System.Void TMPro.Examples.VertexColorCycler::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexColorCycler_Start_m36846DA72BFC7FDFA944A368C9DB62D17A15917B (VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D * __this, const RuntimeMethod* method)
{
{
// StartCoroutine(AnimateVertexColors());
RuntimeObject* L_0;
L_0 = VertexColorCycler_AnimateVertexColors_m16733B3DFF4C0F625AA66B5DF9D3B04D723E49CC(__this, NULL);
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * L_1;
L_1 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_0, NULL);
// }
return;
}
}
// System.Collections.IEnumerator TMPro.Examples.VertexColorCycler::AnimateVertexColors()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* VertexColorCycler_AnimateVertexColors_m16733B3DFF4C0F625AA66B5DF9D3B04D723E49CC (VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264 * L_0 = (U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264 *)il2cpp_codegen_object_new(U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264_il2cpp_TypeInfo_var);
U3CAnimateVertexColorsU3Ed__3__ctor_m0245999D5FAAF8855583609DB16CAF48E9450262(L_0, 0, /*hidden argument*/NULL);
U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264 * L_1 = L_0;
L_1->___U3CU3E4__this_2 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
return L_1;
}
}
// System.Void TMPro.Examples.VertexColorCycler::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexColorCycler__ctor_m673CA077DC5E935BABCEA79E5E70116E9934F4C1 (VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D * __this, const RuntimeMethod* method)
{
{
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__3__ctor_m0245999D5FAAF8855583609DB16CAF48E9450262 (U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__3_System_IDisposable_Dispose_mF965F484C619EFA1359F7DB6495C1C79A89001BF (U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CAnimateVertexColorsU3Ed__3_MoveNext_m5C44B8CC0AB09A205BB1649931D2AC7C6F016E60 (U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D * V_1 = NULL;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* V_2 = NULL;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_3;
memset((&V_3), 0, sizeof(V_3));
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t V_6 = 0;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0022;
}
case 1:
{
goto IL_0089;
}
case 2:
{
goto IL_0192;
}
}
}
{
return (bool)0;
}
IL_0022:
{
__this->___U3CU3E1__state_0 = (-1);
// m_TextComponent.ForceMeshUpdate();
VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D * L_3 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_4 = L_3->___m_TextComponent_4;
VirtualActionInvoker2< bool, bool >::Invoke(106 /* System.Void TMPro.TMP_Text::ForceMeshUpdate(System.Boolean,System.Boolean) */, L_4, (bool)0, (bool)0);
// TMP_TextInfo textInfo = m_TextComponent.textInfo;
VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D * L_5 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_6 = L_5->___m_TextComponent_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_7;
L_7 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_6, NULL);
__this->___U3CtextInfoU3E5__2_3 = L_7;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CtextInfoU3E5__2_3), (void*)L_7);
// int currentCharacter = 0;
__this->___U3CcurrentCharacterU3E5__3_4 = 0;
// Color32 c0 = m_TextComponent.color;
VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D * L_8 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_9 = L_8->___m_TextComponent_4;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_10;
L_10 = VirtualFuncInvoker0< Color_tD001788D726C3A7F1379BEED0260B9591F440C1F >::Invoke(22 /* UnityEngine.Color UnityEngine.UI.Graphic::get_color() */, L_9);
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_11;
L_11 = Color32_op_Implicit_m7EFA0B83AD1AE15567E9BC2FA2B8E66D3BFE1395_inline(L_10, NULL);
V_3 = L_11;
}
IL_005f:
{
// int characterCount = textInfo.characterCount;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_12 = __this->___U3CtextInfoU3E5__2_3;
int32_t L_13 = L_12->___characterCount_3;
V_4 = L_13;
// if (characterCount == 0)
int32_t L_14 = V_4;
if (L_14)
{
goto IL_0092;
}
}
{
// yield return new WaitForSeconds(0.25f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_15 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_15, (0.25f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_15;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_15);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_0089:
{
__this->___U3CU3E1__state_0 = (-1);
// continue;
goto IL_005f;
}
IL_0092:
{
// int materialIndex = textInfo.characterInfo[currentCharacter].materialReferenceIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_16 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_17 = L_16->___characterInfo_11;
int32_t L_18 = __this->___U3CcurrentCharacterU3E5__3_4;
int32_t L_19 = ((L_17)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_18)))->___materialReferenceIndex_9;
V_5 = L_19;
// newVertexColors = textInfo.meshInfo[materialIndex].colors32;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_20 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_21 = L_20->___meshInfo_16;
int32_t L_22 = V_5;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_23 = ((L_21)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_22)))->___colors32_11;
V_2 = L_23;
// int vertexIndex = textInfo.characterInfo[currentCharacter].vertexIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_24 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_25 = L_24->___characterInfo_11;
int32_t L_26 = __this->___U3CcurrentCharacterU3E5__3_4;
int32_t L_27 = ((L_25)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_26)))->___vertexIndex_14;
V_6 = L_27;
// if (textInfo.characterInfo[currentCharacter].isVisible)
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_28 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_29 = L_28->___characterInfo_11;
int32_t L_30 = __this->___U3CcurrentCharacterU3E5__3_4;
bool L_31 = ((L_29)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_30)))->___isVisible_40;
if (!L_31)
{
goto IL_0168;
}
}
{
// c0 = new Color32((byte)Random.Range(0, 255), (byte)Random.Range(0, 255), (byte)Random.Range(0, 255), 255);
int32_t L_32;
L_32 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
int32_t L_33;
L_33 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
int32_t L_34;
L_34 = Random_Range_mD4D2DEE3D2E75D07740C9A6F93B3088B03BBB8F8(0, ((int32_t)255), NULL);
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&V_3), (uint8_t)((int32_t)((uint8_t)L_32)), (uint8_t)((int32_t)((uint8_t)L_33)), (uint8_t)((int32_t)((uint8_t)L_34)), (uint8_t)((int32_t)255), NULL);
// newVertexColors[vertexIndex + 0] = c0;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_35 = V_2;
int32_t L_36 = V_6;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_37 = V_3;
(L_35)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_36), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_37);
// newVertexColors[vertexIndex + 1] = c0;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_38 = V_2;
int32_t L_39 = V_6;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_40 = V_3;
(L_38)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_39, (int32_t)1))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_40);
// newVertexColors[vertexIndex + 2] = c0;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_41 = V_2;
int32_t L_42 = V_6;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_43 = V_3;
(L_41)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_42, (int32_t)2))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_43);
// newVertexColors[vertexIndex + 3] = c0;
Color32U5BU5D_t38116C3E91765C4C5726CE12C77FAD7F9F737259* L_44 = V_2;
int32_t L_45 = V_6;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_46 = V_3;
(L_44)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_45, (int32_t)3))), (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B )L_46);
// m_TextComponent.UpdateVertexData(TMP_VertexDataUpdateFlags.Colors32);
VertexColorCycler_t527535DC3F38CBB70E8A4B35907DA8EC4FC62C8D * L_47 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_48 = L_47->___m_TextComponent_4;
VirtualActionInvoker1< int32_t >::Invoke(108 /* System.Void TMPro.TMP_Text::UpdateVertexData(TMPro.TMP_VertexDataUpdateFlags) */, L_48, ((int32_t)16));
}
IL_0168:
{
// currentCharacter = (currentCharacter + 1) % characterCount;
int32_t L_49 = __this->___U3CcurrentCharacterU3E5__3_4;
int32_t L_50 = V_4;
__this->___U3CcurrentCharacterU3E5__3_4 = ((int32_t)((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_49, (int32_t)1))%(int32_t)L_50));
// yield return new WaitForSeconds(0.05f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_51 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_51, (0.0500000007f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_51;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_51);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_0192:
{
__this->___U3CU3E1__state_0 = (-1);
// while (true)
goto IL_005f;
}
}
// System.Object TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CAnimateVertexColorsU3Ed__3_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_mF9600944C968C16121129C479F8B25D8E8B7FDD1 (U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__3_System_Collections_IEnumerator_Reset_m319AC50F2DE1572FB7D7AF4F5F65958D01477899 (U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264 * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CAnimateVertexColorsU3Ed__3_System_Collections_IEnumerator_Reset_m319AC50F2DE1572FB7D7AF4F5F65958D01477899_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.VertexColorCycler/<AnimateVertexColors>d__3::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CAnimateVertexColorsU3Ed__3_System_Collections_IEnumerator_get_Current_mC19EC9CE0C245B49D987C18357571FF3462F1D2C (U3CAnimateVertexColorsU3Ed__3_t88CF335125784EBBA1DA65AF7B815F1814D31264 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.VertexJitter::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexJitter_Awake_m0DF2AC9C728A15EEB427F1FE2426E3C31FBA544C (VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// m_TextComponent = GetComponent<TMP_Text>();
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_0;
L_0 = Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5(__this, Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var);
__this->___m_TextComponent_7 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextComponent_7), (void*)L_0);
// }
return;
}
}
// System.Void TMPro.Examples.VertexJitter::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexJitter_OnEnable_mCD5C1FDDBA809B04AC6F6CB00562D0AA45BC4354 (VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VertexJitter_ON_TEXT_CHANGED_m0CF9C49A1033B4475C04A417440F39490FED64A8_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// TMPro_EventManager.TEXT_CHANGED_EVENT.Add(ON_TEXT_CHANGED);
il2cpp_codegen_runtime_class_init_inline(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * L_0 = ((TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_StaticFields*)il2cpp_codegen_static_fields_for(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var))->___TEXT_CHANGED_EVENT_11;
Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * L_1 = (Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *)il2cpp_codegen_object_new(Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
Action_1__ctor_m95478636F075134CA2998E22B214611472600983(L_1, __this, ((intptr_t)VertexJitter_ON_TEXT_CHANGED_m0CF9C49A1033B4475C04A417440F39490FED64A8_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6(L_0, L_1, FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6_RuntimeMethod_var);
// }
return;
}
}
// System.Void TMPro.Examples.VertexJitter::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexJitter_OnDisable_mB670406B3982BFC44CB6BB05A73F1BE877FDFAF2 (VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VertexJitter_ON_TEXT_CHANGED_m0CF9C49A1033B4475C04A417440F39490FED64A8_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// TMPro_EventManager.TEXT_CHANGED_EVENT.Remove(ON_TEXT_CHANGED);
il2cpp_codegen_runtime_class_init_inline(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * L_0 = ((TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_StaticFields*)il2cpp_codegen_static_fields_for(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var))->___TEXT_CHANGED_EVENT_11;
Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * L_1 = (Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *)il2cpp_codegen_object_new(Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
Action_1__ctor_m95478636F075134CA2998E22B214611472600983(L_1, __this, ((intptr_t)VertexJitter_ON_TEXT_CHANGED_m0CF9C49A1033B4475C04A417440F39490FED64A8_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F(L_0, L_1, FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F_RuntimeMethod_var);
// }
return;
}
}
// System.Void TMPro.Examples.VertexJitter::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexJitter_Start_mDE6155803CF2B1E6CE0EBAE8DF7DB93601E1DD76 (VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * __this, const RuntimeMethod* method)
{
{
// StartCoroutine(AnimateVertexColors());
RuntimeObject* L_0;
L_0 = VertexJitter_AnimateVertexColors_m2A69F06CF58FA46B689BD4166DEF5AD15FA2FA88(__this, NULL);
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * L_1;
L_1 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_0, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.VertexJitter::ON_TEXT_CHANGED(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexJitter_ON_TEXT_CHANGED_m0CF9C49A1033B4475C04A417440F39490FED64A8 (VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * __this, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// if (obj == m_TextComponent)
Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * L_0 = ___obj0;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_1 = __this->___m_TextComponent_7;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Object_op_Equality_mD3DB0D72CE0250C84033DC2A90AEF9D59896E536(L_0, L_1, NULL);
if (!L_2)
{
goto IL_0015;
}
}
{
// hasTextChanged = true;
__this->___hasTextChanged_8 = (bool)1;
}
IL_0015:
{
// }
return;
}
}
// System.Collections.IEnumerator TMPro.Examples.VertexJitter::AnimateVertexColors()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* VertexJitter_AnimateVertexColors_m2A69F06CF58FA46B689BD4166DEF5AD15FA2FA88 (VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956 * L_0 = (U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956 *)il2cpp_codegen_object_new(U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956_il2cpp_TypeInfo_var);
U3CAnimateVertexColorsU3Ed__11__ctor_m10C4D98A634474BAA883419ED308835B7D91C01A(L_0, 0, /*hidden argument*/NULL);
U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956 * L_1 = L_0;
L_1->___U3CU3E4__this_2 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
return L_1;
}
}
// System.Void TMPro.Examples.VertexJitter::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexJitter__ctor_m41E4682405B3C0B19779BA8CB77156D65D64716D (VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * __this, const RuntimeMethod* method)
{
{
// public float AngleMultiplier = 1.0f;
__this->___AngleMultiplier_4 = (1.0f);
// public float SpeedMultiplier = 1.0f;
__this->___SpeedMultiplier_5 = (1.0f);
// public float CurveScale = 1.0f;
__this->___CurveScale_6 = (1.0f);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__11__ctor_m10C4D98A634474BAA883419ED308835B7D91C01A (U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956 * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__11_System_IDisposable_Dispose_mB3756FBFDD731F3CC1EFF9AB132FF5075C8411F8 (U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956 * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CAnimateVertexColorsU3Ed__11_MoveNext_mD694A3145B54B9C5EB351853752B9292DBFF0273 (U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * V_1 = NULL;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_2;
memset((&V_2), 0, sizeof(V_2));
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 V_6;
memset((&V_6), 0, sizeof(V_6));
int32_t V_7 = 0;
int32_t V_8 = 0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_9 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_10;
memset((&V_10), 0, sizeof(V_10));
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_11 = NULL;
int32_t V_12 = 0;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0022;
}
case 1:
{
goto IL_0110;
}
case 2:
{
goto IL_0481;
}
}
}
{
return (bool)0;
}
IL_0022:
{
__this->___U3CU3E1__state_0 = (-1);
// m_TextComponent.ForceMeshUpdate();
VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * L_3 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_4 = L_3->___m_TextComponent_7;
VirtualActionInvoker2< bool, bool >::Invoke(106 /* System.Void TMPro.TMP_Text::ForceMeshUpdate(System.Boolean,System.Boolean) */, L_4, (bool)0, (bool)0);
// TMP_TextInfo textInfo = m_TextComponent.textInfo;
VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * L_5 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_6 = L_5->___m_TextComponent_7;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_7;
L_7 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_6, NULL);
__this->___U3CtextInfoU3E5__2_3 = L_7;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CtextInfoU3E5__2_3), (void*)L_7);
// int loopCount = 0;
__this->___U3CloopCountU3E5__3_4 = 0;
// hasTextChanged = true;
VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * L_8 = V_1;
L_8->___hasTextChanged_8 = (bool)1;
// VertexAnim[] vertexAnim = new VertexAnim[1024];
VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38* L_9 = (VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38*)(VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38*)SZArrayNew(VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38_il2cpp_TypeInfo_var, (uint32_t)((int32_t)1024));
__this->___U3CvertexAnimU3E5__4_5 = L_9;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CvertexAnimU3E5__4_5), (void*)L_9);
// for (int i = 0; i < 1024; i++)
V_3 = 0;
goto IL_00ad;
}
IL_0069:
{
// vertexAnim[i].angleRange = Random.Range(10f, 25f);
VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38* L_10 = __this->___U3CvertexAnimU3E5__4_5;
int32_t L_11 = V_3;
float L_12;
L_12 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((10.0f), (25.0f), NULL);
((L_10)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_11)))->___angleRange_0 = L_12;
// vertexAnim[i].speed = Random.Range(1f, 3f);
VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38* L_13 = __this->___U3CvertexAnimU3E5__4_5;
int32_t L_14 = V_3;
float L_15;
L_15 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((1.0f), (3.0f), NULL);
((L_13)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_14)))->___speed_2 = L_15;
// for (int i = 0; i < 1024; i++)
int32_t L_16 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_16, (int32_t)1));
}
IL_00ad:
{
// for (int i = 0; i < 1024; i++)
int32_t L_17 = V_3;
if ((((int32_t)L_17) < ((int32_t)((int32_t)1024))))
{
goto IL_0069;
}
}
{
// TMP_MeshInfo[] cachedMeshInfo = textInfo.CopyMeshInfoVertexData();
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_18 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_19;
L_19 = TMP_TextInfo_CopyMeshInfoVertexData_mF66E2F8821470E68D95FEB53D456CFA86241C0CA(L_18, NULL);
__this->___U3CcachedMeshInfoU3E5__5_6 = L_19;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CcachedMeshInfoU3E5__5_6), (void*)L_19);
}
IL_00c6:
{
// if (hasTextChanged)
VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * L_20 = V_1;
bool L_21 = L_20->___hasTextChanged_8;
if (!L_21)
{
goto IL_00e6;
}
}
{
// cachedMeshInfo = textInfo.CopyMeshInfoVertexData();
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_22 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_23;
L_23 = TMP_TextInfo_CopyMeshInfoVertexData_mF66E2F8821470E68D95FEB53D456CFA86241C0CA(L_22, NULL);
__this->___U3CcachedMeshInfoU3E5__5_6 = L_23;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CcachedMeshInfoU3E5__5_6), (void*)L_23);
// hasTextChanged = false;
VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * L_24 = V_1;
L_24->___hasTextChanged_8 = (bool)0;
}
IL_00e6:
{
// int characterCount = textInfo.characterCount;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_25 = __this->___U3CtextInfoU3E5__2_3;
int32_t L_26 = L_25->___characterCount_3;
V_4 = L_26;
// if (characterCount == 0)
int32_t L_27 = V_4;
if (L_27)
{
goto IL_0119;
}
}
{
// yield return new WaitForSeconds(0.25f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_28 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_28, (0.25f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_28;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_28);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_0110:
{
__this->___U3CU3E1__state_0 = (-1);
// continue;
goto IL_00c6;
}
IL_0119:
{
// for (int i = 0; i < characterCount; i++)
V_5 = 0;
goto IL_03de;
}
IL_0121:
{
// TMP_CharacterInfo charInfo = textInfo.characterInfo[i];
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_29 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_30 = L_29->___characterInfo_11;
int32_t L_31 = V_5;
int32_t L_32 = L_31;
TMP_CharacterInfo_t8B8FF32D6AACE251F2E7835AA5BC6608D535D9F8 L_33 = (L_30)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_32));
// if (!charInfo.isVisible)
bool L_34 = L_33.___isVisible_40;
if (!L_34)
{
goto IL_03d8;
}
}
{
// VertexAnim vertAnim = vertexAnim[i];
VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38* L_35 = __this->___U3CvertexAnimU3E5__4_5;
int32_t L_36 = V_5;
int32_t L_37 = L_36;
VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 L_38 = (L_35)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_37));
V_6 = L_38;
// int materialIndex = textInfo.characterInfo[i].materialReferenceIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_39 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_40 = L_39->___characterInfo_11;
int32_t L_41 = V_5;
int32_t L_42 = ((L_40)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_41)))->___materialReferenceIndex_9;
V_7 = L_42;
// int vertexIndex = textInfo.characterInfo[i].vertexIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_43 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_44 = L_43->___characterInfo_11;
int32_t L_45 = V_5;
int32_t L_46 = ((L_44)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_45)))->___vertexIndex_14;
V_8 = L_46;
// Vector3[] sourceVertices = cachedMeshInfo[materialIndex].vertices;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_47 = __this->___U3CcachedMeshInfoU3E5__5_6;
int32_t L_48 = V_7;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_49 = ((L_47)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_48)))->___vertices_6;
V_9 = L_49;
// Vector2 charMidBasline = (sourceVertices[vertexIndex + 0] + sourceVertices[vertexIndex + 2]) / 2;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_50 = V_9;
int32_t L_51 = V_8;
int32_t L_52 = L_51;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53 = (L_50)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_52));
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_54 = V_9;
int32_t L_55 = V_8;
int32_t L_56 = ((int32_t)il2cpp_codegen_add((int32_t)L_55, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = (L_54)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_56));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
L_58 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_53, L_57, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59;
L_59 = Vector3_op_Division_mD7200D6D432BAFC4135C5B17A0B0A812203B0270_inline(L_58, (2.0f), NULL);
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_60;
L_60 = Vector2_op_Implicit_m8F73B300CB4E6F9B4EB5FB6130363D76CEAA230B_inline(L_59, NULL);
// Vector3 offset = charMidBasline;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
L_61 = Vector2_op_Implicit_mCD214B04BC52AED3C89C3BEF664B6247E5F8954A_inline(L_60, NULL);
V_10 = L_61;
// Vector3[] destinationVertices = textInfo.meshInfo[materialIndex].vertices;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_62 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_63 = L_62->___meshInfo_16;
int32_t L_64 = V_7;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_65 = ((L_63)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_64)))->___vertices_6;
V_11 = L_65;
// destinationVertices[vertexIndex + 0] = sourceVertices[vertexIndex + 0] - offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_66 = V_11;
int32_t L_67 = V_8;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_68 = V_9;
int32_t L_69 = V_8;
int32_t L_70 = L_69;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71 = (L_68)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_70));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73;
L_73 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_71, L_72, NULL);
(L_66)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_67), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_73);
// destinationVertices[vertexIndex + 1] = sourceVertices[vertexIndex + 1] - offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_74 = V_11;
int32_t L_75 = V_8;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_76 = V_9;
int32_t L_77 = V_8;
int32_t L_78 = ((int32_t)il2cpp_codegen_add((int32_t)L_77, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79 = (L_76)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_78));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
L_81 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_79, L_80, NULL);
(L_74)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_75, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_81);
// destinationVertices[vertexIndex + 2] = sourceVertices[vertexIndex + 2] - offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_82 = V_11;
int32_t L_83 = V_8;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_84 = V_9;
int32_t L_85 = V_8;
int32_t L_86 = ((int32_t)il2cpp_codegen_add((int32_t)L_85, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87 = (L_84)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_86));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89;
L_89 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_87, L_88, NULL);
(L_82)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_83, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_89);
// destinationVertices[vertexIndex + 3] = sourceVertices[vertexIndex + 3] - offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_90 = V_11;
int32_t L_91 = V_8;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_92 = V_9;
int32_t L_93 = V_8;
int32_t L_94 = ((int32_t)il2cpp_codegen_add((int32_t)L_93, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95 = (L_92)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_94));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97;
L_97 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_95, L_96, NULL);
(L_90)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_91, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_97);
// vertAnim.angle = Mathf.SmoothStep(-vertAnim.angleRange, vertAnim.angleRange, Mathf.PingPong(loopCount / 25f * vertAnim.speed, 1f));
VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 L_98 = V_6;
float L_99 = L_98.___angleRange_0;
VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 L_100 = V_6;
float L_101 = L_100.___angleRange_0;
int32_t L_102 = __this->___U3CloopCountU3E5__3_4;
VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 L_103 = V_6;
float L_104 = L_103.___speed_2;
float L_105;
L_105 = Mathf_PingPong_m157C55BCFEA2BB96680B7B29D714C3F9390551C9_inline(((float)il2cpp_codegen_multiply((float)((float)((float)((float)((float)L_102))/(float)(25.0f))), (float)L_104)), (1.0f), NULL);
float L_106;
L_106 = Mathf_SmoothStep_mF724C7893D0F0C02FB14D573DDB7F92935451B81_inline(((-L_99)), L_101, L_105, NULL);
(&V_6)->___angle_1 = L_106;
// Vector3 jitterOffset = new Vector3(Random.Range(-.25f, .25f), Random.Range(-.25f, .25f), 0);
float L_107;
L_107 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-0.25f), (0.25f), NULL);
float L_108;
L_108 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-0.25f), (0.25f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_109;
memset((&L_109), 0, sizeof(L_109));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_109), L_107, L_108, (0.0f), /*hidden argument*/NULL);
// matrix = Matrix4x4.TRS(jitterOffset * CurveScale, Quaternion.Euler(0, 0, Random.Range(-5f, 5f) * AngleMultiplier), Vector3.one);
VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * L_110 = V_1;
float L_111 = L_110->___CurveScale_6;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_112;
L_112 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_109, L_111, NULL);
float L_113;
L_113 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-5.0f), (5.0f), NULL);
VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * L_114 = V_1;
float L_115 = L_114->___AngleMultiplier_4;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_116;
L_116 = Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline((0.0f), (0.0f), ((float)il2cpp_codegen_multiply((float)L_113, (float)L_115)), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117;
L_117 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_118;
L_118 = Matrix4x4_TRS_mFEBA6926DB0044B96EF0CE98F30FEE7596820680(L_112, L_116, L_117, NULL);
V_2 = L_118;
// destinationVertices[vertexIndex + 0] = matrix.MultiplyPoint3x4(destinationVertices[vertexIndex + 0]);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_119 = V_11;
int32_t L_120 = V_8;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_121 = V_11;
int32_t L_122 = V_8;
int32_t L_123 = L_122;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_124 = (L_121)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_123));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125;
L_125 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_124, NULL);
(L_119)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_120), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_125);
// destinationVertices[vertexIndex + 1] = matrix.MultiplyPoint3x4(destinationVertices[vertexIndex + 1]);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_126 = V_11;
int32_t L_127 = V_8;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_128 = V_11;
int32_t L_129 = V_8;
int32_t L_130 = ((int32_t)il2cpp_codegen_add((int32_t)L_129, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_131 = (L_128)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_130));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_132;
L_132 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_131, NULL);
(L_126)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_127, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_132);
// destinationVertices[vertexIndex + 2] = matrix.MultiplyPoint3x4(destinationVertices[vertexIndex + 2]);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_133 = V_11;
int32_t L_134 = V_8;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_135 = V_11;
int32_t L_136 = V_8;
int32_t L_137 = ((int32_t)il2cpp_codegen_add((int32_t)L_136, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_138 = (L_135)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_137));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_139;
L_139 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_138, NULL);
(L_133)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_134, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_139);
// destinationVertices[vertexIndex + 3] = matrix.MultiplyPoint3x4(destinationVertices[vertexIndex + 3]);
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_140 = V_11;
int32_t L_141 = V_8;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_142 = V_11;
int32_t L_143 = V_8;
int32_t L_144 = ((int32_t)il2cpp_codegen_add((int32_t)L_143, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_145 = (L_142)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_144));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_146;
L_146 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_145, NULL);
(L_140)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_141, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_146);
// destinationVertices[vertexIndex + 0] += offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_147 = V_11;
int32_t L_148 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_149 = ((L_147)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_148)));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_150 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_149);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_151 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_152;
L_152 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_150, L_151, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_149 = L_152;
// destinationVertices[vertexIndex + 1] += offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_153 = V_11;
int32_t L_154 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_155 = ((L_153)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_154, (int32_t)1)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_156 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_155);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_157 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_158;
L_158 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_156, L_157, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_155 = L_158;
// destinationVertices[vertexIndex + 2] += offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_159 = V_11;
int32_t L_160 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_161 = ((L_159)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_160, (int32_t)2)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_162 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_161);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_163 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_164;
L_164 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_162, L_163, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_161 = L_164;
// destinationVertices[vertexIndex + 3] += offset;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_165 = V_11;
int32_t L_166 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_167 = ((L_165)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_166, (int32_t)3)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_168 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_167);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_169 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_170;
L_170 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_168, L_169, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_167 = L_170;
// vertexAnim[i] = vertAnim;
VertexAnimU5BU5D_tC74236D4EB454A8EF2CE1E6145CE5F78E1D5CF38* L_171 = __this->___U3CvertexAnimU3E5__4_5;
int32_t L_172 = V_5;
VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 L_173 = V_6;
(L_171)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_172), (VertexAnim_tFF5399F548EE5426E46DEB662F561DDE129E20D7 )L_173);
}
IL_03d8:
{
// for (int i = 0; i < characterCount; i++)
int32_t L_174 = V_5;
V_5 = ((int32_t)il2cpp_codegen_add((int32_t)L_174, (int32_t)1));
}
IL_03de:
{
// for (int i = 0; i < characterCount; i++)
int32_t L_175 = V_5;
int32_t L_176 = V_4;
if ((((int32_t)L_175) < ((int32_t)L_176)))
{
goto IL_0121;
}
}
{
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
V_12 = 0;
goto IL_0449;
}
IL_03ec:
{
// textInfo.meshInfo[i].mesh.vertices = textInfo.meshInfo[i].vertices;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_177 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_178 = L_177->___meshInfo_16;
int32_t L_179 = V_12;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * L_180 = ((L_178)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_179)))->___mesh_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_181 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_182 = L_181->___meshInfo_16;
int32_t L_183 = V_12;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_184 = ((L_182)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_183)))->___vertices_6;
Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C(L_180, L_184, NULL);
// m_TextComponent.UpdateGeometry(textInfo.meshInfo[i].mesh, i);
VertexJitter_t5D8689E23D1DD2CCF81ACE6FFC9E34797E8AE4C7 * L_185 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_186 = L_185->___m_TextComponent_7;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_187 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_188 = L_187->___meshInfo_16;
int32_t L_189 = V_12;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * L_190 = ((L_188)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_189)))->___mesh_4;
int32_t L_191 = V_12;
VirtualActionInvoker2< Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 *, int32_t >::Invoke(107 /* System.Void TMPro.TMP_Text::UpdateGeometry(UnityEngine.Mesh,System.Int32) */, L_186, L_190, L_191);
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
int32_t L_192 = V_12;
V_12 = ((int32_t)il2cpp_codegen_add((int32_t)L_192, (int32_t)1));
}
IL_0449:
{
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
int32_t L_193 = V_12;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_194 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_195 = L_194->___meshInfo_16;
if ((((int32_t)L_193) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_195)->max_length))))))
{
goto IL_03ec;
}
}
{
// loopCount += 1;
int32_t L_196 = __this->___U3CloopCountU3E5__3_4;
__this->___U3CloopCountU3E5__3_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_196, (int32_t)1));
// yield return new WaitForSeconds(0.1f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_197 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_197, (0.100000001f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_197;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_197);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_0481:
{
__this->___U3CU3E1__state_0 = (-1);
// while (true)
goto IL_00c6;
}
}
// System.Object TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CAnimateVertexColorsU3Ed__11_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m79C3A529011A51B9A994106D3C1271548B02D405 (U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__11_System_Collections_IEnumerator_Reset_m15291DCCCEC264095634B26DD6F24D52360BDAF0 (U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956 * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CAnimateVertexColorsU3Ed__11_System_Collections_IEnumerator_Reset_m15291DCCCEC264095634B26DD6F24D52360BDAF0_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.VertexJitter/<AnimateVertexColors>d__11::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CAnimateVertexColorsU3Ed__11_System_Collections_IEnumerator_get_Current_m0B8F21A4589C68BA16A8340938BB44C980260CC9 (U3CAnimateVertexColorsU3Ed__11_t2EF4BA1F3569F2C4ECDD4AD4980AAC251CD1D956 * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.VertexShakeA::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexShakeA_Awake_m092957B0A67A153E7CD56A75A438087DE4806867 (VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// m_TextComponent = GetComponent<TMP_Text>();
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_0;
L_0 = Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5(__this, Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var);
__this->___m_TextComponent_8 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextComponent_8), (void*)L_0);
// }
return;
}
}
// System.Void TMPro.Examples.VertexShakeA::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexShakeA_OnEnable_m52E2A036C9EB2C1D633BA7F43E31C36983972304 (VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VertexShakeA_ON_TEXT_CHANGED_mE7A41CEFDB0008A1CD15F156EFEE1C895A92EE77_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// TMPro_EventManager.TEXT_CHANGED_EVENT.Add(ON_TEXT_CHANGED);
il2cpp_codegen_runtime_class_init_inline(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * L_0 = ((TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_StaticFields*)il2cpp_codegen_static_fields_for(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var))->___TEXT_CHANGED_EVENT_11;
Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * L_1 = (Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *)il2cpp_codegen_object_new(Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
Action_1__ctor_m95478636F075134CA2998E22B214611472600983(L_1, __this, ((intptr_t)VertexShakeA_ON_TEXT_CHANGED_mE7A41CEFDB0008A1CD15F156EFEE1C895A92EE77_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6(L_0, L_1, FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6_RuntimeMethod_var);
// }
return;
}
}
// System.Void TMPro.Examples.VertexShakeA::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexShakeA_OnDisable_m52F58AF9438377D222543AA67CFF7B30FCCB0F23 (VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VertexShakeA_ON_TEXT_CHANGED_mE7A41CEFDB0008A1CD15F156EFEE1C895A92EE77_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// TMPro_EventManager.TEXT_CHANGED_EVENT.Remove(ON_TEXT_CHANGED);
il2cpp_codegen_runtime_class_init_inline(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * L_0 = ((TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_StaticFields*)il2cpp_codegen_static_fields_for(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var))->___TEXT_CHANGED_EVENT_11;
Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * L_1 = (Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *)il2cpp_codegen_object_new(Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
Action_1__ctor_m95478636F075134CA2998E22B214611472600983(L_1, __this, ((intptr_t)VertexShakeA_ON_TEXT_CHANGED_mE7A41CEFDB0008A1CD15F156EFEE1C895A92EE77_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F(L_0, L_1, FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F_RuntimeMethod_var);
// }
return;
}
}
// System.Void TMPro.Examples.VertexShakeA::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexShakeA_Start_mDD8B5538BDFBC2BA242B997B879E7ED64ACAFC5E (VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * __this, const RuntimeMethod* method)
{
{
// StartCoroutine(AnimateVertexColors());
RuntimeObject* L_0;
L_0 = VertexShakeA_AnimateVertexColors_m5FD933D6BF976B64FC0B80614DE5112377D1DC38(__this, NULL);
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * L_1;
L_1 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_0, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.VertexShakeA::ON_TEXT_CHANGED(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexShakeA_ON_TEXT_CHANGED_mE7A41CEFDB0008A1CD15F156EFEE1C895A92EE77 (VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * __this, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// if (obj = m_TextComponent)
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_0 = __this->___m_TextComponent_8;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_1 = L_0;
___obj0 = L_1;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79(L_1, NULL);
if (!L_2)
{
goto IL_0017;
}
}
{
// hasTextChanged = true;
__this->___hasTextChanged_9 = (bool)1;
}
IL_0017:
{
// }
return;
}
}
// System.Collections.IEnumerator TMPro.Examples.VertexShakeA::AnimateVertexColors()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* VertexShakeA_AnimateVertexColors_m5FD933D6BF976B64FC0B80614DE5112377D1DC38 (VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E * L_0 = (U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E *)il2cpp_codegen_object_new(U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E_il2cpp_TypeInfo_var);
U3CAnimateVertexColorsU3Ed__11__ctor_m440985E6DF2F1B461E2964101EA242FFD472A25A(L_0, 0, /*hidden argument*/NULL);
U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E * L_1 = L_0;
L_1->___U3CU3E4__this_2 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
return L_1;
}
}
// System.Void TMPro.Examples.VertexShakeA::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexShakeA__ctor_m63ED483A292CA310B90144E0779C0472AAC22CBB (VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * __this, const RuntimeMethod* method)
{
{
// public float AngleMultiplier = 1.0f;
__this->___AngleMultiplier_4 = (1.0f);
// public float SpeedMultiplier = 1.0f;
__this->___SpeedMultiplier_5 = (1.0f);
// public float ScaleMultiplier = 1.0f;
__this->___ScaleMultiplier_6 = (1.0f);
// public float RotationMultiplier = 1.0f;
__this->___RotationMultiplier_7 = (1.0f);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__11__ctor_m440985E6DF2F1B461E2964101EA242FFD472A25A (U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__11_System_IDisposable_Dispose_m74112773E1FD645722BC221FA5256331C068EAE7 (U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CAnimateVertexColorsU3Ed__11_MoveNext_mA6858F6CA14AAE3DFB7EA13748E10E063BBAB934 (U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * V_1 = NULL;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_2;
memset((&V_2), 0, sizeof(V_2));
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t V_6 = 0;
int32_t V_7 = 0;
int32_t V_8 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
memset((&V_9), 0, sizeof(V_9));
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_10;
memset((&V_10), 0, sizeof(V_10));
int32_t V_11 = 0;
int32_t V_12 = 0;
int32_t V_13 = 0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_14 = NULL;
float V_15 = 0.0f;
int32_t V_16 = 0;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0022;
}
case 1:
{
goto IL_0105;
}
case 2:
{
goto IL_04ce;
}
}
}
{
return (bool)0;
}
IL_0022:
{
__this->___U3CU3E1__state_0 = (-1);
// m_TextComponent.ForceMeshUpdate();
VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * L_3 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_4 = L_3->___m_TextComponent_8;
VirtualActionInvoker2< bool, bool >::Invoke(106 /* System.Void TMPro.TMP_Text::ForceMeshUpdate(System.Boolean,System.Boolean) */, L_4, (bool)0, (bool)0);
// TMP_TextInfo textInfo = m_TextComponent.textInfo;
VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * L_5 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_6 = L_5->___m_TextComponent_8;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_7;
L_7 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_6, NULL);
__this->___U3CtextInfoU3E5__2_3 = L_7;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CtextInfoU3E5__2_3), (void*)L_7);
// Vector3[][] copyOfVertices = new Vector3[0][];
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_8 = (Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D*)(Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D*)SZArrayNew(Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D_il2cpp_TypeInfo_var, (uint32_t)0);
__this->___U3CcopyOfVerticesU3E5__3_4 = L_8;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CcopyOfVerticesU3E5__3_4), (void*)L_8);
// hasTextChanged = true;
VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * L_9 = V_1;
L_9->___hasTextChanged_9 = (bool)1;
}
IL_005a:
{
// if (hasTextChanged)
VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * L_10 = V_1;
bool L_11 = L_10->___hasTextChanged_9;
if (!L_11)
{
goto IL_00df;
}
}
{
// if (copyOfVertices.Length < textInfo.meshInfo.Length)
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_12 = __this->___U3CcopyOfVerticesU3E5__3_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_13 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_14 = L_13->___meshInfo_16;
if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))) >= ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length))))))
{
goto IL_0091;
}
}
{
// copyOfVertices = new Vector3[textInfo.meshInfo.Length][];
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_15 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_16 = L_15->___meshInfo_16;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_17 = (Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D*)(Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D*)SZArrayNew(Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length))));
__this->___U3CcopyOfVerticesU3E5__3_4 = L_17;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CcopyOfVerticesU3E5__3_4), (void*)L_17);
}
IL_0091:
{
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
V_4 = 0;
goto IL_00c7;
}
IL_0096:
{
// int length = textInfo.meshInfo[i].vertices.Length;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_18 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_19 = L_18->___meshInfo_16;
int32_t L_20 = V_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_21 = ((L_19)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_20)))->___vertices_6;
V_5 = ((int32_t)((int32_t)(((RuntimeArray*)L_21)->max_length)));
// copyOfVertices[i] = new Vector3[length];
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_22 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_23 = V_4;
int32_t L_24 = V_5;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_25 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)L_24);
ArrayElementTypeCheck (L_22, L_25);
(L_22)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_23), (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)L_25);
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
int32_t L_26 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
}
IL_00c7:
{
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
int32_t L_27 = V_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_28 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_29 = L_28->___meshInfo_16;
if ((((int32_t)L_27) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_29)->max_length))))))
{
goto IL_0096;
}
}
{
// hasTextChanged = false;
VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * L_30 = V_1;
L_30->___hasTextChanged_9 = (bool)0;
}
IL_00df:
{
// int characterCount = textInfo.characterCount;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_31 = __this->___U3CtextInfoU3E5__2_3;
int32_t L_32 = L_31->___characterCount_3;
// if (characterCount == 0)
if (L_32)
{
goto IL_0111;
}
}
{
// yield return new WaitForSeconds(0.25f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_33 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_33, (0.25f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_33;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_33);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_0105:
{
__this->___U3CU3E1__state_0 = (-1);
// continue;
goto IL_005a;
}
IL_0111:
{
// int lineCount = textInfo.lineCount;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_34 = __this->___U3CtextInfoU3E5__2_3;
int32_t L_35 = L_34->___lineCount_8;
V_3 = L_35;
// for (int i = 0; i < lineCount; i++)
V_6 = 0;
goto IL_0448;
}
IL_0125:
{
// int first = textInfo.lineInfo[i].firstCharacterIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_36 = __this->___U3CtextInfoU3E5__2_3;
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_37 = L_36->___lineInfo_14;
int32_t L_38 = V_6;
int32_t L_39 = ((L_37)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_38)))->___firstCharacterIndex_5;
V_7 = L_39;
// int last = textInfo.lineInfo[i].lastCharacterIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_40 = __this->___U3CtextInfoU3E5__2_3;
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_41 = L_40->___lineInfo_14;
int32_t L_42 = V_6;
int32_t L_43 = ((L_41)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_42)))->___lastCharacterIndex_7;
V_8 = L_43;
// Vector3 centerOfLine = (textInfo.characterInfo[first].bottomLeft + textInfo.characterInfo[last].topRight) / 2;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_44 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_45 = L_44->___characterInfo_11;
int32_t L_46 = V_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = ((L_45)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_46)))->___bottomLeft_20;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_48 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_49 = L_48->___characterInfo_11;
int32_t L_50 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = ((L_49)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_50)))->___topRight_21;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
L_52 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_47, L_51, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
L_53 = Vector3_op_Division_mD7200D6D432BAFC4135C5B17A0B0A812203B0270_inline(L_52, (2.0f), NULL);
V_9 = L_53;
// Quaternion rotation = Quaternion.Euler(0, 0, Random.Range(-0.25f, 0.25f) * RotationMultiplier);
float L_54;
L_54 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-0.25f), (0.25f), NULL);
VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * L_55 = V_1;
float L_56 = L_55->___RotationMultiplier_7;
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_57;
L_57 = Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline((0.0f), (0.0f), ((float)il2cpp_codegen_multiply((float)L_54, (float)L_56)), NULL);
V_10 = L_57;
// for (int j = first; j <= last; j++)
int32_t L_58 = V_7;
V_11 = L_58;
goto IL_0439;
}
IL_01c6:
{
// if (!textInfo.characterInfo[j].isVisible)
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_59 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_60 = L_59->___characterInfo_11;
int32_t L_61 = V_11;
bool L_62 = ((L_60)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_61)))->___isVisible_40;
if (!L_62)
{
goto IL_0433;
}
}
{
// int materialIndex = textInfo.characterInfo[j].materialReferenceIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_63 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_64 = L_63->___characterInfo_11;
int32_t L_65 = V_11;
int32_t L_66 = ((L_64)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_65)))->___materialReferenceIndex_9;
V_12 = L_66;
// int vertexIndex = textInfo.characterInfo[j].vertexIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_67 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_68 = L_67->___characterInfo_11;
int32_t L_69 = V_11;
int32_t L_70 = ((L_68)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_69)))->___vertexIndex_14;
V_13 = L_70;
// Vector3[] sourceVertices = textInfo.meshInfo[materialIndex].vertices;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_71 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_72 = L_71->___meshInfo_16;
int32_t L_73 = V_12;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_74 = ((L_72)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_73)))->___vertices_6;
V_14 = L_74;
// copyOfVertices[materialIndex][vertexIndex + 0] = sourceVertices[vertexIndex + 0] - centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_75 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_76 = V_12;
int32_t L_77 = L_76;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_78 = (L_75)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_77));
int32_t L_79 = V_13;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_80 = V_14;
int32_t L_81 = V_13;
int32_t L_82 = L_81;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83 = (L_80)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_82));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85;
L_85 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_83, L_84, NULL);
(L_78)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_79), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_85);
// copyOfVertices[materialIndex][vertexIndex + 1] = sourceVertices[vertexIndex + 1] - centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_86 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_87 = V_12;
int32_t L_88 = L_87;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_89 = (L_86)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_88));
int32_t L_90 = V_13;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_91 = V_14;
int32_t L_92 = V_13;
int32_t L_93 = ((int32_t)il2cpp_codegen_add((int32_t)L_92, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94 = (L_91)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_93));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96;
L_96 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_94, L_95, NULL);
(L_89)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_90, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_96);
// copyOfVertices[materialIndex][vertexIndex + 2] = sourceVertices[vertexIndex + 2] - centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_97 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_98 = V_12;
int32_t L_99 = L_98;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_100 = (L_97)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_99));
int32_t L_101 = V_13;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_102 = V_14;
int32_t L_103 = V_13;
int32_t L_104 = ((int32_t)il2cpp_codegen_add((int32_t)L_103, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_105 = (L_102)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_104));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_106 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_107;
L_107 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_105, L_106, NULL);
(L_100)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_101, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_107);
// copyOfVertices[materialIndex][vertexIndex + 3] = sourceVertices[vertexIndex + 3] - centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_108 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_109 = V_12;
int32_t L_110 = L_109;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_111 = (L_108)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_110));
int32_t L_112 = V_13;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_113 = V_14;
int32_t L_114 = V_13;
int32_t L_115 = ((int32_t)il2cpp_codegen_add((int32_t)L_114, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_116 = (L_113)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_115));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_118;
L_118 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_116, L_117, NULL);
(L_111)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_112, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_118);
// float randomScale = Random.Range(0.995f - 0.001f * ScaleMultiplier, 1.005f + 0.001f * ScaleMultiplier);
VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * L_119 = V_1;
float L_120 = L_119->___ScaleMultiplier_6;
VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * L_121 = V_1;
float L_122 = L_121->___ScaleMultiplier_6;
float L_123;
L_123 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B(((float)il2cpp_codegen_subtract((float)(0.995000005f), (float)((float)il2cpp_codegen_multiply((float)(0.00100000005f), (float)L_120)))), ((float)il2cpp_codegen_add((float)(1.005f), (float)((float)il2cpp_codegen_multiply((float)(0.00100000005f), (float)L_122)))), NULL);
V_15 = L_123;
// matrix = Matrix4x4.TRS(Vector3.one, rotation, Vector3.one * randomScale);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_124;
L_124 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_125 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_126;
L_126 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
float L_127 = V_15;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_128;
L_128 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_126, L_127, NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_129;
L_129 = Matrix4x4_TRS_mFEBA6926DB0044B96EF0CE98F30FEE7596820680(L_124, L_125, L_128, NULL);
V_2 = L_129;
// copyOfVertices[materialIndex][vertexIndex + 0] = matrix.MultiplyPoint3x4(copyOfVertices[materialIndex][vertexIndex + 0]);
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_130 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_131 = V_12;
int32_t L_132 = L_131;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_133 = (L_130)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_132));
int32_t L_134 = V_13;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_135 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_136 = V_12;
int32_t L_137 = L_136;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_138 = (L_135)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_137));
int32_t L_139 = V_13;
int32_t L_140 = L_139;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_141 = (L_138)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_140));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_142;
L_142 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_141, NULL);
(L_133)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_134), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_142);
// copyOfVertices[materialIndex][vertexIndex + 1] = matrix.MultiplyPoint3x4(copyOfVertices[materialIndex][vertexIndex + 1]);
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_143 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_144 = V_12;
int32_t L_145 = L_144;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_146 = (L_143)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_145));
int32_t L_147 = V_13;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_148 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_149 = V_12;
int32_t L_150 = L_149;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_151 = (L_148)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_150));
int32_t L_152 = V_13;
int32_t L_153 = ((int32_t)il2cpp_codegen_add((int32_t)L_152, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_154 = (L_151)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_153));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_155;
L_155 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_154, NULL);
(L_146)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_147, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_155);
// copyOfVertices[materialIndex][vertexIndex + 2] = matrix.MultiplyPoint3x4(copyOfVertices[materialIndex][vertexIndex + 2]);
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_156 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_157 = V_12;
int32_t L_158 = L_157;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_159 = (L_156)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_158));
int32_t L_160 = V_13;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_161 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_162 = V_12;
int32_t L_163 = L_162;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_164 = (L_161)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_163));
int32_t L_165 = V_13;
int32_t L_166 = ((int32_t)il2cpp_codegen_add((int32_t)L_165, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_167 = (L_164)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_166));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_168;
L_168 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_167, NULL);
(L_159)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_160, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_168);
// copyOfVertices[materialIndex][vertexIndex + 3] = matrix.MultiplyPoint3x4(copyOfVertices[materialIndex][vertexIndex + 3]);
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_169 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_170 = V_12;
int32_t L_171 = L_170;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_172 = (L_169)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_171));
int32_t L_173 = V_13;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_174 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_175 = V_12;
int32_t L_176 = L_175;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_177 = (L_174)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_176));
int32_t L_178 = V_13;
int32_t L_179 = ((int32_t)il2cpp_codegen_add((int32_t)L_178, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_180 = (L_177)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_179));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_181;
L_181 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_180, NULL);
(L_172)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_173, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_181);
// copyOfVertices[materialIndex][vertexIndex + 0] += centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_182 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_183 = V_12;
int32_t L_184 = L_183;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_185 = (L_182)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_184));
int32_t L_186 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_187 = ((L_185)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_186)));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_188 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_187);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_189 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_190;
L_190 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_188, L_189, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_187 = L_190;
// copyOfVertices[materialIndex][vertexIndex + 1] += centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_191 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_192 = V_12;
int32_t L_193 = L_192;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_194 = (L_191)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_193));
int32_t L_195 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_196 = ((L_194)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_195, (int32_t)1)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_197 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_196);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_198 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_199;
L_199 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_197, L_198, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_196 = L_199;
// copyOfVertices[materialIndex][vertexIndex + 2] += centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_200 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_201 = V_12;
int32_t L_202 = L_201;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_203 = (L_200)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_202));
int32_t L_204 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_205 = ((L_203)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_204, (int32_t)2)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_206 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_205);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_207 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_208;
L_208 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_206, L_207, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_205 = L_208;
// copyOfVertices[materialIndex][vertexIndex + 3] += centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_209 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_210 = V_12;
int32_t L_211 = L_210;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_212 = (L_209)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_211));
int32_t L_213 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_214 = ((L_212)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_213, (int32_t)3)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_215 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_214);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_216 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_217;
L_217 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_215, L_216, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_214 = L_217;
}
IL_0433:
{
// for (int j = first; j <= last; j++)
int32_t L_218 = V_11;
V_11 = ((int32_t)il2cpp_codegen_add((int32_t)L_218, (int32_t)1));
}
IL_0439:
{
// for (int j = first; j <= last; j++)
int32_t L_219 = V_11;
int32_t L_220 = V_8;
if ((((int32_t)L_219) <= ((int32_t)L_220)))
{
goto IL_01c6;
}
}
{
// for (int i = 0; i < lineCount; i++)
int32_t L_221 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_221, (int32_t)1));
}
IL_0448:
{
// for (int i = 0; i < lineCount; i++)
int32_t L_222 = V_6;
int32_t L_223 = V_3;
if ((((int32_t)L_222) < ((int32_t)L_223)))
{
goto IL_0125;
}
}
{
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
V_16 = 0;
goto IL_04a4;
}
IL_0455:
{
// textInfo.meshInfo[i].mesh.vertices = copyOfVertices[i];
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_224 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_225 = L_224->___meshInfo_16;
int32_t L_226 = V_16;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * L_227 = ((L_225)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_226)))->___mesh_4;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_228 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_229 = V_16;
int32_t L_230 = L_229;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_231 = (L_228)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_230));
Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C(L_227, L_231, NULL);
// m_TextComponent.UpdateGeometry(textInfo.meshInfo[i].mesh, i);
VertexShakeA_t0915AA60878050D69BA28697506CF5CF6F789E8F * L_232 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_233 = L_232->___m_TextComponent_8;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_234 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_235 = L_234->___meshInfo_16;
int32_t L_236 = V_16;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * L_237 = ((L_235)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_236)))->___mesh_4;
int32_t L_238 = V_16;
VirtualActionInvoker2< Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 *, int32_t >::Invoke(107 /* System.Void TMPro.TMP_Text::UpdateGeometry(UnityEngine.Mesh,System.Int32) */, L_233, L_237, L_238);
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
int32_t L_239 = V_16;
V_16 = ((int32_t)il2cpp_codegen_add((int32_t)L_239, (int32_t)1));
}
IL_04a4:
{
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
int32_t L_240 = V_16;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_241 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_242 = L_241->___meshInfo_16;
if ((((int32_t)L_240) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_242)->max_length))))))
{
goto IL_0455;
}
}
{
// yield return new WaitForSeconds(0.1f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_243 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_243, (0.100000001f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_243;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_243);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_04ce:
{
__this->___U3CU3E1__state_0 = (-1);
// while (true)
goto IL_005a;
}
}
// System.Object TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CAnimateVertexColorsU3Ed__11_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m8DD4F3768C9025EFAC0BFDBB942FEF7953FB20BE (U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__11_System_Collections_IEnumerator_Reset_m2F84864A089CBA0B878B7AC1EA39A49B82682A90 (U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CAnimateVertexColorsU3Ed__11_System_Collections_IEnumerator_Reset_m2F84864A089CBA0B878B7AC1EA39A49B82682A90_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.VertexShakeA/<AnimateVertexColors>d__11::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CAnimateVertexColorsU3Ed__11_System_Collections_IEnumerator_get_Current_m3106DAC17EF56701CBC9812DD031932B04BB730B (U3CAnimateVertexColorsU3Ed__11_t2E62EF65D8AE7185E18D8711E582A76E45AC843E * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.VertexShakeB::Awake()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexShakeB_Awake_mFA9A180BD1769CC79E6325314B5652D605ABE58E (VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// m_TextComponent = GetComponent<TMP_Text>();
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_0;
L_0 = Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5(__this, Component_GetComponent_TisTMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9_m0C4C5268B54C7097888C6B109527A680772EBCB5_RuntimeMethod_var);
__this->___m_TextComponent_7 = L_0;
Il2CppCodeGenWriteBarrier((void**)(&__this->___m_TextComponent_7), (void*)L_0);
// }
return;
}
}
// System.Void TMPro.Examples.VertexShakeB::OnEnable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexShakeB_OnEnable_m4999DF4598174EDA2A47F4F667B5CE061DF97C21 (VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VertexShakeB_ON_TEXT_CHANGED_mF8641640C828A9664AE03AF01CB4832E14EF436D_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// TMPro_EventManager.TEXT_CHANGED_EVENT.Add(ON_TEXT_CHANGED);
il2cpp_codegen_runtime_class_init_inline(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * L_0 = ((TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_StaticFields*)il2cpp_codegen_static_fields_for(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var))->___TEXT_CHANGED_EVENT_11;
Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * L_1 = (Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *)il2cpp_codegen_object_new(Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
Action_1__ctor_m95478636F075134CA2998E22B214611472600983(L_1, __this, ((intptr_t)VertexShakeB_ON_TEXT_CHANGED_mF8641640C828A9664AE03AF01CB4832E14EF436D_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6(L_0, L_1, FastAction_1_Add_m368726E3508DB2176C4F87A79C0C0CC4816176D6_RuntimeMethod_var);
// }
return;
}
}
// System.Void TMPro.Examples.VertexShakeB::OnDisable()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexShakeB_OnDisable_m2FB32CBD277A271400BF8AF2A35294C09FE9B8E5 (VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VertexShakeB_ON_TEXT_CHANGED_mF8641640C828A9664AE03AF01CB4832E14EF436D_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
// TMPro_EventManager.TEXT_CHANGED_EVENT.Remove(ON_TEXT_CHANGED);
il2cpp_codegen_runtime_class_init_inline(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var);
FastAction_1_tE50C6A692DF85AB55BE3160B659FA7DF19DFA005 * L_0 = ((TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_StaticFields*)il2cpp_codegen_static_fields_for(TMPro_EventManager_t0234DB5BF625FC164B395C5C3B6F2CB8C89A3BA9_il2cpp_TypeInfo_var))->___TEXT_CHANGED_EVENT_11;
Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A * L_1 = (Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A *)il2cpp_codegen_object_new(Action_1_t7F8A08D55E64F30F0E9A4213699C99903459421A_il2cpp_TypeInfo_var);
Action_1__ctor_m95478636F075134CA2998E22B214611472600983(L_1, __this, ((intptr_t)VertexShakeB_ON_TEXT_CHANGED_mF8641640C828A9664AE03AF01CB4832E14EF436D_RuntimeMethod_var), /*hidden argument*/Action_1__ctor_m95478636F075134CA2998E22B214611472600983_RuntimeMethod_var);
FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F(L_0, L_1, FastAction_1_Remove_mB29130AC90F5F8967CD89587717469E44E4D186F_RuntimeMethod_var);
// }
return;
}
}
// System.Void TMPro.Examples.VertexShakeB::Start()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexShakeB_Start_m58786A0944340EF16E024ADB596C9AB5686C2AF1 (VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * __this, const RuntimeMethod* method)
{
{
// StartCoroutine(AnimateVertexColors());
RuntimeObject* L_0;
L_0 = VertexShakeB_AnimateVertexColors_m06D25FE7F9F3EFF693DDC889BF725F01D0CF2A6F(__this, NULL);
Coroutine_t85EA685566A254C23F3FD77AB5BDFFFF8799596B * L_1;
L_1 = MonoBehaviour_StartCoroutine_m4CAFF732AA28CD3BDC5363B44A863575530EC812(__this, L_0, NULL);
// }
return;
}
}
// System.Void TMPro.Examples.VertexShakeB::ON_TEXT_CHANGED(UnityEngine.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexShakeB_ON_TEXT_CHANGED_mF8641640C828A9664AE03AF01CB4832E14EF436D (VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * __this, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C * ___obj0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
// if (obj = m_TextComponent)
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_0 = __this->___m_TextComponent_7;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_1 = L_0;
___obj0 = L_1;
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Object_op_Implicit_m18E1885C296CC868AC918101523697CFE6413C79(L_1, NULL);
if (!L_2)
{
goto IL_0017;
}
}
{
// hasTextChanged = true;
__this->___hasTextChanged_8 = (bool)1;
}
IL_0017:
{
// }
return;
}
}
// System.Collections.IEnumerator TMPro.Examples.VertexShakeB::AnimateVertexColors()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* VertexShakeB_AnimateVertexColors_m06D25FE7F9F3EFF693DDC889BF725F01D0CF2A6F (VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E * L_0 = (U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E *)il2cpp_codegen_object_new(U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E_il2cpp_TypeInfo_var);
U3CAnimateVertexColorsU3Ed__10__ctor_mBE5C0E4A0F65F07A7510D171683AD319F76E6C6D(L_0, 0, /*hidden argument*/NULL);
U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E * L_1 = L_0;
L_1->___U3CU3E4__this_2 = __this;
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_2), (void*)__this);
return L_1;
}
}
// System.Void TMPro.Examples.VertexShakeB::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexShakeB__ctor_m9D068774503CF8642CC0BAC0E909ECE91E4E2198 (VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * __this, const RuntimeMethod* method)
{
{
// public float AngleMultiplier = 1.0f;
__this->___AngleMultiplier_4 = (1.0f);
// public float SpeedMultiplier = 1.0f;
__this->___SpeedMultiplier_5 = (1.0f);
// public float CurveScale = 1.0f;
__this->___CurveScale_6 = (1.0f);
MonoBehaviour__ctor_m592DB0105CA0BC97AA1C5F4AD27B12D68A3B7C1E(__this, NULL);
return;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__10__ctor_mBE5C0E4A0F65F07A7510D171683AD319F76E6C6D (U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E * __this, int32_t ___U3CU3E1__state0, const RuntimeMethod* method)
{
{
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
int32_t L_0 = ___U3CU3E1__state0;
__this->___U3CU3E1__state_0 = L_0;
return;
}
}
// System.Void TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10::System.IDisposable.Dispose()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__10_System_IDisposable_Dispose_m4DD41FA568ABBC327FA38C0E345EFB6F1A71C2C8 (U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E * __this, const RuntimeMethod* method)
{
{
return;
}
}
// System.Boolean TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10::MoveNext()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CAnimateVertexColorsU3Ed__10_MoveNext_mDD84A4116FCAAF920F86BA72F890CE0BE76AF348 (U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * V_1 = NULL;
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_2;
memset((&V_2), 0, sizeof(V_2));
int32_t V_3 = 0;
int32_t V_4 = 0;
int32_t V_5 = 0;
int32_t V_6 = 0;
int32_t V_7 = 0;
int32_t V_8 = 0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
memset((&V_9), 0, sizeof(V_9));
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_10;
memset((&V_10), 0, sizeof(V_10));
int32_t V_11 = 0;
int32_t V_12 = 0;
int32_t V_13 = 0;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_14 = NULL;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_15;
memset((&V_15), 0, sizeof(V_15));
float V_16 = 0.0f;
int32_t V_17 = 0;
{
int32_t L_0 = __this->___U3CU3E1__state_0;
V_0 = L_0;
VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * L_1 = __this->___U3CU3E4__this_2;
V_1 = L_1;
int32_t L_2 = V_0;
switch (L_2)
{
case 0:
{
goto IL_0022;
}
case 1:
{
goto IL_0105;
}
case 2:
{
goto IL_06ab;
}
}
}
{
return (bool)0;
}
IL_0022:
{
__this->___U3CU3E1__state_0 = (-1);
// m_TextComponent.ForceMeshUpdate();
VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * L_3 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_4 = L_3->___m_TextComponent_7;
VirtualActionInvoker2< bool, bool >::Invoke(106 /* System.Void TMPro.TMP_Text::ForceMeshUpdate(System.Boolean,System.Boolean) */, L_4, (bool)0, (bool)0);
// TMP_TextInfo textInfo = m_TextComponent.textInfo;
VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * L_5 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_6 = L_5->___m_TextComponent_7;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_7;
L_7 = TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline(L_6, NULL);
__this->___U3CtextInfoU3E5__2_3 = L_7;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CtextInfoU3E5__2_3), (void*)L_7);
// Vector3[][] copyOfVertices = new Vector3[0][];
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_8 = (Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D*)(Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D*)SZArrayNew(Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D_il2cpp_TypeInfo_var, (uint32_t)0);
__this->___U3CcopyOfVerticesU3E5__3_4 = L_8;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CcopyOfVerticesU3E5__3_4), (void*)L_8);
// hasTextChanged = true;
VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * L_9 = V_1;
L_9->___hasTextChanged_8 = (bool)1;
}
IL_005a:
{
// if (hasTextChanged)
VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * L_10 = V_1;
bool L_11 = L_10->___hasTextChanged_8;
if (!L_11)
{
goto IL_00df;
}
}
{
// if (copyOfVertices.Length < textInfo.meshInfo.Length)
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_12 = __this->___U3CcopyOfVerticesU3E5__3_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_13 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_14 = L_13->___meshInfo_16;
if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_12)->max_length)))) >= ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_14)->max_length))))))
{
goto IL_0091;
}
}
{
// copyOfVertices = new Vector3[textInfo.meshInfo.Length][];
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_15 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_16 = L_15->___meshInfo_16;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_17 = (Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D*)(Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D*)SZArrayNew(Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)(((RuntimeArray*)L_16)->max_length))));
__this->___U3CcopyOfVerticesU3E5__3_4 = L_17;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CcopyOfVerticesU3E5__3_4), (void*)L_17);
}
IL_0091:
{
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
V_4 = 0;
goto IL_00c7;
}
IL_0096:
{
// int length = textInfo.meshInfo[i].vertices.Length;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_18 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_19 = L_18->___meshInfo_16;
int32_t L_20 = V_4;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_21 = ((L_19)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_20)))->___vertices_6;
V_5 = ((int32_t)((int32_t)(((RuntimeArray*)L_21)->max_length)));
// copyOfVertices[i] = new Vector3[length];
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_22 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_23 = V_4;
int32_t L_24 = V_5;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_25 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)L_24);
ArrayElementTypeCheck (L_22, L_25);
(L_22)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_23), (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)L_25);
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
int32_t L_26 = V_4;
V_4 = ((int32_t)il2cpp_codegen_add((int32_t)L_26, (int32_t)1));
}
IL_00c7:
{
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
int32_t L_27 = V_4;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_28 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_29 = L_28->___meshInfo_16;
if ((((int32_t)L_27) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_29)->max_length))))))
{
goto IL_0096;
}
}
{
// hasTextChanged = false;
VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * L_30 = V_1;
L_30->___hasTextChanged_8 = (bool)0;
}
IL_00df:
{
// int characterCount = textInfo.characterCount;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_31 = __this->___U3CtextInfoU3E5__2_3;
int32_t L_32 = L_31->___characterCount_3;
// if (characterCount == 0)
if (L_32)
{
goto IL_0111;
}
}
{
// yield return new WaitForSeconds(0.25f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_33 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_33, (0.25f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_33;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_33);
__this->___U3CU3E1__state_0 = 1;
return (bool)1;
}
IL_0105:
{
__this->___U3CU3E1__state_0 = (-1);
// continue;
goto IL_005a;
}
IL_0111:
{
// int lineCount = textInfo.lineCount;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_34 = __this->___U3CtextInfoU3E5__2_3;
int32_t L_35 = L_34->___lineCount_8;
V_3 = L_35;
// for (int i = 0; i < lineCount; i++)
V_6 = 0;
goto IL_0625;
}
IL_0125:
{
// int first = textInfo.lineInfo[i].firstCharacterIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_36 = __this->___U3CtextInfoU3E5__2_3;
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_37 = L_36->___lineInfo_14;
int32_t L_38 = V_6;
int32_t L_39 = ((L_37)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_38)))->___firstCharacterIndex_5;
V_7 = L_39;
// int last = textInfo.lineInfo[i].lastCharacterIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_40 = __this->___U3CtextInfoU3E5__2_3;
TMP_LineInfoU5BU5D_tE485ECF6A7A96441C72B53D75E7A5A5461A2CA0E* L_41 = L_40->___lineInfo_14;
int32_t L_42 = V_6;
int32_t L_43 = ((L_41)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_42)))->___lastCharacterIndex_7;
V_8 = L_43;
// Vector3 centerOfLine = (textInfo.characterInfo[first].bottomLeft + textInfo.characterInfo[last].topRight) / 2;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_44 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_45 = L_44->___characterInfo_11;
int32_t L_46 = V_7;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = ((L_45)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_46)))->___bottomLeft_20;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_48 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_49 = L_48->___characterInfo_11;
int32_t L_50 = V_8;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = ((L_49)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_50)))->___topRight_21;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
L_52 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_47, L_51, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
L_53 = Vector3_op_Division_mD7200D6D432BAFC4135C5B17A0B0A812203B0270_inline(L_52, (2.0f), NULL);
V_9 = L_53;
// Quaternion rotation = Quaternion.Euler(0, 0, Random.Range(-0.25f, 0.25f));
float L_54;
L_54 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((-0.25f), (0.25f), NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_55;
L_55 = Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline((0.0f), (0.0f), L_54, NULL);
V_10 = L_55;
// for (int j = first; j <= last; j++)
int32_t L_56 = V_7;
V_11 = L_56;
goto IL_0616;
}
IL_01bf:
{
// if (!textInfo.characterInfo[j].isVisible)
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_57 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_58 = L_57->___characterInfo_11;
int32_t L_59 = V_11;
bool L_60 = ((L_58)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_59)))->___isVisible_40;
if (!L_60)
{
goto IL_0610;
}
}
{
// int materialIndex = textInfo.characterInfo[j].materialReferenceIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_61 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_62 = L_61->___characterInfo_11;
int32_t L_63 = V_11;
int32_t L_64 = ((L_62)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_63)))->___materialReferenceIndex_9;
V_12 = L_64;
// int vertexIndex = textInfo.characterInfo[j].vertexIndex;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_65 = __this->___U3CtextInfoU3E5__2_3;
TMP_CharacterInfoU5BU5D_t297D56FCF66DAA99D8FEA7C30F9F3926902C5B99* L_66 = L_65->___characterInfo_11;
int32_t L_67 = V_11;
int32_t L_68 = ((L_66)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_67)))->___vertexIndex_14;
V_13 = L_68;
// Vector3[] sourceVertices = textInfo.meshInfo[materialIndex].vertices;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_69 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_70 = L_69->___meshInfo_16;
int32_t L_71 = V_12;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_72 = ((L_70)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_71)))->___vertices_6;
V_14 = L_72;
// Vector3 charCenter = (sourceVertices[vertexIndex + 0] + sourceVertices[vertexIndex + 2]) / 2;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_73 = V_14;
int32_t L_74 = V_13;
int32_t L_75 = L_74;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76 = (L_73)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_75));
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_77 = V_14;
int32_t L_78 = V_13;
int32_t L_79 = ((int32_t)il2cpp_codegen_add((int32_t)L_78, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80 = (L_77)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_79));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
L_81 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_76, L_80, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
L_82 = Vector3_op_Division_mD7200D6D432BAFC4135C5B17A0B0A812203B0270_inline(L_81, (2.0f), NULL);
V_15 = L_82;
// copyOfVertices[materialIndex][vertexIndex + 0] = sourceVertices[vertexIndex + 0] - charCenter;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_83 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_84 = V_12;
int32_t L_85 = L_84;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_86 = (L_83)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_85));
int32_t L_87 = V_13;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_88 = V_14;
int32_t L_89 = V_13;
int32_t L_90 = L_89;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91 = (L_88)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_90));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92 = V_15;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93;
L_93 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_91, L_92, NULL);
(L_86)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_87), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_93);
// copyOfVertices[materialIndex][vertexIndex + 1] = sourceVertices[vertexIndex + 1] - charCenter;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_94 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_95 = V_12;
int32_t L_96 = L_95;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_97 = (L_94)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_96));
int32_t L_98 = V_13;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_99 = V_14;
int32_t L_100 = V_13;
int32_t L_101 = ((int32_t)il2cpp_codegen_add((int32_t)L_100, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102 = (L_99)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_101));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103 = V_15;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104;
L_104 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_102, L_103, NULL);
(L_97)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_98, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_104);
// copyOfVertices[materialIndex][vertexIndex + 2] = sourceVertices[vertexIndex + 2] - charCenter;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_105 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_106 = V_12;
int32_t L_107 = L_106;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_108 = (L_105)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_107));
int32_t L_109 = V_13;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_110 = V_14;
int32_t L_111 = V_13;
int32_t L_112 = ((int32_t)il2cpp_codegen_add((int32_t)L_111, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_113 = (L_110)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_112));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_114 = V_15;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_115;
L_115 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_113, L_114, NULL);
(L_108)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_109, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_115);
// copyOfVertices[materialIndex][vertexIndex + 3] = sourceVertices[vertexIndex + 3] - charCenter;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_116 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_117 = V_12;
int32_t L_118 = L_117;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_119 = (L_116)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_118));
int32_t L_120 = V_13;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_121 = V_14;
int32_t L_122 = V_13;
int32_t L_123 = ((int32_t)il2cpp_codegen_add((int32_t)L_122, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_124 = (L_121)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_123));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125 = V_15;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_126;
L_126 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_124, L_125, NULL);
(L_119)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_120, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_126);
// float randomScale = Random.Range(0.95f, 1.05f);
float L_127;
L_127 = Random_Range_mF26F26EB446B76823B4815C91FA0907B484DF02B((0.949999988f), (1.04999995f), NULL);
V_16 = L_127;
// matrix = Matrix4x4.TRS(Vector3.one, Quaternion.identity, Vector3.one * randomScale);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_128;
L_128 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_129;
L_129 = Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline(NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_130;
L_130 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
float L_131 = V_16;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_132;
L_132 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_130, L_131, NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_133;
L_133 = Matrix4x4_TRS_mFEBA6926DB0044B96EF0CE98F30FEE7596820680(L_128, L_129, L_132, NULL);
V_2 = L_133;
// copyOfVertices[materialIndex][vertexIndex + 0] = matrix.MultiplyPoint3x4(copyOfVertices[materialIndex][vertexIndex + 0]);
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_134 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_135 = V_12;
int32_t L_136 = L_135;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_137 = (L_134)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_136));
int32_t L_138 = V_13;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_139 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_140 = V_12;
int32_t L_141 = L_140;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_142 = (L_139)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_141));
int32_t L_143 = V_13;
int32_t L_144 = L_143;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_145 = (L_142)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_144));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_146;
L_146 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_145, NULL);
(L_137)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_138), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_146);
// copyOfVertices[materialIndex][vertexIndex + 1] = matrix.MultiplyPoint3x4(copyOfVertices[materialIndex][vertexIndex + 1]);
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_147 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_148 = V_12;
int32_t L_149 = L_148;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_150 = (L_147)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_149));
int32_t L_151 = V_13;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_152 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_153 = V_12;
int32_t L_154 = L_153;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_155 = (L_152)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_154));
int32_t L_156 = V_13;
int32_t L_157 = ((int32_t)il2cpp_codegen_add((int32_t)L_156, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_158 = (L_155)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_157));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_159;
L_159 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_158, NULL);
(L_150)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_151, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_159);
// copyOfVertices[materialIndex][vertexIndex + 2] = matrix.MultiplyPoint3x4(copyOfVertices[materialIndex][vertexIndex + 2]);
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_160 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_161 = V_12;
int32_t L_162 = L_161;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_163 = (L_160)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_162));
int32_t L_164 = V_13;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_165 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_166 = V_12;
int32_t L_167 = L_166;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_168 = (L_165)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_167));
int32_t L_169 = V_13;
int32_t L_170 = ((int32_t)il2cpp_codegen_add((int32_t)L_169, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_171 = (L_168)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_170));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_172;
L_172 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_171, NULL);
(L_163)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_164, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_172);
// copyOfVertices[materialIndex][vertexIndex + 3] = matrix.MultiplyPoint3x4(copyOfVertices[materialIndex][vertexIndex + 3]);
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_173 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_174 = V_12;
int32_t L_175 = L_174;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_176 = (L_173)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_175));
int32_t L_177 = V_13;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_178 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_179 = V_12;
int32_t L_180 = L_179;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_181 = (L_178)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_180));
int32_t L_182 = V_13;
int32_t L_183 = ((int32_t)il2cpp_codegen_add((int32_t)L_182, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_184 = (L_181)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_183));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_185;
L_185 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_184, NULL);
(L_176)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_177, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_185);
// copyOfVertices[materialIndex][vertexIndex + 0] += charCenter;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_186 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_187 = V_12;
int32_t L_188 = L_187;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_189 = (L_186)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_188));
int32_t L_190 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_191 = ((L_189)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_190)));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_192 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_191);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_193 = V_15;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_194;
L_194 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_192, L_193, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_191 = L_194;
// copyOfVertices[materialIndex][vertexIndex + 1] += charCenter;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_195 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_196 = V_12;
int32_t L_197 = L_196;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_198 = (L_195)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_197));
int32_t L_199 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_200 = ((L_198)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_199, (int32_t)1)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_201 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_200);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_202 = V_15;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_203;
L_203 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_201, L_202, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_200 = L_203;
// copyOfVertices[materialIndex][vertexIndex + 2] += charCenter;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_204 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_205 = V_12;
int32_t L_206 = L_205;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_207 = (L_204)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_206));
int32_t L_208 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_209 = ((L_207)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_208, (int32_t)2)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_210 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_209);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_211 = V_15;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_212;
L_212 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_210, L_211, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_209 = L_212;
// copyOfVertices[materialIndex][vertexIndex + 3] += charCenter;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_213 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_214 = V_12;
int32_t L_215 = L_214;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_216 = (L_213)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_215));
int32_t L_217 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_218 = ((L_216)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_217, (int32_t)3)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_219 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_218);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_220 = V_15;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_221;
L_221 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_219, L_220, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_218 = L_221;
// copyOfVertices[materialIndex][vertexIndex + 0] -= centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_222 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_223 = V_12;
int32_t L_224 = L_223;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_225 = (L_222)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_224));
int32_t L_226 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_227 = ((L_225)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_226)));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_228 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_227);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_229 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_230;
L_230 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_228, L_229, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_227 = L_230;
// copyOfVertices[materialIndex][vertexIndex + 1] -= centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_231 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_232 = V_12;
int32_t L_233 = L_232;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_234 = (L_231)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_233));
int32_t L_235 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_236 = ((L_234)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_235, (int32_t)1)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_237 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_236);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_238 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_239;
L_239 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_237, L_238, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_236 = L_239;
// copyOfVertices[materialIndex][vertexIndex + 2] -= centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_240 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_241 = V_12;
int32_t L_242 = L_241;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_243 = (L_240)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_242));
int32_t L_244 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_245 = ((L_243)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_244, (int32_t)2)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_246 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_245);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_247 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_248;
L_248 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_246, L_247, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_245 = L_248;
// copyOfVertices[materialIndex][vertexIndex + 3] -= centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_249 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_250 = V_12;
int32_t L_251 = L_250;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_252 = (L_249)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_251));
int32_t L_253 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_254 = ((L_252)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_253, (int32_t)3)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_255 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_254);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_256 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_257;
L_257 = Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline(L_255, L_256, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_254 = L_257;
// matrix = Matrix4x4.TRS(Vector3.one, rotation, Vector3.one);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_258;
L_258 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_259 = V_10;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_260;
L_260 = Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline(NULL);
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_261;
L_261 = Matrix4x4_TRS_mFEBA6926DB0044B96EF0CE98F30FEE7596820680(L_258, L_259, L_260, NULL);
V_2 = L_261;
// copyOfVertices[materialIndex][vertexIndex + 0] = matrix.MultiplyPoint3x4(copyOfVertices[materialIndex][vertexIndex + 0]);
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_262 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_263 = V_12;
int32_t L_264 = L_263;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_265 = (L_262)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_264));
int32_t L_266 = V_13;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_267 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_268 = V_12;
int32_t L_269 = L_268;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_270 = (L_267)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_269));
int32_t L_271 = V_13;
int32_t L_272 = L_271;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_273 = (L_270)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_272));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_274;
L_274 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_273, NULL);
(L_265)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(L_266), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_274);
// copyOfVertices[materialIndex][vertexIndex + 1] = matrix.MultiplyPoint3x4(copyOfVertices[materialIndex][vertexIndex + 1]);
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_275 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_276 = V_12;
int32_t L_277 = L_276;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_278 = (L_275)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_277));
int32_t L_279 = V_13;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_280 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_281 = V_12;
int32_t L_282 = L_281;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_283 = (L_280)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_282));
int32_t L_284 = V_13;
int32_t L_285 = ((int32_t)il2cpp_codegen_add((int32_t)L_284, (int32_t)1));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_286 = (L_283)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_285));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_287;
L_287 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_286, NULL);
(L_278)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_279, (int32_t)1))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_287);
// copyOfVertices[materialIndex][vertexIndex + 2] = matrix.MultiplyPoint3x4(copyOfVertices[materialIndex][vertexIndex + 2]);
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_288 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_289 = V_12;
int32_t L_290 = L_289;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_291 = (L_288)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_290));
int32_t L_292 = V_13;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_293 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_294 = V_12;
int32_t L_295 = L_294;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_296 = (L_293)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_295));
int32_t L_297 = V_13;
int32_t L_298 = ((int32_t)il2cpp_codegen_add((int32_t)L_297, (int32_t)2));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_299 = (L_296)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_298));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_300;
L_300 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_299, NULL);
(L_291)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_292, (int32_t)2))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_300);
// copyOfVertices[materialIndex][vertexIndex + 3] = matrix.MultiplyPoint3x4(copyOfVertices[materialIndex][vertexIndex + 3]);
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_301 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_302 = V_12;
int32_t L_303 = L_302;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_304 = (L_301)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_303));
int32_t L_305 = V_13;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_306 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_307 = V_12;
int32_t L_308 = L_307;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_309 = (L_306)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_308));
int32_t L_310 = V_13;
int32_t L_311 = ((int32_t)il2cpp_codegen_add((int32_t)L_310, (int32_t)3));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_312 = (L_309)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_311));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_313;
L_313 = Matrix4x4_MultiplyPoint3x4_mACCBD70AFA82C63DA88555780B7B6B01281AB814((&V_2), L_312, NULL);
(L_304)->SetAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_305, (int32_t)3))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 )L_313);
// copyOfVertices[materialIndex][vertexIndex + 0] += centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_314 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_315 = V_12;
int32_t L_316 = L_315;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_317 = (L_314)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_316));
int32_t L_318 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_319 = ((L_317)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_318)));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_320 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_319);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_321 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_322;
L_322 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_320, L_321, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_319 = L_322;
// copyOfVertices[materialIndex][vertexIndex + 1] += centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_323 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_324 = V_12;
int32_t L_325 = L_324;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_326 = (L_323)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_325));
int32_t L_327 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_328 = ((L_326)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_327, (int32_t)1)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_329 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_328);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_330 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_331;
L_331 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_329, L_330, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_328 = L_331;
// copyOfVertices[materialIndex][vertexIndex + 2] += centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_332 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_333 = V_12;
int32_t L_334 = L_333;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_335 = (L_332)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_334));
int32_t L_336 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_337 = ((L_335)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_336, (int32_t)2)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_338 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_337);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_339 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_340;
L_340 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_338, L_339, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_337 = L_340;
// copyOfVertices[materialIndex][vertexIndex + 3] += centerOfLine;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_341 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_342 = V_12;
int32_t L_343 = L_342;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_344 = (L_341)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_343));
int32_t L_345 = V_13;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_346 = ((L_344)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add((int32_t)L_345, (int32_t)3)))));
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_347 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_346);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_348 = V_9;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_349;
L_349 = Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline(L_347, L_348, NULL);
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)L_346 = L_349;
}
IL_0610:
{
// for (int j = first; j <= last; j++)
int32_t L_350 = V_11;
V_11 = ((int32_t)il2cpp_codegen_add((int32_t)L_350, (int32_t)1));
}
IL_0616:
{
// for (int j = first; j <= last; j++)
int32_t L_351 = V_11;
int32_t L_352 = V_8;
if ((((int32_t)L_351) <= ((int32_t)L_352)))
{
goto IL_01bf;
}
}
{
// for (int i = 0; i < lineCount; i++)
int32_t L_353 = V_6;
V_6 = ((int32_t)il2cpp_codegen_add((int32_t)L_353, (int32_t)1));
}
IL_0625:
{
// for (int i = 0; i < lineCount; i++)
int32_t L_354 = V_6;
int32_t L_355 = V_3;
if ((((int32_t)L_354) < ((int32_t)L_355)))
{
goto IL_0125;
}
}
{
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
V_17 = 0;
goto IL_0681;
}
IL_0632:
{
// textInfo.meshInfo[i].mesh.vertices = copyOfVertices[i];
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_356 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_357 = L_356->___meshInfo_16;
int32_t L_358 = V_17;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * L_359 = ((L_357)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_358)))->___mesh_4;
Vector3U5BU5DU5BU5D_t9E2E40AB6AB9079C8F16A0B6410FF6CF2EE8B53D* L_360 = __this->___U3CcopyOfVerticesU3E5__3_4;
int32_t L_361 = V_17;
int32_t L_362 = L_361;
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_363 = (L_360)->GetAtUnchecked(static_cast<il2cpp_array_size_t>(L_362));
Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C(L_359, L_363, NULL);
// m_TextComponent.UpdateGeometry(textInfo.meshInfo[i].mesh, i);
VertexShakeB_tA3849618A1BE8DCE150A615F38CE2E247FC6F6C8 * L_364 = V_1;
TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * L_365 = L_364->___m_TextComponent_7;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_366 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_367 = L_366->___meshInfo_16;
int32_t L_368 = V_17;
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 * L_369 = ((L_367)->GetAddressAtUnchecked(static_cast<il2cpp_array_size_t>(L_368)))->___mesh_4;
int32_t L_370 = V_17;
VirtualActionInvoker2< Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 *, int32_t >::Invoke(107 /* System.Void TMPro.TMP_Text::UpdateGeometry(UnityEngine.Mesh,System.Int32) */, L_365, L_369, L_370);
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
int32_t L_371 = V_17;
V_17 = ((int32_t)il2cpp_codegen_add((int32_t)L_371, (int32_t)1));
}
IL_0681:
{
// for (int i = 0; i < textInfo.meshInfo.Length; i++)
int32_t L_372 = V_17;
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_373 = __this->___U3CtextInfoU3E5__2_3;
TMP_MeshInfoU5BU5D_t3549EA3B9F542558E0DB1EDFAB98C612FE4231D7* L_374 = L_373->___meshInfo_16;
if ((((int32_t)L_372) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_374)->max_length))))))
{
goto IL_0632;
}
}
{
// yield return new WaitForSeconds(0.1f);
WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 * L_375 = (WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3 *)il2cpp_codegen_object_new(WaitForSeconds_tF179DF251655B8DF044952E70A60DF4B358A3DD3_il2cpp_TypeInfo_var);
WaitForSeconds__ctor_m579F95BADEDBAB4B3A7E302C6EE3995926EF2EFC(L_375, (0.100000001f), /*hidden argument*/NULL);
__this->___U3CU3E2__current_1 = L_375;
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)L_375);
__this->___U3CU3E1__state_0 = 2;
return (bool)1;
}
IL_06ab:
{
__this->___U3CU3E1__state_0 = (-1);
// while (true)
goto IL_005a;
}
}
// System.Object TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CAnimateVertexColorsU3Ed__10_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m250CC96EC17E74D79536FDA4EB6F5B5F985C0845 (U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
// System.Void TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10::System.Collections.IEnumerator.Reset()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CAnimateVertexColorsU3Ed__10_System_Collections_IEnumerator_Reset_m5A5869FEFA67D5E9659F1145B83581D954550C1A (U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E * __this, const RuntimeMethod* method)
{
{
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A * L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CAnimateVertexColorsU3Ed__10_System_Collections_IEnumerator_Reset_m5A5869FEFA67D5E9659F1145B83581D954550C1A_RuntimeMethod_var)));
}
}
// System.Object TMPro.Examples.VertexShakeB/<AnimateVertexColors>d__10::System.Collections.IEnumerator.get_Current()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * U3CAnimateVertexColorsU3Ed__10_System_Collections_IEnumerator_get_Current_m496F1BFEADA21FFB684F8C1996EAB707CFA1C5F0 (U3CAnimateVertexColorsU3Ed__10_tD6C6C3147726423C8C82952A638432E12AA2C91E * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = __this->___U3CU3E2__current_1;
return L_0;
}
}
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 * __this, float ___x0, float ___y1, const RuntimeMethod* method)
{
{
float L_0 = ___x0;
__this->___x_0 = L_0;
float L_1 = ___y1;
__this->___y_1 = L_1;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Subtraction_m664419831773D5BBF06D9DE4E515F6409B2F92B8_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___a0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___b1, const RuntimeMethod* method)
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___a0;
float L_1 = L_0.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___b1;
float L_3 = L_2.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___a0;
float L_5 = L_4.___y_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___b1;
float L_7 = L_6.___y_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
memset((&L_8), 0, sizeof(L_8));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_8), ((float)il2cpp_codegen_subtract((float)L_1, (float)L_3)), ((float)il2cpp_codegen_subtract((float)L_5, (float)L_7)), /*hidden argument*/NULL);
V_0 = L_8;
goto IL_0023;
}
IL_0023:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9 = V_0;
return L_9;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_Angle_m9668B13074D1664DD192669C14B3A8FC01676299_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___from0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___to1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
float V_1 = 0.0f;
bool V_2 = false;
float V_3 = 0.0f;
{
float L_0;
L_0 = Vector2_get_sqrMagnitude_mA16336720C14EEF8BA9B55AE33B98C9EE2082BDC_inline((&___from0), NULL);
float L_1;
L_1 = Vector2_get_sqrMagnitude_mA16336720C14EEF8BA9B55AE33B98C9EE2082BDC_inline((&___to1), NULL);
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_2;
L_2 = sqrt(((double)((double)((float)il2cpp_codegen_multiply((float)L_0, (float)L_1)))));
V_0 = ((float)((float)L_2));
float L_3 = V_0;
V_2 = (bool)((((float)L_3) < ((float)(1.0E-15f)))? 1 : 0);
bool L_4 = V_2;
if (!L_4)
{
goto IL_002c;
}
}
{
V_3 = (0.0f);
goto IL_0056;
}
IL_002c:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = ___from0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___to1;
float L_7;
L_7 = Vector2_Dot_mBF0FA0B529C821F4733DDC3AD366B07CD27625F4_inline(L_5, L_6, NULL);
float L_8 = V_0;
float L_9;
L_9 = Mathf_Clamp_m154E404AF275A3B2EC99ECAA3879B4CB9F0606DC_inline(((float)((float)L_7/(float)L_8)), (-1.0f), (1.0f), NULL);
V_1 = L_9;
float L_10 = V_1;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_11;
L_11 = acos(((double)((double)L_10)));
V_3 = ((float)il2cpp_codegen_multiply((float)((float)((float)L_11)), (float)(57.2957802f)));
goto IL_0056;
}
IL_0056:
{
float L_12 = V_3;
return L_12;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Implicit_m8F73B300CB4E6F9B4EB5FB6130363D76CEAA230B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___v0, const RuntimeMethod* method)
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___v0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___v0;
float L_3 = L_2.___y_3;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
memset((&L_4), 0, sizeof(L_4));
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_4), L_1, L_3, /*hidden argument*/NULL);
V_0 = L_4;
goto IL_0015;
}
IL_0015:
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = V_0;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR SubmitEvent_tF7E2843B6A79D94B8EEEA259707F77BD1773B500 * TMP_InputField_get_onSubmit_mAA494FA0B3CFFB2916B399BD5D87C2E1AA637B90_inline (TMP_InputField_t3488E0EE8C3DF56C6A328EC95D1BEEA2DF4A7D5F * __this, const RuntimeMethod* method)
{
{
// public SubmitEvent onSubmit { get { return m_OnSubmit; } set { SetPropertyUtility.SetClass(ref m_OnSubmit, value); } }
SubmitEvent_tF7E2843B6A79D94B8EEEA259707F77BD1773B500 * L_0 = __this->___m_OnSubmit_49;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t TMP_Dropdown_get_value_m5916A6D1897431E8ED789FEC24551A311D1B5C70_inline (TMP_Dropdown_t73B37BFDA0D005451C7B750938AFB1748E5EA504 * __this, const RuntimeMethod* method)
{
{
// return m_Value;
int32_t L_0 = __this->___m_Value_26;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___zeroVector_5;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_mD4601D966F1F58F3FCA01B3FC19A12D0AD0396DD_inline (float ___x0, float ___y1, float ___z2, const RuntimeMethod* method)
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
memset((&V_0), 0, sizeof(V_0));
{
float L_0 = ___x0;
float L_1 = ___y1;
float L_2 = ___z2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
memset((&L_3), 0, sizeof(L_3));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_3), L_0, L_1, L_2, /*hidden argument*/NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
L_4 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_3, (0.0174532924f), NULL);
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
L_5 = Quaternion_Internal_FromEulerRad_m2842B9FFB31CDC0F80B7C2172E22831D11D91E93(L_4, NULL);
V_0 = L_5;
goto IL_001b;
}
IL_001b:
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = V_0;
return L_6;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mE6A2D5C6578E94268024613B596BF09F990B1260_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___oneVector_6;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m42625D67623FA5CC7A44D47425CE86FB946542D2_inline (String_t* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->___m_stringLength_0;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * TMP_Text_get_textInfo_mA24C606B8EA51436E4AA3B9D6DCDFA7A8995E10E_inline (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, const RuntimeMethod* method)
{
{
// get { return m_textInfo; }
TMP_TextInfo_t09A8E906329422C3F0C059876801DD695B8D524D * L_0 = __this->___m_textInfo_152;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * TMP_TextEventHandler_get_onCharacterSelection_mA62049738125E3C48405E6DFF09E2D42300BE8C3_inline (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
{
// get { return m_OnCharacterSelection; }
CharacterSelectionEvent_t5D7AF67F47A37175CF8615AD66DEC4A0AA021392 * L_0 = __this->___m_OnCharacterSelection_4;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * TMP_TextEventHandler_get_onSpriteSelection_m95CDEB7394FFF38F310717EEEFDCD481D96A5E82_inline (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
{
// get { return m_OnSpriteSelection; }
SpriteSelectionEvent_t770551D2973013622C464E817FA74D53BCD4FD95 * L_0 = __this->___m_OnSpriteSelection_5;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * TMP_TextEventHandler_get_onWordSelection_mF22771B4213EEB3AEFCDA390A4FF28FED5D9184C_inline (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
{
// get { return m_OnWordSelection; }
WordSelectionEvent_t340E6006406B5E90F7190C56218E8F7E3712945E * L_0 = __this->___m_OnWordSelection_6;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * TMP_TextEventHandler_get_onLineSelection_mDDF07E7000993FCD6EAF2FBD2D2226EB66273908_inline (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
{
// get { return m_OnLineSelection; }
LineSelectionEvent_t526120C6113E0638913B951E3D1D7B1CF94F0880 * L_0 = __this->___m_OnLineSelection_7;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * TMP_TextEventHandler_get_onLinkSelection_m87FB9EABE7F917B2F910A18A3B5F1AE3020D976D_inline (TMP_TextEventHandler_t1B20EF196557E1AC0E6AB6AACFA95740CC17A333 * __this, const RuntimeMethod* method)
{
{
// get { return m_OnLinkSelection; }
LinkSelectionEvent_t5CE74F742D231580ED2C810ECE394E1A2BC81B3D * L_0 = __this->___m_OnLinkSelection_8;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * TMP_Text_get_font_m1F5E907B9181A54212FBD8123242583C1CA4BE2A_inline (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, const RuntimeMethod* method)
{
{
// get { return m_fontAsset; }
TMP_FontAsset_t923BF2F78D7C5AC36376E168A1193B7CB4855160 * L_0 = __this->___m_fontAsset_40;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * __this, float ___x0, float ___y1, float ___z2, const RuntimeMethod* method)
{
{
float L_0 = ___x0;
__this->___x_2 = L_0;
float L_1 = ___y1;
__this->___y_3 = L_1;
float L_2 = ___z2;
__this->___z_4 = L_2;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B * __this, uint8_t ___r0, uint8_t ___g1, uint8_t ___b2, uint8_t ___a3, const RuntimeMethod* method)
{
{
__this->___rgba_0 = 0;
uint8_t L_0 = ___r0;
__this->___r_1 = L_0;
uint8_t L_1 = ___g1;
__this->___g_2 = L_1;
uint8_t L_2 = ___b2;
__this->___b_3 = L_2;
uint8_t L_3 = ___a3;
__this->___a_4 = L_3;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color32_op_Implicit_m203A634DBB77053C9400C68065CA29529103D172_inline (Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B ___c0, const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_0 = ___c0;
uint8_t L_1 = L_0.___r_1;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_2 = ___c0;
uint8_t L_3 = L_2.___g_2;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_4 = ___c0;
uint8_t L_5 = L_4.___b_3;
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_6 = ___c0;
uint8_t L_7 = L_6.___a_4;
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_8;
memset((&L_8), 0, sizeof(L_8));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_8), ((float)((float)((float)((float)L_1))/(float)(255.0f))), ((float)((float)((float)((float)L_3))/(float)(255.0f))), ((float)((float)((float)((float)L_5))/(float)(255.0f))), ((float)((float)((float)((float)L_7))/(float)(255.0f))), /*hidden argument*/NULL);
V_0 = L_8;
goto IL_003d;
}
IL_003d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_9 = V_0;
return L_9;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m087D6F0EC60843D455F9F83D25FE42B2433AAD1D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___b1;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___a0;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___b1;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___a0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___b1;
float L_11 = L_10.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
memset((&L_12), 0, sizeof(L_12));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_add((float)L_1, (float)L_3)), ((float)il2cpp_codegen_add((float)L_5, (float)L_7)), ((float)il2cpp_codegen_add((float)L_9, (float)L_11)), /*hidden argument*/NULL);
V_0 = L_12;
goto IL_0030;
}
IL_0030:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
return L_13;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_SmoothDamp_m017722BD53BAE32893C2A1B674746E340D4A5B89_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___current0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___target1, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * ___currentVelocity2, float ___smoothTime3, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float V_1 = 0.0f;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
{
float L_0;
L_0 = Time_get_deltaTime_m7AB6BFA101D83E1D8F2EF3D5A128AEE9DDBF1A6D(NULL);
V_0 = L_0;
V_1 = (std::numeric_limits<float>::infinity());
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___current0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___target1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * L_3 = ___currentVelocity2;
float L_4 = ___smoothTime3;
float L_5 = V_1;
float L_6 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Vector3_SmoothDamp_mA20AB2E3DFAE680D742E9A17D969AF8A3E849711(L_1, L_2, L_3, L_4, L_5, L_6, NULL);
V_2 = L_7;
goto IL_001b;
}
IL_001b:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_2;
return L_8;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_m1690F44F6DC92B770A940B6CF8AE0535625A9824_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___b1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___b1;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___a0;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___b1;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___a0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___b1;
float L_11 = L_10.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
memset((&L_12), 0, sizeof(L_12));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_subtract((float)L_1, (float)L_3)), ((float)il2cpp_codegen_subtract((float)L_5, (float)L_7)), ((float)il2cpp_codegen_subtract((float)L_9, (float)L_11)), /*hidden argument*/NULL);
V_0 = L_12;
goto IL_0030;
}
IL_0030:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
return L_13;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_m154E404AF275A3B2EC99ECAA3879B4CB9F0606DC_inline (float ___value0, float ___min1, float ___max2, const RuntimeMethod* method)
{
bool V_0 = false;
bool V_1 = false;
float V_2 = 0.0f;
{
float L_0 = ___value0;
float L_1 = ___min1;
V_0 = (bool)((((float)L_0) < ((float)L_1))? 1 : 0);
bool L_2 = V_0;
if (!L_2)
{
goto IL_000e;
}
}
{
float L_3 = ___min1;
___value0 = L_3;
goto IL_0019;
}
IL_000e:
{
float L_4 = ___value0;
float L_5 = ___max2;
V_1 = (bool)((((float)L_4) > ((float)L_5))? 1 : 0);
bool L_6 = V_1;
if (!L_6)
{
goto IL_0019;
}
}
{
float L_7 = ___max2;
___value0 = L_7;
}
IL_0019:
{
float L_8 = ___value0;
V_2 = L_8;
goto IL_001d;
}
IL_001d:
{
float L_9 = V_2;
return L_9;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m3AC523A7BED6E843165BDF598690F0560D8CAA63_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___a0;
float L_3 = L_2.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___a0;
float L_5 = L_4.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
memset((&L_6), 0, sizeof(L_6));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_6), ((-L_1)), ((-L_3)), ((-L_5)), /*hidden argument*/NULL);
V_0 = L_6;
goto IL_001e;
}
IL_001e:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
return L_7;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_get_magnitude_m5C59B4056420AEFDB291AD0914A3F675330A75CE_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
float L_0 = __this->___x_0;
float L_1 = __this->___x_0;
float L_2 = __this->___y_1;
float L_3 = __this->___y_1;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_4;
L_4 = sqrt(((double)((double)((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_multiply((float)L_0, (float)L_1)), (float)((float)il2cpp_codegen_multiply((float)L_2, (float)L_3)))))));
V_0 = ((float)((float)L_4));
goto IL_0026;
}
IL_0026:
{
float L_5 = V_0;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 * __this, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = (*(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 *)__this);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
L_1 = Quaternion_Internal_ToEulerRad_m9B2C77284AEE6F2C43B6C42F1F888FB4FC904462(L_0, NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
L_2 = Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline(L_1, (57.2957802f), NULL);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
L_3 = Quaternion_Internal_MakePositive_m864320DA2D027C186C95B2A5BC2C66B0EB4A6C11(L_2, NULL);
V_0 = L_3;
goto IL_001e;
}
IL_001e:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = V_0;
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_black_mBF96B603B41BED9BAFAA10CE8D946D24260F9729_inline (const RuntimeMethod* method)
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
memset((&L_0), 0, sizeof(L_0));
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (0.0f), (0.0f), (0.0f), (1.0f), /*hidden argument*/NULL);
V_0 = L_0;
goto IL_001d;
}
IL_001d:
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B Color32_op_Implicit_m7EFA0B83AD1AE15567E9BC2FA2B8E66D3BFE1395_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___c0, const RuntimeMethod* method)
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B V_0;
memset((&V_0), 0, sizeof(V_0));
{
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0 = ___c0;
float L_1 = L_0.___r_0;
float L_2;
L_2 = Mathf_Clamp01_mD921B23F47F5347996C56DC789D1DE16EE27D9B1_inline(L_1, NULL);
float L_3;
L_3 = bankers_roundf(((float)il2cpp_codegen_multiply((float)L_2, (float)(255.0f))));
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_4 = ___c0;
float L_5 = L_4.___g_1;
float L_6;
L_6 = Mathf_Clamp01_mD921B23F47F5347996C56DC789D1DE16EE27D9B1_inline(L_5, NULL);
float L_7;
L_7 = bankers_roundf(((float)il2cpp_codegen_multiply((float)L_6, (float)(255.0f))));
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_8 = ___c0;
float L_9 = L_8.___b_2;
float L_10;
L_10 = Mathf_Clamp01_mD921B23F47F5347996C56DC789D1DE16EE27D9B1_inline(L_9, NULL);
float L_11;
L_11 = bankers_roundf(((float)il2cpp_codegen_multiply((float)L_10, (float)(255.0f))));
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_12 = ___c0;
float L_13 = L_12.___a_3;
float L_14;
L_14 = Mathf_Clamp01_mD921B23F47F5347996C56DC789D1DE16EE27D9B1_inline(L_13, NULL);
float L_15;
L_15 = bankers_roundf(((float)il2cpp_codegen_multiply((float)L_14, (float)(255.0f))));
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_16;
memset((&L_16), 0, sizeof(L_16));
Color32__ctor_mC9C6B443F0C7CA3F8B174158B2AF6F05E18EAC4E_inline((&L_16), (uint8_t)il2cpp_codegen_cast_floating_point<uint8_t, int32_t, float>(L_3), (uint8_t)il2cpp_codegen_cast_floating_point<uint8_t, int32_t, float>(L_7), (uint8_t)il2cpp_codegen_cast_floating_point<uint8_t, int32_t, float>(L_11), (uint8_t)il2cpp_codegen_cast_floating_point<uint8_t, int32_t, float>(L_15), /*hidden argument*/NULL);
V_0 = L_16;
goto IL_0065;
}
IL_0065:
{
Color32_t73C5004937BF5BB8AD55323D51AAA40A898EF48B L_17 = V_0;
return L_17;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool TMP_Text_get_havePropertiesChanged_m42ECC7D1CA0DF6E59ACF761EB20635E81FCB8EFF_inline (TMP_Text_tE8D677872D43AD4B2AAF0D6101692A17D0B251A9 * __this, const RuntimeMethod* method)
{
{
// get { return m_havePropertiesChanged; }
bool L_0 = __this->___m_havePropertiesChanged_153;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector2_op_Implicit_mCD214B04BC52AED3C89C3BEF664B6247E5F8954A_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___v0, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___v0;
float L_1 = L_0.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___v0;
float L_3 = L_2.___y_1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
memset((&L_4), 0, sizeof(L_4));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_4), L_1, L_3, (0.0f), /*hidden argument*/NULL);
V_0 = L_4;
goto IL_001a;
}
IL_001a:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = V_0;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m5F87930F9B0828E5652E2D9D01ED907C01122C86_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * __this, float ___x0, float ___y1, const RuntimeMethod* method)
{
{
float L_0 = ___x0;
__this->___x_2 = L_0;
float L_1 = ___y1;
__this->___y_3 = L_1;
__this->___z_4 = (0.0f);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 * __this, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 *)__this);
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
L_1 = Vector3_Normalize_m6120F119433C5B60BBB28731D3D4A0DA50A84DDD_inline(L_0, NULL);
V_0 = L_1;
goto IL_000f;
}
IL_000f:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = V_0;
return L_2;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_m4688A1A524306675DBDB1E6D483F35E85E3CE6D8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lhs0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rhs1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___lhs0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___rhs1;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___lhs0;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___rhs1;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___lhs0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___rhs1;
float L_11 = L_10.___z_4;
V_0 = ((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_multiply((float)L_1, (float)L_3)), (float)((float)il2cpp_codegen_multiply((float)L_5, (float)L_7)))), (float)((float)il2cpp_codegen_multiply((float)L_9, (float)L_11))));
goto IL_002d;
}
IL_002d:
{
float L_12 = V_0;
return L_12;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Cross_m77F64620D73934C56BEE37A64016DBDCB9D21DB8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___lhs0, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rhs1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___lhs0;
float L_1 = L_0.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___rhs1;
float L_3 = L_2.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___lhs0;
float L_5 = L_4.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___rhs1;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___lhs0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___rhs1;
float L_11 = L_10.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___lhs0;
float L_13 = L_12.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___rhs1;
float L_15 = L_14.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___lhs0;
float L_17 = L_16.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___rhs1;
float L_19 = L_18.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___lhs0;
float L_21 = L_20.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = ___rhs1;
float L_23 = L_22.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
memset((&L_24), 0, sizeof(L_24));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_24), ((float)il2cpp_codegen_subtract((float)((float)il2cpp_codegen_multiply((float)L_1, (float)L_3)), (float)((float)il2cpp_codegen_multiply((float)L_5, (float)L_7)))), ((float)il2cpp_codegen_subtract((float)((float)il2cpp_codegen_multiply((float)L_9, (float)L_11)), (float)((float)il2cpp_codegen_multiply((float)L_13, (float)L_15)))), ((float)il2cpp_codegen_subtract((float)((float)il2cpp_codegen_multiply((float)L_17, (float)L_19)), (float)((float)il2cpp_codegen_multiply((float)L_21, (float)L_23)))), /*hidden argument*/NULL);
V_0 = L_24;
goto IL_005a;
}
IL_005a:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_0;
return L_25;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_mB9CAEEB21BC81352CBF32DB9664BFC06FA7EA27B_inline (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ((Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields*)il2cpp_codegen_static_fields_for(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var))->___identityQuaternion_4;
V_0 = L_0;
goto IL_0009;
}
IL_0009:
{
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = V_0;
return L_1;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Max_mA9DCA91E87D6D27034F56ABA52606A9090406016_inline (float ___a0, float ___b1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
float G_B3_0 = 0.0f;
{
float L_0 = ___a0;
float L_1 = ___b1;
if ((((float)L_0) > ((float)L_1)))
{
goto IL_0008;
}
}
{
float L_2 = ___b1;
G_B3_0 = L_2;
goto IL_0009;
}
IL_0008:
{
float L_3 = ___a0;
G_B3_0 = L_3;
}
IL_0009:
{
V_0 = G_B3_0;
goto IL_000c;
}
IL_000c:
{
float L_4 = V_0;
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 * __this, float ___x0, float ___y1, float ___z2, float ___w3, const RuntimeMethod* method)
{
{
float L_0 = ___x0;
__this->___x_1 = L_0;
float L_1 = ___y1;
__this->___y_2 = L_1;
float L_2 = ___z2;
__this->___z_3 = L_2;
float L_3 = ___w3;
__this->___w_4 = L_3;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mD7200D6D432BAFC4135C5B17A0B0A812203B0270_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, float ___d1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
float L_2 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___a0;
float L_4 = L_3.___y_3;
float L_5 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___a0;
float L_7 = L_6.___z_4;
float L_8 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)((float)L_1/(float)L_2)), ((float)((float)L_4/(float)L_5)), ((float)((float)L_7/(float)L_8)), /*hidden argument*/NULL);
V_0 = L_9;
goto IL_0021;
}
IL_0021:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
return L_10;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m516FE285F5342F922C6EB3FCB33197E9017FF484_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___a0, float ___d1, const RuntimeMethod* method)
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
memset((&V_0), 0, sizeof(V_0));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___a0;
float L_1 = L_0.___x_2;
float L_2 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___a0;
float L_4 = L_3.___y_3;
float L_5 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___a0;
float L_7 = L_6.___z_4;
float L_8 = ___d1;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
memset((&L_9), 0, sizeof(L_9));
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)il2cpp_codegen_multiply((float)L_1, (float)L_2)), ((float)il2cpp_codegen_multiply((float)L_4, (float)L_5)), ((float)il2cpp_codegen_multiply((float)L_7, (float)L_8)), /*hidden argument*/NULL);
V_0 = L_9;
goto IL_0021;
}
IL_0021:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
return L_10;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_PingPong_m157C55BCFEA2BB96680B7B29D714C3F9390551C9_inline (float ___t0, float ___length1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = ___t0;
float L_1 = ___length1;
float L_2;
L_2 = Mathf_Repeat_m1ACDE7EF466FB6CCAD29B3866E4A239A8530E9D5_inline(L_0, ((float)il2cpp_codegen_multiply((float)L_1, (float)(2.0f))), NULL);
___t0 = L_2;
float L_3 = ___length1;
float L_4 = ___t0;
float L_5 = ___length1;
float L_6;
L_6 = fabsf(((float)il2cpp_codegen_subtract((float)L_4, (float)L_5)));
V_0 = ((float)il2cpp_codegen_subtract((float)L_3, (float)L_6));
goto IL_001d;
}
IL_001d:
{
float L_7 = V_0;
return L_7;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_SmoothStep_mF724C7893D0F0C02FB14D573DDB7F92935451B81_inline (float ___from0, float ___to1, float ___t2, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = ___t2;
float L_1;
L_1 = Mathf_Clamp01_mD921B23F47F5347996C56DC789D1DE16EE27D9B1_inline(L_0, NULL);
___t2 = L_1;
float L_2 = ___t2;
float L_3 = ___t2;
float L_4 = ___t2;
float L_5 = ___t2;
float L_6 = ___t2;
___t2 = ((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_multiply((float)((float)il2cpp_codegen_multiply((float)((float)il2cpp_codegen_multiply((float)(-2.0f), (float)L_2)), (float)L_3)), (float)L_4)), (float)((float)il2cpp_codegen_multiply((float)((float)il2cpp_codegen_multiply((float)(3.0f), (float)L_5)), (float)L_6))));
float L_7 = ___to1;
float L_8 = ___t2;
float L_9 = ___from0;
float L_10 = ___t2;
V_0 = ((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_multiply((float)L_7, (float)L_8)), (float)((float)il2cpp_codegen_multiply((float)L_9, (float)((float)il2cpp_codegen_subtract((float)(1.0f), (float)L_10))))));
goto IL_0030;
}
IL_0030:
{
float L_11 = V_0;
return L_11;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Enumerator_get_Current_m03DDB9D6C95434581544F1F2FF0D1A36EEAB09AF_gshared_inline (Enumerator_t24E4C96B84374CD9F71B748A47AB020F220D9931 * __this, const RuntimeMethod* method)
{
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 )__this->___current_3;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_gshared_inline (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B * __this, int32_t ___index0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___index0;
int32_t L_1 = (int32_t)__this->____size_2;
if ((!(((uint32_t)L_0) >= ((uint32_t)L_1))))
{
goto IL_000e;
}
}
{
ThrowHelper_ThrowArgumentOutOfRangeException_m272CE1B3040BA89B2C478E2CF629670574F30353(NULL);
}
IL_000e:
{
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_2 = (Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)__this->____items_1;
int32_t L_3 = ___index0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
L_4 = IL2CPP_ARRAY_UNSAFE_LOAD(L_2, L_3);
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject * Enumerator_get_Current_m6330F15D18EE4F547C05DF9BF83C5EB710376027_gshared_inline (Enumerator_t9473BAB568A27E2339D48C1F91319E0F6D244D7A * __this, const RuntimeMethod* method)
{
{
RuntimeObject * L_0 = (RuntimeObject *)__this->___current_3;
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_get_sqrMagnitude_mA16336720C14EEF8BA9B55AE33B98C9EE2082BDC_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 * __this, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = __this->___x_0;
float L_1 = __this->___x_0;
float L_2 = __this->___y_1;
float L_3 = __this->___y_1;
V_0 = ((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_multiply((float)L_0, (float)L_1)), (float)((float)il2cpp_codegen_multiply((float)L_2, (float)L_3))));
goto IL_001f;
}
IL_001f:
{
float L_4 = V_0;
return L_4;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_Dot_mBF0FA0B529C821F4733DDC3AD366B07CD27625F4_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___lhs0, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rhs1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___lhs0;
float L_1 = L_0.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___rhs1;
float L_3 = L_2.___x_0;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___lhs0;
float L_5 = L_4.___y_1;
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___rhs1;
float L_7 = L_6.___y_1;
V_0 = ((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_multiply((float)L_1, (float)L_3)), (float)((float)il2cpp_codegen_multiply((float)L_5, (float)L_7))));
goto IL_001f;
}
IL_001f:
{
float L_8 = V_0;
return L_8;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F * __this, float ___r0, float ___g1, float ___b2, float ___a3, const RuntimeMethod* method)
{
{
float L_0 = ___r0;
__this->___r_0 = L_0;
float L_1 = ___g1;
__this->___g_1 = L_1;
float L_2 = ___b2;
__this->___b_2 = L_2;
float L_3 = ___a3;
__this->___a_3 = L_3;
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mD921B23F47F5347996C56DC789D1DE16EE27D9B1_inline (float ___value0, const RuntimeMethod* method)
{
bool V_0 = false;
float V_1 = 0.0f;
bool V_2 = false;
{
float L_0 = ___value0;
V_0 = (bool)((((float)L_0) < ((float)(0.0f)))? 1 : 0);
bool L_1 = V_0;
if (!L_1)
{
goto IL_0015;
}
}
{
V_1 = (0.0f);
goto IL_002d;
}
IL_0015:
{
float L_2 = ___value0;
V_2 = (bool)((((float)L_2) > ((float)(1.0f)))? 1 : 0);
bool L_3 = V_2;
if (!L_3)
{
goto IL_0029;
}
}
{
V_1 = (1.0f);
goto IL_002d;
}
IL_0029:
{
float L_4 = ___value0;
V_1 = L_4;
goto IL_002d;
}
IL_002d:
{
float L_5 = V_1;
return L_5;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_m6120F119433C5B60BBB28731D3D4A0DA50A84DDD_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value0, const RuntimeMethod* method)
{
float V_0 = 0.0f;
bool V_1 = false;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
memset((&V_2), 0, sizeof(V_2));
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___value0;
float L_1;
L_1 = Vector3_Magnitude_m6AD0BEBF88AAF98188A851E62D7A32CB5B7830EF_inline(L_0, NULL);
V_0 = L_1;
float L_2 = V_0;
V_1 = (bool)((((float)L_2) > ((float)(9.99999975E-06f)))? 1 : 0);
bool L_3 = V_1;
if (!L_3)
{
goto IL_001e;
}
}
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___value0;
float L_5 = V_0;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
L_6 = Vector3_op_Division_mD7200D6D432BAFC4135C5B17A0B0A812203B0270_inline(L_4, L_5, NULL);
V_2 = L_6;
goto IL_0026;
}
IL_001e:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
L_7 = Vector3_get_zero_m9D7F7B580B5A276411267E96AA3425736D9BDC83_inline(NULL);
V_2 = L_7;
goto IL_0026;
}
IL_0026:
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_2;
return L_8;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Repeat_m1ACDE7EF466FB6CCAD29B3866E4A239A8530E9D5_inline (float ___t0, float ___length1, const RuntimeMethod* method)
{
float V_0 = 0.0f;
{
float L_0 = ___t0;
float L_1 = ___t0;
float L_2 = ___length1;
float L_3;
L_3 = floorf(((float)((float)L_1/(float)L_2)));
float L_4 = ___length1;
float L_5 = ___length1;
float L_6;
L_6 = Mathf_Clamp_m154E404AF275A3B2EC99ECAA3879B4CB9F0606DC_inline(((float)il2cpp_codegen_subtract((float)L_0, (float)((float)il2cpp_codegen_multiply((float)L_3, (float)L_4)))), (0.0f), L_5, NULL);
V_0 = L_6;
goto IL_001b;
}
IL_001b:
{
float L_7 = V_0;
return L_7;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m6AD0BEBF88AAF98188A851E62D7A32CB5B7830EF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___vector0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
float V_0 = 0.0f;
{
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___vector0;
float L_1 = L_0.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___vector0;
float L_3 = L_2.___x_2;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___vector0;
float L_5 = L_4.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___vector0;
float L_7 = L_6.___y_3;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___vector0;
float L_9 = L_8.___z_4;
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___vector0;
float L_11 = L_10.___z_4;
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
double L_12;
L_12 = sqrt(((double)((double)((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_add((float)((float)il2cpp_codegen_multiply((float)L_1, (float)L_3)), (float)((float)il2cpp_codegen_multiply((float)L_5, (float)L_7)))), (float)((float)il2cpp_codegen_multiply((float)L_9, (float)L_11)))))));
V_0 = ((float)((float)L_12));
goto IL_0034;
}
IL_0034:
{
float L_13 = V_0;
return L_13;
}
}
| [
"jskauf@seas.upenn.edu"
] | jskauf@seas.upenn.edu |
515824ba6ad61be5575d303e2305401764e65559 | d64e2ba91bd6c8cbc82070734a1cb4a27eb45bb0 | /src/i2p.h | 3d5e7dcd48d49f34d22d549f6d4ae3674ac68e1f | [
"MIT"
] | permissive | newappcoin/applecoin | 7ae6a1a6904c227c4ccf6c9adb1e57196cab63f8 | 3fd6bccd79214fb620e73f3ebc654205c188159f | refs/heads/master | 2021-01-16T21:23:24.806838 | 2014-08-08T13:57:09 | 2014-08-08T13:57:09 | 22,747,292 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,010 | h | // Copyright (c) 2012-2013 giv
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//--------------------------------------------------------------------------------------------------
#ifndef I2P_H
#define I2P_H
#include "util.h"
#include "i2psam.h"
#define I2P_NET_NAME_PARAM "-i2p"
#define I2P_SESSION_NAME_PARAM "-i2psessionname"
#define I2P_SESSION_NAME_DEFAULT "Applecoin-client"
#define I2P_SAM_HOST_PARAM "-samhost"
#define I2P_SAM_HOST_DEFAULT SAM_DEFAULT_ADDRESS
#define I2P_SAM_PORT_PARAM "-samport"
#define I2P_SAM_PORT_DEFAULT SAM_DEFAULT_PORT
#define I2P_SAM_MY_DESTINATION_PARAM "-mydestination"
#define I2P_SAM_MY_DESTINATION_DEFAULT SAM_GENERATE_MY_DESTINATION
#define I2P_SAM_I2P_OPTIONS_PARAM "-i2poptions"
#define I2P_SAM_I2P_OPTIONS_DEFAULT SAM_DEFAULT_I2P_OPTIONS
#define I2P_SAM_GENERATE_DESTINATION_PARAM "-generatei2pdestination"
namespace SAM
{
class StreamSessionAdapter
{
public:
StreamSessionAdapter(
const std::string& nickname,
const std::string& SAMHost = SAM_DEFAULT_ADDRESS,
uint16_t SAMPort = SAM_DEFAULT_PORT,
const std::string& myDestination = SAM_GENERATE_MY_DESTINATION,
const std::string& i2pOptions = SAM_DEFAULT_I2P_OPTIONS,
const std::string& minVer = SAM_DEFAULT_MIN_VER,
const std::string& maxVer = SAM_DEFAULT_MAX_VER);
~StreamSessionAdapter();
SAM::SOCKET accept(bool silent);
SAM::SOCKET connect(const std::string& destination, bool silent);
bool forward(const std::string& host, uint16_t port, bool silent);
std::string namingLookup(const std::string& name) const;
SAM::FullDestination destGenerate() const;
void stopForwarding(const std::string& host, uint16_t port);
void stopForwardingAll();
const SAM::FullDestination& getMyDestination() const;
const sockaddr_in& getSAMAddress() const;
const std::string& getSAMHost() const;
uint16_t getSAMPort() const;
const std::string& getNickname() const;
const std::string& getSAMMinVer() const;
const std::string& getSAMMaxVer() const;
const std::string& getSAMVersion() const;
const std::string& getOptions() const;
private:
class SessionHolder;
std::auto_ptr<SessionHolder> sessionHolder_;
};
} // namespace SAM
class I2PSession : private SAM::StreamSessionAdapter
{
public:
// In C++11 this code is thread safe, in C++03 it isn't
static SAM::StreamSessionAdapter& Instance()
{
static I2PSession i2pSession;
return i2pSession;
}
static std::string GenerateB32AddressFromDestination(const std::string& destination);
private:
I2PSession();
~I2PSession();
I2PSession(const I2PSession&);
I2PSession& operator=(const I2PSession&);
};
#endif // I2P_H
| [
"root@db05b02.eng.platformlab.ibm.com"
] | root@db05b02.eng.platformlab.ibm.com |
e736161f5c100d53f6df7089692a66f6fb3b6f7e | e6d9b264a5f98e128327322fb5e8e5ce24298d52 | /997Algorithm/4_Divide_And_Conquer/jj.cpp | 8999de15a840ab48cc56175dc062b025cb4c5d92 | [] | no_license | zihuilin/coding | fa5196abbd9120a107801c0dd7909c3f99ee9650 | 53040c573533228f0ab978db1204836f056cd0fa | refs/heads/master | 2021-06-20T16:56:22.226954 | 2021-01-15T23:35:24 | 2021-01-15T23:35:24 | 169,549,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,329 | cpp | #include <stdio.h>
#include <limits.h>
#include <stdlib.h>
#include <time.h>
const int maxlen = 100000;
float orr[maxlen];
float arr[maxlen];
void find_max_cross_array
(float a[], int low, int mid, int height,
int* leftIndex, int* rightIndex, float* maxSum){
int lIndex = mid; float lcurrent=a[mid]; float lmax = a[mid];
for (int i=mid-1; i>=low; i--){
lcurrent += a[i];
if (lcurrent>lmax){
lIndex = i;
lmax = lcurrent;
}
}
int rIndex = mid+1; float rcurrent=a[rIndex]; float rmax=rcurrent;
for (int i=mid+2; i<=height; i++){
rcurrent += a[i];
if (rcurrent>rmax){
rIndex = i;
rmax = rcurrent;
}
}
*leftIndex = lIndex; *rightIndex = rIndex; *maxSum = lmax + rmax;
}
void find_max_subarray(float a[], int low, int height,
int* leftIndex, int* rightIndex, float* maxSum){
if (low==height)
*leftIndex=low, *rightIndex=low, *maxSum=a[low];
else {
int mid = (height + low)/2;
int lli, lri; float lmax; find_max_subarray(a, low, mid, &lli, &lri, &lmax);
int rli, rri; float rmax; find_max_subarray(a, mid+1, height, &rli, &rri, &rmax);
int cli, cri; float cmax; find_max_cross_array(a, low, mid, height, &cli, &cri, &cmax);
*leftIndex=rli, *rightIndex=rri, *maxSum=rmax;
if(cmax>=*maxSum)
*leftIndex=cli, *rightIndex=cri, *maxSum=cmax;
if(lmax>=*maxSum)
*leftIndex=lli, *rightIndex=lri, *maxSum=lmax;
}
}
int main(){
int len = 90000;
printf("%d\n", len);
srand(time(NULL));
for (int i=0;i<len;i++){
orr[i] = (float)(rand()%550000)/10000 + 45;
}
float max = orr[0];
float min = orr[0];
for (int i=0;i<len;i++){
printf("%.4f ", orr[i]);
if(orr[i]>max) max = orr[i];
if(orr[i]<min) min = orr[i];
}
printf("\n");
/*
scanf("%d", &len);
for (int i=0;i<len;i++){
scanf("%f", orr+i);
}
*/
for (int i=1; i<len; i++){
arr[i] = orr[i-1]-orr[i];
}
int l, r; float m = -9999;
find_max_subarray(arr, 0, len-1, &l, &r, &m);
printf("%d %d %.4f\n", l?l:1, r+1, m);
printf("%.4f %.4f %.4f\n", orr[l?l-1:0], orr[r], m);
printf("%.4f %.4f\n", max, min);
return 0;
}
| [
"zihui.lin@163.com"
] | zihui.lin@163.com |
609b0f7f37ecda5c691b61e78c13823cfa268944 | 1c9d04a9352e6d86480f9e0947f930db042d8e80 | /src/libs/utils/qa/qa_ipc_shmem_lowlevel.cpp | 807a7161d8d00e6e70aa0740e9a19460fcc811e4 | [] | no_license | fawkesrobotics/fawkes | 2c9de0cdb1dfcc951806434fe08458de5a670c8a | ad8adc34f9c73ace1e6a6517624f7c7089f62832 | refs/heads/master | 2023-08-31T01:36:15.690865 | 2023-07-04T17:05:55 | 2023-07-04T17:05:55 | 1,030,824 | 62 | 26 | null | 2023-07-04T17:05:57 | 2010-10-28T04:22:55 | C++ | UTF-8 | C++ | false | false | 3,353 | cpp |
/***************************************************************************
* qa_ipc_shmem_lowlevel.cpp - lowlevel shared memory qa
*
* Generated: Sun Oct 22 23:43:36 2006
* Copyright 2006 Tim Niemueller [www.niemueller.de]
*
****************************************************************************/
/* 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. A runtime exception applies to
* this software (see LICENSE.GPL_WRE file mentioned below for details).
*
* 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 Library General Public License for more details.
*
* Read the full text in the LICENSE.GPL_WRE file in the doc directory.
*/
/// @cond QA
/* This program reveals a problem with the shmat shmaddr parameter. It shows
* that this cannot be reliably used to map the shared memory to a specific
* address even if the REMAP flag has been set. Maybe this just shows a fundamental
* misunderstanding on my side. Have to study more literature, kernel source did
* not reveal the problem in an obvious manner to me.
*/
#include <sys/ipc.h>
#include <sys/shm.h>
#include <errno.h>
#include <iostream>
#include <signal.h>
using namespace std;
using namespace fawkes;
#define SHMEM_SIZE 2048
#define SHMEM_TOKEN "JustSomeDumbQA"
typedef struct
{
void *ptr;
} header_t;
bool quit = false;
void
signal_handler(int signum)
{
quit = true;
}
int
main(int argc, char **argv)
{
signal(SIGINT, signal_handler);
key_t key = ftok(".", 'b');
printf("Key: 0x%x\n", key);
if (argc == 1) {
// master
int shmid = shmget(key, SHMEM_SIZE, IPC_CREAT | 0666);
if (shmid == -1) {
perror("M: Could not get ID");
exit(1);
}
void *shmem = shmat(shmid, NULL, 0);
if (shmem == (void *)-1) {
perror("M: Could not attach");
exit(2);
}
memset(shmem, 0, SHMEM_SIZE);
header_t *header = (header_t *)shmem;
header->ptr = shmem;
printf("M: ptr=0x%lx\n", (long unsigned int)shmem);
while (!quit) {
usleep(100000);
}
shmctl(shmid, IPC_RMID, NULL);
shmdt(shmem);
} else {
// slave
int shmid = shmget(key, SHMEM_SIZE, 0);
if (shmid == -1) {
perror("S: Could not get ID");
exit(1);
}
void *shmem = shmat(shmid, NULL, 0);
if (shmem == (void *)-1) {
perror("S: Could not attach");
exit(2);
}
header_t *header = (header_t *)shmem;
printf("S: ptr=0x%lx header->ptr=0x%lx\n",
(long unsigned int)shmem,
(long unsigned int)header->ptr);
if (shmem != header->ptr) {
printf("S: pointers differ, re-attaching\n");
void *ptr = header->ptr;
shmdt(shmem);
shmem = shmat(shmid, ptr, SHM_REMAP);
if (shmem == (void *)-1) {
perror("S: Could not re-attach");
exit(3);
}
header = (header_t *)shmem;
printf("S: after re-attach: ptr=0x%lx header->ptr=0x%lx\n",
(long unsigned int)shmem,
(long unsigned int)header->ptr);
}
/*
while ( ! quit ) {
usleep(100000);
}
*/
shmdt(shmem);
}
return 0;
}
/// @endcond
| [
"niemueller@kbsg.rwth-aachen.de"
] | niemueller@kbsg.rwth-aachen.de |
ea4b328d8aff4d828fedd808d23c966587521ccf | 2822dcf0ccf6497f1a17184c6f504e070b904c80 | /math/Medium/Sum of Query II.cpp | 5e52d6cf7dc2aba22dcaf9fbb458fea333d23c06 | [] | no_license | DangZhonghua/CodingPractice | a57893a9ed03f48ac8193dff05d1e002abf1b198 | 2ca27e153ba844f6b82a4de274821743b797ddd2 | refs/heads/master | 2021-01-24T04:30:04.091210 | 2019-11-10T11:27:34 | 2019-11-10T11:27:34 | 122,940,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | cpp | /*
https://practice.geeksforgeeks.org/problems/sum-of-query-ii/0/?ref=self
Problem Statement:
You are given an array and q queries which contains 2 positions in the array l and r.
You need to compute the following sum over q queries.
Array is 1-Indexed
Input:
The first line of input contains T test cases.
The first line of each test case contains the number of elements in the array.
The second line of each test case contains the elements of the array.
The third line of each test case contains Q queries.
The final line of each test case contains the 2 *Q elements where the first element contains l and second element contains r.
Output:
For each test case, print the required sum values in a single line seprated by blank spaces. Print the output of each test case in a new line.
Constraints:
1 <= T <= 100
1 <= N <= 1000
0 <= Arr[i] <= 10^6
1 <= Q <= 1000
1 <= l <= r <= N
Example:
Input:
1
4
1 2 3 4
2
1 4 2 3
Output:
10 5
*/ | [
"forseekme@163.com"
] | forseekme@163.com |
34c43cc52e2afbe5c2464c8ebf556d685442bfc5 | 43dbc05549b8b9ffe067791c2564aeb150f9fe89 | /12442 - Forwarding Emails.cpp | 003d889b8046291f4ccb5cab0f9839846c2f39d9 | [] | no_license | maruf-rahad/uva | d985f526d2eec45e34785ef10fb2c8402e7c620b | f8a1e2cf8335f64cbab94461dd3f45bb68e15077 | refs/heads/master | 2023-02-04T04:36:33.272863 | 2020-12-27T08:02:42 | 2020-12-27T08:02:42 | 292,663,715 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,887 | cpp | #include<bits/stdc++.h>
using namespace std;
vector<int>v[50005];
int cnt[50005];
int visited[50005];
int sum = 0;
int sub = 0;
int flag = 0;
int flag2 = 0;
void dfs2(int a);
void zero(int n)
{
for(int i=0;i<=n+2;i++)
{
v[i].clear();
cnt[i] = 0;
visited[i] = 0;
}
}
void dfs(int a)
{
// printf("in %d\n",a);
visited[a] = 1;
int b = v[a][0];
// printf("b = %d %d\n",b,cnt[b]);
if(visited[b]==0)
{
//printf("calling %d\n",b);
dfs(b);
sum++;
if(cnt[a]==0)
{
cnt[a] = cnt[b]+1;;
}
}
else if(visited[b]==1&&cnt[b]==0)
{
sub = 0;
// printf("calling dfs2 %d\n",b);
dfs2(b);
}
else if(visited[b]!=0&&cnt[b]!=0)
{
// printf("yes\n");
cnt[a] = cnt[b] + 1;
}
}
void dfs2(int a)
{
visited[a] = 99;
sub++;
// printf("in dfs 2 %d %d\n",a,sub);
int b = v[a][0];
if(visited[b]==1)
{
//printf("call dfs2 %d\n",b);
dfs2(b);
cnt[a] = sub;
}
else if(visited[b]==99)
{
cnt[a] = sub;
return;
}
}
int main()
{
int n,m,a,b,i,j,t,k=0;
scanf("%d",&t);
while(t--)
{
scanf("%d",&n);
zero(n);
for(i=1;i<=n;i++)
{
scanf("%d %d",&a,&b);
v[a].push_back(b);
}
for(i=1;i<=n;i++)
{
if(visited[i]==0)
{
sum = 0;
sub = 0;
// printf("calling from main %d\n",i);
dfs(i);
}
}
int ma = -99;
for(i=1;i<=n;i++)
{
if(cnt[i]>ma)
{
ma = cnt[i];
b = i;
}
}
printf("Case %d: %d\n",++k,b);
}
return 0;
}
| [
"marufrahad253@gmail.com"
] | marufrahad253@gmail.com |
cf33ad07c95475eae9c8f368fab128860f5ff2c7 | 37b48c84c6dd60250f6f0ab9e4058e28533c6457 | /C - IPFL.cpp | d629f3a5fec7069b654ad23525dfdcf456a30338 | [] | no_license | 1804054Miraz/Atcoder-problem-solution | c3c5e97507370161980813ef4d907cfb55ef510d | da59b64e811f2ca13f262eb104645d96d9461dbd | refs/heads/main | 2023-07-13T06:27:50.244947 | 2021-08-20T11:42:18 | 2021-08-20T11:42:18 | 398,256,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,018 | cpp | //Bismillahir Rahmanir Rahim
//Allahumma Rabbi Jhidni Elma
///A lot of mistakes is happened without understanding questions clearly.\
Please,make sure that understand question clearly.Think from every possible output.\
Make different algorithm to answer the question.Don't think that you have tried all possible ways.\
There is always simple and tricky way to solve the brute force type question.
/*--------Please carefully check--------
1.Overflow and underflow
2.Corner test case
3. divide zero
*/
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization("unroll-loops")
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
const ld PI = 2*acosl(0.0);
const int inf=2e5+7;
const int mxN=3000000;
const int mod=1e9+7;
#define speed ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define endl "\n"
#define pb push_back
#define reset(a) memset(a,0,sizeof a)
#define gcd(a,b) __gcd((a),(b))
#define lcm(a,b) (a/gcd(a,b)*b)
#define abs(a) (a<0?-(a):a)
#define debug1(x) cout << #x << "=" << x << endl
#define debug2(x, y) cout << #x << "=" << x << "," << #y << "=" << y << endl
#define digit2(x) floor((log2(x)))
#define digit2(x) floor((log2(x)))
#define sc(a) scanf("%d",&a)
#define pf(a) printf("%d\n",a)
#define DEBUG 0
//cout<<"Case "<<cas<<": "<<
int main()
{
int n,q,i,j,t,a,b;
string st;
cin>>n>>st>>q;
bool ans=true;
while(q--)
{
cin>>t>>a>>b;
a--, b--;
if(t==2)
{
ans = !ans;
}
else {
if(ans)
{
swap(st[a],st[b]);
}
else
{
swap(st[(n+a)%(2*n)],st[(n+b)%(2*n)]);
}
}
// cout<<st<<endl;
}
if(ans)
{
cout<<st<<endl;
}
else
{
for(i=n;i<2*n;i++)
{
cout<<st[i];
}
for(i=0;i<n;i++)
cout<<st[i];
cout<<endl;
}
}
| [
"u1804054@student.cuet.ac.bd"
] | u1804054@student.cuet.ac.bd |
445c3d2f65c6b7ca607ddf11111bdc1974bbb977 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE457_Use_of_Uninitialized_Variable/s01/CWE457_Use_of_Uninitialized_Variable__new_struct_array_no_init_62b.cpp | cd7c1edaa30573795fcec449c589d8f33271353b | [] | 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 | 1,486 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE457_Use_of_Uninitialized_Variable__new_struct_array_no_init_62b.cpp
Label Definition File: CWE457_Use_of_Uninitialized_Variable__new.label.xml
Template File: sources-sinks-62b.tmpl.cpp
*/
/*
* @description
* CWE: 457 Use of Uninitialized Variable
* BadSource: no_init Don't initialize data
* GoodSource: Initialize data
* Sinks: use
* GoodSink: Initialize then use data
* BadSink : Use data
* Flow Variant: 62 Data flow: data flows using a C++ reference from one function to another in different source files
*
* */
#include "std_testcase.h"
namespace CWE457_Use_of_Uninitialized_Variable__new_struct_array_no_init_62
{
#ifndef OMITBAD
void badSource(twoIntsStruct * &data)
{
/* POTENTIAL FLAW: Don't initialize data */
; /* empty statement needed for some flow variants */
}
#endif /* OMITBAD */
#ifndef OMITGOOD
/* goodG2B() uses the GoodSource with the BadSink */
void goodG2BSource(twoIntsStruct * &data)
{
/* FIX: Completely initialize data */
{
int i;
for(i=0; i<10; i++)
{
data[i].intOne = i;
data[i].intTwo = i;
}
}
}
/* goodB2G() uses the BadSource with the GoodSink */
void goodB2GSource(twoIntsStruct * &data)
{
/* POTENTIAL FLAW: Don't initialize data */
; /* empty statement needed for some flow variants */
}
#endif /* OMITGOOD */
} /* close namespace */
| [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
f92cd4800792ef4cbb6c34a13c599c0abc90cc03 | 362666482b19817b7327532dc0442fff8eaacdd7 | /SiSiMEX/Agent.h | fd08bdf3067594a0fdb6acea609fb422f1e9dd55 | [] | no_license | AleixBV/Poke-SiSiMEX | 32431d90275e156c57986822df764680351d982e | 67372d8e0569015d60a1e1ca9116d5031bbc1640 | refs/heads/master | 2021-09-02T03:27:15.720110 | 2017-12-29T23:15:31 | 2017-12-29T23:15:31 | 115,258,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,711 | h | #pragma once
#include "Globals.h"
#include "Log.h"
#include "Item.h"
#include "Packets.h"
#include "Node.h"
#include <list>
#include <memory>
class Agent
{
public:
// Constructor and destructor
Agent(Node *node);
virtual ~Agent();
// Update method (called once per frame)
virtual void update() = 0;
// Finalize method, called once before closing the app
virtual void finalize() = 0;
// Finish condition (if true, the agent will be removed from AgentManager)
bool finished() const { return _finished; }
// State machine
int state() const { return _state; }
void setState(int state) { _state = state; }
// Packet send functions
bool sendPacketToYellowPages(OutputMemoryStream &stream);
bool sendPacketToHost(const std::string &ip, uint16_t port, OutputMemoryStream &stream);
// Function called from MultiAgentApplication to forward packets received from the network
virtual void OnPacketReceived(TCPSocketPtr socket, const PacketHeader &packetHeader, InputMemoryStream &stream) = 0;
protected:
// Finish condition (if true, will be removed from AgentManager)
// Should be called by the agent itself when it finished
void finish();
private:
bool _finished; /**< Whether or not the agent finished. */
public:
/** It returns the parent node of the agent. */
Node *node() const { return _node; }
/** It returns the identifier of the agent (within the host) */
uint16_t id() const { return _id; }
private:
Node *_node; /**< Parent Node/player of the agent. */
uint16_t _id; /**< Agent identifier. */
int _state; /**< Current state of the agent. */
std::vector<TCPSocketPtr> _sockets; /**< Sockets used from this agent. */
};
using AgentPtr = std::shared_ptr<Agent>;
| [
"aleixborrellvives@gmail.com"
] | aleixborrellvives@gmail.com |
831b222b360fcf51f77bcf6bbf3d9f749ed2268c | d7077eb174c33659c97dd5aa8134f56aefb6808a | /assignments/dungeonCrawler/conversion/game.cpp | 014a88c5e91cf687415df7377a51812252e4cfce | [] | no_license | matthewjcavalier/ComS_327 | 2b4374ffd7b0674938fc835114a970f59033235f | 0655a9c4c635aab36a52895c58d2fdd218bb20d5 | refs/heads/master | 2023-04-28T17:49:07.189865 | 2018-04-11T19:09:58 | 2018-04-11T19:09:58 | 116,318,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,644 | cpp | #define GAME_H
#include "game.h"
Settings settings;
using namespace std;
vector<monsterDesc> monsterDescs;
vector<objectDesc> objectDescs;
/**
* @brief Comparitor used in the priority queue
*
*/
struct Compare {
bool operator()(Character* a, Character* b) {
return a->nextEventTime > b->nextEventTime;
}
};
int main(int argc, char* argv[]) {
setSettings(argc, argv);
cout<<"Using Seed: "<< settings.seed <<endl;
// get the basic dungeon
Dungeon dun = dungeonInit();
parseMonsterDescFile(settings.monsterDescLoc, monsterDescs);
parseObjectDescFile(settings.objectDescLoc, objectDescs);
scrStartup();
runGame(dun);
if(settings.save) {
dun.save(settings.loadSaveLoc);
}
}
/**
* @brief Main game procedure
*
* @param dun
*/
void runGame(Dungeon& dun) {
priority_queue<Character, vector<Character*>, Compare> turnQueue;
bool gameOver = false;
Character curr;
int id = 1;
int resultId;
objectFactory objFact(&dun);
monsterFactory monstFact(&dun);
objFact.buildObjects(objectDescs, 10 + rand() % 6 );
PC* pc = new PC(id++, dun.getEmptySpace(), 10, &dun, 1000/10);
dun.setPC(pc);
turnQueue.push(pc);
for(NPC* monst : monstFact.buildMonsters(monsterDescs, settings.nummon, 0, pc)) {
turnQueue.push(monst);
}
while(!gameOver) {
resultId = turnQueue.top()->takeTurn();
turnQueue.top()->nextEventTime += turnQueue.top()->speed;
turnQueue.push(turnQueue.top());
turnQueue.pop();
usleep(10000);
if(resultId== pc->id) {
scrTearDown();
gameOver = true;
cout << "YOU LOSE" << endl;
} else if(resultId > 0) {
vector<Character*> tempList;
while(turnQueue.size() > 0) {
if(turnQueue.top()->id != resultId) {
tempList.push_back(turnQueue.top());
turnQueue.pop();
} else {
NPC* removing = (NPC*)turnQueue.top();
turnQueue.pop();
delete removing;
}
}
for(Character* ptr : tempList) {
turnQueue.push(ptr);
}
} else if (resultId == MOVE_BETWEEN_FLOORS) {
// clear out turn queue
while(turnQueue.size() > 0) {
if(turnQueue.top()->symbol != '@') {
delete turnQueue.top();
}
turnQueue.pop();
}
// get a new dungeon
srand(time(NULL));
dun.rebuild();
pc->coord = dun.getEmptySpace();
dun.setPC(pc);
dun.updateSpace(pc->coord, pc);
turnQueue.push(pc);
objFact.buildObjects(objectDescs, 10);
for(NPC* monst : monstFact.buildMonsters(monsterDescs, settings.nummon, pc->nextEventTime, pc)) {
turnQueue.push(monst);
}
}
if(pc->hasKilledBoss) {
gameOver = true;
scrTearDown();
cout << "YOU WIN" << endl;
}
}
}
/**
* @brief Generate a type for a monster in a random fashion
*
* @return char
*/
char genCharacterType() {
char type = 0;
if(rand() % 2 == 0) {
type |= INTELLIGENCE_BIT;
}
if(rand() % 2 == 0) {
type |= TELEPATHY_BIT;
}
if(rand() % 2 == 0) {
type |= TUNNELING_BIT;
}
if(rand() % 2 == 0) {
type |= ERRATIC_BIT;
}
return type;
}
/**
* @brief Set the settings global based upon the cmd line args
*
* @param argc
* @param argv
*/
void setSettings(int argc, char* argv[]) {
string home(getenv("HOME"));
string loadLocSubPath("/.rlg327/dungeon");
settings.nummon = 0;
settings.monsterDescLoc = home;
settings.monsterDescLoc += "/.rlg327/monster_desc.txt";
settings.objectDescLoc = home;
settings.objectDescLoc += "/.rlg327/object_desc.txt";
for(int i = 0; i < argc; i++) {
if(strcmp("--s", argv[i]) == 0 && i != argc -1) {
cout << argv[i+1] << endl;
settings.seed = atoi(argv[i+1]);
}
if(strcmp("--save", argv[i]) == 0) {
settings.save = true;
settings.loadSaveLoc = home + loadLocSubPath;
}
if(strcmp("--load", argv[i]) == 0) {
settings.load = true;
settings.loadSaveLoc = home + loadLocSubPath;
}
if(strcmp("--nummon", argv[i]) == 0 && i != argc - 1) {
settings.nummon = atoi(argv[i+1]);
}
}
cout<<"save = "<<settings.save<<"\tload = "<<settings.load<<endl;
if(settings.seed == 0) {
settings.seed = time(NULL);
srand(settings.seed);
} else {
srand(settings.seed);
}
if(settings.nummon == 0) {
settings.nummon = rand() % MAX_RAND_MONST_COUNT + 1;
}
}
/**
* @brief set up the dungeon that will be used
*
* @return Dungeon
*/
Dungeon dungeonInit() {
Dungeon dun;
if(settings.load) {
dun = Dungeon(settings.loadSaveLoc);
} else {
dun = Dungeon();
}
return dun;
}
| [
"matthewjcavalier@gmail.com"
] | matthewjcavalier@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.